Solution found
SELECT phonebook-bad.Nome from phonebook-bad where phonebook-bad.telefono='102004' union all SELECT phonebook-good.Nome from phonebook-good where phonebook-good.telefono='102004'
In this case if phonebook.good contain the number 102004 return me "Giulio" if missing I can take it from other table.