crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Difference between DESC and ASC keywords
Question Posted on 16 Mar 2019Home >> DataBase >> SQL Query >> Difference between DESC and ASC keywords

Difference between DESC and ASC keywords
Below are the five main difference between DESC and ASC
(1)ASC:-It is short form of ascending
(1)DESC:-It is short form of descending

(2)ASC:-This keyword is used to sort the query result in top to bottom style.
(2)DESC:-This keyword is used to sort the query result in bottom to top style.

(3)ASC:-When doing on date data types the earlies dat is shown on the top of the list.
(3)DESC:-When doing on date data type the latest date is shown on top of the list.

(4)ASC:-When working with numeric data types the lowest values are shown on the top of the list.
(4)DESC:-When working with numeric data types the higest value shown on the top of query result.

(5)ASC:-On string data types it will show result in a to z form. A is shown first followed by Z.
(5)DESC:-It is just opposite of ASC
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

How to get the table count in last used query from cache by sending tablename?

Write a SQL query to print 1 to 100 in sql server?

Sql Interview Latest Query questions asked on 30 dec 2020

nth highest number from table

some good sql query






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap