SELECT...FROM...WHERE NOT EXISTS... doesn't work
Hello,
I cannot recognize the syntax error in this query:
SELECT topic_id, FROM `phpbb_topics`
WHERE
NOT EXISTS (SELECT * FROM `phpbb_posts`,
WHERE phpbb_posts.post_id = phpbb_topics.topic_last_post_id)
returns:
#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 'FROM `phpbb_topics`
WHERE
NOT EXISTS (SELECT * FROM `phpbb_
Can anyone help me? Thanks.
Subject
Written By
Posted
SELECT...FROM...WHERE NOT EXISTS... doesn't work
June 25, 2005 09:17AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.