if you lookup the QBResult node in solution explorer, you’ll find the addSubSelect function.
This will take either a query with optional args OR another QBSelect as parameters.
Thank you for the answer.
Actually, I was looking for a query in the from clause. Not in the result.
But anyway, I’ll try to rewrite the sql to use the query in the result. I guess, from is not possible.