1.

SQL query to find all the cities whose humidity is 95.(a) SELECT city WHERE humidity = 95(b) SELECT city FROM weather WHERE humidity = 95(c) SELECT humidity = 89 FROM weather(d) SELECT city FROM weatherThe question was asked by my school principal while I was bunking the class.The doubt is from Basic SQL in chapter Laying the Foundation of SQL Server

Answer»

The correct CHOICE is (b) SELECT city FROM WEATHER WHERE humidity = 95

For EXPLANATION: The SQL WHERE clause is USED to filter the results and apply conditions in a SELECT, INSERT, UPDATE, or DELETE statement.



Discussion

No Comment Found

Related InterviewSolutions