Showing posts with label in in sql. Show all posts
Showing posts with label in in sql. Show all posts

Friday, March 5, 2021

Weather Observation Station 8 | Basic Select | SQL | HackerRank | Solution



Problem : https://www.hackerrank.com/challenges/weather-observation-station-8/problem

Solution : 

/*

Enter your query here.

*/


SELECT DISTINCT CITY FROM STATION WHERE LEFT(CITY,1) IN ('a','e','i','o','u') AND RIGHT(CITY,1) IN ('a','e','i','o','u'); 

Weather Observation Station 7 | Basic Select | SQL | Practice | HackerRank | Solution

 


Problem : https://www.hackerrank.com/challenges/weather-observation-station-7/problem

Solution : 

/*

Enter your query here.

*/


SELECT DISTINCT CITY FROM STATION WHERE RIGHT(CITY,1) IN ('a','e','i','u','o');


Weather Observation Station 6 | Basic Select | SQL | HackerRank Solution

 


Problem : https://www.hackerrank.com/challenges/weather-observation-station-6/problem

Solution :


/*

Enter your query here.

*/


SELECT CITY FROM STATION WHERE LEFT(CITY,1) IN ('a','e','i','o','u');