MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

SQL

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which clause allows you to SORT data?
A
ORDER BY
B
WHERE
C
FROM
D
HAVING
Explanation: 

Detailed explanation-1: -The ORDER BY clause allows you to sort one or more columns in ascending or descending order.

Detailed explanation-2: -The SQL ORDER BY clause is used to sort the data in ascending or descending order, based on one or more columns.

Detailed explanation-3: -ORDER BY clause helps us sort the records of a column in a table using the ASC and DESC keywords in ascending and descending order, respectively.

Detailed explanation-4: -We can sort results in ascending or descending order with an ORDER BY clause in Select statement.

There is 1 question to complete.