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