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 ''reilly auto parts,1566304671)' at line 1
INSERT INTO dailyvisits (position,job_id,date) VALUES ('store manager in training',city-moscow-comp-o'reilly auto parts,1566304671)