Código SQL [-] select sum(fecha) / (select count(fecha)) where ...
select sum(fecha) / (select count(fecha)) where ...