Saturday 23 March 2019

Weather Observation Station 12 hackerrank solution in SQL Server

Problem:-
Query the list of CITY names from STATION that do not start with vowels and do not end with vowels. Your result cannot contain duplicates.
Input Format
The STATION table is described as follows:
where LAT_N is the northern latitude and LONG_W is the western longitude.

Solution:-

Select Distinct CITY
From Station

where city Like '[^aeiou]%[^aeiou]';

No comments:

Post a Comment

Error While embed the video in Your website page

Error:- Refused to display '<URL>' in a frame because it set 'X-Frame-Options' to 'sameorigin Solution:- if ...