Currently, the FROM clause from a query is computed automatically.
There are situations (e.g. subselect) where the form clause must be manipulated manually.
There should be a new from clause field inside criteria, with the following behaviour:
- If the from clause inside the criteria is empty, then use the from clause which was computed automatically.
- If the from clause inside the criteria is not empty, then this from clause is used inside queries.