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