UPDATE payment AS p FROM income AS i, details AS d WHERE p.name = i.name AND d.department = i.department AND p.name = 'NAME'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)