
SELECT State, age_number, age_value
FROM age_data
ORDER BY age_number ASC;
State = Name of state
age_number = Numerical value of a person's age
age_value Number of deaths
For some reason the graph is ordering the age_number variable incorrectly counting 10 before 2, acting as if it's a string, but age_number is a number data type. it doesn't do this, when I run it in the sql commands. How can I fix this error?