Comparar o valor de
phone2 com string vazia:select phone, phone2
from jewishyellow.users
where phone like '813%' and phone2<>''
Observe que
NULL valor é interpretado como false . phone2 com string vazia:select phone, phone2
from jewishyellow.users
where phone like '813%' and phone2<>''
NULL valor é interpretado como false .