SQL (Structured Query Language) Question:

Download Job Interview Questions and Answers PDF

Sort the Rows:

SQL Interview Question
SQL Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
The Update Statement:BETWEEN ... AND