How to select the ids following the series, for example, for every id, when condition 1 is 11,12,13 and corresponding condition 2 is null, 14, 16.
The data is as follows
id condition1 condition2
101 11 ?
101 13 14
101 15 16
102 11 ?
102 13 14
102 15 16
102 17 18
103 13 14
103 15 16
104 11 ?
104 13 14
104 15 16
104 13 14
104 15 16
105 11 ?
105 13 14
expected output
id condition1 condition2
101 11 ?
101 13 14
101 15 16
103 13 14
103 15 16
104 11 ?
104 13 14
104 15 16
104 13 14
104 15 16
thank you in advance