Lets say If I have a CDS view with two associations .e.g.
Associations are join on demand , which essentially means , which association to execute is entirely left up to the user .
Now if we call this CDS from a select statement .
SELECT <field1> <field2> FROM <CDS_VIEW_NAME> INTO CORRESPONDING FIELDS OF TABLE @itab.
In such an above situation which association is going to be executed .