Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_name_85 (altitude__mslm_ INTEGER, density__inhabitants_km_2__ VARCHAR, rank VARCHAR)

### Question ###
Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1233, and a Rank of 9th?

### Accurate SQL ###

SELECT SUM(altitude__mslm_) FROM table_name_85 WHERE density__inhabitants_km_2__ < 1233 AND rank = "9th"