Define SQL Order by the statement?

Answer

 

The ORDER BY statement in SQL is used to sort the fetched data in either ascending or descending according to one or more columns.

 

  • By default ORDER BY sorts the data in Ascending order.
  • We can use the keyword DESC to sort the data in descending order and the keyword ASC to sort in ascending order.

All sql queries Questions

Ask your interview questions on sql-queries

Write Your comment or Questions if you want the answers on sql-queries from sql-queries Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---