IniziaInizia gratis

Grouping

People all over the world are buying tracks from eSymphony. You want to get an overview of how many customers live in each country. This means you will need to group your data.

Questo esercizio fa parte del corso

Introduction to Oracle SQL

Visualizza il corso

Istruzioni dell'esercizio

  • Select the Country and the total number of customers for each country.
  • Group the results by country.

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

-- Select the country and the total number of customers
___ ___, ___(___) AS Total
FROM Customer
-- Group the results by country
___ ___ ___
Modifica ed esegui il codice