08 Jun Database Management 1. Create and Check the E-R Model 1.1
Question
Database Management
1. Create and Check the E-R Model
1.1 Identify Entities
· Customer
· Location
· Vehicle
· Rental Policy
· Promotion
· Employee
1.2 Identify Relationships
Entity | Relationship | Entity |
Location | Stocks | Vehicle |
Location | Has | Employee |
Customer | Selects | Rental Policy |
Vehicle | Appears in | Rental Policy |
Rental Policy | Contains | Promotion |
Rental Policy | Has | Location |
Vehicle | Is | Class |
Employee | Creates | Rental Policy |
1.3 Identify and associate attributes with entities identifying attribute domains and primary keys.
Entity | Attribute | Description | Data Type | Length | Nulls | Multi-Valued |
Location | LocationID** | Uniquely Identifies location | Text | 4 fixed characters | No | No |
Name | Common Name | Text | 60 variable characters | No | No | |
lstreet | Street of Location | Text | 60 variable characters | No | No | |
Lcity | City of Location | Text | 20 variable characters | No | No | |
Lstate | State of Location | Text | 20 variable characters | No | No | |
Lzip | Zip of Location | Number | 5 variable characters | No | No | |
Customer | Driver License** | Uniquely Identifies customer | Text | 20 variable characters | No | No |
First Name | Customer first name | Text | 20 variable characters | No | No | |
Last Name | Customer last name | Text | 20 variable characters | No | No | |
Phone Number | Customer phone number | Number | 15 variable characters | No | No | |
cstreet | Street of customer | Text | 20 variable characters | No | No | |
ccity | City of Customer | Text | 20 variable characters | No | No | |
cstate | State of Customer | Text | 20 variable characters | No | No | |
czip | Zip of Customer | Text | 20 variable characters | No | No | |
Customer email | Text | 20 variable characters | No | No | ||
Vehicle | License Plate** | Unique Car Number | Text | 7 fixed characters | No | No |
Make | Vehicle make | Text | 20 variable characters | No | No | |
Model | Vehicle model | Text | 20 variable characters | No | No | |
Year | Vehicle year | Text | 4 variable characters | No | No | |
Color | Vehicle color | Text | 8 variable characters | No | No | |
Employee | Driver License** | Unique identifier for employee | Text | 20 variable characters | No | No |
First Name | Employee first name | Text | 20 variable characters | No | No | |
Last Name | Employee last name | Text | 20 variable characters | No | No | |
ePhoneNumber | Employee phone number | Number | 15 variable characters | No | No | |
estreet | Employee street address | Text | 60 variable characters | No | No | |
ecity | Employee city | Text | 20 variable characters | No | No | |
estate | Employee state | Text | 20 variable characters | No | No | |
ezip | Employee zip | Number | 5 variable characters | No | No | |
Category | Employee category | Text | 20 variable characters | No | No | |
Rental Policy | Rental Policy ID** | Uniquely ID Rental Policy | Number | 15 fixed characters | No | No |
Start Date | Policy Start date | Date | 6 characters | No | No | |
End Date | Policy end date | Date | 6 characters | No | No | |
Gas Tank Start | Gas Level Recorded at Start | Text (Multiple Choice) | 3 characters | No | No | |
Gas Tank End | Gas Level recorded at End | Text (Multiple Choice) | 3 characters | No | No | |
Extended Price | Price of Rental Policy | Number (Formula) | 6 characters | No | No | |
Odometer Start | Odometer Reading at Start | Number | 10 character | No | No | |
Odometer End | Odometer Reading at End | Number | 10 characters | No | No | |
Promotion | Promotion_ID** | Uniquely Identifies Promotion | Number | 10 fixed character | No | No |
Start Date | Promotion Start Date | Date | 6 character | No | No | |
End Date | Promotion End Date | Date | 6 character | No | No | |
Discount | Promotion Discount | Number (Percentage) | 2 characters | No | No | |
Class | Class_ID** | Uniquely identifies class_ID | Number | 2 characters | No | No |
Name | Names the different classes | Text | 10 Characters | No | No | |
Rate | Rate for the class | Number (Currency) | 4 characters | No | No |
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.