문제 출처: https://programmers.co.kr/events/7day-sql
7daySQL 챌린지 | 프로그래머스
코딩테스트에 SQL문제 비중이 해마다 증가하는데, 어떻게 준비하면 좋을까요? 이제 프로그래머스에서 SQL 쿼리도 연습하세요!
programmers.co.kr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
ANIMAL_ID, | |
ANIMAL_TYPE, | |
DATETIME, | |
INTAKE_CONDITION, | |
NAME, | |
SEX_UPON_INTAKE | |
FROM | |
ANIMAL_INS | |
ORDER BY | |
ANIMAL_ID |
2번 문제
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
NAME, | |
DATETIME | |
FROM | |
ANIMAL_INS | |
ORDER BY | |
ANIMAL_ID DESC |
반응형
'DB > 7day SQL 챌린지' 카테고리의 다른 글
7daySQL 챌린지 Day 6 (0) | 2019.09.07 |
---|---|
7daySQL 챌린지 Day 5 (0) | 2019.09.06 |
7daySQL 챌린지 Day 4 (2) | 2019.09.05 |
7daySQL 챌린지 Day 3 (0) | 2019.09.05 |
7daySQL 챌린지 Day 2 (1) | 2019.09.04 |