Presentation is loading. Please wait.

Presentation is loading. Please wait.

IST 220 – Intro to Databases Database Design I. DB Design – Sports League The league needs to keep track of Teams Players Coaches Sponsors How many tables.

Similar presentations


Presentation on theme: "IST 220 – Intro to Databases Database Design I. DB Design – Sports League The league needs to keep track of Teams Players Coaches Sponsors How many tables."— Presentation transcript:

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?


Download ppt "IST 220 – Intro to Databases Database Design I. DB Design – Sports League The league needs to keep track of Teams Players Coaches Sponsors How many tables."

Similar presentations


Ads by Google