SQL Server: Transact-SQL Basic Data Retrieval
Learn how to construct SELECT statements to retrieve data from SQL Server databases, applicable for developers from SQL Server 2005 onwards
What you'll learn
If you need to retrieve data from a SQL Server database then you need to know how to use the SELECT statement. This course starts with the basics of a SELECT statement and its various sub-clauses, and progresses to how to select from multiple data sources in the same statement and a comprehensive section on the functions available to manipulate, aggregate, and convert data during the select operation. More then fifty demos help to give you a thorough understanding of how to perform these essential operations, all using a freely-available demo environment that you're shown how to set up and configure. This course is perfect for developers who need to query SQL Server databases to retrieve data, from complete beginners through to more experienced developers who can use some of the modules as reference material. The information in the course applies to all versions from SQL Server 2005 onwards.
Table of contents
- Introduction 1m
- SQL Server 2012 Express with Tools 1m
- SQL Server 2012 Express Abridged Requirements 2m
- Demo: Checking Hardware and OS Specifications 1m
- Demo: Checking .NET 3.5 SP1 Prerequisites 2m
- Demo: Installing SQL Server 2012 Express with Tools 8m
- SQL Server Management Studio (SSMS) 1m
- Demo: Using SSMS 3m
- SQL Server Data Tools (SSDT) 1m
- Demo: Installing SSDT 3m
- AdventureWorks Sample Database 1m
- Demo: Attaching the AdventureWorks Sample Database 5m
- Basic Data Retrieval 1m
- Demo: Execute a Data Retrieval Query in SSMS 4m
- Demo: Execute a Data Retrieval Query in SSDT 3m
- Introduction 1m
- Thinking in 'Sets' 1m
- Where to Begin? 1m
- SELECT Clause 1m
- Demo: SELECT Clause 3m
- Column Aliases 1m
- Demo: Column Aliases 2m
- Identifiers 1m
- Demo: Regular versus Delimited Identifiers 3m
- Semicolon Statement Terminator 1m
- FROM Clause 1m
- Demo: FROM Clause 4m
- Table Aliases 1m
- Demo: Table Aliases 2m
- Expressions, Operators, Predicates 1m
- WHERE Clause 1m
- Demo: WHERE Clause 4m
- DISTINCT 1m
- Demo: DISTINCT 3m
- TOP 1m
- Demo: TOP 2m
- GROUP BY Clause 1m
- Demo: GROUP BY Clause 4m
- HAVING Clause 1m
- Demo: HAVING Clause 3m
- ORDER BY Clause 1m
- Demo: ORDER BY Clause 2m
- Query Paging 1m
- Demo: Query Paging 2m
- Binding Order 1m
- Demo: Binding Order 1m
- Best Practice: Commenting Your Code 1m
- Demo: Commenting Your Code 1m
- Introduction 1m
- Inner Joins 1m
- Demo: Inner Joins 3m
- Outer Joins 1m
- Outer Joins (2) 1m
- Demo: Outer Joins 5m
- Cross Joins 1m
- Demo: Cross Joins 2m
- Self Joins 1m
- Demo: Self Joins 2m
- Equi vs. Non-Equi Joins 1m
- Demo: Equi vs. Non-Equi Joins 2m
- Multi-Attribute Joins 0m
- Demo: Multi-Attribute Joins 3m
- Joining More than Two Tables 1m
- Demo: Joining More than Two Tables 4m
- CROSS APPLY Operator 1m
- Demo: CROSS APPLY and OUTER APPLY Operator 4m
- Joining Sub-Queries 0m
- Defining the Sub-Query 1m
- Demo: Using Sub-Queries 3m
- UNION Operator 1m
- Demo: UNION Operator 3m
- INTERSECT and EXCEPT 1m
- Demo: INTERSECT and EXCEPT Operators 3m
- Data Types and Joining Tables 1m
- Introduction to Common Table Expressions 1m
- Demo: Introduction to Common Table Expressions 4m
- Introduction 1m
- Aggregate Functions 1m
- Demo: Aggregate Functions 6m
- Aggregate Functions (2) 1m
- Demo: Aggregate Functions (2) 2m
- Mathematical Functions 1m
- Demo: Mathematical Functions 4m
- OVER Clause 1m
- Ranking Functions 1m
- Demo: Ranking Functions 6m
- Conversion Functions 1m
- Demo: Conversion Functions 4m
- Validating Data Types 0m
- Demo: Validating Data Types 2m
- System Time Functions 1m
- Demo: System Time Functions 2m
- Returning Date and Time Parts 1m
- Demo: Returning Date and Time Parts 2m
- Constructing Date and Time Values 1m
- Demo: Constructing Date and Time Values 1m
- Constructing Date and Time Values (2) 0m
- Demo: Constructing Date and Time Values (2) 2m
- Calculating Time Differences 0m
- Demo: Calculating Time Differences 2m
- Modifying Dates 1m
- Demo: Modifying Dates 4m
- Logical Functions 1m
- Demo: Logical Functions 2m
- Logical Functions (2) 1m
- Demo: Logical Functions (2) 3m
- Working with NULL 1m
- Demo: Working with NULL 3m
- String Functions 1m
- Demo: String Functions 1m
- String Functions (2) 1m
- Demo: String Functions (2) 2m
- String Functions (3) 1m
- Demo: String Functions (3) 1m
- String Functions (4) 0m
- Demo: String Functions (4) 1m
- String Functions (5) 1m
- Demo: String Functions (5) 6m
- String Functions (6) 1m
- Demo: String Functions (6) 4m
- Analytic Functions 1m
- Demo: Analytic Functions 8m
- Analytic Functions (2) 1m
- Demo: Analytic Functions (2) 6m
- Course Summary 1m