0
const char *sqlStatement = "select s.id, s.no, s.sc p.na from table1 s inner join table2 p on p.id = s.id";
它給an error that near ".": syntax error
」。「語法錯誤出現,而我在做內部聯接
const char *sqlStatement = "select s.id, s.no, s.sc p.na from table1 s inner join table2 p on p.id = s.id";
它給an error that near ".": syntax error
」。「語法錯誤出現,而我在做內部聯接
字符串需要加引號。
const char *sqlStatement = "select s.id, s.no, s.sc, p.na from table1 s inner join table2 p on p.id = s.id";
缺少逗號 「選擇s.id,s.no,s.sc,p.na ...
我編輯的問題。同樣的錯誤 – user426795 2010-08-31 11:40:18
嘿@Jake你缺少逗號(,) !!! – yogs 2011-04-21 06:52:19
已修復。哇這個問題很老... – 2011-04-25 10:58:56