来源:https://stackoverflow.com/questions/64201804/update-column-in-postgresql-using-subquery 标签 postgresql group-by sql-update partition