Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele The SUM() Function | Section
Practice
Projects
Quizzes & Challenges
Visat
Challenges
/
SQL Fundamentals
Osio 1. Luku 39
single

single

bookThe SUM() Function

Pyyhkäise näyttääksesi valikon

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.

Tehtävä

Swipe to start coding

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

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 39
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

some-alt