Some thing like this mite work....?
delete from b
where id.a != id.b;
Simon
-----Original Message-----
From: Lyubomir Simich [mailto:[EMAIL PROTECTED]]
Sent: 18 September 2001 16:15
To: [EMAIL PROTECTED]
Subject: need query
Hello,
May I use a query like this?
DELETE FROM b WHERE id NOT IN (SELECT id FROM a)
What can I do for make it?
--
Best regards,
Lyubomir mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
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