这些是我的两个查询当我分别触发它们时,我给出了正确的响应,但是当它们结合起来时,它们不会给出相同的响应。请帮助将它们结合起来
SELECT SUM(hours) AS S1
,operating_company
FROM Hours WHERE operating_company='AP-OH' GROUP BY operating_company
SELECT COUNT(*) AS S1,event_type
,operating_company
FROM Event WHERE operating_company='AP-OH' AND event_type='OSH Restricted' GROUP BY
operating_company,event_type
谢谢拉杰什B