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