Imagine I have a table:
| id | Feature |
|---|---|
| 1 | a |
| 1 | b |
| 1 | c |
| 1 | null |
| 2 | a |
| 2 | b |
| 2 | c |
| 3 | a |
| 3 | b |
| 3 | null |
Resulting table should be:
| id | Feature | Contains null |
|---|---|---|
| 1 | a | True |
| 1 | b | True |
| 1 | c | True |
| 1 | null | True |
| 2 | a | False |
| 2 | b | False |
| 2 | c | False |
| 3 | a | True |
| 3 | b | True |
| 3 | null | True |
Because id 1 and 3 has a row in Feature column with null.