select * from tabella where campo is not null and campo2 is null