0% found this document useful (0 votes)
72 views2 pages

Tutorial 1 Solutions - IN3001 (2013-14) I) ER Diagram: Using Original, Peter Chen's Notation

This document provides information on tutorial solutions for an IN3001 course in 2013-2014. It discusses entity relationship (ER) diagrams using both original and Crow's Foot notations. It also mentions software tools that can be used to create ER diagrams and their limitations. The document then lists the relational schema with table names, attributes, and keys for the database design.

Uploaded by

Adam Petty
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views2 pages

Tutorial 1 Solutions - IN3001 (2013-14) I) ER Diagram: Using Original, Peter Chen's Notation

This document provides information on tutorial solutions for an IN3001 course in 2013-2014. It discusses entity relationship (ER) diagrams using both original and Crow's Foot notations. It also mentions software tools that can be used to create ER diagrams and their limitations. The document then lists the relational schema with table names, attributes, and keys for the database design.

Uploaded by

Adam Petty
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Tutorial 1 Solutions - IN3001 (2013-14)

I) ER Diagram

Using original, Peter Chens
1
notation



1

Chen, P.P.-S., The Entity-Relationship Model - toward a Unified View of Data. ACM Trans. Database Syst., 1(1):
p. 9-36. 1976.
Chen, P., Entity-Relationship Modeling: Historical Events, Future Trends, and Lessons Learned, in Software
Pioneers, B. Manfred and D. Ernst, Editors, Springer-Verlag New York, Inc. p. 296-310, 2002.


Using Crows-foot notation



NB: The tool used was VisualParadigm (available in labs), which automatically resolves many-to-many
relationships, e.g. CustomerAccount(Possesses)
Many ER diagramming tools exist: ERwin, Microsoft Visio, Rational Rose, System Architect, Visual
Paradigm etc. Some free software diagramming tools just draw the ER notational shapes, e.g., Dia (part of
the GNOME project office suite), or www.draw.io. These kinds of tools usually do not enforce any
semantic rules.



II) Relational Schema

Customer (CCode, Title, Fname, Lname, Address, Pcode)
Account (AccNo, AccCode, Atype, Irate, Olimit, BCode)
Possesses (CCode, AccNo, CardNo)
Card (CardNo, IssueNo, IssueDate, ExpiryDate, Limit)
Branch (Bcode, Bname, Address, Pcode, Phone, Type)
Staff (Scode, Title, Fname, Lname, BCode, Position)
Pay (Position, Bsalary, Increment, Otime)


Primary Key: Underlined
Foreign Key: Italic

You might also like