SELECT SUM (COUNT (HR. ID), COUNT (HRWX. ID)) AS a total
The FROM HR, HRWX;
Running tips for function parameters in the right number in the query expression 'SUM (COUNT (HR. ID), COUNT (HRWX. ID))'
CodePudding user response:
SELECT COUNT (1) the FROM (SELECT the ID FROM HR
UNION ALL
SELECT the ID FROM HRWX) AA