Skip to main content

New answers tagged

1 vote

primary key referened by only single foreign key of another table among multiple tables that can reference it

There are no constraints to do that in any RDBMS I know... Traditional way is just go outside of the database. Have a field admin_or_customer in the account table and let client application to read ...
White Owl's user avatar
  • 830

Top 50 recent answers are included