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='32610f06fc37c6e52e1973ea6f0d9233'' at line 1