SQL語句出錯:select * from info as a left join info_contents as b on a.InfoId=b.InfoId left join info_category as ca on a.CateId=ca.CateId where a.InfoId= order by 1 limit 1
錯誤代碼:#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by 1 limit 1' at line 1SQL語句出錯:select * from info as a left join info_contents as b on a.InfoId=b.InfoId left join info_category as c on a.CateId=c.CateId where Language=0 and a.CateId="$type" and a.InfoId < order by a.InfoId desc limit 1
錯誤代碼:#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by a.InfoId desc limit 1' at line 1SQL語句出錯:select * from info as a left join info_contents as b on a.InfoId=b.InfoId left join info_category as c on a.CateId=c.CateId where Language=0 and a.CateId="$type" and a.InfoId < order by a.InfoId asc limit 1
錯誤代碼:#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by a.InfoId asc limit 1' at line 1