0
我做的請求,它將錯誤寫入 ID - INTEGER PRIMARY KEY 幫助查詢生成錯誤
cur = db.query("Sales_region_table t1, region_table t2 join region_table t2 on t1.id_region = t2.id ", null, " id_region = " + id_region + " and id_category = " + id_category + " and id_product = " + id_product + " ", null, null, null, null);
八月11日至1日:28:10.600:I /數據庫(1251):返回的SQLite :錯誤代碼= 1,味精=不明確的列名:t2.id
如何正確寫入? –
我不知道你的要求。你想實現什麼? –