G
Guest
I have a list of people claiming expenses, many sharing the same payee and I
would like to group these records. This works fine with a grouped query,
using the aggregate function SUM to sum the amounts by payee. What would be
great (and this comes up quite a lot for different databases) is a way to
aggregate the names of the people too, i.e. see them concatenated next to the
total amount. Can this be done in SQL (rather than knocking together some
kind of VBA/ADO/DAO function)?
would like to group these records. This works fine with a grouped query,
using the aggregate function SUM to sum the amounts by payee. What would be
great (and this comes up quite a lot for different databases) is a way to
aggregate the names of the people too, i.e. see them concatenated next to the
total amount. Can this be done in SQL (rather than knocking together some
kind of VBA/ADO/DAO function)?