The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
A12.1RMapHalpinTopcatHints.docÂ
Consider the scenario :
"A student owns a computer and, a student uses a computer at home. "
1. Write out the elementary facts
2. Write out the topcats associated with each phrase embedded within each elementary fact ( don't forget the overall topcats)!
3. Draw the Halpin ORM diagrams for your elementary facts.Â
4. Draw the topcat diagrams for your elementary facts.
5. Write the table schema for the Halpin diagram ( why did you give your table  that name? :-)Â
6. Write the table schema for the Topcat diagram. ( Note, does the overall topcat help to name your tables)?
Data use case to populate the tables ( P1, P2 are brands of PCs while Mac is the generic term for a Mac)Â
Ann uses a P2
Fred uses a P2, a Mac, and owns a P2
Sue uses a P2 and owns a P1
Â
Tom owns a Mac
Mary uses a Mac and a P1
7. Insert this data in your ORM tables onlyÂ
8. Perform a natural join on your ORM tables to determine who both owns and uses a PC.Â