Question: List the area codes in which voters voted both for the contestant 'Tabatha Gehling' and the contestant 'Kelly Clauss'.

area_code_state : area_code (number) , state (text) | contestants : contestant_number (number) , contestant_name (text) | votes : vote_id (number) , phone_number (number) , state (text) , contestant_number (number) , created (time)

area_code_state : area_code (number) , state (text) | contestants : contestant_number (number) , contestant_name (text) | votes : contestant_number (number) , state (text)


Question: Return the names of the contestants whose names contain the substring 'Al' .

area_code_state : area_code (number) , state (text) | contestants : contestant_number (number) , contestant_name (text) | votes : vote_id (number) , phone_number (number) , state (text) , contestant_number (number) , created (time)


Question: What are the names of all the countries that became independent after 1950?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , indepyear (number)


Question: Give the names of the nations that were founded after 1950.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , indepyear (number)


Question: How many countries have a republic as their form of government?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : governmentform (text) , code (text)


Question: How many countries have governments that are republics?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : governmentform (text) , code (text)


Question: What is the total surface area of the countries in the Caribbean region?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : surfacearea (number) , region (text)


Question: How much surface area do the countires in the Carribean cover together?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : surfacearea (number) , region (text)


Question: Which continent is Anguilla in?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : continent (text) , name (text)


Question: What is the continent name which Anguilla belongs to?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : continent (text) , name (text)


Question: Which region is the city Kabul located in?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : region (text) , code (text) , name (text) | city : countrycode (text) , name (text)


Question: What region is Kabul in?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : region (text) , code (text) , name (text) | city : countrycode (text) , name (text)


Question: Which language is the most popular in Aruba?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) , percentage (number) | country : code (text) , name (text)


Question: What language is predominantly spoken in Aruba?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) , percentage (number) | country : code (text) , name (text)


Question: What are the population and life expectancies in Brazil?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : population (number) , lifeexpectancy (number) , name (text)


Question: Give me Brazil’s population and life expectancies.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : population (number) , lifeexpectancy (number) , name (text)


Question: What are the region and population of Angola?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : population (number) , region (text) , name (text)


Question: What region does Angola belong to and what is its population?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : population (number) , region (text) , name (text)


Question: What is the average expected life expectancy for countries in the region of Central Africa?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : lifeexpectancy (number) , region (text)


Question: How long is the people’s average life expectancy in Central Africa?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : lifeexpectancy (number) , region (text)


Question: What is the name of country that has the shortest life expectancy in Asia?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , continent (text) , lifeexpectancy (number)


Question: Give the name of the country in Asia with the lowest life expectancy.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , continent (text) , lifeexpectancy (number)


Question: What is the total population and maximum GNP in Asia?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : population (number) , gnp (number) , continent (text)


Question: How many people live in Asia, and what is the largest GNP among them?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : population (number) , gnp (number) , continent (text)


Question: What is the average life expectancy in African countries that are republics?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : lifeexpectancy (number) , continent (text) , governmentform (text)


Question: Give the average life expectancy for countries in Africa which are republics?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : lifeexpectancy (number) , continent (text) , governmentform (text)


Question: What is the total surface area of the continents Asia and Europe?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : surfacearea (number) , continent (text)


Question: Give the total surface area covered by countries in Asia or Europe.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : surfacearea (number) , continent (text)


Question: How many people live in Gelderland district?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

city : population (number) , district (text)


Question: What is the total population of Gelderland district?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

city : population (number) , district (text)


Question: What is the average GNP and total population in all nations whose government is US territory?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : gnp (number) , population (number) , governmentform (text)


Question: Give the mean GNP and total population of nations which are considered US territory.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : gnp (number) , population (number) , governmentform (text)


Question: How many unique languages are spoken in the world?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)


Question: What is the number of distinct languages used around the world?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)


Question: How many type of governments are in Africa?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : governmentform (text) , continent (text)


Question: How many different forms of governments are there in Africa?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : governmentform (text) , continent (text)


Question: What is the total number of languages used in Aruba?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) | country : code (text) , name (text)


