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