![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 06 Jul 2006 @ 19:21:53 GMT
Could only test on Oracle:
SELECT V.ID1
FROM VINOD_2 V
GROUP BY V.ID1
HAVING COUNT (DISTINCT V.LOCATION) = (SELECT COUNT (DISTINCT
LOCATION_ID) FROM
LOCATION);
Regards, Victor
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||