After you have created the query and selected Execute, the Query window appears.
In the Query window, choose Save.
The Save Query window appears.
Specify a name for the query in the Query Name field.
In the Query Category field, specify one of the categories that appear below the field.
To create a new category, choose Manage Categories and create the new category in the window that appears.
Choose Save to save the query in the category you specified.