Sezione 1. Capitolo 39
single
The SUM() Function
Scorri per mostrare il menu
SUM() returns the total of all the values in a given column.
Here's an example:
123SELECT SUM(population) FROM country WHERE continent='Asia';
The SUM() function calculates the total population of all Asian countries found in the country table.
Compito
Swipe to start coding
Write an SQL query that returns the sum of the surfacearea of countries from 'Europe'.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 39
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione