5
Answers

Need help

Ravi Shekhar

Ravi Shekhar

11y
1k
1


I have a table contain data like

PicklistNo                 Status

PKL019000                LOD
PKL019000                LOD
PKL019000                LOD
PKL019000                LOD
PKL019000                WIP


If any status contain Wip it give no result.

I used query :-

Select  DISTINCT PickListNo,status from tablename WHERE  PickListNo='PKL019000' and Status='LOD'


It gives me result. But I dont want any row if any row status contain WIP
Answers (5)