Sales of Genres in Cities
Завдання
Swipe to start coding
Which genre gives the biggest income in each city? To solve it:
- Calculate the total sales for each genre in each city: group records by city and genre.
- Order the records by city lexicographically and then by total sales, starting with most selling genre.
Output data under columns city
, genre
, and sales
.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 6
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Suggested prompts:
Сумаризуйте цей розділ
Пояснити код у file
Пояснити, чому file не вирішує завдання
Awesome!
Completion rate improved to 4.55
Sales of Genres in Cities
Свайпніть щоб показати меню
Завдання
Swipe to start coding
Which genre gives the biggest income in each city? To solve it:
- Calculate the total sales for each genre in each city: group records by city and genre.
- Order the records by city lexicographically and then by total sales, starting with most selling genre.
Output data under columns city
, genre
, and sales
.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Awesome!
Completion rate improved to 4.55Секція 2. Розділ 6
single