I am in a situation where I am using like clause to join two reference tables where table structures are below.
Table structures:
I need to get the highest length matching Department Id when I do the join using like operator.
Any help will be appreciated.
Thanks
