← Articles
MSSQLTips.com · October 24, 2025

T-SQL in One Hour

This hands-on tutorial introduces the fundamentals of T-SQL using the AdventureWorks2017 sample database. It progresses from SELECT statements, duplicate elimination, filtering, sorting and row limits to inner and outer joins, aggregate functions, GROUP BY, HAVING and subqueries.

The examples also demonstrate how UNION, INTERSECT and EXCEPT combine or compare result sets, followed by inserting records, creating tables from query results, and updating or deleting data using joins. The tutorial provides a practical introduction to both relational data retrieval and modification in SQL Server Management Studio.

Visit original source ↗

Search website

Type to search the portfolio.

↑ ↓ Navigate · Enter to open · Esc to close