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