Create new child element as a query

When deriving more computations that require multiple step aggregations and hence multiple dependent child elements, the complexity of interlinked tables become burdensome.
It would be significantly easier to create some computations from an existing table element if there was simple way of defining the child (dependent) table as query.
I’d use this feature daily and would be significantly simplify my workflow.

The feature could simply appear in this menu as “Table from SQL Query” and would allow to write a SQL query against the table.