Writing Analytical Queries for Business Intelligence

Similar documents
Querying Data with Transact SQL Microsoft Official Curriculum (MOC 20761)

Querying Data with Transact-SQL

Querying Data with Transact-SQL

Querying Data with Transact SQL

Querying Data with Transact-SQL

Querying Data with Transact-SQL (20761)

Course Outline. Querying Data with Transact-SQL Course 20761B: 5 days Instructor Led

Querying Microsoft SQL Server 2014

Querying Data with Transact-SQL

Querying Data with Transact-SQL

"Charting the Course... MOC C: Querying Data with Transact-SQL. Course Summary

Microsoft Querying Data with Transact-SQL - Performance Course

Duration Level Technology Delivery Method Training Credits. Classroom ILT 5 Days Intermediate SQL Server

Querying Data with Transact-SQL

20761B: QUERYING DATA WITH TRANSACT-SQL

Querying Data with Transact-SQL

Querying Data with Transact-SQL

20761C: Querying Data with Transact-SQL

20761 Querying Data with Transact SQL

QUERYING MICROSOFT SQL SERVER COURSE OUTLINE. Course: 20461C; Duration: 5 Days; Instructor-led

Querying Microsoft SQL Server

COURSE OUTLINE: Querying Microsoft SQL Server

AVANTUS TRAINING PTE LTD

COURSE OUTLINE MOC 20461: QUERYING MICROSOFT SQL SERVER 2014

"Charting the Course to Your Success!" MOC D Querying Microsoft SQL Server Course Summary

Querying Microsoft SQL Server (MOC 20461C)

20461: Querying Microsoft SQL Server

Querying Microsoft SQL Server

MTA Database Administrator Fundamentals Course

Microsoft Querying Microsoft SQL Server 2014

Course 20461C: Querying Microsoft SQL Server

20461D: Querying Microsoft SQL Server

[AVNICF-MCSASQL2012]: NICF - Microsoft Certified Solutions Associate (MCSA): SQL Server 2012

Querying Microsoft SQL Server

20461: Querying Microsoft SQL Server 2014 Databases

Querying Microsoft SQL Server 2012/2014

Querying Microsoft SQL Server

Querying Data with Transact-SQL

Sql Server Syllabus. Overview

Course 20461C: Querying Microsoft SQL Server

MS_20761 Querying Data with Transact-SQL

Querying Microsoft SQL Server 2014

Learning Alliance Corporation, Inc. For more info: go to

MCSA SQL SERVER 2012

Querying Microsoft SQL Server

ETL TESTING TRAINING

Querying Microsoft SQL Server 2008/2012

T-SQL Training: T-SQL for SQL Server for Developers

After completing this course, participants will be able to:

Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course:

Course Outline. Writing Reports with Report Builder and SSRS Level 1 Course 55123: 2 days Instructor Led. About this course

Microsoft - Querying Microsoft SQL Server 2014 (M20461) (M20461)

Querying Microsoft SQL Server 2014

Oracle Database 11g: SQL and PL/SQL Fundamentals

Querying Data with Transact-SQL (761)

Venezuela: Teléfonos: / Colombia: Teléfonos:

Oracle Database: Introduction to SQL Ed 2

MIS NETWORK ADMINISTRATOR PROGRAM

Writing Queries Using Microsoft SQL Server 2008 Transact-SQL. Overview

Mobile MOUSe MTA DATABASE ADMINISTRATOR FUNDAMENTALS ONLINE COURSE OUTLINE

AO3 - Version: 2. Oracle Database 11g SQL

Implementing and Maintaining Microsoft SQL Server 2008 Integration Services

Certification Exam Preparation Seminar: Oracle Database SQL

Discovering the Power of Excel PowerPivot Data Analytic Expressions (DAX)

Writing Queries Using Microsoft SQL Server 2008 Transact- SQL

Administering a SQL Database Infrastructure Microsoft Official Curriculum (MOC 20764)

Course Outline. Upgrading Your Skills to SQL Server 2016 Course 10986A: 3 days Instructor Led

Teradata SQL Features Overview Version

SQL Server Course Administering a SQL 2016 Database Infrastructure. Length. Prerequisites. Audience. Course Outline.

Microsoft. [MS20762]: Developing SQL Databases

Oracle Database: SQL and PL/SQL Fundamentals NEW

Developing SQL Databases

Oracle Database: SQL and PL/SQL Fundamentals Ed 2

Oracle Database 10g: Introduction to SQL

ORACLE PL/SQL DATABASE COURSE

Querying Data with Transact-SQL

Learn Well Technocraft

20762B: DEVELOPING SQL DATABASES

