Using SQL2005 against Dynamics GP. I have a table that contains inventory items. We have inventory items that end with a +C and +O with the same preceeding characters. I need to generate a query that will give me a list of all +C items without correspoding +O items. How should I go about this.
Example data:
1234+C
1234+O
4567+C
9876+C
9786+O
Query should return:
4567+C
Any help or suggestions would be appreciated!
Example data:
1234+C
1234+O
4567+C
9876+C
9786+O
Query should return:
4567+C
Any help or suggestions would be appreciated!