Ben, Thursday, March 28, 2002, 5:07:49 PM, you wrote: BE> having problems working out sql where exists syntax.
BE> Tried BE> select * BE> from sections s BE> where exists ( BE> select 0 BE> from pages s BE> where s.page = p.page BE> ) BE> Any ideas, MySQL doesn't currently support sub-selects. You can use JOIN statement instead of sub-selects. Please, check the following link: http://www.mysql.com/doc/A/N/ANSI_diff_Sub-selects.html http://www.mysql.com/doc/J/O/JOIN.html BE> Ben -- For technical support contracts, goto https://order.mysql.com/ This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com --------------------------------------------------------------------- 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