Skip to content

Instantly share code, notes, and snippets.

View raulintosh's full-sized avatar

Raul Giucich raulintosh

View GitHub Profile
WITH transaction AS (
SELECT transaction_id,
customer_id,
state,
amount_spent_usd
FROM FACT_TABLE_TRANSACTION
),
customer_spend AS (
SELECT customer_id,
state,