Changes between Version 15 and Version 16 of AdvancedReports
- Timestamp:
- 03/10/22 18:47:29 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v15 v16 5 5 {{{#!sql 6 6 select 7 o.artist_id,7 u."name" , 8 8 SUM(t.stripe_price) 9 from transactions t 10 inner join offers o on 11 t.offer_id = o.id 9 from artists a 10 join users u on 11 u.id = a.user_id 12 join offers o on 13 o.artist_id = u.id 14 join transactions t on 15 t.offer_id = o.id 12 16 where 13 14 group by o.artist_id17 extract (year from t.created_at) = extract (year from now() - interval '1 year') 18 group by u.id 15 19 }}} 16 20