SQL Saturday Cork Welcome to Cork. Andrea Martorana Tusa T-SQL advanced: Grouping and Windowing
|
|
- Jewel Chandler
- 5 years ago
- Views:
Transcription
1 SQL Saturday Cork Welcome to Cork Andrea Martorana Tusa T-SQL advanced: Grouping and Windowing
2 Andrea Martorana Tusa T-SQL Advanced: Grouping and Windowing
3 Speaker info First name: Andrea. Last name: Martorana Tusa. Italian, working by Widex a danish company which manufactures hearing aids, as BI Specialist. Previously worked for 15 years as BI developer in an italian bank. Focused on database development, datawarehousing, cube development, reporting, data analysis, etc. Speaker at SQL Saturdays, and other community-driven events in Europe, (MS Cloud Summit, SQL Konferenz, SQL Nexus, SQL Days, Dataminds Connect...). Speaker in webinars for PASS Italian VC, DW/BI VC. Author for sqlservercentral.com, sqlshack.com, UGISS (User Group Italiano SQL Server).
4 Agenda Grouping - Aggregate functions CHECKSUM_AGG COUNT_BIG GROUPING Windows functions OVER() clause Ranking, Aggregate and Analytics functions
5 Ranking functions ROW_NUMBER RANK DENSE_RANK NTILE
6 Grouping
7 Aggregate functions AVG CHECKSUM_AGG COUNT COUNT_BIG GROUPING GROUPING_ID MAX MIN STDEV STDEVP SUM VAR VARP
8 Aggregate functions GROUPING It s a function to be used in a SELECT, HAVING and ORDER BY statement. It indicates whether a specified column expression in a GROUP BY list is aggregated or not. 1 for aggregated columns 0 for not aggregated colums Very useful for mapping aggregate data in a resultset.
9 Aggregate functions GROUPING_ID It s a function to be used in SELECT, HAVING, or ORDER BY statement along with a GROUP BY. Basically it computes the level of grouping. It s powerful and versatile and can help in mapping various levels of aggregation in a resultset, increasing its readability.
10 Grouping GROUPY BY A clause of a SELECT statement used to cluster and aggregate data SELECT YEAR(OrderDate) AS OrderYear, MONTH(OrderDate) AS OrderMonth, COUNT(OrderID) AS TotalOrders FROM Sales.Orders GROUP BY YEAR(OrderDate), Month(OrderDate) ORDER BY OrderYear, OrderMonth So far nothing new. But...
11 Grouping... what if you want to create a subtotal or grandtotal in GROUPY BY? There are some operators that can help, adding more fetaures to the statement. ROLLUP CUBE GROUPING SETS
12 Grouping GROUP BY ROLLUP Creates a group for each combination of column expressions. The results are computed into subtotals and grand totals. SELECT Country, Region, SUM(Sales) AS TotalSales FROM Sales.Orders GROUP BY Country, Region WITH ROLLUP; Country Region TotalSales Country NULL TotalSales NULL NULL TotalSales
13 Grouping GROUP BY CUBE Creates groups for all possible combinations of columns. For the GROUP BY CUBE operator you get the following outcome: SELECT Country, Region, SUM(Sales) AS TotalSales FROM Sales GROUP BY Country, Region WITH CUBE; Country Region TotalSales NULL Region TotalSales Country NULL TotalSales NULL NULL TotalSales
14 Grouping GROUP BY GROUPING SETS GROUPING SETS is a powerful estensions of the clause. It gives you the ability to combine multiple aggregations into one single GROUP BY clause. The results can be considered the equivalent of multiple UNION ALL, one for each of the specified groups.
15 Demo GROUP BY: ROLLAP CUBE GROUPING SETS GROUPING GROUPING_ID
16 Windowing
17 Windowing A window is a subset of rows defined by a common descriptor inside a dataset, to whom it can be applied a function called window function to return a single value for each row of the open frame. The strenght of the partitioning and window functions concepts lay in the flexibility they can offer for calculation at row level, even inside aggregations.
18 Windowing Yearly Total Yearly Total Global Total Avg Sale Window 1 Window 2 Window 3
19 Windowing The basic syntax for defining a window frame relies on few key statements: OVER ( [ <PARTITION BY clause> ] [ <ORDER BY clause> ] [ <ROW or RANGE clause> ] )
20 OVER the key for «opening» windows OVER is the core clause to the foundations of the partitioning logic. Inside a SQL statement OVER() sets up the window, i.e. a subset of rows within a query result set, based on userdefined partitioning and ordering criteria. Once defined the rows interval, the associated window function can be applied and a value is computed for each row in the window.
21 OVER the key for «opening» windows The clause OVER has been used since SQL Server 2005 in ranking functions. Starting from SQL Server 2012, has been expanded to include aggregate and analytic functions. Ranking: RANK, DENSE_RANK, Aggregate: AVG, MAX, MIN, SUM, Analytics: CUME_DIST, LAG, LEAST, FIRST_VALUE, LAST_VALUE,
22 ROWS / RANGE how open is your window? The clauses ROWS and RANGE let you specify the exact subset of rows of the windows frame to which apply the windowing function. Schematically, with the OVER clause you define a sliding window; with ROWS and RANGE you decide how open your window is. [ROWS RANGE] BETWEEN <Start expr> AND <End expr>
23 ROWS / RANGE [ROWS RANGE] BETWEEN <Start expr> AND <End expr> <Start expr>: UNBOUNDED PRECEDING: The window starts in the first row of the partition <offset> PRECEDING or FOLLOWING CURRENT ROW: The window starts in the current row <End expr>: UNBOUNDED FOLLOWING: The window ends in the last row of the partition <offset> PRECEDING or FOLLOWING CURRENT ROW: The window ends in the current row
24 ROWS / RANGE [ROWS RANGE] BETWEEN <Start expr> AND <End expr> Note that: ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW can be abbreviated as ROWS UNBOUNDED PRECEDING If you don t indicate a window frame clause, the default is RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW, that might lead to unexpected outcomes
25 ROWS vs RANGE The ROWS clause limits the rows within a partition by specifying a fixed number of rows preceding or following the current row. The RANGE clause includes all the rows within the partition that have the same ORDER BY values as the current row. Usually it is said that with ROWS you define the windows frame on a physical level, with RANGE on a logical level and this has impact on performances.
26 ROWS operation... PARTITION BY CustomerName ORDER BY Year, Month UNBOUNDED PRECEDING 6 PRECEDING CURRENT ROW 4 FOLLOWING UNBOUNDED FOLLOWING
27 RANGE operation... ORDER BY CustomerCategoryName, TranYear UNBOUNDED PRECEDING CURRENT ROW UNBOUNDED FOLLOWING
28 Demo OVER() ROWS RANGE
29 Window analytic function Analytic functions compute an aggregate value based on a group of rows. However, unlike aggregate functions, they can return multiple rows for each group. You can use analytic functions to compute moving averages, running totals, percentages or top-n results within a group. BOL:
30 Windows analytic functions Offset functions CUME_DIST FIRST_VALUE LAG LAST_VALUE LEAD PERCENTILE_CONT PERCENTILE_DISC PERCENT_RANK
31 LAG / LEAD The LAG/LEAD functions return a column from a previous/following row in the partition, with respect to the current row. The row from which obtain the value is indicated by the specified offset LAG/LEAD support windows partition and ordering clause, but don t support window frame. The syntax for these functions is: LAG LEAD (scalar_expression [,offset] [,default]) OVER ( [ partition_by_clause ] order_by_clause )
32 FIRST_VALUE / LAST_VALUE The FIRST_VALUE / LAST_VALUE functions return the first or the last value into an ordered frame. Partitioning, ordering and framing are supported. The syntax for these functions is: FIRST_VALUE LAST_VALUE ( [scalar_expression ] ) OVER ( [ partition_by_clause ] order_by_clause [ rows_range_clause ] )
33 Demo LAG LEAD FIRST_VALUE LAST_VALUE
34 Questions?
35 Grazie!
Andrea Martorana Tusa. T-SQL Advanced: Grouping and Windowing
Andrea Martorana Tusa T-SQL Advanced: Grouping and Windowing Sponsor Organizzatori GetLatestVersion. it Speaker info First name: Andrea. Last name: Martorana Tusa. Italian, working by Widex a danish company
More informationAndrea Martorana Tusa. Failure prediction for manifacturing industry
Andrea Martorana Tusa Failure prediction for manifacturing industry Event Sponsors Expo Sponsors Expo Light Sponsors Speaker Info First name: Andrea. Last name: Martorana Tusa. Italian, working by Widex
More informationSQL Server Windowing Functions
SQL Server Windowing Functions Enrique Catalá Bañuls Mentor, SolidQ MAP 2012 Microsoft Technical Ranger Microsoft Certified Trainer ecatala@solidq.com Twitter: @enriquecatala Enrique Catalá Bañuls Computer
More informationAndrea Martorana Tusa. Customizing SQL Server 2016 Mobile Report Publisher
Andrea Martorana Tusa Customizing SQL Server 2016 Mobile Report Publisher Thanks to our sponsors! Speaker info First name: Andrea. Last name: Martorana Tusa. Italian, former working as BI developer in
More informationReminds on Data Warehousing
BUSINESS INTELLIGENCE Reminds on Data Warehousing (details at the Decision Support Database course) Business Informatics Degree BI Architecture 2 Business Intelligence Lab Star-schema datawarehouse 3 time
More informationQuerying Microsoft SQL Server
Querying Microsoft SQL Server Duration: 5 Days (08:30-16:00) Overview: This course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server. This
More information20461: Querying Microsoft SQL Server
20461: Querying Microsoft SQL Server Length: 5 days Audience: IT Professionals Level: 300 OVERVIEW This 5 day instructor led course provides students with the technical skills required to write basic Transact
More informationQuerying Microsoft SQL Server (MOC 20461C)
Querying Microsoft SQL Server 2012-2014 (MOC 20461C) Course 21461 40 Hours This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for
More informationDatabase Lab Queries. Fall Term 2017 Dr. Andreas Geppert
Database Lab Queries Fall Term 2017 Dr. Andreas Geppert geppert@acm.org Topics conceptual design logical design consistency constraints data manipulation queries transactions views stored procedures and
More informationPostgres Window Magic
Postgres Window Magic BRUCE MOMJIAN This presentation explains the many window function facilities and how they can be used to produce useful SQL query results. Creative Commons Attribution License http://momjian.us/presentations
More informationCOURSE OUTLINE MOC 20461: QUERYING MICROSOFT SQL SERVER 2014
COURSE OUTLINE MOC 20461: QUERYING MICROSOFT SQL SERVER 2014 MODULE 1: INTRODUCTION TO MICROSOFT SQL SERVER 2014 This module introduces the SQL Server platform and major tools. It discusses editions, versions,
More information20461: Querying Microsoft SQL Server 2014 Databases
Course Outline 20461: Querying Microsoft SQL Server 2014 Databases Module 1: Introduction to Microsoft SQL Server 2014 This module introduces the SQL Server platform and major tools. It discusses editions,
More informationCOURSE OUTLINE: Querying Microsoft SQL Server
Course Name 20461 Querying Microsoft SQL Server Course Duration 5 Days Course Structure Instructor-Led (Classroom) Course Overview This 5-day instructor led course provides students with the technical
More informationAfter completing this course, participants will be able to:
Querying SQL Server T h i s f i v e - d a y i n s t r u c t o r - l e d c o u r s e p r o v i d e s p a r t i c i p a n t s w i t h t h e t e c h n i c a l s k i l l s r e q u i r e d t o w r i t e b a
More informationAVANTUS TRAINING PTE LTD
[MS20461]: Querying Microsoft SQL Server 2014 Length : 5 Days Audience(s) : IT Professionals Level : 300 Technology : SQL Server Delivery Method : Instructor-led (Classroom) Course Overview This 5-day
More informationCourse 20461C: Querying Microsoft SQL Server
Course 20461C: Querying Microsoft SQL Server Audience Profile About this Course This course is the foundation for all SQL Serverrelated disciplines; namely, Database Administration, Database Development
More informationQuerying Microsoft SQL Server
Querying Microsoft SQL Server Course 20461D 5 Days Instructor-led, Hands-on Course Description This 5-day instructor led course is designed for customers who are interested in learning SQL Server 2012,
More informationQuerying Microsoft SQL Server
Querying Microsoft SQL Server 20461D; 5 days, Instructor-led Course Description This 5-day instructor led course provides students with the technical skills required to write basic Transact SQL queries
More informationQuerying Microsoft SQL Server 2008/2012
Querying Microsoft SQL Server 2008/2012 Course 10774A 5 Days Instructor-led, Hands-on Introduction This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL
More informationQuerying Microsoft SQL Server
Course Code: M20461 Vendor: Microsoft Course Overview Duration: 5 RRP: POA Querying Microsoft SQL Server Overview This 5-day instructor led course provides delegates with the technical skills required
More informationMicrosoft Querying Microsoft SQL Server 2014
1800 ULEARN (853 276) www.ddls.com.au Microsoft 20461 - Querying Microsoft SQL Server 2014 Length 5 days Price $4290.00 (inc GST) Version D Overview Please note: Microsoft have released a new course which
More informationQUERYING MICROSOFT SQL SERVER COURSE OUTLINE. Course: 20461C; Duration: 5 Days; Instructor-led
CENTER OF KNOWLEDGE, PATH TO SUCCESS Website: QUERYING MICROSOFT SQL SERVER Course: 20461C; Duration: 5 Days; Instructor-led WHAT YOU WILL LEARN This 5-day instructor led course provides students with
More informationQuerying Microsoft SQL Server 2014
Querying Microsoft SQL Server 2014 Código del curso: 20461 Duración: 5 días Acerca de este curso This 5 day instructor led course provides students with the technical skills required to write basic Transact
More informationQuerying Microsoft SQL Server 2012/2014
Page 1 of 14 Overview This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server 2014. This course is the foundation
More information20461D: Querying Microsoft SQL Server
20461D: Querying Microsoft SQL Server Course Details Course Code: Duration: Notes: 20461D 5 days This course syllabus should be used to determine whether the course is appropriate for the students, based
More informationData Warehousing and Data Mining OLAP Operations
Data Warehousing and Data Mining OLAP Operations SQL table expression query specification query expression OLAP GROUP BY extensions: rollup, cube, grouping sets SQL for analysis and reporting: ranking,
More informationCopyright 2017, Oracle and/or its aff iliates. All rights reserved.
Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment
More informationAnalytic SQL Features in Oracle9i. An Oracle Technical White Paper December 2001
Analytic SQL Features in Oracle9i An Oracle Technical White Paper December 2001 Analytic SQL Features in Oracle9i Introduction... 3 Analytic Functions... 4 Analytic Functions Family List... 4 Inverse Percentile
More information"Charting the Course to Your Success!" MOC D Querying Microsoft SQL Server Course Summary
Course Summary Description This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server 2014. This course is the foundation
More informationQuerying Microsoft SQL Server
20461 - Querying Microsoft SQL Server Duration: 5 Days Course Price: $2,975 Software Assurance Eligible Course Description About this course This 5-day instructor led course provides students with the
More informationmillions of SQL Server users worldwide, this feature broadens enormously concepts behind the model; how relationships are handled and what are the
SQL Server 2017 introduced the extension for graph databases. As there are millions of SQL Server users worldwide, this feature broadens enormously the audience of potential users. But, what to expect
More informationA Window into Your Data. Using SQL Window Functions
A Window into Your Data Using SQL Window Functions Welcome to PASS SQL Saturday #435 Thank you Sponsors! o Please visit the sponsors during the vendor break from 2:45 3:15 and enter their end-of-day raffles
More informationGreenplum SQL Class Outline
Greenplum SQL Class Outline The Basics of Greenplum SQL Introduction SELECT * (All Columns) in a Table Fully Qualifying a Database, Schema and Table SELECT Specific Columns in a Table Commas in the Front
More informationOn the use of GROUP BY ROLLUP
On the use of GROUP BY ROLLUP The normal method of querying for data from the pivoted data table is via use of a regular GROUP BY clause: select 'D2 ' section_id '-' transaction_type as descr, group by
More informationRows and Range, Preceding and Following
Rows and Range, Preceding and Following SQL Server 2012 adds many new features to Transact SQL (T-SQL). One of my favorites is the Rows/Range enhancements to the over clause. These enhancements are often
More informationGoing OVER and Above with SQL
Going OVER and Above with SQL Tamar E. Granor Tomorrow's Solutions, LLC Voice: 215-635-1958 Email: tamar@tomorrowssolutionsllc.com The SQL 2003 standard introduced the OVER keyword that lets you apply
More informationStill using. Windows 3.1? So why stick to -
Still using Windows 3.1? So why stick to SQL-92? @ModernSQL - http://modern-sql.com/ @MarkusWinand SQL:1999 LATERAL LATERAL Before SQL:1999 Derived tables (from clause subqueries) cannot see outside: SELECT
More informationDB2 SQL Class Outline
DB2 SQL Class Outline The Basics of SQL Introduction Finding Your Current Schema Setting Your Default SCHEMA SELECT * (All Columns) in a Table SELECT Specific Columns in a Table Commas in the Front or
More informationMIS NETWORK ADMINISTRATOR PROGRAM
NH107-7475 SQL: Querying and Administering SQL Server 2012-2014 136 Total Hours 97 Theory Hours 39 Lab Hours COURSE TITLE: SQL: Querying and Administering SQL Server 2012-2014 PREREQUISITE: Before attending
More informationCourse 20461C: Querying Microsoft SQL Server
Course 20461C: Querying Microsoft SQL Server About this course: This course is the foundation for all SQL Server related disciplines; namely, Database Administration, Database development and business
More informationAster Data SQL and MapReduce Class Outline
Aster Data SQL and MapReduce Class Outline CoffingDW education has been customized for every customer for the past 20 years. Our classes can be taught either on site or remotely via the internet. Education
More informationSummarizing aggregated data, Part 1
Summarizing aggregated data, Part 1 SQL Server s ROLLUP clause lets you put totals, averages and more from subsets of your computed dta right into the same cursor. Tamar E. Granor, Ph.D. This series of
More informationChapter 9 Windowed Tables and Window Functions in SQL. Recent Development for Data Models 2016 Stefan Deßloch
Chapter 9 Windowed Tables and Window Functions in SQL Recent Development for Data Models 2016 Stefan Deßloch Windowed Table Functions Windowed table function operates on a window of a table returns a value
More informationChapter 6 Windowed Tables and Window Functions in SQL
Prof. Dr.Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb., Raum Tel. 0/0 dessloch@informatik.unikl.de Chapter Windowed Tables and Window Functions in SQL WS0/0 Outline Overview I. ObjectRelational
More informationAster Data Basics Class Outline
Aster Data Basics Class Outline CoffingDW education has been customized for every customer for the past 20 years. Our classes can be taught either on site or remotely via the internet. Education Contact:
More informationQuerying Microsoft SQL Server 2014
Querying Microsoft SQL Server 2014 Referencia MOC 20461 Duración (horas) 25 Última actualización 27 marzo 2018 Modalidades Presencial, a medida Examen 70-461 Introducción This 5-day instructor led course
More informationChapter 6 Windowed Tables and Window Functions in SQL
Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 6 Windowed Tables and Window Functions in SQL Recent Developments
More informationChapter 6 Windowed Tables and Window Functions in SQL
Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 6 Windowed Tables and Window Functions in SQL Outline Overview
More informationFUN WITH ANALYTIC FUNCTIONS UTOUG TRAINING DAYS 2017
FUN WITH ANALYTIC FUNCTIONS UTOUG TRAINING DAYS 2017 ABOUT ME Born and raised here in UT In IT for 10 years, DBA for the last 6 Databases and Data are my hobbies, I m rather quite boring This isn t why
More informationInformix OLAP and Advanced SQL Functions by Lester Knutsen
Advanced DataTools Webcast Informix OLAP and Advanced SQL Functions by Lester Knutsen March 7, 2019 at 2:00pm EDT 1 Lester Knutsen Lester Knutsen is President of Advanced DataTools Corporation, and has
More informationAdvanced Data Management Technologies
ADMT 2017/18 Unit 11 J. Gamper 1/48 Advanced Data Management Technologies Unit 11 SQL Analytic Functions J. Gamper Free University of Bozen-Bolzano Faculty of Computer Science IDSE Acknowledgements: I
More informationMySQL 8.0 Common Table Expressions & Windowing Functions
1 / 66 2 / 66 MySQL 8.0 Common Table Expressions & Windowing Functions Dave Stokes - MySQL Community Manager - Oracle 3 / 66 Safe Harbor Statement The following is intended to outline our general product
More informationSQL for Analysis, Reporting and Modeling
SQL for Analysis, Reporting and Modeling SQL - A Flexible and Comprehensive Framework for In-Database Analytics O R A C L E W H I T E P A P E R N O V E M B E R 2 0 1 6 Contents Data Analysis with SQL 1
More informationData warehousing in Oracle
Data warehousing in Oracle Materialized views and SQL extensions to analyze data in Oracle data warehouses SQL extensions for data warehouse analysis 1 Available OLAP functions Computation windows window
More informationMultidimensional Grouping Made Easy
Multidimensional Grouping Made Easy Introducing DB2 for V6R1 i5/os s new SQL group functions by Mike Cain As business solutions increasingly rely on robust data-centric processing, the capabilities of
More informationMANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9)
Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 6 Professional Program: Data Administration and Management MANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9) AGENDA
More informationDATA CUBE : A RELATIONAL AGGREGATION OPERATOR GENERALIZING GROUP-BY, CROSS-TAB AND SUB-TOTALS SNEHA REDDY BEZAWADA CMPT 843
DATA CUBE : A RELATIONAL AGGREGATION OPERATOR GENERALIZING GROUP-BY, CROSS-TAB AND SUB-TOTALS SNEHA REDDY BEZAWADA CMPT 843 WHAT IS A DATA CUBE? The Data Cube or Cube operator produces N-dimensional answers
More informationAdvanced Data Management Technologies
ADMT 2017/18 Unit 10 J. Gamper 1/37 Advanced Data Management Technologies Unit 10 SQL GROUP BY Extensions J. Gamper Free University of Bozen-Bolzano Faculty of Computer Science IDSE Acknowledgements: I
More informationCOPYRIGHTED MATERIAL. Contents. Chapter 1: Introducing T-SQL and Data Management Systems 1. Chapter 2: SQL Server Fundamentals 23.
Introduction Chapter 1: Introducing T-SQL and Data Management Systems 1 T-SQL Language 1 Programming Language or Query Language? 2 What s New in SQL Server 2008 3 Database Management Systems 4 SQL Server
More informationQuerying Microsoft SQL Server 2014
Querying Microsoft SQL Server 2014 Duración: 5 Días Código del Curso: M20461 Version: C Método de Impartición: Curso Virtual & Classroom (V&C Select) Temario: This 5-day instructor led course provides
More informationAnalytic Functions in Oracle 8i
Analytic Functions in Oracle 8i Srikanth Bellamkonda, Tolga Bozkaya, Bhaskar Ghosh Abhinav Gupta, John Haydu, Sankar Subramanian, Andrew Witkowski Oracle Corporation, 500 Oracle Parkway 4op7,Redwood Shores,
More information$99.95 per user. Writing Queries for SQL Server (2005/2008 Edition) CourseId: 160 Skill level: Run Time: 42+ hours (209 videos)
Course Description This course is a comprehensive query writing course for Microsoft SQL Server versions 2005, 2008, and 2008 R2. If you struggle with knowing the difference between an INNER and an OUTER
More information20761 Querying Data with Transact SQL
Course Overview The main purpose of this course is to give students a good understanding of the Transact-SQL language which is used by all SQL Server-related disciplines; namely, Database Administration,
More informationCourse Outline. Querying Data with Transact-SQL Course 20761B: 5 days Instructor Led
Querying Data with Transact-SQL Course 20761B: 5 days Instructor Led About this course This course is designed to introduce students to Transact-SQL. It is designed in such a way that the first three days
More informationQuerying Data with Transact-SQL
Querying Data with Transact-SQL 20761B; 5 Days; Instructor-led Course Description This course is designed to introduce students to Transact-SQL. It is designed in such a way that the first three days can
More informationQuerying Data with Transact-SQL
Querying Data with Transact-SQL General Description This course is designed to introduce students to Transact-SQL. It is designed in such a way that the first three days can be taught as a course to students
More informationModern SQL: Evolution of a dinosaur
Modern SQL: Evolution of a dinosaur Markus Winand Kraków, 9-11 May 2018 Still using Windows 3.1? So why stick with SQL-92? @ModernSQL - https://modern-sql.com/ @MarkusWinand SQL:1999 WITH (Common Table
More informationData Warehousing and Data Mining SQL OLAP Operations
Data Warehousing and Data Mining SQL OLAP Operations SQL table expression query specification query expression SQL OLAP GROUP BY extensions: rollup, cube, grouping sets Acknowledgements: I am indebted
More informationMicrosoft Access Illustrated. Unit B: Building and Using Queries
Microsoft Access 2010- Illustrated Unit B: Building and Using Queries Objectives Use the Query Wizard Work with data in a query Use Query Design View Sort and find data (continued) Microsoft Office 2010-Illustrated
More informationQuerying Data with Transact-SQL
Querying Data with Transact-SQL Course 20761C 5 Days Instructor-led, Hands on Course Information The main purpose of the course is to give students a good understanding of the Transact- SQL language which
More informationLeverage the power of SQL Analytical functions in Business Intelligence and Analytics. Viana Rumao, Asher Dmello
International Journal of Scientific & Engineering Research Volume 9, Issue 7, July-2018 461 Leverage the power of SQL Analytical functions in Business Intelligence and Analytics Viana Rumao, Asher Dmello
More informationQuerying Data with Transact-SQL
Querying Data with Transact-SQL Código del curso: 20761 Duración: 5 días Acerca de este curso This course is designed to introduce students to Transact-SQL. It is designed in such a way that the first
More informationQuerying Data with Transact-SQL
Querying Data with Transact-SQL Duration: 5 Days Course Code: M20761 Overview: This course is designed to introduce students to Transact-SQL. It is designed in such a way that the first three days can
More informationAdvanced SQL. 04 Window Functions. Torsten Grust Universität Tübingen, Germany
Advanced SQL 04 Window Functions Torsten Grust Universität Tübingen, Germany 1 Window Functions With SQL:2003, the ISO SQL Standard introduced window functions, a new mode of row-based computation: SQL
More informationAster Data Database Administration Class Outline
Aster Data Database Administration Class Outline CoffingDW education has been customized for every customer for the past 20 years. Our classes can be taught either on site or remotely via the internet.
More informationQuick Start Guide. Version R94. English
Custom Reports Quick Start Guide Version R94 English December 12, 2016 Copyright Agreement The purchase and use of all Software and Services is subject to the Agreement as defined in Kaseya s Click-Accept
More informationFinding the First/Last N Rows Limiting Rows with Rownum
Reviewed by Oracle Certified Master Korea Community ( http://www.ocmkorea.com http://cafe.daum.net/oraclemanager ) 10G ADVANCED SQL AND PERFORMANCE PAPER 615. INTRODUCTION We will cover advanced SQL concepts,
More informationMultidimensional Queries
Multidimensional Queries Krzysztof Dembczyński Intelligent Decision Support Systems Laboratory (IDSS) Poznań University of Technology, Poland Software Development Technologies Master studies, first semester
More informationDuration Level Technology Delivery Method Training Credits. Classroom ILT 5 Days Intermediate SQL Server
NE-20761C Querying with Transact-SQL Summary Duration Level Technology Delivery Method Training Credits Classroom ILT 5 Days Intermediate SQL Virtual ILT On Demand SATV Introduction This course is designed
More informationQuerying Data with Transact-SQL
Course Code: M20761 Vendor: Microsoft Course Overview Duration: 5 RRP: 2,177 Querying Data with Transact-SQL Overview This course is designed to introduce students to Transact-SQL. It is designed in such
More informationData Warehousing and Decision Support. Introduction. Three Complementary Trends. [R&G] Chapter 23, Part A
Data Warehousing and Decision Support [R&G] Chapter 23, Part A CS 432 1 Introduction Increasingly, organizations are analyzing current and historical data to identify useful patterns and support business
More information20761B: QUERYING DATA WITH TRANSACT-SQL
ABOUT THIS COURSE This 5 day course is designed to introduce students to Transact-SQL. It is designed in such a way that the first three days can be taught as a course to students requiring the knowledge
More information20761C: Querying Data with Transact-SQL
20761C: Querying Data with Transact-SQL Course Details Course Code: Duration: Notes: 20761C 5 days This course syllabus should be used to determine whether the course is appropriate for the students, based
More information1 Dulcian, Inc., 2001 All rights reserved. Oracle9i Data Warehouse Review. Agenda
Agenda Oracle9i Warehouse Review Dulcian, Inc. Oracle9i Server OLAP Server Analytical SQL Mining ETL Infrastructure 9i Warehouse Builder Oracle 9i Server Overview E-Business Intelligence Platform 9i Server:
More informationData Warehousing and Decision Support
Data Warehousing and Decision Support Chapter 23, Part A Database Management Systems, 2 nd Edition. R. Ramakrishnan and J. Gehrke 1 Introduction Increasingly, organizations are analyzing current and historical
More informationData Warehousing and Decision Support
Data Warehousing and Decision Support [R&G] Chapter 23, Part A CS 4320 1 Introduction Increasingly, organizations are analyzing current and historical data to identify useful patterns and support business
More informationConcepts of Database Management Eighth Edition. Chapter 2 The Relational Model 1: Introduction, QBE, and Relational Algebra
Concepts of Database Management Eighth Edition Chapter 2 The Relational Model 1: Introduction, QBE, and Relational Algebra Relational Databases A relational database is a collection of tables Each entity
More information{ "datasource": "sample-data", "metadata": [ { "jaql": { "dim": "date", "level": "years" } } ] }
JAQL Reference In this section, you can review the main JAQL properties to use in your queries, beginning with the mandatory and commonly used properties, and followed by optional properties that you can
More informationOptimizing and Simplifying Complex SQL with Advanced Grouping. Presented by: Jared Still
Optimizing and Simplifying Complex SQL with Advanced Grouping Presented by: Jared Still About Me Worked with Oracle since version 7.0 Have an affinity for things Perlish, such as DBD::Oracle Working as
More informationKaseya 2. User Guide. Version 7.0. English
Kaseya 2 Custom Reports User Guide Version 7.0 English September 3, 2014 Agreement The purchase and use of all Software and Services is subject to the Agreement as defined in Kaseya s Click-Accept EULATOS
More informationStandard SQL Reserved Words Summary
Standard SQL Reserved Words Summary The following table lists all reserved words in the SQL standard, from SQL-92 to SQL- 2016. Note! Mimer SQL does not add any additional reserved words. In fact, Mimer
More informationMicrosoft Office Illustrated Introductory, Building and Using Queries
Microsoft Office 2007- Illustrated Introductory, Building and Using Queries Creating a Query A query allows you to ask for only the information you want vs. navigating through all the fields and records
More informationSubquery: There are basically three types of subqueries are:
Subquery: It is also known as Nested query. Sub queries are queries nested inside other queries, marked off with parentheses, and sometimes referred to as "inner" queries within "outer" queries. Subquery
More informationStinger Initiative. Making Hive 100X Faster. Page 1. Hortonworks Inc. 2013
Stinger Initiative Making Hive 100X Faster Page 1 HDP: Enterprise Hadoop Distribution OPERATIONAL SERVICES Manage AMBARI & Operate at Scale OOZIE HADOOP CORE FLUME SQOOP DATA SERVICES PIG Store, HIVE Process
More informationData Warehouses These slides are a modified version of the slides of the book Database System Concepts (Chapter 18), 5th Ed McGraw-Hill by
Data Warehouses These slides are a modified version of the slides of the book Database System Concepts (Chapter 18), 5th Ed., McGraw-Hill, by Silberschatz, Korth and Sudarshan. Original slides are available
More informationTeradata SQL Class Outline
Teradata SQL Class Outline CoffingDW education has been customized for every customer for the past 20 years. Our classes can be taught either on site or remotely via the internet. Education Contact: Thomas
More informationETL Best Practices and Techniques. Marc Beacom, Managing Partner, Datalere
ETL Best Practices and Techniques Marc Beacom, Managing Partner, Datalere Thank you Sponsors Experience 10 years DW/BI Consultant 20 Years overall experience Marc Beacom Managing Partner, Datalere Current
More informationQuerying Data with Transact-SQL
Course 20761A: Querying Data with Transact-SQL Page 1 of 5 Querying Data with Transact-SQL Course 20761A: 2 days; Instructor-Led Introduction The main purpose of this 2 day instructor led course is to
More informationOracle Database 10g SQL
Oracle Database 10g SQL 2005 6 Oracle Database 10g SQL... 3... 3... 4... 5... 6 GROUPING SETS... 6 NULL... 7 ROLLUP... 8 ROLLUP... 8 ROLLUP... 9 CUBE... 10 CUBE... 10 CUBE... 10 GROUP BY... 11... 13...
More information1. What is a PivotTable? What is a Cross Tab Report?
Data Analysis & Business Intelligence Made Easy with Excel Power Tools Excel Data Analysis Basics = E-DAB Notes for Video: E-DAB-04: Summary Reports with Standard PivotTables & Slicers Objectives of Video:
More information