Liknande böcker
T-SQL Fundamentals
Bok av Itzik Ben-Gan
Effectively query and modify data using Transact-SQL
Master T-SQL fundamentals and write robust code for Microsoft SQL Server and Azure SQL Database. Itzik Ben-Gan explains key T-SQL concepts and helps you apply your knowledge with hands-on exercises. The book first introduces T-SQLs roots and underlying logic. Next, it walks you through core topics such as single-table queries, joins, subqueries, table expressions, and set operators. Then the book covers more-advanced data-query topics such as window functions, pivoting, and grouping sets. The book also explains how to modify data, work with temporal tables, and handle transactions, and provides an overview of programmable objects.
Microsoft Data Platform MVP Itzik Ben-Gan shows you how to:
Review core SQL concepts and its mathematical rootsCreate tables and enforce data integrityPerform effective single-table queries by using the SELECT statementQuery multiple tables by using joins, subqueries, table expressions, and set operatorsUse advanced query techniques such as window functions, pivoting, and grouping setsInsert, update, delete, and merge dataUse transactions in a concurrent environmentGet started with programmable objectsfrom variables and batches to user-defined functions, stored procedures, triggers, and dynamic SQL