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