Question: How many languages are spoken in Aruba?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) | country : code (text) , name (text)


Question: How many official languages does Afghanistan have?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : code (text) , name (text) | countrylanguage : countrycode (text) , isofficial (text)


Question: How many official languages are spoken in Afghanistan?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : code (text) , name (text) | countrylanguage : countrycode (text) , isofficial (text)


Question: What is name of the country that speaks the largest number of languages?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , code (text) | countrylanguage : countrycode (text)


Question: Give the name of the nation that uses the greatest amount of languages.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , code (text) | countrylanguage : countrycode (text)


Question: Which continent has the most diverse languages?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : continent (text) , code (text) | countrylanguage : countrycode (text)


Question: Which continent speaks the most languages?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : continent (text) , code (text) | countrylanguage : countrycode (text)


Question: How many countries speak both English and Dutch?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , code (text) | countrylanguage : countrycode (text) , language (text)


Question: What is the number of nations that use English and Dutch?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , code (text) | countrylanguage : countrycode (text) , language (text)


Question: What are the names of nations speak both English and French?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , code (text) | countrylanguage : countrycode (text) , language (text)


Question: Give the names of nations that speak both English and French.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , code (text) | countrylanguage : countrycode (text) , language (text)


Question: What are the names of nations where both English and French are official languages?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , code (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text)


Question: Give the names of countries with English and French as official languages.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , code (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text)


Question: What is the number of distinct continents where Chinese is spoken?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : continent (text) , code (text) | countrylanguage : countrycode (text) , language (text)


Question: How many continents speak Chinese?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : continent (text) , code (text) | countrylanguage : countrycode (text) , language (text)


Question: What are the regions that use English or Dutch?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : region (text) , code (text) | countrylanguage : countrycode (text) , language (text)


Question: Which regions speak Dutch or English?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : region (text) , code (text) | countrylanguage : countrycode (text) , language (text)


Question: What are the countries where either English or Dutch is the official language ?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , code (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text)


Question: Which countries have either English or Dutch as an official language?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : code (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text)


Question: Which language is the most popular on the Asian continent?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) | country : code (text) , continent (text)


Question: What is the language that is used by the largest number of Asian nations?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) | country : code (text) , continent (text)


Question: Which languages are spoken by only one country in republic governments?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) | country : code (text) , governmentform (text)


Question: What languages are only used by a single country with a republic government?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) | country : code (text) , governmentform (text)


Question: Find the city with the largest population that uses English.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

city : name (text) , population (number) , countrycode (text) | countrylanguage : countrycode (text) , language (text)


Question: What is the most populace city that speaks English?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

city : name (text) , population (number) , countrycode (text) | countrylanguage : countrycode (text) , language (text)


Question: Find the name, population and expected life length of asian country with the largest area?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , population (number) , lifeexpectancy (number) , continent (text) , surfacearea (number)


Question: What are the name, population, and life expectancy of the largest Asian country by land?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , population (number) , lifeexpectancy (number) , continent (text) , surfacearea (number)


Question: What is average life expectancy in the countries where English is not the official language?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : lifeexpectancy (number) , name (text) , code (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text)


Question: Give the mean life expectancy of countries in which English is not the official language.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : lifeexpectancy (number) , name (text) , code (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text)


Question: What is the total number of people living in the nations that do not use English?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : population (number) , name (text) , code (text) | countrylanguage : countrycode (text) , language (text)


Question: How many people live in countries that do not speak English?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : population (number) , name (text) , code (text) | countrylanguage : countrycode (text) , language (text)


Question: What is the official language spoken in the country whose head of state is Beatrix?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) , isofficial (text) | country : code (text) , headofstate (text)


Question: What is the official language used in the country the name of whose head of state is Beatrix.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) , isofficial (text) | country : code (text) , headofstate (text)


Question: What is the total number of unique official languages spoken in the countries that are founded before 1930?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) , isofficial (text) | country : code (text) , indepyear (number)


Question: For the countries founded before 1930, what is the total number of distinct official languages?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) , isofficial (text) | country : code (text) , indepyear (number)


