Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3316

Re: Eliminate Record based on a specific condition

$
0
0

Just modifying the requirement.

 

To eliminate a record (and all its lines) based on a specific Status (status = BBB).

Each record has several status ie, AAA, ABC, BBB

TIM NY has several status, I want to eliminate this record and all lines if any line of this record has Status = BBB.

I should get the results where name = JOH NJ since it does not have the status = BBB.

 

Name          Y/N     INC     ST     SAP     Y/N     Status

TIM NY         Yes     IO     TN     SAP     No       AAA

TIM NY         Yes     IO     TN     SAP     No       ABC

TIM NY        Yes    IO     TN     SAP     No     BBB

JOH NJ        Yes      IO     NJ     SAP     No       AAA

JOH NJ       Yes       IO      NJ     SAP      No      ABC

 

So the End Result will be only

 

 

JOH NJ        Yes     IO     NJ     SAP     No       AAA

JOH NJ       Yes   IO        NJ     SAP     No      ABC


Viewing all articles
Browse latest Browse all 3316

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>