... where campo<>''

se i campi sono vuoti, se invece sono null

... where not (campo is null)