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