https://programmers.co.kr/learn/courses/30/lessons/59034
SELECT * FROM ANIMAL_INS ORDER BY ANIMAL_ID;
https://programmers.co.kr/learn/courses/30/lessons/59035
SELECT NAME, DATETIME FROM ANIMAL_INS ORDER BY ANIMAL_ID DESC;
https://programmers.co.kr/learn/courses/30/lessons/59036
SELECT ANIMAL_ID, NAME FROM ANIMAL_INS WHERE INTAKE_CONDITION="Sick" ORDER BY ANIMAL_ID;
https://programmers.co.kr/learn/courses/30/lessons/59404
SELECT ANIMAL_ID, NAME, DATETIME FROM ANIMAL_INS ORDER BY NAME, DATETIME DESC;
https://programmers.co.kr/learn/courses/30/lessons/59405
SELECT NAME FROM ANIMAL_INS ORDER BY DATETIME LIMIT 1;
'Develop > SQL' 카테고리의 다른 글
[프로그래머스] SQL 고득점 키트 (MySQL) - String, Date (0) | 2021.09.15 |
---|---|
[프로그래머스] SQL 고득점 키트 (MySQL) - JOIN (0) | 2021.09.15 |
[프로그래머스] SQL 고득점 키트 (MySQL) - NOT NULL, CASE (0) | 2021.09.15 |
[프로그래머스] SQL 고득점 키트 (MySQL) - GROUP BY (0) | 2021.09.14 |
[프로그래머스] SQL 고득점 키트 (MySQL) - SUM,MAX,MIN (0) | 2021.09.14 |
댓글