Querying SQL Databases using T-SQL Training

  • Learn via: Classroom
  • Duration: 2 Days
  • Level: Intermediate
  • Price: From €3,107+VAT
We can host this training at your preferred location. Contact us!

This course will provide you with the basic knowledge and skills to create queries using Transact-SQL. It will teach you how to select, filter and sort data from multiple tables and how to use views and stored procedures.

Target Audience

IT Professionals who will be writing queries for use with Microsoft SQL Server 2005, 2008, 2012, 2014 and 2016. Non-technical 'power users' will also benefit from the course if they are comfortable using sophisticated software tools like SQL Server Management Studio.

The course is aimed at both non-technical 'power users' and IT Professionals who will be writing queries for use with Microsoft SQL Server.

Please note - Delegates attending an Extended Classroom delivery will need access to a second monitor.

There are no technical pre-requisites for this course and it assumes no prior knowledge of SQL Server.

Virtual Classroom

For learners attending remotely via any virtual classroom, an additional screen is required for this course to work through remote desktop labs and view training information. A remote Desktop will be provided using GoToMyPC or LearnOnDemand.

The additional screen must have a minimum screen size of 19 inch and minimum resolution of 1280x1024, with the vertical resolution (1024) being the most critical.

If you have questions,contact our Virtual team.

Where possible, our experienced trainers will take the time to discuss the how and where to use each aspect of TSQL covered in the course.

  • Accessing the TSQL language using SQL Server Management Studio (SSMS)
  • Getting to use SSMS to write TSQL to write queries using a single table
  • Using more than one table using joins such as inner, outer and cross
  • Applying filters to the output to reduce the number of rows returned
  • Analysing data to return aggregated results using group by and a few functions
  • Using functions to convert and cast the data between data types.

Module 1: Introduction to T-SQL

This module provides essential background information on Relational Database Management Systems and Microsoft SQL Server and introduces the main tool that will be used throughout the course - SQL Server Management Studio.

Lab :

  • Familiarize yourself with SSMS
  • Introduction to the Query Editor

Module 2: Retrieving Data

This module describes the fundamental part of a T-SQL query: the SELECT statement.

Lab :

  • Basic Select statements
  • Using expressions in Select lists

Module 3: Filtering Rows

This module describes how you can filter unwanted data out of your results using the WHERE clause.

Lab :

  • Basic equality filters
  • Basic comparisons
  • Logical comparisons
  • String comparisons
  • NULL comparisons

Module 4: Sorting returned rows

This module describes how to use the ORDER BY clause of a query to manage the order in which rows are returned.

Lab :

  • Basic sorting
  • Sorting on expressions
  • Unique rows
  • Limiting results

Module 5: Grouping and Aggregating data

This module describes how to use the aggregate functions of SQL to calculate results for a number of records at a time and how to group results into a series of values. Finally, it describes how to filter the grouped values.

Lab :

  • Single aggregates
  • GROUP BY
  • HAVING

Module 6: Using multiple tables

This module describes how to use JOIN clauses to retrieve data from multiple tables. It also covers the UNION, INTERSECT and EXCEPT keywords

Lab :

  • Inner joins
  • Outer joins
  • Unions

Module 7: Using Views and Stored Procedures

This module provides an introduction to the benefits of using pre-written queries which have been stored in the database.

Lab :

  • Using views
  • Using stored procedures

Module 8: Common Functions

This module introduces you to some of the basic text, date and null-value manipulation functions that are built in to SQL Server.

Lab :

  • Text functions
  • Date functions
  • NULL functions
  • Formatting dates

Appendix : Modifying Data

If time allows and if enough delegates express an interest in the topic, this module gives a brief introduction to INSERT, UPDATE and DELETE statements.



Contact us for more detail about our trainings and for all other enquiries!

Upcoming Trainings

Join our public courses in our Istanbul, London and Ankara facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

Classroom / Virtual Classroom
02 November 2024
Istanbul, Ankara, London
2 Days
Classroom / Virtual Classroom
05 November 2024
Istanbul, Ankara, London
2 Days
Classroom / Virtual Classroom
07 November 2024
Istanbul, Ankara, London
€3,107 +VAT Book Now
Classroom / Virtual Classroom
07 November 2024
Istanbul, Ankara, London
2 Days
Classroom / Virtual Classroom
12 November 2024
Istanbul, Ankara, London
2 Days
Classroom / Virtual Classroom
02 November 2024
Istanbul, Ankara, London
2 Days
Classroom / Virtual Classroom
14 November 2024
Istanbul, Ankara, London
2 Days
Classroom / Virtual Classroom
05 November 2024
Istanbul, Ankara, London
2 Days
By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.