
https://www.hackerrank.com/challenges/revising-the-select-query/problem?isFullScreen=true1) 코드2) 해설SQL에서는 더블 쿼트를 쓰면 안되고 싱글 쿼트를 써야 한다즉, "USA"가 아닌

https://www.hackerrank.com/challenges/weather-observation-station-5/problem?isFullScreen=true1) 코드2) 해설필드의 길이는 LENGTH로 구할 수 있다가장 짧은 것은, LENGTH(CI

https://www.hackerrank.com/challenges/weather-observation-station-4/problem?isFullScreen=true1) 코드2) 해설중복을 제거한 도시의 숫자는 COUNT(DISTINCT CITY)로 셀 수

https://www.hackerrank.com/challenges/more-than-75-marks/problem?isFullScreen=true1) 코드2) 해설이름의 끝에서부터 3글자라고 할 때는, RIGHT(NAME, 3) 이런 식으로 표현하면 된다.

https://www.hackerrank.com/challenges/weather-observation-station-6/problem?isFullScreen=true1) 코드2) 해설LOWER를 통해서 소문자를 만들 수 있다WHERE IN 절을 통해서 한 번

https://www.hackerrank.com/challenges/salary-of-employees/problem?isFullScreen=true1) 코드2) 해설salary는 월급이라는 개념이다ORDER BY ASC 잘 기억하자

https://www.hackerrank.com/challenges/binary-search-tree-1/problem?isFullScreen=true1) 코드 2) 해설CASE ~ WHEN - THEN 절에 대해서 잘 알아야 한다CASE ~ WHEN - TH

https://www.hackerrank.com/challenges/the-pads/problem?isFullScreen=true1) 코드2) 해설SQL에서 || 으로 문자열을 결합할 수 있다SUBSTR(필드, start_position, length)로 문자

https://www.hackerrank.com/challenges/what-type-of-triangle/problem?isFullScreen=true1) 코드2) 해설CASE ~ WHEN THEN 형식으로 작성해야 한다삼각형이 아닌 조건을 잘 이해하고, 그

https://www.hackerrank.com/challenges/the-company/problem?isFullScreen=true1) 코드2) 해설LEFT JOIN을 사용해야 한다\-> 왜냐하면 오른쪽 테이블에 값이 0일 수도 있으므로LEFT JOIN할

https://www.hackerrank.com/challenges/weather-observation-station-18/problem?isFullScreen=true1) 코드2) 해설SQL의 MIN, MAX, ABS, ROUND와 같은 기능을 잘 이해해서

https://www.hackerrank.com/challenges/earnings-of-employees/problem?isFullScreen=true1) 코드2) 해설MAX와 서브쿼리를 활용해야 하는 문제이다.

https://www.hackerrank.com/challenges/what-type-of-triangle/problem?isFullScreen=true1) 코드2) 해설CASE 문을 2중으로 중첩해서 검사해야 한다CASE 문을 시작하면 항상 END로 끝내줘야

https://www.hackerrank.com/challenges/the-pads/problem?isFullScreen=true1) 코드2) 해설MySQL에서 문자열을 합칠 때, CONCAT 함수를 써주면 된다LOWER를 통해서 문자열을 소문자로 만들어줄 수