Maintaining a Microsoft SQL Server 2008 R2 Database

SEF DATABASE FOUNDATION ON ORACLE COURSE CURRICULUM

SQL Server Development 20762: Developing SQL Databases in Microsoft SQL Server Upcoming Dates. Course Description.

"Charting the Course... MOC C: Developing SQL Databases. Course Summary

Microsoft Developing SQL Databases

Introduction to Computer Science and Business

Interview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept]

6231B - Version: 1. Maintaining a Microsoft SQL Server 2008 R2 Database

Writing Reports with Report Designer and SSRS 2014 Level 1

Call: SAS BI Course Content:35-40hours

Administering Microsoft SQL Server 2012 Databases

"Charting the Course... Oracle18c SQL (5 Day) Course Summary

A Unit of SequelGate Innovative Technologies Pvt. Ltd. All Training Sessions are Completely Practical & Real-time

Course Outline and Objectives: Database Programming with SQL

Deccansoft softwareservices-microsoft Silver Learing Partner. SQL Server Syllabus

ORACLE DATABASE 12C INTRODUCTION

6232B: Implementing a Microsoft SQL Server 2008 R2 Database

Index. Accent Sensitive (AS), 20 Aggregate functions, 286 Atomicity consistency isolation durability (ACID), 265

Implementing a Microsoft SQL Server 2005 Database Course 2779: Three days; Instructor-Led

Updating Your Skills to SQL Server 2016

Language. f SQL. Larry Rockoff COURSE TECHNOLOGY. Kingdom United States. Course Technology PTR. A part ofcenqaqe Learninq

Oracle Syllabus Course code-r10605 SQL

Transcription:

MOC-55232 Writing Analytical Queries for Business Intelligence 3 Days Overview About this Microsoft SQL Server 2016 Training Course This three-day instructor led Microsoft SQL Server 2016 Training Course is about writing TSQL queries for the purpose of database reporting, analysis, and business intelligence. Specifically, this Microsoft SQL Server 2016 Training Course presents TSQL within the context of data analysis in other words, making meaning from the data rather than transaction-oriented data-tier application development. The Microsoft SQL Server 2016 Training Course starts with a brief discussion of levels of measurement and quantitative research methodology and integrates these concepts into each TSQL topic presented. The goal is to provide a consistent, direct, and purposeful learning path for RDBMS data retrieval for use in analytical tools such as SQL Server Reporting Services, PowerBI, R, and Excel. Audience profile This Microsoft SQL Server 2016 Training Course is intended for information workers and data science professionals who seek to use database reporting and analysis tools such as Microsoft SQL Server Reporting Services, Excel, Power BI, R, SAS and other business intelligence tools, and wish to use TSQL queries to efficiently retrieve data sets from Microsoft SQL Server relational databases for use with these tools. At Microsoft SQL Server 2016 Training Course completion After completing this Microsoft SQL Server 2016 Training Course, students will be able to:

Identify independent and dependent variables and measurement levels in their own analytical work scenarios. Identify variables of interest in relational database tables. Choose a data aggregation level and data set design appropriate for the intended analysis and tool. Use TSQL SELECT queries to produce ready-to-use data sets for analysis in tools such as PowerBI, SQL Server Reporting Services, Excel, R, SAS, SPSS, and others. Create stored procedures, views, and functions to modularize data retrieval code. Description Module 1: Introduction to TSQL for Business Intelligence This module discusses writing analytical queries vs. transactional DML queries, and describes the typical architecture of a business intelligence environment. It discusses the role of SELECT queries in retrieving data for analysis from relational databases. It introduces the sample database to be used in the Microsoft SQL Server 2016 Training Course and begins a presentation of the SELECT query. Two Approaches to SQL Programming TSQL Data Retrieval in an Analytics Environment The Database Engine SQL Server Management Studio and the CarDeal Sample Database Identifying Variables in Tables SQL is a Declarative Language Introduction to the SELECT Query Lab: Lab 1 Create a database diagram Create and execute basic SELECT queries Describe the purpose of analytical queries Describe the function of TSQL data retrieval in an analytics / business intelligence environment Describe the primary functions of the database engine Discuss TSQL as a declarative language Identify variables of interest in database tables Write basic SELECT queries

