9. Simple Nested Expression for TADB List Group Attributes

Purpose

Determine the number of specified parts.

Assumptions

There is one List group (in the expression), defined as follows.

Parts Attributes include quantity, id.

Query Expression

Parts(id=’id1’).quantity

Where

Criteria Is/are the:
id Nested Parts list group attribute (Parts.id)
'id1' Part name
quantity List group attribute

Query Expression says:

Return the quantity of id1 parts.

Query Expression Results

The results for the above attribute list might look like this:

1 55

The quantity of the part id1 is 55.  

Note: Anything you can do in the sub-expressions mentioned in section 3 can be done in these sub-expressions.