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 'sand and gravel,1563872610)' at line 1
INSERT INTO dailyvisits (position,job_id,date) VALUES ('heavy haul/gravel truck driver',city-sandpoint-comp-peak sand and gravel,1563872610)