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='0fb71ab1b57f96fb113d53abc88e01ae'' at line 1