Languages

MySQL - ORDER BY default ascending or descengind?

0 points
Asked by:
Dirask Community
5610

What is the default order of ORDER BY statement in MySQL, ascending or descending? 

1 answer
0 points
Answered by:
Dirask Community
5610

By default ORDER BY statement sorts the data in ascending order.

You can use:

  • ASC┬ákeyword - if you want to sort data in ascending order (just to be sure),
  • DESC┬ákeyword - to sort the┬ádata in descending order.
0 comments Add comment
Native Advertising
­čÜÇ
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

ÔŁĄ´ŞĆ­čĺ╗ ­čÖé

Join