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