Answered step by step
Verified Expert Solution
Question
1 Approved Answer
DDL & DML STATEMENTS This lab is designed to practice the create command of DDL statement. 1. Write a SQL statement to add a column
DDL & DML STATEMENTS This lab is designed to practice the create command of DDL statement. 1. Write a SQL statement to add a column job name to the table jobs. 2. Write a SQL statement to add a Favourite Spot in the table countries. 3. Write a SQL statement to add a column state province after_region id to the table countries. 4. Write a SQL statement change the data type of the column country.id to integer in the table countries. 5. Write a SQL statement to change the name of the column state province to state, keeping the data type and size same. 6. Write a SQL statement to rename the table countries to country..new. 7. Write a SQL statement to insert a record with your own value into the table countries against each columns. 8. Write a SQL statement to insert one row into the table countries against the column country. id and country.name. 9. Write a SQL statement to insert NULL values against region id column for a row of countries table. 10. Write a SQL statement to insert 3 rows by a single insert statement. 11. Write a SQL statement to drop the column country id from the table countries. 12. Write a SQL statement to drop the existing foreign key fk job id from igb history table on job id column which is referencing to the job id of jobs table
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started