Sometimes there is need to use conditional expression inside
stored procedure to control the flow of execution.
We can use IF or CASE statements for this.
Below is a stored procedure to check the performance of a student based on its score.
Store the below stored procedure in a file called get_performance.sql
DROP PROCEDURE IF EXISTS get_performance$$
CREATE PROCEDURE …