T-SQL Fundamentals, 3/e

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-SQL’s 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 roots
  • Create tables and enforce data integrity
  • Perform effective single-table queries by using the SELECT statement
  • Query multiple tables by using joins, subqueries, table expressions, and set operators
  • Use advanced query techniques such as window functions, pivoting, and grouping sets
  • Insert, update, delete, and merge data
  • Use transactions in a concurrent environment
  • Get started with programmable objects–from variables and batches to user-defined functions, stored procedures, triggers, and dynamic SQL

商品描述(中文翻譯)

有效地使用 Transact-SQL 查詢和修改數據
掌握 T-SQL 基礎知識,並為 Microsoft SQL Server 和 Azure SQL Database 編寫堅固的代碼。Itzik Ben-Gan 解釋了關鍵的 T-SQL 概念,並通過實踐練習幫助您應用所學。本書首先介紹了 T-SQL 的起源和基本邏輯。接下來,它將引導您學習核心主題,如單表查詢、連接、子查詢、表達式和集合運算符。然後,本書涵蓋了更高級的數據查詢主題,如窗口函數、樞紐表和分組集。本書還解釋了如何修改數據、使用時間表和處理事務,並提供了可編程對象的概述。

Microsoft Data Platform MVP Itzik Ben-Gan 向您展示如何:
- 回顧核心 SQL 概念及其數學基礎
- 創建表並強制執行數據完整性
- 通過使用 SELECT 語句進行有效的單表查詢
- 通過使用連接、子查詢、表達式和集合運算符查詢多個表
- 使用高級查詢技術,如窗口函數、樞紐表和分組集
- 插入、更新、刪除和合併數據
- 在並發環境中使用事務
- 從變量和批次到自定義函數、存儲過程、觸發器和動態 SQL 開始使用可編程對象