How to get a similar result of db.query but with extra aggregation and using select - Drizzle Team