Examveda

Which keyword is used for sorting the data in descending order in Mysql?

A. DESC

B. ASC

C. ALTER

D. MODIFY

Answer: Option A

Solution (By Examveda Team)

This question asks about sorting data in a descending order in MySQL.

Think of sorting like arranging things from smallest to biggest or vice versa.

Descending order means arranging data from biggest to smallest.

Out of the given options, DESC is the keyword used for sorting data in descending order.

So the answer is Option A: DESC.

Let's look at the other options:

ASC is used for sorting data in ascending order (smallest to biggest).

ALTER and MODIFY are used for changing the structure of tables, not for sorting data.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous