MySQL Forums
Forum List  »  Newbie

Re: Strange result from DELETE query - can anyone explain?!
Posted by: Lee Wood
Date: March 20, 2009 03:25PM

The short answer is: Because 4 is TRUE.

The correct wording would be:
DELETE FROM repairs WHERE repair_id=3 OR repair_id=4

Options: ReplyQuote

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.