Module 2: Turning Table Columns into Variables for Analysis: SELECT List Expressions, WHERE, and ORDER BY This module covers the identification of and relationship between levels of measurement and column data types. It continues a discussion of the SELECT query and adds the WHERE and ORDER BY clauses. Turning Columns into Variables for Analysis Column Expressions, Data Types, and Built-in Functions Column aliases Data type conversions Built-in Scalar Functions Table Aliases The WHERE clause ORDER BY Lab: Lab 2- Write queries using: Column and table aliases DISTINCT WHERE ORDER BY Built-in functions Explicit and implicit data type conversion Implement column expressions in SELECT queries Implement column and table aliases Describe data types and Implement data type conversions Implement built-in functions Use WHERE and ORDER BY clauses in SELECT queries Module 3: Combining Columns from Multiple Tables into a Single Dataset: The JOIN Operators Module 3 discusses creating single datasets for analysis by combining results from multiple database tables using JOIN. Primary Keys, Foreign Keys, and Joins Understanding Joins, Part 1: CROSS JOIN and the Full Cartesian Product Understanding Joins, Part 2: The INNER JOIN

Understanding Joins, Part 3: The OUTER JOINS Understanding Joins, Part 4: Joining more than two tables Understanding Joins, Part 5: Combining INNER and OUTER JOINs Combining JOIN Operations with WHERE and ORDER BY Lab: Lab 3- Write SELECT queries using: Inner join Left, right, and full join Joins of more than two tables Join operators, in addition to WHERE and ORDER BY Discuss and describe the conceptual flow of JOIN operations Implement INNER and OUTER JOIN operations on two or more tables Describe the order of operations of SELECT clauses Combine JOIN operations with WHERE and ORDER BY Module 4: Creating an Appropriate Aggregation Level Using GROUP BY This module covers the aggregation of quantitative column values across grouping factors for the purpose of group-wise comparisons and/or changing the granularity of a dataset. Identifying required aggregation level and granularity Aggregate Functions GROUP BY HAVING Order of operations in SELECT queries Lab: Lab 4- Write queries using: Aggregate functions Aggregate function with HAVING Aggregate function with GROUP BY and HAVING Aggregate function with GROUP BY, HAVING, WHERE, and ORDER BY Describe row granularity of result sets Discuss and implement aggregate functions to achieve required row granularity Use GROUP BY to calculate aggregate values for groups Use HAVING to filter records in the result set by aggregate value Combine GROUP BY and HAVING with WHERE and ORDER BY Module 5: Subqueries, Derived Tables and Common Table Expressions

This module covers the use of subqueries, derived tables, and common table expressions in SELECT queries as techniques for creating intermediate result sets. Non-correlated and correlated subqueries Derived tables Common table expressions Lab: Lab 5- Write queries using: Non-correlated subqueries Correlated subqueries Derived tables Common table expressions Subqueries, derived tables, and common table expressions and other topics Describe and discuss the rationale of creating intermediate results sets within SELECT queries Implement non-correlated and correlated subqueries Implement derived tables Implement Common Table Expressions Create intermediate to advanced TSQL queries to retrieve result sets for analysis Module 6: Encapsulating Data Retrieval Logic This module discusses the encapsulation of data retrieval logic in views, table-valued functions, and stored procedures. It also describes scenarios in which these techniques are useful for producing datasets for analysis. Finally, it describes the database security issues involved, and techniques for creating and using these database objects while maintaining current permission sets on source data. Views Table-valued functions Stored procedures Creating objects for read-access users Creating database accounts for analytical client tools Lab: Lab 6 Create a SQL login Create a database user and assign required permissions Create a database schema for views, functions, and stored procs

Create a view Create a table-values function Create a stored procedure Allow a user with read-only access to use views, table-valued functions, and store procedures Identify scenarios in which views, table-valued functions, and stored procedures simply data retrieval Compare and contrast views, table-valued functions, and stored procedures Create views, table-valued functions, and stored procedures Describe the security requirement for creating database objects Implement views, table-valued functions, and stored procedures for users with read-only access to source data Module 7: Getting Your Dataset to the Client This module covers common techniques for making datasets produced by SELECT queries available to analytical client tools such as SQL Server Reporting Services, PowerBI, Excel, and R. It discusses running queries directly from the client tool, in addition to exporting datasets to text files which can then be accessed by the client tool. Connecting to SQL Server and Submitting Queries from Client Tools Connecting and running SELECT queries from: Excel PowerBI RStudio Exporting datasets to files using Results pane from SSMS The bcp utility The Import/Export Wizard Lab: Lab 7 Retrieving the results of a view in Excel Running an ad-hoc SELECT query from Excel Running an ad-hoc query from PowerBI Running an ad-hoc query from RStudio Using the Import/Export wizard to write the results of a query to a text file

Describe the properties of database connection strings Run queries from, and return results to, Excel, PowerBI, and RStudio Export query results to external text files using the SSMS results pane, the bcp utility, and the Import/Export Wizard