Postgres Row Number Partition Sql Syntax For Update Table Sql