Let's say I have a table with the following fields:
primaryEmail | secondaryEmail
I know how to create a UNIQUE constraint on one of the fields, and I know how to create a UNIQUE constraint that combines both fields, but is there a way to ensure that no value exists twice, ACROSS both columns? For example, if there's a value of [email protected] in the primaryEmail field, I don't want it to be able to appear again in either the primaryEmail field OR the secondaryEmail field.