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