Does anyone know the syntax for deleting records based on a join?
This is what i do in Sybase ASE: 
delete table1 from table1,table2 where table1.somecol=table2.somecol and 
table2.somecol2=somevalue and table1.somecol4=someothervalue

Anyone got a clue?

Thanks!

regards Oystein Selbekk, Visbook AS

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