Hi! I currently have this code, which produces a DB query like this. However I need a query like this. I thought the best way to do this is to use a subquery, but I got an error saying, that a ->from() is undefined in ORM\Query class. Is there a way to achieve something similar without using direct DB queries?
I've made some changes to move WHERE clauses to the subquery when they only reference a column of the main table, and I'm not sure they made the 1.7.2. release.