Question: What are the countries that have greater surface area than any country in Europe?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , surfacearea (number) , continent (text)


Question: Which countries have greater area than that of any country in Europe?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , surfacearea (number) , continent (text)


Question: What are the African countries that have a  population less than any country in Asia?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , continent (text) , population (number)


Question: Which African countries have a smaller population than that of any country in Asia?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , continent (text) , population (number)


Question: Which Asian countries have a population that is larger than any country in Africa?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , continent (text) , population (number)


Question: What are the Asian countries which have a population larger than that of any country in Africa?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , continent (text) , population (number)


Question: What are the country codes for countries that do not speak English?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)


Question: Return the country codes for countries that do not speak English.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)


Question: What are the country codes of countries where people use languages other than English?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)


Question: Give the country codes for countries in which people speak langauges that are not English.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)


Question: What are the codes of the countries that do not speak English and whose government forms are not Republic?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : code (text) , governmentform (text) | countrylanguage : countrycode (text) , language (text)


Question: Return the codes of countries that do not speak English and do not have Republics for governments.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : code (text) , governmentform (text) | countrylanguage : countrycode (text) , language (text)


Question: Which cities are in European countries where English is not the official language?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

city : name (text) , countrycode (text) | country : name (text) , code (text) , continent (text) | countrylanguage : countrycode (text) , isofficial (text) , language (text)


Question: What are the names of cities in Europe for which English is not the official language?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

city : name (text) , countrycode (text) | country : name (text) , code (text) , continent (text) | countrylanguage : countrycode (text) , isofficial (text) , language (text)


Question: Which unique cities are in Asian countries where Chinese is the official language ?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

city : name (text) , countrycode (text) | country : name (text) , code (text) , continent (text) | countrylanguage : countrycode (text) , isofficial (text) , language (text)


Question: Return the different names of cities that are in Asia and for which Chinese is the official language.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

city : name (text) , countrycode (text) | country : name (text) , code (text) , continent (text) | countrylanguage : countrycode (text) , isofficial (text) , language (text)


Question: What are the name, independence year, and surface area of the country with the smallest population?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , surfacearea (number) , indepyear (number) , population (number)


Question: Give the name, year of independence, and surface area of the country that has the lowest population.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , surfacearea (number) , indepyear (number) , population (number)


Question: What are the population, name and leader of the country with the largest area?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , population (number) , headofstate (text) , surfacearea (number)


Question: Give the name, population, and head of state for the country that has the largest area.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , population (number) , headofstate (text) , surfacearea (number)


Question: Return the country name and the numbers of languages spoken for each country that speaks at least 3 languages.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) | country : name (text) , code (text)


Question: What are the names of countries that speak more than 2 languages, as well as how many languages they speak?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) | country : name (text) , code (text)


Question: Find the number of cities in each district whose population is greater than the average population of cities?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

city : district (text) , population (number) , id (number)


Question: How many cities in each district have a population that is above the average population across all cities?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

city : district (text) , population (number) , id (number)


Question: Find the government form name and total population for each government form whose average life expectancy is longer than 72.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : population (number) , governmentform (text) , lifeexpectancy (number)


Question: What are the different government forms and what is the total population of each for government forms that have an average life expectancy greater than 72?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : population (number) , governmentform (text) , lifeexpectancy (number)


Question: Find the average life expectancy and total population for each continent where the average life expectancy is shorter than 72?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : population (number) , lifeexpectancy (number) , continent (text)


Question: What are the different continents and the total popuation and average life expectancy corresponding to each, for continents that have an average life expectancy less than 72?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : population (number) , lifeexpectancy (number) , continent (text)


Question: What are the names and areas of countries with the top 5 largest area?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , surfacearea (number)


Question: Return the names and surface areas of the 5 largest countries.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , surfacearea (number)


Question: What are names of countries with the top 3 largest population?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , population (number)


Question: Return the names of the 3 most populated countries.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , population (number)


Question: What are the names of the nations with the 3 lowest populations?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , population (number)


Question: Return the names of the 3 countries with the fewest people.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , population (number)


