Reputation: 4038
I'm looking for something like this:
SELECT german_subsidiaries.*, customers.*
FROM german_subsidiaries INNER JOIN customers
ON customers.name LIKE '%'+german_subsidiaries.searchable_name+'%'
unfortunately this doesn't work,
Any idea where I can make a like to be a part of a join statement? And to make this like operation compare two different fields?
Upvotes: 0
Views: 316