---
title: "#receipt articles | Hashnode"
description: "Explore 6 articles tagged #receipt on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/receipt"
---

Tag

# #receipt

6 posts · 0 followers

[Ullman](https://hashnode.com/@itsantiago) · [Feb 21](https://hashnode.com/posts/chapter-3-sql/6999965e1b5d0e9de027fd93)

### [Chapter 3: 데이터 가공을 위한 SQL](https://itsantiago.hashnode.dev/chapter-3-sql?utm_source=hashnode&utm_medium=feed)

6강. 여러 개의 값에 대한 조작 1. 여러 값 비교하기 분기별 매출 증감 판정 CASE 문을 사용해 분기별 매출 증감을 '+', '-', ' '로 표시 SIGN() 함수: 양수(1), 0, 음수(-1) 반환 SELECT year, q1, q2, CASE WHEN q1 < q2 THEN '+' WHEN q1 = q2 THEN ' ' ELSE '-' END AS judge\_q1\_q2, ...

10 min read · [itsantiago.hashnode.dev](https://itsantiago.hashnode.dev/chapter-3-sql?utm_source=hashnode&utm_medium=feed)

[Ullman](https://hashnode.com/@itsantiago) · [Feb 21](https://hashnode.com/posts/chapter-5/6999965f1b5d0e9de027fd97)

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

11강. 사용자 전체의 특징과 경향 찾기 사용자 속성과 행동 패턴을 분석하여 서비스 개선에 활용하는 방법 1. 사용자의 액션 수 집계하기 액션과 관련된 지표 집계 UU (Unique Users): 중복 없이 집계된 사용자 수 사용률 (usage\_rate): 특정 액션 UU / 전체 UU 1인당 액션 수: 액션 수 / 액션 UU WITH stats AS ( SELECT COUNT(DISTINCT session) AS total\_uu ...

14 min read · [itsantiago.hashnode.dev](https://itsantiago.hashnode.dev/chapter-5?utm_source=hashnode&utm_medium=feed)

[Ullman](https://hashnode.com/@itsantiago) · [Feb 21](https://hashnode.com/posts/chapter-4/6999965f1b5d0e9de027fd95)

### [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...

9 min read · [itsantiago.hashnode.dev](https://itsantiago.hashnode.dev/chapter-4?utm_source=hashnode&utm_medium=feed)
