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