Lets say I have a table like so,
id | first name | middle name | last name
Now, the name
columns can be NULL
, but if any of the three, for example, first name
is NOT NULL
, then all three must be NOT NULL
.
How can I enforce this in Oracle?