---
title: "Discussion on \"Chapter 4: 매출을 파악하기 위한 데이터 추출\" | Hashnode"
description: "Discussion on \"Chapter 4: 매출을 파악하기 위한 데이터 추출\". 9강. 시계열 기반으로 데이터 집계하기\n시계열 데이터를 다양한 관점에서 집계하여 매출 추이를 분석하는 방법\n\n1. 날짜별 매출 집계하기\n매출 집계의 기본: 날짜별 매출과 평균 구매액 집계\nSELECT\n    dt,\n    COUNT(*) AS purchase_count,\n    SUM(purchase_amount) AS total_amount,\n    AVG(purchase_amount) AS avg_amount\nFROM purchase_log..."
url: "https://hashnode.com/posts/chapter-4/6999965f1b5d0e9de027fd95"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Chapter 4: 매출을 파악하기 위한 데이터 추출](https://itsantiago.hashnode.dev/chapter-4?utm_source=hashnode&utm_medium=feed)

9강. 시계열 기반으로 데이터 집계하기 시계열 데이터를 다양한 관점에서 집계하여 매출 추이를 분석하는 방법 1. 날짜별 매출 집계하기 매출 집계의 기본: 날짜별 매출과 평균 구매액 집계 SELECT dt, COUNT(\*) AS purchase\_count, SUM(purchase\_amount) AS total\_amount, AVG(purchase\_amount) AS avg\_amount FROM purchase\_log...

Feb 21 · 9 min read · itsantiago.hashnode.dev  
Read the article

-   [#dba](https://hashnode.com/tag/dba)
-   [#receipt](https://hashnode.com/tag/receipt)
-   [#sql](https://hashnode.com/tag/sql)
-   [#til](https://hashnode.com/tag/til)

## Written by

[Ullman](https://hashnode.com/@itsantiago)

@itsantiago · Seoul, South Korea

  
[View profile](https://hashnode.com/@itsantiago)

Keep learning and Enjoy growth

Keep learning toward wellbeing life with co-livers

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
