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