MySQL Forums
Forum List  »  General

can we use OR in a where statement?
Posted by: gemithy gemithy
Date: April 08, 2005 02:41AM

instead of the usual AND inside a WHERE?

EXAMPLE:

select * from abc where id = '1' OR id = '2' OR id = '3'


can someone confirm?
thank u

Options: ReplyQuote


Subject
Written By
Posted
can we use OR in a where statement?
April 08, 2005 02:41AM


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.