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