Question: Database computer science Part 3 CRUD Operations Create 1 tSQL script file and include the following CRUD statements. Call it Assignment 3 _ CRUD.sql .
Database computer science
Part CRUD Operations
Create tSQL script file and include the following CRUD statements. Call it AssignmentCRUD.sql Dont forget about the comments block from Part
RAISERROR NQuestion s for CRUD Operations', Message text.
Severity,
State,
QFirst Argument
NULL, Second Argument
NULL; third argument.
Create Statements
Q Provide an insert statement to add a new student with these attributes
StudentID
StudentName John Doe
Major Computer Science
Q Provide an insert statement to add a new course & instructor with these attributes
InstructorID
InstrctuorName Jane Doe
InstructorLocation Old Main
CourseNum
CourseName Test CourseName
Q Provide an insert statement to enroll a student in course with these attributes
StudentID
InstructorID
Winter Introduction to Databases
CourseNum
Grade A
Q Create a grade report for this student
Update Statements
Q Provide an update statement to update InstructorName to Janet Doe
Q Provide an update statement to update Student Major to Engineering
Q Create a grade report for this student. Replicate the script from Q
DELETE Statements
Q Create a grade report for all students in this database
Q Pick one of your test data students and provide a delete statement
Q Create a grade report for all students in this database replicate from Q
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
