We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71e140e commit 398ac78Copy full SHA for 398ac78
models/customers.sql
@@ -41,6 +41,7 @@ customer_payments as (
41
left join orders on
42
payments.order_id = orders.order_id
43
44
+ where orders.status = 'completed'
45
group by orders.customer_id
46
47
),
0 commit comments