Set TheoryPredicate LogicRelational ModelData Life Cycle
SQL Server InstancesDatabasesSchemas and Objects
Creating TablesDefining Data Integrity
The FROM ClauseThe WHERE ClauseThe GROUP BY ClauseThe HAVING ClauseThe SELECT ClauseThe ORDER BY ClauseThe TOP OptionThe OVER Clause
Data TypesCollationOperators and FunctionsLIKE Predicate
Date and Time Data TypesLiteralsWorking with Date and Time SeparatelyFiltering Date RangesDate and Time Functions
Catalog ViewsInformation Schema ViewsSystem Stored Procedures and Functions
ANSI SQL-92 SyntaxANSI SQL-89 SyntaxSelf Cross JoinProducing Tables of Numbers
ANSI SQL-92 SyntaxANSI SQL-89 SyntaxInner Join Safety
Composite JoinNon-Equi JoinMulti-Table Joins
Fundamentals of Outer JoinsBeyond the Fundamentals of Outer Joins
Self-Contained Scalar Subquery ExamplesSelf-Contained Multi-Valued Subquery Examples
EXIST
Returning Previous or Next ValuesRunning AggregatesMisbehaving Subqueries
Assigning Column AliasesUsing ArgumentsNestingMultiple References
Assigning Column AliasesUsing ArgumentsDefining Multiple CTEsMultiple ReferencesRecursive CTEs
Views and ORDER BYView OptionsENCRYPTIONSCHEMABINDINGCHECK OPTION
The UNION ALL Set OperationThe UNION DISTINCT Set Operation
The INTERSECT ALL Set OperationThe INTERSECT DISTINCT Set Operation
The EXCEPT ALL Set OperationThe EXCEPT DISTINCT Set Operation
Standard Solution to PivotingPivoting with the T-SQL PIVOT Operator
Standard Solution to UnpivotingUnpivoting with the T-SQL UNPIVOT Operator
GROUPING SETS SubclauseCUBE SubclauseROLLUP SubclauseGROUPING and GROUPING_ID Functions
The INSERT VALUES StatementThe INSERT SELECT StatementThe INSERT EXEC StatementThe SELECT INTO StatementThe BULK INSERT StatementThe IDENTITY Property
The DELETE StatementThe TRUNCATE StatementDELETE Based on Join
The UPDATE StatementUPDATE Based on JoinAssignment UPDATE
INSERT with OUTPUTDELETE with OUTPUTUPDATE with OUTPUTMERGE with OUTPUTComposable DML
LocksTroubleshooting Blocking
Read UncommittedRead CommittedRepeatable ReadSerializableSnapshot Isolation LevelsSummary of Isolation Levels
A Batch as a Unit of ParsingBatches and VariablesStatements that Cannot be Combined in the same BatchA Batch as a Unit of ResolutionThe GO n Option
The IF ... ELSE Flow ElementThe WHILE Flow ElementAn Example of Using IF and WHILE
Local Temporary TablesGlobal Temporary TablesTable VariablesTable Types
The EXEC CommandThe sp_executesql Stored ProcedureUsing PIVOT with Dynamic SQL
User Defined FunctionsStored ProceduresTriggers