db_id
stringclasses
140 values
question
stringlengths
16
224
schema
stringclasses
140 values
summarized-schema
stringlengths
18
304
shrink-score
float64
0
1
flight_4
Find the country of the airlines whose name starts with 'Orbit'.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airlines : country (text) , name (text)
0.916667
flight_4
What are the countries of all airlines whose names start with Orbit?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airlines : country (text) , name (text)
0.916667
flight_4
Find the name of airports whose altitude is between -50 and 50.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , elevation (number)
0.916667
flight_4
What are the names of all airports whose elevation is between -50 and 50?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , elevation (number)
0.916667
flight_4
Which country is the airport that has the highest altitude located in?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : country (text) , elevation (number)
0.916667
flight_4
What is the country of the airport with the highest elevation?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : country (text) , elevation (number)
0.916667
flight_4
Find the number of airports whose name contain the word 'International'.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , apid (number)
0.916667
flight_4
How many airports' names have the word Interanation in them?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , apid (number)
0.916667
flight_4
How many different cities do have some airport in the country of Greenland?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : city (text) , country (text)
0.916667
flight_4
In how many cities are there airports in the country of Greenland?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : city (text) , country (text)
0.916667
flight_4
Find the number of routes operated by American Airlines.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
routes : alid (number) , rid (number) | airlines : alid (number) , name (text)
0.833333
flight_4
How many routes does American Airlines operate?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
routes : alid (number) , rid (number) | airlines : alid (number) , name (text)
0.833333
flight_4
Find the number of routes whose destination airports are in Canada.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : apid (number) , country (text) | routes : dst_apid (number) , rid (number)
0.833333
flight_4
How many routes end in a Canadian airport?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : apid (number) , country (text) | routes : dst_apid (number) , rid (number)
0.833333
flight_4
Find the name, city, and country of the airport that has the lowest altitude.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , city (text) , country (text) , elevation (number)
0.833333
flight_4
What is the name, city, and country of the airport with the lowest altitude?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , city (text) , country (text) , elevation (number)
0.833333
flight_4
Find the name, city, and country of the airport that has the highest latitude.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , city (text) , country (text) , elevation (number)
0.833333
flight_4
What is the name, city, and country of the airport with the highest elevation?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , city (text) , country (text) , elevation (number)
0.833333
flight_4
Find the name and city of the airport which is the destination of the most number of routes.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , city (text) , apid (number) | routes : dst_apid (number) , rid (number)
0.791667
flight_4
What is the name and city of the airport that the most routes end at?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , city (text) , apid (number) | routes : dst_apid (number) , rid (number)
0.791667
flight_4
Find the names of the top 10 airlines that operate the most number of routes.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airlines : name (text) , alid (number) | routes : alid (number) , rid (number)
0.833333
flight_4
For the airline ids with the top 10 most routes operated, what are their names?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airlines : name (text) , alid (number) | routes : alid (number) , rid (number)
0.833333
flight_4
Find the name and city of the airport which is the source for the most number of flight routes.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , city (text) , apid (number) | routes : src_apid (number) , rid (number)
0.791667
flight_4
What is the name and city of the airport from most of the routes start?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , city (text) , apid (number) | routes : src_apid (number) , rid (number)
0.791667
flight_4
Find the number of different airports which are the destinations of the American Airlines.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
routes : dst_apid (number) , alid (number) | airlines : alid (number) , name (text)
0.833333
flight_4
What is the number of different different airports that are destinations for American Airlines?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
routes : dst_apid (number) , alid (number) | airlines : alid (number) , name (text)
0.833333
flight_4
Which countries has the most number of airlines?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airlines : country (text) , alid (number)
0.916667
flight_4
What is the name of the country with the most number of home airlines?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airlines : country (text) , alid (number)
0.916667
flight_4
Which countries has the most number of airlines whose active status is 'Y'?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airlines : country (text) , active (text) , alid (number)
0.875
flight_4
What are the countries with the most airlines whose active status is Y?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airlines : country (text) , active (text) , alid (number)
0.875
flight_4
List all countries and their number of airlines in the descending order of number of airlines.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airlines : country (text) , alid (number)
0.916667
flight_4
How many airlines operate out of each country in descending order?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airlines : country (text) , alid (number)
0.916667
flight_4
How many airports are there per country? Order the countries by decreasing number of airports.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : country (text) , apid (number)
0.916667
flight_4
What is the number of airports per country, ordered from most to least?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : country (text) , apid (number)
0.916667
flight_4
How many airports are there per city in the United States? Order the cities by decreasing number of airports.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : city (text) , country (text) , apid (number)
0.875
flight_4
How many airports are there per city in the US ordered from most to least?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : city (text) , country (text) , apid (number)
0.875
flight_4
Return the cities with more than 3 airports in the United States.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : city (text) , country (text) , apid (number)
0.875
flight_4
What is the number of cities in the United States with more than 3 airports?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : city (text) , country (text) , apid (number)
0.875
flight_4
How many cities are there that have more than 3 airports?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : city (text) , apid (number)
0.916667
flight_4
What is the count of cities with more than 3 airports?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : city (text) , apid (number)
0.916667
flight_4
List the cities which have more than one airport and number of airports.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : city (text) , apid (number)
0.916667
flight_4
What are the names of all cities with more than one airport and how many airports do they have?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : city (text) , apid (number)
0.916667
flight_4
List the cities which have more than 2 airports sorted by the number of airports.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : city (text) , apid (number)
0.916667
flight_4
What are the cities that have more than 2 airports sorted by number of airports?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : city (text) , apid (number)
0.916667
flight_4
Find the number of routes for each source airport and the airport name.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , apid (number) | routes : src_apid (number) , rid (number)
0.833333
flight_4
For each airport name, how many routes start at that airport?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , apid (number) | routes : src_apid (number) , rid (number)
0.833333
flight_4
Find the number of routes and airport name for each source airport, order the results by decreasing number of routes.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , apid (number) | routes : src_apid (number) , rid (number)
0.833333
flight_4
For each airport name, how many routes start at that airport, ordered from most to least?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , apid (number) | routes : src_apid (number) , rid (number)
0.833333
flight_4
Find the average elevation of all airports for each country.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : elevation (number) , country (text)
0.916667
flight_4
For each country, what is the average elevation of that country's airports?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : elevation (number) , country (text)
0.916667
flight_4
Find the cities which have exactly two airports.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : city (text) , apid (number)
0.916667
flight_4
What are the cities with exactly two airports?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : city (text) , apid (number)
0.916667
flight_4
For each country and airline name, how many routes are there?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airlines : country (text) , name (text) , alid (number) | routes : alid (number) , rid (number)
0.791667
flight_4
What is the total number of routes for each country and airline in that country?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airlines : country (text) , name (text) , alid (number) | routes : alid (number) , rid (number)
0.791667
flight_4
Find the number of routes with destination airports in Italy.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
routes : dst_apid (number) , rid (number) | airports : apid (number) , country (text)
0.833333
flight_4
What is the number of routes whose destinations are Italian airports?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
routes : dst_apid (number) , rid (number) | airports : apid (number) , country (text)
0.833333
flight_4
Return the number of routes with destination airport in Italy operated by the airline with name 'American Airlines'.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
routes : dst_apid (number) , alid (number) , rid (number) | airports : apid (number) , country (text) , name (text) | airlines : alid (number) , country (text) , name (text)
0.625
flight_4
What is the number of routes operated by the airline American Airlines whose destinations are in Italy?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
routes : dst_apid (number) , alid (number) , rid (number) | airports : apid (number) , country (text) , name (text) | airlines : alid (number) , country (text) , name (text)
0.625
flight_4
Find the number of routes that have destination John F Kennedy International Airport.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : apid (number) , name (text) | routes : dst_apid (number) , rid (number)
0.833333
flight_4
What is the number of routes that end at John F Kennedy International Airport?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : apid (number) , name (text) | routes : dst_apid (number) , rid (number)
0.833333
flight_4
Find the number of routes from the United States to Canada.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
routes : dst_apid (number) , src_apid (number) , rid (number) | airports : apid (number) , country (text)
0.791667
flight_4
How many routes go from the United States to Canada?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
routes : dst_apid (number) , src_apid (number) , rid (number) | airports : apid (number) , country (text)
0.791667
flight_4
Find the id of routes whose source and destination airports are in the United States.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
routes : rid (number) , dst_apid (number) , src_apid (number) | airports : apid (number) , country (text)
0.791667
flight_4
What is the id of the routes whose source and destination airports are in the United States?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
routes : rid (number) , dst_apid (number) , src_apid (number) | airports : apid (number) , country (text)
0.791667
flight_4
Find the name of airline which runs the most number of routes.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airlines : name (text) , alid (number) | routes : alid (number) , rid (number)
0.833333
flight_4
What is the name of the airline with the most routes?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airlines : name (text) , alid (number) | routes : alid (number) , rid (number)
0.833333
flight_4
Find the busiest source airport that runs most number of routes in China.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , apid (number) , country (text) | routes : src_apid (number) , rid (number)
0.791667
flight_4
What is the name of the airport with the most number of routes that start in China?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , apid (number) , country (text) | routes : src_apid (number) , rid (number)
0.791667
flight_4
Find the busiest destination airport that runs most number of routes in China.
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , apid (number) , country (text) | routes : dst_apid (number) , rid (number)
0.791667
flight_4
What is the name of the airport that is the destination of the most number of routes that start in China?
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
airports : name (text) , apid (number) , country (text) | routes : dst_apid (number) , rid (number)
0.791667
tracking_orders
What is the id of the most recent order?
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
orders : order_id (number) , date_order_placed (time)
0.925926
tracking_orders
Find the id of the order made most recently.
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
orders : order_id (number) , date_order_placed (time)
0.925926
tracking_orders
what are the order id and customer id of the oldest order?
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
orders : order_id (number) , customer_id (number) , date_order_placed (time)
0.888889
tracking_orders
Find the order id and customer id associated with the oldest order.
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
orders : order_id (number) , customer_id (number) , date_order_placed (time)
0.888889
tracking_orders
Find the id of the order whose shipment tracking number is "3452".
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
shipments : order_id (number) , shipment_tracking_number (text)
0.925926
tracking_orders
Which order's shipment tracking number is "3452"? Give me the id of the order.
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
shipments : order_id (number) , shipment_tracking_number (text)
0.925926
tracking_orders
Find the ids of all the order items whose product id is 11.
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
order_items : order_item_id (number) , product_id (number)
0.925926
tracking_orders
Find all the order items whose product id is 11. What are the order item ids?
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
order_items : order_item_id (number) , product_id (number)
0.925926
tracking_orders
List the name of all the distinct customers who have orders with status "Packing".
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_status (text)
0.851852
tracking_orders
Which customers have orders with status "Packing"? Give me the customer names.
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_status (text)
0.851852
tracking_orders
Find the details of all the distinct customers who have orders with status "On Road".
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
customers : customer_details (text) , customer_id (number) | orders : customer_id (number) , order_status (text)
0.851852
tracking_orders
What are the distinct customers who have orders with status "On Road"? Give me the customer details?
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
customers : customer_details (text) , customer_id (number) | orders : customer_id (number) , order_status (text)
0.851852
tracking_orders
What is the name of the customer who has the most orders?
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_id (number)
0.851852
tracking_orders
Which customer made the most orders? Find the customer name.
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_id (number)
0.851852
tracking_orders
What is the customer id of the customer who has the most orders?
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
customers : customer_id (number) | orders : customer_id (number) , order_id (number)
0.888889
tracking_orders
Find the id of the customer who made the most orders.
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
customers : customer_id (number) | orders : customer_id (number) , order_id (number)
0.888889
tracking_orders
Give me a list of id and status of orders which belong to the customer named "Jeramie".
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
orders : order_id (number) , order_status (text) , customer_id (number) | customers : customer_id (number) , customer_name (text)
0.814815
tracking_orders
Which orders are made by the customer named "Jeramie"? Give me the order ids and status.
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
orders : order_id (number) , order_status (text) , customer_id (number) | customers : customer_id (number) , customer_name (text)
0.814815
tracking_orders
Find the dates of orders which belong to the customer named "Jeramie".
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
orders : date_order_placed (time) , customer_id (number) | customers : customer_id (number) , customer_name (text)
0.851852
tracking_orders
What are the dates of the orders made by the customer named "Jeramie"?
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
orders : date_order_placed (time) , customer_id (number) | customers : customer_id (number) , customer_name (text)
0.851852
tracking_orders
Give me the names of customers who have placed orders between 2009-01-01 and 2010-01-01.
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , date_order_placed (time)
0.851852
tracking_orders
Which customers made orders between 2009-01-01 and 2010-01-01? Find their names.
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , date_order_placed (time)
0.851852
tracking_orders
Give me a list of distinct product ids from orders placed between 1975-01-01 and 1976-01-01?
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
order_items : product_id (number) , order_id (number) | orders : order_id (number) , date_order_placed (time)
0.851852
tracking_orders
What are the distinct ids of products ordered between 1975-01-01 and 1976-01-01??
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
order_items : product_id (number) , order_id (number) | orders : order_id (number) , date_order_placed (time)
0.851852
tracking_orders
Find the names of the customers who have order status both "On Road" and "Shipped".
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_status (text)
0.851852
tracking_orders
Which customers have both "On Road" and "Shipped" as order status? List the customer names.
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
customers : customer_name (text) , customer_id (number) | orders : customer_id (number) , order_status (text)
0.851852
tracking_orders
Find the id of the customers who have order status both "On Road" and "Shipped".
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
customers : customer_id (number) | orders : customer_id (number) , order_status (text)
0.888889
tracking_orders
Which customers have both "On Road" and "Shipped" as order status? List the customer ids.
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
customers : customer_id (number) | orders : customer_id (number) , order_status (text)
0.888889
tracking_orders
When was the order placed whose shipment tracking number is 3452? Give me the date.
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
orders : date_order_placed (time) , order_id (number) | shipments : order_id (number) , shipment_tracking_number (text)
0.851852
tracking_orders
On which day was the order placed whose shipment tracking number is 3452?
customers : customer_id (number) , customer_name (text) , customer_details (text) | invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | products : product_id (number) , product_name (text) , product_details (text) | order_items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | shipment_items : shipment_id (number) , order_item_id (number)
orders : date_order_placed (time) , order_id (number) | shipments : order_id (number) , shipment_tracking_number (text)
0.851852