Riccardi,
Wednesday, March 13, 2002, 5:48:28 PM, you wrote:

RM> Hi all,

RM> I'm trying to delete records with this query on php program:
RM> delete from Bands where ID_ALBUM IN (select ID_ALBUM from Albums where
RM> ID_GROUP = '$group')
RM> I use it on MSSQL and work fine but on mysql don't work, there's some other
RM> query that make the same result on mysql
RM> Thank's all

MySQL doesn't currently support sub-selects.

RM> - Moreno Riccardi





-- 
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