I have sql like this:
UPDATE "user_login a"
LEFT OUTER JOIN "p_pegawai b"
ON a.id_pegawai = b.id
SET a.password = 'Keluarga1'
WHERE b.NIP = '195812'
I have tried this : MySql Update A Joined Table
but it always give me error
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '"user_login a" LEFT OUTER JOIN "p_pegawai b" ON a.id_pegawai = b.id SET a.passw' at line 1
I am using MariaDB, not Mysql, what could go wrong with my query ?