lease write a stored procedure which will display the student’s transcript by the input (semester, year). The program needs to meet the following requirements and test cases. .If the input year is “*”, the report should have all students for all years. If the input semester is “*”, the report should have all the terms in that year. If the input semester or year is empty or null, a corresponding error message should be printed. If there is no student for the input semester/year, the output message should say “year xxxx, semester zzzz has no students in the system”. If there are students found for the input semester/year, print the report with the format based on the test cases. The report should be sorted by the student’s last_name, first_name from A to Z, year from low to high, and semester from spring to fall.
Please write a stored procedure which will display the student’s transcript by the input (semester, year). The program needs to meet the following requirements and test cases.
.If the input year is “*”, the report should have all students for all years.
If the input semester is “*”, the report should have all the terms in that year.
If the input semester or year is empty or null, a corresponding error message should be printed.
If there is no student for the input semester/year, the output message should say “year xxxx, semester zzzz has no students in the system”.
If there are students found for the input semester/year, print the report with the format based on the test cases.
The report should be sorted by the student’s last_name, first_name from A to Z, year from low to high, and semester from spring to fall.
Step by step
Solved in 3 steps