Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

return type for aggregate functions AVG

$
0
0

Hi,

 

What is the data type of return value for the aggregate function AVG? It’s decimal, double, float, or refers to some columns?

 

For example:

createcolumntable t1 (c1 decimal(15,2));

insertinto t1 values (1.55555);

selectavg(c1) fromt1; --> return 1.55555 or 1.55

 

Thanks

 

 

BR

Mingyin


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>