Jira issue originally created by user houpli:
In QueryBuilder from clause, when argument is a QueryBuilder (not a string like a table), there are not parenthesis enclosure on the subquery.
DQL is : SELECT myfield FROM SELECT myField FROM mytable myalias. This is not working on MySQL.
It should be : SELECT myfield FROM (SELECT myField FROM mytable) myalias.
Comment created by stof:
I don't understand your statement This is not working on MySQL. after giving a DQL statement. MySQL does not support any DQL. It runs SQL.
This is not working on MySQL.
And DQL does not support using a subselect in the FROM clause