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