Hi
The short answer is no, but you could get around this by using JOIN
Sub-queries are not yet supported
At 21:39 12/04/2001 -0400, James Gonthier wrote:
>The following works ok in SQL Server, can it work in mySQL?
>
>select * from users where id in (select userid from group where name='sales')
>
>
>TIA,
>
>Jim Gonthier
>
>-------------------------------------------
>The Fastest Browser on Earth now for FREE!!
>Download Opera 5 for Windows now! Get it at
>http://www.opera.com/download/
>-------------------------------------------
>
>
>---------------------------------------------------------------------
>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
Regards
John
--
MySQL Development Team
__ ___ ____ __ __
/ |/ /_ __/ __/ __ \/ / John Dean <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/
/_/ /_/\_, /___/\___\_\____/ Mansfield, England, UK
<___/
---------------------------------------------------------------------
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