How to replace multiple fields values with values from another table? – Postgresql
I have two tables: TableA Id Status User 1 15 111 2 15 111 3 15 111 And TableB which contains history of status changes from previous table: Id IdA Status Date 1 1 10 2023-01-18 2 1 30 2022-12-18…