After you save a query in the database, you can make changes to it. First, retrieve the query from the database, then make the changes.