Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Join two tables using like statement - response (1) by M.Saeed Khurram

$
0
0

Hi caka,
 
While looking at your data, 12345 in T1 has three 12345/1,12345 /2,12345/123, So in either left or inner you will get three values against a single value in table1, which one to use? I assume this is a sample data. Also can you please provide DDL of this table.
 
The use of string functions in join condition will lead the join to Product join. We will have to optimize it in some other way.
 


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>