See the MySQL Documentation section on sub-selects, section 1.7.4.1 Sub-selects. Gives examples of rewriting sub-select queries that MySQL does not support.
----- Original Message ----- From: "Inbal Ovadia" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 22, 2002 10:59 AM Subject: in and not in > Hi > i want to do in mysql query like that: > > SELECT col_name FROM table1 NOT IN (select col_nmae FROM tablse2) > > how can i do that? > thanks > > > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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