db_id
stringclasses
140 values
question
stringlengths
16
224
schema
stringclasses
140 values
summarized-schema
stringlengths
18
304
shrink-score
float64
0
1
storm_record
What are the names and damage in millions for storms, ordered by their max speeds descending?
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , damage_millions_usd (number) , max_speed (number)
0.75
storm_record
How many regions are affected?
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
affected_region : region_id (number)
0.916667
storm_record
Count the number of different affected regions.
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
affected_region : region_id (number)
0.916667
storm_record
Show the name for regions not affected.
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
region : region_name (text) , region_id (number) | affected_region : region_id (number)
0.75
storm_record
What are the names of regions that were not affected?
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
region : region_name (text) , region_id (number) | affected_region : region_id (number)
0.75
storm_record
Show the name for regions and the number of storms for each region.
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
region : region_name (text) , region_id (number) | affected_region : region_id (number)
0.75
storm_record
How many storms occured in each region?
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
region : region_name (text) , region_id (number) | affected_region : region_id (number)
0.75
storm_record
List the name for storms and the number of affected regions for each storm.
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , storm_id (number) | affected_region : storm_id (number) , region_id (number)
0.666667
storm_record
How many regions were affected by each storm?
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , storm_id (number) | affected_region : storm_id (number) , region_id (number)
0.666667
storm_record
What is the storm name and max speed which affected the greatest number of regions?
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , max_speed (number) , storm_id (number) | affected_region : storm_id (number) , region_id (number)
0.583333
storm_record
Return the name and max speed of the storm that affected the most regions.
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , max_speed (number) , storm_id (number) | affected_region : storm_id (number) , region_id (number)
0.583333
storm_record
Show the name of storms which don't have affected region in record.
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , storm_id (number) | affected_region : storm_id (number)
0.75
storm_record
What are the names of storms that did not affect any regions?
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , storm_id (number) | affected_region : storm_id (number)
0.75
storm_record
Show storm name with at least two regions and 10 cities affected.
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , storm_id (number) | affected_region : storm_id (number) , number_city_affected (number) , region_id (number)
0.583333
storm_record
What are the names of storms that both affected two or more regions and affected a total of 10 or more cities?
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , storm_id (number) | affected_region : storm_id (number) , number_city_affected (number) , region_id (number)
0.583333
storm_record
Show all storm names except for those with at least two affected regions.
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , storm_id (number) | affected_region : storm_id (number) , region_id (number)
0.666667
storm_record
What are the names of storms that did not affect two or more regions?
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , storm_id (number) | affected_region : storm_id (number) , region_id (number)
0.666667
storm_record
What are the region names affected by the storm with a number of deaths of least 10?
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
region : region_name (text) , region_id (number) | affected_region : region_id (number) , storm_id (number) | storm : storm_id (number) , number_deaths (number)
0.5
storm_record
Return the names of the regions affected by storms that had a death count of at least 10.
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
region : region_name (text) , region_id (number) | affected_region : region_id (number) , storm_id (number) | storm : storm_id (number) , number_deaths (number)
0.5
storm_record
Show all storm names affecting region "Denmark".
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , storm_id (number) | region : region_id (number) , region_name (text) | affected_region : region_id (number) , storm_id (number)
0.5
storm_record
What are the names of the storms that affected Denmark?
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , storm_id (number) | region : region_id (number) , region_name (text) | affected_region : region_id (number) , storm_id (number)
0.5
storm_record
Show the region name with at least two storms.
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
region : region_name (text) , region_id (number) | affected_region : region_id (number)
0.75
storm_record
What are the names of regions with two or more storms?
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
region : region_name (text) , region_id (number) | affected_region : region_id (number)
0.75
storm_record
Find the names of the regions which were affected by the storm that killed the greatest number of people.
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
region : region_name (text) , region_id (number) | affected_region : region_id (number) , storm_id (number) | storm : storm_id (number) , number_deaths (number)
0.5
storm_record
What are the names of regions that were affected by the storm in which the most people died?
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
region : region_name (text) , region_id (number) | affected_region : region_id (number) , storm_id (number) | storm : storm_id (number) , number_deaths (number)
0.5
storm_record
Find the name of the storm that affected both Afghanistan and Albania regions.
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , storm_id (number) | region : region_id (number) , region_name (text) | affected_region : region_id (number) , storm_id (number)
0.5
storm_record
What are the names of the storms that affected both the regions of Afghanistan and Albania?
storm : storm_id (number) , name (text) , dates_active (text) , max_speed (number) , damage_millions_usd (number) , number_deaths (number) | region : region_id (number) , region_code (text) , region_name (text) | affected_region : region_id (number) , storm_id (number) , number_city_affected (number)
storm : name (text) , storm_id (number) | region : region_id (number) , region_name (text) | affected_region : region_id (number) , storm_id (number)
0.5
election
How many counties are there in total?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_id (number)
0.947368
election
Count the total number of counties.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_id (number)
0.947368
election
Show the county name and population of all counties.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text) , population (number)
0.894737
election
What are the name and population of each county?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text) , population (number)
0.894737
election
Show the average population of all counties.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : population (number)
0.947368
election
On average how large is the population of the counties?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : population (number)
0.947368
election
Return the maximum and minimum population among all counties.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : population (number)
0.947368
election
What are the maximum and minimum population of the counties?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : population (number)
0.947368
election
Show all the distinct districts for elections.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : district (number)
0.947368
election
What are the distinct districts for elections?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : district (number)
0.947368
election
Show the zip code of the county with name "Howard".
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : zip_code (text) , county_name (text)
0.894737
election
What is the zip code the county named "Howard" is located in?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : zip_code (text) , county_name (text)
0.894737
election
Show the delegate from district 1 in election.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : delegate (text) , district (number)
0.894737
election
Who is the delegate of district 1 in the elections?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : delegate (text) , district (number)
0.894737
election
Show the delegate and committee information of elections.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : delegate (text) , committee (text)
0.894737
election
What are the delegate and committee information for each election record?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : delegate (text) , committee (text)
0.894737
election
How many distinct governors are there?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : governor (text) , party (text)
0.894737
election
Count the number of distinct governors.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : governor (text) , party (text)
0.894737
election
Show the lieutenant governor and comptroller from the democratic party.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : lieutenant_governor (text) , comptroller (text) , party (text)
0.842105
election
Who are the lieutenant governor and comptroller from the democratic party?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : lieutenant_governor (text) , comptroller (text) , party (text)
0.842105
election
In which distinct years was the governor "Eliot Spitzer"?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : year (number) , party (text) , governor (text)
0.842105
election
Find the distinct years when the governor was named "Eliot Spitzer".
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : year (number) , party (text) , governor (text)
0.842105
election
Show all the information about election.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : election_id (number)
0.947368
election
Return all the information for each election record.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : election_id (number)
0.947368
election
Show the delegates and the names of county they belong to.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : delegate (text) , district (number) | county : county_name (text) , county_id (number)
0.789474
election
What are the delegate and name of the county they belong to, for each county?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : delegate (text) , district (number) | county : county_name (text) , county_id (number)
0.789474
election
Which delegates are from counties with population smaller than 100000?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : delegate (text) , district (number) | county : county_id (number) , population (number)
0.789474
election
Find the delegates who are from counties with population below 100000.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : delegate (text) , district (number) | county : county_id (number) , population (number)
0.789474
election
How many distinct delegates are from counties with population larger than 50000?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : delegate (text) , district (number) | county : county_id (number) , population (number)
0.789474
election
Count the number of distinct delegates who are from counties with population above 50000.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : delegate (text) , district (number) | county : county_id (number) , population (number)
0.789474
election
What are the names of the county that the delegates on "Appropriations" committee belong to?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text) , county_id (number) | election : district (number) , committee (text)
0.789474
election
Which county do the delegates on "Appropriations" committee belong to? Give me the county names.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text) , county_id (number) | election : district (number) , committee (text)
0.789474
election
Show the delegates and the names of the party they belong to.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : delegate (text) , party (number) | party : party (text) , party_id (number)
0.789474
election
For each delegate, find the names of the party they are part of.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : delegate (text) , party (number) | party : party (text) , party_id (number)
0.789474
election
Who were the governors of the parties associated with delegates from district 1?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : governor (text) , party (text) , party_id (number) | election : party (number) , district (number)
0.736842
election
Find the parties associated with the delegates from district 1. Who served as governors of the parties?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : governor (text) , party (text) , party_id (number) | election : party (number) , district (number)
0.736842
election
Who were the comptrollers of the parties associated with the delegates from district 1 or district 2?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : comptroller (text) , party (text) , party_id (number) | election : party (number) , district (number)
0.736842
election
Find the parties associated with the delegates from district 1 or 2. Who served as comptrollers of the parties?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : comptroller (text) , party (text) , party_id (number) | election : party (number) , district (number)
0.736842
election
Return all the committees that have delegates from Democratic party.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : committee (text) , party (number) | party : party (text) , party_id (number)
0.789474
election
Which committees have delegates from the Democratic party?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : committee (text) , party (number) | party : party (text) , party_id (number)
0.789474
election
Show the name of each county along with the corresponding number of delegates from that county.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text) , county_id (number) | election : district (number) , election_id (number)
0.789474
election
For each county, find the name of the county and the number of delegates from that county.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text) , county_id (number) | election : district (number) , election_id (number)
0.789474
election
Show the name of each party and the corresponding number of delegates from that party.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : party (text) , party_id (number) | election : party (number) , election_id (number)
0.789474
election
For each party, return the name of the party and the number of delegates from that party.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : party (text) , party_id (number) | election : party (number) , election_id (number)
0.789474
election
Return the names of all counties sorted by population in ascending order.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text) , population (number)
0.894737
election
Sort the names of all counties in ascending order of population.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text) , population (number)
0.894737
election
Return the names of all counties sorted by county name in descending alphabetical order.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text)
0.947368
election
Sort the names of all counties in descending alphabetical order.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text)
0.947368
election
Show the name of the county with the biggest population.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text) , population (number)
0.894737
election
Which county has the largest population? Give me the name of the county.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text) , population (number)
0.894737
election
Show the 3 counties with the smallest population.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text) , population (number)
0.894737
election
What are the 3 counties that have the smallest population? Give me the county names.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text) , population (number)
0.894737
election
Show the names of counties that have at least two delegates.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text) , county_id (number) | election : district (number) , election_id (number)
0.789474
election
Which counties have two or more delegates? Give me the county names.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
county : county_name (text) , county_id (number) | election : district (number) , election_id (number)
0.789474
election
Show the name of the party that has at least two records.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : party (text) , party_id (number)
0.894737
election
Which party has two or more records?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : party (text) , party_id (number)
0.894737
election
Show the name of the party that has the most delegates.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : party (text) , party_id (number) | election : party (number) , election_id (number)
0.789474
election
Which party has the largest number of delegates?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : party (text) , party_id (number) | election : party (number) , election_id (number)
0.789474
election
Show the people that have been governor the most times.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : governor (text) , party (text) , party_id (number)
0.842105
election
Which people severed as governor most frequently?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : governor (text) , party (text) , party_id (number)
0.842105
election
Show the people that have been comptroller the most times and the corresponding number of times.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : comptroller (text) , party (text) , party_id (number)
0.842105
election
Which people severed as comptroller most frequently? Give me the name of the person and the frequency count.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : comptroller (text) , party (text) , party_id (number)
0.842105
election
What are the names of parties that do not have delegates in election?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : party (text) , party_id (number) | election : party (number)
0.842105
election
Which parties did not have any delegates in elections?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : party (text) , party_id (number) | election : party (number)
0.842105
election
What are the names of parties that have both delegates on "Appropriations" committee and
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : party (text) , party_id (number) | election : party (number) , committee (text)
0.789474
election
Which parties have delegates in both the "Appropriations" committee and the "Economic Matters" committee?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
party : party (text) , party_id (number) | election : party (number) , committee (text)
0.789474
election
Which committees have delegates from both democratic party and liberal party?
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : committee (text) , party (number) | party : party (text) , party_id (number)
0.789474
election
Find the committees that have delegates both from from the democratic party and the liberal party.
county : county_id (number) , county_name (text) , population (number) , zip_code (text) | party : party_id (number) , year (number) , party (text) , governor (text) , lieutenant_governor (text) , comptroller (text) , attorney_general (text) , us_senate (text) | election : election_id (number) , counties_represented (text) , district (number) , delegate (text) , party (number) , first_elected (number) , committee (text)
election : committee (text) , party (number) | party : party (text) , party_id (number)
0.789474
news_report
How many journalists are there?
event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)
journalist : journalist_id (number)
0.923077
news_report
List the names of journalists in ascending order of years working.
event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)
journalist : name (text) , years_working (number)
0.846154
news_report
What are the nationalities and ages of journalists?
event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)
journalist : nationality (text) , age (text)
0.846154
news_report
Show the names of journalists from "England" or "Wales".
event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)
journalist : name (text) , nationality (text)
0.846154
news_report
What is the average number of years spent working as a journalist?
event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)
journalist : years_working (number)
0.923077