A função MIN()
MIN()
- esta função retorna o menor valor em uma coluna específica.
Vamos ver um exemplo:
SELECT MIN(population) FROM country;
Explicação: Aqui, MIN()
retorna o menor valor de população na tabela de países.
Here is the country
table we are working with:
Tarefa
Swipe to start coding
Write an SQL query to get the smallest value from the surfacearea
column in the country
table.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 5. Capítulo 6