Как насчет этого?
select pitch_type, avg(pitch_speed) from your_table group by pitch_type
Кстати, пожалуйста, при указании примеров данных используйте CTE, чтобы облегчить работу для решателей:
#standardSql
with t as (
select 1 as day, 1 as inning, 'AE1' as pitcher, 'fastball' as pitch_type, 97 as pitch_speed union all
select 1 as day, 1 as inning, 'AE1' as pitcher, 'fastball' as pitch_type, 94 as pitch_speed union all
select 1 as day, 1 as inning, 'AE1' as pitcher, 'slider' as pitch_type, 83 as pitch_speed union all
select 1 as day, 2 as inning, 'AE1' as pitcher, 'fastball' as pitch_type, 96 as pitch_speed union all
select 1 as day, 2 as inning, 'AE1' as pitcher, 'slider' as pitch_type, 86 as pitch_speed union all
select 1 as day, 2 as inning, 'AE1' as pitcher, 'fastball' as pitch_type, 97 as pitch_speed
)
select pitch_type, avg(pitch_speed) from t group by pitch_type