ORDER BY - Ergebnisse sortieren1 / 10
Nutze ORDER BY, um die Datensätze nach der Erntemenge von niedrig nach hoch zu sortieren. Versuche:
SELECT * FROM crops ORDER BY production_tons;| id | country_name | crop | production_tons | continent |
|---|---|---|---|---|
| 1 | Brazil | Soybeans | 130 | South America |
| 2 | United States | Corn | 360 | North America |
| 3 | India | Rice | 120 | Asia |
| 4 | China | Wheat | 135 | Asia |
| 5 | France | Wheat | 40 | Europe |
Strg+Enter zum Absenden
ORDER BY - Ergebnisse sortieren - Kostenlos SQL online üben
Übe ORDER BY - Ergebnisse sortieren mit 10 kostenlosen, interaktiven SQL-Aufgaben. Du tippst echte Abfragen im Browser und bekommst zu jeder Antwort sofort Feedback - ohne Datenbank-Setup, ohne Installation und ohne Anmeldung. Ein schneller, praktischer Weg, SQL online zu lernen und Abfragen zu beherrschen, die du im Job brauchst.