| id | tag | title | status |
|---|---|---|---|
| 1 | tag1 | title | complete |
| 2 | tag2 | title | pending |
| 3 | tag3 | title | complete |
| 4 | tag4 | title | pending |
| 5 | tag1 | title | complete |
| 6 | tag2 | title | complete |
| 7 | tag4 | title | complete |
| 8 | tag2 | title | pending |
In my input table, three main fields are recorded:
- "tag", which is not unique
- "title", which is unique
- "status", which is not unique and whose values are either 'pending' or complete
I'd like to check which tags assume the value 'complete' on the "status" field for all the rows associated to that tag. If a tag has at least a 'pending' row, that tag should not be included in the output result set.
Can you help me with this task?