query: SELECT avg(weight) ,  pettype FROM pets GROUP BY pettype
question: What is the average weight for each type of pet?
query_toks: SELECT avg ( weight ) , pettype FROM pets GROUP BY pettype
query_toks_no_value: select avg ( weight ) , pettype from pets group by pettype
question_toks: What is the average weight for each type of pet?