Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

What is the use of DESC in SQL?

5 like 0 dislike
Hello member,

What is the use of DESC in SQL?

please reply me .........i m waiting for ur reply
asked 1 year ago by daneim (127,080 points)

1 Answer

1 like 0 dislike
 
Best answer
DESC has two purposes. It is used to describe a schema as well as to retrieve rows from table in descending order.

Explanation :
The query SELECT * FROM EMP ORDER BY ENAME DESC will display the output sorted on ENAME in descending order.
answered 1 year ago by marck_don (191,010 points)

Related questions

7 like 0 dislike
1 answer
7 like 0 dislike
1 answer
5 like 0 dislike
1 answer
8 like 0 dislike
1 answer
8 like 0 dislike
1 answer