Question: Write PL/SQL or T-SQL procedures to accomplish the following tasks: a. Obtain the first name and last name of the owner whose number currently is

 Write PL/SQL or T-SQL procedures to accomplish the following tasks: a.

Write PL/SQL or T-SQL procedures to accomplish the following tasks: a. Obtain the first name and last name of the owner whose number currently is stored in I_OWNER_NUM. Place these values in the variables I_FIRST_NAME and I_LAST_NAME. Output the contents of I_OWNER_NUM, I_FIRST_NAME, and I_LAST_NAME. b. Obtain the office number, address, owner number, owner first name, and owner last name for the property whose property ID is currently stored in I_PROPERTY_ID. Place these values in the variables I_LOCATION_NUM, I_ADDRESS, I_OWNER_NUM, I_FIRST_NAME, and I_LAST_NAME, respectively. Output the contents of I_PROPERTY_ID, I_ADDRESS, I_OWNEER_NUM, I_FIRST NAME, and I_LAST_NAME. c. Add a row to the OWNER table. d. Change the last name of the owner whose number is stored in L_OWNER. NUM to the value currently found in I LAST NAME

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!