How to find missing alpha values in sets of data within same table in SQL

Posted by Jeff on Stack Overflow See other posts from Stack Overflow or by Jeff
Published on 2010-03-31T22:06:35Z Indexed on 2010/03/31 22:13 UTC
Read the original article Hit count: 129

Filed under:
|
|
|
|

I have a table of many values where one column has the WO Number, and another column has the Resource ID. I need to be able to find all the WO numbers that do not have a resource value of "RW".

Here is an example of the typical information. I need to be able to know that work order 5678 does not have an "RW" Resource ID.

WO Number - Resource ID
1234 - IN
1234 - WE
1234 - AS
1234 - RW
5678 - PR
5678 - WE
5678 - IN
5678 - AS

© Stack Overflow or respective owner

Related posts about sql

Related posts about script