SlideShare une entreprise Scribd logo
1  sur  13
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
 
 
 
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 (  ) (  ) (  ) (  ) (  ) (  )
events events course organisation delegates delegates course organisation bookings delegates events
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
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
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],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
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?
organisations delegates forms organisations table  delegates table [create using wizard]
form sub-form organisations table delegates table organisations delegates
courses events bookings courses table  events table  form sub-form sub-form bookings table ,   plus…?  + organisation table  + delegates table

Contenu connexe

Plus de c.west

Stage 3 - Creating your project
Stage 3 - Creating your projectStage 3 - Creating your project
Stage 3 - Creating your project
c.west
 
Stage 2 - Deciding on a project
Stage 2 - Deciding on a projectStage 2 - Deciding on a project
Stage 2 - Deciding on a project
c.west
 
Stage 1 - Finding out
Stage 1 - Finding outStage 1 - Finding out
Stage 1 - Finding out
c.west
 
Environment Collages G2
Environment Collages G2Environment Collages G2
Environment Collages G2
c.west
 
Environment Collages G1
Environment Collages G1Environment Collages G1
Environment Collages G1
c.west
 
Unit 6 Poster And Advert Design
Unit 6   Poster And Advert DesignUnit 6   Poster And Advert Design
Unit 6 Poster And Advert Design
c.west
 
Unit 5 Page Design
Unit 5   Page DesignUnit 5   Page Design
Unit 5 Page Design
c.west
 
Unit 4 Using The Internet
Unit 4   Using The InternetUnit 4   Using The Internet
Unit 4 Using The Internet
c.west
 
Unit 3 Spreadsheets
Unit 3   SpreadsheetsUnit 3   Spreadsheets
Unit 3 Spreadsheets
c.west
 
Unit 2 Business Documents
Unit 2   Business DocumentsUnit 2   Business Documents
Unit 2 Business Documents
c.west
 
Unit 1 Logo Design
Unit 1   Logo DesignUnit 1   Logo Design
Unit 1 Logo Design
c.west
 
5. Production Form
5. Production Form5. Production Form
5. Production Form
c.west
 
4. Delivery Notes
4. Delivery Notes4. Delivery Notes
4. Delivery Notes
c.west
 
3. Order Form
3. Order Form3. Order Form
3. Order Form
c.west
 
2. Entity Relationship Diagram (Erd)
2. Entity Relationship Diagram (Erd)2. Entity Relationship Diagram (Erd)
2. Entity Relationship Diagram (Erd)
c.west
 
1. Scenario & Understanding
1. Scenario & Understanding1. Scenario & Understanding
1. Scenario & Understanding
c.west
 
A2dbj095
A2dbj095A2dbj095
A2dbj095
c.west
 
A2 Jan 08 (nov)
A2 Jan 08 (nov)A2 Jan 08 (nov)
A2 Jan 08 (nov)
c.west
 
A2 DB Jan 08
A2 DB Jan 08A2 DB Jan 08
A2 DB Jan 08
c.west
 
Doing more with PP
Doing more with PPDoing more with PP
Doing more with PP
c.west
 

Plus de c.west (20)

Stage 3 - Creating your project
Stage 3 - Creating your projectStage 3 - Creating your project
Stage 3 - Creating your project
 
Stage 2 - Deciding on a project
Stage 2 - Deciding on a projectStage 2 - Deciding on a project
Stage 2 - Deciding on a project
 
Stage 1 - Finding out
Stage 1 - Finding outStage 1 - Finding out
Stage 1 - Finding out
 
Environment Collages G2
Environment Collages G2Environment Collages G2
Environment Collages G2
 
Environment Collages G1
Environment Collages G1Environment Collages G1
Environment Collages G1
 
Unit 6 Poster And Advert Design
Unit 6   Poster And Advert DesignUnit 6   Poster And Advert Design
Unit 6 Poster And Advert Design
 
Unit 5 Page Design
Unit 5   Page DesignUnit 5   Page Design
Unit 5 Page Design
 
Unit 4 Using The Internet
Unit 4   Using The InternetUnit 4   Using The Internet
Unit 4 Using The Internet
 
Unit 3 Spreadsheets
Unit 3   SpreadsheetsUnit 3   Spreadsheets
Unit 3 Spreadsheets
 
Unit 2 Business Documents
Unit 2   Business DocumentsUnit 2   Business Documents
Unit 2 Business Documents
 
Unit 1 Logo Design
Unit 1   Logo DesignUnit 1   Logo Design
Unit 1 Logo Design
 
5. Production Form
5. Production Form5. Production Form
5. Production Form
 
4. Delivery Notes
4. Delivery Notes4. Delivery Notes
4. Delivery Notes
 
3. Order Form
3. Order Form3. Order Form
3. Order Form
 
2. Entity Relationship Diagram (Erd)
2. Entity Relationship Diagram (Erd)2. Entity Relationship Diagram (Erd)
2. Entity Relationship Diagram (Erd)
 
1. Scenario & Understanding
1. Scenario & Understanding1. Scenario & Understanding
1. Scenario & Understanding
 
A2dbj095
A2dbj095A2dbj095
A2dbj095
 
A2 Jan 08 (nov)
A2 Jan 08 (nov)A2 Jan 08 (nov)
A2 Jan 08 (nov)
 
A2 DB Jan 08
A2 DB Jan 08A2 DB Jan 08
A2 DB Jan 08
 
Doing more with PP
Doing more with PPDoing more with PP
Doing more with PP
 

Whiteboard Displays (Jan 07 Exam Paper)

  • 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 ( ) ( ) ( ) ( ) ( ) ( )
  • 6. events events course organisation delegates delegates course organisation bookings delegates events
  • 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?
  • 11. organisations delegates forms organisations table delegates table [create using wizard]
  • 12. form sub-form organisations table delegates table organisations delegates
  • 13. courses events bookings courses table events table form sub-form sub-form bookings table , plus…? + organisation table + delegates table