Each task has more than one condition. Decide which conditions must all be true, and which need only one.
- The members who live in Canada:
name, thencity. - The members from the US or Canada:
name, thencountry. - The products that cost less than 20 and are in stock (stock above 0):
name,price, thenstock. - The orders that are neither delivered nor cancelled:
id, thenstatus. UseNOTonce. - Think before you run it: how many rows does
SELECT * FROM products WHERE category_id = 1 OR category_id = 2 AND price > 30;return?