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 'AND basketSession='19b04f10989c579309ea4baab0953f8f'' at line 1