Unit 2, lesson 4 · NULL, IS NULL
Missing values: NULL
Products with no discount
NULL means no value: unknown, not set or not applicable. It is not zero and not empty text. You find missing values with IS NULL and filled-in ones with IS NOT NULL.
SELECT name, discount
FROM products
WHERE discount IS NOT NULL;Your task
Merchandising wants to see what is selling at full price. List the name and price of every product that has no discount set.
Tables you will use: products
Try it in your browserFree, no sign-up. Your query is checked as you go.