When using the management query, I discovered that I can't use aliases as expected.
During my tests, I tried to create the service and found that the _db.query method works correctly and allows the use of aliases, but the same behavior is not supported in the management query.
Aliases are not recognized in the management query.