CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Introduction to Oracle SQL

Afficher le cours

Instructions

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

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

-- Select the country and the total number of customers
___ ___, ___(___) AS Total
FROM Customer
-- Group the results by country
___ ___ ___
Modifier et exécuter le code