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