Challenge: Products Never Ordered
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 4
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Incrível!
Completion taxa melhorada para 5.56
Challenge: Products Never Ordered
Deslize para mostrar o menu
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 4
single