我有 5 列(type_id,Type,Quantity,NumberCalories,Category_id
),我需要type
根据更改“ Category_id
”检索“”。请帮帮我他是我的代码
const char *sql = "select type_id,Type,Quantity,NumberCalories from FoodType where Category_id=?";
我有 5 列(type_id,Type,Quantity,NumberCalories,Category_id
),我需要type
根据更改“ Category_id
”检索“”。请帮帮我他是我的代码
const char *sql = "select type_id,Type,Quantity,NumberCalories from FoodType where Category_id=?";