Question: In SQL Plus, write a script that performs the following: Login to SQL Plus as user SCOTT Issue a statement to display the employee number,
In SQL Plus, write a script that performs the following:
- Login to SQL Plus as user SCOTT
- Issue a statement to display the employee number, employee name, and salary from the "emp" table .
- Issue a statement to delete all records with employee number in the range of 7500 - 7800 from the "emp" table.
- Issue a statement that repeats Step 2.
- Issue a statement to perform a query on the emp table based on its state 5 minutes previous.
- Issue a ROLLBACK statement to undo the transaction.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
