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