Let's say that before executing a query, you need to chew the data a bit (Create temporary tables with calculations of m n), so that you can later look at some table on them. Is it possible to do this somehow through the module? Ie, I cut in the macro, it creates the necessary tables for me, and then at the end a query for the Select is executed and a window opens with a selection?
Yes, you can do without tempo tables, using, say, subqueries, but performance may suffer. Yes, you can do the preparatory requests with your hands, but if there are 5 of them, then it is inconvenient ...