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