Added: 5 months ago
From: ProfMZellers
Views: 336
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (3)

Sign In or Sign Up now to post a comment!
  • You make the specialty a separate table so that you can enforce referential integrity via a foreign key. There are only a few specialties - and you want to make sure a doctor is associated with one from the list of specialties. If it were an attribute in the doctor table, then a non-existent specialty could be entered, or there could be inconsistency with how the specialty was entered (GP vs General Practioner). A separate table and foreign key removes chance of error/inconsistency.

  • @mlzellers thanks a lot :)

  • a great interpretation Prof ..

    I hope I can continue watch this course, but unfortunately I have a tough classes this semester >> I'm sure I'll back to all them cuz I have DB class next semester ..

    I confused why we separate the specialty from doctors table ??!!1

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more