query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
What are the top 3 states with the highest Asian population? List the full names of all the representatives in the said states. | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | the highest population in year 2020 refers to MAX(population_2020); |
What are the top 3 states with the highest Asian population? List the full names of all the representatives in the said states. | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | zero employee refers to employees = 0 |
What are the top 3 states with the highest Asian population? List the full names of all the representatives in the said states. | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | postal point of post office refers to type = 'Post Office'; |
What are the top 3 states with the highest Asian population? List the full names of all the representatives in the said states. | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | median age over 40 refers to median_age > 40 |
What are the top 3 states with the highest Asian population? List the full names of all the representatives in the said states. | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | "Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois')) |
What are the top 3 states with the highest Asian population? List the full names of all the representatives in the said states. | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); |
What are the top 3 states with the highest Asian population? List the full names of all the representatives in the said states. | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | Asian population of 7 refers to asian_population = 7; |
What are the top 3 states with the highest Asian population? List the full names of all the representatives in the said states. | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | "Berlin, NH" is the CBSA_name |
What are the top 3 states with the highest Asian population? List the full names of all the representatives in the said states. | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | SUBTRACT(COUNT(type = 'P.O. Box Only'), COUNT(type = 'Post Office')) where area_code = 787; |
What are the top 3 states with the highest Asian population? List the full names of all the representatives in the said states. | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | community post office type refers to type = 'Community Post Office'; elevation above 6000 refers to elevation > 6000; |
Compare the numbers of postal points under Smith Adrian and Heck Joe. | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | "ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population)) |
Compare the numbers of postal points under Smith Adrian and Heck Joe. | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | "ARECIBO" is the county; highest white population refers to Max(white_population) |
Compare the numbers of postal points under Smith Adrian and Heck Joe. | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | "Berlin, NH" is the CBSA_name |
Compare the numbers of postal points under Smith Adrian and Heck Joe. | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | 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'; |
Compare the numbers of postal points under Smith Adrian and Heck Joe. | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | postal points refer to zip_code; West Virginia is the name of the state, in which name = 'West Virginia'; |
Compare the numbers of postal points under Smith Adrian and Heck Joe. | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | implement daylight savings refers to daylight_savings = 'Yes'; |
Compare the numbers of postal points under Smith Adrian and Heck Joe. | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | the highest population in year 2020 refers to MAX(population_2020); |
Compare the numbers of postal points under Smith Adrian and Heck Joe. | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | median age over 40 refers to median_age > 40 |
Compare the numbers of postal points under Smith Adrian and Heck Joe. | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; |
Compare the numbers of postal points under Smith Adrian and Heck Joe. | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | "PHILLIPS" is the county; 'Montana' is the name of state |
Calculate the percentage of congress representatives from the Democrat party. Among them, how many postal points are in the Hawaii state? | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; |
Calculate the percentage of congress representatives from the Democrat party. Among them, how many postal points are in the Hawaii state? | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | DIVIDE(SUBTRACT(SUM(population_2020)), SUM(population_2010)), SUM(population_2010) as percentage where county = 'ARROYO'; |
Calculate the percentage of congress representatives from the Democrat party. Among them, how many postal points are in the Hawaii state? | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | "Lexington-Fayette, KY" is the CBSA_name |
Calculate the percentage of congress representatives from the Democrat party. Among them, how many postal points are in the Hawaii state? | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | population_2020 > MULTIPLY(0.97, AVG(population_2020)); |
Calculate the percentage of congress representatives from the Democrat party. Among them, how many postal points are in the Hawaii state? | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | "ARECIBO" is the county; total number of households refer to sum(households) |
Calculate the percentage of congress representatives from the Democrat party. Among them, how many postal points are in the Hawaii state? | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | "ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population)) |
Calculate the percentage of congress representatives from the Democrat party. Among them, how many postal points are in the Hawaii state? | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | the most bad aliases refer to MAX(COUNT(bad_alias)); |
Calculate the percentage of congress representatives from the Democrat party. Among them, how many postal points are in the Hawaii state? | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | DIVIDE(SUM(households where county = 'CORYELL'), SUM(households)) as percentage; |
Calculate the percentage of congress representatives from the Democrat party. Among them, how many postal points are in the Hawaii state? | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | congress representatives' IDs refer to CID; East Springfield is the city; |
Calculate the percentage of congress representatives from the Democrat party. Among them, how many postal points are in the Hawaii state? | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | location coordinate refers to (latitude, longitude) |
Among the cities with area code 608, how many cities implement daylight savings? | implement daylight savings refers to daylight_savings = 'Yes'; | the largest water area refers to MAX(water_area); |
Among the cities with area code 608, how many cities implement daylight savings? | implement daylight savings refers to daylight_savings = 'Yes'; | name of congressman implies full name which refers to first_name, last_name; Guanica is the city; |
Among the cities with area code 608, how many cities implement daylight savings? | implement daylight savings refers to daylight_savings = 'Yes'; | "OUTAGAMIE" is the county |
Among the cities with area code 608, how many cities implement daylight savings? | implement daylight savings refers to daylight_savings = 'Yes'; | "Barre, VT" is the CBSA_name |
Among the cities with area code 608, how many cities implement daylight savings? | implement daylight savings refers to daylight_savings = 'Yes'; | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; |
Among the cities with area code 608, how many cities implement daylight savings? | implement daylight savings refers to daylight_savings = 'Yes'; | the most bad aliases refer to MAX(COUNT(bad_alias)); |
Among the cities with area code 608, how many cities implement daylight savings? | implement daylight savings refers to daylight_savings = 'Yes'; | "URB San Joaquin" is the bad_alias |
Among the cities with area code 608, how many cities implement daylight savings? | implement daylight savings refers to daylight_savings = 'Yes'; | CBSA officers refer to CBSA_name; postal point refers to zip_code; Oxford is the city; |
Among the cities with area code 608, how many cities implement daylight savings? | implement daylight savings refers to daylight_savings = 'Yes'; | median age over 40 refers to median_age > 40 |
Among the cities with area code 608, how many cities implement daylight savings? | implement daylight savings refers to daylight_savings = 'Yes'; | "Puerto Rico" refers to state = 'PR' |
List down the area code and country of the city named Savoy. | Savoy is the city; | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' |
List down the area code and country of the city named Savoy. | Savoy is the city; | name of county refers to county |
List down the area code and country of the city named Savoy. | Savoy is the city; | "ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population)) |
List down the area code and country of the city named Savoy. | Savoy is the city; | highest average house value refers to Max(avg_house_value) |
List down the area code and country of the city named Savoy. | Savoy is the city; | "New York" refers to state = 'NY' and name = 'New York'; 'Post Office' is the type |
List down the area code and country of the city named Savoy. | Savoy is the city; | DIVIDE(SUBTRACT(SUM(population_2020)), SUM(population_2010)), SUM(population_2010) as percentage where county = 'ARROYO'; |
List down the area code and country of the city named Savoy. | Savoy is the city; | name of congressman implies full name which refers to first_name, last_name; Guanica is the city; |
List down the area code and country of the city named Savoy. | Savoy is the city; | "OUTAGAMIE" is the county |
List down the area code and country of the city named Savoy. | Savoy is the city; | central time zone refers to time_zone = 'Central' |
List down the area code and country of the city named Savoy. | Savoy is the city; | "ARECIBO" is the county; highest white population refers to Max(white_population) |
In the state where Lisa Murkowski is the representative, how many cities have zero employees? | zero employee refers to employees = 0 | "ARECIBO" is the county; total number of households refer to sum(households) |
In the state where Lisa Murkowski is the representative, how many cities have zero employees? | zero employee refers to employees = 0 | highest average income per household refers to Max(avg_income_per_household) |
In the state where Lisa Murkowski is the representative, how many cities have zero employees? | zero employee refers to employees = 0 | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; |
In the state where Lisa Murkowski is the representative, how many cities have zero employees? | zero employee refers to employees = 0 | population_2020 > MULTIPLY(0.97, AVG(population_2020)); |
In the state where Lisa Murkowski is the representative, how many cities have zero employees? | zero employee refers to employees = 0 | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' |
In the state where Lisa Murkowski is the representative, how many cities have zero employees? | zero employee refers to employees = 0 | median female age of over 32 refers to median_female_age > 32 |
In the state where Lisa Murkowski is the representative, how many cities have zero employees? | zero employee refers to employees = 0 | the highest population in year 2020 refers to MAX(population_2020); |
In the state where Lisa Murkowski is the representative, how many cities have zero employees? | zero employee refers to employees = 0 | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; |
In the state where Lisa Murkowski is the representative, how many cities have zero employees? | zero employee refers to employees = 0 | "Virginia" is the state |
In the state where Lisa Murkowski is the representative, how many cities have zero employees? | zero employee refers to employees = 0 | the county of Hampden is located in the state of Massachusetts. |
Please list the zip_codes of all the residential areas in Huntingdon county with over 30 employees. | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | "NEW HAVEN" is the county; male refers to male_population |
Please list the zip_codes of all the residential areas in Huntingdon county with over 30 employees. | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | Texas is the name of the state, in which name = 'Texas'; total beneficiaries of above 10000 refer to total_beneficiaries > 10000; |
Please list the zip_codes of all the residential areas in Huntingdon county with over 30 employees. | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | CBSA officers refer to CBSA_name; postal point refers to zip_code; Oxford is the city; |
Please list the zip_codes of all the residential areas in Huntingdon county with over 30 employees. | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | location coordinate refers to (latitude, longitude) |
Please list the zip_codes of all the residential areas in Huntingdon county with over 30 employees. | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | population_2020 > MULTIPLY(0.97, AVG(population_2020)); |
Please list the zip_codes of all the residential areas in Huntingdon county with over 30 employees. | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | above-average female population refers to female_population > DIVIDE(SUM(female_population), COUNT(state)); |
Please list the zip_codes of all the residential areas in Huntingdon county with over 30 employees. | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | "PHILLIPS" is the county; 'Montana' is the name of state |
Please list the zip_codes of all the residential areas in Huntingdon county with over 30 employees. | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | "Puerto Rico" refers to state = 'PR' |
Please list the zip_codes of all the residential areas in Huntingdon county with over 30 employees. | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | precise location refers to latitude, longitude |
Please list the zip_codes of all the residential areas in Huntingdon county with over 30 employees. | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | "ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population)) |
Name 10 cities with their states that are under the Lexington-Fayette, KY office of the Canada Border Services Agency. | "Lexington-Fayette, KY" is the CBSA_name | postal point of post office refers to type = 'Post Office'; |
Name 10 cities with their states that are under the Lexington-Fayette, KY office of the Canada Border Services Agency. | "Lexington-Fayette, KY" is the CBSA_name | "Bishopville" is the city; 'SC' is the state |
Name 10 cities with their states that are under the Lexington-Fayette, KY office of the Canada Border Services Agency. | "Lexington-Fayette, KY" is the CBSA_name | 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'; |
Name 10 cities with their states that are under the Lexington-Fayette, KY office of the Canada Border Services Agency. | "Lexington-Fayette, KY" is the CBSA_name | "Puerto Rico" refers to state = 'PR' |
Name 10 cities with their states that are under the Lexington-Fayette, KY office of the Canada Border Services Agency. | "Lexington-Fayette, KY" is the CBSA_name | "ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country)) |
Name 10 cities with their states that are under the Lexington-Fayette, KY office of the Canada Border Services Agency. | "Lexington-Fayette, KY" is the CBSA_name | average household income refers to avg_income_per_household; city known as "Danzig" refers to bad_alias = 'Danzig'; |
Name 10 cities with their states that are under the Lexington-Fayette, KY office of the Canada Border Services Agency. | "Lexington-Fayette, KY" is the CBSA_name | "Berlin, NH" is the CBSA_name |
Name 10 cities with their states that are under the Lexington-Fayette, KY office of the Canada Border Services Agency. | "Lexington-Fayette, KY" is the CBSA_name | DIVIDE(SUBTRACT(SUM(population_2020)), SUM(population_2010)), SUM(population_2010) as percentage where county = 'ARROYO'; |
Name 10 cities with their states that are under the Lexington-Fayette, KY office of the Canada Border Services Agency. | "Lexington-Fayette, KY" is the CBSA_name | precise location refers to latitude, longitude |
Name 10 cities with their states that are under the Lexington-Fayette, KY office of the Canada Border Services Agency. | "Lexington-Fayette, KY" is the CBSA_name | CBSA officers refer to CBSA_name; postal point refers to zip_code; Oxford is the city; |
Tell the name of the county which is represented by Hartzler Vicky. | name of county refers to county | "Puerto Rico" refers to state = 'PR' |
Tell the name of the county which is represented by Hartzler Vicky. | name of county refers to county | location coordinate refers to (latitude, longitude) |
Tell the name of the county which is represented by Hartzler Vicky. | name of county refers to county | representative's full names refer to first_name, last_name; area which has highest population in 2020 refers to MAX(population_2020); |
Tell the name of the county which is represented by Hartzler Vicky. | name of county refers to county | "Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois')) |
Tell the name of the county which is represented by Hartzler Vicky. | name of county refers to county | "Berlin, NH" is the CBSA_name |
Tell the name of the county which is represented by Hartzler Vicky. | name of county refers to county | congress representatives' IDs refer to CID; East Springfield is the city; |
Tell the name of the county which is represented by Hartzler Vicky. | name of county refers to county | "PHILLIPS" is the county; 'Montana' is the name of state |
Tell the name of the county which is represented by Hartzler Vicky. | name of county refers to county | "New York" refers to state = 'NY' and name = 'New York'; 'Post Office' is the type |
Tell the name of the county which is represented by Hartzler Vicky. | name of county refers to county | average male median age refers to Divide (Sum(male_median_age), Count(county)); 'WINDHAM' is the county |
Tell the name of the county which is represented by Hartzler Vicky. | name of county refers to county | community post office type refers to type = 'Community Post Office'; elevation above 6000 refers to elevation > 6000; |
Which city and state has the bad alias of Lawrenceville? | "Lawrenceville" is the bad_alias | "OUTAGAMIE" is the county |
Which city and state has the bad alias of Lawrenceville? | "Lawrenceville" is the bad_alias | biggest land area refers to Max(land_area); "SAINT CROIX" is the county |
Which city and state has the bad alias of Lawrenceville? | "Lawrenceville" is the bad_alias | Dalton is the city; |
Which city and state has the bad alias of Lawrenceville? | "Lawrenceville" is the bad_alias | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); |
Which city and state has the bad alias of Lawrenceville? | "Lawrenceville" is the bad_alias | zero employee refers to employees = 0 |
Which city and state has the bad alias of Lawrenceville? | "Lawrenceville" is the bad_alias | DIVIDE(SUM(households where county = 'CORYELL'), SUM(households)) as percentage; |
Which city and state has the bad alias of Lawrenceville? | "Lawrenceville" is the bad_alias | DIVIDE(SUM(total_beneficiaries), COUNT(zip_code)) where name = 'Guam'; |
Which city and state has the bad alias of Lawrenceville? | "Lawrenceville" is the bad_alias | AVG(elevation) where alias = 'Amherst'; |
Which city and state has the bad alias of Lawrenceville? | "Lawrenceville" is the bad_alias | name of congressman implies full name which refers to first_name, last_name; Guanica is the city; |
Which city and state has the bad alias of Lawrenceville? | "Lawrenceville" is the bad_alias | congress representatives' IDs refer to CID; East Springfield is the city; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.