MySQL format result in select query

前端 未结 0 1473
旧巷少年郎
旧巷少年郎 2020-11-21 15:20

I have a statement like this:

select sum(x*y) as z

Is it possible to generate the answer without a decimal. Eg; get an answer of 5 instead of 5.0000?

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