query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
What is the average median female age of all the residential areas in the Arecibo county?
|
"ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country))
|
AVG(elevation) where alias = 'Amherst';
|
What is the average median female age of all the residential areas in the Arecibo county?
|
"ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country))
|
city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name
|
What is the average median female age of all the residential areas in the Arecibo county?
|
"ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country))
|
"Delaware" is a county; implement daylight savings refers to daylight_saving = 'Yes'
|
What is the average median female age of all the residential areas in the Arecibo county?
|
"ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country))
|
name of county refers to county
|
What is the average median female age of all the residential areas in the Arecibo county?
|
"ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country))
|
Texas is the name of the state, in which name = 'Texas'; total beneficiaries of above 10000 refer to total_beneficiaries > 10000;
|
What is the average median female age of all the residential areas in the Arecibo county?
|
"ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country))
|
"ARECIBO" is the county; highest white population refers to Max(white_population)
|
What is the average median female age of all the residential areas in the Arecibo county?
|
"ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country))
|
coordinates refer to latitude and longitude; under Allentown-Bethlehem-Easton, PA-NJ refers to CBSA_name = 'Allentown-Bethlehem-Easton, PA-NJ';
|
What is the average median female age of all the residential areas in the Arecibo county?
|
"ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country))
|
median age over 40 refers to median_age > 40
|
What is the average median female age of all the residential areas in the Arecibo county?
|
"ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country))
|
coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756'
|
What is the average median female age of all the residential areas in the Arecibo county?
|
"ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country))
|
average household income refers to avg_income_per_household; city known as "Danzig" refers to bad_alias = 'Danzig';
|
Indicate the name of the country with a population greater than 10000 in 2010.
|
population greater than 10000 in 2010 refers to population_2010 > 10000;
|
DIVIDE(SUM(total_beneficiaries), COUNT(zip_code)) where name = 'Guam';
|
Indicate the name of the country with a population greater than 10000 in 2010.
|
population greater than 10000 in 2010 refers to population_2010 > 10000;
|
Greeneville is the city;
|
Indicate the name of the country with a population greater than 10000 in 2010.
|
population greater than 10000 in 2010 refers to population_2010 > 10000;
|
"ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population))
|
Indicate the name of the country with a population greater than 10000 in 2010.
|
population greater than 10000 in 2010 refers to population_2010 > 10000;
|
city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name
|
Indicate the name of the country with a population greater than 10000 in 2010.
|
population greater than 10000 in 2010 refers to population_2010 > 10000;
|
postal points refer to zip_code; West Virginia is the name of the state, in which name = 'West Virginia';
|
Indicate the name of the country with a population greater than 10000 in 2010.
|
population greater than 10000 in 2010 refers to population_2010 > 10000;
|
CBSA officers refer to CBSA_name; postal point refers to zip_code; Oxford is the city;
|
Indicate the name of the country with a population greater than 10000 in 2010.
|
population greater than 10000 in 2010 refers to population_2010 > 10000;
|
"Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois'))
|
Indicate the name of the country with a population greater than 10000 in 2010.
|
population greater than 10000 in 2010 refers to population_2010 > 10000;
|
DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii';
|
Indicate the name of the country with a population greater than 10000 in 2010.
|
population greater than 10000 in 2010 refers to population_2010 > 10000;
|
Savoy is the city;
|
Indicate the name of the country with a population greater than 10000 in 2010.
|
population greater than 10000 in 2010 refers to population_2010 > 10000;
|
population_2020 > MULTIPLY(0.97, AVG(population_2020));
|
How many states are in the central time zone? Write their full names.
|
central time zone refers to time_zone = 'Central'
|
average female median age refers to Divide (Sum(female_median_age), Count(county))
|
How many states are in the central time zone? Write their full names.
|
central time zone refers to time_zone = 'Central'
|
city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name
|
How many states are in the central time zone? Write their full names.
|
central time zone refers to time_zone = 'Central'
|
location coordinate refers to (latitude, longitude)
|
How many states are in the central time zone? Write their full names.
|
central time zone refers to time_zone = 'Central'
|
highest average house value refers to Max(avg_house_value)
|
How many states are in the central time zone? Write their full names.
|
central time zone refers to time_zone = 'Central'
|
Asian population of 7 refers to asian_population = 7;
|
How many states are in the central time zone? Write their full names.
|
central time zone refers to time_zone = 'Central'
|
"New York" refers to state = 'NY' and name = 'New York'; 'Post Office' is the type
|
How many states are in the central time zone? Write their full names.
|
central time zone refers to time_zone = 'Central'
|
median female age of over 32 refers to median_female_age > 32
|
How many states are in the central time zone? Write their full names.
|
central time zone refers to time_zone = 'Central'
|
median age over 40 refers to median_age > 40
|
How many states are in the central time zone? Write their full names.
|
central time zone refers to time_zone = 'Central'
|
the largest water area refers to MAX(water_area);
|
How many states are in the central time zone? Write their full names.
|
central time zone refers to time_zone = 'Central'
|
"Bishopville" is the city; 'SC' is the state
|
Among the zip code under Saint Croix county, which zip code has the biggest land area?
|
biggest land area refers to Max(land_area); "SAINT CROIX" is the county
|
location coordinate refers to (latitude, longitude)
|
Among the zip code under Saint Croix county, which zip code has the biggest land area?
|
biggest land area refers to Max(land_area); "SAINT CROIX" is the county
|
zero employee refers to employees = 0
|
Among the zip code under Saint Croix county, which zip code has the biggest land area?
|
biggest land area refers to Max(land_area); "SAINT CROIX" is the county
|
Greeneville is the city;
|
Among the zip code under Saint Croix county, which zip code has the biggest land area?
|
biggest land area refers to Max(land_area); "SAINT CROIX" is the county
|
postal point of post office refers to type = 'Post Office';
|
Among the zip code under Saint Croix county, which zip code has the biggest land area?
|
biggest land area refers to Max(land_area); "SAINT CROIX" is the county
|
COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe');
|
Among the zip code under Saint Croix county, which zip code has the biggest land area?
|
biggest land area refers to Max(land_area); "SAINT CROIX" is the county
|
"ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population))
|
Among the zip code under Saint Croix county, which zip code has the biggest land area?
|
biggest land area refers to Max(land_area); "SAINT CROIX" is the county
|
"PHILLIPS" is the county; 'Montana' is the name of state
|
Among the zip code under Saint Croix county, which zip code has the biggest land area?
|
biggest land area refers to Max(land_area); "SAINT CROIX" is the county
|
name of county refers to county
|
Among the zip code under Saint Croix county, which zip code has the biggest land area?
|
biggest land area refers to Max(land_area); "SAINT CROIX" is the county
|
"Lawrenceville" is the bad_alias
|
Among the zip code under Saint Croix county, which zip code has the biggest land area?
|
biggest land area refers to Max(land_area); "SAINT CROIX" is the county
|
city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name
|
List all the bad alias for zip codes in Puerto Rico.
|
"Puerto Rico" refers to state = 'PR'
|
Texas is the name of the state, in which name = 'Texas'; total beneficiaries of above 10000 refer to total_beneficiaries > 10000;
|
List all the bad alias for zip codes in Puerto Rico.
|
"Puerto Rico" refers to state = 'PR'
|
the highest population in year 2020 refers to MAX(population_2020);
|
List all the bad alias for zip codes in Puerto Rico.
|
"Puerto Rico" refers to state = 'PR'
|
"Barre, VT" is the CBSA_name
|
List all the bad alias for zip codes in Puerto Rico.
|
"Puerto Rico" refers to state = 'PR'
|
city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name
|
List all the bad alias for zip codes in Puerto Rico.
|
"Puerto Rico" refers to state = 'PR'
|
median female age of over 32 refers to median_female_age > 32
|
List all the bad alias for zip codes in Puerto Rico.
|
"Puerto Rico" refers to state = 'PR'
|
name of county refers to county
|
List all the bad alias for zip codes in Puerto Rico.
|
"Puerto Rico" refers to state = 'PR'
|
the largest water area refers to MAX(water_area);
|
List all the bad alias for zip codes in Puerto Rico.
|
"Puerto Rico" refers to state = 'PR'
|
Dalton is the city;
|
List all the bad alias for zip codes in Puerto Rico.
|
"Puerto Rico" refers to state = 'PR'
|
over 30 employees refers to employee > 30; 'HUNTINGDON' is the county
|
List all the bad alias for zip codes in Puerto Rico.
|
"Puerto Rico" refers to state = 'PR'
|
highest average house value refers to Max(avg_house_value)
|
Provide the average elevation of the cities with alias Amherst.
|
AVG(elevation) where alias = 'Amherst';
|
postal points refer to zip_code; West Virginia is the name of the state, in which name = 'West Virginia';
|
Provide the average elevation of the cities with alias Amherst.
|
AVG(elevation) where alias = 'Amherst';
|
"URB San Joaquin" is the bad_alias
|
Provide the average elevation of the cities with alias Amherst.
|
AVG(elevation) where alias = 'Amherst';
|
"ARECIBO" is the county; total number of households refer to sum(households)
|
Provide the average elevation of the cities with alias Amherst.
|
AVG(elevation) where alias = 'Amherst';
|
"Lexington-Fayette, KY" is the CBSA_name
|
Provide the average elevation of the cities with alias Amherst.
|
AVG(elevation) where alias = 'Amherst';
|
zero employee refers to employees = 0
|
Provide the average elevation of the cities with alias Amherst.
|
AVG(elevation) where alias = 'Amherst';
|
Greeneville is the city;
|
Provide the average elevation of the cities with alias Amherst.
|
AVG(elevation) where alias = 'Amherst';
|
city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name
|
Provide the average elevation of the cities with alias Amherst.
|
AVG(elevation) where alias = 'Amherst';
|
Georgia is the name of the state, in which name = 'Georgia';
|
Provide the average elevation of the cities with alias Amherst.
|
AVG(elevation) where alias = 'Amherst';
|
"ARECIBO" is the county; highest white population refers to Max(white_population)
|
Provide the average elevation of the cities with alias Amherst.
|
AVG(elevation) where alias = 'Amherst';
|
"Alabama" is the name
|
Calculate the ratio between the number of representatives in Alabama and the number of representatives in Illinois.
|
"Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois'))
|
CBSA officers refer to CBSA_name; postal point refers to zip_code; Oxford is the city;
|
Calculate the ratio between the number of representatives in Alabama and the number of representatives in Illinois.
|
"Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois'))
|
Dalton is the city;
|
Calculate the ratio between the number of representatives in Alabama and the number of representatives in Illinois.
|
"Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois'))
|
over 30 employees refers to employee > 30; 'HUNTINGDON' is the county
|
Calculate the ratio between the number of representatives in Alabama and the number of representatives in Illinois.
|
"Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois'))
|
name of congressman implies full name which refers to first_name, last_name; Guanica is the city;
|
Calculate the ratio between the number of representatives in Alabama and the number of representatives in Illinois.
|
"Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois'))
|
average male median age refers to Divide (Sum(male_median_age), Count(county)); 'WINDHAM' is the county
|
Calculate the ratio between the number of representatives in Alabama and the number of representatives in Illinois.
|
"Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois'))
|
COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe');
|
Calculate the ratio between the number of representatives in Alabama and the number of representatives in Illinois.
|
"Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois'))
|
implement daylight savings refers to daylight_savings = 'Yes';
|
Calculate the ratio between the number of representatives in Alabama and the number of representatives in Illinois.
|
"Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois'))
|
"Lawrenceville" is the bad_alias
|
Calculate the ratio between the number of representatives in Alabama and the number of representatives in Illinois.
|
"Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois'))
|
"OUTAGAMIE" is the county
|
Calculate the ratio between the number of representatives in Alabama and the number of representatives in Illinois.
|
"Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois'))
|
Savoy is the city;
|
How many males are there in New Haven County's residential areas?
|
"NEW HAVEN" is the county; male refers to male_population
|
city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name
|
How many males are there in New Haven County's residential areas?
|
"NEW HAVEN" is the county; male refers to male_population
|
postal points refer to zip_code; unique post office types refer to type = 'Unique Post Office'; Ohio is the name of the state, in which name = 'Ohio';
|
How many males are there in New Haven County's residential areas?
|
"NEW HAVEN" is the county; male refers to male_population
|
above-average female population refers to female_population > DIVIDE(SUM(female_population), COUNT(state));
|
How many males are there in New Haven County's residential areas?
|
"NEW HAVEN" is the county; male refers to male_population
|
highest number of females refers to Max(female_population)
|
How many males are there in New Haven County's residential areas?
|
"NEW HAVEN" is the county; male refers to male_population
|
"Barre, VT" is the CBSA_name
|
How many males are there in New Haven County's residential areas?
|
"NEW HAVEN" is the county; male refers to male_population
|
Texas is the name of the state, in which name = 'Texas'; total beneficiaries of above 10000 refer to total_beneficiaries > 10000;
|
How many males are there in New Haven County's residential areas?
|
"NEW HAVEN" is the county; male refers to male_population
|
the most bad aliases refer to MAX(COUNT(bad_alias));
|
How many males are there in New Haven County's residential areas?
|
"NEW HAVEN" is the county; male refers to male_population
|
Dalton is the city;
|
How many males are there in New Haven County's residential areas?
|
"NEW HAVEN" is the county; male refers to male_population
|
"Berlin, NH" is the CBSA_name
|
How many males are there in New Haven County's residential areas?
|
"NEW HAVEN" is the county; male refers to male_population
|
"ARECIBO" is the county; highest white population refers to Max(white_population)
|
What is the area code of Phillips county in Montana?
|
"PHILLIPS" is the county; 'Montana' is the name of state
|
representative's full names refer to first_name, last_name; area which has highest population in 2020 refers to MAX(population_2020);
|
What is the area code of Phillips county in Montana?
|
"PHILLIPS" is the county; 'Montana' is the name of state
|
central time zone refers to time_zone = 'Central'
|
What is the area code of Phillips county in Montana?
|
"PHILLIPS" is the county; 'Montana' is the name of state
|
"URB San Joaquin" is the bad_alias
|
What is the area code of Phillips county in Montana?
|
"PHILLIPS" is the county; 'Montana' is the name of state
|
"ARECIBO" is the county; highest white population refers to Max(white_population)
|
What is the area code of Phillips county in Montana?
|
"PHILLIPS" is the county; 'Montana' is the name of state
|
zero employee refers to employees = 0
|
What is the area code of Phillips county in Montana?
|
"PHILLIPS" is the county; 'Montana' is the name of state
|
highest average income per household refers to Max(avg_income_per_household)
|
What is the area code of Phillips county in Montana?
|
"PHILLIPS" is the county; 'Montana' is the name of state
|
implement daylight savings refers to daylight_savings = 'Yes';
|
What is the area code of Phillips county in Montana?
|
"PHILLIPS" is the county; 'Montana' is the name of state
|
location coordinate refers to (latitude, longitude)
|
What is the area code of Phillips county in Montana?
|
"PHILLIPS" is the county; 'Montana' is the name of state
|
average household income refers to avg_income_per_household; city known as "Danzig" refers to bad_alias = 'Danzig';
|
What is the area code of Phillips county in Montana?
|
"PHILLIPS" is the county; 'Montana' is the name of state
|
Dalton is the city;
|
What is the elevation of the city belonging to Hampden, Massachusetts?
|
the county of Hampden is located in the state of Massachusetts.
|
Asian population of 7 refers to asian_population = 7;
|
What is the elevation of the city belonging to Hampden, Massachusetts?
|
the county of Hampden is located in the state of Massachusetts.
|
average female median age refers to Divide (Sum(female_median_age), Count(county))
|
What is the elevation of the city belonging to Hampden, Massachusetts?
|
the county of Hampden is located in the state of Massachusetts.
|
Georgia is the name of the state, in which name = 'Georgia';
|
What is the elevation of the city belonging to Hampden, Massachusetts?
|
the county of Hampden is located in the state of Massachusetts.
|
"Alabama" is the name
|
What is the elevation of the city belonging to Hampden, Massachusetts?
|
the county of Hampden is located in the state of Massachusetts.
|
in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type
|
What is the elevation of the city belonging to Hampden, Massachusetts?
|
the county of Hampden is located in the state of Massachusetts.
|
Savoy is the city;
|
What is the elevation of the city belonging to Hampden, Massachusetts?
|
the county of Hampden is located in the state of Massachusetts.
|
over 30 employees refers to employee > 30; 'HUNTINGDON' is the county
|
What is the elevation of the city belonging to Hampden, Massachusetts?
|
the county of Hampden is located in the state of Massachusetts.
|
"Massachusetts" is the state; zip code more than 1 area code refers to Count (zip_code) > 1
|
What is the elevation of the city belonging to Hampden, Massachusetts?
|
the county of Hampden is located in the state of Massachusetts.
|
"Puerto Rico" refers to state = 'PR'
|
What is the elevation of the city belonging to Hampden, Massachusetts?
|
the county of Hampden is located in the state of Massachusetts.
|
coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.