Miscellaneous

Miscellaneous Java Script

  • Home
  • Multithreading
  • Hibernate
  • Spring
  • Android
  • Miscellaneous
  • TrackWise
    • TrackWise Tutorial
    • TrackWise Interview
  • SCJP
    • Object
    • Abstract
    • Array
    • Class
    • Constructor
    • Exception
  • Interview
    • Java
    • Spring
    • Hibernate
    • JSF
    • PL / SQL
    • JSP / Servlet
    • Web Services
    • Designing Patterns
    • Others
  • >>>
    • ERROR
  • Offensive Security
  • Struts 2
  • JSF
  • PHP
  • JDBC
  • JAVA
  • AWS
  • KOTLIN
  • Web Services

Sunday, 18 May 2014

What is the SQL syntax for sorting, and which is the default order?


The default sorting order is ascending. These two statements are identical:
select from order by
select from order by asc
For descending order, simply replace “asc” with “desc.”

Posted by DharmaRaj at 04:35
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

DharmaRaj
View my complete profile

Search This Blog

Blog Archive

  • ►  2025 (1)
    • ►  February (1)
  • ►  2016 (17)
    • ►  October (3)
    • ►  July (11)
    • ►  June (2)
    • ►  April (1)
  • ►  2015 (1)
    • ►  September (1)
  • ▼  2014 (6)
    • ►  December (2)
    • ▼  May (4)
      • SQL Query
      • Explain the use of the Join keyword and its variou...
      • What is the SQL syntax for sorting, and which is t...
      • SQL is mainly divided into 4 sub languages
  • ►  2013 (2)
    • ►  December (1)
    • ►  March (1)
  • ►  2012 (9)
    • ►  December (6)
    • ►  November (1)
    • ►  May (2)
Simple theme. Powered by Blogger.