How can I extract the from/join parts of a complex query into a variable? - Drizzle Team