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