Potato
์•ˆ๋…•ํ•˜์„ธ์š”, ๊ฐ์žก๋‹ˆ๋‹ค?๐Ÿฅ” ^___^ ๐Ÿ˜บ github ๋ฐ”๋กœ๊ฐ€๊ธฐ ๐Ÿ‘‰๐Ÿป
๋ฐ˜์‘ํ˜•

Algorithm/SQL Query test 21

[MySQL] HackerRank - Occupations

โ–ถ ๋ฌธ์ œ Occupation ํ…Œ์ด๋ธ”์€ ์•„๋ž˜์˜ ํ˜•ํƒœ๋ฅผ ๊ฐ€์ง„๋‹ค. ์กฐ๊ฑด1) ์ถœ๋ ฅ๋˜๋Š” ์ปฌ๋Ÿผ์˜ headers๋Š” Doctor, Professor, Singer, Actor ์ด์–ด์•ผ ํ•œ๋‹ค. ์กฐ๊ฑด2) ๋”์ด์ƒ ์ถœ๋ ฅ๋  ์ด๋ฆ„์ด ์—†์œผ๋ฉด NULL ์ด๋ผ๊ณ  ์ถœ๋ ฅ๋˜์–ด์•ผ ํ•œ๋‹ค. >> ์ถœ๋ ฅ์˜ˆ์ƒ ํ™”๋ฉด >> ์ถœ๋ ฅ์— ๋Œ€ํ•œ ์ถ”๊ฐ€ Explanation The first column is an alphabetically ordered list of Doctor names. The second column is an alphabetically ordered list of Professor names. The third column is an alphabetically ordered list of Singer names. The fourth colum..

[MySQL] HackerRank - Weather Observation Station 10

๋ฌธ์ œ https://www.hackerrank.com/challenges/weather-observation-station-10/problem Weather Observation Station 10 | HackerRank Query a list of CITY names not ending in vowels. www.hackerrank.com 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..

[MySQL] HackerRank - Weather Observation Station 9

๋ฌธ์ œ https://www.hackerrank.com/challenges/weather-observation-station-9/problem Weather Observation Station 9 | HackerRank Query an alphabetically ordered list of CITY names not starting with vowels. www.hackerrank.com 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 ..

[MySQL] HackerRank - Weather Observation Station 8

๋ฌธ์ œ https://www.hackerrank.com/challenges/weather-observation-station-8/problem Weather Observation Station 8 | HackerRank Query CITY names that start AND end with vowels. www.hackerrank.com 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 describe..

[MySQL] HackerRank - Weather Observation Station 7

๋ฌธ์ œ https://www.hackerrank.com/challenges/weather-observation-station-7/problem Weather Observation Station 7 | HackerRank Query the list of CITY names ending with vowels (a, e, i, o, u) from STATION. www.hackerrank.com 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 ..

[MySQL] HackerRank - Weather Observation Station 6

๋ฌธ์ œ https://www.hackerrank.com/challenges/weather-observation-station-6/problem Weather Observation Station 6 | HackerRank Query a list of CITY names beginning with vowels (a, e, i, o, u). www.hackerrank.com 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 L..

[MySQL] HackerRank - Weather Observation Station 5

๋ฌธ์ œ https://www.hackerrank.com/challenges/weather-observation-station-5/problem Weather Observation Station 5 | HackerRank Write a query to print the shortest and longest length city name along with the length of the city names. www.hackerrank.com 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)...

[MySQL] HackerRank - Weather Observation Station 4

๋ฌธ์ œ https://www.hackerrank.com/challenges/weather-observation-station-4/problem Weather Observation Station 4 | HackerRank Find the number of duplicate CITY names in STATION. www.hackerrank.com Find the difference between the total number of CITY entries in the table and the number of distinct CITY entries in the table. where LAT_N is the northern latitude and LONG_W is the western longitude. For..

[MySQL] HackerRank - Weather Observation Station 3

๋ฌธ์ œ https://www.hackerrank.com/challenges/weather-observation-station-3/problem Weather Observation Station 3 | HackerRank Query a list of unique CITY names with even ID numbers. www.hackerrank.com 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. ์ •๋‹ต ๋ฌธ์ œ์—..

๋ฐ˜์‘ํ˜•