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