course

Home / Courses / 55366 Querying Data with Transact-SQL

Course Objectives

At Course Completion Create single table SELECT queries Create multiple table SELECT queries Filter and sort data Insert, update, and delete data Query data using built-in functions Create queries that aggregate data Create subqueries Create queries that use table expressions Use UNION, INTERSECT, and EXCEPT on multiple sets of data Implement window functions in queries Use PIVOT and GROUPING SETS in queries Use stored procedures in queries Add error handling to queries Use transactions in queries

Agenda

  • What is Transact-SQL
  • The SELECT statement
  • The WHERE clause
  • Sorting results
  • Calculations
  • CASE expressions

  • The JOIN clause
  • Inner joins
  • Outer joins
  • Self joins and cross joins

  • Implement the ORDER BY clause
  • Filter data with the WHERE clause
  • Limit the number of rows returned by a query
  • Implement NULL logic

  • Understand data types?
  • Implement string data types
  • Implement temporal data types

  • Insert new records
  • Update existing records
  • Delete data

  • Understand function types in SQL Server
  • Convert data using functions
  • Implement logical functions
  • Work with NULL data using functions

  • Implement aggregation in SQL Server
  • Group records in SQL Server
  • Filter aggregated data

  • Implement scalar and multi-valued sub-queries
  • Implement correlated subqueries
  • Implement existence checks with subqueries

  • Create views
  • Create table-valued functions
  • Implement derived tables
  • Implement common table expressions

  • Write queries with the UNION operator
  • Write queries with the INTERSECT and EXCEPT operators
  • Write queries with the APPLY operator

  • Understand window functions
  • Impement window functions

  • Implement PIVOT in queries
  • Implement grouping sets in queries

  • Query data with stored procedures
  • Interact with stored procedures using input and output parameters
  • Write simple stored procedures
  • Pass dynamic SQL to SQL Server

  • Understand T-SQL programming elements
  • Implement loops and conditions in T-SQL queries

  • Understand SQL Server error handling
  • Implement structured exception handling

  • Understand database transactions
  • Implement transactions in T-SQL
Tags
Vendor: Logical Operations Technical Core Type: Core 1 Product Line: Microsoft Technical
FREE

Interested in course?


Course Type: Instructor Led