일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 독서
- GA
- 코딩
- 코오롱베네트
- 미라클 모닝
- GA4
- 감사인사
- 영화 올드 줄거리
- 기사스크랩
- 벚꽃
- Google Analytics
- 6시 기상
- 니다
- 벚꽃개화시기
- Python
- 구글애널리틱스4
- 명상
- 구글애널리틱스
- 데이터 분석
- 알파줄거리
- 데이터문해력
- 얼음여왕
- 프로그래머스
- 수명예측 인공지능
- ㅂㅂ
- 채용공고
- 티스토리
- Today
- Total
목록2023/11 (38)
Data Analyst KIM
SELECT a.AUTHOR_ID , a.AUTHOR_NAME , b.CATEGORY , SUM((SALES * PRICE)) AS TOTAL_SALES FROM BOOK b INNER JOIN AUTHOR a ON b.AUTHOR_ID = a.AUTHOR_ID INNER JOIN BOOK_SALES bs ON b.BOOK_ID = bs.BOOK_ID WHERE bs.SALES_DATE LIKE '2022-01%' GROUP BY b.CATEGORY, b.AUTHOR_ID ORDER BY AUTHOR_ID, CATEGORY DESC
SELECT CONCAT('/home/grep/src/',f.BOARD_ID,'/',f.FILE_ID,f.FILE_NAME,f.FILE_EXT) AS FILE_PATH FROM USED_GOODS_BOARD b INNER JOIN USED_GOODS_FILE f ON b.BOARD_ID = f.BOARD_ID WHERE b.views = (SELECT MAX(views) FROM USED_GOODS_BOARD) ORDER BY FILE_ID DESC
WITH t AS ( SELECT f.FLAVOR , SUM(f.TOTAL_ORDER)+SUM(j.TOTAL_ORDER) AS total FROM FIRST_HALF f INNER JOIN JULY j ON f.FLAVOR = j.FLAVOR GROUP BY FLAVOR ) SELECT FLAVOR FROM t ORDER BY total DESC LIMIT 3
SELECT CART_ID FROM CART_PRODUCTS WHERE NAME IN ('Milk','Yogurt') GROUP BY CART_ID HAVING COUNT(DISTINCT NAME)>1
WITH cnt AS ( SELECT * , COUNT(HOST_ID) OVER (PARTITION BY HOST_ID) AS cnt FROM PLACES ) SELECT ID , NAME , HOST_ID FROM cnt WHERE cnt >= 2 ORDER BY ID
SELECT i.REST_ID , i.REST_NAME , i.FOOD_TYPE , i.FAVORITES , i.ADDRESS , ROUND(AVG(r.REVIEW_SCORE),2) AS SCORE FROM REST_INFO i INNER JOIN REST_REVIEW r ON i.REST_ID = r.REST_ID WHERE address LIKE '서울%' GROUP BY REST_ID ORDER BY SCORE DESC , FAVORITES DESC