Question: Find the name of the ships that are steered by both a captain with Midshipman rank and a captain with Lieutenant rank.

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , ship_id (number) , rank (text) , captain_id (number) | ship : name (text) , ship_id (number) , ship_id (number)


Question: What are the names of ships that are commanded by both captains with the rank of Midshipman and captains with the rank of Lieutenant?

captain : captain_id (number) , name (text) , ship_id (number) , age (text) , class (text) , rank (text) | ship : ship_id (number) , name (text) , type (text) , built_year (number) , class (text) , flag (text)

captain : name (text) , ship_id (number) , rank (text) , captain_id (number) | ship : name (text) , ship_id (number) , ship_id (number)


Question: What is id of the city that hosted events in the most recent year?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

hosting_city : host_city (text) , year (number) , year (number)


Question: Find the city that hosted some events in the most recent year. What is the id of this city?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

hosting_city : host_city (text) , year (number) , year (number)


Question: Find the match ids of the cities that hosted competition "1994 FIFA World Cup qualification"?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

match : match_id (number) , competition (text) , match_id (number) | hosting_city : match_id (number) , year (number)


Question: What is the match id of the competition called "1994 FIFA World Cup qualification"?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

match : match_id (number) , competition (text) , match_id (number) | hosting_city : match_id (number) , year (number)


Question: Find the cities which were once a host city after 2010?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , city_id (number) | hosting_city : host_city (text) , year (number) , year (number)


Question: Which cities served as a host city after 2010?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , city_id (number) | hosting_city : host_city (text) , year (number) , year (number)


Question: Which city has hosted the most events?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , city_id (number) | hosting_city : host_city (text) , year (number)


Question: Find the city that hosted the most events.

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , city_id (number) | hosting_city : host_city (text) , year (number)


Question: What is the venue of the competition "1994 FIFA World Cup qualification" hosted by "Nanjing ( Jiangsu )"?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

match : venue (text) , match_id (number) , competition (text) , match_id (number) | city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , city_id (number) | hosting_city : host_city (text) , match_id (number) , year (number)


Question: Find the venue of the competition "1994 FIFA World Cup qualification" which was hosted by "Nanjing ( Jiangsu )".

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

match : venue (text) , match_id (number) , competition (text) , match_id (number) | city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , city_id (number) | hosting_city : host_city (text) , match_id (number) , year (number)


Question: Give me the temperature of Shanghai in January.

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

temperature : jan (number) , city_id (number) , city_id (number) | city : city (text) , city_id (number) , city_id (number)


Question: What is the temperature of "Shanghai" city in January?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

temperature : jan (number) , city_id (number) , city_id (number) | city : city (text) , city_id (number) , city_id (number)


Question: What is the host year of city "Taizhou ( Zhejiang )"?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

hosting_city : year (number) , host_city (text) , year (number) | city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , city_id (number)


Question: IN which year did city "Taizhou ( Zhejiang )" serve as a host city?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

hosting_city : year (number) , host_city (text) , year (number) | city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , city_id (number)


Question: Which three cities have the largest regional population?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , regional_population (number) , city_id (number)


Question: What are the three largest cities in terms of regional population?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , regional_population (number) , city_id (number)


Question: Which city has the lowest GDP? Please list the city name and its GDP.

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , gdp (number) , city_id (number)


Question: What is the city with the smallest GDP? Return the city and its GDP.

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , gdp (number) , city_id (number)


Question: Which city has the highest temperature in February?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , feb (number) , city_id (number)


Question: In February, which city marks the highest temperature?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , feb (number) , city_id (number)


Question: Give me a list of cities whose temperature in March is lower than that in July or higher than that in Oct?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , mar (number) , jul (number) , oct (number) , city_id (number)


Question: Which cities' temperature in March is lower than that in July or higher than that in Oct?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , mar (number) , jul (number) , oct (number) , city_id (number)


Question: Give me a list of cities whose temperature in Mar is lower than that in July and which have also served as host cities?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , mar (number) , jul (number) , city_id (number) | hosting_city : host_city (text) , year (number)


Question: Which cities have lower temperature in March than in July and have been once host cities?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , mar (number) , jul (number) , city_id (number) | hosting_city : host_city (text) , year (number)


Question: Give me a list of cities whose temperature in Mar is lower than that in Dec and which have never been host cities.

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , mar (number) , dec (number) , city_id (number) | hosting_city : host_city (text) , year (number)


Question: Which cities have lower temperature in March than in Dec and have never served as host cities?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , mar (number) , dec (number) , city_id (number) | hosting_city : host_city (text) , year (number)


Question: Give me a list of cities whose temperature in Feb is higher than that in Jun or cities that were once host cities?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , feb (number) , jun (number) , city_id (number) | hosting_city : host_city (text) , year (number)


