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