diff --git a/Basic Select/Weather-Observation-Station-3.sql b/Basic Select/Weather-Observation-Station-3.sql index acba082..98ce076 100644 --- a/Basic Select/Weather-Observation-Station-3.sql +++ b/Basic Select/Weather-Observation-Station-3.sql @@ -1,2 +1,7 @@ # Author: Thomas George Thomas -Select distinct city from station where ID%2=0; \ No newline at end of file +Select distinct city from station where ID%2=0; +#Author : Udayan +SELECT CITY FROM STATION WHERE ID MOD 2 = 0 GROUP BY CITY HAVING COUNT(*) >= 1; +#another +SELECT CITY FROM STATION WHERE ID % 2 = 0 GROUP BY CITY; +