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='26ded2f2217fd673beaa8e589cc5c646'' at line 1