Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda The SUM() Function | Section
SQL: Filtering, Sorting, and Aggregating Data
Seção 1. Capítulo 41
single

single

bookThe SUM() Function

Deslize para mostrar o 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.

Tarefa

Deslize para começar a programar

Write an SQL query that returns the sum of the surfacearea of countries from 'Europe'.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 41
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

some-alt