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