Sql for new table "statelist" in aos_intelliship