K
KT
What is the best way to accomplish this in a query. I have records where I
want to return only records where one returned value only is matched with one
aggregate value of another field. Tough for me to explain. Here's an
example:
1 P-0001 H
2 P-0001 H
3 P-0001 H
4 P-0002 H
5 P-0002 G
The above is a table of three fields, the first is the Primary Key. In this
example I'd want to return only records 1, 2 and 3, because the value in the
second field is identical AND all records containing this second field value
also contain identical values in the third field.
Thanks
want to return only records where one returned value only is matched with one
aggregate value of another field. Tough for me to explain. Here's an
example:
1 P-0001 H
2 P-0001 H
3 P-0001 H
4 P-0002 H
5 P-0002 G
The above is a table of three fields, the first is the Primary Key. In this
example I'd want to return only records 1, 2 and 3, because the value in the
second field is identical AND all records containing this second field value
also contain identical values in the third field.
Thanks