MySQL Forums
Forum List  »  PHP

Re: Multiple Conditional WHERE Conditions
Posted by: Peter Brawley
Date: July 11, 2021 10:21PM

...where col1=xyz..., ...where col1<>xyz... will each exclude rows where col1 is null.

If these columns often have to be tested for not null, consider modifying the DDL to prohibit null values.

Options: ReplyQuote


Subject
Written By
Posted
Re: Multiple Conditional WHERE Conditions
July 11, 2021 10:21PM


Sorry, only registered users may post in this forum.

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.