To edit an existing query:
Generally speaking, you can perform as editing operations any operation you perform to build the query. For example, you can:
See Working with the Query Builder for more information.