Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 6 - 7 ) Question 1 : Write a script to do the following: Use a create table statement to create a new copy

(6-7) Question 1:
Write a script to do the following: Use a create table statement to create a new copy of the
L_EMPLOYEES table, with a new name. Then use an insert statement with a select clause to copy
all the data from the L_EMPLOYEES table to your new copy of the table.
(6-9) Question 2:
Add a primary key to the sec0609_employees table.
(6-11) Question 3:
Write a script to do the following: Add two new columns to the sec0611_departments table.
One new column, a text column, will be for the name of the manager of the department. The
other new column, a numeric column, is for the annual budget of the department.
(6-12) Question 4:
Expand the length of the last_name column to the sec0612_employees table. Expand it to a
length of 50 letters so people with hyphenated last names can be hired by the company.
(6-13) Question 5:
Delete the phone_number column from a the sec0613_employees table.
(6-16) Question 6:
Eliminate the duplicate rows from the sec0616_duplicate_rows table.
(6-17) Question 7:
Assign a number to each row of the sec0617_duplicate_rows table.

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

Step: 3

blur-text-image

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

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions

Question

2. What potential barriers would you encourage Samuel to avoid?

Answered: 1 week ago

Question

6. How would you design your ideal position?

Answered: 1 week ago