UPDATE calculation
LEFT JOIN transportorders ON calculation.ataid = transportorders.nr
LEFT JOIN partner ON partner.taid = transportorders.nr
AND calculation.FZZAEHLER=ATAFRACHTZAHLER.FZZAEHLER
SET calculation.BABRECHNUNGSINFO = '.....'
WHERE calculation.ataid IN
(SELECT transportorders.nr
FROM transportorders
WHERE transportorders.tournr = '212041')
AND partner.kundenid = '2486909';
I am trying this code, but it gives me an error that SET keyword is not found. Which means the joins are not as they should be. How do I make this selection in UPDATE? Regular SELECT works fine with the same tables.