InterviewSolution
Saved Bookmarks
| 1. |
SQL query to find the temperature in increasing order of all cities.(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 cityThe question was asked at a job interview.Query is from Basic SQL topic in chapter Laying the Foundation of SQL Server |
|
Answer» Right option is (d) SELECT CITY, temperature FROM WEATHER ORDER BY city |
|