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