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