This document provides a summary of Transact-SQL (T-SQL) and querying Microsoft SQL Server 2008 databases. It includes a brief history of SQL Server versions and T-SQL, an overview of SQL statements, data types, operators, functions and commenting code. It also discusses tools for querying databases like SQL Server Management Studio, SQLCMD and PowerShell.