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