[프로그래머스/SQL]여러 기준으로 정렬하기

gov's avatar
Nov 25, 2024
[프로그래머스/SQL]여러 기준으로 정렬하기
Contents
문제풀이

문제

notion image

풀이

order by 두 개이상 조건을 사용 시, 앞부터 정렬 적용
SELECT animal_id, name, datetime from animal_ins order by name, datetime desc;
 
Share article

goho