Introduction to Querying & Reporting with SQL Server

Displaying courses for Australia [Change]

Overview

This five-day instructor led course provides students with the skills required to write basic Transact-SQL queries for Microsoft SQL Server and develop reports using Report Builder v3.0.

The querying part of the course covers many topics including writing basic SELECT queries, querying multiple tables, sorting and filtering data, grouping and aggregating data.

The reporting part of the course covers the Report Builder 3.0 wizards, basics of report design, report parameters and report expressions, graphs, charts, images and gauges, advanced reporting including the utilization of maps, interactive reports, report parts and Sub-Reports.

Note, this course is a blend of content from two other Microsoft courses, 20461 and 55005, and will help people prepare for exam 70-461

Objectives

After completing this course, students will be able to:

Querying

  • Write SELECT queries Query multiple tables Sort and filter data
  • Describe the use of data types in SQL Server
  • Use built-in functions
  • Group and aggregate data
  • Use subqueries
  • Use table expressions
  • Use set operators
  • Plan your reports
  • Utilize Report Builder 3.0 Wizards
  • Create embedded data sources and data sets
  • Create shared data sources and data sets
  • Use report parameters and report expressions
  • Create report gauges and graphs
  • Use images in reports
  • Use report lists, tables and matrices
  • Create maps and sub reports
  • Use report parts
  • Create interactive reports

Reporting

  • Plan your reports
  • Utilize Report Builder 3.0 Wizards
  • Create embedded data sources and data sets
  • Create shared data sources and data sets
  • Use report parameters and report expressions
  • Create report gauges and graphs
  • Use images in reports
  • Use report lists, tables and matrices
  • Create maps and sub reports
  • Use report parts
  • Create interactive reports

Audience

This course is intended for SQL power users who aren’t necessarily database-focused or plan on taking the exam; namely, report writers, business analysts and client application developers.

We can also deliver and customise this training course for larger groups saving your organisation time, money and resources. For more information, please make a note when you enquire.

Prerequisites

Before attending this course, students should have a basic understanding of relational databases.

Syllabus

Querying (drawn from 20461 course)

Module 1: Introduction to Microsoft SQL Server 2014

This module introduces the SQL Server platform and major tools. It discusses editions, versions, tools used to query, documentation sources, and the logical structure of databases.

Lessons

  • The Basic Architecture of SQL Server
  • SQL Server Editions and Versions
  • Getting Started with SQL Server Management Studio
  • Working with SQL Server Management Studio
  • Creating and Organizing T-SQL scripts
  • Using Books Online

Lab: Working with SQL Server 2014 Tools

Module 2: Introduction to T-SQL Querying

This module introduces Transact SQL as the primary querying language of SQL Server. It discusses the basic structure of T-SQL queries, the logical flow of a SELECT statement, and introduces concepts such as predicates and set-based operations.

Lessons

  • Introducing T-SQL Understanding Sets Understanding Predicate Logic
  • Understanding the Logical Order of Operations in SELECT statements
  • Executing Basic SELECT Statements
  • Executing queries which filter data using predicates
  • Executing queries which sort data using ORDER BY

Lab: Introduction to Transact-SQL Querying

Module 3: Writing SELECT Queries

This module introduces the fundamentals of the SELECT statement, focusing on queries against a single table.

Lessons

  • Writing Simple SELECT Statements
  • Eliminating Duplicates with DISTINCT
  • Using Column and Table Aliases
  • Writing Simple CASE Expressions
  • Write simple SELECT Statements
  • Eliminate Duplicates Using Distinct
  • Use Table and Column Aliases
  • Use a Simple CASE Expression

Lab: Writing Basic SELECT Statements

Module 4: Querying Multiple Tables

This module explains how to write queries which combine data from multiple sources in SQL Server. The module introduces the use of JOINs in T-SQL queries as a mechanism for retrieving data from multiple tables.

Lessons

  • Understanding Joins Querying with Inner Joins Querying with Outer Joins
  • Querying with Cross Joins and Self Joins

