MySQL Forums
Forum List  »  Newbie

Re: Simple Query Help
Posted by: Jay Pipes
Date: July 06, 2005 11:11AM

DELETE Table1
FROM Table1
LEFT JOIN Table2
ON Table1.Unique_Key = Table2.Unique_Key
WHERE Table2.Unique_Key IS NULL;

Jay Pipes
Community Relations Manager, North America, MySQL Inc.

Got Cluster? http://www.mysql.com/cluster
Personal: http://jpipes.com

Options: ReplyQuote


Subject
Written By
Posted
Ben
July 06, 2005 08:42AM
Re: Simple Query Help
July 06, 2005 11:11AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.