Challenge: Bestselling Products
Завдання
Swipe to start coding
Write a query to list each product_id and the total quantity sold, ordered by quantity descending.
- Select
product_idand the sum ofquantityfrom thesalestable. - Group the results by
product_id. - Order the results by the total quantity in descending order.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 2
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Suggested prompts:
Can you explain this in simpler terms?
What are some examples related to this topic?
Where can I learn more about this?
Чудово!
Completion показник покращився до 5.56
Challenge: Bestselling Products
Свайпніть щоб показати меню
Завдання
Swipe to start coding
Write a query to list each product_id and the total quantity sold, ordered by quantity descending.
- Select
product_idand the sum ofquantityfrom thesalestable. - Group the results by
product_id. - Order the results by the total quantity in descending order.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 2
single