Sección 1. Capítulo 39
single
The SUM() Function
Desliza para mostrar el menú
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.
Tarea
Swipe to start coding
Write an SQL query that returns the sum of the surfacearea of countries from 'Europe'.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 39
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla