它不會返回任何東西。我得到以下我的查詢在下面出現了什麼問題?
SELECT *
FROM projects
WHERE 1
AND category_id =10
AND position ASC ORDER BY limit 0,16
錯誤..錯誤說
#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 'ASC ORDER BY limit 0,16' at line 1
剛纔你的要求是什麼? – KrazzyNefarious
'1'在SQL中無意義,'AND position ASC ORDER BY limit 0,16'。你是否從不正確的地方剪切和粘貼了這個? – StevieG