3 ms·
> How can you ensure that a school is either a college or high_school but not both? If the DBMS supports it, you can add check constraints that query the other
by layer8 4y ago
> How can you ensure that a school is either a college or high_school but not both?
If the DBMS supports it, you can add check constraints that query the other tables. See for example here: https://stackoverflow.com/a/2588427 https://stackoverflow.com/a/2588427