I've tried different cases:
where ip != NULL where ip <> NULL where ip IS NOT NULL
but it doesn't work :(
it works by tricky ears feint:
where ip >= ''