Tut2 Relational Data Model
Tut2 Relational Data Model
TEMASEK Informatics & IT SCHOOL
Database Information Systems (CIM1Z01)
AY2008/2009 Oct Semester
Objectives - On completion of this tutorial session, the students will be able to: -
2. How is the term attribute used in the relational model? What is a more
common name for it?
4. What does it mean to qualify a field name? How would you qualify the
BookCode field in the Inventory table and the BookCode field in the Book
table?
Inventory
BookCode BranchNum OnHand
0180 1 2
0189 2 2
0200 1 1
0200 2 3
0378 3 2
079X 2 1
079X 3 2
Book
BookCode Title PublisherCode Type Price Paperback
0180 A Deepness in the Sky TB SFI 7.19 Yes
0189 Magic Terror FA HOR 7.99 Yes
0200 The Stranger VB FIC 8.00 Yes
0378 Venice SS ART 24.50 No
079X Second Wind PU MYS 24.95 No
5. What is a primary key? What is the primary key for the Inventory table
and the Book table in question 4?