Question: You are going to simulate a logging and rollback system for a simple database that encompasses individuals, their salary, department to which they are affiliated

You are going to simulate a logging and rollback system for a simple database that encompasses individuals, their salary, department to which they are affiliated to in the corporation, and their civil status.
As we are focusing on the conceptual side and will be running a simulation, we will not be using any specific RDBMS. After all, every RDBMS includes among their capabilities this logging and rollback functionality.
To simplify the problem, we will focus on the attributes 'Salary', 'Department' and Civil_status' of three individuals: the transaction list in the starting code will specify the update transactions that will be processed.
Below you'll find an image of the DB ( a simple .csv file):
['Unique_ID', 'First_name', 'Last_name', 'Salary', 'Department', 'Civil_status']
['1', 'John', 'Lennon', '230000', 'Projects', 'Married']
['2', 'Joan', 'Doe', '100000', 'Human Resources', 'Single']
['3', 'Mary', 'Carpenter', '250000', 'Projects', 'Separated']
['4', 'John', 'Ingham', '125000', 'Projects', 'Separated']
['5', 'Rachel', 'Sturgeon', '197000', 'Engineering', 'Married']
['6', 'Hanifa', 'Salima', '50000', 'Engineering', 'Married']
['7',' 'Femi', 'Okeke', '425000', 'Industries', 'Married']
['8', 'Moe', 'Khalifa', '325000', 'Industries', 'Married']
['9', 'Katy', 'Jones', '475000', 'Management', 'Single']
['10', 'Lin', 'Wang', '435000', 'Engineering', 'Married']
['11', 'Art', 'Blanket', '137000', 'Projects', 'Single']
['12', 'Vivek', 'Singh', '231000', 'Industries', 'Married']
['13'', 'Amal', 'Khan', '230000', 'Projects', 'Single']
['14', 'Richard', 'Carpenter', '123000', 'Human Resources', 'Single']
['15', 'Ryuichi', 'Sakamoto', '321000', 'Processing Facilities', 'Single']
 You are going to simulate a logging and rollback system for

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!