My query includes a having and count or all in. How are these represented in RA/DRC/TRC? Would I have to simplify my SQL query even more? Here is a simplified example:
maybe you oversimplified your question.. but finding manager for employees in city X is a simple join - no Count or Having.
edit:
select * from managers m, ( select employee from empl where city = 'XXXXX' ) e where m.employee = e.employee