Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære The MIN() Function | Section
SQL Fundamentals
Sektion 1. Kapitel 37
single

single

bookThe MIN() Function

Stryg for at vise menuen

MIN() - this function returns the lowest value in a particular column.

Let's look at an example:

12
SELECT MIN(population) FROM country;
copy

Here, MIN() returns the smallest population value in the country table.

Opgave

Swipe to start coding

Write an SQL query to get the smallest value from the surfacearea column in the country table.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 37
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

some-alt