Question: Which cities have higher temperature in Feb than in Jun or have once served as host cities?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , feb (number) , jun (number) , city_id (number) | hosting_city : host_city (text) , year (number)


Question: Please give me a list of cities whose regional population is over 10000000.

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , regional_population (number) , city_id (number)


Question: Which cities have regional population above 10000000?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , regional_population (number) , city_id (number)


Question: Please give me a list of cities whose regional population is over 8000000 or under 5000000.

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , regional_population (number) , city_id (number)


Question: Which cities have regional population above 8000000 or below 5000000?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : city (text) , regional_population (number) , city_id (number)


Question: Find the number of matches in different competitions.

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

match : competition (text) , match_id (number)


Question: For each competition, count the number of matches.

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

match : competition (text) , match_id (number)


Question: List venues of all matches in the order of their dates starting from the most recent one.

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

match : venue (text) , date (text) , match_id (number)


Question: What are the venues of all the matches? Sort them in the descending order of match date.

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

match : venue (text) , date (text) , match_id (number)


Question: what is the GDP of the city with the largest population.

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : gdp (number) , city (text) , regional_population (number) , city_id (number)


Question: Find the GDP of the city with the largest regional population.

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : gdp (number) , city (text) , regional_population (number) , city_id (number)


Question: What are the GDP and population of the city that already served as a host more than once?

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : gdp (number) , regional_population (number) , city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , city_id (number) | hosting_city : host_city (text) , year (number)


Question: Which cities have served as host cities more than once? Return me their GDP and population.

city : city_id (number) , city (text) , hanzi (text) , hanyu_pinyin (text) , regional_population (number) , gdp (number) | match : match_id (number) , date (text) , venue (text) , score (text) , result (text) , competition (text) | temperature : city_id (number) , jan (number) , feb (number) , mar (number) , apr (number) , jun (number) , jul (number) , aug (number) , sep (number) , oct (number) , nov (number) , dec (number) | hosting_city : year (number) , match_id (number) , host_city (text)

city : gdp (number) , regional_population (number) , city (text) , city_id (number) , city_id (number) | temperature : city_id (number) , city_id (number) | hosting_city : host_city (text) , year (number)


Question: List every individual's first name, middle name and last name in alphabetical order by last name.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

individuals : individual_first_name (text) , individual_middle_name (text) , individual_last_name (text) , individual_id (number)


Question: What are the first, middle, and last names of all individuals, ordered by last name?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

individuals : individual_first_name (text) , individual_middle_name (text) , individual_last_name (text) , individual_id (number)


Question: List all the types of forms.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

forms : form_type_code (text) , form_id (number)


Question: What are the different types of forms?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

forms : form_type_code (text) , form_id (number)


Question: Find the name of the most popular party form.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

forms : form_name (text) , form_id (number) , form_id (number) | party_forms : form_id (number) , party_id (number)


Question: What is the name of the party form that is most common?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

forms : form_name (text) , form_id (number) , form_id (number) | party_forms : form_id (number) , party_id (number)


Question: Find the payment method and phone of the party with email "enrico09@example.com".

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

parties : payment_method_code (text) , party_phone (text) , party_email (text) , party_id (number)


Question: What is the payment method code and party phone of the party with the email 'enrico09@example.com'?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

parties : payment_method_code (text) , party_phone (text) , party_email (text) , party_id (number)


Question: Find the emails of parties with the most popular party form.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

parties : party_email (text) , party_id (number) , party_id (number) | party_addresses : party_id (number) , party_id (number) | party_forms : party_id (number) , form_id (number) , party_id (number) | forms : form_id (number) , form_id (number)


Question: What are the party emails associated with parties that used the party form that is the most common?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

parties : party_email (text) , party_id (number) , party_id (number) | party_addresses : party_id (number) , party_id (number) | party_forms : party_id (number) , form_id (number) , party_id (number) | forms : form_id (number) , form_id (number)


Question: List all the name of organizations in order of the date formed.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

organizations : organization_name (text) , date_formed (time) , organization_id (number)


Question: What are the names of organizations, ordered by the date they were formed, ascending?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

organizations : organization_name (text) , date_formed (time) , organization_id (number)


Question: Find the name of the youngest organization.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

organizations : organization_name (text) , date_formed (time) , organization_id (number)


Question: What is the name of the organization that was formed most recently?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

organizations : organization_name (text) , date_formed (time) , organization_id (number)


Question: Find the last name of the latest contact individual of the organization "Labour Party".

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

individuals : individual_last_name (text) , individual_id (number) , individual_id (number) | organizations : organization_id (number) , organization_name (text) , organization_id (number) | organization_contact_individuals : organization_id (number) , individual_id (number) , date_contact_to (time) , individual_id (number)


