🎴 Flashcard Mode
mainframe Online Quiz - 40
Card1 / 13
Mastered0
Review0
QuestionClick to flip
Options to sort in DB2
AnswerClick to flip back
A
ORDER BY
💡 Explanation:
DB2 uses 'ORDER BY' for sorting query results, not SORT BY or SORT. This is standard SQL syntax used across most relational databases. The ORDER BY clause comes after the FROM and WHERE clauses and before FETCH FIRST.