Dynamic field names in interface

I have this stored procedure output where the column names are dynamic and may vary according to date range and the column names also have to be printed in the interface in Appian

So can anyone help me with the way to print the field names in a dynamic way?

  Discussion posts and replies are publicly visible