Create the following tables

Anonymous
timer Asked: Oct 16th, 2013

Question Description

Need help with my Computer Science question - I’m studying for my class.

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 

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

This question has not been answered.

Create a free account to get help with this and any other question!

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