Hi,
I have the following table:
PROVID LASTNAME TYPE VERIFY
196966P TAN-CHU OFFICE 1 N
196966P TAN-CHU OFFICE 3 N
196966P TAN-CHU OFFICE 2 Y
196966P TAN-CHU OFFICE 4 N
113450S GUPTA OFFICE 1 Y
113450S GUPTA OFFICE 2 Y
332490F FAICCO OFFICE 1 N
332490F FAICCO OFFICE 3 N
What I am looking to do is get Providerid where at least one Verify equal Y and others equal N.
Based on the above example the query should give me only:
PROVID LASTNAME TYPE VERIFY
196966P TAN-CHU OFFICE 1 N
196966P TAN-CHU OFFICE 3 N
196966P TAN-CHU OFFICE 2 Y
196966P TAN-CHU OFFICE 4 N
Thanks in advance
Joseph
I have the following table:
PROVID LASTNAME TYPE VERIFY
196966P TAN-CHU OFFICE 1 N
196966P TAN-CHU OFFICE 3 N
196966P TAN-CHU OFFICE 2 Y
196966P TAN-CHU OFFICE 4 N
113450S GUPTA OFFICE 1 Y
113450S GUPTA OFFICE 2 Y
332490F FAICCO OFFICE 1 N
332490F FAICCO OFFICE 3 N
What I am looking to do is get Providerid where at least one Verify equal Y and others equal N.
Based on the above example the query should give me only:
PROVID LASTNAME TYPE VERIFY
196966P TAN-CHU OFFICE 1 N
196966P TAN-CHU OFFICE 3 N
196966P TAN-CHU OFFICE 2 Y
196966P TAN-CHU OFFICE 4 N
Thanks in advance
Joseph