📌 Weather Observation Station 2 문제 더보기 https://www.hackerrank.com/challenges/weather-observation-station-2/problem?isFullScreen=true Weather Observation Station 2 | HackerRank Write a query to print the sum of LAT_N and the sum of LONG_W separated by space, rounded to 2 decimal places. www.hackerrank.com 문제 해석 STATION 테이블에서 다음 두 가지 값들을 쿼리하시오. LAT_N 열의 모든 값의 합계를 소수 2 자릿수로 반올림한 값. LONG_W 열의 모든 값의 ..
📌 Employee Salaries 문제 더보기 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 문제 해석 급여가 월 $2000 이상이고 근속 기간이 10개월 미만인 Employee 테이블의 직원 이름(즉, name 속성) 목록을 출력하는 쿼리를 작성. employee_id를 오름차순으로 정렬. 정답 SE..
📌 Employee Names 문제 더보기 https://www.hackerrank.com/challenges/name-of-employees/problem?isFullScreen=true Employee Names | HackerRank Print employee names. www.hackerrank.com 문제 해석 Employee 테이블에서 직원 이름 목록을 알파벳 순서로 출력하는 쿼리를 작성. 정답 SELECT NAME FROM EMPLOYEE ORDER BY NAME; 풀이 ORDER BY 절을 통해 NAME을 알파벳 순서로 정렬.
📌 Higher Than 75 Marks 문제 더보기 https://www.hackerrank.com/challenges/more-than-75-marks/problem?isFullScreen=true Higher Than 75 Marks | HackerRank Query the names of students scoring higher than 75 Marks. Sort the output by the LAST three characters of each name. www.hackerrank.com 문제 해석 STUDENTS 테이블에서 Marks보다 높은 점수를 받은 어떤 학생의 이름을 조회. 출력을 각 이름의 마지막 세 글자로 정렬. 만약 두 명 이상의 학생이 모두 같은 마지막 세 글자로 끝나는 이름..
📌 Weather Observation Station 12 문제 더보기 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 리스트를 쿼리하라. 중복 제거. 정답 SELECT DISTINCT CITY FROM STATIO..
📌 Weather Observation Station 11 문제 더보기 https://www.hackerrank.com/challenges/weather-observation-station-11/problem?isFullScreen=true 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 리스트를 쿼리하라. 중복 제거. 정답 SELECT DISTINCT CITY FROM STATION WHERE REGEXP_LIKE(CITY..