Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Introduction to Oracle SQL

Cursus bekijken

Oefeninstructies

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

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

-- Select the country and the total number of customers
___ ___, ___(___) AS Total
FROM Customer
-- Group the results by country
___ ___ ___
Code bewerken en uitvoeren