![]() |
|
Archives of the TeradataForumMessage Posted: Mon, 24 Sep 2012 @ 12:54:03 GMT
< -- Anonymously Posted: Monday, September 24, 2012 06:31 -- > Use below logic and get teh answer...
sel * from tab1 a
where not exists ( sel 'x' from tab1 b
where a.enum = b.enum
and b.enum = 100
and b.eval = 1
)
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||