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