I'm rather positive that might perform in MySQL (my history), nonetheless it would not appear to be to work in postgres. The error I get is: This was talked about above but only via a remark..Since it's critical to obtaining the proper result publishing NEW answer that Works UPDATE work_item https://pgupdate.in/