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