Select statement can not usable on the db ExecuteUpdate activity

In the running process, I am getting the error “select statement can not be usable on the DB ExecuteUpdate activity” in the running process. What should I do in this situation?

After running the query, you can provide a solution by defining the question written in the executed query in a script task and giving the name of the variable you specified in the executed query.