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