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 'asti' and course_zip='I-14100' and ((hole_name!='' and hole_name is not NULL)...' at line 1