SQL SERVER ROLLUP
SQL SERVER ROLLUP clause is used to display subtotals and grand totals in the result set . It is always used with Group By clause.
![]()
This website provides a SQL server, SSRS, Power BI, Python, Azure basics and advanced tutorials for beginners and professionals .
You will find out a step-by-step walk through of the basics and advanced topics with practical and include numerous hands-on activities.
SQL SERVER ROLLUP clause is used to display subtotals and grand totals in the result set . It is always used with Group By clause.
![]()
SQL UNION ALL operator is used to combine the result sets of two or more select statements .
![]()
SQL WAITFOR statement is used to blocks the execution of a batch statement, transnational statement or any stored procedure until a specified time or any time interval is reached, or a specified statement modifies or returns at least one row.
![]()
SQL PIVOT allow us to aggregate the results and rotate rows into columns so in sort, we can say using PIVOT
![]()
SQL MERGE statement is used to modify data in a target table based on data in a source table.
![]()
SQL HAVING clause specifies that a SQL select statement should only return rows where aggregate values meet the specified conditions.
![]()
SQL GROUP BY Statement is used to arrange identical data into groups with the help of Aggregate functions.
![]()
The OUTPUT clause returns the values of each row that was affected by an INSERT, UPDATE or DELETE statements.
![]()
A stored procedure is a group of SQL statements compiled into one unit for later use and can be used many times.
![]()
SQL ORDER BY keyword is used to sort the result set in ascending or descending order.
![]()
SQL CROSS JOIN returns a result set which is the number of rows in the first table multiplied by the number of rows in the second table if no WHERE clause is used along with CROSS JOIN
![]()
SQL WHERE clause is used to specify a condition while fetching the data from a tables.
![]()
SQL Server MAX() function is an aggregate function that is used to find the Maximum or Largest value of a column .
![]()
SQL Server MIN() function is an aggregate function that is used to find the smallest or minimum value of a column
![]()
SQL Server COUNT() function is an aggreagate function that returns the number of rows in a table . It sets the number of rows or non NULL column values.
![]()
SQL Server SUM function is an aggregate that returns the sum of values for any column in a table.
![]()