Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara The SUM() Function | Section
SQL Fundamentals
Sezione 1. Capitolo 39
single

single

bookThe SUM() Function

Scorri per mostrare il menu

SUM() returns the total of all the values in a given column.

Here's an example:

123
SELECT SUM(population) FROM country WHERE continent='Asia';
copy

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

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 39
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

some-alt