I need to write a query that will result with a "fail" condition when one test fails. Testing results are listed in the Fail and Pass columns. One manufacturer product can have many tests. My Data is like this:
MFG Name | Code | Breaker | Fail | Pass
-----------------------------------------
ABC R 2 0 1
ABC R 1 1 0
Regardless of the Breaker value if one test fails, the entire batch fails. The result I was looking for is as follows:
MFG Name | Code | Result
-------------------------------------------
ABC R FAIL
Any help or insight you can give would be appreciated.