일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- Data Engineering
- dsf
- Python
- airflow architecture
- 백준온라인저지
- datacamp
- 2023년 목표
- 그리디
- Spark
- airflow webserver
- docker image
- telegram
- Airflow
- docker
- delete join
- BOT
- Pseudo Lab
- 데이터 엔지니어
- MySQL
- SQL
- data_engineer
- 백준 온라인 저지
- docker container
- hackerrank
- 프로그래머스
- terraform
- 알고리즘
- Dynamic Programming
- leetcode
- 빅데이터를 지탱하는 기술
- Today
- Total
목록hackerrank (21)
Lim Seunghyun Space
문제 : https://www.hackerrank.com/challenges/what-type-of-triangle/problem?isFullScreen=true Type of Triangle | HackerRank Query a triangle's type based on its side lengths. www.hackerrank.com 문제 해설 TRIANGLES 테이블의 A, B, C에 조건을 이용하여 어떤 유형인지 출력하기 Equilateral : 3변의 길이가 모두 같을시 Isosceles : 2변의 길이가 같을시 Scalene : 3변의 길이가 모두 다를시 Not A Triangle : 삼각형의 형태가 될 수 없을시 (A + B 조건1에 맞으면 값1 리턴 아니면 조건2로 넘어감, 조건2가 맞으..
문제 : https://www.hackerrank.com/challenges/the-pads/problem?isFullScreen=true The PADS | HackerRank Query the name and abbreviated occupation for each person in OCCUPATIONS. www.hackerrank.com 문제 해설 쿼리는 총 2개로 구성 이름(직업의 첫글자)로 출력하되 이름은 알파벳 순으로 정렬해서 조회 (Ex) Name : Anna Occupation : Doctor라면 Anna(D) "There are a total of s."으로 출력하면서 갯수와 직업 순으로 정렬하면서 조회 (Ex) Doctor가 4명이라면 "There are a total of 4 doct..
문제 : https://www.hackerrank.com/challenges/salary-of-employees/problem?isFullScreen=true Employee Salaries | HackerRank Print the names of employees who earn more than $2000 per month and have worked at the company for less than 10 months. www.hackerrank.com 문제 해설 Employee 테이블에서 10개월 미만 근무자 중 salary가 2000보다 큰 name을 조회 결과는 employee_id를 오른차순으로 정렬한 결과 나의 풀이 (MySQL) SELECT name FROM Employee WHERE s..
문제 : https://www.hackerrank.com/challenges/name-of-employees/problem?isFullScreen=true Employee Names | HackerRank Print employee names. www.hackerrank.com 문제 해설 Employee 테이블에서 name을 알파벳 순으로 조회하는 쿼리를 작성 나의 풀이 (MySQL) SELECT name FROM Employee ORDER BY 1;
문제 : https://www.hackerrank.com/challenges/weather-observation-station-12/problem?isFullScreen=true Weather Observation Station 12 | HackerRank Query an alphabetically ordered list of CITY names not starting and ending with vowels. www.hackerrank.com 문제 해설 STATION 테이블에서 모음(a,e,i,o,u)로 시작하지 않고 모음으로 끝나지 않는 CITY 이름을 조회 중복된 CITY 이름은 제외 나의 해설 (MySQL) SELECT DISTINCT CITY FROM STATION WHERE CITY REGEX..
문제 : https://www.hackerrank.com/challenges/weather-observation-station-11 Weather Observation Station 11 | HackerRank Query a list of CITY names not starting or ending with vowels. www.hackerrank.com 문제 해설 STATION 테이블에서 모음(a,e,i,o,u)으로 끝나지 않거나 모음으로 시작하지 않는 CITY 이름 조회 !중요 : (모음 끝나지 않음) OR (모음 시작하지 않음) 조건식으로 하면 모음으로 시작하고 모음으로 끝나는 CITY 이름도 조회되기 때문에 모음 시작하고 모음으로 끝나는 CITY 이름은 제외하도록 해줘야한다. 중복된 CITY 이름..
문제 : https://www.hackerrank.com/challenges/weather-observation-station-10/ Weather Observation Station 10 | HackerRank Query a list of CITY names not ending in vowels. www.hackerrank.com 문제 해설 STATION 테이블에서 모음(a,e,i,o,u)로 끝나지 않는 CITY의 이름을 조회 중복된 CITY는 제외 나의 풀이 (MySQL) SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP("^.+[^aeiouAEIOU]$"); https://limspace.tistory.com/entry/HackerRank-Weather-O..
문제 : https://www.hackerrank.com/challenges/weather-observation-station-9 Weather Observation Station 9 | HackerRank Query an alphabetically ordered list of CITY names not starting with vowels. www.hackerrank.com 문제 해설 STATION 테이블에서 모음(a,e,i,o,u)로 시작하지 않은 CITY 이름을 조회 중복된 CITY는 제외 나의 풀이 (MySQL) SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP("^[^aeiouAEIOU].+$"); "^[^aeiouAEIOU].+$" : 모음가 아닌 문..
문제 : https://www.hackerrank.com/challenges/weather-observation-station-8/problem?isFullScreen=true Weather Observation Station 8 | HackerRank Query CITY names that start AND end with vowels. www.hackerrank.com 문제 해설 STATION 테이블에서 모음(a,e,i,o,u)로 시작하고 모음으로 끝나는 CITY의 이름 조회 중복된 CITY 이름은 제외 나의 풀이 (MySQL) SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP('^[aeiou].*[aeiou]$'); REGEXP : 문자열이 정규표현식과 일..
문제 : https://www.hackerrank.com/challenges/weather-observation-station-7/problem?isFullScreen=true Weather Observation Station 7 | HackerRank Query the list of CITY names ending with vowels (a, e, i, o, u) from STATION. www.hackerrank.com 문제 해설 STATION 테이블의 CITY 이름이 a,e,i,o,u로 끝나는 데이터만 조회 중복된 CITY는 제외 풀이 (MySQL) SELECT DISTINCT(CITY) FROM STATION WHERE CITY LIKE "%a" OR CITY LIKE "%e" OR CITY LI..