Querying Microsoft SQL Server with Transact-SQL

Course Code: TSQLI

Duration: 3 days

 
 
 
 

Querying Microsoft SQL Server with Transact-SQL Course Overview

The Querying Microsoft SQL Server with Transact-SQL course covers the basics of the SQL language as implemented by Microsoft SQL Server. The course is designed to give delegates practical experience in writing Transact-SQL statements using the SQL Server Management Studio (SSMS) development environment. The basic Transact-SQL statements, including the use of many built-in Transact-SQL functions are covered on this course.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Course Objectives

To provide the Transact-SQL (T-SQL) coding skills needed to query and modify data held within a Microsoft SQL Server database.

Who will the Course Benefit?

Anyone who needs to access and work with a Microsoft SQL Server Database.

Skills Gained

The delegate will learn and acquire skills as follows:

  • Writing SELECT queries
  • Sorting and filtering data
  • Using SQL aggregate functions
  • Using SET operators
  • Writing joins to query multiple tables
  • Using built-in functions
  • Using Subqueries
  • Inserting, updating, deleting and merging rows
  • Transaction control

Querying Microsoft SQL Server with Transact-SQL Training Course

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: DATABASE CONCEPTS

  • What is a database
  • Database management systems
  • Databases, Schemas, Tables, rows and columns
  • Indexes, primary keys, unique constraints and foreign keys
  • Supported data types
  • System Tables

Session 2: USING SQL SERVER MANAGEMENT STUDIO

  • Getting started with SQL Server Management Studio (SSMS)
  • Selecting a database
  • Entering and executing SQL statements
  • Creating, editing and executing SQL files

Session 3: WRITING SELECT QUERIES

  • Writing simple SQL SELECT statement
  • Using DISTINCT to remove duplicate data
  • Filtering Data with Predicates
  • Logical operators
  • The ORDER BY clause
  • Filtering with the TOP and OFFSET-FETCH
  • Using Column aliases
  • Arithmetic expressions
  • Precedence of operators

Session 4: USING SET OPERATORS

  • Writing Queries using the UNION operator
  • Using the INTERSECT operator
  • Using the EXCEPT operator
  • Introducing the APPLY operator

Session 5: GROUPING AND AGGREGATING DATA

  • Using aggregate functions
  • Using the GROUP BY clause
  • Using Rollup with GROUP BY
  • Filtering grouped data with the HAVING clause

Querying Microsoft SQL Server with Transact-SQL Training Course

Session 6: QUERYING MULTIPLE TABLES

  • Understanding JOINS
  • CROSS Joins
  • Using INNER Joins
  • Using Table Aliases
  • Using OUTER Joins: LEFT, RIGHT and FULL
  • Using SELF JOINS

Session 7: NUMERIC AND CHARACTER FUNCTIONS

  • Function types
  • Testing functions
  • Numeric functions
  • Character functions

Session 8: DATE AND TIME FUNCTIONS

  • Date and time column types
  • Date and time formats
  • Functions to return Today's date and time
  • Functions to extract components of a date (Day, Month, Year)
  • Date time arithmetic
  • Displaying Dates in specific Date formats

Querying Microsoft SQL Server with Transact-SQL Training Course

Session 9: CONVERSION AND MISCELLANEOUS FUNCTIONS

  • Converting a string to a date
  • Converting a string to a number
  • Converting a number to a string
  • Using Functions to work with NULL
  • Using CASE expressions

Session 10: USING SUBQUERIES

  • Using self contained subqueries
  • Using correlated subqueries
  • Using the EXISTS predicate with subqueries

Session 11: MANAGING DATA

  • Inserting rows
  • Updating rows
  • Deleting rows
  • Merging rows
  • The truncate statement
  • Transaction control
Notes:
  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Requirements

There are no formal pre-requisites for the Querying Microsoft SQL Server with Transact-SQL course, although an understanding of databases and exposure to information technology in general would be useful. This knowledge can be gained by attendance on the Relational Databases & Data Modelling Overview course.

Course Reviews

I recently completed the Querying Microsoft SQL Server with Transact-SQL course. The structure was well-organised, gradually building up from basics to more advanced topics. John, the instructor made complex concepts easy to understand.

Daria - Flexible Power Commercial Officer - Environmental - June 2024

Very informative and educational, I asked lots of questions and felt comfortable in doing so. Tutor went out of his way to find out more about a function that was not covered in the course content and went on to explain it with example code afterwards.

Neil - Technical Support - Utilities

Brilliant course for beginning my SQL training, helpful and easy to understand.

Daniel - Commercial Officer - Utilities

John was extremely proficient and patient particularly having to deal with those of us (myself included) not familiar with the content. Wouldn't hesitate to recommend and will be using the content already emailed to me to practice.

Kate - Data Analyst - NHS

Explained very well and at a good pace - exercises well thought out to cover learning material

Paras - Operation Unit Manager Devices

Great job done by Kevin, very well coordinated session.

Akash - Software Engineer

Public Scheduled Events

Classroom & Live Virtual Instructor-Led Training

Duration: 3 days

Price: £1,300.00 exc. VAT 


Start Date Options Spaces  
22 Jul 2024
StayAhead Virtual Courses available 
Spaces Book Now 
16 Sep 2024
StayAhead Virtual Courses available 
Spaces Book Now 
21 Oct 2024
StayAhead Virtual Courses available 
Spaces Book Now 
25 Nov 2024
StayAhead Virtual Courses available 
Spaces Book Now 
06 Jan 2025
StayAhead Virtual Courses available 
Spaces Book Now 
13 Jan 2025
StayAhead Virtual Courses available 
Spaces Book Now 
17 Feb 2025
StayAhead Virtual Courses available 
Spaces Book Now 
24 Mar 2025
StayAhead Virtual Courses available 
Spaces Book Now 
28 Apr 2025
StayAhead Virtual Courses available 
Spaces Book Now 
09 Jun 2025
StayAhead Virtual Courses available 
Spaces Book Now 
 

Live Virtual Classroom

 
Join live instructor-led classroom training from the comfort of your home or office.
All the convenience and benefits of the classroom experience without the hassle and costs of travel and accommodation.
 
 



Our Customers Include

 
EDF
Amazon
American Express
Aviva
QA
BAE
University of Cambridge
Barnardo's
Scottish Government
Bauer
Bloomberg
BP
HSBC
DVLA
GlaxoSmithKline
Government Campus
Capita
Tui
NHS
Ordnance Survey
Ministry of Defence
Zurich Insurance Group
trainline
Vodafone
 
 



Our Course Curriculum

 
 
 
+44 (0)20 7600 6116
Enquiries@StayAhead.com
Copyright © 2024 StayAhead Training Ltd
Cookies   /   Privacy Policy