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