![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 12 Jun 2008 @ 13:36:27 GMT
Here is a simple sql that I think will do what you are looking for.
SEL * FROMua_dba.Table_A
, ua_dba.Table_B
WHERE TRIM(table_b.COMENT) LIKE '%'||TRIM(table_a.animal)||'%'
AND table_b.COMENTLIKE '%'||TRIM(table_a.color)||'%'
AND table_b.PetStoreID<> table_a.PetStoreID
Kenneth Cove
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||