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,1579934645)' at line 1
INSERT INTO dailyvisits (position,job_id,date) VALUES ('store counter sales',city-ponderay-comp-o'reilly auto parts,1579934645)