Somehow, you have gotten your versions out if sync with your database.
The table referred to in the error, "questionnaire_attempts", was removed in version 2018050102, and released in 3.5.1. If you upgraded from 3.5.0, the table would be removed during that upgrade. The error is indicating that it can't find the table, meaning it was already removed before you started the upgrade.
Did you have a partial upgrade fail at some point? Did you manually change your database?