Cast syntax to convert a sum to float

后端 未结 0 1185
时光取名叫无心
时光取名叫无心 2021-02-11 13:22

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         


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