DELETE
LIB, REL
FROM
test_library_song LIB
INNER JOIN
test_relation REL
ON
LIB.book_id = REL.book_id
WHERE
REL.user_id = '1'
AND
REL.book_id = '400'
LIMIT 1
它拋出一個錯誤:這個MySQL查詢有什麼問題?
#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 'LIMIT 1' at line 13
如果我刪除限制1,它的工作原理,但我想它的保安措施。
你指的是什麼安全措施? – BoltClock 2011-01-24 19:57:05