adplus-dvertising
frame-decoration

Question

Which SQL keyword is used to sort the result-set?

a.

SORT BY

b.

ORDER

c.

ORDER BY

d.

SORT

Posted under SQL DBMS

Answer: (c).ORDER BY

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which SQL keyword is used to sort the result-set?

Similar Questions

Discover Related MCQs

Q. The SQL statement
SELECT SUBSTR('123456789', INSTR('abcabcabc', 'b'), 4) FROM DUAL;

Q. Which of the following group functions ignore NULL values?

Q. Table Employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE.
The SQL statement
SELECT COUNT(*) FROM Employee WHERE SALARY > ANY (SELECT SALARY FROM EMPLOYEE);
prints

Q. The SQL statement
SELECT SUBSTR('abcdefghij', INSTR('123321234', '2', 3, 2), 2) FROM DUAL;
prints

Q. The SQL statement
SELECT ROUND(45.926, -1) FROM DUAL;

Q. Which of the following must be enclosed in double quotes?

Q. Which of the following command makes the updates performed by the transaction permanent in the database?

Q. Which command undo all the updates performed by the SQL in the transaction?

Q. Find all the cities whose humidity is 89

Q. Find the temperature in increasing order of all cities

Q. What is the meaning of LIKE '%0%0%'

Q. Find the names of these cities with temperature and condition whose condition is neither sunny nor cloudy

Q. Find the name of those cities with temperature and condition whose condition is either sunny or cloudy but temperature must be greater than 70F.

Q. Find all the tuples having temperature greater than 'Paris'.

Q. Find all the cities with temperature, condition and humidity whose humidity is in the range of 63 to 79

Q. Find the names of the countries whose condition is sunny.

Q. Find the name of all cities with their temperature, humidity and countries.

Q. Find the name of cities with all entries whose temperature is in the range of 71 and 89

Q. Which of the following query finds the names of the sailors who have reserved at least one boat?

Q. Which of the following query finds colors of boats reserved by "Dustin"?