Function,Command : fix min/max/sum function when a value is null, rewrite explain command