|< < 39 > >|

Aggregation with grouping

Combining with other operations

What's wrong with this query?
select customer_id, sum(unpaid) from purchase where age(purchase_date) > interval '1 year' group by customer_id

|< < 39 > >|