DSQL: allow to set subselect as DSQLs table
Merge pull request #591 from DarkSide666/master

DSQL: allow to set subselect as DSQLs table