Skip to content

Commit eed57da

Browse files
committed
[level 2] Title: 진료과별 총 예약 횟수 출력하기, Time: 0.00 ms, Memory: 0.0 MB -BaekjoonHub
1 parent 690a7fe commit eed57da

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

프로그래머스/2/132202. 진료과별 총 예약 횟수 출력하기/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Empty
1616

1717
### 제출 일자
1818

19-
2025년 06월 28일 18:56:19
19+
2025년 11월 10일 11:45:45
2020

2121
### 문제 설명
2222

Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
SELECT
2-
MCDP_CD AS '진료과 코드',
3-
COUNT(*) AS '5월예약건수'
4-
FROM APPOINTMENT
5-
WHERE APNT_YMD REGEXP '2022-05'
6-
GROUP BY MCDP_CD
7-
ORDER BY COUNT(*), MCDP_CD
1+
select
2+
mcdp_cd as '진료과코드',
3+
count(*) as '5월예약건수'
4+
from APPOINTMENT
5+
where apnt_ymd like '2022-05%'
6+
group by mcdp_cd
7+
order by count(*), mcdp_cd;

0 commit comments

Comments
 (0)