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