55366 Querying Data with Transact-SQL

$2,975.00 USD

5 Days


Delivery Methods
Virtual Instructor Led
Private Group

Course Overview

This five-day instructor-led course is intended for IT professionals who wish to use the Transact-SQL language to query and configure Microsoft SQL Server. Students are typically database developers and database administrators, but might also be Business Intelligence developers, report creators, or application developers. In this course, students learn how to query single tables, join data from multiple tables, filter and sort data, modify data, use procedures and functions, and implement error handling.

Course Objectives

  • 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

Who Should Attend?

This course is intended for novice database developers, database administrators, Business Intelligence developers, report creators, and application developers who have an understanding of relational database concepts and have basic Windows navigation skills.
  • Top-rated instructors: Our crew of subject matter experts have an average instructor rating of 4.8 out of 5 across thousands of reviews.
  • Authorized content: We maintain more than 35 Authorized Training Partnerships with the top players in tech, ensuring your course materials contain the most relevant and up-to date information.
  • Interactive classroom participation: Our virtual training includes live lectures, demonstrations and virtual labs that allow you to participate in discussions with your instructor and fellow classmates to get real-time feedback.
  • Post Class Resources: Review your class content, catch up on any material you may have missed or perfect your new skills with access to resources after your course is complete.
  • Private Group Training: Let our world-class instructors deliver exclusive training courses just for your employees. Our private group training is designed to promote your team’s shared growth and skill development.
  • Tailored Training Solutions: Our subject matter experts can customize the class to specifically address the unique goals of your team.

Learning Credits: Learning Credits can be purchased well in advance of your training date to avoid having to commit to specific courses or dates. Learning Credits allow you to secure your training budget for an entire year while eliminating the administrative headache of paying for individual classes. They can also be redeemed for a full year from the date of purchase. If you have previously purchased a Learning Credit agreement with New Horizons, you may use a portion of your agreement to pay for this class.

If you have questions about Learning Credits, please contact your Account Manager.

Corporate Tech Pass: Our Corporate Tech Pass includes unlimited attendance for a single person, in the following Virtual Instructor Led course types: Microsoft Office, Microsoft Technical, CompTIA, Project Management, SharePoint, ITIL, Certified Ethical Hacker, Certified Hacking Forensics Investigator, Java, Professional Development Courses and more. The full list of eligible course titles can be found at https://www.newhorizons.com/eligible.

If you have questions about our Corporate Tech Pass, please contact your Account Manager.

Course Prerequisites

  • Basic understanding of relational databases.
  • Basic Windows knowledge.


Module 1: Introduction to Transact-SQL

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

Module 2: Joining tables with Transact-SQL

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

Module 3: Filtering and sorting results

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

Module 4: SQL Server data types

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

Module 5: Inserting, updating and deleting data

  • Insert new records
  • Update existing records
  • Delete data

Module 6: Using SQL Server functions with Transact-SQL

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

Module 7: Aggregating data with Transact-SQL

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

Module 8: Implement subqueries with Transact-SQL

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

Module 9: Create queries that use table expressions

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

Module 10: Use UNION, INTERSECT, EXCEPT and APPLY on multiple sets of data

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

Module 11: Implement window functions in queries

  • Understand window functions
  • Impement window functions

Module 12: Use PIVOT and grouping sets in queries

  • Implement PIVOT in queries
  • Implement grouping sets in queries

Module 13: Use stored procedures 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

Module 14: Implement programming features in Transact-SQL

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

Module 15: Add error handling to queries

  • Understand SQL Server error handling
  • Implemet structured exception handling

Module 16: Use transactions in queries

  • Understand database transactions
  • Implement transactions in T-SQL

Upcoming Class Dates and Times

Jun 24, 25, 26, 27, 28
8:00 AM - 4:00 PM
ENROLL $2,975.00 USD
Sep 23, 24, 25, 26, 27
8:00 AM - 4:00 PM
ENROLL $2,975.00 USD
Dec 9, 10, 11, 12, 13
8:00 AM - 4:00 PM
ENROLL $2,975.00 USD

Do You Have Additional Questions? Please Contact Us Below.

contact us contact us 
Contact Us about Starting Your Business Training Strategy with New Horizons