Postgres Window Functions Row Number Over Order By Select Null