Postgresql – UPDATE performance when JOIN produces duplicates rows for columns in SET
Consider the following example: There are 3 tables: clients (1) -> (n) orders (1) -> (n) order_updates. I want to update clients based on the corresponding order_updates with JOIN (which produces duplicates for clients data): UPDATE "clients" SET "clients"."status" =…