Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started