Question: Write a PL/SQL block that accepts a user input representing a student id. Then, use the select into clause to select the name corresponding to

Write a PL/SQL block that accepts a user input representing a student id. Then, use the select into clause to select the name corresponding to the ID from the STUDENT table and print it. Raise PRAGMA-defined exception if the record's ID does not exist.

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!