adplus-dvertising
frame-decoration

Question

Find all the tuples having temperature greater than ‘Paris’.

a.

SELECT * FROM weather
WHERE temperature > (SELECT temperature FROM weather WHERE city = ‘Paris’

b.

SELECT * FROM weather
WHERE temperature > (SELECT * FROM weather WHERE city = ‘Paris’)

c.

SELECT * FROM weather
WHERE temperature > (SELECT city FROM weather WHERE city = ‘Paris’)

d.

SELECT * FROM weather
WHERE temperature > ‘Paris’ temperature

Posted under SQL Server

Answer: (a).SELECT * FROM weather
WHERE temperature > (SELECT temperature FROM weather WHERE city = ‘Paris’

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Find all the tuples having temperature greater than ‘Paris’.