A department of the university has a small car, which members of staff may use for work purposes. They need a database to keep track of who uses the car and any related expenses Design a database for recording the information on the staff member who books the departmental car and the date booked and returned, the car mileage and any claims for the fuel, parking and similar related expenses Create an Entity Relation Diagram showing the tables needed and the relationships between tables
A department of the university has a small car, which members of staff may use for work purposes. They need a database to keep track of who uses the car and any related expenses Design a database for recording the information on the staff member who books the departmental car and the date booked and returned, the car mileage and any claims for the fuel, parking and similar related expenses Create an Entity Relation Diagram showing the tables needed and the relationships between tables
Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter9: Database Design
Section: Chapter Questions
Problem 7P
Related questions
Question
A department of the university has a small car, which members of staff may use for work purposes. They need a
Design a database for recording the information on the staff member who books the departmental car and the date booked and returned, the car mileage and any claims for the fuel, parking and similar related expenses
- Create an Entity Relation Diagram showing the tables needed and the relationships between tables
- Create suitable fields for each table and select an appropriate primary key for each table select an appropriate foreign keys to connect the tables. If there is no adequate candidate key create necessary surrogate keys for the appropriate tables.
For the tables in figure P3.24 you want to see data on charters flown by either Robert Williams (employee number 105) or Elizabeth Travis (employee number 109) as pilot or copilot, but not charters flown by both of them. Complete Items 3-5 to find this information.
- Create the table that would result from applying the SELECT and PROJECT relational operators to the CHARTER table to return only the CHAR_TRIP, CHAR_PILOT, and CHAR_COPILOT attributes for charters flown by either employee 105 or employee 109.
- Create the table that would result from applying the SELECT and PROJECT relational operators to the CHARTER table to return only the CHAR_TRIP, CHAR_PILOT, and CHAR_COPILOT attributes for charters flown by both employee 105 and employee 109.
- Create the table that would result from applying a DIFFERENCE relational operator of your result from Item 1 to your result from Item 2.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning