Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Different Aggregation functions in SAP HANA
In a general scenario, it is advisable to store the table as Column store when you have to run complex OLAP queries. OLAP queries include complex calculations and different SQL aggregation functions are used in the query.
Select Sum(Sales) from table_name where Column1=’ABC’;
Aggregate Functions include −
Sum() - returns the sum of the numeric values in a given column
Max() - returns the maximum of the numeric values in a given column
Min() - returns the minimum of the numeric values in a given column
Average() - returns the average of the numeric values in a given column
Percent() - returns the percentage of the numeric values in a given column
Count() - returns the count of the numeric values in a given column
