Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1e) Write SQL statements to compute the following i) Number of complains that were logged by Customer ID 0001 which where resolved [6] ii) Complains

1e) Write SQL statements to compute the following i) Number of complains that were logged by Customer ID 0001 which where resolved [6] ii) Complains which are pending and the number of days they have taken without being resolved [6] iii) Complains that where resolved on the same day they were logged [3] 1e) As a professional database administrator you would want to create known save points as you transact in case of a system crush as one of the key implementations to ensure that ensure that the database is taken from one consistent state to the next consistent state. Using your expertise implement the following TCL: i) While adding the following customer data and the customer complain log, create the two savepoints A, B. Customer Data - [ 0004, Marting, Mabwandi, artinmabwnadi@ymail.com, 78-6679T ] [4] Complain Log [CID9003, 2022-09-20, 0004, Expired Buns] [4] ii) Assuming that while attempting to execute the query statements above , the electricity supply system blacks out , write an SQL statement to reverse the transaction to savepoint A [3]

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

Question

When should the last word in a title be capitalized?

Answered: 1 week ago