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