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.

Principles of Information Systems (MindTap Course List)
12th Edition
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter11: Knowledge Management And Specialized Information Systems
Section: Chapter Questions
Problem 18SAT
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
  • SEE MORE QUESTIONS
Recommended textbooks for you
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage