Sorting Results
- If attribute “fruit” stores data as “apple, mango, banana” in table person then what will be the output of the following query?
SELECT fruit FROM Employee
WHERE Emp_id=1
ORDER BY fruit;
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
ORDER BY Clause always sort in alphabetical order which also known as lexicographical order.
- Which Clause is used to sort the stored data in alphabetical order?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
ORDER BY