Question: CREATE A SQL CODE THAT IS ASK ON THE FOLLOWING STATEMENT. Using the table Country write a sql statement using alter. Display the output. Write

CREATE A SQL CODE THAT IS ASK ON THE FOLLOWING STATEMENT. Using the table Country write a sql statement using alter. Display the output.

  1. Write a SQL statement to rename the table countries to country_new.

  1. Write a SQL statement to add a column region_id to the table locations.

  1. Write a SQL statement to add a columns ID as the first column of the table locations.


Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 ALTER TABLE countries RENAME countrynew Q2 Write a SQL s... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!