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