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 facultyinstate 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
stateparam varchar
BEGIN
SELECT DISTINCT CONCAT AS
'faculty',
CONCAT AS location
FROM people
JOIN
USING
JOIN
USING
WHERE stateparam
ORDER BY faculty DESC, location;
END
DELIMITER
CALL facultyinstateNY;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
