Products Never Ordered

Using the course database, find the name of every product that has never appeared in any order (via the orders table).

There is more than one valid way to write this query — a NOT IN subquery, a LEFT JOIN with an IS NULL check, and a NOT EXISTS subquery are all valid approaches; any correct one will pass.

query.sql
Loading editor…

Test cases

  • Full result: the one product never ordered

Use Run to explore freely against the sample database. Use Submit to grade your query against every test case, including any hidden ones.