@mbabker Added files using a subquery. Can you maybe try them?
I know it didn't work in MySQL because you can't have a subquery selecting from the same table you try to update. That's why I came up with that tricky query. But it may of course work for PostgreSQL and SQL. I just don't know :smile: