How can we combine only active employees and active contractors?
Applying WHERE clauses in individual SELECT queries filters each branch before the UNION executes.
Active workforce consolidation, valid transaction merging across multiple systems.
SELECT name
FROM employees
WHERE status = 'Active'
UNION
SELECT name
FROM contractors
WHERE status = 'Active';Practice typing production-grade SQL code for UNION with Filters.