partial and preliminary support for macros : parametrized sub-queries for select statements