SQL Server Database Querying Course


Course Facts

  • 3 day course
  • Our Trainers are Authorised Professionals
  • Live Online or Classroom-based
  • Certificate of completion
  • Maximum class size of 6 for scheduled courses
  • Unlimited support after your course
  • Courses at all levels: Introduction, Intermediate, Advanced and Masterclasses

Course Outline

  • Relational Database Overview
  • The SELECT statement
  • Comparison Conditions
  • Multiple Conditions
  • The Top Option
FULL OUTLINE

Private One-to-One Training

One-to-one tuition tailored to your exact requirements. Your choice of duration, dates and content.

Enquire Now

Team Training for Companies

Group bookings provide you with the most cost-effective way to train your team.

Enquire Now

Team Training and Bespoke Sessions

Booking a private training session allows you to focus on your exact needs on dates that work best for you or your team.

  • Sessions can be run online or in person, on your site or at our London training centre.
  • We manage training for many of the UK’s largest companies, taking care of all the admin, working with you to ensure the perfect course.
  • Our expert trainers will first understand your requirements and then tailor each session to your exact specification.
  • We offer a free consultation service to work out every detail of your course.

Prices for bespoke sessions with our expert trainers start at £525 + VAT.

Overview

This course is aimed at those who need to extract information from a relational database system. Although it provides an overview of relational database design principals it does not cover the teaching of formal database design processes and database/table creation. The course assumes no previous knowledge of SQL and SELECT statements, and takes delegates from simple queries, through to complex queries involving multiple tables, introducing the vast collection of built-in functions along the way. Covers SQL Server 2005, SQL Server 2008, SQL Server 2012 and SQL Server 2014
Read More...

Course Outline

Relational Database Overview

  • Basic Relational Database Terminology
  • Relational Database
  • Tables and Columns
  • Rows and Records
  • Connecting Tables
  • Primary Keys
  • Foreign Keys
  • Relationship Types

The SELECT statement

  • SELECT list
  • Columns
  • ALL or DISTINCT
  • String Expressions
  • Arithmetic Expressions
  • Column Aliases

Comparison Conditions

  • Relational Operators
  • BETWEEN AND
  • IS NULL Example
  • IN Example
  • LIKE Examples
  • Working With Dates
  • NOT

Multiple Conditions

  • Mixing AND with OR

The Top Option

  • WITH TIES
  • TOP n PERCENT

UNION

  • UNION ALL
  • INTERSECT
  • EXCEPT

Functions

  • Functions in SELECT Lists
  • Functions in WHERE Clauses
  • Functions in ORDER BY Clauses

Aggregate Functions

  • COUNT
  • SUM
  • MAX
  • MIN
  • AVG
  • NULL Values and Aggregates
  • Aggregate Expressions

Mathematical Functions

  • SQUARE
  • POWER
  • SQRT
  • RADIANS, SIN, COS, TAN
  • ABS
  • ROUND
  • CEILING & FLOOR

Conversion Functions

  • CAST and CONVERT
  • Converting Dates To Strings
  • Converting Money Values To Strings
  • ISNULL Function

String Functions

  • UPPER & LOWER
  • STR
  • LEFT & RIGHT
  • CHARINDEX
  • SUBSTRING
  • REVERSE, REPLACE and SPACE
  • RTRIM & LTRIM
  • REPLICATE
  • Using REPLICATE To Pad Strings
  • ASCII & CHAR

Date Functions

  • GETDATE
  • YEAR, MONTH & DAY
  • DATEPART & DATENAME
  • Date Arithmetic
  • DATEADD & DATEDIFF

Substitution Functions

  • COALESCE
  • NULLIF

Cross Joins

Inner Joins

  • Legacy Style Joins
  • ANSI Style Joins
  • Simple Joins
  • Two Tables
  • Three Tables
  • Four Tables
  • INNER JOIN Theory

Outer Joins

  • LEFT JOIN
  • RIGHT JOIN
  • FULL OUTER Join

Table Aliases

Self Join

Advanced Joins

  • Multiple INNER JOINS
  • Multiple OUTER Joins

Working with Aggregate Data

  • The GROUP BY Clause
  • Identifying The Group
  • Including Columns In The SELECT List
  • The HAVING Clause
  • When is a HAVING a WHERE?

Sub Queries

  • Simple Sub Queries
  • Using Aggregate Functions in Sub queries
  • Sub Queries Returning Multiple Records
  • Correlated Sub-Queries
  • Derived Table Sub-Queries

Our Clients

Our Recent Success Stories

Photoshop Training

Photoshop

Kiren's Story

Marketing Manager at Dataminer

eLearning Training

eLearning

Julie's Story

Learning Technologist at Imperial College

Sketch Training

Sketch

Mark's Story

Graphic Designer at Just Eat

30 years working with Microsoft
Five Star Training Five Star Training Five Star Training Five Star Training Five Star Training   600+ Reviews

Why Transmedia?

Unlimited Training Support

We offer unlimited training support after your course.

Bespoke Training Solutions

Customised training and software solutions based on your exact specification.

Worldwide Creative Skills Training

Join our authorised training courses live online from anywhere in the world.

Authorised Training Professionals

Our experts are accredited by Adobe, Apple and Claris and bring years of experience and real-world expertise.

Courses Live Online

Join our virtual classrooms to learn from the comfort of your own space in real time from our accredited training experts.

SEE COURSES

Classroom Training

Join us at one of our Authorised Training Centres for a traditional classroom-based experience.

We have everything ready for you to have the best training experience.

SEE COURSES

Private Courses

One-to-one tuition or a private group training with just you or your colleagues.

We can train you live online, at one of our centres or onsite, wherever you are located.

SEE COURSES

Latest Help Station Articles