Sail E0 Webinar
Question
SQL query to find the temperature in increasing order of all cities.
Options:
A .  SELECT city FROM weather ORDER BY temperature
B .  SELECT city, temperature FROM weather
C .  SELECT city, temperature FROM weather ORDER BY temperature
D .  SELECT city, temperature FROM weather ORDER BY city
Answer: Option D


The ORDER BY keyword sorts the records in ascending order by default.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers