BTW, MySQL AVG will always return a float, should h2 follow the common behavior ?
在 2015年4月1日星期三 UTC+8下午3:34:21,wener写道: > > But how to avoid this ? How can I get the real avg rather than implement a > new aggr function ? > > 在 2015年4月1日星期三 UTC+8下午3:28:19,Noel Grandin写道: >> >> >> >> On 2015-03-31 11:26 AM, AWe wrote: >> > We expect that AVG returns the result as float. However, it returns the >> result as Integer. >> > Any ideas? >> >> Read the documentation: >> http://h2database.com/html/functions.html#avg >> > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
