Pre Learning Activities

A subquery is also called an inner query or inner select, while the statement containing a subquery is also called an outer query or outer select. A subquery is a query that is nested inside a SELECTINSERTUPDATE, or DELETE statement, or inside another subquery.

SQL Server stored procedure is a batch of statements grouped as a logical unit and stored in the database. The stored procedure accepts the parameters and executes the T-SQL statements in the procedure, returns the result set if any. A trigger is a special type of stored procedure that automatically runs when an event occurs in the database server. DML triggers run when a user tries to modify data through a data manipulation language (DML) event.

Stored Procedure in SQL - Syntax and Example

Student required to take and understand the post-activity of the previous Chapter and complete the reading required prior the Main class activity. Read the following lecturer presentation notes before we start with the class session. You may also need to watch the video about  data manipulation in MS. SQL Server