我试图运行这段代码,但我得到错误。 任何想法为什么?加入两个具有LIKE条件的mysql表。
SELECT notes.project_id, notes.title, notes.description
FROM notes, project_members
WHERE notes.title LIKE '%second%' OR notes.description LIKE '%second%'
WHERE notes.project_id = project_members.project_id AND project_members.user_id = '7'
就得where子句..的毗连有和/或 –