In mysql, What is the difference between sum(a) and sum(a) over()?

前端 未结 0 1513
星月不相逢
星月不相逢 2021-01-14 05:08

I thought that both of them are used to add all the numbers up. But my code could be accepted only by using sum(a) over().

select avg(1.0*Number) median from ( select

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