Perhaps I am missing something right in front of me, or I have not been in the loop, but it is my understanding that MySQL does not support sub-selects, yet. http://www.mysql.com/doc/A/N/ANSI_diff_Sub-selects.html BTW, you may receive lots of replies of this very nature, because it is something everyone knows, and everyone will want to comment on. Good luck, Dan
-----Original Message----- From: Alex Speed [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 5:13 PM To: [EMAIL PROTECTED] Subject: SubSelect Problem SELECT textid, title, description from structure where textid in (select subtopicid from subtopic where topicid='Top'); this gives an error at the opening bracket.. I am assuming that mysql realises that structure.textid=subtopic.subtopicid ...any ideas on getting this working? thanks for any help! Alex --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php