Challenge: Products Never Ordered
Taak
Swipe to start coding
Identify all products that have never been ordered by querying the products table for entries whose product_id does not appear in the orders table.
- Select all columns from the
productstable. - Use a subquery to find all
product_idvalues present in theorderstable. - Return only those products whose
product_idis not present in the result of the subquery.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 4
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Geweldig!
Completion tarief verbeterd naar 5.56
Challenge: Products Never Ordered
Veeg om het menu te tonen
Taak
Swipe to start coding
Identify all products that have never been ordered by querying the products table for entries whose product_id does not appear in the orders table.
- Select all columns from the
productstable. - Use a subquery to find all
product_idvalues present in theorderstable. - Return only those products whose
product_idis not present in the result of the subquery.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 4
single