Question: What is the last name of the contact individual from the Labour party organization who was contacted most recently?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

individuals : individual_last_name (text) , individual_id (number) , individual_id (number) | organizations : organization_id (number) , organization_name (text) , organization_id (number) | organization_contact_individuals : organization_id (number) , individual_id (number) , date_contact_to (time) , individual_id (number)


Question: Find the last name of the first ever contact person of the organization with the highest UK Vat number.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

individuals : individual_last_name (text) , individual_id (number) , individual_id (number) | organizations : organization_id (number) , uk_vat_number (text) , organization_id (number) | organization_contact_individuals : organization_id (number) , individual_id (number) , date_contact_to (time) , individual_id (number)


Question: What is the last name of the first individual contacted from the organization with the maximum UK Vat number across all organizations?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

individuals : individual_last_name (text) , individual_id (number) , individual_id (number) | organizations : organization_id (number) , uk_vat_number (text) , organization_id (number) | organization_contact_individuals : organization_id (number) , individual_id (number) , date_contact_to (time) , individual_id (number)


Question: How many services are there?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)


Question: Count the number of services.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)


Question: Find name of the services that has never been used.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

services : service_name (text) , service_id (number) , service_id (number) | forms : service_id (number) , form_id (number) | party_services : service_id (number)


Question: What are the names of the services that have never been used?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

services : service_name (text) , service_id (number) , service_id (number) | forms : service_id (number) , form_id (number) | party_services : service_id (number)


Question: Find the name of all the cities and states.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

addresses : town_city (text) , state_province_county (text) , address_id (number)


Question: What are the names of all cities and states?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

addresses : town_city (text) , state_province_county (text) , address_id (number)


Question: How many cities are there in state "Colorado"?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

addresses : state_province_county (text) , address_id (number)


Question: Count the number of cities in the state of Colorado.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

addresses : state_province_county (text) , address_id (number)


Question: Find the payment method code used by more than 3 parties.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

parties : payment_method_code (text) , party_id (number)


Question: What are the payment method codes that have been used by more than 3 parties?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

parties : payment_method_code (text) , party_id (number)


Question: Find the name of organizations whose names contain "Party".

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

organizations : organization_name (text) , organization_id (number)


Question: What are the names of organizations that contain the word "Party"?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

organizations : organization_name (text) , organization_id (number)


Question: How many distinct payment methods are used by parties?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

parties : payment_method_code (text) , party_id (number)


Question: Count the number of different payment method codes used by parties.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

parties : payment_method_code (text) , party_id (number)


Question: Which is the email of the party that has used the services the most number of times?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

parties : party_email (text) , party_id (number) , party_id (number) | party_addresses : party_id (number) , party_id (number) | party_forms : party_id (number) , party_id (number) | party_services : customer_id (number)


Question: Return the party email that has used party services the greatest number of times.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

parties : party_email (text) , party_id (number) , party_id (number) | party_addresses : party_id (number) , party_id (number) | party_forms : party_id (number) , party_id (number) | party_services : customer_id (number)


Question: Which state can address "6862 Kaitlyn Knolls" possibly be in?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

addresses : state_province_county (text) , line_1_number_building (text) , address_id (number)


Question: Give the state corresponding to the line number building "6862 Kaitlyn Knolls".

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

addresses : state_province_county (text) , line_1_number_building (text) , address_id (number)


Question: What is the name of organization that has the greatest number of contact individuals?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

organizations : organization_name (text) , organization_id (number) , organization_id (number) | organization_contact_individuals : organization_id (number) , individual_id (number)


Question: Return the name of the organization which has the most contact individuals.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

organizations : organization_name (text) , organization_id (number) , organization_id (number) | organization_contact_individuals : organization_id (number) , individual_id (number)


Question: Find the last name of the individuals that have been contact individuals of an organization.

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

individuals : individual_last_name (text) , individual_id (number) , individual_id (number) | organization_contact_individuals : individual_id (number) , individual_id (number)


Question: What are the last names of individuals who have been contact individuals for an organization?

addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | organization_contact_individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | party_addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | party_forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | party_services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)

individuals : individual_last_name (text) , individual_id (number) , individual_id (number) | organization_contact_individuals : individual_id (number) , individual_id (number)


Question: How many drivers are there?

driver : driver_id (number) , name (text) , party (text) , home_city (text) , age (number) | school : school_id (number) , grade (text) , school (text) , location (text) , type (text) | school_bus : school_id (number) , driver_id (number) , years_working (number) , if_full_time (others)


Question: Show the name, home city, and age for all drivers.

