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