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_22 ( area_2006_km² INTEGER, city VARCHAR, area_1996_km² VARCHAR )

### Question ###
Which area 2006 km has a city of sopot, and an area 1996 km smaller than 17.31?

### Accurate SQL ###

SELECT MAX(area_2006_km²) FROM table_name_22 WHERE city = "sopot" AND area_1996_km² < 17.31