Task: Text to Code
Input (English): SQL: SELECT Sum ( Population ) , Avg ( Continent ) FROM country WHERE SurfaceArea > 3000
Feedback: Change continent with surface area and Also Add continent equals North America .
Output (English): SELECT sum(Population) ,  avg(SurfaceArea) FROM country WHERE Continent  =  "North America" AND SurfaceArea  >  3000