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