Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Week 2 Performance Assessment: Transaction and Data Dictionary The following questions come from the Check your understanding examples of each section of Chapter 5 in

Week 2 Performance Assessment: Transaction and Data Dictionary
The following questions come from the Check your understanding examples of each section of Chapter 5 in your textbook.
After you are finished, please submit a Microsoft Word file that contains screenshots of the SQL queries, resulting output, and contains a comment in the queries showing your name. Your document should be named
W2_PA_TransactionDataDictionary_Lastname.docx.
(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
image text in transcribed

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

Databases Demystified

Authors: Andrew Oppel

1st Edition

0072253649, 9780072253641

More Books

Students also viewed these Databases questions

Question

It would have become a big deal.

Answered: 1 week ago