How do I apply subtypes into an SQL Server database?

前端 未结 5 929
孤独总比滥情好
孤独总比滥情好 2020-12-28 20:05

I am working on a program in which you can register complaints. There are three types of complaints: internal (errors from employees), external (er

5条回答
  •  攒了一身酷
    2020-12-28 20:32

    You can have a complaintSubTypeID with a FK relationship to the PK of all three of your subtype tables- employee, company, and supplier.

提交回复
热议问题