instruction: Show me about the distribution of All_Home and the average of Team_ID , and group by attribute All_Home in a bar chart, and rank by the X-axis in ascending please.
response: SELECT All_Home, AVG(Team_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home