You are required to develop a simple database application for a small recruiting firm that wishes to keep track of all the employees at the firm; storing details about their name, phone numbers, hiredate, Gender, Date of Birth, Salary, and Commission. The firm has many departments and there are 5 to 20 employees in each department. The department information includes department name, description and total number of employees in that department. The company also provides vehicles for some of its employees. An employee maybe allocated one car. To ensure timely maintenance of vehicle, the company would like to store the following details of the vehicle: make, model, next_maintenance_date. Each employee has a position (manager, accountant, administrator, clerk, HR employee, etc.). Various allowances are allocated to each position. For example, the managers have fuel allowance, house allowance, social allowance and managers allowance. On the other hand, the administrators have house allowance and social allowance. Clerks and HR employees have social allowance and uniform allowance. The name and description of each allowance needs to be stored. The database keeps track of all Projects in the organization. Each department is assigned to one or more project. Project can be assigned to one or more department (Interdisciplinary projects). The HR Employee has his own credentials to login into the system to manipulate the database. The credentials are stored in a table (Login). You will also need a table to store transactions (Transaction Date/Time, User Name, Position, and Employee Number). The system must store employees’ grades. Each employee will have a grade (Example A, B, C). The grade should have a predefined salary range. The system must store information about employee’s overtime base on night or day shift, number of working hours, and grade. An employee may or may not work overtime. The calculation of overtime is based on Hourly pay rate per grade * Number of working Hours * Day or Night Shift. The maximum number of hours for overtime is 8 hours. Night time shift pay is twice the Day time shift pay. The hourly pay rate is based on the Grade. Example (Grade A receives $200, Grade B Receives $150 and So on). You need to have the following constraints in your system: Primary and foreign keys. The employee’s salary should be between the grade range (Example: Grade A - Salary between 30000-50000). Employee’s phone number, Hiredate, Date of Birth should not be empty. The age should be between 18 and 60. Vehicle next maintenance is within 3 month of current date. Each position should not exceed the predefined allowances. The System will need a constraint for Gender (‘M’,’F’). The Username must be Unique in Table Login. Mandatory fields must not be NULL. Can u do that for this database system Normalize your tables to the third normal form. With details . Is it in First, Second, or third? And explain why.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
You are required to develop a simple database application for a small recruiting firm that wishes to keep track of all the employees at the firm; storing details about their name, phone numbers, hiredate, Gender, Date of Birth, Salary, and Commission. The firm has many departments and there are 5 to 20 employees in each department. The department information includes department name, description and total number of employees in that department. The company also provides vehicles for some of its employees. An employee maybe allocated one car. To ensure timely maintenance of vehicle, the company would like to store the following details of the vehicle: make, model, next_maintenance_date. Each employee has a position (manager, accountant, administrator, clerk, HR employee, etc.). Various allowances are allocated to each position. For example, the managers have fuel allowance, house allowance, social allowance and managers allowance. On the other hand, the administrators have house allowance and social allowance. Clerks and HR employees have social allowance and uniform allowance. The name and description of each allowance needs to be stored. The database keeps track of all Projects in the organization. Each department is assigned to one or more project. Project can be assigned to one or more department (Interdisciplinary projects). The HR Employee has his own credentials to login into the system to manipulate the database. The credentials are stored in a table (Login). You will also need a table to store transactions (Transaction Date/Time, User Name, Position, and Employee Number). The system must store employees’ grades. Each employee will have a grade (Example A, B, C). The grade should have a predefined salary range. The system must store information about employee’s overtime base on night or day shift, number of working hours, and grade. An employee may or may not work overtime. The calculation of overtime is based on Hourly pay rate per grade * Number of working Hours * Day or Night Shift. The maximum number of hours for overtime is 8 hours. Night time shift pay is twice the Day time shift pay. The hourly pay rate is based on the Grade. Example (Grade A receives $200, Grade B Receives $150 and So on). You need to have the following constraints in your system: Primary and foreign keys. The employee’s salary should be between the grade range (Example: Grade A - Salary between 30000-50000). Employee’s phone number, Hiredate, Date of Birth should not be empty. The age should be between 18 and 60. Vehicle next maintenance is within 3 month of current date. Each position should not exceed the predefined allowances. The System will need a constraint for Gender (‘M’,’F’). The Username must be Unique in Table Login. Mandatory fields must not be NULL. Can u do that for this database system Normalize your tables to the third normal form. With details . Is it in First, Second, or third? And explain why.
Projecto
make
PROJECT
Project Name
model
VEHICLE
next maintenance
Caname
assigned
provided
total Empno
ALLOWANCE allocated
description
description
DEPARTMENT
PhoneNo
employs
(DOB) Chiredate
EMPLOYEE
Gender
has
Dept Name
POSITION
(Pname
ename
receives
enters
BONUS
has
salary
Bname
job
Commission
empno) Date Time
TRANSACTION
manipulate
LOGIN
GRADE
Username
job
Password
Salary range
Transcribed Image Text:Projecto make PROJECT Project Name model VEHICLE next maintenance Caname assigned provided total Empno ALLOWANCE allocated description description DEPARTMENT PhoneNo employs (DOB) Chiredate EMPLOYEE Gender has Dept Name POSITION (Pname ename receives enters BONUS has salary Bname job Commission empno) Date Time TRANSACTION manipulate LOGIN GRADE Username job Password Salary range
Entities:
- Employee ename, hire_date, DOB, Phone NO, Gender
- Transaction: Date-Time, username, job, empno
- Login: ID, password
- Grade: salary range
- Bonus :Bname, job, Commission, salary
- Position: pname
-Allowance: aname, description
- Vehicle: model, make, next_maintenance
- Project: project rw, project
Name
- Department: DeptName, description, total Empno
Transcribed Image Text:Entities: - Employee ename, hire_date, DOB, Phone NO, Gender - Transaction: Date-Time, username, job, empno - Login: ID, password - Grade: salary range - Bonus :Bname, job, Commission, salary - Position: pname -Allowance: aname, description - Vehicle: model, make, next_maintenance - Project: project rw, project Name - Department: DeptName, description, total Empno
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Dataset
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.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education