Implemented UNION and UNION ALL.