se faccio un group by esempio

select ruolo,avg(stipendio)
from impiegati
group by ruolo

e stipendio ha un valore null il risultato e tutto null?