("SELECT * FROM (
select id, title, report_date, report_file, company, 'company' as report_type from rs_company_report
union
select id, title, report_date, report_file, company, 'sector' as report_type from rs_sector_report
union
select id, title, report_date, report_file, company, 'morning' as report_type from rs_morning_report) as company_reports where company LIKE '%1%' order by title ");
如何将此查询转换为 zend tablegateway 格式。