db

678 views

Published on

Published in: Travel, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
678
On SlideShare
0
From Embeds
0
Number of Embeds
23
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • db

    1. 1. Jan 2008 exam paper Employee number Employee name Rate category Project number Employee number Project number Project name Rate category Hourly rate entity1 entity2 link e.g. Street, Town, City are dependent on Postcode (and not on the table’s PRIMARY KEY) CustomerID HouseNum Street Town City Postcode dependent  not dependent 3NF
    2. 2. members rides reservations
    3. 3. ( ) ( ) ( ) ( ) ONE ride(s) can accept ONE reservation(s) MANY MANY ONE member(s) can make ONE reservation(s) MANY MANY ( ) ( ) ONE member(s) can reserve ONE rides(s) MANY MANY reservations rides members ride members reservations
    4. 4. reservations members ride reservations members rides reservations
    5. 5. members rides reservations membership no. forename surname title Address1 Address2 Town County Post Code Telephone MemberPoints ride ID name date introduced ridePoints
    6. 6. members rides reservations membership no. (PK) forename surname title Address1 Address2 Town County Post Code Telephone MemberPoints membership no. (FK) ride ID (FK) Date Time ride ID (PK) name date introduced RidePoints 0001 ride1 7/6/08 11:00 0002 ride1 7/6/08 11:00 0005 ride2 7/6/08 11:00 0011 ride1 7/6/08 11:00 0009 ride3 7/6/08 16:00 0008 ride3 8/6/08 14:00 0007 ride1 7/6/08 11:00 0004 ride4 7/6/08 11:00 normalised?
    7. 7. members rides reservations membership no. (PK) forename surname title Address1 Address2 Town County Post Code Telephone MemberPoints membership no. (FK) ride ID (FK) sessionID (FK) ride ID (PK) name date introduced RidePoints sessionID (PK) Date Time sessions Table: Field name size data type validation notes
    8. 8. members rides reservations membership no. (PK) forename surname title Address1 Address2 Town County Post Code Telephone MemberPoints membership no. (FK) ride ID (FK) sessionID (FK) ride ID (PK) name date introduced RidePoints sessionID (PK) Date Time sessions ‘ members’ data file membership no title forename Address1 Address2 Town County Post Code Telephone memberPoints ‘ rideReservations’ data file membership no date time ride ID Name ridePoints Practice datafiles only! Exam datafiles not released until January
    9. 9. A2 Applied ICT Unit 7 Database Exam Jan 2008

    ×