Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

EXERCISES Consider the following tables for the RENTAL _ PROPERTY database: BRANCH ( Bno , Street, Suburb, Pcode, Tel _ No , Fax _ No

EXERCISES
Consider the following tables for the RENTAL_PROPERTY database:
BRANCH (Bno, Street, Suburb, Pcode, Tel_No, Fax_No)
STAFF (Sno, Fname, Lname, Address, Tel_No, Position, Sex, DOB, Salary, Bno)
PROPERTY_FOR_RENT (Pno, Street, Suburb, Pcode, Type, Rooms, Rent, Ono, Sno, Bno)
CLIENT (Cn, Fname, Lname, Address, Tel_No, Pref_Type, Max_Rent, Bno)
OWNER (Ono, Fname, Lname, ddress, Tel_No)
VIEWING (Cno. Pno, Date, Comment)
The data for tables BRANCH, STAFF, and PROPERTY_FOR_RENT are as follows:
Based on the above tables:
a. Write a stored procedure which receives a staff number (Sno) and a rental price
(Rent) as inputs, and displays the list of propertics handled by that staff, which rental
price is not more than the specified rental price.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

ISBN: 1844804526, 978-1844804528

More Books

Students also viewed these Databases questions