79833768

Date: 2025-11-30 08:49:25
Score: 0.5
Natty:
Report link

Partial matching with LIKE

If one name contains the other:

SELECT t1.name, t1.surname1, t1.id, t2.name1, t2.origin
FROM table1 t1
LEFT JOIN table2 t2 ON t1.name LIKE '%' || t2.name1 || '%' 
                    OR t2.name1 LIKE '%' || t1.name || '%';
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shir