Dan, Wednesday, May 22, 2002, 7:16:50 PM, you wrote: DL> Could somebody tell me what is wrong with this query? DL> select location from visiExPr where location=1 union (select location from demandInfoAd where location=0);
DL> ERROR 1064: You have an error in your SQL syntax near 'union (select location from demandInfoAd where location=0)' at line 1 What version of MySQL are you using? UNION was implemented in v4.X DL> Thanks! DL> Dan -- For technical support contracts, goto https://order.mysql.com/?ref=ensita 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