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