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 'mining,1582057846)' at line 1
INSERT INTO dailyvisits (position,job_id,date) VALUES ('process controls supervisor',city-mullan-comp-hecla mining,1582057846)