T-SQL Fundamentals

T-SQL Fundamentals

by Itzik Ben-Gan
T-SQL Fundamentals

T-SQL Fundamentals

by Itzik Ben-Gan


    Qualifies for Free Shipping
    Check Availability at Nearby Stores

Related collections and offers


Query and modify data effectively with the latest T-SQL features

Master Transact-SQL's fundamentals, and write correct, robust code for querying and modifying data with modern Microsoft data technologies, including SQL Server 2022, Azure SQL Database, and Azure SQL Managed Instance. Long-time Microsoft Data Platform MVP Itzik Ben-Gan explains key T-SQL concepts, helping you apply your knowledge with hands-on exercises. Ben-Gan first introduces T-SQL's theory and underlying logic, illuminating it as both a language and a way of thinking. Next, he walks through core topics, including logical query processing, single table queries, joins, subqueries, table expressions, set operators, data analysis, data modifications, temporal tables, and transactions and concurrency. Building on this foundation, you'll enhance your coding capabilities, from programmatic constructs to the powerful new SQL Graph. Throughout, Ben-Gan presents reusable T-SQL sample code that works in cloud, on-premises, and hybrid environments.

Microsoft Data Platform MVP Itzik Ben-Gan helps you:

  • Understand why T-SQL works as it does, so you can write better code
  • Review relational theory elements and modern SQL Server architecture
  • Create tables and defi ne data integrity
  • Build single-table SELECT queries, multiple-table joins, and subqueries
  • Utilize derived tables, Common Table Expressions, views, inline table-valued functions, and APPLY
  • Make the most of UNION, INTERSECT, and EXCEPT set operators
  • Perform data analysis with window functions, pivoting, grouping sets, and time series
  • Insert, update, delete, and merge data
  • Get started with system-versioned temporal tables
  • Understand and apply transactions and concurrency, including concurrent user connections, locks, blocking, isolation levels, and more
  • Use SQL Graph to model, create, modify, and query graph-based data
  • Explore SQL Server programmable objects and programming capabilities
  • Set up your environment, install sample databases, and fi nd even more help

For IT Professionals and Consultants

  • For T-SQL developers, DBAs, BI practitioners, data scientists, report writers, analysts, architects, and SQL Server power users
  • For anyone else who needs to write queries or develop T-SQL code for SQL Server, Azure SQL Database, or Azure SQL Managed Instance

Product Details

ISBN-13: 9780138102104
Publisher: Pearson Education
Publication date: 03/09/2023
Series: Developer Reference
Pages: 608
Product dimensions: 7.40(w) x 9.13(h) x 1.20(d)

About the Author

Itzik Ben-Gan is a mentor with and co-founder of SolidQ. A Microsoft Data Platform MVP since 1999, Itzik has taught numerous training events around the world focused on T-SQL querying, query tuning, and programming. Itzik is the author of several books about T-SQL. He has written many articles for SQL Server Pro as well as articles and white papers for MSDN and The SolidQ Journal. Itzik's speaking engagements include Tech-Ed, SQL PASS, SQL Server Connections, presentations to various SQL Server user groups, and SolidQ events.

Itzik is a subject-matter expert within SolidQ for its T-SQL related activities. He authored SolidQ's Advanced T-SQL and T-SQL Fundamentals courses and delivers them regularly worldwide. You can learn more about Itzik at http://tsql.solidq.com/.

Table of Contents

CHAPTER 1: Background to T-SQL querying and programming

CHAPTER 2: Single-table queries

CHAPTER 3: Joins

CHAPTER 4: Subqueries

CHAPTER 5: Table expressions

CHAPTER 6: Set operators

CHAPTER 7: T-SQL for data analysis

CHAPTER 8: Data modification

CHAPTER 9: Temporal tables

CHAPTER 10: Transactions and concurrency


CHAPTER 12: Programmable objects

Appendix: Getting started

From the B&N Reads Blog

Customer Reviews