
Welcome this course! We revisit some concepts from the previous course (Introduction to Databases and Querying) and walk you through the agenda for this course
A brief walkthrough of the concept of SQL views.
Explore how SQL triggers fire on insert, update, or delete to enforce rules, with table-level and database-level examples that rollback or log changes.
Explore SQL computed columns that derive values from other columns, such as calculating a full name from first name and last name in an employee table.
Explore computed columns in SQL by creating a table with first name and last name, then defining a computed full name that derives its value from other columns.
Explore user defined functions in SQL, including scalar and table valued variants, and compare them to stored procedures. Learn how to define, pass parameters, and return values within queries.
Explore how transactions ensure data integrity through commit and rollback, and learn the acid properties—atomicity, consistency, isolation, durability—and how they govern reliable database behavior and error handling.
Explore common table expressions and grouping sets to simplify complex queries by storing temporary result sets and applying rollup, cube, and grouping across multiple dimensions.
Explore ranking functions in SQL to assign ranks based on salary order, handle ties, and bucket data into groups, including use cases like finding the second highest salary.
Explore ranking functions in SQL by applying the rank function to postal codes from the Adventure Works address table, observe grouping into 10 groups, and understand ordering criteria.
Explore xml basics: understand tag-based data, schema definition, and how to parse and transform xml with xslt for loading into a database and etl workflows.
This course is an advanced TSQL Querying course. The course expects that student are already aware of basic database concepts and are comfortable writing basic TSQL queries like SELECT, JOINS etc. Students are expected to have taken my previous course (Introduction to databases and Querying). This course cover advanced concepts like Views, Triggers, Dynamic Queries etc. The TSQL Scripts for all demos are uploaded. The course about 2+hours and has assignments at the end of each concept.
If you looking for your next database job or trying to improving your existing database knowledge and apply in your projects, this is the course for you.