Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write the SQL syntax only for the following questions! Thank you! Drop table Customers!!! Drop table Customers; 7. Now we'll recreate the customers table:

image text in transcribed
Please write the SQL syntax only for the following questions! Thank you! Drop table Customers!!! Drop table Customers; 7. Now we'll recreate the customers table: Use fields customer#, lastname, firstname, address, city, state, zip, referred, region. Add Not null constraints to lastname and firstname. Table Management 8. Rename the Employees table as JL Emps 9. Create a new table with these four columns from the existing Books table: ISBN, Cost, Retail, and Category. The name of the ISBN column should be ID and the other columns should keep their original names. Name the new table Book Pricing 10. Delete the book_pricing table permanently so that it isn't moved to the recycle bin. Then delete the L Emps table so that it can be restored. Restore the JL Emp table and verify that it is available again

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

AWS Certified Database Study Guide Specialty DBS-C01 Exam

Authors: Matheus Arrais, Rene Martinez Bravet, Leonardo Ciccone, Angie Nobre Cocharero, Erika Kurauchi, Hugo Rozestraten

1st Edition

1119778956, 978-1119778950

More Books

Students also viewed these Databases questions

Question

LO1 Discuss four different views of motivation at work.

Answered: 1 week ago

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago