Question: In - Class Lab Assignment ( Sec 1 ) : Testing MS SQL Stored Procedure Skills ( 2 . 5 % ) Objective: This lab
InClass Lab Assignment Sec : Testing MS SQL Stored Procedure Skills
Objective:
This lab assignment aims to test your skills in creating and working with stored procedures in MS SQL You will create a database named INClass add three tables, insert data into these tables, and then write stored procedures based on the given questions.
Use the script given to complete the blow steps
a Step : Create Database
b Step : Create Tables
c Step : Insert Data
Step : Crate Stored Procedures for the below Questions
a Create a stored procedure named GetStudentDetails that retrieves all details of students.
b Create a stored procedure named InsertNewEnrollment that inserts a new enrollment for a student.
c Create a stored procedure named GetAllEnrollments that retrieves all enrollments.
d Create a stored procedure named DeleteStudent that deletes a student from the Students table.
e Create a stored procedure named UpdateEnrollmentGrade that updates the grade for a specific enrollment.
Submission Requirements:
Combine all SQL scripts and screenshots of the output for the tasks you choose to complete into a single document.
Ensure that each task's script and corresponding output screenshot are clearly labeled.
Grading Criteria:
Correctness of SQL scripts and procedures.
Accuracy of the output.
Completeness of the submission tasks completed
Proper formatting and organization of the document.
Good luck, and happy coding!
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
