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