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