
Beginning T-SQL course covers installation, relational databases, RDBMS basics, creating databases with keys, joins, set operations, DML like insert, update, delete, and data types.
View databases as collections of data. See how data stored in tables form a relational database, where a table represents a relation of an entity and its attributes.
Explore what a relational database management system is, and how it stores, updates, deletes, and retrieves data using structured query language across systems like SQL Server, Oracle, and MySQL.
Learn how SQL Server database engine powers a relational database management system, and how SQL Server Management Studio enables multiple users to connect, create databases, tables, and run queries.
Demonstrates downloading, installing, and configuring SQL Server 2022 Developer edition and SSMS, including choosing features, default versus named instances, and verifying services with configuration manager.
Learn to connect to a SQL Server database engine, create a database and table with integer and varchar(50) columns, and insert data using single or multiple row inserts.
Explore how a primary key uniquely identifies each record and prevents nulls, and how a foreign key enforces referential integrity by linking student records to phone numbers.
Compare where and having: where filters the original table, while having filters the grouped result; use sum(sales) in having rather than an alias.
Learn the complete select command syntax in T-SQL, including selecting columns, from tables, where, group by, having, and order by, with aliases usable in order by.
Learn how inner joins combine student and telephone data on a common key, displaying only matching rows, and how aliases clarify column origins in the join syntax.
Master inner join and group by in T-SQL by joining two tables on id and counting telephones per name, labeling the result as number of telephones.
Explore left, right, and full outer joins and cross joins using practical examples with product and supplier tables to illustrate when records appear and when nulls occur.
Explore self joins that link employees to their managers in one table, display employee and manager names, and use inner, left, right, or full joins with isnull.
Explore union, union all, intersect, and except operations, and compare their results on two tables A and B, highlighting duplicates in union and common rows in intersect.
Schema acts as a container for database objects such as tables, views, procedures, triggers, and functions, and naming objects by schema improves organization and access control while enabling cross-database queries.
Learn to create schemas, transfer tables between schemas using T-SQL, and view all objects such as tables and views within a schema.
Explore common interview questions on finding maximum and second maximum salaries using subqueries, inner queries, and alternative approaches like top 1 with ordered data to display full employee details.
Join employee and department data to identify top earners per department by using a derived table with max salary and a two-way join to return names, salaries, and department names in t-sql.
Explore how to use subqueries as a column in SQL Server, creating calculated columns like an average salary and salary differences, and learn alias rules.
Learn how to use a subquery with not in to find products that have no records in another table, by filtering distinct product IDs.
Explore how not exists and correlated subqueries speed up a query against a product table, compared with a left outer join, and how indexing prunes lookups for better performance.
Understand data types in SQL Server, including integers, decimals, money types, and string types (char, varchar, nchar, nvarchar), plus date and time types, fixed vs variable length, and unicode considerations.
Master implicit and explicit datatype conversions in T-SQL by using convert and cast (typecasting) functions, with examples of memory handling, overflow, and date formatting styles.
Master insert, update, and delete operations in T-SQL, including create via select into, updating single or multiple columns with where conditions, joining updates, and truncating or dropping tables.
Learn how primary key, foreign key, unique, not null, default, and check constraints shape robust tables, including creating, dropping, altering, and enforcing data integrity across related records.
Join four tables—actor, actor_movie, movie, and sales—to map actors to movies. Compute each actor's total business contribution to the film industry with inner joins and aggregation.
Join four tables including hotels, websites, price list, and availability to produce a list of hotel name, website, price, and available rooms, filtering where rooms > 0.
Learn to use a case expression in SQL Server to map hotel IDs to names in select queries, label the column, and perform updates.
Explore built-in sql server functions like eomonth, iif, choose, datepart, and string functions. Learn to generate dates, random values, and formatted outputs using convert, left, right, and substring.
This course starts from the beginning , no prior knowledge is needed and it is step By step Practical Training on Programming Transact SQL Query from basics on Microsoft SQL Server Database Engine
This course is must for all the Aspirants who want to become Microsoft SQL Server Database Developers , Microsoft Database Administrator, Web Developers such as .NET Developers,Database ANALYSTS , Report Developers such as SSRS or ETL Developers such as SSIS etc
Following are the course contents which are covered in this course T-SQL Online SQL Server Video Step By Step Training
Introduction
What is a Relational Database
What is Relational Database Management System
SSMS and SQL Server Database Engine
SQL Server and SSMS Installation
Basic T-SQL
Creating DB Tables & Inserting Data into the tables
Primary Key and Foreign Key
Basic Select Commands
Aggregate Functions with SELECT Command
Group By Clause using Single and Multiple Columns
Difference Between WHERE and HAVING Clause
Syntax of SELECT Command
T-SQL Joins to query SQL Server
Inner Join
T-SQL with Inner Join and Group By Together
Left Join
Right Join
Full Join
Cross Join
Self-Join
Union Operation
Union All Operation
Intersect Operation
Except Operation
Working with Schema
What is Schema and its Importance
Schema Creation & Transfer and Viewing the objects inside Schema using T-SQL
Subqueries
Getting Started with first Subquery Example
Common Interview Question on Subquery
Joins Group by Derived table Subquery combined TSQL
Subquery as a Column
Subquery using NOT Exists
ALL ANY SOME Keywords in Subquery
Correlated Subquery
Not Exists Keyword Scenario of Correlated Subquery to speed up query performance
Datatypes
Datatype Conversion
Implicit & Explicit Conversion (Type Casting)
DML Operations and Constraints
Many Different Options while performing insert update and delete operations
Primary Key, Foreign Key, Unique, Not NULL, Default, Check Constraints
Joining more than two tables
Joining three tables
Joining four Tables
One more example in joining four tables
Working with CASE Statements and Inbuilt Functions
Performing Select and Update operation using case statement
WHILE Loop
Inbuilt Functions - EOMONTH, IIF, CHOOSE, DatePart, String Functions etc.