For
more course tutorials visit
Table
Queries
Note
before each learning team assignment is due, I will post an example exercise
that will help get you on track before you prepare your learning team
assignment. Also, you need to read the
assignments options thread that I will post in the main class forum before the
end of academic week number one.
Create
an SQL server database for the Kudler Fine Foods Virtual Organization.
Create
the following relational database 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
·
Employee ID
·
Last name
·
First name
·
Address
·
City
·
State
·
Telephone area
code
·
Telephone
number
·
Employer
Information Report (EEO-1) classification
·
Hire date
·
Salary
·
Gender
·
Age
·
Foreign key
from Job Title table.
·
Job_Title
·
EEO-1
classification
·
Job title
·
Job
description
·
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:
·
Glenn Edelman
·
Eric McMullen
·
Raj Slentz
·
Erin Broun
·
Donald
Carpenter
·
David Esquivez
·
Nancy Sharp
Use
the information from the job classifications and descriptions to enter records
into the Job Title table for the following titles:
·
Accounting
clerk
·
Assistant
manager
·
Bagger
·
Cashier
·
Computer
support specialist
·
Director of
finance and accounting
·
Retail
assistant bakery and pastry
·
Retail
assistant butchers and seafood specialists
·
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.
Note the
submission of all individual assignments requires that you post your individual
SQL exercise using a Microsoft Word file. If you are using SQL Server you must
cut and paste your results in tn a Microsoft Word file. You must also include each SQL statement that
you have developed before showing the results set of each query.