SET NAMES cp1250;
 UPDATE place k, wzordekr w
SET k.wzordekr = w.symbol    
WHERE k.KluczWzoruPK = w.idn AND YEAR(k.datawyplaty)=2017 AND k.wzordekr='';

UPDATE prace_zlecone k, wzordekr w
SET k.wzordekr = w.symbol    
WHERE k.KluczWzoruPK = w.idn  AND YEAR(k.datawyplaty)=2017 AND k.wzordekr='';