1. Jan 2007 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.
3.
4.
5. events events course organisation delegates delegates ONE course(s) can take place on ONE event(s) MANY MANY ONE delegate(s) work for ONE organisation(s) MANY MANY ONE delegate (s) can be booked onto ONE event(s) MANY MANY ( ) ( ) ( ) ( ) ( ) ( )
7. Courses file Course Code Course Name Course Hours Cost Event Code Date Trainer Name Number On Course Bookings file Course Code Event Code Course Name Date Paid DelegateID † Lastname Firstname Department Organisation Reference Organisation file Organisation Reference Organisation name Address1 Town Postcode course organisation bookings delegates events Course Code (PK) Course Name Course Hours Cost Organisation Reference (PK) Organisation name Address1 Town Postcode Event Code (PK) Course Code (FK) Date Number On Course Trainer Name delegateID (PK) Org. reference (FK) Lastname Firstname Department EventCode (PK) (FK) DelegateID (PK) (FK) Date Paid
8. Courses file Course Code Course Name Course Hours Cost Event Code Date Trainer Name Number On Course Bookings file Course Code Event Code Course Name Date Paid DelegateID † Lastname Firstname Department Organisation Reference Organisation file Organisation Reference Organisation name Address1 Town Postcode course organisation bookings delegates events Course Code (PK) Course Name Course Hours Cost Organisation Reference (PK) Organisation name Address1 Town Postcode Event Code (PK) Course Code (FK) Date Number On Course Trainer Name delegateID (PK) Org. reference (FK) Lastname Firstname Department EventCode (PK) (FK) DelegateID (PK) (FK) Date Paid
9.
10. forms (on screen) reports (on paper) queries (make tables) queries (select some data only) tables Macros (automate tasks) what the user can see See all in organisation Add a new delegate Book onto a course List of all delegates on a course Invoice for each organisation Which delegates are from an organisation? How many are on each course?