subject

The following table is a sample of the data from a company, that store information about various stores and the employees that work on these stores. The data are as follows:
You can make the following assumptions:
Each store has one manager
Each employee has one supervisor
Many employees are assigned to each store. The attribute Hours tells the number of hours each employee has worked on the corresponding store per week and the attribute rating is the rating that this employee received for his work on this store.
Revenue and opening date refer to the store
***Based on this information:
Is this relation in 1NF? If not create the 1NF. If yes explain why.
Write down the functional dependencies
Use the functional dependencies to explain what the candidate key is.
Transform to 2NF
Transform to 3NF
Part 02
Create the DDL scrips for the 3NF schema that you just developed. This means that you need to write the SQL statements that will create the tables on oracle database.
You should also create for each table primary keys and foreign keys.
Now implement the 3NF relational schema on oracle database using the DDL scripts.
Insert the sample data.
Part 03
Write an SQL query to select the data that are shown in the table of part 01.
Part 04
Update the employee records and give a 1000$ increase to the employees of department 10.
Insert a new column that will hold the store square footage
Update this column to set the values to:
PA_Sore: 3000
NJ_Store: 2000
Change the name of the column that holds the employee id to ‘EMP_NUMBER’
Delete PA_Store
Truncate the table that holds the manager information.
Drop the column that holds the employee ratings.
Insert a new employee with and empty salary (Choose values for the rest of the columns)
Drop the table that holds the manager information.
Deliverables:
Upload on blackboard a Word document report including:

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:30
Avariable definition defines the name of a variable that will be used in a program, as well as
Answers: 3
question
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Norder to receive financial aid at his vocational school, mario must fill out the fafsa. the fafsa is a form that must be completed to determine . in order to complete a fafsa, you must submit . the fafsa can students obtain
Answers: 2
question
Computers and Technology, 23.06.2019 18:50
Ais a picture icon that is a direct link to a file or folder
Answers: 1
You know the right answer?
The following table is a sample of the data from a company, that store information about various sto...
Questions
Questions on the website: 13722361