Lab: Querying Multiple Tables

  • Writing Queries That Use Inner Joins
  • Writing Queries That Use Multiple-Table Inner Join
  • Writing Queries That Use Self Joins
  • Writing Queries That Use Outer Joins
  • Writing Queries That Use Cross Joins

Module 5: Sorting and Filtering Data

This module explains how to enhance queries to limit the rows they return, and to control the order in which the rows are displayed. The module also discusses how to resolve missing and unknown results.

Lessons

  • Sorting Data
  • Filtering Data with a WHERE Clause
  • Filtering with the TOP and OFFSET-FETCH Options
  • Working with Unknown and Missing Values
  • Writing Queries That Filter Data Using a WHERE Clause
  • Writing Queries That Filter Data Using an ORDER BY Clause
  • Writing Queries That Filter Data Using the TOP Option
  • Writing Queries That Filter Data Using the OFFSET-FETCH Clause

Lab: Sorting and Filtering Data

Module 6: Working with SQL Server 2014 Data Types

This module explains the data types SQL Server uses to store data. It introduces the many types of numeric and special-use data types. It also explains conversions between data types, and the importance of type precedence.

Lessons

  • Introducing SQL Server 2014 Data Types
  • Working with Character Data
  • Working with Date and Time Data
  • Writing Queries That Return Date and Time Data
  • Writing Queries That Use Date and Time Functions
  • Writing Queries That Return Character Data
  • Writing Queries That Use Character Functions

Lab: Working with SQL Server 2014 Data Types

Module 7:  Please note that the Module 7 content from 20461 is not covered in this hybrid course as most report developers will not have permissions to modify data

Module 8: Using Built-In Functions

This module introduces the use of functions that are built in to SQL Server Denali, and will discuss some common usages including data type conversion, testing for logical results and nullability

Lessons

  • Writing Queries with Built-In Functions
  • Using Conversion Functions
  • Using Logical Functions
  • Using Functions to Work with NULL
  • Write queries which use conversion functions
  • Write queries which use logical functions
  • Write queries which test for nullability

Lab: Using Built-In Functions

Module 9: Grouping and Aggregating Data

This module introduces methods for grouping data within a query, aggregating the grouped data and filtering groups with HAVING. The module is designed to help the student grasp why a SELECT clause has restrictions placed upon column naming in the GROUP BY clause as well as which columns may be listed in the SELECT clause.

Lessons

  • Using Aggregate Functions
  • Using the GROUP BY Clause
  • Filtering Groups with HAVING
  • Write queries which use the GROUP BY clause
  • Write queries which use aggregate functions
  • Write queries which use distinct aggregate functions
  • Write queries which filter groups with the HAVING clause

Lab: Grouping and Aggregating Data

Module 10: Using Subqueries

This module will introduce the use of subqueries in various parts of a SELECT statement. It will include the use of scalar and multi-result subqueries, and the use of the IN and EXISTS operators.

Lessons

  • Writing Self-Contained Subqueries
  • Writing Correlated Subqueries
  • Using the EXISTS Predicate with Subqueries
  • Write queries which use self-contained subqueries
  • Write queries which use scalar and multi-result subqueries
  • Write queries which use correlated subqueries and EXISTS predicate

Lab: Using Subqueries

Module 11: Using Table Expressions

This module introduces T-SQL expressions which return a valid relational table, typically for further use in the query. The module discusses views, derived tables, common table expressions and inline table-valued functions.

Lessons

  • Using Derived Tables
  • Using Common Table Expressions
  • Using Views
  • Using Inline Table-Valued Functions
  • Write Queries Which Use Views
  • Write Queries Which Use Derived Tables
  • Write Queries Which Use Common Table Expressions
  • Write Queries Which Use Inline Table-Valued Functions

Lab: Using Table Expressions

Module 12: Using Set Operators

This module introduces you to the set operators UNION, INTERSECT, and EXCEPT to compare rows between two input sets.

