instruction: A bar chart shows the distribution of Sex and the average of Weight , and group by attribute Sex, I want to rank in asc by the y-axis.
response: SELECT Sex, AVG(Weight) FROM people GROUP BY Sex ORDER BY AVG(Weight)