
August 23rd, 2004, 01:59 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by crudesys SELECT fldForumID
FROM tblForumTitle
WHERE fldForumID =
( SELECT DISTINCT fldForumID FROM tblForumMessage LIMIT 1 )
right syntax to use near 'SELECT DISTINCT fldForumID FROM tblForumMessage LIMIT 1 )
i dont know why i'm getting the syntax error.
anyone help? thanks |
Check to see if your version of MySQL is 4.1 or higher. If not, you cannot execute subqueries, as versions prior to this do not support subqueries (as I just found out after several hours of attempting subqueries with my version of 4.0.13!!). Hope this helps.
|