क्योंकि आपकी सबक्वायरी (संघ का परिणाम) से आप केवल "बल्लेबाज_" कॉलम लौटा रहे हैं। आपको अपनी जरूरत के सभी कॉलम को फिर से ट्यून करना होगा:
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;