Setting Variables in a Query¶
Before executing a selected query, values may be supplied to variables to limit the scope of the query execution. For example, in the Queries window, click to highlight the query ’What are all the grandparent/grandson pairs?’. Click Variables to reveal the 2 variables in the query: ?Grandparent and ?Grandson. Click the Value field next to ?Grandparent and type in Dana.
Press Execute. The query will be executed with the variable ?Grandparent set to Dana, and Query Results returned will show results for grandparent Dana only.