The operators UNION, MINUS, and INTERSECT are called SET operators. An error occurs if any of these operators are used in a SQL query that references at least one DDM-configured field and you do not have authorization to view the unmasked data of that field. If you have the necessary authorization to access the unmasked value of the field used in the query, which includes the SET operator, the query functions as expected.