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.
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.