Creo que te refieres a esto. Si haces un select * te trae todos los registros y parece ser que tu quieres agruparlos por fecha.
Código Delphi
[-]
with ZQprom do
begin
Close;
SQL.Clear;
SQL.Add('select fecha, avg(productividad) from inyeccionoee');
SQL.Add('where fecha>="'+fechaA+'" and fecha<="'+fechaB+'"');
SQL.Add('and turno="'+Cbturno.Text+'" group by fecha');
Open;
end;