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 'vista senior apartments-id-9436114,1642523791)' at line 1
INSERT INTO dailyvisits (position,job_id,date) VALUES ('housekeeper',city-sandpoint-comp-alpine vista senior apartments-id-9436114,1642523791)