Question: how many countries are in Asia?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : continent (text) , code (text)


Question: Count the number of countries in Asia.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : continent (text) , code (text)


Question: What are the names of the countries that are in the continent of Europe and have a population of 80000?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , continent (text) , population (number)


Question: Give the names of countries that are in Europe and have a population equal to 80000.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : name (text) , continent (text) , population (number)


Question: What is the total population and average area of countries in the continent of North America whose area is bigger than 3000 ?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : population (number) , surfacearea (number) , continent (text)


Question: Give the total population and average surface area corresponding to countries in North America that have a surface area greater than 3000 .

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

country : population (number) , surfacearea (number) , continent (text)


Question: What are the cities whose population is between 160000 and 900000?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

city : name (text) , population (number)


Question: Return the names of cities that have a population between 160000 and 900000 .

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

city : name (text) , population (number)


Question: Which language is spoken by the largest number of countries?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text)


Question: Give the language that is spoken in the most countries.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text)


Question: What is the language spoken by the largest percentage of people in each country?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) , percentage (number)


Question: What are the country codes of the different countries, and what are the languages spoken by the greatest percentage of people for each?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : language (text) , countrycode (text) , percentage (number)


Question: What is the total number of countries where Spanish is spoken by the largest percentage of people?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : percentage (number) , language (text) , countrycode (text)


Question: Count the number of countries for which Spanish is the predominantly spoken language.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : percentage (number) , language (text) , countrycode (text)


Question: What are the codes of countries where Spanish is spoken by the largest percentage of people?

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : countrycode (text) , percentage (number) , language (text)


Question: Return the codes of countries for which Spanish is the predominantly spoken language.

city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)

countrylanguage : countrycode (text) , percentage (number) , language (text)


Question: How many conductors are there?

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)


Question: Count the number of conductors.

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)


Question: List the names of conductors in ascending order of age.

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)


Question: What are the names of conductors, ordered by age?

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)


Question: What are the names of conductors whose nationalities are not "USA"?

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)

conductor : name (text) , nationality (text)


Question: Return the names of conductors that do not have the nationality "USA".

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)

conductor : name (text) , nationality (text)


Question: What are the record companies of orchestras in descending order of years in which they were founded?

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)

orchestra : record_company (text) , orchestra (text) , year_of_founded (number)


Question: Return the record companies of orchestras, sorted descending by the years in which they were founded.

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)

orchestra : record_company (text) , orchestra (text) , year_of_founded (number)


Question: What is the average attendance of shows?

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)


Question: Return the average attendance across all shows.

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)


Question: What are the maximum and minimum share of performances whose type is not "Live final".

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)

performance : share (text) , type (text)


Question: Return the maximum and minimum shares for performances that do not have the type "Live final".

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)

performance : share (text) , type (text)


Question: How many different nationalities do conductors have?

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)


Question: Count the number of different nationalities of conductors.

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)


Question: List names of conductors in descending order of years of work.

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)

conductor : name (text) , year_of_work (number)


Question: What are the names of conductors, sorted descending by the number of years they have worked?

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)

conductor : name (text) , year_of_work (number)


Question: List the name of the conductor with the most years of work.

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)

conductor : name (text) , year_of_work (number)


Question: What is the name of the conductor who has worked the greatest number of years?

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)

conductor : name (text) , year_of_work (number)


Question: Show the names of conductors and the orchestras they have conducted.

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)

conductor : name (text) , conductor_id (number) | orchestra : orchestra (text) , conductor_id (number)


Question: What are the names of conductors as well as the corresonding orchestras that they have conducted?

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)

conductor : name (text) , conductor_id (number) | orchestra : orchestra (text) , conductor_id (number)


Question: Show the names of conductors that have conducted more than one orchestras.

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)

conductor : name (text) , conductor_id (number) | orchestra : orchestra (text) , conductor_id (number) , orchestra_id (number)


Question: What are the names of conductors who have conducted at more than one orchestra?

conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)

conductor : name (text) , conductor_id (number) | orchestra : orchestra (text) , conductor_id (number) , orchestra_id (number)