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