SkyAICampus
HomePracticeLearnCode LabFocus

Learn

HomePracticeConcept cardsCode LabSky Tutor

Review

Revise todayMistake notebookProgress

Focus

Campus ForestFocus roomsSquads

Questions or feedback?
support@skyaicampus.com

Keyboard shortcuts

  • Choose an answer1–4 or A–D
  • Check, then next questionEnter
  • Next hintH
  • Search cardsCtrl K

How this quiz adapts

3 fast right answers in a row: the next questions get harder. 2 wrong in a row: a little easier.

Hints and guesses still count, just a little less, so use them whenever you're stuck.

Sky Tutor

Stuck on an idea? Ask in your own words, or by voice.

Ask Sky Tutor
SkyAICampus
PrivacyTermssupport@skyaicampus.com© 2026 SkyAI Campus

New skill. A one-minute read first, then the question.

60-second card

Sorting

ORDER BY sorts the result by one or more columns.

  • ASC (the default) is smallest first; DESC is largest first.
  • Sort by several columns: ORDER BY city, marks DESC.
  • Without ORDER BY, the row order isn't guaranteed.
SELECT name, marks FROM students ORDER BY marks DESC;

Result

Meena | 91
Divya | 88
Asha | 82
Karan | 74
Ravi | 67

Remember: If the order matters, always write ORDER BY.

Common mistake: Expecting rows to come back in the order they were added. They might not.

Log inSign up