HackerRank MySQL - Weather Observation Station 3




Query a list of CITY names from STATION with even ID numbers only. You may print the results in any order, but must exclude duplicates from your answer.



  1. SELECT DISTINCT CITY
  2. FROM STATION
  3. WHERE MOD(ID, 2) = 0;




codesadda.com

Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more. Sign Up for our weekly newsletter to get update about new content.

Like us on Facebook | Connect with us on LinkedIn | Subscribe our Channel on Youtube