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