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