Datenbanksysteme

2. DB-Abfragen einfach

Lassen Sie sich alle Länder sortiert nach der Population ausgeben.
 
a) Aufsteigend
b) Absteigend
 
Beispiel: Tabelle Country; Spalten Name, Population;

a) SELECT Name, Population FROM Country ORDER BY Population;
 
b) SELECT Name, Population FROM Country ORDER BY Population DESC;

Diskussion