Entity Relationship Diagram. How does the IS A relationship translate into tables?
问题 I was simply wondering, how an ISA relationship in an ER diagram would translate into tables in a database. Would there be 3 tables? One for person, one for student, and one for Teacher? Or would there be 2 tables? One for student, and one for teacher, with each entity having the attributes of person + their own? Or would there be one table with all 4 attributes and some of the squares in the table being null depending on whether it was a student or teacher in the row? NOTE: I forgot to add