For the query items Object and Connection you can define whether the query will relate to object definitions or object occurrences. Depending on the selected level, the query returns different results.
Procedure
Click Definition. Query items are each marked with the Definition level or
Occurrence level icon.
Select the query items for which you want to select the definition level or double-click
in each query item.
To switch the level for multiple items, click Definition level in the Start tab bar. The button is active only if switching to definition level is possible for the selected items.
Even if your selection is not complete, for example, because the level would have to be switched for related items, you can change the level. In this case, a message is generated and the required query items are selected automatically. To expand the selection, click Yes.
The items are marked with the Definition level icon.
If you click Result, the query returns a result based on the object definitions for the items.