IniziaInizia gratis

Counting the number of rows

In this exercise, you will calculate the number of orders for each concrete type. Since each row represents one order, all you need to is count the number of rows for each type of MixDesc.

Questo esercizio fa parte del corso

Intermediate SQL Server

Visualizza il corso

Istruzioni dell'esercizio

Create a query that returns the number of rows for each type of MixDesc.

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

-- Count the number of rows by MixDesc
SELECT MixDesc, ___
FROM Shipments
GROUP BY ___
Modifica ed esegui il codice