sqlite的一个例子//不使用回调函数的查询intinquire_nocb(sqlite3*db){intnrow=0,ncolumn=0;char**azResult=0;inti=0;char*sql;char*zErrMsg;sql="SELECT*FROMSensorData";if(SQLITE_OK!=sqlite3_get_table(db,sql,&azResult,&nrow,&ncolumn,&zErrMsg)){printf("operatefailed:%s\n",zErrMsg)