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