What is a complex query?
CIs are grouped in a hierarchy where one main class contains sub-classes, which are referred to as the CI grouping. You are creating a complex query if you build connection questions from a main class and a sub-class or two separate sub-classes.
The CI Grouping field on the Connection Questions page of the license type wizard contains both the main class (which populates the CI Type field on the Map Connection Questions page of the license type wizard) as well as the sub-classes (which populate the Attribute field on the Map Connection Questions page of the license type wizard).
For more information about creating a complex query in the license type wizard, see steps 4 and 5 in the Creating a license type by using basic mode section.
For more information about the CMDB models on which license type are based, see Modeling business entities.