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