I want to get the the result of specific column which the name of column is stored in array
I have an array which contain the table name and required column: