omdat je uit je subquery (resultaat van unie) alleen de kolom "Batsman_" retourneert. je moet alle kolommen die je nodig hebt opnieuw weergeven:
select Batsman_, sum(batsman_runs)/count(player_dismissed) as Average
from
(
(select batsman as Batsman_,batsman_runs,player_dismissed from IPL_BALL_BY_BALL)
union all
(select non_striker as Batsman_,batsman_runs,player_dismissed from IPL_BALL_BY_BALL)
)
group by Batsman_
order by Average desc;