How to infer type of select for subquery? - Drizzle Team