Question: Develop the faculty _ in _ state procedure that takes a state abbreviation and returns faculty from that state and some information about them. The

Develop the faculty_in_state procedure that takes a state abbreviation and returns faculty from
that state and some information about them. The procedure, when called, must produce a result
set that matches the data and format aspects of the figure shown below. Use the partial script as a
starting point. This is the partial script:
DROP PROCEDURE IF EXISTS /*???*/;
DELIMITER /*???*/
CREATE PROCEDURE /*???*/(
state_param varchar(2)
)
BEGIN
SELECT DISTINCT CONCAT(/*???*/) AS
'faculty',
/*???*/,
/*???*/,
CONCAT(/*???*/) AS location
FROM people
JOIN /*???*/
USING(/*???*/)
JOIN /*???*/
USING(/*???*/)
WHERE /*???*/= state_param
ORDER BY faculty DESC, location;
END /*???*/
DELIMITER /*???*/
CALL faculty_in_state('NY');

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 Programming Questions!