I have some data as follows:
Group Item Date
1 1a 06/01/2009
1 1b
2 2a
2 2b
2 2c
3 3a
3 3b
3 3c
3 3d 06/05/2009
What I want to do is return a single value for the Group where ALL items in the group have a NULL date.
So in this example, I would just want to return "2", since at least one item in each of the other groups has a non-null value.
How do I accomplish this with a query or queries??
Group Item Date
1 1a 06/01/2009
1 1b
2 2a
2 2b
2 2c
3 3a
3 3b
3 3c
3 3d 06/05/2009
What I want to do is return a single value for the Group where ALL items in the group have a NULL date.
So in this example, I would just want to return "2", since at least one item in each of the other groups has a non-null value.
How do I accomplish this with a query or queries??