Use the sql insert statement to go to the human resources


• Create an SQL server database for the Kudler Fine Foods Virtual Organization.
• Create the following tables using fields listed below.

Note. Supply SQL server data types when creating tables. In the Employee table, create an Employee ID field that generates a unique number for each employee and designate the field as the Primary Key. In the Job_Title table, use a listed field as the table's primary key or create an additional field to use as the primary key. The primary key from the Job Title table appears as the foreign key in the Employee table.

Employee.
1. Employee ID.
2. Last name.
3. First name.
4. Address.
5. City .
6. State.
7. Telephone area code.
8. Telephone number.
9. Employer Information Report (EEO-1) classification.
10. Hire date.
11. Salary.
12. Gender.
13. Age.
14. Foreign key from Job Title table.
o
o Job_Title.
1. EEO-1 classification .
2. Job title.
3. Job description.
4. Exempt/non-exempt status.


• Use the SQL INSERT statement to go to the human resources department in the Kudler Fine Foods Virtual Organization. Using information found in the employee files for the La Jolla and Encinitas stores, enter records into the Employee table for the following employees:
o Glenn Edelman.
o Eric McMullen.
o Raj Slentz.
o Erin Broun.
o Donald Carpenter.
o David Esquivez.
o Nancy Sharp.
• Use the information from the job classifications and descriptions to enter records into the Job Title table for the following titles:
o Accounting clerk.
o Assistant manager.
o Bagger.
o Cashier.
o Computer support specialist.
o Director of finance and accounting.
o Retail assistant bakery and pastry.
o Retail assistant butchers and seafood specialists.
o Stocker.

• Check results by selecting all columns from both tables. Non-exempt employees at Kudler Fine Foods are paid an hourly wage and must track their working hours. 


Individual Assignment: Data Changes and SQL Statements

o Use the database and tables from last week's assignment to write SQL statements and enter records into the eEmployee table for workers identified in the employee files for the administrative offices and the Del Mar store. Check results by selecting all columns from both tables.
o Use the database and tables from last week's assignment to write SQL queries. Write an SQL query that does the following:
o Joins two tables in the example database and uses BETWEEN to restrict record selection. Use salary to restrict data.
o Joins two tables in the example database and uses BETWEEN to restrict record selection. Use hire dates to restrict data.
o Joins two tables in the example database and uses LIKE to restrict record selection. Use telephone area codes to restrict data.
o Joins two tables in the example database and uses LIKE to restrict record selection. Use age to restrict data.
o Uses the UNION of the two tables to produce a third table..
o Use the updated database to write the following queries, using the SQL GROUP statement:
o Select employees' last names and group them by EEO-1 classification.
o Select employees' last names and group them by salary.
o Select employees' last names and group them by salary in their EEO-1 classification.
o Select employees' last names and group them by salary in job titles, grouped into exempt and non-exempt.

Individual Assignment: SQL Reports


• Use the database and tables from last week's assignment to write SQL queries.
• Note. Select all data from both tables before you perform the following:
• Increase all employees' salaries with the selected EEO-1 classification by 10 percent. 
• Increase all employees' salaries by 5 percent.
• Choose an employee from the Employee table and delete that employee.
• Print out the SQL statements and data from both tables to show how data was affected.
• Use the database and tables from last week's assignment to write SQL statements that do the following:
• Calculate the average salary for all employees. 
• Calculate the maximum salaries for exempt and non-exempt employees.
• Calculate the maximum salary for all employees.
• Calculate the minimum salaries for exempt and non-exempt employees.
• Calculate the minimum salary for all employees. 

Request for Solution File

Ask an Expert for Answer!!
PL-SQL Programming: Use the sql insert statement to go to the human resources
Reference No:- TGS0130254

Expected delivery within 24 Hours