SQL (Structured Query Language) Question:

Sort the Rows:

Tweet Share WhatsApp

Answer:

Sort the Rows:
SELECT column1, column2, ... FROM table_name ORDER BY columnX, columnY, ..
SELECT column1, column2, ... FROM table_name ORDER BY columnX DESC
SELECT column1, column2, ... FROM table_name ORDER BY columnX DESC, columnY ASC

Download SQL PDF Read All 172 SQL Questions
Previous QuestionNext Question
The Update Statement:BETWEEN ... AND