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