Problem : https://www.hackerrank.com/challenges/weather-observation-station-9/problem
Solution :
/*
Enter your query here.
*/
SELECT DISTINCT CITY FROM STATION WHERE LEFT(CITY,1) NOT IN ('a','e','i','o','u');
Problem : https://www.hackerrank.com/challenges/weather-observation-station-9/problem
Solution :
/*
Enter your query here.
*/
SELECT DISTINCT CITY FROM STATION WHERE LEFT(CITY,1) NOT IN ('a','e','i','o','u');
Problem : https://www.hackerrank.com/challenges/weather-observation-station-3/problem
Solution :
/*
Enter your query here.
*/
SELECT DISTINCT(CITY) FROM STATION WHERE ID%2=0;