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