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