기초 프로젝트 2일차
가설.. 애먹는 것.
SELECT distinct(customer_id),
count(order_id)over(PARTITION by customer_id) as order_cnt,
avg(DATEDIFF(delivery_date,order_date))over(PARTITION by customer_id) as avg_delivery_time
FROM orders o
그래도 얻은 것. 잘 모루던 함수들 요래조래 좀 익숙해진 것. 굳.
가설을 세우고....요리조리조리 생각을 하자. 데이터를 요리조리조리.
240116화_TIL (0) | 2024.01.16 |
---|---|
240115월_TIL (0) | 2024.01.15 |
240111목_TIL (1) | 2024.01.11 |
240110수_TIL (1) | 2024.01.10 |
240109화_TIL (1) | 2024.01.09 |