Sezione 1. Capitolo 41
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
Scorri per iniziare a programmare
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 41
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione