Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT * FROM Products WHERE Color = 'Black'
- AND IF (Item = 'Dresses', 1, 0) = 1
- SELECT * FROM Products WHERE Color = 'Black'
- AND IF (Item = 'Dresses' (SELECT * FROM Products WHERE Price < '$300'), 1, 0) = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement