I want to display how many employees have commission percentages and how many do not have.
These are the columns of the table. I tried to write two queries.
SELECT COUNT(*) COMMISSION_PCT
FROM HR.EMPLOYEES
WHERE COMMISSION_PCT IS NULL;
SELECT COUNT(*) NO_COMMISSION_PCT
FROM HR.EMPLOYEES
WHERE COMMISSION_PCT IS NOT NULL;
But I do not know how to combine those two queries into one result set.