"""
 Given the natural language question and table information, generate a SQL query.
 Q) NLP:What type of pet is the youngest animal, and how much does it weigh? ; Table info:[Student(StuID,LName,Fname,Age,Sex,Major,Advisor,city_code),Has_Pet(StuID,PetID),Pets(PetID,PetType,pet_age,weight)]
 A) SELECT pettype ,  weight FROM pets ORDER BY pet_age LIMIT 1
 
 Q) NLP:How many car makers are there in each continents? List the continent name and the count.; Table info:[continents(ContId,Continent),countries(CountryId,CountryName,Continent),car_makers(Id,Maker,FullName,Country),model_list(ModelId,Maker,Model),car_names(MakeId,Model,Make),cars_data(Id,MPG,Cylinders,Edispl,Horsepower,Weight,Accelerate,Year)]
 A) SELECT T1.Continent ,  count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId  =  T2.continent JOIN car_makers AS T3 ON T2.CountryId  =  T3.Country GROUP BY T1.Continent;
 
 Q) NLP:Which model has the most version(make) of cars? ; Table info:[continents(ContId,Continent),countries(CountryId,CountryName,Continent),car_makers(Id,Maker,FullName,Country),model_list(ModelId,Maker,Model),car_names(MakeId,Model,Make),cars_data(Id,MPG,Cylinders,Edispl,Horsepower,Weight,Accelerate,Year)]
 A)
"""