This is what a table looks like
Number UniqID status
555 1 in
555 1 in
555 1 in
555 2 in
555 2 out
555 2 in
I would like to select like this
Number UniqID status
555 1 in
555 1 in
555 1 in
and only select it like that if all the same uniqIDs have status in. if one of the status says out for the same ID skip the entire thing. Also the UniqID is automatically generated
and would like to display it like
Number status
555 in