driver : driver_id (number) , name (text) , party (text) , home_city (text) , age (number) | school : school_id (number) , grade (text) , school (text) , location (text) , type (text) | school_bus : school_id (number) , driver_id (number) , years_working (number) , if_full_time (others)

driver : name (text) , home_city (text) , age (number) , driver_id (number)


Question: Show the party and the number of drivers in each party.

driver : driver_id (number) , name (text) , party (text) , home_city (text) , age (number) | school : school_id (number) , grade (text) , school (text) , location (text) , type (text) | school_bus : school_id (number) , driver_id (number) , years_working (number) , if_full_time (others)

driver : party (text) , driver_id (number)


Question: Show the name of drivers in descending order of age.

driver : driver_id (number) , name (text) , party (text) , home_city (text) , age (number) | school : school_id (number) , grade (text) , school (text) , location (text) , type (text) | school_bus : school_id (number) , driver_id (number) , years_working (number) , if_full_time (others)

driver : name (text) , age (number) , driver_id (number)


Question: Show all different home cities.

driver : driver_id (number) , name (text) , party (text) , home_city (text) , age (number) | school : school_id (number) , grade (text) , school (text) , location (text) , type (text) | school_bus : school_id (number) , driver_id (number) , years_working (number) , if_full_time (others)

driver : home_city (text) , driver_id (number)


Question: Show the home city with the most number of drivers.

driver : driver_id (number) , name (text) , party (text) , home_city (text) , age (number) | school : school_id (number) , grade (text) , school (text) , location (text) , type (text) | school_bus : school_id (number) , driver_id (number) , years_working (number) , if_full_time (others)

driver : home_city (text) , driver_id (number)


Question: Show the party with drivers from Hartford and drivers older than 40.

driver : driver_id (number) , name (text) , party (text) , home_city (text) , age (number) | school : school_id (number) , grade (text) , school (text) , location (text) , type (text) | school_bus : school_id (number) , driver_id (number) , years_working (number) , if_full_time (others)

driver : party (text) , home_city (text) , age (number) , driver_id (number)


Question: Show home city where at least two drivers older than 40 are from.

driver : driver_id (number) , name (text) , party (text) , home_city (text) , age (number) | school : school_id (number) , grade (text) , school (text) , location (text) , type (text) | school_bus : school_id (number) , driver_id (number) , years_working (number) , if_full_time (others)

driver : home_city (text) , age (number) , driver_id (number)


Question: Show all home cities except for those having a driver older than 40.

driver : driver_id (number) , name (text) , party (text) , home_city (text) , age (number) | school : school_id (number) , grade (text) , school (text) , location (text) , type (text) | school_bus : school_id (number) , driver_id (number) , years_working (number) , if_full_time (others)

driver : home_city (text) , age (number) , driver_id (number)


Question: Show the names of the drivers without a school bus.

driver : driver_id (number) , name (text) , party (text) , home_city (text) , age (number) | school : school_id (number) , grade (text) , school (text) , location (text) , type (text) | school_bus : school_id (number) , driver_id (number) , years_working (number) , if_full_time (others)

driver : name (text) , driver_id (number) , driver_id (number) | school_bus : driver_id (number) , school_id (number)


Question: Show the types of schools that have two schools.

driver : driver_id (number) , name (text) , party (text) , home_city (text) , age (number) | school : school_id (number) , grade (text) , school (text) , location (text) , type (text) | school_bus : school_id (number) , driver_id (number) , years_working (number) , if_full_time (others)

school : type (text) , school (text) , school_id (number)


Question: Show the school name and driver name for all school buses.

driver : driver_id (number) , name (text) , party (text) , home_city (text) , age (number) | school : school_id (number) , grade (text) , school (text) , location (text) , type (text) | school_bus : school_id (number) , driver_id (number) , years_working (number) , if_full_time (others)

school : school (text) , school_id (number) , school_id (number) | driver : name (text) , driver_id (number) , driver_id (number) | school_bus : school_id (number) , driver_id (number) , school_id (number)


Question: What is the maximum, minimum and average years spent working on a school bus?

driver : driver_id (number) , name (text) , party (text) , home_city (text) , age (number) | school : school_id (number) , grade (text) , school (text) , location (text) , type (text) | school_bus : school_id (number) , driver_id (number) , years_working (number) , if_full_time (others)

school_bus : years_working (number) , school_id (number)


Question: Show the school name and type for schools without a school bus.

driver : driver_id (number) , name (text) , party (text) , home_city (text) , age (number) | school : school_id (number) , grade (text) , school (text) , location (text) , type (text) | school_bus : school_id (number) , driver_id (number) , years_working (number) , if_full_time (others)

school : school (text) , type (text) , school_id (number) , school_id (number) | school_bus : school_id (number) , school_id (number)