Menu▾
easyGCash · subqueryBasicNew

Products nobody has bought yet

GCash's merchant marketplace team wants to clean up the product catalog — starting with items that have never actually sold, so they can chase the merchant or delist them.

From gcash_products and gcash_orders, return the product_id and product_name of every product that has zero rows in gcash_orders. Order the output by product_id.

Schema

▸gcash_products
product_idINT
product_nameTEXT
▸gcash_orders
order_idINT
product_idINT

Basic

The example input, expected output, and walkthrough for this question unlock with a Basic plan.

↑ Read the question

Basic

This is a Basic question

Premium practice questions unlock with a Basic plan. The full solution, expected output, and grading are available to Basic members.

See Basic plans

RM 25/mo · cancel anytime

Keep going

Company names are trademarks of their respective owners, used here only to describe practice material. mahir_data is not affiliated with, endorsed by, or sponsored by any company named on this site. Terms.