Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

and and or in where condition

DELETE FROM products
WHERE category_id = 25
OR (product_id < 4 AND product_name <> 'Banana');
Source by www.techonthenet.com #
 
PREVIOUS NEXT
Tagged: #condition
ADD COMMENT
Topic
Name
3+7 =