Transact SQL Basic Training Course

Primary tabs

Course Code

transsqlbas

Duration Duration

14 hours (usually 2 days including breaks)

Requirements Requirements

Overview Overview

Delegates will gain an understanding of the basic principles of Structured Query Language as well as being able to do each of the following:

  • Construct queries to extract and filter data from a SQL Server database
  • Create summarised results
  • Change, derive and format data to suit the required output
  • Change data and maintain database components and definitions

This course is for anybody who needs information from a Microsoft SQL Server database. It is suitable for either system developers or people from other areas who need to use SQL to extract and analyse data.

Course Outline Course Outline

Basics

  • Selection of all columns/fields
  • Selection of certain columns/fields
  • Use of distinct/unique
  • Selection of certain rows/records
  • Selection of values in a range
  • Selection of values matching a pattern mask
  • Selection of values within a list
  • Treatment of null values
  • How to sort and order data
  • Selection of calculated and derived values
  • How to control column headings in query results
  • How to send query results to external files

Joining Tables

  • Principles of joining tables:
    • Use of cartesian join
    • Use of inner join
    • Use of non-equi join
    • Use of outer join

Joining Queries

  • Union operator
  • Intersect operator
  • Except operator

Simple Functions

  • Conversion functions
  • Date functions
  • Number functions
  • Text functions
  • Group/summary/aggregate functions

Sub-Queries

  • Principles of sub-queries
  • How to filter rows from main query
  • Use of nested sub-query
  • Use of multi-column sub-query
  • Use of correlated sub-query
  • Use of sub-query as an inline view and common table expression
  • Use of sub-query as a column in main query

Case Statements

  • Principles of case statements
  • Use of case statement to derive column values
  • Use of nested case statements
  • Use of case statements to produce pivot tables
  • Use of case statement with sub-queries

Data Manipulation

  • How to insert values into a table
  • How to copy values between tables
  • How to update values
  • How to delete records
  • How to change data via views
  • Use of transactions
  • How to lock rows and tables

Data Definition

  • Principles of a relational database and data normalisation
  • Use of primary key and foreign key relationships and constraints
  • How to create tables
  • How to alter tables
  • How to create views
  • Use of synonyms
  • How to remove tables and views

Public Classroom Public Classroom
Participants from multiple organisations. Topics usually cannot be customised
From 2400EUR
(1)
Private Classroom Private Classroom
Participants are from one organisation only. No external participants are allowed. Usually customised to a specific group, course topics are agreed between the client and the trainer.
Private Remote Private Remote
The instructor and the participants are in two different physical locations and communicate via the Internet
From 1900EUR
Request quote

The more delegates, the greater the savings per delegate. Table reflects price per delegate and is used for illustration purposes only, actual prices may differ.

Number of Delegates Public Classroom Private Remote
1 2400EUR 1900EUR
2 1525EUR 1250EUR
3 1233EUR 1033EUR
4 1088EUR 925EUR
Cannot find a suitable date? Choose Your Course Date >>
Too expensive? Suggest your price

Related Categories

SQL Training

Upcoming Courses

VenueCourse DateCourse Price [Remote / Classroom]
BremenThu, 2016-12-22 09:301900EUR / 2400EUR

Course Discounts

Course Discounts Newsletter

We respect the privacy of your email address. We will not pass on or sell your address to others.
You can always change your preferences or unsubscribe completely.

Some of our clients