I have a problem statement wherein I have an input file that changes daily and I need to filter a column(Subject) based on a condition that creates a table if value : 'English' is present in the column 'Subject' then Filters only on English else when value: 'English' is not present then it does not creates any table.
INPUT1 :
| Subject | Marks |
| English | 10 |
| English | 20 |
| Maths | 30 |
| English | 20 |
| Maths | 10 |
OUTPUT1 :
| Subject | Marks |
| English | 10 |
| English | 20 |
| English | 20 |
INPUT2:
| Subject | Marks |
| Maths | 10 |
| Maths | 20 |
| Maths | 40 |
| Maths | 40 |
| | |
OUTPUT2:
'No Records for Subject: English were found'