Lessons

  • Writing Queries with the UNION Operator
  • Using EXCEPT and INTERSECT Using APPLY
  • Write queries which use UNION set operators and UNION ALL multi-set operators
  • Write queries which use CROSS APPLY and OUTER APPLY operators
  • Write queries which use EXCEPT and INTERSECT operators

Lab: Using Set Operators

Reporting (drawn from 55005 course)

Module 1: Course Overview

This module explains how the class will be structured and introduces course materials and additional administrative information.

Lessons

  • Introduction
  • Course Materials
  • Facilities
  • Prerequisites
  • What We'll Be Discussing
  • Become familiar with the class setup

Lab: The training environment

Module 2: Introduction to Report Builder 3.0

This module explains how the class will be structured and introduces course materials and additional administrative information.

Lessons

  • Plan your reports
  • The Interface
  • Variances between SQL versions
  • How to use Report Builder 3.0 with SQL Express 2012
  • Data Sources
  • Data Sets
  • Explore Report Builder 3.0
  • Create embedded Data source and sets
  • Create shared Data Source and Sets

Lab: Introduction to Report Builder 3.0

Module 3: Report Builder 3.0 Wizards

This module explains how the class will be structured and introduces course materials and additional administrative information.

Lessons

  • Explore the Report Builder 3.0 Wizards
  • Create reports with the Wizards
  • Use the Wizards to create reports

Lab: Report Builder 3.0 Wizards

Module 4: Report Builder 3.0 Basic Reports

This module explains how the class will be structured and introduces course materials and additional administrative information.

Lessons

  • Report Lists
  • Report Tables
  • Report Matrix
  • The Data Region
  • Report Parameters
  • Report Expressions
  • Formatting Reports
  • Create a report using a List
  • Create a report using a Table
  • Create a report using a Matrix
  • Create a report using multiple Data Regions
  • Use Report Parameters
  • Use Report Expressions
  • Format the report
  • Save Report Parts for reuse

Lab: Report Builder 3.0 Basic Reports

Module 5: Report Builder 3.0 Graphics

This module explains how the class will be structured and introduces course materials and additional administrative information.

Lessons

  • Report Charts
  • Report Images
  • Report Gauges
  • Report Maps
  • Create a report with Charts
  • Create a report with Images
  • Create a report with Gauges
  • Create a report with Maps

Lab: Report Builder 3.0 Graphics

Module 6: Intermediate Reports

This module explains how the class will be structured and introduces course materials and additional administrative information.

Lessons

  • Time Intelligence
  • Sub Reports
  • Interacting with Actionable Reports
  • Reuse Report Parts
  • Create Sub Reports
  • Create a report that allows interaction
  • Reuse Report Parts
  • Use Time Intelligence

Lab: Intermediate Reports

Module 7: Report Builder 3.0 Tips and Tricks

This module explains how the class will be structured and introduces course materials and additional administrative information.

Lessons

  • Over 100 step-by-step examples for report situations
  • Over 100 step-by-step examples for report situations

Lab: Report Builder 3.0 Tips and Tricks

Training provider

Teaching mode: Classroom - Instructor Led
Duration: 5 days
Gooroo has partnered with the global leaders in IT training to give you access to quality training, personalised to you, targeted at increasing your job opportunities and salary.

Our pricing

We do not display pricing as Gooroo members qualify for special discounts not available elsewhere. You must enquire through Gooroo to get this benefit.

New courses are happening all the time

Our partner's expert training consultant will provide you with the times and all the details you need. Enquire today.

Top skills covered in this course

Microsoft SQL Server
Australia
This skill has an average salary of
AU$105,022
and is mentioned in
1.34%
of job ads in this area.
Database
Australia
This skill has an average salary of
AU$91,246
and is mentioned in
6.54%
of job ads in this area.
SQL
Australia
This skill has an average salary of
AU$105,909
and is mentioned in
4.24%
of job ads in this area.