SQL problem
465334Apr 12 2007 — edited Apr 14 2007Hi,
I have a table which has data in following format:
Name Indicator
A Y
A N
A N
B N
B N
C N
C N
D Y
D N
Now I have pick the names where indicator is N only.
If there is any Y with that name I have discard those records.
So from following example I should be picking name B and C.
I am unable to form a SQL query for this condition.
Please Help!!
Cheers