Q. Find the names of these cities with temperature and condition whose condition is neithersunny nor cloudy. (Solved)
1. SELECT city, temperature, condition FROM weather WHERE condition NOT IN (‘sunny’, ‘cloudy’)
2. SELECT city, temperature, condition FROM weather WHERE condition NOT BETWEEN (‘sunny’, ‘cloudy’)
3. SELECT city, temperature, condition FROM weather WHERE condition IN (‘sunny’, ‘cloudy’)
4. SELECT city, temperature, condition FROM weather WHERE condition BETWEEN (‘sunny’, ‘cloudy’);
- a. SELECT city, temperature, condition FROM weather WHERE condition NOT IN (‘sunny’, ‘cloudy’)