Datasets:
query
stringlengths 24
325
| positive
stringlengths 1
580
| negative_1
stringlengths 6
580
| negative_2
stringlengths 1
576
| negative_3
stringlengths 1
576
| negative_4
stringlengths 1
580
| negative_5
stringlengths 1
580
| negative_6
stringlengths 1
580
| negative_7
stringlengths 5
576
| negative_8
stringlengths 1
576
| negative_9
stringlengths 1
580
| negative_10
stringlengths 1
580
|
---|---|---|---|---|---|---|---|---|---|---|---|
How many zip codes are under Barre, VT? | "Barre, VT" is the CBSA_name | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' | name of county refers to county | median age over 40 refers to median_age > 40 | "PHILLIPS" is the county; 'Montana' is the name of state | name of the CBSA officer refers to CBSA_name; position of the CBSA officer refers to CBSA_type; | population greater than 10000 in 2010 refers to population_2010 > 10000; | postal points refer to zip_code; under New York-Newark-Jersey City, NY-NJ-PA refers to CBSA_name = 'New York-Newark-Jersey City, NY-NJ-PA'; | the largest water area refers to MAX(water_area); | "Wisconsin" is the state; largest land area refers to Max(land_area); full name refers to first_name, last_name; postal code refers to zip_code | "Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois')) |
What is the country and state of the city named Dalton? | Dalton is the city; | average male median age refers to Divide (Sum(male_median_age), Count(county)); 'WINDHAM' is the county | Texas is the name of the state, in which name = 'Texas'; total beneficiaries of above 10000 refer to total_beneficiaries > 10000; | precise location refers to latitude, longitude | 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)); | "ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country)) | "Barre, VT" is the CBSA_name | DIVIDE(SUBTRACT(SUM(population_2020)), SUM(population_2010)), SUM(population_2010) as percentage where county = 'ARROYO'; | community post office type refers to type = 'Community Post Office'; elevation above 6000 refers to elevation > 6000; | name of the CBSA officer refers to CBSA_name; position of the CBSA officer refers to CBSA_type; |
Which state has the most bad aliases? | the most bad aliases refer to MAX(COUNT(bad_alias)); | "NEW HAVEN" is the county; male refers to male_population | precise location refers to latitude, longitude | postal points refer to zip_code; under New York-Newark-Jersey City, NY-NJ-PA refers to CBSA_name = 'New York-Newark-Jersey City, NY-NJ-PA'; | location coordinate refers to (latitude, longitude) | highest average house value refers to Max(avg_house_value) | community post office type refers to type = 'Community Post Office'; elevation above 6000 refers to elevation > 6000; | the highest population in year 2020 refers to MAX(population_2020); | "New York" refers to state = 'NY' and name = 'New York'; 'Post Office' is the type | median female age of over 32 refers to median_female_age > 32 | "Lawrenceville" is the bad_alias |
What is the CBSA name and type in York, ME? | "York" is the city; 'ME' is the state; type refers to CBSA_type | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' | the largest water area refers to MAX(water_area); | 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'; | average household income refers to avg_income_per_household; city known as "Danzig" refers to bad_alias = 'Danzig'; | Georgia is the name of the state, in which name = 'Georgia'; | highest number of females refers to Max(female_population) | DIVIDE(SUBTRACT(SUM(population_2020)), SUM(population_2010)), SUM(population_2010) as percentage where county = 'ARROYO'; | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | congress representatives' IDs refer to CID; East Springfield is the city; | highest average house value refers to Max(avg_house_value) |
Among the residential areas with the bad alias "Internal Revenue Service", how many of them are in the Eastern time zone? | "Internal Revenue Service" is the bad_alias; in Eastern time zone refers to time_zone = 'Eastern' | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | coordinates refer to latitude and longitude; under Allentown-Bethlehem-Easton, PA-NJ refers to CBSA_name = 'Allentown-Bethlehem-Easton, PA-NJ'; | AVG(elevation) where alias = 'Amherst'; | median female age of over 32 refers to median_female_age > 32 | "Bishopville" is the city; 'SC' is the state | name of congressman implies full name which refers to first_name, last_name; Guanica is the city; | DIVIDE(SUBTRACT(SUM(population_2020)), SUM(population_2010)), SUM(population_2010) as percentage where county = 'ARROYO'; | Asian population of 7 refers to asian_population = 7; | "Berlin, NH" is the CBSA_name | median age over 40 refers to median_age > 40 |
Please list the Asian populations of all the residential areas with the bad alias "URB San Joaquin". | "URB San Joaquin" is the bad_alias | highest number of females refers to Max(female_population) | "PHILLIPS" is the county; 'Montana' is the name of state | AVG(elevation) where alias = 'Amherst'; | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | name of congressman implies full name which refers to first_name, last_name; Guanica is the city; | "ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population)) | Georgia is the name of the state, in which name = 'Georgia'; | 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'; | Savoy is the city; | DIVIDE(COUNT(zip_code where type = 'Post Office'), COUNT(zip_code)) as percentage where name = 'California'; |
State the male population for all zip code which were under the Berlin, NH CBSA. | "Berlin, NH" is the CBSA_name | population_2020 > MULTIPLY(0.97, AVG(population_2020)); | "Bishopville" is the city; 'SC' is the state | "ARECIBO" is the county; highest white population refers to Max(white_population) | average household income refers to avg_income_per_household; city known as "Danzig" refers to bad_alias = 'Danzig'; | the county of Hampden is located in the state of Massachusetts. | representative's full names refer to first_name, last_name; area which has highest population in 2020 refers to MAX(population_2020); | "Alabama" is the name | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' | "Barre, VT" is the CBSA_name | "Massachusetts" is the state; zip code more than 1 area code refers to Count (zip_code) > 1 |
List 10 cities with a median age over 40. Include their zip codes and area codes. | median age over 40 refers to median_age > 40 | "ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population)) | DIVIDE(SUBTRACT(SUM(population_2020)), SUM(population_2010)), SUM(population_2010) as percentage where county = 'ARROYO'; | postal points refer to zip_code; under New York-Newark-Jersey City, NY-NJ-PA refers to CBSA_name = 'New York-Newark-Jersey City, NY-NJ-PA'; | representative's full names refer to first_name, last_name; area which has highest population in 2020 refers to MAX(population_2020); | in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type | average male median age refers to Divide (Sum(male_median_age), Count(county)); 'WINDHAM' is the county | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' | average household income refers to avg_income_per_household; city known as "Danzig" refers to bad_alias = 'Danzig'; | coordinates refer to latitude and longitude; under Allentown-Bethlehem-Easton, PA-NJ refers to CBSA_name = 'Allentown-Bethlehem-Easton, PA-NJ'; | "ARECIBO" is the county; total number of households refer to sum(households) |
Among all the residential areas in Delaware, how many of them implement daylight saving? | "Delaware" is a county; implement daylight savings refers to daylight_saving = 'Yes' | DIVIDE(COUNT(zip_code where type = 'Post Office'), COUNT(zip_code)) as percentage where name = 'California'; | "ARECIBO" is the county; highest white population refers to Max(white_population) | highest average income per household refers to Max(avg_income_per_household) | community post office type refers to type = 'Community Post Office'; elevation above 6000 refers to elevation > 6000; | zero employee refers to employees = 0 | "Massachusetts" is the state; zip code more than 1 area code refers to Count (zip_code) > 1 | median age over 40 refers to median_age > 40 | Greeneville is the city; | "PHILLIPS" is the county; 'Montana' is the name of state | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' |
What is the average household income in the city known as "Danzig"? | average household income refers to avg_income_per_household; city known as "Danzig" refers to bad_alias = 'Danzig'; | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | "Bishopville" is the city; 'SC' is the state | congress representatives' IDs refer to CID; East Springfield is the city; | the highest population in year 2020 refers to MAX(population_2020); | postal points refer to zip_code; West Virginia is the name of the state, in which name = 'West Virginia'; | Greeneville is the city; | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; | location coordinate refers to (latitude, longitude) | "ARECIBO" is the county; highest white population refers to Max(white_population) | "Puerto Rico" refers to state = 'PR' |
Among the cities belonging to the country named Arroyo, calculate the percentage of increase in the population in these cities from 2010 to 2020. | DIVIDE(SUBTRACT(SUM(population_2020)), SUM(population_2010)), SUM(population_2010) as percentage where county = 'ARROYO'; | "Lawrenceville" is the bad_alias | the county of Hampden is located in the state of Massachusetts. | population greater than 10000 in 2010 refers to population_2010 > 10000; | average household income refers to avg_income_per_household; city known as "Danzig" refers to bad_alias = 'Danzig'; | median female age of over 32 refers to median_female_age > 32 | highest average house value refers to Max(avg_house_value) | name of the CBSA officer refers to CBSA_name; position of the CBSA officer refers to CBSA_type; | postal point of post office refers to type = 'Post Office'; | "Massachusetts" is the state; zip code more than 1 area code refers to Count (zip_code) > 1 | "Barre, VT" 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 | the highest population in year 2020 refers to MAX(population_2020); | zero employee refers to employees = 0 | postal point of post office refers to type = 'Post Office'; | median age over 40 refers to median_age > 40 | "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'); | Asian population of 7 refers to asian_population = 7; | "Berlin, NH" is the CBSA_name | SUBTRACT(COUNT(type = 'P.O. Box Only'), COUNT(type = 'Post Office')) where area_code = 787; | community post office type refers to type = 'Community Post Office'; elevation above 6000 refers to elevation > 6000; |
Provide the zip code, city, and congress representative's full names of the area which has highest population in 2020. | representative's full names refer to first_name, last_name; area which has highest population in 2020 refers to MAX(population_2020); | "Wisconsin" is the state; largest land area refers to Max(land_area); full name refers to first_name, last_name; postal code refers to zip_code | median female age of over 32 refers to median_female_age > 32 | "Virginia" is the state | in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type | coordinates refer to latitude and longitude; under Allentown-Bethlehem-Easton, PA-NJ refers to CBSA_name = 'Allentown-Bethlehem-Easton, PA-NJ'; | community post office type refers to type = 'Community Post Office'; elevation above 6000 refers to elevation > 6000; | Savoy is the city; | AVG(elevation) where alias = 'Amherst'; | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' | the county of Hampden is located in the state of Massachusetts. |
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)) | "ARECIBO" is the county; highest white population refers to Max(white_population) | "Berlin, NH" 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'; | postal points refer to zip_code; West Virginia is the name of the state, in which name = 'West Virginia'; | implement daylight savings refers to daylight_savings = 'Yes'; | the highest population in year 2020 refers to MAX(population_2020); | median age over 40 refers to median_age > 40 | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; | "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'; | DIVIDE(SUBTRACT(SUM(population_2020)), SUM(population_2010)), SUM(population_2010) as percentage where county = 'ARROYO'; | "Lexington-Fayette, KY" is the CBSA_name | population_2020 > MULTIPLY(0.97, AVG(population_2020)); | "ARECIBO" is the county; total number of households refer to sum(households) | "ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population)) | the most bad aliases refer to MAX(COUNT(bad_alias)); | DIVIDE(SUM(households where county = 'CORYELL'), SUM(households)) as percentage; | congress representatives' IDs refer to CID; East Springfield is the city; | 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); | name of congressman implies full name which refers to first_name, last_name; Guanica is the city; | "OUTAGAMIE" is the county | "Barre, VT" is the CBSA_name | 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)); | "URB San Joaquin" is the bad_alias | CBSA officers refer to CBSA_name; postal point refers to zip_code; Oxford is the city; | median age over 40 refers to median_age > 40 | "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' | name of county refers to county | "ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population)) | highest average house value refers to Max(avg_house_value) | "New York" refers to state = 'NY' and name = 'New York'; 'Post Office' is the type | DIVIDE(SUBTRACT(SUM(population_2020)), SUM(population_2010)), SUM(population_2010) as percentage where county = 'ARROYO'; | name of congressman implies full name which refers to first_name, last_name; Guanica is the city; | "OUTAGAMIE" is the county | central time zone refers to time_zone = 'Central' | "ARECIBO" is the county; highest white population refers to Max(white_population) |
Provide the zip codes and coordinates of the postal points under Allentown-Bethlehem-Easton, PA-NJ. | coordinates refer to latitude and longitude; under Allentown-Bethlehem-Easton, PA-NJ refers to CBSA_name = 'Allentown-Bethlehem-Easton, PA-NJ'; | "Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois')) | 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'; | highest average income per household refers to Max(avg_income_per_household) | population greater than 10000 in 2010 refers to population_2010 > 10000; | "Alabama" is the name | Asian population of 7 refers to asian_population = 7; | the most bad aliases refer to MAX(COUNT(bad_alias)); | "Delaware" is a county; implement daylight savings refers to daylight_saving = 'Yes' | median age over 40 refers to median_age > 40 | 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 | "ARECIBO" is the county; total number of households refer to sum(households) | highest average income per household refers to Max(avg_income_per_household) | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; | population_2020 > MULTIPLY(0.97, AVG(population_2020)); | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' | median female age of over 32 refers to median_female_age > 32 | the highest population in year 2020 refers to MAX(population_2020); | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | "Virginia" is the state | 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 | Texas is the name of the state, in which name = 'Texas'; total beneficiaries of above 10000 refer to total_beneficiaries > 10000; | CBSA officers refer to CBSA_name; postal point refers to zip_code; Oxford is the city; | location coordinate refers to (latitude, longitude) | population_2020 > MULTIPLY(0.97, AVG(population_2020)); | above-average female population refers to female_population > DIVIDE(SUM(female_population), COUNT(state)); | "PHILLIPS" is the county; 'Montana' is the name of state | "Puerto Rico" refers to state = 'PR' | precise location refers to latitude, longitude | "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'; | "Bishopville" is the city; 'SC' is the state | 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'; | "Puerto Rico" refers to state = 'PR' | "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'; | "Berlin, NH" is the CBSA_name | DIVIDE(SUBTRACT(SUM(population_2020)), SUM(population_2010)), SUM(population_2010) as percentage where county = 'ARROYO'; | precise location refers to latitude, longitude | 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' | location coordinate refers to (latitude, longitude) | representative's full names refer to first_name, last_name; area which has highest population in 2020 refers to MAX(population_2020); | "Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois')) | "Berlin, NH" is the CBSA_name | congress representatives' IDs refer to CID; East Springfield is the city; | "PHILLIPS" is the county; 'Montana' is the name of state | "New York" refers to state = 'NY' and name = 'New York'; 'Post Office' is the type | average male median age refers to Divide (Sum(male_median_age), Count(county)); 'WINDHAM' is the 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 | biggest land area refers to Max(land_area); "SAINT CROIX" is the county | Dalton is the city; | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | zero employee refers to employees = 0 | DIVIDE(SUM(households where county = 'CORYELL'), SUM(households)) as percentage; | DIVIDE(SUM(total_beneficiaries), COUNT(zip_code)) where name = 'Guam'; | AVG(elevation) where alias = 'Amherst'; | name of congressman implies full name which refers to first_name, last_name; Guanica is the city; | congress representatives' IDs refer to CID; East Springfield is the city; |
What is the area code of Bishopville, SC? | "Bishopville" is the city; 'SC' is the state | in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type | above-average female population refers to female_population > DIVIDE(SUM(female_population), COUNT(state)); | "Alabama" is the name | "Puerto Rico" refers to state = 'PR' | highest number of females refers to Max(female_population) | "Lawrenceville" is the bad_alias | "York" is the city; 'ME' is the state; type refers to CBSA_type | implement daylight savings refers to daylight_savings = 'Yes'; | "Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois')) | "Virginia" is the state |
Which city has the most bad aliases? | the most bad aliases refer to MAX(COUNT(bad_alias)); | "Lexington-Fayette, KY" is the CBSA_name | "ARECIBO" is the county; total number of households refer to sum(households) | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; | 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'; | Asian population of 7 refers to asian_population = 7; | "Lawrenceville" is the bad_alias | above-average female population refers to female_population > DIVIDE(SUM(female_population), COUNT(state)); | "Virginia" is the state | name of the CBSA officer refers to CBSA_name; position of the CBSA officer refers to CBSA_type; | in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type |
Give at least five alias of cities with a postal point of post office. | postal point of post office refers to type = 'Post Office'; | "Alabama" is the name | the highest population in year 2020 refers to MAX(population_2020); | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | population greater than 10000 in 2010 refers to population_2010 > 10000; | 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'; | SUBTRACT(COUNT(type = 'P.O. Box Only'), COUNT(type = 'Post Office')) where area_code = 787; | AVG(elevation) where alias = 'Amherst'; | Greeneville is the city; | "NEW HAVEN" is the county; male refers to male_population | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); |
What percentage of households are in "Coroyell" out of its state? | DIVIDE(SUM(households where county = 'CORYELL'), SUM(households)) as percentage; | "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'; | "Bishopville" is the city; 'SC' is the state | central time zone refers to time_zone = 'Central' | Savoy is the city; | location coordinate refers to (latitude, longitude) | the largest water area refers to MAX(water_area); | Greeneville is the city; | "York" is the city; 'ME' is the state; type refers to CBSA_type | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); |
Provide the congress representatives' IDs of the postal points in East Springfield. | congress representatives' IDs refer to CID; East Springfield is the city; | 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 | CBSA officers refer to CBSA_name; postal point refers to zip_code; Oxford is the city; | "New York" refers to state = 'NY' and name = 'New York'; 'Post Office' is the type | community post office type refers to type = 'Community Post Office'; elevation above 6000 refers to elevation > 6000; | DIVIDE(SUBTRACT(SUM(population_2020)), SUM(population_2010)), SUM(population_2010) as percentage where county = 'ARROYO'; | zero employee refers to employees = 0 | DIVIDE(SUM(total_beneficiaries), COUNT(zip_code)) where name = 'Guam'; | "Lexington-Fayette, KY" is the CBSA_name | name of the CBSA officer refers to CBSA_name; position of the CBSA officer refers to CBSA_type; |
Provide the zip codes and area codes of the postal points with the community post office type at the elevation above 6000. | community post office type refers to type = 'Community Post Office'; elevation above 6000 refers to elevation > 6000; | highest average income per household refers to Max(avg_income_per_household) | DIVIDE(SUM(total_beneficiaries), COUNT(zip_code)) where name = 'Guam'; | name of county refers to county | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | "Puerto Rico" refers to state = 'PR' | "Virginia" is the state | "ARECIBO" is the county; total number of households refer to sum(households) | representative's full names refer to first_name, last_name; postal points affiliated with Readers Digest refer to zip_code where organization = 'Readers Digest'; | zero employee refers to employees = 0 | highest number of females refers to Max(female_population) |
In which county is the residential area with the highest average income per household located? | highest average income per household refers to Max(avg_income_per_household) | "ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country)) | DIVIDE(COUNT(zip_code where type = 'Post Office'), COUNT(zip_code)) as percentage where name = 'California'; | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; | population greater than 10000 in 2010 refers to population_2010 > 10000; | in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type | SUBTRACT(COUNT(type = 'P.O. Box Only'), COUNT(type = 'Post Office')) where area_code = 787; | Savoy is the city; | highest number of females refers to Max(female_population) | location coordinate refers to (latitude, longitude) | highest average house value refers to Max(avg_house_value) |
Please list the bad alias of all the residential areas with a median female age of over 32. | median female age of over 32 refers to median_female_age > 32 | "NEW HAVEN" is the county; male refers to male_population | the most bad aliases refer to MAX(COUNT(bad_alias)); | DIVIDE(SUM(total_beneficiaries), COUNT(zip_code)) where name = 'Guam'; | "Internal Revenue Service" is the bad_alias; in Eastern time zone refers to time_zone = 'Eastern' | implement daylight savings refers to daylight_savings = 'Yes'; | congress representatives' IDs refer to CID; East Springfield is the city; | "ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country)) | biggest land area refers to Max(land_area); "SAINT CROIX" is the county | DIVIDE(SUM(households where county = 'CORYELL'), SUM(households)) as percentage; | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name |
Which district has the largest land area in Wisconsin? Write the full name of the congress representative and include the postal codes. | "Wisconsin" is the state; largest land area refers to Max(land_area); full name refers to first_name, last_name; postal code refers to zip_code | "ARECIBO" is the county; highest white population refers to Max(white_population) | SUBTRACT(COUNT(type = 'P.O. Box Only'), COUNT(type = 'Post Office')) where area_code = 787; | precise location refers to latitude, longitude | "Alabama" is the name | "York" is the city; 'ME' is the state; type refers to CBSA_type | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | DIVIDE(SUBTRACT(SUM(population_2020)), SUM(population_2010)), SUM(population_2010) as percentage where county = 'ARROYO'; | CBSA officers refer to CBSA_name; postal point refers to zip_code; Oxford is the city; | highest average income per household refers to Max(avg_income_per_household) | Dalton is the city; |
How many counties are there in Alabama? | "Alabama" is the name | name of county refers to county | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; | Texas is the name of the state, in which name = 'Texas'; total beneficiaries of above 10000 refer to total_beneficiaries > 10000; | postal point of post office refers to type = 'Post Office'; | "NEW CASTLE" is the county; 'Delaware' is the name of state | "OUTAGAMIE" is the county | 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'; | Georgia is the name of the state, in which name = 'Georgia'; | the county of Hampden is located in the state of Massachusetts. | "ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country)) |
Calculate the average number of beneficiaries per postal point in Guam. | DIVIDE(SUM(total_beneficiaries), COUNT(zip_code)) where name = 'Guam'; | Georgia is the name of the state, in which name = 'Georgia'; | "Lexington-Fayette, KY" is the CBSA_name | postal point of post office refers to type = 'Post Office'; | "Berlin, NH" is the CBSA_name | "ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country)) | Asian population of 7 refers to asian_population = 7; | average male median age refers to Divide (Sum(male_median_age), Count(county)); 'WINDHAM' is the county | highest average income per household refers to Max(avg_income_per_household) | name of the CBSA officer refers to CBSA_name; position of the CBSA officer refers to CBSA_type; | in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type |
Which zip code in Massachusetts that have more than 1 area code? | "Massachusetts" is the state; zip code more than 1 area code refers to Count (zip_code) > 1 | "York" is the city; 'ME' is the state; type refers to CBSA_type | average household income refers to avg_income_per_household; city known as "Danzig" refers to bad_alias = 'Danzig'; | DIVIDE(COUNT(zip_code where type = 'Post Office'), COUNT(zip_code)) as percentage where name = 'California'; | coordinates refer to latitude and longitude; under Allentown-Bethlehem-Easton, PA-NJ refers to CBSA_name = 'Allentown-Bethlehem-Easton, PA-NJ'; | "ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country)) | precise location refers to latitude, longitude | above-average female population refers to female_population > DIVIDE(SUM(female_population), COUNT(state)); | postal points refer to zip_code; West Virginia is the name of the state, in which name = 'West Virginia'; | name of the CBSA officer refers to CBSA_name; position of the CBSA officer refers to CBSA_type; | the most bad aliases refer to MAX(COUNT(bad_alias)); |
Provide the zip codes and the alias of Greeneville. | Greeneville is the city; | "Internal Revenue Service" is the bad_alias; in Eastern time zone refers to time_zone = 'Eastern' | "Barre, VT" is the CBSA_name | highest number of females refers to Max(female_population) | Dalton is the city; | "Lexington-Fayette, KY" is the CBSA_name | AVG(elevation) where alias = 'Amherst'; | Savoy is the city; | 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 | coordinates refer to latitude and longitude; under Allentown-Bethlehem-Easton, PA-NJ refers to CBSA_name = 'Allentown-Bethlehem-Easton, PA-NJ'; |
Calculate the average male median age of all the residential areas in Windham county. | average male median age refers to Divide (Sum(male_median_age), Count(county)); 'WINDHAM' is the county | "PHILLIPS" is the county; 'Montana' is the name of state | median female age of over 32 refers to median_female_age > 32 | representative's full names refer to first_name, last_name; area which has highest population in 2020 refers to MAX(population_2020); | representative's full names refer to first_name, last_name; postal points affiliated with Readers Digest refer to zip_code where organization = 'Readers Digest'; | Dalton is the city; | Greeneville is the city; | zero employee refers to employees = 0 | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | DIVIDE(SUM(households where county = 'CORYELL'), SUM(households)) as percentage; | "Puerto Rico" refers to state = 'PR' |
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'; | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | "Delaware" is a county; implement daylight savings refers to daylight_saving = 'Yes' | name of county refers to county | Texas is the name of the state, in which name = 'Texas'; total beneficiaries of above 10000 refer to total_beneficiaries > 10000; | "ARECIBO" is the county; highest white population refers to Max(white_population) | coordinates refer to latitude and longitude; under Allentown-Bethlehem-Easton, PA-NJ refers to CBSA_name = 'Allentown-Bethlehem-Easton, PA-NJ'; | median age over 40 refers to median_age > 40 | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' | 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'; | Greeneville is the city; | "ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population)) | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | postal points refer to zip_code; West Virginia is the name of the state, in which name = 'West Virginia'; | CBSA officers refer to CBSA_name; postal point refers to zip_code; Oxford is the city; | "Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois')) | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | Savoy is the city; | 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)) | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | location coordinate refers to (latitude, longitude) | highest average house value refers to Max(avg_house_value) | Asian population of 7 refers to asian_population = 7; | "New York" refers to state = 'NY' and name = 'New York'; 'Post Office' is the type | median female age of over 32 refers to median_female_age > 32 | median age over 40 refers to median_age > 40 | the largest water area refers to MAX(water_area); | "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) | zero employee refers to employees = 0 | Greeneville is the city; | postal point of post office refers to type = 'Post Office'; | 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)) | "PHILLIPS" is the county; 'Montana' is the name of state | name of county refers to county | "Lawrenceville" is the bad_alias | 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; | the highest population in year 2020 refers to MAX(population_2020); | "Barre, VT" is the CBSA_name | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | median female age of over 32 refers to median_female_age > 32 | name of county refers to county | the largest water area refers to MAX(water_area); | Dalton is the city; | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | 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'; | "URB San Joaquin" is the bad_alias | "ARECIBO" is the county; total number of households refer to sum(households) | "Lexington-Fayette, KY" is the CBSA_name | zero employee refers to employees = 0 | Greeneville is the city; | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | Georgia is the name of the state, in which name = 'Georgia'; | "ARECIBO" is the county; highest white population refers to Max(white_population) | "Alabama" is the name |
Provide the zip codes and the congress representatives' names of the postal points which are affiliated with Readers Digest. | representative's full names refer to first_name, last_name; postal points affiliated with Readers Digest refer to zip_code where organization = 'Readers Digest'; | "Internal Revenue Service" is the bad_alias; in Eastern time zone refers to time_zone = 'Eastern' | representative's full names refer to first_name, last_name; area which has highest population in 2020 refers to MAX(population_2020); | "OUTAGAMIE" is the county | average male median age refers to Divide (Sum(male_median_age), Count(county)); 'WINDHAM' is the county | name of congressman implies full name which refers to first_name, last_name; Guanica is the city; | "Puerto Rico" refers to state = 'PR' | DIVIDE(SUM(households where county = 'CORYELL'), SUM(households)) as percentage; | SUBTRACT(COUNT(type = 'P.O. Box Only'), COUNT(type = 'Post Office')) where area_code = 787; | median age over 40 refers to median_age > 40 | in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type |
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; | Dalton is the city; | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | name of congressman implies full name which refers to first_name, last_name; Guanica is the city; | average male median age refers to Divide (Sum(male_median_age), Count(county)); 'WINDHAM' 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'); | implement daylight savings refers to daylight_savings = 'Yes'; | "Lawrenceville" is the bad_alias | "OUTAGAMIE" is the county | 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 | 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'; | above-average female population refers to female_population > DIVIDE(SUM(female_population), COUNT(state)); | highest number of females refers to Max(female_population) | "Barre, VT" is the CBSA_name | Texas is the name of the state, in which name = 'Texas'; total beneficiaries of above 10000 refer to total_beneficiaries > 10000; | the most bad aliases refer to MAX(COUNT(bad_alias)); | Dalton is the city; | "Berlin, NH" is the CBSA_name | "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); | central time zone refers to time_zone = 'Central' | "URB San Joaquin" is the bad_alias | "ARECIBO" is the county; highest white population refers to Max(white_population) | zero employee refers to employees = 0 | highest average income per household refers to Max(avg_income_per_household) | implement daylight savings refers to daylight_savings = 'Yes'; | location coordinate refers to (latitude, longitude) | average household income refers to avg_income_per_household; city known as "Danzig" refers to bad_alias = 'Danzig'; | Dalton is the city; |
Which state is Outagamie County in? Give the full name of the state. | "OUTAGAMIE" is the county | "Massachusetts" is the state; zip code more than 1 area code refers to Count (zip_code) > 1 | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | average female median age refers to Divide (Sum(female_median_age), Count(county)) | DIVIDE(SUM(households where county = 'CORYELL'), SUM(households)) as percentage; | "NEW CASTLE" is the county; 'Delaware' is the name of state | in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type | AVG(elevation) where alias = 'Amherst'; | "URB San Joaquin" is the bad_alias | the most bad aliases refer to MAX(COUNT(bad_alias)); | 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. | Asian population of 7 refers to asian_population = 7; | average female median age refers to Divide (Sum(female_median_age), Count(county)) | Georgia is the name of the state, in which name = 'Georgia'; | "Alabama" is the name | in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type | Savoy is the city; | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | "Massachusetts" is the state; zip code more than 1 area code refers to Count (zip_code) > 1 | "Puerto Rico" refers to state = 'PR' | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' |
Show the alias for the county at coordinate (18.090875, -66.867756). | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' | DIVIDE(SUM(total_beneficiaries), COUNT(zip_code)) where name = 'Guam'; | "URB San Joaquin" is the bad_alias | "Delaware" is a county; implement daylight savings refers to daylight_saving = 'Yes' | the largest water area refers to MAX(water_area); | "OUTAGAMIE" is the county | above-average female population refers to female_population > DIVIDE(SUM(female_population), COUNT(state)); | "Lawrenceville" is the bad_alias | the most bad aliases refer to MAX(COUNT(bad_alias)); | location coordinate refers to (latitude, longitude) | the most bad aliases refer to MAX(COUNT(bad_alias)); |
What are the states with an above-average female population? | above-average female population refers to female_population > DIVIDE(SUM(female_population), COUNT(state)); | zero employee refers to employees = 0 | 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'; | "Bishopville" is the city; 'SC' is the state | SUBTRACT(COUNT(type = 'P.O. Box Only'), COUNT(type = 'Post Office')) where area_code = 787; | postal points refer to zip_code; under New York-Newark-Jersey City, NY-NJ-PA refers to CBSA_name = 'New York-Newark-Jersey City, NY-NJ-PA'; | postal point of post office refers to type = 'Post Office'; | community post office type refers to type = 'Community Post Office'; elevation above 6000 refers to elevation > 6000; | the most bad aliases refer to MAX(COUNT(bad_alias)); | Dalton is the city; | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; |
What is the difference in the number of cities with P.O. box only and cities with Post Office among the cities with area code 787? | SUBTRACT(COUNT(type = 'P.O. Box Only'), COUNT(type = 'Post Office')) where area_code = 787; | the most bad aliases refer to MAX(COUNT(bad_alias)); | the most bad aliases refer to MAX(COUNT(bad_alias)); | Texas is the name of the state, in which name = 'Texas'; total beneficiaries of above 10000 refer to total_beneficiaries > 10000; | "OUTAGAMIE" is the county | representative's full names refer to first_name, last_name; area which has highest population in 2020 refers to MAX(population_2020); | precise location refers to latitude, longitude | average household income refers to avg_income_per_household; city known as "Danzig" refers to bad_alias = 'Danzig'; | "PHILLIPS" is the county; 'Montana' is the name of state | Georgia is the name of the state, in which name = 'Georgia'; | representative's full names refer to first_name, last_name; postal points affiliated with Readers Digest refer to zip_code where organization = 'Readers Digest'; |
Give the location coordinates of the city with area code 636. | location coordinate refers to (latitude, longitude) | the county of Hampden is located in the state of Massachusetts. | "ARECIBO" is the county; highest white population refers to Max(white_population) | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | "NEW HAVEN" is the county; male refers to male_population | average female median age refers to Divide (Sum(female_median_age), Count(county)) | Greeneville is the city; | community post office type refers to type = 'Community Post Office'; elevation above 6000 refers to elevation > 6000; | 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'; | in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type | name of county refers to county |
How many postal points with unique post office types are there in Ohio? | 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'; | congress representatives' IDs refer to CID; East Springfield is the city; | postal point of post office refers to type = 'Post Office'; | median female age of over 32 refers to median_female_age > 32 | the largest water area refers to MAX(water_area); | average male median age refers to Divide (Sum(male_median_age), Count(county)); 'WINDHAM' is the county | "Puerto Rico" refers to state = 'PR' | "Barre, VT" is the CBSA_name | above-average female population refers to female_population > DIVIDE(SUM(female_population), COUNT(state)); | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | "ARECIBO" is the county; highest white population refers to Max(white_population) |
Give the alias of the cities with an Asian population of 7. | Asian population of 7 refers to asian_population = 7; | name of county refers to county | congress representatives' IDs refer to CID; East Springfield is the city; | the most bad aliases refer to MAX(COUNT(bad_alias)); | precise location refers to latitude, longitude | location coordinate refers to (latitude, longitude) | "Wisconsin" is the state; largest land area refers to Max(land_area); full name refers to first_name, last_name; postal code refers to zip_code | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | zero employee refers to employees = 0 | "Virginia" is the state | postal points refer to zip_code; West Virginia is the name of the state, in which name = 'West Virginia'; |
Among all the residential areas in Arecibo county, what is the zip_code of the one with the highest white population? | "ARECIBO" is the county; highest white population refers to Max(white_population) | Greeneville is the city; | postal point of post office refers to type = 'Post Office'; | name of congressman implies full name which refers to first_name, last_name; Guanica is the city; | DIVIDE(COUNT(zip_code where type = 'Post Office'), COUNT(zip_code)) as percentage where name = 'California'; | community post office type refers to type = 'Community Post Office'; elevation above 6000 refers to elevation > 6000; | "NEW CASTLE" is the county; 'Delaware' is the name of state | 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 | "Lexington-Fayette, KY" is the CBSA_name | name of county refers to county |
Indicate the name of the congressman represent in Guanica. | name of congressman implies full name which refers to first_name, last_name; Guanica is the city; | "Puerto Rico" refers to state = 'PR' | precise location refers to latitude, longitude | "Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois')) | the most bad aliases refer to MAX(COUNT(bad_alias)); | average male median age refers to Divide (Sum(male_median_age), Count(county)); 'WINDHAM' is the county | "NEW CASTLE" is the county; 'Delaware' is the name of state | AVG(elevation) where alias = 'Amherst'; | Dalton is the city; | the most bad aliases refer to MAX(COUNT(bad_alias)); | in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type |
List down the country of the cities with a population greater than 97% of the average population of all countries in 2020. | population_2020 > MULTIPLY(0.97, AVG(population_2020)); | COUNT(zip_code where first_name = 'Smith' and last_name = 'Adrian') > COUNT(zip_code where first_name = 'Heck' and last_name = 'Joe'); | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' | "URB San Joaquin" is the bad_alias | "York" is the city; 'ME' is the state; type refers to CBSA_type | "Massachusetts" is the state; zip code more than 1 area code refers to Count (zip_code) > 1 | precise location refers to latitude, longitude | Asian population of 7 refers to asian_population = 7; | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | DIVIDE(COUNT(zip_code where type = 'Post Office'), COUNT(zip_code)) as percentage where name = 'California'; | Greeneville is the city; |
Count the number of postal points under New York-Newark-Jersey City, NY-NJ-PA. | postal points refer to zip_code; under New York-Newark-Jersey City, NY-NJ-PA refers to CBSA_name = 'New York-Newark-Jersey City, NY-NJ-PA'; | population_2020 > MULTIPLY(0.97, AVG(population_2020)); | "ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population)) | "Internal Revenue Service" is the bad_alias; in Eastern time zone refers to time_zone = 'Eastern' | "URB San Joaquin" is the bad_alias | "York" is the city; 'ME' is the state; type refers to CBSA_type | "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; | implement daylight savings refers to daylight_savings = 'Yes'; | the highest population in year 2020 refers to MAX(population_2020); | DIVIDE(SUM(households where county = 'CORYELL'), SUM(households)) as percentage; |
Provide the zip codes and CBSA officers of the postal point in Oxford. | CBSA officers refer to CBSA_name; postal point refers to zip_code; Oxford is the city; | "ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population)) | implement daylight savings refers to daylight_savings = 'Yes'; | "Wisconsin" is the state; largest land area refers to Max(land_area); full name refers to first_name, last_name; postal code refers to zip_code | "Berlin, NH" is the CBSA_name | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' | precise location refers to latitude, longitude | "OUTAGAMIE" is the county | SUBTRACT(COUNT(type = 'P.O. Box Only'), COUNT(type = 'Post Office')) where area_code = 787; | location coordinate refers to (latitude, longitude) | average household income refers to avg_income_per_household; city known as "Danzig" refers to bad_alias = 'Danzig'; |
Among the postal points in California, calculate the percentage of them in post office types. | DIVIDE(COUNT(zip_code where type = 'Post Office'), COUNT(zip_code)) as percentage where name = 'California'; | "Delaware" is a county; implement daylight savings refers to daylight_saving = 'Yes' | the highest population in year 2020 refers to MAX(population_2020); | precise location refers to latitude, longitude | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; | the largest water area refers to MAX(water_area); | "Barre, VT" is the CBSA_name | 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 | "Wisconsin" is the state; largest land area refers to Max(land_area); full name refers to first_name, last_name; postal code refers to zip_code | highest average income per household refers to Max(avg_income_per_household) |
Provide the population of Arecibo in 2020. | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; | CBSA officers refer to CBSA_name; postal point refers to zip_code; Oxford is the city; | "NEW HAVEN" is the county; male refers to male_population | "York" is the city; 'ME' is the state; type refers to CBSA_type | "Massachusetts" is the state; zip code more than 1 area code refers to Count (zip_code) > 1 | the most bad aliases refer to MAX(COUNT(bad_alias)); | DIVIDE(SUM(total_beneficiaries), COUNT(zip_code)) where name = 'Guam'; | name of county refers to county | "Virginia" is the state | highest average income per household refers to Max(avg_income_per_household) | Greeneville is the city; |
Among the listed cities, provide the area code of the city with the largest water area. | the largest water area refers to MAX(water_area); | congress representatives' IDs refer to CID; East Springfield is the city; | DIVIDE(COUNT(zip_code where type = 'Post Office'), COUNT(zip_code)) as percentage where name = 'California'; | DIVIDE(COUNT(party = 'Democrat'), COUNT(congress_rep_id)) as percentage; postal points refer to zip_code; state = 'Hawaii'; | precise location refers to latitude, longitude | 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'; | population greater than 10000 in 2010 refers to population_2010 > 10000; | "Puerto Rico" refers to state = 'PR' | representative's full names refer to first_name, last_name; postal points affiliated with Readers Digest refer to zip_code where organization = 'Readers Digest'; | postal point of post office refers to type = 'Post Office'; | median age over 40 refers to median_age > 40 |
What is the highest gender ratio of the residential areas in Arecibo county? | "ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population)) | coordinates refer to latitude and longitude; under Allentown-Bethlehem-Easton, PA-NJ refers to CBSA_name = 'Allentown-Bethlehem-Easton, PA-NJ'; | average household income refers to avg_income_per_household; city known as "Danzig" refers to bad_alias = 'Danzig'; | the largest water area refers to MAX(water_area); | DIVIDE(SUM(households where county = 'CORYELL'), SUM(households)) as percentage; | name of congressman implies full name which refers to first_name, last_name; Guanica is the city; | the highest population in year 2020 refers to MAX(population_2020); | "Lawrenceville" is the bad_alias | "NEW CASTLE" is the county; 'Delaware' is the name of state | AVG(elevation) where alias = 'Amherst'; | "Wisconsin" is the state; largest land area refers to Max(land_area); full name refers to first_name, last_name; postal code refers to zip_code |
Among the postal points in Texas, provide the zip codes and cities of postal points which have total beneficiaries of above 10000. | Texas is the name of the state, in which name = 'Texas'; total beneficiaries of above 10000 refer to total_beneficiaries > 10000; | "Wisconsin" is the state; largest land area refers to Max(land_area); full name refers to first_name, last_name; postal code refers to zip_code | 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'; | "Berlin, NH" is the CBSA_name | "ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population)) | coordinates refer to latitude and longitude; under Allentown-Bethlehem-Easton, PA-NJ refers to CBSA_name = 'Allentown-Bethlehem-Easton, PA-NJ'; | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; | population greater than 10000 in 2010 refers to population_2010 > 10000; | population_2020 > MULTIPLY(0.97, AVG(population_2020)); | in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type | average female median age refers to Divide (Sum(female_median_age), Count(county)) |
What is the total number of households in Arecibo county? | "ARECIBO" is the county; total number of households refer to sum(households) | DIVIDE(COUNT(zip_code where type = 'Post Office'), COUNT(zip_code)) as percentage where name = 'California'; | "New York" refers to state = 'NY' and name = 'New York'; 'Post Office' is the type | "Massachusetts" is the state; zip code more than 1 area code refers to Count (zip_code) > 1 | representative's full names refer to first_name, last_name; postal points affiliated with Readers Digest refer to zip_code where organization = 'Readers Digest'; | "Bishopville" is the city; 'SC' is the state | Greeneville is the city; | "ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country)) | "Puerto Rico" refers to state = 'PR' | "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 |
What are the precise locations of the cities with an area code of 787? | precise location refers to latitude, longitude | representative's full names refer to first_name, last_name; postal points affiliated with Readers Digest refer to zip_code where organization = 'Readers Digest'; | DIVIDE(COUNT(zip_code where type = 'Post Office'), COUNT(zip_code)) as percentage where name = 'California'; | "NEW CASTLE" is the county; 'Delaware' is the name of state | AVG(elevation) where alias = 'Amherst'; | congress representatives' IDs refer to CID; East Springfield is the city; | CBSA officers refer to CBSA_name; postal point refers to zip_code; Oxford is the city; | median age over 40 refers to median_age > 40 | population_2020 > MULTIPLY(0.97, AVG(population_2020)); | "URB San Joaquin" is the bad_alias | name of the CBSA officer refers to CBSA_name; position of the CBSA officer refers to CBSA_type; |
How many counties are there in Virginia State? | "Virginia" is the state | "ARECIBO" is the county; total number of households refer to sum(households) | precise location refers to latitude, longitude | "Lexington-Fayette, KY" is the CBSA_name | above-average female population refers to female_population > DIVIDE(SUM(female_population), COUNT(state)); | representative's full names refer to first_name, last_name; postal points affiliated with Readers Digest refer to zip_code where organization = 'Readers Digest'; | highest average income per household refers to Max(avg_income_per_household) | median age over 40 refers to median_age > 40 | DIVIDE(SUM(total_beneficiaries), COUNT(zip_code)) where name = 'Guam'; | population_2020 > MULTIPLY(0.97, AVG(population_2020)); | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name |
In which county can you find the city with the highest number of females? | highest number of females refers to Max(female_population) | AVG(elevation) where alias = 'Amherst'; | community post office type refers to type = 'Community Post Office'; elevation above 6000 refers to elevation > 6000; | "Puerto Rico" refers to state = 'PR' | "NEW CASTLE" is the county; 'Delaware' 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); | "Barre, VT" is the CBSA_name | population_2020 > MULTIPLY(0.97, AVG(population_2020)); | "ARECIBO" is the county; highest gender ration refers to Max(Divide (male_population, female_population)) | representative's full names refer to first_name, last_name; postal points affiliated with Readers Digest refer to zip_code where organization = 'Readers Digest'; | "PHILLIPS" is the county; 'Montana' is the name of state |
List all the zip codes in the county of New Castle in Delaware. | "NEW CASTLE" is the county; 'Delaware' is the name of state | 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'; | "ARECIBO" is the county; highest white population refers to Max(white_population) | "ARECIBO" is the county; total number of households refer to sum(households) | "Massachusetts" is the state; zip code more than 1 area code refers to Count (zip_code) > 1 | "URB San Joaquin" is the bad_alias | "Berlin, NH" is the CBSA_name | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' | "Wisconsin" is the state; largest land area refers to Max(land_area); full name refers to first_name, last_name; postal code refers to zip_code | highest average house value refers to Max(avg_house_value) | "NEW HAVEN" is the county; male refers to male_population |
What is the name and the position of the CBSA officer in the city of Cabo Rojo? | name of the CBSA officer refers to CBSA_name; position of the CBSA officer refers to CBSA_type; | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; | "Bishopville" is the city; 'SC' is the state | "OUTAGAMIE" is the county | "ARECIBO" is the county; average median female age = Divide (Sum(median_female_age), Count(country)) | population_2020 > MULTIPLY(0.97, AVG(population_2020)); | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' | the highest population in year 2020 refers to MAX(population_2020); | "Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois')) | "PHILLIPS" is the county; 'Montana' is the name of state |
What is the bad alias of the residential area with the highest average house value? | highest average house value refers to Max(avg_house_value) | DIVIDE(COUNT(zip_code where type = 'Post Office'), COUNT(zip_code)) as percentage where name = 'California'; | Dalton is the city; | Texas is the name of the state, in which name = 'Texas'; total beneficiaries of above 10000 refer to total_beneficiaries > 10000; | implement daylight savings refers to daylight_savings = 'Yes'; | median age over 40 refers to median_age > 40 | over 30 employees refers to employee > 30; 'HUNTINGDON' is the county | Georgia is the name of the state, in which name = 'Georgia'; | Asian population of 7 refers to asian_population = 7; | population_2020 > MULTIPLY(0.97, AVG(population_2020)); | "Berlin, NH" is the CBSA_name |
In California, how many delivery receptacles are there in the community post office that has the highest number of delivery receptacles? | in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type | population_2020 > MULTIPLY(0.97, AVG(population_2020)); | biggest land area refers to Max(land_area); "SAINT CROIX" is the county | the county of Hampden is located in the state of Massachusetts. | zero employee refers to employees = 0 | Greeneville is the city; | DIVIDE(SUBTRACT(SUM(population_2020)), SUM(population_2010)), SUM(population_2010) as percentage where county = 'ARROYO'; | "URB San Joaquin" is the bad_alias | "NEW HAVEN" is the county; male refers to male_population | "Barre, VT" is the CBSA_name | average male median age refers to Divide (Sum(male_median_age), Count(county)); 'WINDHAM' is the county |
Describe the number of postal points and the countries in West Virginia. | postal points refer to zip_code; West Virginia is the name of the state, in which name = 'West Virginia'; | above-average female population refers to female_population > DIVIDE(SUM(female_population), COUNT(state)); | average male median age refers to Divide (Sum(male_median_age), Count(county)); 'WINDHAM' is the county | median female age of over 32 refers to median_female_age > 32 | "Massachusetts" is the state; zip code more than 1 area code refers to Count (zip_code) > 1 | "ARECIBO" is the county; highest white population refers to Max(white_population) | "Berlin, NH" is the CBSA_name | "PHILLIPS" is the county; 'Montana' is the name of state | postal point of post office refers to type = 'Post Office'; | location coordinate refers to (latitude, longitude) | the largest water area refers to MAX(water_area); |
Provide the alias of the city with the highest population in year 2020. | the highest population in year 2020 refers to MAX(population_2020); | DIVIDE(COUNT(zip_code where type = 'Post Office'), COUNT(zip_code)) as percentage where name = 'California'; | postal points refer to zip_code; West Virginia is the name of the state, in which name = 'West Virginia'; | community post office type refers to type = 'Community Post Office'; elevation above 6000 refers to elevation > 6000; | in California refers to name = 'California' and state = 'CA'; 'Community Post Office' is the Type | median age over 40 refers to median_age > 40 | "Wisconsin" is the state; largest land area refers to Max(land_area); full name refers to first_name, last_name; postal code refers to zip_code | city with highest asian population refers to Max(Sum(asian_population)); full name refers to first_name, last_name | "NEW CASTLE" is the county; 'Delaware' is the name of state | "Lexington-Fayette, KY" is the CBSA_name | "Alabama" is the name |
List all the counties in Georgia. | Georgia is the name of the state, in which name = 'Georgia'; | name of congressman implies full name which refers to first_name, last_name; Guanica is the city; | the highest population in year 2020 refers to MAX(population_2020); | "NEW HAVEN" is the county; male refers to male_population | DIVIDE(SUM(total_beneficiaries), COUNT(zip_code)) where name = 'Guam'; | implement daylight savings refers to daylight_savings = 'Yes'; | DIVIDE(COUNT(zip_code where type = 'Post Office'), COUNT(zip_code)) as percentage where name = 'California'; | "Alabama" is the name | "Puerto Rico" refers to state = 'PR' | location coordinate refers to (latitude, longitude) | "Alabama" and "Illinois" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois')) |
How many post offices are there in New York? | "New York" refers to state = 'NY' and name = 'New York'; 'Post Office' is the type | the county of Hampden is located in the state of Massachusetts. | "NEW CASTLE" is the county; 'Delaware' is the name of state | population of Arecibo in 2020 refers to SUM(population_2020) where county = 'ARECIBO'; | representative's full names refer to first_name, last_name; area which has highest population in 2020 refers to MAX(population_2020); | highest number of females refers to Max(female_population) | SUBTRACT(COUNT(type = 'P.O. Box Only'), COUNT(type = 'Post Office')) where area_code = 787; | average household income refers to avg_income_per_household; city known as "Danzig" refers to bad_alias = 'Danzig'; | Savoy is the city; | "Puerto Rico" refers to state = 'PR' | central time zone refers to time_zone = 'Central' |
For the county where DeSantis Ron is from, what is the average female median age? | average female median age refers to Divide (Sum(female_median_age), Count(county)) | location coordinate refers to (latitude, longitude) | central time zone refers to time_zone = 'Central' | AVG(elevation) where alias = 'Amherst'; | population_2020 > MULTIPLY(0.97, AVG(population_2020)); | coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756' | "Delaware" is a county; implement daylight savings refers to daylight_saving = 'Yes' | the county of Hampden is located in the state of Massachusetts. | "Lawrenceville" is the bad_alias | Greeneville is the city; | postal points refer to zip_code; under New York-Newark-Jersey City, NY-NJ-PA refers to CBSA_name = 'New York-Newark-Jersey City, NY-NJ-PA'; |
For the flight on 2018/8/1 that was delayed for the longest time, which was the destination airport of this flight? | on 2018/8/1 refers to FL_DATE = '2018/8/1'; delayed for the longest time refers to MAX(DEP_DELAY); destination airport refers to DEST; | flight numbers refers to OP_CARRIER_FL_NUM; American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; depart from refers to ORIGIN; John F. Kennedy International refers to Description = 'New York, NY: John F. Kennedy International'; | flight destination refers to DEST; from Albany refers to ORIGIN = 'ABY'; | tail number refers to TAIL_NUM; TAIL_NUM = 'N922US'; from Phoenix refers to ORIGIN = 'PHX'; | on August 2, 2018 refers to FL_DATE = '2018/8/2'; Horizon Air refers to Description which includs 'Horizon Air'; | airport found in Ankara, Turkey refers to Description like '%Ankara, Turkey%'; | shortest actual elapsed time refers to MIN(ACTUAL_ELAPSED_TIME); | shortest arrival time refers to MIN(ARR_TIME); | percentage = MULTIPLY(DIVIDE(SUM(CANCELLATION_CODE = 'C'), COUNT(Code)), 100); flights from refers to ORIGIN; Los Angeles International airport refers to Description = 'Los Angeles, CA: Los Angeles International'; cancelled refers to Cancelled = 1; cancelled due to a type C cancellation code refers to CANCELLATION_CODE = 'C'; | tail number refers to TAIL_NUM; arrived on time refers to ARR_DELAY < = 0; Meadows Field airport refers to Description = 'Bakersfield, CA: Meadows Field'; in August of 2018 refers to FL_DATE like '2018/8%'; | depart to refers to DEST; Hartsfield-Jackson Atlanta International refers to Description = 'Atlanta, GA: Hartsfield-Jackson Atlanta International'; depart from refers to ORIGIN; Chicago O'Hare International refes to Description = 'Chicago, IL: Chicago O'Hare International'; |
Which airline operated more flights on 2018/8/1, American Airlines Inc. or Endeavor Air Inc.? | SUM(Description = 'American Airlines Inc.: AA') > SUM(Description = 'Endeavor Air Inc.: 9E') means American Airlines Inc. operated more flights than Endeavor Air Inc; SUM(Description = 'American Airlines Inc.: AA') < SUM(Description = 'Endeavor Air Inc.: 9E') means Endeavor Air Inc. operated more flights than American Airlines Inc.; on 2018/8/1 refers to FL_DATE = '2018/8/1'; | tail number refers to TAIL_NUM; arrived on time refers to ARR_DELAY < = 0; Meadows Field airport refers to Description = 'Bakersfield, CA: Meadows Field'; in August of 2018 refers to FL_DATE like '2018/8%'; | arriving at Miami refers to DEST = 'MIA'; | hours in total = DIVIDE(SUM(LATE_AIRCRAFT_DELAY), 60); Delta Air Lines refers to Description = 'Delta Air Lines Inc.: DL'; delayed due to a late aircraft refers to LATE_AIRCRAFT_DELAY; in August of 2018 refers to FL_DATE like '2018/8/%'; plane number refers to TAIL_NUM; highest delayed hours refers to MAX(DIVIDE(SUM(LATE_AIRCRAFT_DELAY),60)); | flight numbers refers to OP_CARRIER_FL_NUM; American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; depart from refers to ORIGIN; John F. Kennedy International refers to Description = 'New York, NY: John F. Kennedy International'; | depart to refers to DEST; Hartsfield-Jackson Atlanta International refers to Description = 'Atlanta, GA: Hartsfield-Jackson Atlanta International'; depart from refers to ORIGIN; Chicago O'Hare International refes to Description = 'Chicago, IL: Chicago O'Hare International'; | Southwest Airlines Co.: WN refers to Description = 'Southwest Airlines Co.: WN'; tail number refers to TAIL_NUM; actual elapsed time lower than the 80% of the average actual elapsed time refers to ACTUAL_ELAPSED_TIME < (MULTIPLY AVG(ACTUAL_ELAPSED_TIME), 0.8); | percentage = MULTIPLY(DIVIDE(SUM(CANCELLATION_CODE = 'C'), COUNT(Code)), 100); flights from refers to ORIGIN; Los Angeles International airport refers to Description = 'Los Angeles, CA: Los Angeles International'; cancelled refers to Cancelled = 1; cancelled due to a type C cancellation code refers to CANCELLATION_CODE = 'C'; | airport found in Ankara, Turkey refers to Description like '%Ankara, Turkey%'; | tail number refers to TAIL_NUM; on August 17, 2018 refers to FL_DATE = '2018/8/17'; | on August 2, 2018 refers to FL_DATE = '2018/8/2'; Horizon Air refers to Description which includs 'Horizon Air'; |
For the flight with the tail number 'N702SK', which air carrier does it belong to? | tail number refers to TAIL_NUM; TAIL_NUM = 'N702SK'; | shortest actual elapsed time refers to MIN(ACTUAL_ELAPSED_TIME); | JetBlue Airways refers to Description = '%JetBlue Airway%'; 0 new arrival delay refers to ARR_DELAY_NEW = 0; | tail number refers to TAIL_NUM; Iscargo Hf: ICQ refers to Description = 'Iscargo Hf: ICQ'; arrival time of 1000 and below refers to ARR_TIME < = 1000; | American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; on 2018/8/1 refers to FL_DATE = '2018/8/1'; faster than scheduled refers to ACTUAL_ELAPSED_TIME < CRS_ELAPSED_TIME; | tail number refers to TAIL_NUM; arrived on time refers to ARR_DELAY < = 0; Meadows Field airport refers to Description = 'Bakersfield, CA: Meadows Field'; in August of 2018 refers to FL_DATE like '2018/8%'; | from refers to ORIGIN; Charlotte Douglas International Airport refers to Description = 'Charlotte, NC: Charlotte Douglas International'; to refers to DEST; Austin - Bergstrom International Airport refers to Description = 'Austin, TX: Austin - Bergstrom International'; serious reasons refers to CANCELLATION_CODE = 'A'; | origin airport id refers to ORIGIN_AIRPORT_ID; longest delay due to a late aircraft refers to MAX(LATE_AIRCRAFT_DELAY); | flight numbers refers to OP_CARRIER_FL_NUM; American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; depart from refers to ORIGIN; John F. Kennedy International refers to Description = 'New York, NY: John F. Kennedy International'; | Southwest Airlines Co.: WN refers to Description = 'Southwest Airlines Co.: WN'; tail number refers to TAIL_NUM; actual elapsed time lower than the 80% of the average actual elapsed time refers to ACTUAL_ELAPSED_TIME < (MULTIPLY AVG(ACTUAL_ELAPSED_TIME), 0.8); | American Airlines can be found in Description which contains 'American Airlines'; percentage = MULTIPLY(DIVIDE(SUM(DEP_DELAY < 0), COUNT(DEP_DELAY)), 1.0); earlier departure refers to DEP_DELAY < 0; |
What is the actual departure time of JetBlue Airways with the plane's tail number N903JB to Fort Lauderdale-Hollywood International Airport on the 20th of August 2018? | actual departure time refers to DEP_TIME; JetBlue Airways refers to Description like '%JetBlue Airways%'; tail number refers to TAIL_NUM; TAIL_NUM = 'N903JB'; to refers to DEST; Fort Lauderdale-Hollywood International Airport refers to Description like '%Fort Lauderdale-Hollywood%'; on the 20th of August 2018 refers to FL_DATE = '2018/8/20'; | flight numbers refers to OP_CARRIER_FL_NUM; American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; depart from refers to ORIGIN; John F. Kennedy International refers to Description = 'New York, NY: John F. Kennedy International'; | Asap Air Inc.: ASP refers to Description = 'Asap Air Inc.: ASP'; tail number refers to TAIL_NUM; longest departure delay refers to MAX(DEP_DELAY); | Endeavor Air Inc. refers to Description = 'Endeavor Air Inc.: 9E'; faster than scheduled refers to ACTUAL_ELAPSED_TIME < CRS_ELAPSED_TIME; on 2018/8/31 refers to FL_DATE = '2018/8/31'; | arriving at Miami refers to DEST = 'MIA'; | Republic Airline refers to Description = 'Republic Airline: YX'; fly the most from refers to MAX(COUNT(ORIGIN)); | shortest actual elapsed time refers to MIN(ACTUAL_ELAPSED_TIME); | names of the airlines refers to Description; highest number of non-cancelled flights refers to MAX(COUNT(CANCELLED = 0)); | fastest flight refers to MIN(SUBTRACT(ACTUAL_ELAPSED_TIME, CRS_ELAPSED_TIME)); | American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; on 2018/8/1 refers to FL_DATE = '2018/8/1'; faster than scheduled refers to ACTUAL_ELAPSED_TIME < CRS_ELAPSED_TIME; | took off from refers to ORIGIN; Los Angeles International airport refers to Description = 'Los Angeles, CA: Los Angeles International'; on 2018/8/27 refers to FL_DATE = '2018/8/27'; |
List the air carrier description and code of the flight with the shortest arrival time. | shortest arrival time refers to MIN(ARR_TIME); | hours in total = DIVIDE(SUM(LATE_AIRCRAFT_DELAY), 60); Delta Air Lines refers to Description = 'Delta Air Lines Inc.: DL'; delayed due to a late aircraft refers to LATE_AIRCRAFT_DELAY; in August of 2018 refers to FL_DATE like '2018/8/%'; plane number refers to TAIL_NUM; highest delayed hours refers to MAX(DIVIDE(SUM(LATE_AIRCRAFT_DELAY),60)); | departed on time refers to DEP_DELAY < = 0; on 8/1/2018 refers to FL_DATE = '2018/8/1'; | Alaska Airlines refers to Description = 'Alaska Airlines Inc.: AS'; delayed refers to DEP_DELAY > 0; on 2018/8/2 refers to FL_DATE = '2018/8/2'; | JetBlue Airways refers to Description = '%JetBlue Airway%'; 0 new arrival delay refers to ARR_DELAY_NEW = 0; | on August 2, 2018 refers to FL_DATE = '2018/8/2'; Horizon Air refers to Description which includs 'Horizon Air'; | On August 2018 refers to FL_DATE like '2018/8%'; day with the highest number of cancelled flights refers to MAX(COUNT(FL_DATE WHERE CANCELLED = 1)); cancelled due to the most serious reasons refers to CANCELLATION_CODE = 'A'; in Dallas/Fort Worth International refers to Description = 'Dallas/Fort Worth, TX: Dallas/Fort Worth International'; | Asap Air Inc.: ASP refers to Description = 'Asap Air Inc.: ASP'; tail number refers to TAIL_NUM; longest departure delay refers to MAX(DEP_DELAY); | tail number refers to TAIL_NUM; TAIL_NUM = 'N922US'; from Phoenix refers to ORIGIN = 'PHX'; | Oklahoma as origin refers to Origin = 'OKC'; | arrival time lower than the 40% of the average arrival time refers to ARR_TIME < MULTIPLY(AVG(ARR_TIME), 0.4); flew to Phoenix refers to DEST = 'PHX'; |
What is the only flight destination for flights from Albany? | flight destination refers to DEST; from Albany refers to ORIGIN = 'ABY'; | depart to refers to DEST; Hartsfield-Jackson Atlanta International refers to Description = 'Atlanta, GA: Hartsfield-Jackson Atlanta International'; depart from refers to ORIGIN; Chicago O'Hare International refes to Description = 'Chicago, IL: Chicago O'Hare International'; | tail number refers to TAIL_NUM; Iscargo Hf: ICQ refers to Description = 'Iscargo Hf: ICQ'; arrival time of 1000 and below refers to ARR_TIME < = 1000; | Spirit Air Lines refers to Description = 'Spirit Air Lines: NK'; on 2018/8/7 refers to FL_DATE = '2018/8/7'; | actual departure time refers to DEP_TIME; JetBlue Airways refers to Description like '%JetBlue Airways%'; tail number refers to TAIL_NUM; TAIL_NUM = 'N903JB'; to refers to DEST; Fort Lauderdale-Hollywood International Airport refers to Description like '%Fort Lauderdale-Hollywood%'; on the 20th of August 2018 refers to FL_DATE = '2018/8/20'; | Endeavor Air Inc. refers to Description = 'Endeavor Air Inc.: 9E'; faster than scheduled refers to ACTUAL_ELAPSED_TIME < CRS_ELAPSED_TIME; on 2018/8/31 refers to FL_DATE = '2018/8/31'; | Republic Airline refers to Description which contains 'Republic Airline'; departure delay of 30 minutes and above refers to DEP_DELAY > 30; | landed on refers to DEST; Oakland Airport refers to Description which contains 'Oakland'; on 2018/8/7 refers to FL_DATE = '2018/8/7'; | Driftwood Bay, AK: Driftwood Bay Airport refers to Description = 'Driftwood Bay, AK: Driftwood Bay Airport'; | Republic Airline refers to Description = 'Republic Airline: YX'; fly the most from refers to MAX(COUNT(ORIGIN)); | took off from refers to ORIGIN; Los Angeles International airport refers to Description = 'Los Angeles, CA: Los Angeles International'; on 2018/8/27 refers to FL_DATE = '2018/8/27'; |
Provide the number of airplanes that landed on Oakland Airport on 2018/8/7. | landed on refers to DEST; Oakland Airport refers to Description which contains 'Oakland'; on 2018/8/7 refers to FL_DATE = '2018/8/7'; | name of the airline refers to Description; flights to refers to DEST; Chicago Midway International refers to Description = 'Chicago, IL: Chicago Midway International'; most flights to Chicago Midway International refers to MAX(COUNT(DEST WHERE Description = 'Chicago, IL: Chicago Midway International')); | shortest arrival time refers to MIN(ARR_TIME); | Southwest Airlines Co.: WN refers to Description = 'Southwest Airlines Co.: WN'; tail number refers to TAIL_NUM; actual elapsed time lower than the 80% of the average actual elapsed time refers to ACTUAL_ELAPSED_TIME < (MULTIPLY AVG(ACTUAL_ELAPSED_TIME), 0.8); | departing from refers to ORIGIN; John F. Kennedy International refers to Description = 'New York, NY: John F. Kennedy International'; arrived earlier than scheduled refers to ARR_DELAY < 0; | JetBlue Airways refers to Description = '%JetBlue Airway%'; 0 new arrival delay refers to ARR_DELAY_NEW = 0; | departed on time refers to DEP_DELAY < = 0; on 8/1/2018 refers to FL_DATE = '2018/8/1'; | Spirit Air Lines refers to Description = 'Spirit Air Lines: NK'; on 2018/8/7 refers to FL_DATE = '2018/8/7'; | airport found in Ankara, Turkey refers to Description like '%Ankara, Turkey%'; | tail number refers to TAIL_NUM; TAIL_NUM = 'N702SK'; | Asap Air Inc.: ASP refers to Description = 'Asap Air Inc.: ASP'; tail number refers to TAIL_NUM; longest departure delay refers to MAX(DEP_DELAY); |
What is the name of the airline with the highest number of non-cancelled flights? | names of the airlines refers to Description; highest number of non-cancelled flights refers to MAX(COUNT(CANCELLED = 0)); | arriving at Miami refers to DEST = 'MIA'; | Republic Airline refers to Description which contains 'Republic Airline'; departure delay of 30 minutes and above refers to DEP_DELAY > 30; | took off from refers to ORIGIN; Los Angeles International airport refers to Description = 'Los Angeles, CA: Los Angeles International'; on 2018/8/27 refers to FL_DATE = '2018/8/27'; | tail number refers to TAIL_NUM; Iscargo Hf: ICQ refers to Description = 'Iscargo Hf: ICQ'; arrival time of 1000 and below refers to ARR_TIME < = 1000; | Republic Airline refers to Description = 'Republic Airline: YX'; fly the most from refers to MAX(COUNT(ORIGIN)); | Asap Air Inc.: ASP refers to Description = 'Asap Air Inc.: ASP'; tail number refers to TAIL_NUM; longest departure delay refers to MAX(DEP_DELAY); | from refers to ORIGIN; Charlotte Douglas International Airport refers to Description = 'Charlotte, NC: Charlotte Douglas International'; to refers to DEST; Austin - Bergstrom International Airport refers to Description = 'Austin, TX: Austin - Bergstrom International'; serious reasons refers to CANCELLATION_CODE = 'A'; | airport found in Ankara, Turkey refers to Description like '%Ankara, Turkey%'; | hours in total = DIVIDE(SUM(LATE_AIRCRAFT_DELAY), 60); Delta Air Lines refers to Description = 'Delta Air Lines Inc.: DL'; delayed due to a late aircraft refers to LATE_AIRCRAFT_DELAY; in August of 2018 refers to FL_DATE like '2018/8/%'; plane number refers to TAIL_NUM; highest delayed hours refers to MAX(DIVIDE(SUM(LATE_AIRCRAFT_DELAY),60)); | on August 25, 2018 refers to FL_DATE = '2018/8/25'; departure delay of -5 refers to DEP_DELAY = -5; |
How many flights of air carrier called JetBlue Airways: B6 have 0 new arrival delay? | JetBlue Airways refers to Description = '%JetBlue Airway%'; 0 new arrival delay refers to ARR_DELAY_NEW = 0; | tail number refers to TAIL_NUM; TAIL_NUM = 'N702SK'; | average departure delay time = DIVIDE(SUM(DEP_DELAY), COUNT(Code)); American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; | SUM(Description = 'American Airlines Inc.: AA') > SUM(Description = 'Endeavor Air Inc.: 9E') means American Airlines Inc. operated more flights than Endeavor Air Inc; SUM(Description = 'American Airlines Inc.: AA') < SUM(Description = 'Endeavor Air Inc.: 9E') means Endeavor Air Inc. operated more flights than American Airlines Inc.; on 2018/8/1 refers to FL_DATE = '2018/8/1'; | shortest actual elapsed time refers to MIN(ACTUAL_ELAPSED_TIME); | flight destination refers to DEST; from Albany refers to ORIGIN = 'ABY'; | names of the airlines refers to Description; highest number of non-cancelled flights refers to MAX(COUNT(CANCELLED = 0)); | shortest arrival time refers to MIN(ARR_TIME); | Oklahoma as origin refers to Origin = 'OKC'; | arrival time lower than the 40% of the average arrival time refers to ARR_TIME < MULTIPLY(AVG(ARR_TIME), 0.4); flew to Phoenix refers to DEST = 'PHX'; | flight numbers refers to OP_CARRIER_FL_NUM; American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; depart from refers to ORIGIN; John F. Kennedy International refers to Description = 'New York, NY: John F. Kennedy International'; |
Provide the origin of the flight that has the shortest actual elapsed time. | shortest actual elapsed time refers to MIN(ACTUAL_ELAPSED_TIME); | tail number refers to TAIL_NUM; Iscargo Hf: ICQ refers to Description = 'Iscargo Hf: ICQ'; arrival time of 1000 and below refers to ARR_TIME < = 1000; | hours in total = DIVIDE(SUM(LATE_AIRCRAFT_DELAY), 60); Delta Air Lines refers to Description = 'Delta Air Lines Inc.: DL'; delayed due to a late aircraft refers to LATE_AIRCRAFT_DELAY; in August of 2018 refers to FL_DATE like '2018/8/%'; plane number refers to TAIL_NUM; highest delayed hours refers to MAX(DIVIDE(SUM(LATE_AIRCRAFT_DELAY),60)); | On August 2018 refers to FL_DATE like '2018/8%'; day with the highest number of cancelled flights refers to MAX(COUNT(FL_DATE WHERE CANCELLED = 1)); cancelled due to the most serious reasons refers to CANCELLATION_CODE = 'A'; in Dallas/Fort Worth International refers to Description = 'Dallas/Fort Worth, TX: Dallas/Fort Worth International'; | Oklahoma as origin refers to Origin = 'OKC'; | arriving at Miami refers to DEST = 'MIA'; | Alaska Airlines refers to Description = 'Alaska Airlines Inc.: AS'; delayed refers to DEP_DELAY > 0; on 2018/8/2 refers to FL_DATE = '2018/8/2'; | departed on time refers to DEP_DELAY < = 0; on 8/1/2018 refers to FL_DATE = '2018/8/1'; | JetBlue Airways refers to Description = '%JetBlue Airway%'; 0 new arrival delay refers to ARR_DELAY_NEW = 0; | Asap Air Inc.: ASP refers to Description = 'Asap Air Inc.: ASP'; tail number refers to TAIL_NUM; longest departure delay refers to MAX(DEP_DELAY); | departing from refers to ORIGIN; John F. Kennedy International refers to Description = 'New York, NY: John F. Kennedy International'; arrived earlier than scheduled refers to ARR_DELAY < 0; |
Which airport did Republic Airline fly the most from? | Republic Airline refers to Description = 'Republic Airline: YX'; fly the most from refers to MAX(COUNT(ORIGIN)); | fastest flight refers to MIN(SUBTRACT(ACTUAL_ELAPSED_TIME, CRS_ELAPSED_TIME)); | planes refers to TAIL_NUM; Southwest Airlines Co. refers to Description = 'Southwest Airlines Co.: WN'; | departed on time refers to DEP_DELAY < = 0; on 8/1/2018 refers to FL_DATE = '2018/8/1'; | cancelled flights refers to CANCELLED = 1; | depart to refers to DEST; Hartsfield-Jackson Atlanta International refers to Description = 'Atlanta, GA: Hartsfield-Jackson Atlanta International'; depart from refers to ORIGIN; Chicago O'Hare International refes to Description = 'Chicago, IL: Chicago O'Hare International'; | names of the airlines refers to Description; highest number of non-cancelled flights refers to MAX(COUNT(CANCELLED = 0)); | actual elapsed time refers to ACTUAL_ELAPSED_TIME; Semo Aviation Inc.: SEM. Refers to Description = 'Semo Aviation Inc.: SEM'; | tail number refers to TAIL_NUM; on August 17, 2018 refers to FL_DATE = '2018/8/17'; | arrival time lower than the 40% of the average arrival time refers to ARR_TIME < MULTIPLY(AVG(ARR_TIME), 0.4); flew to Phoenix refers to DEST = 'PHX'; | took off from refers to ORIGIN; Los Angeles International airport refers to Description = 'Los Angeles, CA: Los Angeles International'; on 2018/8/27 refers to FL_DATE = '2018/8/27'; |
What is the average departure delay time of flights operated by American Airlines Inc.? | average departure delay time = DIVIDE(SUM(DEP_DELAY), COUNT(Code)); American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; | actual elapsed time refers to ACTUAL_ELAPSED_TIME; Semo Aviation Inc.: SEM. Refers to Description = 'Semo Aviation Inc.: SEM'; | tail number refers to TAIL_NUM; on August 17, 2018 refers to FL_DATE = '2018/8/17'; | hours in total = DIVIDE(SUM(LATE_AIRCRAFT_DELAY), 60); Delta Air Lines refers to Description = 'Delta Air Lines Inc.: DL'; delayed due to a late aircraft refers to LATE_AIRCRAFT_DELAY; in August of 2018 refers to FL_DATE like '2018/8/%'; plane number refers to TAIL_NUM; highest delayed hours refers to MAX(DIVIDE(SUM(LATE_AIRCRAFT_DELAY),60)); | depart to refers to DEST; Hartsfield-Jackson Atlanta International refers to Description = 'Atlanta, GA: Hartsfield-Jackson Atlanta International'; depart from refers to ORIGIN; Chicago O'Hare International refes to Description = 'Chicago, IL: Chicago O'Hare International'; | 0 departure delay refers to DEP_DELAY = 0; | Oklahoma as origin refers to Origin = 'OKC'; | Endeavor Air Inc. refers to Description = 'Endeavor Air Inc.: 9E'; faster than scheduled refers to ACTUAL_ELAPSED_TIME < CRS_ELAPSED_TIME; on 2018/8/31 refers to FL_DATE = '2018/8/31'; | cancelled flights refers to CANCELLED = 1; | code starting with the letter C refers to Code like 'C%'; | Spirit Air Lines refers to Description = 'Spirit Air Lines: NK'; on 2018/8/7 refers to FL_DATE = '2018/8/7'; |
What is the total number of flights that flew on August 2, 2018 with air carrier described as Horizon Air? | on August 2, 2018 refers to FL_DATE = '2018/8/2'; Horizon Air refers to Description which includs 'Horizon Air'; | Asap Air Inc.: ASP refers to Description = 'Asap Air Inc.: ASP'; tail number refers to TAIL_NUM; longest departure delay refers to MAX(DEP_DELAY); | on 2018/8/1 refers to FL_DATE = '2018/8/1'; American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; | from refers to ORIGIN; Charlotte Douglas International Airport refers to Description = 'Charlotte, NC: Charlotte Douglas International'; to refers to DEST; Austin - Bergstrom International Airport refers to Description = 'Austin, TX: Austin - Bergstrom International'; serious reasons refers to CANCELLATION_CODE = 'A'; | departed on time refers to DEP_DELAY < = 0; on 8/1/2018 refers to FL_DATE = '2018/8/1'; | Southwest Airlines Co.: WN refers to Description = 'Southwest Airlines Co.: WN'; tail number refers to TAIL_NUM; actual elapsed time lower than the 80% of the average actual elapsed time refers to ACTUAL_ELAPSED_TIME < (MULTIPLY AVG(ACTUAL_ELAPSED_TIME), 0.8); | airport found in Ankara, Turkey refers to Description like '%Ankara, Turkey%'; | JetBlue Airways refers to Description = '%JetBlue Airway%'; 0 new arrival delay refers to ARR_DELAY_NEW = 0; | Republic Airline refers to Description = 'Republic Airline: YX'; fly the most from refers to MAX(COUNT(ORIGIN)); | Spirit Air Lines refers to Description = 'Spirit Air Lines: NK'; on 2018/8/7 refers to FL_DATE = '2018/8/7'; | departing from refers to ORIGIN; John F. Kennedy International refers to Description = 'New York, NY: John F. Kennedy International'; arrived earlier than scheduled refers to ARR_DELAY < 0; |
How many planes of Spirit Air Lines took off on 2018/8/7? | Spirit Air Lines refers to Description = 'Spirit Air Lines: NK'; on 2018/8/7 refers to FL_DATE = '2018/8/7'; | American Airlines can be found in Description which contains 'American Airlines'; percentage = MULTIPLY(DIVIDE(SUM(DEP_DELAY < 0), COUNT(DEP_DELAY)), 1.0); earlier departure refers to DEP_DELAY < 0; | fastest flight refers to MIN(SUBTRACT(ACTUAL_ELAPSED_TIME, CRS_ELAPSED_TIME)); | actual elapsed time refers to ACTUAL_ELAPSED_TIME; Semo Aviation Inc.: SEM. Refers to Description = 'Semo Aviation Inc.: SEM'; | actual departure time refers to DEP_TIME; JetBlue Airways refers to Description like '%JetBlue Airways%'; tail number refers to TAIL_NUM; TAIL_NUM = 'N903JB'; to refers to DEST; Fort Lauderdale-Hollywood International Airport refers to Description like '%Fort Lauderdale-Hollywood%'; on the 20th of August 2018 refers to FL_DATE = '2018/8/20'; | flight date refers to FL_DATE; Profit Airlines Inc.: XBH refers to Description = 'Profit Airlines Inc.: XBH'; actual elapsed time below 100 refers to ACTUAL_ELAPSED_TIME < 100; | American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; on 2018/8/1 refers to FL_DATE = '2018/8/1'; faster than scheduled refers to ACTUAL_ELAPSED_TIME < CRS_ELAPSED_TIME; | shortest arrival time refers to MIN(ARR_TIME); | arriving at Miami refers to DEST = 'MIA'; | from refers to ORIGIN; Charlotte Douglas International Airport refers to Description = 'Charlotte, NC: Charlotte Douglas International'; to refers to DEST; Austin - Bergstrom International Airport refers to Description = 'Austin, TX: Austin - Bergstrom International'; serious reasons refers to CANCELLATION_CODE = 'A'; | flights from refers to ORIGIN; San Diego International airport refers to Description = 'San Diego, CA: San Diego International'; flights to refers to DEST; Los Angeles International airport refers to Description = 'Los Angeles, CA: Los Angeles International'; in the August of 2018 refers to FL_DATE like '2018/8%'; |
How many flights from Charlotte Douglas International Airport to Austin - Bergstrom International Airport experienced serious reasons that cause flight cancellation? | from refers to ORIGIN; Charlotte Douglas International Airport refers to Description = 'Charlotte, NC: Charlotte Douglas International'; to refers to DEST; Austin - Bergstrom International Airport refers to Description = 'Austin, TX: Austin - Bergstrom International'; serious reasons refers to CANCELLATION_CODE = 'A'; | average departure delay time = DIVIDE(SUM(DEP_DELAY), COUNT(Code)); American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; | code starting with the letter C refers to Code like 'C%'; | actual elapsed time refers to ACTUAL_ELAPSED_TIME; Semo Aviation Inc.: SEM. Refers to Description = 'Semo Aviation Inc.: SEM'; | arrival time lower than the 40% of the average arrival time refers to ARR_TIME < MULTIPLY(AVG(ARR_TIME), 0.4); flew to Phoenix refers to DEST = 'PHX'; | Endeavor Air Inc. refers to Description = 'Endeavor Air Inc.: 9E'; faster than scheduled refers to ACTUAL_ELAPSED_TIME < CRS_ELAPSED_TIME; on 2018/8/31 refers to FL_DATE = '2018/8/31'; | tail number refers to TAIL_NUM; TAIL_NUM = 'N922US'; from Phoenix refers to ORIGIN = 'PHX'; | on August 2, 2018 refers to FL_DATE = '2018/8/2'; Horizon Air refers to Description which includs 'Horizon Air'; | Spirit Air Lines refers to Description = 'Spirit Air Lines: NK'; on 2018/8/7 refers to FL_DATE = '2018/8/7'; | Driftwood Bay, AK: Driftwood Bay Airport refers to Description = 'Driftwood Bay, AK: Driftwood Bay Airport'; | tail number refers to TAIL_NUM; arrived on time refers to ARR_DELAY < = 0; Meadows Field airport refers to Description = 'Bakersfield, CA: Meadows Field'; in August of 2018 refers to FL_DATE like '2018/8%'; |
What is the percentage of flights from Los Angeles International airport that were cancelled due to a type C cancellation code? | percentage = MULTIPLY(DIVIDE(SUM(CANCELLATION_CODE = 'C'), COUNT(Code)), 100); flights from refers to ORIGIN; Los Angeles International airport refers to Description = 'Los Angeles, CA: Los Angeles International'; cancelled refers to Cancelled = 1; cancelled due to a type C cancellation code refers to CANCELLATION_CODE = 'C'; | flights on average = DIVIDE(COUNT(Code), 31); American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; every day in August, 2018 refers to FL_DATE like '2018/8%'; | cancelled flights refers to CANCELLED = 1; | JetBlue Airways refers to Description = '%JetBlue Airway%'; 0 new arrival delay refers to ARR_DELAY_NEW = 0; | name of the airline refers to Description; flights to refers to DEST; Chicago Midway International refers to Description = 'Chicago, IL: Chicago Midway International'; most flights to Chicago Midway International refers to MAX(COUNT(DEST WHERE Description = 'Chicago, IL: Chicago Midway International')); | average departure delay time = DIVIDE(SUM(DEP_DELAY), COUNT(Code)); American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; | flight destination refers to DEST; from Albany refers to ORIGIN = 'ABY'; | tail number refers to TAIL_NUM; Iscargo Hf: ICQ refers to Description = 'Iscargo Hf: ICQ'; arrival time of 1000 and below refers to ARR_TIME < = 1000; | actual departure time refers to DEP_TIME; JetBlue Airways refers to Description like '%JetBlue Airways%'; tail number refers to TAIL_NUM; TAIL_NUM = 'N903JB'; to refers to DEST; Fort Lauderdale-Hollywood International Airport refers to Description like '%Fort Lauderdale-Hollywood%'; on the 20th of August 2018 refers to FL_DATE = '2018/8/20'; | airport found in Ankara, Turkey refers to Description like '%Ankara, Turkey%'; | Republic Airline refers to Description = 'Republic Airline: YX'; fly the most from refers to MAX(COUNT(ORIGIN)); |
How many flights operated by American Airlines Inc. on 2018/8/1 were faster than scheduled? | American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; on 2018/8/1 refers to FL_DATE = '2018/8/1'; faster than scheduled refers to ACTUAL_ELAPSED_TIME < CRS_ELAPSED_TIME; | departed on time refers to DEP_DELAY < = 0; on 8/1/2018 refers to FL_DATE = '2018/8/1'; | SUM(Description = 'American Airlines Inc.: AA') > SUM(Description = 'Endeavor Air Inc.: 9E') means American Airlines Inc. operated more flights than Endeavor Air Inc; SUM(Description = 'American Airlines Inc.: AA') < SUM(Description = 'Endeavor Air Inc.: 9E') means Endeavor Air Inc. operated more flights than American Airlines Inc.; on 2018/8/1 refers to FL_DATE = '2018/8/1'; | shortest arrival time refers to MIN(ARR_TIME); | actual elapsed time refers to ACTUAL_ELAPSED_TIME; Semo Aviation Inc.: SEM. Refers to Description = 'Semo Aviation Inc.: SEM'; | names of the airlines refers to Description; highest number of non-cancelled flights refers to MAX(COUNT(CANCELLED = 0)); | American Airlines can be found in Description which contains 'American Airlines'; percentage = MULTIPLY(DIVIDE(SUM(DEP_DELAY < 0), COUNT(DEP_DELAY)), 1.0); earlier departure refers to DEP_DELAY < 0; | percentage = MULTIPLY(DIVIDE(SUM(CANCELLATION_CODE = 'C'), COUNT(Code)), 100); flights from refers to ORIGIN; Los Angeles International airport refers to Description = 'Los Angeles, CA: Los Angeles International'; cancelled refers to Cancelled = 1; cancelled due to a type C cancellation code refers to CANCELLATION_CODE = 'C'; | name of the airline refers to Description; flights to refers to DEST; Chicago Midway International refers to Description = 'Chicago, IL: Chicago Midway International'; most flights to Chicago Midway International refers to MAX(COUNT(DEST WHERE Description = 'Chicago, IL: Chicago Midway International')); | airport found in Ankara, Turkey refers to Description like '%Ankara, Turkey%'; | flight date refers to FL_DATE; Profit Airlines Inc.: XBH refers to Description = 'Profit Airlines Inc.: XBH'; actual elapsed time below 100 refers to ACTUAL_ELAPSED_TIME < 100; |
On August 2018, which day had the highest number of cancelled flights due to the most serious reasons in Dallas/Fort Worth International? | On August 2018 refers to FL_DATE like '2018/8%'; day with the highest number of cancelled flights refers to MAX(COUNT(FL_DATE WHERE CANCELLED = 1)); cancelled due to the most serious reasons refers to CANCELLATION_CODE = 'A'; in Dallas/Fort Worth International refers to Description = 'Dallas/Fort Worth, TX: Dallas/Fort Worth International'; | percentage = MULTIPLY(DIVIDE(SUM(CANCELLATION_CODE = 'C'), COUNT(Code)), 100); flights from refers to ORIGIN; Los Angeles International airport refers to Description = 'Los Angeles, CA: Los Angeles International'; cancelled refers to Cancelled = 1; cancelled due to a type C cancellation code refers to CANCELLATION_CODE = 'C'; | name of the airline refers to Description; flights to refers to DEST; Chicago Midway International refers to Description = 'Chicago, IL: Chicago Midway International'; most flights to Chicago Midway International refers to MAX(COUNT(DEST WHERE Description = 'Chicago, IL: Chicago Midway International')); | took off from refers to ORIGIN; Los Angeles International airport refers to Description = 'Los Angeles, CA: Los Angeles International'; on 2018/8/27 refers to FL_DATE = '2018/8/27'; | on 2018/8/1 refers to FL_DATE = '2018/8/1'; delayed for the longest time refers to MAX(DEP_DELAY); destination airport refers to DEST; | arrival time lower than the 40% of the average arrival time refers to ARR_TIME < MULTIPLY(AVG(ARR_TIME), 0.4); flew to Phoenix refers to DEST = 'PHX'; | tail number refers to TAIL_NUM; on August 17, 2018 refers to FL_DATE = '2018/8/17'; | from refers to ORIGIN; Charlotte Douglas International Airport refers to Description = 'Charlotte, NC: Charlotte Douglas International'; to refers to DEST; Austin - Bergstrom International Airport refers to Description = 'Austin, TX: Austin - Bergstrom International'; serious reasons refers to CANCELLATION_CODE = 'A'; | average departure delay time = DIVIDE(SUM(DEP_DELAY), COUNT(Code)); American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; | actual elapsed time refers to ACTUAL_ELAPSED_TIME; Semo Aviation Inc.: SEM. Refers to Description = 'Semo Aviation Inc.: SEM'; | Republic Airline refers to Description which contains 'Republic Airline'; departure delay of 30 minutes and above refers to DEP_DELAY > 30; |
How many flights of Endeavor Air Inc. were faster than scheduled on 2018/8/31? | Endeavor Air Inc. refers to Description = 'Endeavor Air Inc.: 9E'; faster than scheduled refers to ACTUAL_ELAPSED_TIME < CRS_ELAPSED_TIME; on 2018/8/31 refers to FL_DATE = '2018/8/31'; | on August 25, 2018 refers to FL_DATE = '2018/8/25'; departure delay of -5 refers to DEP_DELAY = -5; | Asap Air Inc.: ASP refers to Description = 'Asap Air Inc.: ASP'; tail number refers to TAIL_NUM; longest departure delay refers to MAX(DEP_DELAY); | flights on average = DIVIDE(COUNT(Code), 31); American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; every day in August, 2018 refers to FL_DATE like '2018/8%'; | Alaska Airlines refers to Description = 'Alaska Airlines Inc.: AS'; delayed refers to DEP_DELAY > 0; on 2018/8/2 refers to FL_DATE = '2018/8/2'; | On August 2018 refers to FL_DATE like '2018/8%'; day with the highest number of cancelled flights refers to MAX(COUNT(FL_DATE WHERE CANCELLED = 1)); cancelled due to the most serious reasons refers to CANCELLATION_CODE = 'A'; in Dallas/Fort Worth International refers to Description = 'Dallas/Fort Worth, TX: Dallas/Fort Worth International'; | tail number refers to TAIL_NUM; TAIL_NUM = 'N702SK'; | flight date refers to FL_DATE; Profit Airlines Inc.: XBH refers to Description = 'Profit Airlines Inc.: XBH'; actual elapsed time below 100 refers to ACTUAL_ELAPSED_TIME < 100; | American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; on 2018/8/1 refers to FL_DATE = '2018/8/1'; faster than scheduled refers to ACTUAL_ELAPSED_TIME < CRS_ELAPSED_TIME; | flights from refers to ORIGIN; San Diego International airport refers to Description = 'San Diego, CA: San Diego International'; flights to refers to DEST; Los Angeles International airport refers to Description = 'Los Angeles, CA: Los Angeles International'; in the August of 2018 refers to FL_DATE like '2018/8%'; | actual departure time refers to DEP_TIME; JetBlue Airways refers to Description like '%JetBlue Airways%'; tail number refers to TAIL_NUM; TAIL_NUM = 'N903JB'; to refers to DEST; Fort Lauderdale-Hollywood International Airport refers to Description like '%Fort Lauderdale-Hollywood%'; on the 20th of August 2018 refers to FL_DATE = '2018/8/20'; |
Among the flights with air carrier named Republic Airline, how many of the flights have departure delay of 30 minutes and above? | Republic Airline refers to Description which contains 'Republic Airline'; departure delay of 30 minutes and above refers to DEP_DELAY > 30; | Oklahoma as origin refers to Origin = 'OKC'; | names of the airlines refers to Description; highest number of non-cancelled flights refers to MAX(COUNT(CANCELLED = 0)); | tail number refers to TAIL_NUM; on August 17, 2018 refers to FL_DATE = '2018/8/17'; | SUM(Description = 'American Airlines Inc.: AA') > SUM(Description = 'Endeavor Air Inc.: 9E') means American Airlines Inc. operated more flights than Endeavor Air Inc; SUM(Description = 'American Airlines Inc.: AA') < SUM(Description = 'Endeavor Air Inc.: 9E') means Endeavor Air Inc. operated more flights than American Airlines Inc.; on 2018/8/1 refers to FL_DATE = '2018/8/1'; | on August 25, 2018 refers to FL_DATE = '2018/8/25'; departure delay of -5 refers to DEP_DELAY = -5; | Driftwood Bay, AK: Driftwood Bay Airport refers to Description = 'Driftwood Bay, AK: Driftwood Bay Airport'; | landed on refers to DEST; Oakland Airport refers to Description which contains 'Oakland'; on 2018/8/7 refers to FL_DATE = '2018/8/7'; | Republic Airline refers to Description = 'Republic Airline: YX'; fly the most from refers to MAX(COUNT(ORIGIN)); | American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; on 2018/8/1 refers to FL_DATE = '2018/8/1'; faster than scheduled refers to ACTUAL_ELAPSED_TIME < CRS_ELAPSED_TIME; | departed on time refers to DEP_DELAY < = 0; on 8/1/2018 refers to FL_DATE = '2018/8/1'; |
List the tail numbers of all the aircraft that arrived on time at Meadows Field airport in August of 2018? | tail number refers to TAIL_NUM; arrived on time refers to ARR_DELAY < = 0; Meadows Field airport refers to Description = 'Bakersfield, CA: Meadows Field'; in August of 2018 refers to FL_DATE like '2018/8%'; | shortest actual elapsed time refers to MIN(ACTUAL_ELAPSED_TIME); | shortest arrival time refers to MIN(ARR_TIME); | 0 departure delay refers to DEP_DELAY = 0; | Endeavor Air Inc. refers to Description = 'Endeavor Air Inc.: 9E'; faster than scheduled refers to ACTUAL_ELAPSED_TIME < CRS_ELAPSED_TIME; on 2018/8/31 refers to FL_DATE = '2018/8/31'; | flights on average = DIVIDE(COUNT(Code), 31); American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; every day in August, 2018 refers to FL_DATE like '2018/8%'; | name of the airline refers to Description; flights to refers to DEST; Chicago Midway International refers to Description = 'Chicago, IL: Chicago Midway International'; most flights to Chicago Midway International refers to MAX(COUNT(DEST WHERE Description = 'Chicago, IL: Chicago Midway International')); | tail number refers to TAIL_NUM; on August 17, 2018 refers to FL_DATE = '2018/8/17'; | airport found in Ankara, Turkey refers to Description like '%Ankara, Turkey%'; | arrival time lower than the 40% of the average arrival time refers to ARR_TIME < MULTIPLY(AVG(ARR_TIME), 0.4); flew to Phoenix refers to DEST = 'PHX'; | from refers to ORIGIN; Charlotte Douglas International Airport refers to Description = 'Charlotte, NC: Charlotte Douglas International'; to refers to DEST; Austin - Bergstrom International Airport refers to Description = 'Austin, TX: Austin - Bergstrom International'; serious reasons refers to CANCELLATION_CODE = 'A'; |
Among the flights departing from John F. Kennedy International, how many of them arrived earlier than scheduled? | departing from refers to ORIGIN; John F. Kennedy International refers to Description = 'New York, NY: John F. Kennedy International'; arrived earlier than scheduled refers to ARR_DELAY < 0; | airport found in Ankara, Turkey refers to Description like '%Ankara, Turkey%'; | Spirit Air Lines refers to Description = 'Spirit Air Lines: NK'; on 2018/8/7 refers to FL_DATE = '2018/8/7'; | SUM(Description = 'American Airlines Inc.: AA') > SUM(Description = 'Endeavor Air Inc.: 9E') means American Airlines Inc. operated more flights than Endeavor Air Inc; SUM(Description = 'American Airlines Inc.: AA') < SUM(Description = 'Endeavor Air Inc.: 9E') means Endeavor Air Inc. operated more flights than American Airlines Inc.; on 2018/8/1 refers to FL_DATE = '2018/8/1'; | Driftwood Bay, AK: Driftwood Bay Airport refers to Description = 'Driftwood Bay, AK: Driftwood Bay Airport'; | JetBlue Airways refers to Description = '%JetBlue Airway%'; 0 new arrival delay refers to ARR_DELAY_NEW = 0; | flights on average = DIVIDE(COUNT(Code), 31); American Airlines Inc. refers to Description = 'American Airlines Inc.: AA'; every day in August, 2018 refers to FL_DATE like '2018/8%'; | on 2018/8/1 refers to FL_DATE = '2018/8/1'; delayed for the longest time refers to MAX(DEP_DELAY); destination airport refers to DEST; | departed on time refers to DEP_DELAY < = 0; on 8/1/2018 refers to FL_DATE = '2018/8/1'; | origin airport id refers to ORIGIN_AIRPORT_ID; longest delay due to a late aircraft refers to MAX(LATE_AIRCRAFT_DELAY); | Asap Air Inc.: ASP refers to Description = 'Asap Air Inc.: ASP'; tail number refers to TAIL_NUM; longest departure delay refers to MAX(DEP_DELAY); |
End of preview. Expand
in Dataset Viewer.
Dataset card for SQL Questions
This dataset is a reformatting of the sql_questions_triplets
dataset by @sergeyvi4ev, such that the dataset can be directly used to train Sentence Transformer models.
Dataset Subsets
pair
subset
- Columns: "query", "positive"
- Column types:
str
,str
- Examples:
{ 'query': 'How many zip codes are under Barre, VT?', 'positive': '"Barre, VT" is the CBSA_name', }
- Collection strategy: Reading the SQL Questions dataset and selecting all query-positive pairs.
- Deduplified: Yes
triplet
subset
- Columns: "query", "positive", "negative"
- Column types:
str
,str
,str
- Examples:
{ 'query': 'How many zip codes are under Barre, VT?', 'positive': '"Barre, VT" is the CBSA_name', 'negative': "coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756'" }
- Collection strategy: Reading the SQL Questions dataset and selecting all possible triplet pairs.
- Deduplified: No
mined-negative
subset
- Columns: "query", "positive", "negative_1", "negative_2", "negative_3", "negative_4", "negative_5", "negative_6", "negative_7", "negative_8", "negative_9", "negative_10"
- Column types:
str
,str
,str
,str
,str
,str
,str
,str
,str
,str
,str
,str
- Examples:
{ "query": "How many zip codes are under Barre, VT?", "positive": "\"Barre, VT\" is the CBSA_name", "negative_1": "coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756'", "negative_2": "name of county refers to county", "negative_3": "median age over 40 refers to median_age > 40", "negative_4": "\"PHILLIPS\" is the county; 'Montana' is the name of state", "negative_5": "name of the CBSA officer refers to CBSA_name; position of the CBSA officer refers to CBSA_type;", "negative_6": "population greater than 10000 in 2010 refers to population_2010 > 10000;", "negative_7": "postal points refer to zip_code; under New York-Newark-Jersey City, NY-NJ-PA refers to CBSA_name = 'New York-Newark-Jersey City, NY-NJ-PA';", "negative_8": "the largest water area refers to MAX(water_area);", "negative_9": "\"Wisconsin\" is the state; largest land area refers to Max(land_area); full name refers to first_name, last_name; postal code refers to zip_code", "negative_10": "\"Alabama\" and \"Illinois\" are both state; Ratio = Divide (Count(state = 'Alabama'), Count(state = 'Illinois'))" }
- Collection strategy: Reading the SQL Questions dataset, filtering away the 15 samples that did not have 10 negative pairs, and formatting them in the described columns.
- Deduplified: No
- Downloads last month
- 47