Chapter 2. Single-Table Queries

This chapter introduces you to the fundamentals of the SELECT statement, focusing for now on queries against a single table. The chapter starts by describing logical query processing—namely, the series of logical phases involved in producing the correct result set of a given SELECT query. The chapter then covers other aspects of single-table queries, including operators, NULLs, manipulation of character and temporal data, ranking, CASE expressions, and querying metadata. Many ...

Get Microsoft® SQL Server® 2008 T-SQL Fundamentals now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.