Get an introduction to Transact-SQL (T-SQL), a Microsoft-specific extension of SQL.
Overview
Syllabus
Introduction
- Transact-SQL
- What you should know
- What is T-SQL?
- CoderPad tour
- Structure of a SELECT statement
- Aliasing columns and tables
- Adding calculations to your result set
- Solution: Simple SELECT statement
- Filtering data with WHERE using equalities
- Handling inequalities with WHERE clauses
- Find rows where strings partially match
- Filtering numeric data
- Combining multiple operators into one WHERE clause
- Understanding how NULL data affects query results
- Solution: Filtered SELECT statement
- ORDER BY
- TOP
- DISTINCT
- Solution: Intermediate SELECT statement
- INNER JOIN
- LEFT JOIN
- FULL OUTER JOIN
- Combining more than two tables
- Solution: Joins
- Create a table
- Insert data into a table
- Update data within a table
- Delete data from a table
- TRUNCATE a table
- Update data with a join
- Next steps
Taught by
Jeff Jones