Question: Commit these changes ( 5 - 3 ) Question 3 : Write a script that does the following: Turn off Autocommit Update sec 0 5

Commit these changes
(5-3) Question 3:
Write a script that does the following:
Turn off Autocommit
Update sec0503_savings_accounts to decrease the balance of customer 'FRED BOYD' by $20,000
Update sec0503_checking_accounts to increase the balance of customer 'FRED BOYD' by $20,000
Display all rows in sec0503_savings_accounts
Display all rows in sec0503_checking_accounts
Rollback these changes
(5-5) Question 4:
Write a script that does the following:
Display all the data in sec0505 foods
Create a view of the foods table, including all the columns and rows
Insert a new row into the view
Update the view, setting menu_item to 20 and description to 'CARROTS' where the description is currently 'BROCCOLI'
Delete a row from the view
Display all the data in the view
Display all the data in sec0505 foods
(5-11) Question 5:
List the names of all the tables you own.
(5-12) Question 6:
List the names of all the views you own.
(5-14) Question 7:
Use the Data Dictionary to find the names of all the columns of the LEMPLOYEES table.
(5-15) Question 8:
Use the Data Dictionary to find the primary key of the L_EMPLOYEES table.
 Commit these changes (5-3) Question 3: Write a script that does

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!