摘要: Table per Hierarchy Inheritance 建模 1.让我们假设你有如图8-1中的表,Employee表包含hourly employees 和salaried employees的行。列EmployeeType作为鉴别列,鉴别这两种员工类型的行。 当EmployeType为1时 阅读全文
posted @ 2016-12-06 18:40 一品码农 阅读(384) 评论(0) 推荐(0) 编辑
摘要: Table per Type Inheritance (TPT)建模 1.假设你有两张表与一张公共的表密切相关,如图7-1所示,Businiss表与eCommerce表、Retail表有1:0...1关系。最关键的是,eCommerce表和Retail表中有关于Business表中代表业务的额外的信 阅读全文
posted @ 2016-12-06 16:56 一品码农 阅读(265) 评论(0) 推荐(0) 编辑