The IP can return multiple values for columns based on the aliases from the Select list. The dam_describeColResAlias() method must be used to obtain the details of the column aliases. These details can be used to determine the values that are to be added to the row. The values are added to the rows using dam_addColAliasValToRow().
For more details, you can refer to the implementation of "ALIAS_TABLE" table in the memory sample at<install-dir>\oaserver810\ip\oajava\memory.