List:General Discussion« Previous MessageNext Message »
From:Sam Masiello Date:May 22 2002 5:47pm
Subject:RE: Union does not work
View as plain text  
He is not doing a sub select...he is doing a union.  Unions are
implemented in MySQL 4.x

HTH

Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
smasiello@stripped


-----Original Message-----
From: Gurhan Ozen [mailto:c-gurhan.ozen@stripped] 
Sent: Wednesday, May 22, 2002 12:31 PM
To: Dan Liu; >
Subject: RE: Union does not work

Sub-selects are not permitted in MySQL yet..

See: http://www.mysql.com/doc/A/N/ANSI_diff_Sub-selects.html

Gurhan

-----Original Message-----
From: Dan Liu [mailto:dan.liu@stripped]
Sent: Wednesday, May 22, 2002 11:58 AM
To: >
Subject: Union does not work


Hi,
Could anybody tell me why the following query does not work?
SELECT location FROM visiExPr where location=1  union (SELECT location
FROM
visiExPr where location=0);
Thanks!

Dan


---------------------------------------------------------------------
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 <mysql-thread109854@stripped>
To unsubscribe, e-mail
<mysql-unsubscribe-c-gurhan.ozen=wcom.com@stripped>
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 <mysql-thread109863@stripped>
To unsubscribe, e-mail
<mysql-unsubscribe-smasiello=chekinc.com@stripped>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Thread
Union does not workDan Liu22 May
  • RE: Union does not workGurhan Ozen22 May
    • RE: Union does not workSam Masiello22 May
  • Re: Union does not workVictoria Reznichenko22 May
  • Re: Union does not workJocelyn Fournier22 May
RE: Union does not workGurhan Ozen22 May