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. Definition level is selected by default. All query items are marked with the Definition level icon.
Select the query items for which you want to select the occurrence level or double-click
in each query item.
To switch the level for multiple items, click Occurrence level in the Start tab bar. The button is active only if switching to occurrence 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 Occurrence level icon.
If you click Result, the query returns a result based on the object occurrences for the items.