Saving a Query By Example 

Use

You can save your query by example in order to reuse it later.

Activities

Choose Query By Example ® Save as and assign it a name.

Result

The Visual Query is stored in the SQL Studio Objects directory and can be edited and reused there.