일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- 미라클 모닝
- 티스토리
- 코오롱베네트
- 수명예측 인공지능
- 구글애널리틱스4
- 6시 기상
- 프로그래머스
- 알파줄거리
- Python
- 독서
- 벚꽃개화시기
- 코딩
- GA
- GA4
- 영화 올드 줄거리
- Google Analytics
- 데이터문해력
- 채용공고
- ㅂㅂ
- 벚꽃
- 니다
- 구글애널리틱스
- 명상
- 기사스크랩
- 얼음여왕
- 감사인사
- 데이터 분석
- Today
- Total
목록2023/10/22 (3)
Data Analyst KIM
SELECT a.APNT_NO , p.PT_NAME , a.PT_NO , a.MCDP_CD , d.DR_NAME , a.APNT_YMD FROM APPOINTMENT AS a INNER JOIN PATIENT AS p ON a.PT_NO = p.PT_NO INNER JOIN DOCTOR AS d ON a.MDDR_ID = d.DR_ID WHERE a.APNT_YMD LIKE '2022-04-13%' AND a.APNT_CNCL_YN = 'N' AND a.MCDP_CD ='CS' ORDER BY APNT_YMD
SELECT CAR_ID , CASE WHEN CAR_ID IN (SELECT CAR_ID FROM CAR_RENTAL_COMPANY_RENTAL_HISTORY WHERE '2022-10-16' BETWEEN START_DATE AND END_DATE) THEN '대여중' ELSE '대여 가능' END 'AVAILABILITY' FROM CAR_RENTAL_COMPANY_RENTAL_HISTORY AS C GROUP BY CAR_ID ORDER BY CAR_ID DESC
SELECT b.USER_ID , b.NICKNAME , CONCAT(CITY,' ',STREET_ADDRESS1,' ',STREET_ADDRESS2) AS '전체주소' , CONCAT(SUBSTRING(b.TLNO,1,3),'-',SUBSTRING(b.TLNO,4,4),'-',(SUBSTRING(b.TLNO,8,4))) AS '전화번호' FROM USED_GOODS_BOARD AS a INNER JOIN USED_GOODS_USER AS b ON a.WRITER_ID = b.USER_ID GROUP BY b.USER_ID HAVING COUNT(a.WRITER_ID) >= 3 ORDER BY b.USER_ID DESC