Cast syntax to convert a sum to float

后端 未结 0 748
暖寄归人
暖寄归人 2021-02-11 13:13

Using PostgreSQL 9.3, I want to convert the calculated values to data type float.

My first attempt:

SELECT float(SUM(Seconds))/-1323 AS Aver         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题