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