Alex,
Thursday, May 02, 2002, 5:38:49 PM, you wrote:

A> i have to use a statement like:
A> SELECT CODICE FROM TABSIC WHERE COM=1 AND SEN=1 AND PRI=1
A> AND CODICE<>ALL(SELECT CODICE_TABSIC FROM ARCHIVIO_SICU_MIN WHERE
A> (CODICE_ARCHIVIO=342))

A> but mysql doesn't support inner select.

Yes, MySQL doesn't support sub-selects yet.

A> What statement should i use instead of this one ?

You can use JOIN
Look at:
     http://www.mysql.com/doc/A/N/ANSI_diff_Sub-selects.html
     http://www.mysql.com/doc/J/O/JOIN.html

A> Thanks...
A> Alex.





-- 
For technical support contracts, goto https://order.mysql.com/
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

Reply via email to