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