I would like to extract only specific column data from the table. For example, in the following table I want only 'WK1' data when the loop is run
Email | WK1 | WK2 | WK3
[email protected] | 0 | 0 | 0
[email protected] | 1 | 0 | 0
Any leads on how to fetch based on the column name? the column name is not fixed and on each run it may change based on other fields.



