Create the following tables in the Northwind database

Sigchi4life
Category:
Computer Science
Price: $10 USD

Question description

here.

Create the following tables in the Northwind database:Regions tableColumn NameDatatypePrimary Key (Y/N)Nullable (Y/N)RegionIDIntegerYNRegionDescriptionCharacter (50)NNDepartments tableColumn NameDatatypePrimary Key (Y/N)Nullable (Y/N)DepartmentIDIntegerYNDepartmentDescriptionCharacter (50)NNInsert the following data into the 2 tables:Regions table1Eastern2Western3Northern4SouthernDepartments table10CEO20Sales30MarketingAlter the Employees table, and add a column:Employees tableColumn NameDatatypePrimary Key (Y/N)Nullable (Y/N)DepartmentIDIntegerNYAlter the Employee table to establish a foreign key between Employees and Departments.Employees.DepartmentID references Departments.DepartmentIDAlter the Territories table to establish a foreign key between Territories and Regions.Territories.RegionID references Regions.RegionIDUpdate the data in the Employees table so that employees with the following managers are listed as working in the following departments:ReportsToDepartmentAndrew FullerSalesSteven BuchananMarketingAll OthersCEO

Submit the SQL, DDL, and DML scripts needed to complete tasks 2–8 and a database diagram of the final data

instnwnd.sql 

Tutor Answer

(Top Tutor) Daniel C.
(997)
School: UT Austin
PREMIUM TUTOR
Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1825 tutors are online

Related Computer Science questions

10/17/2013
10/14/2013
10/14/2013

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors