Osio 1. Luku 39
single
The SUM() Function
Pyyhkäise näyttääksesi valikon
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.
Tehtävä
Swipe to start coding
Write an SQL query that returns the sum of the surfacearea of countries from 'Europe'.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 39
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme