Hey Everyone -
What would be the best way to sort data that has common fields? Here is my example:
Feature Date Order Number
=============== =============== =============
FLCHS 20070814 073576
STRCH 20070814 073576
AA10 20070814 073576
What I need is just one of the Items under feature based on a Hierarchy of the features. Its from the same order and I have to figure out how to build my query to say " IF features share the same Order Number, THEN check IF AA10 and FLCHS THEN Return only the STRCH. This customer is only getting STRCH and when I do a COUNT on this Order Number it returns "3" Items instead of just "1" which it should be just one and not 3. I need Logic to filter out the FLCHS and AA10. Any Ideas?
Thanks
What would be the best way to sort data that has common fields? Here is my example:
Feature Date Order Number
=============== =============== =============
FLCHS 20070814 073576
STRCH 20070814 073576
AA10 20070814 073576
What I need is just one of the Items under feature based on a Hierarchy of the features. Its from the same order and I have to figure out how to build my query to say " IF features share the same Order Number, THEN check IF AA10 and FLCHS THEN Return only the STRCH. This customer is only getting STRCH and when I do a COUNT on this Order Number it returns "3" Items instead of just "1" which it should be just one and not 3. I need Logic to filter out the FLCHS and AA10. Any Ideas?
Thanks
Comment