Q:

Find the names of the countries whose condition is sunny

belongs to collection: DBMS - SQL MCQ

0

Find the names of the countries whose condition is sunny.


  1. SELECT country FROM location WHERE condition = \'sunny\';
  2. SELECT country FROM location WHERE city IN (SELECT city FROM weather WHERE condition = sunny\');
  3. SELECT country FROM location WHERE city NOT IN (SELECT city FROM weather WHERE condition = \'sunny\');
  4. SELECT country FROM location WHERE city UNION (SELECT city FROM weather WHERE condition = \'sunny\');

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (b).SELECT country FROM location WHERE city IN (SELECT city FROM weather WHERE condition = sunny');

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

DBMS - SQL MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Find the name of all cities with their temperature... >>
<< Find all the cities with temperature, condition an...