You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND basketSession = 'i3m3u54fabd5s5g8j5j6nf1v44'' at line 1