Below line from this page shows how to match based upon end characters.
select * from table where Name like '%es'
How could I modify the code if I want to match with multiple values. For example I have another table T2 that has column C1 and I want all values from column Name that end in values from column C1
if I want to find all Names that are in C1, I would use
select * from table where Name in (select C1 from T2)
on a similar lines I want something like below. It is a pseudo code
select * from table where Name like (select '%C1' from T2)
Column C1 and Name have thousands of values in them
postgresql,oracle,db2,sql-server, ...