Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
MSSQL Tutorial
Analytical Functions 40 codes
Home
MSSQL Tutorial
Analytical Functions
1 A summary query that includes a final summary row with WITH CUBE
2 A summary query that includes a final summary row with WITH ROLLUP
3 A summary query that includes a summary row for each grouping level
4 A summary query that includes a summary row for each set of groups
5 Aggregate Functions STDEV and STDEVP
6 COMPUTE MIN(start_date) BY region
7 Creating the Vbase_cube View to Hide the CUBE Query Complexity
8 CUBE performs this rollup for every combination of grouped column values
9 DENSE_RANK() OVER
10 Group hierarchy using the ROLLUP operator is determined by the order in which the grouping columns are specified
11 GROUPING() Comes to the Rescue
12 GROUPING() function returns a bit value (1 or 0) to indicate that a row is a rollup
13 PIVOT and UNPIVOT Operators
14 Replacing NULLs with ALL and UNKNOWN
15 ROLLUP Returns Super Aggregation Only in One Direction
16 ROW_NUMBER function returns the sequential number of a row within a result set, starting at 1 for the first row
17 STDEV returns the standard deviation of all the values provided in the expression, based on a sample of the data popu
18 STDEV() Function is a calculation based on the variance of a numeric range of values
19 Summarizing Data with CUBE
20 Summarizing Data with ROLLUP
21 The aggregate function STDEVP computes the standard deviation for the population of all the values listed in a column
22 The STDEVP function returns the standard deviation for all values in the provided expression
23 The syntax of the GROUPING function
24 The use of multiple aggregate functions in a COMPUTE clause
25 The use of the COMPUTE clause, with and without the BY portion
26 The VAR() return the measure of how far the extreme low range or high range value is from the middle
27 Using an Incrementing Row Number
28 Using COMPUTE with aggregate functions
29 Using GROUPING with CUBE
30 Using NTILE
31 Using ROLLUP to Get the Order Count by Year and Month
32 Using several columns from a table to build different partitioning schemas in a query
33 Using Statistical Aggregate Functions
34 Using the COMPUTE BY to provide subtotals
35 Using the CUBE Operator
36 Using the ROLLUP Operator
37 VAR computes the variance of all the values listed in a column or expression
38 WITH ROLLUP for calculating subtotals and totals on the first column in the GROUP BY column list
39 Window function can be a ranking function
40 Window function can be an aggregate function