Postgres Window Functions Row Vs Column In Microsoft