So I have a table like this:
|---group---|---property---|---value---|
| a | prop1 | yes |
| a | prop2 | yes |
| a | prop3 | no |
| b | prop1 | yes |
| b | prop2 | no |
| b | prop3 | no |
| c | prop1 | no |
| c | prop2 | no |
| c | prop3 | no |
I need to filter out only those groups that have yes
near prop1
.
I could use having
statement, but this would take any yes
value. The problem is that I do not have my properties as column names but as rows in a column instead. Soooo... is it even possible to do this?
There should be only groups a
and b
in my resulting table...