Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 5 - 2 ) Question 1 : Write a script that does the following: Turn off Autocommit Insert a new row into sec 0

(5-2) Question 1:
Write a script that does the following:
Turn off Autocommit
Insert a new row into sec0502_departments
Save this change by issuing a commit command
Insert another new row into sec0502_departments
Undo this change by issuing a rollback command
Display all the rows in sec0502_departments
(5-3) Question 2:
Write a script that does the following:
Turn off Autocommit
Insert a new row into sec0503_savings_accounts with all of data from the
sec0503_checking_accounts table for customer BOB WILKINS
Delete customer BOB WILKINS data from the sec0503_checking_accounts table
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

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

More Books

Students also viewed these Databases questions