CWWBQ1008E   The composite query table ''0'' must have a primary query table reference.

Explanation

The primary query table reference will be used as unique identifier for the composite query table. There must be exactly one primary query table reference defined.

User response

Define one query table reference as primary.