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:

  1. Login to SQL Plus as user SCOTT
  2. Issue a statement to display the employee number, employee name, and salary from the "emp" table .
  3. Issue a statement to delete all records with employee number in the range of 7500 - 7800 from the "emp" table.
  4. Issue a statement that repeats Step 2.
  5. Issue a statement to perform a query on the emp table based on its state 5 minutes previous.
  6. 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 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!