G
Guest
I need some help trying to figure out how to do something. In table rows
when the data has the same NHA and PART, the ITEM_NO should be equal.(see
sample data) I am trying to figure out how to write such a query where I can
bring back results of the NHA, Part and Item_no if the Item_no do not match.
I am trying to catch user entry errors. This is on one table. Any Ideas?
(At least until I can get the company to normalize their data)
Sample data (Bad data Item_no should be same)
NHA PART ITEM_NO
10190635-2 10190642-1 002
10190635-2 10190642-1 003
Sample data (Proper Data)
NHA PART ITEM_NO
10190635-2 10190642-1 002
10190635-2 10190642-1 002
when the data has the same NHA and PART, the ITEM_NO should be equal.(see
sample data) I am trying to figure out how to write such a query where I can
bring back results of the NHA, Part and Item_no if the Item_no do not match.
I am trying to catch user entry errors. This is on one table. Any Ideas?
(At least until I can get the company to normalize their data)
Sample data (Bad data Item_no should be same)
NHA PART ITEM_NO
10190635-2 10190642-1 002
10190635-2 10190642-1 003
Sample data (Proper Data)
NHA PART ITEM_NO
10190635-2 10190642-1 002
10190635-2 10190642-1 002