So I was trying to work this out but it seems that the last line (the check) doesn\'t allow sub queries in it. Any way to make this work Oracle?
CREATE TABLE
The feature you're looking for is called SQL assertions, and it's not yet implemented in Oracle 12c