Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Sales of Genres in Cities | Ordering Data
Practice SQL with Cinema Database
course content

Зміст курсу

Practice SQL with Cinema Database

Practice SQL with Cinema Database

1. Aggregating Data
2. Ordering Data
3. Join Data

Sales of Genres in Cities

Завдання

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.

Завдання

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
toggle bottom row

Sales of Genres in Cities

Завдання

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.

Завдання

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
toggle bottom row

Sales of Genres in Cities

Завдання

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.

Завдання

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.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Завдання

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
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt