Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a SQL script to drop and then create the three tables based on the specs and data below. The script should be re-runnable (run

Create a SQL script to drop and then create the three tables based on the specs and data below. The script should be re-runnable (run the script over and over without error and the correct results). Emp (EmpId int not null primary key, LName varchar(50) not null, FName varchar(50) not null, Salary money not null) 1, Rojas, Cindy, 45000 2, Soo, Kyung, 55000 3, Corso, Anthony, 105000 4, Bohlender, Barb, 150000 5, Jefferies, Jack, 50000 6, Davis, Jesse, 75000 Dept (DeptId int not null primary key, Name varchar(50) not null, Bonus decimal(2,2)) 293, Sales, 0.25 392, Marketing, 0.15 516, Manufacturing, null EmpInDept (EmpInDeptId int not null primary key, EmpId int not null, DeptId int not null) 101, 1, 516 102, 5, 516 201, 2, 392 301, 3, 293 302, 4, 293

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2008 Comprehensive Concepts And Techniques

Authors: Gary B. Shelly, Corinne Hoisington

1st Edition

1423927168, 978-1423927167

More Books

Students also viewed these Databases questions

Question

define the term outplacement

Answered: 1 week ago

Question

describe the services that an outplacement consultancy may provide.

Answered: 1 week ago