Querying Microsoft SQL Server with Transact-SQL (55366AC)
Learn to query, modify, aggregate, and manage Microsoft SQL Server data with Transact-SQL, including joins, subqueries, functions, and transactions safely.
Register or Request Training
- Private class for your team
- Live expert instructor
- Online or on‑location
- Customizable agenda
- Proposal responses same day as request
Course Overview
Build practical skills for querying and managing data with Transact-SQL in Microsoft SQL Server. Through instructor-led training, you will learn to retrieve, filter, sort, combine, modify, and aggregate data using effective T-SQL queries.
The course also covers subqueries, table expressions, window functions, stored procedures, programming logic, error handling, and transactions. It is designed for novice database developers, database administrators, business intelligence developers, report creators, and application developers.
Course Benefits
- Write single-table and multi-table
SELECTqueries. - Filter, sort, and limit query results.
- Combine related data with joins, subqueries, table expressions, and set operators.
- Insert, update, and delete SQL Server data.
- Use built-in, aggregate, and window functions to transform and analyze data.
- Apply
GROUP BY,HAVING,PIVOT, and grouping sets. - Create and execute stored procedures with parameters and dynamic SQL.
- Use loops and conditional logic in T-SQL.
- Implement structured error handling and transactions for reliable query execution.
Delivery Methods
Live expert-led online training from anywhere. Guaranteed to run .
Delivered for your team at your site or online.
Course Outline
- Introduction to Transact-SQL
- What Transact-SQL is
- The SELECT statement
- The WHERE clause
- Sorting results
- Calculations and CASE expressions
- Joining Tables
- The JOIN clause
- Inner, outer, self, and cross joins
- Filtering and Sorting Results
- The ORDER BY clause
- Filtering with the WHERE clause
- Limiting rows returned
- Handling NULL values
- SQL Server Data Types
- String and temporal data types
- Data type usage best practices
- Inserting, Updating, and Deleting Data
- Inserting new records
- Updating existing data
- Deleting data safely
- Using SQL Server Functions
- Function types in SQL Server
- Data conversion functions
- Logical functions
- Handling NULL values
- Aggregating Data
- Aggregation methods
- GROUP BY and HAVING clauses
- Filtering aggregated results
- Subqueries
- Scalar, multivalued, and correlated subqueries
- Using EXISTS with subqueries
- Table Expressions
- Views
- Table-valued functions
- Derived tables
- Common table expressions
- Combining Data Sets
- UNION, INTERSECT, and EXCEPT
- The APPLY operator
- Window Functions
- Understanding and implementing window functions
- PIVOT and Grouping Sets
- Data pivoting
- Grouping sets for advanced aggregations
- Stored Procedures
- Executing stored procedures
- Input and output parameters
- Creating simple procedures
- Using dynamic SQL
- Programming Features in T-SQL
- Loops and conditions
- Error Handling
- SQL Server error-handling methods
- Structured exception handling
- Transactions
- Transaction concepts
- Implementing transactions in T-SQL
Class Materials
Each student receives a comprehensive set of materials, including course notes and all class examples.
Class Prerequisites
Experience in the following is required for this Microsoft SQL Server class:
- Basic understanding of relational database concepts.
- Basic Windows navigation skills.
Have questions about this course?
We can help with curriculum details, delivery options, pricing, or anything else. Reach out and we’ll point you in the right direction.