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='83b55b1a9e2a945224c7a7df2e4c11f8'' at line 1