글이 정상적으로 보이지 않는다면 아래 주소로 접속해 주세요. https://egg-programmer.tistory.com/17
문제
15 Days of Learning SQL | HackerRank
find users who submitted a query every day.
www.hackerrank.com
문제 설명
Write a query to print total number of unique hackers who made at least 1 submission each day (starting on the first day of the contest), and find the hacker_id and name of the hacker who made maximum number of submissions each day. If more than one such hacker has a maximum number of submissions, print the lowest hacker_id. The query should print this information for each day of the contest, sorted by the date.
해당 날짜에 처음 스코어를 낸 해커의 수, 해커 아이디, 날짜마다 가장 큰 점수를 낸 해커 이름을 출력하는 문제
가장 큰 점수를 낸 해커가 여러명이면 아이디 번호가 작은 사람을 출력한다.
쿼리는 날짜별로 정렬되어야 한다.
성공 코드(MySQL)
ㅇa미친개어려움