Very good, someone knows how to perform a search between two tables, where the first has several columns and search with all those columns until finding a result in another table, I explain:
Table1
| nombre | telefono1 | telefono2 | telefono3 |
|--------|-----------|-----------|-----------|
| usuri1 | 123 | 321 | 456 |
Table2
| telefono | dato1 | dato2 | dato3 |
|----------|-------|-------|-------|
| 555 | 1 | 2 | 2 |
| 456 | 2 | 5 | 3 |
I need to search through all the telephone columns (telephone1, telephone2, telephone3) until I find a result in Table2 and return the result once found.