Sigalit,
Sunday, May 12, 2002, 3:47:24 PM, you wrote:
SCD> I am new in the "MySql" business so I'm sorry if my question is too simple.
SCD> Is there any way to nest queries in MySql in the following manner:
SCD> "select <field> from <table> where id = (select ...)"
No, MySQL doesn't have sub-selects yet. You can get around using JOIN,
look at:
http://www.mysql.com/doc/A/N/ANSI_diff_Sub-selects.html
http://www.mysql.com/doc/J/O/JOIN.html
SCD> Thanks for your attention,
SCD> Sigalit
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ [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