Overview

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.

Read more

Prerequisites

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

Read more

Learning Outcomes

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.

Read more

Course Outline

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.

Read more

Why choose QA

Special Notices

Please note: for Attend from Anywhere customers an additional screen is required. 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.

Dates & Locations

Frequently asked questions

See all of our FAQs

How can I create an account on myQA.com?

There are a number of ways to create an account. If you are a self-funder, simply select the "Create account" option on the login page.

If you have been booked onto a course by your company, you will receive a confirmation email. From this email, select "Sign into myQA" and you will be taken to the "Create account" page. Complete all of the details and select "Create account".

If you have the booking number you can also go here and select the "I have a booking number" option. Enter the booking reference and your surname. If the details match, you will be taken to the "Create account" page from where you can enter your details and confirm your account.

Find more answers to frequently asked questions in our FAQs: Bookings & Cancellations page.

How do QA’s virtual classroom courses work?

Our virtual classroom courses allow you to access award-winning classroom training, without leaving your home or office. Our learning professionals are specially trained on how to interact with remote attendees and our remote labs ensure all participants can take part in hands-on exercises wherever they are.

We use the WebEx video conferencing platform by Cisco. Before you book, check that you meet the WebEx system requirements and run a test meeting (more details in the link below) to ensure the software is compatible with your firewall settings. If it doesn’t work, try adjusting your settings or contact your IT department about permitting the website.

Learn more about our Virtual Classrooms.

How do QA’s online courses work?

QA online courses, also commonly known as distance learning courses or elearning courses, take the form of interactive software designed for individual learning, but you will also have access to full support from our subject-matter experts for the duration of your course. When you book a QA online learning course you will receive immediate access to it through our e-learning platform and you can start to learn straight away, from any compatible device. Access to the online learning platform is valid for one year from the booking date.

All courses are built around case studies and presented in an engaging format, which includes storytelling elements, video, audio and humour. Every case study is supported by sample documents and a collection of Knowledge Nuggets that provide more in-depth detail on the wider processes.

Learn more about QA’s online courses.

When will I receive my joining instructions?

Joining instructions for QA courses are sent two weeks prior to the course start date, or immediately if the booking is confirmed within this timeframe. For course bookings made via QA but delivered by a third-party supplier, joining instructions are sent to attendees prior to the training course, but timescales vary depending on each supplier’s terms. Read more FAQs.

When will I receive my certificate?

Certificates of Achievement are issued at the end the course, either as a hard copy or via email. Read more here.

Contact Us

Please contact us for more information