User: explain how `joins` can do aggregation