This question asked in CBSE SQP-2020
Which keyword is used to sort the records of a table in descending order?
Answer:
The keyword DESC is used to sort the records of a table in descending order.
Syntax:
SELECT
column1
,
column2, …
FROM
table_name
ORDER
BY
column1, column2, ...
DESC
;
Syntax:
SELECT
column1
,
column2, …
FROM
table_name
ORDER
BY
column1, column2, ...
DESC
;
Example: