Trying to find the percentage of characters that are matching between 2 columns.
Table A
ID Name
1 RICK
2 PATRICK
3 MARK.HI
Table B
ID Name
1 RICK
2 PATRCIK
3 MARK-HI
when i join both the tables (A and B), If column 'Name' matches ('RICK' in Table A = 'RICK' in Table B), then a new column called percentage should show as 100%.
If the column 'Name' does not match when I join both the tables ('PATRICK' in Table A <> 'PATRCIK' in Table B) it should show approximately by what percentage the column is not matching.
I am trying to figure out the messy data.