What is Order By clause ?
Chapter12: Subqueries And Merge Statements
Section: Chapter Questions
Problem 6RQ
Related questions
Question
What is Order By clause ?
Expert Solution
Step 1
Order By clause
- An Order By clause specifies that a Structured Query Language (SQL) SELECT statement returns a result set with the rows being sorted by the values of one or more columns.
- It is the only way to sort the rows in the result set.
- It is used to sort the data in ascending or descending order based on one or more columns.
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you