Download presentation
Presentation is loading. Please wait.
Published byThomasina Meryl Davis Modified over 8 years ago
1
IST 220 – Intro to Databases Database Design I
2
DB Design – Sports League The league needs to keep track of Teams Players Coaches Sponsors How many tables are needed?
3
Sports League – relationship diagram The following rules apply: Each team has multiple players, and may have multiple coaches A specific player is associated with only one team A given coach is associated with only one team One business can sponsor many teams, but a team cannot have more than one sponsor
4
DB Design – online bookstore An online bookstore needs to keep track of Customers Books Orders How many tables are needed?
5
Online Bookstore One customer can have any number of orders One order involves one or many books One book title may show up in any number of orders The hardest part: how is an order related to the books included in it?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.