Effectively query & modify data using Transact-SQLMaster T-SQL fundamentals & write robust code for Microsoft SQL Server & Azure SQL Database Itzik Ben-Gan explains key T-SQL concepts & helps you apply your knowledge with hands-on exercises The book first introduces T-SQL's roots & underlying logic Next it walks you through core topics such as single-table queries joins subqueries table expressions & set operators Then the book covers more-advanced data-query topics such as window functions pivoting & grouping sets The book also explains how to modify data work with temporal tables & handle transactions & provides an overview of programmable objects Microsoft Data Platform MVP Itzik Ben-Gan shows you how to Review core SQL concepts & its mathematical roots Create tables & enforce data integrity Perform effective single-table queries by using the SELECT statement Query multiple tables by using joins subqueries table expressions & set operators Use advanced query techniques such as window functions pivoting & grouping sets Insert update delete & merge data Use transactions in a concurrent environment Get started with programmable objects-from variables & batches to user-defined functions stored procedures triggers & dynamic SQL