How can I execute an union query with PHQL or Query Builder?
I think you can not use PHQL or Query Builder, in this case, you should use Raw SQL
https://docs.phalcon.io/en/latest/reference/phql.html#using-raw-sql