MySQL Forums
Forum List  »  Newbie

Re: SQL Command
Posted by: Anthony Willard
Date: December 11, 2006 02:21PM

It deletes everything because Rye is not Colorado City. It matches for one criteria, but fails for another. Try using the IN clause:

WHERE City NOT IN ( 'Rye','Colorado City', 'San Isabel','Beulah', 'Hatchet Ranch')

Options: ReplyQuote

Written By
December 11, 2006 01:17PM
Re: SQL Command
December 11, 2006 02:21PM
December 11, 2006 02:44PM

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.