[hackerrank] Weather Observation Station 11 [hackerrank] Prepare > SQL > Basic Select > Weather Observation Station 11 [문제] [MYSQL] [ORCALE] select distinct(city) from station where not regexp_like(city,'^a|^e|^o|^u|^i','i') or not regexp_like(city,'a$|e$|o$|u$|i$','i'); HackerRank/SQL 2022.08.09
[hackerrank] Weather Observation Station 10 [hackerrank] Prepare > SQL > Basic Select > Weather Observation Station 10 [문제] Query the list of CITY names from STATION that 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. [MYSQL] [ORCALE] select distinct(city) from station where not regexp_like(city.. HackerRank/SQL 2022.08.09
[hackerrank] Weather Observation Station 9 [hackerrank] Prepare > SQL > Basic Select > Weather Observation Station 9 [문제] Query the list of CITY names from STATION that do not start 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. [MYSQL] [ORCALE] select distinct(city) from station where not regexp_like(cit.. HackerRank/SQL 2022.08.09
[hackerrank] Weather Observation Station 8 [hackerrank] Prepare > SQL > Basic Select > Weather Observation Station 8 [문제] Query the list of CITY names from STATION which have vowels (i.e., a, e, i, o, and u) as both their first and last characters. 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. [MYSQL] [ORCALE] select.. HackerRank/SQL 2022.08.08
[hackerrank] Weather Observation Station 7 [hackerrank] Prepare > SQL > Basic Select > Weather Observation Station 7 [문제] Query the list of CITY names ending with vowels (a, e, i, o, u) from STATION. 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. [MYSQL] [ORCALE] select distinct(city) from station where regexp_like(ci.. HackerRank/SQL 2022.08.08
[hackerrank] Weather Observation Station 6 [hackerrank] Prepare > SQL > Basic Select > Weather Observation Station 6 [문제] Query the list of CITY names starting with vowels (i.e., a, e, i, o, or u) from STATION. 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. [MYSQL] [ORCALE] -- 1차 -- select city -- from station -- wher.. HackerRank/SQL 2022.08.08
[hackerrank] Weather Observation Station 5 [hackerrank] Prepare > SQL > Basic Select > Weather Observation Station 5 [문제] Query the two cities in STATION with the shortest and longest CITY names, as well as their respective lengths (i.e.: number of characters in the name). If there is more than one smallest or largest city, choose the one that comes first when ordered alphabetically. The STATION table is described as follows: where LAT_N.. HackerRank/SQL 2022.08.08
[hackerrank] Weather Observation Station 4 [hackerrank] Prepare > SQL > Basic Select > Weather Observation Station 4 [문제] Find the difference between the total number of CITY entries in the table and the number of distinct CITY entries in the table. The STATION table is described as follows: where LAT_N is the northern latitude and LONG_W is the western longitude. For example, if there are three records in the table with CITY values 'New.. HackerRank/SQL 2022.08.08
[hackerrank] Weather Observation Station 3 [hackerrank] Prepare > SQL > Basic Select > Weather Observation Station 3 [문제] Query a list of CITY names from STATION for cities that have an even ID number. Print the results in any order, but exclude duplicates from the answer. The STATION table is described as follows: [MYSQL] [ORCALE] select distinct(city) from station where mod(id,2) = 0 order by city; HackerRank/SQL 2022.08.08
[hackerrank] Weather Observation Station 1 [hackerrank] Prepare > SQL > Basic Select > Weather Observation Station 1 [문제] Query a list of CITY and STATE from the STATION table. The STATION table is described as follows: [MYSQL] [ORCALE] select city , state from station ; HackerRank/SQL 2022.08.08