Programmers/SQL
[프로그래머스 SQL 고득점 Kit] SELECT: 여러 기준으로 정렬하기
문제 정답 SELECT ANIMAL_ID, NAME, DATETIME FROM ANIMAL_INS ORDER BY NAME ASC, DATETIME DESC
문제 정답 SELECT ANIMAL_ID, NAME, DATETIME FROM ANIMAL_INS ORDER BY NAME ASC, DATETIME DESC
문제 정답 SELECT NAME FROM ANIMAL_INS ORDER BY DATETIME LIMIT 1
문제 정답 SELECT COUNT(*) AS USERS FROM USER_INFO WHERE AGE BETWEEN 20 AND 29 AND YEAR(JOINED) = 2021