When query definitions are saved, they appear in the "User queries" branch of the quick selection panel. Use the Selection->Save query command to save a query. The associated SQL sentence will be shown, and a query name will be asked for.