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