Answers

Question and Answer:

  Home  SQL and PL/SQL

⟩ Sort the Rows in SQL.

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

 149 views

More Questions for you: