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