I am trying to run a postgresql query in which I need to join three tables as part of update query but it is giving me error on join.
UPDATE table1
join table2 on (table1.id=table2.id1)
join table3 on (table2.id2=table3.id)
SET table1.name='Test',
table3.equipment_code='ABC'
WHERE table1.id='21003';
Can you please guide me accordingly?