Task: Text to Code
Input (English): SQL: SELECT Avg ( Population ) FROM country WHERE Continent NOT IN ( SELECT Continent FROM country WHERE LocalName = "English" )
Feedback: in step 1 , i want the name, language of countrylanguage , life expectancy , make sure t equivalent with the is official of countrylanguage.
Output (English): SELECT avg(LifeExpectancy) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English" AND T2.IsOfficial  =  "T")