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