[ { "question": "show #name# , #country# , ag #e for all singers o# rdered by #age# from the oldest to the youngest.", "db_id": "concert_singer", "orig_query": "select name, country, age from singer order by age desc", "schema_with_content": "stadium : location (\"East Fife\", \"Arbroath\", \"East Fife\"), name (\"Forthbank Stadium\", \"Hampden Park\", \"Gayfield Park\"), average (552, 552, 864), stadium_id (9, 2, 4), capacity (3808, 4000, 3960), lowest (533, 331, 466), highest (837, 921, 2363) | singer : singer_id (1, 6, 4), artist_name (\"Joe Sharp\", \"Tribal King\", \"Timbaland\"), performer_name (\"Joe Sharp\", \"Tribal King\", \"Timbaland\"), song_name (\"Sun\", \"You\", \"Gentleman\"), song_release_year (\"2014\", \"2008\", \"1992\"), age (41, 25, 29), is_male (\"F\", \"T\"), country (\"Netherlands\", \"United States\", \"France\") | concert : theme (\"Wide Awake\", \"Bleeding Love\", \"Happy Tonight\"), stadium_id (\"1\", \"1\", \"1\"), concert_id (2, 6, 6), concert_name (\"Home Visits\", \"Super bootcamp\", \"Week 1\"), year (\"2014\", \"2015\") | singer_in_concert : concert_id (2, 6, 5), singer_id (\"3\", \"4\", \"5\")", "schema_without_content": "stadium : location , name , average , stadium_id , capacity , lowest , highest | singer : singer_id , artist_name , performer_name , song_name , song_release_year , age , is_male , country | concert : theme , stadium_id , concert_id , concert_name , year | singer_in_concert : concert_id , singer_id", "extra_map": { "singer": { "name": [ "artist_name", "performer_name" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "country", "song_name", "song_release_year", "age", "is_male", "artist_name", "performer_name" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "singer.Name", "country": "singer.Country", "e for all singers o": "singer", "age": "singer.Age" } }, { "question": "show #name# , #country# , ag #e for all singers o# rdered by #age# from the oldest to the youngest.", "db_id": "concert_singer", "orig_query": "select name, country, age from singer order by age desc", "schema_with_content": "stadium : name (\"Balmoor\", \"Glebe Park\", \"Stark's Park\"), location (\"Peterhead\", \"Queen's Park\", \"Alloa Athletic\"), average (552, 552, 637), lowest (533, 533, 411), capacity (2000, 4000, 3808), stadium_id (10, 5, 4), highest (4812, 1057, 921) | singer : birthdate (29, 41, 43), is_male (\"F\", \"T\"), country (\"Netherlands\", \"United States\", \"France\"), song_release_year (\"2008\", \"2014\", \"2016\"), years_old (29, 41, 43), name (\"Tribal King\", \"John Nizinik\", \"Justin Brown\"), song_name (\"Gentleman\", \"Love\", \"Sun\"), singer_id (2, 5, 6) | concert : stadium_id (\"10\", \"10\", \"2\"), year (\"2014\", \"2015\"), concert_name (\"Auditions\", \"Auditions\", \"Week 2\"), concert_id (6, 4, 6), theme (\"Happy Tonight\", \"Happy Tonight\", \"Happy Tonight\") | singer_in_concert : singer_id (\"6\", \"2\", \"4\"), concert_id (1, 4, 1)", "schema_without_content": "stadium : name , location , average , lowest , capacity , stadium_id , highest | singer : birthdate , is_male , country , song_release_year , years_old , name , song_name , singer_id | concert : stadium_id , year , concert_name , concert_id , theme | singer_in_concert : singer_id , concert_id", "extra_map": { "singer": { "age": [ "years_old", "birthdate" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "is_male", "years_old", "birthdate" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "singer.Name", "country": "singer.Country", "e for all singers o": "singer", "age": "singer.Age" } }, { "question": "show #name# , #country# , ag #e for all singers o# rdered by #age# from the oldest to the youngest.", "db_id": "concert_singer", "orig_query": "select name, country, age from singer order by age desc", "schema_with_content": "stadium : highest (921, 780, 837), stadium_id (6, 7, 7), location (\"Alloa Athletic\", \"Ayr United\", \"Arbroath\"), capacity (10104, 11998, 52500), lowest (411, 1057, 1294), name (\"Gayfield Park\", \"Forthbank Stadium\", \"Recreation Park\"), average (1477, 642, 638) | singer : is_male (\"F\", \"T\"), singer_id (3, 1, 2), nationality (\"Netherlands\", \"United States\", \"France\"), song_name (\"You\", \"You\", \"Hey Oh\"), song_release_year (\"2003\", \"1992\", \"2016\"), age (29, 25, 25), citizenship (\"Netherlands\", \"United States\", \"France\"), name (\"John Nizinik\", \"Rose White\", \"Tribal King\") | concert : year (\"2014\", \"2015\"), concert_id (5, 6, 5), concert_name (\"Week 1\", \"Home Visits\", \"Week 2\"), theme (\"Bleeding Love\", \"Happy Tonight\", \"Free choice 2\"), stadium_id (\"7\", \"7\", \"10\") | singer_in_concert : concert_id (2, 4, 5), singer_id (\"2\", \"5\", \"4\")", "schema_without_content": "stadium : highest , stadium_id , location , capacity , lowest , name , average | singer : is_male , singer_id , nationality , song_name , song_release_year , age , citizenship , name | concert : year , concert_id , concert_name , theme , stadium_id | singer_in_concert : concert_id , singer_id", "extra_map": { "singer": { "country": [ "nationality", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "song_name", "song_release_year", "age", "is_male", "nationality", "citizenship" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "singer.Name", "country": "singer.Country", "e for all singers o": "singer", "age": "singer.Age" } }, { "question": "what are the #names# , #countries# , and #ages# for every #singer# in descending order of age?", "db_id": "concert_singer", "orig_query": "select name, country, age from singer order by age desc", "schema_with_content": "stadium : name (\"Recreation Park\", \"Recreation Park\", \"Balmoor\"), lowest (331, 533, 331), stadium_id (3, 4, 1), average (637, 1477, 730), location (\"Raith Rovers\", \"Peterhead\", \"Raith Rovers\"), highest (1763, 1763, 1057), capacity (3960, 11998, 4000) | singer : song_name (\"Dangerous\", \"Love\", \"You\"), is_male (\"F\", \"T\"), performer_name (\"Justin Brown\", \"Tribal King\", \"Tribal King\"), song_release_year (\"2003\", \"2013\", \"1992\"), age (29, 43, 41), country (\"Netherlands\", \"United States\", \"France\"), singer_id (1, 2, 6), artist_name (\"Justin Brown\", \"Tribal King\", \"Tribal King\") | concert : theme (\"Happy Tonight\", \"Bleeding Love\", \"Happy Tonight\"), concert_id (1, 3, 1), stadium_id (\"2\", \"7\", \"2\"), year (\"2014\", \"2015\"), concert_name (\"Super bootcamp\", \"Week 1\", \"Week 2\") | singer_in_concert : singer_id (\"2\", \"2\", \"4\"), concert_id (5, 1, 4)", "schema_without_content": "stadium : name , lowest , stadium_id , average , location , highest , capacity | singer : song_name , is_male , performer_name , song_release_year , age , country , singer_id , artist_name | concert : theme , concert_id , stadium_id , year , concert_name | singer_in_concert : singer_id , concert_id", "extra_map": { "singer": { "name": [ "artist_name", "performer_name" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "country", "song_name", "song_release_year", "age", "is_male", "artist_name", "performer_name" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "names": "singer.Name", "countries": "singer.Country", "ages": "singer.Age", "singer": "singer" } }, { "question": "what are the #names# , #countries# , and #ages# for every #singer# in descending order of age?", "db_id": "concert_singer", "orig_query": "select name, country, age from singer order by age desc", "schema_with_content": "stadium : highest (837, 921, 1763), name (\"Forthbank Stadium\", \"Forthbank Stadium\", \"Balmoor\"), average (864, 864, 638), capacity (4000, 52500, 2000), stadium_id (1, 10, 3), location (\"Alloa Athletic\", \"Raith Rovers\", \"Queen's Park\"), lowest (400, 411, 315) | singer : country (\"Netherlands\", \"United States\", \"France\"), is_male (\"F\", \"T\"), singer_id (2, 5, 4), song_name (\"Love\", \"Gentleman\", \"Sun\"), birthdate (41, 43, 32), years_old (41, 43, 32), song_release_year (\"2016\", \"2016\", \"2003\"), name (\"Timbaland\", \"John Nizinik\", \"Joe Sharp\") | concert : year (\"2014\", \"2015\"), concert_id (1, 6, 1), concert_name (\"Week 1\", \"Week 2\", \"Week 2\"), theme (\"Free choice\", \"Happy Tonight\", \"Happy Tonight\"), stadium_id (\"7\", \"10\", \"10\") | singer_in_concert : singer_id (\"6\", \"4\", \"4\"), concert_id (4, 5, 1)", "schema_without_content": "stadium : highest , name , average , capacity , stadium_id , location , lowest | singer : country , is_male , singer_id , song_name , birthdate , years_old , song_release_year , name | concert : year , concert_id , concert_name , theme , stadium_id | singer_in_concert : singer_id , concert_id", "extra_map": { "singer": { "age": [ "years_old", "birthdate" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "is_male", "years_old", "birthdate" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "names": "singer.Name", "countries": "singer.Country", "ages": "singer.Age", "singer": "singer" } }, { "question": "what are the #names# , #countries# , and #ages# for every #singer# in descending order of age?", "db_id": "concert_singer", "orig_query": "select name, country, age from singer order by age desc", "schema_with_content": "stadium : name (\"Somerset Park\", \"Recreation Park\", \"Gayfield Park\"), lowest (411, 411, 331), capacity (10104, 11998, 2000), stadium_id (4, 1, 6), location (\"Raith Rovers\", \"Brechin City\", \"Raith Rovers\"), average (1477, 730, 864), highest (4812, 837, 780) | singer : song_name (\"Sun\", \"Dangerous\", \"Sun\"), song_release_year (\"2016\", \"2016\", \"2014\"), age (29, 32, 32), nationality (\"Netherlands\", \"United States\", \"France\"), singer_id (2, 5, 5), citizenship (\"Netherlands\", \"United States\", \"France\"), name (\"John Nizinik\", \"Joe Sharp\", \"Rose White\"), is_male (\"F\", \"T\") | concert : theme (\"Happy Tonight\", \"Wide Awake\", \"Free choice\"), concert_id (2, 6, 6), stadium_id (\"9\", \"10\", \"1\"), concert_name (\"Week 2\", \"Auditions\", \"Week 1\"), year (\"2014\", \"2015\") | singer_in_concert : singer_id (\"4\", \"6\", \"6\"), concert_id (1, 4, 4)", "schema_without_content": "stadium : name , lowest , capacity , stadium_id , location , average , highest | singer : song_name , song_release_year , age , nationality , singer_id , citizenship , name , is_male | concert : theme , concert_id , stadium_id , concert_name , year | singer_in_concert : singer_id , concert_id", "extra_map": { "singer": { "country": [ "nationality", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "song_name", "song_release_year", "age", "is_male", "nationality", "citizenship" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "names": "singer.Name", "countries": "singer.Country", "ages": "singer.Age", "singer": "singer" } }, { "question": "what is #the average, minimum, and maximum age of all singers f# rom #france# ?", "db_id": "concert_singer", "orig_query": "select avg(age), min(age), max(age) from singer where country = 'France'", "schema_with_content": "stadium : highest (837, 1763, 1763), location (\"Queen's Park\", \"Brechin City\", \"East Fife\"), stadium_id (4, 10, 6), lowest (533, 400, 404), average (1477, 864, 615), capacity (3100, 11998, 52500), name (\"Gayfield Park\", \"Recreation Park\", \"Bayview Stadium\") | singer : country (\"Netherlands\", \"United States\", \"France\"), years_old (29, 52, 43), is_male (\"F\", \"T\"), birthdate (29, 52, 43), song_name (\"You\", \"Gentleman\", \"Dangerous\"), singer_id (1, 2, 1), song_release_year (\"2016\", \"2003\", \"2008\"), name (\"Timbaland\", \"Justin Brown\", \"Justin Brown\") | concert : concert_id (4, 2, 2), theme (\"Happy Tonight\", \"Bleeding Love\", \"Party All Night\"), stadium_id (\"2\", \"10\", \"10\"), year (\"2014\", \"2015\"), concert_name (\"Week 1\", \"Auditions\", \"Auditions\") | singer_in_concert : singer_id (\"2\", \"3\", \"4\"), concert_id (3, 6, 5)", "schema_without_content": "stadium : highest , location , stadium_id , lowest , average , capacity , name | singer : country , years_old , is_male , birthdate , song_name , singer_id , song_release_year , name | concert : concert_id , theme , stadium_id , year , concert_name | singer_in_concert : singer_id , concert_id", "extra_map": { "singer": { "age": [ "years_old", "birthdate" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "is_male", "years_old", "birthdate" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "the average, minimum, and maximum age of all singers f": "singer.Age", "France": "singer.Country" } }, { "question": "what is the #average, minimum, and maximum age for all french singers?# ?", "db_id": "concert_singer", "orig_query": "select avg(age), min(age), max(age) from singer where country = 'France'", "schema_with_content": "stadium : capacity (3100, 3808, 10104), stadium_id (1, 1, 1), location (\"Raith Rovers\", \"Stirling Albion\", \"Stirling Albion\"), average (638, 730, 638), lowest (411, 466, 315), name (\"Recreation Park\", \"Somerset Park\", \"Stark's Park\"), highest (1763, 2363, 2363) | singer : name (\"Rose White\", \"John Nizinik\", \"Justin Brown\"), song_name (\"Gentleman\", \"Dangerous\", \"Gentleman\"), years_old (32, 29, 43), song_release_year (\"2014\", \"2016\", \"2014\"), country (\"Netherlands\", \"United States\", \"France\"), is_male (\"F\", \"T\"), singer_id (3, 5, 1), birthdate (32, 29, 43) | concert : concert_name (\"Week 1\", \"Auditions\", \"Auditions\"), concert_id (1, 6, 1), stadium_id (\"1\", \"2\", \"1\"), theme (\"Free choice\", \"Party All Night\", \"Free choice 2\"), year (\"2014\", \"2015\") | singer_in_concert : singer_id (\"5\", \"6\", \"3\"), concert_id (2, 6, 3)", "schema_without_content": "stadium : capacity , stadium_id , location , average , lowest , name , highest | singer : name , song_name , years_old , song_release_year , country , is_male , singer_id , birthdate | concert : concert_name , concert_id , stadium_id , theme , year | singer_in_concert : singer_id , concert_id", "extra_map": { "singer": { "age": [ "years_old", "birthdate" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "is_male", "years_old", "birthdate" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "average, minimum, and maximum age for all French singers?": "singer.Age" } }, { "question": "show the #name# and the #release year of the song by the youngest singer# .", "db_id": "concert_singer", "orig_query": "select song_name, song_release_year from singer order by age limit 1", "schema_with_content": "stadium : capacity (3100, 3960, 10104), average (2106, 638, 615), name (\"Balmoor\", \"Forthbank Stadium\", \"Stark's Park\"), lowest (1294, 1057, 466), stadium_id (9, 1, 2), highest (837, 2363, 837), location (\"Stirling Albion\", \"Brechin City\", \"Arbroath\") | singer : composition_release_year (\"2013\", \"2013\", \"2013\"), is_male (\"F\", \"T\"), track_release_year (\"2013\", \"2013\", \"2013\"), country (\"Netherlands\", \"United States\", \"France\"), song_name (\"Dangerous\", \"Gentleman\", \"Love\"), singer_id (3, 4, 4), name (\"Tribal King\", \"Joe Sharp\", \"Joe Sharp\"), age (41, 41, 43) | concert : concert_name (\"Week 1\", \"Week 2\", \"Week 1\"), concert_id (4, 2, 2), theme (\"Bleeding Love\", \"Free choice\", \"Bleeding Love\"), year (\"2014\", \"2015\"), stadium_id (\"2\", \"9\", \"10\") | singer_in_concert : concert_id (2, 6, 6), singer_id (\"5\", \"2\", \"3\")", "schema_without_content": "stadium : capacity , average , name , lowest , stadium_id , highest , location | singer : composition_release_year , is_male , track_release_year , country , song_name , singer_id , name , age | concert : concert_name , concert_id , theme , year , stadium_id | singer_in_concert : concert_id , singer_id", "extra_map": { "singer": { "song_release_year": [ "track_release_year", "composition_release_year" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "country", "song_name", "age", "is_male", "track_release_year", "composition_release_year" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "singer.Name", "release year of the song by the youngest singer": "singer.Song_release_year" } }, { "question": "show the #name# and the #release year of the song by the youngest singer# .", "db_id": "concert_singer", "orig_query": "select song_name, song_release_year from singer order by age limit 1", "schema_with_content": "stadium : lowest (411, 404, 411), highest (1125, 1057, 1980), location (\"Stirling Albion\", \"Alloa Athletic\", \"Ayr United\"), stadium_id (7, 2, 7), capacity (52500, 3808, 2000), name (\"Hampden Park\", \"Bayview Stadium\", \"Stark's Park\"), average (615, 637, 642) | singer : name (\"Rose White\", \"Justin Brown\", \"Joe Sharp\"), is_male (\"F\", \"T\"), country (\"Netherlands\", \"United States\", \"France\"), composition_name (\"Hey Oh\", \"Love\", \"Love\"), singer_id (2, 1, 4), song_release_year (\"2014\", \"2016\", \"2008\"), track_name (\"Hey Oh\", \"Love\", \"Love\"), age (41, 25, 43) | concert : concert_name (\"Week 1\", \"Super bootcamp\", \"Auditions\"), year (\"2014\", \"2015\"), stadium_id (\"10\", \"1\", \"1\"), concert_id (6, 2, 4), theme (\"Free choice 2\", \"Bleeding Love\", \"Bleeding Love\") | singer_in_concert : concert_id (1, 1, 3), singer_id (\"2\", \"2\", \"2\")", "schema_without_content": "stadium : lowest , highest , location , stadium_id , capacity , name , average | singer : name , is_male , country , composition_name , singer_id , song_release_year , track_name , age | concert : concert_name , year , stadium_id , concert_id , theme | singer_in_concert : concert_id , singer_id", "extra_map": { "singer": { "song_name": [ "track_name", "composition_name" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "country", "song_release_year", "age", "is_male", "track_name", "composition_name" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "singer.Name", "release year of the song by the youngest singer": "singer.Song_release_year" } }, { "question": "what are the #names# and #release years for all the songs of the youngest singer# ?", "db_id": "concert_singer", "orig_query": "select song_name, song_release_year from singer order by age limit 1", "schema_with_content": "stadium : lowest (400, 315, 533), name (\"Balmoor\", \"Somerset Park\", \"Recreation Park\"), highest (780, 1125, 921), average (730, 638, 638), location (\"Peterhead\", \"Arbroath\", \"Arbroath\"), stadium_id (6, 3, 6), capacity (52500, 3960, 52500) | singer : age (43, 52, 52), track_release_year (\"2013\", \"2008\", \"2016\"), country (\"Netherlands\", \"United States\", \"France\"), song_name (\"Sun\", \"Love\", \"You\"), singer_id (5, 1, 2), composition_release_year (\"2013\", \"2008\", \"2016\"), name (\"John Nizinik\", \"Joe Sharp\", \"Joe Sharp\"), is_male (\"F\", \"T\") | concert : theme (\"Free choice\", \"Bleeding Love\", \"Party All Night\"), year (\"2014\", \"2015\"), concert_name (\"Week 1\", \"Auditions\", \"Week 2\"), stadium_id (\"7\", \"7\", \"1\"), concert_id (6, 2, 6) | singer_in_concert : concert_id (3, 5, 6), singer_id (\"5\", \"5\", \"2\")", "schema_without_content": "stadium : lowest , name , highest , average , location , stadium_id , capacity | singer : age , track_release_year , country , song_name , singer_id , composition_release_year , name , is_male | concert : theme , year , concert_name , stadium_id , concert_id | singer_in_concert : concert_id , singer_id", "extra_map": { "singer": { "song_release_year": [ "track_release_year", "composition_release_year" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "country", "song_name", "age", "is_male", "track_release_year", "composition_release_year" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "names": "singer.Song_Name", "release years for all the songs of the youngest singer": "singer.Song_release_year" } }, { "question": "what are the #names# and #release years for all the songs of the youngest singer# ?", "db_id": "concert_singer", "orig_query": "select song_name, song_release_year from singer order by age limit 1", "schema_with_content": "stadium : highest (1763, 921, 837), name (\"Bayview Stadium\", \"Balmoor\", \"Recreation Park\"), location (\"Brechin City\", \"Ayr United\", \"Ayr United\"), capacity (10104, 52500, 4000), average (642, 638, 637), lowest (411, 331, 1294), stadium_id (9, 6, 10) | singer : name (\"John Nizinik\", \"Rose White\", \"Timbaland\"), composition_name (\"Sun\", \"Dangerous\", \"Hey Oh\"), song_release_year (\"2014\", \"2016\", \"2013\"), age (41, 52, 52), is_male (\"F\", \"T\"), singer_id (2, 3, 5), country (\"Netherlands\", \"United States\", \"France\"), track_name (\"Sun\", \"Dangerous\", \"Hey Oh\") | concert : concert_name (\"Auditions\", \"Super bootcamp\", \"Week 1\"), year (\"2014\", \"2015\"), theme (\"Happy Tonight\", \"Free choice\", \"Free choice\"), concert_id (6, 1, 5), stadium_id (\"7\", \"7\", \"1\") | singer_in_concert : singer_id (\"5\", \"5\", \"3\"), concert_id (1, 6, 4)", "schema_without_content": "stadium : highest , name , location , capacity , average , lowest , stadium_id | singer : name , composition_name , song_release_year , age , is_male , singer_id , country , track_name | concert : concert_name , year , theme , concert_id , stadium_id | singer_in_concert : singer_id , concert_id", "extra_map": { "singer": { "song_name": [ "track_name", "composition_name" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "country", "song_release_year", "age", "is_male", "track_name", "composition_name" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "names": "singer.Song_Name", "release years for all the songs of the youngest singer": "singer.Song_release_year" } }, { "question": "what are all distinct #countries# where #singers# above #age# 20 are from?", "db_id": "concert_singer", "orig_query": "select distinct country from singer where age > 20", "schema_with_content": "stadium : location (\"Peterhead\", \"Alloa Athletic\", \"Ayr United\"), lowest (315, 400, 1057), name (\"Recreation Park\", \"Glebe Park\", \"Recreation Park\"), stadium_id (1, 3, 1), highest (1763, 1125, 837), average (637, 638, 638), capacity (11998, 3808, 52500) | singer : name (\"Tribal King\", \"Rose White\", \"Rose White\"), age (29, 25, 41), song_release_year (\"2016\", \"2016\", \"2008\"), nationality (\"Netherlands\", \"United States\", \"France\"), is_male (\"F\", \"T\"), citizenship (\"Netherlands\", \"United States\", \"France\"), singer_id (2, 1, 5), song_name (\"Love\", \"Sun\", \"You\") | concert : stadium_id (\"9\", \"2\", \"7\"), concert_name (\"Week 2\", \"Week 2\", \"Week 1\"), concert_id (2, 6, 2), year (\"2014\", \"2015\"), theme (\"Free choice\", \"Wide Awake\", \"Free choice\") | singer_in_concert : singer_id (\"3\", \"4\", \"3\"), concert_id (4, 2, 1)", "schema_without_content": "stadium : location , lowest , name , stadium_id , highest , average , capacity | singer : name , age , song_release_year , nationality , is_male , citizenship , singer_id , song_name | concert : stadium_id , concert_name , concert_id , year , theme | singer_in_concert : singer_id , concert_id", "extra_map": { "singer": { "country": [ "nationality", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "song_name", "song_release_year", "age", "is_male", "nationality", "citizenship" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "countries": "singer.Country", "singers": "singer", "age": "singer.Age" } }, { "question": "what are the different #countries with singer# s above #age# 20?", "db_id": "concert_singer", "orig_query": "select distinct country from singer where age > 20", "schema_with_content": "stadium : highest (1057, 1980, 837), capacity (10104, 11998, 3960), average (638, 2106, 2106), lowest (400, 331, 1294), name (\"Forthbank Stadium\", \"Recreation Park\", \"Somerset Park\"), stadium_id (7, 6, 2), location (\"East Fife\", \"Ayr United\", \"Ayr United\") | singer : nationality (\"Netherlands\", \"United States\", \"France\"), name (\"Rose White\", \"Timbaland\", \"Justin Brown\"), age (29, 29, 41), song_name (\"Love\", \"Gentleman\", \"You\"), citizenship (\"Netherlands\", \"United States\", \"France\"), is_male (\"F\", \"T\"), singer_id (1, 6, 6), song_release_year (\"2014\", \"2008\", \"2016\") | concert : concert_id (1, 2, 4), year (\"2014\", \"2015\"), concert_name (\"Super bootcamp\", \"Super bootcamp\", \"Week 2\"), theme (\"Free choice\", \"Free choice\", \"Wide Awake\"), stadium_id (\"9\", \"2\", \"10\") | singer_in_concert : singer_id (\"6\", \"6\", \"5\"), concert_id (6, 6, 6)", "schema_without_content": "stadium : highest , capacity , average , lowest , name , stadium_id , location | singer : nationality , name , age , song_name , citizenship , is_male , singer_id , song_release_year | concert : concert_id , year , concert_name , theme , stadium_id | singer_in_concert : singer_id , concert_id", "extra_map": { "singer": { "country": [ "nationality", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "song_name", "song_release_year", "age", "is_male", "nationality", "citizenship" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "countries with singer": "singer.Country", "age": "singer.Age", "singers": "singer" } }, { "question": "show all #countries# and the #number of singers# in each country.", "db_id": "concert_singer", "orig_query": "select country, count(*) from singer group by country", "schema_with_content": "stadium : lowest (331, 411, 315), location (\"Ayr United\", \"Stirling Albion\", \"East Fife\"), highest (1980, 837, 921), capacity (10104, 4000, 11998), average (2106, 552, 2106), stadium_id (7, 7, 6), name (\"Forthbank Stadium\", \"Bayview Stadium\", \"Bayview Stadium\") | singer : singer_id (2, 3, 4), is_male (\"F\", \"T\"), age (43, 41, 25), song_name (\"Dangerous\", \"Sun\", \"Love\"), name (\"John Nizinik\", \"Justin Brown\", \"Timbaland\"), citizenship (\"Netherlands\", \"United States\", \"France\"), nationality (\"Netherlands\", \"United States\", \"France\"), song_release_year (\"2016\", \"2008\", \"2003\") | concert : concert_name (\"Week 2\", \"Week 2\", \"Super bootcamp\"), stadium_id (\"10\", \"9\", \"10\"), year (\"2014\", \"2015\"), concert_id (3, 5, 1), theme (\"Party All Night\", \"Party All Night\", \"Wide Awake\") | singer_in_concert : concert_id (2, 5, 3), singer_id (\"6\", \"6\", \"2\")", "schema_without_content": "stadium : lowest , location , highest , capacity , average , stadium_id , name | singer : singer_id , is_male , age , song_name , name , citizenship , nationality , song_release_year | concert : concert_name , stadium_id , year , concert_id , theme | singer_in_concert : concert_id , singer_id", "extra_map": { "singer": { "country": [ "nationality", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "song_name", "song_release_year", "age", "is_male", "nationality", "citizenship" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "countries": "singer.Country", "number of singers": "singer" } }, { "question": "how many #singers# are from each #country# ?", "db_id": "concert_singer", "orig_query": "select country, count(*) from singer group by country", "schema_with_content": "stadium : lowest (1057, 1057, 1294), average (1477, 552, 1477), highest (921, 921, 1125), capacity (10104, 10104, 3960), location (\"Stirling Albion\", \"Raith Rovers\", \"Ayr United\"), name (\"Gayfield Park\", \"Bayview Stadium\", \"Glebe Park\"), stadium_id (5, 2, 9) | singer : name (\"Timbaland\", \"Timbaland\", \"Justin Brown\"), nationality (\"Netherlands\", \"United States\", \"France\"), song_release_year (\"2014\", \"1992\", \"2014\"), song_name (\"You\", \"Gentleman\", \"You\"), citizenship (\"Netherlands\", \"United States\", \"France\"), singer_id (5, 3, 1), is_male (\"F\", \"T\"), age (25, 25, 41) | concert : stadium_id (\"2\", \"1\", \"9\"), year (\"2014\", \"2015\"), concert_id (3, 3, 5), theme (\"Wide Awake\", \"Party All Night\", \"Free choice 2\"), concert_name (\"Super bootcamp\", \"Week 2\", \"Week 2\") | singer_in_concert : singer_id (\"2\", \"3\", \"3\"), concert_id (2, 4, 1)", "schema_without_content": "stadium : lowest , average , highest , capacity , location , name , stadium_id | singer : name , nationality , song_release_year , song_name , citizenship , singer_id , is_male , age | concert : stadium_id , year , concert_id , theme , concert_name | singer_in_concert : singer_id , concert_id", "extra_map": { "singer": { "country": [ "nationality", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "song_name", "song_release_year", "age", "is_male", "nationality", "citizenship" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "singers": "singer", "country": "singer.Country" } }, { "question": "list all #song names by singers# above the #average age# .", "db_id": "concert_singer", "orig_query": "select song_name from singer where age > (select avg(age) from singer)", "schema_with_content": "stadium : lowest (1294, 404, 411), stadium_id (6, 2, 9), average (642, 642, 637), capacity (10104, 3100, 52500), name (\"Gayfield Park\", \"Balmoor\", \"Balmoor\"), highest (1763, 4812, 1980), location (\"Alloa Athletic\", \"Stirling Albion\", \"Alloa Athletic\") | singer : singer_id (2, 1, 6), song_release_year (\"2003\", \"2008\", \"2003\"), name (\"Tribal King\", \"Timbaland\", \"Tribal King\"), age (25, 25, 25), is_male (\"F\", \"T\"), track_name (\"Gentleman\", \"Gentleman\", \"Sun\"), country (\"Netherlands\", \"United States\", \"France\"), composition_name (\"Gentleman\", \"Gentleman\", \"Sun\") | concert : theme (\"Free choice\", \"Bleeding Love\", \"Happy Tonight\"), concert_name (\"Week 1\", \"Week 2\", \"Home Visits\"), stadium_id (\"7\", \"2\", \"7\"), concert_id (2, 1, 3), year (\"2014\", \"2015\") | singer_in_concert : concert_id (5, 2, 6), singer_id (\"4\", \"2\", \"4\")", "schema_without_content": "stadium : lowest , stadium_id , average , capacity , name , highest , location | singer : singer_id , song_release_year , name , age , is_male , track_name , country , composition_name | concert : theme , concert_name , stadium_id , concert_id , year | singer_in_concert : concert_id , singer_id", "extra_map": { "singer": { "song_name": [ "track_name", "composition_name" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "country", "song_release_year", "age", "is_male", "track_name", "composition_name" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "song names by singers": "singer.Song_Name", "average age": "singer.Age" } }, { "question": "what are all the #song names by singers# who are #older than average# ?", "db_id": "concert_singer", "orig_query": "select song_name from singer where age > (select avg(age) from singer)", "schema_with_content": "stadium : name (\"Glebe Park\", \"Gayfield Park\", \"Hampden Park\"), stadium_id (7, 1, 6), highest (1125, 1125, 1057), lowest (400, 1057, 466), location (\"Queen's Park\", \"Peterhead\", \"Queen's Park\"), average (864, 864, 637), capacity (2000, 11998, 4000) | singer : song_release_year (\"2014\", \"1992\", \"2013\"), country (\"Netherlands\", \"United States\", \"France\"), name (\"Joe Sharp\", \"Tribal King\", \"Tribal King\"), composition_name (\"Dangerous\", \"You\", \"Sun\"), is_male (\"F\", \"T\"), track_name (\"Dangerous\", \"You\", \"Sun\"), age (41, 32, 43), singer_id (3, 6, 6) | concert : concert_name (\"Home Visits\", \"Auditions\", \"Home Visits\"), theme (\"Wide Awake\", \"Party All Night\", \"Happy Tonight\"), concert_id (2, 2, 6), year (\"2014\", \"2015\"), stadium_id (\"7\", \"10\", \"10\") | singer_in_concert : concert_id (4, 4, 5), singer_id (\"3\", \"5\", \"6\")", "schema_without_content": "stadium : name , stadium_id , highest , lowest , location , average , capacity | singer : song_release_year , country , name , composition_name , is_male , track_name , age , singer_id | concert : concert_name , theme , concert_id , year , stadium_id | singer_in_concert : concert_id , singer_id", "extra_map": { "singer": { "song_name": [ "track_name", "composition_name" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "country", "song_release_year", "age", "is_male", "track_name", "composition_name" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "song names by singers": "singer.Song_Name", "older than average": "singer.Age" } }, { "question": "show #location# and #name for all stadiums with a capacity# between 5000 and 10000.", "db_id": "concert_singer", "orig_query": "select location, name from stadium where capacity between 5000 and 10000", "schema_with_content": "stadium : lowest (466, 331, 400), stadium_id (4, 6, 1), city (\"Alloa Athletic\", \"Ayr United\", \"Alloa Athletic\"), capacity (52500, 4125, 4125), geolocation (\"Alloa Athletic\", \"Ayr United\", \"Alloa Athletic\"), name (\"Glebe Park\", \"Somerset Park\", \"Bayview Stadium\"), highest (2363, 2363, 1125), average (552, 637, 552) | singer : name (\"John Nizinik\", \"Tribal King\", \"Timbaland\"), song_release_year (\"2003\", \"2016\", \"2008\"), age (29, 32, 32), song_name (\"Hey Oh\", \"Sun\", \"Sun\"), is_male (\"F\", \"T\"), singer_id (5, 2, 3), country (\"Netherlands\", \"United States\", \"France\") | concert : concert_id (6, 1, 3), theme (\"Free choice 2\", \"Bleeding Love\", \"Wide Awake\"), concert_name (\"Super bootcamp\", \"Home Visits\", \"Week 1\"), year (\"2014\", \"2015\"), stadium_id (\"7\", \"9\", \"9\") | singer_in_concert : concert_id (1, 5, 6), singer_id (\"3\", \"2\", \"2\")", "schema_without_content": "stadium : lowest , stadium_id , city , capacity , geolocation , name , highest , average | singer : name , song_release_year , age , song_name , is_male , singer_id , country | concert : concert_id , theme , concert_name , year , stadium_id | singer_in_concert : concert_id , singer_id", "extra_map": { "stadium": { "location": [ "city", "geolocation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "name", "capacity", "highest", "lowest", "average", "city", "geolocation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "location": "stadium.Location", "name for all stadiums with a capacity": "stadium.Name" } }, { "question": "show #location# and #name for all stadiums with a capacity# between 5000 and 10000.", "db_id": "concert_singer", "orig_query": "select location, name from stadium where capacity between 5000 and 10000", "schema_with_content": "stadium : capacity (3100, 52500, 11998), stadium_id (2, 1, 7), highest (1980, 1980, 837), average (615, 1477, 638), appellation (\"Hampden Park\", \"Glebe Park\", \"Gayfield Park\"), title (\"Hampden Park\", \"Glebe Park\", \"Gayfield Park\"), location (\"Alloa Athletic\", \"East Fife\", \"Raith Rovers\"), lowest (411, 1057, 400) | singer : song_name (\"Dangerous\", \"Gentleman\", \"Love\"), country (\"Netherlands\", \"United States\", \"France\"), name (\"Rose White\", \"Joe Sharp\", \"Joe Sharp\"), singer_id (5, 4, 5), age (43, 41, 43), is_male (\"F\", \"T\"), song_release_year (\"2013\", \"2014\", \"2016\") | concert : stadium_id (\"2\", \"7\", \"1\"), year (\"2014\", \"2015\"), concert_id (1, 2, 4), theme (\"Free choice 2\", \"Free choice\", \"Free choice\"), concert_name (\"Week 1\", \"Super bootcamp\", \"Week 2\") | singer_in_concert : singer_id (\"6\", \"2\", \"4\"), concert_id (4, 1, 3)", "schema_without_content": "stadium : capacity , stadium_id , highest , average , appellation , title , location , lowest | singer : song_name , country , name , singer_id , age , is_male , song_release_year | concert : stadium_id , year , concert_id , theme , concert_name | singer_in_concert : singer_id , concert_id", "extra_map": { "stadium": { "name": [ "title", "appellation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "capacity", "highest", "lowest", "average", "title", "appellation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "location": "stadium.Location", "name for all stadiums with a capacity": "stadium.Name" } }, { "question": "what are the #locations# and #names# of all stations with #capacity# between 5000 and 10000?", "db_id": "concert_singer", "orig_query": "select location, name from stadium where capacity between 5000 and 10000", "schema_with_content": "stadium : capacity (3100, 11998, 3808), geolocation (\"Ayr United\", \"Queen's Park\", \"East Fife\"), city (\"Ayr United\", \"Queen's Park\", \"East Fife\"), name (\"Somerset Park\", \"Forthbank Stadium\", \"Bayview Stadium\"), highest (780, 1763, 921), average (638, 615, 615), lowest (466, 411, 533), stadium_id (7, 1, 10) | singer : age (25, 41, 52), song_release_year (\"2014\", \"2016\", \"2014\"), song_name (\"Dangerous\", \"Love\", \"You\"), singer_id (6, 3, 5), name (\"Tribal King\", \"Rose White\", \"Tribal King\"), country (\"Netherlands\", \"United States\", \"France\"), is_male (\"F\", \"T\") | concert : theme (\"Bleeding Love\", \"Free choice 2\", \"Free choice 2\"), concert_name (\"Super bootcamp\", \"Week 2\", \"Home Visits\"), concert_id (3, 4, 1), stadium_id (\"1\", \"2\", \"9\"), year (\"2014\", \"2015\") | singer_in_concert : singer_id (\"5\", \"2\", \"2\"), concert_id (2, 2, 1)", "schema_without_content": "stadium : capacity , geolocation , city , name , highest , average , lowest , stadium_id | singer : age , song_release_year , song_name , singer_id , name , country , is_male | concert : theme , concert_name , concert_id , stadium_id , year | singer_in_concert : singer_id , concert_id", "extra_map": { "stadium": { "location": [ "city", "geolocation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "name", "capacity", "highest", "lowest", "average", "city", "geolocation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "locations": "stadium.Location", "names": "stadium.Name", "capacity": "stadium.Capacity" } }, { "question": "what are the #locations# and #names# of all stations with #capacity# between 5000 and 10000?", "db_id": "concert_singer", "orig_query": "select location, name from stadium where capacity between 5000 and 10000", "schema_with_content": "stadium : average (642, 615, 642), stadium_id (10, 10, 7), location (\"Raith Rovers\", \"Raith Rovers\", \"Peterhead\"), appellation (\"Hampden Park\", \"Bayview Stadium\", \"Gayfield Park\"), lowest (315, 466, 400), capacity (2000, 3100, 4000), title (\"Hampden Park\", \"Bayview Stadium\", \"Gayfield Park\"), highest (921, 2363, 837) | singer : age (32, 41, 32), singer_id (2, 2, 1), is_male (\"F\", \"T\"), song_name (\"Gentleman\", \"Love\", \"Sun\"), name (\"John Nizinik\", \"Timbaland\", \"Rose White\"), country (\"Netherlands\", \"United States\", \"France\"), song_release_year (\"2003\", \"2014\", \"2003\") | concert : theme (\"Wide Awake\", \"Happy Tonight\", \"Free choice 2\"), concert_name (\"Super bootcamp\", \"Week 2\", \"Auditions\"), year (\"2014\", \"2015\"), stadium_id (\"10\", \"2\", \"7\"), concert_id (6, 3, 5) | singer_in_concert : singer_id (\"4\", \"4\", \"4\"), concert_id (5, 5, 1)", "schema_without_content": "stadium : average , stadium_id , location , appellation , lowest , capacity , title , highest | singer : age , singer_id , is_male , song_name , name , country , song_release_year | concert : theme , concert_name , year , stadium_id , concert_id | singer_in_concert : singer_id , concert_id", "extra_map": { "stadium": { "name": [ "title", "appellation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "capacity", "highest", "lowest", "average", "title", "appellation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "locations": "stadium.Location", "names": "stadium.Name", "capacity": "stadium.Capacity" } }, { "question": "what is the #name# and #capacity for the stadium with highest average attendance# ?", "db_id": "concert_singer", "orig_query": "select name, capacity from stadium order by average desc limit 1", "schema_with_content": "stadium : appellation (\"Recreation Park\", \"Gayfield Park\", \"Somerset Park\"), title (\"Recreation Park\", \"Gayfield Park\", \"Somerset Park\"), location (\"Arbroath\", \"Arbroath\", \"Peterhead\"), capacity (10104, 11998, 4000), lowest (1294, 400, 533), stadium_id (9, 9, 2), average (552, 615, 864), highest (4812, 1057, 1057) | singer : name (\"John Nizinik\", \"Timbaland\", \"Tribal King\"), singer_id (6, 6, 4), song_release_year (\"2014\", \"2014\", \"1992\"), age (25, 41, 41), is_male (\"F\", \"T\"), song_name (\"Hey Oh\", \"You\", \"Love\"), country (\"Netherlands\", \"United States\", \"France\") | concert : concert_id (2, 3, 2), concert_name (\"Super bootcamp\", \"Super bootcamp\", \"Super bootcamp\"), year (\"2014\", \"2015\"), stadium_id (\"2\", \"2\", \"7\"), theme (\"Party All Night\", \"Happy Tonight\", \"Party All Night\") | singer_in_concert : concert_id (4, 2, 3), singer_id (\"2\", \"2\", \"3\")", "schema_without_content": "stadium : appellation , title , location , capacity , lowest , stadium_id , average , highest | singer : name , singer_id , song_release_year , age , is_male , song_name , country | concert : concert_id , concert_name , year , stadium_id , theme | singer_in_concert : concert_id , singer_id", "extra_map": { "stadium": { "name": [ "title", "appellation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "capacity", "highest", "lowest", "average", "title", "appellation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "stadium.Name", "capacity for the stadium with highest average attendance": "stadium.Capacity" } }, { "question": "what is the #name# and #capacity for the stadium with highest average attendance# ?", "db_id": "concert_singer", "orig_query": "select name, capacity from stadium order by average desc limit 1", "schema_with_content": "stadium : name (\"Balmoor\", \"Balmoor\", \"Balmoor\"), average (864, 730, 638), highest (1980, 780, 1980), lowest (466, 315, 411), location (\"Peterhead\", \"Stirling Albion\", \"Raith Rovers\"), seating_capacity (3808, 3808, 11998), maximum_capacity (3808, 3808, 11998), stadium_id (9, 5, 3) | singer : song_release_year (\"1992\", \"1992\", \"2016\"), singer_id (3, 4, 3), country (\"Netherlands\", \"United States\", \"France\"), name (\"Rose White\", \"John Nizinik\", \"Timbaland\"), is_male (\"F\", \"T\"), song_name (\"Love\", \"Dangerous\", \"Dangerous\"), age (52, 52, 43) | concert : theme (\"Free choice 2\", \"Party All Night\", \"Free choice 2\"), concert_id (6, 5, 4), concert_name (\"Super bootcamp\", \"Auditions\", \"Week 2\"), stadium_id (\"1\", \"10\", \"2\"), year (\"2014\", \"2015\") | singer_in_concert : singer_id (\"2\", \"3\", \"4\"), concert_id (1, 2, 6)", "schema_without_content": "stadium : name , average , highest , lowest , location , seating_capacity , maximum_capacity , stadium_id | singer : song_release_year , singer_id , country , name , is_male , song_name , age | concert : theme , concert_id , concert_name , stadium_id , year | singer_in_concert : singer_id , concert_id", "extra_map": { "stadium": { "capacity": [ "seating_capacity", "maximum_capacity" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "highest", "lowest", "average", "seating_capacity", "maximum_capacity" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "stadium.Name", "capacity for the stadium with highest average attendance": "stadium.Capacity" } }, { "question": "what is the #name# and #capacity for the stadium with the highest average attendance# ?", "db_id": "concert_singer", "orig_query": "select name, capacity from stadium order by average desc limit 1", "schema_with_content": "stadium : capacity (4125, 3100, 3100), lowest (400, 411, 466), appellation (\"Bayview Stadium\", \"Gayfield Park\", \"Forthbank Stadium\"), average (552, 730, 638), highest (921, 921, 1057), location (\"Queen's Park\", \"Peterhead\", \"East Fife\"), stadium_id (7, 4, 4), title (\"Bayview Stadium\", \"Gayfield Park\", \"Forthbank Stadium\") | singer : song_name (\"You\", \"Hey Oh\", \"Hey Oh\"), age (43, 25, 41), is_male (\"F\", \"T\"), name (\"Timbaland\", \"Timbaland\", \"Joe Sharp\"), singer_id (4, 4, 1), country (\"Netherlands\", \"United States\", \"France\"), song_release_year (\"2003\", \"2014\", \"2016\") | concert : theme (\"Free choice 2\", \"Party All Night\", \"Bleeding Love\"), year (\"2014\", \"2015\"), stadium_id (\"9\", \"9\", \"7\"), concert_id (4, 2, 5), concert_name (\"Week 2\", \"Home Visits\", \"Week 2\") | singer_in_concert : singer_id (\"2\", \"5\", \"4\"), concert_id (3, 6, 5)", "schema_without_content": "stadium : capacity , lowest , appellation , average , highest , location , stadium_id , title | singer : song_name , age , is_male , name , singer_id , country , song_release_year | concert : theme , year , stadium_id , concert_id , concert_name | singer_in_concert : singer_id , concert_id", "extra_map": { "stadium": { "name": [ "title", "appellation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "capacity", "highest", "lowest", "average", "title", "appellation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "stadium.Name", "capacity for the stadium with the highest average attendance": "stadium.Capacity" } }, { "question": "what is the #name# and #capacity for the stadium with the highest average attendance# ?", "db_id": "concert_singer", "orig_query": "select name, capacity from stadium order by average desc limit 1", "schema_with_content": "stadium : location (\"Raith Rovers\", \"Ayr United\", \"Alloa Athletic\"), average (637, 642, 638), seating_capacity (52500, 3960, 3960), stadium_id (6, 1, 4), lowest (466, 315, 533), name (\"Glebe Park\", \"Stark's Park\", \"Somerset Park\"), maximum_capacity (52500, 3960, 3960), highest (1763, 837, 780) | singer : song_release_year (\"2008\", \"2016\", \"1992\"), country (\"Netherlands\", \"United States\", \"France\"), song_name (\"Sun\", \"You\", \"You\"), name (\"John Nizinik\", \"John Nizinik\", \"Rose White\"), singer_id (4, 2, 4), age (32, 52, 29), is_male (\"F\", \"T\") | concert : year (\"2014\", \"2015\"), concert_id (4, 6, 5), theme (\"Free choice 2\", \"Free choice\", \"Free choice 2\"), stadium_id (\"7\", \"7\", \"1\"), concert_name (\"Week 1\", \"Super bootcamp\", \"Home Visits\") | singer_in_concert : singer_id (\"2\", \"5\", \"6\"), concert_id (2, 2, 5)", "schema_without_content": "stadium : location , average , seating_capacity , stadium_id , lowest , name , maximum_capacity , highest | singer : song_release_year , country , song_name , name , singer_id , age , is_male | concert : year , concert_id , theme , stadium_id , concert_name | singer_in_concert : singer_id , concert_id", "extra_map": { "stadium": { "capacity": [ "seating_capacity", "maximum_capacity" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "highest", "lowest", "average", "seating_capacity", "maximum_capacity" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "stadium.Name", "capacity for the stadium with the highest average attendance": "stadium.Capacity" } }, { "question": "show the #stadium name# and the #number of concerts# in each stadium.", "db_id": "concert_singer", "orig_query": "select t2.name, count(*) from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id group by t1.stadium_id", "schema_with_content": "stadium : stadium_id (2, 9, 3), average (642, 615, 864), capacity (3100, 4000, 2000), title (\"Hampden Park\", \"Hampden Park\", \"Bayview Stadium\"), appellation (\"Hampden Park\", \"Hampden Park\", \"Bayview Stadium\"), highest (921, 4812, 921), location (\"Peterhead\", \"Alloa Athletic\", \"Alloa Athletic\"), lowest (533, 331, 533) | singer : name (\"Joe Sharp\", \"Joe Sharp\", \"Justin Brown\"), song_release_year (\"1992\", \"2013\", \"2003\"), song_name (\"Hey Oh\", \"Hey Oh\", \"You\"), country (\"Netherlands\", \"United States\", \"France\"), singer_id (2, 5, 6), age (43, 32, 32), is_male (\"F\", \"T\") | concert : concert_name (\"Week 2\", \"Week 2\", \"Home Visits\"), concert_id (3, 4, 6), stadium_id (\"1\", \"1\", \"1\"), year (\"2014\", \"2015\"), theme (\"Bleeding Love\", \"Bleeding Love\", \"Bleeding Love\") | singer_in_concert : concert_id (5, 5, 2), singer_id (\"4\", \"2\", \"4\")", "schema_without_content": "stadium : stadium_id , average , capacity , title , appellation , highest , location , lowest | singer : name , song_release_year , song_name , country , singer_id , age , is_male | concert : concert_name , concert_id , stadium_id , year , theme | singer_in_concert : concert_id , singer_id", "extra_map": { "stadium": { "name": [ "title", "appellation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "capacity", "highest", "lowest", "average", "title", "appellation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "stadium name": "stadium.Name", "number of concerts": "concert" } }, { "question": "for each #stadium# , how many #concerts# play there?", "db_id": "concert_singer", "orig_query": "select t2.name, count(*) from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id group by t1.stadium_id", "schema_with_content": "stadium : stadium_id (10, 4, 3), lowest (315, 1057, 466), capacity (52500, 10104, 2000), appellation (\"Balmoor\", \"Balmoor\", \"Hampden Park\"), title (\"Balmoor\", \"Balmoor\", \"Hampden Park\"), location (\"Stirling Albion\", \"Arbroath\", \"Stirling Albion\"), highest (4812, 921, 1763), average (552, 864, 552) | singer : is_male (\"F\", \"T\"), name (\"John Nizinik\", \"Justin Brown\", \"Joe Sharp\"), song_release_year (\"2013\", \"2013\", \"2016\"), age (52, 43, 25), song_name (\"Hey Oh\", \"Dangerous\", \"Hey Oh\"), singer_id (4, 2, 4), country (\"Netherlands\", \"United States\", \"France\") | concert : theme (\"Bleeding Love\", \"Party All Night\", \"Free choice 2\"), year (\"2014\", \"2015\"), concert_name (\"Super bootcamp\", \"Super bootcamp\", \"Auditions\"), concert_id (3, 2, 6), stadium_id (\"7\", \"7\", \"7\") | singer_in_concert : concert_id (3, 2, 6), singer_id (\"4\", \"4\", \"4\")", "schema_without_content": "stadium : stadium_id , lowest , capacity , appellation , title , location , highest , average | singer : is_male , name , song_release_year , age , song_name , singer_id , country | concert : theme , year , concert_name , concert_id , stadium_id | singer_in_concert : concert_id , singer_id", "extra_map": { "stadium": { "name": [ "title", "appellation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "capacity", "highest", "lowest", "average", "title", "appellation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "stadium": "stadium", "concerts": "concert", "name": "stadium.Name" } }, { "question": "show the #stadium name# and #capacity# with most number of #concerts in year# 2014 or after.", "db_id": "concert_singer", "orig_query": "select t2.name, t2.capacity from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year >= 2014 group by t2.stadium_id order by count(*) desc limit 1", "schema_with_content": "stadium : average (2106, 864, 2106), capacity (4000, 3808, 4125), lowest (315, 533, 315), highest (1057, 1125, 921), stadium_id (3, 7, 2), location (\"Ayr United\", \"Alloa Athletic\", \"Brechin City\"), appellation (\"Balmoor\", \"Forthbank Stadium\", \"Gayfield Park\"), title (\"Balmoor\", \"Forthbank Stadium\", \"Gayfield Park\") | singer : song_release_year (\"2003\", \"2008\", \"2003\"), age (43, 52, 29), song_name (\"Gentleman\", \"You\", \"Dangerous\"), name (\"Joe Sharp\", \"Timbaland\", \"Joe Sharp\"), country (\"Netherlands\", \"United States\", \"France\"), singer_id (3, 4, 4), is_male (\"F\", \"T\") | concert : year (\"2014\", \"2015\"), concert_name (\"Super bootcamp\", \"Home Visits\", \"Home Visits\"), theme (\"Party All Night\", \"Free choice\", \"Free choice 2\"), stadium_id (\"10\", \"10\", \"9\"), concert_id (5, 1, 4) | singer_in_concert : singer_id (\"3\", \"6\", \"6\"), concert_id (6, 4, 4)", "schema_without_content": "stadium : average , capacity , lowest , highest , stadium_id , location , appellation , title | singer : song_release_year , age , song_name , name , country , singer_id , is_male | concert : year , concert_name , theme , stadium_id , concert_id | singer_in_concert : singer_id , concert_id", "extra_map": { "stadium": { "name": [ "title", "appellation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "capacity", "highest", "lowest", "average", "title", "appellation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "stadium name": "stadium.Name", "capacity": "stadium.Capacity", "concerts in year": "concert.Year" } }, { "question": "show the #stadium name# and #capacity# with most number of #concerts in year# 2014 or after.", "db_id": "concert_singer", "orig_query": "select t2.name, t2.capacity from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year >= 2014 group by t2.stadium_id order by count(*) desc limit 1", "schema_with_content": "stadium : seating_capacity (52500, 3100, 10104), highest (2363, 1125, 2363), name (\"Bayview Stadium\", \"Glebe Park\", \"Balmoor\"), average (615, 552, 642), lowest (411, 1057, 315), maximum_capacity (52500, 3100, 10104), location (\"Stirling Albion\", \"Brechin City\", \"East Fife\"), stadium_id (1, 2, 7) | singer : country (\"Netherlands\", \"United States\", \"France\"), age (52, 41, 29), song_name (\"Gentleman\", \"Hey Oh\", \"You\"), name (\"Joe Sharp\", \"Rose White\", \"John Nizinik\"), song_release_year (\"2016\", \"1992\", \"2013\"), is_male (\"F\", \"T\"), singer_id (4, 1, 6) | concert : concert_name (\"Super bootcamp\", \"Home Visits\", \"Week 2\"), theme (\"Party All Night\", \"Bleeding Love\", \"Free choice 2\"), stadium_id (\"2\", \"10\", \"7\"), concert_id (6, 4, 6), year (\"2014\", \"2015\") | singer_in_concert : singer_id (\"4\", \"3\", \"5\"), concert_id (1, 6, 6)", "schema_without_content": "stadium : seating_capacity , highest , name , average , lowest , maximum_capacity , location , stadium_id | singer : country , age , song_name , name , song_release_year , is_male , singer_id | concert : concert_name , theme , stadium_id , concert_id , year | singer_in_concert : singer_id , concert_id", "extra_map": { "stadium": { "capacity": [ "seating_capacity", "maximum_capacity" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "highest", "lowest", "average", "seating_capacity", "maximum_capacity" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "stadium name": "stadium.Name", "capacity": "stadium.Capacity", "concerts in year": "concert.Year" } }, { "question": "which #year# has most number of #concerts# ?", "db_id": "concert_singer", "orig_query": "select year from concert group by year order by count(*) desc limit 1", "schema_with_content": "stadium : lowest (466, 466, 466), stadium_id (7, 5, 1), capacity (52500, 3808, 10104), location (\"East Fife\", \"Queen's Park\", \"Raith Rovers\"), name (\"Forthbank Stadium\", \"Glebe Park\", \"Bayview Stadium\"), average (2106, 730, 2106), highest (1980, 1980, 780) | singer : name (\"Timbaland\", \"Rose White\", \"John Nizinik\"), age (29, 52, 29), song_name (\"Dangerous\", \"Dangerous\", \"Sun\"), singer_id (3, 5, 6), is_male (\"F\", \"T\"), song_release_year (\"2014\", \"2013\", \"2013\"), country (\"Netherlands\", \"United States\", \"France\") | concert : concert_id (4, 2, 4), performance_year (\"2014\", \"2015\"), theme (\"Free choice\", \"Free choice\", \"Free choice\"), stadium_id (\"1\", \"10\", \"9\"), concert_name (\"Auditions\", \"Home Visits\", \"Week 2\"), event_year (\"2014\", \"2015\") | singer_in_concert : concert_id (1, 3, 3), singer_id (\"2\", \"3\", \"6\")", "schema_without_content": "stadium : lowest , stadium_id , capacity , location , name , average , highest | singer : name , age , song_name , singer_id , is_male , song_release_year , country | concert : concert_id , performance_year , theme , stadium_id , concert_name , event_year | singer_in_concert : concert_id , singer_id", "extra_map": { "concert": { "year": [ "performance_year", "event_year" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "performance_year", "event_year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "year": "concert.Year", "concerts": "concert" } }, { "question": "what is the #year# that had the most #concerts# ?", "db_id": "concert_singer", "orig_query": "select year from concert group by year order by count(*) desc limit 1", "schema_with_content": "stadium : lowest (533, 533, 411), highest (1057, 837, 837), name (\"Glebe Park\", \"Gayfield Park\", \"Recreation Park\"), average (730, 1477, 730), location (\"Raith Rovers\", \"Stirling Albion\", \"Queen's Park\"), capacity (52500, 3960, 3100), stadium_id (2, 2, 6) | singer : age (41, 41, 25), name (\"Tribal King\", \"Timbaland\", \"Rose White\"), song_name (\"Sun\", \"Hey Oh\", \"Sun\"), country (\"Netherlands\", \"United States\", \"France\"), is_male (\"F\", \"T\"), singer_id (4, 3, 4), song_release_year (\"1992\", \"2013\", \"2014\") | concert : performance_year (\"2014\", \"2015\"), concert_id (3, 4, 5), theme (\"Happy Tonight\", \"Wide Awake\", \"Happy Tonight\"), stadium_id (\"7\", \"7\", \"2\"), concert_name (\"Week 2\", \"Week 1\", \"Week 1\"), event_year (\"2014\", \"2015\") | singer_in_concert : singer_id (\"5\", \"4\", \"2\"), concert_id (3, 2, 2)", "schema_without_content": "stadium : lowest , highest , name , average , location , capacity , stadium_id | singer : age , name , song_name , country , is_male , singer_id , song_release_year | concert : performance_year , concert_id , theme , stadium_id , concert_name , event_year | singer_in_concert : singer_id , concert_id", "extra_map": { "concert": { "year": [ "performance_year", "event_year" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "performance_year", "event_year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "year": "concert.Year", "concerts": "concert" } }, { "question": "show the #stadium names# without any #concert# .", "db_id": "concert_singer", "orig_query": "select name from stadium where stadium_id not in (select stadium_id from concert)", "schema_with_content": "stadium : lowest (400, 315, 331), average (2106, 864, 615), capacity (52500, 3100, 3100), appellation (\"Hampden Park\", \"Balmoor\", \"Hampden Park\"), title (\"Hampden Park\", \"Balmoor\", \"Hampden Park\"), location (\"Alloa Athletic\", \"Ayr United\", \"Raith Rovers\"), stadium_id (3, 4, 9), highest (1763, 1057, 1763) | singer : song_release_year (\"1992\", \"2003\", \"2014\"), song_name (\"You\", \"Dangerous\", \"Hey Oh\"), age (25, 25, 52), country (\"Netherlands\", \"United States\", \"France\"), is_male (\"F\", \"T\"), name (\"Rose White\", \"Timbaland\", \"Timbaland\"), singer_id (4, 1, 3) | concert : stadium_id (\"10\", \"2\", \"1\"), theme (\"Free choice 2\", \"Free choice 2\", \"Free choice 2\"), concert_name (\"Week 1\", \"Super bootcamp\", \"Home Visits\"), year (\"2014\", \"2015\"), concert_id (5, 4, 6) | singer_in_concert : concert_id (3, 4, 6), singer_id (\"3\", \"5\", \"5\")", "schema_without_content": "stadium : lowest , average , capacity , appellation , title , location , stadium_id , highest | singer : song_release_year , song_name , age , country , is_male , name , singer_id | concert : stadium_id , theme , concert_name , year , concert_id | singer_in_concert : concert_id , singer_id", "extra_map": { "stadium": { "name": [ "title", "appellation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "capacity", "highest", "lowest", "average", "title", "appellation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "stadium names": "stadium.Name", "concert": "concert" } }, { "question": "what are the #names of the stadiums# without any #concerts# ?", "db_id": "concert_singer", "orig_query": "select name from stadium where stadium_id not in (select stadium_id from concert)", "schema_with_content": "stadium : average (642, 638, 1477), highest (1057, 1763, 837), capacity (3100, 4125, 3808), lowest (315, 1294, 331), location (\"Arbroath\", \"Alloa Athletic\", \"Queen's Park\"), appellation (\"Hampden Park\", \"Hampden Park\", \"Stark's Park\"), title (\"Hampden Park\", \"Hampden Park\", \"Stark's Park\"), stadium_id (7, 5, 10) | singer : country (\"Netherlands\", \"United States\", \"France\"), song_name (\"You\", \"Love\", \"Dangerous\"), singer_id (1, 6, 4), song_release_year (\"1992\", \"1992\", \"2016\"), name (\"John Nizinik\", \"Justin Brown\", \"John Nizinik\"), age (52, 43, 41), is_male (\"F\", \"T\") | concert : year (\"2014\", \"2015\"), theme (\"Free choice\", \"Party All Night\", \"Party All Night\"), concert_name (\"Week 2\", \"Week 1\", \"Week 2\"), stadium_id (\"10\", \"1\", \"10\"), concert_id (4, 3, 6) | singer_in_concert : singer_id (\"3\", \"5\", \"6\"), concert_id (3, 3, 6)", "schema_without_content": "stadium : average , highest , capacity , lowest , location , appellation , title , stadium_id | singer : country , song_name , singer_id , song_release_year , name , age , is_male | concert : year , theme , concert_name , stadium_id , concert_id | singer_in_concert : singer_id , concert_id", "extra_map": { "stadium": { "name": [ "title", "appellation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "capacity", "highest", "lowest", "average", "title", "appellation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "names of the stadiums": "stadium.Name", "concerts": "concert" } }, { "question": "show #countries# where a #singer above age 40# and a #singer below 30# are from.", "db_id": "concert_singer", "orig_query": "select country from singer where age > 40 intersect select country from singer where age < 30", "schema_with_content": "stadium : average (637, 552, 615), location (\"Stirling Albion\", \"Peterhead\", \"East Fife\"), lowest (1294, 533, 404), stadium_id (4, 6, 3), capacity (11998, 3100, 11998), highest (4812, 837, 1057), name (\"Balmoor\", \"Recreation Park\", \"Hampden Park\") | singer : name (\"Rose White\", \"John Nizinik\", \"Tribal King\"), singer_id (1, 6, 2), age (43, 41, 43), song_release_year (\"1992\", \"2003\", \"2008\"), song_name (\"You\", \"Dangerous\", \"Sun\"), nationality (\"Netherlands\", \"United States\", \"France\"), is_male (\"F\", \"T\"), citizenship (\"Netherlands\", \"United States\", \"France\") | concert : stadium_id (\"2\", \"10\", \"1\"), concert_name (\"Auditions\", \"Home Visits\", \"Home Visits\"), theme (\"Wide Awake\", \"Wide Awake\", \"Party All Night\"), concert_id (1, 6, 5), year (\"2014\", \"2015\") | singer_in_concert : concert_id (5, 2, 2), singer_id (\"3\", \"6\", \"4\")", "schema_without_content": "stadium : average , location , lowest , stadium_id , capacity , highest , name | singer : name , singer_id , age , song_release_year , song_name , nationality , is_male , citizenship | concert : stadium_id , concert_name , theme , concert_id , year | singer_in_concert : concert_id , singer_id", "extra_map": { "singer": { "country": [ "nationality", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "song_name", "song_release_year", "age", "is_male", "nationality", "citizenship" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "countries": "singer.Country", "singer above age 40": "singer.Age", "singer below 30": "singer.Age" } }, { "question": "show #names for all stadiums# except for stadiums having a concert in #year# 2014.", "db_id": "concert_singer", "orig_query": "select name from stadium except select t2.name from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year = 2014", "schema_with_content": "stadium : average (638, 2106, 642), location (\"Raith Rovers\", \"Stirling Albion\", \"Peterhead\"), highest (1980, 1980, 1763), lowest (533, 1294, 400), title (\"Recreation Park\", \"Gayfield Park\", \"Glebe Park\"), appellation (\"Recreation Park\", \"Gayfield Park\", \"Glebe Park\"), capacity (52500, 52500, 10104), stadium_id (7, 3, 6) | singer : country (\"Netherlands\", \"United States\", \"France\"), name (\"Joe Sharp\", \"John Nizinik\", \"Tribal King\"), song_name (\"You\", \"Dangerous\", \"Hey Oh\"), singer_id (5, 4, 4), is_male (\"F\", \"T\"), song_release_year (\"2016\", \"2013\", \"2003\"), age (41, 41, 29) | concert : concert_id (3, 5, 5), year (\"2014\", \"2015\"), theme (\"Wide Awake\", \"Wide Awake\", \"Free choice\"), concert_name (\"Auditions\", \"Auditions\", \"Week 1\"), stadium_id (\"10\", \"9\", \"2\") | singer_in_concert : concert_id (4, 5, 4), singer_id (\"3\", \"5\", \"3\")", "schema_without_content": "stadium : average , location , highest , lowest , title , appellation , capacity , stadium_id | singer : country , name , song_name , singer_id , is_male , song_release_year , age | concert : concert_id , year , theme , concert_name , stadium_id | singer_in_concert : concert_id , singer_id", "extra_map": { "stadium": { "name": [ "title", "appellation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "capacity", "highest", "lowest", "average", "title", "appellation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "names for all stadiums": "stadium.Name", "stadiums": "stadium", "year": "concert.Year" } }, { "question": "what are the #names of all stadiums# that did not have a #concert in 2014# ?", "db_id": "concert_singer", "orig_query": "select name from stadium except select t2.name from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year = 2014", "schema_with_content": "stadium : capacity (11998, 11998, 2000), appellation (\"Gayfield Park\", \"Somerset Park\", \"Somerset Park\"), stadium_id (10, 6, 1), highest (2363, 1763, 837), lowest (533, 1057, 315), average (642, 637, 637), location (\"Stirling Albion\", \"Ayr United\", \"Raith Rovers\"), title (\"Gayfield Park\", \"Somerset Park\", \"Somerset Park\") | singer : name (\"Tribal King\", \"John Nizinik\", \"Timbaland\"), song_name (\"Love\", \"Sun\", \"Hey Oh\"), singer_id (5, 4, 4), song_release_year (\"1992\", \"2016\", \"2013\"), is_male (\"F\", \"T\"), country (\"Netherlands\", \"United States\", \"France\"), age (32, 41, 29) | concert : concert_name (\"Week 1\", \"Home Visits\", \"Home Visits\"), concert_id (3, 1, 5), year (\"2014\", \"2015\"), theme (\"Party All Night\", \"Bleeding Love\", \"Free choice\"), stadium_id (\"9\", \"9\", \"10\") | singer_in_concert : concert_id (3, 5, 2), singer_id (\"6\", \"5\", \"2\")", "schema_without_content": "stadium : capacity , appellation , stadium_id , highest , lowest , average , location , title | singer : name , song_name , singer_id , song_release_year , is_male , country , age | concert : concert_name , concert_id , year , theme , stadium_id | singer_in_concert : concert_id , singer_id", "extra_map": { "stadium": { "name": [ "title", "appellation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "capacity", "highest", "lowest", "average", "title", "appellation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "names of all stadiums": "stadium.Name", "concert in 2014": "concert.Year" } }, { "question": "show the #name# and #theme# for all concerts and the #number of singers# in each concert.", "db_id": "concert_singer", "orig_query": "select t2.concert_name, t2.theme, count(*) from singer_in_concert as t1 join concert as t2 on t1.concert_id = t2.concert_id group by t2.concert_id", "schema_with_content": "stadium : average (615, 730, 2106), stadium_id (6, 4, 3), highest (1057, 1057, 1980), location (\"Alloa Athletic\", \"Ayr United\", \"Stirling Albion\"), capacity (3960, 3808, 11998), name (\"Gayfield Park\", \"Somerset Park\", \"Gayfield Park\"), lowest (1294, 1294, 1057) | singer : name (\"John Nizinik\", \"John Nizinik\", \"John Nizinik\"), is_male (\"F\", \"T\"), song_name (\"Gentleman\", \"Dangerous\", \"Hey Oh\"), singer_id (3, 4, 2), age (32, 29, 43), song_release_year (\"2016\", \"2014\", \"2016\"), country (\"Netherlands\", \"United States\", \"France\") | concert : performance_name (\"Week 2\", \"Week 2\", \"Auditions\"), show_name (\"Week 2\", \"Week 2\", \"Auditions\"), concert_id (4, 5, 3), year (\"2014\", \"2015\"), theme (\"Happy Tonight\", \"Happy Tonight\", \"Happy Tonight\"), stadium_id (\"10\", \"10\", \"10\") | singer_in_concert : concert_id (1, 5, 2), singer_id (\"4\", \"5\", \"6\")", "schema_without_content": "stadium : average , stadium_id , highest , location , capacity , name , lowest | singer : name , is_male , song_name , singer_id , age , song_release_year , country | concert : performance_name , show_name , concert_id , year , theme , stadium_id | singer_in_concert : concert_id , singer_id", "extra_map": { "concert": { "concert_name": [ "performance_name", "show_name" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "theme", "stadium_id", "year", "performance_name", "show_name" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "concert.concert_Name", "theme": "concert.Theme", "number of singers": "singer_in_concert" } }, { "question": "show the #name# and #theme# for all concerts and the #number of singers# in each concert.", "db_id": "concert_singer", "orig_query": "select t2.concert_name, t2.theme, count(*) from singer_in_concert as t1 join concert as t2 on t1.concert_id = t2.concert_id group by t2.concert_id", "schema_with_content": "stadium : lowest (411, 404, 315), capacity (3960, 2000, 3808), average (730, 552, 615), stadium_id (10, 9, 9), name (\"Stark's Park\", \"Gayfield Park\", \"Glebe Park\"), location (\"Peterhead\", \"East Fife\", \"East Fife\"), highest (1057, 1980, 2363) | singer : song_release_year (\"2016\", \"1992\", \"2014\"), name (\"Rose White\", \"Timbaland\", \"Timbaland\"), singer_id (1, 6, 2), is_male (\"F\", \"T\"), age (29, 41, 52), song_name (\"Dangerous\", \"Hey Oh\", \"Hey Oh\"), country (\"Netherlands\", \"United States\", \"France\") | concert : topic (\"Free choice 2\", \"Free choice\", \"Free choice 2\"), stadium_id (\"7\", \"9\", \"7\"), subject (\"Free choice 2\", \"Free choice\", \"Free choice 2\"), year (\"2014\", \"2015\"), concert_id (6, 4, 1), concert_name (\"Auditions\", \"Home Visits\", \"Week 1\") | singer_in_concert : concert_id (5, 6, 6), singer_id (\"4\", \"4\", \"2\")", "schema_without_content": "stadium : lowest , capacity , average , stadium_id , name , location , highest | singer : song_release_year , name , singer_id , is_male , age , song_name , country | concert : topic , stadium_id , subject , year , concert_id , concert_name | singer_in_concert : concert_id , singer_id", "extra_map": { "concert": { "theme": [ "subject", "topic" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "stadium_id", "year", "subject", "topic" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "concert.concert_Name", "theme": "concert.Theme", "number of singers": "singer_in_concert" } }, { "question": "list #singer names# and #number of concerts# for each singer.", "db_id": "concert_singer", "orig_query": "select t2.name, count(*) from singer_in_concert as t1 join singer as t2 on t1.singer_id = t2.singer_id group by t2.singer_id", "schema_with_content": "stadium : lowest (1294, 411, 466), capacity (10104, 4000, 10104), average (864, 2106, 2106), stadium_id (4, 4, 5), name (\"Glebe Park\", \"Somerset Park\", \"Glebe Park\"), highest (1763, 1057, 780), location (\"Brechin City\", \"Peterhead\", \"Alloa Athletic\") | singer : age (29, 52, 41), country (\"Netherlands\", \"United States\", \"France\"), is_male (\"F\", \"T\"), song_name (\"Dangerous\", \"You\", \"Hey Oh\"), performer_name (\"John Nizinik\", \"Joe Sharp\", \"John Nizinik\"), singer_id (2, 2, 3), song_release_year (\"2008\", \"2016\", \"2003\"), artist_name (\"John Nizinik\", \"Joe Sharp\", \"John Nizinik\") | concert : concert_id (1, 3, 1), stadium_id (\"9\", \"7\", \"9\"), year (\"2014\", \"2015\"), theme (\"Party All Night\", \"Wide Awake\", \"Party All Night\"), concert_name (\"Home Visits\", \"Home Visits\", \"Super bootcamp\") | singer_in_concert : concert_id (5, 1, 4), singer_id (\"2\", \"2\", \"4\")", "schema_without_content": "stadium : lowest , capacity , average , stadium_id , name , highest , location | singer : age , country , is_male , song_name , performer_name , singer_id , song_release_year , artist_name | concert : concert_id , stadium_id , year , theme , concert_name | singer_in_concert : concert_id , singer_id", "extra_map": { "singer": { "name": [ "artist_name", "performer_name" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "country", "song_name", "song_release_year", "age", "is_male", "artist_name", "performer_name" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "singer names": "singer.Name", "number of concerts": "singer_in_concert" } }, { "question": "what are the #names of the singers# and #number of concerts# for each person?", "db_id": "concert_singer", "orig_query": "select t2.name, count(*) from singer_in_concert as t1 join singer as t2 on t1.singer_id = t2.singer_id group by t2.singer_id", "schema_with_content": "stadium : name (\"Balmoor\", \"Balmoor\", \"Bayview Stadium\"), average (637, 2106, 1477), lowest (466, 533, 315), highest (1057, 4812, 1057), location (\"Alloa Athletic\", \"Queen's Park\", \"Arbroath\"), stadium_id (7, 3, 2), capacity (3808, 2000, 11998) | singer : singer_id (5, 5, 1), song_release_year (\"2014\", \"2013\", \"1992\"), performer_name (\"Justin Brown\", \"Justin Brown\", \"Tribal King\"), age (32, 41, 29), country (\"Netherlands\", \"United States\", \"France\"), artist_name (\"Justin Brown\", \"Justin Brown\", \"Tribal King\"), is_male (\"F\", \"T\"), song_name (\"Dangerous\", \"You\", \"Love\") | concert : theme (\"Party All Night\", \"Happy Tonight\", \"Party All Night\"), concert_name (\"Home Visits\", \"Week 1\", \"Week 2\"), concert_id (2, 4, 5), year (\"2014\", \"2015\"), stadium_id (\"7\", \"2\", \"9\") | singer_in_concert : singer_id (\"2\", \"3\", \"3\"), concert_id (1, 5, 6)", "schema_without_content": "stadium : name , average , lowest , highest , location , stadium_id , capacity | singer : singer_id , song_release_year , performer_name , age , country , artist_name , is_male , song_name | concert : theme , concert_name , concert_id , year , stadium_id | singer_in_concert : singer_id , concert_id", "extra_map": { "singer": { "name": [ "artist_name", "performer_name" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "country", "song_name", "song_release_year", "age", "is_male", "artist_name", "performer_name" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "names of the singers": "singer.Name", "number of concerts": "singer_in_concert.concert_ID" } }, { "question": "list all #singer names in concerts in year# 2014.", "db_id": "concert_singer", "orig_query": "select t2.name from singer_in_concert as t1 join singer as t2 on t1.singer_id = t2.singer_id join concert as t3 on t1.concert_id = t3.concert_id where t3.year = 2014", "schema_with_content": "stadium : highest (1763, 1980, 780), lowest (315, 466, 1294), location (\"Arbroath\", \"Stirling Albion\", \"Stirling Albion\"), name (\"Bayview Stadium\", \"Balmoor\", \"Forthbank Stadium\"), average (2106, 552, 2106), stadium_id (7, 7, 9), capacity (3960, 3808, 4125) | singer : country (\"Netherlands\", \"United States\", \"France\"), is_male (\"F\", \"T\"), song_release_year (\"2014\", \"2013\", \"2003\"), artist_name (\"Tribal King\", \"Justin Brown\", \"Joe Sharp\"), singer_id (5, 1, 4), age (41, 43, 32), performer_name (\"Tribal King\", \"Justin Brown\", \"Joe Sharp\"), song_name (\"Hey Oh\", \"Hey Oh\", \"Hey Oh\") | concert : year (\"2014\", \"2015\"), concert_id (2, 2, 6), stadium_id (\"2\", \"2\", \"1\"), concert_name (\"Week 2\", \"Week 2\", \"Week 1\"), theme (\"Free choice 2\", \"Wide Awake\", \"Party All Night\") | singer_in_concert : concert_id (4, 1, 1), singer_id (\"3\", \"4\", \"3\")", "schema_without_content": "stadium : highest , lowest , location , name , average , stadium_id , capacity | singer : country , is_male , song_release_year , artist_name , singer_id , age , performer_name , song_name | concert : year , concert_id , stadium_id , concert_name , theme | singer_in_concert : concert_id , singer_id", "extra_map": { "singer": { "name": [ "artist_name", "performer_name" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "country", "song_name", "song_release_year", "age", "is_male", "artist_name", "performer_name" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "singer names in concerts in year": "singer.Name" } }, { "question": "what are the #names of the singers# who performed in a #concert in 2014# ?", "db_id": "concert_singer", "orig_query": "select t2.name from singer_in_concert as t1 join singer as t2 on t1.singer_id = t2.singer_id join concert as t3 on t1.concert_id = t3.concert_id where t3.year = 2014", "schema_with_content": "stadium : location (\"East Fife\", \"Ayr United\", \"Ayr United\"), highest (1763, 4812, 1057), lowest (411, 331, 466), average (1477, 638, 864), capacity (4000, 2000, 11998), name (\"Hampden Park\", \"Stark's Park\", \"Stark's Park\"), stadium_id (4, 10, 9) | singer : singer_id (5, 1, 3), country (\"Netherlands\", \"United States\", \"France\"), song_name (\"You\", \"Gentleman\", \"You\"), is_male (\"F\", \"T\"), artist_name (\"Rose White\", \"Joe Sharp\", \"Rose White\"), song_release_year (\"2008\", \"2008\", \"2013\"), performer_name (\"Rose White\", \"Joe Sharp\", \"Rose White\"), age (52, 41, 52) | concert : theme (\"Party All Night\", \"Wide Awake\", \"Free choice 2\"), concert_name (\"Auditions\", \"Week 1\", \"Super bootcamp\"), stadium_id (\"9\", \"10\", \"7\"), concert_id (2, 2, 5), year (\"2014\", \"2015\") | singer_in_concert : concert_id (6, 6, 4), singer_id (\"4\", \"3\", \"4\")", "schema_without_content": "stadium : location , highest , lowest , average , capacity , name , stadium_id | singer : singer_id , country , song_name , is_male , artist_name , song_release_year , performer_name , age | concert : theme , concert_name , stadium_id , concert_id , year | singer_in_concert : concert_id , singer_id", "extra_map": { "singer": { "name": [ "artist_name", "performer_name" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "country", "song_name", "song_release_year", "age", "is_male", "artist_name", "performer_name" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "names of the singers": "singer.Name", "concert in 2014": "concert.Year" } }, { "question": "what is the #name# and #nation of the singer# who have a song having 'hey' in its name?", "db_id": "concert_singer", "orig_query": "select name, country from singer where song_name like '%Hey%'", "schema_with_content": "stadium : location (\"East Fife\", \"Alloa Athletic\", \"Stirling Albion\"), stadium_id (1, 10, 5), capacity (11998, 11998, 2000), highest (2363, 780, 837), average (615, 552, 615), name (\"Somerset Park\", \"Forthbank Stadium\", \"Hampden Park\"), lowest (404, 533, 1057) | singer : is_male (\"F\", \"T\"), song_name (\"You\", \"Hey Oh\", \"Sun\"), country (\"Netherlands\", \"United States\", \"France\"), performer_name (\"Rose White\", \"Justin Brown\", \"Justin Brown\"), artist_name (\"Rose White\", \"Justin Brown\", \"Justin Brown\"), singer_id (2, 3, 1), age (32, 52, 32), song_release_year (\"2008\", \"2016\", \"2008\") | concert : year (\"2014\", \"2015\"), concert_name (\"Auditions\", \"Home Visits\", \"Auditions\"), theme (\"Free choice 2\", \"Free choice 2\", \"Bleeding Love\"), concert_id (4, 4, 3), stadium_id (\"2\", \"7\", \"7\") | singer_in_concert : concert_id (2, 1, 5), singer_id (\"6\", \"5\", \"3\")", "schema_without_content": "stadium : location , stadium_id , capacity , highest , average , name , lowest | singer : is_male , song_name , country , performer_name , artist_name , singer_id , age , song_release_year | concert : year , concert_name , theme , concert_id , stadium_id | singer_in_concert : concert_id , singer_id", "extra_map": { "singer": { "name": [ "artist_name", "performer_name" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "country", "song_name", "song_release_year", "age", "is_male", "artist_name", "performer_name" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "singer.Name", "nation of the singer": "singer.Country", "song name": "singer.Song_Name" } }, { "question": "what is the #name# and #nation of the singer# who have a song having 'hey' in its name?", "db_id": "concert_singer", "orig_query": "select name, country from singer where song_name like '%Hey%'", "schema_with_content": "stadium : name (\"Balmoor\", \"Bayview Stadium\", \"Forthbank Stadium\"), lowest (1057, 1294, 1057), location (\"Stirling Albion\", \"Peterhead\", \"Brechin City\"), stadium_id (2, 10, 4), average (637, 638, 730), highest (1125, 1763, 921), capacity (2000, 52500, 4000) | singer : age (41, 25, 29), is_male (\"F\", \"T\"), song_release_year (\"2014\", \"2003\", \"2016\"), singer_id (3, 6, 5), citizenship (\"Netherlands\", \"United States\", \"France\"), song_name (\"Love\", \"Hey Oh\", \"Hey Oh\"), name (\"Joe Sharp\", \"John Nizinik\", \"Justin Brown\"), nationality (\"Netherlands\", \"United States\", \"France\") | concert : concert_name (\"Week 1\", \"Super bootcamp\", \"Super bootcamp\"), theme (\"Free choice\", \"Happy Tonight\", \"Bleeding Love\"), stadium_id (\"9\", \"10\", \"10\"), year (\"2014\", \"2015\"), concert_id (3, 6, 5) | singer_in_concert : singer_id (\"2\", \"5\", \"4\"), concert_id (5, 3, 6)", "schema_without_content": "stadium : name , lowest , location , stadium_id , average , highest , capacity | singer : age , is_male , song_release_year , singer_id , citizenship , song_name , name , nationality | concert : concert_name , theme , stadium_id , year , concert_id | singer_in_concert : singer_id , concert_id", "extra_map": { "singer": { "country": [ "nationality", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "song_name", "song_release_year", "age", "is_male", "nationality", "citizenship" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "singer.Name", "nation of the singer": "singer.Country", "song name": "singer.Song_Name" } }, { "question": "what is the #name# and #country of origin# of every #singer# who has a song with the word 'hey' in its title?", "db_id": "concert_singer", "orig_query": "select name, country from singer where song_name like '%Hey%'", "schema_with_content": "stadium : average (2106, 552, 730), highest (780, 1057, 1980), capacity (10104, 4000, 4000), location (\"Ayr United\", \"Raith Rovers\", \"Queen's Park\"), lowest (331, 331, 533), stadium_id (3, 3, 3), name (\"Forthbank Stadium\", \"Balmoor\", \"Forthbank Stadium\") | singer : singer_id (2, 2, 3), artist_name (\"Joe Sharp\", \"Justin Brown\", \"Joe Sharp\"), performer_name (\"Joe Sharp\", \"Justin Brown\", \"Joe Sharp\"), age (29, 29, 52), song_name (\"Sun\", \"Sun\", \"Dangerous\"), is_male (\"F\", \"T\"), song_release_year (\"1992\", \"2014\", \"2003\"), country (\"Netherlands\", \"United States\", \"France\") | concert : concert_id (2, 4, 6), stadium_id (\"10\", \"7\", \"9\"), concert_name (\"Super bootcamp\", \"Week 1\", \"Super bootcamp\"), year (\"2014\", \"2015\"), theme (\"Happy Tonight\", \"Party All Night\", \"Happy Tonight\") | singer_in_concert : singer_id (\"2\", \"4\", \"3\"), concert_id (4, 6, 4)", "schema_without_content": "stadium : average , highest , capacity , location , lowest , stadium_id , name | singer : singer_id , artist_name , performer_name , age , song_name , is_male , song_release_year , country | concert : concert_id , stadium_id , concert_name , year , theme | singer_in_concert : singer_id , concert_id", "extra_map": { "singer": { "name": [ "artist_name", "performer_name" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "country", "song_name", "song_release_year", "age", "is_male", "artist_name", "performer_name" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "singer.Name", "country of origin": "singer.Country", "singer": "singer", "song title": "singer.Song_Name" } }, { "question": "what is the #name# and #country of origin# of every #singer# who has a song with the word 'hey' in its title?", "db_id": "concert_singer", "orig_query": "select name, country from singer where song_name like '%Hey%'", "schema_with_content": "stadium : capacity (52500, 2000, 11998), lowest (404, 315, 1057), location (\"Queen's Park\", \"East Fife\", \"Ayr United\"), average (730, 864, 638), stadium_id (7, 7, 1), name (\"Hampden Park\", \"Glebe Park\", \"Glebe Park\"), highest (780, 4812, 1125) | singer : song_name (\"Love\", \"Love\", \"You\"), nationality (\"Netherlands\", \"United States\", \"France\"), age (29, 43, 41), is_male (\"F\", \"T\"), song_release_year (\"2016\", \"2003\", \"2014\"), singer_id (5, 5, 1), citizenship (\"Netherlands\", \"United States\", \"France\"), name (\"Tribal King\", \"Rose White\", \"Joe Sharp\") | concert : concert_name (\"Week 1\", \"Home Visits\", \"Week 2\"), stadium_id (\"7\", \"1\", \"1\"), year (\"2014\", \"2015\"), theme (\"Free choice 2\", \"Free choice\", \"Wide Awake\"), concert_id (4, 5, 3) | singer_in_concert : concert_id (5, 5, 1), singer_id (\"5\", \"4\", \"3\")", "schema_without_content": "stadium : capacity , lowest , location , average , stadium_id , name , highest | singer : song_name , nationality , age , is_male , song_release_year , singer_id , citizenship , name | concert : concert_name , stadium_id , year , theme , concert_id | singer_in_concert : concert_id , singer_id", "extra_map": { "singer": { "country": [ "nationality", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "name", "capacity", "highest", "lowest", "average" ], "singer": [ "singer_id", "name", "song_name", "song_release_year", "age", "is_male", "nationality", "citizenship" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "singer.Name", "country of origin": "singer.Country", "singer": "singer", "song title": "singer.Song_Name" } }, { "question": "find the #name# and #location of the stadiums# which some #concerts# happened in the #years# of both 2014 and 2015.", "db_id": "concert_singer", "orig_query": "select t2.name, t2.location from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year = 2014 intersect select t2.name, t2.location from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year = 2015", "schema_with_content": "stadium : city (\"Arbroath\", \"Alloa Athletic\", \"Brechin City\"), stadium_id (3, 3, 7), capacity (2000, 3100, 11998), geolocation (\"Arbroath\", \"Alloa Athletic\", \"Brechin City\"), average (1477, 730, 638), name (\"Somerset Park\", \"Stark's Park\", \"Bayview Stadium\"), highest (780, 1980, 1980), lowest (315, 315, 533) | singer : name (\"Rose White\", \"Timbaland\", \"Timbaland\"), age (41, 25, 29), song_name (\"Love\", \"Dangerous\", \"You\"), country (\"Netherlands\", \"United States\", \"France\"), song_release_year (\"2003\", \"2014\", \"2003\"), singer_id (5, 3, 2), is_male (\"F\", \"T\") | concert : theme (\"Happy Tonight\", \"Bleeding Love\", \"Party All Night\"), concert_id (4, 1, 4), stadium_id (\"10\", \"9\", \"7\"), year (\"2014\", \"2015\"), concert_name (\"Auditions\", \"Week 2\", \"Super bootcamp\") | singer_in_concert : singer_id (\"2\", \"6\", \"2\"), concert_id (2, 1, 2)", "schema_without_content": "stadium : city , stadium_id , capacity , geolocation , average , name , highest , lowest | singer : name , age , song_name , country , song_release_year , singer_id , is_male | concert : theme , concert_id , stadium_id , year , concert_name | singer_in_concert : singer_id , concert_id", "extra_map": { "stadium": { "location": [ "city", "geolocation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "name", "capacity", "highest", "lowest", "average", "city", "geolocation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "stadium.Name", "location of the stadiums": "stadium.Location", "concerts": "concert", "years": "concert.Year" } }, { "question": "find the #name# and #location of the stadiums# which some #concerts# happened in the #years# of both 2014 and 2015.", "db_id": "concert_singer", "orig_query": "select t2.name, t2.location from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year = 2014 intersect select t2.name, t2.location from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year = 2015", "schema_with_content": "stadium : appellation (\"Gayfield Park\", \"Stark's Park\", \"Stark's Park\"), lowest (533, 466, 1057), capacity (4125, 4000, 52500), highest (1125, 4812, 780), title (\"Gayfield Park\", \"Stark's Park\", \"Stark's Park\"), stadium_id (3, 5, 1), location (\"Ayr United\", \"Arbroath\", \"Peterhead\"), average (2106, 1477, 1477) | singer : song_release_year (\"2014\", \"2008\", \"1992\"), country (\"Netherlands\", \"United States\", \"France\"), song_name (\"Hey Oh\", \"Sun\", \"Hey Oh\"), age (43, 25, 25), name (\"Timbaland\", \"John Nizinik\", \"John Nizinik\"), singer_id (2, 1, 1), is_male (\"F\", \"T\") | concert : theme (\"Free choice\", \"Bleeding Love\", \"Bleeding Love\"), year (\"2014\", \"2015\"), concert_name (\"Week 2\", \"Auditions\", \"Super bootcamp\"), stadium_id (\"9\", \"7\", \"10\"), concert_id (5, 3, 1) | singer_in_concert : concert_id (3, 3, 3), singer_id (\"4\", \"3\", \"5\")", "schema_without_content": "stadium : appellation , lowest , capacity , highest , title , stadium_id , location , average | singer : song_release_year , country , song_name , age , name , singer_id , is_male | concert : theme , year , concert_name , stadium_id , concert_id | singer_in_concert : concert_id , singer_id", "extra_map": { "stadium": { "name": [ "title", "appellation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "capacity", "highest", "lowest", "average", "title", "appellation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "name": "stadium.Name", "location of the stadiums": "stadium.Location", "concerts": "concert", "years": "concert.Year" } }, { "question": "what are the #names# and #locations of the stadiums# that had #concerts# that occurred in both #2014# and #2015# ?", "db_id": "concert_singer", "orig_query": "select t2.name, t2.location from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year = 2014 intersect select t2.name, t2.location from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year = 2015", "schema_with_content": "stadium : highest (921, 780, 1057), stadium_id (9, 3, 2), lowest (411, 404, 533), geolocation (\"Brechin City\", \"Peterhead\", \"Raith Rovers\"), city (\"Brechin City\", \"Peterhead\", \"Raith Rovers\"), capacity (2000, 10104, 3960), average (2106, 730, 730), name (\"Bayview Stadium\", \"Somerset Park\", \"Forthbank Stadium\") | singer : country (\"Netherlands\", \"United States\", \"France\"), singer_id (6, 3, 5), is_male (\"F\", \"T\"), song_release_year (\"2016\", \"2016\", \"2016\"), song_name (\"Sun\", \"Dangerous\", \"Dangerous\"), name (\"Joe Sharp\", \"John Nizinik\", \"Justin Brown\"), age (52, 25, 32) | concert : stadium_id (\"2\", \"2\", \"1\"), concert_id (3, 5, 6), theme (\"Free choice\", \"Party All Night\", \"Wide Awake\"), concert_name (\"Week 2\", \"Week 1\", \"Super bootcamp\"), year (\"2014\", \"2015\") | singer_in_concert : concert_id (1, 5, 1), singer_id (\"6\", \"6\", \"4\")", "schema_without_content": "stadium : highest , stadium_id , lowest , geolocation , city , capacity , average , name | singer : country , singer_id , is_male , song_release_year , song_name , name , age | concert : stadium_id , concert_id , theme , concert_name , year | singer_in_concert : concert_id , singer_id", "extra_map": { "stadium": { "location": [ "city", "geolocation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "name", "capacity", "highest", "lowest", "average", "city", "geolocation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "names": "stadium.Name", "locations of the stadiums": "stadium.Location", "concerts": "concert", "2014": "concert.Year", "2015": "concert.Year" } }, { "question": "what are the #names# and #locations of the stadiums# that had #concerts# that occurred in both #2014# and #2015# ?", "db_id": "concert_singer", "orig_query": "select t2.name, t2.location from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year = 2014 intersect select t2.name, t2.location from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year = 2015", "schema_with_content": "stadium : highest (1980, 1980, 1980), appellation (\"Glebe Park\", \"Stark's Park\", \"Somerset Park\"), average (637, 1477, 615), stadium_id (6, 3, 6), lowest (466, 400, 466), location (\"Peterhead\", \"Raith Rovers\", \"Alloa Athletic\"), capacity (4000, 11998, 4125), title (\"Glebe Park\", \"Stark's Park\", \"Somerset Park\") | singer : name (\"Justin Brown\", \"Joe Sharp\", \"Justin Brown\"), is_male (\"F\", \"T\"), age (41, 32, 32), singer_id (1, 4, 2), country (\"Netherlands\", \"United States\", \"France\"), song_release_year (\"2008\", \"2016\", \"1992\"), song_name (\"Love\", \"Hey Oh\", \"You\") | concert : theme (\"Wide Awake\", \"Free choice 2\", \"Party All Night\"), concert_name (\"Super bootcamp\", \"Home Visits\", \"Week 2\"), concert_id (5, 6, 2), year (\"2014\", \"2015\"), stadium_id (\"1\", \"2\", \"10\") | singer_in_concert : singer_id (\"4\", \"3\", \"2\"), concert_id (2, 2, 4)", "schema_without_content": "stadium : highest , appellation , average , stadium_id , lowest , location , capacity , title | singer : name , is_male , age , singer_id , country , song_release_year , song_name | concert : theme , concert_name , concert_id , year , stadium_id | singer_in_concert : singer_id , concert_id", "extra_map": { "stadium": { "name": [ "title", "appellation" ] } }, "extra_table_map": null, "db_schema": { "stadium": [ "stadium_id", "location", "capacity", "highest", "lowest", "average", "title", "appellation" ], "singer": [ "singer_id", "name", "country", "song_name", "song_release_year", "age", "is_male" ], "concert": [ "concert_id", "concert_name", "theme", "stadium_id", "year" ], "singer_in_concert": [ "concert_id", "singer_id" ] }, "column_linking_gt": { "names": "stadium.Name", "locations of the stadiums": "stadium.Location", "concerts": "concert", "2014": "concert.Year", "2015": "concert.Year" } }, { "question": "find the #weight of the youngest dog# .", "db_id": "pets_1", "orig_query": "select weight from pets order by pet_age limit 1", "schema_with_content": "student : major (550, 100, 100), city_code (\"ATL\", \"PIT\", \"LOS\"), age (16, 20, 18), lname (\"Apap\", \"Andreou\", \"Cheng\"), advisor (2192, 8423, 8918), fname (\"Mark\", \"Sarah\", \"David\"), stuid (1029, 1034, 1028), sex (\"F\", \"M\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : body_weight (12.0, 13.4, 9.3), pettype (\"cat\", \"dog\"), mass (12.0, 13.4, 9.3), petid (2001, 2002, 2003), pet_age (3, 2, 1)", "schema_without_content": "student : major , city_code , age , lname , advisor , fname , stuid , sex | has_pet : petid , stuid | pets : body_weight , pettype , mass , petid , pet_age", "extra_map": { "pets": { "weight": [ "mass", "body_weight" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "mass", "body_weight" ] }, "column_linking_gt": { "weight of the youngest dog": "Pets.weight" } }, { "question": "how much does the #youngest dog weigh# ?", "db_id": "pets_1", "orig_query": "select weight from pets order by pet_age limit 1", "schema_with_content": "student : age (26, 21, 19), lname (\"Smith\", \"Brown\", \"Andreou\"), sex (\"F\", \"M\"), major (520, 540, 100), city_code (\"WAS\", \"NAR\", \"ATL\"), stuid (1007, 1007, 1029), fname (\"Lisa\", \"Eric\", \"Derek\"), advisor (7712, 2192, 8772) | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : body_weight (12.0, 13.4, 9.3), pet_age (3, 2, 1), pettype (\"cat\", \"dog\"), petid (2001, 2002, 2003), mass (12.0, 13.4, 9.3)", "schema_without_content": "student : age , lname , sex , major , city_code , stuid , fname , advisor | has_pet : stuid , petid | pets : body_weight , pet_age , pettype , petid , mass", "extra_map": { "pets": { "weight": [ "mass", "body_weight" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "mass", "body_weight" ] }, "column_linking_gt": { "youngest dog weigh": "pets.weight" } }, { "question": "find the #maximum weight# for each type of pet. list the maximum weight and #pet type# .", "db_id": "pets_1", "orig_query": "select max(weight), pettype from pets group by pettype", "schema_with_content": "student : sex (\"F\", \"M\"), city_code (\"LON\", \"SFO\", \"PEK\"), major (520, 540, 550), stuid (1015, 1012, 1006), lname (\"Shieber\", \"Nelson\", \"Simms\"), age (17, 27, 26), advisor (8723, 8721, 7134), fname (\"Tracy\", \"Linda\", \"Stacy\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : kind (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3), type (\"cat\", \"dog\"), petid (2001, 2002, 2003), pet_age (3, 2, 1)", "schema_without_content": "student : sex , city_code , major , stuid , lname , age , advisor , fname | has_pet : petid , stuid | pets : kind , weight , type , petid , pet_age", "extra_map": { "pets": { "pettype": [ "type", "kind" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pet_age", "weight", "type", "kind" ] }, "column_linking_gt": { "maximum weight": "Pets.weight", "pet type": "Pets.PetType" } }, { "question": "find the #maximum weight# for each type of pet. list the maximum weight and #pet type# .", "db_id": "pets_1", "orig_query": "select max(weight), pettype from pets group by pettype", "schema_with_content": "student : major (50, 540, 100), fname (\"David\", \"William\", \"Eric\"), advisor (7792, 7712, 8723), lname (\"Rugh\", \"Jones\", \"Kumar\"), stuid (1029, 1028, 1016), city_code (\"PEK\", \"HOU\", \"PIT\"), age (21, 19, 20), sex (\"F\", \"M\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : mass (12.0, 13.4, 9.3), pet_age (3, 2, 1), petid (2001, 2002, 2003), pettype (\"cat\", \"dog\"), body_weight (12.0, 13.4, 9.3)", "schema_without_content": "student : major , fname , advisor , lname , stuid , city_code , age , sex | has_pet : petid , stuid | pets : mass , pet_age , petid , pettype , body_weight", "extra_map": { "pets": { "weight": [ "mass", "body_weight" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "mass", "body_weight" ] }, "column_linking_gt": { "maximum weight": "Pets.weight", "pet type": "Pets.PetType" } }, { "question": "list the #maximum weight# and type for each #type of pet# .", "db_id": "pets_1", "orig_query": "select max(weight), pettype from pets group by pettype", "schema_with_content": "student : sex (\"F\", \"M\"), stuid (1010, 1008, 1017), age (16, 19, 21), advisor (7271, 9172, 2311), fname (\"Andy\", \"Linda\", \"William\"), lname (\"Schwartz\", \"Tai\", \"Davis\"), city_code (\"PEK\", \"DAL\", \"PIT\"), major (540, 100, 100) | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : petid (2001, 2002, 2003), pet_age (3, 2, 1), weight (12.0, 13.4, 9.3), type (\"cat\", \"dog\"), kind (\"cat\", \"dog\")", "schema_without_content": "student : sex , stuid , age , advisor , fname , lname , city_code , major | has_pet : stuid , petid | pets : petid , pet_age , weight , type , kind", "extra_map": { "pets": { "pettype": [ "type", "kind" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pet_age", "weight", "type", "kind" ] }, "column_linking_gt": { "maximum weight": "Pets.weight", "type of pet": "Pets.PetType" } }, { "question": "list the #maximum weight# and type for each #type of pet# .", "db_id": "pets_1", "orig_query": "select max(weight), pettype from pets group by pettype", "schema_with_content": "student : advisor (8772, 8722, 8918), age (19, 26, 18), major (600, 100, 600), fname (\"Linda\", \"Paul\", \"Tracy\"), stuid (1020, 1007, 1001), sex (\"F\", \"M\"), lname (\"Goldman\", \"Andreou\", \"Rugh\"), city_code (\"DAL\", \"LOS\", \"PEK\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : mass (12.0, 13.4, 9.3), petid (2001, 2002, 2003), pet_age (3, 2, 1), body_weight (12.0, 13.4, 9.3), pettype (\"cat\", \"dog\")", "schema_without_content": "student : advisor , age , major , fname , stuid , sex , lname , city_code | has_pet : petid , stuid | pets : mass , petid , pet_age , body_weight , pettype", "extra_map": { "pets": { "weight": [ "mass", "body_weight" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "mass", "body_weight" ] }, "column_linking_gt": { "maximum weight": "Pets.weight", "type of pet": "Pets.PetType" } }, { "question": "find the number of distinct #type of pets# .", "db_id": "pets_1", "orig_query": "select count(distinct pettype) from pets", "schema_with_content": "student : lname (\"Norris\", \"Norris\", \"Adams\"), city_code (\"ATL\", \"PIT\", \"BOS\"), fname (\"Andy\", \"Steven\", \"Linda\"), major (600, 100, 550), advisor (1148, 2311, 8423), sex (\"F\", \"M\"), stuid (1007, 1017, 1001), age (16, 26, 16) | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : type (\"cat\", \"dog\"), petid (2001, 2002, 2003), pet_age (3, 2, 1), kind (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3)", "schema_without_content": "student : lname , city_code , fname , major , advisor , sex , stuid , age | has_pet : petid , stuid | pets : type , petid , pet_age , kind , weight", "extra_map": { "pets": { "pettype": [ "type", "kind" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pet_age", "weight", "type", "kind" ] }, "column_linking_gt": { "type of pets": "Pets.PetType" } }, { "question": "how many different #types of pet# are there?", "db_id": "pets_1", "orig_query": "select count(distinct pettype) from pets", "schema_with_content": "student : city_code (\"DAL\", \"BOS\", \"ATL\"), fname (\"Charles\", \"Eric\", \"Susan\"), advisor (8723, 8721, 7723), sex (\"F\", \"M\"), age (21, 26, 18), stuid (1024, 1016, 1001), major (550, 540, 550), lname (\"Gompers\", \"Shieber\", \"Kim\") | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : pet_age (3, 2, 1), kind (\"cat\", \"dog\"), petid (2001, 2002, 2003), type (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3)", "schema_without_content": "student : city_code , fname , advisor , sex , age , stuid , major , lname | has_pet : stuid , petid | pets : pet_age , kind , petid , type , weight", "extra_map": { "pets": { "pettype": [ "type", "kind" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pet_age", "weight", "type", "kind" ] }, "column_linking_gt": { "types of pet": "Pets.PetType" } }, { "question": "find the #first name of students# who have #cat# or #dog# pet.", "db_id": "pets_1", "orig_query": "select distinct t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat' or t3.pettype = 'dog'", "schema_with_content": "student : major (50, 540, 550), city_code (\"DET\", \"LON\", \"PIT\"), sex (\"F\", \"M\"), age (26, 26, 17), first_name (\"Mark\", \"Steven\", \"Jun\"), advisor (8723, 8741, 2192), stuid (1024, 1023, 1002), given_name (\"Mark\", \"Steven\", \"Jun\"), lname (\"Jones\", \"Simms\", \"Woods\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : weight (12.0, 13.4, 9.3), pettype (\"cat\", \"dog\"), petid (2001, 2002, 2003), pet_age (3, 2, 1)", "schema_without_content": "student : major , city_code , sex , age , first_name , advisor , stuid , given_name , lname | has_pet : petid , stuid | pets : weight , pettype , petid , pet_age", "extra_map": { "student": { "fname": [ "given_name", "first_name" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "age", "sex", "major", "advisor", "city_code", "given_name", "first_name" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "first name of students": "Student.Fname", "cat": "Pets.PetType", "dog": "Pets.PetType" } }, { "question": "what are the #first names# of every #student# who has a #cat# or #dog as a pet# ?", "db_id": "pets_1", "orig_query": "select distinct t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat' or t3.pettype = 'dog'", "schema_with_content": "student : age (20, 19, 22), lname (\"Jones\", \"Prater\", \"Apap\"), sex (\"F\", \"M\"), given_name (\"Jun\", \"Arthur\", \"Jandy\"), advisor (8723, 5718, 7723), city_code (\"BOS\", \"NAR\", \"PHL\"), stuid (1014, 1012, 1008), major (600, 550, 50), first_name (\"Jun\", \"Arthur\", \"Jandy\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : pet_age (3, 2, 1), petid (2001, 2002, 2003), pettype (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3)", "schema_without_content": "student : age , lname , sex , given_name , advisor , city_code , stuid , major , first_name | has_pet : petid , stuid | pets : pet_age , petid , pettype , weight", "extra_map": { "student": { "fname": [ "given_name", "first_name" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "age", "sex", "major", "advisor", "city_code", "given_name", "first_name" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "first names": "Student.Fname", "student": "Student", "cat": "Pets.PetType", "dog as a pet": "Pets.PetType" } }, { "question": "what are the #students' first names# who have both #cats# and d #ogs as pets?# ", "db_id": "pets_1", "orig_query": "select t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat' intersect select t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'dog'", "schema_with_content": "student : advisor (2192, 8918, 8741), stuid (1009, 1028, 1018), age (17, 21, 20), sex (\"F\", \"M\"), major (600, 50, 520), given_name (\"Lisa\", \"Ian\", \"Ian\"), city_code (\"BOS\", \"WAS\", \"NYC\"), lname (\"Simms\", \"Leighton\", \"Kim\"), first_name (\"Lisa\", \"Ian\", \"Ian\") | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : weight (12.0, 13.4, 9.3), petid (2001, 2002, 2003), pettype (\"cat\", \"dog\"), pet_age (3, 2, 1)", "schema_without_content": "student : advisor , stuid , age , sex , major , given_name , city_code , lname , first_name | has_pet : stuid , petid | pets : weight , petid , pettype , pet_age", "extra_map": { "student": { "fname": [ "given_name", "first_name" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "age", "sex", "major", "advisor", "city_code", "given_name", "first_name" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "cats": "Pets.PetType", "ogs as pets?": "Has_Pet", "students' first names": "Student.Fname", "dogs": "Pets.PetType" } }, { "question": "find the #major# and #age of students# who do not have a #cat pet# .", "db_id": "pets_1", "orig_query": "select major, age from student where stuid not in (select t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat')", "schema_with_content": "student : sex (\"F\", \"M\"), years_old (17, 20, 22), advisor (2311, 8772, 8723), age_in_years (17, 20, 22), lname (\"Kumar\", \"Andreou\", \"Prater\"), city_code (\"PHL\", \"HOU\", \"PEK\"), fname (\"Andy\", \"Jun\", \"Derek\"), major (600, 540, 600), stuid (1011, 1020, 1024) | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : pet_age (3, 2, 1), weight (12.0, 13.4, 9.3), petid (2001, 2002, 2003), pettype (\"cat\", \"dog\")", "schema_without_content": "student : sex , years_old , advisor , age_in_years , lname , city_code , fname , major , stuid | has_pet : stuid , petid | pets : pet_age , weight , petid , pettype", "extra_map": { "student": { "age": [ "years_old", "age_in_years" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "sex", "major", "advisor", "city_code", "years_old", "age_in_years" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "major": "Student.Major", "age of students": "Student.Age", "cat pet": "Pets.PetType" } }, { "question": "find the #major# and #age of students# who do not have a #cat pet# .", "db_id": "pets_1", "orig_query": "select major, age from student where stuid not in (select t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat')", "schema_with_content": "student : advisor (8721, 1121, 8721), age (21, 18, 19), sex (\"F\", \"M\"), city_code (\"DET\", \"NAR\", \"PIT\"), lname (\"Lee\", \"Adams\", \"Pang\"), fname (\"Lisa\", \"Linda\", \"Jun\"), academic_discipline (100, 540, 600), stuid (1001, 1015, 1001), field_of_study (100, 540, 600) | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : pet_age (3, 2, 1), pettype (\"cat\", \"dog\"), petid (2001, 2002, 2003), weight (12.0, 13.4, 9.3)", "schema_without_content": "student : advisor , age , sex , city_code , lname , fname , academic_discipline , stuid , field_of_study | has_pet : petid , stuid | pets : pet_age , pettype , petid , weight", "extra_map": { "student": { "major": [ "field_of_study", "academic_discipline" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "advisor", "city_code", "field_of_study", "academic_discipline" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "major": "Student.Major", "age of students": "Student.Age", "cat pet": "Pets.PetType" } }, { "question": "what #major# is every #student# who does not own a #cat as a pet# , and also how old are they?", "db_id": "pets_1", "orig_query": "select major, age from student where stuid not in (select t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat')", "schema_with_content": "student : stuid (1007, 1032, 1011), lname (\"Wilson\", \"Prater\", \"Epp\"), advisor (8721, 5718, 8723), sex (\"F\", \"M\"), fname (\"Tracy\", \"Arthur\", \"Mark\"), age_in_years (21, 17, 19), years_old (21, 17, 19), major (100, 50, 550), city_code (\"BAL\", \"ROC\", \"HKG\") | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : weight (12.0, 13.4, 9.3), pet_age (3, 2, 1), petid (2001, 2002, 2003), pettype (\"cat\", \"dog\")", "schema_without_content": "student : stuid , lname , advisor , sex , fname , age_in_years , years_old , major , city_code | has_pet : stuid , petid | pets : weight , pet_age , petid , pettype", "extra_map": { "student": { "age": [ "years_old", "age_in_years" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "sex", "major", "advisor", "city_code", "years_old", "age_in_years" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "major": "Student.Major", "student": "Student", "cat as a pet": "Pets.PetType", "age": "Student.Age" } }, { "question": "what #major# is every #student# who does not own a #cat as a pet# , and also how old are they?", "db_id": "pets_1", "orig_query": "select major, age from student where stuid not in (select t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat')", "schema_with_content": "student : academic_discipline (540, 540, 600), stuid (1018, 1009, 1016), field_of_study (540, 540, 600), lname (\"Adams\", \"Apap\", \"Schwartz\"), age (18, 27, 21), fname (\"Jandy\", \"Jun\", \"Shiela\"), advisor (1148, 7712, 7271), sex (\"F\", \"M\"), city_code (\"PEK\", \"NAR\", \"PEK\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : pet_age (3, 2, 1), weight (12.0, 13.4, 9.3), pettype (\"cat\", \"dog\"), petid (2001, 2002, 2003)", "schema_without_content": "student : academic_discipline , stuid , field_of_study , lname , age , fname , advisor , sex , city_code | has_pet : petid , stuid | pets : pet_age , weight , pettype , petid", "extra_map": { "student": { "major": [ "field_of_study", "academic_discipline" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "advisor", "city_code", "field_of_study", "academic_discipline" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "major": "Student.Major", "student": "Student", "cat as a pet": "Pets.PetType", "age": "Student.Age" } }, { "question": "find the #id of students# who do not have a #cat pet# .", "db_id": "pets_1", "orig_query": "select stuid from student except select t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat'", "schema_with_content": "student : id (1031, 1008, 1021), lname (\"Tai\", \"Brody\", \"Apap\"), student_id (1031, 1008, 1021), age (21, 17, 16), sex (\"F\", \"M\"), major (520, 600, 600), advisor (8772, 8723, 7271), city_code (\"DAL\", \"LOS\", \"PIT\"), fname (\"William\", \"Paul\", \"Arthur\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : petid (2001, 2002, 2003), pet_age (3, 2, 1), weight (12.0, 13.4, 9.3), pettype (\"cat\", \"dog\")", "schema_without_content": "student : id , lname , student_id , age , sex , major , advisor , city_code , fname | has_pet : petid , stuid | pets : petid , pet_age , weight , pettype", "extra_map": { "student": { "stuid": [ "id", "student_id" ] } }, "extra_table_map": null, "db_schema": { "student": [ "lname", "fname", "age", "sex", "major", "advisor", "city_code", "id", "student_id" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "id of students": "Student.StuID", "cat pet": "Pets.PetType" } }, { "question": "what are the #ids of the students# who do not own #cats as pets# ?", "db_id": "pets_1", "orig_query": "select stuid from student except select t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat'", "schema_with_content": "student : fname (\"Sarah\", \"Dinesh\", \"Paul\"), lname (\"Simms\", \"Kumar\", \"Thornton\"), age (19, 19, 19), sex (\"F\", \"M\"), student_id (1019, 1001, 1034), city_code (\"ROC\", \"PEK\", \"ATL\"), major (550, 600, 50), advisor (1148, 7271, 1148), id (1019, 1001, 1034) | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : pettype (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3), petid (2001, 2002, 2003), pet_age (3, 2, 1)", "schema_without_content": "student : fname , lname , age , sex , student_id , city_code , major , advisor , id | has_pet : stuid , petid | pets : pettype , weight , petid , pet_age", "extra_map": { "student": { "stuid": [ "id", "student_id" ] } }, "extra_table_map": null, "db_schema": { "student": [ "lname", "fname", "age", "sex", "major", "advisor", "city_code", "id", "student_id" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "ids of the students": "Student.StuID", "cats as pets": "Pets.PetType" } }, { "question": "find the #first name# and #age of students# who have a #dog# but do not have a #cat as a pet# .", "db_id": "pets_1", "orig_query": "select t1.fname, t1.age from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'dog' and t1.stuid not in (select t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat')", "schema_with_content": "student : fname (\"Lisa\", \"Shiela\", \"Jandy\"), city_code (\"ROC\", \"PEK\", \"HKG\"), stuid (1031, 1018, 1005), major (100, 540, 550), sex (\"F\", \"M\"), age_in_years (22, 26, 22), lname (\"Davis\", \"Cheng\", \"Leighton\"), advisor (8723, 7271, 7134), years_old (22, 26, 22) | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : petid (2001, 2002, 2003), pettype (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3), pet_age (3, 2, 1)", "schema_without_content": "student : fname , city_code , stuid , major , sex , age_in_years , lname , advisor , years_old | has_pet : petid , stuid | pets : petid , pettype , weight , pet_age", "extra_map": { "student": { "age": [ "years_old", "age_in_years" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "sex", "major", "advisor", "city_code", "years_old", "age_in_years" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "first name": "Student.Fname", "age of students": "Student.Age", "dog": "Pets.PetType", "cat as a pet": "Pets.PetType" } }, { "question": "find the #first name# and #age of students# who have a #dog# but do not have a #cat as a pet# .", "db_id": "pets_1", "orig_query": "select t1.fname, t1.age from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'dog' and t1.stuid not in (select t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat')", "schema_with_content": "student : lname (\"Schmidt\", \"Schmidt\", \"Wilson\"), first_name (\"Jun\", \"Ian\", \"Susan\"), advisor (8721, 8722, 8741), major (600, 550, 520), city_code (\"YYZ\", \"CHI\", \"NAR\"), age (19, 27, 27), stuid (1005, 1035, 1021), given_name (\"Jun\", \"Ian\", \"Susan\"), sex (\"F\", \"M\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : weight (12.0, 13.4, 9.3), pet_age (3, 2, 1), pettype (\"cat\", \"dog\"), petid (2001, 2002, 2003)", "schema_without_content": "student : lname , first_name , advisor , major , city_code , age , stuid , given_name , sex | has_pet : petid , stuid | pets : weight , pet_age , pettype , petid", "extra_map": { "student": { "fname": [ "given_name", "first_name" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "age", "sex", "major", "advisor", "city_code", "given_name", "first_name" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "first name": "Student.Fname", "age of students": "Student.Age", "dog": "Pets.PetType", "cat as a pet": "Pets.PetType" } }, { "question": "what is the #first name# of every #student# who has a #dog# but does not have a #cat# ?", "db_id": "pets_1", "orig_query": "select t1.fname, t1.age from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'dog' and t1.stuid not in (select t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat')", "schema_with_content": "student : age_in_years (19, 22, 19), major (550, 100, 540), city_code (\"NYC\", \"NAR\", \"ROC\"), lname (\"Rugh\", \"Goldman\", \"Andreou\"), years_old (19, 22, 19), stuid (1016, 1001, 1030), sex (\"F\", \"M\"), fname (\"Michael\", \"Michael\", \"Dinesh\"), advisor (7792, 5718, 7723) | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : weight (12.0, 13.4, 9.3), pettype (\"cat\", \"dog\"), petid (2001, 2002, 2003), pet_age (3, 2, 1)", "schema_without_content": "student : age_in_years , major , city_code , lname , years_old , stuid , sex , fname , advisor | has_pet : petid , stuid | pets : weight , pettype , petid , pet_age", "extra_map": { "student": { "age": [ "years_old", "age_in_years" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "sex", "major", "advisor", "city_code", "years_old", "age_in_years" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "first name": "Student.Fname", "student": "Student", "dog": "Pets.PetType", "cat": "Pets.PetType" } }, { "question": "what is the #first name# of every #student# who has a #dog# but does not have a #cat# ?", "db_id": "pets_1", "orig_query": "select t1.fname, t1.age from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'dog' and t1.stuid not in (select t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat')", "schema_with_content": "student : lname (\"Gompers\", \"Wilson\", \"Epp\"), city_code (\"CHI\", \"YYZ\", \"DET\"), stuid (1019, 1028, 1031), sex (\"F\", \"M\"), advisor (8722, 9172, 7712), age (19, 26, 26), given_name (\"Susan\", \"David\", \"Bruce\"), major (50, 50, 100), first_name (\"Susan\", \"David\", \"Bruce\") | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : pet_age (3, 2, 1), weight (12.0, 13.4, 9.3), petid (2001, 2002, 2003), pettype (\"cat\", \"dog\")", "schema_without_content": "student : lname , city_code , stuid , sex , advisor , age , given_name , major , first_name | has_pet : stuid , petid | pets : pet_age , weight , petid , pettype", "extra_map": { "student": { "fname": [ "given_name", "first_name" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "age", "sex", "major", "advisor", "city_code", "given_name", "first_name" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "first name": "Student.Fname", "student": "Student", "dog": "Pets.PetType", "cat": "Pets.PetType" } }, { "question": "find the #type# and #weight of the youngest pet# .", "db_id": "pets_1", "orig_query": "select pettype, weight from pets order by pet_age limit 1", "schema_with_content": "student : fname (\"Dinesh\", \"Dinesh\", \"Stacy\"), advisor (5718, 8741, 7271), major (540, 550, 520), lname (\"Cheng\", \"Brody\", \"Leighton\"), city_code (\"DAL\", \"DET\", \"NYC\"), age (19, 19, 17), sex (\"F\", \"M\"), stuid (1012, 1031, 1029) | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : kind (\"cat\", \"dog\"), type (\"cat\", \"dog\"), petid (2001, 2002, 2003), weight (12.0, 13.4, 9.3), pet_age (3, 2, 1)", "schema_without_content": "student : fname , advisor , major , lname , city_code , age , sex , stuid | has_pet : stuid , petid | pets : kind , type , petid , weight , pet_age", "extra_map": { "pets": { "pettype": [ "type", "kind" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pet_age", "weight", "type", "kind" ] }, "column_linking_gt": { "type": "Pets.PetType", "weight of the youngest pet": "Pets.weight" } }, { "question": "find the #type# and #weight of the youngest pet# .", "db_id": "pets_1", "orig_query": "select pettype, weight from pets order by pet_age limit 1", "schema_with_content": "student : sex (\"F\", \"M\"), fname (\"Tracy\", \"Bruce\", \"Michael\"), stuid (1018, 1022, 1003), age (17, 16, 27), city_code (\"NYC\", \"WAS\", \"NYC\"), major (600, 520, 540), advisor (8423, 8772, 7723), lname (\"Woods\", \"Woods\", \"Shieber\") | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : body_weight (12.0, 13.4, 9.3), pet_age (3, 2, 1), petid (2001, 2002, 2003), mass (12.0, 13.4, 9.3), pettype (\"cat\", \"dog\")", "schema_without_content": "student : sex , fname , stuid , age , city_code , major , advisor , lname | has_pet : stuid , petid | pets : body_weight , pet_age , petid , mass , pettype", "extra_map": { "pets": { "weight": [ "mass", "body_weight" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "mass", "body_weight" ] }, "column_linking_gt": { "type": "Pets.PetType", "weight of the youngest pet": "Pets.weight" } }, { "question": "what #type of pet is the youngest animal# , and how much does it #weigh# ?", "db_id": "pets_1", "orig_query": "select pettype, weight from pets order by pet_age limit 1", "schema_with_content": "student : city_code (\"DAL\", \"DAL\", \"NYC\"), sex (\"F\", \"M\"), stuid (1015, 1027, 1027), fname (\"Derek\", \"Jun\", \"Arthur\"), age (18, 17, 20), lname (\"Apap\", \"Epp\", \"Adams\"), advisor (9172, 5718, 7792), major (520, 50, 550) | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : type (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3), pet_age (3, 2, 1), kind (\"cat\", \"dog\"), petid (2001, 2002, 2003)", "schema_without_content": "student : city_code , sex , stuid , fname , age , lname , advisor , major | has_pet : petid , stuid | pets : type , weight , pet_age , kind , petid", "extra_map": { "pets": { "pettype": [ "type", "kind" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pet_age", "weight", "type", "kind" ] }, "column_linking_gt": { "type of pet is the youngest animal": "Pets.PetType", "weigh": "Pets.weight" } }, { "question": "what #type of pet is the youngest animal# , and how much does it #weigh# ?", "db_id": "pets_1", "orig_query": "select pettype, weight from pets order by pet_age limit 1", "schema_with_content": "student : major (50, 600, 50), advisor (7723, 9172, 8722), city_code (\"PHL\", \"CHI\", \"HKG\"), age (21, 17, 22), sex (\"F\", \"M\"), fname (\"David\", \"Paul\", \"Derek\"), stuid (1007, 1012, 1035), lname (\"Han\", \"Brown\", \"Davis\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : pet_age (3, 2, 1), pettype (\"cat\", \"dog\"), body_weight (12.0, 13.4, 9.3), petid (2001, 2002, 2003), mass (12.0, 13.4, 9.3)", "schema_without_content": "student : major , advisor , city_code , age , sex , fname , stuid , lname | has_pet : petid , stuid | pets : pet_age , pettype , body_weight , petid , mass", "extra_map": { "pets": { "weight": [ "mass", "body_weight" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "mass", "body_weight" ] }, "column_linking_gt": { "type of pet is the youngest animal": "Pets.PetType", "weigh": "Pets.weight" } }, { "question": "find the #id# and #weight# of all pets whose #age# is older than 1.", "db_id": "pets_1", "orig_query": "select petid, weight from pets where pet_age > 1", "schema_with_content": "student : age (27, 18, 26), stuid (1014, 1012, 1003), advisor (9172, 2311, 8741), sex (\"F\", \"M\"), lname (\"Adams\", \"Shieber\", \"Davis\"), major (550, 50, 540), fname (\"Sarah\", \"Tracy\", \"Lisa\"), city_code (\"HOU\", \"HOU\", \"PIT\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : pettype (\"cat\", \"dog\"), body_weight (12.0, 13.4, 9.3), mass (12.0, 13.4, 9.3), pet_age (3, 2, 1), petid (2001, 2002, 2003)", "schema_without_content": "student : age , stuid , advisor , sex , lname , major , fname , city_code | has_pet : petid , stuid | pets : pettype , body_weight , mass , pet_age , petid", "extra_map": { "pets": { "weight": [ "mass", "body_weight" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "mass", "body_weight" ] }, "column_linking_gt": { "id": "Pets.PetID", "weight": "Pets.weight", "age": "Pets.pet_age" } }, { "question": "find the #id# and #weight# of all pets whose #age# is older than 1.", "db_id": "pets_1", "orig_query": "select petid, weight from pets where pet_age > 1", "schema_with_content": "student : lname (\"Rugh\", \"Cheng\", \"Brody\"), advisor (8772, 8918, 5718), fname (\"Steven\", \"Paul\", \"Susan\"), stuid (1006, 1001, 1005), age (27, 17, 17), city_code (\"ATL\", \"HOU\", \"WAS\"), sex (\"F\", \"M\"), major (600, 50, 100) | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : weight (12.0, 13.4, 9.3), id (2001, 2002, 2003), pettype (\"cat\", \"dog\"), pet_age (3, 2, 1), identifier (2001, 2002, 2003)", "schema_without_content": "student : lname , advisor , fname , stuid , age , city_code , sex , major | has_pet : petid , stuid | pets : weight , id , pettype , pet_age , identifier", "extra_map": { "pets": { "petid": [ "id", "identifier" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "pettype", "pet_age", "weight", "id", "identifier" ] }, "column_linking_gt": { "id": "Pets.PetID", "weight": "Pets.weight", "age": "Pets.pet_age" } }, { "question": "what is the #id# and #weight# of every pet who is #older than 1# ?", "db_id": "pets_1", "orig_query": "select petid, weight from pets where pet_age > 1", "schema_with_content": "student : city_code (\"DET\", \"HKG\", \"BAL\"), stuid (1028, 1027, 1008), fname (\"Sarah\", \"Derek\", \"Dinesh\"), advisor (8721, 8722, 7271), age (16, 27, 20), major (50, 550, 50), lname (\"Norris\", \"Pang\", \"Smith\"), sex (\"F\", \"M\") | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : mass (12.0, 13.4, 9.3), pettype (\"cat\", \"dog\"), body_weight (12.0, 13.4, 9.3), pet_age (3, 2, 1), petid (2001, 2002, 2003)", "schema_without_content": "student : city_code , stuid , fname , advisor , age , major , lname , sex | has_pet : stuid , petid | pets : mass , pettype , body_weight , pet_age , petid", "extra_map": { "pets": { "weight": [ "mass", "body_weight" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "mass", "body_weight" ] }, "column_linking_gt": { "id": "Pets.PetID", "weight": "Pets.weight", "older than 1": "Pets.pet_age" } }, { "question": "what is the #id# and #weight# of every pet who is #older than 1# ?", "db_id": "pets_1", "orig_query": "select petid, weight from pets where pet_age > 1", "schema_with_content": "student : city_code (\"CHI\", \"DET\", \"DET\"), age (26, 22, 26), advisor (8772, 9172, 8772), sex (\"F\", \"M\"), lname (\"Davis\", \"Apap\", \"Jones\"), major (520, 540, 600), stuid (1027, 1033, 1027), fname (\"Paul\", \"Charles\", \"Shiela\") | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : pet_age (3, 2, 1), weight (12.0, 13.4, 9.3), identifier (2001, 2002, 2003), pettype (\"cat\", \"dog\"), id (2001, 2002, 2003)", "schema_without_content": "student : city_code , age , advisor , sex , lname , major , stuid , fname | has_pet : stuid , petid | pets : pet_age , weight , identifier , pettype , id", "extra_map": { "pets": { "petid": [ "id", "identifier" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "pettype", "pet_age", "weight", "id", "identifier" ] }, "column_linking_gt": { "id": "Pets.PetID", "weight": "Pets.weight", "older than 1": "Pets.pet_age" } }, { "question": "find the #average and maximum age for each type of pet# .", "db_id": "pets_1", "orig_query": "select avg(pet_age), max(pet_age), pettype from pets group by pettype", "schema_with_content": "student : lname (\"Simms\", \"Pang\", \"Gompers\"), age (21, 20, 18), major (550, 550, 50), fname (\"Susan\", \"Stacy\", \"Bruce\"), stuid (1007, 1033, 1008), sex (\"F\", \"M\"), advisor (1148, 8721, 7712), city_code (\"LON\", \"ROC\", \"HOU\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : type (\"cat\", \"dog\"), pet_age (3, 2, 1), petid (2001, 2002, 2003), kind (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3)", "schema_without_content": "student : lname , age , major , fname , stuid , sex , advisor , city_code | has_pet : petid , stuid | pets : type , pet_age , petid , kind , weight", "extra_map": { "pets": { "pettype": [ "type", "kind" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pet_age", "weight", "type", "kind" ] }, "column_linking_gt": { "average and maximum age for each type of pet": "Pets.pet_age" } }, { "question": "find the #average and maximum age for each type of pet# .", "db_id": "pets_1", "orig_query": "select avg(pet_age), max(pet_age), pettype from pets group by pettype", "schema_with_content": "student : sex (\"F\", \"M\"), age (26, 21, 26), stuid (1016, 1018, 1024), fname (\"Steven\", \"Lisa\", \"Ian\"), city_code (\"HKG\", \"NYC\", \"ROC\"), advisor (5718, 8723, 2192), major (600, 100, 100), lname (\"Adams\", \"Goldman\", \"Woods\") | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : weight (12.0, 13.4, 9.3), petid (2001, 2002, 2003), age (3, 2, 1), pettype (\"cat\", \"dog\"), years_old (3, 2, 1)", "schema_without_content": "student : sex , age , stuid , fname , city_code , advisor , major , lname | has_pet : stuid , petid | pets : weight , petid , age , pettype , years_old", "extra_map": { "pets": { "pet_age": [ "age", "years_old" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "weight", "age", "years_old" ] }, "column_linking_gt": { "average and maximum age for each type of pet": "Pets.pet_age" } }, { "question": "what is the #average and maximum age for each pet type# ?", "db_id": "pets_1", "orig_query": "select avg(pet_age), max(pet_age), pettype from pets group by pettype", "schema_with_content": "student : sex (\"F\", \"M\"), city_code (\"LOS\", \"HOU\", \"BAL\"), stuid (1020, 1033, 1010), fname (\"Dinesh\", \"David\", \"Stacy\"), major (520, 520, 550), age (20, 20, 27), lname (\"Leighton\", \"Jones\", \"Shieber\"), advisor (8741, 2192, 8722) | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : petid (2001, 2002, 2003), weight (12.0, 13.4, 9.3), pet_age (3, 2, 1), type (\"cat\", \"dog\"), kind (\"cat\", \"dog\")", "schema_without_content": "student : sex , city_code , stuid , fname , major , age , lname , advisor | has_pet : petid , stuid | pets : petid , weight , pet_age , type , kind", "extra_map": { "pets": { "pettype": [ "type", "kind" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pet_age", "weight", "type", "kind" ] }, "column_linking_gt": { "average and maximum age for each pet type": "Pets.pet_age" } }, { "question": "what is the #average and maximum age for each pet type# ?", "db_id": "pets_1", "orig_query": "select avg(pet_age), max(pet_age), pettype from pets group by pettype", "schema_with_content": "student : fname (\"Sarah\", \"Ian\", \"Linda\"), major (550, 520, 600), lname (\"Leighton\", \"Woods\", \"Pang\"), sex (\"F\", \"M\"), advisor (8722, 8918, 8423), age (27, 21, 16), stuid (1001, 1027, 1017), city_code (\"PIT\", \"LON\", \"HKG\") | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : years_old (3, 2, 1), petid (2001, 2002, 2003), age (3, 2, 1), pettype (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3)", "schema_without_content": "student : fname , major , lname , sex , advisor , age , stuid , city_code | has_pet : stuid , petid | pets : years_old , petid , age , pettype , weight", "extra_map": { "pets": { "pet_age": [ "age", "years_old" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "weight", "age", "years_old" ] }, "column_linking_gt": { "average and maximum age for each pet type": "Pets.pet_age" } }, { "question": "find the #average weight for each pet type# .", "db_id": "pets_1", "orig_query": "select avg(weight), pettype from pets group by pettype", "schema_with_content": "student : city_code (\"HKG\", \"PEK\", \"LON\"), stuid (1030, 1014, 1026), lname (\"Han\", \"Gompers\", \"Apap\"), advisor (8722, 7723, 7134), age (27, 22, 21), fname (\"Jandy\", \"Sarah\", \"Shiela\"), sex (\"F\", \"M\"), major (550, 600, 100) | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : pet_age (3, 2, 1), kind (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3), petid (2001, 2002, 2003), type (\"cat\", \"dog\")", "schema_without_content": "student : city_code , stuid , lname , advisor , age , fname , sex , major | has_pet : stuid , petid | pets : pet_age , kind , weight , petid , type", "extra_map": { "pets": { "pettype": [ "type", "kind" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pet_age", "weight", "type", "kind" ] }, "column_linking_gt": { "average weight for each pet type": "Pets.weight" } }, { "question": "find the #average weight for each pet type# .", "db_id": "pets_1", "orig_query": "select avg(weight), pettype from pets group by pettype", "schema_with_content": "student : sex (\"F\", \"M\"), stuid (1005, 1006, 1033), age (20, 21, 27), fname (\"Jun\", \"Derek\", \"Bruce\"), advisor (7792, 7723, 1148), major (600, 100, 100), lname (\"Schultz\", \"Jones\", \"Simms\"), city_code (\"LON\", \"ROC\", \"PIT\") | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : body_weight (12.0, 13.4, 9.3), pet_age (3, 2, 1), pettype (\"cat\", \"dog\"), petid (2001, 2002, 2003), mass (12.0, 13.4, 9.3)", "schema_without_content": "student : sex , stuid , age , fname , advisor , major , lname , city_code | has_pet : stuid , petid | pets : body_weight , pet_age , pettype , petid , mass", "extra_map": { "pets": { "weight": [ "mass", "body_weight" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "mass", "body_weight" ] }, "column_linking_gt": { "average weight for each pet type": "Pets.weight" } }, { "question": "what is the #average weight for each type of pet# ?", "db_id": "pets_1", "orig_query": "select avg(weight), pettype from pets group by pettype", "schema_with_content": "student : advisor (8741, 5718, 8741), fname (\"Susan\", \"Ian\", \"Stacy\"), city_code (\"NAR\", \"LON\", \"HKG\"), sex (\"F\", \"M\"), lname (\"Kumar\", \"Davis\", \"Han\"), stuid (1023, 1003, 1031), age (21, 19, 21), major (600, 520, 600) | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : weight (12.0, 13.4, 9.3), kind (\"cat\", \"dog\"), type (\"cat\", \"dog\"), pet_age (3, 2, 1), petid (2001, 2002, 2003)", "schema_without_content": "student : advisor , fname , city_code , sex , lname , stuid , age , major | has_pet : stuid , petid | pets : weight , kind , type , pet_age , petid", "extra_map": { "pets": { "pettype": [ "type", "kind" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pet_age", "weight", "type", "kind" ] }, "column_linking_gt": { "average weight for each type of pet": "Pets.weight" } }, { "question": "what is the #average weight for each type of pet# ?", "db_id": "pets_1", "orig_query": "select avg(weight), pettype from pets group by pettype", "schema_with_content": "student : sex (\"F\", \"M\"), major (520, 520, 520), stuid (1028, 1003, 1003), lname (\"Norris\", \"Norris\", \"Kumar\"), city_code (\"CHI\", \"NYC\", \"BAL\"), advisor (8741, 1121, 8741), age (16, 19, 18), fname (\"David\", \"Lisa\", \"William\") | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : mass (12.0, 13.4, 9.3), pettype (\"cat\", \"dog\"), pet_age (3, 2, 1), petid (2001, 2002, 2003), body_weight (12.0, 13.4, 9.3)", "schema_without_content": "student : sex , major , stuid , lname , city_code , advisor , age , fname | has_pet : stuid , petid | pets : mass , pettype , pet_age , petid , body_weight", "extra_map": { "pets": { "weight": [ "mass", "body_weight" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "mass", "body_weight" ] }, "column_linking_gt": { "average weight for each type of pet": "Pets.weight" } }, { "question": "find the #first name# and #age of students# who #have a pet# .", "db_id": "pets_1", "orig_query": "select distinct t1.fname, t1.age from student as t1 join has_pet as t2 on t1.stuid = t2.stuid", "schema_with_content": "student : sex (\"F\", \"M\"), age_in_years (18, 18, 20), stuid (1014, 1019, 1015), lname (\"Simms\", \"Cheng\", \"Schwartz\"), city_code (\"SFO\", \"BAL\", \"ATL\"), years_old (18, 18, 20), major (540, 520, 600), advisor (8723, 8722, 9172), fname (\"Dinesh\", \"Paul\", \"Paul\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : petid (2001, 2002, 2003), pettype (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3), pet_age (3, 2, 1)", "schema_without_content": "student : sex , age_in_years , stuid , lname , city_code , years_old , major , advisor , fname | has_pet : petid , stuid | pets : petid , pettype , weight , pet_age", "extra_map": { "student": { "age": [ "years_old", "age_in_years" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "sex", "major", "advisor", "city_code", "years_old", "age_in_years" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "first name": "Student.Fname", "age of students": "Student.Age", "have a pet": "Has_Pet" } }, { "question": "find the #first name# and #age of students# who #have a pet# .", "db_id": "pets_1", "orig_query": "select distinct t1.fname, t1.age from student as t1 join has_pet as t2 on t1.stuid = t2.stuid", "schema_with_content": "student : city_code (\"BOS\", \"DET\", \"NYC\"), stuid (1011, 1014, 1019), given_name (\"Tracy\", \"Steven\", \"Bruce\"), lname (\"Prater\", \"Andreou\", \"Schwartz\"), first_name (\"Tracy\", \"Steven\", \"Bruce\"), age (20, 16, 27), advisor (2311, 1148, 1148), sex (\"F\", \"M\"), major (600, 600, 600) | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : pettype (\"cat\", \"dog\"), pet_age (3, 2, 1), weight (12.0, 13.4, 9.3), petid (2001, 2002, 2003)", "schema_without_content": "student : city_code , stuid , given_name , lname , first_name , age , advisor , sex , major | has_pet : petid , stuid | pets : pettype , pet_age , weight , petid", "extra_map": { "student": { "fname": [ "given_name", "first_name" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "age", "sex", "major", "advisor", "city_code", "given_name", "first_name" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "first name": "Student.Fname", "age of students": "Student.Age", "have a pet": "Has_Pet" } }, { "question": "what are the different #first names# and #ages of the students# who do have #pets# ?", "db_id": "pets_1", "orig_query": "select distinct t1.fname, t1.age from student as t1 join has_pet as t2 on t1.stuid = t2.stuid", "schema_with_content": "student : lname (\"Epp\", \"Rugh\", \"Schmidt\"), stuid (1020, 1012, 1002), age_in_years (27, 16, 20), city_code (\"ATL\", \"PHL\", \"ATL\"), fname (\"Michael\", \"Andy\", \"Paul\"), major (550, 520, 540), advisor (8723, 7723, 7271), years_old (27, 16, 20), sex (\"F\", \"M\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : pet_age (3, 2, 1), pettype (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3), petid (2001, 2002, 2003)", "schema_without_content": "student : lname , stuid , age_in_years , city_code , fname , major , advisor , years_old , sex | has_pet : petid , stuid | pets : pet_age , pettype , weight , petid", "extra_map": { "student": { "age": [ "years_old", "age_in_years" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "sex", "major", "advisor", "city_code", "years_old", "age_in_years" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "first names": "Student.Fname", "ages of the students": "Student.Age", "pets": "Has_Pet" } }, { "question": "what are the different #first names# and #ages of the students# who do have #pets# ?", "db_id": "pets_1", "orig_query": "select distinct t1.fname, t1.age from student as t1 join has_pet as t2 on t1.stuid = t2.stuid", "schema_with_content": "student : given_name (\"William\", \"Mark\", \"Steven\"), stuid (1014, 1012, 1030), lname (\"Epp\", \"Apap\", \"Nelson\"), major (520, 600, 600), age (22, 16, 27), sex (\"F\", \"M\"), city_code (\"ATL\", \"PEK\", \"LOS\"), first_name (\"William\", \"Mark\", \"Steven\"), advisor (7134, 8772, 9172) | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : pet_age (3, 2, 1), petid (2001, 2002, 2003), weight (12.0, 13.4, 9.3), pettype (\"cat\", \"dog\")", "schema_without_content": "student : given_name , stuid , lname , major , age , sex , city_code , first_name , advisor | has_pet : petid , stuid | pets : pet_age , petid , weight , pettype", "extra_map": { "student": { "fname": [ "given_name", "first_name" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "age", "sex", "major", "advisor", "city_code", "given_name", "first_name" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "first names": "Student.Fname", "ages of the students": "Student.Age", "pets": "Has_Pet" } }, { "question": "find the #id of the pet# owned by #student# whose #last name# is \u2018smith\u2019.", "db_id": "pets_1", "orig_query": "select t2.petid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid where t1.lname = 'Smith'", "schema_with_content": "student : major (540, 600, 550), age (18, 17, 22), lname (\"Simms\", \"Thornton\", \"Brody\"), stuid (1019, 1001, 1011), city_code (\"BAL\", \"WAS\", \"HOU\"), advisor (1148, 9172, 8741), fname (\"Steven\", \"George\", \"Andy\"), sex (\"F\", \"M\") | has_pet : companion_id (2001, 2002, 2003), stuid (1001, 1002), animal_id (2001, 2002, 2003) | pets : pet_age (3, 2, 1), petid (2001, 2002, 2003), pettype (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3)", "schema_without_content": "student : major , age , lname , stuid , city_code , advisor , fname , sex | has_pet : companion_id , stuid , animal_id | pets : pet_age , petid , pettype , weight", "extra_map": { "has_pet": { "petid": [ "animal_id", "companion_id" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "animal_id", "companion_id" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "id of the pet": "Pets.PetID", "student": "Student", "last name": "Student.LName" } }, { "question": "what is the #id of the pet# owned by the #student# whose #last name# is 'smith'?", "db_id": "pets_1", "orig_query": "select t2.petid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid where t1.lname = 'Smith'", "schema_with_content": "student : age (19, 27, 19), stuid (1007, 1003, 1008), city_code (\"NYC\", \"ROC\", \"LON\"), advisor (8722, 7134, 5718), sex (\"F\", \"M\"), fname (\"Jandy\", \"Shiela\", \"Derek\"), major (550, 100, 550), lname (\"Smith\", \"Prater\", \"Goldman\") | has_pet : companion_id (2001, 2002, 2003), stuid (1001, 1002), animal_id (2001, 2002, 2003) | pets : weight (12.0, 13.4, 9.3), petid (2001, 2002, 2003), pet_age (3, 2, 1), pettype (\"cat\", \"dog\")", "schema_without_content": "student : age , stuid , city_code , advisor , sex , fname , major , lname | has_pet : companion_id , stuid , animal_id | pets : weight , petid , pet_age , pettype", "extra_map": { "has_pet": { "petid": [ "animal_id", "companion_id" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "sex", "major", "advisor", "city_code" ], "has_pet": [ "stuid", "animal_id", "companion_id" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "id of the pet": "Pets.PetID", "student": "Student", "last name": "Student.LName" } }, { "question": "find the #number of pets for each student# who has any pet and #student id# .", "db_id": "pets_1", "orig_query": "select count(*), t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid group by t1.stuid", "schema_with_content": "student : id (1019, 1018, 1004), sex (\"F\", \"M\"), city_code (\"DET\", \"SFO\", \"BAL\"), fname (\"Lisa\", \"Arthur\", \"David\"), lname (\"Wilson\", \"Apap\", \"Rugh\"), student_id (1019, 1018, 1004), age (27, 16, 20), major (540, 100, 600), advisor (8772, 2192, 8772) | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : pettype (\"cat\", \"dog\"), petid (2001, 2002, 2003), weight (12.0, 13.4, 9.3), pet_age (3, 2, 1)", "schema_without_content": "student : id , sex , city_code , fname , lname , student_id , age , major , advisor | has_pet : petid , stuid | pets : pettype , petid , weight , pet_age", "extra_map": { "student": { "stuid": [ "id", "student_id" ] } }, "extra_table_map": null, "db_schema": { "student": [ "lname", "fname", "age", "sex", "major", "advisor", "city_code", "id", "student_id" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "number of pets for each student": "has_pet.PetID", "student": "student", "student id": "student.StuID" } }, { "question": "find the #first name# and #gender of student# who have more than one #pet# .", "db_id": "pets_1", "orig_query": "select t1.fname, t1.sex from student as t1 join has_pet as t2 on t1.stuid = t2.stuid group by t1.stuid having count(*) > 1", "schema_with_content": "student : lname (\"Brody\", \"Kumar\", \"Brody\"), gender (\"F\", \"M\"), biological_sex (\"F\", \"M\"), age (17, 17, 17), city_code (\"HKG\", \"SFO\", \"PEK\"), stuid (1011, 1012, 1033), advisor (8723, 8721, 2192), major (100, 50, 520), fname (\"Michael\", \"Lisa\", \"George\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : petid (2001, 2002, 2003), weight (12.0, 13.4, 9.3), pet_age (3, 2, 1), pettype (\"cat\", \"dog\")", "schema_without_content": "student : lname , gender , biological_sex , age , city_code , stuid , advisor , major , fname | has_pet : petid , stuid | pets : petid , weight , pet_age , pettype", "extra_map": { "student": { "sex": [ "gender", "biological_sex" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "major", "advisor", "city_code", "gender", "biological_sex" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "first name": "Student.Fname", "gender of student": "Student.Sex", "pet": "Has_Pet" } }, { "question": "find the #first name# and #gender of student# who have more than one #pet# .", "db_id": "pets_1", "orig_query": "select t1.fname, t1.sex from student as t1 join has_pet as t2 on t1.stuid = t2.stuid group by t1.stuid having count(*) > 1", "schema_with_content": "student : age (16, 22, 27), major (100, 50, 550), lname (\"Schwartz\", \"Jones\", \"Cheng\"), given_name (\"Mark\", \"Derek\", \"Steven\"), advisor (7712, 8723, 8772), stuid (1025, 1018, 1025), city_code (\"ATL\", \"PHL\", \"PEK\"), first_name (\"Mark\", \"Derek\", \"Steven\"), sex (\"F\", \"M\") | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : pettype (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3), pet_age (3, 2, 1), petid (2001, 2002, 2003)", "schema_without_content": "student : age , major , lname , given_name , advisor , stuid , city_code , first_name , sex | has_pet : stuid , petid | pets : pettype , weight , pet_age , petid", "extra_map": { "student": { "fname": [ "given_name", "first_name" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "age", "sex", "major", "advisor", "city_code", "given_name", "first_name" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "first name": "Student.Fname", "gender of student": "Student.Sex", "pet": "Has_Pet" } }, { "question": "what is the #first name# and #gender of the all the students# who have more than one #pet# ?", "db_id": "pets_1", "orig_query": "select t1.fname, t1.sex from student as t1 join has_pet as t2 on t1.stuid = t2.stuid group by t1.stuid having count(*) > 1", "schema_with_content": "student : age (22, 26, 22), major (540, 100, 600), stuid (1033, 1015, 1010), lname (\"Kim\", \"Schwartz\", \"Schwartz\"), fname (\"Jandy\", \"Mark\", \"Jun\"), gender (\"F\", \"M\"), city_code (\"BOS\", \"NYC\", \"LOS\"), advisor (5718, 1148, 1121), biological_sex (\"F\", \"M\") | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : weight (12.0, 13.4, 9.3), petid (2001, 2002, 2003), pettype (\"cat\", \"dog\"), pet_age (3, 2, 1)", "schema_without_content": "student : age , major , stuid , lname , fname , gender , city_code , advisor , biological_sex | has_pet : petid , stuid | pets : weight , petid , pettype , pet_age", "extra_map": { "student": { "sex": [ "gender", "biological_sex" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "fname", "age", "major", "advisor", "city_code", "gender", "biological_sex" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "first name": "Student.Fname", "gender of the all the students": "Student.Sex", "pet": "Has_Pet" } }, { "question": "what is the #first name# and #gender of the all the students# who have more than one #pet# ?", "db_id": "pets_1", "orig_query": "select t1.fname, t1.sex from student as t1 join has_pet as t2 on t1.stuid = t2.stuid group by t1.stuid having count(*) > 1", "schema_with_content": "student : city_code (\"DAL\", \"YYZ\", \"HOU\"), given_name (\"Lisa\", \"Paul\", \"Michael\"), age (27, 16, 19), lname (\"Woods\", \"Kim\", \"Simms\"), stuid (1001, 1016, 1032), major (540, 600, 520), sex (\"F\", \"M\"), advisor (9172, 8741, 8722), first_name (\"Lisa\", \"Paul\", \"Michael\") | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : pet_age (3, 2, 1), weight (12.0, 13.4, 9.3), pettype (\"cat\", \"dog\"), petid (2001, 2002, 2003)", "schema_without_content": "student : city_code , given_name , age , lname , stuid , major , sex , advisor , first_name | has_pet : stuid , petid | pets : pet_age , weight , pettype , petid", "extra_map": { "student": { "fname": [ "given_name", "first_name" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "lname", "age", "sex", "major", "advisor", "city_code", "given_name", "first_name" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "first name": "Student.Fname", "gender of the all the students": "Student.Sex", "pet": "Has_Pet" } }, { "question": "find the #last name of the student# who has a #cat that is age# 3.", "db_id": "pets_1", "orig_query": "select t1.lname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pet_age = 3 and t3.pettype = 'cat'", "schema_with_content": "student : surname (\"Kumar\", \"Adams\", \"Cheng\"), age (20, 18, 19), major (520, 550, 50), city_code (\"BOS\", \"NYC\", \"CHI\"), sex (\"F\", \"M\"), family_name (\"Kumar\", \"Adams\", \"Cheng\"), stuid (1014, 1035, 1004), fname (\"Susan\", \"Sarah\", \"Ian\"), advisor (8772, 8772, 8723) | has_pet : petid (2001, 2002, 2003), stuid (1001, 1002) | pets : pettype (\"cat\", \"dog\"), pet_age (3, 2, 1), weight (12.0, 13.4, 9.3), petid (2001, 2002, 2003)", "schema_without_content": "student : surname , age , major , city_code , sex , family_name , stuid , fname , advisor | has_pet : petid , stuid | pets : pettype , pet_age , weight , petid", "extra_map": { "student": { "lname": [ "family_name", "surname" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "fname", "age", "sex", "major", "advisor", "city_code", "family_name", "surname" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "last name of the student": "Student.LName", "cat that is age": "Pets.PetType" } }, { "question": "what is the #last name of the student# who has a #cat that is 3 years old# ?", "db_id": "pets_1", "orig_query": "select t1.lname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pet_age = 3 and t3.pettype = 'cat'", "schema_with_content": "student : fname (\"Stacy\", \"Linda\", \"George\"), major (600, 100, 100), age (21, 21, 21), surname (\"Schmidt\", \"Simms\", \"Adams\"), stuid (1009, 1006, 1033), city_code (\"SFO\", \"DAL\", \"DAL\"), advisor (5718, 8423, 2311), sex (\"F\", \"M\"), family_name (\"Schmidt\", \"Simms\", \"Adams\") | has_pet : stuid (1001, 1002), petid (2001, 2002, 2003) | pets : pet_age (3, 2, 1), petid (2001, 2002, 2003), pettype (\"cat\", \"dog\"), weight (12.0, 13.4, 9.3)", "schema_without_content": "student : fname , major , age , surname , stuid , city_code , advisor , sex , family_name | has_pet : stuid , petid | pets : pet_age , petid , pettype , weight", "extra_map": { "student": { "lname": [ "family_name", "surname" ] } }, "extra_table_map": null, "db_schema": { "student": [ "stuid", "fname", "age", "sex", "major", "advisor", "city_code", "family_name", "surname" ], "has_pet": [ "stuid", "petid" ], "pets": [ "petid", "pettype", "pet_age", "weight" ] }, "column_linking_gt": { "last name of the student": "Student.LName", "cat that is 3 years old": "Pets.PetType" } }, { "question": "how many countries does each continent have? list the #continent id# , #continent name# and the #number of countries# .", "db_id": "car_1", "orig_query": "select t1.contid, t1.continent, count(*) from continents as t1 join countries as t2 on t1.contid = t2.continent group by t1.contid", "schema_with_content": "continents : continentid (5, 1, 1), continentcode (5, 1, 1), continent (\"europe\", \"africa\", \"europe\") | countries : continent (4, 3, 2), countryname (\"egypt\", \"australia\", \"brazil\"), countryid (1, 13, 1) | car_makers : maker (\"chrysler\", \"ford\", \"saab\"), country (\"5\", \"4\", \"7\"), id (2, 11, 1), fullname (\"General Motors\", \"General Motors\", \"Peugeaut\") | model_list : modelid (34, 12, 19), model (\"kia\", \"nissan\", \"saab\"), maker (12, 2, 23) | car_names : make (\"ford mustang\", \"honda civic\", \"mercury capri 2000\"), makeid (55, 325, 293), model (\"pontiac\", \"buick\", \"saab\") | cars_data : mpg (\"25.4\", \"41.5\", \"13\"), weight (4955, 3821, 1800), edispl (134.0, 114.0, 115.0), horsepower (\"153\", \"138\", \"79\"), id (270, 101, 160), accelerate (19.5, 16.0, 23.5), cylinders (8, 6, 8), year (1980, 1976, 1982)", "schema_without_content": "continents : continentid , continentcode , continent | countries : continent , countryname , countryid | car_makers : maker , country , id , fullname | model_list : modelid , model , maker | car_names : make , makeid , model | cars_data : mpg , weight , edispl , horsepower , id , accelerate , cylinders , year", "extra_map": { "continents": { "contid": [ "continentid", "continentcode" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "continent", "continentid", "continentcode" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "continent id": "continents.ContId", "continent name": "continents.Continent", "number of countries": "countries" } }, { "question": "how many countries does each continent have? list the #continent id# , #continent name# and the #number of countries# .", "db_id": "car_1", "orig_query": "select t1.contid, t1.continent, count(*) from continents as t1 join countries as t2 on t1.contid = t2.continent group by t1.contid", "schema_with_content": "continents : continentname (\"africa\", \"australia\", \"asia\"), contid (3, 3, 2), area (\"africa\", \"australia\", \"asia\") | countries : countryname (\"nigeria\", \"japan\", \"korea\"), countryid (4, 8, 11), continent (2, 4, 4) | car_makers : id (19, 14, 11), country (\"1\", \"6\", \"1\"), fullname (\"Saab\", \"Volvo\", \"Kia Motors\"), maker (\"citroen\", \"toyota\", \"saab\") | model_list : model (\"citroen\", \"pontiac\", \"mercury\"), maker (6, 10, 23), modelid (29, 31, 2) | car_names : makeid (25, 76, 374), make (\"ford mustang boss 302\", \"toyota tercel\", \"honda prelude\"), model (\"datsun\", \"hi\", \"chevrolet\") | cars_data : year (1977, 1973, 1972), id (212, 126, 194), mpg (\"24.2\", \"37.7\", \"24.2\"), weight (4385, 3730, 3155), horsepower (\"49\", \"85\", \"48\"), cylinders (3, 6, 6), accelerate (13.9, 15.5, 19.2), edispl (199.0, 104.0, 104.0)", "schema_without_content": "continents : continentname , contid , area | countries : countryname , countryid , continent | car_makers : id , country , fullname , maker | model_list : model , maker , modelid | car_names : makeid , make , model | cars_data : year , id , mpg , weight , horsepower , cylinders , accelerate , edispl", "extra_map": { "continents": { "continent": [ "continentname", "area" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continentname", "area" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "continent id": "continents.ContId", "continent name": "continents.Continent", "number of countries": "countries" } }, { "question": "for each continent, list its id, name, and how many #countries# it has?", "db_id": "car_1", "orig_query": "select t1.contid, t1.continent, count(*) from continents as t1 join countries as t2 on t1.contid = t2.continent group by t1.contid", "schema_with_content": "continents : continentid (2, 3, 5), continentcode (2, 3, 5), continent (\"australia\", \"africa\", \"asia\") | countries : countryid (5, 5, 3), countryname (\"usa\", \"egypt\", \"new zealand\"), continent (3, 2, 4) | car_makers : maker (\"peugeaut\", \"ford\", \"peugeaut\"), fullname (\"Opel\", \"Honda\", \"Volkswagen\"), id (15, 6, 8), country (\"7\", \"3\", \"8\") | model_list : model (\"mercedes\", \"capri\", \"oldsmobile\"), maker (12, 21, 16), modelid (6, 1, 6) | car_names : makeid (368, 36, 191), model (\"buick\", \"ford\", \"triumph\"), make (\"mazda glc custom\", \"mercury monarch ghia\", \"chevrolet nova custom\") | cars_data : mpg (\"37.3\", \"21\", \"30.7\"), year (1971, 1972, 1975), weight (3907, 2223, 2807), edispl (173.0, 258.0, 98.0), id (256, 341, 318), cylinders (6, 3, 3), accelerate (13.9, 16.7, 17.0), horsepower (\"54\", \"71\", \"167\")", "schema_without_content": "continents : continentid , continentcode , continent | countries : countryid , countryname , continent | car_makers : maker , fullname , id , country | model_list : model , maker , modelid | car_names : makeid , model , make | cars_data : mpg , year , weight , edispl , id , cylinders , accelerate , horsepower", "extra_map": { "continents": { "contid": [ "continentid", "continentcode" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "continent", "continentid", "continentcode" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "countries": "countries", "continent id": "continents.ContId", "continent name": "continents.Continent" } }, { "question": "for each continent, list its id, name, and how many #countries# it has?", "db_id": "car_1", "orig_query": "select t1.contid, t1.continent, count(*) from continents as t1 join countries as t2 on t1.contid = t2.continent group by t1.contid", "schema_with_content": "continents : area (\"asia\", \"europe\", \"america\"), continentname (\"asia\", \"europe\", \"america\"), contid (4, 5, 5) | countries : countryid (8, 11, 9), continent (4, 4, 2), countryname (\"germany\", \"italy\", \"italy\") | car_makers : fullname (\"Triumph\", \"Chrysler\", \"Daimler Benz\"), id (2, 17, 16), country (\"5\", \"2\", \"5\"), maker (\"opel\", \"volvo\", \"volkswagen\") | model_list : modelid (4, 30, 36), model (\"renault\", \"scion\", \"subaru\"), maker (14, 20, 21) | car_names : makeid (115, 310, 405), make (\"amc pacer d/l\", \"datsun 710\", \"audi fox\"), model (\"audi\", \"volkswagen\", \"oldsmobile\") | cars_data : edispl (198.0, 181.0, 134.0), year (1973, 1970, 1982), accelerate (10.0, 15.8, 15.0), horsepower (\"108\", \"113\", \"180\"), mpg (\"26.5\", \"36\", \"19\"), weight (2755, 3962, 1940), id (262, 182, 390), cylinders (6, 3, 6)", "schema_without_content": "continents : area , continentname , contid | countries : countryid , continent , countryname | car_makers : fullname , id , country , maker | model_list : modelid , model , maker | car_names : makeid , make , model | cars_data : edispl , year , accelerate , horsepower , mpg , weight , id , cylinders", "extra_map": { "continents": { "continent": [ "continentname", "area" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continentname", "area" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "countries": "countries", "continent id": "continents.ContId", "continent name": "continents.Continent" } }, { "question": "how many #models# does each #car maker# produce? list #maker full name# , #id# and the number.", "db_id": "car_1", "orig_query": "select t1.fullname, t1.id, count(*) from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id", "schema_with_content": "continents : contid (4, 1, 3), continent (\"africa\", \"america\", \"europe\") | countries : continent (5, 4, 1), countryname (\"usa\", \"new zealand\", \"france\"), countryid (3, 14, 11) | car_makers : maker (\"citroen\", \"ford\", \"citroen\"), full_title (\"Daimler Benz\", \"Chrysler\", \"Fiat\"), id (22, 16, 15), country (\"3\", \"7\", \"6\"), complete_name (\"Daimler Benz\", \"Chrysler\", \"Fiat\") | model_list : modelid (25, 24, 13), model (\"toyota\", \"buick\", \"mazda\"), maker (22, 2, 6) | car_names : model (\"toyota\", \" volkswagen\", \"oldsmobile\"), makeid (354, 51, 361), make (\"mazda rx-4\", \"chevy c10\", \"audi 5000s (diesel)\") | cars_data : horsepower (\"92\", \"96\", \"69\"), weight (4034, 4732, 2634), year (1971, 1970, 1973), edispl (183.0, 85.0, 96.0), accelerate (13.6, 11.6, 17.1), cylinders (3, 5, 8), mpg (\"46.6\", \"31.5\", \"28.4\"), id (309, 215, 279)", "schema_without_content": "continents : contid , continent | countries : continent , countryname , countryid | car_makers : maker , full_title , id , country , complete_name | model_list : modelid , model , maker | car_names : model , makeid , make \" | cars_data : horsepower , weight , year , edispl , accelerate , cylinders , mpg , id", "extra_map": { "car_makers": { "fullname": [ "complete_name", "full_title" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "country", "complete_name", "full_title" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "models": "model_list.Model", "car maker": "car_makers", "maker full name": "car_makers.FullName", "id": "car_makers.Id" } }, { "question": "how many #models# does each #car maker# produce? list #maker full name# , #id# and the number.", "db_id": "car_1", "orig_query": "select t1.fullname, t1.id, count(*) from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id", "schema_with_content": "continents : contid (4, 2, 4), continent (\"europe\", \"europe\", \"america\") | countries : continent (1, 5, 3), countryid (13, 10, 11), countryname (\"sweden\", \"nigeria\", \"france\") | car_makers : fullname (\"Chrysler\", \"Mazda\", \"Honda\"), serial_id (9, 15, 14), country (\"2\", \"2\", \"1\"), maker_id (9, 15, 14), maker (\"subaru\", \"saab\", \"fiat\") | model_list : modelid (27, 14, 3), model (\"fiat\", \"audi\", \"buick\"), maker (3, 17, 19) | car_names : makeid (158, 362, 111), model (\"hi\", \"triumph\", \"mercedes-benz\"), make (\"plymouth valiant custom\", \"volkswagen jetta\", \"nissan stanza xe\") | cars_data : cylinders (5, 8, 3), edispl (68.0, 133.0, 114.0), id (140, 253, 394), accelerate (24.8, 11.3, 21.9), horsepower (\"95\", \"92\", \"46\"), mpg (\"36\", \"26.5\", \"29.8\"), year (1978, 1977, 1977), weight (3230, 3264, 3278)", "schema_without_content": "continents : contid , continent | countries : continent , countryid , countryname | car_makers : fullname , serial_id , country , maker_id , maker | model_list : modelid , model , maker | car_names : makeid , model , make | cars_data : cylinders , edispl , id , accelerate , horsepower , mpg , year , weight", "extra_map": { "car_makers": { "id": [ "maker_id", "serial_id" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "maker", "fullname", "country", "maker_id", "serial_id" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "models": "model_list.Model", "car maker": "car_makers", "maker full name": "car_makers.FullName", "id": "car_makers.Id" } }, { "question": "what is the #full name of each car maker# , along with its #id# and how many #models# it produces?", "db_id": "car_1", "orig_query": "select t1.fullname, t1.id, count(*) from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id", "schema_with_content": "continents : continent (\"america\", \"africa\", \"asia\"), contid (4, 2, 3) | countries : continent (3, 3, 4), countryname (\"egypt\", \"australia\", \"usa\"), countryid (7, 14, 15) | car_makers : country (\"6\", \"4\", \"7\"), complete_name (\"Opel\", \"Mazda\", \"BMW\"), id (14, 16, 18), full_title (\"Opel\", \"Mazda\", \"BMW\"), maker (\"mazda\", \"volkswagen\", \"triumph\") | model_list : maker (9, 7, 16), model (\"audi\", \"volvo\", \"honda\"), modelid (3, 15, 31) | car_names : make (\" mazda glc deluxe\", \"dodge dart custom\", \"mercury monarch\"), model (\"triumph\", \"volkswagen\", \"peugeot\"), makeid (326, 203, 273) | cars_data : horsepower (\"103\", \"167\", \"225\"), mpg (\"16.9\", \"15.5\", \"19.8\"), edispl (76.0, 429.0, 260.0), cylinders (5, 6, 8), year (1976, 1981, 1970), accelerate (14.3, 13.5, 23.7), weight (4077, 2265, 2575), id (328, 367, 73)", "schema_without_content": "continents : continent , contid | countries : continent , countryname , countryid | car_makers : country , complete_name , id , full_title , maker | model_list : maker , model , modelid | car_names : make , model , makeid | cars_data : horsepower , mpg , edispl , cylinders , year , accelerate , weight , id", "extra_map": { "car_makers": { "fullname": [ "complete_name", "full_title" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "country", "complete_name", "full_title" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "full name of each car maker": "car_makers.FullName", "id": "car_makers.Id", "models": "model_list.Model" } }, { "question": "what is the #full name of each car maker# , along with its #id# and how many #models# it produces?", "db_id": "car_1", "orig_query": "select t1.fullname, t1.id, count(*) from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id", "schema_with_content": "continents : continent (\"asia\", \"america\", \"europe\"), contid (3, 4, 1) | countries : countryid (1, 12, 10), countryname (\"mexico\", \"korea\", \"france\"), continent (4, 2, 2) | car_makers : fullname (\"Hyundai\", \"Peugeaut\", \"Volkswagen\"), serial_id (13, 3, 9), country (\"4\", \"6\", \"4\"), maker_id (13, 3, 9), maker (\"daimler benz\", \"citroen\", \"kia\") | model_list : modelid (27, 6, 2), model (\"opel\", \"ford\", \"kia\"), maker (16, 9, 16) | car_names : model (\"saab\", \"saab\", \"fiat\"), make (\"volvo 245\", \"plymouth cricket\", \"mazda glc 4\"), makeid (266, 174, 169) | cars_data : year (1977, 1970, 1981), horsepower (\"170\", \"193\", \"66\"), mpg (\"25.4\", \"20.2\", \"24\"), cylinders (8, 5, 6), id (174, 51, 158), accelerate (17.3, 19.4, 15.6), edispl (70.0, 156.0, 83.0), weight (3399, 3465, 2620)", "schema_without_content": "continents : continent , contid | countries : countryid , countryname , continent | car_makers : fullname , serial_id , country , maker_id , maker | model_list : modelid , model , maker | car_names : model , make , makeid | cars_data : year , horsepower , mpg , cylinders , id , accelerate , edispl , weight", "extra_map": { "car_makers": { "id": [ "maker_id", "serial_id" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "maker", "fullname", "country", "maker_id", "serial_id" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "full name of each car maker": "car_makers.FullName", "id": "car_makers.Id", "models": "model_list.Model" } }, { "question": "which #model# of the car has the minimum #horsepower# ?", "db_id": "car_1", "orig_query": "select t1.model from car_names as t1 join cars_data as t2 on t1.makeid = t2.id order by t2.horsepower asc limit 1", "schema_with_content": "continents : contid (3, 2, 3), continent (\"america\", \"africa\", \"america\") | countries : countryid (2, 1, 1), countryname (\"brazil\", \"mexico\", \"brazil\"), continent (5, 3, 2) | car_makers : maker (\"volvo\", \"ford\", \"gm\"), fullname (\"Ford Motor Company\", \"Nissan Motors\", \"Subaru\"), country (\"1\", \"5\", \"5\"), id (21, 2, 5) | model_list : maker (13, 20, 10), model (\"nissan\", \"volkswagen\", \"buick\"), modelid (4, 10, 17) | car_names : make (\"mazda rx2 coupe\", \"mazda rx-4\", \"renault 12tl\"), vehicle_model (\"audi\", \"datsun\", \"hi\"), makeid (23, 48, 236), designation (\"audi\", \"datsun\", \"hi\") | cars_data : year (1982, 1979, 1977), id (164, 87, 70), mpg (\"19\", \"16\", \"24.3\"), horsepower (\"139\", \"145\", \"153\"), cylinders (8, 3, 4), edispl (429.0, 225.0, 156.0), accelerate (17.3, 15.4, 16.2), weight (4699, 4502, 2300)", "schema_without_content": "continents : contid , continent | countries : countryid , countryname , continent | car_makers : maker , fullname , country , id | model_list : maker , model , modelid | car_names : make , vehicle_model , makeid , designation | cars_data : year , id , mpg , horsepower , cylinders , edispl , accelerate , weight", "extra_map": { "car_names": { "model": [ "vehicle_model", "designation" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "make", "vehicle_model", "designation" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "model": "car_names.Model", "horsepower": "cars_data.Horsepower" } }, { "question": "what is the #model# of the car with the smallest amount of #horsepower# ?", "db_id": "car_1", "orig_query": "select t1.model from car_names as t1 join cars_data as t2 on t1.makeid = t2.id order by t2.horsepower asc limit 1", "schema_with_content": "continents : continent (\"australia\", \"asia\", \"australia\"), contid (5, 4, 3) | countries : continent (1, 4, 2), countryid (13, 2, 4), countryname (\"germany\", \"mexico\", \"russia\") | car_makers : maker (\"daimler benz\", \"renault\", \"toyota\"), id (4, 16, 11), country (\"7\", \"7\", \"6\"), fullname (\"Opel\", \"Volkswagen\", \"Toyota\") | model_list : modelid (21, 17, 9), maker (21, 4, 9), model (\"fiat\", \"kia\", \"scion\") | car_names : designation (\"dodge\", \"toyota\", \"volvo\"), vehicle_model (\"dodge\", \"toyota\", \"volvo\"), makeid (401, 393, 1), make (\"datsun b-210\", \"chevrolet citation\", \"ford gran torino (sw)\") | cars_data : horsepower (\"94\", \"58\", \"98\"), year (1972, 1978, 1977), id (195, 359, 264), mpg (\"32.2\", \"37.7\", \"null\"), edispl (85.0, 267.0, 318.0), weight (2278, 2255, 2634), cylinders (3, 5, 4), accelerate (18.7, 13.4, 12.5)", "schema_without_content": "continents : continent , contid | countries : continent , countryid , countryname | car_makers : maker , id , country , fullname | model_list : modelid , maker , model | car_names : designation , vehicle_model , makeid , make \" | cars_data : horsepower , year , id , mpg , edispl , weight , cylinders , accelerate", "extra_map": { "car_names": { "model": [ "vehicle_model", "designation" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "make", "vehicle_model", "designation" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "model": "car_names.Model", "horsepower": "cars_data.Horsepower" } }, { "question": "find the #model# of the car whose #weight# is below the average weight.", "db_id": "car_1", "orig_query": "select t1.model from car_names as t1 join cars_data as t2 on t1.makeid = t2.id where t2.weight < (select avg(weight) from cars_data)", "schema_with_content": "continents : contid (4, 4, 2), continent (\"asia\", \"europe\", \"australia\") | countries : countryname (\"sweden\", \"russia\", \"france\"), countryid (12, 15, 2), continent (3, 4, 2) | car_makers : fullname (\"Volkswagen\", \"Volvo\", \"Peugeaut\"), id (17, 2, 21), maker (\"chrysler\", \"honda\", \"hyundai\"), country (\"1\", \"1\", \"8\") | model_list : model (\"toyota\", \"cadillac\", \"jeep\"), modelid (17, 35, 18), maker (21, 9, 5) | car_names : vehicle_model (\"bmw\", \"plymouth\", \"oldsmobile\"), make (\"audi fox\", \"oldsmobile omega brougham\", \"amc pacer d/l\"), designation (\"bmw\", \"plymouth\", \"oldsmobile\"), makeid (284, 66, 48) | cars_data : id (115, 160, 392), accelerate (15.6, 21.5, 14.3), weight (3302, 2560, 2865), edispl (360.0, 171.0, 455.0), horsepower (\"75\", \"96\", \"113\"), year (1975, 1982, 1975), mpg (\"35\", \"29.9\", \"26.8\"), cylinders (4, 5, 6)", "schema_without_content": "continents : contid , continent | countries : countryname , countryid , continent | car_makers : fullname , id , maker , country | model_list : model , modelid , maker | car_names : vehicle_model , make , designation , makeid | cars_data : id , accelerate , weight , edispl , horsepower , year , mpg , cylinders", "extra_map": { "car_names": { "model": [ "vehicle_model", "designation" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "make", "vehicle_model", "designation" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "model": "car_names.Model", "weight": "cars_data.Weight" } }, { "question": "what is the #model# for the car with a #weight# smaller than the average?", "db_id": "car_1", "orig_query": "select t1.model from car_names as t1 join cars_data as t2 on t1.makeid = t2.id where t2.weight < (select avg(weight) from cars_data)", "schema_with_content": "continents : continent (\"america\", \"europe\", \"africa\"), contid (3, 1, 3) | countries : countryname (\"mexico\", \"japan\", \"sweden\"), continent (4, 2, 2), countryid (11, 1, 10) | car_makers : fullname (\"Ford Motor Company\", \"Honda\", \"Volkswagen\"), country (\"2\", \"7\", \"6\"), maker (\"mazda\", \"opel\", \"bmw\"), id (19, 12, 17) | model_list : maker (22, 14, 2), model (\"saab\", \"oldsmobile\", \"audi\"), modelid (36, 7, 4) | car_names : designation (\"pontiac\", \"honda\", \"subaru\"), vehicle_model (\"pontiac\", \"honda\", \"subaru\"), makeid (231, 163, 163), make (\"ford f250\", \"plymouth sapporo\", \"ford gran torino\") | cars_data : id (185, 388, 375), year (1972, 1971, 1971), horsepower (\"46\", \"220\", \"62\"), edispl (141.0, 108.0, 79.0), cylinders (8, 6, 6), weight (2003, 2370, 3632), accelerate (14.2, 12.9, 13.0), mpg (\"null\", \"21.6\", \"23.7\")", "schema_without_content": "continents : continent , contid | countries : countryname , continent , countryid | car_makers : fullname , country , maker , id | model_list : maker , model , modelid | car_names : designation , vehicle_model , makeid , make | cars_data : id , year , horsepower , edispl , cylinders , weight , accelerate , mpg", "extra_map": { "car_names": { "model": [ "vehicle_model", "designation" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "make", "vehicle_model", "designation" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "model": "car_names.Model", "weight": "cars_data.Weight" } }, { "question": "find the #name of the makers# that produced some cars in the #year# of 1970?", "db_id": "car_1", "orig_query": "select distinct t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker join car_names as t3 on t2.model = t3.model join cars_data as t4 on t3.makeid = t4.id where t4.year = '1970'", "schema_with_content": "continents : contid (4, 1, 5), continent (\"africa\", \"europe\", \"europe\") | countries : countryid (10, 9, 1), countryname (\"usa\", \"sweden\", \"italy\"), continent (4, 1, 2) | car_makers : id (19, 14, 4), fullname (\"Renault\", \"Subaru\", \"Fiat\"), brand (\"mazda\", \"volkswagen\", \"volkswagen\"), country (\"1\", \"8\", \"2\"), manufacturer (\"mazda\", \"volkswagen\", \"volkswagen\") | model_list : model (\"datsun\", \"mazda\", \"dodge\"), maker (19, 7, 2), modelid (17, 28, 6) | car_names : model (\"buick\", \"fiat\", \"toyota\"), make (\"toyota corona\", \"toyota starlet\", \"buick opel isuzu deluxe\"), makeid (5, 59, 110) | cars_data : mpg (\"21.5\", \"27\", \"26.5\"), accelerate (20.7, 16.9, 8.0), year (1970, 1980, 1976), id (252, 44, 160), weight (3988, 3830, 3433), edispl (302.0, 86.0, 360.0), cylinders (8, 4, 5), horsepower (\"120\", \"65\", \"88\")", "schema_without_content": "continents : contid , continent | countries : countryid , countryname , continent | car_makers : id , fullname , brand , country , manufacturer | model_list : model , maker , modelid | car_names : model , make , makeid | cars_data : mpg , accelerate , year , id , weight , edispl , cylinders , horsepower", "extra_map": { "car_makers": { "maker": [ "brand", "manufacturer" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "fullname", "country", "brand", "manufacturer" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "name of the makers": "car_makers.Maker", "year": "cars_data.Year" } }, { "question": "what is the #name# of the different #car makers# who produced a car in #1970# ?", "db_id": "car_1", "orig_query": "select distinct t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker join car_names as t3 on t2.model = t3.model join cars_data as t4 on t3.makeid = t4.id where t4.year = '1970'", "schema_with_content": "continents : contid (1, 2, 2), continent (\"africa\", \"australia\", \"europe\") | countries : countryid (12, 11, 1), continent (3, 4, 5), countryname (\"mexico\", \"brazil\", \"russia\") | car_makers : fullname (\"Toyota\", \"BMW\", \"Kia Motors\"), country (\"2\", \"8\", \"6\"), id (22, 3, 3), brand (\"fiat\", \"ford\", \"honda\"), manufacturer (\"fiat\", \"ford\", \"honda\") | model_list : modelid (5, 24, 18), maker (16, 8, 10), model (\"hyundai\", \"hi\", \"ford\") | car_names : makeid (2, 246, 325), make (\"amc concord dl 6\", \"plymouth horizon\", \"chevrolet chevelle malibu\"), model (\"mercedes\", \"mercedes\", \"citroen\") | cars_data : id (354, 214, 9), horsepower (\"92\", \"69\", \"61\"), edispl (79.0, 104.0, 100.0), weight (3158, 3205, 1995), mpg (\"38.1\", \"40.9\", \"26.4\"), year (1977, 1972, 1977), accelerate (15.8, 17.0, 19.5), cylinders (5, 3, 4)", "schema_without_content": "continents : contid , continent | countries : countryid , continent , countryname | car_makers : fullname , country , id , brand , manufacturer | model_list : modelid , maker , model | car_names : makeid , make , model | cars_data : id , horsepower , edispl , weight , mpg , year , accelerate , cylinders", "extra_map": { "car_makers": { "maker": [ "brand", "manufacturer" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "fullname", "country", "brand", "manufacturer" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "name": "car_makers.Maker", "car makers": "car_makers", "1970": "cars_data.Year" } }, { "question": "find the #make# and #production time of the cars# that were produced in the earliest year?", "db_id": "car_1", "orig_query": "select t2.make, t1.year from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t1.year = (select min(year) from cars_data)", "schema_with_content": "continents : contid (2, 3, 2), continent (\"africa\", \"asia\", \"europe\") | countries : countryid (4, 2, 4), continent (5, 2, 5), countryname (\"sweden\", \"egypt\", \"uk\") | car_makers : country (\"7\", \"2\", \"4\"), fullname (\"Hyundai\", \"Honda\", \"Daimler Benz\"), maker (\"hyundai\", \"ford\", \"gm\"), id (23, 7, 21) | model_list : model (\"cadillac\", \"honda\", \"mazda\"), modelid (16, 15, 8), maker (21, 16, 2) | car_names : manufacturer (\"amc ambassador sst\", \"ford thunderbird\", \"mercury grand marquis\"), brand (\"amc ambassador sst\", \"ford thunderbird\", \"mercury grand marquis\"), model (\"bmw\", \"subaru\", \"buick\"), makeid (166, 176, 186) | cars_data : edispl (83.0, 68.0, 318.0), year (1973, 1975, 1976), cylinders (8, 6, 3), weight (3336, 4312, 2905), id (386, 46, 72), horsepower (\"115\", \"62\", \"60\"), mpg (\"22.3\", \"38\", \"32.7\"), accelerate (21.8, 16.2, 18.0)", "schema_without_content": "continents : contid , continent | countries : countryid , continent , countryname | car_makers : country , fullname , maker , id | model_list : model , modelid , maker | car_names : manufacturer , brand , model , makeid | cars_data : edispl , year , cylinders , weight , id , horsepower , mpg , accelerate", "extra_map": { "car_names": { "make": [ "manufacturer", "brand" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "manufacturer", "brand" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "make": "car_names.Make", "production time of the cars": "cars_data.Year" } }, { "question": "find the #make# and #production time of the cars# that were produced in the earliest year?", "db_id": "car_1", "orig_query": "select t2.make, t1.year from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t1.year = (select min(year) from cars_data)", "schema_with_content": "continents : contid (2, 2, 2), continent (\"australia\", \"europe\", \"america\") | countries : continent (1, 5, 4), countryname (\"russia\", \"usa\", \"italy\"), countryid (12, 9, 7) | car_makers : country (\"6\", \"1\", \"3\"), id (7, 12, 23), maker (\"volvo\", \"peugeaut\", \"toyota\"), fullname (\"General Motors\", \"Daimler Benz\", \"Citroen\") | model_list : modelid (24, 11, 8), maker (9, 12, 19), model (\"buick\", \"datsun\", \"chevrolet\") | car_names : make (\"fiat 124 tc\", \"plymouth duster\", \"mazda glc custom l\"), makeid (396, 88, 316), model (\"amc\", \"ford\", \"mercedes\") | cars_data : production_year (1972, 1973, 1975), edispl (81.0, 131.0, 91.0), weight (4215, 3150, 3381), accelerate (23.7, 13.8, 16.8), horsepower (\"64\", \"48\", \"46\"), mpg (\"18.1\", \"39.4\", \"20.3\"), cylinders (6, 5, 6), manufacturing_year (1972, 1973, 1975), id (35, 367, 346)", "schema_without_content": "continents : contid , continent | countries : continent , countryname , countryid | car_makers : country , id , maker , fullname | model_list : modelid , maker , model | car_names : make , makeid , model | cars_data : production_year , edispl , weight , accelerate , horsepower , mpg , cylinders , manufacturing_year , id", "extra_map": { "cars_data": { "year": [ "manufacturing_year", "production_year" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "manufacturing_year", "production_year" ] }, "column_linking_gt": { "make": "car_names.Make", "production time of the cars": "cars_data.Year" } }, { "question": "what is the #maker# of the carr produced in the earliest #year# and what year was it?", "db_id": "car_1", "orig_query": "select t2.make, t1.year from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t1.year = (select min(year) from cars_data)", "schema_with_content": "continents : contid (5, 2, 1), continent (\"europe\", \"africa\", \"australia\") | countries : continent (1, 5, 1), countryname (\"brazil\", \"sweden\", \"egypt\"), countryid (7, 5, 8) | car_makers : maker (\"kia\", \"ford\", \"toyota\"), id (9, 19, 15), fullname (\"BMW\", \"American Motor Company\", \"Saab\"), country (\"5\", \"4\", \"7\") | model_list : maker (23, 3, 13), model (\"volkswagen\", \"datsun\", \"opel\"), modelid (32, 14, 9) | car_names : makeid (307, 275, 383), manufacturer (\"ford escort 4w\", \"capri ii\", \"ford mustang ii\"), brand (\"ford escort 4w\", \"capri ii\", \"ford mustang ii\"), model (\"datsun\", \"nissan\", \"subaru\") | cars_data : cylinders (3, 4, 3), year (1976, 1975, 1976), horsepower (\"112\", \"108\", \"91\"), id (71, 391, 246), edispl (200.0, 156.0, 440.0), weight (2635, 3449, 4278), accelerate (16.1, 15.7, 16.1), mpg (\"21\", \"17.7\", \"30.5\")", "schema_without_content": "continents : contid , continent | countries : continent , countryname , countryid | car_makers : maker , id , fullname , country | model_list : maker , model , modelid | car_names : makeid , manufacturer , brand , model | cars_data : cylinders , year , horsepower , id , edispl , weight , accelerate , mpg", "extra_map": { "car_names": { "make": [ "manufacturer", "brand" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "manufacturer", "brand" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "maker": "car_names.Make", "year": "cars_data.Year" } }, { "question": "what is the #maker# of the carr produced in the earliest #year# and what year was it?", "db_id": "car_1", "orig_query": "select t2.make, t1.year from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t1.year = (select min(year) from cars_data)", "schema_with_content": "continents : contid (5, 3, 5), continent (\"europe\", \"africa\", \"asia\") | countries : continent (4, 2, 2), countryid (2, 4, 5), countryname (\"germany\", \"egypt\", \"germany\") | car_makers : maker (\"ford\", \"ford\", \"peugeaut\"), id (2, 11, 21), country (\"2\", \"3\", \"7\"), fullname (\"Fiat\", \"Mazda\", \"Triumph\") | model_list : maker (1, 5, 15), modelid (36, 1, 30), model (\"pontiac\", \"bmw\", \"subaru\") | car_names : makeid (321, 378, 161), make (\"plymouth duster\", \"amc spirit dl\", \"saab 99gle\"), model (\"mercury\", \"chrysler\", \"mercedes\") | cars_data : edispl (262.0, 232.0, 454.0), id (368, 219, 58), production_year (1979, 1975, 1974), cylinders (8, 8, 3), accelerate (19.4, 13.4, 18.0), mpg (\"24.3\", \"38.1\", \"19\"), horsepower (\"142\", \"122\", \"64\"), weight (4657, 4077, 2245), manufacturing_year (1979, 1975, 1974)", "schema_without_content": "continents : contid , continent | countries : continent , countryid , countryname | car_makers : maker , id , country , fullname | model_list : maker , modelid , model | car_names : makeid , make , model | cars_data : edispl , id , production_year , cylinders , accelerate , mpg , horsepower , weight , manufacturing_year", "extra_map": { "cars_data": { "year": [ "manufacturing_year", "production_year" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "manufacturing_year", "production_year" ] }, "column_linking_gt": { "maker": "car_names.Make", "year": "cars_data.Year" } }, { "question": "which distinct #car models# are the #produced after 1980# ?", "db_id": "car_1", "orig_query": "select distinct t1.model from model_list as t1 join car_names as t2 on t1.model = t2.model join cars_data as t3 on t2.makeid = t3.id where t3.year > 1980", "schema_with_content": "continents : contid (4, 5, 3), continent (\"asia\", \"europe\", \"australia\") | countries : countryid (12, 7, 12), continent (1, 1, 1), countryname (\"sweden\", \"uk\", \"russia\") | car_makers : country (\"4\", \"5\", \"3\"), maker (\"renault\", \"volkswagen\", \"volkswagen\"), fullname (\"Kia Motors\", \"Triumph\", \"Ford Motor Company\"), id (21, 23, 5) | model_list : modelid (33, 27, 23), vehicle_name (\"amc\", \"mercury\", \"hyundai\"), model_name (\"amc\", \"mercury\", \"hyundai\"), maker (14, 1, 5) | car_names : makeid (91, 249, 227), model (\"cadillac\", \"toyota\", \"oldsmobile\"), make (\"plymouth champ\", \"ford country squire (sw)\", \"datsun 200-sx\") | cars_data : mpg (\"28.4\", \"28.8\", \"32.9\"), accelerate (15.3, 17.8, 17.3), id (61, 379, 217), horsepower (\"70\", \"null\", \"139\"), cylinders (5, 8, 3), weight (2330, 3336, 2135), edispl (85.0, 120.0, 96.0), year (1977, 1981, 1975)", "schema_without_content": "continents : contid , continent | countries : countryid , continent , countryname | car_makers : country , maker , fullname , id | model_list : modelid , vehicle_name , model_name , maker | car_names : makeid , model , make \", \"datsun 200-sx\" | cars_data : mpg , accelerate , id , horsepower , cylinders , weight , edispl , year", "extra_map": { "model_list": { "model": [ "model_name", "vehicle_name" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model_name", "vehicle_name" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "car models": "model_list.Model", "produced after 1980": "cars_data.Year" } }, { "question": "what are the different #models# for the cards #produced after 1980# ?", "db_id": "car_1", "orig_query": "select distinct t1.model from model_list as t1 join car_names as t2 on t1.model = t2.model join cars_data as t3 on t2.makeid = t3.id where t3.year > 1980", "schema_with_content": "continents : continent (\"asia\", \"america\", \"america\"), contid (4, 3, 3) | countries : countryname (\"russia\", \"egypt\", \"france\"), continent (5, 1, 5), countryid (14, 8, 8) | car_makers : country (\"8\", \"2\", \"4\"), id (8, 4, 16), maker (\"mazda\", \"mazda\", \"fiat\"), fullname (\"General Motors\", \"Toyota\", \"Citroen\") | model_list : model_name (\"capri\", \"plymouth\", \"saab\"), vehicle_name (\"capri\", \"plymouth\", \"saab\"), maker (1, 17, 14), modelid (13, 23, 33) | car_names : make (\"chevrolet monte carlo s\", \"buick century special\", \"cadillac seville\"), makeid (31, 39, 168), model (\"volvo\", \" volkswagen\", \"pontiac\") | cars_data : horsepower (\"129\", \"93\", \"95\"), cylinders (8, 6, 6), year (1976, 1975, 1979), edispl (144.0, 429.0, 307.0), weight (2545, 2789, 2451), mpg (\"17\", \"20.3\", \"19.1\"), id (373, 21, 205), accelerate (9.0, 20.0, 20.5)", "schema_without_content": "continents : continent , contid | countries : countryname , continent , countryid | car_makers : country , id , maker , fullname | model_list : model_name , vehicle_name , maker , modelid | car_names : make , makeid , model | cars_data : horsepower , cylinders , year , edispl , weight , mpg , id , accelerate", "extra_map": { "model_list": { "model": [ "model_name", "vehicle_name" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model_name", "vehicle_name" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "models": "model_list.Model", "produced after 1980": "cars_data.Year" } }, { "question": "how many #car makers# are there in each continents? list the #continent name# and the count.", "db_id": "car_1", "orig_query": "select t1.continent, count(*) from continents as t1 join countries as t2 on t1.contid = t2.continent join car_makers as t3 on t2.countryid = t3.country group by t1.continent", "schema_with_content": "continents : contid (4, 4, 5), continentname (\"asia\", \"asia\", \"asia\"), area (\"asia\", \"asia\", \"asia\") | countries : continent (2, 3, 1), countryname (\"egypt\", \"sweden\", \"italy\"), countryid (6, 13, 11) | car_makers : fullname (\"Saab\", \"Ford Motor Company\", \"Renault\"), maker (\"volvo\", \"gm\", \"kia\"), country (\"6\", \"1\", \"1\"), id (21, 9, 6) | model_list : maker (3, 14, 22), modelid (26, 31, 4), model (\"ford\", \"cadillac\", \"nissan\") | car_names : model (\"subaru\", \"peugeot\", \"mercedes-benz\"), make (\"dodge aspen\", \"plymouth sapporo\", \"mercury marquis\"), makeid (70, 117, 317) | cars_data : edispl (86.0, 98.0, 351.0), id (242, 198, 22), accelerate (24.6, 16.7, 17.2), mpg (\"21\", \"26.5\", \"39.4\"), horsepower (\"58\", \"54\", \"113\"), weight (2300, 2807, 2511), cylinders (3, 6, 8), year (1982, 1971, 1970)", "schema_without_content": "continents : contid , continentname , area | countries : continent , countryname , countryid | car_makers : fullname , maker , country , id | model_list : maker , modelid , model | car_names : model , make , makeid | cars_data : edispl , id , accelerate , mpg , horsepower , weight , cylinders , year", "extra_map": { "continents": { "continent": [ "continentname", "area" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continentname", "area" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "car makers": "car_makers", "continent name": "continents.Continent" } }, { "question": "what is the #name of each continent# and how many #car makers# are there in each one?", "db_id": "car_1", "orig_query": "select t1.continent, count(*) from continents as t1 join countries as t2 on t1.contid = t2.continent join car_makers as t3 on t2.countryid = t3.country group by t1.continent", "schema_with_content": "continents : continentname (\"africa\", \"australia\", \"america\"), area (\"africa\", \"australia\", \"america\"), contid (4, 5, 2) | countries : countryid (13, 2, 5), continent (3, 2, 5), countryname (\"usa\", \"italy\", \"new zealand\") | car_makers : maker (\"saab\", \"subaru\", \"citroen\"), fullname (\"Fiat\", \"Opel\", \"Volvo\"), id (19, 7, 12), country (\"5\", \"1\", \"1\") | model_list : maker (23, 14, 21), modelid (9, 9, 11), model (\"honda\", \"amc\", \"pontiac\") | car_names : model (\"opel\", \"buick\", \"mercedes\"), make (\"datsun pl510\", \"pontiac catalina\", \"plymouth grand fury\"), makeid (317, 111, 212) | cars_data : mpg (\"18\", \"37.7\", \"33.5\"), accelerate (17.5, 21.5, 16.1), id (34, 202, 347), year (1974, 1971, 1979), cylinders (3, 6, 6), weight (3755, 1835, 4295), edispl (173.0, 225.0, 232.0), horsepower (\"225\", \"63\", \"77\")", "schema_without_content": "continents : continentname , area , contid | countries : countryid , continent , countryname | car_makers : maker , fullname , id , country | model_list : maker , modelid , model | car_names : model , make , makeid | cars_data : mpg , accelerate , id , year , cylinders , weight , edispl , horsepower", "extra_map": { "continents": { "continent": [ "continentname", "area" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continentname", "area" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "name of each continent": "continents.Continent", "car makers": "car_makers" } }, { "question": "which of the #countries# has the most #car makers# ? list the #country name# .", "db_id": "car_1", "orig_query": "select t2.countryname from car_makers as t1 join countries as t2 on t1.country = t2.countryid group by t1.country order by count(*) desc limit 1", "schema_with_content": "continents : continent (\"asia\", \"europe\", \"america\"), contid (4, 5, 3) | countries : continent (2, 3, 4), nationname (\"russia\", \"nigeria\", \"egypt\"), countryid (8, 10, 13), name (\"russia\", \"nigeria\", \"egypt\") | car_makers : country (\"7\", \"5\", \"4\"), id (1, 17, 9), maker (\"opel\", \"volvo\", \"volkswagen\"), fullname (\"Subaru\", \"Ford Motor Company\", \"Honda\") | model_list : maker (7, 3, 22), model (\"ford\", \"oldsmobile\", \"datsun\"), modelid (21, 3, 8) | car_names : makeid (390, 395, 64), make (\"volvo 145e (sw)\", \"ford torino\", \"datsun 610\"), model (\"capri\", \"mercedes-benz\", \"hi\") | cars_data : year (1972, 1973, 1971), mpg (\"13\", \"44.6\", \"16.5\"), edispl (121.0, 105.0, 133.0), weight (2910, 3630, 2795), accelerate (8.5, 14.0, 18.8), horsepower (\"88\", \"60\", \"49\"), cylinders (6, 8, 3), id (319, 300, 4)", "schema_without_content": "continents : continent , contid | countries : continent , nationname , countryid , name | car_makers : country , id , maker , fullname | model_list : maker , model , modelid | car_names : makeid , make \", \"ford torino\", \"datsun 610\", model | cars_data : year , mpg , edispl , weight , accelerate , horsepower , cylinders , id", "extra_map": { "countries": { "countryname": [ "name", "nationname" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "continent", "name", "nationname" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "countries": "countries", "car makers": "car_makers", "country name": "countries.CountryName" } }, { "question": "what is the name of the country with the most #car makers# ?", "db_id": "car_1", "orig_query": "select t2.countryname from car_makers as t1 join countries as t2 on t1.country = t2.countryid group by t1.country order by count(*) desc limit 1", "schema_with_content": "continents : continent (\"europe\", \"asia\", \"asia\"), contid (2, 1, 3) | countries : nationname (\"korea\", \"germany\", \"brazil\"), countryid (1, 2, 8), continent (2, 1, 3), name (\"korea\", \"germany\", \"brazil\") | car_makers : maker (\"bmw\", \"fiat\", \"renault\"), country (\"8\", \"4\", \"6\"), fullname (\"Chrysler\", \"Chrysler\", \"Kia Motors\"), id (20, 18, 20) | model_list : modelid (21, 9, 25), maker (23, 6, 23), model (\"mercedes\", \"bmw\", \"mercedes\") | car_names : makeid (382, 233, 40), make (\"pontiac grand prix\", \"chevrolet concours\", \"toyota carina\"), model (\"saab\", \"dodge\", \"plymouth\") | cars_data : year (1982, 1978, 1973), edispl (104.0, 108.0, 80.0), cylinders (5, 6, 4), weight (3060, 1940, 2000), id (97, 122, 187), mpg (\"16.5\", \"16.9\", \"25.1\"), accelerate (17.4, 18.5, 20.7), horsepower (\"137\", \"102\", \"80\")", "schema_without_content": "continents : continent , contid | countries : nationname , countryid , continent , name | car_makers : maker , country , fullname , id | model_list : modelid , maker , model | car_names : makeid , make , model | cars_data : year , edispl , cylinders , weight , id , mpg , accelerate , horsepower", "extra_map": { "countries": { "countryname": [ "name", "nationname" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "continent", "name", "nationname" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "car makers": "car_makers", "country name": "countries.CountryName" } }, { "question": "what is the #number of car models# that are produced by each #maker# and what is the #id# and #full name of each maker# ?", "db_id": "car_1", "orig_query": "select count(*), t2.fullname, t2.id from model_list as t1 join car_makers as t2 on t1.maker = t2.id group by t2.id", "schema_with_content": "continents : contid (5, 1, 2), continent (\"australia\", \"australia\", \"australia\") | countries : countryname (\"australia\", \"germany\", \"sweden\"), continent (1, 2, 5), countryid (6, 9, 8) | car_makers : country (\"5\", \"3\", \"1\"), id (20, 16, 15), complete_name (\"Opel\", \"Saab\", \"Nissan Motors\"), full_title (\"Opel\", \"Saab\", \"Nissan Motors\"), maker (\"fiat\", \"chrysler\", \"ford\") | model_list : model (\"hi\", \"subaru\", \"chrysler\"), modelid (3, 11, 8), maker (10, 12, 18) | car_names : model (\"buick\", \"mercedes-benz\", \"triumph\"), makeid (26, 170, 145), make (\"plymouth duster\", \"oldsmobile omega brougham\", \"dodge coronet custom\") | cars_data : horsepower (\"84\", \"82\", \"193\"), id (85, 310, 371), mpg (\"10\", \"24\", \"31.6\"), edispl (81.0, 68.0, 305.0), weight (4385, 4142, 2330), year (1975, 1978, 1971), cylinders (6, 4, 3), accelerate (18.1, 19.5, 15.2)", "schema_without_content": "continents : contid , continent | countries : countryname , continent , countryid | car_makers : country , id , complete_name , full_title , maker | model_list : model , modelid , maker | car_names : model , makeid , make | cars_data : horsepower , id , mpg , edispl , weight , year , cylinders , accelerate", "extra_map": { "car_makers": { "fullname": [ "complete_name", "full_title" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "country", "complete_name", "full_title" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "number of car models": "model_list.Model", "maker": "car_makers", "id": "car_makers.Id", "full name of each maker": "car_makers.FullName" } }, { "question": "what is the #number of car models# that are produced by each #maker# and what is the #id# and #full name of each maker# ?", "db_id": "car_1", "orig_query": "select count(*), t2.fullname, t2.id from model_list as t1 join car_makers as t2 on t1.maker = t2.id group by t2.id", "schema_with_content": "continents : continent (\"africa\", \"asia\", \"america\"), contid (1, 1, 5) | countries : continent (1, 2, 1), countryname (\"italy\", \"nigeria\", \"italy\"), countryid (4, 8, 12) | car_makers : maker (\"citroen\", \"peugeaut\", \"toyota\"), country (\"2\", \"8\", \"1\"), serial_id (21, 1, 14), fullname (\"Peugeaut\", \"Mazda\", \"Mazda\"), maker_id (21, 1, 14) | model_list : modelid (20, 18, 26), maker (19, 11, 21), model (\"nissan\", \"nissan\", \"mazda\") | car_names : makeid (228, 209, 192), make (\"dodge coronet custom (sw)\", \"amc hornet sportabout (sw)\", \"dodge colt hatchback custom\"), model (\"mercedes-benz\", \"mercedes-benz\", \"plymouth\") | cars_data : horsepower (\"75\", \"165\", \"69\"), id (122, 325, 233), weight (2000, 2391, 4363), year (1979, 1979, 1971), mpg (\"25.8\", \"33.7\", \"36.1\"), accelerate (12.8, 15.8, 11.2), edispl (156.0, 267.0, 68.0), cylinders (8, 3, 5)", "schema_without_content": "continents : continent , contid | countries : continent , countryname , countryid | car_makers : maker , country , serial_id , fullname , maker_id | model_list : modelid , maker , model | car_names : makeid , make \", \"amc hornet sportabout \", \"dodge colt hatchback custom\", model | cars_data : horsepower , id , weight , year , mpg , accelerate , edispl , cylinders", "extra_map": { "car_makers": { "id": [ "maker_id", "serial_id" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "maker", "fullname", "country", "maker_id", "serial_id" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "number of car models": "model_list.Model", "maker": "car_makers", "id": "car_makers.Id", "full name of each maker": "car_makers.FullName" } }, { "question": "what is the #accelerate of the car make# amc hornet sportabout (sw)?", "db_id": "car_1", "orig_query": "select t1.accelerate from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t2.make = 'amc hornet sportabout (sw)'", "schema_with_content": "continents : continent (\"america\", \"europe\", \"australia\"), contid (2, 1, 4) | countries : countryid (3, 10, 14), countryname (\"japan\", \"australia\", \"korea\"), continent (1, 1, 1) | car_makers : id (15, 1, 23), maker (\"subaru\", \"daimler benz\", \"volvo\"), country (\"5\", \"3\", \"4\"), fullname (\"Volkswagen\", \"Nissan Motors\", \"Ford Motor Company\") | model_list : modelid (11, 23, 10), maker (19, 1, 15), model (\"saab\", \"jeep\", \"citroen\") | car_names : make (\"datsun 200-sx\", \"chrysler cordoba\", \"mercury marquis brougham\"), model (\"plymouth\", \"datsun\", \"pontiac\"), makeid (235, 148, 34) | cars_data : cylinders (8, 8, 4), year (1973, 1977, 1981), id (221, 53, 267), velocity (23.5, 15.4, 15.8), weight (2678, 2150, 3190), edispl (307.0, 81.0, 119.0), mpg (\"19.2\", \"25.8\", \"34.2\"), acceleration (23.5, 15.4, 15.8), horsepower (\"148\", \"71\", \"68\")", "schema_without_content": "continents : continent , contid | countries : countryid , countryname , continent | car_makers : id , maker , country , fullname | model_list : modelid , maker , model | car_names : make , model , makeid | cars_data : cylinders , year , id , velocity , weight , edispl , mpg , acceleration , horsepower", "extra_map": { "cars_data": { "accelerate": [ "acceleration", "velocity" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "year", "acceleration", "velocity" ] }, "column_linking_gt": { "accelerate of the car make": "cars_data.Accelerate" } }, { "question": "how much does the car #accelerate# that makes amc hornet sportabout (sw)?", "db_id": "car_1", "orig_query": "select t1.accelerate from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t2.make = 'amc hornet sportabout (sw)'", "schema_with_content": "continents : contid (2, 3, 1), continent (\"europe\", \"america\", \"australia\") | countries : countryname (\"uk\", \"japan\", \"russia\"), countryid (2, 14, 8), continent (1, 1, 5) | car_makers : maker (\"gm\", \"renault\", \"triumph\"), fullname (\"Daimler Benz\", \"Volvo\", \"Daimler Benz\"), country (\"6\", \"2\", \"1\"), id (12, 3, 8) | model_list : maker (12, 22, 5), modelid (29, 35, 7), model (\"plymouth\", \"datsun\", \"mercedes-benz\") | car_names : model (\"volkswagen\", \"dodge\", \"citroen\"), make (\"mazda rx-4\", \"audi 5000s (diesel)\", \"datsun b210 gx\"), makeid (224, 152, 326) | cars_data : velocity (24.8, 16.0, 13.9), edispl (302.0, 80.0, 232.0), cylinders (6, 5, 4), acceleration (24.8, 16.0, 13.9), id (329, 367, 45), mpg (\"44.6\", \"16.5\", \"14\"), horsepower (\"208\", \"210\", \"170\"), year (1980, 1978, 1981), weight (2200, 2790, 2155)", "schema_without_content": "continents : contid , continent | countries : countryname , countryid , continent | car_makers : maker , fullname , country , id | model_list : maker , modelid , model | car_names : model , make \", \"datsun b210 gx\", makeid | cars_data : velocity , edispl , cylinders , acceleration , id , mpg , horsepower , year , weight", "extra_map": { "cars_data": { "accelerate": [ "acceleration", "velocity" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "year", "acceleration", "velocity" ] }, "column_linking_gt": { "accelerate": "cars_data.Accelerate", "make": "car_names.Make" } }, { "question": "what is the #average miles per gallon(mpg) of the cars with 4 cylinders?# ", "db_id": "car_1", "orig_query": "select avg(mpg) from cars_data where cylinders = 4", "schema_with_content": "continents : contid (5, 3, 3), continent (\"asia\", \"asia\", \"asia\") | countries : countryid (11, 8, 8), countryname (\"egypt\", \"mexico\", \"usa\"), continent (2, 5, 4) | car_makers : id (3, 22, 22), fullname (\"Ford Motor Company\", \"Opel\", \"Renault\"), maker (\"kia\", \"subaru\", \"daimler benz\"), country (\"8\", \"5\", \"3\") | model_list : modelid (15, 13, 1), maker (9, 11, 14), model (\"chrysler\", \"amc\", \"chevrolet\") | car_names : makeid (148, 323, 352), make (\"renault 12tl\", \"volkswagen super beetle\", \"mazda rx-4\"), model (\"triumph\", \"triumph\", \"chevrolet\") | cars_data : accelerate (20.4, 16.8, 16.7), id (249, 348, 298), mileage_per_gallon (\"19.2\", \"36.1\", \"21\"), cylinders (6, 4, 8), fuel_efficiency (\"19.2\", \"36.1\", \"21\"), horsepower (\"77\", \"208\", \"98\"), year (1980, 1977, 1977), weight (1955, 4278, 2640), edispl (340.0, 108.0, 262.0)", "schema_without_content": "continents : contid , continent | countries : countryid , countryname , continent | car_makers : id , fullname , maker , country | model_list : modelid , maker , model | car_names : makeid , make , model | cars_data : accelerate , id , mileage_per_gallon , cylinders , fuel_efficiency , horsepower , year , weight , edispl", "extra_map": { "cars_data": { "mpg": [ "fuel_efficiency", "mileage_per_gallon" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year", "fuel_efficiency", "mileage_per_gallon" ] }, "column_linking_gt": { "average miles per gallon(mpg) of the cars with 4 cylinders?": "cars_data.MPG" } }, { "question": "what is the #average miles per gallon# of all the cards with 4 #cylinders# ?", "db_id": "car_1", "orig_query": "select avg(mpg) from cars_data where cylinders = 4", "schema_with_content": "continents : continent (\"africa\", \"australia\", \"africa\"), contid (5, 3, 3) | countries : continent (1, 5, 1), countryid (3, 12, 6), countryname (\"new zealand\", \"sweden\", \"australia\") | car_makers : maker (\"honda\", \"nissan\", \"hyundai\"), fullname (\"Renault\", \"Daimler Benz\", \"Fiat\"), id (18, 14, 14), country (\"4\", \"1\", \"6\") | model_list : maker (20, 6, 7), model (\"amc\", \"hyundai\", \"kia\"), modelid (9, 29, 10) | car_names : model (\"plymouth\", \"hi\", \"buick\"), make (\"ford fiesta\", \"fiat strada custom\", \"amc ambassador dpl\"), makeid (381, 20, 315) | cars_data : horsepower (\"75\", \"158\", \"83\"), edispl (72.0, 115.0, 107.0), weight (2575, 3381, 2957), accelerate (15.6, 19.5, 13.4), year (1979, 1975, 1982), id (61, 277, 56), cylinders (4, 6, 5), fuel_efficiency (\"40.8\", \"34.5\", \"25.1\"), mileage_per_gallon (\"40.8\", \"34.5\", \"25.1\")", "schema_without_content": "continents : continent , contid | countries : continent , countryid , countryname | car_makers : maker , fullname , id , country | model_list : maker , model , modelid | car_names : model , make , makeid | cars_data : horsepower , edispl , weight , accelerate , year , id , cylinders , fuel_efficiency , mileage_per_gallon", "extra_map": { "cars_data": { "mpg": [ "fuel_efficiency", "mileage_per_gallon" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year", "fuel_efficiency", "mileage_per_gallon" ] }, "column_linking_gt": { "average miles per gallon": "cars_data.MPG", "cylinders": "cars_data.Cylinders" } }, { "question": "what are all the #makers# and #models# ?", "db_id": "car_1", "orig_query": "select maker, model from model_list", "schema_with_content": "continents : continent (\"africa\", \"europe\", \"africa\"), contid (3, 4, 1) | countries : countryname (\"usa\", \"korea\", \"france\"), countryid (5, 12, 9), continent (1, 4, 5) | car_makers : country (\"1\", \"8\", \"3\"), fullname (\"General Motors\", \"Subaru\", \"Mazda\"), id (14, 19, 8), maker (\"ford\", \"ford\", \"gm\") | model_list : modelid (18, 5, 36), vehicle_name (\"volvo\", \"toyota\", \"ford\"), maker (6, 12, 22), model_name (\"volvo\", \"toyota\", \"ford\") | car_names : make (\"oldsmobile starfire sx\", \"ford ranger\", \"plymouth volare\"), makeid (287, 316, 3), model (\"renault\", \"audi\", \"buick\") | cars_data : mpg (\"20\", \"30\", \"23.5\"), accelerate (17.3, 20.1, 18.8), horsepower (\"180\", \"108\", \"113\"), year (1980, 1980, 1972), edispl (151.0, 134.0, 76.0), weight (2380, 4955, 2188), id (94, 16, 42), cylinders (6, 6, 5)", "schema_without_content": "continents : continent , contid | countries : countryname , countryid , continent | car_makers : country , fullname , id , maker | model_list : modelid , vehicle_name , maker , model_name | car_names : make , makeid , model | cars_data : mpg , accelerate , horsepower , year , edispl , weight , id , cylinders", "extra_map": { "model_list": { "model": [ "model_name", "vehicle_name" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model_name", "vehicle_name" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "makers": "model_list.Maker", "models": "model_list.Model" } }, { "question": "what are all the #makers# and #models# ?", "db_id": "car_1", "orig_query": "select maker, model from model_list", "schema_with_content": "continents : continent (\"europe\", \"australia\", \"asia\"), contid (1, 4, 3) | countries : countryname (\"france\", \"japan\", \"egypt\"), countryid (12, 7, 10), continent (3, 2, 1) | car_makers : maker (\"ford\", \"daimler benz\", \"volkswagen\"), country (\"5\", \"4\", \"3\"), id (11, 13, 19), fullname (\"Triumph\", \"Toyota\", \"Volvo\") | model_list : manufacturer (7, 20, 11), brand (7, 20, 11), model (\"pontiac\", \"saab\", \"volkswagen\"), modelid (24, 6, 14) | car_names : makeid (103, 343, 400), model (\"mercedes\", \"bmw\", \"capri\"), make (\"ford fairmont\", \"dodge colt hardtop\", \"chevrolet vega 2300\") | cars_data : cylinders (3, 8, 3), mpg (\"38.1\", \"16\", \"32.1\"), edispl (119.0, 134.0, 340.0), horsepower (\"110\", \"225\", \"198\"), id (342, 114, 98), accelerate (15.1, 14.8, 11.4), weight (2835, 2542, 3265), year (1982, 1971, 1970)", "schema_without_content": "continents : continent , contid | countries : countryname , countryid , continent | car_makers : maker , country , id , fullname | model_list : manufacturer , brand , model , modelid | car_names : makeid , model , make | cars_data : cylinders , mpg , edispl , horsepower , id , accelerate , weight , year", "extra_map": { "model_list": { "maker": [ "manufacturer", "brand" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "model", "manufacturer", "brand" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "makers": "model_list.Maker", "models": "model_list.Model" } }, { "question": "what are the #makers# and #models# ?", "db_id": "car_1", "orig_query": "select maker, model from model_list", "schema_with_content": "continents : continent (\"asia\", \"asia\", \"asia\"), contid (1, 1, 5) | countries : countryname (\"new zealand\", \"japan\", \"germany\"), continent (3, 4, 1), countryid (15, 2, 11) | car_makers : maker (\"fiat\", \"bmw\", \"hyundai\"), country (\"5\", \"2\", \"8\"), fullname (\"Chrysler\", \"Volkswagen\", \"Triumph\"), id (7, 15, 3) | model_list : model_name (\"chevrolet\", \"mercedes\", \"kia\"), modelid (18, 18, 11), maker (5, 18, 22), vehicle_name (\"chevrolet\", \"mercedes\", \"kia\") | car_names : model (\" volkswagen\", \"mazda\", \"buick\"), make (\"chrysler lebaron salon\", \"fiat 131\", \"plymouth horizon 4\"), makeid (154, 375, 403) | cars_data : id (26, 202, 27), weight (2070, 2572, 4165), cylinders (8, 5, 4), horsepower (\"190\", \"138\", \"130\"), year (1980, 1981, 1977), edispl (120.0, 122.0, 96.0), mpg (\"43.1\", \"12\", \"25\"), accelerate (20.7, 11.3, 17.8)", "schema_without_content": "continents : continent , contid | countries : countryname , continent , countryid | car_makers : maker , country , fullname , id | model_list : model_name , modelid , maker , vehicle_name | car_names : model , make , makeid | cars_data : id , weight , cylinders , horsepower , year , edispl , mpg , accelerate", "extra_map": { "model_list": { "model": [ "model_name", "vehicle_name" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model_name", "vehicle_name" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "makers": "model_list.Maker", "models": "model_list.Model" } }, { "question": "what are the #makers# and #models# ?", "db_id": "car_1", "orig_query": "select maker, model from model_list", "schema_with_content": "continents : continent (\"asia\", \"asia\", \"africa\"), contid (2, 1, 5) | countries : countryid (11, 6, 10), countryname (\"japan\", \"japan\", \"korea\"), continent (5, 5, 4) | car_makers : maker (\"triumph\", \"peugeaut\", \"toyota\"), fullname (\"BMW\", \"Volkswagen\", \"Kia Motors\"), country (\"1\", \"5\", \"3\"), id (13, 23, 8) | model_list : brand (23, 19, 7), modelid (14, 35, 36), model (\"hyundai\", \"mazda\", \"cadillac\"), manufacturer (23, 19, 7) | car_names : makeid (62, 243, 382), make (\"pontiac phoenix lj\", \"datsun 310\", \"datsun 210 mpg\"), model (\"chrysler\", \" volkswagen\", \"subaru\") | cars_data : year (1976, 1975, 1980), horsepower (\"74\", \"87\", \"167\"), id (63, 244, 269), accelerate (14.0, 21.5, 8.0), edispl (112.0, 98.0, 104.0), mpg (\"34.3\", \"34.2\", \"20.8\"), cylinders (3, 4, 6), weight (4657, 4325, 1760)", "schema_without_content": "continents : continent , contid | countries : countryid , countryname , continent | car_makers : maker , fullname , country , id | model_list : brand , modelid , model , manufacturer | car_names : makeid , make , model | cars_data : year , horsepower , id , accelerate , edispl , mpg , cylinders , weight", "extra_map": { "model_list": { "maker": [ "manufacturer", "brand" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "model", "manufacturer", "brand" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "makers": "model_list.Maker", "models": "model_list.Model" } }, { "question": "what are the #countries# having at least one #car maker# ? list #name# and #id# .", "db_id": "car_1", "orig_query": "select t1.countryname, t1.countryid from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) >= 1", "schema_with_content": "continents : contid (1, 4, 2), continent (\"asia\", \"africa\", \"europe\") | countries : countryid (12, 2, 8), name (\"egypt\", \"australia\", \"russia\"), nationname (\"egypt\", \"australia\", \"russia\"), continent (1, 5, 1) | car_makers : fullname (\"Opel\", \"Subaru\", \"General Motors\"), id (11, 11, 7), maker (\"peugeaut\", \"mazda\", \"amc\"), country (\"5\", \"3\", \"4\") | model_list : maker (19, 17, 21), model (\"cadillac\", \"kia\", \"amc\"), modelid (6, 18, 31) | car_names : make (\" mazda glc deluxe\", \"honda civic 1300\", \"honda accord\"), makeid (266, 401, 312), model (\"mercedes-benz\", \"fiat\", \"triumph\") | cars_data : weight (2430, 3399, 2223), edispl (400.0, 400.0, 155.0), cylinders (3, 8, 5), mpg (\"29.9\", \"21.1\", \"33\"), horsepower (\"90\", \"165\", \"60\"), accelerate (11.2, 17.9, 10.0), id (97, 149, 295), year (1971, 1982, 1971)", "schema_without_content": "continents : contid , continent | countries : countryid , name , nationname , continent | car_makers : fullname , id , maker , country | model_list : maker , model , modelid | car_names : make , makeid , model | cars_data : weight , edispl , cylinders , mpg , horsepower , accelerate , id , year", "extra_map": { "countries": { "countryname": [ "name", "nationname" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "continent", "name", "nationname" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "countries": "countries", "car maker": "car_makers", "name": "countries.CountryName", "id": "countries.CountryId" } }, { "question": "what are the #countries# having at least one #car maker# ? list #name# and #id# .", "db_id": "car_1", "orig_query": "select t1.countryname, t1.countryid from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) >= 1", "schema_with_content": "continents : continent (\"australia\", \"europe\", \"america\"), contid (5, 5, 1) | countries : countryname (\"germany\", \"new zealand\", \"japan\"), id (14, 6, 1), nationid (14, 6, 1), continent (2, 3, 5) | car_makers : country (\"1\", \"3\", \"5\"), id (9, 2, 18), fullname (\"Peugeaut\", \"BMW\", \"BMW\"), maker (\"bmw\", \"chrysler\", \"fiat\") | model_list : modelid (15, 17, 23), maker (3, 5, 1), model (\"chevrolet\", \"buick\", \"cadillac\") | car_names : make (\"vw rabbit\", \"fiat strada custom\", \"honda accord lx\"), makeid (39, 79, 194), model (\"toyota\", \"nissan\", \"hi\") | cars_data : id (63, 188, 250), horsepower (\"220\", \"135\", \"86\"), edispl (250.0, 135.0, 71.0), accelerate (13.0, 13.7, 20.0), weight (3613, 3432, 2189), year (1970, 1971, 1973), mpg (\"null\", \"20.5\", \"34.5\"), cylinders (4, 4, 4)", "schema_without_content": "continents : continent , contid | countries : countryname , id , nationid , continent | car_makers : country , id , fullname , maker | model_list : modelid , maker , model | car_names : make , makeid , model | cars_data : id , horsepower , edispl , accelerate , weight , year , mpg , cylinders", "extra_map": { "countries": { "countryid": [ "id", "nationid" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryname", "continent", "id", "nationid" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "countries": "countries", "car maker": "car_makers", "name": "countries.CountryName", "id": "countries.CountryId" } }, { "question": "what are the #names# and #ids of all countries# with at least one #car maker# ?", "db_id": "car_1", "orig_query": "select t1.countryname, t1.countryid from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) >= 1", "schema_with_content": "continents : continent (\"africa\", \"america\", \"australia\"), contid (2, 2, 1) | countries : name (\"australia\", \"usa\", \"nigeria\"), countryid (15, 3, 10), nationname (\"australia\", \"usa\", \"nigeria\"), continent (3, 1, 3) | car_makers : id (13, 1, 16), fullname (\"Triumph\", \"Daimler Benz\", \"Honda\"), maker (\"mazda\", \"kia\", \"kia\"), country (\"2\", \"3\", \"1\") | model_list : maker (6, 3, 16), modelid (26, 29, 27), model (\"nissan\", \"kia\", \"cadillac\") | car_names : makeid (117, 36, 144), model (\"amc\", \"fiat\", \"hi\"), make (\"dodge dart custom\", \"hi 1200d\", \"subaru dl\") | cars_data : year (1974, 1981, 1977), id (168, 282, 246), accelerate (18.8, 12.8, 14.1), weight (2226, 4633, 2930), mpg (\"15.5\", \"37.2\", \"30\"), horsepower (\"91\", \"158\", \"83\"), edispl (144.0, 163.0, 140.0), cylinders (6, 4, 4)", "schema_without_content": "continents : continent , contid | countries : name , countryid , nationname , continent | car_makers : id , fullname , maker , country | model_list : maker , modelid , model | car_names : makeid , model , make | cars_data : year , id , accelerate , weight , mpg , horsepower , edispl , cylinders", "extra_map": { "countries": { "countryname": [ "name", "nationname" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "continent", "name", "nationname" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "names": "countries.CountryName", "ids of all countries": "countries.CountryId", "car maker": "car_makers" } }, { "question": "what are the #names# and #ids of all countries# with at least one #car maker# ?", "db_id": "car_1", "orig_query": "select t1.countryname, t1.countryid from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) >= 1", "schema_with_content": "continents : continent (\"europe\", \"africa\", \"australia\"), contid (4, 5, 2) | countries : nationid (8, 9, 6), continent (4, 1, 4), countryname (\"sweden\", \"australia\", \"germany\"), id (8, 9, 6) | car_makers : id (1, 6, 2), maker (\"honda\", \"triumph\", \"renault\"), country (\"3\", \"5\", \"1\"), fullname (\"BMW\", \"Honda\", \"Citroen\") | model_list : maker (5, 8, 1), model (\"datsun\", \"chrysler\", \"volkswagen\"), modelid (21, 7, 33) | car_names : makeid (94, 393, 203), model (\"pontiac\", \"citroen\", \"capri\"), make (\"chevrolet chevelle malibu classic\", \"chrysler lebaron salon\", \"ford granada\") | cars_data : accelerate (15.3, 15.8, 20.1), edispl (200.0, 350.0, 262.0), id (125, 31, 377), mpg (\"30.5\", \"26\", \"44.6\"), horsepower (\"92\", \"97\", \"167\"), weight (2774, 2160, 2300), cylinders (5, 5, 8), year (1975, 1975, 1978)", "schema_without_content": "continents : continent , contid | countries : nationid , continent , countryname , id | car_makers : id , maker , country , fullname | model_list : maker , model , modelid | car_names : makeid , model , make | cars_data : accelerate , edispl , id , mpg , horsepower , weight , cylinders , year", "extra_map": { "countries": { "countryid": [ "id", "nationid" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryname", "continent", "id", "nationid" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "names": "countries.CountryName", "ids of all countries": "countries.CountryId", "car maker": "car_makers" } }, { "question": "what is the #average weight of cars each year# ?", "db_id": "car_1", "orig_query": "select avg(weight), year from cars_data group by year", "schema_with_content": "continents : contid (3, 1, 1), continent (\"america\", \"australia\", \"asia\") | countries : countryid (11, 15, 11), continent (4, 1, 5), countryname (\"usa\", \"sweden\", \"france\") | car_makers : fullname (\"Subaru\", \"American Motor Company\", \"Hyundai\"), country (\"1\", \"5\", \"8\"), maker (\"opel\", \"toyota\", \"kia\"), id (2, 16, 4) | model_list : maker (22, 10, 7), model (\"bmw\", \"ford\", \"citroen\"), modelid (7, 17, 2) | car_names : makeid (86, 269, 73), make (\"chevrolet impala\", \"ford fairmont futura\", \"dodge aries wagon (sw)\"), model (\"peugeot\", \"buick\", \"amc\") | cars_data : cylinders (8, 3, 5), load (3609, 4294, 4354), accelerate (8.5, 17.2, 15.2), year (1974, 1977, 1977), mpg (\"37.2\", \"25.1\", \"32.9\"), edispl (130.0, 163.0, 250.0), horsepower (\"63\", \"103\", \"52\"), mass (3609, 4294, 4354), id (342, 125, 34)", "schema_without_content": "continents : contid , continent | countries : countryid , continent , countryname | car_makers : fullname , country , maker , id | model_list : maker , model , modelid | car_names : makeid , make \", model | cars_data : cylinders , load , accelerate , year , mpg , edispl , horsepower , mass , id", "extra_map": { "cars_data": { "weight": [ "mass", "load" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "accelerate", "year", "mass", "load" ] }, "column_linking_gt": { "average weight of cars each year": "cars_data.Weight" } }, { "question": "what is the #average weight of cars each year# ?", "db_id": "car_1", "orig_query": "select avg(weight), year from cars_data group by year", "schema_with_content": "continents : contid (5, 4, 1), continent (\"america\", \"america\", \"africa\") | countries : countryname (\"france\", \"uk\", \"russia\"), continent (1, 4, 5), countryid (15, 1, 6) | car_makers : id (22, 4, 19), fullname (\"Toyota\", \"Peugeaut\", \"General Motors\"), country (\"7\", \"5\", \"4\"), maker (\"chrysler\", \"volvo\", \"amc\") | model_list : maker (5, 10, 23), modelid (21, 22, 24), model (\"chrysler\", \"amc\", \"mercedes-benz\") | car_names : make (\"dodge rampage\", \"datsun b-210\", \"toyota corolla\"), model (\"nissan\", \"mercedes\", \"fiat\"), makeid (86, 153, 70) | cars_data : horsepower (\"112\", \"113\", \"91\"), production_year (1980, 1980, 1977), edispl (171.0, 131.0, 145.0), weight (2254, 3282, 3563), cylinders (6, 6, 5), mpg (\"27.9\", \"23\", \"23.5\"), accelerate (16.5, 17.4, 20.0), manufacturing_year (1980, 1980, 1977), id (81, 114, 226)", "schema_without_content": "continents : contid , continent | countries : countryname , continent , countryid | car_makers : id , fullname , country , maker | model_list : maker , modelid , model | car_names : make , model , makeid | cars_data : horsepower , production_year , edispl , weight , cylinders , mpg , accelerate , manufacturing_year , id", "extra_map": { "cars_data": { "year": [ "manufacturing_year", "production_year" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "manufacturing_year", "production_year" ] }, "column_linking_gt": { "average weight of cars each year": "cars_data.Weight" } }, { "question": "what is the #average weight# and #year for each year# ?", "db_id": "car_1", "orig_query": "select avg(weight), year from cars_data group by year", "schema_with_content": "continents : continent (\"america\", \"australia\", \"america\"), contid (3, 2, 3) | countries : continent (2, 4, 4), countryname (\"france\", \"germany\", \"france\"), countryid (8, 2, 11) | car_makers : id (6, 4, 14), fullname (\"Honda\", \"Toyota\", \"Saab\"), maker (\"saab\", \"volvo\", \"opel\"), country (\"1\", \"1\", \"3\") | model_list : modelid (24, 29, 14), model (\"triumph\", \"mazda\", \"dodge\"), maker (7, 2, 12) | car_names : make (\"volkswagen 411 (sw)\", \"plymouth horizon 4\", \"pontiac astro\"), makeid (164, 269, 125), model (\"dodge\", \"peugeot\", \"dodge\") | cars_data : edispl (173.0, 146.0, 260.0), cylinders (5, 4, 8), load (2420, 3102, 2135), year (1976, 1975, 1980), id (89, 43, 391), accelerate (11.3, 18.1, 18.6), horsepower (\"200\", \"200\", \"87\"), mpg (\"20.8\", \"27.9\", \"32.1\"), mass (2420, 3102, 2135)", "schema_without_content": "continents : continent , contid | countries : continent , countryname , countryid | car_makers : id , fullname , maker , country | model_list : modelid , model , maker | car_names : make \", \"plymouth horizon 4\", \"pontiac astro\", makeid , model | cars_data : edispl , cylinders , load , year , id , accelerate , horsepower , mpg , mass", "extra_map": { "cars_data": { "weight": [ "mass", "load" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "accelerate", "year", "mass", "load" ] }, "column_linking_gt": { "average weight": "cars_data.Weight", "year for each year": "cars_data.Year" } }, { "question": "what is the #average weight# and #year for each year# ?", "db_id": "car_1", "orig_query": "select avg(weight), year from cars_data group by year", "schema_with_content": "continents : contid (3, 5, 4), continent (\"africa\", \"europe\", \"europe\") | countries : countryid (12, 8, 15), countryname (\"usa\", \"italy\", \"italy\"), continent (2, 1, 5) | car_makers : id (2, 5, 21), country (\"4\", \"7\", \"1\"), fullname (\"Fiat\", \"General Motors\", \"Saab\"), maker (\"daimler benz\", \"ford\", \"toyota\") | model_list : model (\"renault\", \"nissan\", \"plymouth\"), maker (12, 17, 23), modelid (19, 16, 9) | car_names : model (\"amc\", \"volvo\", \"triumph\"), make (\"plymouth sapporo\", \"dodge aries wagon (sw)\", \"plymouth satellite custom (sw)\"), makeid (156, 274, 181) | cars_data : horsepower (\"60\", \"71\", \"94\"), edispl (304.0, 304.0, 163.0), mpg (\"29\", \"22.5\", \"20.6\"), cylinders (5, 6, 6), manufacturing_year (1970, 1979, 1979), accelerate (22.2, 14.1, 16.0), production_year (1970, 1979, 1979), weight (1845, 2890, 1978), id (121, 52, 333)", "schema_without_content": "continents : contid , continent | countries : countryid , countryname , continent | car_makers : id , country , fullname , maker | model_list : model , maker , modelid | car_names : model , make \", \"plymouth satellite custom \", makeid | cars_data : horsepower , edispl , mpg , cylinders , manufacturing_year , accelerate , production_year , weight , id", "extra_map": { "cars_data": { "year": [ "manufacturing_year", "production_year" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "manufacturing_year", "production_year" ] }, "column_linking_gt": { "average weight": "cars_data.Weight", "year for each year": "cars_data.Year" } }, { "question": "which #countries in europe# have at least 3 #car manufacturers# ?", "db_id": "car_1", "orig_query": "select t1.countryname from countries as t1 join continents as t2 on t1.continent = t2.contid join car_makers as t3 on t1.countryid = t3.country where t2.continent = 'europe' group by t1.countryname having count(*) >= 3", "schema_with_content": "continents : contid (1, 1, 3), continent (\"asia\", \"africa\", \"asia\") | countries : name (\"sweden\", \"japan\", \"sweden\"), continent (5, 4, 1), nationname (\"sweden\", \"japan\", \"sweden\"), countryid (3, 11, 9) | car_makers : fullname (\"General Motors\", \"Peugeaut\", \"BMW\"), maker (\"volkswagen\", \"bmw\", \"honda\"), country (\"2\", \"8\", \"4\"), id (21, 11, 6) | model_list : maker (22, 15, 4), modelid (26, 28, 25), model (\"subaru\", \"mazda\", \"amc\") | car_names : model (\"citroen\", \"mercedes\", \"datsun\"), make (\"buick century limited\", \"honda civic\", \"mercury zephyr\"), makeid (292, 290, 320) | cars_data : mpg (\"10\", \"26\", \"25.5\"), accelerate (12.2, 17.5, 21.0), year (1977, 1972, 1972), edispl (307.0, 198.0, 440.0), cylinders (5, 8, 5), weight (3672, 2660, 2451), horsepower (\"102\", \"153\", \"153\"), id (295, 114, 374)", "schema_without_content": "continents : contid , continent | countries : name , continent , nationname , countryid | car_makers : fullname , maker , country , id | model_list : maker , modelid , model | car_names : model , make , makeid | cars_data : mpg , accelerate , year , edispl , cylinders , weight , horsepower , id", "extra_map": { "countries": { "countryname": [ "name", "nationname" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "continent", "name", "nationname" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "countries in europe": "countries.CountryName", "car manufacturers": "car_makers" } }, { "question": "what are the #names of all european countries# with at least 3 #manufacturers# ?", "db_id": "car_1", "orig_query": "select t1.countryname from countries as t1 join continents as t2 on t1.continent = t2.contid join car_makers as t3 on t1.countryid = t3.country where t2.continent = 'europe' group by t1.countryname having count(*) >= 3", "schema_with_content": "continents : continent (\"europe\", \"africa\", \"africa\"), contid (5, 2, 4) | countries : countryid (5, 9, 3), continent (1, 2, 3), nationname (\"new zealand\", \"sweden\", \"egypt\"), name (\"new zealand\", \"sweden\", \"egypt\") | car_makers : maker (\"saab\", \"amc\", \"fiat\"), fullname (\"General Motors\", \"Daimler Benz\", \"Triumph\"), id (19, 20, 4), country (\"7\", \"4\", \"7\") | model_list : model (\"mercury\", \"mercedes\", \"subaru\"), maker (1, 12, 5), modelid (33, 7, 24) | car_names : make (\"datsun 200sx\", \"datsun 210 mpg\", \"peugeot 504 (sw)\"), model (\"saab\", \"subaru\", \"subaru\"), makeid (109, 110, 344) | cars_data : mpg (\"24.3\", \"27\", \"34.1\"), edispl (140.0, 146.0, 130.0), id (183, 259, 285), accelerate (14.2, 15.3, 19.5), year (1976, 1972, 1972), horsepower (\"155\", \"69\", \"129\"), cylinders (6, 8, 8), weight (4215, 2210, 2815)", "schema_without_content": "continents : continent , contid | countries : countryid , continent , nationname , name | car_makers : maker , fullname , id , country | model_list : model , maker , modelid | car_names : make \", model , makeid | cars_data : mpg , edispl , id , accelerate , year , horsepower , cylinders , weight", "extra_map": { "countries": { "countryname": [ "name", "nationname" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "continent", "name", "nationname" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "names of all European countries": "countries.CountryName", "manufacturers": "car_makers" } }, { "question": "what is the #maximum horsepower# and the #make of the car models with 3 cylinders# ?", "db_id": "car_1", "orig_query": "select t2.horsepower, t1.make from car_names as t1 join cars_data as t2 on t1.makeid = t2.id where t2.cylinders = 3 order by t2.horsepower desc limit 1", "schema_with_content": "continents : contid (4, 3, 3), continent (\"africa\", \"europe\", \"europe\") | countries : countryid (8, 1, 2), countryname (\"australia\", \"japan\", \"japan\"), continent (2, 4, 5) | car_makers : country (\"6\", \"1\", \"4\"), fullname (\"Ford Motor Company\", \"Volvo\", \"Volvo\"), maker (\"triumph\", \"citroen\", \"citroen\"), id (18, 18, 6) | model_list : model (\"mercury\", \"citroen\", \"plymouth\"), maker (17, 6, 20), modelid (13, 24, 10) | car_names : manufacturer (\"volkswagen super beetle 117\", \"toyota corolla 1200\", \"toyota corolla\"), brand (\"volkswagen super beetle 117\", \"toyota corolla 1200\", \"toyota corolla\"), makeid (241, 139, 330), model (\"amc\", \"honda\", \"buick\") | cars_data : accelerate (13.7, 15.8, 12.0), year (1981, 1972, 1981), horsepower (\"68\", \"138\", \"72\"), mpg (\"32.3\", \"15.5\", \"19.8\"), id (241, 31, 360), weight (2110, 3399, 4082), cylinders (5, 8, 5), edispl (200.0, 76.0, 267.0)", "schema_without_content": "continents : contid , continent | countries : countryid , countryname , continent | car_makers : country , fullname , maker , id | model_list : model , maker , modelid | car_names : manufacturer , brand , makeid , model | cars_data : accelerate , year , horsepower , mpg , id , weight , cylinders , edispl", "extra_map": { "car_names": { "make": [ "manufacturer", "brand" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "manufacturer", "brand" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "maximum horsepower": "cars_data.Horsepower", "make of the car models with 3 cylinders": "car_names.Make" } }, { "question": "what is the #maximum horsepower# and the #make of the car models with 3 cylinders# ?", "db_id": "car_1", "orig_query": "select t2.horsepower, t1.make from car_names as t1 join cars_data as t2 on t1.makeid = t2.id where t2.cylinders = 3 order by t2.horsepower desc limit 1", "schema_with_content": "continents : contid (3, 4, 5), continent (\"america\", \"australia\", \"africa\") | countries : countryname (\"russia\", \"brazil\", \"japan\"), continent (2, 2, 4), countryid (1, 14, 6) | car_makers : fullname (\"Volvo\", \"Volvo\", \"Volkswagen\"), id (19, 11, 4), country (\"6\", \"7\", \"3\"), maker (\"saab\", \"triumph\", \"peugeaut\") | model_list : modelid (29, 21, 27), model (\"triumph\", \"datsun\", \"renault\"), maker (7, 9, 11) | car_names : makeid (140, 345, 50), model (\"peugeot\", \"citroen\", \"plymouth\"), make (\"plymouth cricket\", \"datsun 810\", \"chevrolet malibu\") | cars_data : mpg (\"40.8\", \"38\", \"29\"), weight (3150, 2234, 1836), accelerate (18.5, 20.4, 19.5), power (\"225\", \"102\", \"49\"), torque (\"225\", \"102\", \"49\"), year (1981, 1976, 1981), id (79, 293, 86), cylinders (4, 8, 5), edispl (183.0, 83.0, 155.0)", "schema_without_content": "continents : contid , continent | countries : countryname , continent , countryid | car_makers : fullname , id , country , maker | model_list : modelid , model , maker | car_names : makeid , model , make | cars_data : mpg , weight , accelerate , power , torque , year , id , cylinders , edispl", "extra_map": { "cars_data": { "horsepower": [ "power", "torque" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "weight", "accelerate", "year", "power", "torque" ] }, "column_linking_gt": { "maximum horsepower": "cars_data.Horsepower", "make of the car models with 3 cylinders": "car_names.Make" } }, { "question": "what is the largest amount of #horsepower for the models# with 3 #cylinders# and what #make# is it?", "db_id": "car_1", "orig_query": "select t2.horsepower, t1.make from car_names as t1 join cars_data as t2 on t1.makeid = t2.id where t2.cylinders = 3 order by t2.horsepower desc limit 1", "schema_with_content": "continents : contid (4, 3, 2), continent (\"australia\", \"america\", \"europe\") | countries : countryname (\"egypt\", \"uk\", \"sweden\"), countryid (15, 2, 10), continent (5, 5, 1) | car_makers : country (\"7\", \"4\", \"1\"), maker (\"gm\", \"ford\", \"peugeaut\"), id (19, 19, 14), fullname (\"Opel\", \"Opel\", \"Hyundai\") | model_list : model (\"fiat\", \"jeep\", \"pontiac\"), modelid (9, 12, 29), maker (7, 15, 16) | car_names : manufacturer (\"mercedes-benz 280s\", \"volkswagen dasher\", \"oldsmobile omega brougham\"), makeid (94, 300, 188), model (\"pontiac\", \"datsun\", \"mercedes\"), brand (\"mercedes-benz 280s\", \"volkswagen dasher\", \"oldsmobile omega brougham\") | cars_data : cylinders (3, 4, 3), weight (3725, 3730, 2025), id (99, 322, 45), year (1982, 1978, 1972), accelerate (11.6, 13.4, 13.9), mpg (\"26\", \"26.4\", \"25.1\"), edispl (258.0, 76.0, 115.0), horsepower (\"215\", \"139\", \"105\")", "schema_without_content": "continents : contid , continent | countries : countryname , countryid , continent | car_makers : country , maker , id , fullname | model_list : model , modelid , maker | car_names : manufacturer , makeid , model , brand | cars_data : cylinders , weight , id , year , accelerate , mpg , edispl , horsepower", "extra_map": { "car_names": { "make": [ "manufacturer", "brand" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "manufacturer", "brand" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "horsepower for the models": "cars_data.Horsepower", "cylinders": "cars_data.Cylinders", "make": "car_names.Make" } }, { "question": "what is the largest amount of #horsepower for the models# with 3 #cylinders# and what #make# is it?", "db_id": "car_1", "orig_query": "select t2.horsepower, t1.make from car_names as t1 join cars_data as t2 on t1.makeid = t2.id where t2.cylinders = 3 order by t2.horsepower desc limit 1", "schema_with_content": "continents : continent (\"europe\", \"america\", \"australia\"), contid (3, 3, 1) | countries : countryid (8, 4, 1), countryname (\"australia\", \"germany\", \"korea\"), continent (1, 2, 5) | car_makers : id (11, 13, 3), maker (\"mazda\", \"nissan\", \"volvo\"), country (\"3\", \"5\", \"1\"), fullname (\"Opel\", \"Opel\", \"Fiat\") | model_list : model (\"mazda\", \"volvo\", \"amc\"), modelid (11, 11, 25), maker (20, 9, 7) | car_names : model (\"honda\", \"opel\", \"citroen\"), make (\"buick skylark\", \"amc concord\", \"mercedes-benz 280s\"), makeid (148, 118, 138) | cars_data : torque (\"115\", \"83\", \"165\"), cylinders (4, 4, 5), edispl (86.0, 199.0, 140.0), weight (2565, 3651, 3880), accelerate (18.5, 19.9, 22.2), year (1977, 1979, 1972), id (357, 176, 70), power (\"115\", \"83\", \"165\"), mpg (\"37.2\", \"31.6\", \"26.4\")", "schema_without_content": "continents : continent , contid | countries : countryid , countryname , continent | car_makers : id , maker , country , fullname | model_list : model , modelid , maker | car_names : model , make , makeid | cars_data : torque , cylinders , edispl , weight , accelerate , year , id , power , mpg", "extra_map": { "cars_data": { "horsepower": [ "power", "torque" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "weight", "accelerate", "year", "power", "torque" ] }, "column_linking_gt": { "horsepower for the models": "cars_data.Horsepower", "cylinders": "cars_data.Cylinders", "make": "car_names.Make" } }, { "question": "which #model# saves the most gasoline? that is to say, have the maximum #miles per gallon# .", "db_id": "car_1", "orig_query": "select t1.model from car_names as t1 join cars_data as t2 on t1.makeid = t2.id order by t2.mpg desc limit 1", "schema_with_content": "continents : contid (4, 1, 3), continent (\"europe\", \"africa\", \"africa\") | countries : countryname (\"korea\", \"egypt\", \"uk\"), countryid (4, 10, 11), continent (5, 5, 1) | car_makers : maker (\"daimler benz\", \"chrysler\", \"renault\"), fullname (\"Hyundai\", \"Nissan Motors\", \"Citroen\"), country (\"1\", \"1\", \"8\"), id (12, 5, 12) | model_list : model (\"nissan\", \"hyundai\", \"volkswagen\"), modelid (9, 30, 1), maker (3, 12, 18) | car_names : make (\"plymouth champ\", \"toyota carina\", \"chevrolet concours\"), designation (\"dodge\", \"oldsmobile\", \"mercury\"), makeid (201, 397, 271), vehicle_model (\"dodge\", \"oldsmobile\", \"mercury\") | cars_data : weight (2215, 2045, 3605), accelerate (14.0, 14.7, 11.4), edispl (116.0, 68.0, 155.0), cylinders (4, 6, 5), year (1975, 1972, 1978), id (44, 51, 19), horsepower (\"94\", \"58\", \"210\"), mpg (\"26.8\", \"23.8\", \"23.8\")", "schema_without_content": "continents : contid , continent | countries : countryname , countryid , continent | car_makers : maker , fullname , country , id | model_list : model , modelid , maker | car_names : make , designation , makeid , vehicle_model | cars_data : weight , accelerate , edispl , cylinders , year , id , horsepower , mpg", "extra_map": { "car_names": { "model": [ "vehicle_model", "designation" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "make", "vehicle_model", "designation" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "model": "car_names.Model", "miles per gallon": "cars_data.MPG" } }, { "question": "what is the #average horsepower of the cars before 1980# ?", "db_id": "car_1", "orig_query": "select avg(horsepower) from cars_data where year < 1980", "schema_with_content": "continents : continent (\"asia\", \"america\", \"europe\"), contid (2, 5, 5) | countries : countryname (\"uk\", \"germany\", \"new zealand\"), continent (5, 4, 3), countryid (4, 4, 14) | car_makers : maker (\"fiat\", \"gm\", \"honda\"), fullname (\"Chrysler\", \"Kia Motors\", \"Kia Motors\"), country (\"7\", \"1\", \"5\"), id (3, 8, 1) | model_list : model (\"mercedes-benz\", \"nissan\", \"datsun\"), modelid (34, 23, 1), maker (22, 21, 21) | car_names : makeid (158, 228, 312), model (\"oldsmobile\", \"bmw\", \"toyota\"), make (\"plymouth fury\", \"chrysler newport royal\", \"dodge charger 2.2\") | cars_data : power (\"132\", \"77\", \"135\"), edispl (119.0, 144.0, 78.0), year (1973, 1981, 1974), cylinders (8, 5, 4), id (382, 284, 131), torque (\"132\", \"77\", \"135\"), mpg (\"24.2\", \"34.3\", \"19.9\"), weight (2035, 3820, 2865), accelerate (11.3, 16.6, 14.8)", "schema_without_content": "continents : continent , contid | countries : countryname , continent , countryid | car_makers : maker , fullname , country , id | model_list : model , modelid , maker | car_names : makeid , model , make | cars_data : power , edispl , year , cylinders , id , torque , mpg , weight , accelerate", "extra_map": { "cars_data": { "horsepower": [ "power", "torque" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "weight", "accelerate", "year", "power", "torque" ] }, "column_linking_gt": { "average horsepower of the cars before 1980": "cars_data.Horsepower" } }, { "question": "what is the #average edispl of the cars of model# volvo?", "db_id": "car_1", "orig_query": "select avg(t2.edispl) from car_names as t1 join cars_data as t2 on t1.makeid = t2.id where t1.model = 'volvo'", "schema_with_content": "continents : contid (5, 4, 1), continent (\"america\", \"asia\", \"america\") | countries : continent (3, 5, 5), countryname (\"germany\", \"russia\", \"sweden\"), countryid (14, 6, 3) | car_makers : country (\"1\", \"3\", \"7\"), fullname (\"Honda\", \"Nissan Motors\", \"General Motors\"), maker (\"citroen\", \"saab\", \"amc\"), id (21, 4, 18) | model_list : model (\"amc\", \"opel\", \"ford\"), maker (15, 4, 18), modelid (29, 32, 35) | car_names : makeid (355, 329, 189), make (\"amc hornet sportabout (sw)\", \"pontiac j2000 se hatchback\", \"honda prelude\"), model (\"volkswagen\", \"cadillac\", \"mercedes\") | cars_data : year (1971, 1971, 1978), id (325, 107, 284), accelerate (23.5, 17.1, 17.6), mpg (\"20.8\", \"30.7\", \"26.6\"), cylinders (3, 3, 3), engine_size (72.0, 113.0, 429.0), horsepower (\"86\", \"null\", \"130\"), engine_displacement (72.0, 113.0, 429.0), weight (2910, 1980, 1875)", "schema_without_content": "continents : contid , continent | countries : continent , countryname , countryid | car_makers : country , fullname , maker , id | model_list : model , maker , modelid | car_names : makeid , make \", \"pontiac j2000 se hatchback\", \"honda prelude\", model | cars_data : year , id , accelerate , mpg , cylinders , engine_size , horsepower , engine_displacement , weight", "extra_map": { "cars_data": { "edispl": [ "engine_displacement", "engine_size" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "horsepower", "weight", "accelerate", "year", "engine_displacement", "engine_size" ] }, "column_linking_gt": { "average edispl of the cars of model": "cars_data.Edispl" } }, { "question": "what is the #average edispl for all volvos# ?", "db_id": "car_1", "orig_query": "select avg(t2.edispl) from car_names as t1 join cars_data as t2 on t1.makeid = t2.id where t1.model = 'volvo'", "schema_with_content": "continents : contid (1, 5, 1), continent (\"america\", \"america\", \"asia\") | countries : continent (5, 1, 4), countryid (3, 14, 14), countryname (\"uk\", \"germany\", \"germany\") | car_makers : country (\"6\", \"5\", \"6\"), fullname (\"Ford Motor Company\", \"Volvo\", \"Volvo\"), id (23, 3, 6), maker (\"mazda\", \"fiat\", \"volkswagen\") | model_list : modelid (29, 20, 5), maker (16, 6, 6), model (\"dodge\", \"hyundai\", \"ford\") | car_names : make (\"chevy c10\", \"buick century\", \"plymouth champ\"), makeid (372, 140, 173), model (\"mercedes-benz\", \"chevrolet\", \"datsun\") | cars_data : engine_size (98.0, 104.0, 86.0), horsepower (\"62\", \"87\", \"180\"), engine_displacement (98.0, 104.0, 86.0), mpg (\"23.5\", \"23\", \"19.2\"), year (1970, 1975, 1980), id (155, 196, 35), cylinders (3, 4, 6), weight (2300, 3410, 3664), accelerate (15.1, 13.0, 21.8)", "schema_without_content": "continents : contid , continent | countries : continent , countryid , countryname | car_makers : country , fullname , id , maker | model_list : modelid , maker , model | car_names : make , makeid , model | cars_data : engine_size , horsepower , engine_displacement , mpg , year , id , cylinders , weight , accelerate", "extra_map": { "cars_data": { "edispl": [ "engine_displacement", "engine_size" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "horsepower", "weight", "accelerate", "year", "engine_displacement", "engine_size" ] }, "column_linking_gt": { "average edispl for all volvos": "cars_data.Edispl" } }, { "question": "what is the #maximum accelerate# for different #number of cylinders# ?", "db_id": "car_1", "orig_query": "select max(accelerate), cylinders from cars_data group by cylinders", "schema_with_content": "continents : continent (\"africa\", \"australia\", \"europe\"), contid (2, 1, 2) | countries : countryid (15, 10, 1), continent (4, 2, 4), countryname (\"italy\", \"mexico\", \"uk\") | car_makers : country (\"4\", \"3\", \"4\"), maker (\"nissan\", \"gm\", \"toyota\"), fullname (\"Hyundai\", \"Fiat\", \"Kia Motors\"), id (3, 6, 21) | model_list : modelid (19, 1, 1), model (\"toyota\", \"fiat\", \"chevrolet\"), maker (17, 22, 17) | car_names : makeid (218, 196, 391), make (\"mazda rx-7 gs\", \"ford mustang ii 2+2\", \"plymouth satellite custom (sw)\"), model (\"datsun\", \"volvo\", \"pontiac\") | cars_data : year (1980, 1979, 1976), cylinders (4, 5, 6), weight (2755, 4166, 2678), acceleration (17.1, 14.8, 17.6), horsepower (\"98\", \"138\", \"83\"), edispl (105.0, 305.0, 400.0), mpg (\"32.3\", \"12\", \"20.8\"), velocity (17.1, 14.8, 17.6), id (135, 258, 295)", "schema_without_content": "continents : continent , contid | countries : countryid , continent , countryname | car_makers : country , maker , fullname , id | model_list : modelid , model , maker | car_names : makeid , make \", model | cars_data : year , cylinders , weight , acceleration , horsepower , edispl , mpg , velocity , id", "extra_map": { "cars_data": { "accelerate": [ "acceleration", "velocity" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "year", "acceleration", "velocity" ] }, "column_linking_gt": { "maximum accelerate": "cars_data.Accelerate", "number of cylinders": "cars_data.Cylinders" } }, { "question": "what is the #maximum accelerate# for different #number of cylinders# ?", "db_id": "car_1", "orig_query": "select max(accelerate), cylinders from cars_data group by cylinders", "schema_with_content": "continents : contid (2, 5, 5), continent (\"australia\", \"europe\", \"europe\") | countries : countryname (\"sweden\", \"usa\", \"new zealand\"), countryid (4, 5, 14), continent (4, 1, 1) | car_makers : fullname (\"Subaru\", \"Hyundai\", \"Nissan Motors\"), country (\"7\", \"6\", \"2\"), id (5, 17, 8), maker (\"saab\", \"mazda\", \"chrysler\") | model_list : maker (21, 12, 6), model (\"mazda\", \"mercedes\", \"chrysler\"), modelid (3, 17, 12) | car_names : model (\"ford\", \"hi\", \"mercedes\"), makeid (376, 226, 298), make (\"ford pinto\", \"dodge aspen se\", \"plymouth horizon 4\") | cars_data : year (1982, 1979, 1973), id (296, 8, 185), edispl (68.0, 200.0, 151.0), pistons (6, 3, 5), mpg (\"20.2\", \"17.6\", \"20.2\"), horsepower (\"142\", \"103\", \"149\"), accelerate (20.1, 21.5, 12.6), engine_cylinders (6, 3, 5), weight (4055, 2511, 4422)", "schema_without_content": "continents : contid , continent | countries : countryname , countryid , continent | car_makers : fullname , country , id , maker | model_list : maker , model , modelid | car_names : model , makeid , make | cars_data : year , id , edispl , pistons , mpg , horsepower , accelerate , engine_cylinders , weight", "extra_map": { "cars_data": { "cylinders": [ "engine_cylinders", "pistons" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "edispl", "horsepower", "weight", "accelerate", "year", "engine_cylinders", "pistons" ] }, "column_linking_gt": { "maximum accelerate": "cars_data.Accelerate", "number of cylinders": "cars_data.Cylinders" } }, { "question": "what is the #maximum accelerate# for all the different #cylinders# ?", "db_id": "car_1", "orig_query": "select max(accelerate), cylinders from cars_data group by cylinders", "schema_with_content": "continents : continent (\"europe\", \"africa\", \"africa\"), contid (3, 4, 4) | countries : continent (1, 3, 2), countryname (\"usa\", \"japan\", \"australia\"), countryid (14, 1, 6) | car_makers : country (\"4\", \"6\", \"6\"), fullname (\"Volkswagen\", \"Daimler Benz\", \"Nissan Motors\"), id (6, 8, 6), maker (\"opel\", \"saab\", \"daimler benz\") | model_list : maker (16, 8, 14), modelid (24, 4, 11), model (\"volvo\", \"dodge\", \"dodge\") | car_names : model (\"mercedes\", \"peugeot\", \"chrysler\"), make (\"volkswagen rabbit custom\", \"volvo 244dl\", \"pontiac astro\"), makeid (115, 189, 158) | cars_data : acceleration (15.9, 14.7, 21.0), cylinders (6, 4, 3), velocity (15.9, 14.7, 21.0), mpg (\"21\", \"34.5\", \"31\"), edispl (163.0, 198.0, 135.0), id (131, 155, 360), year (1971, 1979, 1981), weight (4237, 2320, 2372), horsepower (\"145\", \"115\", \"76\")", "schema_without_content": "continents : continent , contid | countries : continent , countryname , countryid | car_makers : country , fullname , id , maker | model_list : maker , modelid , model | car_names : model , make , makeid | cars_data : acceleration , cylinders , velocity , mpg , edispl , id , year , weight , horsepower", "extra_map": { "cars_data": { "accelerate": [ "acceleration", "velocity" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "year", "acceleration", "velocity" ] }, "column_linking_gt": { "maximum accelerate": "cars_data.Accelerate", "cylinders": "cars_data.Cylinders" } }, { "question": "what is the #maximum accelerate# for all the different #cylinders# ?", "db_id": "car_1", "orig_query": "select max(accelerate), cylinders from cars_data group by cylinders", "schema_with_content": "continents : continent (\"africa\", \"australia\", \"asia\"), contid (4, 4, 4) | countries : countryid (15, 14, 4), continent (5, 5, 4), countryname (\"sweden\", \"mexico\", \"france\") | car_makers : country (\"8\", \"2\", \"7\"), maker (\"gm\", \"daimler benz\", \"peugeaut\"), id (1, 21, 3), fullname (\"Triumph\", \"Opel\", \"Fiat\") | model_list : modelid (9, 9, 8), maker (1, 3, 22), model (\"honda\", \"ford\", \"chrysler\") | car_names : make (\"fiat x1.9\", \"opel manta\", \"datsun 200sx\"), model (\"toyota\", \"plymouth\", \"mercury\"), makeid (352, 158, 364) | cars_data : year (1980, 1971, 1978), engine_cylinders (6, 8, 4), edispl (98.0, 144.0, 140.0), accelerate (12.8, 20.5, 21.8), id (8, 63, 168), mpg (\"37.7\", \"17\", \"28\"), weight (2430, 1945, 4312), horsepower (\"46\", \"200\", \"null\"), pistons (6, 8, 4)", "schema_without_content": "continents : continent , contid | countries : countryid , continent , countryname | car_makers : country , maker , id , fullname | model_list : modelid , maker , model | car_names : make , model , makeid | cars_data : year , engine_cylinders , edispl , accelerate , id , mpg , weight , horsepower , pistons", "extra_map": { "cars_data": { "cylinders": [ "engine_cylinders", "pistons" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "edispl", "horsepower", "weight", "accelerate", "year", "engine_cylinders", "pistons" ] }, "column_linking_gt": { "maximum accelerate": "cars_data.Accelerate", "cylinders": "cars_data.Cylinders" } }, { "question": "which #model# has the most #version(make) of cars# ?", "db_id": "car_1", "orig_query": "select model from car_names group by model order by count(*) desc limit 1", "schema_with_content": "continents : contid (2, 5, 1), continent (\"america\", \"australia\", \"asia\") | countries : countryname (\"france\", \"usa\", \"egypt\"), continent (3, 2, 2), countryid (13, 7, 13) | car_makers : maker (\"gm\", \"opel\", \"chrysler\"), id (13, 16, 13), country (\"3\", \"8\", \"4\"), fullname (\"Mazda\", \"Renault\", \"Kia Motors\") | model_list : model (\"buick\", \"triumph\", \"scion\"), modelid (12, 18, 33), maker (16, 21, 15) | car_names : vehicle_model (\"chrysler\", \"chevrolet\", \"volvo\"), make (\"pontiac grand prix lj\", \"toyota corona hardtop\", \"dodge aries se\"), designation (\"chrysler\", \"chevrolet\", \"volvo\"), makeid (30, 60, 251) | cars_data : mpg (\"34.7\", \"29\", \"35.7\"), horsepower (\"103\", \"137\", \"72\"), weight (3015, 3288, 2035), id (200, 314, 331), accelerate (8.0, 8.0, 8.5), year (1971, 1981, 1974), edispl (113.0, 89.0, 181.0), cylinders (6, 8, 5)", "schema_without_content": "continents : contid , continent | countries : countryname , continent , countryid | car_makers : maker , id , country , fullname | model_list : model , modelid , maker | car_names : vehicle_model , make , designation , makeid | cars_data : mpg , horsepower , weight , id , accelerate , year , edispl , cylinders", "extra_map": { "car_names": { "model": [ "vehicle_model", "designation" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "make", "vehicle_model", "designation" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "model": "car_names.Model", "version(make) of cars": "car_names.Make" } }, { "question": "what #model# has the most different versions?", "db_id": "car_1", "orig_query": "select model from car_names group by model order by count(*) desc limit 1", "schema_with_content": "continents : continent (\"africa\", \"america\", \"africa\"), contid (3, 2, 5) | countries : countryname (\"mexico\", \"nigeria\", \"korea\"), countryid (7, 13, 3), continent (3, 4, 2) | car_makers : maker (\"amc\", \"daimler benz\", \"chrysler\"), id (9, 2, 21), country (\"5\", \"4\", \"2\"), fullname (\"Saab\", \"Fiat\", \"Hyundai\") | model_list : maker (16, 18, 15), model (\"chrysler\", \"fiat\", \"subaru\"), modelid (29, 11, 7) | car_names : designation (\"triumph\", \"audi\", \"saab\"), makeid (271, 374, 381), vehicle_model (\"triumph\", \"audi\", \"saab\"), make (\"oldsmobile omega\", \"amc rebel sst\", \"datsun b-210\") | cars_data : id (22, 120, 84), accelerate (16.4, 12.2, 23.7), weight (2634, 3785, 4499), horsepower (\"94\", \"125\", \"98\"), cylinders (4, 4, 8), mpg (\"32.9\", \"27.9\", \"32\"), edispl (121.0, 71.0, 88.0), year (1970, 1974, 1975)", "schema_without_content": "continents : continent , contid | countries : countryname , countryid , continent | car_makers : maker , id , country , fullname | model_list : maker , model , modelid | car_names : designation , makeid , vehicle_model , make | cars_data : id , accelerate , weight , horsepower , cylinders , mpg , edispl , year", "extra_map": { "car_names": { "model": [ "vehicle_model", "designation" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "make", "vehicle_model", "designation" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "model": "car_names.Model" } }, { "question": "which #makers# designed more than 3 #car models# ? list #full name# and the #id# .", "db_id": "car_1", "orig_query": "select t1.fullname, t1.id from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id having count(*) > 3", "schema_with_content": "continents : contid (2, 3, 1), continent (\"asia\", \"asia\", \"australia\") | countries : countryid (12, 10, 11), continent (1, 2, 4), countryname (\"australia\", \"nigeria\", \"australia\") | car_makers : full_title (\"Saab\", \"Renault\", \"Volvo\"), maker (\"subaru\", \"gm\", \"gm\"), id (14, 7, 8), complete_name (\"Saab\", \"Renault\", \"Volvo\"), country (\"6\", \"6\", \"5\") | model_list : modelid (13, 1, 10), model (\"audi\", \"citroen\", \"chrysler\"), maker (11, 10, 2) | car_names : make (\"fiat 124 sport coupe\", \"oldsmobile delta 88 royale\", \"renault 18i\"), makeid (399, 106, 341), model (\"volkswagen\", \"capri\", \"mazda\") | cars_data : year (1972, 1979, 1976), accelerate (16.4, 21.7, 13.9), mpg (\"36\", \"23.5\", \"33\"), id (66, 99, 212), edispl (302.0, 258.0, 97.0), horsepower (\"129\", \"71\", \"150\"), cylinders (3, 6, 3), weight (3399, 2210, 1968)", "schema_without_content": "continents : contid , continent | countries : countryid , continent , countryname | car_makers : full_title , maker , id , complete_name , country | model_list : modelid , model , maker | car_names : make , makeid , model | cars_data : year , accelerate , mpg , id , edispl , horsepower , cylinders , weight", "extra_map": { "car_makers": { "fullname": [ "complete_name", "full_title" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "country", "complete_name", "full_title" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "makers": "car_makers", "car models": "model_list.Model", "full name": "car_makers.FullName", "id": "car_makers.Id" } }, { "question": "which #makers# designed more than 3 #car models# ? list #full name# and the #id# .", "db_id": "car_1", "orig_query": "select t1.fullname, t1.id from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id having count(*) > 3", "schema_with_content": "continents : continent (\"asia\", \"australia\", \"africa\"), contid (1, 4, 2) | countries : continent (4, 1, 4), countryname (\"usa\", \"new zealand\", \"nigeria\"), countryid (4, 7, 7) | car_makers : fullname (\"Citroen\", \"Citroen\", \"Hyundai\"), country (\"5\", \"5\", \"4\"), maker_id (18, 12, 9), maker (\"nissan\", \"bmw\", \"mazda\"), serial_id (18, 12, 9) | model_list : model (\"chrysler\", \"chrysler\", \"peugeot\"), maker (20, 18, 3), modelid (21, 3, 16) | car_names : model (\"dodge\", \"triumph\", \"chevrolet\"), make (\"mercedes-benz 240d\", \"chevrolet caprice classic\", \"toyota corona mark ii (sw)\"), makeid (40, 316, 383) | cars_data : accelerate (14.4, 13.4, 20.1), horsepower (\"89\", \"210\", \"148\"), weight (1968, 2035, 4363), mpg (\"26\", \"32.1\", \"21.5\"), edispl (122.0, 101.0, 97.5), year (1981, 1972, 1970), cylinders (8, 5, 8), id (12, 207, 167)", "schema_without_content": "continents : continent , contid | countries : continent , countryname , countryid | car_makers : fullname , country , maker_id , maker , serial_id | model_list : model , maker , modelid | car_names : model , make \", makeid | cars_data : accelerate , horsepower , weight , mpg , edispl , year , cylinders , id", "extra_map": { "car_makers": { "id": [ "maker_id", "serial_id" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "maker", "fullname", "country", "maker_id", "serial_id" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "makers": "car_makers", "car models": "model_list.Model", "full name": "car_makers.FullName", "id": "car_makers.Id" } }, { "question": "what are the #names# and #ids of all makers# with more than 3 #models# ?", "db_id": "car_1", "orig_query": "select t1.fullname, t1.id from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id having count(*) > 3", "schema_with_content": "continents : contid (3, 5, 1), continent (\"asia\", \"africa\", \"europe\") | countries : countryname (\"australia\", \"sweden\", \"australia\"), continent (4, 4, 3), countryid (13, 9, 2) | car_makers : country (\"5\", \"7\", \"2\"), id (11, 20, 13), complete_name (\"Saab\", \"Triumph\", \"General Motors\"), full_title (\"Saab\", \"Triumph\", \"General Motors\"), maker (\"triumph\", \"bmw\", \"peugeaut\") | model_list : maker (9, 12, 5), model (\"mercedes\", \"cadillac\", \"honda\"), modelid (34, 9, 32) | car_names : make (\"audi 5000\", \"amc spirit dl\", \"buick lesabre custom\"), model (\"oldsmobile\", \"peugeot\", \"datsun\"), makeid (396, 100, 308) | cars_data : accelerate (13.9, 14.8, 11.1), mpg (\"32.7\", \"20.3\", \"16\"), year (1977, 1977, 1976), weight (3160, 2254, 2108), edispl (168.0, 141.0, 113.0), horsepower (\"94\", \"225\", \"46\"), id (230, 90, 155), cylinders (6, 8, 5)", "schema_without_content": "continents : contid , continent | countries : countryname , continent , countryid | car_makers : country , id , complete_name , full_title , maker | model_list : maker , model , modelid | car_names : make , model , makeid | cars_data : accelerate , mpg , year , weight , edispl , horsepower , id , cylinders", "extra_map": { "car_makers": { "fullname": [ "complete_name", "full_title" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "country", "complete_name", "full_title" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "names": "car_makers.FullName", "ids of all makers": "car_makers.Id", "models": "model_list.Model" } }, { "question": "what are the #names# and #ids of all makers# with more than 3 #models# ?", "db_id": "car_1", "orig_query": "select t1.fullname, t1.id from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id having count(*) > 3", "schema_with_content": "continents : contid (3, 3, 3), continent (\"asia\", \"australia\", \"europe\") | countries : countryid (13, 6, 5), continent (5, 3, 5), countryname (\"brazil\", \"egypt\", \"france\") | car_makers : serial_id (20, 23, 20), maker (\"daimler benz\", \"subaru\", \"mazda\"), country (\"8\", \"7\", \"3\"), fullname (\"Honda\", \"Volvo\", \"Honda\"), maker_id (20, 23, 20) | model_list : maker (18, 15, 19), modelid (2, 18, 32), model (\"jeep\", \"subaru\", \"fiat\") | car_names : makeid (324, 14, 299), model (\"plymouth\", \"bmw\", \"amc\"), make (\"volkswagen rabbit\", \"dodge coronet brougham\", \"ford granada l\") | cars_data : accelerate (18.3, 15.3, 22.1), cylinders (6, 3, 6), edispl (80.0, 181.0, 119.0), weight (4732, 4499, 2020), mpg (\"31.5\", \"26.4\", \"30.9\"), year (1976, 1976, 1978), id (204, 282, 405), horsepower (\"142\", \"140\", \"85\")", "schema_without_content": "continents : contid , continent | countries : countryid , continent , countryname | car_makers : serial_id , maker , country , fullname , maker_id | model_list : maker , modelid , model | car_names : makeid , model , make | cars_data : accelerate , cylinders , edispl , weight , mpg , year , id , horsepower", "extra_map": { "car_makers": { "id": [ "maker_id", "serial_id" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "maker", "fullname", "country", "maker_id", "serial_id" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "names": "car_makers.FullName", "ids of all makers": "car_makers.Id", "models": "model_list.Model" } }, { "question": "which #distinctive models# are produced by #maker with the full name general motors# or #weighing more than 3500# ?", "db_id": "car_1", "orig_query": "select distinct t2.model from car_names as t1 join model_list as t2 on t1.model = t2.model join car_makers as t3 on t2.maker = t3.id join cars_data as t4 on t1.makeid = t4.id where t3.fullname = 'General Motors' or t4.weight > 3500", "schema_with_content": "continents : continent (\"australia\", \"asia\", \"africa\"), contid (1, 5, 5) | countries : countryid (3, 9, 10), continent (5, 4, 5), countryname (\"nigeria\", \"mexico\", \"nigeria\") | car_makers : maker (\"nissan\", \"opel\", \"amc\"), id (2, 15, 4), country (\"1\", \"6\", \"1\"), fullname (\"Renault\", \"Volvo\", \"Saab\") | model_list : modelid (4, 17, 5), model_name (\"dodge\", \"capri\", \"oldsmobile\"), vehicle_name (\"dodge\", \"capri\", \"oldsmobile\"), maker (22, 15, 7) | car_names : model (\"opel\", \"cadillac\", \"nissan\"), makeid (61, 70, 205), make (\"fiat strada custom\", \"toyota corolla 1600 (sw)\", \"dodge aries se\") | cars_data : id (51, 213, 95), weight (2420, 2025, 2125), mpg (\"10\", \"26.6\", \"18.5\"), edispl (171.0, 97.5, 119.0), year (1976, 1979, 1973), accelerate (14.2, 22.1, 17.3), cylinders (6, 3, 5), horsepower (\"110\", \"71\", \"76\")", "schema_without_content": "continents : continent , contid | countries : countryid , continent , countryname | car_makers : maker , id , country , fullname | model_list : modelid , model_name , vehicle_name , maker | car_names : model , makeid , make \", \"dodge aries se\" | cars_data : id , weight , mpg , edispl , year , accelerate , cylinders , horsepower", "extra_map": { "model_list": { "model": [ "model_name", "vehicle_name" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model_name", "vehicle_name" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "distinctive models": "model_list.Model", "maker with the full name General Motors": "car_makers.FullName", "weighing more than 3500": "cars_data.Weight" } }, { "question": "what are the different #models# created by either the #car maker general motors# or #weighed more than 3500# ?", "db_id": "car_1", "orig_query": "select distinct t2.model from car_names as t1 join model_list as t2 on t1.model = t2.model join car_makers as t3 on t2.maker = t3.id join cars_data as t4 on t1.makeid = t4.id where t3.fullname = 'General Motors' or t4.weight > 3500", "schema_with_content": "continents : continent (\"australia\", \"australia\", \"europe\"), contid (2, 5, 4) | countries : continent (5, 2, 5), countryid (4, 7, 9), countryname (\"new zealand\", \"brazil\", \"usa\") | car_makers : id (22, 18, 6), maker (\"bmw\", \"hyundai\", \"subaru\"), fullname (\"Hyundai\", \"Kia Motors\", \"Saab\"), country (\"4\", \"1\", \"1\") | model_list : modelid (26, 21, 3), model_name (\"volkswagen\", \"toyota\", \"kia\"), maker (10, 3, 8), vehicle_name (\"volkswagen\", \"toyota\", \"kia\") | car_names : makeid (18, 338, 111), model (\"volkswagen\", \"bmw\", \"fiat\"), make (\"ford ltd\", \"mercury grand marquis\", \"plymouth cricket\") | cars_data : id (263, 335, 211), mpg (\"44.6\", \"25.1\", \"21.5\"), horsepower (\"84\", \"77\", \"120\"), accelerate (22.2, 22.2, 19.6), edispl (121.0, 121.0, 198.0), weight (3605, 2500, 2130), year (1977, 1975, 1978), cylinders (5, 8, 4)", "schema_without_content": "continents : continent , contid | countries : continent , countryid , countryname | car_makers : id , maker , fullname , country | model_list : modelid , model_name , maker , vehicle_name | car_names : makeid , model , make | cars_data : id , mpg , horsepower , accelerate , edispl , weight , year , cylinders", "extra_map": { "model_list": { "model": [ "model_name", "vehicle_name" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model_name", "vehicle_name" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "models": "model_list.Model", "car maker General Motors": "car_makers.FullName", "weighed more than 3500": "cars_data.Weight" } }, { "question": "what is the #horsepower of the car# with the largest #accelerate# ?", "db_id": "car_1", "orig_query": "select t1.horsepower from cars_data as t1 order by t1.accelerate desc limit 1", "schema_with_content": "continents : contid (1, 3, 5), continent (\"europe\", \"africa\", \"africa\") | countries : countryname (\"brazil\", \"usa\", \"germany\"), continent (3, 2, 4), countryid (9, 3, 6) | car_makers : maker (\"honda\", \"citroen\", \"citroen\"), country (\"4\", \"8\", \"2\"), id (1, 1, 17), fullname (\"Citroen\", \"Triumph\", \"Toyota\") | model_list : model (\"bmw\", \"chrysler\", \"fiat\"), modelid (8, 8, 5), maker (8, 9, 17) | car_names : make (\"amc rebel sst (sw)\", \"datsun 200sx\", \"subaru\"), model (\"mercedes-benz\", \"buick\", \"mercury\"), makeid (368, 385, 52) | cars_data : mpg (\"32.4\", \"20.5\", \"9\"), cylinders (5, 6, 3), edispl (97.0, 122.0, 181.0), torque (\"122\", \"122\", \"133\"), power (\"122\", \"122\", \"133\"), weight (3169, 1955, 2391), id (113, 119, 33), accelerate (21.7, 11.1, 17.0), year (1978, 1981, 1978)", "schema_without_content": "continents : contid , continent | countries : countryname , continent , countryid | car_makers : maker , country , id , fullname | model_list : model , modelid , maker | car_names : make \", \"datsun 200sx\", \"subaru\", model , makeid | cars_data : mpg , cylinders , edispl , torque , power , weight , id , accelerate , year", "extra_map": { "cars_data": { "horsepower": [ "power", "torque" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "weight", "accelerate", "year", "power", "torque" ] }, "column_linking_gt": { "horsepower of the car": "cars_data.Horsepower", "accelerate": "cars_data.Accelerate" } }, { "question": "what is the #horsepower# of the car with the greatest #accelerate# ?", "db_id": "car_1", "orig_query": "select t1.horsepower from cars_data as t1 order by t1.accelerate desc limit 1", "schema_with_content": "continents : contid (1, 1, 2), continent (\"america\", \"europe\", \"europe\") | countries : countryname (\"japan\", \"japan\", \"france\"), continent (1, 5, 2), countryid (9, 7, 4) | car_makers : fullname (\"Volvo\", \"Nissan Motors\", \"Renault\"), maker (\"nissan\", \"hyundai\", \"kia\"), id (19, 11, 17), country (\"2\", \"4\", \"6\") | model_list : modelid (14, 6, 11), maker (4, 16, 23), model (\"bmw\", \"chevrolet\", \"capri\") | car_names : model (\"volvo\", \"volkswagen\", \"hi\"), makeid (203, 245, 64), make (\"oldsmobile omega brougham\", \"bmw 320i\", \"mazda rx2 coupe\") | cars_data : mpg (\"18.1\", \"32.8\", \"30.9\"), year (1971, 1979, 1974), id (325, 340, 249), edispl (113.0, 200.0, 173.0), weight (3329, 3609, 2188), cylinders (6, 8, 5), power (\"92\", \"62\", \"60\"), torque (\"92\", \"62\", \"60\"), accelerate (13.4, 19.6, 12.1)", "schema_without_content": "continents : contid , continent | countries : countryname , continent , countryid | car_makers : fullname , maker , id , country | model_list : modelid , maker , model | car_names : model , makeid , make | cars_data : mpg , year , id , edispl , weight , cylinders , power , torque , accelerate", "extra_map": { "cars_data": { "horsepower": [ "power", "torque" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "weight", "accelerate", "year", "power", "torque" ] }, "column_linking_gt": { "horsepower": "cars_data.Horsepower", "accelerate": "cars_data.Accelerate" } }, { "question": "for #model# volvo, how many #cylinders# does the car with the least #accelerate# have?", "db_id": "car_1", "orig_query": "select t1.cylinders from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t2.model = 'volvo' order by t1.accelerate asc limit 1", "schema_with_content": "continents : continent (\"europe\", \"asia\", \"europe\"), contid (5, 4, 5) | countries : countryname (\"france\", \"usa\", \"korea\"), countryid (6, 3, 4), continent (3, 1, 1) | car_makers : fullname (\"Triumph\", \"Fiat\", \"Opel\"), maker (\"saab\", \"bmw\", \"toyota\"), id (19, 8, 23), country (\"6\", \"5\", \"7\") | model_list : modelid (25, 15, 17), model (\"mercedes-benz\", \"hi\", \"bmw\"), maker (17, 10, 1) | car_names : makeid (8, 164, 238), make (\"peugeot 604sl\", \"ford gran torino\", \"toyota celica gt\"), model (\"nissan\", \"triumph\", \"volvo\") | cars_data : weight (3035, 2700, 2625), horsepower (\"90\", \"58\", \"81\"), engine_cylinders (8, 8, 8), edispl (350.0, 96.0, 135.0), year (1970, 1981, 1978), mpg (\"11\", \"44\", \"34.4\"), id (84, 216, 161), accelerate (10.0, 18.1, 11.1), pistons (8, 8, 8)", "schema_without_content": "continents : continent , contid | countries : countryname , countryid , continent | car_makers : fullname , maker , id , country | model_list : modelid , model , maker | car_names : makeid , make , model | cars_data : weight , horsepower , engine_cylinders , edispl , year , mpg , id , accelerate , pistons", "extra_map": { "cars_data": { "cylinders": [ "engine_cylinders", "pistons" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "edispl", "horsepower", "weight", "accelerate", "year", "engine_cylinders", "pistons" ] }, "column_linking_gt": { "model": "car_names.Model", "cylinders": "cars_data.Cylinders", "accelerate": "cars_data.Accelerate" } }, { "question": "for a #volvo model# , how many #cylinders# does the version with #least accelerate# have?", "db_id": "car_1", "orig_query": "select t1.cylinders from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t2.model = 'volvo' order by t1.accelerate asc limit 1", "schema_with_content": "continents : contid (1, 4, 2), continent (\"europe\", \"australia\", \"asia\") | countries : countryname (\"france\", \"russia\", \"france\"), countryid (4, 5, 15), continent (4, 5, 3) | car_makers : country (\"1\", \"7\", \"3\"), maker (\"opel\", \"hyundai\", \"renault\"), id (6, 11, 4), fullname (\"Peugeaut\", \"Renault\", \"Ford Motor Company\") | model_list : modelid (25, 19, 32), maker (17, 10, 16), model (\"datsun\", \"hyundai\", \"mazda\") | car_names : make (\"toyota celica gt liftback\", \"cadillac seville\", \"plymouth fury gran sedan\"), model (\"mercedes\", \"chrysler\", \"citroen\"), makeid (267, 195, 212) | cars_data : accelerate (21.9, 10.5, 17.3), id (83, 122, 3), horsepower (\"83\", \"75\", \"107\"), year (1971, 1976, 1974), edispl (134.0, 181.0, 198.0), mpg (\"34.4\", \"44.6\", \"29\"), weight (2430, 2405, 3210), engine_cylinders (3, 6, 8), pistons (3, 6, 8)", "schema_without_content": "continents : contid , continent | countries : countryname , countryid , continent | car_makers : country , maker , id , fullname | model_list : modelid , maker , model | car_names : make , model , makeid | cars_data : accelerate , id , horsepower , year , edispl , mpg , weight , engine_cylinders , pistons", "extra_map": { "cars_data": { "cylinders": [ "engine_cylinders", "pistons" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "edispl", "horsepower", "weight", "accelerate", "year", "engine_cylinders", "pistons" ] }, "column_linking_gt": { "volvo model": "car_names.Model", "cylinders": "cars_data.Cylinders", "least accelerate": "cars_data.Accelerate" } }, { "question": "for the #cars# with 4 #cylinders# , which #model# has the largest #horsepower# ?", "db_id": "car_1", "orig_query": "select t1.model from car_names as t1 join cars_data as t2 on t1.makeid = t2.id where t2.cylinders = 4 order by t2.horsepower desc limit 1", "schema_with_content": "continents : continent (\"america\", \"asia\", \"australia\"), contid (2, 5, 4) | countries : countryname (\"nigeria\", \"sweden\", \"korea\"), continent (1, 3, 5), countryid (15, 11, 10) | car_makers : fullname (\"Nissan Motors\", \"Triumph\", \"Hyundai\"), id (3, 17, 16), maker (\"mazda\", \"citroen\", \"saab\"), country (\"6\", \"3\", \"2\") | model_list : modelid (31, 11, 8), maker (1, 17, 16), model (\"fiat\", \"cadillac\", \"chrysler\") | car_names : designation (\"honda\", \"opel\", \"chevrolet\"), make (\"chevrolet malibu\", \"mercury monarch ghia\", \"chevrolet chevelle malibu\"), makeid (391, 145, 216), vehicle_model (\"honda\", \"opel\", \"chevrolet\") | cars_data : accelerate (11.5, 15.6, 24.6), mpg (\"35\", \"20.8\", \"14.5\"), edispl (146.0, 400.0, 155.0), horsepower (\"84\", \"145\", \"149\"), year (1971, 1976, 1978), cylinders (4, 5, 8), weight (3449, 2855, 2430), id (236, 106, 71)", "schema_without_content": "continents : continent , contid | countries : countryname , continent , countryid | car_makers : fullname , id , maker , country | model_list : modelid , maker , model | car_names : designation , make , makeid , vehicle_model | cars_data : accelerate , mpg , edispl , horsepower , year , cylinders , weight , id", "extra_map": { "car_names": { "model": [ "vehicle_model", "designation" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "make", "vehicle_model", "designation" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "cars": "cars_data", "cylinders": "cars_data.Cylinders", "model": "car_names.Model", "horsepower": "cars_data.Horsepower" } }, { "question": "for all of the 4 #cylinder cars# , which #model# has the most #horsepower# ?", "db_id": "car_1", "orig_query": "select t1.model from car_names as t1 join cars_data as t2 on t1.makeid = t2.id where t2.cylinders = 4 order by t2.horsepower desc limit 1", "schema_with_content": "continents : contid (3, 3, 2), continent (\"australia\", \"europe\", \"africa\") | countries : continent (1, 2, 4), countryname (\"uk\", \"uk\", \"egypt\"), countryid (10, 8, 14) | car_makers : id (5, 7, 5), maker (\"volkswagen\", \"toyota\", \"fiat\"), country (\"6\", \"6\", \"6\"), fullname (\"Nissan Motors\", \"American Motor Company\", \"Chrysler\") | model_list : model (\"mercedes\", \"fiat\", \"mazda\"), maker (1, 6, 8), modelid (13, 29, 4) | car_names : make (\"chevrolet vega (sw)\", \"datsun 610\", \"ford mustang boss 302\"), designation (\"oldsmobile\", \"renault\", \"pontiac\"), makeid (40, 147, 155), vehicle_model (\"oldsmobile\", \"renault\", \"pontiac\") | cars_data : year (1978, 1978, 1980), mpg (\"18.5\", \"29.8\", \"28.1\"), accelerate (11.4, 17.2, 14.3), weight (4100, 4042, 3399), cylinders (5, 8, 5), id (358, 321, 337), edispl (183.0, 198.0, 232.0), horsepower (\"215\", \"77\", \"86\")", "schema_without_content": "continents : contid , continent | countries : continent , countryname , countryid | car_makers : id , maker , country , fullname | model_list : model , maker , modelid | car_names : make \", \"datsun 610\", \"ford mustang boss 302\", designation , makeid , vehicle_model | cars_data : year , mpg , accelerate , weight , cylinders , id , edispl , horsepower", "extra_map": { "car_names": { "model": [ "vehicle_model", "designation" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "make", "vehicle_model", "designation" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "cylinder cars": "cars_data.Cylinders", "model": "car_names.Model", "horsepower": "cars_data.Horsepower" } }, { "question": "among the cars with more than #lowest horsepower# , which ones do not have more than 3 #cylinders# ? list the #car makeid# and #make name# .", "db_id": "car_1", "orig_query": "select t2.makeid, t2.make from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t1.horsepower > (select min(horsepower) from cars_data) and t1.cylinders <= 3", "schema_with_content": "continents : continent (\"europe\", \"europe\", \"europe\"), contid (2, 4, 3) | countries : countryid (13, 10, 1), countryname (\"brazil\", \"new zealand\", \"uk\"), continent (5, 4, 5) | car_makers : fullname (\"Triumph\", \"Mazda\", \"Ford Motor Company\"), maker (\"renault\", \"volkswagen\", \"amc\"), id (7, 8, 15), country (\"8\", \"7\", \"8\") | model_list : maker (4, 3, 17), modelid (20, 22, 25), model (\"mercedes-benz\", \"chevrolet\", \"honda\") | car_names : model (\"nissan\", \"pontiac\", \"buick\"), make (\"chevrolet vega\", \"toyota corona\", \"vw dasher (diesel)\"), manufacturerid (180, 213, 357), brandid (180, 213, 357) | cars_data : id (47, 159, 70), weight (2720, 1835, 2110), edispl (135.0, 130.0, 267.0), mpg (\"13\", \"25\", \"43.4\"), horsepower (\"58\", \"69\", \"93\"), accelerate (15.2, 17.1, 17.5), cylinders (3, 3, 5), year (1976, 1972, 1979)", "schema_without_content": "continents : continent , contid | countries : countryid , countryname , continent | car_makers : fullname , maker , id , country | model_list : maker , modelid , model | car_names : model , make \", manufacturerid , brandid | cars_data : id , weight , edispl , mpg , horsepower , accelerate , cylinders , year", "extra_map": { "car_names": { "makeid": [ "manufacturerid", "brandid" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "model", "make", "manufacturerid", "brandid" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "lowest horsepower": "cars_data.Horsepower", "cylinders": "cars_data.Cylinders", "car makeid": "car_names.MakeId", "make name": "car_names.Make" } }, { "question": "among the cars with more than #lowest horsepower# , which ones do not have more than 3 #cylinders# ? list the #car makeid# and #make name# .", "db_id": "car_1", "orig_query": "select t2.makeid, t2.make from cars_data as t1 join car_names as t2 on t1.id = t2.makeid where t1.horsepower > (select min(horsepower) from cars_data) and t1.cylinders <= 3", "schema_with_content": "continents : continent (\"europe\", \"asia\", \"africa\"), contid (5, 5, 2) | countries : countryid (5, 15, 7), countryname (\"brazil\", \"egypt\", \"mexico\"), continent (3, 3, 5) | car_makers : id (7, 15, 17), fullname (\"Daimler Benz\", \"General Motors\", \"Triumph\"), country (\"4\", \"7\", \"6\"), maker (\"kia\", \"volkswagen\", \"chrysler\") | model_list : model (\"mercedes\", \"pontiac\", \"ford\"), modelid (11, 8, 36), maker (5, 19, 16) | car_names : model (\"amc\", \"fiat\", \"subaru\"), makeid (93, 204, 401), brand (\"volkswagen rabbit\", \"nissan stanza xe\", \"cadillac seville\"), manufacturer (\"volkswagen rabbit\", \"nissan stanza xe\", \"cadillac seville\") | cars_data : horsepower (\"82\", \"135\", \"89\"), mpg (\"40.8\", \"39.1\", \"34.2\"), edispl (360.0, 140.0, 307.0), weight (2108, 2171, 2215), year (1979, 1973, 1979), id (62, 190, 147), accelerate (18.3, 22.2, 16.9), cylinders (3, 6, 4)", "schema_without_content": "continents : continent , contid | countries : countryid , countryname , continent | car_makers : id , fullname , country , maker | model_list : model , modelid , maker | car_names : model , makeid , brand , manufacturer | cars_data : horsepower , mpg , edispl , weight , year , id , accelerate , cylinders", "extra_map": { "car_names": { "make": [ "manufacturer", "brand" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "manufacturer", "brand" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "lowest horsepower": "cars_data.Horsepower", "cylinders": "cars_data.Cylinders", "car makeid": "car_names.MakeId", "make name": "car_names.Make" } }, { "question": "which #models# are #lighter than 3500# but not #built by# the 'ford motor company'?", "db_id": "car_1", "orig_query": "select distinct t1.model from model_list as t1 join car_names as t2 on t1.model = t2.model join cars_data as t3 on t2.makeid = t3.id join car_makers as t4 on t1.maker = t4.id where t3.weight < 3500 and t4.fullname != 'Ford Motor Company'", "schema_with_content": "continents : continent (\"australia\", \"america\", \"africa\"), contid (5, 2, 2) | countries : countryid (14, 1, 15), countryname (\"uk\", \"korea\", \"russia\"), continent (2, 2, 5) | car_makers : fullname (\"Subaru\", \"Chrysler\", \"Daimler Benz\"), maker (\"ford\", \"honda\", \"kia\"), id (15, 19, 12), country (\"4\", \"2\", \"2\") | model_list : model_name (\"scion\", \"buick\", \"ford\"), maker (18, 14, 15), vehicle_name (\"scion\", \"buick\", \"ford\"), modelid (13, 26, 23) | car_names : makeid (274, 344, 14), model (\"audi\", \"fiat\", \" volkswagen\"), make (\"mercury marquis brougham\", \"ford granada\", \"plymouth reliant\") | cars_data : weight (4464, 2672, 3060), year (1976, 1978, 1976), cylinders (6, 4, 3), accelerate (11.5, 15.2, 14.5), edispl (183.0, 76.0, 89.0), horsepower (\"120\", \"135\", \"79\"), mpg (\"27.4\", \"22.3\", \"17.5\"), id (251, 39, 209)", "schema_without_content": "continents : continent , contid | countries : countryid , countryname , continent | car_makers : fullname , maker , id , country | model_list : model_name , maker , vehicle_name , modelid | car_names : makeid , model , make | cars_data : weight , year , cylinders , accelerate , edispl , horsepower , mpg , id", "extra_map": { "model_list": { "model": [ "model_name", "vehicle_name" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model_name", "vehicle_name" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "models": "model_list.Model", "lighter than 3500": "cars_data.Weight", "built by": "car_makers.FullName" } }, { "question": "what are the #different models# wthat are #lighter than 3500# but were not #built by the ford motor company# ?", "db_id": "car_1", "orig_query": "select distinct t1.model from model_list as t1 join car_names as t2 on t1.model = t2.model join cars_data as t3 on t2.makeid = t3.id join car_makers as t4 on t1.maker = t4.id where t3.weight < 3500 and t4.fullname != 'Ford Motor Company'", "schema_with_content": "continents : contid (2, 3, 2), continent (\"africa\", \"africa\", \"america\") | countries : countryid (10, 15, 4), countryname (\"egypt\", \"france\", \"usa\"), continent (5, 4, 3) | car_makers : country (\"8\", \"2\", \"6\"), fullname (\"American Motor Company\", \"Daimler Benz\", \"Mazda\"), id (4, 7, 17), maker (\"opel\", \"peugeaut\", \"mazda\") | model_list : modelid (15, 13, 17), maker (8, 13, 7), vehicle_name (\"volkswagen\", \"opel\", \"subaru\"), model_name (\"volkswagen\", \"opel\", \"subaru\") | car_names : model (\"mercury\", \"plymouth\", \"mercury\"), makeid (197, 398, 130), make (\"chevrolet vega (sw)\", \"chevrolet impala\", \"peugeot 504 (sw)\") | cars_data : edispl (88.0, 78.0, 151.0), accelerate (18.0, 16.0, 21.5), id (141, 55, 87), cylinders (4, 3, 8), mpg (\"38\", \"32.3\", \"24.5\"), horsepower (\"79\", \"76\", \"149\"), weight (2870, 2545, 2800), year (1978, 1974, 1978)", "schema_without_content": "continents : contid , continent | countries : countryid , countryname , continent | car_makers : country , fullname , id , maker | model_list : modelid , maker , vehicle_name , model_name | car_names : model , makeid , make \", \"chevrolet impala\", \"peugeot 504 \" | cars_data : edispl , accelerate , id , cylinders , mpg , horsepower , weight , year", "extra_map": { "model_list": { "model": [ "model_name", "vehicle_name" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model_name", "vehicle_name" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "different models": "model_list.Model", "lighter than 3500": "cars_data.Weight", "built by the Ford Motor Company": "car_makers.FullName" } }, { "question": "what are the #name of the countries# where there is not a single #car maker# ?", "db_id": "car_1", "orig_query": "select countryname from countries except select t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country", "schema_with_content": "continents : continent (\"america\", \"europe\", \"australia\"), contid (5, 3, 5) | countries : name (\"italy\", \"france\", \"usa\"), nationname (\"italy\", \"france\", \"usa\"), countryid (5, 1, 5), continent (3, 2, 1) | car_makers : fullname (\"Honda\", \"Citroen\", \"Volvo\"), id (20, 5, 22), country (\"1\", \"1\", \"6\"), maker (\"bmw\", \"volvo\", \"peugeaut\") | model_list : model (\"volvo\", \"subaru\", \"chevrolet\"), modelid (14, 1, 26), maker (8, 9, 1) | car_names : make (\"datsun b210 gx\", \"fiat 131\", \"plymouth satellite (sw)\"), makeid (370, 170, 230), model (\"capri\", \"amc\", \"citroen\") | cars_data : year (1976, 1980, 1977), accelerate (18.7, 11.0, 10.0), id (397, 184, 406), horsepower (\"116\", \"80\", \"133\"), cylinders (4, 6, 8), mpg (\"25.8\", \"null\", \"14\"), weight (4952, 4341, 1955), edispl (88.0, 155.0, 115.0)", "schema_without_content": "continents : continent , contid | countries : name , nationname , countryid , continent | car_makers : fullname , id , country , maker | model_list : model , modelid , maker | car_names : make \", makeid , model | cars_data : year , accelerate , id , horsepower , cylinders , mpg , weight , edispl", "extra_map": { "countries": { "countryname": [ "name", "nationname" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "continent", "name", "nationname" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "name of the countries": "countries.CountryName", "car maker": "car_makers" } }, { "question": "what are the #names of the countries# with no #car makers# ?", "db_id": "car_1", "orig_query": "select countryname from countries except select t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country", "schema_with_content": "continents : contid (1, 1, 5), continent (\"australia\", \"australia\", \"africa\") | countries : nationname (\"usa\", \"brazil\", \"russia\"), countryid (11, 6, 13), continent (4, 3, 5), name (\"usa\", \"brazil\", \"russia\") | car_makers : country (\"3\", \"4\", \"3\"), maker (\"subaru\", \"ford\", \"nissan\"), fullname (\"Hyundai\", \"American Motor Company\", \"Kia Motors\"), id (18, 8, 20) | model_list : model (\"peugeot\", \"audi\", \"buick\"), modelid (15, 16, 13), maker (11, 22, 12) | car_names : model (\"volvo\", \"toyota\", \"mercedes\"), make (\"ford mustang ii 2+2\", \"datsun 310 gx\", \"dodge aries se\"), makeid (206, 274, 307) | cars_data : year (1971, 1981, 1981), horsepower (\"108\", \"46\", \"152\"), weight (3785, 2905, 2648), edispl (68.0, 114.0, 258.0), cylinders (4, 3, 6), accelerate (15.5, 23.7, 15.3), id (14, 345, 100), mpg (\"28.4\", \"21.6\", \"33\")", "schema_without_content": "continents : contid , continent | countries : nationname , countryid , continent , name | car_makers : country , maker , fullname , id | model_list : model , modelid , maker | car_names : model , make , makeid | cars_data : year , horsepower , weight , edispl , cylinders , accelerate , id , mpg", "extra_map": { "countries": { "countryname": [ "name", "nationname" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "continent", "name", "nationname" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "names of the countries": "countries.CountryName", "car makers": "car_makers" } }, { "question": "what are the #ids# and #makers of all car makers# that produce at least 2 #models# and make more than 3 #cars# ?", "db_id": "car_1", "orig_query": "select t1.id, t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id having count(*) >= 2 intersect select t1.id, t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker join car_names as t3 on t2.model = t3.model group by t1.id having count(*) > 3", "schema_with_content": "continents : contid (2, 2, 2), continent (\"america\", \"america\", \"america\") | countries : continent (2, 2, 2), countryname (\"italy\", \"italy\", \"korea\"), countryid (8, 4, 9) | car_makers : country (\"3\", \"5\", \"7\"), id (19, 5, 19), fullname (\"Kia Motors\", \"Volvo\", \"Volvo\"), manufacturer (\"toyota\", \"kia\", \"ford\"), brand (\"toyota\", \"kia\", \"ford\") | model_list : maker (10, 19, 9), model (\"ford\", \"buick\", \"audi\"), modelid (9, 26, 29) | car_names : makeid (56, 191, 136), model (\"volkswagen\", \"peugeot\", \"plymouth\"), make (\"pontiac catalina brougham\", \"amc concord dl 6\", \"ford fiesta\") | cars_data : id (396, 168, 312), cylinders (8, 5, 3), mpg (\"32.7\", \"34.3\", \"34.2\"), accelerate (14.8, 19.6, 12.8), year (1981, 1973, 1982), horsepower (\"110\", \"167\", \"69\"), edispl (101.0, 68.0, 91.0), weight (4295, 4385, 2171)", "schema_without_content": "continents : contid , continent | countries : continent , countryname , countryid | car_makers : country , id , fullname , manufacturer , brand | model_list : maker , model , modelid | car_names : makeid , model , make | cars_data : id , cylinders , mpg , accelerate , year , horsepower , edispl , weight", "extra_map": { "car_makers": { "maker": [ "brand", "manufacturer" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "id", "fullname", "country", "brand", "manufacturer" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "ids": "car_makers.Id", "makers of all car makers": "car_makers.Maker", "models": "model_list.Model", "cars": "car_names.Make" } }, { "question": "what are the #ids# and #makers of all car makers# that produce at least 2 #models# and make more than 3 #cars# ?", "db_id": "car_1", "orig_query": "select t1.id, t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id having count(*) >= 2 intersect select t1.id, t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker join car_names as t3 on t2.model = t3.model group by t1.id having count(*) > 3", "schema_with_content": "continents : continent (\"africa\", \"africa\", \"asia\"), contid (2, 4, 2) | countries : continent (5, 5, 5), countryid (1, 10, 12), countryname (\"france\", \"egypt\", \"france\") | car_makers : fullname (\"Mazda\", \"Hyundai\", \"Renault\"), country (\"7\", \"3\", \"4\"), serial_id (16, 17, 8), maker (\"volkswagen\", \"nissan\", \"bmw\"), maker_id (16, 17, 8) | model_list : maker (18, 17, 10), model (\"jeep\", \"saab\", \"renault\"), modelid (13, 10, 17) | car_names : make (\"mazda 626\", \"renault 12 (sw)\", \"toyota corolla 1200\"), model (\"peugeot\", \"plymouth\", \"oldsmobile\"), makeid (156, 254, 297) | cars_data : cylinders (3, 4, 6), id (336, 177, 272), weight (3015, 4335, 2835), edispl (131.0, 110.0, 262.0), accelerate (16.6, 14.2, 23.5), horsepower (\"103\", \"142\", \"140\"), mpg (\"25.8\", \"44.6\", \"36.1\"), year (1981, 1970, 1981)", "schema_without_content": "continents : continent , contid | countries : continent , countryid , countryname | car_makers : fullname , country , serial_id , maker , maker_id | model_list : maker , model , modelid | car_names : make \", \"toyota corolla 1200\", model , makeid | cars_data : cylinders , id , weight , edispl , accelerate , horsepower , mpg , year", "extra_map": { "car_makers": { "id": [ "maker_id", "serial_id" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "countryname", "continent" ], "car_makers": [ "maker", "fullname", "country", "maker_id", "serial_id" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "ids": "car_makers.Id", "makers of all car makers": "car_makers.Maker", "models": "model_list.Model", "cars": "car_names.Make" } }, { "question": "what are the #id# and #names of the countries# which have more than 3 #car makers# or produce the 'fiat' #model# ?", "db_id": "car_1", "orig_query": "select t1.countryid, t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 3 union select t1.countryid, t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country join model_list as t3 on t2.id = t3.maker where t3.model = 'fiat'", "schema_with_content": "continents : contid (2, 3, 3), continent (\"australia\", \"australia\", \"australia\") | countries : id (7, 1, 8), nationid (7, 1, 8), continent (3, 5, 1), countryname (\"france\", \"germany\", \"new zealand\") | car_makers : maker (\"renault\", \"chrysler\", \"renault\"), fullname (\"Renault\", \"American Motor Company\", \"Daimler Benz\"), id (11, 19, 1), country (\"2\", \"5\", \"3\") | model_list : modelid (31, 25, 11), maker (11, 23, 6), model (\"triumph\", \"ford\", \"mercedes\") | car_names : make (\"mercury capri 2000\", \"dodge aspen\", \"volvo 264gl\"), model (\"triumph\", \"nissan\", \"renault\"), makeid (114, 299, 155) | cars_data : horsepower (\"193\", \"84\", \"95\"), mpg (\"30.5\", \"16.9\", \"29.8\"), accelerate (13.5, 15.8, 23.5), year (1980, 1976, 1974), id (162, 17, 303), weight (2545, 3230, 2905), cylinders (6, 5, 4), edispl (91.0, 429.0, 183.0)", "schema_without_content": "continents : contid , continent | countries : id , nationid , continent , countryname | car_makers : maker , fullname , id , country | model_list : modelid , maker , model | car_names : make , model , makeid | cars_data : horsepower , mpg , accelerate , year , id , weight , cylinders , edispl", "extra_map": { "countries": { "countryid": [ "id", "nationid" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryname", "continent", "id", "nationid" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "id": "countries.CountryId", "names of the countries": "countries.CountryName", "car makers": "car_makers", "model": "model_list.Model" } }, { "question": "what are the #id# and #names of the countries# which have more than 3 #car makers# or produce the 'fiat' #model# ?", "db_id": "car_1", "orig_query": "select t1.countryid, t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 3 union select t1.countryid, t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country join model_list as t3 on t2.id = t3.maker where t3.model = 'fiat'", "schema_with_content": "continents : continent (\"africa\", \"africa\", \"asia\"), contid (5, 2, 3) | countries : name (\"korea\", \"italy\", \"russia\"), countryid (8, 14, 9), nationname (\"korea\", \"italy\", \"russia\"), continent (4, 1, 4) | car_makers : id (8, 19, 16), fullname (\"Hyundai\", \"Peugeaut\", \"Fiat\"), maker (\"bmw\", \"chrysler\", \"volvo\"), country (\"8\", \"2\", \"7\") | model_list : model (\"pontiac\", \"citroen\", \"honda\"), maker (14, 5, 21), modelid (13, 15, 10) | car_names : make (\"mazda rx-7 gs\", \"ford mustang ii 2+2\", \"dodge colt\"), makeid (311, 162, 107), model (\"ford\", \"toyota\", \"honda\") | cars_data : horsepower (\"68\", \"61\", \"133\"), cylinders (6, 5, 8), accelerate (14.7, 11.5, 23.7), year (1972, 1979, 1979), weight (4732, 2245, 3725), edispl (390.0, 144.0, 390.0), id (265, 18, 222), mpg (\"21.6\", \"23.6\", \"44\")", "schema_without_content": "continents : continent , contid | countries : name , countryid , nationname , continent | car_makers : id , fullname , maker , country | model_list : model , maker , modelid | car_names : make , makeid , model | cars_data : horsepower , cylinders , accelerate , year , weight , edispl , id , mpg", "extra_map": { "countries": { "countryname": [ "name", "nationname" ] } }, "extra_table_map": null, "db_schema": { "continents": [ "contid", "continent" ], "countries": [ "countryid", "continent", "name", "nationname" ], "car_makers": [ "id", "maker", "fullname", "country" ], "model_list": [ "modelid", "maker", "model" ], "car_names": [ "makeid", "model", "make" ], "cars_data": [ "id", "mpg", "cylinders", "edispl", "horsepower", "weight", "accelerate", "year" ] }, "column_linking_gt": { "id": "countries.CountryId", "names of the countries": "countries.CountryName", "car makers": "car_makers", "model": "model_list.Model" } }, { "question": "which #country# does #airline# \"jetblue airways\" belong to?", "db_id": "flight_2", "orig_query": "select country from airlines where airline = \"JetBlue Airways\"", "schema_with_content": "airlines : uid (6, 4, 10), abbreviation (\"Northwest\", \"Continental\", \"American\"), nation (\"USA\"), airline (\"Allegiant Air\", \"AirTran Airways\", \"United Airlines\"), territory (\"USA\") | airports : countryabbrev (\"US \", \"US\"), airportcode (\"ADM\", \"AGN\", \"ABI\"), country (\"United States \"), airportname (\"Ainsworth \", \"USN Heliport \", \"Algona \"), city (\" Neptune \", \"Akhiok \", \"Aspen \") | flights : flightno (1192, 433, 211), destairport (\" NDV\", \" LTS\", \" ARX\"), airline (5, 7, 2), sourceairport (\" ANA\", \" LTS\", \" ANV\")", "schema_without_content": "airlines : uid , abbreviation , nation , airline , territory | airports : countryabbrev , airportcode , country , airportname , city | flights : flightno , destairport , airline , sourceairport", "extra_map": { "airlines": { "country": [ "nation", "territory" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "nation", "territory" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "country": "airlines.Country", "Airline": "airlines.Airline" } }, { "question": "what #country is jetblue airways# affiliated with?", "db_id": "flight_2", "orig_query": "select country from airlines where airline = \"JetBlue Airways\"", "schema_with_content": "airlines : territory (\"USA\"), airline (\"Northwest Airlines\", \"US Airways\", \"Allegiant Air\"), nation (\"USA\"), abbreviation (\"JetBlue\", \"JetBlue\", \"UAL\"), uid (9, 12, 9) | airports : airportname (\"Albany NAS \", \"Angoon \", \"Allakaket \"), airportcode (\"APV\", \"ARX\", \"MRI\"), country (\"United States \"), city (\"Arcata \", \"Alakanuk \", \" Ann Arbor MI \"), countryabbrev (\"US \", \"US\") | flights : airline (5, 3, 3), sourceairport (\" AMA\", \" MMI\", \" MMI\"), destairport (\" TDW\", \" QAW\", \" AED\"), flightno (854, 385, 3)", "schema_without_content": "airlines : territory , airline , nation , abbreviation , uid | airports : airportname , airportcode , country , city , countryabbrev | flights : airline , sourceairport , destairport , flightno", "extra_map": { "airlines": { "country": [ "nation", "territory" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "nation", "territory" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "country is Jetblue Airways": "airlines.Country" } }, { "question": "what is the #abbreviation of airline# \"jetblue airways\"?", "db_id": "flight_2", "orig_query": "select abbreviation from airlines where airline = \"JetBlue Airways\"", "schema_with_content": "airlines : airline (\"Continental Airlines\", \"Northwest Airlines\", \"US Airways\"), short_name (\"Northwest\", \"Allegiant\", \"American\"), country (\"USA\"), uid (11, 8, 9), code (\"Northwest\", \"Allegiant\", \"American\") | airports : airportcode (\"AHD\", \"AMW\", \"ADM\"), countryabbrev (\"US \", \"US\"), airportname (\"Ainsworth \", \"Dougherty County \", \"Alexandria Bay \"), country (\"United States \"), city (\"Amook \", \"Athens \", \"Anderson \") | flights : sourceairport (\" AFO\", \" AST\", \" AKO\"), destairport (\" MRI\", \" ANC\", \" AKC\"), flightno (1192, 12, 766), airline (7, 4, 6)", "schema_without_content": "airlines : airline , short_name , country , uid , code | airports : airportcode , countryabbrev , airportname , country , city | flights : sourceairport , destairport , flightno , airline", "extra_map": { "airlines": { "abbreviation": [ "short_name", "code" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "country", "short_name", "code" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "abbreviation of Airline": "airlines.Abbreviation" } }, { "question": "which #abbreviation# corresponds to #jetblue airways# ?", "db_id": "flight_2", "orig_query": "select abbreviation from airlines where airline = \"JetBlue Airways\"", "schema_with_content": "airlines : short_name (\"Frontier\", \"USAir\", \"USAir\"), uid (2, 9, 3), airline (\"Continental Airlines\", \"Virgin America\", \"Northwest Airlines\"), country (\"USA\"), code (\"Frontier\", \"USAir\", \"USAir\") | airports : airportname (\"Ashland \", \"George Downer \", \"Astoria \"), city (\"Artesia \", \"Anchorage \", \"Alameda \"), countryabbrev (\"US \", \"US\"), airportcode (\"ANW\", \"AED\", \"QAW\"), country (\"United States \") | flights : sourceairport (\" AUK\", \" AND\", \" ARX\"), airline (9, 10, 11), flightno (384, 924, 535), destairport (\" AMW\", \" ASE\", \" ARX\")", "schema_without_content": "airlines : short_name , uid , airline , country , code | airports : airportname , city , countryabbrev , airportcode , country | flights : sourceairport , airline , flightno , destairport", "extra_map": { "airlines": { "abbreviation": [ "short_name", "code" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "country", "short_name", "code" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "abbreviation": "airlines.Abbreviation", "Jetblue Airways": "airlines.Airline" } }, { "question": "list all #airline names# and their #abbreviations in \"usa\"# .", "db_id": "flight_2", "orig_query": "select airline, abbreviation from airlines where country = \"USA\"", "schema_with_content": "airlines : short_name (\"Virgin\", \"AirTran\", \"Virgin\"), country (\"USA\"), code (\"Virgin\", \"AirTran\", \"Virgin\"), airline (\"US Airways\", \"Continental Airlines\", \"Southwest Airlines\"), uid (12, 1, 6) | airports : airportname (\"Aleknagik \", \"Rick Husband Amarillo International \", \"Albert Lea \"), country (\"United States \"), airportcode (\"ANY\", \"AQY\", \"AIK\"), city (\"Akron/Canton \", \"Appleton \", \"Anaktuvuk \"), countryabbrev (\"US \", \"US\") | flights : flightno (326, 840, 391), sourceairport (\" NGZ\", \" AND\", \" CVO\"), airline (11, 10, 10), destairport (\" ANB\", \" ACV\", \" EDF\")", "schema_without_content": "airlines : short_name , country , code , airline , uid | airports : airportname , country , airportcode , city , countryabbrev | flights : flightno , sourceairport , airline , destairport", "extra_map": { "airlines": { "abbreviation": [ "short_name", "code" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "country", "short_name", "code" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airline names": "airlines.Airline", "abbreviations in \"USA\"": "airlines.Abbreviation" } }, { "question": "list all #airline names# and their #abbreviations in \"usa\"# .", "db_id": "flight_2", "orig_query": "select airline, abbreviation from airlines where country = \"USA\"", "schema_with_content": "airlines : carrier (\"Continental Airlines\", \"United Airlines\", \"United Airlines\"), uid (5, 11, 10), company (\"Continental Airlines\", \"United Airlines\", \"United Airlines\"), abbreviation (\"JetBlue\", \"USAir\", \"USAir\"), country (\"USA\") | airports : country (\"United States \"), airportcode (\"RLI\", \"ANB\", \"AFO\"), airportname (\"Aleneva \", \"Rick Husband Amarillo International \", \"Albany International \"), city (\"Alyeska \", \"Arcata \", \"Alexandria \"), countryabbrev (\"US \", \"US\") | flights : flightno (888, 727, 1255), airline (8, 1, 9), sourceairport (\" MRI\", \" ANV\", \" ANW\"), destairport (\" TDW\", \" TDW\", \" AOS\")", "schema_without_content": "airlines : carrier , uid , company , abbreviation , country | airports : country , airportcode , airportname , city , countryabbrev | flights : flightno , airline , sourceairport , destairport", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airline names": "airlines.Airline", "abbreviations in \"USA\"": "airlines.Abbreviation" } }, { "question": "what are the #airline names# and #abbreviations for airlines in the usa# ?", "db_id": "flight_2", "orig_query": "select airline, abbreviation from airlines where country = \"USA\"", "schema_with_content": "airlines : uid (4, 2, 9), country (\"USA\"), airline (\"Frontier Airlines\", \"Allegiant Air\", \"AirTran Airways\"), code (\"Frontier\", \"AirTran\", \"Continental\"), short_name (\"Frontier\", \"AirTran\", \"Continental\") | airports : airportcode (\"ALB\", \"ALE\", \"NGZ\"), city (\"Alitak \", \"Ada \", \"Akron/Canton \"), countryabbrev (\"US \", \"US\"), country (\"United States \"), airportname (\"Aleneva \", \"Merrill Field \", \"Ft Mcclellan Bus Trml \") | flights : sourceairport (\" ALZ\", \" ANW\", \" AFO\"), airline (6, 5, 10), flightno (1204, 238, 1287), destairport (\" ADG\", \" ANA\", \" AET\")", "schema_without_content": "airlines : uid , country , airline , code , short_name | airports : airportcode , city , countryabbrev , country , airportname | flights : sourceairport , airline , flightno , destairport", "extra_map": { "airlines": { "abbreviation": [ "short_name", "code" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "country", "short_name", "code" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airline names": "airlines.Airline", "abbreviations for airlines in the USA": "airlines.Abbreviation" } }, { "question": "what are the #airline names# and #abbreviations for airlines in the usa# ?", "db_id": "flight_2", "orig_query": "select airline, abbreviation from airlines where country = \"USA\"", "schema_with_content": "airlines : uid (1, 7, 7), carrier (\"AirTran Airways\", \"JetBlue Airways\", \"Continental Airlines\"), abbreviation (\"American\", \"Delta\", \"American\"), company (\"AirTran Airways\", \"JetBlue Airways\", \"Continental Airlines\"), country (\"USA\") | airports : country (\"United States \"), countryabbrev (\"US \", \"US\"), airportcode (\"NAB\", \"AKI\", \"ABI\"), city (\"Alice \", \"Akron/Canton \", \" Amarillo \"), airportname (\"Ambler \", \"Arctic Village \", \"Alpine \") | flights : flightno (1267, 369, 309), airline (12, 10, 3), destairport (\" MMI\", \" AKP\", \" ASY\"), sourceairport (\" ABY\", \" AKI\", \" AIK\")", "schema_without_content": "airlines : uid , carrier , abbreviation , company , country | airports : country , countryabbrev , airportcode , city , airportname | flights : flightno , airline , destairport , sourceairport", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airline names": "airlines.Airline", "abbreviations for airlines in the USA": "airlines.Abbreviation" } }, { "question": "list the #airport code# and #name in the city# of anthony.", "db_id": "flight_2", "orig_query": "select airportcode, airportname from airports where city = \"Anthony\"", "schema_with_content": "airlines : abbreviation (\"Northwest\", \"Allegiant\", \"Continental\"), uid (12, 12, 2), airline (\"Southwest Airlines\", \"Frontier Airlines\", \"Continental Airlines\"), country (\"USA\") | airports : city (\"Amityville \", \"Alamogordo \", \"Abingdon \"), country (\"United States \"), airportcode (\"AHH\", \"ADM\", \"AXS\"), aerodrome_name (\"Aleneva \", \"Rollang Field \", \"Anacortes \"), aviation_terminal (\"Aleneva \", \"Rollang Field \", \"Anacortes \"), countryabbrev (\"US \", \"US\") | flights : flightno (1360, 278, 1348), sourceairport (\" ANV\", \" ARB\", \" AHD\"), destairport (\" AYZ\", \" ABQ\", \" OTS\"), airline (10, 12, 5)", "schema_without_content": "airlines : abbreviation , uid , airline , country | airports : city , country , airportcode , aerodrome_name , aviation_terminal , countryabbrev | flights : flightno , sourceairport , destairport , airline", "extra_map": { "airports": { "airportname": [ "aerodrome_name", "aviation_terminal" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "country", "countryabbrev", "aerodrome_name", "aviation_terminal" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airport code": "airports.AirportCode", "name in the city": "airports.AirportName" } }, { "question": "list the #airport code# and #name in the city# of anthony.", "db_id": "flight_2", "orig_query": "select airportcode, airportname from airports where city = \"Anthony\"", "schema_with_content": "airlines : country (\"USA\"), uid (5, 2, 6), abbreviation (\"JetBlue\", \"Allegiant\", \"USAir\"), airline (\"Virgin America\", \"JetBlue Airways\", \"Delta Airlines\") | airports : country (\"United States \"), airportname (\"Esler Field \", \"Rick Husband Amarillo International \", \"Anita Bay \"), city (\" Alexandria LA \", \"Akiachak \", \"Anaktuvuk \"), iata_code (\"LTS\", \"AIB\", \"AHD\"), countryabbrev (\"US \", \"US\"), code_shortcut (\"LTS\", \"AIB\", \"AHD\") | flights : sourceairport (\" AAF\", \" ALN\", \" ABL\"), airline (2, 10, 10), destairport (\" AMW\", \" ADR\", \" ALN\"), flightno (1064, 742, 504)", "schema_without_content": "airlines : country , uid , abbreviation , airline | airports : country , airportname , city , iata_code , countryabbrev , code_shortcut | flights : sourceairport , airline , destairport , flightno", "extra_map": { "airports": { "airportcode": [ "iata_code", "code_shortcut" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportname", "country", "countryabbrev", "iata_code", "code_shortcut" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airport code": "airports.AirportCode", "name in the city": "airports.AirportName" } }, { "question": "give the #airport code# and #airport name# corresonding to the #city# anthony.", "db_id": "flight_2", "orig_query": "select airportcode, airportname from airports where city = \"Anthony\"", "schema_with_content": "airlines : country (\"USA\"), airline (\"American Airlines\", \"Frontier Airlines\", \"US Airways\"), uid (7, 8, 12), abbreviation (\"Virgin\", \"Virgin\", \"Continental\") | airports : aviation_terminal (\"Tradewind \", \"Alpena County Regional \", \"Annette Island \"), countryabbrev (\"US \", \"US\"), city (\"Apalachicola \", \"Aiken \", \"Anvik \"), aerodrome_name (\"Tradewind \", \"Alpena County Regional \", \"Annette Island \"), airportcode (\"ARC\", \"ARX\", \"ANY\"), country (\"United States \") | flights : airline (2, 5, 7), sourceairport (\" ATS\", \" AHD\", \" AHN\"), flightno (1129, 240, 831), destairport (\" AHF\", \" ANI\", \" ASY\")", "schema_without_content": "airlines : country , airline , uid , abbreviation | airports : aviation_terminal , countryabbrev , city , aerodrome_name , airportcode , country | flights : airline , sourceairport , flightno , destairport", "extra_map": { "airports": { "airportname": [ "aerodrome_name", "aviation_terminal" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "country", "countryabbrev", "aerodrome_name", "aviation_terminal" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airport code": "airports.AirportCode", "airport name": "airports.AirportName", "city": "airports.City" } }, { "question": "give the #airport code# and #airport name# corresonding to the #city# anthony.", "db_id": "flight_2", "orig_query": "select airportcode, airportname from airports where city = \"Anthony\"", "schema_with_content": "airlines : abbreviation (\"Continental\", \"JetBlue\", \"JetBlue\"), country (\"USA\"), airline (\"Virgin America\", \"US Airways\", \"Allegiant Air\"), uid (8, 6, 6) | airports : code_shortcut (\"QAW\", \"AXN\", \"ANB\"), city (\"Albuquerque \", \"Ashley \", \"Arctic Village \"), country (\"United States \"), countryabbrev (\"US \", \"US\"), airportname (\"Alyeska \", \"Virginia Highlands \", \"Reilly AHP \"), iata_code (\"QAW\", \"AXN\", \"ANB\") | flights : airline (7, 2, 2), destairport (\" AXB\", \" ATS\", \" AST\"), sourceairport (\" ALI\", \" AAF\", \" AXX\"), flightno (649, 302, 145)", "schema_without_content": "airlines : abbreviation , country , airline , uid | airports : code_shortcut , city , country , countryabbrev , airportname , iata_code | flights : airline , destairport , sourceairport , flightno", "extra_map": { "airports": { "airportcode": [ "iata_code", "code_shortcut" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportname", "country", "countryabbrev", "iata_code", "code_shortcut" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airport code": "airports.AirportCode", "airport name": "airports.AirportName", "city": "airports.City" } }, { "question": "which #airline# has #abbreviation# 'ual'?", "db_id": "flight_2", "orig_query": "select airline from airlines where abbreviation = \"UAL\"", "schema_with_content": "airlines : uid (7, 6, 1), country (\"USA\"), abbreviation (\"UAL\", \"American\", \"Delta\"), carrier (\"Virgin America\", \"Northwest Airlines\", \"Allegiant Air\"), company (\"Virgin America\", \"Northwest Airlines\", \"Allegiant Air\") | airports : country (\"United States \"), city (\"Arapahoe \", \"Adak Island \", \"Afton \"), airportname (\"Alpine \", \"Albany NAS \", \"Elmendorf Afb \"), airportcode (\"ALS\", \"ATW\", \"ALE\"), countryabbrev (\"US \", \"US\") | flights : sourceairport (\" ATE\", \" ADK\", \" ARX\"), airline (7, 12, 3), flightno (4, 819, 928), destairport (\" AKC\", \" VJI\", \" APN\")", "schema_without_content": "airlines : uid , country , abbreviation , carrier , company | airports : country , city , airportname , airportcode , countryabbrev | flights : sourceairport , airline , flightno , destairport", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airline": "airlines.Airline", "abbreviation": "airlines.Abbreviation" } }, { "question": "give the #airline with abbreviation# 'ual'.", "db_id": "flight_2", "orig_query": "select airline from airlines where abbreviation = \"UAL\"", "schema_with_content": "airlines : abbreviation (\"Northwest\", \"Southwest\", \"USAir\"), company (\"Delta Airlines\", \"Frontier Airlines\", \"American Airlines\"), carrier (\"Delta Airlines\", \"Frontier Airlines\", \"American Airlines\"), uid (4, 5, 12), country (\"USA\") | airports : countryabbrev (\"US \", \"US\"), airportcode (\"AID\", \"MMI\", \"AKP\"), country (\"United States \"), airportname (\"Akutan \", \"Dougherty County \", \"Alakanuk \"), city (\"Anniston \", \"Ardmore \", \" Alexandria LA \") | flights : destairport (\" AEX\", \" AIB\", \" AGN\"), sourceairport (\" CVO\", \" KQA\", \" AYZ\"), flightno (649, 422, 98), airline (8, 10, 2)", "schema_without_content": "airlines : abbreviation , company , carrier , uid , country | airports : countryabbrev , airportcode , country , airportname , city | flights : destairport , sourceairport , flightno , airline", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airline with abbreviation": "airlines.Airline" } }, { "question": "which #city# and #country is the alton airport# at?", "db_id": "flight_2", "orig_query": "select city, country from airports where airportname = \"Alton\"", "schema_with_content": "airlines : airline (\"Northwest Airlines\", \"American Airlines\", \"Virgin America\"), country (\"USA\"), abbreviation (\"Frontier\", \"Allegiant\", \"Frontier\"), uid (6, 8, 5) | airports : airportname (\"Annette Island \", \"Artesia \", \"Alitak SPB \"), sovereign_state (\"United States \"), nation (\"United States \"), airportcode (\"AIK\", \"ALE\", \"AKC\"), city (\"Algona \", \"Aniak \", \" Neptune \"), countryabbrev (\"US \", \"US\") | flights : destairport (\" AKO\", \" AKK\", \" ARX\"), sourceairport (\" ALX\", \" AHT\", \" AED\"), flightno (549, 900, 1281), airline (9, 2, 4)", "schema_without_content": "airlines : airline , country , abbreviation , uid | airports : airportname , sovereign_state , nation , airportcode , city , countryabbrev | flights : destairport , sourceairport , flightno , airline", "extra_map": { "airports": { "country": [ "nation", "sovereign_state" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "airportname", "countryabbrev", "nation", "sovereign_state" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "city": "airports.City", "country is the Alton airport": "airports.Country" } }, { "question": "which #city# and #country is the alton airport# at?", "db_id": "flight_2", "orig_query": "select city, country from airports where airportname = \"Alton\"", "schema_with_content": "airlines : abbreviation (\"AirTran\", \"Southwest\", \"UAL\"), airline (\"United Airlines\", \"AirTran Airways\", \"Virgin America\"), uid (7, 9, 2), country (\"USA\") | airports : countryabbrev (\"US \", \"US\"), country (\"United States \"), urbanarea (\"Apple Valley \", \"Artesia \", \"Algona \"), metropolis (\"Apple Valley \", \"Artesia \", \"Algona \"), airportname (\"Aspen \", \"Lenawee County \", \"Esler Field \"), airportcode (\"QAW\", \"AMW\", \"ABY\") | flights : sourceairport (\" AHD\", \" ANW\", \" VJI\"), airline (2, 4, 9), flightno (1139, 704, 571), destairport (\" AQY\", \" ANN\", \" AHD\")", "schema_without_content": "airlines : abbreviation , airline , uid , country | airports : countryabbrev , country , urbanarea , metropolis , airportname , airportcode | flights : sourceairport , airline , flightno , destairport", "extra_map": { "airports": { "city": [ "metropolis", "urbanarea" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "airportcode", "airportname", "country", "countryabbrev", "metropolis", "urbanarea" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "city": "airports.City", "country is the Alton airport": "airports.Country" } }, { "question": "give the #city# and #country for the alton airport# .", "db_id": "flight_2", "orig_query": "select city, country from airports where airportname = \"Alton\"", "schema_with_content": "airlines : airline (\"AirTran Airways\", \"Northwest Airlines\", \"Delta Airlines\"), uid (4, 12, 12), abbreviation (\"Continental\", \"USAir\", \"Virgin\"), country (\"USA\") | airports : airportname (\"Anacortes \", \"Aspen \", \"Algona \"), airportcode (\"ALB\", \"APG\", \"AXB\"), countryabbrev (\"US \", \"US\"), city (\"Appleton \", \"Antlers \", \"Akron/Canton \"), nation (\"United States \"), sovereign_state (\"United States \") | flights : destairport (\" AKO\", \" ARC\", \" QAW\"), flightno (1087, 1255, 1260), airline (7, 8, 9), sourceairport (\" TDW\", \" ADG\", \" AYZ\")", "schema_without_content": "airlines : airline , uid , abbreviation , country | airports : airportname , airportcode , countryabbrev , city , nation , sovereign_state | flights : destairport , flightno , airline , sourceairport", "extra_map": { "airports": { "country": [ "nation", "sovereign_state" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "airportname", "countryabbrev", "nation", "sovereign_state" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "city": "airports.City", "country for the Alton airport": "airports.Country" } }, { "question": "give the #city# and #country for the alton airport# .", "db_id": "flight_2", "orig_query": "select city, country from airports where airportname = \"Alton\"", "schema_with_content": "airlines : abbreviation (\"Delta\", \"AirTran\", \"Frontier\"), airline (\"Delta Airlines\", \"American Airlines\", \"Continental Airlines\"), country (\"USA\"), uid (8, 10, 7) | airports : urbanarea (\"Alliance \", \"Abilene \", \"Aleknagik \"), airportname (\"Downtown \", \"Ohio University \", \"Arcata \"), country (\"United States \"), airportcode (\"AKO\", \"EDF\", \"AXN\"), metropolis (\"Alliance \", \"Abilene \", \"Aleknagik \"), countryabbrev (\"US \", \"US\") | flights : sourceairport (\" ADK\", \" AKC\", \" KQA\"), destairport (\" ABR\", \" ESF\", \" AKO\"), flightno (23, 309, 810), airline (1, 2, 8)", "schema_without_content": "airlines : abbreviation , airline , country , uid | airports : urbanarea , airportname , country , airportcode , metropolis , countryabbrev | flights : sourceairport , destairport , flightno , airline", "extra_map": { "airports": { "city": [ "metropolis", "urbanarea" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "airportcode", "airportname", "country", "countryabbrev", "metropolis", "urbanarea" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "city": "airports.City", "country for the Alton airport": "airports.Country" } }, { "question": "what is the #airport name for airport 'ako'# ?", "db_id": "flight_2", "orig_query": "select airportname from airports where airportcode = \"AKO\"", "schema_with_content": "airlines : abbreviation (\"AirTran\", \"Frontier\", \"Frontier\"), country (\"USA\"), airline (\"Virgin America\", \"Continental Airlines\", \"Allegiant Air\"), uid (9, 6, 8) | airports : countryabbrev (\"US \", \"US\"), airportcode (\"ARB\", \"ANW\", \"AAF\"), country (\"United States \"), aerodrome_name (\"Alton \", \"Arctic Village \", \"Orange County Steel Salvage Heliport \"), aviation_terminal (\"Alton \", \"Arctic Village \", \"Orange County Steel Salvage Heliport \"), city (\"Akron/Canton \", \"Akiachak \", \"Ashland \") | flights : destairport (\" AET\", \" ALB\", \" ANA\"), sourceairport (\" AHT\", \" ASX\", \" AKP\"), airline (3, 2, 1), flightno (754, 243, 866)", "schema_without_content": "airlines : abbreviation , country , airline , uid | airports : countryabbrev , airportcode , country , aerodrome_name , aviation_terminal , city | flights : destairport , sourceairport , airline , flightno", "extra_map": { "airports": { "airportname": [ "aerodrome_name", "aviation_terminal" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "country", "countryabbrev", "aerodrome_name", "aviation_terminal" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airport name for airport 'AKO'": "airports.AirportName" } }, { "question": "return the #name of the airport with code# 'ako'.", "db_id": "flight_2", "orig_query": "select airportname from airports where airportcode = \"AKO\"", "schema_with_content": "airlines : airline (\"JetBlue Airways\", \"Delta Airlines\", \"US Airways\"), uid (12, 3, 12), abbreviation (\"Frontier\", \"Frontier\", \"Delta\"), country (\"USA\") | airports : countryabbrev (\"US \", \"US\"), aviation_terminal (\"Fulton International \", \"George Downer \", \"Annette Island \"), aerodrome_name (\"Fulton International \", \"George Downer \", \"Annette Island \"), airportcode (\"ASE\", \"HMN\", \"LTS\"), country (\"United States \"), city (\"Anaheim \", \"Ames \", \"Ada \") | flights : airline (3, 12, 9), destairport (\" AOS\", \" AEL\", \" ANA\"), flightno (1121, 1242, 568), sourceairport (\" AGN\", \" ASX\", \" APG\")", "schema_without_content": "airlines : airline , uid , abbreviation , country | airports : countryabbrev , aviation_terminal , aerodrome_name , airportcode , country , city | flights : airline , destairport , flightno , sourceairport", "extra_map": { "airports": { "airportname": [ "aerodrome_name", "aviation_terminal" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "country", "countryabbrev", "aerodrome_name", "aviation_terminal" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "name of the airport with code": "airports.AirportName" } }, { "question": "what are #airport names at city# 'aberdeen'?", "db_id": "flight_2", "orig_query": "select airportname from airports where city = \"Aberdeen\"", "schema_with_content": "airlines : country (\"USA\"), airline (\"Northwest Airlines\", \"American Airlines\", \"AirTran Airways\"), abbreviation (\"Virgin\", \"Delta\", \"Allegiant\"), uid (2, 1, 8) | airports : airportcode (\"ALZ\", \"ANQ\", \"ACV\"), aviation_terminal (\"Alitak SPB \", \"Amook \", \"Rollang Field \"), countryabbrev (\"US \", \"US\"), city (\"Anvik \", \"Anaheim \", \" Amarillo \"), aerodrome_name (\"Alitak SPB \", \"Amook \", \"Rollang Field \"), country (\"United States \") | flights : destairport (\" AKC\", \" DYS\", \" NDV\"), sourceairport (\" ANP\", \" ESF\", \" ANA\"), airline (3, 9, 11), flightno (1309, 319, 622)", "schema_without_content": "airlines : country , airline , abbreviation , uid | airports : airportcode , aviation_terminal , countryabbrev , city , aerodrome_name , country | flights : destairport , sourceairport , airline , flightno", "extra_map": { "airports": { "airportname": [ "aerodrome_name", "aviation_terminal" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "country", "countryabbrev", "aerodrome_name", "aviation_terminal" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airport names at City": "airports.AirportName" } }, { "question": "what are the #names of airports in aberdeen# ?", "db_id": "flight_2", "orig_query": "select airportname from airports where city = \"Aberdeen\"", "schema_with_content": "airlines : airline (\"AirTran Airways\", \"Allegiant Air\", \"Frontier Airlines\"), abbreviation (\"American\", \"JetBlue\", \"AirTran\"), uid (5, 8, 2), country (\"USA\") | airports : country (\"United States \"), aerodrome_name (\"Outagamie County \", \"Ted Stevens Anchorage International Airport \", \"Aleknagik \"), airportcode (\"ADM\", \"OTS\", \"APG\"), countryabbrev (\"US \", \"US\"), city (\" Aliceville AL \", \"Alameda \", \" Alexandria LA \"), aviation_terminal (\"Outagamie County \", \"Ted Stevens Anchorage International Airport \", \"Aleknagik \") | flights : destairport (\" ALE\", \" ASX\", \" ALX\"), sourceairport (\" AOS\", \" ANY\", \" ANC\"), airline (2, 1, 5), flightno (827, 722, 242)", "schema_without_content": "airlines : airline , abbreviation , uid , country | airports : country , aerodrome_name , airportcode , countryabbrev , city , aviation_terminal | flights : destairport , sourceairport , airline , flightno", "extra_map": { "airports": { "airportname": [ "aerodrome_name", "aviation_terminal" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "country", "countryabbrev", "aerodrome_name", "aviation_terminal" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "names of airports in Aberdeen": "airports.AirportName" } }, { "question": "which #city# has most number of #arriving flights# ?", "db_id": "flight_2", "orig_query": "select t1.city from airports as t1 join flights as t2 on t1.airportcode = t2.destairport group by t1.city order by count(*) desc limit 1", "schema_with_content": "airlines : abbreviation (\"Northwest\", \"UAL\", \"Northwest\"), country (\"USA\"), airline (\"Virgin America\", \"Continental Airlines\", \"JetBlue Airways\"), uid (6, 1, 11) | airports : countryabbrev (\"US \", \"US\"), airportcode (\"AAF\", \"AXS\", \"ANB\"), metropolis (\"Annapolis \", \"Alpena \", \"Algona \"), country (\"United States \"), airportname (\"Altus AFB \", \"Alexandria International \", \"Alexandria Bay \"), urbanarea (\"Annapolis \", \"Alpena \", \"Algona \") | flights : flightno (1114, 905, 1055), destairport (\" ADM\", \" APV\", \" RLI\"), airline (6, 8, 12), sourceairport (\" AKI\", \" ARB\", \" RFK\")", "schema_without_content": "airlines : abbreviation , country , airline , uid | airports : countryabbrev , airportcode , metropolis , country , airportname , urbanarea | flights : flightno , destairport , airline , sourceairport", "extra_map": { "airports": { "city": [ "metropolis", "urbanarea" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "airportcode", "airportname", "country", "countryabbrev", "metropolis", "urbanarea" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "city": "airports.City", "arriving flights": "flights.DestAirport" } }, { "question": "which #city# has the most frequent #destination airport# ?", "db_id": "flight_2", "orig_query": "select t1.city from airports as t1 join flights as t2 on t1.airportcode = t2.destairport group by t1.city order by count(*) desc limit 1", "schema_with_content": "airlines : abbreviation (\"Continental\", \"American\", \"Continental\"), airline (\"AirTran Airways\", \"Allegiant Air\", \"Continental Airlines\"), country (\"USA\"), uid (10, 10, 10) | airports : airportname (\"Ashland \", \"US Army Heliport \", \"Albany International \"), metropolis (\"Albany \", \"Alamosa \", \"Adrian \"), airportcode (\"ANI\", \"APG\", \"ABY\"), countryabbrev (\"US \", \"US\"), country (\"United States \"), urbanarea (\"Albany \", \"Alamosa \", \"Adrian \") | flights : sourceairport (\" EDF\", \" AKP\", \" AFO\"), flightno (168, 1207, 1063), airline (7, 1, 2), destairport (\" ALE\", \" ASX\", \" ARB\")", "schema_without_content": "airlines : abbreviation , airline , country , uid | airports : airportname , metropolis , airportcode , countryabbrev , country , urbanarea | flights : sourceairport , flightno , airline , destairport", "extra_map": { "airports": { "city": [ "metropolis", "urbanarea" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "airportcode", "airportname", "country", "countryabbrev", "metropolis", "urbanarea" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "city": "airports.City", "destination airport": "flights.DestAirport" } }, { "question": "which #city# has most number of #departing flights# ?", "db_id": "flight_2", "orig_query": "select t1.city from airports as t1 join flights as t2 on t1.airportcode = t2.sourceairport group by t1.city order by count(*) desc limit 1", "schema_with_content": "airlines : abbreviation (\"Southwest\", \"Delta\", \"Allegiant\"), airline (\"American Airlines\", \"Southwest Airlines\", \"US Airways\"), country (\"USA\"), uid (6, 2, 4) | airports : urbanarea (\" Neptune \", \"Alice \", \"Annette Island \"), country (\"United States \"), countryabbrev (\"US \", \"US\"), metropolis (\" Neptune \", \"Alice \", \"Annette Island \"), airportname (\"Albuquerque International \", \"McMinn County \", \"Tradewind \"), airportcode (\"ALS\", \"ALB\", \"AHN\") | flights : flightno (245, 178, 6), airline (3, 8, 7), destairport (\" ABI\", \" AHD\", \" MMI\"), sourceairport (\" ANQ\", \" AEX\", \" CAK\")", "schema_without_content": "airlines : abbreviation , airline , country , uid | airports : urbanarea , country , countryabbrev , metropolis , airportname , airportcode | flights : flightno , airline , destairport , sourceairport", "extra_map": { "airports": { "city": [ "metropolis", "urbanarea" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "airportcode", "airportname", "country", "countryabbrev", "metropolis", "urbanarea" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "city": "airports.City", "departing flights": "flights.SourceAirport" } }, { "question": "which #city# is the most frequent #source airport# ?", "db_id": "flight_2", "orig_query": "select t1.city from airports as t1 join flights as t2 on t1.airportcode = t2.sourceairport group by t1.city order by count(*) desc limit 1", "schema_with_content": "airlines : airline (\"United Airlines\", \"Continental Airlines\", \"JetBlue Airways\"), abbreviation (\"Continental\", \"AirTran\", \"USAir\"), country (\"USA\"), uid (6, 9, 1) | airports : country (\"United States \"), airportcode (\"AYZ\", \"AET\", \"KQA\"), metropolis (\"Alamogordo \", \"Aspen \", \" Amarillo \"), urbanarea (\"Alamogordo \", \"Aspen \", \" Amarillo \"), countryabbrev (\"US \", \"US\"), airportname (\"Akhiok SPB \", \"Alpine \", \"Ardmore Municipal Arpt \") | flights : sourceairport (\" AET\", \" AST\", \" ADG\"), flightno (1309, 159, 318), destairport (\" ESF\", \" OTS\", \" ANV\"), airline (11, 10, 11)", "schema_without_content": "airlines : airline , abbreviation , country , uid | airports : country , airportcode , metropolis , urbanarea , countryabbrev , airportname | flights : sourceairport , flightno , destairport , airline", "extra_map": { "airports": { "city": [ "metropolis", "urbanarea" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "airportcode", "airportname", "country", "countryabbrev", "metropolis", "urbanarea" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "city": "airports.City", "source airport": "flights.SourceAirport" } }, { "question": "what is the #code of airport# that has the highest number of #flights# ?", "db_id": "flight_2", "orig_query": "select t1.airportcode from airports as t1 join flights as t2 on t1.airportcode = t2.destairport or t1.airportcode = t2.sourceairport group by t1.airportcode order by count(*) desc limit 1", "schema_with_content": "airlines : uid (8, 4, 5), airline (\"JetBlue Airways\", \"American Airlines\", \"American Airlines\"), country (\"USA\"), abbreviation (\"Allegiant\", \"Continental\", \"Northwest\") | airports : code_shortcut (\"ASX\", \"ATS\", \"ARC\"), airportname (\"Spb \", \"International \", \"Albert Lea \"), city (\"Alexandria Bay \", \"Alamosa \", \"Altus \"), iata_code (\"ASX\", \"ATS\", \"ARC\"), countryabbrev (\"US \", \"US\"), country (\"United States \") | flights : sourceairport (\" AIV\", \" AHD\", \" ANV\"), airline (10, 9, 6), destairport (\" APN\", \" AOS\", \" QAW\"), flightno (148, 373, 159)", "schema_without_content": "airlines : uid , airline , country , abbreviation | airports : code_shortcut , airportname , city , iata_code , countryabbrev , country | flights : sourceairport , airline , destairport , flightno", "extra_map": { "airports": { "airportcode": [ "iata_code", "code_shortcut" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportname", "country", "countryabbrev", "iata_code", "code_shortcut" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "code of airport": "airports.AirportCode", "flights": "flights" } }, { "question": "what is the #airport code# of the airport with the most #flights# ?", "db_id": "flight_2", "orig_query": "select t1.airportcode from airports as t1 join flights as t2 on t1.airportcode = t2.destairport or t1.airportcode = t2.sourceairport group by t1.airportcode order by count(*) desc limit 1", "schema_with_content": "airlines : abbreviation (\"AirTran\", \"Frontier\", \"American\"), country (\"USA\"), airline (\"Virgin America\", \"Allegiant Air\", \"JetBlue Airways\"), uid (3, 1, 3) | airports : city (\"Ardmore \", \"Akron/Canton OH \", \" Alexander City AL \"), country (\"United States \"), countryabbrev (\"US \", \"US\"), code_shortcut (\"ANV\", \"ABL\", \"AKP\"), iata_code (\"ANV\", \"ABL\", \"AKP\"), airportname (\"Albany NAS \", \"Lenawee County \", \"Akiak \") | flights : destairport (\" AHH\", \" ADT\", \" ARB\"), flightno (132, 1112, 451), sourceairport (\" ABY\", \" ANP\", \" AXB\"), airline (11, 2, 8)", "schema_without_content": "airlines : abbreviation , country , airline , uid | airports : city , country , countryabbrev , code_shortcut , iata_code , airportname | flights : destairport , flightno , sourceairport , airline", "extra_map": { "airports": { "airportcode": [ "iata_code", "code_shortcut" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportname", "country", "countryabbrev", "iata_code", "code_shortcut" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airport code": "airports.AirportCode", "flights": "flights" } }, { "question": "what is the #code of airport# that has fewest number of #flights# ?", "db_id": "flight_2", "orig_query": "select t1.airportcode from airports as t1 join flights as t2 on t1.airportcode = t2.destairport or t1.airportcode = t2.sourceairport group by t1.airportcode order by count(*) limit 1", "schema_with_content": "airlines : uid (12, 2, 10), country (\"USA\"), airline (\"US Airways\", \"Southwest Airlines\", \"US Airways\"), abbreviation (\"Allegiant\", \"Delta\", \"Delta\") | airports : city (\"Alitak \", \"Algona \", \"Amarillo \"), iata_code (\"NGZ\", \"ANP\", \"AKP\"), countryabbrev (\"US \", \"US\"), country (\"United States \"), airportname (\"Rollang Field \", \"Arctic Village \", \"Anthony \"), code_shortcut (\"NGZ\", \"ANP\", \"AKP\") | flights : destairport (\" ANV\", \" AOS\", \" ADM\"), flightno (625, 430, 1287), sourceairport (\" AXN\", \" QAW\", \" AMA\"), airline (1, 8, 3)", "schema_without_content": "airlines : uid , country , airline , abbreviation | airports : city , iata_code , countryabbrev , country , airportname , code_shortcut | flights : destairport , flightno , sourceairport , airline", "extra_map": { "airports": { "airportcode": [ "iata_code", "code_shortcut" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportname", "country", "countryabbrev", "iata_code", "code_shortcut" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "code of airport": "airports.AirportCode", "flights": "flights" } }, { "question": "give the #code of the airport# with the least flights.", "db_id": "flight_2", "orig_query": "select t1.airportcode from airports as t1 join flights as t2 on t1.airportcode = t2.destairport or t1.airportcode = t2.sourceairport group by t1.airportcode order by count(*) limit 1", "schema_with_content": "airlines : airline (\"US Airways\", \"Virgin America\", \"JetBlue Airways\"), abbreviation (\"USAir\", \"American\", \"Continental\"), country (\"USA\"), uid (2, 7, 2) | airports : city (\"Alakanuk \", \"Arapahoe \", \"Ames \"), iata_code (\"ABQ\", \"KKI\", \"ALE\"), countryabbrev (\"US \", \"US\"), code_shortcut (\"ABQ\", \"KKI\", \"ALE\"), airportname (\"Aniak \", \"Anita Bay \", \"Holloman AFB \"), country (\"United States \") | flights : sourceairport (\" ASX\", \" ALE\", \" JLH\"), flightno (1231, 857, 1535), airline (1, 11, 3), destairport (\" EDF\", \" AXN\", \" AKK\")", "schema_without_content": "airlines : airline , abbreviation , country , uid | airports : city , iata_code , countryabbrev , code_shortcut , airportname , country | flights : sourceairport , flightno , airline , destairport", "extra_map": { "airports": { "airportcode": [ "iata_code", "code_shortcut" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportname", "country", "countryabbrev", "iata_code", "code_shortcut" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "code of the airport": "airports.AirportCode" } }, { "question": "which #airline# has most number of #flights# ?", "db_id": "flight_2", "orig_query": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline order by count(*) desc limit 1", "schema_with_content": "airlines : company (\"United Airlines\", \"American Airlines\", \"Southwest Airlines\"), country (\"USA\"), abbreviation (\"UAL\", \"Continental\", \"Southwest\"), uid (10, 9, 12), carrier (\"United Airlines\", \"American Airlines\", \"Southwest Airlines\") | airports : city (\"Arcata \", \"Abilene \", \"Abilene \"), airportname (\"Colorado Plains Regional Airport \", \"Alitak SPB \", \"Ft Mcclellan Bus Trml \"), airportcode (\"ASE\", \"AIA\", \"APG\"), countryabbrev (\"US \", \"US\"), country (\"United States \") | flights : flightno (113, 855, 925), airline (11, 4, 10), destairport (\" AND\", \" VJI\", \" AIK\"), sourceairport (\" AID\", \" AEX\", \" ANA\")", "schema_without_content": "airlines : company , country , abbreviation , uid , carrier | airports : city , airportname , airportcode , countryabbrev , country | flights : flightno , airline , destairport , sourceairport", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airline": "airlines.Airline", "flights": "flights" } }, { "question": "what #airline# serves the most #flights# ?", "db_id": "flight_2", "orig_query": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline order by count(*) desc limit 1", "schema_with_content": "airlines : uid (9, 8, 2), country (\"USA\"), carrier (\"Delta Airlines\", \"Continental Airlines\", \"United Airlines\"), abbreviation (\"American\", \"USAir\", \"Northwest\"), company (\"Delta Airlines\", \"Continental Airlines\", \"United Airlines\") | airports : airportname (\"Municipal \", \"Virginia Highlands \", \"Asbury Park \"), country (\"United States \"), countryabbrev (\"US \", \"US\"), airportcode (\"ALX\", \"ALX\", \"AQY\"), city (\"Ainsworth \", \"Annette Island \", \"Alton \") | flights : airline (9, 7, 9), sourceairport (\" ABI\", \" AFO\", \" VJI\"), destairport (\" AKI\", \" AMA\", \" AKP\"), flightno (149, 983, 225)", "schema_without_content": "airlines : uid , country , carrier , abbreviation , company | airports : airportname , country , countryabbrev , airportcode , city | flights : airline , sourceairport , destairport , flightno", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airline": "airlines.Airline", "flights": "flights" } }, { "question": "find the #abbreviation# and #country of the airline# that has fewest number of flights?", "db_id": "flight_2", "orig_query": "select t1.abbreviation, t1.country from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline order by count(*) limit 1", "schema_with_content": "airlines : airline (\"Northwest Airlines\", \"AirTran Airways\", \"Southwest Airlines\"), uid (1, 9, 11), territory (\"USA\"), abbreviation (\"Allegiant\", \"AirTran\", \"Southwest\"), nation (\"USA\") | airports : countryabbrev (\"US \", \"US\"), city (\"Anaktuvuk \", \"Akutan \", \" Aliceville AL \"), country (\"United States \"), airportcode (\"ALB\", \"KQA\", \"QAW\"), airportname (\"Lee \", \"Akutan \", \"USN Heliport \") | flights : flightno (828, 1040, 294), airline (11, 6, 10), sourceairport (\" AHT\", \" AHF\", \" ALM\"), destairport (\" ANV\", \" AKK\", \" ABL\")", "schema_without_content": "airlines : airline , uid , territory , abbreviation , nation | airports : countryabbrev , city , country , airportcode , airportname | flights : flightno , airline , sourceairport , destairport", "extra_map": { "airlines": { "country": [ "nation", "territory" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "nation", "territory" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "abbreviation": "airlines.Abbreviation", "country of the airline": "airlines.Country" } }, { "question": "find the #abbreviation# and #country of the airline# that has fewest number of flights?", "db_id": "flight_2", "orig_query": "select t1.abbreviation, t1.country from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline order by count(*) limit 1", "schema_with_content": "airlines : airline (\"Allegiant Air\", \"Virgin America\", \"JetBlue Airways\"), short_name (\"Frontier\", \"Southwest\", \"Virgin\"), code (\"Frontier\", \"Southwest\", \"Virgin\"), uid (11, 10, 10), country (\"USA\") | airports : airportcode (\"AXX\", \"AHH\", \"AOS\"), countryabbrev (\"US \", \"US\"), airportname (\"Municipal \", \"Albuquerque International \", \"Elmendorf Afb \"), country (\"United States \"), city (\"Ada \", \"Angel Fire \", \"Ambler \") | flights : airline (10, 9, 12), destairport (\" AEL\", \" AXX\", \" AHD\"), flightno (950, 659, 513), sourceairport (\" ALN\", \" DYS\", \" CAK\")", "schema_without_content": "airlines : airline , short_name , code , uid , country | airports : airportcode , countryabbrev , airportname , country , city | flights : airline , destairport , flightno , sourceairport", "extra_map": { "airlines": { "abbreviation": [ "short_name", "code" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "country", "short_name", "code" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "abbreviation": "airlines.Abbreviation", "country of the airline": "airlines.Country" } }, { "question": "what is the #abbreviation# of the airilne has the fewest #flights# and what #country# is it in?", "db_id": "flight_2", "orig_query": "select t1.abbreviation, t1.country from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline order by count(*) limit 1", "schema_with_content": "airlines : territory (\"USA\"), uid (10, 3, 10), airline (\"AirTran Airways\", \"Southwest Airlines\", \"Virgin America\"), abbreviation (\"JetBlue\", \"UAL\", \"USAir\"), nation (\"USA\") | airports : airportname (\"Ames \", \"Altus AFB \", \"Thomas C Russell Fld \"), countryabbrev (\"US \", \"US\"), airportcode (\"CAK\", \"AXN\", \"VJI\"), city (\"Akron/Canton OH \", \"Amook \", \"Annette Island \"), country (\"United States \") | flights : sourceairport (\" APN\", \" ATE\", \" NAB\"), flightno (179, 920, 69), airline (5, 12, 5), destairport (\" ADM\", \" AKI\", \" ANC\")", "schema_without_content": "airlines : territory , uid , airline , abbreviation , nation | airports : airportname , countryabbrev , airportcode , city , country | flights : sourceairport , flightno , airline , destairport", "extra_map": { "airlines": { "country": [ "nation", "territory" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "nation", "territory" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "abbreviation": "airlines.Abbreviation", "flights": "flights", "country": "airlines.Country", "airline": "airlines" } }, { "question": "what is the #abbreviation# of the airilne has the fewest #flights# and what #country# is it in?", "db_id": "flight_2", "orig_query": "select t1.abbreviation, t1.country from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline order by count(*) limit 1", "schema_with_content": "airlines : code (\"American\", \"AirTran\", \"Delta\"), country (\"USA\"), airline (\"Allegiant Air\", \"Southwest Airlines\", \"Allegiant Air\"), short_name (\"American\", \"AirTran\", \"Delta\"), uid (6, 5, 10) | airports : countryabbrev (\"US \", \"US\"), airportname (\"Algona \", \"Adak Island Ns \", \"Holloman AFB \"), city (\"Alexandria Bay \", \"Alamosa \", \"Anaheim \"), airportcode (\"NGZ\", \"NAB\", \"APV\"), country (\"United States \") | flights : destairport (\" AMA\", \" AXB\", \" JLH\"), airline (6, 10, 12), sourceairport (\" AIK\", \" CAK\", \" AHN\"), flightno (364, 442, 206)", "schema_without_content": "airlines : code , country , airline , short_name , uid | airports : countryabbrev , airportname , city , airportcode , country | flights : destairport , airline , sourceairport , flightno", "extra_map": { "airlines": { "abbreviation": [ "short_name", "code" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "country", "short_name", "code" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "abbreviation": "airlines.Abbreviation", "flights": "flights", "country": "airlines.Country", "airline": "airlines" } }, { "question": "what are #airlines# that have some #flight departing from airport# 'ahd'?", "db_id": "flight_2", "orig_query": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"AHD\"", "schema_with_content": "airlines : uid (1, 5, 8), country (\"USA\"), carrier (\"Allegiant Air\", \"Frontier Airlines\", \"American Airlines\"), abbreviation (\"Allegiant\", \"Delta\", \"Allegiant\"), company (\"Allegiant Air\", \"Frontier Airlines\", \"American Airlines\") | airports : airportname (\"Alitak SPB \", \"Alliance \", \"Astoria \"), airportcode (\"ADR\", \"VJI\", \"ANQ\"), city (\"Aniak \", \"Akron/Canton \", \"Apalachicola \"), countryabbrev (\"US \", \"US\"), country (\"United States \") | flights : sourceairport (\" ASE\", \" HMN\", \" RFK\"), airline (11, 4, 4), destairport (\" ANY\", \" NAB\", \" ALE\"), flightno (1267, 1254, 383)", "schema_without_content": "airlines : uid , country , carrier , abbreviation , company | airports : airportname , airportcode , city , countryabbrev , country | flights : sourceairport , airline , destairport , flightno", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airlines": "airlines.Airline", "flight departing from airport": "flights.SourceAirport" } }, { "question": "which #airlines# have a flight with #source airport# ahd?", "db_id": "flight_2", "orig_query": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"AHD\"", "schema_with_content": "airlines : uid (5, 6, 2), company (\"United Airlines\", \"Virgin America\", \"AirTran Airways\"), country (\"USA\"), abbreviation (\"USAir\", \"Virgin\", \"Delta\"), carrier (\"United Airlines\", \"Virgin America\", \"AirTran Airways\") | airports : country (\"United States \"), airportname (\"Arcata \", \"Alexandria Bay \", \"Ashley \"), city (\"Arapahoe \", \"Akiak \", \"Aniak \"), airportcode (\"AED\", \"ALS\", \"ALZ\"), countryabbrev (\"US \", \"US\") | flights : airline (6, 5, 8), flightno (1127, 486, 791), destairport (\" WKK\", \" RFK\", \" AIK\"), sourceairport (\" ANY\", \" ARX\", \" HMN\")", "schema_without_content": "airlines : uid , company , country , abbreviation , carrier | airports : country , airportname , city , airportcode , countryabbrev | flights : airline , flightno , destairport , sourceairport", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airlines": "airlines.Airline", "source airport": "flights.SourceAirport" } }, { "question": "what are #airlines# that have #flights# arriving at #airport# 'ahd'?", "db_id": "flight_2", "orig_query": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.destairport = \"AHD\"", "schema_with_content": "airlines : abbreviation (\"American\", \"Allegiant\", \"Southwest\"), company (\"Allegiant Air\", \"AirTran Airways\", \"Allegiant Air\"), country (\"USA\"), carrier (\"Allegiant Air\", \"AirTran Airways\", \"Allegiant Air\"), uid (10, 11, 7) | airports : airportname (\"NAS \", \"Amchitka \", \"Alton \"), country (\"United States \"), countryabbrev (\"US \", \"US\"), city (\"Ambler \", \"Appleton \", \"Akutan \"), airportcode (\"AXG\", \"ADT\", \"ANN\") | flights : airline (1, 9, 5), sourceairport (\" ANB\", \" ANC\", \" ABR\"), destairport (\" APV\", \" CVO\", \" ABI\"), flightno (559, 653, 969)", "schema_without_content": "airlines : abbreviation , company , country , carrier , uid | airports : airportname , country , countryabbrev , city , airportcode | flights : airline , sourceairport , destairport , flightno", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airlines": "airlines.Airline", "flights": "flights", "airport": "flights.DestAirport" } }, { "question": "which #airlines# have a flight with #destination airport# ahd?", "db_id": "flight_2", "orig_query": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.destairport = \"AHD\"", "schema_with_content": "airlines : abbreviation (\"Northwest\", \"American\", \"Continental\"), uid (5, 10, 8), company (\"American Airlines\", \"Allegiant Air\", \"United Airlines\"), carrier (\"American Airlines\", \"Allegiant Air\", \"United Airlines\"), country (\"USA\") | airports : countryabbrev (\"US \", \"US\"), airportcode (\"ATO\", \"AIA\", \"ASY\"), airportname (\"Alton \", \"Ada \", \"NAS \"), city (\" Alexander City AL \", \"Albany \", \"Aberdeen \"), country (\"United States \") | flights : sourceairport (\" AAF\", \" ALI\", \" AMN\"), flightno (1167, 720, 595), destairport (\" ATW\", \" AND\", \" AHD\"), airline (9, 3, 3)", "schema_without_content": "airlines : abbreviation , uid , company , carrier , country | airports : countryabbrev , airportcode , airportname , city , country | flights : sourceairport , flightno , destairport , airline", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airlines": "airlines.Airline", "destination airport": "flights.DestAirport" } }, { "question": "find all #airlines# that have #flights# from both #airports 'apg'# and 'cvo'.", "db_id": "flight_2", "orig_query": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"APG\" intersect select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"CVO\"", "schema_with_content": "airlines : company (\"Virgin America\", \"Virgin America\", \"Northwest Airlines\"), country (\"USA\"), carrier (\"Virgin America\", \"Virgin America\", \"Northwest Airlines\"), abbreviation (\"Allegiant\", \"Northwest\", \"Southwest\"), uid (5, 10, 7) | airports : city (\"Albert Lea \", \"Alameda \", \"Albert Lea \"), airportcode (\"VJI\", \"AIB\", \"AYZ\"), airportname (\"Alexandria International \", \"Alexandria Bay \", \"Albany NAS \"), countryabbrev (\"US \", \"US\"), country (\"United States \") | flights : flightno (763, 889, 276), destairport (\" LTS\", \" ANB\", \" RLI\"), sourceairport (\" ATW\", \" AKO\", \" ALN\"), airline (11, 2, 8)", "schema_without_content": "airlines : company , country , carrier , abbreviation , uid | airports : city , airportcode , airportname , countryabbrev , country | flights : flightno , destairport , sourceairport , airline", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airlines": "airlines", "flights": "flights.SourceAirport", "airports 'APG'": "flights.SourceAirport", "airports 'CVO'": "flights.SourceAirport" } }, { "question": "which #airlines# have #departing flights# from both #apg# and #cvo# airports?", "db_id": "flight_2", "orig_query": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"APG\" intersect select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"CVO\"", "schema_with_content": "airlines : uid (3, 3, 3), company (\"Delta Airlines\", \"JetBlue Airways\", \"AirTran Airways\"), country (\"USA\"), abbreviation (\"Northwest\", \"American\", \"UAL\"), carrier (\"Delta Airlines\", \"JetBlue Airways\", \"AirTran Airways\") | airports : airportcode (\"ARB\", \"ADK\", \"ANV\"), country (\"United States \"), city (\"Alameda \", \"Anacostia \", \"Angoon \"), countryabbrev (\"US \", \"US\"), airportname (\"Algona \", \"Anniston Metropolitan \", \"Reilly AHP \") | flights : airline (4, 2, 7), destairport (\" OTS\", \" ADM\", \" ANQ\"), flightno (378, 965, 55), sourceairport (\" AUK\", \" VJI\", \" ADR\")", "schema_without_content": "airlines : uid , company , country , abbreviation , carrier | airports : airportcode , country , city , countryabbrev , airportname | flights : airline , destairport , flightno , sourceairport", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airlines": "airlines.Airline", "departing flights": "flights.SourceAirport", "APG": "flights.SourceAirport", "CVO": "flights.SourceAirport" } }, { "question": "find all #airlines# that have #flights# from #airport 'cvo'# but not from 'apg'.", "db_id": "flight_2", "orig_query": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"CVO\" except select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"APG\"", "schema_with_content": "airlines : abbreviation (\"Northwest\", \"Delta\", \"UAL\"), company (\"Northwest Airlines\", \"Allegiant Air\", \"US Airways\"), uid (9, 4, 7), carrier (\"Northwest Airlines\", \"Allegiant Air\", \"US Airways\"), country (\"USA\") | airports : airportname (\"Ashland \", \"Angoon \", \"Ada \"), city (\"Aleknagik \", \"Apple Valley \", \"Alyeska \"), airportcode (\"RLI\", \"NGZ\", \"ANA\"), countryabbrev (\"US \", \"US\"), country (\"United States \") | flights : airline (11, 12, 6), destairport (\" MRI\", \" ALZ\", \" JLH\"), flightno (1126, 243, 1376), sourceairport (\" AED\", \" ALX\", \" EDF\")", "schema_without_content": "airlines : abbreviation , company , uid , carrier , country | airports : airportname , city , airportcode , countryabbrev , country | flights : airline , destairport , flightno , sourceairport", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airlines": "airlines", "flights": "flights", "airport 'CVO'": "flights.SourceAirport", "airport 'APG'": "flights.SourceAirport" } }, { "question": "which #airlines# have #departures from cvo# but not from #apg# airports?", "db_id": "flight_2", "orig_query": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"CVO\" except select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"APG\"", "schema_with_content": "airlines : country (\"USA\"), carrier (\"Continental Airlines\", \"United Airlines\", \"American Airlines\"), company (\"Continental Airlines\", \"United Airlines\", \"American Airlines\"), uid (9, 5, 4), abbreviation (\"UAL\", \"Frontier\", \"Frontier\") | airports : airportcode (\"ALN\", \"ARX\", \"JLH\"), airportname (\"Akhiok SPB \", \"Alakanuk \", \"Anvik \"), country (\"United States \"), countryabbrev (\"US \", \"US\"), city (\"Amityville \", \"Aleknagik \", \"Ashley \") | flights : flightno (666, 331, 455), airline (8, 6, 2), destairport (\" AUK\", \" ANN\", \" AYZ\"), sourceairport (\" ANP\", \" AHT\", \" ANQ\")", "schema_without_content": "airlines : country , carrier , company , uid , abbreviation | airports : airportcode , airportname , country , countryabbrev , city | flights : flightno , airline , destairport , sourceairport", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airlines": "airlines.Airline", "departures from CVO": "flights.SourceAirport", "APG": "flights.SourceAirport" } }, { "question": "find all #airlines# that have at least 10 #flights# .", "db_id": "flight_2", "orig_query": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline having count(*) > 10", "schema_with_content": "airlines : country (\"USA\"), carrier (\"Continental Airlines\", \"Allegiant Air\", \"Virgin America\"), uid (11, 8, 12), company (\"Continental Airlines\", \"Allegiant Air\", \"Virgin America\"), abbreviation (\"UAL\", \"JetBlue\", \"American\") | airports : country (\"United States \"), airportname (\"Anvik \", \"Angel Fire \", \"Anvik \"), airportcode (\"ANY\", \"AET\", \"AMA\"), countryabbrev (\"US \", \"US\"), city (\"Aiken \", \"Anita Bay \", \"Andrews \") | flights : destairport (\" AGN\", \" AND\", \" AXB\"), flightno (559, 460, 485), sourceairport (\" ALZ\", \" AKI\", \" ALB\"), airline (4, 3, 4)", "schema_without_content": "airlines : country , carrier , uid , company , abbreviation | airports : country , airportname , airportcode , countryabbrev , city | flights : destairport , flightno , sourceairport , airline", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airlines": "airlines.Airline", "flights": "flights" } }, { "question": "which #airlines# have at least 10 #flights# ?", "db_id": "flight_2", "orig_query": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline having count(*) > 10", "schema_with_content": "airlines : abbreviation (\"Delta\", \"Allegiant\", \"JetBlue\"), country (\"USA\"), uid (11, 6, 6), company (\"American Airlines\", \"AirTran Airways\", \"US Airways\"), carrier (\"American Airlines\", \"AirTran Airways\", \"US Airways\") | airports : country (\"United States \"), city (\"Adrian \", \"Alma \", \"Apple Valley \"), airportname (\"Rollang Field \", \"Arcata \", \"Angel Fire \"), airportcode (\"AFO\", \"HMN\", \"ABL\"), countryabbrev (\"US \", \"US\") | flights : flightno (720, 250, 442), sourceairport (\" AEL\", \" RLI\", \" AXG\"), airline (6, 2, 11), destairport (\" ARB\", \" OTS\", \" ADG\")", "schema_without_content": "airlines : abbreviation , country , uid , company , carrier | airports : country , city , airportname , airportcode , countryabbrev | flights : flightno , sourceairport , airline , destairport", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airlines": "airlines.Airline", "flights": "flights" } }, { "question": "find all #airlines# that have fewer than 200 #flights# .", "db_id": "flight_2", "orig_query": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline having count(*) < 200", "schema_with_content": "airlines : abbreviation (\"Allegiant\", \"American\", \"American\"), uid (9, 6, 11), carrier (\"US Airways\", \"Southwest Airlines\", \"US Airways\"), company (\"US Airways\", \"Southwest Airlines\", \"US Airways\"), country (\"USA\") | airports : city (\"Aberdeen \", \" Amarillo \", \"Abilene \"), countryabbrev (\"US \", \"US\"), country (\"United States \"), airportname (\"Colorado Plains Regional Airport \", \"Alton \", \"Alpena County Regional \"), airportcode (\"NAB\", \"ADT\", \"ANW\") | flights : destairport (\" AXB\", \" AID\", \" ARB\"), sourceairport (\" ANP\", \" AHH\", \" ALZ\"), airline (5, 3, 9), flightno (1300, 206, 336)", "schema_without_content": "airlines : abbreviation , uid , carrier , company , country | airports : city , countryabbrev , country , airportname , airportcode | flights : destairport , sourceairport , airline , flightno", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airlines": "airlines.Airline", "flights": "flights" } }, { "question": "which #airlines# have less than 200 #flights# ?", "db_id": "flight_2", "orig_query": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline having count(*) < 200", "schema_with_content": "airlines : uid (10, 12, 1), abbreviation (\"American\", \"Northwest\", \"USAir\"), company (\"Virgin America\", \"US Airways\", \"Frontier Airlines\"), carrier (\"Virgin America\", \"US Airways\", \"Frontier Airlines\"), country (\"USA\") | airports : city (\"Amook \", \"Anthony \", \"Antlers \"), airportcode (\"ADG\", \"AEL\", \"JLH\"), countryabbrev (\"US \", \"US\"), country (\"United States \"), airportname (\"Ardmore Municipal Arpt \", \"Alitak SPB \", \"Ada \") | flights : destairport (\" AHD\", \" ANI\", \" ABY\"), flightno (4, 313, 1128), sourceairport (\" MRI\", \" EDF\", \" ARX\"), airline (11, 2, 12)", "schema_without_content": "airlines : uid , abbreviation , company , carrier , country | airports : city , airportcode , countryabbrev , country , airportname | flights : destairport , flightno , sourceairport , airline", "extra_map": { "airlines": { "airline": [ "carrier", "company" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "abbreviation", "country", "carrier", "company" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airlines": "airlines.Airline", "flights": "flights" } }, { "question": "what are #flight numbers of airline# \"united airlines\"?", "db_id": "flight_2", "orig_query": "select t1.flightno from flights as t1 join airlines as t2 on t2.uid = t1.airline where t2.airline = \"United Airlines\"", "schema_with_content": "airlines : airline (\"Southwest Airlines\", \"Delta Airlines\", \"Frontier Airlines\"), abbreviation (\"American\", \"Southwest\", \"Continental\"), uid (7, 1, 12), country (\"USA\") | airports : country (\"United States \"), city (\"Alyeska \", \"Ainsworth \", \"Algona \"), airportname (\"Angoon \", \"Anniston Metropolitan \", \"Alitak SPB \"), airportcode (\"AIK\", \"AET\", \"AXS\"), countryabbrev (\"US \", \"US\") | flights : airline (7, 3, 10), flight_number (1377, 479, 488), sourceairport (\" ABQ\", \" AIA\", \" AHN\"), route_number (1377, 479, 488), destairport (\" ALZ\", \" ALX\", \" ABL\")", "schema_without_content": "airlines : airline , abbreviation , uid , country | airports : country , city , airportname , airportcode , countryabbrev | flights : airline , flight_number , sourceairport , route_number , destairport", "extra_map": { "flights": { "flightno": [ "flight_number", "route_number" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "sourceairport", "destairport", "flight_number", "route_number" ] }, "column_linking_gt": { "flight numbers of Airline": "flights.FlightNo" } }, { "question": "which #flight numbers# correspond to #united airlines flights# ?", "db_id": "flight_2", "orig_query": "select t1.flightno from flights as t1 join airlines as t2 on t2.uid = t1.airline where t2.airline = \"United Airlines\"", "schema_with_content": "airlines : abbreviation (\"JetBlue\", \"Frontier\", \"Southwest\"), country (\"USA\"), uid (3, 2, 9), airline (\"United Airlines\", \"Virgin America\", \"Southwest Airlines\") | airports : airportname (\"Allakaket \", \"International \", \"Outagamie County \"), airportcode (\"AIB\", \"ALE\", \"KKI\"), countryabbrev (\"US \", \"US\"), country (\"United States \"), city (\" Neptune \", \"Alton \", \"Annette Island \") | flights : destairport (\" EDF\", \" DYS\", \" NGZ\"), sourceairport (\" ADT\", \" AHN\", \" RLI\"), route_number (1357, 1190, 1006), flight_number (1357, 1190, 1006), airline (7, 3, 10)", "schema_without_content": "airlines : abbreviation , country , uid , airline | airports : airportname , airportcode , countryabbrev , country , city | flights : destairport , sourceairport , route_number , flight_number , airline", "extra_map": { "flights": { "flightno": [ "flight_number", "route_number" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "sourceairport", "destairport", "flight_number", "route_number" ] }, "column_linking_gt": { "flight numbers": "flights.FlightNo", "United Airlines flights": "airlines.Airline" } }, { "question": "what are #flight numbers# of flights #departing from airport# \"apg\"?", "db_id": "flight_2", "orig_query": "select flightno from flights where sourceairport = \"APG\"", "schema_with_content": "airlines : abbreviation (\"UAL\", \"UAL\", \"Delta\"), airline (\"AirTran Airways\", \"Southwest Airlines\", \"Continental Airlines\"), uid (7, 7, 4), country (\"USA\") | airports : countryabbrev (\"US \", \"US\"), airportname (\"Albuquerque International \", \"Allakaket \", \"Artesia \"), country (\"United States \"), city (\"Alliance \", \"Arcata \", \"Alliance \"), airportcode (\"AFO\", \"AQY\", \"ASY\") | flights : sourceairport (\" ASE\", \" ALN\", \" CVO\"), route_number (10, 83, 1421), flight_number (10, 83, 1421), destairport (\" ESF\", \" RLI\", \" ESF\"), airline (6, 5, 8)", "schema_without_content": "airlines : abbreviation , airline , uid , country | airports : countryabbrev , airportname , country , city , airportcode | flights : sourceairport , route_number , flight_number , destairport , airline", "extra_map": { "flights": { "flightno": [ "flight_number", "route_number" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "sourceairport", "destairport", "flight_number", "route_number" ] }, "column_linking_gt": { "flight numbers": "flights.FlightNo", "departing from Airport": "flights.SourceAirport" } }, { "question": "give the #flight numbers# of flights #leaving from# apg.", "db_id": "flight_2", "orig_query": "select flightno from flights where sourceairport = \"APG\"", "schema_with_content": "airlines : country (\"USA\"), airline (\"Continental Airlines\", \"Frontier Airlines\", \"Northwest Airlines\"), uid (4, 11, 12), abbreviation (\"Continental\", \"USAir\", \"Virgin\") | airports : airportname (\"Outagamie County \", \"Lenawee County \", \"Amchitka \"), country (\"United States \"), countryabbrev (\"US \", \"US\"), city (\"Alameda \", \"Abilene \", \"Annette Island \"), airportcode (\"ARC\", \"ASX\", \"ASE\") | flights : airline (6, 6, 2), sourceairport (\" APN\", \" ASE\", \" ATS\"), flight_number (890, 1347, 600), destairport (\" APN\", \" ALM\", \" NGZ\"), route_number (890, 1347, 600)", "schema_without_content": "airlines : country , airline , uid , abbreviation | airports : airportname , country , countryabbrev , city , airportcode | flights : airline , sourceairport , flight_number , destairport , route_number", "extra_map": { "flights": { "flightno": [ "flight_number", "route_number" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "sourceairport", "destairport", "flight_number", "route_number" ] }, "column_linking_gt": { "flight numbers": "flights.FlightNo", "leaving from": "flights.SourceAirport" } }, { "question": "what are #flight numbers of flights arriving at airport# \"apg\"?", "db_id": "flight_2", "orig_query": "select flightno from flights where destairport = \"APG\"", "schema_with_content": "airlines : airline (\"United Airlines\", \"US Airways\", \"US Airways\"), uid (10, 12, 2), abbreviation (\"UAL\", \"Continental\", \"Virgin\"), country (\"USA\") | airports : city (\"Ainsworth \", \"Astoria \", \"Afton \"), country (\"United States \"), airportname (\"Arctic Village \", \"Fulton International \", \"Aleknagik \"), airportcode (\"ATS\", \"ADG\", \"ASX\"), countryabbrev (\"US \", \"US\") | flights : destairport (\" ABI\", \" ADK\", \" AEX\"), sourceairport (\" AIK\", \" ANV\", \" ALX\"), flight_number (433, 646, 1300), route_number (433, 646, 1300), airline (6, 4, 12)", "schema_without_content": "airlines : airline , uid , abbreviation , country | airports : city , country , airportname , airportcode , countryabbrev | flights : destairport , sourceairport , flight_number , route_number , airline", "extra_map": { "flights": { "flightno": [ "flight_number", "route_number" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "sourceairport", "destairport", "flight_number", "route_number" ] }, "column_linking_gt": { "flight numbers of flights arriving at Airport": "flights.FlightNo" } }, { "question": "give the #flight numbers of flights landing# at apg.", "db_id": "flight_2", "orig_query": "select flightno from flights where destairport = \"APG\"", "schema_with_content": "airlines : country (\"USA\"), abbreviation (\"Allegiant\", \"Delta\", \"Southwest\"), uid (1, 8, 4), airline (\"Delta Airlines\", \"Frontier Airlines\", \"Frontier Airlines\") | airports : airportcode (\"AFO\", \"AKP\", \"AKK\"), airportname (\"Colorado Plains Regional Airport \", \"Amchitka \", \"Anita Bay \"), countryabbrev (\"US \", \"US\"), country (\"United States \"), city (\"Angola \", \"Andrews \", \"Amook \") | flights : destairport (\" AXG\", \" ALM\", \" CVO\"), route_number (12, 566, 1279), airline (8, 8, 9), sourceairport (\" ANA\", \" AUK\", \" ANV\"), flight_number (12, 566, 1279)", "schema_without_content": "airlines : country , abbreviation , uid , airline | airports : airportcode , airportname , countryabbrev , country , city | flights : destairport , route_number , airline , sourceairport , flight_number", "extra_map": { "flights": { "flightno": [ "flight_number", "route_number" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "sourceairport", "destairport", "flight_number", "route_number" ] }, "column_linking_gt": { "flight numbers of flights landing": "flights.FlightNo" } }, { "question": "what are #flight numbers# of flights #departing from city# \"aberdeen \"?", "db_id": "flight_2", "orig_query": "select t1.flightno from flights as t1 join airports as t2 on t1.sourceairport = t2.airportcode where t2.city = \"Aberdeen\"", "schema_with_content": "airlines : airline (\"Frontier Airlines\", \"AirTran Airways\", \"Virgin America\"), abbreviation (\"JetBlue\", \"Virgin\", \"Virgin\"), country (\"USA\"), uid (7, 2, 9) | airports : city (\"Alice \", \" Alexandria LA \", \"Arcata \"), country (\"United States \"), airportname (\"Akiak \", \"Antlers \", \"Artesia \"), airportcode (\"AIK\", \"EDF\", \"AED\"), countryabbrev (\"US \", \"US\") | flights : airline (3, 6, 9), sourceairport (\" VJI\", \" AKI\", \" QAW\"), destairport (\" KKI\", \" QAW\", \" AMN\"), route_number (525, 692, 189), flight_number (525, 692, 189)", "schema_without_content": "airlines : airline , abbreviation , country , uid | airports : city , country , airportname , airportcode , countryabbrev | flights : airline , sourceairport , destairport , route_number , flight_number", "extra_map": { "flights": { "flightno": [ "flight_number", "route_number" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "sourceairport", "destairport", "flight_number", "route_number" ] }, "column_linking_gt": { "flight numbers": "flights.FlightNo", "departing from City": "airports.City" } }, { "question": "give the #flight numbers# of flights #leaving from aberdeen# .", "db_id": "flight_2", "orig_query": "select t1.flightno from flights as t1 join airports as t2 on t1.sourceairport = t2.airportcode where t2.city = \"Aberdeen\"", "schema_with_content": "airlines : country (\"USA\"), uid (1, 8, 11), abbreviation (\"Delta\", \"USAir\", \"Delta\"), airline (\"United Airlines\", \"Northwest Airlines\", \"American Airlines\") | airports : countryabbrev (\"US \", \"US\"), airportcode (\"AMA\", \"AOS\", \"ACV\"), country (\"United States \"), airportname (\"George Downer \", \"Anaktuvuk \", \"Municipal \"), city (\"Aniak \", \"Adrian \", \" Alexandria LA \") | flights : route_number (521, 1347, 253), flight_number (521, 1347, 253), airline (1, 2, 9), sourceairport (\" ARX\", \" AMN\", \" ARX\"), destairport (\" ADK\", \" ESF\", \" ABL\")", "schema_without_content": "airlines : country , uid , abbreviation , airline | airports : countryabbrev , airportcode , country , airportname , city | flights : route_number , flight_number , airline , sourceairport , destairport", "extra_map": { "flights": { "flightno": [ "flight_number", "route_number" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "sourceairport", "destairport", "flight_number", "route_number" ] }, "column_linking_gt": { "flight numbers": "flights.FlightNo", "leaving from Aberdeen": "flights.SourceAirport" } }, { "question": "what are #flight numbers of flights arriving at city# \"aberdeen\"?", "db_id": "flight_2", "orig_query": "select t1.flightno from flights as t1 join airports as t2 on t1.destairport = t2.airportcode where t2.city = \"Aberdeen\"", "schema_with_content": "airlines : abbreviation (\"Delta\", \"UAL\", \"AirTran\"), uid (4, 10, 11), airline (\"US Airways\", \"JetBlue Airways\", \"Southwest Airlines\"), country (\"USA\") | airports : airportcode (\"ABL\", \"ADM\", \"ANI\"), country (\"United States \"), countryabbrev (\"US \", \"US\"), airportname (\"Albany \", \"Ashland \", \"Akhiok SPB \"), city (\"Albuquerque \", \"Amook \", \" Alexandria LA \") | flights : route_number (1255, 727, 159), flight_number (1255, 727, 159), destairport (\" AIA\", \" AHH\", \" MRI\"), airline (8, 7, 12), sourceairport (\" KKI\", \" ESF\", \" ATS\")", "schema_without_content": "airlines : abbreviation , uid , airline , country | airports : airportcode , country , countryabbrev , airportname , city | flights : route_number , flight_number , destairport , airline , sourceairport", "extra_map": { "flights": { "flightno": [ "flight_number", "route_number" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "sourceairport", "destairport", "flight_number", "route_number" ] }, "column_linking_gt": { "flight numbers of flights arriving at City": "flights.FlightNo" } }, { "question": "give the #flight numbers# of flights #arriving in aberdeen# .", "db_id": "flight_2", "orig_query": "select t1.flightno from flights as t1 join airports as t2 on t1.destairport = t2.airportcode where t2.city = \"Aberdeen\"", "schema_with_content": "airlines : airline (\"Delta Airlines\", \"Northwest Airlines\", \"US Airways\"), uid (8, 10, 3), country (\"USA\"), abbreviation (\"Delta\", \"Allegiant\", \"JetBlue\") | airports : countryabbrev (\"US \", \"US\"), airportcode (\"ABR\", \"AKK\", \"AXB\"), country (\"United States \"), airportname (\"Outagamie County \", \"Virginia Highlands \", \"Albany NAS \"), city (\"Alice \", \"Alitak \", \"Alpena \") | flights : sourceairport (\" VJI\", \" AEL\", \" AHN\"), route_number (559, 478, 627), destairport (\" AIA\", \" AAF\", \" ANA\"), flight_number (559, 478, 627), airline (1, 4, 12)", "schema_without_content": "airlines : airline , uid , country , abbreviation | airports : countryabbrev , airportcode , country , airportname , city | flights : sourceairport , route_number , destairport , flight_number , airline", "extra_map": { "flights": { "flightno": [ "flight_number", "route_number" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "airportname", "country", "countryabbrev" ], "flights": [ "airline", "sourceairport", "destairport", "flight_number", "route_number" ] }, "column_linking_gt": { "flight numbers": "flights.FlightNo", "arriving in Aberdeen": "airports.City" } }, { "question": "find the #name of airports# which do not have any #flight in and out# .", "db_id": "flight_2", "orig_query": "select airportname from airports where airportcode not in (select sourceairport from flights union select destairport from flights)", "schema_with_content": "airlines : abbreviation (\"Virgin\", \"Continental\", \"Frontier\"), airline (\"Frontier Airlines\", \"Frontier Airlines\", \"AirTran Airways\"), country (\"USA\"), uid (8, 4, 8) | airports : aviation_terminal (\"Ft Mcclellan Bus Trml \", \"Albuquerque International \", \"Arcata \"), country (\"United States \"), city (\"Astoria \", \"Abingdon \", \"Alice \"), aerodrome_name (\"Ft Mcclellan Bus Trml \", \"Albuquerque International \", \"Arcata \"), countryabbrev (\"US \", \"US\"), airportcode (\"ADM\", \"TDW\", \"ESF\") | flights : destairport (\" CVO\", \" ASX\", \" ADM\"), sourceairport (\" ABR\", \" ALS\", \" ALE\"), flightno (1285, 581, 81), airline (9, 1, 12)", "schema_without_content": "airlines : abbreviation , airline , country , uid | airports : aviation_terminal , country , city , aerodrome_name , countryabbrev , airportcode | flights : destairport , sourceairport , flightno , airline", "extra_map": { "airports": { "airportname": [ "aerodrome_name", "aviation_terminal" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "country", "countryabbrev", "aerodrome_name", "aviation_terminal" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "name of airports": "airports.AirportName", "flight in and out": "flights.SourceAirport, flights.DestAirport" } }, { "question": "which #airports# do not have departing or #arriving flights# ?", "db_id": "flight_2", "orig_query": "select airportname from airports where airportcode not in (select sourceairport from flights union select destairport from flights)", "schema_with_content": "airlines : airline (\"United Airlines\", \"Allegiant Air\", \"Allegiant Air\"), uid (12, 6, 10), country (\"USA\"), abbreviation (\"Southwest\", \"AirTran\", \"UAL\") | airports : countryabbrev (\"US \", \"US\"), aerodrome_name (\"Ainsworth \", \"Alton \", \"Akhiok SPB \"), aviation_terminal (\"Ainsworth \", \"Alton \", \"Akhiok SPB \"), country (\"United States \"), city (\"Ada \", \"Anniston \", \"Anaheim \"), airportcode (\"ADG\", \"AHN\", \"RFK\") | flights : airline (9, 7, 10), flightno (636, 310, 640), sourceairport (\" ADM\", \" ABR\", \" ABY\"), destairport (\" ABI\", \" ALB\", \" ALS\")", "schema_without_content": "airlines : airline , uid , country , abbreviation | airports : countryabbrev , aerodrome_name , aviation_terminal , country , city , airportcode | flights : airline , flightno , sourceairport , destairport", "extra_map": { "airports": { "airportname": [ "aerodrome_name", "aviation_terminal" ] } }, "extra_table_map": null, "db_schema": { "airlines": [ "uid", "airline", "abbreviation", "country" ], "airports": [ "city", "airportcode", "country", "countryabbrev", "aerodrome_name", "aviation_terminal" ], "flights": [ "airline", "flightno", "sourceairport", "destairport" ] }, "column_linking_gt": { "airports": "airports", "arriving flights": "flights.DestAirport", "AirportName": "airports.AirportName", "departing flights": "flights.SourceAirport" } }, { "question": "sort #employee names# by their #age# in ascending order.", "db_id": "employee_hire_evaluation", "orig_query": "select name from employee order by age", "schema_with_content": "employee : employee_id (6, 1, 10), age (23, 36, 28), city (\"Bristol\", \"Wasps\", \"Bristol\"), full_name (\"Lee Mears\", \"George Chuter\", \"Mark Regan\"), given_name (\"Lee Mears\", \"George Chuter\", \"Mark Regan\") | shop : manager_name (\"Job Dragtsma\", \"Kai Nyyss\u00c3\u00b6nen\", \"Mika Lehkosuo\"), location (\"Valkeakoski\", \"Turku\", \"Kuopio\"), name (\"FC Lahti\", \"FC Lahti\", \"FC Lahti\"), number_products (4780, 15000, 3516), shop_id (3, 1, 5), district (\"Lahden Stadion\", \"Tapiolan Urheilupuisto\", \"Finnair Stadium\") | hiring : employee_id (4, 5, 1), shop_id (8, 1, 6), start_from (\"2011\", \"2010\", \"2003\"), is_full_time (\"T\", \"F\") | evaluation : year_awarded (\"2016\", \"2015\", \"2016\"), bonus (4000.0, 2900.0, 2900.0), employee_id (\"7\", \"1\", \"2\")", "schema_without_content": "employee : employee_id , age , city , full_name , given_name | shop : manager_name , location , name , number_products , shop_id , district | hiring : employee_id , shop_id , start_from , is_full_time | evaluation : year_awarded , bonus , employee_id", "extra_map": { "employee": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "age", "city", "full_name", "given_name" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "manager_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "employee names": "employee.Name", "age": "employee.Age" } }, { "question": "list the #names of employees# and sort in ascending order of #age# .", "db_id": "employee_hire_evaluation", "orig_query": "select name from employee order by age", "schema_with_content": "employee : age (40, 40, 23), employee_id (4, 3, 2), given_name (\"Andrew Sheridan\", \"Louis Deacon\", \"Mark Regan\"), full_name (\"Andrew Sheridan\", \"Louis Deacon\", \"Mark Regan\"), city (\"Bristol\", \"Bath\", \"Bristol\") | shop : shop_id (2, 2, 4), manager_name (\"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\", \"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\", \"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\"), number_products (1600, 6000, 5000), district (\"Veritas Stadion\", \"Tehtaan kentt\u00c3\u00a4\", \"Tapiolan Urheilupuisto\"), location (\"Kuopio\", \"Kotka\", \"Kuopio\"), name (\"IFK Mariehamn\", \"FC Honka\", \"FC KooTeePee\") | hiring : shop_id (5, 5, 2), start_from (\"2012\", \"2011\", \"2012\"), is_full_time (\"T\", \"F\"), employee_id (1, 3, 1) | evaluation : employee_id (\"2\", \"10\", \"4\"), year_awarded (\"2015\", \"2011\", \"2015\"), bonus (3000.0, 2900.0, 3000.0)", "schema_without_content": "employee : age , employee_id , given_name , full_name , city | shop : shop_id , manager_name , number_products , district , location , name | hiring : shop_id , start_from , is_full_time , employee_id | evaluation : employee_id , year_awarded , bonus", "extra_map": { "employee": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "age", "city", "full_name", "given_name" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "manager_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "names of employees": "employee.Name", "age": "employee.Age" } }, { "question": "what is the #number of employees# from each #city# ?", "db_id": "employee_hire_evaluation", "orig_query": "select count(*), city from employee group by city", "schema_with_content": "employee : age (36, 23, 36), employee_id (2, 8, 1), name (\"Andrew Sheridan\", \"Jason Hobson\", \"Louis Deacon\"), residence_city (\"Leicester\", \"Leicester\", \"Bath\"), home_town (\"Leicester\", \"Leicester\", \"Bath\") | shop : shop_id (9, 6, 3), district (\"Finnair Stadium\", \"Finnair Stadium\", \"Arto Tolsa Areena\"), location (\"Kotka\", \"Valkeakoski\", \"Valkeakoski\"), number_products (3500, 5000, 5000), manager_name (\"Job Dragtsma\", \"Mika Lehkosuo\", \"Mika Lehkosuo\"), name (\"FC Haka\", \"FC Lahti\", \"FF Jaro\") | hiring : is_full_time (\"T\", \"F\"), start_from (\"2010\", \"2008\", \"2003\"), shop_id (5, 4, 2), employee_id (7, 5, 1) | evaluation : year_awarded (\"2015\", \"2018\", \"2016\"), employee_id (\"7\", \"10\", \"2\"), bonus (2900.0, 2900.0, 3000.0)", "schema_without_content": "employee : age , employee_id , name , residence_city , home_town | shop : shop_id , district , location , number_products , manager_name , name | hiring : is_full_time , start_from , shop_id , employee_id | evaluation : year_awarded , employee_id , bonus", "extra_map": { "employee": { "city": [ "residence_city", "home_town" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "residence_city", "home_town" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "manager_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "number of employees": "employee.Employee_ID", "city": "employee.City" } }, { "question": "count the #number of employees for each city# .", "db_id": "employee_hire_evaluation", "orig_query": "select count(*), city from employee group by city", "schema_with_content": "employee : residence_city (\"Wasps\", \"Sale\", \"Leicester\"), home_town (\"Wasps\", \"Sale\", \"Leicester\"), age (40, 23, 28), name (\"Lee Mears\", \"Matt Stevens\", \"Phil Vickery\"), employee_id (10, 2, 5) | shop : name (\"FC Inter\", \"FC Inter\", \"HJK\"), shop_id (2, 4, 8), location (\"Kuopio\", \"Valkeakoski\", \"Jakobstad\"), district (\"Finnair Stadium\", \"Tapiolan Urheilupuisto\", \"Magnum Areena\"), number_products (6000, 10000, 1600), manager_name (\"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\", \"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\", \"Kai Nyyss\u00c3\u00b6nen\") | hiring : start_from (\"2010\", \"2010\", \"2012\"), is_full_time (\"T\", \"F\"), employee_id (5, 3, 5), shop_id (5, 6, 6) | evaluation : bonus (2900.0, 4000.0, 2900.0), employee_id (\"2\", \"7\", \"7\"), year_awarded (\"2015\", \"2011\", \"2018\")", "schema_without_content": "employee : residence_city , home_town , age , name , employee_id | shop : name , shop_id , location , district , number_products , manager_name | hiring : start_from , is_full_time , employee_id , shop_id | evaluation : bonus , employee_id , year_awarded", "extra_map": { "employee": { "city": [ "residence_city", "home_town" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "residence_city", "home_town" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "manager_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "number of employees for each city": "employee.Employee_ID" } }, { "question": "which #cities# do more than one #employee# under #age# 30 come from?", "db_id": "employee_hire_evaluation", "orig_query": "select city from employee where age < 30 group by city having count(*) > 1", "schema_with_content": "employee : age (32, 32, 43), employee_id (10, 3, 6), home_town (\"Wasps\", \"Bristol\", \"Leicester\"), residence_city (\"Wasps\", \"Bristol\", \"Leicester\"), name (\"George Chuter\", \"Louis Deacon\", \"Jason Hobson\") | shop : name (\"FC Honka\", \"FC Honka\", \"IFK Mariehamn\"), location (\"Lahti\", \"Kotka\", \"Kuopio\"), shop_id (1, 2, 2), district (\"Magnum Areena\", \"Tehtaan kentt\u00c3\u00a4\", \"Veritas Stadion\"), manager_name (\"Mika Lehkosuo\", \"Tommi Kautonen\", \"Pekka Lyyski\"), number_products (5000, 5000, 10000) | hiring : employee_id (5, 1, 1), is_full_time (\"T\", \"F\"), start_from (\"2011\", \"2012\", \"2012\"), shop_id (5, 4, 4) | evaluation : employee_id (\"7\", \"2\", \"4\"), bonus (3000.0, 3000.0, 2900.0), year_awarded (\"2011\", \"2018\", \"2015\")", "schema_without_content": "employee : age , employee_id , home_town , residence_city , name | shop : name , location , shop_id , district , manager_name , number_products | hiring : employee_id , is_full_time , start_from , shop_id | evaluation : employee_id , bonus , year_awarded", "extra_map": { "employee": { "city": [ "residence_city", "home_town" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "residence_city", "home_town" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "manager_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "cities": "employee.City", "employee": "employee", "age": "employee.Age" } }, { "question": "find the #cities# that have more than one #employee# under #age# 30.", "db_id": "employee_hire_evaluation", "orig_query": "select city from employee where age < 30 group by city having count(*) > 1", "schema_with_content": "employee : home_town (\"Bristol\", \"Wasps\", \"Wasps\"), name (\"George Chuter\", \"Andrew Sheridan\", \"Phil Vickery\"), employee_id (8, 5, 7), residence_city (\"Bristol\", \"Wasps\", \"Wasps\"), age (30, 32, 30) | shop : shop_id (8, 4, 1), location (\"Helsinki\", \"Lahti\", \"Turku\"), district (\"Finnair Stadium\", \"Tehtaan kentt\u00c3\u00a4\", \"Veritas Stadion\"), manager_name (\"Mika Lehkosuo\", \"Olli Huttunen\", \"Mika Laurikainen\"), number_products (15000, 15000, 6000), name (\"FF Jaro\", \"KuPS\", \"FF Jaro\") | hiring : is_full_time (\"T\", \"F\"), employee_id (3, 6, 2), shop_id (8, 2, 4), start_from (\"2013\", \"2003\", \"2011\") | evaluation : year_awarded (\"2017\", \"2018\", \"2016\"), bonus (3200.0, 3000.0, 2900.0), employee_id (\"10\", \"1\", \"10\")", "schema_without_content": "employee : home_town , name , employee_id , residence_city , age | shop : shop_id , location , district , manager_name , number_products , name | hiring : is_full_time , employee_id , shop_id , start_from | evaluation : year_awarded , bonus , employee_id", "extra_map": { "employee": { "city": [ "residence_city", "home_town" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "residence_city", "home_town" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "manager_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "cities": "employee.City", "employee": "employee", "age": "employee.Age" } }, { "question": "find the #number of shops in each location# .", "db_id": "employee_hire_evaluation", "orig_query": "select count(*), location from shop group by location", "schema_with_content": "employee : city (\"Leicester\", \"Sale\", \"Leicester\"), age (30, 29, 40), employee_id (3, 8, 9), name (\"Andrew Sheridan\", \"Steve Borthwick\", \"Tim Payne\") | shop : manager_name (\"Tommi Kautonen\", \"Antti Muurinen\", \"Pekka Lyyski\"), shop_id (2, 1, 5), name (\"FC Inter\", \"FC Inter\", \"FF Jaro\"), place (\"Turku\", \"Jakobstad\", \"Turku\"), number_products (4780, 1600, 10000), address (\"Turku\", \"Jakobstad\", \"Turku\"), district (\"Jakobstads Centralplan\", \"Magnum Areena\", \"Arto Tolsa Areena\") | hiring : shop_id (8, 6, 2), employee_id (3, 5, 6), start_from (\"2009\", \"2013\", \"2009\"), is_full_time (\"T\", \"F\") | evaluation : bonus (2900.0, 3000.0, 2900.0), year_awarded (\"2011\", \"2017\", \"2011\"), employee_id (\"4\", \"1\", \"2\")", "schema_without_content": "employee : city , age , employee_id , name | shop : manager_name , shop_id , name , place , number_products , address , district | hiring : shop_id , employee_id , start_from , is_full_time | evaluation : bonus , year_awarded , employee_id", "extra_map": { "shop": { "location": [ "address", "place" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "district", "number_products", "manager_name", "address", "place" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "number of shops in each location": "shop.Location" } }, { "question": "how many #shops# are there in each #location# ?", "db_id": "employee_hire_evaluation", "orig_query": "select count(*), location from shop group by location", "schema_with_content": "employee : city (\"Leicester\", \"Sale\", \"Bath\"), employee_id (8, 6, 8), age (36, 32, 43), name (\"George Chuter\", \"Lee Mears\", \"George Chuter\") | shop : place (\"Helsinki\", \"Lahti\", \"Espoo\"), name (\"FC Inter\", \"FF Jaro\", \"FC Honka\"), number_products (1600, 4780, 5000), district (\"Veritas Stadion\", \"Lahden Stadion\", \"Arto Tolsa Areena\"), shop_id (9, 9, 6), manager_name (\"Antti Muurinen\", \"Pekka Lyyski\", \"Kai Nyyss\u00c3\u00b6nen\"), address (\"Helsinki\", \"Lahti\", \"Espoo\") | hiring : employee_id (5, 5, 2), shop_id (1, 1, 2), is_full_time (\"T\", \"F\"), start_from (\"2009\", \"2003\", \"2008\") | evaluation : bonus (4000.0, 3000.0, 2900.0), employee_id (\"2\", \"2\", \"2\"), year_awarded (\"2017\", \"2017\", \"2017\")", "schema_without_content": "employee : city , employee_id , age , name | shop : place , name , number_products , district , shop_id , manager_name , address | hiring : employee_id , shop_id , is_full_time , start_from | evaluation : bonus , employee_id , year_awarded", "extra_map": { "shop": { "location": [ "address", "place" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "district", "number_products", "manager_name", "address", "place" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "shops": "shop", "location": "shop.Location" } }, { "question": "find the #manager name# and #district of the shop# whose #number of products# is the largest.", "db_id": "employee_hire_evaluation", "orig_query": "select manager_name, district from shop order by number_products desc limit 1", "schema_with_content": "employee : employee_id (6, 10, 1), city (\"Bath\", \"Leicester\", \"Leicester\"), name (\"Matt Stevens\", \"Matt Stevens\", \"Mark Regan\"), age (40, 23, 30) | shop : shop_id (5, 3, 1), district (\"Arto Tolsa Areena\", \"Arto Tolsa Areena\", \"Finnair Stadium\"), supervisor_name (\"Mika Laurikainen\", \"Mika Lehkosuo\", \"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\"), location (\"Mariehamn\", \"Jakobstad\", \"Mariehamn\"), admin_name (\"Mika Laurikainen\", \"Mika Lehkosuo\", \"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\"), number_products (5000, 15000, 4780), name (\"HJK\", \"FC Haka\", \"FC Honka\") | hiring : shop_id (5, 4, 5), employee_id (1, 7, 5), is_full_time (\"T\", \"F\"), start_from (\"2012\", \"2008\", \"2010\") | evaluation : year_awarded (\"2015\", \"2018\", \"2015\"), bonus (3200.0, 3000.0, 4000.0), employee_id (\"7\", \"2\", \"1\")", "schema_without_content": "employee : employee_id , city , name , age | shop : shop_id , district , supervisor_name , location , admin_name , number_products , name | hiring : shop_id , employee_id , is_full_time , start_from | evaluation : year_awarded , bonus , employee_id", "extra_map": { "shop": { "manager_name": [ "supervisor_name", "admin_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "supervisor_name", "admin_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "manager name": "shop.Manager_name", "district of the shop": "shop.District", "number of products": "shop.Number_products" } }, { "question": "find the #manager name# and #district of the shop# whose #number of products# is the largest.", "db_id": "employee_hire_evaluation", "orig_query": "select manager_name, district from shop order by number_products desc limit 1", "schema_with_content": "employee : city (\"Sale\", \"Leicester\", \"Bristol\"), employee_id (10, 1, 6), age (32, 36, 30), name (\"Matt Stevens\", \"George Chuter\", \"Tim Payne\") | shop : location (\"Kuopio\", \"Mariehamn\", \"Kotka\"), shop_id (4, 1, 5), region (\"Magnum Areena\", \"Veritas Stadion\", \"Magnum Areena\"), name (\"FC Lahti\", \"FF Jaro\", \"FC Inter\"), manager_name (\"Tommi Kautonen\", \"Pekka Lyyski\", \"Mika Lehkosuo\"), territory (\"Magnum Areena\", \"Veritas Stadion\", \"Magnum Areena\"), number_products (6000, 1600, 1600) | hiring : employee_id (2, 2, 3), shop_id (5, 5, 8), is_full_time (\"T\", \"F\"), start_from (\"2010\", \"2011\", \"2003\") | evaluation : year_awarded (\"2017\", \"2017\", \"2016\"), bonus (4000.0, 2900.0, 3200.0), employee_id (\"2\", \"1\", \"10\")", "schema_without_content": "employee : city , employee_id , age , name | shop : location , shop_id , region , name , manager_name , territory , number_products | hiring : employee_id , shop_id , is_full_time , start_from | evaluation : year_awarded , bonus , employee_id", "extra_map": { "shop": { "district": [ "region", "territory" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "location", "number_products", "manager_name", "region", "territory" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "manager name": "shop.Manager_name", "district of the shop": "shop.District", "number of products": "shop.Number_products" } }, { "question": "what are the #manager name# and #district of the shop# that sells the largest #number of products# ?", "db_id": "employee_hire_evaluation", "orig_query": "select manager_name, district from shop order by number_products desc limit 1", "schema_with_content": "employee : city (\"Sale\", \"Bath\", \"Bristol\"), age (29, 23, 23), employee_id (4, 1, 5), name (\"Louis Deacon\", \"Tim Payne\", \"Louis Deacon\") | shop : supervisor_name (\"Mika Laurikainen\", \"Tommi Kautonen\", \"Mika Laurikainen\"), name (\"FC Lahti\", \"FC KooTeePee\", \"FF Jaro\"), district (\"Finnair Stadium\", \"Lahden Stadion\", \"Tapiolan Urheilupuisto\"), number_products (15000, 3516, 5000), location (\"Turku\", \"Espoo\", \"Turku\"), shop_id (4, 1, 9), admin_name (\"Mika Laurikainen\", \"Tommi Kautonen\", \"Mika Laurikainen\") | hiring : shop_id (4, 6, 8), start_from (\"2003\", \"2011\", \"2010\"), is_full_time (\"T\", \"F\"), employee_id (7, 1, 7) | evaluation : year_awarded (\"2016\", \"2011\", \"2018\"), bonus (4000.0, 2900.0, 2900.0), employee_id (\"1\", \"2\", \"7\")", "schema_without_content": "employee : city , age , employee_id , name | shop : supervisor_name , name , district , number_products , location , shop_id , admin_name | hiring : shop_id , start_from , is_full_time , employee_id | evaluation : year_awarded , bonus , employee_id", "extra_map": { "shop": { "manager_name": [ "supervisor_name", "admin_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "supervisor_name", "admin_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "manager name": "shop.Manager_name", "district of the shop": "shop.District", "number of products": "shop.Number_products" } }, { "question": "what are the #manager name# and #district of the shop# that sells the largest #number of products# ?", "db_id": "employee_hire_evaluation", "orig_query": "select manager_name, district from shop order by number_products desc limit 1", "schema_with_content": "employee : employee_id (1, 6, 9), name (\"Phil Vickery\", \"Steve Borthwick\", \"Andrew Sheridan\"), city (\"Wasps\", \"Bristol\", \"Sale\"), age (43, 43, 32) | shop : number_products (5000, 15000, 5000), manager_name (\"Mika Lehkosuo\", \"Mika Laurikainen\", \"Mika Lehkosuo\"), shop_id (1, 7, 2), location (\"Mariehamn\", \"Jakobstad\", \"Helsinki\"), territory (\"Finnair Stadium\", \"Magnum Areena\", \"Magnum Areena\"), region (\"Finnair Stadium\", \"Magnum Areena\", \"Magnum Areena\"), name (\"KuPS\", \"FC KooTeePee\", \"FF Jaro\") | hiring : start_from (\"2008\", \"2010\", \"2003\"), is_full_time (\"T\", \"F\"), shop_id (5, 8, 4), employee_id (1, 6, 6) | evaluation : year_awarded (\"2015\", \"2011\", \"2011\"), employee_id (\"7\", \"4\", \"2\"), bonus (2900.0, 3000.0, 4000.0)", "schema_without_content": "employee : employee_id , name , city , age | shop : number_products , manager_name , shop_id , location , territory , region , name | hiring : start_from , is_full_time , shop_id , employee_id | evaluation : year_awarded , employee_id , bonus", "extra_map": { "shop": { "district": [ "region", "territory" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "location", "number_products", "manager_name", "region", "territory" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "manager name": "shop.Manager_name", "district of the shop": "shop.District", "number of products": "shop.Number_products" } }, { "question": "find the #minimum and maximum number of products of all stores# .", "db_id": "employee_hire_evaluation", "orig_query": "select min(number_products), max(number_products) from shop", "schema_with_content": "employee : city (\"Bath\", \"Bristol\", \"Leicester\"), employee_id (4, 5, 4), age (28, 40, 40), name (\"Andrew Sheridan\", \"Andrew Sheridan\", \"Mark Regan\") | shop : manager_name (\"Mika Laurikainen\", \"Kai Nyyss\u00c3\u00b6nen\", \"Olli Huttunen\"), name (\"FC KooTeePee\", \"IFK Mariehamn\", \"FC KooTeePee\"), quantity_products (6000, 10000, 5000), shop_id (9, 8, 2), location (\"Helsinki\", \"Kotka\", \"Mariehamn\"), count_products (6000, 10000, 5000), district (\"Wikl\u00c3\u00b6f Holding Arena\", \"Magnum Areena\", \"Jakobstads Centralplan\") | hiring : employee_id (6, 4, 3), start_from (\"2012\", \"2011\", \"2003\"), shop_id (5, 8, 8), is_full_time (\"T\", \"F\") | evaluation : employee_id (\"7\", \"7\", \"1\"), bonus (2900.0, 3000.0, 3000.0), year_awarded (\"2018\", \"2016\", \"2016\")", "schema_without_content": "employee : city , employee_id , age , name | shop : manager_name , name , quantity_products , shop_id , location , count_products , district | hiring : employee_id , start_from , shop_id , is_full_time | evaluation : employee_id , bonus , year_awarded", "extra_map": { "shop": { "number_products": [ "count_products", "quantity_products" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "location", "district", "manager_name", "count_products", "quantity_products" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "minimum and maximum number of products of all stores": "shop.Number_products" } }, { "question": "what are the #minimum and maximum number of products# across all the #shops# ?", "db_id": "employee_hire_evaluation", "orig_query": "select min(number_products), max(number_products) from shop", "schema_with_content": "employee : employee_id (8, 2, 9), age (36, 23, 28), name (\"Steve Borthwick\", \"Andrew Sheridan\", \"Mark Regan\"), city (\"Wasps\", \"Bath\", \"Bath\") | shop : district (\"Magnum Areena\", \"Lahden Stadion\", \"Tapiolan Urheilupuisto\"), quantity_products (10770, 5000, 10000), count_products (10770, 5000, 10000), location (\"Kuopio\", \"Kotka\", \"Espoo\"), manager_name (\"Mika Laurikainen\", \"Antti Muurinen\", \"Olli Huttunen\"), shop_id (2, 2, 2), name (\"FC Honka\", \"FF Jaro\", \"FC KooTeePee\") | hiring : employee_id (3, 3, 7), start_from (\"2010\", \"2013\", \"2012\"), is_full_time (\"T\", \"F\"), shop_id (8, 6, 6) | evaluation : bonus (3000.0, 2900.0, 3000.0), year_awarded (\"2016\", \"2011\", \"2016\"), employee_id (\"10\", \"4\", \"1\")", "schema_without_content": "employee : employee_id , age , name , city | shop : district , quantity_products , count_products , location , manager_name , shop_id , name | hiring : employee_id , start_from , is_full_time , shop_id | evaluation : bonus , year_awarded , employee_id", "extra_map": { "shop": { "number_products": [ "count_products", "quantity_products" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "location", "district", "manager_name", "count_products", "quantity_products" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "minimum and maximum number of products": "shop.Number_products", "shops": "shop" } }, { "question": "return the #name# , #location# and d #istrict of all shops# in descending order of #number of products# .", "db_id": "employee_hire_evaluation", "orig_query": "select name, location, district from shop order by number_products desc", "schema_with_content": "employee : employee_id (1, 3, 8), city (\"Wasps\", \"Leicester\", \"Bristol\"), name (\"Mark Regan\", \"Tim Payne\", \"Mark Regan\"), age (40, 23, 43) | shop : title (\"FC Honka\", \"FC Haka\", \"FC Haka\"), manager_name (\"Olli Huttunen\", \"Job Dragtsma\", \"Antti Muurinen\"), location (\"Kotka\", \"Mariehamn\", \"Helsinki\"), number_products (4780, 10770, 1600), shop_id (8, 7, 6), district (\"Magnum Areena\", \"Magnum Areena\", \"Magnum Areena\"), business_name (\"FC Honka\", \"FC Haka\", \"FC Haka\") | hiring : employee_id (4, 7, 6), start_from (\"2008\", \"2008\", \"2011\"), shop_id (6, 4, 2), is_full_time (\"T\", \"F\") | evaluation : bonus (4000.0, 4000.0, 3200.0), year_awarded (\"2015\", \"2011\", \"2011\"), employee_id (\"10\", \"7\", \"4\")", "schema_without_content": "employee : employee_id , city , name , age | shop : title , manager_name , location , number_products , shop_id , district , business_name | hiring : employee_id , start_from , shop_id , is_full_time | evaluation : bonus , year_awarded , employee_id", "extra_map": { "shop": { "name": [ "title", "business_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "location", "district", "number_products", "manager_name", "title", "business_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "name": "shop.Name", "location": "shop.Location", "istrict of all shops": "shop", "number of products": "shop.Number_products", "district": "shop.District" } }, { "question": "return the #name# , #location# and d #istrict of all shops# in descending order of #number of products# .", "db_id": "employee_hire_evaluation", "orig_query": "select name, location, district from shop order by number_products desc", "schema_with_content": "employee : name (\"Louis Deacon\", \"Jason Hobson\", \"George Chuter\"), age (43, 29, 28), city (\"Sale\", \"Bristol\", \"Bath\"), employee_id (1, 1, 5) | shop : shop_id (8, 4, 5), territory (\"Arto Tolsa Areena\", \"Jakobstads Centralplan\", \"Wikl\u00c3\u00b6f Holding Arena\"), name (\"IFK Mariehamn\", \"FC Haka\", \"HJK\"), manager_name (\"Mika Lehkosuo\", \"Mika Lehkosuo\", \"Tommi Kautonen\"), location (\"Lahti\", \"Mariehamn\", \"Espoo\"), number_products (10000, 3516, 6000), region (\"Arto Tolsa Areena\", \"Jakobstads Centralplan\", \"Wikl\u00c3\u00b6f Holding Arena\") | hiring : shop_id (5, 5, 4), is_full_time (\"T\", \"F\"), start_from (\"2011\", \"2011\", \"2013\"), employee_id (7, 3, 4) | evaluation : year_awarded (\"2016\", \"2011\", \"2015\"), bonus (3000.0, 2900.0, 2900.0), employee_id (\"4\", \"2\", \"2\")", "schema_without_content": "employee : name , age , city , employee_id | shop : shop_id , territory , name , manager_name , location , number_products , region | hiring : shop_id , is_full_time , start_from , employee_id | evaluation : year_awarded , bonus , employee_id", "extra_map": { "shop": { "district": [ "region", "territory" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "location", "number_products", "manager_name", "region", "territory" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "name": "shop.Name", "location": "shop.Location", "istrict of all shops": "shop", "number of products": "shop.Number_products", "district": "shop.District" } }, { "question": "return the #name# , #location# and d #istrict of all shops# in descending order of #number of products# .", "db_id": "employee_hire_evaluation", "orig_query": "select name, location, district from shop order by number_products desc", "schema_with_content": "employee : employee_id (2, 5, 3), city (\"Bristol\", \"Wasps\", \"Bath\"), age (43, 40, 43), name (\"Mark Regan\", \"Matt Stevens\", \"Jason Hobson\") | shop : place (\"Mariehamn\", \"Espoo\", \"Lahti\"), name (\"FC Lahti\", \"FC Inter\", \"FC Honka\"), district (\"Tapiolan Urheilupuisto\", \"Tehtaan kentt\u00c3\u00a4\", \"Finnair Stadium\"), number_products (10770, 15000, 15000), manager_name (\"Tommi Kautonen\", \"Job Dragtsma\", \"Pekka Lyyski\"), shop_id (2, 8, 5), address (\"Mariehamn\", \"Espoo\", \"Lahti\") | hiring : start_from (\"2011\", \"2003\", \"2010\"), employee_id (2, 5, 6), is_full_time (\"T\", \"F\"), shop_id (6, 4, 1) | evaluation : bonus (3000.0, 2900.0, 3000.0), year_awarded (\"2016\", \"2018\", \"2016\"), employee_id (\"7\", \"7\", \"4\")", "schema_without_content": "employee : employee_id , city , age , name | shop : place , name , district , number_products , manager_name , shop_id , address | hiring : start_from , employee_id , is_full_time , shop_id | evaluation : bonus , year_awarded , employee_id", "extra_map": { "shop": { "location": [ "address", "place" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "district", "number_products", "manager_name", "address", "place" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "name": "shop.Name", "location": "shop.Location", "istrict of all shops": "shop", "number of products": "shop.Number_products", "district": "shop.District" } }, { "question": "sort all the #shops by number products# in descending order, and return the #name# , #location# and #district# of each shop.", "db_id": "employee_hire_evaluation", "orig_query": "select name, location, district from shop order by number_products desc", "schema_with_content": "employee : employee_id (3, 10, 4), name (\"Lee Mears\", \"Tim Payne\", \"Mark Regan\"), age (43, 29, 36), city (\"Sale\", \"Leicester\", \"Sale\") | shop : shop_id (9, 6, 7), location (\"Kotka\", \"Valkeakoski\", \"Turku\"), business_name (\"FC Haka\", \"IFK Mariehamn\", \"IFK Mariehamn\"), title (\"FC Haka\", \"IFK Mariehamn\", \"IFK Mariehamn\"), number_products (3500, 1600, 10000), manager_name (\"Tommi Kautonen\", \"Mika Laurikainen\", \"Olli Huttunen\"), district (\"Jakobstads Centralplan\", \"Jakobstads Centralplan\", \"Tapiolan Urheilupuisto\") | hiring : is_full_time (\"T\", \"F\"), shop_id (6, 2, 2), employee_id (6, 1, 6), start_from (\"2013\", \"2012\", \"2003\") | evaluation : year_awarded (\"2011\", \"2015\", \"2011\"), employee_id (\"2\", \"1\", \"10\"), bonus (2900.0, 3000.0, 4000.0)", "schema_without_content": "employee : employee_id , name , age , city | shop : shop_id , location , business_name , title , number_products , manager_name , district | hiring : is_full_time , shop_id , employee_id , start_from | evaluation : year_awarded , employee_id , bonus", "extra_map": { "shop": { "name": [ "title", "business_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "location", "district", "number_products", "manager_name", "title", "business_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "shops by number products": "shop.Number_products", "name": "shop.Name", "location": "shop.Location", "district": "shop.District" } }, { "question": "sort all the #shops by number products# in descending order, and return the #name# , #location# and #district# of each shop.", "db_id": "employee_hire_evaluation", "orig_query": "select name, location, district from shop order by number_products desc", "schema_with_content": "employee : employee_id (8, 4, 6), name (\"Steve Borthwick\", \"Louis Deacon\", \"Tim Payne\"), city (\"Leicester\", \"Bristol\", \"Bristol\"), age (30, 32, 36) | shop : number_products (4780, 10000, 5000), region (\"Finnair Stadium\", \"Magnum Areena\", \"Lahden Stadion\"), shop_id (5, 8, 8), manager_name (\"Mika Laurikainen\", \"Pekka Lyyski\", \"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\"), location (\"Jakobstad\", \"Kuopio\", \"Lahti\"), name (\"HJK\", \"KuPS\", \"HJK\"), territory (\"Finnair Stadium\", \"Magnum Areena\", \"Lahden Stadion\") | hiring : start_from (\"2011\", \"2008\", \"2012\"), shop_id (8, 6, 5), is_full_time (\"T\", \"F\"), employee_id (5, 1, 1) | evaluation : year_awarded (\"2011\", \"2015\", \"2011\"), bonus (3000.0, 2900.0, 4000.0), employee_id (\"2\", \"4\", \"7\")", "schema_without_content": "employee : employee_id , name , city , age | shop : number_products , region , shop_id , manager_name , location , name , territory | hiring : start_from , shop_id , is_full_time , employee_id | evaluation : year_awarded , bonus , employee_id", "extra_map": { "shop": { "district": [ "region", "territory" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "location", "number_products", "manager_name", "region", "territory" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "shops by number products": "shop.Number_products", "name": "shop.Name", "location": "shop.Location", "district": "shop.District" } }, { "question": "sort all the #shops by number products# in descending order, and return the #name# , #location# and #district# of each shop.", "db_id": "employee_hire_evaluation", "orig_query": "select name, location, district from shop order by number_products desc", "schema_with_content": "employee : city (\"Bath\", \"Wasps\", \"Leicester\"), age (28, 32, 28), name (\"Jason Hobson\", \"Andrew Sheridan\", \"Lee Mears\"), employee_id (1, 2, 9) | shop : shop_id (6, 5, 8), district (\"Tehtaan kentt\u00c3\u00a4\", \"Arto Tolsa Areena\", \"Arto Tolsa Areena\"), number_products (5000, 15000, 4780), name (\"FC Inter\", \"HJK\", \"FC Honka\"), place (\"Turku\", \"Mariehamn\", \"Valkeakoski\"), address (\"Turku\", \"Mariehamn\", \"Valkeakoski\"), manager_name (\"Tommi Kautonen\", \"Mika Lehkosuo\", \"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\") | hiring : is_full_time (\"T\", \"F\"), shop_id (5, 1, 4), employee_id (5, 2, 3), start_from (\"2011\", \"2009\", \"2011\") | evaluation : bonus (3200.0, 3200.0, 3000.0), year_awarded (\"2015\", \"2017\", \"2011\"), employee_id (\"4\", \"2\", \"1\")", "schema_without_content": "employee : city , age , name , employee_id | shop : shop_id , district , number_products , name , place , address , manager_name | hiring : is_full_time , shop_id , employee_id , start_from | evaluation : bonus , year_awarded , employee_id", "extra_map": { "shop": { "location": [ "address", "place" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "district", "number_products", "manager_name", "address", "place" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "shops by number products": "shop.Number_products", "name": "shop.Name", "location": "shop.Location", "district": "shop.District" } }, { "question": "find the #names of stores# whose #number products# is more than the average number of products.", "db_id": "employee_hire_evaluation", "orig_query": "select name from shop where number_products > (select avg(number_products) from shop)", "schema_with_content": "employee : city (\"Sale\", \"Bristol\", \"Wasps\"), age (23, 43, 29), employee_id (3, 8, 7), name (\"Jason Hobson\", \"Steve Borthwick\", \"Tim Payne\") | shop : number_products (10000, 15000, 3500), shop_id (9, 8, 2), manager_name (\"Job Dragtsma\", \"Antti Muurinen\", \"Tommi Kautonen\"), business_name (\"HJK\", \"FC Honka\", \"FC Haka\"), location (\"Espoo\", \"Espoo\", \"Jakobstad\"), title (\"HJK\", \"FC Honka\", \"FC Haka\"), district (\"Tapiolan Urheilupuisto\", \"Finnair Stadium\", \"Lahden Stadion\") | hiring : start_from (\"2013\", \"2010\", \"2008\"), is_full_time (\"T\", \"F\"), employee_id (2, 3, 5), shop_id (8, 4, 6) | evaluation : year_awarded (\"2016\", \"2017\", \"2018\"), bonus (3200.0, 4000.0, 3000.0), employee_id (\"7\", \"10\", \"1\")", "schema_without_content": "employee : city , age , employee_id , name | shop : number_products , shop_id , manager_name , business_name , location , title , district | hiring : start_from , is_full_time , employee_id , shop_id | evaluation : year_awarded , bonus , employee_id", "extra_map": { "shop": { "name": [ "title", "business_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "location", "district", "number_products", "manager_name", "title", "business_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "names of stores": "shop.Name", "number products": "shop.Number_products" } }, { "question": "which #shops' number products# is above the average? give me the #shop names# .", "db_id": "employee_hire_evaluation", "orig_query": "select name from shop where number_products > (select avg(number_products) from shop)", "schema_with_content": "employee : name (\"Lee Mears\", \"Phil Vickery\", \"Louis Deacon\"), city (\"Bristol\", \"Bristol\", \"Wasps\"), age (29, 32, 43), employee_id (7, 3, 3) | shop : shop_id (4, 7, 4), manager_name (\"Antti Muurinen\", \"Mika Lehkosuo\", \"Kai Nyyss\u00c3\u00b6nen\"), number_products (10770, 3500, 1600), title (\"FC Honka\", \"FC Haka\", \"KuPS\"), business_name (\"FC Honka\", \"FC Haka\", \"KuPS\"), district (\"Jakobstads Centralplan\", \"Tapiolan Urheilupuisto\", \"Wikl\u00c3\u00b6f Holding Arena\"), location (\"Kotka\", \"Lahti\", \"Jakobstad\") | hiring : employee_id (1, 1, 3), start_from (\"2013\", \"2003\", \"2003\"), is_full_time (\"T\", \"F\"), shop_id (1, 8, 4) | evaluation : bonus (3200.0, 2900.0, 4000.0), year_awarded (\"2018\", \"2017\", \"2016\"), employee_id (\"1\", \"10\", \"2\")", "schema_without_content": "employee : name , city , age , employee_id | shop : shop_id , manager_name , number_products , title , business_name , district , location | hiring : employee_id , start_from , is_full_time , shop_id | evaluation : bonus , year_awarded , employee_id", "extra_map": { "shop": { "name": [ "title", "business_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "location", "district", "number_products", "manager_name", "title", "business_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "shop names": "shop.Name", "shops' number products": "shop.Number_products" } }, { "question": "find the #name of employee# who was awarded the most times in the #evaluation# .", "db_id": "employee_hire_evaluation", "orig_query": "select t1.name from employee as t1 join evaluation as t2 on t1.employee_id = t2.employee_id group by t2.employee_id order by count(*) desc limit 1", "schema_with_content": "employee : given_name (\"Tim Payne\", \"Mark Regan\", \"Louis Deacon\"), city (\"Leicester\", \"Bristol\", \"Wasps\"), employee_id (10, 3, 6), age (43, 29, 32), full_name (\"Tim Payne\", \"Mark Regan\", \"Louis Deacon\") | shop : shop_id (3, 9, 4), name (\"FC KooTeePee\", \"KuPS\", \"FC Lahti\"), district (\"Lahden Stadion\", \"Tehtaan kentt\u00c3\u00a4\", \"Lahden Stadion\"), manager_name (\"Antti Muurinen\", \"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\", \"Job Dragtsma\"), number_products (1600, 1600, 3500), location (\"Valkeakoski\", \"Lahti\", \"Lahti\") | hiring : shop_id (6, 2, 6), employee_id (3, 2, 5), is_full_time (\"T\", \"F\"), start_from (\"2008\", \"2003\", \"2009\") | evaluation : year_awarded (\"2016\", \"2018\", \"2011\"), bonus (3000.0, 3000.0, 3000.0), employee_id (\"4\", \"4\", \"10\")", "schema_without_content": "employee : given_name , city , employee_id , age , full_name | shop : shop_id , name , district , manager_name , number_products , location | hiring : shop_id , employee_id , is_full_time , start_from | evaluation : year_awarded , bonus , employee_id", "extra_map": { "employee": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "age", "city", "full_name", "given_name" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "manager_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "name of employee": "employee.Name", "evaluation": "evaluation" } }, { "question": "which employee received the most awards in #evaluations# ? give me the #employee name# .", "db_id": "employee_hire_evaluation", "orig_query": "select t1.name from employee as t1 join evaluation as t2 on t1.employee_id = t2.employee_id group by t2.employee_id order by count(*) desc limit 1", "schema_with_content": "employee : full_name (\"Steve Borthwick\", \"Steve Borthwick\", \"George Chuter\"), given_name (\"Steve Borthwick\", \"Steve Borthwick\", \"George Chuter\"), age (32, 43, 28), city (\"Leicester\", \"Bath\", \"Bath\"), employee_id (6, 8, 5) | shop : location (\"Kuopio\", \"Turku\", \"Helsinki\"), manager_name (\"Mika Lehkosuo\", \"Job Dragtsma\", \"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\"), name (\"FF Jaro\", \"KuPS\", \"FC Lahti\"), number_products (4780, 10000, 6000), district (\"Lahden Stadion\", \"Jakobstads Centralplan\", \"Arto Tolsa Areena\"), shop_id (6, 7, 8) | hiring : employee_id (1, 6, 4), start_from (\"2010\", \"2012\", \"2011\"), shop_id (1, 1, 6), is_full_time (\"T\", \"F\") | evaluation : employee_id (\"7\", \"10\", \"10\"), year_awarded (\"2018\", \"2017\", \"2011\"), bonus (4000.0, 2900.0, 3000.0)", "schema_without_content": "employee : full_name , given_name , age , city , employee_id | shop : location , manager_name , name , number_products , district , shop_id | hiring : employee_id , start_from , shop_id , is_full_time | evaluation : employee_id , year_awarded , bonus", "extra_map": { "employee": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "age", "city", "full_name", "given_name" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "manager_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "evaluations": "evaluation", "employee name": "employee.Name" } }, { "question": "find the #name of the employee# who got the highest one time #bonus# .", "db_id": "employee_hire_evaluation", "orig_query": "select t1.name from employee as t1 join evaluation as t2 on t1.employee_id = t2.employee_id order by t2.bonus desc limit 1", "schema_with_content": "employee : given_name (\"Mark Regan\", \"Jason Hobson\", \"Jason Hobson\"), employee_id (6, 3, 6), age (28, 36, 23), city (\"Bristol\", \"Bristol\", \"Bath\"), full_name (\"Mark Regan\", \"Jason Hobson\", \"Jason Hobson\") | shop : name (\"KuPS\", \"HJK\", \"FC Lahti\"), manager_name (\"Kai Nyyss\u00c3\u00b6nen\", \"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\", \"Kai Nyyss\u00c3\u00b6nen\"), district (\"Tapiolan Urheilupuisto\", \"Tapiolan Urheilupuisto\", \"Wikl\u00c3\u00b6f Holding Arena\"), location (\"Kotka\", \"Mariehamn\", \"Helsinki\"), number_products (4780, 10770, 6000), shop_id (8, 3, 9) | hiring : employee_id (2, 5, 1), is_full_time (\"T\", \"F\"), shop_id (2, 1, 2), start_from (\"2011\", \"2011\", \"2009\") | evaluation : bonus (2900.0, 3000.0, 3000.0), year_awarded (\"2016\", \"2017\", \"2018\"), employee_id (\"10\", \"7\", \"7\")", "schema_without_content": "employee : given_name , employee_id , age , city , full_name | shop : name , manager_name , district , location , number_products , shop_id | hiring : employee_id , is_full_time , shop_id , start_from | evaluation : bonus , year_awarded , employee_id", "extra_map": { "employee": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "age", "city", "full_name", "given_name" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "manager_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "name of the employee": "employee.Name", "bonus": "evaluation.Bonus" } }, { "question": "which employee received the biggest #bonus# ? give me the #employee name# .", "db_id": "employee_hire_evaluation", "orig_query": "select t1.name from employee as t1 join evaluation as t2 on t1.employee_id = t2.employee_id order by t2.bonus desc limit 1", "schema_with_content": "employee : given_name (\"Steve Borthwick\", \"George Chuter\", \"Steve Borthwick\"), employee_id (2, 3, 8), city (\"Bath\", \"Bristol\", \"Bristol\"), full_name (\"Steve Borthwick\", \"George Chuter\", \"Steve Borthwick\"), age (23, 36, 29) | shop : name (\"FC Lahti\", \"FC Haka\", \"FC Honka\"), district (\"Finnair Stadium\", \"Lahden Stadion\", \"Magnum Areena\"), manager_name (\"Job Dragtsma\", \"Antti Muurinen\", \"Mika Lehkosuo\"), shop_id (9, 2, 3), location (\"Jakobstad\", \"Espoo\", \"Helsinki\"), number_products (15000, 5000, 1600) | hiring : start_from (\"2003\", \"2012\", \"2009\"), employee_id (2, 4, 3), shop_id (5, 6, 4), is_full_time (\"T\", \"F\") | evaluation : bonus (2900.0, 4000.0, 3200.0), employee_id (\"10\", \"1\", \"1\"), year_awarded (\"2016\", \"2015\", \"2015\")", "schema_without_content": "employee : given_name , employee_id , city , full_name , age | shop : name , district , manager_name , shop_id , location , number_products | hiring : start_from , employee_id , shop_id , is_full_time | evaluation : bonus , employee_id , year_awarded", "extra_map": { "employee": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "age", "city", "full_name", "given_name" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "manager_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "bonus": "evaluation.Bonus", "employee name": "employee.Name" } }, { "question": "find the #names of employees# who never won any #award# in the evaluation.", "db_id": "employee_hire_evaluation", "orig_query": "select name from employee where employee_id not in (select employee_id from evaluation)", "schema_with_content": "employee : given_name (\"Tim Payne\", \"Lee Mears\", \"George Chuter\"), full_name (\"Tim Payne\", \"Lee Mears\", \"George Chuter\"), employee_id (1, 9, 1), age (23, 29, 29), city (\"Bath\", \"Leicester\", \"Wasps\") | shop : number_products (15000, 6000, 5000), shop_id (1, 6, 9), district (\"Finnair Stadium\", \"Veritas Stadion\", \"Magnum Areena\"), manager_name (\"Job Dragtsma\", \"Job Dragtsma\", \"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\"), name (\"FC Inter\", \"HJK\", \"FC Honka\"), location (\"Jakobstad\", \"Kotka\", \"Turku\") | hiring : start_from (\"2012\", \"2011\", \"2011\"), shop_id (5, 6, 1), is_full_time (\"T\", \"F\"), employee_id (5, 7, 3) | evaluation : year_awarded (\"2016\", \"2017\", \"2016\"), bonus (2900.0, 3000.0, 4000.0), employee_id (\"7\", \"10\", \"4\")", "schema_without_content": "employee : given_name , full_name , employee_id , age , city | shop : number_products , shop_id , district , manager_name , name , location | hiring : start_from , shop_id , is_full_time , employee_id | evaluation : year_awarded , bonus , employee_id", "extra_map": { "employee": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "age", "city", "full_name", "given_name" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "manager_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "names of employees": "employee.Name", "award": "evaluation" } }, { "question": "what are the #names of the employees# who never received any #evaluation# ?", "db_id": "employee_hire_evaluation", "orig_query": "select name from employee where employee_id not in (select employee_id from evaluation)", "schema_with_content": "employee : employee_id (9, 8, 3), city (\"Bristol\", \"Bristol\", \"Bath\"), full_name (\"Andrew Sheridan\", \"George Chuter\", \"Tim Payne\"), given_name (\"Andrew Sheridan\", \"George Chuter\", \"Tim Payne\"), age (30, 43, 23) | shop : location (\"Kotka\", \"Kuopio\", \"Mariehamn\"), district (\"Veritas Stadion\", \"Wikl\u00c3\u00b6f Holding Arena\", \"Tapiolan Urheilupuisto\"), number_products (5000, 6000, 15000), name (\"KuPS\", \"IFK Mariehamn\", \"FC KooTeePee\"), manager_name (\"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\", \"Job Dragtsma\", \"Antti Muurinen\"), shop_id (7, 8, 9) | hiring : shop_id (2, 6, 2), is_full_time (\"T\", \"F\"), start_from (\"2003\", \"2009\", \"2013\"), employee_id (1, 3, 1) | evaluation : bonus (3000.0, 3000.0, 2900.0), year_awarded (\"2016\", \"2017\", \"2011\"), employee_id (\"2\", \"2\", \"1\")", "schema_without_content": "employee : employee_id , city , full_name , given_name , age | shop : location , district , number_products , name , manager_name , shop_id | hiring : shop_id , is_full_time , start_from , employee_id | evaluation : bonus , year_awarded , employee_id", "extra_map": { "employee": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "age", "city", "full_name", "given_name" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "manager_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "names of the employees": "employee.Name", "evaluation": "evaluation" } }, { "question": "what is the #name of the shop that is hiring# the largest number of employees?", "db_id": "employee_hire_evaluation", "orig_query": "select t2.name from hiring as t1 join shop as t2 on t1.shop_id = t2.shop_id group by t1.shop_id order by count(*) desc limit 1", "schema_with_content": "employee : city (\"Sale\", \"Sale\", \"Sale\"), age (32, 43, 36), employee_id (5, 5, 3), name (\"Lee Mears\", \"Andrew Sheridan\", \"Jason Hobson\") | shop : manager_name (\"Tommi Kautonen\", \"Mika Lehkosuo\", \"Kai Nyyss\u00c3\u00b6nen\"), district (\"Arto Tolsa Areena\", \"Finnair Stadium\", \"Finnair Stadium\"), location (\"Espoo\", \"Kotka\", \"Espoo\"), title (\"FC Honka\", \"IFK Mariehamn\", \"IFK Mariehamn\"), shop_id (1, 5, 7), number_products (10000, 6000, 3500), business_name (\"FC Honka\", \"IFK Mariehamn\", \"IFK Mariehamn\") | hiring : start_from (\"2013\", \"2012\", \"2011\"), employee_id (2, 2, 6), shop_id (4, 4, 8), is_full_time (\"T\", \"F\") | evaluation : bonus (2900.0, 4000.0, 3000.0), year_awarded (\"2016\", \"2011\", \"2015\"), employee_id (\"10\", \"4\", \"1\")", "schema_without_content": "employee : city , age , employee_id , name | shop : manager_name , district , location , title , shop_id , number_products , business_name | hiring : start_from , employee_id , shop_id , is_full_time | evaluation : bonus , year_awarded , employee_id", "extra_map": { "shop": { "name": [ "title", "business_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "location", "district", "number_products", "manager_name", "title", "business_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "name of the shop that is hiring": "shop.Name" } }, { "question": "which shop has the most #employees# ? give me the #shop name# .", "db_id": "employee_hire_evaluation", "orig_query": "select t2.name from hiring as t1 join shop as t2 on t1.shop_id = t2.shop_id group by t1.shop_id order by count(*) desc limit 1", "schema_with_content": "employee : name (\"Steve Borthwick\", \"Tim Payne\", \"George Chuter\"), employee_id (4, 8, 6), age (36, 36, 43), city (\"Leicester\", \"Bath\", \"Sale\") | shop : district (\"Veritas Stadion\", \"Magnum Areena\", \"Magnum Areena\"), number_products (3516, 10000, 4780), business_name (\"FC Honka\", \"FC Lahti\", \"FC Inter\"), shop_id (5, 5, 6), location (\"Helsinki\", \"Mariehamn\", \"Lahti\"), manager_name (\"Olli Huttunen\", \"Kai Nyyss\u00c3\u00b6nen\", \"Antti Muurinen\"), title (\"FC Honka\", \"FC Lahti\", \"FC Inter\") | hiring : employee_id (7, 7, 7), is_full_time (\"T\", \"F\"), start_from (\"2011\", \"2003\", \"2012\"), shop_id (5, 4, 5) | evaluation : bonus (3200.0, 2900.0, 4000.0), employee_id (\"7\", \"2\", \"2\"), year_awarded (\"2017\", \"2016\", \"2011\")", "schema_without_content": "employee : name , employee_id , age , city | shop : district , number_products , business_name , shop_id , location , manager_name , title | hiring : employee_id , is_full_time , start_from , shop_id | evaluation : bonus , employee_id , year_awarded", "extra_map": { "shop": { "name": [ "title", "business_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "location", "district", "number_products", "manager_name", "title", "business_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "employees": "employee", "shop name": "shop.Name" } }, { "question": "find the #name of the shops# that do not #hire# any employee.", "db_id": "employee_hire_evaluation", "orig_query": "select name from shop where shop_id not in (select shop_id from hiring)", "schema_with_content": "employee : city (\"Sale\", \"Leicester\", \"Bristol\"), age (28, 40, 30), employee_id (7, 6, 8), name (\"Phil Vickery\", \"Mark Regan\", \"Tim Payne\") | shop : location (\"Espoo\", \"Espoo\", \"Espoo\"), business_name (\"FC KooTeePee\", \"FF Jaro\", \"FC Inter\"), district (\"Veritas Stadion\", \"Magnum Areena\", \"Tapiolan Urheilupuisto\"), number_products (6000, 4780, 15000), manager_name (\"Mika Lehkosuo\", \"Mika Lehkosuo\", \"Job Dragtsma\"), shop_id (6, 7, 5), title (\"FC KooTeePee\", \"FF Jaro\", \"FC Inter\") | hiring : is_full_time (\"T\", \"F\"), start_from (\"2010\", \"2008\", \"2011\"), employee_id (7, 6, 3), shop_id (2, 1, 6) | evaluation : employee_id (\"7\", \"7\", \"10\"), bonus (2900.0, 2900.0, 3000.0), year_awarded (\"2016\", \"2016\", \"2017\")", "schema_without_content": "employee : city , age , employee_id , name | shop : location , business_name , district , number_products , manager_name , shop_id , title | hiring : is_full_time , start_from , employee_id , shop_id | evaluation : employee_id , bonus , year_awarded", "extra_map": { "shop": { "name": [ "title", "business_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "location", "district", "number_products", "manager_name", "title", "business_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "name of the shops": "shop.Name", "hire": "hiring" } }, { "question": "which #shops# run with no #employees# ? find the shop names", "db_id": "employee_hire_evaluation", "orig_query": "select name from shop where shop_id not in (select shop_id from hiring)", "schema_with_content": "employee : age (30, 43, 32), city (\"Wasps\", \"Leicester\", \"Leicester\"), name (\"Louis Deacon\", \"Phil Vickery\", \"Phil Vickery\"), employee_id (3, 4, 3) | shop : number_products (15000, 15000, 3516), business_name (\"FC Haka\", \"FC KooTeePee\", \"FC Honka\"), manager_name (\"Mika Laurikainen\", \"Tommi Kautonen\", \"Tommi Kautonen\"), title (\"FC Haka\", \"FC KooTeePee\", \"FC Honka\"), location (\"Mariehamn\", \"Jakobstad\", \"Espoo\"), shop_id (5, 2, 5), district (\"Lahden Stadion\", \"Jakobstads Centralplan\", \"Jakobstads Centralplan\") | hiring : shop_id (4, 2, 5), is_full_time (\"T\", \"F\"), employee_id (4, 3, 6), start_from (\"2013\", \"2003\", \"2003\") | evaluation : bonus (3000.0, 2900.0, 2900.0), year_awarded (\"2017\", \"2016\", \"2018\"), employee_id (\"4\", \"1\", \"7\")", "schema_without_content": "employee : age , city , name , employee_id | shop : number_products , business_name , manager_name , title , location , shop_id , district | hiring : shop_id , is_full_time , employee_id , start_from | evaluation : bonus , year_awarded , employee_id", "extra_map": { "shop": { "name": [ "title", "business_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "location", "district", "number_products", "manager_name", "title", "business_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "shops": "shop", "employees": "hiring.Employee_ID", "shop names": "shop.Name" } }, { "question": "find the #number of employees hired in each shop# ; show the #shop name# as well.", "db_id": "employee_hire_evaluation", "orig_query": "select count(*), t2.name from hiring as t1 join shop as t2 on t1.shop_id = t2.shop_id group by t2.name", "schema_with_content": "employee : age (30, 36, 40), name (\"Phil Vickery\", \"Phil Vickery\", \"Louis Deacon\"), city (\"Sale\", \"Leicester\", \"Leicester\"), employee_id (2, 10, 9) | shop : district (\"Tapiolan Urheilupuisto\", \"Arto Tolsa Areena\", \"Finnair Stadium\"), number_products (3500, 3516, 3516), business_name (\"FC Inter\", \"FC Inter\", \"FC KooTeePee\"), location (\"Valkeakoski\", \"Valkeakoski\", \"Turku\"), shop_id (4, 5, 9), title (\"FC Inter\", \"FC Inter\", \"FC KooTeePee\"), manager_name (\"Kai Nyyss\u00c3\u00b6nen\", \"Mika Lehkosuo\", \"Tommi Kautonen\") | hiring : is_full_time (\"T\", \"F\"), start_from (\"2008\", \"2011\", \"2013\"), employee_id (5, 4, 4), shop_id (4, 6, 1) | evaluation : year_awarded (\"2018\", \"2011\", \"2016\"), bonus (3000.0, 3000.0, 3200.0), employee_id (\"4\", \"1\", \"2\")", "schema_without_content": "employee : age , name , city , employee_id | shop : district , number_products , business_name , location , shop_id , title , manager_name | hiring : is_full_time , start_from , employee_id , shop_id | evaluation : year_awarded , bonus , employee_id", "extra_map": { "shop": { "name": [ "title", "business_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "location", "district", "number_products", "manager_name", "title", "business_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "number of employees hired in each shop": "hiring.Employee_ID", "shop name": "shop.Name" } }, { "question": "for each #shop# , return the #number of employees# working there and the n #ame of the shop.# ", "db_id": "employee_hire_evaluation", "orig_query": "select count(*), t2.name from hiring as t1 join shop as t2 on t1.shop_id = t2.shop_id group by t2.name", "schema_with_content": "employee : employee_id (2, 8, 6), city (\"Bristol\", \"Bristol\", \"Wasps\"), age (30, 28, 29), name (\"Louis Deacon\", \"Lee Mears\", \"George Chuter\") | shop : manager_name (\"Pekka Lyyski\", \"Pekka Lyyski\", \"Mika Lehkosuo\"), business_name (\"FF Jaro\", \"FC Inter\", \"FC Honka\"), shop_id (2, 7, 6), location (\"Mariehamn\", \"Helsinki\", \"Turku\"), number_products (3500, 1600, 10000), title (\"FF Jaro\", \"FC Inter\", \"FC Honka\"), district (\"Tehtaan kentt\u00c3\u00a4\", \"Tapiolan Urheilupuisto\", \"Finnair Stadium\") | hiring : employee_id (2, 7, 1), start_from (\"2008\", \"2003\", \"2009\"), shop_id (5, 8, 4), is_full_time (\"T\", \"F\") | evaluation : employee_id (\"7\", \"2\", \"1\"), year_awarded (\"2011\", \"2018\", \"2018\"), bonus (3200.0, 3200.0, 3200.0)", "schema_without_content": "employee : employee_id , city , age , name | shop : manager_name , business_name , shop_id , location , number_products , title , district | hiring : employee_id , start_from , shop_id , is_full_time | evaluation : employee_id , year_awarded , bonus", "extra_map": { "shop": { "name": [ "title", "business_name" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "location", "district", "number_products", "manager_name", "title", "business_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "shop": "shop", "number of employees": "hiring.Employee_ID", "ame of the shop.": "shop", "name of the shop": "shop.Name" } }, { "question": "what is #total bonus# given in all #evaluations# ?", "db_id": "employee_hire_evaluation", "orig_query": "select sum(bonus) from evaluation", "schema_with_content": "employee : age (32, 30, 32), employee_id (9, 9, 8), name (\"Matt Stevens\", \"Jason Hobson\", \"Louis Deacon\"), city (\"Sale\", \"Sale\", \"Bristol\") | shop : shop_id (7, 2, 3), district (\"Wikl\u00c3\u00b6f Holding Arena\", \"Tapiolan Urheilupuisto\", \"Arto Tolsa Areena\"), name (\"FC Lahti\", \"FC Lahti\", \"IFK Mariehamn\"), manager_name (\"Mika Laurikainen\", \"Kai Nyyss\u00c3\u00b6nen\", \"Tommi Kautonen\"), location (\"Turku\", \"Valkeakoski\", \"Turku\"), number_products (4780, 10770, 3516) | hiring : start_from (\"2011\", \"2010\", \"2009\"), employee_id (6, 1, 3), is_full_time (\"T\", \"F\"), shop_id (1, 1, 8) | evaluation : employee_id (\"10\", \"2\", \"4\"), year_awarded (\"2011\", \"2017\", \"2017\"), incentive (2900.0, 2900.0, 3200.0), reward (2900.0, 2900.0, 3200.0)", "schema_without_content": "employee : age , employee_id , name , city | shop : shop_id , district , name , manager_name , location , number_products | hiring : start_from , employee_id , is_full_time , shop_id | evaluation : employee_id , year_awarded , incentive , reward", "extra_map": { "evaluation": { "bonus": [ "incentive", "reward" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "manager_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "incentive", "reward" ] }, "column_linking_gt": { "total bonus": "evaluation.Bonus", "evaluations": "evaluation" } }, { "question": "find the total amount of #bonus# given in all the #evaluations# .", "db_id": "employee_hire_evaluation", "orig_query": "select sum(bonus) from evaluation", "schema_with_content": "employee : employee_id (5, 1, 9), name (\"Mark Regan\", \"Mark Regan\", \"Steve Borthwick\"), city (\"Wasps\", \"Bristol\", \"Wasps\"), age (43, 36, 29) | shop : manager_name (\"Kai Nyyss\u00c3\u00b6nen\", \"Mika Lehkosuo\", \"Tommi Kautonen\"), name (\"FC Honka\", \"FC Inter\", \"FC Inter\"), number_products (5000, 3500, 3500), shop_id (9, 1, 9), district (\"Wikl\u00c3\u00b6f Holding Arena\", \"Wikl\u00c3\u00b6f Holding Arena\", \"Finnair Stadium\"), location (\"Mariehamn\", \"Jakobstad\", \"Turku\") | hiring : start_from (\"2013\", \"2003\", \"2010\"), employee_id (1, 5, 5), shop_id (2, 1, 5), is_full_time (\"T\", \"F\") | evaluation : employee_id (\"2\", \"4\", \"1\"), year_awarded (\"2011\", \"2015\", \"2015\"), incentive (3200.0, 3000.0, 3200.0), reward (3200.0, 3000.0, 3200.0)", "schema_without_content": "employee : employee_id , name , city , age | shop : manager_name , name , number_products , shop_id , district , location | hiring : start_from , employee_id , shop_id , is_full_time | evaluation : employee_id , year_awarded , incentive , reward", "extra_map": { "evaluation": { "bonus": [ "incentive", "reward" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "location", "district", "number_products", "manager_name" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "incentive", "reward" ] }, "column_linking_gt": { "bonus": "evaluation.Bonus", "evaluations": "evaluation" } }, { "question": "which #district# has both #stores with less than 3000 products# and #stores with more than 10000 products# ?", "db_id": "employee_hire_evaluation", "orig_query": "select district from shop where number_products < 3000 intersect select district from shop where number_products > 10000", "schema_with_content": "employee : city (\"Bristol\", \"Leicester\", \"Bath\"), name (\"Andrew Sheridan\", \"George Chuter\", \"Lee Mears\"), age (43, 29, 40), employee_id (4, 10, 9) | shop : territory (\"Arto Tolsa Areena\", \"Lahden Stadion\", \"Finnair Stadium\"), location (\"Kuopio\", \"Mariehamn\", \"Valkeakoski\"), name (\"HJK\", \"IFK Mariehamn\", \"IFK Mariehamn\"), number_products (3516, 3500, 1600), manager_name (\"Ilkka M\u00c3\u00a4kel\u00c3\u00a4\", \"Mika Laurikainen\", \"Mika Laurikainen\"), shop_id (1, 4, 5), region (\"Arto Tolsa Areena\", \"Lahden Stadion\", \"Finnair Stadium\") | hiring : is_full_time (\"T\", \"F\"), start_from (\"2008\", \"2011\", \"2003\"), shop_id (8, 6, 5), employee_id (2, 2, 7) | evaluation : bonus (4000.0, 2900.0, 4000.0), year_awarded (\"2018\", \"2018\", \"2017\"), employee_id (\"1\", \"2\", \"1\")", "schema_without_content": "employee : city , name , age , employee_id | shop : territory , location , name , number_products , manager_name , shop_id , region | hiring : is_full_time , start_from , shop_id , employee_id | evaluation : bonus , year_awarded , employee_id", "extra_map": { "shop": { "district": [ "region", "territory" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "location", "number_products", "manager_name", "region", "territory" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "district": "shop.District", "stores with less than 3000 products": "shop.Number_products", "stores with more than 10000 products": "shop.Number_products" } }, { "question": "find the #districts# in which there are both #shops# selling #less than 3000 products# and shops selling #more than 10000 products# .", "db_id": "employee_hire_evaluation", "orig_query": "select district from shop where number_products < 3000 intersect select district from shop where number_products > 10000", "schema_with_content": "employee : city (\"Wasps\", \"Wasps\", \"Leicester\"), name (\"Lee Mears\", \"Louis Deacon\", \"Mark Regan\"), age (29, 36, 23), employee_id (6, 10, 10) | shop : location (\"Valkeakoski\", \"Jakobstad\", \"Lahti\"), territory (\"Wikl\u00c3\u00b6f Holding Arena\", \"Wikl\u00c3\u00b6f Holding Arena\", \"Magnum Areena\"), manager_name (\"Pekka Lyyski\", \"Job Dragtsma\", \"Mika Lehkosuo\"), number_products (3500, 10000, 1600), name (\"FC KooTeePee\", \"FC Inter\", \"FC Inter\"), shop_id (9, 5, 9), region (\"Wikl\u00c3\u00b6f Holding Arena\", \"Wikl\u00c3\u00b6f Holding Arena\", \"Magnum Areena\") | hiring : start_from (\"2008\", \"2011\", \"2010\"), shop_id (8, 1, 4), employee_id (5, 1, 6), is_full_time (\"T\", \"F\") | evaluation : bonus (3200.0, 3200.0, 3000.0), employee_id (\"7\", \"2\", \"10\"), year_awarded (\"2016\", \"2016\", \"2017\")", "schema_without_content": "employee : city , name , age , employee_id | shop : location , territory , manager_name , number_products , name , shop_id , region | hiring : start_from , shop_id , employee_id , is_full_time | evaluation : bonus , employee_id , year_awarded", "extra_map": { "shop": { "district": [ "region", "territory" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "location", "number_products", "manager_name", "region", "territory" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "districts": "shop.District", "shops": "shop", "less than 3000 products": "shop.Number_products", "more than 10000 products": "shop.Number_products" } }, { "question": "how many different #store locations# are there?", "db_id": "employee_hire_evaluation", "orig_query": "select count(distinct location) from shop", "schema_with_content": "employee : name (\"Louis Deacon\", \"Steve Borthwick\", \"Steve Borthwick\"), employee_id (10, 7, 10), age (43, 36, 43), city (\"Bristol\", \"Bath\", \"Sale\") | shop : manager_name (\"Kai Nyyss\u00c3\u00b6nen\", \"Olli Huttunen\", \"Olli Huttunen\"), name (\"FC Honka\", \"FF Jaro\", \"FC Inter\"), district (\"Jakobstads Centralplan\", \"Finnair Stadium\", \"Magnum Areena\"), place (\"Kuopio\", \"Helsinki\", \"Turku\"), number_products (6000, 6000, 5000), shop_id (6, 5, 6), address (\"Kuopio\", \"Helsinki\", \"Turku\") | hiring : employee_id (3, 6, 2), start_from (\"2010\", \"2011\", \"2010\"), shop_id (2, 2, 4), is_full_time (\"T\", \"F\") | evaluation : year_awarded (\"2017\", \"2017\", \"2011\"), employee_id (\"1\", \"1\", \"7\"), bonus (4000.0, 2900.0, 3200.0)", "schema_without_content": "employee : name , employee_id , age , city | shop : manager_name , name , district , place , number_products , shop_id , address | hiring : employee_id , start_from , shop_id , is_full_time | evaluation : year_awarded , employee_id , bonus", "extra_map": { "shop": { "location": [ "address", "place" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "district", "number_products", "manager_name", "address", "place" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "store locations": "shop.Location" } }, { "question": "count the number of distinct #store locations# .", "db_id": "employee_hire_evaluation", "orig_query": "select count(distinct location) from shop", "schema_with_content": "employee : age (23, 23, 30), name (\"Jason Hobson\", \"Steve Borthwick\", \"Lee Mears\"), employee_id (6, 8, 3), city (\"Bath\", \"Leicester\", \"Bristol\") | shop : number_products (5000, 5000, 10770), manager_name (\"Antti Muurinen\", \"Kai Nyyss\u00c3\u00b6nen\", \"Mika Lehkosuo\"), name (\"KuPS\", \"FC Lahti\", \"FC Haka\"), address (\"Turku\", \"Kuopio\", \"Turku\"), place (\"Turku\", \"Kuopio\", \"Turku\"), shop_id (6, 4, 1), district (\"Tapiolan Urheilupuisto\", \"Veritas Stadion\", \"Lahden Stadion\") | hiring : shop_id (8, 6, 6), employee_id (6, 4, 5), start_from (\"2009\", \"2003\", \"2009\"), is_full_time (\"T\", \"F\") | evaluation : employee_id (\"2\", \"4\", \"2\"), bonus (3200.0, 4000.0, 4000.0), year_awarded (\"2018\", \"2017\", \"2015\")", "schema_without_content": "employee : age , name , employee_id , city | shop : number_products , manager_name , name , address , place , shop_id , district | hiring : shop_id , employee_id , start_from , is_full_time | evaluation : employee_id , bonus , year_awarded", "extra_map": { "shop": { "location": [ "address", "place" ] } }, "extra_table_map": null, "db_schema": { "employee": [ "employee_id", "name", "age", "city" ], "shop": [ "shop_id", "name", "district", "number_products", "manager_name", "address", "place" ], "hiring": [ "shop_id", "employee_id", "start_from", "is_full_time" ], "evaluation": [ "employee_id", "year_awarded", "bonus" ] }, "column_linking_gt": { "store locations": "shop.Location" } }, { "question": "list #document ids# , #document names# , and do #cument descriptions for all documents.# ", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id, document_name, document_description from documents", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"AD\", \"PP\"), template_type_description (\"CV\", \"Paper\", \"CV\") | templates : date_effective_to (\"2008-01-05 14:19:28\", \"2015-09-06 01:08:44\", \"1995-09-19 22:27:48\"), date_effective_from (\"1979-12-24 10:28:16\", \"1979-12-24 10:28:16\", \"1986-12-09 14:51:36\"), version_number (8, 0, 3), template_type_code (\"CV\", \"CV\", \"AD\"), template_details (\"\"), template_id (6, 19, 19) | documents : document_description (\"r\", \"z\", \"u\"), file_id (80, 1, 80), other_details (None), template_id (10, 25, 6), record_id (80, 1, 80), document_name (\"Robbin CV\", \"Understanding DB\", \"Do not panic\") | paragraphs : other_details (None), document_id (385906526, 16514113, 385906526), paragraph_text (\"Micronesia\", \"Brazil\", \"Jersey\"), paragraph_id (65, 571212310, 1104059)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_to , date_effective_from , version_number , template_type_code , template_details , template_id | documents : document_description , file_id , other_details , template_id , record_id , document_name | paragraphs : other_details , document_id , paragraph_text , paragraph_id", "extra_map": { "documents": { "document_id": [ "record_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "template_id", "document_name", "document_description", "other_details", "record_id", "file_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "document IDs": "Documents.Document_ID", "document names": "Documents.Document_Name", "cument descriptions for all documents.": "Documents", "document descriptions": "Documents.Document_Description" } }, { "question": "list #document ids# , #document names# , and do #cument descriptions for all documents.# ", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id, document_name, document_description from documents", "schema_with_content": "ref_template_types : template_type_code (\"PPT\", \"PP\", \"AD\"), template_type_description (\"CV\", \"Presentation\", \"Presentation\") | templates : template_details (\"\"), version_number (7, 1, 1), template_id (16, 7, 15), date_effective_to (\"1989-11-24 19:06:06\", \"1998-05-12 12:51:29\", \"1979-11-04 08:58:39\"), date_effective_from (\"2002-08-25 13:26:23\", \"2012-04-05 07:11:42\", \"1979-10-20 21:23:20\"), template_type_code (\"BK\", \"CV\", \"CV\") | documents : other_details (None), file_description (\"r\", \"n\", \"f\"), record_description (\"r\", \"n\", \"f\"), template_id (21, 11, 14), document_name (\"Welcome to NY\", \"Welcome to NY\", \"How to write a CV\"), document_id (1, 3540024, 2394) | paragraphs : document_id (80, 16514113, 2394), paragraph_text (\"Ireland\", \"Palestinian Territory\", \"UK\"), paragraph_id (243399026, 571212310, 510442723), other_details (None)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : template_details , version_number , template_id , date_effective_to , date_effective_from , template_type_code | documents : other_details , file_description , record_description , template_id , document_name , document_id | paragraphs : document_id , paragraph_text , paragraph_id , other_details", "extra_map": { "documents": { "document_description": [ "file_description", "record_description" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "other_details", "file_description", "record_description" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "document IDs": "Documents.Document_ID", "document names": "Documents.Document_Name", "cument descriptions for all documents.": "Documents", "document descriptions": "Documents.Document_Description" } }, { "question": "list #document ids# , #document names# , and do #cument descriptions for all documents.# ", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id, document_name, document_description from documents", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"PPT\", \"BK\"), template_type_description (\"Advertisement\", \"CV\", \"Paper\") | templates : version_number (3, 1, 3), date_effective_from (\"2002-08-25 13:26:23\", \"2008-08-01 13:57:26\", \"1975-05-20 22:51:19\"), template_type_code (\"PPT\", \"AD\", \"PPT\"), date_effective_to (\"1975-07-16 04:52:10\", \"2007-06-06 06:18:53\", \"1999-07-08 03:31:04\"), template_id (16, 24, 1), template_details (\"\") | documents : template_id (4, 22, 7), other_details (None), record_name (\"How to read a book\", \"About Korea\", \"How to read a book\"), document_id (0, 50123, 33930), document_description (\"h\", \"f\", \"h\"), file_name (\"How to read a book\", \"About Korea\", \"How to read a book\") | paragraphs : paragraph_id (1104059, 280120913, 243399026), document_id (385906526, 3, 651512), other_details (None), paragraph_text (\"Palestinian Territory\", \"Ireland\", \"Jersey\")", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : version_number , date_effective_from , template_type_code , date_effective_to , template_id , template_details | documents : template_id , other_details , record_name , document_id , document_description , file_name | paragraphs : paragraph_id , document_id , other_details , paragraph_text", "extra_map": { "documents": { "document_name": [ "file_name", "record_name" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_description", "other_details", "file_name", "record_name" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "document IDs": "Documents.Document_ID", "document names": "Documents.Document_Name", "cument descriptions for all documents.": "Documents", "document descriptions": "Documents.Document_Description" } }, { "question": "what are the #ids# , #names# , and de #scriptions for all documents?# ", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id, document_name, document_description from documents", "schema_with_content": "ref_template_types : template_type_description (\"Paper\", \"Advertisement\", \"Presentation\"), template_type_code (\"AD\", \"BK\", \"PP\") | templates : template_type_code (\"PP\", \"AD\", \"CV\"), version_number (0, 1, 6), template_details (\"\"), template_id (10, 16, 10), date_effective_to (\"1992-05-02 20:06:11\", \"1998-05-12 12:51:29\", \"2008-01-05 14:19:28\"), date_effective_from (\"2005-02-20 00:31:34\", \"1999-06-21 11:10:30\", \"1993-10-07 02:33:04\") | documents : template_id (25, 10, 7), file_id (3, 0, 80), document_name (\"Customer reviews\", \"Customer reviews\", \"About Korea\"), other_details (None), record_id (3, 0, 80), document_description (\"w\", \"w\", \"b\") | paragraphs : document_id (33930, 80, 80), other_details (None), paragraph_id (241, 1104059, 65), paragraph_text (\"Senegal\", \"Papua New Guinea\", \"Ireland\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_type_code , version_number , template_details , template_id , date_effective_to , date_effective_from | documents : template_id , file_id , document_name , other_details , record_id , document_description | paragraphs : document_id , other_details , paragraph_id , paragraph_text", "extra_map": { "documents": { "document_id": [ "record_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "template_id", "document_name", "document_description", "other_details", "record_id", "file_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "ids": "Documents.Document_ID", "names": "Documents.Document_Name", "scriptions for all documents?": "Documents", "descriptions": "Documents.Document_Description" } }, { "question": "what are the #ids# , #names# , and de #scriptions for all documents?# ", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id, document_name, document_description from documents", "schema_with_content": "ref_template_types : template_type_description (\"Advertisement\", \"Advertisement\", \"Presentation\"), template_type_code (\"PP\", \"CV\", \"PPT\") | templates : template_details (\"\"), date_effective_from (\"1983-07-16 21:16:16\", \"2012-04-05 07:11:42\", \"1979-10-20 21:23:20\"), version_number (6, 5, 7), date_effective_to (\"1979-11-04 08:58:39\", \"1979-11-04 08:58:39\", \"1975-07-16 04:52:10\"), template_id (21, 23, 9), template_type_code (\"BK\", \"AD\", \"AD\") | documents : template_id (21, 21, 4), document_id (50123, 1, 76), other_details (None), file_description (\"f\", \"h\", \"y\"), document_name (\"Understanding DB\", \"Introduction of OS\", \"Introduction of OS\"), record_description (\"f\", \"h\", \"y\") | paragraphs : document_id (50123, 50123, 50123), other_details (None), paragraph_id (243399026, 946335436, 946335436), paragraph_text (\"Indonesia\", \"Palestinian Territory\", \"UK\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_details , date_effective_from , version_number , date_effective_to , template_id , template_type_code | documents : template_id , document_id , other_details , file_description , document_name , record_description | paragraphs : document_id , other_details , paragraph_id , paragraph_text", "extra_map": { "documents": { "document_description": [ "file_description", "record_description" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "other_details", "file_description", "record_description" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "ids": "Documents.Document_ID", "names": "Documents.Document_Name", "scriptions for all documents?": "Documents", "descriptions": "Documents.Document_Description" } }, { "question": "what are the #ids# , #names# , and de #scriptions for all documents?# ", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id, document_name, document_description from documents", "schema_with_content": "ref_template_types : template_type_description (\"Presentation\", \"CV\", \"Book\"), template_type_code (\"AD\", \"PP\", \"PPT\") | templates : template_type_code (\"PPT\", \"AD\", \"PP\"), template_details (\"\"), date_effective_from (\"1983-07-16 21:16:16\", \"2010-09-24 01:15:11\", \"1975-10-20 02:28:58\"), version_number (9, 2, 5), template_id (15, 23, 20), date_effective_to (\"1973-01-12 14:13:34\", \"2000-10-22 11:57:12\", \"1979-11-04 08:58:39\") | documents : record_name (\"Learning French\", \"Do not panic\", \"Customer reviews\"), file_name (\"Learning French\", \"Do not panic\", \"Customer reviews\"), document_id (1, 0, 82), document_description (\"r\", \"n\", \"k\"), template_id (1, 1, 10), other_details (None) | paragraphs : other_details (None), document_id (2394, 2394, 50123), paragraph_id (765713812, 16615, 3708), paragraph_text (\"Micronesia\", \"Micronesia\", \"Palestinian Territory\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_type_code , template_details , date_effective_from , version_number , template_id , date_effective_to | documents : record_name , file_name , document_id , document_description , template_id , other_details | paragraphs : other_details , document_id , paragraph_id , paragraph_text", "extra_map": { "documents": { "document_name": [ "file_name", "record_name" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_description", "other_details", "file_name", "record_name" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "ids": "Documents.Document_ID", "names": "Documents.Document_Name", "scriptions for all documents?": "Documents", "descriptions": "Documents.Document_Description" } }, { "question": "what is the #document name# and #template id for document with description# with the letter 'w' in it?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_name, template_id from documents where document_description like \"%w%\"", "schema_with_content": "ref_template_types : template_type_description (\"Book\", \"CV\", \"CV\"), template_type_code (\"PPT\", \"PPT\", \"AD\") | templates : template_type_code (\"CV\", \"CV\", \"AD\"), date_effective_from (\"1996-02-04 11:27:24\", \"1979-10-20 21:23:20\", \"2010-09-24 01:15:11\"), template_id (20, 6, 9), version_number (4, 8, 0), date_effective_to (\"2008-08-08 18:36:43\", \"1994-12-07 13:26:23\", \"2001-04-18 09:29:52\"), template_details (\"\") | documents : document_id (2394, 76, 16514113), form_id (6, 4, 25), pattern_id (6, 4, 25), document_name (\"How Google people work\", \"Learning French\", \"Palm reading\"), document_description (\"z\", \"f\", \"y\"), other_details (None) | paragraphs : paragraph_id (946335436, 9, 3708), document_id (33930, 16514113, 16514113), paragraph_text (\"Papua New Guinea\", \"Brazil\", \"Fiji\"), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_type_code , date_effective_from , template_id , version_number , date_effective_to , template_details | documents : document_id , form_id , pattern_id , document_name , document_description , other_details | paragraphs : paragraph_id , document_id , paragraph_text , other_details", "extra_map": { "documents": { "template_id": [ "pattern_id", "form_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "document_name", "document_description", "other_details", "pattern_id", "form_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "document name": "Documents.Document_Name", "template id for document with description": "Documents.Template_ID" } }, { "question": "what is the #document name# and #template id for document with description# with the letter 'w' in it?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_name, template_id from documents where document_description like \"%w%\"", "schema_with_content": "ref_template_types : template_type_code (\"PP\", \"CV\", \"PP\"), template_type_description (\"Book\", \"Presentation\", \"Paper\") | templates : template_details (\"\"), template_type_code (\"BK\", \"CV\", \"BK\"), date_effective_from (\"1999-06-21 11:10:30\", \"1979-10-20 21:23:20\", \"1979-10-20 21:23:20\"), version_number (5, 1, 8), date_effective_to (\"2015-09-06 01:08:44\", \"1980-05-07 12:15:47\", \"1995-09-19 22:27:48\"), template_id (21, 22, 1) | documents : record_name (\"Palm reading\", \"A history of Arts\", \"How to read a book\"), document_id (76, 651512, 50123), file_name (\"Palm reading\", \"A history of Arts\", \"How to read a book\"), other_details (None), template_id (1, 1, 6), document_description (\"h\", \"f\", \"b\") | paragraphs : paragraph_id (280120913, 608931827, 9), document_id (3, 16514113, 50123), paragraph_text (\"Korea\", \"Jersey\", \"Korea\"), other_details (None)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : template_details , template_type_code , date_effective_from , version_number , date_effective_to , template_id | documents : record_name , document_id , file_name , other_details , template_id , document_description | paragraphs : paragraph_id , document_id , paragraph_text , other_details", "extra_map": { "documents": { "document_name": [ "file_name", "record_name" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_description", "other_details", "file_name", "record_name" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "document name": "Documents.Document_Name", "template id for document with description": "Documents.Template_ID" } }, { "question": "return the #names# and #template ids# for documents that contain the letter w in their #description# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_name, template_id from documents where document_description like \"%w%\"", "schema_with_content": "ref_template_types : template_type_code (\"AD\", \"CV\", \"BK\"), template_type_description (\"Advertisement\", \"CV\", \"Paper\") | templates : version_number (4, 5, 3), date_effective_to (\"1998-05-12 12:51:29\", \"2007-06-06 06:18:53\", \"2008-01-05 14:19:28\"), date_effective_from (\"1999-06-21 11:10:30\", \"1996-02-04 11:27:24\", \"1979-10-20 21:23:20\"), template_details (\"\"), template_type_code (\"PPT\", \"CV\", \"AD\"), template_id (0, 22, 16) | documents : other_details (None), form_id (21, 10, 25), document_id (3830, 76, 16514113), document_name (\"A history of Arts\", \"How to read a book\", \"Understanding DB\"), document_description (\"n\", \"f\", \"w\"), pattern_id (21, 10, 25) | paragraphs : paragraph_text (\"Brazil\", \"Palestinian Territory\", \"UK\"), document_id (385906526, 385906526, 33930), paragraph_id (280120913, 608931827, 65), other_details (None)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : version_number , date_effective_to , date_effective_from , template_details , template_type_code , template_id | documents : other_details , form_id , document_id , document_name , document_description , pattern_id | paragraphs : paragraph_text , document_id , paragraph_id , other_details", "extra_map": { "documents": { "template_id": [ "pattern_id", "form_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "document_name", "document_description", "other_details", "pattern_id", "form_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "names": "Documents.Document_Name", "template ids": "Documents.Template_ID", "description": "Documents.Document_Description" } }, { "question": "return the #names# and #template ids# for documents that contain the letter w in their #description# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_name, template_id from documents where document_description like \"%w%\"", "schema_with_content": "ref_template_types : template_type_description (\"Paper\", \"Book\", \"Paper\"), template_type_code (\"AD\", \"BK\", \"PP\") | templates : template_type_code (\"PPT\", \"BK\", \"BK\"), template_id (18, 11, 18), date_effective_to (\"1975-07-16 04:52:10\", \"1980-05-07 12:15:47\", \"1995-09-19 22:27:48\"), version_number (5, 8, 4), template_details (\"\"), date_effective_from (\"1999-06-21 11:10:30\", \"1996-02-04 11:27:24\", \"1983-07-16 21:16:16\") | documents : other_details (None), template_id (6, 21, 25), document_id (385906526, 385906526, 1), document_description (\"u\", \"u\", \"f\"), file_name (\"Data base\", \"Customer reviews\", \"Welcome to NY\"), record_name (\"Data base\", \"Customer reviews\", \"Welcome to NY\") | paragraphs : paragraph_id (510442723, 3708, 9946), document_id (385906526, 651512, 3), paragraph_text (\"Ukraine\", \"Brazil\", \"Ukraine\"), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_type_code , template_id , date_effective_to , version_number , template_details , date_effective_from | documents : other_details , template_id , document_id , document_description , file_name , record_name | paragraphs : paragraph_id , document_id , paragraph_text , other_details", "extra_map": { "documents": { "document_name": [ "file_name", "record_name" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_description", "other_details", "file_name", "record_name" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "names": "Documents.Document_Name", "template ids": "Documents.Template_ID", "description": "Documents.Document_Description" } }, { "question": "what is the #document id# , #template id# and d #escription for document named# \"robbin cv\"?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id, template_id, document_description from documents where document_name = \"Robbin CV\"", "schema_with_content": "ref_template_types : template_type_description (\"Book\", \"Presentation\", \"Advertisement\"), template_type_code (\"PP\", \"PPT\", \"BK\") | templates : version_number (8, 5, 2), date_effective_to (\"1998-05-12 12:51:29\", \"1973-01-12 14:13:34\", \"1999-07-08 03:31:04\"), template_id (14, 24, 14), date_effective_from (\"2008-08-01 13:57:26\", \"2005-11-12 07:09:48\", \"2005-02-20 00:31:34\"), template_type_code (\"CV\", \"CV\", \"CV\"), template_details (\"\") | documents : file_id (0, 50123, 3), template_id (20, 6, 10), other_details (None), record_id (0, 50123, 3), document_name (\"How to read a book\", \"How Google people work\", \"Data base\"), document_description (\"b\", \"r\", \"r\") | paragraphs : document_id (3540024, 50123, 2394), paragraph_text (\"Korea\", \"Somalia\", \"Indonesia\"), paragraph_id (65, 241, 1104059), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : version_number , date_effective_to , template_id , date_effective_from , template_type_code , template_details | documents : file_id , template_id , other_details , record_id , document_name , document_description | paragraphs : document_id , paragraph_text , paragraph_id , other_details", "extra_map": { "documents": { "document_id": [ "record_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "template_id", "document_name", "document_description", "other_details", "record_id", "file_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "document id": "Documents.Document_ID", "template id": "Documents.Template_ID", "escription for document named": "Documents.Document_Name", "description": "Documents.Document_Description" } }, { "question": "what is the #document id# , #template id# and d #escription for document named# \"robbin cv\"?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id, template_id, document_description from documents where document_name = \"Robbin CV\"", "schema_with_content": "ref_template_types : template_type_description (\"Book\", \"Presentation\", \"Advertisement\"), template_type_code (\"PPT\", \"BK\", \"BK\") | templates : template_type_code (\"CV\", \"AD\", \"PPT\"), date_effective_from (\"1999-06-21 11:10:30\", \"1979-10-20 21:23:20\", \"2010-09-24 01:15:11\"), version_number (0, 5, 2), template_details (\"\"), date_effective_to (\"1999-07-08 03:31:04\", \"1995-09-19 22:27:48\", \"1973-01-12 14:13:34\"), template_id (9, 20, 0) | documents : record_description (\"k\", \"b\", \"r\"), template_id (22, 6, 4), document_id (3540024, 385906526, 801801), other_details (None), file_description (\"k\", \"b\", \"r\"), document_name (\"Do not panic\", \"A history of Arts\", \"How to read a book\") | paragraphs : paragraph_text (\"Ukraine\", \"Fiji\", \"Brazil\"), other_details (None), document_id (3830, 80, 651512), paragraph_id (65, 765713812, 1104059)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_type_code , date_effective_from , version_number , template_details , date_effective_to , template_id | documents : record_description , template_id , document_id , other_details , file_description , document_name | paragraphs : paragraph_text , other_details , document_id , paragraph_id", "extra_map": { "documents": { "document_description": [ "file_description", "record_description" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "other_details", "file_description", "record_description" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "document id": "Documents.Document_ID", "template id": "Documents.Template_ID", "escription for document named": "Documents.Document_Name", "description": "Documents.Document_Description" } }, { "question": "what is the #document id# , #template id# and d #escription for document named# \"robbin cv\"?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id, template_id, document_description from documents where document_name = \"Robbin CV\"", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"PP\", \"PP\"), template_type_description (\"Advertisement\", \"CV\", \"Book\") | templates : date_effective_to (\"2006-02-06 23:52:04\", \"1989-11-24 19:06:06\", \"1998-05-12 12:51:29\"), template_details (\"\"), template_type_code (\"AD\", \"PPT\", \"PP\"), version_number (2, 4, 5), template_id (18, 21, 22), date_effective_from (\"2005-02-20 00:31:34\", \"1975-05-20 22:51:19\", \"1996-02-04 11:27:24\") | documents : form_id (20, 7, 1), pattern_id (20, 7, 1), other_details (None), document_name (\"Introduction of OS\", \"Summer Show\", \"Learning French\"), document_description (\"u\", \"f\", \"y\"), document_id (385906526, 80, 16514113) | paragraphs : paragraph_id (765713812, 510442723, 16615), paragraph_text (\"Indonesia\", \"Fiji\", \"Micronesia\"), document_id (3, 2394, 3), other_details (None)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_to , template_details , template_type_code , version_number , template_id , date_effective_from | documents : form_id , pattern_id , other_details , document_name , document_description , document_id | paragraphs : paragraph_id , paragraph_text , document_id , other_details", "extra_map": { "documents": { "template_id": [ "pattern_id", "form_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "document_name", "document_description", "other_details", "pattern_id", "form_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "document id": "Documents.Document_ID", "template id": "Documents.Template_ID", "escription for document named": "Documents.Document_Name", "description": "Documents.Document_Description" } }, { "question": "return the #document id# , #template id# , and de #scription for the document with the name r# obbin cv.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id, template_id, document_description from documents where document_name = \"Robbin CV\"", "schema_with_content": "ref_template_types : template_type_description (\"Paper\", \"Paper\", \"Advertisement\"), template_type_code (\"CV\", \"AD\", \"CV\") | templates : date_effective_to (\"1974-09-14 06:34:39\", \"2008-08-08 18:36:43\", \"2008-08-08 18:36:43\"), template_id (6, 6, 4), template_details (\"\"), template_type_code (\"PP\", \"BK\", \"BK\"), date_effective_from (\"1996-02-04 11:27:24\", \"1975-10-20 02:28:58\", \"1986-12-09 14:51:36\"), version_number (7, 7, 4) | documents : other_details (None), file_id (801801, 1, 3830), record_id (801801, 1, 3830), document_name (\"A history of Arts\", \"About Korea\", \"Do not panic\"), template_id (4, 4, 7), document_description (\"z\", \"f\", \"u\") | paragraphs : paragraph_id (7, 765713812, 571212310), other_details (None), document_id (16514113, 385906526, 651512), paragraph_text (\"Ireland\", \"Ireland\", \"Palestinian Territory\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : date_effective_to , template_id , template_details , template_type_code , date_effective_from , version_number | documents : other_details , file_id , record_id , document_name , template_id , document_description | paragraphs : paragraph_id , other_details , document_id , paragraph_text", "extra_map": { "documents": { "document_id": [ "record_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "template_id", "document_name", "document_description", "other_details", "record_id", "file_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "document id": "Documents.Document_ID", "template id": "Documents.Template_ID", "scription for the document with the name R": "Documents.Document_Name", "description": "Documents.Document_Description" } }, { "question": "return the #document id# , #template id# , and de #scription for the document with the name r# obbin cv.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id, template_id, document_description from documents where document_name = \"Robbin CV\"", "schema_with_content": "ref_template_types : template_type_code (\"AD\", \"PPT\", \"CV\"), template_type_description (\"Paper\", \"Presentation\", \"Advertisement\") | templates : template_type_code (\"CV\", \"PP\", \"BK\"), version_number (5, 9, 0), date_effective_to (\"2008-08-08 18:36:43\", \"1989-11-24 19:06:06\", \"2008-01-05 14:19:28\"), template_details (\"\"), date_effective_from (\"2005-02-20 00:31:34\", \"1975-05-20 22:51:19\", \"1999-06-21 11:10:30\"), template_id (8, 18, 25) | documents : file_description (\"z\", \"n\", \"w\"), record_description (\"z\", \"n\", \"w\"), document_id (3, 82, 76), template_id (7, 20, 11), other_details (None), document_name (\"Introduction of OS\", \"Summer Show\", \"Data base\") | paragraphs : paragraph_id (3708, 946335436, 1104059), paragraph_text (\"Somalia\", \"Micronesia\", \"Palestinian Territory\"), other_details (None), document_id (651512, 3, 16514113)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : template_type_code , version_number , date_effective_to , template_details , date_effective_from , template_id | documents : file_description , record_description , document_id , template_id , other_details , document_name | paragraphs : paragraph_id , paragraph_text , other_details , document_id", "extra_map": { "documents": { "document_description": [ "file_description", "record_description" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "other_details", "file_description", "record_description" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "document id": "Documents.Document_ID", "template id": "Documents.Template_ID", "scription for the document with the name R": "Documents.Document_Name", "description": "Documents.Document_Description" } }, { "question": "return the #document id# , #template id# , and de #scription for the document with the name r# obbin cv.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id, template_id, document_description from documents where document_name = \"Robbin CV\"", "schema_with_content": "ref_template_types : template_type_description (\"Advertisement\", \"Book\", \"Advertisement\"), template_type_code (\"PPT\", \"BK\", \"BK\") | templates : template_id (20, 7, 0), date_effective_from (\"1993-10-07 02:33:04\", \"1996-02-04 11:27:24\", \"1975-10-20 02:28:58\"), date_effective_to (\"1994-12-07 13:26:23\", \"1979-11-04 08:58:39\", \"2008-08-08 18:36:43\"), template_details (\"\"), template_type_code (\"CV\", \"PPT\", \"PP\"), version_number (0, 9, 1) | documents : document_name (\"How to read a book\", \"Welcome to NY\", \"How Google people work\"), form_id (22, 25, 4), document_id (50123, 76, 33930), other_details (None), document_description (\"z\", \"k\", \"u\"), pattern_id (22, 25, 4) | paragraphs : paragraph_text (\"Korea\", \"Japan\", \"Jersey\"), paragraph_id (9946, 9, 571212310), other_details (None), document_id (3830, 33930, 50123)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_id , date_effective_from , date_effective_to , template_details , template_type_code , version_number | documents : document_name , form_id , document_id , other_details , document_description , pattern_id | paragraphs : paragraph_text , paragraph_id , other_details , document_id", "extra_map": { "documents": { "template_id": [ "pattern_id", "form_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "document_name", "document_description", "other_details", "pattern_id", "form_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "document id": "Documents.Document_ID", "template id": "Documents.Template_ID", "scription for the document with the name R": "Documents.Document_Name", "description": "Documents.Document_Description" } }, { "question": "how many different #templates# do all #document# use?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select count(distinct template_id) from documents", "schema_with_content": "ref_template_types : template_type_description (\"Advertisement\", \"Presentation\", \"Book\"), template_type_code (\"BK\", \"BK\", \"PPT\") | templates : date_effective_from (\"2002-08-25 13:26:23\", \"1983-07-16 21:16:16\", \"2002-08-25 13:26:23\"), date_effective_to (\"2008-08-08 18:36:43\", \"1992-05-02 20:06:11\", \"2001-04-18 09:29:52\"), template_details (\"\"), template_id (8, 18, 21), template_type_code (\"CV\", \"AD\", \"BK\"), version_number (7, 5, 3) | documents : form_id (6, 4, 14), pattern_id (6, 4, 14), document_id (1, 2394, 0), document_description (\"n\", \"w\", \"z\"), document_name (\"Robbin CV\", \"Do not panic\", \"Introduction of OS\"), other_details (None) | paragraphs : document_id (3830, 16514113, 651512), other_details (None), paragraph_text (\"Japan\", \"Ireland\", \"Ireland\"), paragraph_id (241, 241, 571212310)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : date_effective_from , date_effective_to , template_details , template_id , template_type_code , version_number | documents : form_id , pattern_id , document_id , document_description , document_name , other_details | paragraphs : document_id , other_details , paragraph_text , paragraph_id", "extra_map": { "documents": { "template_id": [ "pattern_id", "form_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "document_name", "document_description", "other_details", "pattern_id", "form_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "templates": "Templates.Template_ID", "document": "Documents" } }, { "question": "count the number of different #templates# used for #documents# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select count(distinct template_id) from documents", "schema_with_content": "ref_template_types : template_type_description (\"Book\", \"Advertisement\", \"Advertisement\"), template_type_code (\"AD\", \"AD\", \"PP\") | templates : date_effective_to (\"2008-08-08 18:36:43\", \"1989-11-24 19:06:06\", \"2006-02-06 23:52:04\"), template_type_code (\"CV\", \"CV\", \"PP\"), template_id (10, 11, 15), template_details (\"\"), version_number (7, 1, 8), date_effective_from (\"2010-09-24 01:15:11\", \"2003-06-05 04:03:45\", \"1997-04-17 08:29:44\") | documents : document_id (1, 651512, 3), other_details (None), form_id (21, 8, 25), pattern_id (21, 8, 25), document_description (\"y\", \"k\", \"f\"), document_name (\"Understanding DB\", \"Customer reviews\", \"Welcome to NY\") | paragraphs : other_details (None), paragraph_id (571212310, 65, 7), document_id (50123, 3540024, 16514113), paragraph_text (\"Somalia\", \"Japan\", \"Korea\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : date_effective_to , template_type_code , template_id , template_details , version_number , date_effective_from | documents : document_id , other_details , form_id , pattern_id , document_description , document_name | paragraphs : other_details , paragraph_id , document_id , paragraph_text", "extra_map": { "documents": { "template_id": [ "pattern_id", "form_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "document_name", "document_description", "other_details", "pattern_id", "form_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "templates": "Documents.Template_ID", "documents": "Documents" } }, { "question": "show all #template ids# and #number of documents# using each template.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_id, count(*) from documents group by template_id", "schema_with_content": "ref_template_types : template_type_description (\"Presentation\", \"CV\", \"Presentation\"), template_type_code (\"PPT\", \"CV\", \"PP\") | templates : version_number (3, 2, 3), template_id (4, 4, 6), date_effective_from (\"2012-04-05 07:11:42\", \"2002-08-25 13:26:23\", \"2012-04-05 07:11:42\"), template_type_code (\"PP\", \"CV\", \"PPT\"), template_details (\"\"), date_effective_to (\"1994-12-07 13:26:23\", \"1999-07-08 03:31:04\", \"1974-09-14 06:34:39\") | documents : document_id (385906526, 0, 0), pattern_id (20, 21, 25), document_name (\"How to read a book\", \"How to read a book\", \"How to write a CV\"), form_id (20, 21, 25), other_details (None), document_description (\"z\", \"n\", \"b\") | paragraphs : other_details (None), paragraph_id (241, 16615, 3708), document_id (3830, 50123, 3540024), paragraph_text (\"Somalia\", \"Fiji\", \"UK\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : version_number , template_id , date_effective_from , template_type_code , template_details , date_effective_to | documents : document_id , pattern_id , document_name , form_id , other_details , document_description | paragraphs : other_details , paragraph_id , document_id , paragraph_text", "extra_map": { "documents": { "template_id": [ "pattern_id", "form_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "document_name", "document_description", "other_details", "pattern_id", "form_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template ids": "Documents.Template_ID", "number of documents": "Documents" } }, { "question": "what are all different #template ids# used for #documents# , and how many times were each of them used?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_id, count(*) from documents group by template_id", "schema_with_content": "ref_template_types : template_type_code (\"BK\", \"BK\", \"BK\"), template_type_description (\"Presentation\", \"Presentation\", \"CV\") | templates : date_effective_from (\"1993-10-07 02:33:04\", \"2008-08-01 13:57:26\", \"1986-11-14 12:20:18\"), version_number (5, 7, 0), template_details (\"\"), date_effective_to (\"1979-11-04 08:58:39\", \"2015-09-06 01:08:44\", \"2015-09-06 01:08:44\"), template_id (18, 8, 1), template_type_code (\"AD\", \"CV\", \"CV\") | documents : document_name (\"Summer Show\", \"Summer Show\", \"Welcome to NY\"), other_details (None), document_id (3830, 82, 651512), document_description (\"z\", \"f\", \"f\"), form_id (10, 1, 22), pattern_id (10, 1, 22) | paragraphs : other_details (None), document_id (3540024, 33930, 3830), paragraph_id (608931827, 608931827, 510442723), paragraph_text (\"Korea\", \"Papua New Guinea\", \"Korea\")", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_from , version_number , template_details , date_effective_to , template_id , template_type_code | documents : document_name , other_details , document_id , document_description , form_id , pattern_id | paragraphs : other_details , document_id , paragraph_id , paragraph_text", "extra_map": { "documents": { "template_id": [ "pattern_id", "form_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "document_name", "document_description", "other_details", "pattern_id", "form_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template ids": "Documents.Template_ID", "documents": "Documents" } }, { "question": "what is the #id# and #type code for the template# used by the most documents?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.template_id, t2.template_type_code from documents as t1 join templates as t2 on t1.template_id = t2.template_id group by t1.template_id order by count(*) desc limit 1", "schema_with_content": "ref_template_types : template_type_code (\"PPT\", \"BK\", \"PPT\"), template_type_description (\"Book\", \"CV\", \"CV\") | templates : date_effective_from (\"1975-05-20 22:51:19\", \"2012-04-05 07:11:42\", \"1997-04-17 08:29:44\"), version_number (9, 3, 8), date_effective_to (\"2008-08-08 18:36:43\", \"1999-07-08 03:31:04\", \"1992-05-02 20:06:11\"), template_details (\"\"), template_id (14, 18, 18), template_type_code (\"CV\", \"AD\", \"BK\") | documents : pattern_id (20, 20, 25), form_id (20, 20, 25), other_details (None), document_name (\"Do not panic\", \"Customer reviews\", \"Robbin CV\"), document_id (0, 385906526, 16514113), document_description (\"u\", \"y\", \"h\") | paragraphs : document_id (385906526, 2394, 3), paragraph_text (\"Senegal\", \"Japan\", \"Ireland\"), other_details (None), paragraph_id (946335436, 946335436, 65)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_from , version_number , date_effective_to , template_details , template_id , template_type_code | documents : pattern_id , form_id , other_details , document_name , document_id , document_description | paragraphs : document_id , paragraph_text , other_details , paragraph_id", "extra_map": { "documents": { "template_id": [ "pattern_id", "form_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "document_name", "document_description", "other_details", "pattern_id", "form_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "id": "Documents.Template_ID", "type code for the template": "Templates.Template_Type_Code" } }, { "question": "what is the #id# and #type code for the template# used by the most documents?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.template_id, t2.template_type_code from documents as t1 join templates as t2 on t1.template_id = t2.template_id group by t1.template_id order by count(*) desc limit 1", "schema_with_content": "ref_template_types : template_type_code (\"PPT\", \"CV\", \"AD\"), template_type_description (\"Advertisement\", \"Paper\", \"Presentation\") | templates : template_id (0, 1, 1), date_effective_to (\"1974-09-14 06:34:39\", \"1993-03-24 14:30:23\", \"1989-11-24 19:06:06\"), form_type_code (\"PP\", \"AD\", \"AD\"), template_details (\"\"), date_effective_from (\"2002-08-25 13:26:23\", \"1999-06-21 11:10:30\", \"2005-02-20 00:31:34\"), version_number (3, 4, 2), document_type_code (\"PP\", \"AD\", \"AD\") | documents : document_description (\"y\", \"b\", \"y\"), document_name (\"How to write a CV\", \"Introduction of OS\", \"Robbin CV\"), other_details (None), document_id (50123, 3830, 50123), template_id (10, 11, 8) | paragraphs : other_details (None), document_id (3830, 50123, 3830), paragraph_text (\"Somalia\", \"Palestinian Territory\", \"Somalia\"), paragraph_id (946335436, 765713812, 16615)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : template_id , date_effective_to , form_type_code , template_details , date_effective_from , version_number , document_type_code | documents : document_description , document_name , other_details , document_id , template_id | paragraphs : other_details , document_id , paragraph_text , paragraph_id", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "id": "Documents.Template_ID", "type code for the template": "Templates.Template_Type_Code" } }, { "question": "return the #id# and #type code of the template# that is used for the greatest number of documents.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.template_id, t2.template_type_code from documents as t1 join templates as t2 on t1.template_id = t2.template_id group by t1.template_id order by count(*) desc limit 1", "schema_with_content": "ref_template_types : template_type_description (\"Advertisement\", \"Book\", \"Book\"), template_type_code (\"PP\", \"AD\", \"BK\") | templates : date_effective_from (\"1979-12-24 10:28:16\", \"1986-11-14 12:20:18\", \"1984-08-07 13:36:26\"), date_effective_to (\"1989-11-24 19:06:06\", \"1999-07-08 03:31:04\", \"1989-11-24 19:06:06\"), template_details (\"\"), version_number (8, 5, 8), template_id (10, 7, 6), template_type_code (\"AD\", \"CV\", \"PPT\") | documents : other_details (None), document_description (\"r\", \"w\", \"k\"), document_id (0, 3540024, 16514113), document_name (\"Customer reviews\", \"Introduction of OS\", \"Customer reviews\"), form_id (4, 1, 22), pattern_id (4, 1, 22) | paragraphs : other_details (None), document_id (3830, 3540024, 2394), paragraph_id (3708, 510442723, 9), paragraph_text (\"Indonesia\", \"UK\", \"UK\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : date_effective_from , date_effective_to , template_details , version_number , template_id , template_type_code | documents : other_details , document_description , document_id , document_name , form_id , pattern_id | paragraphs : other_details , document_id , paragraph_id , paragraph_text", "extra_map": { "documents": { "template_id": [ "pattern_id", "form_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "document_name", "document_description", "other_details", "pattern_id", "form_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "id": "Documents.Template_ID", "type code of the template": "Templates.Template_Type_Code" } }, { "question": "return the #id# and #type code of the template# that is used for the greatest number of documents.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.template_id, t2.template_type_code from documents as t1 join templates as t2 on t1.template_id = t2.template_id group by t1.template_id order by count(*) desc limit 1", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"PPT\", \"CV\"), template_type_description (\"Advertisement\", \"Paper\", \"Presentation\") | templates : form_type_code (\"PPT\", \"PPT\", \"BK\"), template_id (8, 0, 4), document_type_code (\"PPT\", \"PPT\", \"BK\"), version_number (5, 9, 1), date_effective_from (\"1975-05-20 22:51:19\", \"1975-05-20 22:51:19\", \"1984-08-07 13:36:26\"), template_details (\"\"), date_effective_to (\"2008-08-08 18:36:43\", \"2008-08-08 18:36:43\", \"2015-09-06 01:08:44\") | documents : document_name (\"Data base\", \"How Google people work\", \"Data base\"), template_id (21, 14, 20), document_id (3830, 3, 33930), other_details (None), document_description (\"b\", \"h\", \"n\") | paragraphs : other_details (None), document_id (16514113, 3, 3540024), paragraph_id (765713812, 9, 65), paragraph_text (\"Somalia\", \"Papua New Guinea\", \"UK\")", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : form_type_code , template_id , document_type_code , version_number , date_effective_from , template_details , date_effective_to | documents : document_name , template_id , document_id , other_details , document_description | paragraphs : other_details , document_id , paragraph_id , paragraph_text", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "id": "Documents.Template_ID", "type code of the template": "Templates.Template_Type_Code" } }, { "question": "show #ids for all templates# that are used by more than one #document# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_id from documents group by template_id having count(*) > 1", "schema_with_content": "ref_template_types : template_type_description (\"Paper\", \"CV\", \"Paper\"), template_type_code (\"PPT\", \"AD\", \"PPT\") | templates : template_type_code (\"PP\", \"CV\", \"CV\"), template_details (\"\"), template_id (23, 11, 4), date_effective_to (\"1999-07-08 03:31:04\", \"2001-04-18 09:29:52\", \"1999-07-08 03:31:04\"), date_effective_from (\"1986-12-09 14:51:36\", \"1975-05-20 22:51:19\", \"2005-02-20 00:31:34\"), version_number (8, 5, 3) | documents : other_details (None), document_description (\"k\", \"h\", \"f\"), form_id (25, 10, 1), document_id (82, 0, 33930), pattern_id (25, 10, 1), document_name (\"About Korea\", \"Palm reading\", \"Introduction of OS\") | paragraphs : other_details (None), paragraph_text (\"Brazil\", \"Jersey\", \"Ireland\"), paragraph_id (241, 1104059, 9), document_id (651512, 385906526, 3540024)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_type_code , template_details , template_id , date_effective_to , date_effective_from , version_number | documents : other_details , document_description , form_id , document_id , pattern_id , document_name | paragraphs : other_details , paragraph_text , paragraph_id , document_id", "extra_map": { "documents": { "template_id": [ "pattern_id", "form_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "document_name", "document_description", "other_details", "pattern_id", "form_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "ids for all templates": "Templates.Template_ID", "document": "Documents" } }, { "question": "what are the #template ids# of any #templates# used in more than a single document?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_id from documents group by template_id having count(*) > 1", "schema_with_content": "ref_template_types : template_type_description (\"CV\", \"CV\", \"Paper\"), template_type_code (\"CV\", \"PPT\", \"PPT\") | templates : version_number (5, 4, 8), date_effective_to (\"2015-09-06 01:08:44\", \"1973-01-12 14:13:34\", \"1993-03-24 14:30:23\"), template_type_code (\"CV\", \"PPT\", \"CV\"), template_details (\"\"), template_id (21, 18, 0), date_effective_from (\"1996-02-04 11:27:24\", \"1979-12-24 10:28:16\", \"1975-10-20 02:28:58\") | documents : pattern_id (1, 6, 11), document_name (\"Welcome to NY\", \"Robbin CV\", \"How Google people work\"), document_id (801801, 385906526, 3830), other_details (None), form_id (1, 6, 11), document_description (\"n\", \"f\", \"h\") | paragraphs : paragraph_text (\"Japan\", \"Ukraine\", \"Indonesia\"), document_id (50123, 80, 651512), paragraph_id (1104059, 65, 65), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : version_number , date_effective_to , template_type_code , template_details , template_id , date_effective_from | documents : pattern_id , document_name , document_id , other_details , form_id , document_description | paragraphs : paragraph_text , document_id , paragraph_id , other_details", "extra_map": { "documents": { "template_id": [ "pattern_id", "form_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "document_name", "document_description", "other_details", "pattern_id", "form_id" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template ids": "Documents.Template_ID", "templates": "Templates" } }, { "question": "show #ids for all templates# not used by any #document# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_id from templates except select template_id from documents", "schema_with_content": "ref_template_types : template_type_description (\"Advertisement\", \"Advertisement\", \"Paper\"), template_type_code (\"PP\", \"PPT\", \"PP\") | templates : date_effective_to (\"1994-12-07 13:26:23\", \"1992-05-02 20:06:11\", \"2007-06-06 06:18:53\"), template_type_code (\"CV\", \"CV\", \"AD\"), layout_id (24, 0, 8), version_number (2, 8, 9), date_effective_from (\"1993-10-07 02:33:04\", \"1999-06-21 11:10:30\", \"1979-12-24 10:28:16\"), form_id (24, 0, 8), template_details (\"\") | documents : document_name (\"Introduction of OS\", \"Understanding DB\", \"Summer Show\"), other_details (None), template_id (25, 11, 8), document_id (0, 82, 16514113), document_description (\"h\", \"k\", \"h\") | paragraphs : paragraph_id (7, 9, 765713812), paragraph_text (\"Palestinian Territory\", \"Korea\", \"Papua New Guinea\"), document_id (2394, 16514113, 3), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : date_effective_to , template_type_code , layout_id , version_number , date_effective_from , form_id , template_details | documents : document_name , other_details , template_id , document_id , document_description | paragraphs : paragraph_id , paragraph_text , document_id , other_details", "extra_map": { "templates": { "template_id": [ "form_id", "layout_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details", "form_id", "layout_id" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "ids for all templates": "Templates.Template_ID", "document": "Documents" } }, { "question": "what are the #ids for templates# that are not used in any #documents# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_id from templates except select template_id from documents", "schema_with_content": "ref_template_types : template_type_code (\"PPT\", \"AD\", \"AD\"), template_type_description (\"CV\", \"Paper\", \"Book\") | templates : version_number (8, 5, 8), form_id (8, 9, 1), date_effective_to (\"2008-08-08 18:36:43\", \"2006-02-06 23:52:04\", \"1994-12-07 13:26:23\"), template_type_code (\"PPT\", \"BK\", \"PP\"), layout_id (8, 9, 1), template_details (\"\"), date_effective_from (\"1993-10-07 02:33:04\", \"2003-06-05 04:03:45\", \"2003-06-05 04:03:45\") | documents : template_id (10, 14, 21), document_id (2394, 801801, 82), document_description (\"w\", \"k\", \"w\"), document_name (\"Welcome to NY\", \"How to read a book\", \"Summer Show\"), other_details (None) | paragraphs : paragraph_text (\"UK\", \"Korea\", \"Japan\"), other_details (None), document_id (3, 3540024, 16514113), paragraph_id (16615, 241, 9)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : version_number , form_id , date_effective_to , template_type_code , layout_id , template_details , date_effective_from | documents : template_id , document_id , document_description , document_name , other_details | paragraphs : paragraph_text , other_details , document_id , paragraph_id", "extra_map": { "templates": { "template_id": [ "form_id", "layout_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details", "form_id", "layout_id" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "ids for templates": "Templates.Template_ID", "documents": "Documents" } }, { "question": "show #template ids# , #version numbers# , and te #mplate type codes for all templates.# ", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_id, version_number, template_type_code from templates", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"AD\", \"PP\"), template_type_description (\"Presentation\", \"CV\", \"Book\") | templates : template_id (8, 15, 6), date_effective_to (\"1976-10-28 10:08:50\", \"1999-07-08 03:31:04\", \"1973-01-12 14:13:34\"), template_type_code (\"PPT\", \"BK\", \"AD\"), template_details (\"\"), edition_number (3, 4, 8), revision_number (3, 4, 8), date_effective_from (\"1975-10-20 02:28:58\", \"1986-11-14 12:20:18\", \"2003-06-05 04:03:45\") | documents : other_details (None), document_description (\"f\", \"k\", \"h\"), template_id (7, 20, 1), document_name (\"How to write a CV\", \"How to write a CV\", \"About Korea\"), document_id (0, 0, 3) | paragraphs : paragraph_text (\"Somalia\", \"Micronesia\", \"Jersey\"), document_id (33930, 651512, 33930), other_details (None), paragraph_id (9946, 1104059, 571212310)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : template_id , date_effective_to , template_type_code , template_details , edition_number , revision_number , date_effective_from | documents : other_details , document_description , template_id , document_name , document_id | paragraphs : paragraph_text , document_id , other_details , paragraph_id", "extra_map": { "templates": { "version_number": [ "revision_number", "edition_number" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "template_type_code", "date_effective_from", "date_effective_to", "template_details", "revision_number", "edition_number" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template ids": "Templates.Template_ID", "version numbers": "Templates.Version_Number", "mplate type codes for all templates.": "Templates", "template type codes": "Templates.Template_Type_Code" } }, { "question": "show #template ids# , #version numbers# , and te #mplate type codes for all templates.# ", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_id, version_number, template_type_code from templates", "schema_with_content": "ref_template_types : template_type_description (\"Book\", \"Advertisement\", \"CV\"), template_type_code (\"CV\", \"PPT\", \"AD\") | templates : template_type_code (\"AD\", \"PP\", \"CV\"), template_details (\"\"), layout_id (4, 7, 11), form_id (4, 7, 11), version_number (5, 8, 3), date_effective_from (\"1996-02-04 11:27:24\", \"1993-10-07 02:33:04\", \"1986-12-09 14:51:36\"), date_effective_to (\"1992-05-02 20:06:11\", \"1979-11-04 08:58:39\", \"2008-08-08 18:36:43\") | documents : document_id (76, 3, 50123), template_id (8, 1, 21), document_description (\"h\", \"u\", \"r\"), document_name (\"How to read a book\", \"Summer Show\", \"Introduction of OS\"), other_details (None) | paragraphs : other_details (None), document_id (651512, 651512, 651512), paragraph_id (3708, 1104059, 9), paragraph_text (\"Jersey\", \"Jersey\", \"UK\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_type_code , template_details , layout_id , form_id , version_number , date_effective_from , date_effective_to | documents : document_id , template_id , document_description , document_name , other_details | paragraphs : other_details , document_id , paragraph_id , paragraph_text", "extra_map": { "templates": { "template_id": [ "form_id", "layout_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details", "form_id", "layout_id" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template ids": "Templates.Template_ID", "version numbers": "Templates.Version_Number", "mplate type codes for all templates.": "Templates", "template type codes": "Templates.Template_Type_Code" } }, { "question": "show #template ids# , #version numbers# , and te #mplate type codes for all templates.# ", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_id, version_number, template_type_code from templates", "schema_with_content": "ref_template_types : template_type_code (\"PP\", \"BK\", \"BK\"), template_type_description (\"Paper\", \"Book\", \"CV\") | templates : document_type_code (\"PP\", \"BK\", \"BK\"), template_id (21, 23, 7), template_details (\"\"), date_effective_from (\"1993-10-07 02:33:04\", \"2002-08-25 13:26:23\", \"1975-10-20 02:28:58\"), date_effective_to (\"2000-10-22 11:57:12\", \"1995-09-19 22:27:48\", \"2015-09-06 01:08:44\"), version_number (8, 2, 7), form_type_code (\"PP\", \"BK\", \"BK\") | documents : template_id (6, 4, 22), document_name (\"How Google people work\", \"Summer Show\", \"Palm reading\"), document_description (\"u\", \"f\", \"z\"), document_id (16514113, 3540024, 33930), other_details (None) | paragraphs : other_details (None), paragraph_text (\"UK\", \"Ireland\", \"Ireland\"), document_id (16514113, 33930, 2394), paragraph_id (280120913, 608931827, 65)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : document_type_code , template_id , template_details , date_effective_from , date_effective_to , version_number , form_type_code | documents : template_id , document_name , document_description , document_id , other_details | paragraphs : other_details , paragraph_text , document_id , paragraph_id", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template ids": "Templates.Template_ID", "version numbers": "Templates.Version_Number", "mplate type codes for all templates.": "Templates", "template type codes": "Templates.Template_Type_Code" } }, { "question": "what are the #ids# , #version numbers# , and ty #pe codes for each template?# ", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_id, version_number, template_type_code from templates", "schema_with_content": "ref_template_types : template_type_description (\"Paper\", \"Book\", \"Book\"), template_type_code (\"PPT\", \"BK\", \"AD\") | templates : revision_number (6, 0, 1), template_type_code (\"BK\", \"BK\", \"PP\"), template_id (10, 24, 20), date_effective_to (\"1993-03-24 14:30:23\", \"1973-01-12 14:13:34\", \"1999-07-08 03:31:04\"), date_effective_from (\"1975-10-20 02:28:58\", \"2002-08-25 13:26:23\", \"1979-10-20 21:23:20\"), edition_number (6, 0, 1), template_details (\"\") | documents : document_description (\"b\", \"y\", \"f\"), template_id (8, 1, 7), document_name (\"About Korea\", \"How Google people work\", \"Palm reading\"), document_id (2394, 50123, 82), other_details (None) | paragraphs : paragraph_id (765713812, 241, 243399026), other_details (None), document_id (2394, 16514113, 3), paragraph_text (\"Senegal\", \"Senegal\", \"Jersey\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : revision_number , template_type_code , template_id , date_effective_to , date_effective_from , edition_number , template_details | documents : document_description , template_id , document_name , document_id , other_details | paragraphs : paragraph_id , other_details , document_id , paragraph_text", "extra_map": { "templates": { "version_number": [ "revision_number", "edition_number" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "template_type_code", "date_effective_from", "date_effective_to", "template_details", "revision_number", "edition_number" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "ids": "Templates.Template_ID", "version numbers": "Templates.Version_Number", "pe codes for each template?": "Templates", "type codes": "Templates.Template_Type_Code" } }, { "question": "what are the #ids# , #version numbers# , and ty #pe codes for each template?# ", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_id, version_number, template_type_code from templates", "schema_with_content": "ref_template_types : template_type_description (\"CV\", \"Paper\", \"Advertisement\"), template_type_code (\"AD\", \"PP\", \"PP\") | templates : date_effective_from (\"1979-12-24 10:28:16\", \"1996-02-04 11:27:24\", \"1999-06-21 11:10:30\"), layout_id (0, 14, 20), template_type_code (\"BK\", \"BK\", \"BK\"), version_number (3, 2, 7), date_effective_to (\"1994-12-07 13:26:23\", \"2001-04-18 09:29:52\", \"1979-11-04 08:58:39\"), form_id (0, 14, 20), template_details (\"\") | documents : template_id (20, 4, 4), document_id (0, 385906526, 3), other_details (None), document_description (\"w\", \"f\", \"r\"), document_name (\"Understanding DB\", \"Customer reviews\", \"A history of Arts\") | paragraphs : paragraph_id (9, 510442723, 1104059), paragraph_text (\"Senegal\", \"Korea\", \"Jersey\"), document_id (3540024, 16514113, 651512), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : date_effective_from , layout_id , template_type_code , version_number , date_effective_to , form_id , template_details | documents : template_id , document_id , other_details , document_description , document_name | paragraphs : paragraph_id , paragraph_text , document_id , other_details", "extra_map": { "templates": { "template_id": [ "form_id", "layout_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details", "form_id", "layout_id" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "ids": "Templates.Template_ID", "version numbers": "Templates.Version_Number", "pe codes for each template?": "Templates", "type codes": "Templates.Template_Type_Code" } }, { "question": "what are the #ids# , #version numbers# , and ty #pe codes for each template?# ", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_id, version_number, template_type_code from templates", "schema_with_content": "ref_template_types : template_type_code (\"BK\", \"PP\", \"CV\"), template_type_description (\"Paper\", \"Book\", \"Presentation\") | templates : version_number (8, 0, 8), form_type_code (\"BK\", \"AD\", \"AD\"), template_id (10, 20, 16), date_effective_to (\"2000-10-22 11:57:12\", \"1992-05-02 20:06:11\", \"2000-10-22 11:57:12\"), date_effective_from (\"2002-08-25 13:26:23\", \"2008-08-01 13:57:26\", \"1986-12-09 14:51:36\"), template_details (\"\"), document_type_code (\"BK\", \"AD\", \"AD\") | documents : document_id (76, 80, 2394), document_description (\"z\", \"b\", \"f\"), template_id (20, 11, 25), other_details (None), document_name (\"How Google people work\", \"Robbin CV\", \"How to read a book\") | paragraphs : paragraph_text (\"Brazil\", \"Brazil\", \"Fiji\"), other_details (None), document_id (3830, 33930, 3), paragraph_id (765713812, 608931827, 571212310)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : version_number , form_type_code , template_id , date_effective_to , date_effective_from , template_details , document_type_code | documents : document_id , document_description , template_id , other_details , document_name | paragraphs : paragraph_text , other_details , document_id , paragraph_id", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "ids": "Templates.Template_ID", "version numbers": "Templates.Version_Number", "pe codes for each template?": "Templates", "type codes": "Templates.Template_Type_Code" } }, { "question": "show all distinct #template type codes for all templates# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select distinct template_type_code from templates", "schema_with_content": "ref_template_types : template_type_code (\"PP\", \"CV\", \"PPT\"), template_type_description (\"Paper\", \"Presentation\", \"Presentation\") | templates : date_effective_to (\"1975-07-16 04:52:10\", \"1979-11-04 08:58:39\", \"1973-01-12 14:13:34\"), version_number (5, 9, 6), template_details (\"\"), template_id (6, 7, 15), form_type_code (\"CV\", \"PP\", \"PP\"), document_type_code (\"CV\", \"PP\", \"PP\"), date_effective_from (\"1979-10-20 21:23:20\", \"1986-12-09 14:51:36\", \"1975-05-20 22:51:19\") | documents : template_id (7, 14, 22), document_id (651512, 3, 82), document_name (\"About Korea\", \"Palm reading\", \"How to read a book\"), other_details (None), document_description (\"k\", \"u\", \"u\") | paragraphs : document_id (3830, 651512, 80), paragraph_text (\"Fiji\", \"Indonesia\", \"Indonesia\"), other_details (None), paragraph_id (765713812, 7, 241)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_to , version_number , template_details , template_id , form_type_code , document_type_code , date_effective_from | documents : template_id , document_id , document_name , other_details , document_description | paragraphs : document_id , paragraph_text , other_details , paragraph_id", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type codes for all templates": "Templates.Template_Type_Code" } }, { "question": "what are the different #template type codes# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select distinct template_type_code from templates", "schema_with_content": "ref_template_types : template_type_code (\"BK\", \"PP\", \"PP\"), template_type_description (\"Presentation\", \"Advertisement\", \"Advertisement\") | templates : date_effective_to (\"1973-01-12 14:13:34\", \"2000-10-22 11:57:12\", \"1973-01-12 14:13:34\"), date_effective_from (\"1984-08-07 13:36:26\", \"2005-11-12 07:09:48\", \"2003-06-05 04:03:45\"), document_type_code (\"CV\", \"BK\", \"CV\"), form_type_code (\"CV\", \"BK\", \"CV\"), version_number (9, 6, 7), template_details (\"\"), template_id (1, 23, 24) | documents : document_description (\"f\", \"w\", \"r\"), other_details (None), document_name (\"Summer Show\", \"Robbin CV\", \"Robbin CV\"), template_id (25, 7, 7), document_id (801801, 3830, 80) | paragraphs : document_id (2394, 33930, 80), other_details (None), paragraph_text (\"Japan\", \"Micronesia\", \"Senegal\"), paragraph_id (571212310, 608931827, 65)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_to , date_effective_from , document_type_code , form_type_code , version_number , template_details , template_id | documents : document_description , other_details , document_name , template_id , document_id | paragraphs : document_id , other_details , paragraph_text , paragraph_id", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type codes": "Templates.Template_Type_Code" } }, { "question": "what are the #ids of templates with template type code# pp or ppt?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_id from templates where template_type_code = \"PP\" or template_type_code = \"PPT\"", "schema_with_content": "ref_template_types : template_type_description (\"Book\", \"Book\", \"Advertisement\"), template_type_code (\"PPT\", \"PP\", \"PP\") | templates : form_id (0, 10, 0), template_details (\"\"), date_effective_from (\"1975-10-20 02:28:58\", \"2002-03-02 14:39:49\", \"2012-04-05 07:11:42\"), date_effective_to (\"2015-09-06 01:08:44\", \"1980-05-07 12:15:47\", \"1999-07-08 03:31:04\"), template_type_code (\"AD\", \"PP\", \"CV\"), layout_id (0, 10, 0), version_number (7, 0, 0) | documents : document_id (3540024, 16514113, 2394), template_id (21, 14, 10), document_description (\"f\", \"y\", \"b\"), document_name (\"Summer Show\", \"Summer Show\", \"Welcome to NY\"), other_details (None) | paragraphs : paragraph_id (9, 9, 241), other_details (None), document_id (385906526, 33930, 385906526), paragraph_text (\"Somalia\", \"Indonesia\", \"Papua New Guinea\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : form_id , template_details , date_effective_from , date_effective_to , template_type_code , layout_id , version_number | documents : document_id , template_id , document_description , document_name , other_details | paragraphs : paragraph_id , other_details , document_id , paragraph_text", "extra_map": { "templates": { "template_id": [ "form_id", "layout_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details", "form_id", "layout_id" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "ids of templates with template type code": "Templates.Template_ID" } }, { "question": "return the #ids of templates# that have the #code# pp or ppt.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_id from templates where template_type_code = \"PP\" or template_type_code = \"PPT\"", "schema_with_content": "ref_template_types : template_type_description (\"Presentation\", \"CV\", \"CV\"), template_type_code (\"AD\", \"PPT\", \"AD\") | templates : template_details (\"\"), layout_id (20, 25, 9), date_effective_to (\"1980-05-07 12:15:47\", \"2006-02-06 23:52:04\", \"1974-09-14 06:34:39\"), form_id (20, 25, 9), date_effective_from (\"2002-08-25 13:26:23\", \"1984-08-07 13:36:26\", \"2005-02-20 00:31:34\"), version_number (9, 7, 3), template_type_code (\"AD\", \"PPT\", \"PPT\") | documents : document_id (76, 3, 80), document_description (\"y\", \"z\", \"b\"), other_details (None), template_id (1, 21, 21), document_name (\"Understanding DB\", \"Data base\", \"About Korea\") | paragraphs : document_id (50123, 33930, 2394), other_details (None), paragraph_text (\"Jersey\", \"Indonesia\", \"Senegal\"), paragraph_id (9946, 510442723, 241)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_details , layout_id , date_effective_to , form_id , date_effective_from , version_number , template_type_code | documents : document_id , document_description , other_details , template_id , document_name | paragraphs : document_id , other_details , paragraph_text , paragraph_id", "extra_map": { "templates": { "template_id": [ "form_id", "layout_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details", "form_id", "layout_id" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "ids of templates": "Templates.Template_ID", "code": "Templates.Template_Type_Code" } }, { "question": "what is the #version number# and #template# type code for the #template with version number# later than 5?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select version_number, template_type_code from templates where version_number > 5", "schema_with_content": "ref_template_types : template_type_description (\"CV\", \"Book\", \"Book\"), template_type_code (\"AD\", \"CV\", \"AD\") | templates : revision_number (9, 6, 8), edition_number (9, 6, 8), template_type_code (\"PPT\", \"BK\", \"BK\"), template_details (\"\"), date_effective_to (\"2007-06-06 06:18:53\", \"1994-12-07 13:26:23\", \"2015-09-06 01:08:44\"), date_effective_from (\"2003-06-05 04:03:45\", \"2010-09-24 01:15:11\", \"1999-06-21 11:10:30\"), template_id (1, 15, 20) | documents : other_details (None), template_id (7, 1, 21), document_name (\"Palm reading\", \"Customer reviews\", \"Data base\"), document_id (1, 50123, 1), document_description (\"b\", \"f\", \"r\") | paragraphs : paragraph_id (9, 608931827, 608931827), other_details (None), document_id (2394, 3540024, 3830), paragraph_text (\"Fiji\", \"Papua New Guinea\", \"Ukraine\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : revision_number , edition_number , template_type_code , template_details , date_effective_to , date_effective_from , template_id | documents : other_details , template_id , document_name , document_id , document_description | paragraphs : paragraph_id , other_details , document_id , paragraph_text", "extra_map": { "templates": { "version_number": [ "revision_number", "edition_number" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "template_type_code", "date_effective_from", "date_effective_to", "template_details", "revision_number", "edition_number" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "version number": "Templates.Version_Number", "template": "Templates", "template with version number": "Templates.Version_Number", "template type code": "Templates.Template_Type_Code" } }, { "question": "what is the #version number# and #template# type code for the #template with version number# later than 5?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select version_number, template_type_code from templates where version_number > 5", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"PPT\", \"PP\"), template_type_description (\"CV\", \"Paper\", \"CV\") | templates : version_number (8, 1, 4), date_effective_from (\"1986-12-09 14:51:36\", \"2010-09-24 01:15:11\", \"1975-10-20 02:28:58\"), form_type_code (\"PP\", \"PP\", \"PPT\"), date_effective_to (\"1989-11-24 19:06:06\", \"2001-04-18 09:29:52\", \"1989-11-24 19:06:06\"), template_id (1, 0, 21), template_details (\"\"), document_type_code (\"PP\", \"PP\", \"PPT\") | documents : template_id (14, 4, 11), other_details (None), document_id (385906526, 16514113, 33930), document_name (\"Summer Show\", \"How to write a CV\", \"How to write a CV\"), document_description (\"u\", \"r\", \"b\") | paragraphs : paragraph_id (9946, 243399026, 9), other_details (None), paragraph_text (\"Somalia\", \"Jersey\", \"Senegal\"), document_id (16514113, 3830, 3540024)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : version_number , date_effective_from , form_type_code , date_effective_to , template_id , template_details , document_type_code | documents : template_id , other_details , document_id , document_name , document_description | paragraphs : paragraph_id , other_details , paragraph_text , document_id", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "version number": "Templates.Version_Number", "template": "Templates", "template with version number": "Templates.Version_Number", "template type code": "Templates.Template_Type_Code" } }, { "question": "return the #version numbers# and #template type codes# of templates with a version number greater than 5.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select version_number, template_type_code from templates where version_number > 5", "schema_with_content": "ref_template_types : template_type_description (\"Presentation\", \"Advertisement\", \"Presentation\"), template_type_code (\"CV\", \"BK\", \"PP\") | templates : date_effective_to (\"1973-01-12 14:13:34\", \"1980-05-07 12:15:47\", \"2001-04-18 09:29:52\"), date_effective_from (\"1984-08-07 13:36:26\", \"1986-12-09 14:51:36\", \"1986-11-14 12:20:18\"), template_details (\"\"), template_type_code (\"BK\", \"PP\", \"CV\"), revision_number (8, 8, 2), edition_number (8, 8, 2), template_id (1, 15, 7) | documents : other_details (None), template_id (8, 25, 20), document_description (\"w\", \"y\", \"w\"), document_id (2394, 33930, 3), document_name (\"How Google people work\", \"How to write a CV\", \"How to write a CV\") | paragraphs : paragraph_text (\"Japan\", \"Ukraine\", \"Micronesia\"), paragraph_id (16615, 1104059, 9946), other_details (None), document_id (651512, 385906526, 2394)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : date_effective_to , date_effective_from , template_details , template_type_code , revision_number , edition_number , template_id | documents : other_details , template_id , document_description , document_id , document_name | paragraphs : paragraph_text , paragraph_id , other_details , document_id", "extra_map": { "templates": { "version_number": [ "revision_number", "edition_number" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "template_type_code", "date_effective_from", "date_effective_to", "template_details", "revision_number", "edition_number" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "version numbers": "Templates.Version_Number", "template type codes": "Templates.Template_Type_Code", "version number": "Templates.Version_Number" } }, { "question": "return the #version numbers# and #template type codes# of templates with a version number greater than 5.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select version_number, template_type_code from templates where version_number > 5", "schema_with_content": "ref_template_types : template_type_code (\"AD\", \"AD\", \"PPT\"), template_type_description (\"CV\", \"CV\", \"Presentation\") | templates : document_type_code (\"AD\", \"AD\", \"BK\"), version_number (0, 5, 2), date_effective_to (\"2008-01-05 14:19:28\", \"2008-01-05 14:19:28\", \"2001-04-18 09:29:52\"), date_effective_from (\"1983-07-16 21:16:16\", \"2012-04-05 07:11:42\", \"2008-08-01 13:57:26\"), form_type_code (\"AD\", \"AD\", \"BK\"), template_details (\"\"), template_id (19, 6, 24) | documents : document_description (\"h\", \"u\", \"y\"), document_name (\"Robbin CV\", \"Summer Show\", \"A history of Arts\"), template_id (8, 21, 4), document_id (1, 16514113, 76), other_details (None) | paragraphs : paragraph_text (\"Ireland\", \"Micronesia\", \"Fiji\"), paragraph_id (16615, 571212310, 241), other_details (None), document_id (2394, 2394, 16514113)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : document_type_code , version_number , date_effective_to , date_effective_from , form_type_code , template_details , template_id | documents : document_description , document_name , template_id , document_id , other_details | paragraphs : paragraph_text , paragraph_id , other_details , document_id", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "version numbers": "Templates.Version_Number", "template type codes": "Templates.Template_Type_Code", "version number": "Templates.Version_Number" } }, { "question": "show all #template type codes# and #number of templates# for each.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_code, count(*) from templates group by template_type_code", "schema_with_content": "ref_template_types : template_type_code (\"PP\", \"PPT\", \"PP\"), template_type_description (\"Presentation\", \"CV\", \"CV\") | templates : document_type_code (\"BK\", \"BK\", \"AD\"), date_effective_to (\"2000-10-22 11:57:12\", \"1975-07-16 04:52:10\", \"2015-09-06 01:08:44\"), date_effective_from (\"1997-04-17 08:29:44\", \"2005-02-20 00:31:34\", \"2010-09-24 01:15:11\"), template_id (21, 11, 0), template_details (\"\"), version_number (7, 2, 3), form_type_code (\"BK\", \"BK\", \"AD\") | documents : document_description (\"n\", \"y\", \"u\"), other_details (None), template_id (8, 11, 11), document_name (\"Customer reviews\", \"Do not panic\", \"Understanding DB\"), document_id (1, 651512, 0) | paragraphs : document_id (33930, 33930, 385906526), other_details (None), paragraph_text (\"Jersey\", \"Fiji\", \"Japan\"), paragraph_id (946335436, 65, 571212310)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : document_type_code , date_effective_to , date_effective_from , template_id , template_details , version_number , form_type_code | documents : document_description , other_details , template_id , document_name , document_id | paragraphs : document_id , other_details , paragraph_text , paragraph_id", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type codes": "Templates.Template_Type_Code", "number of templates": "Templates" } }, { "question": "what are the different #template type codes# , and how many #templates# correspond to each?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_code, count(*) from templates group by template_type_code", "schema_with_content": "ref_template_types : template_type_description (\"Paper\", \"CV\", \"CV\"), template_type_code (\"CV\", \"PP\", \"AD\") | templates : date_effective_from (\"1999-06-21 11:10:30\", \"1993-10-07 02:33:04\", \"2005-11-12 07:09:48\"), template_details (\"\"), document_type_code (\"PP\", \"BK\", \"PPT\"), template_id (0, 9, 6), version_number (4, 1, 5), date_effective_to (\"2015-09-06 01:08:44\", \"2007-06-06 06:18:53\", \"1979-11-04 08:58:39\"), form_type_code (\"PP\", \"BK\", \"PPT\") | documents : document_description (\"h\", \"k\", \"r\"), document_id (651512, 3830, 50123), other_details (None), document_name (\"A history of Arts\", \"How to write a CV\", \"About Korea\"), template_id (11, 14, 11) | paragraphs : paragraph_id (3708, 1104059, 280120913), other_details (None), document_id (50123, 3, 16514113), paragraph_text (\"Jersey\", \"Ireland\", \"Jersey\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : date_effective_from , template_details , document_type_code , template_id , version_number , date_effective_to , form_type_code | documents : document_description , document_id , other_details , document_name , template_id | paragraphs : paragraph_id , other_details , document_id , paragraph_text", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type codes": "Templates.Template_Type_Code", "templates": "Templates" } }, { "question": "which #template type code# has most number of #templates# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_code from templates group by template_type_code order by count(*) desc limit 1", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"PPT\", \"CV\"), template_type_description (\"Presentation\", \"Book\", \"Presentation\") | templates : template_details (\"\"), version_number (8, 2, 9), date_effective_from (\"1993-10-07 02:33:04\", \"1999-06-21 11:10:30\", \"1979-10-20 21:23:20\"), document_type_code (\"BK\", \"AD\", \"BK\"), date_effective_to (\"1980-05-07 12:15:47\", \"1993-03-24 14:30:23\", \"1974-09-14 06:34:39\"), form_type_code (\"BK\", \"AD\", \"BK\"), template_id (4, 0, 4) | documents : document_name (\"Summer Show\", \"Welcome to NY\", \"Understanding DB\"), template_id (7, 20, 14), document_id (651512, 80, 1), document_description (\"w\", \"w\", \"y\"), other_details (None) | paragraphs : paragraph_text (\"Ireland\", \"Somalia\", \"Fiji\"), other_details (None), paragraph_id (510442723, 16615, 3708), document_id (16514113, 3, 3830)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : template_details , version_number , date_effective_from , document_type_code , date_effective_to , form_type_code , template_id | documents : document_name , template_id , document_id , document_description , other_details | paragraphs : paragraph_text , other_details , paragraph_id , document_id", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type code": "Templates.Template_Type_Code", "templates": "Templates" } }, { "question": "return the #type code of the template type# that the most templates belong to.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_code from templates group by template_type_code order by count(*) desc limit 1", "schema_with_content": "ref_template_types : template_type_description (\"Book\", \"Paper\", \"Paper\"), template_type_code (\"AD\", \"PP\", \"PPT\") | templates : template_id (10, 19, 9), date_effective_to (\"2006-02-06 23:52:04\", \"2008-08-08 18:36:43\", \"1992-05-02 20:06:11\"), version_number (1, 6, 7), document_type_code (\"AD\", \"AD\", \"BK\"), form_type_code (\"AD\", \"AD\", \"BK\"), template_details (\"\"), date_effective_from (\"2010-09-24 01:15:11\", \"1986-12-09 14:51:36\", \"2002-08-25 13:26:23\") | documents : other_details (None), template_id (20, 1, 14), document_name (\"Palm reading\", \"How to read a book\", \"Welcome to NY\"), document_id (80, 80, 80), document_description (\"f\", \"k\", \"f\") | paragraphs : document_id (16514113, 16514113, 3540024), paragraph_text (\"Somalia\", \"Somalia\", \"Japan\"), paragraph_id (946335436, 16615, 241), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_id , date_effective_to , version_number , document_type_code , form_type_code , template_details , date_effective_from | documents : other_details , template_id , document_name , document_id , document_description | paragraphs : document_id , paragraph_text , paragraph_id , other_details", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "type code of the template type": "Templates.Template_Type_Code" } }, { "question": "show all #template type codes# with less than three #templates# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_code from templates group by template_type_code having count(*) < 3", "schema_with_content": "ref_template_types : template_type_description (\"Advertisement\", \"Presentation\", \"CV\"), template_type_code (\"PPT\", \"PP\", \"PP\") | templates : template_details (\"\"), form_type_code (\"AD\", \"PPT\", \"CV\"), template_id (18, 8, 6), date_effective_to (\"1995-09-19 22:27:48\", \"1989-11-24 19:06:06\", \"1993-03-24 14:30:23\"), date_effective_from (\"1984-08-07 13:36:26\", \"1997-04-17 08:29:44\", \"1975-10-20 02:28:58\"), version_number (9, 2, 4), document_type_code (\"AD\", \"PPT\", \"CV\") | documents : document_description (\"n\", \"b\", \"k\"), other_details (None), document_name (\"Understanding DB\", \"Introduction of OS\", \"Introduction of OS\"), template_id (21, 8, 20), document_id (0, 3, 1) | paragraphs : paragraph_text (\"Jersey\", \"Ireland\", \"Japan\"), paragraph_id (510442723, 9946, 510442723), document_id (3540024, 3, 385906526), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_details , form_type_code , template_id , date_effective_to , date_effective_from , version_number , document_type_code | documents : document_description , other_details , document_name , template_id , document_id | paragraphs : paragraph_text , paragraph_id , document_id , other_details", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type codes": "Templates.Template_Type_Code", "templates": "Templates" } }, { "question": "what are the #codes of template types# that have fewer than 3 #templates# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_code from templates group by template_type_code having count(*) < 3", "schema_with_content": "ref_template_types : template_type_code (\"PPT\", \"BK\", \"PPT\"), template_type_description (\"Book\", \"Paper\", \"Book\") | templates : template_details (\"\"), document_type_code (\"PPT\", \"PPT\", \"BK\"), form_type_code (\"PPT\", \"PPT\", \"BK\"), template_id (16, 4, 6), date_effective_from (\"1984-08-07 13:36:26\", \"1986-12-09 14:51:36\", \"1986-12-09 14:51:36\"), date_effective_to (\"2015-09-06 01:08:44\", \"2000-10-22 11:57:12\", \"1974-09-14 06:34:39\"), version_number (0, 3, 0) | documents : document_id (33930, 76, 0), template_id (10, 21, 4), document_description (\"y\", \"u\", \"z\"), other_details (None), document_name (\"Introduction of OS\", \"Summer Show\", \"Data base\") | paragraphs : document_id (3540024, 50123, 80), paragraph_text (\"Korea\", \"Papua New Guinea\", \"Somalia\"), paragraph_id (946335436, 9946, 65), other_details (None)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : template_details , document_type_code , form_type_code , template_id , date_effective_from , date_effective_to , version_number | documents : document_id , template_id , document_description , other_details , document_name | paragraphs : document_id , paragraph_text , paragraph_id , other_details", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "codes of template types": "Templates.Template_Type_Code", "templates": "Templates" } }, { "question": "what the #smallest version number# and its #template type code# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select min(version_number), template_type_code from templates", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"CV\", \"BK\"), template_type_description (\"Presentation\", \"Advertisement\", \"Paper\") | templates : date_effective_from (\"1999-06-21 11:10:30\", \"1975-05-20 22:51:19\", \"2008-08-01 13:57:26\"), date_effective_to (\"1994-12-07 13:26:23\", \"1993-03-24 14:30:23\", \"1974-09-14 06:34:39\"), template_type_code (\"CV\", \"PPT\", \"BK\"), template_id (11, 22, 14), edition_number (0, 1, 5), revision_number (0, 1, 5), template_details (\"\") | documents : template_id (11, 21, 8), document_description (\"n\", \"z\", \"z\"), other_details (None), document_name (\"How to write a CV\", \"About Korea\", \"Summer Show\"), document_id (3540024, 50123, 3) | paragraphs : paragraph_text (\"Senegal\", \"Palestinian Territory\", \"Jersey\"), paragraph_id (280120913, 16615, 3708), document_id (385906526, 2394, 33930), other_details (None)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_from , date_effective_to , template_type_code , template_id , edition_number , revision_number , template_details | documents : template_id , document_description , other_details , document_name , document_id | paragraphs : paragraph_text , paragraph_id , document_id , other_details", "extra_map": { "templates": { "version_number": [ "revision_number", "edition_number" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "template_type_code", "date_effective_from", "date_effective_to", "template_details", "revision_number", "edition_number" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "smallest version number": "Templates.Version_Number", "template type code": "Templates.Template_Type_Code" } }, { "question": "what the #smallest version number# and its #template type code# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select min(version_number), template_type_code from templates", "schema_with_content": "ref_template_types : template_type_description (\"Presentation\", \"Advertisement\", \"Advertisement\"), template_type_code (\"AD\", \"CV\", \"AD\") | templates : date_effective_to (\"1974-09-14 06:34:39\", \"2008-08-08 18:36:43\", \"2006-02-06 23:52:04\"), version_number (3, 4, 0), template_details (\"\"), form_type_code (\"PP\", \"BK\", \"CV\"), template_id (25, 21, 7), document_type_code (\"PP\", \"BK\", \"CV\"), date_effective_from (\"1986-11-14 12:20:18\", \"1975-10-20 02:28:58\", \"1999-06-21 11:10:30\") | documents : document_name (\"How to read a book\", \"How Google people work\", \"Do not panic\"), template_id (25, 21, 11), document_description (\"u\", \"h\", \"r\"), document_id (50123, 0, 1), other_details (None) | paragraphs : paragraph_id (65, 3708, 571212310), document_id (651512, 651512, 2394), paragraph_text (\"Senegal\", \"Japan\", \"Jersey\"), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : date_effective_to , version_number , template_details , form_type_code , template_id , document_type_code , date_effective_from | documents : document_name , template_id , document_description , document_id , other_details | paragraphs : paragraph_id , document_id , paragraph_text , other_details", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "smallest version number": "Templates.Version_Number", "template type code": "Templates.Template_Type_Code" } }, { "question": "return the #lowest version number# , along with its corresponding #template type code# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select min(version_number), template_type_code from templates", "schema_with_content": "ref_template_types : template_type_code (\"AD\", \"PP\", \"PPT\"), template_type_description (\"Advertisement\", \"CV\", \"Advertisement\") | templates : date_effective_from (\"2012-04-05 07:11:42\", \"1993-10-07 02:33:04\", \"2002-03-02 14:39:49\"), template_id (20, 14, 6), edition_number (2, 2, 2), date_effective_to (\"1992-05-02 20:06:11\", \"1994-12-07 13:26:23\", \"2000-10-22 11:57:12\"), revision_number (2, 2, 2), template_type_code (\"AD\", \"PPT\", \"PPT\"), template_details (\"\") | documents : other_details (None), template_id (10, 6, 21), document_name (\"Do not panic\", \"Do not panic\", \"How Google people work\"), document_description (\"f\", \"w\", \"r\"), document_id (33930, 651512, 2394) | paragraphs : document_id (3, 3540024, 80), other_details (None), paragraph_text (\"Palestinian Territory\", \"Micronesia\", \"Papua New Guinea\"), paragraph_id (280120913, 9, 280120913)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_from , template_id , edition_number , date_effective_to , revision_number , template_type_code , template_details | documents : other_details , template_id , document_name , document_description , document_id | paragraphs : document_id , other_details , paragraph_text , paragraph_id", "extra_map": { "templates": { "version_number": [ "revision_number", "edition_number" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "template_type_code", "date_effective_from", "date_effective_to", "template_details", "revision_number", "edition_number" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "lowest version number": "Templates.Version_Number", "template type code": "Templates.Template_Type_Code" } }, { "question": "return the #lowest version number# , along with its corresponding #template type code# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select min(version_number), template_type_code from templates", "schema_with_content": "ref_template_types : template_type_code (\"BK\", \"CV\", \"PPT\"), template_type_description (\"Paper\", \"Presentation\", \"CV\") | templates : form_type_code (\"BK\", \"PPT\", \"PP\"), version_number (8, 2, 1), template_details (\"\"), date_effective_from (\"2003-06-05 04:03:45\", \"1997-04-17 08:29:44\", \"2002-03-02 14:39:49\"), document_type_code (\"BK\", \"PPT\", \"PP\"), date_effective_to (\"2015-09-06 01:08:44\", \"1979-11-04 08:58:39\", \"1993-03-24 14:30:23\"), template_id (25, 24, 10) | documents : document_description (\"u\", \"z\", \"h\"), document_id (3, 3540024, 0), other_details (None), template_id (14, 25, 21), document_name (\"Customer reviews\", \"Summer Show\", \"How to read a book\") | paragraphs : paragraph_id (243399026, 608931827, 608931827), paragraph_text (\"Korea\", \"Ireland\", \"Senegal\"), document_id (3830, 2394, 50123), other_details (None)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : form_type_code , version_number , template_details , date_effective_from , document_type_code , date_effective_to , template_id | documents : document_description , document_id , other_details , template_id , document_name | paragraphs : paragraph_id , paragraph_text , document_id , other_details", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "lowest version number": "Templates.Version_Number", "template type code": "Templates.Template_Type_Code" } }, { "question": "what is the #template type code# of the template used by document with the name \"data base\"?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.template_type_code from templates as t1 join documents as t2 on t1.template_id = t2.template_id where t2.document_name = \"Data base\"", "schema_with_content": "ref_template_types : template_type_code (\"PP\", \"PP\", \"PP\"), template_type_description (\"Advertisement\", \"Presentation\", \"Advertisement\") | templates : template_details (\"\"), template_id (15, 20, 0), version_number (8, 7, 0), form_type_code (\"PP\", \"PP\", \"BK\"), document_type_code (\"PP\", \"PP\", \"BK\"), date_effective_from (\"1984-08-07 13:36:26\", \"1984-08-07 13:36:26\", \"2008-08-01 13:57:26\"), date_effective_to (\"2006-02-06 23:52:04\", \"2006-02-06 23:52:04\", \"2001-04-18 09:29:52\") | documents : document_id (3, 0, 0), template_id (22, 14, 7), document_description (\"h\", \"f\", \"h\"), other_details (None), document_name (\"Robbin CV\", \"Palm reading\", \"Learning French\") | paragraphs : document_id (651512, 651512, 50123), other_details (None), paragraph_id (1104059, 241, 9), paragraph_text (\"Palestinian Territory\", \"Brazil\", \"Micronesia\")", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : template_details , template_id , version_number , form_type_code , document_type_code , date_effective_from , date_effective_to | documents : document_id , template_id , document_description , other_details , document_name | paragraphs : document_id , other_details , paragraph_id , paragraph_text", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type code": "Templates.Template_Type_Code", "document name": "Documents.Document_Name" } }, { "question": "return the #template type code# of the template that is used by a #document named# data base.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.template_type_code from templates as t1 join documents as t2 on t1.template_id = t2.template_id where t2.document_name = \"Data base\"", "schema_with_content": "ref_template_types : template_type_description (\"Presentation\", \"Paper\", \"Book\"), template_type_code (\"AD\", \"CV\", \"CV\") | templates : template_id (18, 4, 9), template_details (\"\"), date_effective_from (\"2005-11-12 07:09:48\", \"2008-08-01 13:57:26\", \"1979-10-20 21:23:20\"), version_number (8, 3, 1), document_type_code (\"PP\", \"PPT\", \"BK\"), form_type_code (\"PP\", \"PPT\", \"BK\"), date_effective_to (\"1980-05-07 12:15:47\", \"2006-02-06 23:52:04\", \"2015-09-06 01:08:44\") | documents : document_id (76, 80, 385906526), other_details (None), document_description (\"f\", \"z\", \"r\"), document_name (\"Robbin CV\", \"Learning French\", \"Summer Show\"), template_id (14, 1, 21) | paragraphs : paragraph_text (\"Papua New Guinea\", \"Palestinian Territory\", \"Somalia\"), document_id (2394, 3830, 2394), paragraph_id (241, 243399026, 571212310), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_id , template_details , date_effective_from , version_number , document_type_code , form_type_code , date_effective_to | documents : document_id , other_details , document_description , document_name , template_id | paragraphs : paragraph_text , document_id , paragraph_id , other_details", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type code": "Templates.Template_Type_Code", "document named": "Documents.Document_Name" } }, { "question": "show all #document names# using #templates with template type code# bk.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t2.document_name from templates as t1 join documents as t2 on t1.template_id = t2.template_id where t1.template_type_code = \"BK\"", "schema_with_content": "ref_template_types : template_type_code (\"BK\", \"CV\", \"CV\"), template_type_description (\"Advertisement\", \"Paper\", \"Paper\") | templates : date_effective_from (\"1983-07-16 21:16:16\", \"1979-12-24 10:28:16\", \"2002-03-02 14:39:49\"), template_details (\"\"), template_id (25, 1, 0), date_effective_to (\"1994-12-07 13:26:23\", \"2000-10-22 11:57:12\", \"1973-01-12 14:13:34\"), version_number (4, 6, 7), template_type_code (\"AD\", \"PPT\", \"PP\") | documents : other_details (None), record_name (\"A history of Arts\", \"Welcome to NY\", \"Understanding DB\"), document_id (16514113, 82, 801801), file_name (\"A history of Arts\", \"Welcome to NY\", \"Understanding DB\"), template_id (8, 21, 1), document_description (\"z\", \"n\", \"z\") | paragraphs : document_id (385906526, 50123, 33930), paragraph_text (\"Palestinian Territory\", \"Jersey\", \"Indonesia\"), paragraph_id (946335436, 946335436, 571212310), other_details (None)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_from , template_details , template_id , date_effective_to , version_number , template_type_code | documents : other_details , record_name , document_id , file_name , template_id , document_description | paragraphs : document_id , paragraph_text , paragraph_id , other_details", "extra_map": { "documents": { "document_name": [ "file_name", "record_name" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_description", "other_details", "file_name", "record_name" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "document names": "Documents.Document_Name", "templates with template type code": "Templates.Template_Type_Code" } }, { "question": "what are the #names of documents# that use #templates with the code# bk?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t2.document_name from templates as t1 join documents as t2 on t1.template_id = t2.template_id where t1.template_type_code = \"BK\"", "schema_with_content": "ref_template_types : template_type_code (\"BK\", \"PP\", \"PP\"), template_type_description (\"CV\", \"CV\", \"Presentation\") | templates : date_effective_to (\"1980-05-07 12:15:47\", \"1999-07-08 03:31:04\", \"2006-02-06 23:52:04\"), template_details (\"\"), date_effective_from (\"1983-07-16 21:16:16\", \"1979-12-24 10:28:16\", \"1983-07-16 21:16:16\"), version_number (5, 3, 0), template_id (11, 6, 7), template_type_code (\"CV\", \"PPT\", \"PP\") | documents : file_name (\"How to write a CV\", \"Introduction of OS\", \"About Korea\"), document_description (\"w\", \"z\", \"r\"), record_name (\"How to write a CV\", \"Introduction of OS\", \"About Korea\"), other_details (None), document_id (50123, 33930, 3), template_id (10, 7, 6) | paragraphs : paragraph_id (946335436, 608931827, 510442723), paragraph_text (\"UK\", \"Indonesia\", \"Fiji\"), other_details (None), document_id (33930, 385906526, 3540024)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_to , template_details , date_effective_from , version_number , template_id , template_type_code | documents : file_name , document_description , record_name , other_details , document_id , template_id | paragraphs : paragraph_id , paragraph_text , other_details , document_id", "extra_map": { "documents": { "document_name": [ "file_name", "record_name" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_description", "other_details", "file_name", "record_name" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "names of documents": "Documents.Document_Name", "templates with the code": "Templates.Template_Type_Code" } }, { "question": "show all #template type codes# and the #number of documents# using each type.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.template_type_code, count(*) from templates as t1 join documents as t2 on t1.template_id = t2.template_id group by t1.template_type_code", "schema_with_content": "ref_template_types : template_type_description (\"Paper\", \"Advertisement\", \"Paper\"), template_type_code (\"CV\", \"PPT\", \"AD\") | templates : document_type_code (\"AD\", \"BK\", \"PPT\"), version_number (4, 2, 2), template_details (\"\"), date_effective_from (\"2002-03-02 14:39:49\", \"1983-07-16 21:16:16\", \"2008-08-01 13:57:26\"), date_effective_to (\"1975-07-16 04:52:10\", \"2001-04-18 09:29:52\", \"1999-07-08 03:31:04\"), form_type_code (\"AD\", \"BK\", \"PPT\"), template_id (19, 4, 16) | documents : other_details (None), document_description (\"n\", \"k\", \"k\"), document_name (\"Robbin CV\", \"Palm reading\", \"A history of Arts\"), template_id (22, 4, 7), document_id (16514113, 1, 0) | paragraphs : paragraph_text (\"Ireland\", \"Jersey\", \"Somalia\"), other_details (None), paragraph_id (1104059, 946335436, 7), document_id (50123, 2394, 33930)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : document_type_code , version_number , template_details , date_effective_from , date_effective_to , form_type_code , template_id | documents : other_details , document_description , document_name , template_id , document_id | paragraphs : paragraph_text , other_details , paragraph_id , document_id", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type codes": "Templates.Template_Type_Code", "number of documents": "Documents" } }, { "question": "what are the different #template type codes# , and how many #documents# use each type?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.template_type_code, count(*) from templates as t1 join documents as t2 on t1.template_id = t2.template_id group by t1.template_type_code", "schema_with_content": "ref_template_types : template_type_description (\"Book\", \"Advertisement\", \"CV\"), template_type_code (\"PPT\", \"CV\", \"PP\") | templates : date_effective_to (\"1995-09-19 22:27:48\", \"1980-05-07 12:15:47\", \"2015-09-06 01:08:44\"), template_details (\"\"), form_type_code (\"PPT\", \"PP\", \"PPT\"), document_type_code (\"PPT\", \"PP\", \"PPT\"), template_id (6, 7, 16), version_number (1, 7, 8), date_effective_from (\"2012-04-05 07:11:42\", \"1979-12-24 10:28:16\", \"2005-11-12 07:09:48\") | documents : document_id (3, 2394, 0), document_description (\"b\", \"w\", \"h\"), document_name (\"Customer reviews\", \"Robbin CV\", \"Customer reviews\"), template_id (25, 11, 14), other_details (None) | paragraphs : paragraph_text (\"Korea\", \"Indonesia\", \"Papua New Guinea\"), paragraph_id (946335436, 16615, 16615), document_id (651512, 33930, 3), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : date_effective_to , template_details , form_type_code , document_type_code , template_id , version_number , date_effective_from | documents : document_id , document_description , document_name , template_id , other_details | paragraphs : paragraph_text , paragraph_id , document_id , other_details", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type codes": "Templates.Template_Type_Code", "documents": "Documents" } }, { "question": "which #template type code# is used by most number of #documents# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.template_type_code from templates as t1 join documents as t2 on t1.template_id = t2.template_id group by t1.template_type_code order by count(*) desc limit 1", "schema_with_content": "ref_template_types : template_type_description (\"Advertisement\", \"CV\", \"Book\"), template_type_code (\"BK\", \"AD\", \"CV\") | templates : form_type_code (\"PP\", \"PPT\", \"PPT\"), document_type_code (\"PP\", \"PPT\", \"PPT\"), date_effective_from (\"1979-10-20 21:23:20\", \"2010-09-24 01:15:11\", \"2002-08-25 13:26:23\"), template_details (\"\"), date_effective_to (\"2007-06-06 06:18:53\", \"1973-01-12 14:13:34\", \"2000-10-22 11:57:12\"), version_number (5, 4, 9), template_id (9, 7, 11) | documents : other_details (None), document_name (\"Learning French\", \"Introduction of OS\", \"Do not panic\"), document_id (651512, 2394, 16514113), template_id (21, 22, 22), document_description (\"z\", \"z\", \"k\") | paragraphs : paragraph_id (280120913, 241, 571212310), other_details (None), paragraph_text (\"Jersey\", \"Brazil\", \"Senegal\"), document_id (16514113, 651512, 2394)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : form_type_code , document_type_code , date_effective_from , template_details , date_effective_to , version_number , template_id | documents : other_details , document_name , document_id , template_id , document_description | paragraphs : paragraph_id , other_details , paragraph_text , document_id", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type code": "Templates.Template_Type_Code", "documents": "Documents" } }, { "question": "return the #code of the template type# that is most commonly used in #documents# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.template_type_code from templates as t1 join documents as t2 on t1.template_id = t2.template_id group by t1.template_type_code order by count(*) desc limit 1", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"PPT\", \"AD\"), template_type_description (\"CV\", \"Advertisement\", \"Advertisement\") | templates : form_type_code (\"AD\", \"PP\", \"AD\"), template_id (10, 19, 7), date_effective_from (\"1986-12-09 14:51:36\", \"2002-08-25 13:26:23\", \"1997-04-17 08:29:44\"), version_number (0, 7, 5), date_effective_to (\"1993-03-24 14:30:23\", \"1975-07-16 04:52:10\", \"1995-09-19 22:27:48\"), document_type_code (\"AD\", \"PP\", \"AD\"), template_details (\"\") | documents : template_id (6, 6, 4), other_details (None), document_id (385906526, 80, 16514113), document_name (\"How to read a book\", \"Understanding DB\", \"Learning French\"), document_description (\"r\", \"y\", \"k\") | paragraphs : paragraph_text (\"Japan\", \"Brazil\", \"Papua New Guinea\"), paragraph_id (9, 241, 946335436), other_details (None), document_id (3540024, 3830, 80)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : form_type_code , template_id , date_effective_from , version_number , date_effective_to , document_type_code , template_details | documents : template_id , other_details , document_id , document_name , document_description | paragraphs : paragraph_text , paragraph_id , other_details , document_id", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "code of the template type": "Ref_Template_Types.Template_Type_Code", "documents": "Documents" } }, { "question": "show all #template type codes# that are not used by any #document# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_code from templates except select template_type_code from templates as t1 join documents as t2 on t1.template_id = t2.template_id", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"BK\", \"PP\"), template_type_description (\"Presentation\", \"Book\", \"Book\") | templates : version_number (3, 8, 5), form_type_code (\"AD\", \"PPT\", \"AD\"), date_effective_from (\"2010-09-24 01:15:11\", \"1986-12-09 14:51:36\", \"2002-03-02 14:39:49\"), template_details (\"\"), date_effective_to (\"2001-04-18 09:29:52\", \"2006-02-06 23:52:04\", \"2000-10-22 11:57:12\"), document_type_code (\"AD\", \"PPT\", \"AD\"), template_id (0, 7, 0) | documents : template_id (21, 25, 8), document_name (\"Do not panic\", \"Robbin CV\", \"Data base\"), document_description (\"f\", \"u\", \"w\"), other_details (None), document_id (82, 50123, 82) | paragraphs : document_id (3, 385906526, 33930), other_details (None), paragraph_id (9, 1104059, 7), paragraph_text (\"Somalia\", \"Fiji\", \"Senegal\")", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : version_number , form_type_code , date_effective_from , template_details , date_effective_to , document_type_code , template_id | documents : template_id , document_name , document_description , other_details , document_id | paragraphs : document_id , other_details , paragraph_id , paragraph_text", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type codes": "Templates.Template_Type_Code", "document": "Documents" } }, { "question": "what are the #codes of template types# that are not used for any #document# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_code from templates except select template_type_code from templates as t1 join documents as t2 on t1.template_id = t2.template_id", "schema_with_content": "ref_template_types : template_type_description (\"Book\", \"Advertisement\", \"CV\"), template_type_code (\"CV\", \"BK\", \"PP\") | templates : template_id (8, 11, 22), date_effective_to (\"1976-10-28 10:08:50\", \"1979-11-04 08:58:39\", \"1992-05-02 20:06:11\"), document_type_code (\"PP\", \"BK\", \"PPT\"), form_type_code (\"PP\", \"BK\", \"PPT\"), version_number (8, 4, 0), date_effective_from (\"1983-07-16 21:16:16\", \"2005-02-20 00:31:34\", \"1984-08-07 13:36:26\"), template_details (\"\") | documents : document_name (\"Data base\", \"A history of Arts\", \"Palm reading\"), document_id (50123, 76, 1), document_description (\"u\", \"b\", \"f\"), other_details (None), template_id (25, 7, 22) | paragraphs : other_details (None), document_id (80, 16514113, 2394), paragraph_id (3708, 16615, 243399026), paragraph_text (\"Micronesia\", \"Somalia\", \"Somalia\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_id , date_effective_to , document_type_code , form_type_code , version_number , date_effective_from , template_details | documents : document_name , document_id , document_description , other_details , template_id | paragraphs : other_details , document_id , paragraph_id , paragraph_text", "extra_map": { "templates": { "template_type_code": [ "form_type_code", "document_type_code" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "date_effective_from", "date_effective_to", "template_details", "form_type_code", "document_type_code" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "codes of template types": "Templates.Template_Type_Code", "document": "Documents" } }, { "question": "show all #template type# codes and #descriptions# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_code, template_type_description from ref_template_types", "schema_with_content": "ref_template_types : code_name (\"PP\", \"CV\", \"PPT\"), template_type_description (\"Book\", \"Presentation\", \"CV\"), type_id (\"PP\", \"CV\", \"PPT\") | templates : template_details (\"\"), date_effective_to (\"1995-09-19 22:27:48\", \"2006-02-06 23:52:04\", \"1974-09-14 06:34:39\"), template_type_code (\"PPT\", \"PPT\", \"PPT\"), template_id (10, 20, 18), date_effective_from (\"1975-05-20 22:51:19\", \"1979-10-20 21:23:20\", \"2002-08-25 13:26:23\"), version_number (5, 0, 2) | documents : document_description (\"b\", \"f\", \"f\"), other_details (None), document_id (3540024, 76, 82), template_id (25, 7, 8), document_name (\"A history of Arts\", \"Do not panic\", \"A history of Arts\") | paragraphs : document_id (2394, 3540024, 385906526), paragraph_id (9, 1104059, 241), paragraph_text (\"Korea\", \"Palestinian Territory\", \"Micronesia\"), other_details (None)", "schema_without_content": "ref_template_types : code_name , template_type_description , type_id | templates : template_details , date_effective_to , template_type_code , template_id , date_effective_from , version_number | documents : document_description , other_details , document_id , template_id , document_name | paragraphs : document_id , paragraph_id , paragraph_text , other_details", "extra_map": { "ref_template_types": { "template_type_code": [ "type_id", "code_name" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_description", "type_id", "code_name" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type": "Ref_Template_Types", "descriptions": "Ref_Template_Types.Template_Type_Description", "template type codes": "Ref_Template_Types.Template_Type_Code" } }, { "question": "show all #template type# codes and #descriptions# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_code, template_type_description from ref_template_types", "schema_with_content": "ref_template_types : template_type_code (\"BK\", \"PP\", \"PPT\"), type_description (\"Advertisement\", \"Presentation\", \"CV\"), description_text (\"Advertisement\", \"Presentation\", \"CV\") | templates : template_type_code (\"PPT\", \"PP\", \"PP\"), template_id (4, 15, 20), template_details (\"\"), date_effective_from (\"2002-08-25 13:26:23\", \"1979-12-24 10:28:16\", \"2003-06-05 04:03:45\"), date_effective_to (\"1974-09-14 06:34:39\", \"2007-06-06 06:18:53\", \"1989-11-24 19:06:06\"), version_number (0, 6, 6) | documents : other_details (None), template_id (25, 25, 10), document_name (\"A history of Arts\", \"Robbin CV\", \"About Korea\"), document_description (\"z\", \"b\", \"u\"), document_id (385906526, 3, 33930) | paragraphs : document_id (80, 33930, 3), paragraph_id (65, 946335436, 7), paragraph_text (\"Palestinian Territory\", \"Papua New Guinea\", \"Ukraine\"), other_details (None)", "schema_without_content": "ref_template_types : template_type_code , type_description , description_text | templates : template_type_code , template_id , template_details , date_effective_from , date_effective_to , version_number | documents : other_details , template_id , document_name , document_description , document_id | paragraphs : document_id , paragraph_id , paragraph_text , other_details", "extra_map": { "ref_template_types": { "template_type_description": [ "type_description", "description_text" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "type_description", "description_text" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type": "Ref_Template_Types", "descriptions": "Ref_Template_Types.Template_Type_Description", "template type codes": "Ref_Template_Types.Template_Type_Code" } }, { "question": "what are the #type codes# and #descriptions for all template types# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_code, template_type_description from ref_template_types", "schema_with_content": "ref_template_types : code_name (\"AD\", \"BK\", \"AD\"), template_type_description (\"CV\", \"Book\", \"Book\"), type_id (\"AD\", \"BK\", \"AD\") | templates : template_type_code (\"BK\", \"AD\", \"AD\"), template_details (\"\"), template_id (19, 18, 25), date_effective_to (\"2007-06-06 06:18:53\", \"1995-09-19 22:27:48\", \"1993-03-24 14:30:23\"), date_effective_from (\"1986-11-14 12:20:18\", \"2008-08-01 13:57:26\", \"1997-04-17 08:29:44\"), version_number (0, 8, 6) | documents : other_details (None), document_name (\"How to write a CV\", \"Welcome to NY\", \"About Korea\"), template_id (20, 10, 22), document_id (16514113, 80, 3830), document_description (\"b\", \"y\", \"y\") | paragraphs : other_details (None), paragraph_text (\"Ireland\", \"Japan\", \"Korea\"), document_id (3540024, 2394, 50123), paragraph_id (608931827, 9946, 510442723)", "schema_without_content": "ref_template_types : code_name , template_type_description , type_id | templates : template_type_code , template_details , template_id , date_effective_to , date_effective_from , version_number | documents : other_details , document_name , template_id , document_id , document_description | paragraphs : other_details , paragraph_text , document_id , paragraph_id", "extra_map": { "ref_template_types": { "template_type_code": [ "type_id", "code_name" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_description", "type_id", "code_name" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "type codes": "Ref_Template_Types.Template_Type_Code", "descriptions for all template types": "Ref_Template_Types.Template_Type_Description" } }, { "question": "what are the #type codes# and #descriptions for all template types# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_code, template_type_description from ref_template_types", "schema_with_content": "ref_template_types : type_description (\"Book\", \"Presentation\", \"Advertisement\"), description_text (\"Book\", \"Presentation\", \"Advertisement\"), template_type_code (\"PPT\", \"CV\", \"AD\") | templates : template_type_code (\"AD\", \"CV\", \"PP\"), date_effective_from (\"2005-11-12 07:09:48\", \"1975-10-20 02:28:58\", \"1984-08-07 13:36:26\"), template_details (\"\"), date_effective_to (\"1979-11-04 08:58:39\", \"1975-07-16 04:52:10\", \"1979-11-04 08:58:39\"), version_number (1, 1, 3), template_id (23, 20, 19) | documents : other_details (None), document_id (0, 80, 801801), document_name (\"Robbin CV\", \"Welcome to NY\", \"A history of Arts\"), document_description (\"z\", \"k\", \"b\"), template_id (21, 20, 21) | paragraphs : paragraph_text (\"Indonesia\", \"Papua New Guinea\", \"Fiji\"), paragraph_id (280120913, 241, 241), document_id (651512, 2394, 3540024), other_details (None)", "schema_without_content": "ref_template_types : type_description , description_text , template_type_code | templates : template_type_code , date_effective_from , template_details , date_effective_to , version_number , template_id | documents : other_details , document_id , document_name , document_description , template_id | paragraphs : paragraph_text , paragraph_id , document_id , other_details", "extra_map": { "ref_template_types": { "template_type_description": [ "type_description", "description_text" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "type_description", "description_text" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "type codes": "Ref_Template_Types.Template_Type_Code", "descriptions for all template types": "Ref_Template_Types.Template_Type_Description" } }, { "question": "what is the #template type descriptions for template type code# \"ad\".", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_description from ref_template_types where template_type_code = \"AD\"", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"PPT\", \"AD\"), type_description (\"Paper\", \"CV\", \"Advertisement\"), description_text (\"Paper\", \"CV\", \"Advertisement\") | templates : template_type_code (\"BK\", \"CV\", \"BK\"), template_id (6, 0, 19), version_number (4, 0, 8), template_details (\"\"), date_effective_from (\"2005-02-20 00:31:34\", \"1979-12-24 10:28:16\", \"1979-10-20 21:23:20\"), date_effective_to (\"2000-10-22 11:57:12\", \"1974-09-14 06:34:39\", \"1973-01-12 14:13:34\") | documents : other_details (None), document_name (\"Data base\", \"Understanding DB\", \"A history of Arts\"), document_id (16514113, 76, 385906526), template_id (21, 11, 21), document_description (\"n\", \"k\", \"n\") | paragraphs : document_id (2394, 3540024, 80), paragraph_text (\"Senegal\", \"UK\", \"Ireland\"), other_details (None), paragraph_id (9, 65, 280120913)", "schema_without_content": "ref_template_types : template_type_code , type_description , description_text | templates : template_type_code , template_id , version_number , template_details , date_effective_from , date_effective_to | documents : other_details , document_name , document_id , template_id , document_description | paragraphs : document_id , paragraph_text , other_details , paragraph_id", "extra_map": { "ref_template_types": { "template_type_description": [ "type_description", "description_text" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "type_description", "description_text" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type descriptions for template type code": "Ref_Template_Types.Template_Type_Description" } }, { "question": "return the #template type# description of the #template type with the code# ad.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_description from ref_template_types where template_type_code = \"AD\"", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"CV\", \"AD\"), type_description (\"Advertisement\", \"Paper\", \"Presentation\"), description_text (\"Advertisement\", \"Paper\", \"Presentation\") | templates : date_effective_to (\"2000-10-22 11:57:12\", \"1993-03-24 14:30:23\", \"2000-10-22 11:57:12\"), date_effective_from (\"1975-05-20 22:51:19\", \"2012-04-05 07:11:42\", \"1986-11-14 12:20:18\"), template_id (20, 6, 15), template_type_code (\"PPT\", \"PP\", \"PP\"), template_details (\"\"), version_number (6, 6, 3) | documents : document_name (\"Welcome to NY\", \"How to write a CV\", \"A history of Arts\"), document_description (\"u\", \"r\", \"k\"), template_id (1, 7, 6), document_id (3540024, 651512, 385906526), other_details (None) | paragraphs : paragraph_id (65, 65, 9946), other_details (None), document_id (3830, 50123, 651512), paragraph_text (\"Indonesia\", \"Micronesia\", \"Palestinian Territory\")", "schema_without_content": "ref_template_types : template_type_code , type_description , description_text | templates : date_effective_to , date_effective_from , template_id , template_type_code , template_details , version_number | documents : document_name , document_description , template_id , document_id , other_details | paragraphs : paragraph_id , other_details , document_id , paragraph_text", "extra_map": { "ref_template_types": { "template_type_description": [ "type_description", "description_text" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "type_description", "description_text" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type": "Ref_Template_Types", "template type with the code": "Ref_Template_Types.Template_Type_Code", "template type description": "Ref_Template_Types.Template_Type_Description" } }, { "question": "what is the #template type code for template type description# \"book\".", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_code from ref_template_types where template_type_description = \"Book\"", "schema_with_content": "ref_template_types : type_id (\"CV\", \"CV\", \"AD\"), template_type_description (\"Advertisement\", \"Paper\", \"Advertisement\"), code_name (\"CV\", \"CV\", \"AD\") | templates : template_details (\"\"), template_type_code (\"BK\", \"PPT\", \"BK\"), version_number (4, 2, 1), template_id (9, 1, 1), date_effective_to (\"1979-11-04 08:58:39\", \"2006-02-06 23:52:04\", \"1994-12-07 13:26:23\"), date_effective_from (\"1993-10-07 02:33:04\", \"2008-08-01 13:57:26\", \"1996-02-04 11:27:24\") | documents : document_id (3540024, 82, 385906526), document_name (\"Data base\", \"Summer Show\", \"Robbin CV\"), document_description (\"z\", \"w\", \"y\"), other_details (None), template_id (11, 4, 14) | paragraphs : other_details (None), paragraph_text (\"UK\", \"Ukraine\", \"Korea\"), document_id (80, 3830, 33930), paragraph_id (16615, 9946, 241)", "schema_without_content": "ref_template_types : type_id , template_type_description , code_name | templates : template_details , template_type_code , version_number , template_id , date_effective_to , date_effective_from | documents : document_id , document_name , document_description , other_details , template_id | paragraphs : other_details , paragraph_text , document_id , paragraph_id", "extra_map": { "ref_template_types": { "template_type_code": [ "type_id", "code_name" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_description", "type_id", "code_name" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template type code for template type description": "Ref_Template_Types.Template_Type_Code" } }, { "question": "return the #type code of the template type with the description# \"book\".", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select template_type_code from ref_template_types where template_type_description = \"Book\"", "schema_with_content": "ref_template_types : type_id (\"AD\", \"PP\", \"PPT\"), code_name (\"AD\", \"PP\", \"PPT\"), template_type_description (\"CV\", \"Advertisement\", \"CV\") | templates : date_effective_to (\"2007-06-06 06:18:53\", \"1979-11-04 08:58:39\", \"2001-04-18 09:29:52\"), template_id (18, 10, 16), version_number (6, 2, 0), template_type_code (\"CV\", \"CV\", \"CV\"), template_details (\"\"), date_effective_from (\"2002-08-25 13:26:23\", \"1999-06-21 11:10:30\", \"2008-08-01 13:57:26\") | documents : document_id (0, 1, 80), document_description (\"k\", \"h\", \"h\"), other_details (None), document_name (\"How to write a CV\", \"Welcome to NY\", \"Robbin CV\"), template_id (14, 10, 6) | paragraphs : paragraph_id (9, 16615, 3708), other_details (None), document_id (3540024, 80, 16514113), paragraph_text (\"Japan\", \"Papua New Guinea\", \"Fiji\")", "schema_without_content": "ref_template_types : type_id , code_name , template_type_description | templates : date_effective_to , template_id , version_number , template_type_code , template_details , date_effective_from | documents : document_id , document_description , other_details , document_name , template_id | paragraphs : paragraph_id , other_details , document_id , paragraph_text", "extra_map": { "ref_template_types": { "template_type_code": [ "type_id", "code_name" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_description", "type_id", "code_name" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "type code of the template type with the description": "Ref_Template_Types.Template_Type_Code" } }, { "question": "what are the #distinct template type descriptions for the templates# ever used by any #document# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select distinct t1.template_type_description from ref_template_types as t1 join templates as t2 on t1.template_type_code = t2.template_type_code join documents as t3 on t2.template_id = t3.template_id", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"CV\", \"CV\"), type_description (\"CV\", \"CV\", \"Advertisement\"), description_text (\"CV\", \"CV\", \"Advertisement\") | templates : date_effective_from (\"1979-10-20 21:23:20\", \"1979-12-24 10:28:16\", \"2002-03-02 14:39:49\"), template_type_code (\"CV\", \"CV\", \"CV\"), date_effective_to (\"1995-09-19 22:27:48\", \"2008-08-08 18:36:43\", \"1976-10-28 10:08:50\"), version_number (9, 8, 6), template_id (25, 19, 20), template_details (\"\") | documents : document_name (\"Summer Show\", \"Do not panic\", \"How Google people work\"), document_id (80, 385906526, 3), other_details (None), template_id (6, 4, 4), document_description (\"h\", \"n\", \"r\") | paragraphs : paragraph_text (\"Micronesia\", \"Ireland\", \"UK\"), document_id (3, 3830, 385906526), paragraph_id (510442723, 243399026, 3708), other_details (None)", "schema_without_content": "ref_template_types : template_type_code , type_description , description_text | templates : date_effective_from , template_type_code , date_effective_to , version_number , template_id , template_details | documents : document_name , document_id , other_details , template_id , document_description | paragraphs : paragraph_text , document_id , paragraph_id , other_details", "extra_map": { "ref_template_types": { "template_type_description": [ "type_description", "description_text" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "type_description", "description_text" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "distinct template type descriptions for the templates": "Ref_Template_Types.Template_Type_Description", "document": "Documents" } }, { "question": "return the different #descriptions for templates# that have been used in a #document# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select distinct t1.template_type_description from ref_template_types as t1 join templates as t2 on t1.template_type_code = t2.template_type_code join documents as t3 on t2.template_id = t3.template_id", "schema_with_content": "ref_template_types : template_type_code (\"AD\", \"BK\", \"PPT\"), type_description (\"Book\", \"Presentation\", \"Book\"), description_text (\"Book\", \"Presentation\", \"Book\") | templates : template_id (8, 19, 16), template_details (\"\"), template_type_code (\"PP\", \"PP\", \"PP\"), version_number (0, 7, 6), date_effective_to (\"2008-08-08 18:36:43\", \"1998-05-12 12:51:29\", \"2015-09-06 01:08:44\"), date_effective_from (\"2012-04-05 07:11:42\", \"2002-03-02 14:39:49\", \"1984-08-07 13:36:26\") | documents : document_id (801801, 80, 76), other_details (None), document_name (\"Data base\", \"How Google people work\", \"Customer reviews\"), template_id (21, 4, 25), document_description (\"n\", \"b\", \"w\") | paragraphs : other_details (None), paragraph_id (241, 9946, 7), paragraph_text (\"Indonesia\", \"Fiji\", \"Indonesia\"), document_id (3540024, 16514113, 2394)", "schema_without_content": "ref_template_types : template_type_code , type_description , description_text | templates : template_id , template_details , template_type_code , version_number , date_effective_to , date_effective_from | documents : document_id , other_details , document_name , template_id , document_description | paragraphs : other_details , paragraph_id , paragraph_text , document_id", "extra_map": { "ref_template_types": { "template_type_description": [ "type_description", "description_text" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "type_description", "description_text" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "descriptions for templates": "Ref_Template_Types.Template_Type_Description", "document": "Documents" } }, { "question": "what are the #template ids with template type description# \"presentation\".", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t2.template_id from ref_template_types as t1 join templates as t2 on t1.template_type_code = t2.template_type_code where t1.template_type_description = \"Presentation\"", "schema_with_content": "ref_template_types : template_type_code (\"AD\", \"AD\", \"PP\"), template_type_description (\"CV\", \"CV\", \"Book\") | templates : form_id (1, 10, 9), version_number (6, 6, 0), layout_id (1, 10, 9), date_effective_to (\"2001-04-18 09:29:52\", \"1993-03-24 14:30:23\", \"2008-08-08 18:36:43\"), template_type_code (\"BK\", \"AD\", \"PPT\"), template_details (\"\"), date_effective_from (\"2008-08-01 13:57:26\", \"2002-08-25 13:26:23\", \"1996-02-04 11:27:24\") | documents : other_details (None), document_description (\"u\", \"u\", \"u\"), document_id (651512, 1, 1), template_id (6, 7, 4), document_name (\"Learning French\", \"Robbin CV\", \"How to read a book\") | paragraphs : paragraph_id (571212310, 7, 9946), other_details (None), document_id (3540024, 16514113, 651512), paragraph_text (\"Papua New Guinea\", \"Korea\", \"Ireland\")", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : form_id , version_number , layout_id , date_effective_to , template_type_code , template_details , date_effective_from | documents : other_details , document_description , document_id , template_id , document_name | paragraphs : paragraph_id , other_details , document_id , paragraph_text", "extra_map": { "templates": { "template_id": [ "form_id", "layout_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details", "form_id", "layout_id" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "template ids with template type description": "Templates.Template_ID" } }, { "question": "return the #ids# corresponding to #templates with the description# 'presentation'.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t2.template_id from ref_template_types as t1 join templates as t2 on t1.template_type_code = t2.template_type_code where t1.template_type_description = \"Presentation\"", "schema_with_content": "ref_template_types : template_type_description (\"Presentation\", \"CV\", \"Book\"), template_type_code (\"AD\", \"BK\", \"PP\") | templates : template_details (\"\"), form_id (18, 22, 24), date_effective_from (\"1975-05-20 22:51:19\", \"1996-02-04 11:27:24\", \"1999-06-21 11:10:30\"), version_number (0, 3, 3), layout_id (18, 22, 24), template_type_code (\"BK\", \"BK\", \"BK\"), date_effective_to (\"1980-05-07 12:15:47\", \"1998-05-12 12:51:29\", \"2006-02-06 23:52:04\") | documents : template_id (11, 7, 7), document_name (\"Data base\", \"Palm reading\", \"Palm reading\"), document_description (\"w\", \"r\", \"n\"), document_id (16514113, 33930, 76), other_details (None) | paragraphs : paragraph_text (\"Indonesia\", \"Japan\", \"Indonesia\"), document_id (385906526, 385906526, 2394), paragraph_id (946335436, 1104059, 1104059), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_details , form_id , date_effective_from , version_number , layout_id , template_type_code , date_effective_to | documents : template_id , document_name , document_description , document_id , other_details | paragraphs : paragraph_text , document_id , paragraph_id , other_details", "extra_map": { "templates": { "template_id": [ "form_id", "layout_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details", "form_id", "layout_id" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "ids": "Templates.Template_ID", "templates with the description": "Ref_Template_Types.Template_Type_Description" } }, { "question": "show all #paragraph ids# and texts for the document with name 'welcome to ny'.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.paragraph_id, t1.paragraph_text from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id where t2.document_name = 'Welcome to NY'", "schema_with_content": "ref_template_types : template_type_description (\"Book\", \"Advertisement\", \"Paper\"), template_type_code (\"PPT\", \"CV\", \"CV\") | templates : date_effective_from (\"2002-08-25 13:26:23\", \"1986-11-14 12:20:18\", \"1984-08-07 13:36:26\"), template_type_code (\"PP\", \"BK\", \"AD\"), template_details (\"\"), date_effective_to (\"1993-03-24 14:30:23\", \"2008-01-05 14:19:28\", \"1993-03-24 14:30:23\"), version_number (4, 6, 9), template_id (23, 4, 24) | documents : document_name (\"A history of Arts\", \"Introduction of OS\", \"Customer reviews\"), document_id (33930, 33930, 80), template_id (4, 4, 7), other_details (None), document_description (\"z\", \"k\", \"y\") | paragraphs : document_id (651512, 80, 385906526), para_id (608931827, 16615, 16615), segment_id (608931827, 16615, 16615), other_details (None), paragraph_text (\"Palestinian Territory\", \"Senegal\", \"Senegal\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : date_effective_from , template_type_code , template_details , date_effective_to , version_number , template_id | documents : document_name , document_id , template_id , other_details , document_description | paragraphs : document_id , para_id , segment_id , other_details , paragraph_text", "extra_map": { "paragraphs": { "paragraph_id": [ "para_id", "segment_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "document_id", "paragraph_text", "other_details", "para_id", "segment_id" ] }, "column_linking_gt": { "paragraph ids": "Paragraphs.Paragraph_ID", "paragraph texts": "Paragraphs.Paragraph_Text", "document name": "Documents.Document_Name" } }, { "question": "show all #paragraph ids# and texts for the document with name 'welcome to ny'.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.paragraph_id, t1.paragraph_text from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id where t2.document_name = 'Welcome to NY'", "schema_with_content": "ref_template_types : template_type_description (\"Presentation\", \"CV\", \"Advertisement\"), template_type_code (\"BK\", \"PPT\", \"BK\") | templates : date_effective_to (\"1989-11-24 19:06:06\", \"2000-10-22 11:57:12\", \"2001-04-18 09:29:52\"), template_id (14, 24, 15), template_type_code (\"PPT\", \"BK\", \"PPT\"), version_number (5, 1, 7), template_details (\"\"), date_effective_from (\"2005-02-20 00:31:34\", \"1984-08-07 13:36:26\", \"2003-06-05 04:03:45\") | documents : template_id (6, 1, 14), document_id (0, 76, 16514113), document_name (\"A history of Arts\", \"How to write a CV\", \"Customer reviews\"), document_description (\"n\", \"b\", \"k\"), other_details (None) | paragraphs : segment_text (\"Senegal\", \"Korea\", \"Jersey\"), other_details (None), paragraph_id (1104059, 510442723, 571212310), document_id (651512, 16514113, 3540024), para_content (\"Senegal\", \"Korea\", \"Jersey\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : date_effective_to , template_id , template_type_code , version_number , template_details , date_effective_from | documents : template_id , document_id , document_name , document_description , other_details | paragraphs : segment_text , other_details , paragraph_id , document_id , para_content", "extra_map": { "paragraphs": { "paragraph_text": [ "para_content", "segment_text" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "other_details", "para_content", "segment_text" ] }, "column_linking_gt": { "paragraph ids": "Paragraphs.Paragraph_ID", "paragraph texts": "Paragraphs.Paragraph_Text", "document name": "Documents.Document_Name" } }, { "question": "what are the #ids# and #texts of paragraphs in the document titled# 'welcome to ny'?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.paragraph_id, t1.paragraph_text from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id where t2.document_name = 'Welcome to NY'", "schema_with_content": "ref_template_types : template_type_code (\"PP\", \"PPT\", \"PPT\"), template_type_description (\"CV\", \"CV\", \"Presentation\") | templates : date_effective_from (\"2005-02-20 00:31:34\", \"1983-07-16 21:16:16\", \"2012-04-05 07:11:42\"), template_id (10, 10, 15), version_number (9, 1, 4), template_details (\"\"), date_effective_to (\"1993-03-24 14:30:23\", \"2007-06-06 06:18:53\", \"2001-04-18 09:29:52\"), template_type_code (\"AD\", \"PPT\", \"AD\") | documents : other_details (None), document_description (\"y\", \"u\", \"z\"), document_id (3, 3830, 0), template_id (25, 22, 25), document_name (\"Welcome to NY\", \"Summer Show\", \"Summer Show\") | paragraphs : paragraph_text (\"Micronesia\", \"Papua New Guinea\", \"Indonesia\"), document_id (33930, 3, 33930), segment_id (9946, 1104059, 1104059), para_id (9946, 1104059, 1104059), other_details (None)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_from , template_id , version_number , template_details , date_effective_to , template_type_code | documents : other_details , document_description , document_id , template_id , document_name | paragraphs : paragraph_text , document_id , segment_id , para_id , other_details", "extra_map": { "paragraphs": { "paragraph_id": [ "para_id", "segment_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "document_id", "paragraph_text", "other_details", "para_id", "segment_id" ] }, "column_linking_gt": { "ids": "Paragraphs.Paragraph_ID", "texts of paragraphs in the document titled": "Paragraphs.Paragraph_Text" } }, { "question": "what are the #ids# and #texts of paragraphs in the document titled# 'welcome to ny'?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.paragraph_id, t1.paragraph_text from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id where t2.document_name = 'Welcome to NY'", "schema_with_content": "ref_template_types : template_type_description (\"Presentation\", \"Presentation\", \"Book\"), template_type_code (\"CV\", \"CV\", \"PPT\") | templates : template_details (\"\"), date_effective_to (\"1999-07-08 03:31:04\", \"1999-07-08 03:31:04\", \"1994-12-07 13:26:23\"), version_number (0, 8, 8), template_id (11, 19, 16), template_type_code (\"AD\", \"PPT\", \"AD\"), date_effective_from (\"1986-12-09 14:51:36\", \"2003-06-05 04:03:45\", \"1986-11-14 12:20:18\") | documents : document_description (\"u\", \"y\", \"b\"), document_name (\"Introduction of OS\", \"Summer Show\", \"Understanding DB\"), other_details (None), template_id (20, 25, 1), document_id (50123, 3830, 2394) | paragraphs : paragraph_id (9, 280120913, 280120913), para_content (\"Ireland\", \"UK\", \"Brazil\"), segment_text (\"Ireland\", \"UK\", \"Brazil\"), document_id (3540024, 3830, 50123), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_details , date_effective_to , version_number , template_id , template_type_code , date_effective_from | documents : document_description , document_name , other_details , template_id , document_id | paragraphs : paragraph_id , para_content , segment_text , document_id , other_details", "extra_map": { "paragraphs": { "paragraph_text": [ "para_content", "segment_text" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "other_details", "para_content", "segment_text" ] }, "column_linking_gt": { "ids": "Paragraphs.Paragraph_ID", "texts of paragraphs in the document titled": "Paragraphs.Paragraph_Text" } }, { "question": "show all #paragraph texts for the document# \"customer reviews\".", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.paragraph_text from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id where t2.document_name = \"Customer reviews\"", "schema_with_content": "ref_template_types : template_type_code (\"BK\", \"BK\", \"PP\"), template_type_description (\"Book\", \"Advertisement\", \"CV\") | templates : template_id (15, 20, 15), version_number (1, 6, 5), date_effective_from (\"2005-02-20 00:31:34\", \"1975-05-20 22:51:19\", \"1986-11-14 12:20:18\"), date_effective_to (\"1993-03-24 14:30:23\", \"2006-02-06 23:52:04\", \"1995-09-19 22:27:48\"), template_details (\"\"), template_type_code (\"PP\", \"BK\", \"AD\") | documents : other_details (None), document_description (\"r\", \"f\", \"w\"), document_name (\"Learning French\", \"Welcome to NY\", \"Introduction of OS\"), template_id (8, 11, 11), document_id (801801, 1, 3540024) | paragraphs : segment_text (\"Brazil\", \"Japan\", \"Papua New Guinea\"), paragraph_id (946335436, 510442723, 280120913), other_details (None), para_content (\"Brazil\", \"Japan\", \"Papua New Guinea\"), document_id (16514113, 33930, 80)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : template_id , version_number , date_effective_from , date_effective_to , template_details , template_type_code | documents : other_details , document_description , document_name , template_id , document_id | paragraphs : segment_text , paragraph_id , other_details , para_content , document_id", "extra_map": { "paragraphs": { "paragraph_text": [ "para_content", "segment_text" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "other_details", "para_content", "segment_text" ] }, "column_linking_gt": { "paragraph texts for the document": "Paragraphs.Paragraph_Text" } }, { "question": "what are the #paragraph texts# for the document with the name 'customer reviews'?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.paragraph_text from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id where t2.document_name = \"Customer reviews\"", "schema_with_content": "ref_template_types : template_type_code (\"BK\", \"AD\", \"PPT\"), template_type_description (\"CV\", \"Presentation\", \"Presentation\") | templates : template_type_code (\"AD\", \"PP\", \"BK\"), version_number (0, 5, 4), date_effective_to (\"2006-02-06 23:52:04\", \"1979-11-04 08:58:39\", \"2006-02-06 23:52:04\"), template_id (9, 14, 25), template_details (\"\"), date_effective_from (\"1986-12-09 14:51:36\", \"2012-04-05 07:11:42\", \"1979-12-24 10:28:16\") | documents : template_id (1, 10, 11), document_name (\"How Google people work\", \"Introduction of OS\", \"Understanding DB\"), document_id (801801, 33930, 2394), document_description (\"n\", \"h\", \"b\"), other_details (None) | paragraphs : paragraph_id (280120913, 765713812, 280120913), document_id (651512, 2394, 16514113), para_content (\"UK\", \"Palestinian Territory\", \"Brazil\"), other_details (None), segment_text (\"UK\", \"Palestinian Territory\", \"Brazil\")", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : template_type_code , version_number , date_effective_to , template_id , template_details , date_effective_from | documents : template_id , document_name , document_id , document_description , other_details | paragraphs : paragraph_id , document_id , para_content , other_details , segment_text", "extra_map": { "paragraphs": { "paragraph_text": [ "para_content", "segment_text" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "document_id", "other_details", "para_content", "segment_text" ] }, "column_linking_gt": { "paragraph texts": "Paragraphs.Paragraph_Text", "document name": "Documents.Document_Name" } }, { "question": "show all #document ids# and the #number of paragraphs# in each document. order by document id.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id, count(*) from paragraphs group by document_id order by document_id", "schema_with_content": "ref_template_types : template_type_description (\"CV\", \"Advertisement\", \"Presentation\"), template_type_code (\"AD\", \"AD\", \"AD\") | templates : template_details (\"\"), date_effective_from (\"1975-05-20 22:51:19\", \"1975-05-20 22:51:19\", \"2002-08-25 13:26:23\"), template_type_code (\"BK\", \"AD\", \"CV\"), template_id (21, 20, 18), version_number (1, 4, 7), date_effective_to (\"2000-10-22 11:57:12\", \"1980-05-07 12:15:47\", \"1994-12-07 13:26:23\") | documents : template_id (20, 11, 4), document_id (82, 0, 385906526), other_details (None), document_name (\"Introduction of OS\", \"Introduction of OS\", \"About Korea\"), document_description (\"n\", \"n\", \"b\") | paragraphs : other_details (None), doc_id (33930, 2394, 651512), file_id (33930, 2394, 651512), paragraph_text (\"Korea\", \"Japan\", \"Fiji\"), paragraph_id (608931827, 608931827, 243399026)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_details , date_effective_from , template_type_code , template_id , version_number , date_effective_to | documents : template_id , document_id , other_details , document_name , document_description | paragraphs : other_details , doc_id , file_id , paragraph_text , paragraph_id", "extra_map": { "paragraphs": { "document_id": [ "doc_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "paragraph_text", "other_details", "doc_id", "file_id" ] }, "column_linking_gt": { "document ids": "Paragraphs.Document_ID", "number of paragraphs": "Paragraphs.Paragraph_ID" } }, { "question": "return the different #document ids# along with the #number of paragraphs# corresponding to each, ordered by id.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id, count(*) from paragraphs group by document_id order by document_id", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"AD\", \"CV\"), template_type_description (\"CV\", \"Book\", \"CV\") | templates : template_details (\"\"), version_number (3, 9, 0), template_type_code (\"BK\", \"AD\", \"CV\"), date_effective_from (\"1999-06-21 11:10:30\", \"1993-10-07 02:33:04\", \"1979-12-24 10:28:16\"), template_id (0, 8, 18), date_effective_to (\"2008-01-05 14:19:28\", \"2001-04-18 09:29:52\", \"1976-10-28 10:08:50\") | documents : document_id (2394, 76, 82), other_details (None), template_id (20, 6, 4), document_name (\"Welcome to NY\", \"Welcome to NY\", \"Palm reading\"), document_description (\"r\", \"k\", \"w\") | paragraphs : file_id (16514113, 3540024, 3540024), paragraph_text (\"Palestinian Territory\", \"UK\", \"Fiji\"), doc_id (16514113, 3540024, 3540024), other_details (None), paragraph_id (3708, 765713812, 3708)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : template_details , version_number , template_type_code , date_effective_from , template_id , date_effective_to | documents : document_id , other_details , template_id , document_name , document_description | paragraphs : file_id , paragraph_text , doc_id , other_details , paragraph_id", "extra_map": { "paragraphs": { "document_id": [ "doc_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "paragraph_text", "other_details", "doc_id", "file_id" ] }, "column_linking_gt": { "document ids": "Paragraphs.Document_ID", "number of paragraphs": "Paragraphs.Paragraph_ID" } }, { "question": "show all #document# ids, names and the n #umber of paragraphs in each document.# ", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.document_id, t2.document_name, count(*) from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id group by t1.document_id", "schema_with_content": "ref_template_types : template_type_code (\"PPT\", \"PPT\", \"CV\"), template_type_description (\"Advertisement\", \"Advertisement\", \"Paper\") | templates : version_number (2, 2, 8), date_effective_from (\"2012-04-05 07:11:42\", \"1983-07-16 21:16:16\", \"2008-08-01 13:57:26\"), date_effective_to (\"1980-05-07 12:15:47\", \"1974-09-14 06:34:39\", \"1992-05-02 20:06:11\"), template_type_code (\"PP\", \"AD\", \"BK\"), template_details (\"\"), template_id (15, 18, 1) | documents : document_id (0, 651512, 16514113), template_id (21, 6, 8), other_details (None), record_name (\"Welcome to NY\", \"Customer reviews\", \"Do not panic\"), file_name (\"Welcome to NY\", \"Customer reviews\", \"Do not panic\"), document_description (\"u\", \"u\", \"u\") | paragraphs : document_id (2394, 2394, 2394), paragraph_text (\"Korea\", \"Palestinian Territory\", \"Brazil\"), paragraph_id (946335436, 1104059, 16615), other_details (None)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : version_number , date_effective_from , date_effective_to , template_type_code , template_details , template_id | documents : document_id , template_id , other_details , record_name , file_name , document_description | paragraphs : document_id , paragraph_text , paragraph_id , other_details", "extra_map": { "documents": { "document_name": [ "file_name", "record_name" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_description", "other_details", "file_name", "record_name" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "document": "Documents", "umber of paragraphs in each document.": "Documents", "document ids": "Documents.Document_ID", "document names": "Documents.Document_Name", "number of paragraphs": "Paragraphs.Document_ID" } }, { "question": "show all #document# ids, names and the n #umber of paragraphs in each document.# ", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.document_id, t2.document_name, count(*) from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id group by t1.document_id", "schema_with_content": "ref_template_types : template_type_code (\"PPT\", \"AD\", \"BK\"), template_type_description (\"CV\", \"Paper\", \"Presentation\") | templates : template_type_code (\"CV\", \"PPT\", \"CV\"), template_details (\"\"), date_effective_to (\"1976-10-28 10:08:50\", \"2007-06-06 06:18:53\", \"2006-02-06 23:52:04\"), template_id (11, 25, 10), version_number (6, 2, 4), date_effective_from (\"1979-12-24 10:28:16\", \"1984-08-07 13:36:26\", \"1983-07-16 21:16:16\") | documents : other_details (None), template_id (14, 20, 25), document_name (\"A history of Arts\", \"How Google people work\", \"Learning French\"), document_description (\"b\", \"k\", \"z\"), document_id (651512, 801801, 2394) | paragraphs : paragraph_id (765713812, 3708, 7), file_id (16514113, 3830, 50123), paragraph_text (\"Somalia\", \"Indonesia\", \"UK\"), other_details (None), doc_id (16514113, 3830, 50123)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : template_type_code , template_details , date_effective_to , template_id , version_number , date_effective_from | documents : other_details , template_id , document_name , document_description , document_id | paragraphs : paragraph_id , file_id , paragraph_text , other_details , doc_id", "extra_map": { "paragraphs": { "document_id": [ "doc_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "paragraph_text", "other_details", "doc_id", "file_id" ] }, "column_linking_gt": { "document": "Documents", "umber of paragraphs in each document.": "Documents", "document ids": "Documents.Document_ID", "document names": "Documents.Document_Name", "number of paragraphs": "Paragraphs.Document_ID" } }, { "question": "what are the #ids# and #names of each document# , as well as the #number of paragraphs# in each?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.document_id, t2.document_name, count(*) from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id group by t1.document_id", "schema_with_content": "ref_template_types : template_type_code (\"BK\", \"CV\", \"AD\"), template_type_description (\"CV\", \"Paper\", \"Book\") | templates : date_effective_from (\"1996-02-04 11:27:24\", \"2002-03-02 14:39:49\", \"1975-05-20 22:51:19\"), template_type_code (\"AD\", \"PPT\", \"PPT\"), template_details (\"\"), template_id (16, 23, 14), version_number (5, 0, 7), date_effective_to (\"1980-05-07 12:15:47\", \"1973-01-12 14:13:34\", \"1992-05-02 20:06:11\") | documents : record_name (\"How to write a CV\", \"Do not panic\", \"Introduction of OS\"), file_name (\"How to write a CV\", \"Do not panic\", \"Introduction of OS\"), other_details (None), document_description (\"w\", \"u\", \"h\"), template_id (14, 10, 14), document_id (80, 76, 1) | paragraphs : other_details (None), paragraph_text (\"Fiji\", \"Somalia\", \"Japan\"), document_id (2394, 385906526, 50123), paragraph_id (3708, 280120913, 510442723)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_from , template_type_code , template_details , template_id , version_number , date_effective_to | documents : record_name , file_name , other_details , document_description , template_id , document_id | paragraphs : other_details , paragraph_text , document_id , paragraph_id", "extra_map": { "documents": { "document_name": [ "file_name", "record_name" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_description", "other_details", "file_name", "record_name" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "ids": "Documents.Document_ID", "names of each document": "Documents.Document_Name", "number of paragraphs": "Paragraphs.Paragraph_ID" } }, { "question": "what are the #ids# and #names of each document# , as well as the #number of paragraphs# in each?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.document_id, t2.document_name, count(*) from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id group by t1.document_id", "schema_with_content": "ref_template_types : template_type_code (\"CV\", \"CV\", \"PP\"), template_type_description (\"Advertisement\", \"Book\", \"CV\") | templates : date_effective_to (\"2001-04-18 09:29:52\", \"2006-02-06 23:52:04\", \"2001-04-18 09:29:52\"), template_id (0, 0, 1), version_number (3, 9, 7), date_effective_from (\"1986-11-14 12:20:18\", \"2003-06-05 04:03:45\", \"1983-07-16 21:16:16\"), template_type_code (\"PP\", \"PP\", \"PPT\"), template_details (\"\") | documents : document_id (651512, 0, 385906526), other_details (None), document_description (\"b\", \"f\", \"b\"), template_id (4, 20, 4), document_name (\"Palm reading\", \"How to read a book\", \"Customer reviews\") | paragraphs : paragraph_id (571212310, 65, 241), doc_id (3540024, 33930, 33930), file_id (3540024, 33930, 33930), paragraph_text (\"UK\", \"Jersey\", \"Fiji\"), other_details (None)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_to , template_id , version_number , date_effective_from , template_type_code , template_details | documents : document_id , other_details , document_description , template_id , document_name | paragraphs : paragraph_id , doc_id , file_id , paragraph_text , other_details", "extra_map": { "paragraphs": { "document_id": [ "doc_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "paragraph_text", "other_details", "doc_id", "file_id" ] }, "column_linking_gt": { "ids": "Documents.Document_ID", "names of each document": "Documents.Document_Name", "number of paragraphs": "Paragraphs.Paragraph_ID" } }, { "question": "list all #document ids# with at least two #paragraphs# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id from paragraphs group by document_id having count(*) >= 2", "schema_with_content": "ref_template_types : template_type_description (\"Advertisement\", \"CV\", \"Book\"), template_type_code (\"PPT\", \"PP\", \"AD\") | templates : date_effective_to (\"1998-05-12 12:51:29\", \"2007-06-06 06:18:53\", \"1993-03-24 14:30:23\"), version_number (4, 2, 0), template_type_code (\"CV\", \"CV\", \"BK\"), template_id (6, 24, 8), template_details (\"\"), date_effective_from (\"2005-02-20 00:31:34\", \"2010-09-24 01:15:11\", \"1993-10-07 02:33:04\") | documents : template_id (4, 25, 20), document_description (\"z\", \"b\", \"h\"), other_details (None), document_id (2394, 651512, 3830), document_name (\"Summer Show\", \"About Korea\", \"Do not panic\") | paragraphs : file_id (80, 3540024, 50123), paragraph_text (\"Japan\", \"Somalia\", \"Japan\"), doc_id (80, 3540024, 50123), paragraph_id (280120913, 608931827, 7), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : date_effective_to , version_number , template_type_code , template_id , template_details , date_effective_from | documents : template_id , document_description , other_details , document_id , document_name | paragraphs : file_id , paragraph_text , doc_id , paragraph_id , other_details", "extra_map": { "paragraphs": { "document_id": [ "doc_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "paragraph_text", "other_details", "doc_id", "file_id" ] }, "column_linking_gt": { "document ids": "Paragraphs.Document_ID", "paragraphs": "Paragraphs" } }, { "question": "what are the #ids of documents# that have 2 or more #paragraphs# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id from paragraphs group by document_id having count(*) >= 2", "schema_with_content": "ref_template_types : template_type_code (\"AD\", \"CV\", \"CV\"), template_type_description (\"CV\", \"Presentation\", \"Paper\") | templates : version_number (7, 0, 5), template_id (9, 22, 4), date_effective_from (\"1986-12-09 14:51:36\", \"1986-12-09 14:51:36\", \"1984-08-07 13:36:26\"), template_details (\"\"), date_effective_to (\"1998-05-12 12:51:29\", \"1989-11-24 19:06:06\", \"1994-12-07 13:26:23\"), template_type_code (\"PPT\", \"BK\", \"CV\") | documents : document_id (2394, 3, 80), document_name (\"Robbin CV\", \"A history of Arts\", \"A history of Arts\"), document_description (\"r\", \"z\", \"r\"), other_details (None), template_id (11, 14, 10) | paragraphs : paragraph_id (9, 65, 241), paragraph_text (\"Indonesia\", \"Jersey\", \"Palestinian Territory\"), doc_id (2394, 3540024, 385906526), other_details (None), file_id (2394, 3540024, 385906526)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : version_number , template_id , date_effective_from , template_details , date_effective_to , template_type_code | documents : document_id , document_name , document_description , other_details , template_id | paragraphs : paragraph_id , paragraph_text , doc_id , other_details , file_id", "extra_map": { "paragraphs": { "document_id": [ "doc_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "paragraph_text", "other_details", "doc_id", "file_id" ] }, "column_linking_gt": { "ids of documents": "Documents.Document_ID", "paragraphs": "Paragraphs" } }, { "question": "what is the #document id# and name with greatest number of #paragraphs# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.document_id, t2.document_name from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id group by t1.document_id order by count(*) desc limit 1", "schema_with_content": "ref_template_types : template_type_code (\"AD\", \"PPT\", \"PP\"), template_type_description (\"Advertisement\", \"Book\", \"Presentation\") | templates : template_type_code (\"BK\", \"CV\", \"BK\"), template_id (10, 11, 20), date_effective_to (\"2008-01-05 14:19:28\", \"1999-07-08 03:31:04\", \"1998-05-12 12:51:29\"), version_number (9, 6, 2), date_effective_from (\"2005-11-12 07:09:48\", \"1975-05-20 22:51:19\", \"1983-07-16 21:16:16\"), template_details (\"\") | documents : document_description (\"z\", \"r\", \"h\"), template_id (22, 8, 1), record_name (\"Understanding DB\", \"Palm reading\", \"Introduction of OS\"), document_id (651512, 385906526, 76), file_name (\"Understanding DB\", \"Palm reading\", \"Introduction of OS\"), other_details (None) | paragraphs : other_details (None), document_id (385906526, 50123, 50123), paragraph_id (16615, 7, 16615), paragraph_text (\"Ireland\", \"Jersey\", \"Japan\")", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : template_type_code , template_id , date_effective_to , version_number , date_effective_from , template_details | documents : document_description , template_id , record_name , document_id , file_name , other_details | paragraphs : other_details , document_id , paragraph_id , paragraph_text", "extra_map": { "documents": { "document_name": [ "file_name", "record_name" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_description", "other_details", "file_name", "record_name" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "document id": "Paragraphs.Document_ID", "paragraphs": "Paragraphs", "document name": "Documents.Document_Name" } }, { "question": "what is the #document id# and name with greatest number of #paragraphs# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.document_id, t2.document_name from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id group by t1.document_id order by count(*) desc limit 1", "schema_with_content": "ref_template_types : template_type_code (\"AD\", \"PP\", \"PPT\"), template_type_description (\"Presentation\", \"Presentation\", \"CV\") | templates : template_id (21, 21, 8), template_type_code (\"AD\", \"PP\", \"BK\"), date_effective_from (\"1979-12-24 10:28:16\", \"1997-04-17 08:29:44\", \"2005-11-12 07:09:48\"), version_number (1, 4, 6), template_details (\"\"), date_effective_to (\"2008-01-05 14:19:28\", \"2008-08-08 18:36:43\", \"2015-09-06 01:08:44\") | documents : template_id (1, 4, 21), document_id (80, 3540024, 3540024), document_name (\"Robbin CV\", \"Introduction of OS\", \"Welcome to NY\"), document_description (\"b\", \"n\", \"h\"), other_details (None) | paragraphs : other_details (None), file_id (3, 3540024, 33930), doc_id (3, 3540024, 33930), paragraph_text (\"Senegal\", \"Papua New Guinea\", \"Jersey\"), paragraph_id (1104059, 946335436, 608931827)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : template_id , template_type_code , date_effective_from , version_number , template_details , date_effective_to | documents : template_id , document_id , document_name , document_description , other_details | paragraphs : other_details , file_id , doc_id , paragraph_text , paragraph_id", "extra_map": { "paragraphs": { "document_id": [ "doc_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "paragraph_text", "other_details", "doc_id", "file_id" ] }, "column_linking_gt": { "document id": "Paragraphs.Document_ID", "paragraphs": "Paragraphs", "document name": "Documents.Document_Name" } }, { "question": "return the #id# and #name of the document# with the most #paragraphs# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.document_id, t2.document_name from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id group by t1.document_id order by count(*) desc limit 1", "schema_with_content": "ref_template_types : template_type_description (\"Book\", \"Presentation\", \"Presentation\"), template_type_code (\"PPT\", \"CV\", \"CV\") | templates : template_details (\"\"), date_effective_from (\"2002-08-25 13:26:23\", \"1979-12-24 10:28:16\", \"2003-06-05 04:03:45\"), template_type_code (\"AD\", \"AD\", \"PPT\"), template_id (9, 8, 24), version_number (2, 5, 2), date_effective_to (\"2001-04-18 09:29:52\", \"1976-10-28 10:08:50\", \"1992-05-02 20:06:11\") | documents : document_description (\"y\", \"r\", \"b\"), file_name (\"Palm reading\", \"Understanding DB\", \"How to read a book\"), document_id (2394, 1, 33930), record_name (\"Palm reading\", \"Understanding DB\", \"How to read a book\"), template_id (7, 8, 8), other_details (None) | paragraphs : document_id (50123, 651512, 385906526), paragraph_text (\"Ukraine\", \"Fiji\", \"Fiji\"), paragraph_id (3708, 571212310, 765713812), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_details , date_effective_from , template_type_code , template_id , version_number , date_effective_to | documents : document_description , file_name , document_id , record_name , template_id , other_details | paragraphs : document_id , paragraph_text , paragraph_id , other_details", "extra_map": { "documents": { "document_name": [ "file_name", "record_name" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_description", "other_details", "file_name", "record_name" ], "paragraphs": [ "paragraph_id", "document_id", "paragraph_text", "other_details" ] }, "column_linking_gt": { "id": "Documents.Document_ID", "name of the document": "Documents.Document_Name", "paragraphs": "Paragraphs" } }, { "question": "return the #id# and #name of the document# with the most #paragraphs# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select t1.document_id, t2.document_name from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id group by t1.document_id order by count(*) desc limit 1", "schema_with_content": "ref_template_types : template_type_code (\"PPT\", \"PPT\", \"AD\"), template_type_description (\"CV\", \"Presentation\", \"Advertisement\") | templates : date_effective_from (\"1975-10-20 02:28:58\", \"1986-12-09 14:51:36\", \"1993-10-07 02:33:04\"), date_effective_to (\"1976-10-28 10:08:50\", \"1973-01-12 14:13:34\", \"1992-05-02 20:06:11\"), template_type_code (\"PP\", \"CV\", \"CV\"), version_number (6, 0, 1), template_details (\"\"), template_id (4, 20, 20) | documents : other_details (None), document_description (\"h\", \"y\", \"w\"), template_id (6, 14, 22), document_id (3830, 33930, 1), document_name (\"Summer Show\", \"Palm reading\", \"Do not panic\") | paragraphs : doc_id (385906526, 385906526, 50123), paragraph_text (\"Fiji\", \"Indonesia\", \"Papua New Guinea\"), file_id (385906526, 385906526, 50123), other_details (None), paragraph_id (510442723, 7, 946335436)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_from , date_effective_to , template_type_code , version_number , template_details , template_id | documents : other_details , document_description , template_id , document_id , document_name | paragraphs : doc_id , paragraph_text , file_id , other_details , paragraph_id", "extra_map": { "paragraphs": { "document_id": [ "doc_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "paragraph_text", "other_details", "doc_id", "file_id" ] }, "column_linking_gt": { "id": "Documents.Document_ID", "name of the document": "Documents.Document_Name", "paragraphs": "Paragraphs" } }, { "question": "what is the #document id# with least number of #paragraphs# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id from paragraphs group by document_id order by count(*) asc limit 1", "schema_with_content": "ref_template_types : template_type_code (\"BK\", \"CV\", \"BK\"), template_type_description (\"CV\", \"Advertisement\", \"Book\") | templates : date_effective_from (\"1979-10-20 21:23:20\", \"2002-08-25 13:26:23\", \"1979-12-24 10:28:16\"), date_effective_to (\"2008-08-08 18:36:43\", \"2008-08-08 18:36:43\", \"2008-08-08 18:36:43\"), template_details (\"\"), template_type_code (\"BK\", \"AD\", \"BK\"), template_id (22, 19, 25), version_number (4, 5, 9) | documents : document_name (\"Welcome to NY\", \"About Korea\", \"About Korea\"), other_details (None), document_id (651512, 2394, 76), document_description (\"h\", \"u\", \"f\"), template_id (6, 6, 1) | paragraphs : file_id (651512, 651512, 3), paragraph_text (\"Indonesia\", \"Somalia\", \"Palestinian Territory\"), other_details (None), doc_id (651512, 651512, 3), paragraph_id (765713812, 608931827, 946335436)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_from , date_effective_to , template_details , template_type_code , template_id , version_number | documents : document_name , other_details , document_id , document_description , template_id | paragraphs : file_id , paragraph_text , other_details , doc_id , paragraph_id", "extra_map": { "paragraphs": { "document_id": [ "doc_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "paragraph_text", "other_details", "doc_id", "file_id" ] }, "column_linking_gt": { "document id": "Paragraphs.Document_ID", "paragraphs": "Paragraphs" } }, { "question": "return the #id of the document# with the fewest #paragraphs# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id from paragraphs group by document_id order by count(*) asc limit 1", "schema_with_content": "ref_template_types : template_type_description (\"CV\", \"Book\", \"Presentation\"), template_type_code (\"PPT\", \"CV\", \"CV\") | templates : template_id (23, 11, 25), template_type_code (\"PPT\", \"CV\", \"PPT\"), version_number (8, 2, 2), date_effective_from (\"1986-11-14 12:20:18\", \"2005-02-20 00:31:34\", \"1993-10-07 02:33:04\"), template_details (\"\"), date_effective_to (\"1994-12-07 13:26:23\", \"1974-09-14 06:34:39\", \"2008-01-05 14:19:28\") | documents : document_description (\"n\", \"h\", \"w\"), document_name (\"Understanding DB\", \"A history of Arts\", \"Welcome to NY\"), document_id (76, 33930, 651512), template_id (4, 20, 7), other_details (None) | paragraphs : paragraph_id (65, 9946, 1104059), file_id (2394, 3830, 651512), other_details (None), paragraph_text (\"Somalia\", \"Brazil\", \"Senegal\"), doc_id (2394, 3830, 651512)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_id , template_type_code , version_number , date_effective_from , template_details , date_effective_to | documents : document_description , document_name , document_id , template_id , other_details | paragraphs : paragraph_id , file_id , other_details , paragraph_text , doc_id", "extra_map": { "paragraphs": { "document_id": [ "doc_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "paragraph_text", "other_details", "doc_id", "file_id" ] }, "column_linking_gt": { "id of the document": "Documents.Document_ID", "paragraphs": "Paragraphs" } }, { "question": "what is the #document id# with 1 to 2 #paragraphs# ?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id from paragraphs group by document_id having count(*) between 1 and 2", "schema_with_content": "ref_template_types : template_type_description (\"CV\", \"CV\", \"Book\"), template_type_code (\"PP\", \"CV\", \"AD\") | templates : date_effective_from (\"2010-09-24 01:15:11\", \"2003-06-05 04:03:45\", \"2008-08-01 13:57:26\"), template_id (25, 23, 24), template_details (\"\"), date_effective_to (\"1999-07-08 03:31:04\", \"2001-04-18 09:29:52\", \"1992-05-02 20:06:11\"), template_type_code (\"PPT\", \"CV\", \"CV\"), version_number (8, 4, 4) | documents : other_details (None), document_description (\"k\", \"u\", \"k\"), document_id (3, 3, 76), document_name (\"A history of Arts\", \"How Google people work\", \"Palm reading\"), template_id (22, 11, 25) | paragraphs : paragraph_text (\"Brazil\", \"Somalia\", \"UK\"), doc_id (80, 33930, 385906526), file_id (80, 33930, 385906526), paragraph_id (571212310, 9, 946335436), other_details (None)", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : date_effective_from , template_id , template_details , date_effective_to , template_type_code , version_number | documents : other_details , document_description , document_id , document_name , template_id | paragraphs : paragraph_text , doc_id , file_id , paragraph_id , other_details", "extra_map": { "paragraphs": { "document_id": [ "doc_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "paragraph_text", "other_details", "doc_id", "file_id" ] }, "column_linking_gt": { "document id": "Paragraphs.Document_ID", "paragraphs": "Paragraphs" } }, { "question": "give the #ids of documents# that have between one and two #paragraphs# .", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id from paragraphs group by document_id having count(*) between 1 and 2", "schema_with_content": "ref_template_types : template_type_code (\"PPT\", \"AD\", \"PP\"), template_type_description (\"Advertisement\", \"Paper\", \"Advertisement\") | templates : date_effective_to (\"2008-08-08 18:36:43\", \"2015-09-06 01:08:44\", \"1976-10-28 10:08:50\"), template_type_code (\"PP\", \"CV\", \"PP\"), template_id (11, 6, 24), date_effective_from (\"1996-02-04 11:27:24\", \"2002-03-02 14:39:49\", \"1999-06-21 11:10:30\"), template_details (\"\"), version_number (3, 1, 8) | documents : other_details (None), document_id (801801, 82, 3830), template_id (11, 4, 14), document_description (\"k\", \"b\", \"y\"), document_name (\"A history of Arts\", \"Learning French\", \"About Korea\") | paragraphs : doc_id (50123, 80, 3540024), paragraph_id (280120913, 280120913, 946335436), file_id (50123, 80, 3540024), paragraph_text (\"Ireland\", \"Brazil\", \"Palestinian Territory\"), other_details (None)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_to , template_type_code , template_id , date_effective_from , template_details , version_number | documents : other_details , document_id , template_id , document_description , document_name | paragraphs : doc_id , paragraph_id , file_id , paragraph_text , other_details", "extra_map": { "paragraphs": { "document_id": [ "doc_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "paragraph_text", "other_details", "doc_id", "file_id" ] }, "column_linking_gt": { "ids of documents": "Paragraphs.Document_ID", "paragraphs": "Paragraphs" } }, { "question": "show the #document id with paragraph text# 'brazil' and 'ireland'.", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id from paragraphs where paragraph_text = 'Brazil' intersect select document_id from paragraphs where paragraph_text = 'Ireland'", "schema_with_content": "ref_template_types : template_type_description (\"CV\", \"Advertisement\", \"CV\"), template_type_code (\"PP\", \"AD\", \"PPT\") | templates : template_id (4, 6, 0), date_effective_to (\"2015-09-06 01:08:44\", \"2008-08-08 18:36:43\", \"1989-11-24 19:06:06\"), template_type_code (\"PPT\", \"PPT\", \"PP\"), template_details (\"\"), version_number (5, 9, 2), date_effective_from (\"1986-11-14 12:20:18\", \"2008-08-01 13:57:26\", \"2008-08-01 13:57:26\") | documents : document_description (\"h\", \"y\", \"b\"), other_details (None), document_id (385906526, 1, 651512), template_id (4, 4, 4), document_name (\"How to read a book\", \"Data base\", \"Learning French\") | paragraphs : paragraph_id (243399026, 241, 765713812), file_id (2394, 2394, 80), other_details (None), doc_id (2394, 2394, 80), paragraph_text (\"Korea\", \"UK\", \"Senegal\")", "schema_without_content": "ref_template_types : template_type_description , template_type_code | templates : template_id , date_effective_to , template_type_code , template_details , version_number , date_effective_from | documents : document_description , other_details , document_id , template_id , document_name | paragraphs : paragraph_id , file_id , other_details , doc_id , paragraph_text", "extra_map": { "paragraphs": { "document_id": [ "doc_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "paragraph_text", "other_details", "doc_id", "file_id" ] }, "column_linking_gt": { "document id with paragraph text": "Paragraphs.Document_ID" } }, { "question": "what are the #ids of documents# that contain the #paragraph text# 'brazil' and 'ireland'?", "db_id": "cre_Doc_Template_Mgt", "orig_query": "select document_id from paragraphs where paragraph_text = 'Brazil' intersect select document_id from paragraphs where paragraph_text = 'Ireland'", "schema_with_content": "ref_template_types : template_type_code (\"BK\", \"PPT\", \"BK\"), template_type_description (\"CV\", \"Paper\", \"Presentation\") | templates : date_effective_to (\"1995-09-19 22:27:48\", \"2008-01-05 14:19:28\", \"1976-10-28 10:08:50\"), template_id (24, 8, 1), version_number (1, 8, 0), date_effective_from (\"1986-12-09 14:51:36\", \"1984-08-07 13:36:26\", \"2003-06-05 04:03:45\"), template_details (\"\"), template_type_code (\"PP\", \"AD\", \"CV\") | documents : other_details (None), document_id (3830, 3830, 82), template_id (21, 25, 14), document_name (\"Understanding DB\", \"How to read a book\", \"Palm reading\"), document_description (\"n\", \"h\", \"y\") | paragraphs : doc_id (16514113, 16514113, 50123), other_details (None), paragraph_text (\"Ireland\", \"Korea\", \"Ukraine\"), paragraph_id (280120913, 16615, 65), file_id (16514113, 16514113, 50123)", "schema_without_content": "ref_template_types : template_type_code , template_type_description | templates : date_effective_to , template_id , version_number , date_effective_from , template_details , template_type_code | documents : other_details , document_id , template_id , document_name , document_description | paragraphs : doc_id , other_details , paragraph_text , paragraph_id , file_id", "extra_map": { "paragraphs": { "document_id": [ "doc_id", "file_id" ] } }, "extra_table_map": null, "db_schema": { "ref_template_types": [ "template_type_code", "template_type_description" ], "templates": [ "template_id", "version_number", "template_type_code", "date_effective_from", "date_effective_to", "template_details" ], "documents": [ "document_id", "template_id", "document_name", "document_description", "other_details" ], "paragraphs": [ "paragraph_id", "paragraph_text", "other_details", "doc_id", "file_id" ] }, "column_linking_gt": { "ids of documents": "Documents.Document_ID", "paragraph text": "Paragraphs.Paragraph_Text" } }, { "question": "list the #names of teachers# in ascending order of #age# .", "db_id": "course_teach", "orig_query": "select name from teacher order by age asc", "schema_with_content": "course : staring_date (\"5 May\", \"13 May\", \"7 May\"), course_id (10, 7, 1), course (\"Health\", \"Language Arts\", \"Bible\") | teacher : age (\"33\", \"26\", \"41\"), hometown (\"Turton Urban District\", \"Little Lever Urban District\", \"Bolton County Borough\"), full_name (\"Gustaaf Deloor\", \"Gustaaf Deloor\", \"Vicente Carretero\"), teacher_id (6, 4, 3), title (\"Gustaaf Deloor\", \"Gustaaf Deloor\", \"Vicente Carretero\") | course_arrange : grade (5, 3, 7), course_id (4, 10, 4), teacher_id (2, 5, 2)", "schema_without_content": "course : staring_date , course_id , course | teacher : age , hometown , full_name , teacher_id , title | course_arrange : grade , course_id , teacher_id", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of teachers": "teacher.Name", "age": "teacher.Age" } }, { "question": "what are the #names of the teachers# ordered by ascending #age# ?", "db_id": "course_teach", "orig_query": "select name from teacher order by age asc", "schema_with_content": "course : staring_date (\"6 May\", \"10 May\", \"11 May\"), course (\"Sports\", \"Music\", \"Geography\"), course_id (1, 6, 6) | teacher : age (\"26\", \"33\", \"29\"), full_name (\"Gustaaf Deloor\", \"Vicente Carretero\", \"Joseph Huts\"), title (\"Gustaaf Deloor\", \"Vicente Carretero\", \"Joseph Huts\"), teacher_id (3, 6, 6), hometown (\"Little Lever Urban District\", \"Little Lever Urban District\", \"Little Lever Urban District\") | course_arrange : course_id (3, 5, 4), grade (1, 1, 7), teacher_id (3, 6, 2)", "schema_without_content": "course : staring_date , course , course_id | teacher : age , full_name , title , teacher_id , hometown | course_arrange : course_id , grade , teacher_id", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of the teachers": "teacher.Name", "age": "teacher.Age" } }, { "question": "what are the #age# and #hometown of teachers# ?", "db_id": "course_teach", "orig_query": "select age, hometown from teacher", "schema_with_content": "course : course (\"Geography\", \"History\", \"Science\"), course_id (2, 1, 4), staring_date (\"5 May\", \"7 May\", \"15 May\") | teacher : origin (\"Turton Urban District\", \"Bolton County Borough\", \"Turton Urban District\"), name (\"Lucy Wong\", \"John Deloor\", \"John Deloor\"), teacher_id (1, 3, 5), birthplace (\"Turton Urban District\", \"Bolton County Borough\", \"Turton Urban District\"), age (\"32\", \"33\", \"39\") | course_arrange : grade (4, 1, 3), teacher_id (6, 2, 6), course_id (5, 4, 10)", "schema_without_content": "course : course , course_id , staring_date | teacher : origin , name , teacher_id , birthplace , age | course_arrange : grade , teacher_id , course_id", "extra_map": { "teacher": { "hometown": [ "birthplace", "origin" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "name", "age", "birthplace", "origin" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "age": "teacher.Age", "hometown of teachers": "teacher.Hometown" } }, { "question": "what are the #age# and #hometown of teachers# ?", "db_id": "course_teach", "orig_query": "select age, hometown from teacher", "schema_with_content": "course : staring_date (\"14 May\", \"11 May\", \"6 May\"), course_id (3, 7, 10), course (\"French\", \"Geography\", \"Language Arts\") | teacher : teacher_id (1, 7, 3), name (\"Kearsley Brown\", \"John Deloor\", \"Anne Walker\"), dob (\"33\", \"41\", \"45\"), hometown (\"Kearsley Urban District\", \"Horwich Urban District\", \"Bolton County Borough\"), years_old (\"33\", \"41\", \"45\") | course_arrange : course_id (4, 3, 5), teacher_id (6, 6, 2), grade (3, 3, 3)", "schema_without_content": "course : staring_date , course_id , course | teacher : teacher_id , name , dob , hometown , years_old | course_arrange : course_id , teacher_id , grade", "extra_map": { "teacher": { "age": [ "years_old", "dob" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "name", "hometown", "years_old", "dob" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "age": "teacher.Age", "hometown of teachers": "teacher.Hometown" } }, { "question": "what is the #age# and #hometown# of every #teacher# ?", "db_id": "course_teach", "orig_query": "select age, hometown from teacher", "schema_with_content": "course : course_id (2, 2, 4), staring_date (\"6 May\", \"10 May\", \"13 May\"), course (\"History\", \"Health\", \"Science\") | teacher : age (\"33\", \"33\", \"29\"), birthplace (\"Bolton County Borough\", \"Bolton County Borough\", \"Little Lever Urban District\"), teacher_id (5, 5, 3), origin (\"Bolton County Borough\", \"Bolton County Borough\", \"Little Lever Urban District\"), name (\"Joseph Huts\", \"Joseph Huts\", \"Gustaaf Deloor\") | course_arrange : grade (4, 5, 3), teacher_id (7, 2, 2), course_id (5, 3, 3)", "schema_without_content": "course : course_id , staring_date , course | teacher : age , birthplace , teacher_id , origin , name | course_arrange : grade , teacher_id , course_id", "extra_map": { "teacher": { "hometown": [ "birthplace", "origin" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "name", "age", "birthplace", "origin" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "age": "teacher.Age", "hometown": "teacher.Hometown", "teacher": "teacher" } }, { "question": "what is the #age# and #hometown# of every #teacher# ?", "db_id": "course_teach", "orig_query": "select age, hometown from teacher", "schema_with_content": "course : course (\"Sports\", \"Health\", \"Math\"), staring_date (\"6 May\", \"17 May\", \"11 May\"), course_id (8, 7, 7) | teacher : years_old (\"32\", \"41\", \"26\"), teacher_id (1, 7, 1), dob (\"32\", \"41\", \"26\"), hometown (\"Little Lever Urban District\", \"Turton Urban District\", \"Horwich Urban District\"), name (\"Lucy Wong\", \"Anne Walker\", \"Kearsley Brown\") | course_arrange : course_id (4, 4, 2), grade (3, 5, 7), teacher_id (5, 3, 3)", "schema_without_content": "course : course , staring_date , course_id | teacher : years_old , teacher_id , dob , hometown , name | course_arrange : course_id , grade , teacher_id", "extra_map": { "teacher": { "age": [ "years_old", "dob" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "name", "hometown", "years_old", "dob" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "age": "teacher.Age", "hometown": "teacher.Hometown", "teacher": "teacher" } }, { "question": "show the #name of teachers aged# either 32 or 33?", "db_id": "course_teach", "orig_query": "select name from teacher where age = 32 or age = 33", "schema_with_content": "course : course (\"Bible\", \"Science\", \"French\"), staring_date (\"14 May\", \"5 May\", \"6 May\"), course_id (9, 3, 1) | teacher : hometown (\"Blackrod Urban District\", \"Kearsley Urban District\", \"Farnworth Municipal Borough\"), teacher_id (6, 6, 2), title (\"Lucy Wong\", \"Kearsley Brown\", \"Vicente Carretero\"), age (\"39\", \"32\", \"45\"), full_name (\"Lucy Wong\", \"Kearsley Brown\", \"Vicente Carretero\") | course_arrange : teacher_id (5, 7, 7), grade (3, 1, 1), course_id (4, 5, 10)", "schema_without_content": "course : course , staring_date , course_id | teacher : hometown , teacher_id , title , age , full_name | course_arrange : teacher_id , grade , course_id", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "name of teachers aged": "teacher.Name" } }, { "question": "what are the #names of the teachers# who are #aged# either 32 or 33?", "db_id": "course_teach", "orig_query": "select name from teacher where age = 32 or age = 33", "schema_with_content": "course : staring_date (\"13 May\", \"9 May\", \"15 May\"), course_id (4, 2, 7), course (\"French\", \"Music\", \"Science\") | teacher : hometown (\"Kearsley Urban District\", \"Little Lever Urban District\", \"Kearsley Urban District\"), teacher_id (1, 5, 3), title (\"Kearsley Brown\", \"Joseph Huts\", \"Joseph Huts\"), age (\"39\", \"41\", \"41\"), full_name (\"Kearsley Brown\", \"Joseph Huts\", \"Joseph Huts\") | course_arrange : course_id (2, 10, 3), grade (4, 5, 3), teacher_id (6, 2, 3)", "schema_without_content": "course : staring_date , course_id , course | teacher : hometown , teacher_id , title , age , full_name | course_arrange : course_id , grade , teacher_id", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of the teachers": "teacher.Name", "aged": "teacher.Age" } }, { "question": "what is the #hometown of the youngest teacher# ?", "db_id": "course_teach", "orig_query": "select hometown from teacher order by age asc limit 1", "schema_with_content": "course : course_id (5, 2, 7), course (\"Language Arts\", \"Music\", \"History\"), staring_date (\"14 May\", \"13 May\", \"17 May\") | teacher : age (\"45\", \"26\", \"39\"), origin (\"Farnworth Municipal Borough\", \"Blackrod Urban District\", \"Farnworth Municipal Borough\"), name (\"Gustaaf Deloor\", \"Lucy Wong\", \"Gustaaf Deloor\"), teacher_id (4, 3, 1), birthplace (\"Farnworth Municipal Borough\", \"Blackrod Urban District\", \"Farnworth Municipal Borough\") | course_arrange : course_id (4, 3, 4), grade (5, 4, 7), teacher_id (5, 2, 5)", "schema_without_content": "course : course_id , course , staring_date | teacher : age , origin , name , teacher_id , birthplace | course_arrange : course_id , grade , teacher_id", "extra_map": { "teacher": { "hometown": [ "birthplace", "origin" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "name", "age", "birthplace", "origin" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "hometown of the youngest teacher": "teacher.Hometown" } }, { "question": "where is the #youngest teacher# from?", "db_id": "course_teach", "orig_query": "select hometown from teacher order by age asc limit 1", "schema_with_content": "course : staring_date (\"13 May\", \"17 May\", \"9 May\"), course_id (8, 2, 6), course (\"Geography\", \"Health\", \"History\") | teacher : origin (\"Blackrod Urban District\", \"Bolton County Borough\", \"Turton Urban District\"), name (\"Gustaaf Deloor\", \"Vicente Carretero\", \"Anne Walker\"), teacher_id (6, 5, 4), birthplace (\"Blackrod Urban District\", \"Bolton County Borough\", \"Turton Urban District\"), age (\"26\", \"29\", \"41\") | course_arrange : grade (5, 1, 4), teacher_id (5, 5, 2), course_id (4, 2, 2)", "schema_without_content": "course : staring_date , course_id , course | teacher : origin , name , teacher_id , birthplace , age | course_arrange : grade , teacher_id , course_id", "extra_map": { "teacher": { "hometown": [ "birthplace", "origin" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "name", "age", "birthplace", "origin" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "youngest teacher": "teacher.Age", "Hometown": "teacher.Hometown" } }, { "question": "show different #hometown of teachers# and the #number of teachers# from each hometown.", "db_id": "course_teach", "orig_query": "select hometown, count(*) from teacher group by hometown", "schema_with_content": "course : course_id (6, 10, 4), staring_date (\"17 May\", \"6 May\", \"6 May\"), course (\"Sports\", \"Health\", \"Health\") | teacher : origin (\"Turton Urban District\", \"Turton Urban District\", \"Bolton County Borough\"), birthplace (\"Turton Urban District\", \"Turton Urban District\", \"Bolton County Borough\"), teacher_id (4, 3, 2), name (\"Anne Walker\", \"Vicente Carretero\", \"Gustaaf Deloor\"), age (\"33\", \"39\", \"45\") | course_arrange : grade (1, 1, 3), course_id (2, 4, 5), teacher_id (2, 3, 2)", "schema_without_content": "course : course_id , staring_date , course | teacher : origin , birthplace , teacher_id , name , age | course_arrange : grade , course_id , teacher_id", "extra_map": { "teacher": { "hometown": [ "birthplace", "origin" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "name", "age", "birthplace", "origin" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "hometown of teachers": "teacher.Hometown", "number of teachers": "teacher", "hometown": "teacher.Hometown" } }, { "question": "for each #hometown# , how many #teachers# are there?", "db_id": "course_teach", "orig_query": "select hometown, count(*) from teacher group by hometown", "schema_with_content": "course : course (\"Math\", \"History\", \"Geography\"), staring_date (\"7 May\", \"11 May\", \"5 May\"), course_id (8, 6, 2) | teacher : birthplace (\"Horwich Urban District\", \"Little Lever Urban District\", \"Farnworth Municipal Borough\"), teacher_id (4, 2, 3), name (\"Lucy Wong\", \"Lucy Wong\", \"Vicente Carretero\"), origin (\"Horwich Urban District\", \"Little Lever Urban District\", \"Farnworth Municipal Borough\"), age (\"41\", \"29\", \"41\") | course_arrange : course_id (5, 3, 4), grade (4, 7, 5), teacher_id (3, 5, 2)", "schema_without_content": "course : course , staring_date , course_id | teacher : birthplace , teacher_id , name , origin , age | course_arrange : course_id , grade , teacher_id", "extra_map": { "teacher": { "hometown": [ "birthplace", "origin" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "name", "age", "birthplace", "origin" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "hometown": "teacher.Hometown", "teachers": "teacher" } }, { "question": "list the most common #hometown of teachers# .", "db_id": "course_teach", "orig_query": "select hometown from teacher group by hometown order by count(*) desc limit 1", "schema_with_content": "course : course (\"Health\", \"Sports\", \"Sports\"), staring_date (\"7 May\", \"9 May\", \"6 May\"), course_id (8, 6, 4) | teacher : birthplace (\"Bolton County Borough\", \"Turton Urban District\", \"Bolton County Borough\"), age (\"39\", \"32\", \"26\"), origin (\"Bolton County Borough\", \"Turton Urban District\", \"Bolton County Borough\"), teacher_id (2, 7, 6), name (\"Vicente Carretero\", \"Joseph Huts\", \"Gustaaf Deloor\") | course_arrange : teacher_id (5, 5, 3), grade (1, 1, 1), course_id (2, 4, 4)", "schema_without_content": "course : course , staring_date , course_id | teacher : birthplace , age , origin , teacher_id , name | course_arrange : teacher_id , grade , course_id", "extra_map": { "teacher": { "hometown": [ "birthplace", "origin" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "name", "age", "birthplace", "origin" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "hometown of teachers": "teacher.Hometown" } }, { "question": "what is the most commmon #hometowns for teachers# ?", "db_id": "course_teach", "orig_query": "select hometown from teacher group by hometown order by count(*) desc limit 1", "schema_with_content": "course : course (\"Sports\", \"Science\", \"Sports\"), course_id (4, 4, 6), staring_date (\"6 May\", \"5 May\", \"10 May\") | teacher : origin (\"Bolton County Borough\", \"Kearsley Urban District\", \"Little Lever Urban District\"), name (\"Vicente Carretero\", \"Kearsley Brown\", \"Vicente Carretero\"), birthplace (\"Bolton County Borough\", \"Kearsley Urban District\", \"Little Lever Urban District\"), teacher_id (3, 3, 4), age (\"32\", \"39\", \"41\") | course_arrange : teacher_id (7, 2, 3), grade (3, 7, 4), course_id (3, 10, 2)", "schema_without_content": "course : course , course_id , staring_date | teacher : origin , name , birthplace , teacher_id , age | course_arrange : teacher_id , grade , course_id", "extra_map": { "teacher": { "hometown": [ "birthplace", "origin" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "name", "age", "birthplace", "origin" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "hometowns for teachers": "teacher.Hometown" } }, { "question": "show the #hometowns# shared by at least two #teachers# .", "db_id": "course_teach", "orig_query": "select hometown from teacher group by hometown having count(*) >= 2", "schema_with_content": "course : course_id (4, 9, 3), staring_date (\"14 May\", \"7 May\", \"17 May\"), course (\"Music\", \"Health\", \"Health\") | teacher : origin (\"Blackrod Urban District\", \"Horwich Urban District\", \"Horwich Urban District\"), name (\"Vicente Carretero\", \"Vicente Carretero\", \"Joseph Huts\"), birthplace (\"Blackrod Urban District\", \"Horwich Urban District\", \"Horwich Urban District\"), age (\"39\", \"33\", \"32\"), teacher_id (6, 6, 5) | course_arrange : grade (4, 1, 3), course_id (3, 3, 5), teacher_id (3, 3, 3)", "schema_without_content": "course : course_id , staring_date , course | teacher : origin , name , birthplace , age , teacher_id | course_arrange : grade , course_id , teacher_id", "extra_map": { "teacher": { "hometown": [ "birthplace", "origin" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "name", "age", "birthplace", "origin" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "hometowns": "teacher.Hometown", "teachers": "teacher" } }, { "question": "what are the #towns# from which at least two #teachers# come from?", "db_id": "course_teach", "orig_query": "select hometown from teacher group by hometown having count(*) >= 2", "schema_with_content": "course : staring_date (\"11 May\", \"14 May\", \"14 May\"), course_id (6, 9, 7), course (\"Sports\", \"Music\", \"Math\") | teacher : age (\"41\", \"45\", \"45\"), origin (\"Horwich Urban District\", \"Horwich Urban District\", \"Bolton County Borough\"), birthplace (\"Horwich Urban District\", \"Horwich Urban District\", \"Bolton County Borough\"), name (\"Vicente Carretero\", \"Anne Walker\", \"Vicente Carretero\"), teacher_id (2, 1, 7) | course_arrange : teacher_id (7, 3, 3), course_id (2, 5, 2), grade (4, 4, 4)", "schema_without_content": "course : staring_date , course_id , course | teacher : age , origin , birthplace , name , teacher_id | course_arrange : teacher_id , course_id , grade", "extra_map": { "teacher": { "hometown": [ "birthplace", "origin" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "name", "age", "birthplace", "origin" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "towns": "teacher.Hometown", "teachers": "teacher" } }, { "question": "show #names of teachers# and the #courses# they are arranged to teach.", "db_id": "course_teach", "orig_query": "select t3.name, t2.course from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id", "schema_with_content": "course : staring_date (\"11 May\", \"14 May\", \"17 May\"), course_id (7, 3, 2), course (\"History\", \"Language Arts\", \"French\") | teacher : hometown (\"Little Lever Urban District\", \"Bolton County Borough\", \"Little Lever Urban District\"), title (\"Lucy Wong\", \"Vicente Carretero\", \"Gustaaf Deloor\"), age (\"29\", \"32\", \"41\"), full_name (\"Lucy Wong\", \"Vicente Carretero\", \"Gustaaf Deloor\"), teacher_id (7, 1, 4) | course_arrange : teacher_id (7, 5, 6), course_id (5, 4, 5), grade (4, 1, 4)", "schema_without_content": "course : staring_date , course_id , course | teacher : hometown , title , age , full_name , teacher_id | course_arrange : teacher_id , course_id , grade", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of teachers": "teacher.Name", "courses": "course.Course" } }, { "question": "show #names of teachers# and the #courses# they are arranged to teach.", "db_id": "course_teach", "orig_query": "select t3.name, t2.course from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id", "schema_with_content": "course : subject (\"Sports\", \"Music\", \"Health\"), staring_date (\"5 May\", \"10 May\", \"10 May\"), course_id (4, 7, 2), topic (\"Sports\", \"Music\", \"Health\") | teacher : age (\"33\", \"45\", \"33\"), hometown (\"Bolton County Borough\", \"Kearsley Urban District\", \"Farnworth Municipal Borough\"), name (\"Vicente Carretero\", \"Gustaaf Deloor\", \"Joseph Huts\"), teacher_id (3, 3, 6) | course_arrange : course_id (10, 10, 2), teacher_id (3, 5, 6), grade (1, 5, 7)", "schema_without_content": "course : subject , staring_date , course_id , topic | teacher : age , hometown , name , teacher_id | course_arrange : course_id , teacher_id , grade", "extra_map": { "course": { "course": [ "topic", "subject" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "topic", "subject" ], "teacher": [ "teacher_id", "name", "age", "hometown" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of teachers": "teacher.Name", "courses": "course.Course" } }, { "question": "what is the #name of each teacher# and what #course# they teach?", "db_id": "course_teach", "orig_query": "select t3.name, t2.course from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id", "schema_with_content": "course : course (\"Bible\", \"History\", \"Science\"), staring_date (\"15 May\", \"5 May\", \"9 May\"), course_id (8, 9, 7) | teacher : age (\"45\", \"45\", \"33\"), teacher_id (5, 7, 4), title (\"Vicente Carretero\", \"John Deloor\", \"Vicente Carretero\"), full_name (\"Vicente Carretero\", \"John Deloor\", \"Vicente Carretero\"), hometown (\"Blackrod Urban District\", \"Horwich Urban District\", \"Little Lever Urban District\") | course_arrange : teacher_id (3, 3, 3), course_id (10, 3, 3), grade (1, 4, 5)", "schema_without_content": "course : course , staring_date , course_id | teacher : age , teacher_id , title , full_name , hometown | course_arrange : teacher_id , course_id , grade", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "name of each teacher": "teacher.Name", "course": "course.Course" } }, { "question": "what is the #name of each teacher# and what #course# they teach?", "db_id": "course_teach", "orig_query": "select t3.name, t2.course from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id", "schema_with_content": "course : course_id (3, 3, 6), subject (\"Science\", \"Geography\", \"French\"), topic (\"Science\", \"Geography\", \"French\"), staring_date (\"11 May\", \"7 May\", \"10 May\") | teacher : name (\"Anne Walker\", \"Kearsley Brown\", \"Gustaaf Deloor\"), age (\"33\", \"41\", \"45\"), hometown (\"Horwich Urban District\", \"Little Lever Urban District\", \"Horwich Urban District\"), teacher_id (5, 5, 6) | course_arrange : course_id (3, 10, 3), teacher_id (5, 6, 2), grade (7, 3, 7)", "schema_without_content": "course : course_id , subject , topic , staring_date | teacher : name , age , hometown , teacher_id | course_arrange : course_id , teacher_id , grade", "extra_map": { "course": { "course": [ "topic", "subject" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "topic", "subject" ], "teacher": [ "teacher_id", "name", "age", "hometown" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "name of each teacher": "teacher.Name", "course": "course.Course" } }, { "question": "show #names of teachers# and the #courses# they are arranged to teach in ascending alphabetical order of the teacher's name.", "db_id": "course_teach", "orig_query": "select t3.name, t2.course from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id order by t3.name", "schema_with_content": "course : staring_date (\"9 May\", \"11 May\", \"13 May\"), course_id (6, 8, 6), course (\"History\", \"Health\", \"Science\") | teacher : full_name (\"Anne Walker\", \"Kearsley Brown\", \"Joseph Huts\"), title (\"Anne Walker\", \"Kearsley Brown\", \"Joseph Huts\"), teacher_id (6, 6, 1), hometown (\"Little Lever Urban District\", \"Kearsley Urban District\", \"Blackrod Urban District\"), age (\"32\", \"41\", \"29\") | course_arrange : course_id (10, 2, 3), grade (5, 1, 5), teacher_id (6, 7, 7)", "schema_without_content": "course : staring_date , course_id , course | teacher : full_name , title , teacher_id , hometown , age | course_arrange : course_id , grade , teacher_id", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of teachers": "teacher.Name", "courses": "course.Course" } }, { "question": "show #names of teachers# and the #courses# they are arranged to teach in ascending alphabetical order of the teacher's name.", "db_id": "course_teach", "orig_query": "select t3.name, t2.course from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id order by t3.name", "schema_with_content": "course : course_id (2, 4, 10), subject (\"Sports\", \"Language Arts\", \"Music\"), topic (\"Sports\", \"Language Arts\", \"Music\"), staring_date (\"14 May\", \"11 May\", \"7 May\") | teacher : teacher_id (5, 7, 5), age (\"32\", \"29\", \"32\"), name (\"John Deloor\", \"Joseph Huts\", \"Anne Walker\"), hometown (\"Turton Urban District\", \"Little Lever Urban District\", \"Blackrod Urban District\") | course_arrange : teacher_id (2, 5, 7), course_id (2, 10, 5), grade (3, 3, 5)", "schema_without_content": "course : course_id , subject , topic , staring_date | teacher : teacher_id , age , name , hometown | course_arrange : teacher_id , course_id , grade", "extra_map": { "course": { "course": [ "topic", "subject" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "topic", "subject" ], "teacher": [ "teacher_id", "name", "age", "hometown" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of teachers": "teacher.Name", "courses": "course.Course" } }, { "question": "what are the #names of the teachers# and the #courses# they teach in ascending alphabetical order by the name of the teacher?", "db_id": "course_teach", "orig_query": "select t3.name, t2.course from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id order by t3.name", "schema_with_content": "course : course_id (1, 3, 5), course (\"Health\", \"French\", \"Language Arts\"), staring_date (\"10 May\", \"11 May\", \"9 May\") | teacher : teacher_id (5, 7, 1), title (\"John Deloor\", \"Kearsley Brown\", \"Anne Walker\"), full_name (\"John Deloor\", \"Kearsley Brown\", \"Anne Walker\"), hometown (\"Kearsley Urban District\", \"Horwich Urban District\", \"Blackrod Urban District\"), age (\"29\", \"26\", \"32\") | course_arrange : course_id (5, 10, 10), grade (5, 3, 7), teacher_id (3, 2, 6)", "schema_without_content": "course : course_id , course , staring_date | teacher : teacher_id , title , full_name , hometown , age | course_arrange : course_id , grade , teacher_id", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of the teachers": "teacher.Name", "courses": "course.Course" } }, { "question": "what are the #names of the teachers# and the #courses# they teach in ascending alphabetical order by the name of the teacher?", "db_id": "course_teach", "orig_query": "select t3.name, t2.course from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id order by t3.name", "schema_with_content": "course : staring_date (\"7 May\", \"9 May\", \"17 May\"), course_id (3, 5, 8), topic (\"Bible\", \"Science\", \"Sports\"), subject (\"Bible\", \"Science\", \"Sports\") | teacher : age (\"32\", \"41\", \"26\"), name (\"Vicente Carretero\", \"Kearsley Brown\", \"Anne Walker\"), hometown (\"Turton Urban District\", \"Kearsley Urban District\", \"Blackrod Urban District\"), teacher_id (4, 1, 1) | course_arrange : course_id (3, 4, 3), teacher_id (7, 7, 2), grade (3, 1, 1)", "schema_without_content": "course : staring_date , course_id , topic , subject | teacher : age , name , hometown , teacher_id | course_arrange : course_id , teacher_id , grade", "extra_map": { "course": { "course": [ "topic", "subject" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "topic", "subject" ], "teacher": [ "teacher_id", "name", "age", "hometown" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of the teachers": "teacher.Name", "courses": "course.Course" } }, { "question": "show the #name of the teacher for the math course# .", "db_id": "course_teach", "orig_query": "select t3.name from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id where t2.course = \"Math\"", "schema_with_content": "course : staring_date (\"17 May\", \"15 May\", \"15 May\"), course (\"Language Arts\", \"Language Arts\", \"Health\"), course_id (9, 4, 4) | teacher : title (\"Gustaaf Deloor\", \"Lucy Wong\", \"Gustaaf Deloor\"), hometown (\"Kearsley Urban District\", \"Horwich Urban District\", \"Farnworth Municipal Borough\"), teacher_id (2, 3, 1), full_name (\"Gustaaf Deloor\", \"Lucy Wong\", \"Gustaaf Deloor\"), age (\"45\", \"33\", \"26\") | course_arrange : course_id (2, 2, 5), grade (5, 4, 3), teacher_id (6, 5, 3)", "schema_without_content": "course : staring_date , course , course_id | teacher : title , hometown , teacher_id , full_name , age | course_arrange : course_id , grade , teacher_id", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "name of the teacher for the math course": "teacher.Name" } }, { "question": "what are the #names# of the people who #teach math courses# ?", "db_id": "course_teach", "orig_query": "select t3.name from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id where t2.course = \"Math\"", "schema_with_content": "course : course_id (8, 8, 5), staring_date (\"6 May\", \"9 May\", \"5 May\"), course (\"Health\", \"Language Arts\", \"French\") | teacher : hometown (\"Little Lever Urban District\", \"Turton Urban District\", \"Farnworth Municipal Borough\"), full_name (\"Joseph Huts\", \"Gustaaf Deloor\", \"Vicente Carretero\"), age (\"29\", \"41\", \"29\"), teacher_id (1, 3, 3), title (\"Joseph Huts\", \"Gustaaf Deloor\", \"Vicente Carretero\") | course_arrange : grade (3, 5, 5), teacher_id (5, 2, 7), course_id (2, 4, 2)", "schema_without_content": "course : course_id , staring_date , course | teacher : hometown , full_name , age , teacher_id , title | course_arrange : grade , teacher_id , course_id", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names": "teacher.Name", "teach math courses": "teacher" } }, { "question": "show #names of teachers# and the number of #courses# they teach.", "db_id": "course_teach", "orig_query": "select t2.name, count(*) from course_arrange as t1 join teacher as t2 on t1.teacher_id = t2.teacher_id group by t2.name", "schema_with_content": "course : course (\"Health\", \"Science\", \"Geography\"), course_id (10, 8, 10), staring_date (\"5 May\", \"6 May\", \"14 May\") | teacher : age (\"26\", \"41\", \"33\"), title (\"Joseph Huts\", \"Anne Walker\", \"Anne Walker\"), hometown (\"Blackrod Urban District\", \"Farnworth Municipal Borough\", \"Bolton County Borough\"), teacher_id (4, 1, 5), full_name (\"Joseph Huts\", \"Anne Walker\", \"Anne Walker\") | course_arrange : teacher_id (7, 7, 7), course_id (5, 4, 2), grade (1, 4, 4)", "schema_without_content": "course : course , course_id , staring_date | teacher : age , title , hometown , teacher_id , full_name | course_arrange : teacher_id , course_id , grade", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of teachers": "teacher.Name", "courses": "course_arrange.Course_ID" } }, { "question": "what are the #names of the teachers# and how many #courses# do they teach?", "db_id": "course_teach", "orig_query": "select t2.name, count(*) from course_arrange as t1 join teacher as t2 on t1.teacher_id = t2.teacher_id group by t2.name", "schema_with_content": "course : course (\"Science\", \"Music\", \"Health\"), course_id (5, 5, 8), staring_date (\"10 May\", \"7 May\", \"15 May\") | teacher : full_name (\"Lucy Wong\", \"Lucy Wong\", \"Lucy Wong\"), hometown (\"Farnworth Municipal Borough\", \"Blackrod Urban District\", \"Kearsley Urban District\"), title (\"Lucy Wong\", \"Lucy Wong\", \"Lucy Wong\"), age (\"39\", \"39\", \"39\"), teacher_id (1, 2, 7) | course_arrange : grade (4, 5, 7), teacher_id (5, 5, 6), course_id (10, 3, 4)", "schema_without_content": "course : course , course_id , staring_date | teacher : full_name , hometown , title , age , teacher_id | course_arrange : grade , teacher_id , course_id", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of the teachers": "teacher.Name", "courses": "course_arrange.Course_ID" } }, { "question": "show #names of teachers# that teach at least two #courses# .", "db_id": "course_teach", "orig_query": "select t2.name from course_arrange as t1 join teacher as t2 on t1.teacher_id = t2.teacher_id group by t2.name having count(*) >= 2", "schema_with_content": "course : course_id (7, 3, 6), course (\"Health\", \"Sports\", \"History\"), staring_date (\"10 May\", \"17 May\", \"13 May\") | teacher : title (\"Lucy Wong\", \"Gustaaf Deloor\", \"Joseph Huts\"), hometown (\"Kearsley Urban District\", \"Kearsley Urban District\", \"Turton Urban District\"), full_name (\"Lucy Wong\", \"Gustaaf Deloor\", \"Joseph Huts\"), age (\"32\", \"32\", \"32\"), teacher_id (7, 3, 2) | course_arrange : course_id (5, 5, 10), grade (1, 3, 1), teacher_id (7, 6, 6)", "schema_without_content": "course : course_id , course , staring_date | teacher : title , hometown , full_name , age , teacher_id | course_arrange : course_id , grade , teacher_id", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of teachers": "teacher.Name", "courses": "course" } }, { "question": "what are the #names of the teachers# who teach at least two courses?", "db_id": "course_teach", "orig_query": "select t2.name from course_arrange as t1 join teacher as t2 on t1.teacher_id = t2.teacher_id group by t2.name having count(*) >= 2", "schema_with_content": "course : course_id (8, 10, 8), course (\"French\", \"Geography\", \"History\"), staring_date (\"17 May\", \"14 May\", \"13 May\") | teacher : hometown (\"Blackrod Urban District\", \"Little Lever Urban District\", \"Horwich Urban District\"), full_name (\"Vicente Carretero\", \"John Deloor\", \"Lucy Wong\"), age (\"29\", \"32\", \"33\"), teacher_id (4, 3, 7), title (\"Vicente Carretero\", \"John Deloor\", \"Lucy Wong\") | course_arrange : course_id (2, 2, 5), grade (7, 4, 3), teacher_id (7, 7, 3)", "schema_without_content": "course : course_id , course , staring_date | teacher : hometown , full_name , age , teacher_id , title | course_arrange : course_id , grade , teacher_id", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of the teachers": "teacher.Name" } }, { "question": "list the #names of teachers# who have not been arranged to teach #courses# .", "db_id": "course_teach", "orig_query": "select name from teacher where teacher_id not in (select teacher_id from course_arrange)", "schema_with_content": "course : course (\"Language Arts\", \"French\", \"Sports\"), staring_date (\"9 May\", \"7 May\", \"13 May\"), course_id (10, 9, 3) | teacher : full_name (\"Vicente Carretero\", \"John Deloor\", \"Vicente Carretero\"), hometown (\"Kearsley Urban District\", \"Kearsley Urban District\", \"Kearsley Urban District\"), age (\"32\", \"29\", \"39\"), title (\"Vicente Carretero\", \"John Deloor\", \"Vicente Carretero\"), teacher_id (2, 6, 5) | course_arrange : course_id (10, 2, 2), grade (5, 5, 1), teacher_id (7, 6, 2)", "schema_without_content": "course : course , staring_date , course_id | teacher : full_name , hometown , age , title , teacher_id | course_arrange : course_id , grade , teacher_id", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of teachers": "teacher.Name", "courses": "course_arrange" } }, { "question": "what are the #names of the teachers# whose #courses# have not been #arranged# ?", "db_id": "course_teach", "orig_query": "select name from teacher where teacher_id not in (select teacher_id from course_arrange)", "schema_with_content": "course : course_id (5, 3, 5), course (\"Bible\", \"Math\", \"Music\"), staring_date (\"5 May\", \"9 May\", \"9 May\") | teacher : full_name (\"Vicente Carretero\", \"John Deloor\", \"Joseph Huts\"), teacher_id (1, 6, 2), hometown (\"Little Lever Urban District\", \"Farnworth Municipal Borough\", \"Turton Urban District\"), title (\"Vicente Carretero\", \"John Deloor\", \"Joseph Huts\"), age (\"26\", \"33\", \"45\") | course_arrange : course_id (10, 3, 4), grade (1, 4, 4), teacher_id (7, 7, 5)", "schema_without_content": "course : course_id , course , staring_date | teacher : full_name , teacher_id , hometown , title , age | course_arrange : course_id , grade , teacher_id", "extra_map": { "teacher": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "course": [ "course_id", "staring_date", "course" ], "teacher": [ "teacher_id", "age", "hometown", "full_name", "title" ], "course_arrange": [ "course_id", "teacher_id", "grade" ] }, "column_linking_gt": { "names of the teachers": "teacher.Name", "courses": "course", "arranged": "course_arrange" } }, { "question": "find the #names of the visitors# whose #membership level# is higher than 4, and order the results by the level from high to low.", "db_id": "museum_visit", "orig_query": "select name from visitor where level_of_membership > 4 order by level_of_membership desc", "schema_with_content": "museum : open_year (\"2012\", \"2010\", \"2010\"), num_of_staff (12, 16, 18), name (\"RiverPark Museum\", \"Central City District Residential Museum\", \"Willow Grande Museum\"), museum_id (4, 3, 3) | visitor : age (35, 28, 28), id (5, 1, 3), visitor_name (\"Fernando Gago\", \"Fernando Gago\", \"Guti Midfielder\"), level_of_membership (5, 5, 8), full_name (\"Fernando Gago\", \"Fernando Gago\", \"Guti Midfielder\") | visit : visitor_id (\"5\", \"3\", \"6\"), num_of_ticket (2, 2, 3), total_spent (209.98, 20.44, 19.98), museum_id (4, 1, 4)", "schema_without_content": "museum : open_year , num_of_staff , name , museum_id | visitor : age , id , visitor_name , level_of_membership , full_name | visit : visitor_id , num_of_ticket , total_spent , museum_id", "extra_map": { "visitor": { "name": [ "visitor_name", "full_name" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "level_of_membership", "age", "visitor_name", "full_name" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "names of the visitors": "visitor.Name", "membership level": "visitor.Level_of_membership" } }, { "question": "what is the #average age of the visitors# whose #membership level# is not higher than 4?", "db_id": "museum_visit", "orig_query": "select avg(age) from visitor where level_of_membership <= 4", "schema_with_content": "museum : name (\"RiverPark Museum\", \"Willow Grande Museum\", \"Plaza Museum\"), museum_id (4, 5, 8), num_of_staff (62, 62, 18), open_year (\"2010\", \"2000\", \"2011\") | visitor : level_of_membership (8, 1, 8), id (6, 5, 5), visitor_age (36, 36, 36), name (\"Guti Midfielder\", \"Fernando Gago\", \"Fernando Gago\"), years_old (36, 36, 36) | visit : visitor_id (\"5\", \"3\", \"6\"), total_spent (89.98, 89.98, 19.98), num_of_ticket (3, 4, 4), museum_id (4, 2, 2)", "schema_without_content": "museum : name , museum_id , num_of_staff , open_year | visitor : level_of_membership , id , visitor_age , name , years_old | visit : visitor_id , total_spent , num_of_ticket , museum_id", "extra_map": { "visitor": { "age": [ "visitor_age", "years_old" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "name", "level_of_membership", "visitor_age", "years_old" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "average age of the visitors": "visitor.Age", "membership level": "visitor.Level_of_membership" } }, { "question": "find the #name# and #membership level# of the visitors whose membership level is higher than 4, and sort by their #age# from old to young.", "db_id": "museum_visit", "orig_query": "select name, level_of_membership from visitor where level_of_membership > 4 order by age desc", "schema_with_content": "museum : museum_id (1, 5, 3), name (\"Plaza Museum\", \"ZirMed Gateway Museum\", \"Place Tower Museum\"), open_year (\"2012\", \"2000\", \"2008\"), num_of_staff (17, 62, 25) | visitor : full_name (\"Ra\u00c3\u00bal Brown\", \"Gonzalo Higua\u00c3\u00adn \", \"Ra\u00c3\u00bal Brown\"), visitor_name (\"Ra\u00c3\u00bal Brown\", \"Gonzalo Higua\u00c3\u00adn \", \"Ra\u00c3\u00bal Brown\"), level_of_membership (5, 2, 6), age (27, 35, 36), id (2, 6, 4) | visit : total_spent (320.14, 19.98, 89.98), num_of_ticket (3, 4, 2), museum_id (8, 8, 2), visitor_id (\"5\", \"3\", \"6\")", "schema_without_content": "museum : museum_id , name , open_year , num_of_staff | visitor : full_name , visitor_name , level_of_membership , age , id | visit : total_spent , num_of_ticket , museum_id , visitor_id", "extra_map": { "visitor": { "name": [ "visitor_name", "full_name" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "level_of_membership", "age", "visitor_name", "full_name" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "name": "visitor.Name", "membership level": "visitor.Level_of_membership", "age": "visitor.Age" } }, { "question": "find the #name# and #membership level# of the visitors whose membership level is higher than 4, and sort by their #age# from old to young.", "db_id": "museum_visit", "orig_query": "select name, level_of_membership from visitor where level_of_membership > 4 order by age desc", "schema_with_content": "museum : museum_id (3, 1, 8), open_year (\"2000\", \"2000\", \"2010\"), name (\"RiverPark Museum\", \"Capital Plaza Museum\", \"ZirMed Gateway Museum\"), num_of_staff (18, 25, 17) | visitor : id (1, 4, 3), membership_level (2, 1, 6), age (28, 56, 35), subscription_level (2, 1, 6), name (\"Ra\u00c3\u00bal Brown\", \"Fernando Gago\", \"Ra\u00c3\u00bal Brown\") | visit : visitor_id (\"5\", \"3\", \"6\"), museum_id (4, 4, 1), total_spent (209.98, 19.98, 320.44), num_of_ticket (3, 3, 4)", "schema_without_content": "museum : museum_id , open_year , name , num_of_staff | visitor : id , membership_level , age , subscription_level , name | visit : visitor_id , museum_id , total_spent , num_of_ticket", "extra_map": { "visitor": { "level_of_membership": [ "membership_level", "subscription_level" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "name", "age", "membership_level", "subscription_level" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "name": "visitor.Name", "membership level": "visitor.Level_of_membership", "age": "visitor.Age" } }, { "question": "find the #id# and #name of the museum# that has the #most staff members# ?", "db_id": "museum_visit", "orig_query": "select museum_id, name from museum order by num_of_staff desc limit 1", "schema_with_content": "museum : gallery_id (7, 1, 7), open_year (\"2000\", \"2012\", \"2008\"), num_of_staff (25, 17, 16), name (\"Central City District Residential Museum\", \"RiverPark Museum\", \"Central City District Residential Museum\"), museum_number (7, 1, 7) | visitor : id (3, 6, 6), age (27, 25, 36), name (\"Fernando Gago\", \"Rafael van der Vaart\", \"Guti Midfielder\"), level_of_membership (8, 1, 5) | visit : num_of_ticket (24, 20, 10), visitor_id (\"5\", \"3\", \"6\"), museum_id (2, 8, 1), total_spent (209.98, 89.98, 320.44)", "schema_without_content": "museum : gallery_id , open_year , num_of_staff , name , museum_number | visitor : id , age , name , level_of_membership | visit : num_of_ticket , visitor_id , museum_id , total_spent", "extra_map": { "museum": { "museum_id": [ "museum_number", "gallery_id" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "name", "num_of_staff", "open_year", "museum_number", "gallery_id" ], "visitor": [ "id", "name", "level_of_membership", "age" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "id": "museum.Museum_ID", "name of the museum": "museum.Name", "most staff members": "museum.Num_of_Staff" } }, { "question": "find the #id# and #name of the museum# that has the #most staff members# ?", "db_id": "museum_visit", "orig_query": "select museum_id, name from museum order by num_of_staff desc limit 1", "schema_with_content": "museum : title (\"RiverPark Museum\", \"Jefferson Development Museum\", \"Willow Grande Museum\"), designation (\"RiverPark Museum\", \"Jefferson Development Museum\", \"Willow Grande Museum\"), num_of_staff (62, 25, 18), open_year (\"2010\", \"2008\", \"2008\"), museum_id (1, 2, 4) | visitor : id (4, 3, 4), name (\"Arjen Robben\", \"Arjen Robben\", \"Ra\u00c3\u00bal Brown\"), age (36, 28, 27), level_of_membership (1, 8, 6) | visit : visitor_id (\"5\", \"3\", \"6\"), museum_id (8, 8, 8), total_spent (320.44, 19.98, 89.98), num_of_ticket (4, 24, 24)", "schema_without_content": "museum : title , designation , num_of_staff , open_year , museum_id | visitor : id , name , age , level_of_membership | visit : visitor_id , museum_id , total_spent , num_of_ticket", "extra_map": { "museum": { "name": [ "title", "designation" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "num_of_staff", "open_year", "title", "designation" ], "visitor": [ "id", "name", "level_of_membership", "age" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "id": "museum.Museum_ID", "name of the museum": "museum.Name", "most staff members": "museum.Num_of_Staff" } }, { "question": "find the #average number of staff# working for the #museums# that were #open before 2009# .", "db_id": "museum_visit", "orig_query": "select avg(num_of_staff) from museum where open_year < 2009", "schema_with_content": "museum : staff_size (17, 17, 15), employee_count (17, 17, 15), museum_id (6, 1, 5), open_year (\"2011\", \"2010\", \"2009\"), name (\"Plaza Museum\", \"Plaza Museum\", \"Plaza Museum\") | visitor : level_of_membership (5, 8, 8), age (35, 36, 36), name (\"Arjen Robben\", \"Gonzalo Higua\u00c3\u00adn \", \"Ra\u00c3\u00bal Brown\"), id (4, 6, 3) | visit : num_of_ticket (2, 10, 20), visitor_id (\"5\", \"3\", \"6\"), museum_id (2, 2, 1), total_spent (20.44, 20.44, 320.14)", "schema_without_content": "museum : staff_size , employee_count , museum_id , open_year , name | visitor : level_of_membership , age , name , id | visit : num_of_ticket , visitor_id , museum_id , total_spent", "extra_map": { "museum": { "num_of_staff": [ "employee_count", "staff_size" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "open_year", "employee_count", "staff_size" ], "visitor": [ "id", "name", "level_of_membership", "age" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "average number of staff": "museum.Num_of_Staff", "museums": "museum", "open before 2009": "museum.Open_Year" } }, { "question": "what are the #opening year# and #staff number of the museum named plaza museum# ?", "db_id": "museum_visit", "orig_query": "select num_of_staff, open_year from museum where name = 'Plaza Museum'", "schema_with_content": "museum : museum_id (4, 7, 8), foundation_year (\"2000\", \"2000\", \"2000\"), num_of_staff (25, 16, 25), name (\"Capital Plaza Museum\", \"RiverPark Museum\", \"Plaza Museum\"), establishment_year (\"2000\", \"2000\", \"2000\") | visitor : age (25, 28, 28), name (\"Guti Midfielder\", \"Ra\u00c3\u00bal Brown\", \"Ra\u00c3\u00bal Brown\"), id (6, 5, 6), level_of_membership (6, 1, 8) | visit : visitor_id (\"5\", \"3\", \"6\"), museum_id (8, 1, 1), num_of_ticket (24, 2, 24), total_spent (209.98, 20.44, 209.98)", "schema_without_content": "museum : museum_id , foundation_year , num_of_staff , name , establishment_year | visitor : age , name , id , level_of_membership | visit : visitor_id , museum_id , num_of_ticket , total_spent", "extra_map": { "museum": { "open_year": [ "establishment_year", "foundation_year" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "establishment_year", "foundation_year" ], "visitor": [ "id", "name", "level_of_membership", "age" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "opening year": "museum.Open_Year", "staff number of the museum named Plaza Museum": "museum.Num_of_Staff" } }, { "question": "what are the #opening year# and #staff number of the museum named plaza museum# ?", "db_id": "museum_visit", "orig_query": "select num_of_staff, open_year from museum where name = 'Plaza Museum'", "schema_with_content": "museum : open_year (\"2012\", \"2009\", \"2012\"), name (\"Place Tower Museum\", \"ZirMed Gateway Museum\", \"Willow Grande Museum\"), staff_size (16, 15, 16), museum_id (8, 1, 7), employee_count (16, 15, 16) | visitor : id (6, 6, 1), level_of_membership (1, 6, 2), age (56, 28, 27), name (\"Arjen Robben\", \"Ra\u00c3\u00bal Brown\", \"Arjen Robben\") | visit : total_spent (19.98, 20.44, 209.98), museum_id (1, 4, 2), num_of_ticket (20, 24, 3), visitor_id (\"5\", \"3\", \"6\")", "schema_without_content": "museum : open_year , name , staff_size , museum_id , employee_count | visitor : id , level_of_membership , age , name | visit : total_spent , museum_id , num_of_ticket , visitor_id", "extra_map": { "museum": { "num_of_staff": [ "employee_count", "staff_size" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "open_year", "employee_count", "staff_size" ], "visitor": [ "id", "name", "level_of_membership", "age" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "opening year": "museum.Open_Year", "staff number of the museum named Plaza Museum": "museum.Num_of_Staff" } }, { "question": "find the #names# of museums which have #more staff# than the #minimum staff number of all museums opened after 2010# .", "db_id": "museum_visit", "orig_query": "select name from museum where num_of_staff > (select min(num_of_staff) from museum where open_year > 2010)", "schema_with_content": "museum : museum_id (8, 1, 4), designation (\"ZirMed Gateway Museum\", \"RiverPark Museum\", \"Plaza Museum\"), title (\"ZirMed Gateway Museum\", \"RiverPark Museum\", \"Plaza Museum\"), open_year (\"2000\", \"2011\", \"2012\"), num_of_staff (16, 16, 25) | visitor : age (35, 25, 25), name (\"Arjen Robben\", \"Gonzalo Higua\u00c3\u00adn \", \"Rafael van der Vaart\"), level_of_membership (5, 6, 1), id (2, 2, 2) | visit : total_spent (89.98, 320.44, 320.14), num_of_ticket (3, 24, 2), museum_id (8, 1, 1), visitor_id (\"5\", \"3\", \"6\")", "schema_without_content": "museum : museum_id , designation , title , open_year , num_of_staff | visitor : age , name , level_of_membership , id | visit : total_spent , num_of_ticket , museum_id , visitor_id", "extra_map": { "museum": { "name": [ "title", "designation" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "num_of_staff", "open_year", "title", "designation" ], "visitor": [ "id", "name", "level_of_membership", "age" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "names": "museum.Name", "more staff": "museum.Num_of_Staff", "minimum staff number of all museums opened after 2010": "museum.Num_of_Staff" } }, { "question": "find the #id# , #name# and a #ge for visitors# who visited some #museums# more than once.", "db_id": "museum_visit", "orig_query": "select t1.id, t1.name, t1.age from visitor as t1 join visit as t2 on t1.id = t2.visitor_id group by t1.id having count(*) > 1", "schema_with_content": "museum : museum_id (1, 3, 3), open_year (\"2009\", \"2009\", \"2011\"), num_of_staff (18, 18, 16), name (\"RiverPark Museum\", \"Jefferson Development Museum\", \"Capital Plaza Museum\") | visitor : identifier (2, 2, 4), name (\"Fernando Gago\", \"Gonzalo Higua\u00c3\u00adn \", \"Gonzalo Higua\u00c3\u00adn \"), age (36, 27, 28), level_of_membership (5, 5, 6), unique_id (2, 2, 4) | visit : num_of_ticket (2, 2, 24), visitor_id (\"5\", \"3\", \"6\"), museum_id (1, 8, 1), total_spent (19.98, 320.44, 320.14)", "schema_without_content": "museum : museum_id , open_year , num_of_staff , name | visitor : identifier , name , age , level_of_membership , unique_id | visit : num_of_ticket , visitor_id , museum_id , total_spent", "extra_map": { "visitor": { "id": [ "unique_id", "identifier" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "name", "level_of_membership", "age", "unique_id", "identifier" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "id": "visitor.ID", "name": "visitor.Name", "ge for visitors": "visitor", "museums": "museum", "age": "visitor.Age" } }, { "question": "find the #id# , #name# and a #ge for visitors# who visited some #museums# more than once.", "db_id": "museum_visit", "orig_query": "select t1.id, t1.name, t1.age from visitor as t1 join visit as t2 on t1.id = t2.visitor_id group by t1.id having count(*) > 1", "schema_with_content": "museum : museum_id (7, 1, 2), num_of_staff (62, 25, 12), name (\"Capital Plaza Museum\", \"Central City District Residential Museum\", \"Central City District Residential Museum\"), open_year (\"2008\", \"2012\", \"2000\") | visitor : id (3, 1, 2), years_old (56, 36, 27), level_of_membership (1, 5, 5), visitor_age (56, 36, 27), name (\"Guti Midfielder\", \"Gonzalo Higua\u00c3\u00adn \", \"Guti Midfielder\") | visit : visitor_id (\"5\", \"3\", \"6\"), total_spent (209.98, 20.44, 320.44), num_of_ticket (24, 20, 2), museum_id (1, 2, 4)", "schema_without_content": "museum : museum_id , num_of_staff , name , open_year | visitor : id , years_old , level_of_membership , visitor_age , name | visit : visitor_id , total_spent , num_of_ticket , museum_id", "extra_map": { "visitor": { "age": [ "visitor_age", "years_old" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "name", "level_of_membership", "visitor_age", "years_old" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "id": "visitor.ID", "name": "visitor.Name", "ge for visitors": "visitor", "museums": "museum", "age": "visitor.Age" } }, { "question": "find the #id# , #name# and a #ge for visitors# who visited some #museums# more than once.", "db_id": "museum_visit", "orig_query": "select t1.id, t1.name, t1.age from visitor as t1 join visit as t2 on t1.id = t2.visitor_id group by t1.id having count(*) > 1", "schema_with_content": "museum : open_year (\"2008\", \"2009\", \"2008\"), museum_id (2, 7, 8), name (\"ZirMed Gateway Museum\", \"Jefferson Development Museum\", \"Capital Plaza Museum\"), num_of_staff (62, 18, 62) | visitor : id (1, 4, 5), visitor_name (\"Guti Midfielder\", \"Rafael van der Vaart\", \"Gonzalo Higua\u00c3\u00adn \"), level_of_membership (1, 2, 6), age (56, 56, 35), full_name (\"Guti Midfielder\", \"Rafael van der Vaart\", \"Gonzalo Higua\u00c3\u00adn \") | visit : total_spent (89.98, 320.14, 320.44), num_of_ticket (3, 4, 4), visitor_id (\"5\", \"3\", \"6\"), museum_id (1, 2, 4)", "schema_without_content": "museum : open_year , museum_id , name , num_of_staff | visitor : id , visitor_name , level_of_membership , age , full_name | visit : total_spent , num_of_ticket , visitor_id , museum_id", "extra_map": { "visitor": { "name": [ "visitor_name", "full_name" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "level_of_membership", "age", "visitor_name", "full_name" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "id": "visitor.ID", "name": "visitor.Name", "ge for visitors": "visitor", "museums": "museum", "age": "visitor.Age" } }, { "question": "what are the #id# , #name# and m #embership level of visitors# who have #spent# the largest amount of money in total in all #museum tickets# ?", "db_id": "museum_visit", "orig_query": "select t2.visitor_id, t1.name, t1.level_of_membership from visitor as t1 join visit as t2 on t1.id = t2.visitor_id group by t2.visitor_id order by sum(t2.total_spent) desc limit 1", "schema_with_content": "museum : open_year (\"2009\", \"2008\", \"2011\"), name (\"ZirMed Gateway Museum\", \"Plaza Museum\", \"ZirMed Gateway Museum\"), num_of_staff (16, 62, 16), museum_id (2, 7, 4) | visitor : id (2, 2, 3), name (\"Gonzalo Higua\u00c3\u00adn \", \"Gonzalo Higua\u00c3\u00adn \", \"Fernando Gago\"), level_of_membership (6, 8, 2), age (25, 36, 56) | visit : museum_id (1, 1, 4), num_of_ticket (3, 3, 10), guest_id (\"5\", \"3\", \"6\"), tourist_id (\"5\", \"3\", \"6\"), total_spent (19.98, 19.98, 20.44)", "schema_without_content": "museum : open_year , name , num_of_staff , museum_id | visitor : id , name , level_of_membership , age | visit : museum_id , num_of_ticket , guest_id , tourist_id , total_spent", "extra_map": { "visit": { "visitor_id": [ "tourist_id", "guest_id" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "name", "level_of_membership", "age" ], "visit": [ "museum_id", "num_of_ticket", "total_spent", "tourist_id", "guest_id" ] }, "column_linking_gt": { "id": "visitor.ID", "name": "visitor.Name", "embership level of visitors": "visitor", "spent": "visit.Total_spent", "museum tickets": "visit", "membership level": "visitor.Level_of_membership" } }, { "question": "what are the #id# , #name# and m #embership level of visitors# who have #spent# the largest amount of money in total in all #museum tickets# ?", "db_id": "museum_visit", "orig_query": "select t2.visitor_id, t1.name, t1.level_of_membership from visitor as t1 join visit as t2 on t1.id = t2.visitor_id group by t2.visitor_id order by sum(t2.total_spent) desc limit 1", "schema_with_content": "museum : name (\"ZirMed Gateway Museum\", \"ZirMed Gateway Museum\", \"Central City District Residential Museum\"), open_year (\"2008\", \"2008\", \"2008\"), museum_id (1, 3, 4), num_of_staff (18, 12, 16) | visitor : name (\"Gonzalo Higua\u00c3\u00adn \", \"Gonzalo Higua\u00c3\u00adn \", \"Rafael van der Vaart\"), subscription_level (6, 8, 2), id (6, 5, 6), membership_level (6, 8, 2), age (28, 28, 56) | visit : total_spent (320.14, 320.14, 89.98), museum_id (2, 8, 4), num_of_ticket (2, 4, 4), visitor_id (\"5\", \"3\", \"6\")", "schema_without_content": "museum : name , open_year , museum_id , num_of_staff | visitor : name , subscription_level , id , membership_level , age | visit : total_spent , museum_id , num_of_ticket , visitor_id", "extra_map": { "visitor": { "level_of_membership": [ "membership_level", "subscription_level" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "name", "age", "membership_level", "subscription_level" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "id": "visitor.ID", "name": "visitor.Name", "embership level of visitors": "visitor", "spent": "visit.Total_spent", "museum tickets": "visit", "membership level": "visitor.Level_of_membership" } }, { "question": "what are the #id# , #name# and m #embership level of visitors# who have #spent# the largest amount of money in total in all #museum tickets# ?", "db_id": "museum_visit", "orig_query": "select t2.visitor_id, t1.name, t1.level_of_membership from visitor as t1 join visit as t2 on t1.id = t2.visitor_id group by t2.visitor_id order by sum(t2.total_spent) desc limit 1", "schema_with_content": "museum : open_year (\"2009\", \"2009\", \"2010\"), museum_id (6, 4, 1), num_of_staff (62, 16, 12), name (\"Jefferson Development Museum\", \"ZirMed Gateway Museum\", \"Central City District Residential Museum\") | visitor : id (1, 4, 2), full_name (\"Fernando Gago\", \"Arjen Robben\", \"Ra\u00c3\u00bal Brown\"), visitor_name (\"Fernando Gago\", \"Arjen Robben\", \"Ra\u00c3\u00bal Brown\"), level_of_membership (6, 8, 2), age (35, 35, 56) | visit : num_of_ticket (10, 3, 10), museum_id (1, 2, 4), visitor_id (\"5\", \"3\", \"6\"), total_spent (209.98, 209.98, 320.14)", "schema_without_content": "museum : open_year , museum_id , num_of_staff , name | visitor : id , full_name , visitor_name , level_of_membership , age | visit : num_of_ticket , museum_id , visitor_id , total_spent", "extra_map": { "visitor": { "name": [ "visitor_name", "full_name" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "level_of_membership", "age", "visitor_name", "full_name" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "id": "visitor.ID", "name": "visitor.Name", "embership level of visitors": "visitor", "spent": "visit.Total_spent", "museum tickets": "visit", "membership level": "visitor.Level_of_membership" } }, { "question": "what are the #id# and #name of the museum# visited most times?", "db_id": "museum_visit", "orig_query": "select t2.museum_id, t1.name from museum as t1 join visit as t2 on t1.museum_id = t2.museum_id group by t2.museum_id order by count(*) desc limit 1", "schema_with_content": "museum : designation (\"Place Tower Museum\", \"RiverPark Museum\", \"ZirMed Gateway Museum\"), open_year (\"2008\", \"2009\", \"2000\"), museum_id (8, 5, 7), num_of_staff (16, 12, 15), title (\"Place Tower Museum\", \"RiverPark Museum\", \"ZirMed Gateway Museum\") | visitor : id (3, 4, 1), age (35, 56, 56), name (\"Rafael van der Vaart\", \"Ra\u00c3\u00bal Brown\", \"Ra\u00c3\u00bal Brown\"), level_of_membership (1, 2, 5) | visit : visitor_id (\"5\", \"3\", \"6\"), total_spent (89.98, 320.14, 20.44), num_of_ticket (10, 3, 4), museum_id (4, 4, 8)", "schema_without_content": "museum : designation , open_year , museum_id , num_of_staff , title | visitor : id , age , name , level_of_membership | visit : visitor_id , total_spent , num_of_ticket , museum_id", "extra_map": { "museum": { "name": [ "title", "designation" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "num_of_staff", "open_year", "title", "designation" ], "visitor": [ "id", "name", "level_of_membership", "age" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "id": "museum.Museum_ID", "name of the museum": "museum.Name" } }, { "question": "what are the #id# and #name of the museum# visited most times?", "db_id": "museum_visit", "orig_query": "select t2.museum_id, t1.name from museum as t1 join visit as t2 on t1.museum_id = t2.museum_id group by t2.museum_id order by count(*) desc limit 1", "schema_with_content": "museum : name (\"Willow Grande Museum\", \"Plaza Museum\", \"Willow Grande Museum\"), museum_id (1, 8, 7), open_year (\"2000\", \"2012\", \"2012\"), num_of_staff (18, 16, 25) | visitor : level_of_membership (1, 6, 8), id (3, 5, 1), age (25, 36, 36), name (\"Gonzalo Higua\u00c3\u00adn \", \"Rafael van der Vaart\", \"Arjen Robben\") | visit : num_of_ticket (4, 20, 3), exhibition_center_id (8, 1, 2), art_gallery_id (8, 1, 2), total_spent (209.98, 19.98, 89.98), visitor_id (\"5\", \"3\", \"6\")", "schema_without_content": "museum : name , museum_id , open_year , num_of_staff | visitor : level_of_membership , id , age , name | visit : num_of_ticket , exhibition_center_id , art_gallery_id , total_spent , visitor_id", "extra_map": { "visit": { "museum_id": [ "exhibition_center_id", "art_gallery_id" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "name", "level_of_membership", "age" ], "visit": [ "visitor_id", "num_of_ticket", "total_spent", "exhibition_center_id", "art_gallery_id" ] }, "column_linking_gt": { "id": "museum.Museum_ID", "name of the museum": "museum.Name" } }, { "question": "what is the #name of the museum# that had no #visitor# yet?", "db_id": "museum_visit", "orig_query": "select name from museum where museum_id not in (select museum_id from visit)", "schema_with_content": "museum : title (\"Plaza Museum\", \"Central City District Residential Museum\", \"RiverPark Museum\"), num_of_staff (16, 62, 62), designation (\"Plaza Museum\", \"Central City District Residential Museum\", \"RiverPark Museum\"), open_year (\"2012\", \"2009\", \"2000\"), museum_id (7, 5, 3) | visitor : age (35, 56, 25), name (\"Guti Midfielder\", \"Gonzalo Higua\u00c3\u00adn \", \"Ra\u00c3\u00bal Brown\"), id (3, 1, 6), level_of_membership (6, 8, 2) | visit : museum_id (2, 2, 1), num_of_ticket (4, 3, 3), visitor_id (\"5\", \"3\", \"6\"), total_spent (320.44, 89.98, 19.98)", "schema_without_content": "museum : title , num_of_staff , designation , open_year , museum_id | visitor : age , name , id , level_of_membership | visit : museum_id , num_of_ticket , visitor_id , total_spent", "extra_map": { "museum": { "name": [ "title", "designation" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "num_of_staff", "open_year", "title", "designation" ], "visitor": [ "id", "name", "level_of_membership", "age" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "name of the museum": "museum.Name", "visitor": "visit.visitor_ID" } }, { "question": "find the #name# and #age of the visitor# who bought the most #tickets# at once.", "db_id": "museum_visit", "orig_query": "select t1.name, t1.age from visitor as t1 join visit as t2 on t1.id = t2.visitor_id order by t2.num_of_ticket desc limit 1", "schema_with_content": "museum : museum_id (2, 5, 7), num_of_staff (18, 15, 17), open_year (\"2012\", \"2012\", \"2011\"), name (\"Central City District Residential Museum\", \"Place Tower Museum\", \"Place Tower Museum\") | visitor : level_of_membership (2, 5, 2), id (3, 2, 5), age (25, 36, 25), full_name (\"Rafael van der Vaart\", \"Ra\u00c3\u00bal Brown\", \"Fernando Gago\"), visitor_name (\"Rafael van der Vaart\", \"Ra\u00c3\u00bal Brown\", \"Fernando Gago\") | visit : total_spent (320.44, 320.44, 320.44), museum_id (4, 2, 4), num_of_ticket (2, 4, 3), visitor_id (\"5\", \"3\", \"6\")", "schema_without_content": "museum : museum_id , num_of_staff , open_year , name | visitor : level_of_membership , id , age , full_name , visitor_name | visit : total_spent , museum_id , num_of_ticket , visitor_id", "extra_map": { "visitor": { "name": [ "visitor_name", "full_name" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "level_of_membership", "age", "visitor_name", "full_name" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "name": "visitor.Name", "age of the visitor": "visitor.Age", "tickets": "visit.Num_of_Ticket" } }, { "question": "find the #name# and #age of the visitor# who bought the most #tickets# at once.", "db_id": "museum_visit", "orig_query": "select t1.name, t1.age from visitor as t1 join visit as t2 on t1.id = t2.visitor_id order by t2.num_of_ticket desc limit 1", "schema_with_content": "museum : num_of_staff (15, 25, 15), museum_id (6, 2, 3), open_year (\"2009\", \"2011\", \"2011\"), name (\"Central City District Residential Museum\", \"Jefferson Development Museum\", \"Place Tower Museum\") | visitor : name (\"Gonzalo Higua\u00c3\u00adn \", \"Rafael van der Vaart\", \"Fernando Gago\"), level_of_membership (8, 1, 2), id (6, 3, 2), years_old (36, 36, 25), visitor_age (36, 36, 25) | visit : museum_id (4, 2, 1), total_spent (320.14, 20.44, 19.98), num_of_ticket (24, 24, 20), visitor_id (\"5\", \"3\", \"6\")", "schema_without_content": "museum : num_of_staff , museum_id , open_year , name | visitor : name , level_of_membership , id , years_old , visitor_age | visit : museum_id , total_spent , num_of_ticket , visitor_id", "extra_map": { "visitor": { "age": [ "visitor_age", "years_old" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "name", "level_of_membership", "visitor_age", "years_old" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "name": "visitor.Name", "age of the visitor": "visitor.Age", "tickets": "visit.Num_of_Ticket" } }, { "question": "what are the #average and maximum number of tickets# bought in all #visits# ?", "db_id": "museum_visit", "orig_query": "select avg(num_of_ticket), max(num_of_ticket) from visit", "schema_with_content": "museum : num_of_staff (12, 18, 12), name (\"Place Tower Museum\", \"Jefferson Development Museum\", \"Place Tower Museum\"), museum_id (6, 6, 2), open_year (\"2008\", \"2000\", \"2000\") | visitor : age (35, 36, 35), id (1, 1, 4), name (\"Gonzalo Higua\u00c3\u00adn \", \"Guti Midfielder\", \"Arjen Robben\"), level_of_membership (5, 6, 1) | visit : total_spent (320.44, 20.44, 89.98), visitor_id (\"5\", \"3\", \"6\"), ticket_count (2, 3, 20), museum_id (1, 1, 2), admission_count (2, 3, 20)", "schema_without_content": "museum : num_of_staff , name , museum_id , open_year | visitor : age , id , name , level_of_membership | visit : total_spent , visitor_id , ticket_count , museum_id , admission_count", "extra_map": { "visit": { "num_of_ticket": [ "ticket_count", "admission_count" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "name", "level_of_membership", "age" ], "visit": [ "museum_id", "visitor_id", "total_spent", "ticket_count", "admission_count" ] }, "column_linking_gt": { "average and maximum number of tickets": "visit.Num_of_Ticket", "visits": "visit" } }, { "question": "what is the #total ticket expense of the visitors# whose #membership level# is 1?", "db_id": "museum_visit", "orig_query": "select sum(t2.total_spent) from visitor as t1 join visit as t2 on t1.id = t2.visitor_id where t1.level_of_membership = 1", "schema_with_content": "museum : num_of_staff (12, 25, 17), name (\"Capital Plaza Museum\", \"Jefferson Development Museum\", \"Place Tower Museum\"), open_year (\"2000\", \"2010\", \"2008\"), museum_id (6, 3, 4) | visitor : age (35, 28, 28), level_of_membership (1, 8, 5), id (2, 2, 4), name (\"Guti Midfielder\", \"Gonzalo Higua\u00c3\u00adn \", \"Rafael van der Vaart\") | visit : total_paid (89.98, 320.44, 20.44), num_of_ticket (2, 10, 2), museum_id (4, 2, 8), visitor_id (\"5\", \"3\", \"6\"), expenditure_total (89.98, 320.44, 20.44)", "schema_without_content": "museum : num_of_staff , name , open_year , museum_id | visitor : age , level_of_membership , id , name | visit : total_paid , num_of_ticket , museum_id , visitor_id , expenditure_total", "extra_map": { "visit": { "total_spent": [ "expenditure_total", "total_paid" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "name", "level_of_membership", "age" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "expenditure_total", "total_paid" ] }, "column_linking_gt": { "total ticket expense of the visitors": "visit.Total_spent", "membership level": "visitor.Level_of_membership" } }, { "question": "what is the #name of the visitor# who visited both a #museum opened before 2009# and a #museum opened after 2011# ?", "db_id": "museum_visit", "orig_query": "select t1.name from visitor as t1 join visit as t2 on t1.id = t2.visitor_id join museum as t3 on t3.museum_id = t2.museum_id where t3.open_year < 2009 intersect select t1.name from visitor as t1 join visit as t2 on t1.id = t2.visitor_id join museum as t3 on t3.museum_id = t2.museum_id where t3.open_year > 2011", "schema_with_content": "museum : num_of_staff (25, 16, 18), open_year (\"2000\", \"2012\", \"2000\"), name (\"Willow Grande Museum\", \"ZirMed Gateway Museum\", \"RiverPark Museum\"), museum_id (3, 2, 1) | visitor : age (36, 28, 56), visitor_name (\"Ra\u00c3\u00bal Brown\", \"Ra\u00c3\u00bal Brown\", \"Arjen Robben\"), level_of_membership (6, 6, 1), id (3, 4, 3), full_name (\"Ra\u00c3\u00bal Brown\", \"Ra\u00c3\u00bal Brown\", \"Arjen Robben\") | visit : total_spent (89.98, 320.14, 19.98), visitor_id (\"5\", \"3\", \"6\"), num_of_ticket (20, 20, 10), museum_id (4, 8, 2)", "schema_without_content": "museum : num_of_staff , open_year , name , museum_id | visitor : age , visitor_name , level_of_membership , id , full_name | visit : total_spent , visitor_id , num_of_ticket , museum_id", "extra_map": { "visitor": { "name": [ "visitor_name", "full_name" ] } }, "extra_table_map": null, "db_schema": { "museum": [ "museum_id", "name", "num_of_staff", "open_year" ], "visitor": [ "id", "level_of_membership", "age", "visitor_name", "full_name" ], "visit": [ "museum_id", "visitor_id", "num_of_ticket", "total_spent" ] }, "column_linking_gt": { "name of the visitor": "visitor.Name", "museum opened before 2009": "museum.Open_Year", "museum opened after 2011": "museum.Open_Year" } }, { "question": "list the #first name# and #birth date of all players# from the country with code usa.", "db_id": "wta_1", "orig_query": "select first_name, birth_date from players where country_code = 'USA'", "schema_with_content": "players : last_name (\"Ilinca\", \"Stastny\", \"Medina\"), birth_date (19821106, 19800428, 19871004), player_id (209220, 205523, 205817), given_name (\"Mirja\", \"Ladina\", \"Marcy\"), forename (\"Mirja\", \"Ladina\", \"Marcy\"), hand (\"L\", \"U\", \"U\"), country_code (\"MKD\", \"SRI\", \"CGO\") | matches : loser_rank (66, 9, 2), tourney_date (20170410, 20160321, 20170501), loser_entry (\"\"), draw_size (64, 128, 8), round (\"R32\", \"SF\", \"SF\"), match_num (293, 264, 221), loser_id (200748, 202428, 201455), loser_name (\"Dominika Cibulkova\", \"Anastasia Pavlyuchenkova\", \"Lucie Safarova\"), score (\"6-4 7-6(4)\", \"7-5 6-4\", \"6-1 4-6 6-1\"), winner_rank_points (3625, 8235, 3120), tourney_name (\"Acapulco\", \"Stanford\", \"Zhuhai\"), winner_hand (\"R\", \"L\"), loser_ioc (\"AUS\", \"USA\", \"ROU\"), tourney_id (\"2017-0806\", \"2016-M035\", \"2017-540\"), winner_name (\"Venus Williams\", \"Coco Vandeweghe\", \"Coco Vandeweghe\"), surface (\"Hard\", \"Clay\", \"Grass\"), loser_rank_points (5330, 1920, 4287), loser_hand (\"R\", \"L\"), best_of (3), winner_age (26.340862423, 23.8494182067, 23.8877481177), loser_ht (180, 185, 178), winner_ioc (\"ESP\", \"UKR\", \"RUS\"), tourney_level (\"P\", \"P\", \"I\"), winner_id (202494, 201593, 201615), year (2013, 2016, 2017), winner_entry (\"\"), loser_age (31.6167008898, 25.440109514, 28.714579055399998), loser_seed (31, 1, 22), winner_seed (11, 2, 9), winner_ht (163, 182, 181), minutes (85, 40, 199), winner_rank (8, 18, 7) | rankings : player_id (202500, 214744, 215180), ranking_date (20080609, 20120109, 20091207), ranking (820, 263, 590), tours (2, 10, 34), ranking_points (307, 7, 11920)", "schema_without_content": "players : last_name , birth_date , player_id , given_name , forename , hand , country_code | matches : loser_rank , tourney_date , loser_entry , draw_size , round , match_num , loser_id , loser_name , score \", \"7-5 6-4\", \"6-1 4-6 6-1\", winner_rank_points , tourney_name , winner_hand , loser_ioc , tourney_id , winner_name , surface , loser_rank_points , loser_hand , best_of , winner_age , loser_ht , winner_ioc , tourney_level , winner_id , year , winner_entry , loser_age , loser_seed , winner_seed , winner_ht , minutes , winner_rank | rankings : player_id , ranking_date , ranking , tours , ranking_points", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "birth date of all players": "players.birth_date", "country code": "players.country_code" } }, { "question": "list the #first name# and #birth date of all players# from the country with code usa.", "db_id": "wta_1", "orig_query": "select first_name, birth_date from players where country_code = 'USA'", "schema_with_content": "players : first_name (\"Kaaviya\", \"Nazh\", \"Syna\"), dob (19630522, 19951022, 19990625), date_of_birth (19630522, 19951022, 19990625), country_code (\"SVK\", \"SVK\", \"GRE\"), hand (\"U\", \"L\", \"U\"), last_name (\"Aufieri\", \"Antohi\", \"Morris Berg\"), player_id (209395, 219861, 217328) | matches : tourney_level (\"I\", \"G\", \"G\"), winner_id (201520, 201496, 200748), surface (\"Hard\", \"Clay\", \"Grass\"), tourney_name (\"'S-Hertogenbosch\", \"s-Hertogenbosch\", \"Indian Wells\"), draw_size (32, 64, 8), loser_rank (56, 3, 5), winner_seed (22, 18, 4), winner_hand (\"R\", \"L\"), winner_rank_points (1749, 3300, 3225), loser_name (\"Johanna Larsson\", \"Shuai Peng\", \"Johanna Larsson\"), loser_ht (177, 172, 157), winner_age (20.917180013699998, 25.6317590691, 24.402464065700002), loser_seed (27, 24, 20), loser_ioc (\"SWE\", \"ITA\", \"DEN\"), winner_entry (\"\"), loser_hand (\"R\", \"L\"), match_num (216, 288, 198), loser_age (30.7323750856, 24.594113620799998, 27.947980835), year (2013, 2016, 2017), loser_entry (\"\"), minutes (105, 65, 161), tourney_date (20170403, 20161010, 20170515), round (\"SF\", \"F\", \"F\"), score (\"3-6 6-2 6-2\", \"6-3 7-6(3)\", \"6-2 7-6(9)\"), winner_ioc (\"POL\", \"DEN\", \"ROU\"), loser_id (201517, 201505, 201504), winner_rank (82, 15, 15), best_of (3), loser_rank_points (5250, 4310, 1590), winner_name (\"Ekaterina Makarova\", \"Elena Vesnina\", \"Barbora Zahlavova Strycova\"), tourney_id (\"2016-0806\", \"2017-M024\", \"2016-1051\"), winner_ht (170, 185, 183) | rankings : ranking (329, 277, 1156), ranking_points (481, 2202, 443), ranking_date (20070514, 20160215, 20130318), player_id (210728, 202628, 213821), tours (6, 4, 26)", "schema_without_content": "players : first_name , dob , date_of_birth , country_code , hand , last_name , player_id | matches : tourney_level , winner_id , surface , tourney_name , draw_size , loser_rank , winner_seed , winner_hand , winner_rank_points , loser_name , loser_ht , winner_age , loser_seed , loser_ioc , winner_entry , loser_hand , match_num , loser_age , year , loser_entry , minutes , tourney_date , round , score \", \"6-2 7-6\", winner_ioc , loser_id , winner_rank , best_of , loser_rank_points , winner_name , tourney_id , winner_ht | rankings : ranking , ranking_points , ranking_date , player_id , tours", "extra_map": { "players": { "birth_date": [ "dob", "date_of_birth" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "country_code", "dob", "date_of_birth" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "birth date of all players": "players.birth_date", "country code": "players.country_code" } }, { "question": "what are the #first names# and #birth dates of players# from the #usa# ?", "db_id": "wta_1", "orig_query": "select first_name, birth_date from players where country_code = 'USA'", "schema_with_content": "players : last_name (\"Kostner\", \"Krunic\", \"Price\"), given_name (\"Hadas\", \"Mariel\", \"Olawaseun\"), country_code (\"TUN\", \"BUL\", \"ARG\"), birth_date (20000729, 19890707, 19760812), player_id (204116, 203813, 216943), forename (\"Hadas\", \"Mariel\", \"Olawaseun\"), hand (\"R\", \"R\", \"L\") | matches : minutes (199, 152, 109), tourney_date (20170717, 20170116, 20170515), loser_ht (179, 164, 161), tourney_level (\"I\", \"W\", \"W\"), tourney_id (\"2017-1086\", \"2016-0528\", \"2017-0406\"), loser_hand (\"R\", \"L\"), best_of (3), winner_ht (176, 181, 174), winner_age (34.6173853525, 26.4777549624, 25.6755646817), winner_ioc (\"BEL\", \"BLR\", \"HUN\"), winner_name (\"Angelique Kerber\", \"Timea Babos\", \"Julia Goerges\"), winner_seed (21, 28, 22), draw_size (4, 12, 4), loser_id (201595, 201693, 202428), loser_rank (4, 28, 10), round (\"R32\", \"BR\", \"F\"), winner_hand (\"R\", \"L\"), winner_rank_points (12040, 1255, 2920), loser_entry (\"\"), loser_ioc (\"SRB\", \"RUS\", \"ITA\"), loser_age (27.3347022587, 24.249144421599997, 28.714579055399998), winner_id (201505, 202494, 201595), match_num (211, 196, 288), surface (\"Hard\", \"Clay\", \"Grass\"), winner_entry (\"\"), tourney_name (\"Bastad\", \"Auckland\", \"Moscow\"), year (2013, 2016, 2017), loser_name (\"Ana Ivanovic\", \"Shuai Peng\", \"Ana Ivanovic\"), loser_seed (21, 11, 20), winner_rank (43, 34, 34), loser_rank_points (912, 2461, 1380), score (\"6-7(3) 6-4 6-3\", \"6-3 6-4\", \"6-2 6-3\") | rankings : tours (19, 36, 4), ranking_date (19910715, 19950102, 19900528), ranking_points (130, 275, 2701), player_id (202348, 210138, 202453), ranking (984, 520, 424)", "schema_without_content": "players : last_name , given_name , country_code , birth_date , player_id , forename , hand | matches : minutes , tourney_date , loser_ht , tourney_level , tourney_id , loser_hand , best_of , winner_ht , winner_age , winner_ioc , winner_name , winner_seed , draw_size , loser_id , loser_rank , round , winner_hand , winner_rank_points , loser_entry , loser_ioc , loser_age , winner_id , match_num , surface , winner_entry , tourney_name , year , loser_name , loser_seed , winner_rank , loser_rank_points , score 6-4 6-3\", \"6-3 6-4\", \"6-2 6-3\" | rankings : tours , ranking_date , ranking_points , player_id , ranking", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first names": "players.first_name", "birth dates of players": "players.birth_date", "USA": "players.country_code" } }, { "question": "what are the #first names# and #birth dates of players# from the #usa# ?", "db_id": "wta_1", "orig_query": "select first_name, birth_date from players where country_code = 'USA'", "schema_with_content": "players : hand (\"U\", \"U\", \"R\"), player_id (212432, 208151, 216122), date_of_birth (19860913, 19671101, 20000802), last_name (\"Ewart\", \"Del Valle\", \"Liebens\"), country_code (\"REU\", \"UKR\", \"URS\"), first_name (\"Chalena\", \"Katia\", \"Danai\"), dob (19860913, 19671101, 20000802) | matches : tourney_id (\"2016-O16\", \"2017-M007\", \"2017-0406\"), score (\"6-7(1) 6-2 8-6\", \"6-7(5) 6-4 6-3\", \"7-5 6-7(3) 6-4\"), loser_age (22.3463381246, 28.4407939767, 28.5448323066), winner_name (\"Kiki Bertens\", \"Kristina Mladenovic\", \"Carla Suarez Navarro\"), match_num (281, 280, 299), year (2013, 2016, 2017), loser_seed (16, 10, 17), winner_rank_points (1970, 5640, 8330), winner_entry (\"\"), winner_ioc (\"USA\", \"DEN\", \"BEL\"), winner_seed (24, 7, 10), winner_hand (\"R\", \"L\"), loser_rank_points (2210, 2580, 4345), winner_age (28.4599589322, 31.0006844627, 23.811088295700003), draw_size (128, 12, 12), minutes (108, 153, 68), surface (\"Hard\", \"Clay\", \"Grass\"), winner_ht (163, 176, 185), loser_ioc (\"ESP\", \"HUN\", \"USA\"), winner_id (201504, 201427, 201320), loser_entry (\"\"), best_of (3), winner_rank (8, 61, 13), tourney_level (\"G\", \"W\", \"P\"), loser_hand (\"R\", \"L\"), loser_rank (7, 3, 21), loser_ht (173, 161, 159), loser_name (\"Alize Cornet\", \"Irina Camelia Begu\", \"Dominika Cibulkova\"), loser_id (201615, 201366, 201427), round (\"SF\", \"QF\", \"R32\"), tourney_date (20170116, 20170320, 20160404), tourney_name (\"Katowice\", \"Indian Wells\", \"Gstaad\") | rankings : ranking_date (20021125, 20110425, 19940307), tours (0, 3, 18), ranking_points (602, 3995, 2888), ranking (5, 1309, 415), player_id (212038, 211651, 215340)", "schema_without_content": "players : hand , player_id , date_of_birth , last_name , country_code , first_name , dob | matches : tourney_id , score 6-2 8-6\", \"6-7 6-4 6-3\", \"7-5 6-7 6-4\", loser_age , winner_name , match_num , year , loser_seed , winner_rank_points , winner_entry , winner_ioc , winner_seed , winner_hand , loser_rank_points , winner_age , draw_size , minutes , surface , winner_ht , loser_ioc , winner_id , loser_entry , best_of , winner_rank , tourney_level , loser_hand , loser_rank , loser_ht , loser_name , loser_id , round , tourney_date , tourney_name | rankings : ranking_date , tours , ranking_points , ranking , player_id", "extra_map": { "players": { "birth_date": [ "dob", "date_of_birth" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "country_code", "dob", "date_of_birth" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first names": "players.first_name", "birth dates of players": "players.birth_date", "USA": "players.country_code" } }, { "question": "find the #average age of losers# and winners of all #matches# .", "db_id": "wta_1", "orig_query": "select avg(loser_age), avg(winner_age) from matches", "schema_with_content": "players : birth_date (19970227, 19780624, 20001212), country_code (\"LTU\", \"ZAM\", \"MON\"), last_name (\"Mitsuko\", \"Ferrer\", \"Tudor\"), first_name (\"Jihane\", \"Hsin Ting\", \"Draginja\"), player_id (210441, 209361, 209316), hand (\"R\", \"L\", \"L\") | matches : loser_rank_points (1015, 2240, 3220), loser_ht (185, 169, 178), surface (\"Hard\", \"Clay\", \"Grass\"), winner_ioc (\"NED\", \"SRB\", \"CZE\"), tourney_date (20160208, 20170703, 20170227), loser_ioc (\"FRA\", \"DEN\", \"AUS\"), winner_ht (164, 174, 179), winner_entry (\"\"), loser_rank (27, 61, 60), score (\"4-6 7-5 6-2\", \"7-5 6-7(3) 6-4\", \"6-4 6-7(4) 6-1\"), minutes (162, 152, 129), loser_seed (7, 22, 16), loser_hand (\"R\", \"L\"), winner_rank (2, 26, 42), round (\"QF\", \"SF\", \"R16\"), winner_seed (14, 4, 9), winner_rank_points (5196, 3100, 3736), winner_hand (\"R\", \"L\"), year (2013, 2016, 2017), winner_name (\"Sloane Stephens\", \"Alize Cornet\", \"Serena Williams\"), loser_id (201539, 201596, 201514), winning_player_age (28.4599589322, 33.0485968515, 29.1471594798), best_of (3), winner_id (201595, 201495, 201499), tourney_id (\"2016-O16\", \"2017-0406\", \"2016-1050\"), match_num (290, 210, 288), loser_entry (\"\"), victorious_player_age (28.4599589322, 33.0485968515, 29.1471594798), loser_name (\"Caroline Wozniacki\", \"Kristina Mladenovic\", \"Kiki Bertens\"), tourney_name (\"Toronto\", \"Kaohsiung\", \"Bucharest\"), draw_size (32, 32, 128), tourney_level (\"W\", \"P\", \"G\"), loser_age (23.638603696100002, 26.078028747399998, 24.985626283400002) | rankings : ranking (1312, 1156, 733), player_id (202508, 201399, 214388), ranking_date (20121001, 19880101, 20170501), tours (36, 37, 29), ranking_points (5400, 4450, 655)", "schema_without_content": "players : birth_date , country_code , last_name , first_name , player_id , hand | matches : loser_rank_points , loser_ht , surface , winner_ioc , tourney_date , loser_ioc , winner_ht , winner_entry , loser_rank , score 6-4\", \"6-4 6-7 6-1\", minutes , loser_seed , loser_hand , winner_rank , round , winner_seed , winner_rank_points , winner_hand , year , winner_name , loser_id , winning_player_age , best_of , winner_id , tourney_id , match_num , loser_entry , victorious_player_age , loser_name , tourney_name , draw_size , tourney_level , loser_age | rankings : ranking , player_id , ranking_date , tours , ranking_points", "extra_map": { "matches": { "winner_age": [ "winning_player_age", "victorious_player_age" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year", "winning_player_age", "victorious_player_age" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "average age of losers": "matches.loser_age", "matches": "matches", "average age of winners": "matches.winner_age" } }, { "question": "find the #average age of losers# and winners of all #matches# .", "db_id": "wta_1", "orig_query": "select avg(loser_age), avg(winner_age) from matches", "schema_with_content": "players : hand (\"R\", \"U\", \"U\"), last_name (\"Gubacsi\", \"Cozirscaia\", \"Gamiz\"), player_id (207634, 216653, 208753), country_code (\"BIH\", \"PAN\", \"CRC\"), birth_date (19921001, 19940806, 19750526), first_name (\"Fang Ying\", \"Zuleykha\", \"Marne\") | matches : winner_id (201474, 201518, 201311), tourney_id (\"2017-560\", \"2016-1075\", \"2017-M010\"), winner_entry (\"\"), loser_name (\"Caroline Wozniacki\", \"Simona Halep\", \"Yanina Wickmayer\"), winner_rank_points (3915, 2300, 2660), winner_hand (\"R\", \"L\"), winner_age (23.811088295700003, 27.786447638600002, 27.786447638600002), tourney_date (20160606, 20160801, 20170501), tourney_name (\"'S-Hertogenbosch\", \"Australian Open\", \"Charleston\"), beaten_player_age (31.077344284699997, 31.0006844627, 25.842573579699998), best_of (3), winner_seed (21, 4, 19), loser_hand (\"R\", \"L\"), tourney_level (\"G\", \"W\", \"G\"), winner_name (\"Svetlana Kuznetsova\", \"Madison Keys\", \"Victoria Azarenka\"), winner_rank (6, 18, 27), loser_entry (\"\"), round (\"BR\", \"F\", \"QF\"), loser_rank (30, 37, 20), defeated_player_age (31.077344284699997, 31.0006844627, 25.842573579699998), winner_ioc (\"SWE\", \"CZE\", \"FRA\"), loser_seed (5, 25, 32), loser_ht (163, 180, 174), surface (\"Hard\", \"Clay\", \"Grass\"), draw_size (8, 128, 128), loser_id (201504, 201594, 201514), year (2013, 2016, 2017), loser_rank_points (5386, 5172, 785), winner_ht (178, 168, 175), loser_ioc (\"DEN\", \"DEN\", \"SRB\"), match_num (155, 225, 211), score (\"6-2 5-7 7-5\", \"3-6 6-0 6-1\", \"7-6(4) 6-4\"), minutes (108, 161, 68) | rankings : tours (40, 36, 36), ranking_date (19950220, 19960610, 20051107), ranking (1356, 451, 1325), player_id (201665, 215234, 206197), ranking_points (964, 4535, 532)", "schema_without_content": "players : hand , last_name , player_id , country_code , birth_date , first_name | matches : winner_id , tourney_id , winner_entry , loser_name , winner_rank_points , winner_hand , winner_age , tourney_date , tourney_name , beaten_player_age , best_of , winner_seed , loser_hand , tourney_level , winner_name , winner_rank , loser_entry , round , loser_rank , defeated_player_age , winner_ioc , loser_seed , loser_ht , surface , draw_size , loser_id , year , loser_rank_points , winner_ht , loser_ioc , match_num , score 6-4\", minutes | rankings : tours , ranking_date , ranking , player_id , ranking_points", "extra_map": { "matches": { "loser_age": [ "defeated_player_age", "beaten_player_age" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year", "defeated_player_age", "beaten_player_age" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "average age of losers": "matches.loser_age", "matches": "matches", "average age of winners": "matches.winner_age" } }, { "question": "what are the #average ages of losers# and winners across #matches# ?", "db_id": "wta_1", "orig_query": "select avg(loser_age), avg(winner_age) from matches", "schema_with_content": "players : hand (\"L\", \"R\", \"\"), first_name (\"Zinovia\", \"Alisia Stephanie\", \"Aryna\"), last_name (\"Herr\", \"Mackeviciute\", \"Galan Gomez\"), birth_date (19470611, 19880714, 19770212), player_id (201218, 209796, 213074), country_code (\"TRI\", \"BRA\", \"ALG\") | matches : loser_rank (13, 52, 47), best_of (3), loser_hand (\"R\", \"L\"), loser_rank_points (3540, 5481, 2871), round (\"RR\", \"SF\", \"R32\"), draw_size (8, 4, 12), loser_name (\"Sorana Cirstea\", \"Timea Babos\", \"Kristina Mladenovic\"), loser_age (25.6317590691, 25.440109514, 27.748117727600004), loser_entry (\"\"), loser_ioc (\"GER\", \"AUS\", \"ITA\"), winner_id (201499, 201615, 201520), winner_name (\"Carla Suarez Navarro\", \"Johanna Larsson\", \"Dominika Cibulkova\"), score (\"6-3 4-6 6-2\", \"6-4 7-6(5)\", \"7-6(0) 6-4\"), tourney_level (\"P\", \"I\", \"G\"), minutes (116, 162, 145), tourney_id (\"2017-0406\", \"2017-M024\", \"2016-M006\"), winner_hand (\"R\", \"L\"), winner_rank_points (3185, 7676, 1571), loser_ht (181, 163, 185), winner_seed (6, 14, 14), loser_id (201325, 201540, 201421), loser_seed (6, 7, 25), year (2013, 2016, 2017), surface (\"Hard\", \"Clay\", \"Grass\"), winner_entry (\"\"), match_num (198, 199, 225), victorious_player_age (23.40862423, 24.2628336756, 26.8829568789), tourney_name (\"French Open\", \"Kaohsiung\", \"Hobart\"), winner_ioc (\"GER\", \"HUN\", \"ROU\"), winner_ht (161, 172, 168), winning_player_age (23.40862423, 24.2628336756, 26.8829568789), winner_rank (58, 82, 27), tourney_date (20160822, 20170220, 20170814) | rankings : ranking (1010, 1461, 524), ranking_points (70, 10690, 1403), player_id (215192, 206357, 213515), ranking_date (20000306, 20160502, 19991220), tours (38, 6, 11)", "schema_without_content": "players : hand , first_name , last_name , birth_date , player_id , country_code | matches : loser_rank , best_of , loser_hand , loser_rank_points , round , draw_size , loser_name , loser_age , loser_entry , loser_ioc , winner_id , winner_name , score \", \"7-6 6-4\", tourney_level , minutes , tourney_id , winner_hand , winner_rank_points , loser_ht , winner_seed , loser_id , loser_seed , year , surface , winner_entry , match_num , victorious_player_age , tourney_name , winner_ioc , winner_ht , winning_player_age , winner_rank , tourney_date | rankings : ranking , ranking_points , player_id , ranking_date , tours", "extra_map": { "matches": { "winner_age": [ "winning_player_age", "victorious_player_age" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year", "winning_player_age", "victorious_player_age" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "average ages of losers": "matches.loser_age", "matches": "matches", "average ages of winners": "matches.winner_age" } }, { "question": "what are the #average ages of losers# and winners across #matches# ?", "db_id": "wta_1", "orig_query": "select avg(loser_age), avg(winner_age) from matches", "schema_with_content": "players : hand (\"\", \"\", \"L\"), country_code (\"MNE\", \"LUX\", \"YUG\"), player_id (210238, 209743, 209325), last_name (\"Gaud\", \"Plischke\", \"Malakhovich\"), first_name (\"Wen Tzu\", \"Sem\", \"Kemalie\"), birth_date (19960620, 19950506, 19710104) | matches : tourney_date (20170522, 20160222, 20170220), winner_ht (181, 185, 182), winner_rank_points (3455, 845, 4372), winner_ioc (\"BLR\", \"UKR\", \"CZE\"), tourney_level (\"G\", \"P\", \"P\"), loser_rank_points (4555, 4636, 3135), loser_entry (\"\"), winner_hand (\"R\", \"L\"), loser_id (201495, 201535, 202494), tourney_id (\"2016-520\", \"2016-580\", \"2017-1098\"), year (2013, 2016, 2017), loser_seed (20, 3, 25), tourney_name (\"Limoges\", \"Auckland\", \"Charleston\"), beaten_player_age (28.402464065700002, 23.1786447639, 25.6947296372), match_num (198, 298, 291), minutes (145, 102, 0), loser_ht (173, 168, 161), winner_name (\"Madison Keys\", \"Yanina Wickmayer\", \"Agnieszka Radwanska\"), winner_entry (\"\"), winner_id (201594, 201662, 201474), score (\"3-6 6-2 7-6(6)\", \"6-2 6-0 \", \"7-6(4) 6-3\"), draw_size (32, 64, 8), loser_hand (\"R\", \"L\"), defeated_player_age (28.402464065700002, 23.1786447639, 25.6947296372), surface (\"Hard\", \"Clay\", \"Grass\"), loser_name (\"Petra Kvitova\", \"Yanina Wickmayer\", \"Kristina Mladenovic\"), loser_ioc (\"AUS\", \"NED\", \"CHN\"), loser_rank (28, 15, 22), winner_age (27.1238877481, 21.5222450376, 32.1478439425), winner_seed (20, 22, 9), best_of (3), round (\"R16\", \"R16\", \"RR\"), winner_rank (17, 19, 48) | rankings : ranking (1414, 488, 340), player_id (201530, 206130, 209952), ranking_points (4606, 5146, 3260), tours (27, 12, 30), ranking_date (20061204, 19920427, 20110124)", "schema_without_content": "players : hand , country_code , player_id , last_name , first_name , birth_date | matches : tourney_date , winner_ht , winner_rank_points , winner_ioc , tourney_level , loser_rank_points , loser_entry , winner_hand , loser_id , tourney_id , year , loser_seed , tourney_name , beaten_player_age , match_num , minutes , loser_ht , winner_name , winner_entry , winner_id , score \", \"6-2 6-0 \", \"7-6 6-3\", draw_size , loser_hand , defeated_player_age , surface , loser_name , loser_ioc , loser_rank , winner_age , winner_seed , best_of , round , winner_rank | rankings : ranking , player_id , ranking_points , tours , ranking_date", "extra_map": { "matches": { "loser_age": [ "defeated_player_age", "beaten_player_age" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year", "defeated_player_age", "beaten_player_age" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "average ages of losers": "matches.loser_age", "matches": "matches", "average ages of winners": "matches.winner_age" } }, { "question": "find the #average rank of winners# in all matches.", "db_id": "wta_1", "orig_query": "select avg(winner_rank) from matches", "schema_with_content": "players : last_name (\"Jamaleddine\", \"Bozicnik\", \"Litvak\"), country_code (\"HON\", \"BEL\", \"TCH\"), hand (\"\", \"\", \"U\"), player_id (211356, 214000, 212536), first_name (\"Danna Valentina\", \"Adrienn\", \"Leolia\"), birth_date (19910427, 20000126, 19861108) | matches : loser_entry (\"\"), best_of (3), draw_size (8, 128, 12), winner_entry (\"\"), score (\"1-6 7-6(9) 6-4\", \"6-3 6-7(3) 7-6(4)\", \"2-6 6-3 1-0 RET\"), tourney_id (\"2017-M007\", \"2017-0804\", \"2017-0406\"), winner_ioc (\"SVK\", \"CZE\", \"NED\"), loser_ht (174, 185, 164), loser_hand (\"R\", \"L\"), winner_ht (177, 175, 164), surface (\"Hard\", \"Clay\", \"Grass\"), loser_id (201496, 201458, 201520), tourney_level (\"G\", \"P\", \"W\"), tourney_date (20170626, 20170612, 20160425), winner_hand (\"R\", \"L\"), match_num (201, 281, 274), winner_id (201499, 201615, 201596), loser_rank_points (3752, 2816, 1840), round (\"R16\", \"BR\", \"R16\"), loser_rank (66, 21, 7), year (2013, 2016, 2017), winner_rank_points (2660, 3100, 5120), tourney_name (\"Dubai\", \"s-Hertogenbosch\", \"Olympics\"), loser_seed (12, 27, 11), winner_age (34.924024640700004, 27.7371663244, 37.196440794000004), minutes (72, 48, 104), winner_name (\"Johanna Larsson\", \"Jelena Jankovic\", \"Karolina Pliskova\"), winning_player_ranking (34, 11, 30), loser_ioc (\"SWE\", \"GER\", \"TPE\"), winner_seed (11, 1, 18), victorious_player_ranking (34, 11, 30), loser_name (\"Simona Halep\", \"Petra Kvitova\", \"Magdalena Rybarikova\"), loser_age (26.4804928131, 24.594113620799998, 25.273100616) | rankings : player_id (206223, 214273, 212041), ranking (243, 123, 1415), ranking_date (20030929, 20050509, 20030908), tours (0, 18, 0), ranking_points (2840, 1038, 218)", "schema_without_content": "players : last_name , country_code , hand , player_id , first_name , birth_date | matches : loser_entry , best_of , draw_size , winner_entry , score 6-4\", \"6-3 6-7 7-6\", \"2-6 6-3 1-0 RET\", tourney_id , winner_ioc , loser_ht , loser_hand , winner_ht , surface , loser_id , tourney_level , tourney_date , winner_hand , match_num , winner_id , loser_rank_points , round , loser_rank , year , winner_rank_points , tourney_name , loser_seed , winner_age , minutes , winner_name , winning_player_ranking , loser_ioc , winner_seed , victorious_player_ranking , loser_name , loser_age | rankings : player_id , ranking , ranking_date , tours , ranking_points", "extra_map": { "matches": { "winner_rank": [ "winning_player_ranking", "victorious_player_ranking" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank_points", "winner_seed", "year", "winning_player_ranking", "victorious_player_ranking" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "average rank of winners": "matches.winner_rank" } }, { "question": "what is the #average rank for winners# in all matches?", "db_id": "wta_1", "orig_query": "select avg(winner_rank) from matches", "schema_with_content": "players : player_id (201639, 201705, 208518), first_name (\"Ilaria\", \"Evagreth\", \"Hui Chi\"), birth_date (19921215, 19860514, 19460409), hand (\"U\", \"U\", \"\"), last_name (\"Spiegel\", \"Olivares Lopez\", \"Basbakkal\"), country_code (\"PAK\", \"NAM\", \"FRA\") | matches : loser_rank_points (9030, 2341, 7035), tourney_date (20170515, 20160926, 20170220), winner_rank_points (1645, 3250, 4585), best_of (3), loser_age (28.714579055399998, 26.0369609856, 25.503080082100002), winning_player_ranking (56, 6, 56), winner_ioc (\"RUS\", \"BEL\", \"JPN\"), loser_name (\"Christina Mchale\", \"Svetlana Kuznetsova\", \"Lesia Tsurenko\"), tourney_id (\"2016-520\", \"2017-1094\", \"2016-0804\"), winner_ht (181, 170, 181), winner_age (27.748117727600004, 26.9130732375, 27.463381245700003), loser_hand (\"R\", \"L\"), minutes (118, 76, 85), loser_entry (\"\"), winner_seed (2, 21, 21), loser_ioc (\"POL\", \"SRB\", \"ESP\"), tourney_name (\"Linz\", \"Washington\", \"Hobart\"), loser_ht (179, 161, 164), winner_hand (\"R\", \"L\"), tourney_level (\"I\", \"P\", \"P\"), winner_name (\"Irina Camelia Begu\", \"Karolina Pliskova\", \"Madison Keys\"), score (\"6-2 3-6 7-5\", \"6-1 4-6 6-0\", \"3-6 6-1 6-4\"), draw_size (4, 32, 128), victorious_player_ranking (56, 6, 56), winner_id (201521, 201520, 201504), round (\"QF\", \"QF\", \"RR\"), loser_seed (18, 8, 31), loser_rank (14, 6, 34), winner_entry (\"\"), year (2013, 2016, 2017), match_num (282, 282, 207), surface (\"Hard\", \"Clay\", \"Grass\"), loser_id (201693, 201540, 201662) | rankings : ranking (398, 227, 45), ranking_points (762, 4880, 562), tours (23, 31, 32), ranking_date (20101025, 19940919, 20000221), player_id (202682, 201412, 202686)", "schema_without_content": "players : player_id , first_name , birth_date , hand , last_name , country_code | matches : loser_rank_points , tourney_date , winner_rank_points , best_of , loser_age , winning_player_ranking , winner_ioc , loser_name , tourney_id , winner_ht , winner_age , loser_hand , minutes , loser_entry , winner_seed , loser_ioc , tourney_name , loser_ht , winner_hand , tourney_level , winner_name , score , draw_size , victorious_player_ranking , winner_id , round , loser_seed , loser_rank , winner_entry , year , match_num , surface , loser_id | rankings : ranking , ranking_points , tours , ranking_date , player_id", "extra_map": { "matches": { "winner_rank": [ "winning_player_ranking", "victorious_player_ranking" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank_points", "winner_seed", "year", "winning_player_ranking", "victorious_player_ranking" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "average rank for winners": "matches.winner_rank" } }, { "question": "find the #highest rank of losers# in all matches.", "db_id": "wta_1", "orig_query": "select min(loser_rank) from matches", "schema_with_content": "players : hand (\"U\", \"\", \"R\"), first_name (\"Aurandrea\", \"F\", \"Henrike\"), country_code (\"NAM\", \"TOG\", \"SEN\"), last_name (\"Generette\", \"Birnbaum\", \"Bulilan\"), birth_date (19881115, 19651109, 19860402), player_id (215195, 212053, 214903) | matches : winner_rank_points (2585, 2456, 3116), draw_size (32, 32, 4), score (\"6-4 3-6 6-3\", \"6-2 7-6(5)\", \"6-1 7-5\"), winner_hand (\"R\", \"L\"), winner_seed (15, 4, 5), tourney_date (20160815, 20160404, 20161024), tourney_id (\"2017-M024\", \"2016-1074\", \"2017-M007\"), loser_seed (18, 20, 3), beaten_player_ranking (31, 15, 46), loser_entry (\"\"), tourney_level (\"W\", \"G\", \"I\"), winner_age (27.613963039, 24.8843258042, 24.8268309377), match_num (199, 281, 292), best_of (3), loser_ht (182, 162, 159), surface (\"Hard\", \"Clay\", \"Grass\"), loser_age (27.832991101999998, 28.3258042437, 21.4839151266), winner_entry (\"\"), loser_ioc (\"BLR\", \"BEL\", \"FRA\"), minutes (119, 184, 163), loser_hand (\"R\", \"L\"), round (\"RR\", \"R32\", \"RR\"), winner_id (200033, 201320, 201615), loser_id (201444, 201474, 201421), winner_name (\"Angelique Kerber\", \"Caroline Wozniacki\", \"Na Li\"), year (2013, 2016, 2017), defeated_player_ranking (31, 15, 46), winner_rank (7, 53, 19), loser_name (\"Annika Beck\", \"Lauren Davis\", \"Misaki Doi\"), tourney_name (\"Katowice\", \"Limoges\", \"French Open\"), loser_rank_points (7515, 4742, 4975), winner_ioc (\"SWE\", \"DEN\", \"AUS\"), winner_ht (177, 172, 170) | rankings : ranking_points (4900, 197, 2108), player_id (211956, 213659, 215404), tours (26, 24, 36), ranking_date (20121105, 19901008, 20060703), ranking (443, 124, 897)", "schema_without_content": "players : hand , first_name , country_code , last_name , birth_date , player_id | matches : winner_rank_points , draw_size , score \", \"6-1 7-5\", winner_hand , winner_seed , tourney_date , tourney_id , loser_seed , beaten_player_ranking , loser_entry , tourney_level , winner_age , match_num , best_of , loser_ht , surface , loser_age , winner_entry , loser_ioc , minutes , loser_hand , round , winner_id , loser_id , winner_name , year , defeated_player_ranking , winner_rank , loser_name , tourney_name , loser_rank_points , winner_ioc , winner_ht | rankings : ranking_points , player_id , tours , ranking_date , ranking", "extra_map": { "matches": { "loser_rank": [ "defeated_player_ranking", "beaten_player_ranking" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year", "defeated_player_ranking", "beaten_player_ranking" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "highest rank of losers": "matches.loser_rank" } }, { "question": "what is the #best rank of losers# across all matches?", "db_id": "wta_1", "orig_query": "select min(loser_rank) from matches", "schema_with_content": "players : last_name (\"Bahn\", \"Meena\", \"Meddens\"), first_name (\"Jane\", \"Aisha\", \"Christi\"), hand (\"\", \"\", \"R\"), country_code (\"GHA\", \"ZIM\", \"LUX\"), birth_date (19440909, 19731024, 19830706), player_id (216532, 216440, 209798) | matches : best_of (3), year (2013, 2016, 2017), winner_hand (\"R\", \"L\"), winner_seed (3, 16, 3), defeated_player_ranking (33, 26, 61), tourney_date (20170731, 20170515, 20160808), surface (\"Hard\", \"Clay\", \"Grass\"), tourney_name (\"Doha\", \"Sydney\", \"Prague\"), tourney_id (\"2016-0300\", \"2017-520\", \"2017-1027\"), score (\"6-2 5-7 7-5\", \"6-2 6-2\", \"7-5 6-0\"), winner_rank (11, 34, 30), round (\"RR\", \"QF\", \"RR\"), tourney_level (\"P\", \"G\", \"I\"), loser_seed (13, 8, 17), match_num (201, 225, 296), loser_hand (\"R\", \"L\"), winner_entry (\"\"), loser_entry (\"\"), winner_id (201425, 201504, 201506), winner_age (24.7857631759, 28.741957563299998, 22.614647501700002), winner_name (\"Garbine Muguruza\", \"Samantha Stosur\", \"Elina Svitolina\"), beaten_player_ranking (33, 26, 61), loser_age (22.0971937029, 30.866529774099998, 23.0253251198), winner_rank_points (2146, 1620, 4216), loser_name (\"Venus Williams\", \"Lesia Tsurenko\", \"Samantha Stosur\"), winner_ht (164, 159, 175), loser_rank_points (1845, 1995, 2585), minutes (63, 49, 86), draw_size (4, 32, 12), winner_ioc (\"CZE\", \"ROU\", \"GER\"), loser_ioc (\"ITA\", \"NED\", \"SWE\"), loser_ht (159, 174, 157), loser_id (200748, 201427, 201662) | rankings : ranking (135, 326, 1032), player_id (204427, 214700, 203442), tours (14, 8, 16), ranking_date (20030908, 20051212, 19891225), ranking_points (3565, 8730, 8)", "schema_without_content": "players : last_name , first_name , hand , country_code , birth_date , player_id | matches : best_of , year , winner_hand , winner_seed , defeated_player_ranking , tourney_date , surface , tourney_name , tourney_id , score , winner_rank , round , tourney_level , loser_seed , match_num , loser_hand , winner_entry , loser_entry , winner_id , winner_age , winner_name , beaten_player_ranking , loser_age , winner_rank_points , loser_name , winner_ht , loser_rank_points , minutes , draw_size , winner_ioc , loser_ioc , loser_ht , loser_id | rankings : ranking , player_id , tours , ranking_date , ranking_points", "extra_map": { "matches": { "loser_rank": [ "defeated_player_ranking", "beaten_player_ranking" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year", "defeated_player_ranking", "beaten_player_ranking" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "best rank of losers": "matches.loser_rank" } }, { "question": "find the number of distinct #country codes of all players# .", "db_id": "wta_1", "orig_query": "select count(distinct country_code) from players", "schema_with_content": "players : birth_date (19860302, 19980329, 19720225), country_id (\"BAR\", \"DEN\", \"EST\"), nationality_code (\"BAR\", \"DEN\", \"EST\"), player_id (206068, 204047, 208329), last_name (\"Istrate\", \"Tere Apisah\", \"Ruutel\"), first_name (\"Damilola\", \"Danka\", \"Ann Cathrin\"), hand (\"U\", \"\", \"\") | matches : winner_id (201325, 201662, 202494), loser_ioc (\"UKR\", \"UKR\", \"BLR\"), loser_entry (\"\"), winner_seed (16, 2, 19), tourney_level (\"P\", \"W\", \"P\"), tourney_date (20160321, 20170807, 20160523), loser_seed (13, 28, 3), loser_rank (30, 7, 14), year (2013, 2016, 2017), score (\"6-1 6-1\", \"4-6 7-6(2) 6-3\", \"5-7 6-4 6-1\"), draw_size (12, 8, 128), loser_rank_points (3285, 1460, 1543), winner_hand (\"R\", \"L\"), winner_ioc (\"SRB\", \"CHN\", \"ITA\"), winner_entry (\"\"), loser_name (\"Simona Halep\", \"Julia Goerges\", \"Kiki Bertens\"), loser_hand (\"R\", \"L\"), minutes (72, 164, 81), surface (\"Hard\", \"Clay\", \"Grass\"), winner_ht (173, 173, 168), round (\"QF\", \"R32\", \"QF\"), winner_name (\"Elina Svitolina\", \"Kristina Mladenovic\", \"Sloane Stephens\"), loser_age (24.4407939767, 33.700205338800004, 30.8254620123), best_of (3), tourney_id (\"2017-M007\", \"2017-1005\", \"2016-1086\"), loser_ht (185, 169, 168), tourney_name (\"Roland Garros\", \"Prague\", \"Stanford\"), loser_id (201366, 201615, 201594), winner_rank_points (845, 2585, 3590), winner_rank (35, 1, 24), winner_age (26.1136208077, 24.2628336756, 31.077344284699997), match_num (208, 212, 197) | rankings : tours (9, 31, 29), ranking (920, 516, 818), ranking_date (19961209, 19930712, 20150413), player_id (205892, 211855, 201662), ranking_points (1740, 279, 472)", "schema_without_content": "players : birth_date , country_id , nationality_code , player_id , last_name , first_name , hand | matches : winner_id , loser_ioc , loser_entry , winner_seed , tourney_level , tourney_date , loser_seed , loser_rank , year , score 6-3\", \"5-7 6-4 6-1\", draw_size , loser_rank_points , winner_hand , winner_ioc , winner_entry , loser_name , loser_hand , minutes , surface , winner_ht , round , winner_name , loser_age , best_of , tourney_id , loser_ht , tourney_name , loser_id , winner_rank_points , winner_rank , winner_age , match_num | rankings : tours , ranking , ranking_date , player_id , ranking_points", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "country codes of all players": "players.country_code" } }, { "question": "how many distinct #countries# do #players# come from?", "db_id": "wta_1", "orig_query": "select count(distinct country_code) from players", "schema_with_content": "players : first_name (\"Mathilde\", \"Sihem\", \"Meang\"), last_name (\"Hao\", \"Kalkenova\", \"Viaklenka\"), country_id (\"ZIM\", \"MDA\", \"HKG\"), player_id (200942, 211295, 216456), nationality_code (\"ZIM\", \"MDA\", \"HKG\"), birth_date (19910219, 19800622, 19920627), hand (\"U\", \"\", \"L\") | matches : best_of (3), tourney_id (\"2016-1072\", \"2017-0718\", \"2017-560\"), winner_hand (\"R\", \"L\"), loser_age (22.527036276500002, 21.472963723499998, 25.8672142368), score (\"7-5 6-7(2) 6-2\", \"6-1 4-6 6-2\", \"6-2 5-7 7-5\"), winner_rank_points (1768, 4670, 1870), surface (\"Hard\", \"Clay\", \"Grass\"), winner_id (201540, 201585, 201419), loser_name (\"Angelique Kerber\", \"Ana Ivanovic\", \"Anastasia Pavlyuchenkova\"), winner_ht (163, 174, 168), draw_size (8, 64, 4), winner_rank (7, 12, 37), loser_rank_points (7115, 1242, 5481), round (\"R32\", \"F\", \"SF\"), winner_ioc (\"NED\", \"AUS\", \"SWE\"), tourney_name (\"Acapulco\", \"Rabat\", \"Prague\"), minutes (79, 154, 165), loser_seed (25, 23, 4), year (2013, 2016, 2017), tourney_level (\"W\", \"G\", \"G\"), loser_hand (\"R\", \"L\"), loser_id (202494, 201693, 201596), winner_name (\"Ekaterina Makarova\", \"Elena Vesnina\", \"Elena Vesnina\"), winner_age (26.573579739899998, 26.8117727584, 31.3264887064), winner_seed (7, 6, 24), loser_ht (161, 159, 172), tourney_date (20160822, 20170821, 20160222), loser_entry (\"\"), loser_ioc (\"CZE\", \"ESP\", \"CHN\"), winner_entry (\"\"), match_num (282, 271, 298), loser_rank (5, 29, 8) | rankings : tours (36, 28, 9), ranking (219, 551, 1391), player_id (201526, 215962, 211848), ranking_points (6941, 1277, 1506), ranking_date (19870720, 19881212, 20040322)", "schema_without_content": "players : first_name , last_name , country_id , player_id , nationality_code , birth_date , hand | matches : best_of , tourney_id , winner_hand , loser_age , score 6-2\", \"6-1 4-6 6-2\", \"6-2 5-7 7-5\", winner_rank_points , surface , winner_id , loser_name , winner_ht , draw_size , winner_rank , loser_rank_points , round , winner_ioc , tourney_name , minutes , loser_seed , year , tourney_level , loser_hand , loser_id , winner_name , winner_age , winner_seed , loser_ht , tourney_date , loser_entry , loser_ioc , winner_entry , match_num , loser_rank | rankings : tours , ranking , player_id , ranking_points , ranking_date", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "countries": "players.country_code", "players": "players" } }, { "question": "find the number of distinct #name of losers# .", "db_id": "wta_1", "orig_query": "select count(distinct loser_name) from matches", "schema_with_content": "players : last_name (\"Irie\", \"Chernova\", \"Cubelli\"), birth_date (19920205, 19810726, 19801114), hand (\"\", \"R\", \"\"), country_code (\"BRN\", \"AUT\", \"EST\"), first_name (\"Viktoria\", \"Dominique Chante\", \"Satomi\"), player_id (211019, 208901, 212537) | matches : loser_seed (18, 5, 18), tourney_name (\"Stanford\", \"Bucharest\", \"Olympics\"), loser_age (26.078028747399998, 31.6167008898, 27.0937713895), loser_hand (\"R\", \"L\"), defeated_player_name (\"Caroline Wozniacki\", \"Garbine Muguruza\", \"Johanna Larsson\"), match_num (283, 197, 271), winner_hand (\"R\", \"L\"), winner_age (22.7926078029, 21.6837782341, 30.5954825462), winner_seed (13, 16, 1), beaten_player_name (\"Caroline Wozniacki\", \"Garbine Muguruza\", \"Johanna Larsson\"), loser_rank_points (2070, 3915, 5335), loser_ht (185, 172, 170), loser_id (201616, 201517, 201615), score (\"6-4 4-6 6-4\", \"3-6 7-6(2) 6-0\", \"6-1 6-3\"), loser_rank (11, 13, 11), best_of (3), year (2013, 2016, 2017), winner_id (202469, 201521, 201518), loser_ioc (\"JPN\", \"CZE\", \"CHN\"), winner_name (\"Angelique Kerber\", \"Carla Suarez Navarro\", \"Kristina Mladenovic\"), surface (\"Hard\", \"Clay\", \"Grass\"), round (\"R16\", \"QF\", \"F\"), winner_ioc (\"ESP\", \"JPN\", \"CZE\"), winner_entry (\"\"), draw_size (128, 128, 4), tourney_date (20160523, 20170626, 20170116), loser_entry (\"\"), winner_rank (44, 10, 10), winner_ht (170, 172, 184), minutes (87, 199, 90), winner_rank_points (3091, 6500, 2320), tourney_id (\"2017-1094\", \"2016-M009\", \"2016-1049\"), tourney_level (\"W\", \"P\", \"P\") | rankings : player_id (201521, 201428, 214595), ranking_points (1198, 4870, 1174), tours (15, 29, 19), ranking_date (19871012, 20090216, 19960805), ranking (1005, 257, 1074)", "schema_without_content": "players : last_name , birth_date , hand , country_code , first_name , player_id | matches : loser_seed , tourney_name , loser_age , loser_hand , defeated_player_name , match_num , winner_hand , winner_age , winner_seed , beaten_player_name , loser_rank_points , loser_ht , loser_id , score 6-0\", \"6-1 6-3\", loser_rank , best_of , year , winner_id , loser_ioc , winner_name , surface , round , winner_ioc , winner_entry , draw_size , tourney_date , loser_entry , winner_rank , winner_ht , minutes , winner_rank_points , tourney_id , tourney_level | rankings : player_id , ranking_points , tours , ranking_date , ranking", "extra_map": { "matches": { "loser_name": [ "defeated_player_name", "beaten_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year", "defeated_player_name", "beaten_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "name of losers": "matches.loser_name" } }, { "question": "how many different #loser names# are there?", "db_id": "wta_1", "orig_query": "select count(distinct loser_name) from matches", "schema_with_content": "players : last_name (\"Raclavska\", \"Devesa\", \"Lindstrand\"), first_name (\"Saska\", \"Protiksha\", \"Jelena Karla\"), birth_date (20011107, 20010713, 19600808), country_code (\"LES\", \"TKM\", \"ANG\"), player_id (215535, 211147, 213264), hand (\"\", \"L\", \"L\") | matches : surface (\"Hard\", \"Clay\", \"Grass\"), year (2013, 2016, 2017), winner_hand (\"R\", \"L\"), loser_rank_points (2456, 1571, 2335), loser_hand (\"R\", \"L\"), loser_id (201504, 201527, 201455), loser_age (33.3552361396, 33.5277207392, 26.614647501700002), loser_ht (175, 161, 173), loser_ioc (\"POL\", \"SWE\", \"CZE\"), winner_id (201535, 201520, 201311), winner_seed (14, 8, 1), loser_rank (17, 16, 2), tourney_id (\"2017-1039\", \"2017-M021\", \"2016-1064\"), score (\"6-2 7-6(3)\", \"6-3 7-6(5)\", \"3-6 6-2 7-6(6)\"), winner_name (\"Karolina Pliskova\", \"Ekaterina Makarova\", \"Carla Suarez Navarro\"), beaten_player_name (\"Timea Babos\", \"Ana Ivanovic\", \"Kiki Bertens\"), winner_ht (185, 164, 162), draw_size (128, 64, 8), minutes (75, 163, 86), round (\"F\", \"R16\", \"RR\"), best_of (3), winner_rank (53, 26, 18), tourney_name (\"Madrid\", \"Acapulco\", \"Australian Open\"), winner_entry (\"\"), winner_rank_points (1900, 1870, 2451), winner_age (25.264887063699998, 26.340862423, 31.3073237509), loser_seed (16, 10, 31), match_num (161, 280, 210), winner_ioc (\"ROU\", \"NED\", \"ESP\"), defeated_player_name (\"Timea Babos\", \"Ana Ivanovic\", \"Kiki Bertens\"), loser_entry (\"\"), tourney_level (\"P\", \"P\", \"W\"), tourney_date (20160111, 20160104, 20170227) | rankings : ranking (532, 223, 803), tours (35, 11, 10), ranking_date (20161121, 19870202, 20020114), ranking_points (1746, 1337, 5520), player_id (214260, 204386, 202540)", "schema_without_content": "players : last_name , first_name , birth_date , country_code , player_id , hand | matches : surface , year , winner_hand , loser_rank_points , loser_hand , loser_id , loser_age , loser_ht , loser_ioc , winner_id , winner_seed , loser_rank , tourney_id , score \", \"6-3 7-6\", \"3-6 6-2 7-6\", winner_name , beaten_player_name , winner_ht , draw_size , minutes , round , best_of , winner_rank , tourney_name , winner_entry , winner_rank_points , winner_age , loser_seed , match_num , winner_ioc , defeated_player_name , loser_entry , tourney_level , tourney_date | rankings : ranking , tours , ranking_date , ranking_points , player_id", "extra_map": { "matches": { "loser_name": [ "defeated_player_name", "beaten_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year", "defeated_player_name", "beaten_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "loser names": "matches.loser_name" } }, { "question": "find the #name of tourney# that has more than 10 #matches# .", "db_id": "wta_1", "orig_query": "select tourney_name from matches group by tourney_name having count(*) > 10", "schema_with_content": "players : hand (\"\", \"\", \"L\"), birth_date (19850703, 19910705, 19931008), player_id (201022, 211443, 210952), first_name (\"Pei Ju\", \"Rozel Asuncion\", \"Aikaterini\"), country_code (\"TJK\", \"SLO\", \"CAN\"), last_name (\"Genesse\", \"Michaud\", \"Veiram\") | matches : surface (\"Hard\", \"Clay\", \"Grass\"), best_of (3), winner_rank (22, 22, 14), winner_id (201535, 201425, 201595), winner_age (22.672142368200003, 24.958247775500002, 26.1136208077), draw_size (64, 4, 4), tourney_date (20170828, 20170410, 20170731), score (\"6-4 6-3 \", \"7-6(5) 7-6(2)\", \"6-3 5-7 9-7\"), loser_name (\"Misaki Doi\", \"Elina Svitolina\", \"Coco Vandeweghe\"), loser_entry (\"\"), winner_hand (\"R\", \"L\"), winner_ht (180, 176, 170), winner_entry (\"\"), winner_seed (16, 13, 2), winner_rank_points (7340, 2375, 5330), loser_ioc (\"BLR\", \"RUS\", \"AUS\"), loser_ht (185, 164, 179), winner_ioc (\"NED\", \"HUN\", \"UKR\"), loser_rank_points (2900, 4287, 7050), year (2013, 2016, 2017), loser_seed (22, 32, 20), loser_id (201594, 201506, 201421), round (\"R16\", \"R16\", \"QF\"), loser_rank (52, 48, 29), winner_name (\"Roberta Vinci\", \"Ekaterina Makarova\", \"Samantha Stosur\"), loser_age (27.0937713895, 37.138945927399995, 31.6167008898), tournament_name (\"Singapore\", \"Auckland\", \"s-Hertogenbosch\"), tourney_id (\"2016-1086\", \"2017-0602\", \"2016-1086\"), event_name (\"Singapore\", \"Auckland\", \"s-Hertogenbosch\"), minutes (128, 176, 84), loser_hand (\"R\", \"L\"), tourney_level (\"P\", \"G\", \"P\"), match_num (209, 148, 264) | rankings : player_id (215354, 203212, 205813), ranking_date (20060306, 19980202, 20090427), tours (10, 34, 34), ranking_points (4855, 1338, 42), ranking (1447, 993, 736)", "schema_without_content": "players : hand , birth_date , player_id , first_name , country_code , last_name | matches : surface , best_of , winner_rank , winner_id , winner_age , draw_size , tourney_date , score 7-6\", \"6-3 5-7 9-7\", loser_name , loser_entry , winner_hand , winner_ht , winner_entry , winner_seed , winner_rank_points , loser_ioc , loser_ht , winner_ioc , loser_rank_points , year , loser_seed , loser_id , round , loser_rank , winner_name , loser_age , tournament_name , tourney_id , event_name , minutes , loser_hand , tourney_level , match_num | rankings : player_id , ranking_date , tours , ranking_points , ranking", "extra_map": { "matches": { "tourney_name": [ "event_name", "tournament_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year", "event_name", "tournament_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "name of tourney": "matches.tourney_name", "matches": "matches" } }, { "question": "what are the #names of tournaments# that have more than 10 #matches# ?", "db_id": "wta_1", "orig_query": "select tourney_name from matches group by tourney_name having count(*) > 10", "schema_with_content": "players : country_code (\"GBR\", \"CRC\", \"rc=\"), player_id (212996, 210287, 206624), hand (\"R\", \"U\", \"R\"), birth_date (19450828, 19910321, 19880629), first_name (\"Guadalupe\", \"Fatima Zohra\", \"Karis\"), last_name (\"Chuen\", \"Portel\", \"Cammilleri\") | matches : loser_hand (\"R\", \"L\"), winner_hand (\"R\", \"L\"), winner_rank (33, 61, 6), draw_size (12, 128, 64), winner_id (201458, 201595, 201693), round (\"SF\", \"RR\", \"RR\"), loser_ioc (\"USA\", \"USA\", \"NED\"), tournament_name (\"s-Hertogenbosch\", \"Roland Garros\", \"Roland Garros\"), winner_seed (21, 14, 19), winner_ioc (\"HUN\", \"SWE\", \"DEN\"), tourney_level (\"P\", \"G\", \"W\"), winner_rank_points (845, 5790, 4287), loser_name (\"Simona Halep\", \"Timea Babos\", \"Camila Giorgi\"), event_name (\"s-Hertogenbosch\", \"Roland Garros\", \"Roland Garros\"), winner_entry (\"\"), surface (\"Hard\", \"Clay\", \"Grass\"), loser_ht (168, 178, 183), tourney_id (\"2016-0703\", \"2016-1067\", \"2017-1098\"), loser_seed (12, 31, 24), winner_name (\"Roberta Vinci\", \"Johanna Larsson\", \"Caroline Wozniacki\"), winner_age (24.041067761799997, 29.2210814511, 27.4743326489), loser_entry (\"\"), score (\"7-6(5) 6-4\", \"6-2 3-6 6-2\", \"7-5 7-6(2)\"), loser_rank_points (3815, 2975, 2590), loser_id (201493, 201425, 202469), year (2013, 2016, 2017), loser_rank (25, 11, 1), match_num (276, 300, 209), tourney_date (20170403, 20170220, 20160404), minutes (107, 135, 73), best_of (3), winner_ht (185, 163, 170), loser_age (24.517453798800002, 31.6167008898, 26.869267624899997) | rankings : ranking_points (2016, 1428, 678), tours (12, 38, 3), ranking (1169, 962, 1023), ranking_date (19940207, 20080218, 20081215), player_id (214106, 202540, 203498)", "schema_without_content": "players : country_code , player_id , hand , birth_date , first_name , last_name | matches : loser_hand , winner_hand , winner_rank , draw_size , winner_id , round , loser_ioc , tournament_name , winner_seed , winner_ioc , tourney_level , winner_rank_points , loser_name , event_name , winner_entry , surface , loser_ht , tourney_id , loser_seed , winner_name , winner_age , loser_entry , score 6-4\", \"6-2 3-6 6-2\", \"7-5 7-6\", loser_rank_points , loser_id , year , loser_rank , match_num , tourney_date , minutes , best_of , winner_ht , loser_age | rankings : ranking_points , tours , ranking , ranking_date , player_id", "extra_map": { "matches": { "tourney_name": [ "event_name", "tournament_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year", "event_name", "tournament_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "names of tournaments": "matches.tourney_name", "matches": "matches" } }, { "question": "list the #names of all winners# who played in both 2013 and 2016.", "db_id": "wta_1", "orig_query": "select winner_name from matches where year = 2013 intersect select winner_name from matches where year = 2016", "schema_with_content": "players : country_code (\"KAZ\", \"BOL\", \"KUW\"), player_id (201497, 214520, 202550), first_name (\"Khim\", \"Dakshata\", \"Madoka\"), last_name (\"Iglupas\", \"Flichtbeil\", \"Kanehira\"), birth_date (19880106, 19851107, 19851001), hand (\"U\", \"R\", \"U\") | matches : minutes (134, 66, 121), loser_name (\"Yanina Wickmayer\", \"Kristina Mladenovic\", \"Victoria Azarenka\"), tourney_date (20170220, 20170626, 20160829), tourney_level (\"G\", \"I\", \"I\"), loser_hand (\"R\", \"L\"), loser_entry (\"\"), winner_seed (10, 19, 13), loser_ioc (\"BLR\", \"HUN\", \"CZE\"), score (\"1-6 7-6(9) 6-4\", \"6-1 6-4\", \"6-1 3-0 RET\"), match_num (218, 163, 260), winner_entry (\"\"), winner_hand (\"R\", \"L\"), round (\"R16\", \"R16\", \"F\"), best_of (3), loser_age (26.078028747399998, 26.4804928131, 24.7802874743), loser_rank (81, 60, 17), tourney_name (\"Biel\", \"Florianopolis\", \"Indian Wells\"), draw_size (32, 64, 12), winning_player_name (\"Madison Keys\", \"Anastasia Pavlyuchenkova\", \"Alize Cornet\"), loser_seed (4, 17, 18), surface (\"Hard\", \"Clay\", \"Grass\"), winner_ioc (\"CHN\", \"UKR\", \"ITA\"), year (2013, 2016, 2017), loser_ht (164, 164, 157), winner_ht (175, 170, 179), winner_rank (2, 61, 25), winner_age (24.2628336756, 23.6002737851, 25.0759753593), loser_id (201596, 201320, 202429), winner_id (201499, 201493, 201595), winner_rank_points (2840, 3637, 1180), tourney_id (\"2016-1050\", \"2017-M004\", \"2017-1094\"), loser_rank_points (3715, 1242, 1571), victorious_player_name (\"Madison Keys\", \"Anastasia Pavlyuchenkova\", \"Alize Cornet\") | rankings : player_id (211774, 202896, 205815), ranking_date (20020923, 20060101, 20010319), ranking (1185, 826, 115), tours (34, 0, 16), ranking_points (5870, 1257, 861)", "schema_without_content": "players : country_code , player_id , first_name , last_name , birth_date , hand | matches : minutes , loser_name , tourney_date , tourney_level , loser_hand , loser_entry , winner_seed , loser_ioc , score 6-4\", \"6-1 6-4\", \"6-1 3-0 RET\", match_num , winner_entry , winner_hand , round , best_of , loser_age , loser_rank , tourney_name , draw_size , winning_player_name , loser_seed , surface , winner_ioc , year , loser_ht , winner_ht , winner_rank , winner_age , loser_id , winner_id , winner_rank_points , tourney_id , loser_rank_points , victorious_player_name | rankings : player_id , ranking_date , ranking , tours , ranking_points", "extra_map": { "matches": { "winner_name": [ "winning_player_name", "victorious_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_rank", "winner_rank_points", "winner_seed", "year", "winning_player_name", "victorious_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "names of all winners": "matches.winner_name" } }, { "question": "what are the #names of players# who #won# in both 2013 and 2016?", "db_id": "wta_1", "orig_query": "select winner_name from matches where year = 2013 intersect select winner_name from matches where year = 2016", "schema_with_content": "players : first_name (\"Irina\", \"Abi\", \"Li Yao\"), country_code (\"CHI\", \"QAT\", \"HAI\"), player_id (202705, 204170, 209379), hand (\"L\", \"R\", \"L\"), last_name (\"Listowska\", \"Simion\", \"Maya Thompson\"), birth_date (19840807, 19950525, 19680306) | matches : winning_player_name (\"Victoria Azarenka\", \"Garbine Muguruza\", \"Karolina Pliskova\"), winner_age (26.6502395619, 26.7433264887, 22.6228610541), loser_ioc (\"BLR\", \"UKR\", \"ITA\"), minutes (137, 78, 88), loser_hand (\"R\", \"L\"), tourney_level (\"W\", \"I\", \"I\"), winner_hand (\"R\", \"L\"), surface (\"Hard\", \"Clay\", \"Grass\"), score (\"6-4 3-6 7-6(3)\", \"6-7(3) 6-2 6-3\", \"6-3 4-6 6-4\"), loser_age (30.045174538, 24.2628336756, 25.4291581109), draw_size (128, 4, 64), loser_rank_points (6010, 2320, 4345), winner_entry (\"\"), loser_entry (\"\"), winner_ioc (\"ITA\", \"BLR\", \"NED\"), loser_id (201540, 201421, 202428), loser_seed (18, 26, 23), winner_seed (7, 11, 13), winner_ht (164, 180, 182), best_of (3), tourney_id (\"2016-1074\", \"2016-1003\", \"2017-1003\"), victorious_player_name (\"Victoria Azarenka\", \"Garbine Muguruza\", \"Karolina Pliskova\"), tourney_date (20160620, 20170529, 20170403), winner_id (201594, 201474, 201425), winner_rank_points (2885, 3417, 4670), loser_ht (177, 170, 181), winner_rank (14, 12, 37), loser_rank (60, 19, 59), loser_name (\"Serena Williams\", \"Angelique Kerber\", \"Venus Williams\"), year (2013, 2016, 2017), match_num (290, 300, 276), round (\"F\", \"F\", \"R16\"), tourney_name (\"Roland Garros\", \"Kaohsiung\", \"Prague\") | rankings : ranking_points (292, 1323, 630), ranking_date (19960722, 20151102, 19880104), player_id (204235, 214873, 214812), tours (9, 17, 19), ranking (912, 1507, 699)", "schema_without_content": "players : first_name , country_code , player_id , hand , last_name , birth_date | matches : winning_player_name , winner_age , loser_ioc , minutes , loser_hand , tourney_level , winner_hand , surface , score \", \"6-7 6-2 6-3\", \"6-3 4-6 6-4\", loser_age , draw_size , loser_rank_points , winner_entry , loser_entry , winner_ioc , loser_id , loser_seed , winner_seed , winner_ht , best_of , tourney_id , victorious_player_name , tourney_date , winner_id , winner_rank_points , loser_ht , winner_rank , loser_rank , loser_name , year , match_num , round , tourney_name | rankings : ranking_points , ranking_date , player_id , tours , ranking", "extra_map": { "matches": { "winner_name": [ "winning_player_name", "victorious_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_rank", "winner_rank_points", "winner_seed", "year", "winning_player_name", "victorious_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "names of players": "matches.winner_name", "won": "matches" } }, { "question": "what are the #country code# and #first name of the players# who #won# in both #tourney wta championships# and #australian open# ?", "db_id": "wta_1", "orig_query": "select t1.country_code, t1.first_name from players as t1 join matches as t2 on t1.player_id = t2.winner_id where t2.tourney_name = 'WTA Championships' intersect select t1.country_code, t1.first_name from players as t1 join matches as t2 on t1.player_id = t2.winner_id where t2.tourney_name = 'Australian Open'", "schema_with_content": "players : country_code (\"TJK\", \"MLT\", \"MLT\"), given_name (\"Ran\", \"Ghizela\", \"Emelyn\"), hand (\"L\", \"U\", \"\"), last_name (\"Wajdzik\", \"Gonzalez Rico\", \"Binnie\"), player_id (201040, 215031, 203837), birth_date (19960226, 20001117, 19820617), forename (\"Ran\", \"Ghizela\", \"Emelyn\") | matches : tourney_name (\"Auckland\", \"WTA Championships\", \"Roland Garros\"), loser_hand (\"R\", \"L\"), loser_seed (15, 32, 22), surface (\"Hard\", \"Clay\", \"Grass\"), tourney_date (20170424, 20160606, 20170403), loser_ioc (\"CZE\", \"FRA\", \"CZE\"), loser_ht (181, 172, 157), winner_id (201496, 201521, 200748), draw_size (32, 32, 128), best_of (3), year (2013, 2016, 2017), loser_name (\"Camila Giorgi\", \"Dominika Cibulkova\", \"Serena Williams\"), minutes (136, 113, 128), loser_rank (46, 17, 30), match_num (282, 213, 152), winner_name (\"Jelena Jankovic\", \"Serena Williams\", \"Samantha Stosur\"), tourney_level (\"W\", \"G\", \"I\"), loser_entry (\"\"), winner_entry (\"\"), loser_id (202494, 201535, 201615), winner_rank_points (2475, 5860, 3715), winner_seed (3, 11, 10), winner_ioc (\"RUS\", \"CZE\", \"NED\"), winner_hand (\"R\", \"L\"), score (\"6-3 6-7(3) 7-6(4)\", \"6-4 6-3\", \"7-6(2) 7-6(5)\"), winner_age (23.40862423, 34.7515400411, 27.463381245700003), winner_ht (180, 181, 184), winner_rank (19, 45, 45), tourney_id (\"2017-1079\", \"2016-580\", \"2016-M009\"), loser_rank_points (6940, 1729, 2146), round (\"BR\", \"SF\", \"QF\"), loser_age (24.892539356599997, 24.2245037645, 25.7275838467) | rankings : ranking_points (1292, 2745, 4960), player_id (206135, 215832, 212045), tours (38, 24, 12), ranking (697, 77, 1148), ranking_date (19990719, 19951120, 20050328)", "schema_without_content": "players : country_code , given_name , hand , last_name , player_id , birth_date , forename | matches : tourney_name , loser_hand , loser_seed , surface , tourney_date , loser_ioc , loser_ht , winner_id , draw_size , best_of , year , loser_name , minutes , loser_rank , match_num , winner_name , tourney_level , loser_entry , winner_entry , loser_id , winner_rank_points , winner_seed , winner_ioc , winner_hand , score 7-6\", \"6-4 6-3\", \"7-6 7-6\", winner_age , winner_ht , winner_rank , tourney_id , loser_rank_points , round , loser_age | rankings : ranking_points , player_id , tours , ranking , ranking_date", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "country code": "players.country_code", "first name of the players": "players.first_name", "won": "matches.winner_id", "tourney WTA Championships": "matches.tourney_name", "Australian Open": "matches.tourney_name" } }, { "question": "what are the #country code# and #first name of the players# who #won# in both #tourney wta championships# and #australian open# ?", "db_id": "wta_1", "orig_query": "select t1.country_code, t1.first_name from players as t1 join matches as t2 on t1.player_id = t2.winner_id where t2.tourney_name = 'WTA Championships' intersect select t1.country_code, t1.first_name from players as t1 join matches as t2 on t1.player_id = t2.winner_id where t2.tourney_name = 'Australian Open'", "schema_with_content": "players : player_id (204613, 215444, 215992), last_name (\"Zivec Skulj\", \"Knott\", \"Woldegebriel\"), first_name (\"Evita\", \"Sri\", \"Kerry\"), hand (\"\", \"\", \"\"), nationality_code (\"SMR\", \"HON\", \"CAN\"), country_id (\"SMR\", \"HON\", \"CAN\"), birth_date (19851031, 19940816, 19990721) | matches : minutes (153, 114, 98), loser_hand (\"R\", \"L\"), loser_seed (11, 1, 29), winner_ioc (\"UKR\", \"USA\", \"SVK\"), tourney_id (\"2017-0718\", \"2016-0528\", \"2017-M021\"), match_num (278, 274, 156), loser_rank (29, 1, 12), best_of (3), winner_rank (22, 26, 10), winner_hand (\"R\", \"L\"), loser_name (\"Mona Barthel\", \"Alize Cornet\", \"Ekaterina Makarova\"), round (\"RR\", \"R32\", \"QF\"), winner_id (200748, 200748, 201693), winner_ht (183, 178, 183), loser_age (34.6557152635, 23.7919233402, 29.8480492813), tourney_date (20161010, 20160613, 20170522), winner_seed (5, 14, 27), year (2013, 2016, 2017), winner_rank_points (2840, 4600, 1026), loser_id (201693, 202429, 201320), winner_entry (\"\"), loser_rank_points (1520, 2005, 7340), surface (\"Hard\", \"Clay\", \"Grass\"), winner_name (\"Sloane Stephens\", \"Irina Camelia Begu\", \"Petra Kvitova\"), loser_ioc (\"USA\", \"SRB\", \"SWE\"), tourney_name (\"Madrid\", \"Sydney\", \"Indian Wells\"), draw_size (4, 12, 64), tourney_level (\"G\", \"W\", \"W\"), score (\"6-1 4-6 6-0\", \"7-6(5) 6-4\", \"6-4 3-6 6-1\"), loser_ht (161, 184, 174), winner_age (24.8268309377, 25.6700889802, 27.0034223135), loser_entry (\"\") | rankings : tours (24, 4, 38), player_id (202588, 203463, 213539), ranking (1370, 1362, 192), ranking_points (2161, 1476, 5175), ranking_date (20090302, 19921123, 19970317)", "schema_without_content": "players : player_id , last_name , first_name , hand , nationality_code , country_id , birth_date | matches : minutes , loser_hand , loser_seed , winner_ioc , tourney_id , match_num , loser_rank , best_of , winner_rank , winner_hand , loser_name , round , winner_id , winner_ht , loser_age , tourney_date , winner_seed , year , winner_rank_points , loser_id , winner_entry , loser_rank_points , surface , winner_name , loser_ioc , tourney_name , draw_size , tourney_level , score 6-4\", \"6-4 3-6 6-1\", loser_ht , winner_age , loser_entry | rankings : tours , player_id , ranking , ranking_points , ranking_date", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "country code": "players.country_code", "first name of the players": "players.first_name", "won": "matches.winner_id", "tourney WTA Championships": "matches.tourney_name", "Australian Open": "matches.tourney_name" } }, { "question": "what are the #first names# and #country codes for players# who #won# both the #wta championships# and the #australian open# ?", "db_id": "wta_1", "orig_query": "select t1.country_code, t1.first_name from players as t1 join matches as t2 on t1.player_id = t2.winner_id where t2.tourney_name = 'WTA Championships' intersect select t1.country_code, t1.first_name from players as t1 join matches as t2 on t1.player_id = t2.winner_id where t2.tourney_name = 'Australian Open'", "schema_with_content": "players : last_name (\"Fraga Perez\", \"Grossi\", \"Dumitrescu\"), birth_date (19950206, 19930113, 19810622), hand (\"L\", \"L\", \"R\"), country_code (\"BER\", \"NCA\", \"AUS\"), forename (\"Mitsumi\", \"Anete\", \"Virag\"), given_name (\"Mitsumi\", \"Anete\", \"Virag\"), player_id (201848, 212374, 210106) | matches : winner_name (\"Elena Vesnina\", \"Sloane Stephens\", \"Elena Vesnina\"), winner_rank (50, 50, 14), score (\"6-4 6-4\", \"7-6(6) 6-1\", \"6-4 3-6 6-2\"), winner_ioc (\"BEL\", \"UKR\", \"ROU\"), tourney_date (20160627, 20160321, 20160926), winner_rank_points (4745, 2320, 2080), loser_age (22.4887063655, 31.0006844627, 22.4503764545), loser_name (\"Christina Mchale\", \"Camila Giorgi\", \"Yanina Wickmayer\"), tourney_id (\"2017-1052\", \"2016-M035\", \"2016-0804\"), best_of (3), loser_id (201465, 201347, 201517), winner_seed (8, 21, 21), loser_entry (\"\"), winner_age (33.0485968515, 22.135523614, 28.741957563299998), loser_ht (178, 168, 180), winner_hand (\"R\", \"L\"), winner_ht (184, 177, 185), surface (\"Hard\", \"Clay\", \"Grass\"), minutes (142, 51, 179), year (2013, 2016, 2017), winner_id (201521, 201320, 201504), match_num (254, 222, 254), draw_size (32, 12, 64), winner_entry (\"\"), loser_seed (27, 1, 20), loser_hand (\"R\", \"L\"), loser_rank_points (3285, 1936, 2585), round (\"SF\", \"F\", \"QF\"), loser_ioc (\"CHN\", \"TPE\", \"ESP\"), tourney_name (\"Rabat\", \"Bucharest\", \"Moscow\"), loser_rank (23, 17, 52), tourney_level (\"I\", \"P\", \"P\") | rankings : ranking_points (3885, 320, 3481), ranking (1322, 636, 450), tours (29, 18, 40), player_id (206375, 205840, 215999), ranking_date (19950911, 19920217, 19991227)", "schema_without_content": "players : last_name , birth_date , hand , country_code , forename , given_name , player_id | matches : winner_name , winner_rank , score 6-1\", \"6-4 3-6 6-2\", winner_ioc , tourney_date , winner_rank_points , loser_age , loser_name , tourney_id , best_of , loser_id , winner_seed , loser_entry , winner_age , loser_ht , winner_hand , winner_ht , surface , minutes , year , winner_id , match_num , draw_size , winner_entry , loser_seed , loser_hand , loser_rank_points , round , loser_ioc , tourney_name , loser_rank , tourney_level | rankings : ranking_points , ranking , tours , player_id , ranking_date", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first names": "players.first_name", "country codes for players": "players.country_code", "won": "matches.winner_id", "WTA Championships": "matches.tourney_name", "Australian Open": "matches.tourney_name" } }, { "question": "what are the #first names# and #country codes for players# who #won# both the #wta championships# and the #australian open# ?", "db_id": "wta_1", "orig_query": "select t1.country_code, t1.first_name from players as t1 join matches as t2 on t1.player_id = t2.winner_id where t2.tourney_name = 'WTA Championships' intersect select t1.country_code, t1.first_name from players as t1 join matches as t2 on t1.player_id = t2.winner_id where t2.tourney_name = 'Australian Open'", "schema_with_content": "players : player_id (215021, 217085, 216764), birth_date (19780818, 19640329, 19961214), nationality_code (\"CMR\", \"DOM\", \"CYP\"), country_id (\"CMR\", \"DOM\", \"CYP\"), last_name (\"Soesilo\", \"Hiraoka\", \"Augustyniak\"), hand (\"R\", \"\", \"L\"), first_name (\"Roshenka\", \"Widhi\", \"Mary Anne\") | matches : match_num (209, 148, 260), loser_hand (\"R\", \"L\"), winner_rank_points (3855, 5151, 8330), loser_rank_points (991, 1475, 3940), loser_age (22.9869952088, 30.1546885695, 30.045174538), loser_name (\"Camila Giorgi\", \"Magdalena Rybarikova\", \"Irina Camelia Begu\"), tourney_name (\"Prague\", \"Doha\", \"Acapulco\"), loser_ht (178, 180, 183), year (2013, 2016, 2017), loser_entry (\"\"), loser_ioc (\"JPN\", \"NED\", \"AUS\"), loser_id (201517, 201506, 202494), tourney_level (\"W\", \"W\", \"P\"), round (\"RR\", \"QF\", \"BR\"), best_of (3), minutes (111, 184, 138), loser_rank (25, 47, 45), score (\"6-1 4-6 6-1\", \"7-5 7-5\", \"6-4 4-6 6-4\"), loser_seed (4, 9, 21), winner_ioc (\"AUS\", \"AUS\", \"SRB\"), draw_size (8, 8, 64), winner_rank (27, 19, 53), winner_id (201595, 201458, 201593), surface (\"Hard\", \"Clay\", \"Grass\"), winner_name (\"Angelique Kerber\", \"Sloane Stephens\", \"Coco Vandeweghe\"), tourney_id (\"2016-0602\", \"2016-580\", \"2016-M004\"), winner_ht (173, 185, 168), winner_age (23.983572895300004, 25.7275838467, 23.2361396304), winner_seed (24, 4, 3), tourney_date (20160808, 20160321, 20170814), winner_hand (\"R\", \"L\"), winner_entry (\"\") | rankings : ranking_date (20100510, 19950911, 19910128), tours (26, 1, 6), ranking_points (8046, 1610, 60), player_id (205492, 211902, 204426), ranking (193, 528, 545)", "schema_without_content": "players : player_id , birth_date , nationality_code , country_id , last_name , hand , first_name | matches : match_num , loser_hand , winner_rank_points , loser_rank_points , loser_age , loser_name , tourney_name , loser_ht , year , loser_entry , loser_ioc , loser_id , tourney_level , round , best_of , minutes , loser_rank , score , loser_seed , winner_ioc , draw_size , winner_rank , winner_id , surface , winner_name , tourney_id , winner_ht , winner_age , winner_seed , tourney_date , winner_hand , winner_entry | rankings : ranking_date , tours , ranking_points , player_id , ranking", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first names": "players.first_name", "country codes for players": "players.country_code", "won": "matches.winner_id", "WTA Championships": "matches.tourney_name", "Australian Open": "matches.tourney_name" } }, { "question": "find the #first name# and #country code of the oldest player# .", "db_id": "wta_1", "orig_query": "select first_name, country_code from players order by birth_date limit 1", "schema_with_content": "players : given_name (\"Roosh\", \"Cornelia\", \"Ana Marija\"), birth_date (19620424, 19760530, 20010307), country_code (\"ETH\", \"BAR\", \"RHO\"), player_id (211361, 203272, 202617), hand (\"R\", \"R\", \"L\"), last_name (\"Franko\", \"Bisagas\", \"Braeutigam\"), forename (\"Roosh\", \"Cornelia\", \"Ana Marija\") | matches : winner_seed (7, 21, 27), loser_rank (39, 37, 2), draw_size (64, 8, 4), winner_rank_points (1386, 3010, 5210), loser_id (200033, 201593, 201496), minutes (163, 113, 46), surface (\"Hard\", \"Clay\", \"Grass\"), best_of (3), winner_name (\"Elena Vesnina\", \"Misaki Doi\", \"Coco Vandeweghe\"), loser_ioc (\"SRB\", \"ROU\", \"CHN\"), round (\"RR\", \"F\", \"F\"), winner_hand (\"R\", \"L\"), winner_rank (8, 23, 19), winner_id (202469, 200033, 201593), tourney_id (\"2017-1003\", \"2016-1086\", \"2016-0703\"), loser_rank_points (7050, 3100, 7035), match_num (278, 290, 287), tourney_level (\"P\", \"I\", \"W\"), year (2013, 2016, 2017), loser_hand (\"R\", \"L\"), tourney_name (\"New Haven\", \"Zhuhai\", \"Wuhan\"), winner_age (28.733744011, 25.0622861054, 25.7275838467), winner_entry (\"\"), loser_seed (18, 29, 18), loser_entry (\"\"), tourney_date (20170410, 20170529, 20170522), score (\"6-2 6-1\", \"2-6 6-4 6-1\", \"4-6 7-5 6-1\"), loser_age (33.0102669405, 21.6837782341, 28.689938398400002), loser_name (\"Ana Ivanovic\", \"Lucie Safarova\", \"Lucie Safarova\"), loser_ht (162, 177, 159), winner_ioc (\"POL\", \"NED\", \"JPN\"), winner_ht (161, 161, 173) | rankings : player_id (211728, 201476, 210737), ranking_date (20031027, 20101227, 19980803), ranking_points (2600, 598, 5817), tours (1, 36, 29), ranking (818, 1122, 1482)", "schema_without_content": "players : given_name , birth_date , country_code , player_id , hand , last_name , forename | matches : winner_seed , loser_rank , draw_size , winner_rank_points , loser_id , minutes , surface , best_of , winner_name , loser_ioc , round , winner_hand , winner_rank , winner_id , tourney_id , loser_rank_points , match_num , tourney_level , year , loser_hand , tourney_name , winner_age , winner_entry , loser_seed , loser_entry , tourney_date , score , loser_age , loser_name , loser_ht , winner_ioc , winner_ht | rankings : player_id , ranking_date , ranking_points , tours , ranking", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "country code of the oldest player": "players.country_code" } }, { "question": "find the #first name# and #country code of the oldest player# .", "db_id": "wta_1", "orig_query": "select first_name, country_code from players order by birth_date limit 1", "schema_with_content": "players : last_name (\"Biryukova\", \"Stigliano\", \"Perez Somarriba\"), player_id (209439, 202006, 206825), first_name (\"Tapiwa\", \"Maria Andreina\", \"Misleydis\"), hand (\"\", \"L\", \"L\"), country_id (\"ANT\", \"AZE\", \"BOT\"), birth_date (19870311, 19760729, 19780208), nationality_code (\"ANT\", \"AZE\", \"BOT\") | matches : winner_rank_points (1015, 3540, 1015), tourney_id (\"2016-0806\", \"2017-0406\", \"2016-0528\"), match_num (148, 274, 208), score (\"7-5 6-0\", \"6-1 6-0\", \"7-6(4) 6-2\"), winner_entry (\"\"), loser_ht (184, 168, 174), tourney_level (\"W\", \"W\", \"W\"), tourney_date (20170424, 20160404, 20161024), loser_age (31.9370294319, 27.0937713895, 26.135523614), winner_ioc (\"FRA\", \"CHN\", \"AUS\"), round (\"R16\", \"BR\", \"R16\"), loser_hand (\"R\", \"L\"), loser_rank (15, 40, 12), winner_seed (24, 7, 14), tourney_name (\"Gstaad\", \"Stanford\", \"Limoges\"), draw_size (32, 12, 128), loser_entry (\"\"), loser_name (\"Lesia Tsurenko\", \"Johanna Larsson\", \"Ana Ivanovic\"), winner_age (21.5222450376, 27.3921971253, 23.8494182067), year (2013, 2016, 2017), minutes (74, 77, 137), loser_ioc (\"TPE\", \"USA\", \"NED\"), winner_rank (11, 34, 20), loser_seed (27, 21, 3), loser_id (201504, 200748, 201465), winner_ht (182, 177, 177), winner_name (\"Angelique Kerber\", \"Sloane Stephens\", \"Timea Babos\"), loser_rank_points (1242, 2070, 3285), winner_id (201495, 201474, 200748), winner_hand (\"R\", \"L\"), surface (\"Hard\", \"Clay\", \"Grass\"), best_of (3) | rankings : ranking (1104, 108, 1140), tours (31, 22, 1), ranking_date (20040719, 20040329, 19961111), player_id (203441, 201588, 201086), ranking_points (2895, 410, 2154)", "schema_without_content": "players : last_name , player_id , first_name , hand , country_id , birth_date , nationality_code | matches : winner_rank_points , tourney_id , match_num , score 6-2\", winner_entry , loser_ht , tourney_level , tourney_date , loser_age , winner_ioc , round , loser_hand , loser_rank , winner_seed , tourney_name , draw_size , loser_entry , loser_name , winner_age , year , minutes , loser_ioc , winner_rank , loser_seed , loser_id , winner_ht , winner_name , loser_rank_points , winner_id , winner_hand , surface , best_of | rankings : ranking , tours , ranking_date , player_id , ranking_points", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "country code of the oldest player": "players.country_code" } }, { "question": "what is the #first name# and #country code of the oldest player# ?", "db_id": "wta_1", "orig_query": "select first_name, country_code from players order by birth_date limit 1", "schema_with_content": "players : player_id (208814, 214379, 201303), last_name (\"Murillo\", \"Melis\", \"De Cunto\"), country_code (\"KOR\", \"TPE\", \"DEN\"), forename (\"Cathrin\", \"Ekaterina\", \"Mudarwati\"), given_name (\"Cathrin\", \"Ekaterina\", \"Mudarwati\"), hand (\"L\", \"U\", \"R\"), birth_date (19950904, 19710326, 19870629) | matches : minutes (108, 105, 58), loser_age (23.6002737851, 28.689938398400002, 24.1177275838), winner_name (\"Na Li\", \"Karolina Pliskova\", \"Sloane Stephens\"), tourney_date (20170821, 20170102, 20160627), winner_age (21.472963723499998, 24.402464065700002, 27.986310746100003), winner_ioc (\"UKR\", \"SRB\", \"USA\"), tourney_name (\"Prague\", \"Dubai\", \"Wimbledon\"), winner_seed (30, 20, 4), loser_entry (\"\"), loser_seed (20, 22, 24), surface (\"Hard\", \"Clay\", \"Grass\"), draw_size (32, 128, 64), winner_rank_points (3763, 2895, 3390), loser_ioc (\"CHN\", \"UKR\", \"CHN\"), loser_id (202429, 201444, 201518), winner_entry (\"\"), year (2013, 2016, 2017), loser_rank_points (3483, 7676, 1665), winner_ht (180, 168, 185), tourney_id (\"2017-1094\", \"2017-560\", \"2016-M006\"), match_num (283, 276, 206), loser_hand (\"R\", \"L\"), best_of (3), round (\"F\", \"QF\", \"SF\"), winner_rank (52, 22, 2), score (\"3-6 6-2 6-3\", \"7-6(1) 1-6 6-2\", \"6-4 6-3 \"), loser_name (\"Johanna Larsson\", \"Coco Vandeweghe\", \"Svetlana Kuznetsova\"), tourney_level (\"W\", \"G\", \"W\"), winner_id (201347, 201595, 201458), loser_ht (168, 163, 169), loser_rank (40, 45, 46), winner_hand (\"R\", \"L\") | rankings : ranking (1293, 944, 888), ranking_points (1702, 2727, 2415), tours (6, 9, 38), player_id (215388, 203449, 205967), ranking_date (19930816, 20110207, 20021028)", "schema_without_content": "players : player_id , last_name , country_code , forename , given_name , hand , birth_date | matches : minutes , loser_age , winner_name , tourney_date , winner_age , winner_ioc , tourney_name , winner_seed , loser_entry , loser_seed , surface , draw_size , winner_rank_points , loser_ioc , loser_id , winner_entry , year , loser_rank_points , winner_ht , tourney_id , match_num , loser_hand , best_of , round , winner_rank , score 1-6 6-2\", \"6-4 6-3 \", loser_name , tourney_level , winner_id , loser_ht , loser_rank , winner_hand | rankings : ranking , ranking_points , tours , player_id , ranking_date", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "country code of the oldest player": "players.country_code" } }, { "question": "what is the #first name# and #country code of the oldest player# ?", "db_id": "wta_1", "orig_query": "select first_name, country_code from players order by birth_date limit 1", "schema_with_content": "players : nationality_code (\"SLO\", \"INA\", \"AHO\"), last_name (\"Kan\", \"Pierre Louis\", \"Combemorel\"), player_id (218383, 204531, 212421), hand (\"R\", \"L\", \"\"), country_id (\"SLO\", \"INA\", \"AHO\"), birth_date (19950328, 19830903, 19820401), first_name (\"Hayaka\", \"Vinitha\", \"Yelena\") | matches : tourney_name (\"Bucharest\", \"WTA Championships\", \"Acapulco\"), winner_age (21.626283367600003, 24.4435318275, 27.748117727600004), tourney_id (\"2016-1072\", \"2017-540\", \"2016-M024\"), winner_rank (37, 45, 27), winner_name (\"Karolina Pliskova\", \"Lucie Safarova\", \"Misaki Doi\"), tourney_level (\"W\", \"G\", \"P\"), loser_name (\"Camila Giorgi\", \"Stefanie Voegele\", \"Kirsten Flipkens\"), winner_ht (174, 164, 170), round (\"R16\", \"QF\", \"R16\"), loser_seed (6, 6, 26), winner_id (201595, 200748, 202428), tourney_date (20160829, 20160620, 20170612), loser_ioc (\"ROU\", \"HUN\", \"NED\"), winner_seed (3, 8, 21), loser_hand (\"R\", \"L\"), surface (\"Hard\", \"Clay\", \"Grass\"), loser_age (27.0472279261, 24.4407939767, 32.3586584531), draw_size (4, 32, 12), score (\"6-4 6-3\", \"4-6 7-5 6-1\", \"7-6(5) 7-6(2)\"), loser_entry (\"\"), winner_hand (\"R\", \"L\"), best_of (3), loser_ht (175, 169, 163), loser_rank_points (4100, 991, 4745), winner_entry (\"\"), loser_id (201593, 201474, 201320), year (2013, 2016, 2017), winner_ioc (\"USA\", \"USA\", \"CZE\"), match_num (264, 300, 213), minutes (74, 91, 51), loser_rank (2, 25, 3), winner_rank_points (2094, 3715, 2585) | rankings : ranking_points (811, 81, 1521), player_id (214460, 210584, 212054), ranking (1458, 663, 1285), tours (40, 28, 15), ranking_date (20150427, 20170320, 20080602)", "schema_without_content": "players : nationality_code , last_name , player_id , hand , country_id , birth_date , first_name | matches : tourney_name , winner_age , tourney_id , winner_rank , winner_name , tourney_level , loser_name , winner_ht , round , loser_seed , winner_id , tourney_date , loser_ioc , winner_seed , loser_hand , surface , loser_age , draw_size , score 7-6\", loser_entry , winner_hand , best_of , loser_ht , loser_rank_points , winner_entry , loser_id , year , winner_ioc , match_num , minutes , loser_rank , winner_rank_points | rankings : ranking_points , player_id , ranking , tours , ranking_date", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "country code of the oldest player": "players.country_code" } }, { "question": "list the first and #last name of all players# in the order of #birth date# .", "db_id": "wta_1", "orig_query": "select first_name, last_name from players order by birth_date", "schema_with_content": "players : first_name (\"Diana\", \"Milka\", \"Marie Gaiane\"), player_id (208338, 204065, 203887), hand (\"L\", \"\", \"U\"), surname (\"Mayevskaya\", \"Koch Benvenuto\", \"Jittakoat\"), family_name (\"Mayevskaya\", \"Koch Benvenuto\", \"Jittakoat\"), birth_date (20030620, 20010926, 19901108), country_code (\"NCA\", \"BUL\", \"SIN\") | matches : score (\"6-2 5-7 6-4\", \"7-6(5) 6-4\", \"3-6 6-2 6-2\"), loser_ioc (\"AUS\", \"AUS\", \"JPN\"), winner_seed (14, 4, 2), loser_id (201465, 201535, 201527), year (2013, 2016, 2017), winner_id (201619, 201504, 202469), loser_entry (\"\"), loser_age (32.0136892539, 27.0034223135, 31.9972621492), loser_name (\"Monica Niculescu\", \"Lucie Safarova\", \"Mona Barthel\"), winner_entry (\"\"), winner_hand (\"R\", \"L\"), loser_seed (30, 28, 17), loser_rank_points (3090, 5075, 2295), surface (\"Hard\", \"Clay\", \"Grass\"), winner_ht (175, 177, 183), match_num (224, 225, 258), round (\"RR\", \"QF\", \"RR\"), winner_ioc (\"JPN\", \"RUS\", \"ESP\"), minutes (77, 120, 129), best_of (3), winner_rank_points (4745, 2456, 3020), winner_rank (61, 5, 22), winner_age (27.430527036300003, 28.4599589322, 22.672142368200003), tourney_id (\"2016-M007\", \"2016-M024\", \"2016-M001\"), tourney_level (\"P\", \"W\", \"I\"), draw_size (128, 12, 12), winner_name (\"Alize Cornet\", \"Barbora Zahlavova Strycova\", \"Johanna Larsson\"), loser_ht (182, 174, 173), loser_hand (\"R\", \"L\"), tourney_date (20170227, 20161003, 20161003), loser_rank (19, 12, 1), tourney_name (\"Bastad\", \"Rome\", \"Madrid\") | rankings : ranking (239, 1356, 1340), ranking_points (1776, 576, 1620), ranking_date (19900416, 19940711, 19880829), tours (38, 24, 3), player_id (205204, 213515, 203561)", "schema_without_content": "players : first_name , player_id , hand , surname , family_name , birth_date , country_code | matches : score 6-4\", \"3-6 6-2 6-2\", loser_ioc , winner_seed , loser_id , year , winner_id , loser_entry , loser_age , loser_name , winner_entry , winner_hand , loser_seed , loser_rank_points , surface , winner_ht , match_num , round , winner_ioc , minutes , best_of , winner_rank_points , winner_rank , winner_age , tourney_id , tourney_level , draw_size , winner_name , loser_ht , loser_hand , tourney_date , loser_rank , tourney_name | rankings : ranking , ranking_points , ranking_date , tours , player_id", "extra_map": { "players": { "last_name": [ "family_name", "surname" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "hand", "birth_date", "country_code", "family_name", "surname" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "last name of all players": "players.last_name", "birth date": "players.birth_date", "first name": "players.first_name" } }, { "question": "list the first and #last name of all players# in the order of #birth date# .", "db_id": "wta_1", "orig_query": "select first_name, last_name from players order by birth_date", "schema_with_content": "players : hand (\"L\", \"U\", \"U\"), birth_date (19431129, 19750607, 19971226), forename (\"Duda\", \"Dyane\", \"Guadalupe\"), country_code (\"POL\", \"rc=\", \"FIJ\"), last_name (\"Milinkovicova\", \"Gloria\", \"Insaurralde\"), player_id (212987, 214163, 213573), given_name (\"Duda\", \"Dyane\", \"Guadalupe\") | matches : minutes (62, 161, 58), match_num (216, 161, 202), loser_rank (40, 8, 29), winner_ht (185, 175, 181), round (\"BR\", \"SF\", \"BR\"), loser_ht (183, 183, 159), draw_size (32, 32, 4), winner_rank (30, 11, 4), score (\"7-6(2) 6-2\", \"6-2 5-7 7-5\", \"6-1 6-3\"), winner_hand (\"R\", \"L\"), year (2013, 2016, 2017), best_of (3), winner_ioc (\"UKR\", \"BEL\", \"BEL\"), loser_name (\"Barbora Zahlavova Strycova\", \"Shuai Peng\", \"Monica Niculescu\"), loser_seed (9, 2, 16), loser_id (201540, 201465, 201458), tourney_level (\"P\", \"P\", \"W\"), winner_seed (4, 5, 21), loser_hand (\"R\", \"L\"), loser_entry (\"\"), winner_age (27.786447638600002, 32.0164271047, 28.1724845996), tourney_name (\"Prague\", \"Charleston\", \"Moscow\"), loser_ioc (\"USA\", \"SUI\", \"ROU\"), winner_name (\"Sara Errani\", \"Samantha Stosur\", \"Victoria Azarenka\"), surface (\"Hard\", \"Clay\", \"Grass\"), tourney_id (\"2016-M001\", \"2016-M007\", \"2016-M024\"), winner_id (201499, 201493, 201505), loser_rank_points (5340, 2531, 8730), winner_entry (\"\"), tourney_date (20170424, 20160321, 20160321), loser_age (30.1546885695, 28.5804243669, 28.5804243669), winner_rank_points (3050, 2920, 1180) | rankings : ranking (289, 236, 167), ranking_points (1472, 1881, 5625), player_id (206292, 206055, 203509), ranking_date (20020930, 19970526, 19991129), tours (39, 34, 35)", "schema_without_content": "players : hand , birth_date , forename , country_code , last_name , player_id , given_name | matches : minutes , match_num , loser_rank , winner_ht , round , loser_ht , draw_size , winner_rank , score 6-2\", \"6-2 5-7 7-5\", \"6-1 6-3\", winner_hand , year , best_of , winner_ioc , loser_name , loser_seed , loser_id , tourney_level , winner_seed , loser_hand , loser_entry , winner_age , tourney_name , loser_ioc , winner_name , surface , tourney_id , winner_id , loser_rank_points , winner_entry , tourney_date , loser_age , winner_rank_points | rankings : ranking , ranking_points , player_id , ranking_date , tours", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "last name of all players": "players.last_name", "birth date": "players.birth_date", "first name": "players.first_name" } }, { "question": "what are the #full names of all players# , sorted by #birth date# ?", "db_id": "wta_1", "orig_query": "select first_name, last_name from players order by birth_date", "schema_with_content": "players : player_id (203631, 206853, 201205), family_name (\"Senger\", \"Vierra\", \"Howell\"), first_name (\"Cristina Diana\", \"Haleema\", \"Valerie\"), surname (\"Senger\", \"Vierra\", \"Howell\"), country_code (\"AUT\", \"JPN\", \"TJK\"), hand (\"L\", \"R\", \"R\"), birth_date (20000201, 19840418, 19911227) | matches : winner_seed (8, 9, 3), round (\"QF\", \"F\", \"R16\"), loser_seed (22, 31, 14), loser_hand (\"R\", \"L\"), loser_rank_points (2238, 2865, 8730), winner_ioc (\"SWE\", \"JPN\", \"CHN\"), best_of (3), tourney_level (\"I\", \"P\", \"P\"), loser_rank (25, 44, 37), tourney_date (20170814, 20170703, 20160620), winner_rank (42, 40, 13), winner_id (201540, 202494, 201347), winner_rank_points (3060, 1960, 5196), winner_age (26.4804928131, 27.3921971253, 32.1478439425), winner_ht (178, 175, 175), loser_entry (\"\"), winner_entry (\"\"), loser_name (\"Timea Babos\", \"Dominika Cibulkova\", \"Monica Niculescu\"), score (\"7-5 4-6 6-2\", \"6-4 6-3\", \"6-3 6-7(2) 7-6(5)\"), minutes (40, 85, 120), loser_ioc (\"GER\", \"NED\", \"CHN\"), loser_ht (170, 174, 169), loser_id (202429, 202470, 202429), draw_size (64, 128, 64), winner_name (\"Alize Cornet\", \"Camila Giorgi\", \"Kristina Mladenovic\"), loser_age (21.8672142368, 23.8877481177, 27.4743326489), year (2013, 2016, 2017), tourney_name (\"Rabat\", \"Stuttgart\", \"Birmingham\"), match_num (254, 225, 276), surface (\"Hard\", \"Clay\", \"Grass\"), winner_hand (\"R\", \"L\"), tourney_id (\"2016-M035\", \"2016-1072\", \"2017-M016\") | rankings : ranking (785, 1322, 1368), ranking_points (208, 3160, 796), tours (34, 16, 1), player_id (210604, 211174, 211730), ranking_date (19980302, 20061204, 19880815)", "schema_without_content": "players : player_id , family_name , first_name , surname , country_code , hand , birth_date | matches : winner_seed , round , loser_seed , loser_hand , loser_rank_points , winner_ioc , best_of , tourney_level , loser_rank , tourney_date , winner_rank , winner_id , winner_rank_points , winner_age , winner_ht , loser_entry , winner_entry , loser_name , score 7-6\", minutes , loser_ioc , loser_ht , loser_id , draw_size , winner_name , loser_age , year , tourney_name , match_num , surface , winner_hand , tourney_id | rankings : ranking , ranking_points , tours , player_id , ranking_date", "extra_map": { "players": { "last_name": [ "family_name", "surname" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "hand", "birth_date", "country_code", "family_name", "surname" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "full names of all players": [ "players.first_name", "players.last_name" ], "birth date": "players.birth_date" } }, { "question": "what are the #full names of all players# , sorted by #birth date# ?", "db_id": "wta_1", "orig_query": "select first_name, last_name from players order by birth_date", "schema_with_content": "players : given_name (\"Renuka\", \"Mouna Naila\", \"Annabel\"), country_code (\"MAS\", \"LTU\", \"GUA\"), player_id (204392, 208031, 219271), hand (\"\", \"L\", \"L\"), birth_date (19561018, 19990913, 19970109), forename (\"Renuka\", \"Mouna Naila\", \"Annabel\"), last_name (\"Fonts\", \"Kubota\", \"Lincoln\") | matches : loser_name (\"Carla Suarez Navarro\", \"Sara Errani\", \"Svetlana Kuznetsova\"), winner_name (\"Petra Kvitova\", \"Simona Halep\", \"Sara Errani\"), match_num (280, 295, 216), year (2013, 2016, 2017), tourney_date (20160822, 20170529, 20170828), winner_hand (\"R\", \"L\"), loser_id (202469, 201325, 201444), loser_seed (23, 17, 20), loser_rank (46, 37, 35), winner_ht (185, 179, 170), tourney_name (\"Hobart\", \"Wimbledon\", \"Zhuhai\"), round (\"F\", \"RR\", \"R32\"), winner_rank (40, 21, 13), tourney_level (\"G\", \"P\", \"I\"), winner_entry (\"\"), loser_rank_points (3135, 4575, 4052), tourney_id (\"2017-1027\", \"2016-1048\", \"2017-0718\"), winner_id (201520, 201593, 201593), loser_ioc (\"USA\", \"BEL\", \"FRA\"), draw_size (128, 4, 64), loser_ht (179, 184, 165), loser_hand (\"R\", \"L\"), winner_rank_points (2416, 1970, 3185), surface (\"Hard\", \"Clay\", \"Grass\"), score (\"6-2 7-6(5)\", \"6-2 6-0 \", \"6-1 3-6 6-0\"), winner_age (26.6036960986, 28.0355920602, 22.9021218344), loser_entry (\"\"), minutes (85, 148, 170), winner_ioc (\"CZE\", \"CZE\", \"ESP\"), loser_age (27.813826146500002, 30.250513347, 25.4373716632), best_of (3), winner_seed (14, 9, 2) | rankings : tours (30, 30, 35), ranking (557, 735, 277), player_id (200009, 206351, 215833), ranking_points (823, 4520, 196), ranking_date (20090302, 20070514, 20160118)", "schema_without_content": "players : given_name , country_code , player_id , hand , birth_date , forename , last_name | matches : loser_name , winner_name , match_num , year , tourney_date , winner_hand , loser_id , loser_seed , loser_rank , winner_ht , tourney_name , round , winner_rank , tourney_level , winner_entry , loser_rank_points , tourney_id , winner_id , loser_ioc , draw_size , loser_ht , loser_hand , winner_rank_points , surface , score \", \"6-2 6-0 \", \"6-1 3-6 6-0\", winner_age , loser_entry , minutes , winner_ioc , loser_age , best_of , winner_seed | rankings : tours , ranking , player_id , ranking_points , ranking_date", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "full names of all players": [ "players.first_name", "players.last_name" ], "birth date": "players.birth_date" } }, { "question": "list the first and #last name of all players# who are #left / l hand# in the order of #birth date# .", "db_id": "wta_1", "orig_query": "select first_name, last_name from players where hand = 'L' order by birth_date", "schema_with_content": "players : first_name (\"Anamaria\", \"Maryori\", \"Leanne\"), birth_date (19700422, 19860612, 19890301), surname (\"Plunkett\", \"Kadur\", \"Muramatsu\"), family_name (\"Plunkett\", \"Kadur\", \"Muramatsu\"), player_id (218251, 216990, 219450), country_code (\"MRI\", \"CRO\", \"UKR\"), hand (\"\", \"\", \"U\") | matches : minutes (88, 118, 80), loser_rank_points (3897, 4585, 1652), tourney_name (\"Hobart\", \"French Open\", \"Prague\"), draw_size (64, 64, 8), loser_entry (\"\"), winner_entry (\"\"), winner_hand (\"R\", \"L\"), winner_rank_points (3637, 912, 5700), winner_rank (61, 23, 27), winner_age (32.0164271047, 23.041752224499998, 27.463381245700003), winner_seed (15, 15, 14), loser_id (201505, 201506, 202469), surface (\"Hard\", \"Clay\", \"Grass\"), winner_id (201419, 201505, 201505), best_of (3), tourney_id (\"2017-M035\", \"2016-M035\", \"2017-M024\"), tourney_level (\"I\", \"G\", \"I\"), loser_ht (159, 162, 169), winner_ioc (\"AUS\", \"HUN\", \"CHN\"), winner_name (\"Misaki Doi\", \"Julia Goerges\", \"Julia Goerges\"), loser_seed (8, 2, 21), score (\"4-6 7-6(2) 6-3\", \"6-3 7-6(5)\", \"6-7(5) 6-4 6-3\"), loser_ioc (\"USA\", \"TPE\", \"USA\"), round (\"R32\", \"QF\", \"RR\"), winner_ht (183, 180, 159), tourney_date (20170515, 20170410, 20170403), match_num (271, 291, 254), loser_rank (19, 12, 6), loser_name (\"Roberta Vinci\", \"Annika Beck\", \"Petra Kvitova\"), loser_age (24.249144421599997, 33.5277207392, 27.813826146500002), year (2013, 2016, 2017), loser_hand (\"R\", \"L\") | rankings : ranking_points (7900, 2227, 956), player_id (213755, 211411, 201371), ranking (1152, 855, 723), tours (38, 28, 22), ranking_date (19991025, 19930301, 20150427)", "schema_without_content": "players : first_name , birth_date , surname , family_name , player_id , country_code , hand | matches : minutes , loser_rank_points , tourney_name , draw_size , loser_entry , winner_entry , winner_hand , winner_rank_points , winner_rank , winner_age , winner_seed , loser_id , surface , winner_id , best_of , tourney_id , tourney_level , loser_ht , winner_ioc , winner_name , loser_seed , score 6-3\", \"6-3 7-6\", \"6-7 6-4 6-3\", loser_ioc , round , winner_ht , tourney_date , match_num , loser_rank , loser_name , loser_age , year , loser_hand | rankings : ranking_points , player_id , ranking , tours , ranking_date", "extra_map": { "players": { "last_name": [ "family_name", "surname" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "hand", "birth_date", "country_code", "family_name", "surname" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "last name of all players": "players.last_name", "left / L hand": "players.hand", "birth date": "players.birth_date", "first name": "players.first_name" } }, { "question": "list the first and #last name of all players# who are #left / l hand# in the order of #birth date# .", "db_id": "wta_1", "orig_query": "select first_name, last_name from players where hand = 'L' order by birth_date", "schema_with_content": "players : country_code (\"ISL\", \"TKM\", \"SUI\"), last_name (\"Monsivaiz\", \"Kenic\", \"Kuznini\"), forename (\"Martie\", \"Glynis\", \"Marlou\"), birth_date (19770119, 19960113, 19770509), player_id (208087, 202793, 204113), hand (\"R\", \"L\", \"R\"), given_name (\"Martie\", \"Glynis\", \"Marlou\") | matches : winner_seed (6, 30, 9), tourney_level (\"W\", \"P\", \"P\"), winner_ioc (\"BLR\", \"FRA\", \"DEN\"), best_of (3), match_num (198, 295, 287), surface (\"Hard\", \"Clay\", \"Grass\"), draw_size (32, 8, 8), loser_rank_points (1135, 3116, 5250), loser_rank (34, 37, 37), winner_age (25.650924024600002, 32.0164271047, 26.340862423), loser_hand (\"R\", \"L\"), loser_name (\"Irina Camelia Begu\", \"Sara Errani\", \"Svetlana Kuznetsova\"), loser_age (36.1040383299, 28.449007529099998, 27.986310746100003), loser_seed (22, 1, 2), loser_ioc (\"SWE\", \"SVK\", \"BEL\"), round (\"R16\", \"RR\", \"F\"), winner_rank_points (7676, 1700, 1970), tourney_name (\"Moscow\", \"Washington\", \"Eastbourne\"), winner_entry (\"\"), minutes (142, 109, 63), winner_id (201493, 201320, 201455), winner_hand (\"R\", \"L\"), winner_ht (179, 170, 162), score (\"3-6 6-0 6-1\", \"7-6(5) 6-4\", \"4-6 6-3 6-4\"), tourney_date (20170102, 20160321, 20170130), loser_id (201366, 201493, 201427), winner_name (\"Samantha Stosur\", \"Roberta Vinci\", \"Anastasia Pavlyuchenkova\"), loser_entry (\"\"), loser_ht (181, 179, 176), tourney_id (\"2017-1052\", \"2016-0808\", \"2017-1003\"), winner_rank (3, 56, 20), year (2013, 2016, 2017) | rankings : ranking_date (19910513, 19900903, 20131104), ranking (1470, 1069, 803), player_id (202412, 215926, 211143), tours (37, 10, 12), ranking_points (1906, 462, 3095)", "schema_without_content": "players : country_code , last_name , forename , birth_date , player_id , hand , given_name | matches : winner_seed , tourney_level , winner_ioc , best_of , match_num , surface , draw_size , loser_rank_points , loser_rank , winner_age , loser_hand , loser_name , loser_age , loser_seed , loser_ioc , round , winner_rank_points , tourney_name , winner_entry , minutes , winner_id , winner_hand , winner_ht , score 6-4\", \"4-6 6-3 6-4\", tourney_date , loser_id , winner_name , loser_entry , loser_ht , tourney_id , winner_rank , year | rankings : ranking_date , ranking , player_id , tours , ranking_points", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "last name of all players": "players.last_name", "left / L hand": "players.hand", "birth date": "players.birth_date", "first name": "players.first_name" } }, { "question": "what are the #full names of all left handed players# , in order of #birth date# ?", "db_id": "wta_1", "orig_query": "select first_name, last_name from players where hand = 'L' order by birth_date", "schema_with_content": "players : player_id (215069, 208717, 215182), family_name (\"Ninomiya\", \"Nooni\", \"Leal\"), country_code (\"SUI\", \"AUS\", \"CAN\"), first_name (\"Tamaryn\", \"Lyuboslava\", \"Shelley\"), surname (\"Ninomiya\", \"Nooni\", \"Leal\"), birth_date (19951119, 19780514, 19780308), hand (\"U\", \"R\", \"\") | matches : winner_age (23.0444900753, 20.917180013699998, 27.947980835), best_of (3), winner_ht (184, 175, 180), loser_name (\"Jelena Jankovic\", \"Kiki Bertens\", \"Alize Cornet\"), tourney_id (\"2016-1087\", \"2016-1072\", \"2017-1005\"), loser_age (27.4442162902, 25.4839151266, 27.7754962355), tourney_date (20170807, 20170403, 20160307), loser_id (201506, 201621, 201458), winner_id (201520, 201596, 201619), loser_ht (176, 174, 180), score (\"7-6(0) 6-4\", \"6-2 3-6 6-2\", \"6-2 6-7(4) 7-5\"), winner_name (\"Na Li\", \"Svetlana Kuznetsova\", \"Julia Goerges\"), round (\"R16\", \"F\", \"SF\"), loser_entry (\"\"), winner_hand (\"R\", \"L\"), surface (\"Hard\", \"Clay\", \"Grass\"), loser_hand (\"R\", \"L\"), loser_rank_points (2050, 6850, 2590), winner_entry (\"\"), loser_rank (1, 60, 5), winner_seed (18, 22, 30), minutes (94, 162, 74), match_num (291, 298, 197), tourney_level (\"P\", \"W\", \"P\"), draw_size (8, 8, 32), year (2013, 2016, 2017), winner_rank (13, 37, 9), tourney_name (\"Biel\", \"Rabat\", \"Dubai\"), loser_seed (12, 11, 11), loser_ioc (\"ROU\", \"JPN\", \"POL\"), winner_ioc (\"SVK\", \"NED\", \"SRB\"), winner_rank_points (1343, 1652, 3060) | rankings : ranking (1031, 713, 804), player_id (204379, 214278, 216138), tours (9, 14, 21), ranking_points (4191, 1646, 6144), ranking_date (19980202, 20080428, 19880912)", "schema_without_content": "players : player_id , family_name , country_code , first_name , surname , birth_date , hand | matches : winner_age , best_of , winner_ht , loser_name , tourney_id , loser_age , tourney_date , loser_id , winner_id , loser_ht , score 6-4\", \"6-2 3-6 6-2\", \"6-2 6-7 7-5\", winner_name , round , loser_entry , winner_hand , surface , loser_hand , loser_rank_points , winner_entry , loser_rank , winner_seed , minutes , match_num , tourney_level , draw_size , year , winner_rank , tourney_name , loser_seed , loser_ioc , winner_ioc , winner_rank_points | rankings : ranking , player_id , tours , ranking_points , ranking_date", "extra_map": { "players": { "last_name": [ "family_name", "surname" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "hand", "birth_date", "country_code", "family_name", "surname" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "full names of all left handed players": [ "players.first_name", "players.last_name" ], "birth date": "players.birth_date" } }, { "question": "what are the #full names of all left handed players# , in order of #birth date# ?", "db_id": "wta_1", "orig_query": "select first_name, last_name from players where hand = 'L' order by birth_date", "schema_with_content": "players : forename (\"Jenny\", \"Xue\", \"Madoka\"), player_id (212884, 211807, 215126), given_name (\"Jenny\", \"Xue\", \"Madoka\"), last_name (\"Kanayama\", \"Tedoldi\", \"Lai\"), hand (\"\", \"\", \"R\"), birth_date (19630514, 19900825, 20001120), country_code (\"VIE\", \"BAH\", \"POR\") | matches : draw_size (64, 32, 64), year (2013, 2016, 2017), match_num (218, 278, 210), loser_rank (24, 52, 52), winner_name (\"Timea Babos\", \"Alize Cornet\", \"Serena Williams\"), loser_name (\"Serena Williams\", \"Johanna Larsson\", \"Sara Errani\"), tourney_id (\"2017-540\", \"2017-560\", \"2017-1039\"), tourney_name (\"Toronto\", \"Istanbul\", \"Auckland\"), winner_ht (184, 181, 185), loser_ioc (\"POL\", \"ESP\", \"UKR\"), winner_age (21.472963723499998, 24.594113620799998, 28.4407939767), winner_hand (\"R\", \"L\"), loser_id (201397, 201520, 201506), tourney_date (20160418, 20160613, 20170717), round (\"R32\", \"R16\", \"R16\"), tourney_level (\"P\", \"W\", \"P\"), loser_ht (184, 185, 163), winner_id (201693, 201366, 201496), winner_rank_points (5860, 3740, 6380), winner_rank (16, 50, 1), winner_ioc (\"NED\", \"CZE\", \"SVK\"), loser_hand (\"R\", \"L\"), winner_entry (\"\"), loser_seed (11, 16, 1), winner_seed (2, 22, 14), loser_rank_points (1577, 9245, 8730), loser_age (25.503080082100002, 28.8678986995, 24.079397672800003), surface (\"Hard\", \"Clay\", \"Grass\"), score (\"6-4 7-6(1)\", \"6-3 7-5 \", \"6-7(6) 7-5 6-4\"), minutes (128, 173, 93), loser_entry (\"\"), best_of (3) | rankings : tours (29, 19, 9), ranking (440, 886, 1283), ranking_points (4378, 1960, 3850), ranking_date (20060619, 19881219, 20000417), player_id (202642, 201212, 212045)", "schema_without_content": "players : forename , player_id , given_name , last_name , hand , birth_date , country_code | matches : draw_size , year , match_num , loser_rank , winner_name , loser_name , tourney_id , tourney_name , winner_ht , loser_ioc , winner_age , winner_hand , loser_id , tourney_date , round , tourney_level , loser_ht , winner_id , winner_rank_points , winner_rank , winner_ioc , loser_hand , winner_entry , loser_seed , winner_seed , loser_rank_points , loser_age , surface , score \", \"6-3 7-5 \", \"6-7 7-5 6-4\", minutes , loser_entry , best_of | rankings : tours , ranking , ranking_points , ranking_date , player_id", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "full names of all left handed players": [ "players.first_name", "players.last_name" ], "birth date": "players.birth_date" } }, { "question": "find the #first name# and #country code of the player# who did the most number of #tours# .", "db_id": "wta_1", "orig_query": "select t1.country_code, t1.first_name from players as t1 join rankings as t2 on t1.player_id = t2.player_id order by t2.tours desc limit 1", "schema_with_content": "players : birth_date (19570613, 19970523, 20001122), player_id (211185, 220477, 219799), hand (\"\", \"U\", \"\"), last_name (\"Konakawa\", \"Pyo\", \"Kuhlke\"), country_code (\"UNK\", \"MLT\", \"DOM\"), forename (\"Vittoria\", \"Beyda\", \"Chinatsu\"), given_name (\"Vittoria\", \"Beyda\", \"Chinatsu\") | matches : loser_rank (59, 30, 7), year (2013, 2016, 2017), draw_size (128, 32, 8), loser_name (\"Dominika Cibulkova\", \"Sara Errani\", \"Elena Vesnina\"), loser_age (27.635865845300003, 28.421629021199998, 22.8528405202), tourney_date (20170227, 20161017, 20160222), winner_age (27.961670089000002, 28.6105407255, 28.1724845996), loser_ioc (\"SRB\", \"GER\", \"DEN\"), surface (\"Hard\", \"Clay\", \"Grass\"), winner_entry (\"\"), winner_ht (184, 163, 181), match_num (278, 289, 288), loser_rank_points (2416, 5830, 2280), best_of (3), winner_rank_points (3091, 1255, 2080), loser_ht (174, 161, 174), winner_seed (3, 27, 22), tourney_level (\"G\", \"G\", \"I\"), loser_entry (\"\"), score (\"6-3 7-6(5)\", \"6-4 3-6 7-6(3)\", \"6-1 7-6(3)\"), winner_hand (\"R\", \"L\"), loser_hand (\"R\", \"L\"), minutes (61, 73, 129), winner_ioc (\"DEN\", \"DEN\", \"SWE\"), round (\"QF\", \"RR\", \"RR\"), tourney_name (\"Florianopolis\", \"Linz\", \"Bastad\"), winner_rank (37, 3, 82), winner_name (\"Misaki Doi\", \"Alize Cornet\", \"Victoria Azarenka\"), winner_id (201535, 202429, 201504), tourney_id (\"2016-1087\", \"2017-M009\", \"2016-M007\"), loser_seed (6, 14, 30), loser_id (201521, 201311, 201595) | rankings : player_id (215064, 206412, 210717), tours (26, 11, 21), ranking_date (19921102, 20100201, 19910729), ranking (655, 271, 656), ranking_points (4955, 8206, 700)", "schema_without_content": "players : birth_date , player_id , hand , last_name , country_code , forename , given_name | matches : loser_rank , year , draw_size , loser_name , loser_age , tourney_date , winner_age , loser_ioc , surface , winner_entry , winner_ht , match_num , loser_rank_points , best_of , winner_rank_points , loser_ht , winner_seed , tourney_level , loser_entry , score \", \"6-4 3-6 7-6\", \"6-1 7-6\", winner_hand , loser_hand , minutes , winner_ioc , round , tourney_name , winner_rank , winner_name , winner_id , tourney_id , loser_seed , loser_id | rankings : player_id , tours , ranking_date , ranking , ranking_points", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "country code of the player": "players.country_code", "tours": "rankings.tours" } }, { "question": "find the #first name# and #country code of the player# who did the most number of #tours# .", "db_id": "wta_1", "orig_query": "select t1.country_code, t1.first_name from players as t1 join rankings as t2 on t1.player_id = t2.player_id order by t2.tours desc limit 1", "schema_with_content": "players : birth_date (19901022, 19911205, 19980801), player_id (209741, 219157, 208108), first_name (\"Temitope\", \"Theresa Maria\", \"Marian Jade\"), nationality_code (\"HON\", \"ANT\", \"EST\"), hand (\"R\", \"\", \"R\"), last_name (\"Assadova\", \"Wowchuk\", \"Sokovnikova\"), country_id (\"HON\", \"ANT\", \"EST\") | matches : loser_name (\"Simona Halep\", \"Lesia Tsurenko\", \"Irina Camelia Begu\"), best_of (3), loser_seed (16, 27, 21), loser_id (201458, 201595, 201495), winner_age (35.6440793977, 23.783709787800003, 32.9719370294), match_num (196, 199, 298), tourney_date (20170130, 20170130, 20161114), loser_entry (\"\"), loser_rank_points (5330, 4005, 3060), loser_age (31.613963039, 22.9596167009, 31.9370294319), round (\"BR\", \"F\", \"F\"), winner_rank (30, 4, 33), score (\"6-7(3) 6-2 6-3\", \"6-3 7-5\", \"7-6(4) 6-4\"), loser_hand (\"R\", \"L\"), tourney_level (\"G\", \"P\", \"W\"), winner_ioc (\"ROU\", \"SRB\", \"CHN\"), winner_name (\"Camila Giorgi\", \"Sara Errani\", \"Lucie Safarova\"), winner_id (201499, 201594, 201499), winner_seed (11, 22, 27), loser_rank (47, 3, 59), winner_hand (\"R\", \"L\"), loser_ioc (\"AUS\", \"SVK\", \"SRB\"), winner_rank_points (1645, 3736, 3485), surface (\"Hard\", \"Clay\", \"Grass\"), tourney_id (\"2017-1039\", \"2016-M014\", \"2016-1052\"), loser_ht (184, 168, 178), tourney_name (\"Singapore\", \"Wuhan\", \"Miami\"), winner_ht (163, 173, 185), year (2013, 2016, 2017), minutes (115, 98, 78), winner_entry (\"\"), draw_size (128, 128, 12) | rankings : ranking_date (19911230, 19990607, 19920127), tours (16, 5, 26), ranking_points (912, 7085, 2566), ranking (1134, 1125, 1418), player_id (215699, 206163, 202477)", "schema_without_content": "players : birth_date , player_id , first_name , nationality_code , hand , last_name , country_id | matches : loser_name , best_of , loser_seed , loser_id , winner_age , match_num , tourney_date , loser_entry , loser_rank_points , loser_age , round , winner_rank , score 6-2 6-3\", \"6-3 7-5\", \"7-6 6-4\", loser_hand , tourney_level , winner_ioc , winner_name , winner_id , winner_seed , loser_rank , winner_hand , loser_ioc , winner_rank_points , surface , tourney_id , loser_ht , tourney_name , winner_ht , year , minutes , winner_entry , draw_size | rankings : ranking_date , tours , ranking_points , ranking , player_id", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "country code of the player": "players.country_code", "tours": "rankings.tours" } }, { "question": "what is the #first name# and #country code of the player# with the most #tours# ?", "db_id": "wta_1", "orig_query": "select t1.country_code, t1.first_name from players as t1 join rankings as t2 on t1.player_id = t2.player_id order by t2.tours desc limit 1", "schema_with_content": "players : hand (\"L\", \"U\", \"U\"), forename (\"Raye Ann\", \"Yumi\", \"Nicola\"), birth_date (19860122, 19940719, 19551101), country_code (\"BEN\", \"REU\", \"AND\"), player_id (205791, 215699, 205344), last_name (\"Stroobant\", \"Valladares Nunez\", \"Niedbalo\"), given_name (\"Raye Ann\", \"Yumi\", \"Nicola\") | matches : loser_id (201596, 202494, 201499), year (2013, 2016, 2017), draw_size (8, 64, 32), loser_ht (179, 168, 170), loser_age (22.4503764545, 32.1314168378, 28.301163586599998), minutes (144, 98, 105), winner_age (28.6132785763, 35.6440793977, 28.249144421599997), match_num (156, 201, 294), winner_entry (\"\"), winner_id (201619, 201474, 201693), round (\"RR\", \"RR\", \"R32\"), best_of (3), loser_hand (\"R\", \"L\"), loser_name (\"Yanina Wickmayer\", \"Mona Barthel\", \"Dominika Cibulkova\"), winner_seed (28, 8, 1), loser_entry (\"\"), loser_seed (5, 6, 28), loser_rank (35, 1, 7), winner_name (\"Sloane Stephens\", \"Kiki Bertens\", \"Barbora Zahlavova Strycova\"), tourney_name (\"Olympics\", \"Birmingham\", \"Wuhan\"), tourney_id (\"2016-M004\", \"2016-1051\", \"2017-M035\"), winner_rank_points (2094, 2895, 2196), surface (\"Hard\", \"Clay\", \"Grass\"), score (\"6-3 3-6 7-6(2)\", \"2-6 6-4 6-1\", \"3-6 6-3 7-6(3)\"), winner_rank (52, 19, 12), winner_ht (179, 164, 183), loser_rank_points (4060, 3401, 2226), loser_ioc (\"ITA\", \"GER\", \"SRB\"), winner_hand (\"R\", \"L\"), tourney_level (\"W\", \"I\", \"W\"), winner_ioc (\"CHN\", \"UKR\", \"AUS\"), tourney_date (20160111, 20170116, 20160808) | rankings : ranking_points (259, 1706, 1803), tours (35, 34, 11), ranking (690, 482, 1246), ranking_date (19980921, 20021028, 20111010), player_id (206144, 215215, 211702)", "schema_without_content": "players : hand , forename , birth_date , country_code , player_id , last_name , given_name | matches : loser_id , year , draw_size , loser_ht , loser_age , minutes , winner_age , match_num , winner_entry , winner_id , round , best_of , loser_hand , loser_name , winner_seed , loser_entry , loser_seed , loser_rank , winner_name , tourney_name , tourney_id , winner_rank_points , surface , score \", \"2-6 6-4 6-1\", \"3-6 6-3 7-6\", winner_rank , winner_ht , loser_rank_points , loser_ioc , winner_hand , tourney_level , winner_ioc , tourney_date | rankings : ranking_points , tours , ranking , ranking_date , player_id", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "country code of the player": "players.country_code", "tours": "rankings.tours" } }, { "question": "what is the #first name# and #country code of the player# with the most #tours# ?", "db_id": "wta_1", "orig_query": "select t1.country_code, t1.first_name from players as t1 join rankings as t2 on t1.player_id = t2.player_id order by t2.tours desc limit 1", "schema_with_content": "players : birth_date (19820403, 19830706, 19690418), player_id (207448, 200517, 202941), first_name (\"Tamachan\", \"Beverley\", \"Allie\"), country_id (\"COL\", \"UKR\", \"MGL\"), last_name (\"Ravinis Lombardi\", \"Kurth\", \"Latea\"), hand (\"L\", \"\", \"L\"), nationality_code (\"COL\", \"UKR\", \"MGL\") | matches : tourney_name (\"Dubai\", \"French Open\", \"Doha\"), score (\"6-1 4-6 6-2\", \"7-6(5) 2-6 6-3\", \"4-6 6-3 6-4\"), tourney_level (\"G\", \"W\", \"P\"), match_num (213, 274, 223), loser_rank (2, 59, 40), loser_id (201458, 201662, 201505), winner_ioc (\"NED\", \"POL\", \"USA\"), loser_rank_points (3915, 1700, 2010), winner_age (28.1724845996, 28.7665982204, 24.594113620799998), best_of (3), loser_seed (19, 4, 9), tourney_id (\"2016-M014\", \"2017-1027\", \"2016-M001\"), winner_rank_points (2920, 3135, 2660), surface (\"Hard\", \"Clay\", \"Grass\"), loser_ioc (\"UKR\", \"SUI\", \"SWE\"), round (\"R32\", \"QF\", \"F\"), winner_id (201499, 201615, 201521), winner_hand (\"R\", \"L\"), winner_name (\"Lesia Tsurenko\", \"Yanina Wickmayer\", \"Samantha Stosur\"), loser_entry (\"\"), minutes (137, 123, 97), loser_name (\"Simona Halep\", \"Ana Ivanovic\", \"Svetlana Kuznetsova\"), winner_seed (22, 27, 30), loser_hand (\"R\", \"L\"), winner_ht (164, 184, 184), loser_age (23.7919233402, 22.058863791900002, 22.4887063655), loser_ht (164, 168, 159), tourney_date (20170403, 20170717, 20170828), year (2013, 2016, 2017), draw_size (12, 4, 32), winner_entry (\"\"), winner_rank (9, 58, 9) | rankings : ranking (1267, 537, 838), ranking_date (19870706, 19930719, 20160815), player_id (214219, 201345, 206403), ranking_points (3550, 1309, 3466), tours (0, 1, 35)", "schema_without_content": "players : birth_date , player_id , first_name , country_id , last_name , hand , nationality_code | matches : tourney_name , score 2-6 6-3\", \"4-6 6-3 6-4\", tourney_level , match_num , loser_rank , loser_id , winner_ioc , loser_rank_points , winner_age , best_of , loser_seed , tourney_id , winner_rank_points , surface , loser_ioc , round , winner_id , winner_hand , winner_name , loser_entry , minutes , loser_name , winner_seed , loser_hand , winner_ht , loser_age , loser_ht , tourney_date , year , draw_size , winner_entry , winner_rank | rankings : ranking , ranking_date , player_id , ranking_points , tours", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "country code of the player": "players.country_code", "tours": "rankings.tours" } }, { "question": "find the #year# that has the most number of #matches# .", "db_id": "wta_1", "orig_query": "select year from matches group by year order by count(*) desc limit 1", "schema_with_content": "players : country_code (\"MAS\", \"MAS\", \"AUS\"), birth_date (19940911, 19531113, 19860509), hand (\"R\", \"R\", \"R\"), player_id (220477, 213222, 210854), first_name (\"Rankin\", \"Lidiia\", \"Megan\"), last_name (\"Cerny\", \"Pogrebnyak\", \"Yurtkuran\") | matches : loser_rank (30, 15, 26), winner_age (25.8288843258, 21.6837782341, 24.9965776865), match_year (2013, 2016, 2017), loser_age (27.928815879499997, 21.8672142368, 21.607118412), winner_hand (\"R\", \"L\"), loser_rank_points (8300, 5205, 3020), match_num (254, 215, 293), tourney_name (\"Linz\", \"Wuhan\", \"Acapulco\"), tourney_date (20161031, 20170102, 20170213), minutes (83, 125, 154), loser_hand (\"R\", \"L\"), event_year (2013, 2016, 2017), draw_size (32, 4, 4), tourney_id (\"2016-520\", \"2017-520\", \"2016-M001\"), loser_ioc (\"CZE\", \"GER\", \"CZE\"), winner_ioc (\"GER\", \"UKR\", \"RUS\"), winner_name (\"Sara Errani\", \"Barbora Zahlavova Strycova\", \"Misaki Doi\"), loser_seed (20, 16, 2), loser_name (\"Sloane Stephens\", \"Elena Vesnina\", \"Elena Vesnina\"), loser_ht (172, 179, 179), loser_entry (\"\"), round (\"R32\", \"RR\", \"R16\"), winner_rank_points (2196, 1026, 3225), surface (\"Hard\", \"Clay\", \"Grass\"), best_of (3), winner_entry (\"\"), loser_id (201421, 201320, 201539), winner_rank (6, 16, 3), tourney_level (\"G\", \"G\", \"P\"), winner_id (200748, 201499, 201419), winner_ht (162, 178, 161), score (\"6-3 3-6 6-3 \", \"7-6(1) 0-0 RET\", \"6-7(10) 7-5 6-4\"), winner_seed (30, 27, 16) | rankings : player_id (211383, 206147, 201662), tours (29, 2, 1), ranking (1199, 393, 528), ranking_date (19880530, 20060220, 19920921), ranking_points (1026, 2604, 177)", "schema_without_content": "players : country_code , birth_date , hand , player_id , first_name , last_name | matches : loser_rank , winner_age , match_year , loser_age , winner_hand , loser_rank_points , match_num , tourney_name , tourney_date , minutes , loser_hand , event_year , draw_size , tourney_id , loser_ioc , winner_ioc , winner_name , loser_seed , loser_name , loser_ht , loser_entry , round , winner_rank_points , surface , best_of , winner_entry , loser_id , winner_rank , tourney_level , winner_id , winner_ht , score 0-0 RET\", \"6-7 7-5 6-4\", winner_seed | rankings : player_id , tours , ranking , ranking_date , ranking_points", "extra_map": { "matches": { "year": [ "match_year", "event_year" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "match_year", "event_year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "year": "matches.year", "matches": "matches" } }, { "question": "which #year# had the most #matches# ?", "db_id": "wta_1", "orig_query": "select year from matches group by year order by count(*) desc limit 1", "schema_with_content": "players : birth_date (19950816, 19810324, 19690704), last_name (\"Kandinata\", \"Singer\", \"Morita\"), player_id (206260, 215490, 213223), country_code (\"AHO\", \"UKR\", \"KOR\"), first_name (\"Altie\", \"Nam Yeon\", \"Palma\"), hand (\"R\", \"U\", \"L\") | matches : best_of (3), tourney_date (20170508, 20160801, 20170703), match_num (291, 299, 251), draw_size (32, 12, 32), loser_rank (33, 24, 16), tourney_id (\"2016-0808\", \"2017-1086\", \"2017-520\"), winner_entry (\"\"), loser_name (\"Victoria Azarenka\", \"Angelique Kerber\", \"Lauren Davis\"), score (\"6-3 7-5 \", \"6-2 6-7(4) 7-5\", \"6-4 6-0\"), loser_hand (\"R\", \"L\"), winner_ioc (\"GER\", \"JPN\", \"ESP\"), winner_id (201499, 201366, 201594), winner_hand (\"R\", \"L\"), loser_age (28.449007529099998, 21.0896646133, 33.5277207392), minutes (98, 162, 49), winner_rank_points (1145, 4600, 4600), winner_name (\"Misaki Doi\", \"Anastasia Pavlyuchenkova\", \"Julia Goerges\"), loser_rank_points (3010, 2070, 2238), round (\"R16\", \"QF\", \"F\"), match_year (2013, 2016, 2017), surface (\"Hard\", \"Clay\", \"Grass\"), loser_ioc (\"SRB\", \"RUS\", \"AUS\"), loser_seed (29, 17, 11), loser_ht (164, 173, 170), loser_id (201517, 202428, 201320), winner_rank (37, 7, 22), tourney_level (\"W\", \"P\", \"G\"), loser_entry (\"\"), tourney_name (\"Istanbul\", \"Bucharest\", \"Linz\"), winner_age (32.1478439425, 27.282683093800003, 32.9719370294), winner_ht (177, 184, 184), event_year (2013, 2016, 2017), winner_seed (2, 13, 19) | rankings : ranking (931, 38, 872), ranking_date (20040510, 19951009, 20031013), ranking_points (1169, 836, 1696), tours (9, 7, 27), player_id (211682, 211065, 201528)", "schema_without_content": "players : birth_date , last_name , player_id , country_code , first_name , hand | matches : best_of , tourney_date , match_num , draw_size , loser_rank , tourney_id , winner_entry , loser_name , score 7-5\", \"6-4 6-0\", loser_hand , winner_ioc , winner_id , winner_hand , loser_age , minutes , winner_rank_points , winner_name , loser_rank_points , round , match_year , surface , loser_ioc , loser_seed , loser_ht , loser_id , winner_rank , tourney_level , loser_entry , tourney_name , winner_age , winner_ht , event_year , winner_seed | rankings : ranking , ranking_date , ranking_points , tours , player_id", "extra_map": { "matches": { "year": [ "match_year", "event_year" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "match_year", "event_year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "year": "matches.year", "matches": "matches" } }, { "question": "find the #name# and #rank points of the winner# who won the most times.", "db_id": "wta_1", "orig_query": "select winner_name, winner_rank_points from matches group by winner_name order by count(*) desc limit 1", "schema_with_content": "players : first_name (\"Irina Camelia\", \"Mahak\", \"Protiksha\"), hand (\"\", \"L\", \"U\"), last_name (\"Lieberman\", \"Miyamura\", \"Yussupova\"), birth_date (19840519, 20000716, 19820807), player_id (205628, 216193, 211595), country_code (\"RSA\", \"HUN\", \"MON\") | matches : loser_id (201495, 201320, 201527), winner_hand (\"R\", \"L\"), winning_player_rank_points (4985, 3116, 3401), winner_name (\"Garbine Muguruza\", \"Alize Cornet\", \"Agnieszka Radwanska\"), year (2013, 2016, 2017), surface (\"Hard\", \"Clay\", \"Grass\"), loser_ioc (\"RUS\", \"ROU\", \"SUI\"), loser_seed (23, 26, 29), best_of (3), winner_ioc (\"NED\", \"BLR\", \"SRB\"), tourney_name (\"Bucharest\", \"Strasbourg\", \"Beijing\"), winner_age (34.6173853525, 24.4407939767, 28.6132785763), winner_seed (9, 9, 9), tourney_id (\"2017-M010\", \"2017-0602\", \"2016-0528\"), winner_id (201595, 201505, 201615), score (\"7-5 6-7(5) 6-2\", \"6-4 1-6 7-5\", \"6-3 6-7(2) 7-6(5)\"), loser_hand (\"R\", \"L\"), tourney_level (\"W\", \"W\", \"W\"), round (\"F\", \"SF\", \"R16\"), winner_entry (\"\"), winner_rank (16, 25, 20), tourney_date (20160104, 20160404, 20170522), match_num (272, 214, 206), winner_ht (175, 164, 172), loser_name (\"Samantha Stosur\", \"Caroline Wozniacki\", \"Julia Goerges\"), minutes (125, 102, 81), victorious_player_rank_points (4985, 3116, 3401), draw_size (128, 128, 64), loser_age (28.421629021199998, 29.092402464099997, 25.1882272416), loser_ht (181, 173, 172), loser_rank_points (3763, 1870, 1700), loser_entry (\"\"), loser_rank (33, 46, 13) | rankings : tours (16, 39, 31), player_id (209901, 200033, 213948), ranking_points (2005, 1612, 1488), ranking (1051, 1006, 979), ranking_date (20080707, 20060814, 19910729)", "schema_without_content": "players : first_name , hand , last_name , birth_date , player_id , country_code | matches : loser_id , winner_hand , winning_player_rank_points , winner_name , year , surface , loser_ioc , loser_seed , best_of , winner_ioc , tourney_name , winner_age , winner_seed , tourney_id , winner_id , score 6-2\", \"6-4 1-6 7-5\", \"6-3 6-7 7-6\", loser_hand , tourney_level , round , winner_entry , winner_rank , tourney_date , match_num , winner_ht , loser_name , minutes , victorious_player_rank_points , draw_size , loser_age , loser_ht , loser_rank_points , loser_entry , loser_rank | rankings : tours , player_id , ranking_points , ranking , ranking_date", "extra_map": { "matches": { "winner_rank_points": [ "winning_player_rank_points", "victorious_player_rank_points" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_seed", "year", "winning_player_rank_points", "victorious_player_rank_points" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "name": "matches.winner_name", "rank points of the winner": "matches.winner_rank_points" } }, { "question": "find the #name# and #rank points of the winner# who won the most times.", "db_id": "wta_1", "orig_query": "select winner_name, winner_rank_points from matches group by winner_name order by count(*) desc limit 1", "schema_with_content": "players : hand (\"\", \"U\", \"U\"), first_name (\"Lama\", \"Pao Hua\", \"Juan Rosalia\"), birth_date (19771118, 19530910, 20020314), last_name (\"Rush\", \"Buchholz\", \"Chavez Tello\"), player_id (203496, 217254, 205294), country_code (\"GER\", \"PHI\", \"AUT\") | matches : tourney_id (\"2016-M024\", \"2017-1005\", \"2017-M021\"), surface (\"Hard\", \"Clay\", \"Grass\"), winner_seed (20, 14, 13), loser_seed (25, 5, 18), loser_age (26.573579739899998, 27.4688569473, 25.4839151266), loser_entry (\"\"), winning_player_name (\"Petra Kvitova\", \"Sloane Stephens\", \"Madison Keys\"), winner_ht (182, 170, 178), loser_ht (182, 175, 168), draw_size (4, 64, 8), minutes (108, 111, 142), tourney_name (\"Hong Kong\", \"Bucharest\", \"Montreal\"), loser_rank_points (4190, 6850, 3570), tourney_level (\"G\", \"I\", \"I\"), winner_entry (\"\"), winner_age (27.7754962355, 28.301163586599998, 30.7323750856), tourney_date (20170306, 20160725, 20170612), loser_hand (\"R\", \"L\"), winner_rank (7, 53, 44), best_of (3), match_num (300, 225, 155), winner_ioc (\"RUS\", \"SWE\", \"BLR\"), round (\"R16\", \"BR\", \"R32\"), victorious_player_name (\"Petra Kvitova\", \"Sloane Stephens\", \"Madison Keys\"), loser_name (\"Timea Babos\", \"Monica Niculescu\", \"Ana Ivanovic\"), winner_hand (\"R\", \"L\"), winner_rank_points (4600, 1936, 2915), year (2013, 2016, 2017), loser_id (201504, 201455, 201397), loser_rank (21, 19, 25), score (\"7-6(1) 0-0 RET\", \"6-2 7-6(9)\", \"6-3 3-6 6-3 \"), winner_id (201594, 201521, 200033), loser_ioc (\"CZE\", \"RUS\", \"SUI\") | rankings : ranking_points (682, 3093, 4260), ranking (1125, 991, 599), player_id (214505, 202481, 205123), ranking_date (20090928, 20091102, 20020909), tours (28, 10, 32)", "schema_without_content": "players : hand , first_name , birth_date , last_name , player_id , country_code | matches : tourney_id , surface , winner_seed , loser_seed , loser_age , loser_entry , winning_player_name , winner_ht , loser_ht , draw_size , minutes , tourney_name , loser_rank_points , tourney_level , winner_entry , winner_age , tourney_date , loser_hand , winner_rank , best_of , match_num , winner_ioc , round , victorious_player_name , loser_name , winner_hand , winner_rank_points , year , loser_id , loser_rank , score 0-0 RET\", \"6-2 7-6\", \"6-3 3-6 6-3 \", winner_id , loser_ioc | rankings : ranking_points , ranking , player_id , ranking_date , tours", "extra_map": { "matches": { "winner_name": [ "winning_player_name", "victorious_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_rank", "winner_rank_points", "winner_seed", "year", "winning_player_name", "victorious_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "name": "matches.winner_name", "rank points of the winner": "matches.winner_rank_points" } }, { "question": "what is the #name of the winner# who has won the most #matches# , and how many #rank points# does this player have?", "db_id": "wta_1", "orig_query": "select winner_name, winner_rank_points from matches group by winner_name order by count(*) desc limit 1", "schema_with_content": "players : player_id (219866, 218128, 211611), country_code (\"ITA\", \"YUG\", \"MRN\"), hand (\"L\", \"U\", \"L\"), last_name (\"Martinek\", \"Svicova\", \"Briegel\"), birth_date (19981001, 19871029, 19800612), first_name (\"Su Jen\", \"Anais Marie\", \"Sara Maria\") | matches : best_of (3), victorious_player_rank_points (1900, 5535, 2730), winner_ioc (\"SWE\", \"BLR\", \"HUN\"), winner_name (\"Julia Goerges\", \"Kristina Mladenovic\", \"Lesia Tsurenko\"), loser_ht (165, 159, 170), winning_player_rank_points (1900, 5535, 2730), minutes (79, 57, 70), tourney_name (\"Gstaad\", \"Stanford\", \"Wuhan\"), round (\"F\", \"BR\", \"SF\"), winner_id (200748, 201495, 201520), winner_age (25.7577002053, 31.6495550992, 25.7275838467), loser_hand (\"R\", \"L\"), loser_name (\"Su Wei Hsieh\", \"Lesia Tsurenko\", \"Camila Giorgi\"), draw_size (64, 128, 12), loser_age (23.811088295700003, 27.310061601599998, 21.9630390144), surface (\"Hard\", \"Clay\", \"Grass\"), winner_seed (8, 6, 18), loser_ioc (\"NED\", \"SUI\", \"ROU\"), loser_rank (10, 24, 23), tourney_id (\"2016-1067\", \"2017-1052\", \"2016-M035\"), winner_hand (\"R\", \"L\"), tourney_level (\"P\", \"P\", \"P\"), winner_entry (\"\"), loser_rank_points (2816, 2357, 2525), year (2013, 2016, 2017), winner_rank (45, 53, 19), loser_seed (21, 27, 16), winner_ht (173, 183, 180), tourney_date (20170102, 20170306, 20170220), match_num (161, 299, 271), score (\"7-5 7-5\", \"7-6(1) 0-0 RET\", \"6-4 6-0\"), loser_entry (\"\"), loser_id (201495, 201518, 201425) | rankings : ranking_points (5460, 1191, 3527), ranking (1078, 366, 1236), tours (17, 25, 25), player_id (213998, 205731, 213553), ranking_date (20140106, 20121008, 20030707)", "schema_without_content": "players : player_id , country_code , hand , last_name , birth_date , first_name | matches : best_of , victorious_player_rank_points , winner_ioc , winner_name , loser_ht , winning_player_rank_points , minutes , tourney_name , round , winner_id , winner_age , loser_hand , loser_name , draw_size , loser_age , surface , winner_seed , loser_ioc , loser_rank , tourney_id , winner_hand , tourney_level , winner_entry , loser_rank_points , year , winner_rank , loser_seed , winner_ht , tourney_date , match_num , score 0-0 RET\", \"6-4 6-0\", loser_entry , loser_id | rankings : ranking_points , ranking , tours , player_id , ranking_date", "extra_map": { "matches": { "winner_rank_points": [ "winning_player_rank_points", "victorious_player_rank_points" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_seed", "year", "winning_player_rank_points", "victorious_player_rank_points" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "name of the winner": "matches.winner_name", "matches": "matches", "rank points": "matches.winner_rank_points" } }, { "question": "what is the #name of the winner# who has won the most #matches# , and how many #rank points# does this player have?", "db_id": "wta_1", "orig_query": "select winner_name, winner_rank_points from matches group by winner_name order by count(*) desc limit 1", "schema_with_content": "players : player_id (208016, 207297, 219539), first_name (\"Chen Yee\", \"Karyna\", \"Freekje\"), hand (\"R\", \"U\", \"\"), birth_date (19951104, 19810914, 19990825), country_code (\"NOR\", \"SCG\", \"ECA\"), last_name (\"Dobrovits\", \"Kabani\", \"Kakhandki Gadigeppa\") | matches : loser_id (201595, 201506, 201505), loser_age (31.6167008898, 30.0944558522, 32.9719370294), loser_hand (\"R\", \"L\"), round (\"QF\", \"F\", \"BR\"), winner_rank (34, 24, 50), year (2013, 2016, 2017), score (\"6-3 6-3\", \"3-6 6-2 6-3\", \"3-6 7-6(4) 6-2\"), tourney_level (\"G\", \"W\", \"G\"), winner_hand (\"R\", \"L\"), draw_size (64, 4, 64), loser_rank_points (1260, 6010, 4052), best_of (3), loser_seed (26, 23, 27), minutes (179, 168, 66), winner_seed (30, 5, 14), victorious_player_name (\"Samantha Stosur\", \"Venus Williams\", \"Dominika Cibulkova\"), loser_ioc (\"SVK\", \"ROU\", \"ITA\"), winner_rank_points (3740, 4742, 4670), loser_name (\"Annika Beck\", \"Coco Vandeweghe\", \"Madison Keys\"), winner_ht (173, 172, 174), winner_age (20.917180013699998, 21.472963723499998, 23.961670089000002), winner_ioc (\"DEN\", \"SVK\", \"SRB\"), tourney_name (\"Singapore\", \"Biel\", \"Rome\"), loser_rank (20, 59, 26), surface (\"Hard\", \"Clay\", \"Grass\"), match_num (225, 216, 226), winning_player_name (\"Samantha Stosur\", \"Venus Williams\", \"Dominika Cibulkova\"), tourney_date (20170116, 20170821, 20161031), winner_entry (\"\"), loser_entry (\"\"), loser_ht (177, 176, 183), tourney_id (\"2016-540\", \"2016-M006\", \"2017-M009\"), winner_id (201458, 201427, 201596) | rankings : ranking_points (771, 735, 3128), player_id (206065, 214546, 205486), ranking (1054, 249, 702), tours (27, 17, 29), ranking_date (20090126, 19900319, 20060109)", "schema_without_content": "players : player_id , first_name , hand , birth_date , country_code , last_name | matches : loser_id , loser_age , loser_hand , round , winner_rank , year , score 6-2\", tourney_level , winner_hand , draw_size , loser_rank_points , best_of , loser_seed , minutes , winner_seed , victorious_player_name , loser_ioc , winner_rank_points , loser_name , winner_ht , winner_age , winner_ioc , tourney_name , loser_rank , surface , match_num , winning_player_name , tourney_date , winner_entry , loser_entry , loser_ht , tourney_id , winner_id | rankings : ranking_points , player_id , ranking , tours , ranking_date", "extra_map": { "matches": { "winner_name": [ "winning_player_name", "victorious_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_rank", "winner_rank_points", "winner_seed", "year", "winning_player_name", "victorious_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "name of the winner": "matches.winner_name", "matches": "matches", "rank points": "matches.winner_rank_points" } }, { "question": "find the #name of the winner# who has the #highest rank points# and participated in the #australian open tourney# .", "db_id": "wta_1", "orig_query": "select winner_name from matches where tourney_name = 'Australian Open' order by winner_rank_points desc limit 1", "schema_with_content": "players : first_name (\"V\", \"Estella\", \"Isolde\"), birth_date (19830331, 19850801, 19760831), hand (\"\", \"U\", \"R\"), player_id (201334, 204804, 205244), last_name (\"Padamata\", \"Sheeran\", \"Niculaita\"), country_code (\"BRN\", \"UKR\", \"YUG\") | matches : draw_size (8, 8, 8), loser_hand (\"R\", \"L\"), match_num (225, 201, 221), winner_age (24.2902121834, 34.6173853525, 34.6173853525), loser_ioc (\"ROU\", \"SWE\", \"ROU\"), round (\"RR\", \"F\", \"F\"), winner_rank (33, 58, 24), tourney_level (\"W\", \"W\", \"G\"), best_of (3), loser_seed (20, 25, 13), minutes (74, 168, 91), winner_seed (6, 13, 6), winning_player_name (\"Madison Keys\", \"Victoria Azarenka\", \"Caroline Wozniacki\"), winner_entry (\"\"), winner_rank_points (3860, 8000, 3763), score (\"6-3 6-3\", \"6-0 3-6 6-2\", \"7-5 6-7(5) 6-2\"), tourney_name (\"Budapest\", \"Moscow\", \"Eastbourne\"), loser_entry (\"\"), loser_rank_points (2375, 1960, 3860), surface (\"Hard\", \"Clay\", \"Grass\"), tourney_id (\"2017-M007\", \"2017-520\", \"2017-560\"), winner_ht (178, 172, 185), tourney_date (20170522, 20170522, 20170703), victorious_player_name (\"Madison Keys\", \"Victoria Azarenka\", \"Caroline Wozniacki\"), loser_rank (26, 17, 47), loser_ht (177, 179, 170), winner_id (200033, 201458, 201540), winner_hand (\"R\", \"L\"), winner_ioc (\"HUN\", \"CHN\", \"AUS\"), loser_name (\"Angelique Kerber\", \"Kiki Bertens\", \"Karolina Pliskova\"), loser_id (201495, 201539, 201427), year (2013, 2016, 2017), loser_age (25.650924024600002, 23.961670089000002, 33.3552361396) | rankings : ranking_points (5270, 1847, 4775), tours (16, 31, 40), player_id (213831, 202381, 202379), ranking_date (19961216, 20090504, 20030421), ranking (727, 1067, 1038)", "schema_without_content": "players : first_name , birth_date , hand , player_id , last_name , country_code | matches : draw_size , loser_hand , match_num , winner_age , loser_ioc , round , winner_rank , tourney_level , best_of , loser_seed , minutes , winner_seed , winning_player_name , winner_entry , winner_rank_points , score 6-2\", tourney_name , loser_entry , loser_rank_points , surface , tourney_id , winner_ht , tourney_date , victorious_player_name , loser_rank , loser_ht , winner_id , winner_hand , winner_ioc , loser_name , loser_id , year , loser_age | rankings : ranking_points , tours , player_id , ranking_date , ranking", "extra_map": { "matches": { "winner_name": [ "winning_player_name", "victorious_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_rank", "winner_rank_points", "winner_seed", "year", "winning_player_name", "victorious_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "name of the winner": "matches.winner_name", "highest rank points": "matches.winner_rank_points", "Australian Open tourney": "matches.tourney_name" } }, { "question": "what is the #name of the winner with the most rank points# who participated in the #australian open tournament# ?", "db_id": "wta_1", "orig_query": "select winner_name from matches where tourney_name = 'Australian Open' order by winner_rank_points desc limit 1", "schema_with_content": "players : hand (\"R\", \"R\", \"\"), player_id (200464, 217174, 217908), country_code (\"NOR\", \"GRN\", \"VEN\"), first_name (\"Nikki\", \"Petrona\", \"Vered\"), birth_date (19801029, 19820424, 19891108), last_name (\"Kan\", \"Alkio\", \"Soldatenkova\") | matches : winner_rank_points (5860, 1215, 4370), loser_name (\"Irina Camelia Begu\", \"Samantha Stosur\", \"Petra Kvitova\"), winner_id (200748, 202494, 201325), tourney_date (20160606, 20170828, 20160627), winner_ioc (\"USA\", \"UKR\", \"NED\"), match_num (287, 155, 287), winner_age (27.578370978800002, 28.733744011, 36.5831622177), winner_seed (27, 7, 10), loser_rank (48, 1, 15), year (2013, 2016, 2017), minutes (85, 60, 113), loser_ioc (\"SRB\", \"BLR\", \"DEN\"), winner_rank (31, 42, 37), winning_player_name (\"Sara Errani\", \"Johanna Larsson\", \"Sloane Stephens\"), tourney_id (\"2016-1003\", \"2017-0703\", \"2017-1005\"), victorious_player_name (\"Sara Errani\", \"Johanna Larsson\", \"Sloane Stephens\"), score (\"3-6 6-2 6-3\", \"7-6(4) 6-3\", \"6-2 6-4\"), loser_seed (19, 22, 1), loser_ht (180, 172, 179), tourney_name (\"Birmingham\", \"Indian Wells\", \"Montreal\"), surface (\"Hard\", \"Clay\", \"Grass\"), winner_ht (183, 161, 183), tourney_level (\"I\", \"P\", \"P\"), round (\"BR\", \"QF\", \"F\"), loser_entry (\"\"), loser_rank_points (1736, 1590, 7515), winner_hand (\"R\", \"L\"), loser_hand (\"R\", \"L\"), best_of (3), loser_age (21.607118412, 22.4503764545, 25.7467488022), loser_id (201596, 201455, 201495), winner_entry (\"\"), draw_size (4, 128, 64) | rankings : tours (26, 28, 30), player_id (211775, 202642, 202602), ranking_points (1335, 3715, 213), ranking_date (19950220, 19981005, 19940822), ranking (602, 705, 65)", "schema_without_content": "players : hand , player_id , country_code , first_name , birth_date , last_name | matches : winner_rank_points , loser_name , winner_id , tourney_date , winner_ioc , match_num , winner_age , winner_seed , loser_rank , year , minutes , loser_ioc , winner_rank , winning_player_name , tourney_id , victorious_player_name , score 6-3\", \"6-2 6-4\", loser_seed , loser_ht , tourney_name , surface , winner_ht , tourney_level , round , loser_entry , loser_rank_points , winner_hand , loser_hand , best_of , loser_age , loser_id , winner_entry , draw_size | rankings : tours , player_id , ranking_points , ranking_date , ranking", "extra_map": { "matches": { "winner_name": [ "winning_player_name", "victorious_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_rank", "winner_rank_points", "winner_seed", "year", "winning_player_name", "victorious_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "name of the winner with the most rank points": "matches.winner_name", "Australian Open tournament": "matches.tourney_name" } }, { "question": "find the #names of loser# and winner who played in the match with greatest #number of minutes# .", "db_id": "wta_1", "orig_query": "select winner_name, loser_name from matches order by minutes desc limit 1", "schema_with_content": "players : birth_date (19580310, 19950722, 19910303), player_id (217650, 211049, 202748), country_code (\"LAT\", \"NAM\", \"PNG\"), first_name (\"Alize\", \"Ana Luna\", \"Kelesitse\"), hand (\"U\", \"R\", \"R\"), last_name (\"Balic\", \"Lyuksheva\", \"Gans\") | matches : loser_rank_points (2101, 3440, 2745), round (\"F\", \"BR\", \"BR\"), loser_entry (\"\"), minutes (100, 22, 69), year (2013, 2016, 2017), loser_rank (18, 14, 45), tourney_level (\"G\", \"I\", \"P\"), loser_age (23.2717316906, 31.920602327199997, 34.045174538000005), defeated_player_name (\"Coco Vandeweghe\", \"Sorana Cirstea\", \"Anastasia Pavlyuchenkova\"), winner_seed (2, 9, 15), loser_seed (2, 20, 11), tourney_date (20170731, 20170508, 20160222), score (\"6-4 3-6 6-4\", \"7-6(0) 6-3\", \"7-5 4-6 6-2\"), winner_id (201540, 201366, 201419), draw_size (64, 32, 64), match_num (218, 222, 209), winner_age (26.1136208077, 31.6495550992, 26.6529774127), loser_id (201311, 201366, 201619), winner_rank (15, 44, 23), surface (\"Hard\", \"Clay\", \"Grass\"), loser_ht (182, 185, 181), loser_hand (\"R\", \"L\"), tourney_name (\"Rome\", \"Eastbourne\", \"Zhuhai\"), winner_ht (174, 178, 177), winner_hand (\"R\", \"L\"), winner_name (\"Svetlana Kuznetsova\", \"Na Li\", \"Irina Camelia Begu\"), beaten_player_name (\"Coco Vandeweghe\", \"Sorana Cirstea\", \"Anastasia Pavlyuchenkova\"), tourney_id (\"2017-M004\", \"2016-1074\", \"2016-1048\"), winner_rank_points (6500, 4745, 3445), winner_entry (\"\"), winner_ioc (\"USA\", \"HUN\", \"BLR\"), loser_ioc (\"BLR\", \"SUI\", \"BEL\"), best_of (3) | rankings : player_id (204304, 213965, 201513), tours (32, 5, 15), ranking_date (19900205, 20040405, 20050307), ranking_points (2021, 4855, 4220), ranking (725, 1312, 1411)", "schema_without_content": "players : birth_date , player_id , country_code , first_name , hand , last_name | matches : loser_rank_points , round , loser_entry , minutes , year , loser_rank , tourney_level , loser_age , defeated_player_name , winner_seed , loser_seed , tourney_date , score 6-3\", \"7-5 4-6 6-2\", winner_id , draw_size , match_num , winner_age , loser_id , winner_rank , surface , loser_ht , loser_hand , tourney_name , winner_ht , winner_hand , winner_name , beaten_player_name , tourney_id , winner_rank_points , winner_entry , winner_ioc , loser_ioc , best_of | rankings : player_id , tours , ranking_date , ranking_points , ranking", "extra_map": { "matches": { "loser_name": [ "defeated_player_name", "beaten_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year", "defeated_player_name", "beaten_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "names of loser": "matches.loser_name", "number of minutes": "matches.minutes", "names of winner": "matches.winner_name" } }, { "question": "find the #names of loser# and winner who played in the match with greatest #number of minutes# .", "db_id": "wta_1", "orig_query": "select winner_name, loser_name from matches order by minutes desc limit 1", "schema_with_content": "players : player_id (213596, 205205, 203527), first_name (\"Nathalia\", \"Daniela Alexandra\", \"Chiho\"), last_name (\"Schuler\", \"Garcia Fernandez\", \"Radisavljevic\"), birth_date (19830625, 19930829, 19950119), country_code (\"BER\", \"PAN\", \"SVK\"), hand (\"R\", \"\", \"\") | matches : tourney_level (\"P\", \"I\", \"I\"), loser_seed (13, 21, 26), score (\"7-5 6-3\", \"6-2 6-3\", \"6-1 3-0 RET\"), loser_age (28.3258042437, 27.947980835, 27.3347022587), draw_size (128, 12, 12), winner_hand (\"R\", \"L\"), loser_ioc (\"USA\", \"JPN\", \"BEL\"), winner_entry (\"\"), winner_ht (161, 164, 178), surface (\"Hard\", \"Clay\", \"Grass\"), winner_ioc (\"SVK\", \"CHN\", \"NED\"), loser_id (202469, 201619, 201540), loser_entry (\"\"), round (\"RR\", \"SF\", \"BR\"), loser_rank_points (1840, 3897, 5830), match_num (220, 209, 155), loser_name (\"Lauren Davis\", \"Roberta Vinci\", \"Annika Beck\"), best_of (3), winner_id (201499, 201427, 201325), tourney_id (\"2017-M020\", \"2017-0602\", \"2016-1064\"), tourney_name (\"French Open\", \"Prague\", \"Monterrey\"), tourney_date (20170814, 20170102, 20170227), winner_rank_points (5205, 3540, 3710), victorious_player_name (\"Kiki Bertens\", \"Victoria Azarenka\", \"Simona Halep\"), winner_seed (9, 8, 4), loser_ht (164, 162, 169), loser_rank (16, 46, 18), winner_rank (34, 10, 21), minutes (75, 132, 63), winning_player_name (\"Kiki Bertens\", \"Victoria Azarenka\", \"Simona Halep\"), loser_hand (\"R\", \"L\"), year (2013, 2016, 2017), winner_age (24.900752909, 26.8117727584, 26.340862423) | rankings : ranking_points (2497, 3154, 5446), ranking (228, 323, 1387), ranking_date (19900507, 19880815, 20010402), tours (30, 22, 28), player_id (214283, 206132, 211030)", "schema_without_content": "players : player_id , first_name , last_name , birth_date , country_code , hand | matches : tourney_level , loser_seed , score , loser_age , draw_size , winner_hand , loser_ioc , winner_entry , winner_ht , surface , winner_ioc , loser_id , loser_entry , round , loser_rank_points , match_num , loser_name , best_of , winner_id , tourney_id , tourney_name , tourney_date , winner_rank_points , victorious_player_name , winner_seed , loser_ht , loser_rank , winner_rank , minutes , winning_player_name , loser_hand , year , winner_age | rankings : ranking_points , ranking , ranking_date , tours , player_id", "extra_map": { "matches": { "winner_name": [ "winning_player_name", "victorious_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_rank", "winner_rank_points", "winner_seed", "year", "winning_player_name", "victorious_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "names of loser": "matches.loser_name", "number of minutes": "matches.minutes", "names of winner": "matches.winner_name" } }, { "question": "what are the #names of the winner# and #loser# who played in the #longest match# ?", "db_id": "wta_1", "orig_query": "select winner_name, loser_name from matches order by minutes desc limit 1", "schema_with_content": "players : first_name (\"Alessaundra\", \"Kelesitse\", \"Rocio Daniela\"), last_name (\"Munch Hermansen\", \"Ornstein\", \"Bonnaffoux\"), birth_date (19580811, 19901226, 19790821), hand (\"L\", \"U\", \"\"), player_id (220251, 218236, 216632), country_code (\"TRI\", \"CGO\", \"KGZ\") | matches : best_of (3), tourney_id (\"2017-0406\", \"2017-560\", \"2013-W-WT-TUR-01A-2013\"), loser_ioc (\"TPE\", \"HUN\", \"HUN\"), round (\"F\", \"F\", \"F\"), loser_entry (\"\"), loser_rank_points (4975, 1177, 2975), loser_ht (179, 163, 164), winner_rank_points (1800, 5481, 4100), score (\"7-6(5) 2-6 6-3\", \"6-3 2-6 6-3\", \"7-6(3) 6-3\"), winner_seed (11, 4, 20), loser_id (201311, 201496, 201596), beaten_player_name (\"Johanna Larsson\", \"Venus Williams\", \"Alize Cornet\"), defeated_player_name (\"Johanna Larsson\", \"Venus Williams\", \"Alize Cornet\"), winner_hand (\"R\", \"L\"), tourney_date (20161017, 20160926, 20170828), winner_name (\"Serena Williams\", \"Lesia Tsurenko\", \"Irina Camelia Begu\"), winner_ht (177, 162, 163), winner_id (201535, 201311, 201521), loser_rank (8, 35, 36), loser_seed (23, 16, 25), match_num (215, 276, 196), winner_entry (\"\"), winner_ioc (\"DEN\", \"CHN\", \"FRA\"), tourney_level (\"I\", \"G\", \"P\"), winner_rank (30, 10, 1), year (2013, 2016, 2017), surface (\"Hard\", \"Clay\", \"Grass\"), draw_size (8, 8, 64), tourney_name (\"Rome\", \"New Haven\", \"Linz\"), loser_age (30.250513347, 31.518138261500003, 28.958247775500002), minutes (84, 78, 184), loser_hand (\"R\", \"L\"), winner_age (25.650924024600002, 22.672142368200003, 27.748117727600004) | rankings : tours (17, 20, 21), ranking_date (20130610, 19900903, 19960729), ranking_points (2064, 897, 3014), ranking (824, 662, 1269), player_id (204320, 215174, 203272)", "schema_without_content": "players : first_name , last_name , birth_date , hand , player_id , country_code | matches : best_of , tourney_id , loser_ioc , round , loser_entry , loser_rank_points , loser_ht , winner_rank_points , score 2-6 6-3\", \"6-3 2-6 6-3\", \"7-6 6-3\", winner_seed , loser_id , beaten_player_name , defeated_player_name , winner_hand , tourney_date , winner_name , winner_ht , winner_id , loser_rank , loser_seed , match_num , winner_entry , winner_ioc , tourney_level , winner_rank , year , surface , draw_size , tourney_name , loser_age , minutes , loser_hand , winner_age | rankings : tours , ranking_date , ranking_points , ranking , player_id", "extra_map": { "matches": { "loser_name": [ "defeated_player_name", "beaten_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year", "defeated_player_name", "beaten_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "names of the winner": "matches.winner_name", "loser": "matches.loser_name", "longest match": "matches.minutes" } }, { "question": "what are the #names of the winner# and #loser# who played in the #longest match# ?", "db_id": "wta_1", "orig_query": "select winner_name, loser_name from matches order by minutes desc limit 1", "schema_with_content": "players : last_name (\"Botshoma\", \"De La Capilla\", \"Esteves De Freitas\"), first_name (\"Lindsay\", \"Olga\", \"Waya\"), country_code (\"ESP\", \"OMA\", \"SYR\"), birth_date (19931119, 19890314, 19940302), player_id (202950, 208280, 212473), hand (\"L\", \"L\", \"\") | matches : winner_seed (28, 27, 1), match_num (163, 216, 295), round (\"SF\", \"R16\", \"RR\"), best_of (3), loser_rank (6, 19, 21), loser_hand (\"R\", \"L\"), winner_entry (\"\"), winner_ht (184, 178, 173), winner_rank (30, 10, 43), tourney_id (\"2013-W-WT-TUR-01A-2013\", \"2016-0703\", \"2017-M009\"), loser_ioc (\"SUI\", \"DEN\", \"RUS\"), loser_entry (\"\"), minutes (69, 168, 116), surface (\"Hard\", \"Clay\", \"Grass\"), winner_rank_points (4372, 1994, 5270), tourney_name (\"WTA Championships\", \"Beijing\", \"Madrid\"), winner_age (34.4449007529, 20.917180013699998, 23.961670089000002), victorious_player_name (\"Petra Kvitova\", \"Barbora Zahlavova Strycova\", \"Elena Vesnina\"), loser_age (25.3798767967, 28.5448323066, 31.3675564682), winner_id (201518, 201518, 201495), loser_id (201499, 201619, 201455), year (2013, 2016, 2017), winning_player_name (\"Petra Kvitova\", \"Barbora Zahlavova Strycova\", \"Elena Vesnina\"), loser_seed (28, 21, 17), tourney_level (\"G\", \"P\", \"G\"), score (\"4-6 6-3 1-0 RET\", \"6-2 7-6(5)\", \"4-6 6-3 1-0 RET\"), loser_name (\"Sloane Stephens\", \"Irina Camelia Begu\", \"Samantha Stosur\"), loser_ht (180, 164, 177), winner_hand (\"R\", \"L\"), draw_size (8, 4, 32), loser_rank_points (2005, 3160, 4865), tourney_date (20170227, 20170814, 20161114), winner_ioc (\"NED\", \"ITA\", \"FRA\") | rankings : tours (4, 12, 33), ranking (764, 1451, 256), ranking_date (20060724, 19891211, 20070115), ranking_points (1079, 5400, 931), player_id (205856, 202678, 201494)", "schema_without_content": "players : last_name , first_name , country_code , birth_date , player_id , hand | matches : winner_seed , match_num , round , best_of , loser_rank , loser_hand , winner_entry , winner_ht , winner_rank , tourney_id , loser_ioc , loser_entry , minutes , surface , winner_rank_points , tourney_name , winner_age , victorious_player_name , loser_age , winner_id , loser_id , year , winning_player_name , loser_seed , tourney_level , score \", \"4-6 6-3 1-0 RET\", loser_name , loser_ht , winner_hand , draw_size , loser_rank_points , tourney_date , winner_ioc | rankings : tours , ranking , ranking_date , ranking_points , player_id", "extra_map": { "matches": { "winner_name": [ "winning_player_name", "victorious_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_rank", "winner_rank_points", "winner_seed", "year", "winning_player_name", "victorious_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "names of the winner": "matches.winner_name", "loser": "matches.loser_name", "longest match": "matches.minutes" } }, { "question": "find the #average ranking for each player# and their #first name# .", "db_id": "wta_1", "orig_query": "select avg(ranking), t1.first_name from players as t1 join rankings as t2 on t1.player_id = t2.player_id group by t1.first_name", "schema_with_content": "players : forename (\"Yun\", \"Maggie\", \"Kajsa\"), birth_date (20011016, 19330402, 19950125), player_id (201055, 207205, 215633), hand (\"\", \"\", \"\"), country_code (\"CUB\", \"FIN\", \"NGR\"), given_name (\"Yun\", \"Maggie\", \"Kajsa\"), last_name (\"Daszkiewicz\", \"Koudelka\", \"Cereghetti\") | matches : winner_hand (\"R\", \"L\"), loser_ioc (\"NED\", \"SUI\", \"AUS\"), loser_rank_points (3010, 9245, 3698), loser_id (201458, 202494, 201474), loser_ht (163, 157, 172), winner_rank_points (2730, 4287, 3120), match_num (155, 226, 156), winner_rank (9, 52, 44), tourney_date (20160208, 20170731, 20170612), score (\"7-6(3) 6-3\", \"6-1 3-6 6-3\", \"2-6 6-4 6-1\"), loser_age (30.1546885695, 33.0869267625, 28.7665982204), surface (\"Hard\", \"Clay\", \"Grass\"), round (\"R32\", \"BR\", \"R32\"), draw_size (12, 64, 8), tourney_level (\"W\", \"I\", \"P\"), loser_seed (1, 16, 14), winner_age (24.2628336756, 37.196440794000004, 23.40862423), minutes (134, 113, 179), loser_entry (\"\"), winner_ioc (\"FRA\", \"HUN\", \"ROU\"), loser_hand (\"R\", \"L\"), loser_name (\"Sara Errani\", \"Elena Vesnina\", \"Christina Mchale\"), winner_seed (1, 12, 11), winner_ht (183, 164, 176), year (2013, 2016, 2017), winner_name (\"Serena Williams\", \"Barbora Zahlavova Strycova\", \"Lucie Safarova\"), tourney_id (\"2016-O16\", \"2017-M035\", \"2016-0804\"), tourney_name (\"Singapore\", \"Monterrey\", \"Florianopolis\"), winner_id (200033, 201693, 201521), loser_rank (34, 5, 8), best_of (3), winner_entry (\"\") | rankings : tours (32, 25, 30), ranking_points (5691, 3935, 2711), ranking (1184, 199, 509), player_id (212039, 206028, 201086), ranking_date (20080519, 20060724, 20000612)", "schema_without_content": "players : forename , birth_date , player_id , hand , country_code , given_name , last_name | matches : winner_hand , loser_ioc , loser_rank_points , loser_id , loser_ht , winner_rank_points , match_num , winner_rank , tourney_date , score 6-3\", \"6-1 3-6 6-3\", \"2-6 6-4 6-1\", loser_age , surface , round , draw_size , tourney_level , loser_seed , winner_age , minutes , loser_entry , winner_ioc , loser_hand , loser_name , winner_seed , winner_ht , year , winner_name , tourney_id , tourney_name , winner_id , loser_rank , best_of , winner_entry | rankings : tours , ranking_points , ranking , player_id , ranking_date", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "average ranking for each player": "rankings.ranking", "first name": "players.first_name" } }, { "question": "what are the #first names of all players# , and their #average rankings# ?", "db_id": "wta_1", "orig_query": "select avg(ranking), t1.first_name from players as t1 join rankings as t2 on t1.player_id = t2.player_id group by t1.first_name", "schema_with_content": "players : last_name (\"Merico\", \"Naklo\", \"Donoshiro\"), hand (\"\", \"R\", \"\"), given_name (\"Makiko\", \"Blanka\", \"Aliya\"), birth_date (20001207, 19840302, 19921027), country_code (\"PUR\", \"TKM\", \"AHO\"), player_id (202282, 209511, 213559), forename (\"Makiko\", \"Blanka\", \"Aliya\") | matches : winner_entry (\"\"), loser_rank_points (3061, 3060, 5175), best_of (3), winner_id (201425, 201595, 201325), loser_seed (3, 29, 2), loser_rank (13, 14, 17), winner_ht (178, 176, 161), tourney_date (20160829, 20160118, 20160111), surface (\"Hard\", \"Clay\", \"Grass\"), loser_hand (\"R\", \"L\"), loser_id (201504, 202428, 202494), tourney_id (\"2017-M020\", \"2016-1051\", \"2016-M001\"), year (2013, 2016, 2017), loser_entry (\"\"), winner_age (31.0362765229, 26.9650924025, 23.6002737851), round (\"BR\", \"R16\", \"F\"), loser_age (24.1177275838, 30.9021218344, 29.092402464099997), tourney_level (\"I\", \"W\", \"P\"), winner_rank (7, 45, 25), winner_rank_points (5700, 2580, 1736), tourney_name (\"Sydney\", \"Biel\", \"Stuttgart\"), winner_ioc (\"CZE\", \"POL\", \"GER\"), loser_ht (164, 165, 161), winner_seed (15, 2, 24), score (\"7-6(2) 6-2\", \"6-2 5-7 6-4\", \"6-3 7-5 \"), winner_hand (\"R\", \"L\"), minutes (129, 116, 74), loser_name (\"Ekaterina Makarova\", \"Kirsten Flipkens\", \"Stefanie Voegele\"), match_num (202, 219, 300), loser_ioc (\"POL\", \"SUI\", \"UKR\"), winner_name (\"Julia Goerges\", \"Samantha Stosur\", \"Petra Kvitova\"), draw_size (128, 32, 12) | rankings : ranking (1240, 706, 940), ranking_date (20080519, 19920210, 20130805), player_id (213673, 201555, 210223), tours (27, 18, 11), ranking_points (3016, 608, 1285)", "schema_without_content": "players : last_name , hand , given_name , birth_date , country_code , player_id , forename | matches : winner_entry , loser_rank_points , best_of , winner_id , loser_seed , loser_rank , winner_ht , tourney_date , surface , loser_hand , loser_id , tourney_id , year , loser_entry , winner_age , round , loser_age , tourney_level , winner_rank , winner_rank_points , tourney_name , winner_ioc , loser_ht , winner_seed , score 6-2\", \"6-2 5-7 6-4\", \"6-3 7-5 \", winner_hand , minutes , loser_name , match_num , loser_ioc , winner_name , draw_size | rankings : ranking , ranking_date , player_id , tours , ranking_points", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first names of all players": "players.first_name", "average rankings": "rankings.ranking" } }, { "question": "find the total #ranking points for each player# and their #first name# .", "db_id": "wta_1", "orig_query": "select sum(ranking_points), t1.first_name from players as t1 join rankings as t2 on t1.player_id = t2.player_id group by t1.first_name", "schema_with_content": "players : birth_date (19940708, 19740524, 19850825), player_id (202951, 207664, 207439), country_code (\"NED\", \"FRA\", \"IRQ\"), hand (\"U\", \"U\", \"R\"), forename (\"Hae Sung\", \"Beyda\", \"Yuuki\"), given_name (\"Hae Sung\", \"Beyda\", \"Yuuki\"), last_name (\"Baumgarten\", \"Hanika\", \"Makarova\") | matches : loser_rank_points (2456, 1562, 2054), winner_age (26.340862423, 26.9596167009, 23.7344284736), winner_ioc (\"SWE\", \"BLR\", \"HUN\"), tourney_name (\"Hong Kong\", \"Linz\", \"WTA Championships\"), loser_seed (9, 20, 13), match_num (214, 214, 260), winner_seed (20, 27, 19), tourney_id (\"2017-0406\", \"2016-M020\", \"2016-0528\"), draw_size (12, 12, 128), loser_entry (\"\"), winner_hand (\"R\", \"L\"), round (\"RR\", \"F\", \"BR\"), score (\"6-7(3) 6-4 6-3\", \"6-1 3-6 6-0\", \"2-6 6-3 1-0 RET\"), best_of (3), winner_id (201427, 201320, 201585), winner_rank (9, 52, 15), loser_age (26.466803559200002, 22.7104722793, 24.922655715300003), winner_name (\"Samantha Stosur\", \"Sara Errani\", \"Kristina Mladenovic\"), tourney_date (20160613, 20170220, 20160425), year (2013, 2016, 2017), loser_ht (168, 173, 178), surface (\"Hard\", \"Clay\", \"Grass\"), loser_rank (1, 4, 32), winner_entry (\"\"), loser_ioc (\"USA\", \"JPN\", \"JPN\"), loser_name (\"Kirsten Flipkens\", \"Magdalena Rybarikova\", \"Simona Halep\"), tourney_level (\"I\", \"I\", \"P\"), winner_ht (182, 179, 183), loser_hand (\"R\", \"L\"), winner_rank_points (1965, 5310, 2375), minutes (170, 176, 77), loser_id (201455, 201444, 201619) | rankings : ranking_points (2675, 30, 2340), tours (24, 9, 16), player_id (203561, 205815, 211772), ranking (961, 123, 642), ranking_date (19970721, 19920101, 19920824)", "schema_without_content": "players : birth_date , player_id , country_code , hand , forename , given_name , last_name | matches : loser_rank_points , winner_age , winner_ioc , tourney_name , loser_seed , match_num , winner_seed , tourney_id , draw_size , loser_entry , winner_hand , round , score 6-4 6-3\", \"6-1 3-6 6-0\", \"2-6 6-3 1-0 RET\", best_of , winner_id , winner_rank , loser_age , winner_name , tourney_date , year , loser_ht , surface , loser_rank , winner_entry , loser_ioc , loser_name , tourney_level , winner_ht , loser_hand , winner_rank_points , minutes , loser_id | rankings : ranking_points , tours , player_id , ranking , ranking_date", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "ranking points for each player": "rankings.ranking_points", "first name": "players.first_name" } }, { "question": "what are the #first names of all players# , and their total #ranking points# ?", "db_id": "wta_1", "orig_query": "select sum(ranking_points), t1.first_name from players as t1 join rankings as t2 on t1.player_id = t2.player_id group by t1.first_name", "schema_with_content": "players : last_name (\"Kevey\", \"Mantler\", \"Kuijstermans\"), country_code (\"BLR\", \"RSA\", \"AND\"), hand (\"R\", \"\", \"U\"), player_id (213679, 220569, 216081), forename (\"Nuraeni\", \"Ayse Ece\", \"Katalin\"), given_name (\"Nuraeni\", \"Ayse Ece\", \"Katalin\"), birth_date (20000516, 19940609, 19951106) | matches : winner_rank_points (1015, 1965, 3855), winner_ioc (\"DEN\", \"ROU\", \"SRB\"), loser_seed (1, 17, 4), loser_entry (\"\"), winner_ht (185, 178, 177), best_of (3), loser_age (28.8678986995, 23.8275154004, 24.7994524298), loser_name (\"Madison Keys\", \"Julia Goerges\", \"Lesia Tsurenko\"), loser_ioc (\"NED\", \"SUI\", \"RUS\"), surface (\"Hard\", \"Clay\", \"Grass\"), winner_entry (\"\"), tourney_id (\"2017-560\", \"2016-1064\", \"2016-1087\"), loser_id (201621, 201615, 201527), winner_name (\"Svetlana Kuznetsova\", \"Ekaterina Makarova\", \"Carla Suarez Navarro\"), loser_hand (\"R\", \"L\"), tourney_date (20160307, 20160321, 20160111), year (2013, 2016, 2017), loser_ht (182, 183, 182), loser_rank_points (873, 3960, 3752), tourney_level (\"W\", \"I\", \"W\"), loser_rank (7, 61, 2), draw_size (128, 32, 128), round (\"QF\", \"R32\", \"R32\"), winner_seed (24, 16, 5), tourney_name (\"New Haven\", \"Acapulco\", \"Montreal\"), minutes (82, 56, 87), winner_id (201504, 201425, 201311), winner_hand (\"R\", \"L\"), winner_age (28.9336071184, 21.472963723499998, 24.8268309377), winner_rank (43, 56, 45), score (\"6-1 3-6 6-0\", \"4-6 7-5 6-2\", \"7-5 1-6 7-5\"), match_num (290, 152, 297) | rankings : player_id (205954, 214894, 214158), ranking_date (20100503, 20121015, 19910610), ranking_points (1209, 177, 3154), ranking (207, 1091, 970), tours (29, 18, 17)", "schema_without_content": "players : last_name , country_code , hand , player_id , forename , given_name , birth_date | matches : winner_rank_points , winner_ioc , loser_seed , loser_entry , winner_ht , best_of , loser_age , loser_name , loser_ioc , surface , winner_entry , tourney_id , loser_id , winner_name , loser_hand , tourney_date , year , loser_ht , loser_rank_points , tourney_level , loser_rank , draw_size , round , winner_seed , tourney_name , minutes , winner_id , winner_hand , winner_age , winner_rank , score , match_num | rankings : player_id , ranking_date , ranking_points , ranking , tours", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first names of all players": "players.first_name", "ranking points": "rankings.ranking_points" } }, { "question": "find the #number of players for each country# .", "db_id": "wta_1", "orig_query": "select count(*), country_code from players group by country_code", "schema_with_content": "players : last_name (\"Stegmann\", \"Cornelius\", \"Knox\"), nationality_code (\"JPN\", \"IND\", \"PNG\"), player_id (207197, 212059, 208607), first_name (\"Temitope\", \"Eloah\", \"Sanya\"), country_id (\"JPN\", \"IND\", \"PNG\"), birth_date (19681007, 19681113, 19840618), hand (\"L\", \"L\", \"L\") | matches : best_of (3), tourney_id (\"2017-M010\", \"2017-1079\", \"2016-0710\"), tourney_level (\"I\", \"W\", \"I\"), winner_name (\"Anastasia Pavlyuchenkova\", \"Victoria Azarenka\", \"Serena Williams\"), loser_hand (\"R\", \"L\"), winner_rank_points (3120, 1302, 6940), winner_id (201493, 201311, 202494), loser_rank (60, 4, 35), loser_rank_points (2745, 8000, 1749), draw_size (12, 4, 128), round (\"R32\", \"QF\", \"BR\"), tourney_date (20160815, 20170410, 20170703), loser_name (\"Carla Suarez Navarro\", \"Angelique Kerber\", \"Yanina Wickmayer\"), year (2013, 2016, 2017), loser_seed (11, 28, 29), loser_id (201585, 201521, 201455), match_num (260, 274, 211), winner_age (27.9178644764, 21.3196440794, 25.6317590691), score (\"4-6 7-5 6-1\", \"7-6(5) 2-6 6-3\", \"7-6(5) 7-6(2)\"), winner_ht (164, 161, 173), winner_entry (\"\"), loser_age (25.842573579699998, 22.3463381246, 25.1197809719), winner_hand (\"R\", \"L\"), winner_rank (44, 24, 3), winner_ioc (\"GER\", \"SRB\", \"USA\"), surface (\"Hard\", \"Clay\", \"Grass\"), tourney_name (\"Madrid\", \"Moscow\", \"s-Hertogenbosch\"), loser_ht (182, 163, 184), winner_seed (20, 19, 3), minutes (40, 62, 102), loser_entry (\"\"), loser_ioc (\"POL\", \"SRB\", \"NED\") | rankings : player_id (215520, 202922, 211685), ranking (1336, 30, 487), ranking_points (734, 40, 3292), ranking_date (20010528, 19890501, 20020408), tours (19, 7, 7)", "schema_without_content": "players : last_name , nationality_code , player_id , first_name , country_id , birth_date , hand | matches : best_of , tourney_id , tourney_level , winner_name , loser_hand , winner_rank_points , winner_id , loser_rank , loser_rank_points , draw_size , round , tourney_date , loser_name , year , loser_seed , loser_id , match_num , winner_age , score 2-6 6-3\", \"7-6 7-6\", winner_ht , winner_entry , loser_age , winner_hand , winner_rank , winner_ioc , surface , tourney_name , loser_ht , winner_seed , minutes , loser_entry , loser_ioc | rankings : player_id , ranking , ranking_points , ranking_date , tours", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "number of players for each country": "players.player_id" } }, { "question": "how many #players# are from each #country# ?", "db_id": "wta_1", "orig_query": "select count(*), country_code from players group by country_code", "schema_with_content": "players : country_id (\"GEO\", \"RHO\", \"SRI\"), birth_date (19691210, 19940525, 19910530), first_name (\"Ailen\", \"Vilma Y\", \"Kaori\"), nationality_code (\"GEO\", \"RHO\", \"SRI\"), player_id (210110, 215576, 209716), hand (\"L\", \"U\", \"R\"), last_name (\"Shirokova\", \"Steiner\", \"Lipovska\") | matches : winner_ioc (\"BLR\", \"AUS\", \"ROU\"), loser_ht (165, 185, 182), tourney_date (20170508, 20160321, 20160307), loser_entry (\"\"), winner_rank (22, 11, 82), minutes (127, 101, 199), loser_hand (\"R\", \"L\"), loser_id (201425, 201615, 201496), surface (\"Hard\", \"Clay\", \"Grass\"), winner_rank_points (2186, 5386, 2343), winner_age (27.4743326489, 28.4407939767, 27.947980835), tourney_level (\"W\", \"P\", \"P\"), winner_seed (12, 21, 2), winner_hand (\"R\", \"L\"), winner_name (\"Agnieszka Radwanska\", \"Julia Goerges\", \"Julia Goerges\"), loser_rank (16, 28, 7), loser_ioc (\"ITA\", \"HUN\", \"NED\"), winner_entry (\"\"), round (\"BR\", \"R32\", \"QF\"), best_of (3), loser_name (\"Johanna Larsson\", \"Kiki Bertens\", \"Irina Camelia Begu\"), loser_rank_points (1290, 3285, 2895), loser_age (31.1348391513, 26.340862423, 27.786447638600002), winner_ht (185, 161, 162), match_num (215, 295, 223), loser_seed (21, 9, 21), winner_id (201615, 201540, 201311), draw_size (4, 64, 8), score (\"4-6 7-5 6-1\", \"6-1 7-5\", \"7-5 6-1\"), tourney_name (\"Auckland\", \"Beijing\", \"Stuttgart\"), tourney_id (\"2016-1052\", \"2016-1074\", \"2016-1086\"), year (2013, 2016, 2017) | rankings : ranking_date (19890911, 19950109, 19890102), player_id (204353, 205877, 214607), tours (37, 5, 4), ranking_points (297, 2177, 1074), ranking (955, 781, 1453)", "schema_without_content": "players : country_id , birth_date , first_name , nationality_code , player_id , hand , last_name | matches : winner_ioc , loser_ht , tourney_date , loser_entry , winner_rank , minutes , loser_hand , loser_id , surface , winner_rank_points , winner_age , tourney_level , winner_seed , winner_hand , winner_name , loser_rank , loser_ioc , winner_entry , round , best_of , loser_name , loser_rank_points , loser_age , winner_ht , match_num , loser_seed , winner_id , draw_size , score , tourney_name , tourney_id , year | rankings : ranking_date , player_id , tours , ranking_points , ranking", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "players": "players", "country": "players.country_code" } }, { "question": "find the #code of the country# where has the greatest number of #players# .", "db_id": "wta_1", "orig_query": "select country_code from players group by country_code order by count(*) desc limit 1", "schema_with_content": "players : last_name (\"Cline\", \"Van Der Weck\", \"Weber\"), birth_date (19651122, 19761018, 19960618), hand (\"\", \"L\", \"\"), player_id (216078, 219504, 215251), first_name (\"Prapaiphan\", \"Thanushree\", \"Aareyalee Amrutsinh\"), country_id (\"CYP\", \"BER\", \"ARG\"), nationality_code (\"CYP\", \"BER\", \"ARG\") | matches : loser_entry (\"\"), tourney_level (\"G\", \"W\", \"G\"), year (2013, 2016, 2017), winner_ioc (\"FRA\", \"JPN\", \"CHN\"), tourney_name (\"Dubai\", \"Kaohsiung\", \"Washington\"), match_num (211, 271, 225), loser_seed (15, 30, 13), winner_entry (\"\"), loser_hand (\"R\", \"L\"), winner_id (201499, 201594, 202429), surface (\"Hard\", \"Clay\", \"Grass\"), loser_ht (162, 169, 180), draw_size (8, 12, 8), winner_age (32.9719370294, 24.958247775500002, 28.6132785763), tourney_id (\"2016-1075\", \"2016-560\", \"2016-520\"), best_of (3), winner_name (\"Madison Keys\", \"Ekaterina Makarova\", \"Carla Suarez Navarro\"), winner_ht (181, 179, 181), winner_rank (6, 33, 52), winner_hand (\"R\", \"L\"), loser_ioc (\"USA\", \"SRB\", \"NED\"), score (\"7-6(4) 6-3\", \"6-0 6-4\", \"3-6 7-6(4) 6-2\"), winner_seed (14, 21, 10), tourney_date (20170814, 20170529, 20160808), loser_age (25.3990417522, 24.8843258042, 31.7289527721), loser_rank_points (3160, 1700, 2511), loser_id (200748, 201514, 201540), loser_rank (61, 56, 48), winner_rank_points (3401, 3590, 3390), round (\"BR\", \"BR\", \"BR\"), loser_name (\"Carla Suarez Navarro\", \"Lucie Safarova\", \"Coco Vandeweghe\"), minutes (48, 163, 70) | rankings : ranking_date (19880620, 20001113, 20131118), tours (24, 40, 6), ranking (1281, 1108, 981), player_id (215164, 214944, 210930), ranking_points (1002, 432, 5853)", "schema_without_content": "players : last_name , birth_date , hand , player_id , first_name , country_id , nationality_code | matches : loser_entry , tourney_level , year , winner_ioc , tourney_name , match_num , loser_seed , winner_entry , loser_hand , winner_id , surface , loser_ht , draw_size , winner_age , tourney_id , best_of , winner_name , winner_ht , winner_rank , winner_hand , loser_ioc , score 6-3\", \"6-0 6-4\", \"3-6 7-6 6-2\", winner_seed , tourney_date , loser_age , loser_rank_points , loser_id , loser_rank , winner_rank_points , round , loser_name , minutes | rankings : ranking_date , tours , ranking , player_id , ranking_points", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "code of the country": "players.country_code", "players": "players" } }, { "question": "what is the #code of the country# with the most #players# ?", "db_id": "wta_1", "orig_query": "select country_code from players group by country_code order by count(*) desc limit 1", "schema_with_content": "players : last_name (\"Scheer\", \"Spinetta\", \"Bader\"), country_id (\"NED\", \"AZE\", \"MON\"), player_id (202220, 203271, 207812), nationality_code (\"NED\", \"AZE\", \"MON\"), birth_date (19881211, 19860603, 19870721), hand (\"\", \"U\", \"R\"), first_name (\"Chen Yee\", \"Sumeera\", \"Malak Jasim\") | matches : match_num (299, 208, 220), winner_rank (44, 13, 61), surface (\"Hard\", \"Clay\", \"Grass\"), tourney_level (\"G\", \"G\", \"G\"), winner_rank_points (3490, 3225, 3120), winner_ht (175, 185, 179), loser_hand (\"R\", \"L\"), winner_ioc (\"ESP\", \"RUS\", \"ROU\"), loser_entry (\"\"), tourney_date (20170403, 20160425, 20160606), loser_seed (2, 17, 1), loser_id (201455, 201621, 201504), winner_age (24.750171115700002, 26.869267624899997, 24.900752909), draw_size (8, 8, 12), loser_rank_points (3175, 2375, 1800), winner_entry (\"\"), winner_name (\"Petra Kvitova\", \"Venus Williams\", \"Serena Williams\"), winner_seed (10, 18, 7), round (\"R32\", \"RR\", \"F\"), winner_hand (\"R\", \"L\"), best_of (3), year (2013, 2016, 2017), tourney_name (\"Charleston\", \"'S-Hertogenbosch\", \"s-Hertogenbosch\"), loser_rank (52, 33, 32), minutes (63, 127, 148), tourney_id (\"2016-0300\", \"2016-0602\", \"2017-1098\"), loser_ht (183, 173, 168), loser_ioc (\"SWE\", \"SVK\", \"TPE\"), score (\"6-4 7-6(3)\", \"6-7(7) 6-2 6-4\", \"7-6(5) 2-6 6-3\"), loser_name (\"Stefanie Voegele\", \"Camila Giorgi\", \"Ekaterina Makarova\"), loser_age (28.709103353899998, 34.924024640700004, 25.880903490799998), winner_id (201455, 201496, 202428) | rankings : ranking_points (2685, 3110, 872), player_id (203442, 204256, 203349), tours (20, 32, 8), ranking (1130, 660, 1122), ranking_date (20121008, 20041108, 20010108)", "schema_without_content": "players : last_name , country_id , player_id , nationality_code , birth_date , hand , first_name | matches : match_num , winner_rank , surface , tourney_level , winner_rank_points , winner_ht , loser_hand , winner_ioc , loser_entry , tourney_date , loser_seed , loser_id , winner_age , draw_size , loser_rank_points , winner_entry , winner_name , winner_seed , round , winner_hand , best_of , year , tourney_name , loser_rank , minutes , tourney_id , loser_ht , loser_ioc , score \", \"6-7 6-2 6-4\", \"7-6 2-6 6-3\", loser_name , loser_age , winner_id | rankings : ranking_points , player_id , tours , ranking , ranking_date", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "code of the country": "players.country_code", "players": "players" } }, { "question": "find the #codes of countries# that have more than 50 #players# .", "db_id": "wta_1", "orig_query": "select country_code from players group by country_code having count(*) > 50", "schema_with_content": "players : player_id (207133, 205806, 211938), hand (\"\", \"U\", \"L\"), last_name (\"De Crop\", \"Iwasaki\", \"Strano\"), nationality_code (\"GRE\", \"GER\", \"PAR\"), birth_date (19760929, 19850930, 19990806), country_id (\"GRE\", \"GER\", \"PAR\"), first_name (\"Dorottya\", \"Vitalia\", \"Steffany\") | matches : loser_ioc (\"BLR\", \"CZE\", \"SVK\"), winner_rank_points (2600, 4236, 2196), loser_entry (\"\"), winner_seed (11, 7, 14), loser_name (\"Stefanie Voegele\", \"Johanna Larsson\", \"Sara Errani\"), tourney_name (\"Brisbane\", \"Madrid\", \"s-Hertogenbosch\"), match_num (226, 282, 199), loser_hand (\"R\", \"L\"), tourney_date (20170703, 20160822, 20160418), loser_ht (183, 175, 173), score (\"5-7 6-4 7-6(1)\", \"6-4 4-6 6-3\", \"6-2 7-5\"), winner_ioc (\"POL\", \"HUN\", \"ESP\"), loser_age (25.9986310746, 27.290896646100002, 34.6557152635), winner_entry (\"\"), best_of (3), tourney_id (\"2016-M010\", \"2016-1051\", \"2017-M006\"), loser_seed (1, 31, 2), loser_rank (28, 44, 12), winner_hand (\"R\", \"L\"), round (\"RR\", \"QF\", \"R16\"), year (2013, 2016, 2017), tourney_level (\"G\", \"I\", \"P\"), surface (\"Hard\", \"Clay\", \"Grass\"), winner_ht (170, 161, 164), winner_name (\"Jelena Jankovic\", \"Coco Vandeweghe\", \"Irina Camelia Begu\"), draw_size (4, 8, 64), loser_rank_points (2750, 9030, 8730), loser_id (201514, 201539, 201520), winner_rank (37, 42, 13), minutes (120, 67, 60), winner_age (24.8268309377, 28.6132785763, 25.7275838467), winner_id (201595, 201518, 201366) | rankings : ranking (966, 968, 1323), player_id (211534, 213713, 210500), ranking_date (20091221, 19970113, 19940725), tours (35, 34, 26), ranking_points (2773, 2650, 63)", "schema_without_content": "players : player_id , hand , last_name , nationality_code , birth_date , country_id , first_name | matches : loser_ioc , winner_rank_points , loser_entry , winner_seed , loser_name , tourney_name , match_num , loser_hand , tourney_date , loser_ht , score \", \"6-4 4-6 6-3\", \"6-2 7-5\", winner_ioc , loser_age , winner_entry , best_of , tourney_id , loser_seed , loser_rank , winner_hand , round , year , tourney_level , surface , winner_ht , winner_name , draw_size , loser_rank_points , loser_id , winner_rank , minutes , winner_age , winner_id | rankings : ranking , player_id , ranking_date , tours , ranking_points", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "codes of countries": "players.country_code", "players": "players" } }, { "question": "what are the #codes of countries# with more than 50 #players# ?", "db_id": "wta_1", "orig_query": "select country_code from players group by country_code having count(*) > 50", "schema_with_content": "players : nationality_code (\"GBR\", \"CUB\", \"GEO\"), last_name (\"Holzman\", \"Lamm\", \"Sonnekus Williams\"), birth_date (19880227, 19790920, 19841002), first_name (\"Dan\", \"Sviatlana\", \"Soo Mi\"), country_id (\"GBR\", \"CUB\", \"GEO\"), hand (\"U\", \"\", \"\"), player_id (201860, 210058, 211594) | matches : winner_ht (183, 183, 179), winner_rank_points (1255, 3300, 3020), winner_age (26.6502395619, 28.249144421599997, 25.9329226557), loser_rank (34, 15, 61), minutes (115, 68, 106), loser_age (32.0164271047, 24.249144421599997, 28.167008898000002), round (\"QF\", \"RR\", \"F\"), loser_rank_points (3185, 9945, 5860), loser_ioc (\"CZE\", \"ROU\", \"AUS\"), loser_ht (169, 163, 162), match_num (211, 216, 217), tourney_level (\"I\", \"W\", \"P\"), winner_id (201496, 201425, 201505), year (2013, 2016, 2017), score (\"6-7(10) 7-5 6-4\", \"6-3 5-7 9-7\", \"6-2 6-3\"), winner_hand (\"R\", \"L\"), loser_seed (19, 10, 4), winner_rank (9, 56, 48), loser_id (201427, 201496, 201325), winner_entry (\"\"), winner_seed (27, 16, 5), surface (\"Hard\", \"Clay\", \"Grass\"), loser_name (\"Anastasia Pavlyuchenkova\", \"Kirsten Flipkens\", \"Misaki Doi\"), winner_ioc (\"DEN\", \"JPN\", \"USA\"), draw_size (32, 12, 32), tourney_date (20160613, 20170320, 20160718), loser_entry (\"\"), best_of (3), loser_hand (\"R\", \"L\"), tourney_name (\"Strasbourg\", \"New Haven\", \"Acapulco\"), winner_name (\"Svetlana Kuznetsova\", \"Dominika Cibulkova\", \"Karolina Pliskova\"), tourney_id (\"2016-0602\", \"2016-M020\", \"2016-M007\") | rankings : player_id (205824, 205562, 210192), ranking_date (19900618, 19891127, 20120220), ranking (628, 1019, 680), ranking_points (1144, 92, 858), tours (40, 19, 31)", "schema_without_content": "players : nationality_code , last_name , birth_date , first_name , country_id , hand , player_id | matches : winner_ht , winner_rank_points , winner_age , loser_rank , minutes , loser_age , round , loser_rank_points , loser_ioc , loser_ht , match_num , tourney_level , winner_id , year , score 7-5 6-4\", \"6-3 5-7 9-7\", \"6-2 6-3\", winner_hand , loser_seed , winner_rank , loser_id , winner_entry , winner_seed , surface , loser_name , winner_ioc , draw_size , tourney_date , loser_entry , best_of , loser_hand , tourney_name , winner_name , tourney_id | rankings : player_id , ranking_date , ranking , ranking_points , tours", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "codes of countries": "players.country_code", "players": "players" } }, { "question": "find the #total number of tours for each ranking date# .", "db_id": "wta_1", "orig_query": "select sum(tours), ranking_date from rankings group by ranking_date", "schema_with_content": "players : birth_date (19661218, 19790529, 19911108), hand (\"\", \"U\", \"R\"), player_id (217639, 217251, 208794), first_name (\"Marlot\", \"Appollonia\", \"Eylul\"), country_code (\"NOR\", \"IRL\", \"BEN\"), last_name (\"Meyer Auf Der Heide\", \"Garrido Femenias\", \"Acra\") | matches : score (\"6-2 6-7(3) 6-3\", \"1-6 7-6(9) 6-4\", \"7-5 4-6 6-3\"), tourney_date (20170403, 20160307, 20161017), winner_rank (53, 17, 17), winner_ht (168, 178, 185), winner_name (\"Dominika Cibulkova\", \"Petra Kvitova\", \"Yanina Wickmayer\"), surface (\"Hard\", \"Clay\", \"Grass\"), winner_entry (\"\"), winner_hand (\"R\", \"L\"), loser_rank (48, 10, 48), minutes (130, 101, 175), loser_id (201397, 201320, 201514), year (2013, 2016, 2017), loser_rank_points (4728, 3401, 2585), loser_age (33.0102669405, 28.898015058200002, 26.9650924025), winner_ioc (\"GER\", \"ITA\", \"HUN\"), loser_entry (\"\"), loser_name (\"Lesia Tsurenko\", \"Victoria Azarenka\", \"Madison Keys\"), best_of (3), tourney_level (\"G\", \"P\", \"W\"), round (\"SF\", \"R16\", \"R32\"), match_num (155, 297, 296), tourney_name (\"Olympics\", \"Kaohsiung\", \"Charleston\"), loser_ioc (\"UKR\", \"RUS\", \"BLR\"), winner_id (201540, 201320, 201521), winner_age (24.922655715300003, 28.5804243669, 27.3921971253), winner_rank_points (1037, 7340, 1255), draw_size (4, 64, 64), tourney_id (\"2016-O16\", \"2017-M035\", \"2016-1050\"), loser_ht (161, 175, 177), loser_seed (28, 32, 5), loser_hand (\"R\", \"L\"), winner_seed (3, 20, 13) | rankings : evaluation_date (19901015, 20100607, 20070507), player_id (213879, 216185, 214513), ranking_points (1494, 6580, 326), date_of_ranking (19901015, 20100607, 20070507), tours (37, 33, 8), ranking (352, 1020, 1045)", "schema_without_content": "players : birth_date , hand , player_id , first_name , country_code , last_name | matches : score 6-3\", \"1-6 7-6 6-4\", \"7-5 4-6 6-3\", tourney_date , winner_rank , winner_ht , winner_name , surface , winner_entry , winner_hand , loser_rank , minutes , loser_id , year , loser_rank_points , loser_age , winner_ioc , loser_entry , loser_name , best_of , tourney_level , round , match_num , tourney_name , loser_ioc , winner_id , winner_age , winner_rank_points , draw_size , tourney_id , loser_ht , loser_seed , loser_hand , winner_seed | rankings : evaluation_date , player_id , ranking_points , date_of_ranking , tours , ranking", "extra_map": { "rankings": { "ranking_date": [ "date_of_ranking", "evaluation_date" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking", "player_id", "ranking_points", "tours", "date_of_ranking", "evaluation_date" ] }, "column_linking_gt": { "total number of tours for each ranking date": "rankings.tours" } }, { "question": "find the #total number of tours for each ranking date# .", "db_id": "wta_1", "orig_query": "select sum(tours), ranking_date from rankings group by ranking_date", "schema_with_content": "players : player_id (204406, 200087, 218290), first_name (\"Jarmila\", \"Emma Erin\", \"Marissa\"), last_name (\"Kuzovkova\", \"Stark\", \"Heitz\"), country_code (\"SMR\", \"URU\", \"SRB\"), hand (\"L\", \"\", \"L\"), birth_date (19951123, 19850602, 19800918) | matches : loser_hand (\"R\", \"L\"), loser_name (\"Johanna Larsson\", \"Lucie Safarova\", \"Yanina Wickmayer\"), loser_entry (\"\"), winner_ioc (\"BEL\", \"ITA\", \"AUS\"), winner_id (201521, 201458, 201535), winner_ht (182, 163, 162), loser_rank_points (2195, 1590, 4005), winner_entry (\"\"), score (\"6-4 6-3 \", \"6-4 6-0\", \"6-3 7-6(3)\"), loser_age (24.889801505799998, 25.842573579699998, 27.195071868600003), loser_ht (165, 185, 177), match_num (286, 221, 294), loser_ioc (\"SWE\", \"BLR\", \"ESP\"), tourney_level (\"W\", \"W\", \"W\"), tourney_id (\"2016-0703\", \"2016-1050\", \"2017-1097\"), surface (\"Hard\", \"Clay\", \"Grass\"), round (\"RR\", \"R16\", \"RR\"), winner_name (\"Venus Williams\", \"Camila Giorgi\", \"Madison Keys\"), draw_size (4, 128, 8), tourney_date (20160321, 20161010, 20160815), tourney_name (\"Acapulco\", \"Gstaad\", \"Wuhan\"), winner_rank_points (2343, 2340, 3710), winner_age (21.0896646133, 23.8494182067, 29.1471594798), winner_hand (\"R\", \"L\"), minutes (100, 82, 105), loser_seed (8, 29, 14), year (2013, 2016, 2017), loser_id (201520, 201662, 201540), winner_rank (1, 35, 50), loser_rank (56, 19, 66), winner_seed (22, 7, 1), best_of (3) | rankings : ranking (172, 88, 990), ranking_date (20170417, 20071112, 19881128), player_id (214602, 201602, 203480), events (37, 29, 34), tournaments (37, 29, 34), ranking_points (130, 1128, 2393)", "schema_without_content": "players : player_id , first_name , last_name , country_code , hand , birth_date | matches : loser_hand , loser_name , loser_entry , winner_ioc , winner_id , winner_ht , loser_rank_points , winner_entry , score \", loser_age , loser_ht , match_num , loser_ioc , tourney_level , tourney_id , surface , round , winner_name , draw_size , tourney_date , tourney_name , winner_rank_points , winner_age , winner_hand , minutes , loser_seed , year , loser_id , winner_rank , loser_rank , winner_seed , best_of | rankings : ranking , ranking_date , player_id , events , tournaments , ranking_points", "extra_map": { "rankings": { "tours": [ "tournaments", "events" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tournaments", "events" ] }, "column_linking_gt": { "total number of tours for each ranking date": "rankings.tours" } }, { "question": "how many #total tours# were there for each #ranking date# ?", "db_id": "wta_1", "orig_query": "select sum(tours), ranking_date from rankings group by ranking_date", "schema_with_content": "players : first_name (\"Sharon\", \"Emerald\", \"Araceli\"), last_name (\"Pervitskaya\", \"Miklova\", \"Appelmans\"), hand (\"R\", \"\", \"U\"), birth_date (19930908, 19860111, 19971022), player_id (203420, 202979, 217638), country_code (\"BIH\", \"MDA\", \"SRI\") | matches : tourney_date (20160307, 20170807, 20160509), winner_name (\"Roberta Vinci\", \"Kristina Mladenovic\", \"Roberta Vinci\"), winner_seed (5, 19, 19), year (2013, 2016, 2017), loser_ht (173, 173, 174), loser_entry (\"\"), draw_size (128, 64, 128), tourney_level (\"W\", \"P\", \"I\"), minutes (77, 93, 71), winner_id (201458, 201311, 201595), loser_id (201455, 201521, 201325), loser_seed (4, 31, 22), loser_rank_points (3175, 2240, 2146), tourney_id (\"2016-M010\", \"2016-0602\", \"2016-M010\"), winner_age (30.904859685100003, 26.573579739899998, 31.249828884299998), winner_entry (\"\"), surface (\"Hard\", \"Clay\", \"Grass\"), winner_rank (61, 30, 53), tourney_name (\"Rome\", \"Madrid\", \"Bucharest\"), score (\"6-1 7-6(3)\", \"2-6 6-4 6-1\", \"7-6(1) 6-3\"), winner_ht (170, 174, 164), winner_ioc (\"BLR\", \"DEN\", \"FRA\"), loser_age (24.8843258042, 24.0958247775, 26.458590006799998), winner_hand (\"R\", \"L\"), loser_hand (\"R\", \"L\"), round (\"BR\", \"QF\", \"R32\"), loser_ioc (\"CZE\", \"ROU\", \"BLR\"), loser_name (\"Simona Halep\", \"Yanina Wickmayer\", \"Monica Niculescu\"), winner_rank_points (1076, 2050, 1025), loser_rank (39, 35, 20), best_of (3), match_num (264, 295, 206) | rankings : date_of_ranking (20100208, 19950101, 20001113), tours (23, 7, 20), player_id (203538, 215472, 201440), evaluation_date (20100208, 19950101, 20001113), ranking (867, 575, 995), ranking_points (5860, 277, 1780)", "schema_without_content": "players : first_name , last_name , hand , birth_date , player_id , country_code | matches : tourney_date , winner_name , winner_seed , year , loser_ht , loser_entry , draw_size , tourney_level , minutes , winner_id , loser_id , loser_seed , loser_rank_points , tourney_id , winner_age , winner_entry , surface , winner_rank , tourney_name , score \", \"2-6 6-4 6-1\", \"7-6 6-3\", winner_ht , winner_ioc , loser_age , winner_hand , loser_hand , round , loser_ioc , loser_name , winner_rank_points , loser_rank , best_of , match_num | rankings : date_of_ranking , tours , player_id , evaluation_date , ranking , ranking_points", "extra_map": { "rankings": { "ranking_date": [ "date_of_ranking", "evaluation_date" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking", "player_id", "ranking_points", "tours", "date_of_ranking", "evaluation_date" ] }, "column_linking_gt": { "total tours": "rankings.tours", "ranking date": "rankings.ranking_date" } }, { "question": "how many #total tours# were there for each #ranking date# ?", "db_id": "wta_1", "orig_query": "select sum(tours), ranking_date from rankings group by ranking_date", "schema_with_content": "players : last_name (\"Kushnereva\", \"Barkan\", \"Keir\"), country_code (\"SUI\", \"SWE\", \"CAN\"), birth_date (19971224, 19801030, 19790413), hand (\"R\", \"U\", \"L\"), first_name (\"Tatum\", \"Maria Rian\", \"Niriantsa\"), player_id (217510, 212779, 204530) | matches : surface (\"Hard\", \"Clay\", \"Grass\"), match_num (217, 280, 291), tourney_name (\"Luxembourg\", \"Beijing\", \"Birmingham\"), winner_rank (37, 23, 4), loser_hand (\"R\", \"L\"), tourney_date (20170227, 20170227, 20160620), winner_ht (172, 179, 182), loser_ioc (\"SRB\", \"CZE\", \"ESP\"), tourney_level (\"W\", \"I\", \"P\"), loser_age (30.9787816564, 23.0444900753, 27.0472279261), winner_hand (\"R\", \"L\"), winner_age (34.6173853525, 29.1471594798, 25.968514715900003), tourney_id (\"2017-1094\", \"2016-M004\", \"2016-0300\"), round (\"SF\", \"R32\", \"F\"), winner_entry (\"\"), loser_seed (15, 19, 23), loser_rank_points (2730, 8730, 6850), minutes (63, 162, 170), loser_id (201499, 201474, 201535), winner_rank_points (5740, 2895, 2375), loser_entry (\"\"), year (2013, 2016, 2017), score (\"6-1 3-6 6-3\", \"6-1 3-6 6-3\", \"7-6(4) 6-4\"), winner_name (\"Julia Goerges\", \"Lucie Safarova\", \"Irina Camelia Begu\"), winner_ioc (\"ROU\", \"GER\", \"CZE\"), loser_name (\"Mona Barthel\", \"Johanna Larsson\", \"Samantha Stosur\"), loser_rank (11, 30, 66), winner_seed (7, 28, 6), draw_size (8, 128, 64), winner_id (201518, 201595, 201594), best_of (3), loser_ht (164, 181, 174) | rankings : events (12, 14, 24), tournaments (12, 14, 24), player_id (205056, 215448, 206343), ranking_date (20080630, 19890116, 20130114), ranking_points (472, 3560, 4862), ranking (480, 694, 914)", "schema_without_content": "players : last_name , country_code , birth_date , hand , first_name , player_id | matches : surface , match_num , tourney_name , winner_rank , loser_hand , tourney_date , winner_ht , loser_ioc , tourney_level , loser_age , winner_hand , winner_age , tourney_id , round , winner_entry , loser_seed , loser_rank_points , minutes , loser_id , winner_rank_points , loser_entry , year , score 6-4\", winner_name , winner_ioc , loser_name , loser_rank , winner_seed , draw_size , winner_id , best_of , loser_ht | rankings : events , tournaments , player_id , ranking_date , ranking_points , ranking", "extra_map": { "rankings": { "tours": [ "tournaments", "events" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tournaments", "events" ] }, "column_linking_gt": { "total tours": "rankings.tours", "ranking date": "rankings.ranking_date" } }, { "question": "find the #number of matches# happened in each #year# .", "db_id": "wta_1", "orig_query": "select count(*), year from matches group by year", "schema_with_content": "players : last_name (\"Prieto\", \"Lavino\", \"Falkenberg\"), birth_date (19850220, 19820228, 19870119), first_name (\"Desiree\", \"Abhilasha\", \"Ursula\"), country_code (\"ROU\", \"ECU\", \"UZB\"), player_id (216724, 218211, 216156), hand (\"U\", \"R\", \"\") | matches : loser_ioc (\"AUS\", \"BEL\", \"TPE\"), surface (\"Hard\", \"Clay\", \"Grass\"), winner_age (25.601642710500002, 31.6495550992, 26.6009582478), tourney_level (\"I\", \"P\", \"I\"), winner_id (201615, 201320, 200033), winner_hand (\"R\", \"L\"), loser_id (201496, 201615, 201506), draw_size (8, 64, 128), loser_seed (9, 5, 15), match_year (2013, 2016, 2017), winner_name (\"Elina Svitolina\", \"Irina Camelia Begu\", \"Coco Vandeweghe\"), loser_hand (\"R\", \"L\"), winner_ioc (\"NED\", \"NED\", \"SRB\"), score (\"6-4 7-6(6)\", \"6-2 6-7(3) 6-3\", \"6-4 3-6 6-4\"), tourney_id (\"2017-0406\", \"2016-0602\", \"2016-1003\"), match_num (219, 212, 283), loser_name (\"Irina Camelia Begu\", \"Karolina Pliskova\", \"Coco Vandeweghe\"), winner_rank_points (912, 1290, 1936), tourney_name (\"Birmingham\", \"Prague\", \"Zhuhai\"), winner_entry (\"\"), round (\"R32\", \"R32\", \"SF\"), tourney_date (20170116, 20170130, 20170731), minutes (67, 93, 151), winner_ht (174, 159, 170), winner_rank (18, 11, 17), loser_rank (32, 36, 26), loser_entry (\"\"), loser_rank_points (1736, 3287, 1305), winner_seed (2, 7, 12), best_of (3), event_year (2013, 2016, 2017), loser_age (26.6830937714, 32.0711841205, 27.986310746100003), loser_ht (161, 157, 169) | rankings : ranking_date (19931011, 20000424, 19941107), ranking (835, 1411, 364), tours (26, 26, 30), ranking_points (1008, 1412, 88), player_id (202644, 203363, 203576)", "schema_without_content": "players : last_name , birth_date , first_name , country_code , player_id , hand | matches : loser_ioc , surface , winner_age , tourney_level , winner_id , winner_hand , loser_id , draw_size , loser_seed , match_year , winner_name , loser_hand , winner_ioc , score \", \"6-2 6-7 6-3\", \"6-4 3-6 6-4\", tourney_id , match_num , loser_name , winner_rank_points , tourney_name , winner_entry , round , tourney_date , minutes , winner_ht , winner_rank , loser_rank , loser_entry , loser_rank_points , winner_seed , best_of , event_year , loser_age , loser_ht | rankings : ranking_date , ranking , tours , ranking_points , player_id", "extra_map": { "matches": { "year": [ "match_year", "event_year" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "match_year", "event_year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "number of matches": "matches", "year": "matches.year" } }, { "question": "how many #matches# were played in each #year# ?", "db_id": "wta_1", "orig_query": "select count(*), year from matches group by year", "schema_with_content": "players : player_id (216451, 204271, 216775), first_name (\"Marina Raluca\", \"Giada\", \"Kyung Hwa\"), last_name (\"Parrilla\", \"Espindola Mancera\", \"Gideskog\"), birth_date (19761106, 20000310, 19801018), hand (\"\", \"R\", \"U\"), country_code (\"SEN\", \"CYP\", \"LUX\") | matches : winner_rank (34, 50, 15), tourney_date (20170306, 20170508, 20170828), draw_size (12, 12, 64), match_year (2013, 2016, 2017), tourney_level (\"P\", \"G\", \"G\"), tourney_id (\"2016-M004\", \"2017-M009\", \"2016-1051\"), loser_seed (26, 6, 21), winner_rank_points (3710, 1900, 6860), tourney_name (\"Budapest\", \"Washington\", \"Bucharest\"), round (\"QF\", \"RR\", \"RR\"), loser_rank (12, 4, 81), loser_age (32.0164271047, 27.3867214237, 26.6830937714), loser_entry (\"\"), winner_entry (\"\"), winner_age (27.1238877481, 28.0355920602, 25.7577002053), winner_name (\"Svetlana Kuznetsova\", \"Svetlana Kuznetsova\", \"Irina Camelia Begu\"), loser_ioc (\"POL\", \"ESP\", \"USA\"), winner_ioc (\"USA\", \"HUN\", \"FRA\"), score (\"4-6 7-6(2) 6-3\", \"6-3 6-7(2) 7-6(5)\", \"6-4 7-6(6)\"), winner_hand (\"R\", \"L\"), loser_ht (164, 173, 180), winner_ht (164, 178, 179), loser_hand (\"R\", \"L\"), winner_id (201540, 202428, 201518), event_year (2013, 2016, 2017), best_of (3), minutes (134, 119, 90), loser_id (201535, 201596, 201455), loser_rank_points (3090, 3698, 1177), loser_name (\"Julia Goerges\", \"Karolina Pliskova\", \"Samantha Stosur\"), surface (\"Hard\", \"Clay\", \"Grass\"), winner_seed (28, 30, 5), match_num (293, 216, 296) | rankings : ranking_date (20060904, 19890522, 20010219), tours (36, 11, 36), player_id (204413, 206107, 211896), ranking (654, 133, 209), ranking_points (4776, 5685, 5370)", "schema_without_content": "players : player_id , first_name , last_name , birth_date , hand , country_code | matches : winner_rank , tourney_date , draw_size , match_year , tourney_level , tourney_id , loser_seed , winner_rank_points , tourney_name , round , loser_rank , loser_age , loser_entry , winner_entry , winner_age , winner_name , loser_ioc , winner_ioc , score 6-3\", \"6-3 6-7 7-6\", \"6-4 7-6\", winner_hand , loser_ht , winner_ht , loser_hand , winner_id , event_year , best_of , minutes , loser_id , loser_rank_points , loser_name , surface , winner_seed , match_num | rankings : ranking_date , tours , player_id , ranking , ranking_points", "extra_map": { "matches": { "year": [ "match_year", "event_year" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "match_year", "event_year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "matches": "matches", "year": "matches.year" } }, { "question": "find the #name# and #rank# of the 3 #youngest winners# across all matches.", "db_id": "wta_1", "orig_query": "select distinct winner_name, winner_rank from matches order by winner_age limit 3", "schema_with_content": "players : hand (\"U\", \"U\", \"U\"), last_name (\"Bove\", \"Montini\", \"Lukasiak\"), player_id (204084, 208640, 211778), first_name (\"Gozal\", \"Gill\", \"Risako\"), country_code (\"CMR\", \"SVK\", \"NZL\"), birth_date (19990707, 19540923, 19860411) | matches : loser_age (26.078028747399998, 31.6906228611, 27.7754962355), loser_name (\"Victoria Azarenka\", \"Lesia Tsurenko\", \"Camila Giorgi\"), score (\"7-5 6-0\", \"7-6(5) 2-6 6-3\", \"6-3 7-5\"), surface (\"Hard\", \"Clay\", \"Grass\"), loser_rank (15, 29, 36), winner_age (28.517453798800002, 28.643394935, 22.8528405202), winner_id (201347, 201455, 201585), winner_seed (6, 1, 11), tourney_id (\"2016-1048\", \"2017-M009\", \"2016-0808\"), year (2013, 2016, 2017), winner_ioc (\"JPN\", \"DEN\", \"AUS\"), victorious_player_ranking (5, 3, 27), loser_hand (\"R\", \"L\"), loser_ioc (\"NED\", \"SRB\", \"POL\"), loser_seed (24, 16, 15), tourney_date (20160926, 20170424, 20161024), winner_ht (181, 181, 174), loser_id (201311, 201366, 201593), winner_rank_points (1343, 4236, 4236), loser_rank_points (2226, 1590, 3985), tourney_level (\"G\", \"W\", \"W\"), round (\"BR\", \"R16\", \"R32\"), winner_hand (\"R\", \"L\"), winning_player_ranking (5, 3, 27), loser_ht (182, 165, 185), match_num (223, 281, 209), loser_entry (\"\"), draw_size (64, 64, 4), tourney_name (\"Hong Kong\", \"Miami\", \"Gstaad\"), minutes (56, 130, 137), winner_name (\"Misaki Doi\", \"Victoria Azarenka\", \"Camila Giorgi\"), winner_entry (\"\"), best_of (3) | rankings : player_id (203465, 214733, 215435), ranking_points (1092, 1618, 2665), ranking_date (19980511, 20010129, 20110926), tours (28, 5, 2), ranking (371, 152, 1460)", "schema_without_content": "players : hand , last_name , player_id , first_name , country_code , birth_date | matches : loser_age , loser_name , score 2-6 6-3\", \"6-3 7-5\", surface , loser_rank , winner_age , winner_id , winner_seed , tourney_id , year , winner_ioc , victorious_player_ranking , loser_hand , loser_ioc , loser_seed , tourney_date , winner_ht , loser_id , winner_rank_points , loser_rank_points , tourney_level , round , winner_hand , winning_player_ranking , loser_ht , match_num , loser_entry , draw_size , tourney_name , minutes , winner_name , winner_entry , best_of | rankings : player_id , ranking_points , ranking_date , tours , ranking", "extra_map": { "matches": { "winner_rank": [ "winning_player_ranking", "victorious_player_ranking" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank_points", "winner_seed", "year", "winning_player_ranking", "victorious_player_ranking" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "name": "matches.winner_name", "rank": "matches.winner_rank", "youngest winners": "matches" } }, { "question": "find the #name# and #rank# of the 3 #youngest winners# across all matches.", "db_id": "wta_1", "orig_query": "select distinct winner_name, winner_rank from matches order by winner_age limit 3", "schema_with_content": "players : birth_date (19650921, 19961018, 19820405), first_name (\"Watsachol\", \"Sarah Inga\", \"Lilly Elida\"), hand (\"\", \"L\", \"U\"), country_code (\"SVK\", \"VEN\", \"TUR\"), player_id (208198, 206759, 201056), last_name (\"Pazmino\", \"Lehnert\", \"Rios De Almeida\") | matches : winner_ioc (\"CZE\", \"ESP\", \"SWE\"), winner_rank (13, 7, 40), year (2013, 2016, 2017), winner_id (201311, 201540, 201662), winner_age (26.4202600958, 27.4688569473, 27.2005475702), tourney_id (\"2016-O16\", \"2016-M014\", \"2017-1086\"), loser_ht (176, 168, 168), victorious_player_name (\"Ekaterina Makarova\", \"Sloane Stephens\", \"Anastasia Pavlyuchenkova\"), match_num (300, 290, 198), loser_entry (\"\"), loser_hand (\"R\", \"L\"), draw_size (128, 4, 4), winner_seed (7, 8, 12), winning_player_name (\"Ekaterina Makarova\", \"Sloane Stephens\", \"Anastasia Pavlyuchenkova\"), winner_hand (\"R\", \"L\"), winner_rank_points (3300, 2320, 2900), minutes (64, 147, 101), loser_rank (6, 26, 22), score (\"6-3 2-6 6-3\", \"6-2 6-3\", \"6-4 7-6(5)\"), tourney_name (\"Us Open\", \"Sydney\", \"Cincinnati\"), tourney_date (20161024, 20170717, 20170501), winner_ht (180, 159, 176), tourney_level (\"P\", \"I\", \"G\"), round (\"RR\", \"BR\", \"R32\"), loser_age (24.594113620799998, 23.8302532512, 27.786447638600002), loser_ioc (\"SVK\", \"ROU\", \"ROU\"), best_of (3), loser_seed (6, 6, 9), loser_rank_points (4310, 3135, 2050), winner_entry (\"\"), loser_id (201520, 201619, 201616), surface (\"Hard\", \"Clay\", \"Grass\"), loser_name (\"Jelena Jankovic\", \"Carla Suarez Navarro\", \"Carla Suarez Navarro\") | rankings : ranking_points (4575, 4860, 222), ranking (609, 857, 688), player_id (214875, 215733, 215442), ranking_date (19970602, 20030602, 20021216), tours (34, 14, 31)", "schema_without_content": "players : birth_date , first_name , hand , country_code , player_id , last_name | matches : winner_ioc , winner_rank , year , winner_id , winner_age , tourney_id , loser_ht , victorious_player_name , match_num , loser_entry , loser_hand , draw_size , winner_seed , winning_player_name , winner_hand , winner_rank_points , minutes , loser_rank , score \", tourney_name , tourney_date , winner_ht , tourney_level , round , loser_age , loser_ioc , best_of , loser_seed , loser_rank_points , winner_entry , loser_id , surface , loser_name | rankings : ranking_points , ranking , player_id , ranking_date , tours", "extra_map": { "matches": { "winner_name": [ "winning_player_name", "victorious_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_rank", "winner_rank_points", "winner_seed", "year", "winning_player_name", "victorious_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "name": "matches.winner_name", "rank": "matches.winner_rank", "youngest winners": "matches" } }, { "question": "what are the #names# and #ranks# of the three #youngest winners# across all #matches# ?", "db_id": "wta_1", "orig_query": "select distinct winner_name, winner_rank from matches order by winner_age limit 3", "schema_with_content": "players : hand (\"R\", \"R\", \"U\"), player_id (202176, 210711, 219016), country_code (\"SWE\", \"VEN\", \"SMR\"), first_name (\"Dan\", \"Saneeya\", \"Catrin\"), birth_date (19701205, 19920225, 19621029), last_name (\"Rubio\", \"Moulton\", \"Petrauskaite\") | matches : tourney_date (20170807, 20160829, 20160829), tourney_id (\"2017-1003\", \"2016-1074\", \"2017-M009\"), tourney_level (\"W\", \"P\", \"G\"), tourney_name (\"Zhuhai\", \"Washington\", \"WTA Championships\"), winner_entry (\"\"), draw_size (128, 8, 8), winner_hand (\"R\", \"L\"), winner_id (201320, 201518, 201521), surface (\"Hard\", \"Clay\", \"Grass\"), winner_rank_points (3540, 3455, 5205), year (2013, 2016, 2017), score (\"6-2 6-2\", \"3-6 6-1 6-1\", \"2-6 6-3 1-0 RET\"), loser_rank_points (2975, 1700, 3736), best_of (3), winner_seed (6, 14, 12), minutes (94, 181, 168), loser_name (\"Madison Keys\", \"Shuai Peng\", \"Petra Kvitova\"), loser_entry (\"\"), winner_name (\"Johanna Larsson\", \"Na Li\", \"Kiki Bertens\"), loser_hand (\"R\", \"L\"), loser_ht (175, 176, 174), winner_age (24.7802874743, 26.7433264887, 24.922655715300003), winner_ht (170, 177, 164), winning_player_ranking (42, 58, 1), match_num (296, 218, 201), loser_ioc (\"AUS\", \"NED\", \"AUS\"), round (\"RR\", \"R16\", \"R16\"), loser_id (201662, 201518, 201496), winner_ioc (\"POL\", \"SRB\", \"SVK\"), loser_age (34.045174538000005, 25.7467488022, 26.4777549624), loser_seed (20, 17, 5), victorious_player_ranking (42, 58, 1), loser_rank (4, 60, 24) | rankings : ranking_date (19900219, 19910107, 19980817), player_id (202435, 213927, 211529), tours (19, 3, 34), ranking_points (3865, 3224, 2682), ranking (1154, 1284, 327)", "schema_without_content": "players : hand , player_id , country_code , first_name , birth_date , last_name | matches : tourney_date , tourney_id , tourney_level , tourney_name , winner_entry , draw_size , winner_hand , winner_id , surface , winner_rank_points , year , score , loser_rank_points , best_of , winner_seed , minutes , loser_name , loser_entry , winner_name , loser_hand , loser_ht , winner_age , winner_ht , winning_player_ranking , match_num , loser_ioc , round , loser_id , winner_ioc , loser_age , loser_seed , victorious_player_ranking , loser_rank | rankings : ranking_date , player_id , tours , ranking_points , ranking", "extra_map": { "matches": { "winner_rank": [ "winning_player_ranking", "victorious_player_ranking" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank_points", "winner_seed", "year", "winning_player_ranking", "victorious_player_ranking" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "names": "matches.winner_name", "ranks": "matches.winner_rank", "youngest winners": "matches.winner_age", "matches": "matches" } }, { "question": "what are the #names# and #ranks# of the three #youngest winners# across all #matches# ?", "db_id": "wta_1", "orig_query": "select distinct winner_name, winner_rank from matches order by winner_age limit 3", "schema_with_content": "players : country_code (\"KUW\", \"TUR\", \"KOR\"), first_name (\"Lakschmi\", \"Katherine\", \"Talissa\"), hand (\"L\", \"L\", \"R\"), player_id (203874, 206718, 218784), last_name (\"Chasovskikh\", \"Stoianova\", \"Schediwy\"), birth_date (19981222, 20000331, 19860703) | matches : loser_id (201615, 201347, 201521), loser_name (\"Camila Giorgi\", \"Ekaterina Makarova\", \"Johanna Larsson\"), minutes (79, 74, 164), tourney_level (\"I\", \"W\", \"W\"), tourney_name (\"Stuttgart\", \"Auckland\", \"Limoges\"), year (2013, 2016, 2017), winner_ioc (\"CHN\", \"HUN\", \"CZE\"), loser_seed (8, 13, 24), winner_age (22.4503764545, 26.4202600958, 27.961670089000002), surface (\"Hard\", \"Clay\", \"Grass\"), loser_ht (169, 181, 161), draw_size (128, 4, 64), winner_id (201615, 201499, 201615), loser_rank_points (1960, 2531, 3752), winner_rank (11, 8, 53), loser_rank (23, 1, 24), loser_hand (\"R\", \"L\"), winning_player_name (\"Venus Williams\", \"Simona Halep\", \"Irina Camelia Begu\"), winner_seed (27, 6, 14), score (\"5-7 6-4 7-6(1)\", \"6-2 7-6(9)\", \"7-6(4) 6-3\"), tourney_id (\"2017-M004\", \"2016-0528\", \"2016-0602\"), winner_rank_points (9030, 3915, 3445), match_num (198, 216, 293), loser_entry (\"\"), victorious_player_name (\"Venus Williams\", \"Simona Halep\", \"Irina Camelia Begu\"), winner_entry (\"\"), loser_ioc (\"ROU\", \"UKR\", \"SRB\"), winner_hand (\"R\", \"L\"), loser_age (32.0164271047, 28.733744011, 27.947980835), best_of (3), tourney_date (20170213, 20170619, 20160718), winner_ht (178, 174, 173), round (\"SF\", \"BR\", \"SF\") | rankings : ranking_date (19960122, 20170417, 20040209), tours (18, 30, 4), ranking_points (5772, 2126, 6165), player_id (204424, 214717, 206200), ranking (1457, 642, 261)", "schema_without_content": "players : country_code , first_name , hand , player_id , last_name , birth_date | matches : loser_id , loser_name , minutes , tourney_level , tourney_name , year , winner_ioc , loser_seed , winner_age , surface , loser_ht , draw_size , winner_id , loser_rank_points , winner_rank , loser_rank , loser_hand , winning_player_name , winner_seed , score \", \"6-2 7-6\", \"7-6 6-3\", tourney_id , winner_rank_points , match_num , loser_entry , victorious_player_name , winner_entry , loser_ioc , winner_hand , loser_age , best_of , tourney_date , winner_ht , round | rankings : ranking_date , tours , ranking_points , player_id , ranking", "extra_map": { "matches": { "winner_name": [ "winning_player_name", "victorious_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_rank", "winner_rank_points", "winner_seed", "year", "winning_player_name", "victorious_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "names": "matches.winner_name", "ranks": "matches.winner_rank", "youngest winners": "matches.winner_age", "matches": "matches" } }, { "question": "how many different #winners# both participated in the #wta championships# and were #left handed# ?", "db_id": "wta_1", "orig_query": "select count(distinct winner_name) from matches where tourney_name = 'WTA Championships' and winner_hand = 'L'", "schema_with_content": "players : last_name (\"Nogolova\", \"Olszewska\", \"Fraisse\"), hand (\"R\", \"R\", \"U\"), first_name (\"Huan\", \"Nicoli\", \"Radana\"), birth_date (19940122, 19920808, 19910801), player_id (212767, 218627, 203480), country_code (\"KUW\", \"SRB\", \"NAM\") | matches : draw_size (4, 32, 32), winner_age (24.9965776865, 26.1136208077, 26.6009582478), winner_entry (\"\"), best_of (3), loser_id (201596, 201615, 201347), year (2013, 2016, 2017), loser_hand (\"R\", \"L\"), surface (\"Hard\", \"Clay\", \"Grass\"), victorious_player_name (\"Camila Giorgi\", \"Alize Cornet\", \"Serena Williams\"), minutes (149, 104, 175), tourney_name (\"Hong Kong\", \"Roland Garros\", \"Istanbul\"), loser_ht (162, 178, 165), winner_ht (180, 185, 179), loser_name (\"Shuai Peng\", \"Johanna Larsson\", \"Ana Ivanovic\"), match_num (214, 197, 161), winner_ioc (\"CZE\", \"FRA\", \"AUS\"), winning_player_name (\"Camila Giorgi\", \"Alize Cornet\", \"Serena Williams\"), winner_seed (15, 6, 12), tourney_date (20160104, 20170703, 20161003), loser_rank_points (3220, 3061, 6025), round (\"QF\", \"SF\", \"R32\"), loser_seed (27, 21, 19), winner_hand (\"R\", \"L\"), loser_rank (37, 12, 15), score (\"6-1 2-6 6-4\", \"6-4 4-6 6-4\", \"7-6(3) 6-4\"), tourney_level (\"I\", \"G\", \"G\"), winner_rank (1, 17, 7), loser_ioc (\"POL\", \"SWE\", \"ITA\"), winner_id (201347, 201474, 201458), loser_age (32.0164271047, 27.4442162902, 23.811088295700003), winner_rank_points (4370, 4372, 2416), loser_entry (\"\"), tourney_id (\"2017-1098\", \"2016-1074\", \"2017-0806\") | rankings : tours (23, 11, 38), ranking_date (19980202, 20101227, 19890724), ranking_points (1189, 610, 520), player_id (214643, 201362, 214254), ranking (1376, 593, 1006)", "schema_without_content": "players : last_name , hand , first_name , birth_date , player_id , country_code | matches : draw_size , winner_age , winner_entry , best_of , loser_id , year , loser_hand , surface , victorious_player_name , minutes , tourney_name , loser_ht , winner_ht , loser_name , match_num , winner_ioc , winning_player_name , winner_seed , tourney_date , loser_rank_points , round , loser_seed , winner_hand , loser_rank , score 6-4\", tourney_level , winner_rank , loser_ioc , winner_id , loser_age , winner_rank_points , loser_entry , tourney_id | rankings : tours , ranking_date , ranking_points , player_id , ranking", "extra_map": { "matches": { "winner_name": [ "winning_player_name", "victorious_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_rank", "winner_rank_points", "winner_seed", "year", "winning_player_name", "victorious_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "winners": "matches.winner_name", "WTA Championships": "matches.tourney_name", "left handed": "matches.winner_hand" } }, { "question": "find the #number of left handed winners# who participated in the #wta championships# .", "db_id": "wta_1", "orig_query": "select count(distinct winner_name) from matches where tourney_name = 'WTA Championships' and winner_hand = 'L'", "schema_with_content": "players : first_name (\"Chan\", \"Xin Yu\", \"Emanuela\"), hand (\"R\", \"U\", \"\"), birth_date (19780411, 19960610, 19940513), last_name (\"Farenza\", \"Fayol\", \"Samoilova\"), country_code (\"MKD\", \"SVK\", \"ANT\"), player_id (206137, 201747, 207914) | matches : match_num (207, 225, 211), winner_id (201425, 201693, 201518), winner_rank_points (5270, 9245, 1377), tourney_level (\"I\", \"G\", \"I\"), year (2013, 2016, 2017), round (\"RR\", \"RR\", \"BR\"), loser_age (34.8665297741, 28.709103353899998, 24.750171115700002), draw_size (32, 12, 4), victorious_player_name (\"Karolina Pliskova\", \"Yanina Wickmayer\", \"Barbora Zahlavova Strycova\"), loser_seed (31, 12, 30), loser_ioc (\"HUN\", \"GER\", \"BLR\"), tourney_date (20170619, 20160801, 20170410), minutes (71, 101, 75), winner_entry (\"\"), winner_ht (161, 183, 172), winner_hand (\"R\", \"L\"), winner_seed (18, 28, 2), loser_entry (\"\"), loser_id (201539, 201504, 201504), best_of (3), surface (\"Hard\", \"Clay\", \"Grass\"), tourney_name (\"Doha\", \"Gstaad\", \"Charleston\"), winner_ioc (\"SWE\", \"BEL\", \"ITA\"), loser_hand (\"R\", \"L\"), tourney_id (\"2017-M009\", \"2017-M010\", \"2016-O16\"), loser_rank_points (2816, 3160, 3100), loser_name (\"Victoria Azarenka\", \"Venus Williams\", \"Ekaterina Makarova\"), loser_ht (173, 182, 162), score (\"6-0 3-6 6-2\", \"7-5 2-6 6-2\", \"6-2 5-7 7-5\"), winner_age (23.2361396304, 28.301163586599998, 22.672142368200003), winner_rank (56, 10, 25), loser_rank (3, 5, 2), winning_player_name (\"Karolina Pliskova\", \"Yanina Wickmayer\", \"Barbora Zahlavova Strycova\") | rankings : tours (1, 22, 37), ranking_points (3694, 5606, 1358), player_id (213585, 215992, 216371), ranking_date (19890619, 20001030, 19881003), ranking (443, 856, 819)", "schema_without_content": "players : first_name , hand , birth_date , last_name , country_code , player_id | matches : match_num , winner_id , winner_rank_points , tourney_level , year , round , loser_age , draw_size , victorious_player_name , loser_seed , loser_ioc , tourney_date , minutes , winner_entry , winner_ht , winner_hand , winner_seed , loser_entry , loser_id , best_of , surface , tourney_name , winner_ioc , loser_hand , tourney_id , loser_rank_points , loser_name , loser_ht , score , winner_age , winner_rank , loser_rank , winning_player_name | rankings : tours , ranking_points , player_id , ranking_date , ranking", "extra_map": { "matches": { "winner_name": [ "winning_player_name", "victorious_player_name" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "country_code" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_rank", "winner_rank_points", "winner_seed", "year", "winning_player_name", "victorious_player_name" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "number of left handed winners": "matches.winner_name", "WTA Championships": "matches.tourney_name" } }, { "question": "find the #first name# , #country code# and b #irth date of the winner# who has the highest r #ank points in all matches.# ", "db_id": "wta_1", "orig_query": "select t1.first_name, t1.country_code, t1.birth_date from players as t1 join matches as t2 on t1.player_id = t2.winner_id order by t2.winner_rank_points desc limit 1", "schema_with_content": "players : player_id (217428, 201085, 211896), given_name (\"Khanh Phi\", \"Zuzana\", \"Lucia\"), last_name (\"Knavs\", \"Turvy\", \"Schuck\"), country_code (\"NAM\", \"SWE\", \"JOR\"), birth_date (19810530, 19861126, 19970427), hand (\"U\", \"R\", \"R\"), forename (\"Khanh Phi\", \"Zuzana\", \"Lucia\") | matches : loser_seed (20, 5, 19), loser_age (36.7173169062, 28.741957563299998, 26.573579739899998), loser_ioc (\"RUS\", \"ROU\", \"SUI\"), loser_rank_points (2010, 4575, 873), loser_rank (81, 45, 13), winner_ioc (\"CHN\", \"DEN\", \"SWE\"), loser_id (201366, 201493, 202469), loser_name (\"Samantha Stosur\", \"Karolina Pliskova\", \"Su Wei Hsieh\"), tourney_id (\"2016-0808\", \"2017-520\", \"2016-M015\"), loser_ht (183, 168, 157), minutes (85, 149, 96), winner_seed (18, 18, 4), winner_rank (11, 10, 33), score (\"4-6 6-3 1-0 RET\", \"2-6 6-3 1-0 RET\", \"7-5 4-6 6-4\"), loser_hand (\"R\", \"L\"), winner_name (\"Lucie Safarova\", \"Roberta Vinci\", \"Na Li\"), winner_hand (\"R\", \"L\"), match_num (218, 209, 204), winner_rank_points (7676, 5151, 3020), round (\"BR\", \"R32\", \"QF\"), loser_entry (\"\"), winner_entry (\"\"), surface (\"Hard\", \"Clay\", \"Grass\"), winner_age (27.613963039, 23.961670089000002, 26.4777549624), winner_ht (179, 185, 164), tourney_date (20160627, 20161017, 20160418), tourney_level (\"W\", \"I\", \"P\"), winner_id (201521, 201320, 201693), tourney_name (\"Toronto\", \"Bastad\", \"Prague\"), draw_size (12, 64, 4), best_of (3), year (2013, 2016, 2017) | rankings : player_id (213758, 206161, 213899), ranking_points (742, 2815, 3685), ranking_date (20020408, 20070122, 19940606), ranking (1306, 822, 702), tours (16, 21, 4)", "schema_without_content": "players : player_id , given_name , last_name , country_code , birth_date , hand , forename | matches : loser_seed , loser_age , loser_ioc , loser_rank_points , loser_rank , winner_ioc , loser_id , loser_name , tourney_id , loser_ht , minutes , winner_seed , winner_rank , score , loser_hand , winner_name , winner_hand , match_num , winner_rank_points , round , loser_entry , winner_entry , surface , winner_age , winner_ht , tourney_date , tourney_level , winner_id , tourney_name , draw_size , best_of , year | rankings : player_id , ranking_points , ranking_date , ranking , tours", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "country code": "players.country_code", "irth date of the winner": "matches.winner_id", "ank points in all matches.": "matches", "birth date": "players.birth_date", "rank points": "matches.winner_rank_points" } }, { "question": "find the #first name# , #country code# and b #irth date of the winner# who has the highest r #ank points in all matches.# ", "db_id": "wta_1", "orig_query": "select t1.first_name, t1.country_code, t1.birth_date from players as t1 join matches as t2 on t1.player_id = t2.winner_id order by t2.winner_rank_points desc limit 1", "schema_with_content": "players : nationality_code (\"DEN\", \"IND\", \"ROU\"), player_id (208001, 210285, 206837), country_id (\"DEN\", \"IND\", \"ROU\"), hand (\"\", \"U\", \"R\"), birth_date (19581124, 19880326, 19740928), last_name (\"Gracie\", \"Narahenpitage\", \"Saedi\"), first_name (\"Jennifer\", \"Sunae\", \"Jada\") | matches : tourney_level (\"W\", \"I\", \"P\"), minutes (40, 76, 173), loser_id (201311, 201615, 201596), winner_seed (19, 24, 10), winner_rank (4, 11, 44), loser_age (25.440109514, 26.6830937714, 25.503080082100002), draw_size (128, 8, 128), score (\"7-5 6-7(5) 6-2\", \"7-5 6-1\", \"6-4 2-6 6-1\"), winner_id (201493, 201535, 201594), loser_rank (39, 112, 4), winner_rank_points (4728, 2416, 8235), year (2013, 2016, 2017), winner_name (\"Madison Keys\", \"Alize Cornet\", \"Elena Vesnina\"), loser_rank_points (1936, 2865, 1580), loser_entry (\"\"), surface (\"Hard\", \"Clay\", \"Grass\"), winner_ht (168, 181, 181), loser_hand (\"R\", \"L\"), winner_age (27.074606433899998, 28.5804243669, 29.2210814511), loser_seed (7, 25, 9), tourney_id (\"2016-M007\", \"2016-1067\", \"2016-M009\"), match_num (281, 251, 264), loser_ht (169, 163, 173), loser_ioc (\"CZE\", \"SWE\", \"FRA\"), winner_entry (\"\"), winner_ioc (\"DEN\", \"ROU\", \"JPN\"), tourney_name (\"Zhuhai\", \"Auckland\", \"Dubai\"), winner_hand (\"R\", \"L\"), loser_name (\"Alize Cornet\", \"Kristina Mladenovic\", \"Dominika Cibulkova\"), round (\"QF\", \"BR\", \"F\"), tourney_date (20170227, 20160815, 20160815), best_of (3) | rankings : tours (24, 29, 30), ranking (759, 1103, 1025), ranking_points (4790, 2947, 1365), player_id (202614, 215370, 215698), ranking_date (19910311, 19920101, 20010305)", "schema_without_content": "players : nationality_code , player_id , country_id , hand , birth_date , last_name , first_name | matches : tourney_level , minutes , loser_id , winner_seed , winner_rank , loser_age , draw_size , score 6-2\", \"7-5 6-1\", \"6-4 2-6 6-1\", winner_id , loser_rank , winner_rank_points , year , winner_name , loser_rank_points , loser_entry , surface , winner_ht , loser_hand , winner_age , loser_seed , tourney_id , match_num , loser_ht , loser_ioc , winner_entry , winner_ioc , tourney_name , winner_hand , loser_name , round , tourney_date , best_of | rankings : tours , ranking , ranking_points , player_id , ranking_date", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "country code": "players.country_code", "irth date of the winner": "matches.winner_id", "ank points in all matches.": "matches", "birth date": "players.birth_date", "rank points": "matches.winner_rank_points" } }, { "question": "find the #first name# , #country code# and b #irth date of the winner# who has the highest r #ank points in all matches.# ", "db_id": "wta_1", "orig_query": "select t1.first_name, t1.country_code, t1.birth_date from players as t1 join matches as t2 on t1.player_id = t2.winner_id order by t2.winner_rank_points desc limit 1", "schema_with_content": "players : player_id (215633, 206424, 201130), first_name (\"Lisanna\", \"Mateya\", \"Assem\"), date_of_birth (19940704, 19780213, 19860812), dob (19940704, 19780213, 19860812), country_code (\"ARM\", \"MLT\", \"BRU\"), hand (\"U\", \"L\", \"L\"), last_name (\"Abello\", \"Purushotham\", \"Christensen\") | matches : winner_ht (174, 161, 172), loser_rank_points (2070, 4550, 4100), minutes (170, 40, 66), loser_age (24.0958247775, 28.741957563299998, 29.2073921971), winner_seed (4, 10, 30), loser_id (202429, 201585, 202469), winner_hand (\"R\", \"L\"), tourney_date (20170814, 20170821, 20170410), tourney_name (\"Katowice\", \"New Haven\", \"Cincinnati\"), draw_size (32, 8, 12), surface (\"Hard\", \"Clay\", \"Grass\"), match_num (264, 202, 226), best_of (3), loser_ioc (\"ROU\", \"BLR\", \"RUS\"), winner_name (\"Garbine Muguruza\", \"Elina Svitolina\", \"Sara Errani\"), loser_rank (45, 61, 9), winner_entry (\"\"), loser_seed (29, 12, 5), round (\"RR\", \"R16\", \"F\"), winner_rank_points (9945, 3780, 1620), winner_ioc (\"ROU\", \"HUN\", \"USA\"), loser_hand (\"R\", \"L\"), year (2013, 2016, 2017), score (\"3-6 7-6(4) 6-2\", \"7-5 6-3\", \"7-5 1-6 7-5\"), tourney_level (\"G\", \"I\", \"W\"), winner_rank (5, 20, 9), winner_age (21.626283367600003, 28.5804243669, 26.573579739899998), tourney_id (\"2016-1049\", \"2016-M004\", \"2017-M007\"), loser_entry (\"\"), loser_name (\"Lucie Safarova\", \"Alize Cornet\", \"Lesia Tsurenko\"), loser_ht (176, 183, 178), winner_id (201458, 200033, 201504) | rankings : ranking_date (20000103, 19910729, 20090928), ranking (276, 1489, 455), ranking_points (189, 3415, 6695), tours (24, 38, 29), player_id (205913, 211485, 203481)", "schema_without_content": "players : player_id , first_name , date_of_birth , dob , country_code , hand , last_name | matches : winner_ht , loser_rank_points , minutes , loser_age , winner_seed , loser_id , winner_hand , tourney_date , tourney_name , draw_size , surface , match_num , best_of , loser_ioc , winner_name , loser_rank , winner_entry , loser_seed , round , winner_rank_points , winner_ioc , loser_hand , year , score 6-2\", \"7-5 6-3\", \"7-5 1-6 7-5\", tourney_level , winner_rank , winner_age , tourney_id , loser_entry , loser_name , loser_ht , winner_id | rankings : ranking_date , ranking , ranking_points , tours , player_id", "extra_map": { "players": { "birth_date": [ "dob", "date_of_birth" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "country_code", "dob", "date_of_birth" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "country code": "players.country_code", "irth date of the winner": "matches.winner_id", "ank points in all matches.": "matches", "birth date": "players.birth_date", "rank points": "matches.winner_rank_points" } }, { "question": "what is the #first name# , #country code# , and bi #rth date of the player w# ith the most #winner rank points# across all matches?", "db_id": "wta_1", "orig_query": "select t1.first_name, t1.country_code, t1.birth_date from players as t1 join matches as t2 on t1.player_id = t2.winner_id order by t2.winner_rank_points desc limit 1", "schema_with_content": "players : country_code (\"UZB\", \"CAN\", \"ESA\"), player_id (220049, 206383, 205867), birth_date (19610830, 19860706, 19921016), given_name (\"Polona\", \"Ivonne\", \"Jiaqing\"), last_name (\"Catarain Ruiz\", \"Berlinecke\", \"Major\"), forename (\"Polona\", \"Ivonne\", \"Jiaqing\"), hand (\"U\", \"\", \"\") | matches : winner_age (26.554414784400002, 24.7802874743, 26.554414784400002), loser_seed (26, 31, 26), winner_id (202469, 201615, 201495), loser_ioc (\"TPE\", \"SUI\", \"ROU\"), loser_age (25.149897330599998, 25.880903490799998, 31.8631074606), best_of (3), winner_ioc (\"BLR\", \"DEN\", \"RUS\"), winner_rank_points (2840, 4745, 1302), winner_hand (\"R\", \"L\"), loser_id (201596, 201521, 200748), loser_hand (\"R\", \"L\"), tourney_date (20170102, 20170130, 20170626), winner_ht (181, 163, 174), winner_name (\"Garbine Muguruza\", \"Na Li\", \"Elena Vesnina\"), winner_rank (16, 2, 21), minutes (179, 93, 164), match_num (254, 300, 288), year (2013, 2016, 2017), loser_ht (157, 161, 177), loser_rank_points (2745, 5830, 5450), round (\"RR\", \"BR\", \"SF\"), loser_name (\"Svetlana Kuznetsova\", \"Yanina Wickmayer\", \"Ekaterina Makarova\"), winner_entry (\"\"), score (\"6-2 5-7 6-4\", \"6-4 7-6(3)\", \"7-6(6) 7-6(4)\"), surface (\"Hard\", \"Clay\", \"Grass\"), tourney_level (\"W\", \"I\", \"P\"), loser_entry (\"\"), tourney_id (\"2017-540\", \"2016-M001\", \"2017-M024\"), loser_rank (66, 13, 39), winner_seed (21, 9, 28), tourney_name (\"Olympics\", \"Hong Kong\", \"Wimbledon\"), draw_size (4, 64, 8) | rankings : ranking (872, 524, 989), player_id (213885, 202659, 201587), tours (31, 11, 11), ranking_points (4575, 1156, 217), ranking_date (20120116, 19950403, 20030127)", "schema_without_content": "players : country_code , player_id , birth_date , given_name , last_name , forename , hand | matches : winner_age , loser_seed , winner_id , loser_ioc , loser_age , best_of , winner_ioc , winner_rank_points , winner_hand , loser_id , loser_hand , tourney_date , winner_ht , winner_name , winner_rank , minutes , match_num , year , loser_ht , loser_rank_points , round , loser_name , winner_entry , score \", \"7-6 7-6\", surface , tourney_level , loser_entry , tourney_id , loser_rank , winner_seed , tourney_name , draw_size | rankings : ranking , player_id , tours , ranking_points , ranking_date", "extra_map": { "players": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "last_name", "hand", "birth_date", "country_code", "given_name", "forename" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "country code": "players.country_code", "rth date of the player w": "players", "winner rank points": "matches.winner_rank_points", "birth date": "players.birth_date" } }, { "question": "what is the #first name# , #country code# , and bi #rth date of the player w# ith the most #winner rank points# across all matches?", "db_id": "wta_1", "orig_query": "select t1.first_name, t1.country_code, t1.birth_date from players as t1 join matches as t2 on t1.player_id = t2.winner_id order by t2.winner_rank_points desc limit 1", "schema_with_content": "players : country_id (\"ANT\", \"BLR\", \"RUS\"), last_name (\"Franco Lopez\", \"Pang\", \"Fanning\"), player_id (203761, 213026, 217539), hand (\"R\", \"R\", \"L\"), birth_date (19931027, 19971003, 19680816), first_name (\"Maria Azul\", \"Denisa Elena\", \"Devanshi G\"), nationality_code (\"ANT\", \"BLR\", \"RUS\") | matches : loser_rank_points (1870, 1150, 2975), score (\"4-6 6-4 6-4\", \"6-3 6-1\", \"6-2 6-2\"), match_num (296, 289, 271), best_of (3), winner_ioc (\"GER\", \"HUN\", \"HUN\"), tourney_level (\"I\", \"G\", \"I\"), tourney_name (\"Moscow\", \"Strasbourg\", \"New Haven\"), winner_rank_points (1652, 1255, 5640), winner_age (26.9130732375, 26.6502395619, 27.282683093800003), draw_size (8, 32, 12), winner_id (202494, 201596, 201495), minutes (109, 179, 128), winner_rank (2, 1, 44), winner_seed (1, 21, 18), surface (\"Hard\", \"Clay\", \"Grass\"), loser_name (\"Timea Babos\", \"Svetlana Kuznetsova\", \"Roberta Vinci\"), tourney_date (20170320, 20160620, 20170508), loser_ioc (\"TPE\", \"GER\", \"ESP\"), year (2013, 2016, 2017), loser_age (28.574948665300003, 25.4839151266, 34.483230663899995), winner_hand (\"R\", \"L\"), loser_id (202469, 201474, 202429), winner_ht (163, 183, 161), loser_hand (\"R\", \"L\"), loser_rank (3, 61, 5), loser_ht (179, 157, 181), winner_name (\"Svetlana Kuznetsova\", \"Timea Babos\", \"Agnieszka Radwanska\"), loser_seed (11, 18, 18), tourney_id (\"2016-M004\", \"2017-580\", \"2017-1098\"), round (\"BR\", \"F\", \"BR\"), loser_entry (\"\"), winner_entry (\"\") | rankings : ranking (228, 574, 553), tours (39, 38, 24), ranking_date (20091116, 19880801, 20151019), ranking_points (1927, 1131, 1610), player_id (210865, 211980, 209950)", "schema_without_content": "players : country_id , last_name , player_id , hand , birth_date , first_name , nationality_code | matches : loser_rank_points , score , match_num , best_of , winner_ioc , tourney_level , tourney_name , winner_rank_points , winner_age , draw_size , winner_id , minutes , winner_rank , winner_seed , surface , loser_name , tourney_date , loser_ioc , year , loser_age , winner_hand , loser_id , winner_ht , loser_hand , loser_rank , loser_ht , winner_name , loser_seed , tourney_id , round , loser_entry , winner_entry | rankings : ranking , tours , ranking_date , ranking_points , player_id", "extra_map": { "players": { "country_code": [ "nationality_code", "country_id" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "birth_date", "nationality_code", "country_id" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "country code": "players.country_code", "rth date of the player w": "players", "winner rank points": "matches.winner_rank_points", "birth date": "players.birth_date" } }, { "question": "what is the #first name# , #country code# , and bi #rth date of the player w# ith the most #winner rank points# across all matches?", "db_id": "wta_1", "orig_query": "select t1.first_name, t1.country_code, t1.birth_date from players as t1 join matches as t2 on t1.player_id = t2.winner_id order by t2.winner_rank_points desc limit 1", "schema_with_content": "players : first_name (\"Dariya\", \"Maia\", \"Gilda\"), date_of_birth (19901218, 19980215, 20001120), country_code (\"LAT\", \"CGO\", \"PAK\"), hand (\"L\", \"L\", \"U\"), last_name (\"Lippe\", \"Ansari\", \"Yuferova\"), dob (19901218, 19980215, 20001120), player_id (218366, 214660, 213353) | matches : score (\"7-6(5) 1-6 6-0\", \"6-1 3-6 6-3\", \"3-6 6-1 6-1\"), best_of (3), tourney_date (20160829, 20170403, 20170403), loser_hand (\"R\", \"L\"), tourney_name (\"Roland Garros\", \"Beijing\", \"Istanbul\"), loser_seed (19, 2, 23), draw_size (4, 128, 8), loser_rank (34, 81, 44), surface (\"Hard\", \"Clay\", \"Grass\"), winner_rank (12, 34, 15), loser_ioc (\"FRA\", \"BEL\", \"SVK\"), loser_rank_points (2843, 2416, 9080), winner_name (\"Agnieszka Radwanska\", \"Alize Cornet\", \"Angelique Kerber\"), year (2013, 2016, 2017), loser_ht (168, 179, 184), loser_id (201474, 201421, 201347), winner_ht (161, 180, 178), winner_rank_points (3185, 5740, 3855), winner_entry (\"\"), winner_id (201594, 201593, 201455), winner_ioc (\"SWE\", \"JPN\", \"UKR\"), match_num (156, 209, 298), winner_seed (27, 18, 24), winner_hand (\"R\", \"L\"), minutes (69, 104, 134), tourney_level (\"G\", \"P\", \"P\"), tourney_id (\"2016-M015\", \"2017-M024\", \"2017-0703\"), round (\"QF\", \"QF\", \"QF\"), loser_name (\"Lauren Davis\", \"Jelena Jankovic\", \"Petra Kvitova\"), loser_age (28.574948665300003, 27.635865845300003, 34.8665297741), winner_age (28.6105407255, 26.573579739899998, 26.869267624899997), loser_entry (\"\") | rankings : ranking_points (6595, 1190, 1046), tours (11, 39, 31), ranking_date (19950619, 19941010, 20110523), ranking (336, 630, 1484), player_id (211936, 214219, 204240)", "schema_without_content": "players : first_name , date_of_birth , country_code , hand , last_name , dob , player_id | matches : score 1-6 6-0\", \"6-1 3-6 6-3\", \"3-6 6-1 6-1\", best_of , tourney_date , loser_hand , tourney_name , loser_seed , draw_size , loser_rank , surface , winner_rank , loser_ioc , loser_rank_points , winner_name , year , loser_ht , loser_id , winner_ht , winner_rank_points , winner_entry , winner_id , winner_ioc , match_num , winner_seed , winner_hand , minutes , tourney_level , tourney_id , round , loser_name , loser_age , winner_age , loser_entry | rankings : ranking_points , tours , ranking_date , ranking , player_id", "extra_map": { "players": { "birth_date": [ "dob", "date_of_birth" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "hand", "country_code", "dob", "date_of_birth" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "first name": "players.first_name", "country code": "players.country_code", "rth date of the player w": "players", "winner rank points": "matches.winner_rank_points", "birth date": "players.birth_date" } }, { "question": "find the #number of players for each hand type# .", "db_id": "wta_1", "orig_query": "select count(*), hand from players group by hand", "schema_with_content": "players : playing_hand (\"L\", \"L\", \"U\"), first_name (\"Michelle Kerubo\", \"Khristen\", \"Seoin\"), dominant_hand (\"L\", \"L\", \"U\"), player_id (215934, 215327, 209269), country_code (\"BAR\", \"MNE\", \"FIN\"), birth_date (19780623, 19870120, 19570118), last_name (\"Byelcheva\", \"Eisterlehner\", \"Gavaldon\") | matches : surface (\"Hard\", \"Clay\", \"Grass\"), loser_id (201593, 201514, 201397), tourney_date (20160725, 20160111, 20161017), tourney_name (\"Charleston\", \"Stuttgart\", \"Miami\"), loser_entry (\"\"), winner_id (201535, 201311, 201506), winner_rank_points (4216, 1343, 7676), draw_size (4, 32, 4), loser_seed (12, 5, 18), minutes (116, 48, 123), loser_hand (\"R\", \"L\"), winner_seed (6, 1, 3), loser_rank_points (3465, 7115, 3405), winner_age (21.6947296372, 26.9130732375, 25.601642710500002), loser_rank (33, 7, 29), loser_age (27.074606433899998, 24.5475701574, 31.019849418200003), loser_name (\"Garbine Muguruza\", \"Sloane Stephens\", \"Sloane Stephens\"), loser_ioc (\"USA\", \"CHN\", \"RUS\"), round (\"BR\", \"RR\", \"RR\"), winner_hand (\"R\", \"L\"), match_num (211, 222, 210), winner_ioc (\"AUS\", \"FRA\", \"BEL\"), winner_entry (\"\"), score (\"6-1 6-7(2) 6-3\", \"3-6 6-1 6-4\", \"6-2 6-3\"), year (2013, 2016, 2017), best_of (3), tourney_id (\"2016-1072\", \"2017-M010\", \"2017-1003\"), winner_name (\"Simona Halep\", \"Lucie Safarova\", \"Anastasia Pavlyuchenkova\"), tourney_level (\"P\", \"G\", \"P\"), winner_rank (30, 40, 58), winner_ht (179, 177, 161), loser_ht (175, 164, 179) | rankings : player_id (214863, 201452, 202677), tours (14, 28, 29), ranking_points (1025, 9490, 3888), ranking (417, 816, 981), ranking_date (19940926, 19920101, 19910729)", "schema_without_content": "players : playing_hand , first_name , dominant_hand , player_id , country_code , birth_date , last_name | matches : surface , loser_id , tourney_date , tourney_name , loser_entry , winner_id , winner_rank_points , draw_size , loser_seed , minutes , loser_hand , winner_seed , loser_rank_points , winner_age , loser_rank , loser_age , loser_name , loser_ioc , round , winner_hand , match_num , winner_ioc , winner_entry , score 6-3\", \"3-6 6-1 6-4\", \"6-2 6-3\", year , best_of , tourney_id , winner_name , tourney_level , winner_rank , winner_ht , loser_ht | rankings : player_id , tours , ranking_points , ranking , ranking_date", "extra_map": { "players": { "hand": [ "dominant_hand", "playing_hand" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "birth_date", "country_code", "dominant_hand", "playing_hand" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "number of players for each hand type": "players.player_id" } }, { "question": "how many #players# are there for each #hand type# ?", "db_id": "wta_1", "orig_query": "select count(*), hand from players group by hand", "schema_with_content": "players : dominant_hand (\"\", \"R\", \"U\"), country_code (\"BEL\", \"GEO\", \"BEL\"), player_id (211150, 215687, 201915), last_name (\"Laine\", \"Allan\", \"Sizikova\"), playing_hand (\"\", \"R\", \"U\"), birth_date (19630202, 19830716, 19670829), first_name (\"Kayla\", \"Zoziya\", \"Liina\") | matches : surface (\"Hard\", \"Clay\", \"Grass\"), winner_ioc (\"FRA\", \"ESP\", \"DEN\"), minutes (87, 155, 165), winner_hand (\"R\", \"L\"), winner_entry (\"\"), winner_age (36.027378507899996, 26.6913073238, 25.650924024600002), year (2013, 2016, 2017), winner_id (201425, 201320, 201366), round (\"F\", \"QF\", \"F\"), loser_ioc (\"POL\", \"POL\", \"ROU\"), match_num (222, 221, 217), loser_ht (179, 168, 177), draw_size (128, 8, 12), tourney_id (\"2016-1082\", \"2016-1050\", \"2017-1086\"), loser_hand (\"R\", \"L\"), loser_age (25.4291581109, 25.2210814511, 24.2628336756), winner_ht (180, 163, 162), loser_id (201693, 201619, 201593), winner_rank (15, 34, 20), winner_rank_points (5196, 8000, 3060), loser_rank_points (3752, 6025, 2975), best_of (3), loser_rank (8, 15, 11), winner_name (\"Anastasia Pavlyuchenkova\", \"Serena Williams\", \"Sloane Stephens\"), tourney_date (20160808, 20160118, 20170306), tourney_level (\"G\", \"W\", \"W\"), tourney_name (\"Bucharest\", \"Moscow\", \"Olympics\"), winner_seed (28, 13, 6), loser_seed (2, 25, 26), loser_name (\"Sloane Stephens\", \"Anastasia Pavlyuchenkova\", \"Serena Williams\"), loser_entry (\"\"), score (\"4-6 6-3 6-4\", \"6-7(1) 6-2 8-6\", \"6-1 6-4\") | rankings : tours (13, 6, 0), ranking_points (872, 747, 173), ranking (1402, 45, 650), ranking_date (20000925, 19960506, 19931025), player_id (210622, 213636, 203326)", "schema_without_content": "players : dominant_hand , country_code , player_id , last_name , playing_hand , birth_date , first_name | matches : surface , winner_ioc , minutes , winner_hand , winner_entry , winner_age , year , winner_id , round , loser_ioc , match_num , loser_ht , draw_size , tourney_id , loser_hand , loser_age , winner_ht , loser_id , winner_rank , winner_rank_points , loser_rank_points , best_of , loser_rank , winner_name , tourney_date , tourney_level , tourney_name , winner_seed , loser_seed , loser_name , loser_entry , score 6-2 8-6\", \"6-1 6-4\" | rankings : tours , ranking_points , ranking , ranking_date , player_id", "extra_map": { "players": { "hand": [ "dominant_hand", "playing_hand" ] } }, "extra_table_map": null, "db_schema": { "players": [ "player_id", "first_name", "last_name", "birth_date", "country_code", "dominant_hand", "playing_hand" ], "matches": [ "best_of", "draw_size", "loser_age", "loser_entry", "loser_hand", "loser_ht", "loser_id", "loser_ioc", "loser_name", "loser_rank", "loser_rank_points", "loser_seed", "match_num", "minutes", "round", "score", "surface", "tourney_date", "tourney_id", "tourney_level", "tourney_name", "winner_age", "winner_entry", "winner_hand", "winner_ht", "winner_id", "winner_ioc", "winner_name", "winner_rank", "winner_rank_points", "winner_seed", "year" ], "rankings": [ "ranking_date", "ranking", "player_id", "ranking_points", "tours" ] }, "column_linking_gt": { "players": "players", "hand type": "players.hand" } }, { "question": "list the #name# and #tonnage# ordered by in descending alphaetical order for the names.", "db_id": "battle_death", "orig_query": "select name, tonnage from ship order by name desc", "schema_with_content": "battle : date (\"4 September 1207\", \"14 April 1205\", \"June 1205\"), latin_commander (\"Thierry de Termond\", \"Henry I\", \"Henry I\"), id (8, 8, 1), name (\"Battle of Philippopolis\", \"Battle of Philippopolis\", \"Battle of Boruy\"), bulgarian_commander (\"Boril\", \"Kaloyan\", \"Ivan Asen II\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\") | ship : disposition_of_ship (\"Captured\", \"Scuttled\", \"Captured\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), id (1, 4, 5), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), weight (\"t\", \"391\", \"225\"), capacity (\"t\", \"391\", \"225\"), name (\"Mary\", \"Lettice\", \"Mary\"), lost_in_battle (8, 5, 4) | death : note (\"East Champaran, Bihar\", \"WestMidnapore, West Bengal\", \"Sundargarh, Odisha\"), killed (8, 14, 8), injured (0, 9, 5), id (13, 7, 10), caused_by_ship_id (4, 2, 1)", "schema_without_content": "battle : date , latin_commander , id , name , bulgarian_commander , result | ship : disposition_of_ship , ship_type , id , location , weight , capacity , name , lost_in_battle | death : note , killed , injured , id , caused_by_ship_id", "extra_map": { "ship": { "tonnage": [ "weight", "capacity" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "date", "bulgarian_commander", "latin_commander", "result" ], "ship": [ "lost_in_battle", "id", "name", "ship_type", "location", "disposition_of_ship", "weight", "capacity" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "name": "ship.name", "tonnage": "ship.tonnage" } }, { "question": "list the #name# and #tonnage# ordered by in descending alphaetical order for the names.", "db_id": "battle_death", "orig_query": "select name, tonnage from ship order by name desc", "schema_with_content": "battle : result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), bulgarian_commander (\"Ivan Asen II\", \"Unknown\", \"Unknown\"), name (\"Siege of Constantinople\", \"Battle of Serres\", \"Battle of Messinopolis\"), id (5, 1, 6), date (\"1235\", \"31 January 1206\", \"31 January 1206\"), latin_commander (\"Thierry de Termond\", \"Boniface of Montferrat\", \"Thierry de Termond\") | ship : disposition_of_ship (\"Captured\", \"Wrecked\", \"Scuttled\"), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), lost_in_battle (8, 5, 7), ship_name (\"Mary\", \"Three Brothers\", \"Three Brothers\"), tonnage (\"t\", \"391\", \"225\"), vessel_name (\"Mary\", \"Three Brothers\", \"Three Brothers\"), id (5, 6, 5) | death : injured (0, 9, 5), caused_by_ship_id (3, 4, 5), id (6, 1, 2), note (\"WestMidnapore, West Bengal\", \"East Champaran, Bihar\", \"Dantewada, Chhattisgarh\"), killed (3, 4, 4)", "schema_without_content": "battle : result , bulgarian_commander , name , id , date , latin_commander | ship : disposition_of_ship , location , ship_type , lost_in_battle , ship_name , tonnage , vessel_name , id | death : injured , caused_by_ship_id , id , note , killed", "extra_map": { "ship": { "name": [ "ship_name", "vessel_name" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "date", "bulgarian_commander", "latin_commander", "result" ], "ship": [ "lost_in_battle", "id", "tonnage", "ship_type", "location", "disposition_of_ship", "ship_name", "vessel_name" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "name": "ship.name", "tonnage": "ship.tonnage" } }, { "question": "list the #name# , #date# and r #esult of each battle.# ", "db_id": "battle_death", "orig_query": "select name, date from battle", "schema_with_content": "battle : latin_commander (\"Boniface of Montferrat\", \"Boniface of Montferrat\", \"Thierry de Termond\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), designation (\"Siege of Constantinople\", \"Siege of Constantinople\", \"Siege of Constantinople\"), id (7, 7, 5), date (\"4 September 1207\", \"June 1205\", \"31 January 1206\"), bulgarian_commander (\"Unknown\", \"Kaloyan\", \"Kaloyan\"), title (\"Siege of Constantinople\", \"Siege of Constantinople\", \"Siege of Constantinople\") | ship : id (6, 3, 2), name (\"Three Brothers\", \"HMS Atalanta\", \"HMS Avon\"), lost_in_battle (8, 5, 5), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), tonnage (\"t\", \"391\", \"225\"), disposition_of_ship (\"Captured\", \"Scuttled\", \"Sank\"), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\") | death : id (3, 5, 11), note (\"Dantewada, Chhattisgarh\", \"Gajapati, Odisha\", \"East Champaran, Bihar\"), caused_by_ship_id (5, 3, 5), injured (0, 9, 5), killed (14, 25, 2)", "schema_without_content": "battle : latin_commander , result , designation , id , date , bulgarian_commander , title | ship : id , name , lost_in_battle , ship_type , tonnage , disposition_of_ship , location | death : id , note , caused_by_ship_id , injured , killed", "extra_map": { "battle": { "name": [ "title", "designation" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "date", "bulgarian_commander", "latin_commander", "result", "title", "designation" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "name": "battle.name", "date": "battle.date", "esult of each battle.": "battle", "result": "battle.result" } }, { "question": "list the #name# , #date# and r #esult of each battle.# ", "db_id": "battle_death", "orig_query": "select name, date from battle", "schema_with_content": "battle : engagement_date (\"31 June 1208\", \"4 September 1207\", \"14 April 1205\"), name (\"Battle of Messinopolis\", \"Battle of Messinopolis\", \"Battle of Serres\"), battle_date (\"31 June 1208\", \"4 September 1207\", \"14 April 1205\"), id (3, 2, 3), latin_commander (\"Baldwin I\", \"John of Brienne\", \"Thierry de Termond\"), bulgarian_commander (\"Boril\", \"Unknown\", \"Kaloyan\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\") | ship : lost_in_battle (8, 6, 5), tonnage (\"t\", \"391\", \"225\"), disposition_of_ship (\"Sank\", \"Sank\", \"Wrecked\"), name (\"Mary\", \"Three Brothers\", \"HMS Avon\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), id (3, 3, 3), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\") | death : id (10, 1, 11), injured (0, 9, 5), caused_by_ship_id (5, 1, 5), killed (8, 25, 29), note (\"Gajapati, Odisha\", \"East Champaran, Bihar\", \"Bastar, Chattisgarh\")", "schema_without_content": "battle : engagement_date , name , battle_date , id , latin_commander , bulgarian_commander , result | ship : lost_in_battle , tonnage , disposition_of_ship , name , ship_type , id , location | death : id , injured , caused_by_ship_id , killed , note", "extra_map": { "battle": { "date": [ "battle_date", "engagement_date" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "bulgarian_commander", "latin_commander", "result", "battle_date", "engagement_date" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "name": "battle.name", "date": "battle.date", "esult of each battle.": "battle", "result": "battle.result" } }, { "question": "what is #maximum and minimum death toll# caused each time?", "db_id": "battle_death", "orig_query": "select max(killed), min(killed) from death", "schema_with_content": "battle : latin_commander (\"Unknown\", \"Boniface of Montferrat\", \"Boniface of Montferrat\"), name (\"Battle of Adrianople\", \"Battle of Rodosto\", \"Battle of Philippopolis\"), date (\"31 June 1208\", \"June 1205\", \"1235\"), id (2, 7, 2), bulgarian_commander (\"Boril\", \"Ivan Asen II\", \"Kaloyan\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\") | ship : name (\"Lettice\", \"Mary\", \"Lettice\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), id (7, 1, 6), lost_in_battle (6, 5, 8), disposition_of_ship (\"Wrecked\", \"Sank\", \"Scuttled\"), tonnage (\"t\", \"391\", \"225\") | death : id (2, 10, 10), deaths (29, 3, 4), injured (0, 9, 5), fatalities (29, 3, 4), note (\"Gajapati, Odisha\", \"Gajapati, Odisha\", \"Kanker, Chhattisgarh\"), caused_by_ship_id (3, 3, 2)", "schema_without_content": "battle : latin_commander , name , date , id , bulgarian_commander , result | ship : name , ship_type , location , id , lost_in_battle , disposition_of_ship , tonnage | death : id , deaths , injured , fatalities , note , caused_by_ship_id", "extra_map": { "death": { "killed": [ "deaths", "fatalities" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "date", "bulgarian_commander", "latin_commander", "result" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "injured", "deaths", "fatalities" ] }, "column_linking_gt": { "maximum and minimum death toll": "death.killed" } }, { "question": "what is the #average number of injuries# caused each time?", "db_id": "battle_death", "orig_query": "select avg(injured) from death", "schema_with_content": "battle : date (\"4 September 1207\", \"31 June 1208\", \"1235\"), bulgarian_commander (\"Ivan Asen II\", \"Unknown\", \"Unknown\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), name (\"Siege of Constantinople\", \"Battle of Rodosto\", \"Battle of Adrianople\"), id (1, 2, 1), latin_commander (\"Henry I\", \"Boniface of Montferrat\", \"Henry I\") | ship : disposition_of_ship (\"Sank\", \"Scuttled\", \"Sank\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), tonnage (\"t\", \"391\", \"225\"), id (1, 6, 2), name (\"Bon Accord\", \"HMS Atalanta\", \"Bacchus\"), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), lost_in_battle (7, 4, 5) | death : note (\"East Champaran, Bihar\", \"Gajapati, Odisha\", \"Bastar, Chattisgarh\"), id (13, 13, 10), casualties (0, 9, 5), caused_by_ship_id (4, 1, 4), killed (29, 14, 3), wounded (0, 9, 5)", "schema_without_content": "battle : date , bulgarian_commander , result , name , id , latin_commander | ship : disposition_of_ship , ship_type , tonnage , id , name , location , lost_in_battle | death : note , id , casualties , caused_by_ship_id , killed , wounded", "extra_map": { "death": { "injured": [ "wounded", "casualties" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "date", "bulgarian_commander", "latin_commander", "result" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "wounded", "casualties" ] }, "column_linking_gt": { "average number of injuries": "death.injured" } }, { "question": "what are the #death# and #injury# situations caused by the #ship with tonnage# 't'?", "db_id": "battle_death", "orig_query": "select t1.killed, t1.injured from death as t1 join ship as t2 on t1.caused_by_ship_id = t2.id where t2.tonnage = 't'", "schema_with_content": "battle : latin_commander (\"Thierry de Termond\", \"Unknown\", \"Henry I\"), bulgarian_commander (\"Ivan Asen II\", \"Unknown\", \"Unknown\"), id (5, 8, 1), date (\"February 1206\", \"1235\", \"31 June 1208\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), name (\"Battle of Rusion\", \"Battle of Rodosto\", \"Battle of Adrianople\") | ship : name (\"HMS Avon\", \"HMS Avon\", \"HMS Atalanta\"), lost_in_battle (8, 8, 5), tonnage (\"t\", \"391\", \"225\"), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), disposition_of_ship (\"Wrecked\", \"Sank\", \"Wrecked\"), id (3, 6, 1), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\") | death : killed (8, 0, 25), casualties (0, 9, 5), note (\"Dantewada, Chhattisgarh\", \"Dantewada, Chhattisgarh\", \"East Champaran, Bihar\"), id (5, 13, 6), wounded (0, 9, 5), caused_by_ship_id (2, 6, 3)", "schema_without_content": "battle : latin_commander , bulgarian_commander , id , date , result , name | ship : name , lost_in_battle , tonnage , location , disposition_of_ship , id , ship_type | death : killed , casualties , note , id , wounded , caused_by_ship_id", "extra_map": { "death": { "injured": [ "wounded", "casualties" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "date", "bulgarian_commander", "latin_commander", "result" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "wounded", "casualties" ] }, "column_linking_gt": { "death": "death.killed", "injury": "death.injured", "ship with tonnage": "ship.tonnage" } }, { "question": "what are the #death# and #injury# situations caused by the #ship with tonnage# 't'?", "db_id": "battle_death", "orig_query": "select t1.killed, t1.injured from death as t1 join ship as t2 on t1.caused_by_ship_id = t2.id where t2.tonnage = 't'", "schema_with_content": "battle : result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), date (\"June 1205\", \"14 April 1205\", \"June 1205\"), bulgarian_commander (\"Unknown\", \"Unknown\", \"Ivan Asen II\"), id (4, 4, 3), latin_commander (\"Unknown\", \"Unknown\", \"John of Brienne\"), name (\"Battle of Messinopolis\", \"Battle of Serres\", \"Battle of Boruy\") | ship : tonnage (\"t\", \"391\", \"225\"), disposition_of_ship (\"Wrecked\", \"Wrecked\", \"Captured\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), name (\"Bacchus\", \"Bon Accord\", \"Mary\"), lost_in_battle (5, 6, 7), id (7, 1, 5) | death : deaths (4, 8, 29), injured (0, 9, 5), note (\"Sundargarh, Odisha\", \"Erraboru, Chhattisgarh\", \"WestMidnapore, West Bengal\"), caused_by_ship_id (3, 6, 5), id (8, 6, 11), fatalities (4, 8, 29)", "schema_without_content": "battle : result , date , bulgarian_commander , id , latin_commander , name | ship : tonnage , disposition_of_ship , ship_type , location , name , lost_in_battle , id | death : deaths , injured , note , caused_by_ship_id , id , fatalities", "extra_map": { "death": { "killed": [ "deaths", "fatalities" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "date", "bulgarian_commander", "latin_commander", "result" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "injured", "deaths", "fatalities" ] }, "column_linking_gt": { "death": "death.killed", "injury": "death.injured", "ship with tonnage": "ship.tonnage" } }, { "question": "what are the #name# and #results# of the battles when the #bulgarian commander# is not 'boril'", "db_id": "battle_death", "orig_query": "select name, result from battle where bulgarian_commander != 'Boril'", "schema_with_content": "battle : result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), bulgarian_commander (\"Unknown\", \"Boril\", \"Kaloyan\"), designation (\"Battle of Rusion\", \"Battle of Philippopolis\", \"Battle of Rodosto\"), title (\"Battle of Rusion\", \"Battle of Philippopolis\", \"Battle of Rodosto\"), latin_commander (\"Boniface of Montferrat\", \"Unknown\", \"Thierry de Termond\"), date (\"14 April 1205\", \"4 September 1207\", \"4 September 1207\"), id (6, 3, 2) | ship : location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), lost_in_battle (5, 5, 5), tonnage (\"t\", \"391\", \"225\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), disposition_of_ship (\"Wrecked\", \"Scuttled\", \"Scuttled\"), id (7, 6, 5), name (\"Bacchus\", \"HMS Atalanta\", \"Three Brothers\") | death : caused_by_ship_id (4, 3, 1), killed (2, 3, 2), id (10, 5, 8), note (\"WestMidnapore, West Bengal\", \"Sundargarh, Odisha\", \"East Champaran, Bihar\"), injured (0, 9, 5)", "schema_without_content": "battle : result , bulgarian_commander , designation , title , latin_commander , date , id | ship : location , lost_in_battle , tonnage , ship_type , disposition_of_ship , id , name | death : caused_by_ship_id , killed , id , note , injured", "extra_map": { "battle": { "name": [ "title", "designation" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "date", "bulgarian_commander", "latin_commander", "result", "title", "designation" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "name": "battle.name", "results": "battle.result", "bulgarian commander": "battle.bulgarian_commander" } }, { "question": "what are the #name# and #results# of the battles when the #bulgarian commander# is not 'boril'", "db_id": "battle_death", "orig_query": "select name, result from battle where bulgarian_commander != 'Boril'", "schema_with_content": "battle : consequence (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), latin_commander (\"Unknown\", \"Unknown\", \"Unknown\"), outcome (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), id (2, 2, 4), bulgarian_commander (\"Unknown\", \"Unknown\", \"Unknown\"), name (\"Battle of Rusion\", \"Battle of Messinopolis\", \"Battle of Adrianople\"), date (\"14 April 1205\", \"31 June 1208\", \"31 January 1206\") | ship : ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), tonnage (\"t\", \"391\", \"225\"), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), id (2, 4, 3), name (\"Three Brothers\", \"Lettice\", \"Bon Accord\"), lost_in_battle (7, 5, 5), disposition_of_ship (\"Wrecked\", \"Scuttled\", \"Captured\") | death : killed (8, 29, 8), injured (0, 9, 5), note (\"East Champaran, Bihar\", \"Sundargarh, Odisha\", \"Bokaro, Jharkhand\"), caused_by_ship_id (2, 1, 3), id (3, 1, 12)", "schema_without_content": "battle : consequence , latin_commander , outcome , id , bulgarian_commander , name , date | ship : ship_type , tonnage , location , id , name , lost_in_battle , disposition_of_ship | death : killed , injured , note , caused_by_ship_id , id", "extra_map": { "battle": { "result": [ "outcome", "consequence" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "date", "bulgarian_commander", "latin_commander", "outcome", "consequence" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "name": "battle.name", "results": "battle.result", "bulgarian commander": "battle.bulgarian_commander" } }, { "question": "what are the different #ids# and #names of the battles that lost# any 'brig' type shipes?", "db_id": "battle_death", "orig_query": "select distinct t1.id, t1.name from battle as t1 join ship as t2 on t1.id = t2.lost_in_battle where t2.ship_type = 'Brig'", "schema_with_content": "battle : combat_id (7, 3, 5), name (\"Battle of Rusion\", \"Battle of Serres\", \"Battle of Philippopolis\"), battle_id (7, 3, 5), latin_commander (\"Henry I\", \"Unknown\", \"Unknown\"), date (\"31 January 1206\", \"31 June 1208\", \"4 September 1207\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), bulgarian_commander (\"Boril\", \"Boril\", \"Ivan Asen II\") | ship : lost_in_battle (4, 8, 6), id (6, 1, 3), disposition_of_ship (\"Scuttled\", \"Captured\", \"Wrecked\"), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), tonnage (\"t\", \"391\", \"225\"), name (\"HMS Atalanta\", \"Bacchus\", \"Mary\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\") | death : caused_by_ship_id (1, 4, 4), injured (0, 9, 5), killed (25, 3, 8), id (4, 12, 12), note (\"Sundargarh, Odisha\", \"Kanker, Chhattisgarh\", \"Gajapati, Odisha\")", "schema_without_content": "battle : combat_id , name , battle_id , latin_commander , date , result , bulgarian_commander | ship : lost_in_battle , id , disposition_of_ship , location , tonnage , name , ship_type | death : caused_by_ship_id , injured , killed , id , note", "extra_map": { "battle": { "id": [ "battle_id", "combat_id" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "name", "date", "bulgarian_commander", "latin_commander", "result", "battle_id", "combat_id" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "ids": "battle.id", "names of the battles that lost": "battle.name", "ship type": "ship.ship_type" } }, { "question": "what are the different #ids# and #names of the battles that lost# any 'brig' type shipes?", "db_id": "battle_death", "orig_query": "select distinct t1.id, t1.name from battle as t1 join ship as t2 on t1.id = t2.lost_in_battle where t2.ship_type = 'Brig'", "schema_with_content": "battle : latin_commander (\"Henry I\", \"Unknown\", \"Unknown\"), designation (\"Battle of Messinopolis\", \"Battle of Philippopolis\", \"Battle of Boruy\"), id (7, 2, 4), date (\"February 1206\", \"1235\", \"1235\"), bulgarian_commander (\"Ivan Asen II\", \"Ivan Asen II\", \"Kaloyan\"), title (\"Battle of Messinopolis\", \"Battle of Philippopolis\", \"Battle of Boruy\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\") | ship : disposition_of_ship (\"Sank\", \"Wrecked\", \"Scuttled\"), id (1, 1, 2), name (\"HMS Avon\", \"Three Brothers\", \"HMS Avon\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), tonnage (\"t\", \"391\", \"225\"), lost_in_battle (7, 8, 8), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\") | death : injured (0, 9, 5), id (5, 9, 5), killed (3, 8, 2), caused_by_ship_id (4, 3, 6), note (\"Sundargarh, Odisha\", \"Kanker, Chhattisgarh\", \"Erraboru, Chhattisgarh\")", "schema_without_content": "battle : latin_commander , designation , id , date , bulgarian_commander , title , result | ship : disposition_of_ship , id , name , ship_type , tonnage , lost_in_battle , location | death : injured , id , killed , caused_by_ship_id , note", "extra_map": { "battle": { "name": [ "title", "designation" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "date", "bulgarian_commander", "latin_commander", "result", "title", "designation" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "ids": "battle.id", "names of the battles that lost": "battle.name", "ship type": "ship.ship_type" } }, { "question": "what are the #ids# and #names of the battles# that led to more than 10 people #killed# in total.", "db_id": "battle_death", "orig_query": "select t1.id, t1.name from battle as t1 join ship as t2 on t1.id = t2.lost_in_battle join death as t3 on t2.id = t3.caused_by_ship_id group by t1.id having sum(t3.killed) > 10", "schema_with_content": "battle : bulgarian_commander (\"Unknown\", \"Ivan Asen II\", \"Unknown\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), battle_id (1, 7, 2), latin_commander (\"Thierry de Termond\", \"Unknown\", \"Unknown\"), date (\"31 January 1206\", \"31 June 1208\", \"February 1206\"), name (\"Siege of Constantinople\", \"Battle of Adrianople\", \"Battle of Boruy\"), combat_id (1, 7, 2) | ship : tonnage (\"t\", \"391\", \"225\"), disposition_of_ship (\"Sank\", \"Sank\", \"Sank\"), id (5, 4, 3), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), lost_in_battle (6, 5, 6), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), name (\"Bon Accord\", \"Bon Accord\", \"Lettice\") | death : killed (29, 8, 29), caused_by_ship_id (5, 6, 2), note (\"Dantewada, Chhattisgarh\", \"Erraboru, Chhattisgarh\", \"Dantewada, Chhattisgarh\"), injured (0, 9, 5), id (5, 6, 7)", "schema_without_content": "battle : bulgarian_commander , result , battle_id , latin_commander , date , name , combat_id | ship : tonnage , disposition_of_ship , id , ship_type , lost_in_battle , location , name | death : killed , caused_by_ship_id , note , injured , id", "extra_map": { "battle": { "id": [ "battle_id", "combat_id" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "name", "date", "bulgarian_commander", "latin_commander", "result", "battle_id", "combat_id" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "ids": "battle.id", "names of the battles": "battle.name", "killed": "death.killed" } }, { "question": "what are the #ids# and #names of the battles# that led to more than 10 people #killed# in total.", "db_id": "battle_death", "orig_query": "select t1.id, t1.name from battle as t1 join ship as t2 on t1.id = t2.lost_in_battle join death as t3 on t2.id = t3.caused_by_ship_id group by t1.id having sum(t3.killed) > 10", "schema_with_content": "battle : bulgarian_commander (\"Ivan Asen II\", \"Boril\", \"Unknown\"), latin_commander (\"Unknown\", \"Boniface of Montferrat\", \"Henry I\"), id (5, 1, 4), date (\"June 1205\", \"4 September 1207\", \"1235\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), title (\"Battle of Rodosto\", \"Battle of Messinopolis\", \"Battle of Boruy\"), designation (\"Battle of Rodosto\", \"Battle of Messinopolis\", \"Battle of Boruy\") | ship : id (6, 6, 5), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), lost_in_battle (4, 7, 5), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), disposition_of_ship (\"Wrecked\", \"Wrecked\", \"Scuttled\"), name (\"Mary\", \"Three Brothers\", \"Three Brothers\"), tonnage (\"t\", \"391\", \"225\") | death : id (6, 8, 9), killed (29, 2, 4), caused_by_ship_id (2, 2, 1), note (\"Sundargarh, Odisha\", \"Bokaro, Jharkhand\", \"Kanker, Chhattisgarh\"), injured (0, 9, 5)", "schema_without_content": "battle : bulgarian_commander , latin_commander , id , date , result , title , designation | ship : id , location , lost_in_battle , ship_type , disposition_of_ship , name , tonnage | death : id , killed , caused_by_ship_id , note , injured", "extra_map": { "battle": { "name": [ "title", "designation" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "date", "bulgarian_commander", "latin_commander", "result", "title", "designation" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "ids": "battle.id", "names of the battles": "battle.name", "killed": "death.killed" } }, { "question": "what is the #ship id# and #name# that caused most total #injuries# ?", "db_id": "battle_death", "orig_query": "select t2.id, t2.name from death as t1 join ship as t2 on t1.caused_by_ship_id = t2.id group by t2.id order by count(*) desc limit 1", "schema_with_content": "battle : latin_commander (\"Boniface of Montferrat\", \"Henry I\", \"Unknown\"), date (\"14 April 1205\", \"June 1205\", \"31 January 1206\"), bulgarian_commander (\"Boril\", \"Unknown\", \"Kaloyan\"), id (4, 6, 1), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), name (\"Battle of Rodosto\", \"Battle of Rusion\", \"Battle of Rodosto\") | ship : vessel_name (\"Bon Accord\", \"Three Brothers\", \"Lettice\"), tonnage (\"t\", \"391\", \"225\"), ship_name (\"Bon Accord\", \"Three Brothers\", \"Lettice\"), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), lost_in_battle (5, 8, 5), id (6, 2, 2), disposition_of_ship (\"Scuttled\", \"Sank\", \"Scuttled\") | death : id (2, 2, 2), note (\"East Champaran, Bihar\", \"Bokaro, Jharkhand\", \"Kanker, Chhattisgarh\"), injured (0, 9, 5), caused_by_ship_id (4, 4, 1), killed (2, 25, 14)", "schema_without_content": "battle : latin_commander , date , bulgarian_commander , id , result , name | ship : vessel_name , tonnage , ship_name , location , ship_type , lost_in_battle , id , disposition_of_ship | death : id , note , injured , caused_by_ship_id , killed", "extra_map": { "ship": { "name": [ "ship_name", "vessel_name" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "date", "bulgarian_commander", "latin_commander", "result" ], "ship": [ "lost_in_battle", "id", "tonnage", "ship_type", "location", "disposition_of_ship", "ship_name", "vessel_name" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "ship id": "ship.id", "name": "ship.name", "injuries": "death.injured" } }, { "question": "what is the #ship id# and #name# that caused most total #injuries# ?", "db_id": "battle_death", "orig_query": "select t2.id, t2.name from death as t1 join ship as t2 on t1.caused_by_ship_id = t2.id group by t2.id order by count(*) desc limit 1", "schema_with_content": "battle : result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), latin_commander (\"Henry I\", \"Unknown\", \"John of Brienne\"), bulgarian_commander (\"Ivan Asen II\", \"Boril\", \"Unknown\"), name (\"Battle of Messinopolis\", \"Battle of Adrianople\", \"Battle of Rusion\"), date (\"31 January 1206\", \"June 1205\", \"February 1206\"), id (6, 8, 1) | ship : disposition_of_ship (\"Scuttled\", \"Sank\", \"Sank\"), vessel_id (3, 1, 7), name (\"HMS Atalanta\", \"Lettice\", \"Lettice\"), tonnage (\"t\", \"391\", \"225\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), ship_id (3, 1, 7), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), lost_in_battle (7, 8, 8) | death : caused_by_ship_id (3, 2, 1), note (\"Dantewada, Chhattisgarh\", \"Dantewada, Chhattisgarh\", \"Gajapati, Odisha\"), killed (0, 25, 8), injured (0, 9, 5), id (1, 5, 13)", "schema_without_content": "battle : result , latin_commander , bulgarian_commander , name , date , id | ship : disposition_of_ship , vessel_id , name , tonnage , ship_type , ship_id , location , lost_in_battle | death : caused_by_ship_id , note , killed , injured , id", "extra_map": { "ship": { "id": [ "ship_id", "vessel_id" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "date", "bulgarian_commander", "latin_commander", "result" ], "ship": [ "lost_in_battle", "name", "tonnage", "ship_type", "location", "disposition_of_ship", "ship_id", "vessel_id" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "ship id": "ship.id", "name": "ship.name", "injuries": "death.injured" } }, { "question": "what are the distinct #battle names# which are between #bulgarian commander# 'kaloyan' and #latin commander# 'baldwin i'?", "db_id": "battle_death", "orig_query": "select name from battle where bulgarian_commander = 'Kaloyan' and latin_commander = 'Baldwin I'", "schema_with_content": "battle : date (\"February 1206\", \"4 September 1207\", \"31 January 1206\"), designation (\"Battle of Rusion\", \"Siege of Constantinople\", \"Battle of Rodosto\"), latin_commander (\"Baldwin I\", \"Thierry de Termond\", \"John of Brienne\"), title (\"Battle of Rusion\", \"Siege of Constantinople\", \"Battle of Rodosto\"), bulgarian_commander (\"Ivan Asen II\", \"Unknown\", \"Unknown\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), id (2, 1, 7) | ship : location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), id (3, 1, 6), disposition_of_ship (\"Scuttled\", \"Wrecked\", \"Sank\"), tonnage (\"t\", \"391\", \"225\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), name (\"Bon Accord\", \"Bacchus\", \"Mary\"), lost_in_battle (6, 5, 6) | death : note (\"East Champaran, Bihar\", \"East Champaran, Bihar\", \"Bastar, Chattisgarh\"), injured (0, 9, 5), id (8, 8, 7), killed (14, 14, 25), caused_by_ship_id (1, 4, 4)", "schema_without_content": "battle : date , designation , latin_commander , title , bulgarian_commander , result , id | ship : location , id , disposition_of_ship , tonnage , ship_type , name , lost_in_battle | death : note , injured , id , killed , caused_by_ship_id", "extra_map": { "battle": { "name": [ "title", "designation" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "date", "bulgarian_commander", "latin_commander", "result", "title", "designation" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "battle names": "battle.name", "bulgarian commander": "battle.bulgarian_commander", "latin commander": "battle.latin_commander" } }, { "question": "how many different #results# are there for the #battles# ?", "db_id": "battle_death", "orig_query": "select count(distinct result) from battle", "schema_with_content": "battle : name (\"Battle of Rodosto\", \"Battle of Philippopolis\", \"Battle of Rodosto\"), latin_commander (\"Boniface of Montferrat\", \"Unknown\", \"John of Brienne\"), date (\"31 January 1206\", \"4 September 1207\", \"4 September 1207\"), id (6, 7, 7), outcome (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), bulgarian_commander (\"Unknown\", \"Ivan Asen II\", \"Ivan Asen II\"), consequence (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\") | ship : name (\"Mary\", \"HMS Avon\", \"Lettice\"), disposition_of_ship (\"Captured\", \"Captured\", \"Captured\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), id (7, 7, 4), tonnage (\"t\", \"391\", \"225\"), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), lost_in_battle (4, 4, 7) | death : caused_by_ship_id (4, 2, 5), id (10, 9, 8), killed (8, 29, 8), injured (0, 9, 5), note (\"Erraboru, Chhattisgarh\", \"WestMidnapore, West Bengal\", \"Sundargarh, Odisha\")", "schema_without_content": "battle : name , latin_commander , date , id , outcome , bulgarian_commander , consequence | ship : name , disposition_of_ship , ship_type , id , tonnage , location , lost_in_battle | death : caused_by_ship_id , id , killed , injured , note", "extra_map": { "battle": { "result": [ "outcome", "consequence" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "date", "bulgarian_commander", "latin_commander", "outcome", "consequence" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "results": "battle.result", "battles": "battle" } }, { "question": "list the #name# and #date the battle# that has #lost the ship named 'lettice'# and the #ship named 'hms atalanta'# ", "db_id": "battle_death", "orig_query": "select t1.name, t1.date from battle as t1 join ship as t2 on t1.id = t2.lost_in_battle where t2.name = 'Lettice' intersect select t1.name, t1.date from battle as t1 join ship as t2 on t1.id = t2.lost_in_battle where t2.name = 'HMS Atalanta'", "schema_with_content": "battle : title (\"Battle of Serres\", \"Battle of Philippopolis\", \"Battle of Adrianople\"), latin_commander (\"Thierry de Termond\", \"Thierry de Termond\", \"Boniface of Montferrat\"), id (5, 5, 7), bulgarian_commander (\"Kaloyan\", \"Ivan Asen II\", \"Kaloyan\"), date (\"14 April 1205\", \"February 1206\", \"1235\"), designation (\"Battle of Serres\", \"Battle of Philippopolis\", \"Battle of Adrianople\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\") | ship : lost_in_battle (6, 8, 7), tonnage (\"t\", \"391\", \"225\"), disposition_of_ship (\"Captured\", \"Wrecked\", \"Wrecked\"), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), name (\"Three Brothers\", \"Bon Accord\", \"Bon Accord\"), id (2, 6, 6) | death : id (4, 6, 12), note (\"Sundargarh, Odisha\", \"Sundargarh, Odisha\", \"East Champaran, Bihar\"), caused_by_ship_id (4, 3, 4), killed (3, 8, 4), injured (0, 9, 5)", "schema_without_content": "battle : title , latin_commander , id , bulgarian_commander , date , designation , result | ship : lost_in_battle , tonnage , disposition_of_ship , location , ship_type , name , id | death : id , note , caused_by_ship_id , killed , injured", "extra_map": { "battle": { "name": [ "title", "designation" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "date", "bulgarian_commander", "latin_commander", "result", "title", "designation" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "name": "battle.name", "date the battle": "battle.date", "lost the ship named 'Lettice'": "battle.name", "ship named 'HMS Atalanta'": "battle.name" } }, { "question": "list the #name# and #date the battle# that has #lost the ship named 'lettice'# and the #ship named 'hms atalanta'# ", "db_id": "battle_death", "orig_query": "select t1.name, t1.date from battle as t1 join ship as t2 on t1.id = t2.lost_in_battle where t2.name = 'Lettice' intersect select t1.name, t1.date from battle as t1 join ship as t2 on t1.id = t2.lost_in_battle where t2.name = 'HMS Atalanta'", "schema_with_content": "battle : battle_date (\"14 April 1205\", \"June 1205\", \"1235\"), id (6, 4, 7), name (\"Battle of Boruy\", \"Battle of Serres\", \"Battle of Philippopolis\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), bulgarian_commander (\"Unknown\", \"Unknown\", \"Kaloyan\"), engagement_date (\"14 April 1205\", \"June 1205\", \"1235\"), latin_commander (\"John of Brienne\", \"Henry I\", \"Unknown\") | ship : ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), tonnage (\"t\", \"391\", \"225\"), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), lost_in_battle (5, 6, 6), disposition_of_ship (\"Scuttled\", \"Sank\", \"Scuttled\"), name (\"Bacchus\", \"Three Brothers\", \"Mary\"), id (3, 2, 5) | death : id (11, 7, 7), note (\"Sundargarh, Odisha\", \"WestMidnapore, West Bengal\", \"Erraboru, Chhattisgarh\"), killed (25, 3, 3), injured (0, 9, 5), caused_by_ship_id (6, 6, 6)", "schema_without_content": "battle : battle_date , id , name , result , bulgarian_commander , engagement_date , latin_commander | ship : ship_type , tonnage , location , lost_in_battle , disposition_of_ship , name , id | death : id , note , killed , injured , caused_by_ship_id", "extra_map": { "battle": { "date": [ "battle_date", "engagement_date" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "bulgarian_commander", "latin_commander", "result", "battle_date", "engagement_date" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "name": "battle.name", "date the battle": "battle.date", "lost the ship named 'Lettice'": "battle.name", "ship named 'HMS Atalanta'": "battle.name" } }, { "question": "show #names# , #results# and #bulgarian commanders# of the battles with no #ships# lost in the 'english channel'.", "db_id": "battle_death", "orig_query": "select name, result, bulgarian_commander from battle except select t1.name, t1.result, t1.bulgarian_commander from battle as t1 join ship as t2 on t1.id = t2.lost_in_battle where t2.location = 'English Channel'", "schema_with_content": "battle : latin_commander (\"Unknown\", \"Henry I\", \"Unknown\"), title (\"Battle of Rusion\", \"Battle of Rodosto\", \"Siege of Constantinople\"), bulgarian_commander (\"Boril\", \"Kaloyan\", \"Boril\"), designation (\"Battle of Rusion\", \"Battle of Rodosto\", \"Siege of Constantinople\"), date (\"June 1205\", \"June 1205\", \"February 1206\"), id (2, 6, 3), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\") | ship : lost_in_battle (5, 6, 8), id (6, 3, 2), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), name (\"Three Brothers\", \"Mary\", \"Mary\"), tonnage (\"t\", \"391\", \"225\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), disposition_of_ship (\"Sank\", \"Captured\", \"Scuttled\") | death : note (\"WestMidnapore, West Bengal\", \"WestMidnapore, West Bengal\", \"Sundargarh, Odisha\"), caused_by_ship_id (2, 5, 6), injured (0, 9, 5), killed (0, 0, 3), id (6, 11, 4)", "schema_without_content": "battle : latin_commander , title , bulgarian_commander , designation , date , id , result | ship : lost_in_battle , id , location , name , tonnage , ship_type , disposition_of_ship | death : note , caused_by_ship_id , injured , killed , id", "extra_map": { "battle": { "name": [ "title", "designation" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "date", "bulgarian_commander", "latin_commander", "result", "title", "designation" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "names": "battle.name", "results": "battle.result", "bulgarian commanders": "battle.bulgarian_commander", "hips lost": "ship.lost_in_battle", "ships": "ship", "English Channel": "ship.location" } }, { "question": "show #names# , #results# and #bulgarian commanders# of the battles with no #ships# lost in the 'english channel'.", "db_id": "battle_death", "orig_query": "select name, result, bulgarian_commander from battle except select t1.name, t1.result, t1.bulgarian_commander from battle as t1 join ship as t2 on t1.id = t2.lost_in_battle where t2.location = 'English Channel'", "schema_with_content": "battle : bulgarian_general (\"Unknown\", \"Kaloyan\", \"Ivan Asen II\"), latin_commander (\"Unknown\", \"Henry I\", \"Henry I\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), commanding_bulgarian_officer (\"Unknown\", \"Kaloyan\", \"Ivan Asen II\"), name (\"Battle of Rusion\", \"Battle of Philippopolis\", \"Battle of Serres\"), id (4, 2, 8), date (\"31 June 1208\", \"1235\", \"4 September 1207\") | ship : location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), id (1, 6, 4), name (\"HMS Atalanta\", \"HMS Avon\", \"Bon Accord\"), lost_in_battle (8, 7, 7), tonnage (\"t\", \"391\", \"225\"), disposition_of_ship (\"Captured\", \"Captured\", \"Sank\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\") | death : killed (4, 29, 29), injured (0, 9, 5), note (\"East Champaran, Bihar\", \"Bastar, Chattisgarh\", \"Kanker, Chhattisgarh\"), caused_by_ship_id (2, 1, 1), id (6, 8, 2)", "schema_without_content": "battle : bulgarian_general , latin_commander , result , commanding_bulgarian_officer , name , id , date | ship : location , id , name , lost_in_battle , tonnage , disposition_of_ship , ship_type | death : killed , injured , note , caused_by_ship_id , id", "extra_map": { "battle": { "bulgarian_commander": [ "bulgarian_general", "commanding_bulgarian_officer" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "date", "latin_commander", "result", "bulgarian_general", "commanding_bulgarian_officer" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "names": "battle.name", "results": "battle.result", "bulgarian commanders": "battle.bulgarian_commander", "hips lost": "ship.lost_in_battle", "ships": "ship", "English Channel": "ship.location" } }, { "question": "show #names# , #results# and #bulgarian commanders# of the battles with no #ships# lost in the 'english channel'.", "db_id": "battle_death", "orig_query": "select name, result, bulgarian_commander from battle except select t1.name, t1.result, t1.bulgarian_commander from battle as t1 join ship as t2 on t1.id = t2.lost_in_battle where t2.location = 'English Channel'", "schema_with_content": "battle : id (5, 6, 6), name (\"Battle of Philippopolis\", \"Siege of Constantinople\", \"Battle of Rodosto\"), latin_commander (\"Boniface of Montferrat\", \"Thierry de Termond\", \"Unknown\"), date (\"14 April 1205\", \"4 September 1207\", \"31 June 1208\"), bulgarian_commander (\"Unknown\", \"Unknown\", \"Kaloyan\"), outcome (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\"), consequence (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\") | ship : ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), name (\"Bacchus\", \"HMS Atalanta\", \"Three Brothers\"), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), disposition_of_ship (\"Scuttled\", \"Captured\", \"Sank\"), tonnage (\"t\", \"391\", \"225\"), id (5, 4, 2), lost_in_battle (8, 6, 8) | death : injured (0, 9, 5), caused_by_ship_id (4, 3, 5), killed (25, 29, 2), note (\"East Champaran, Bihar\", \"Dantewada, Chhattisgarh\", \"East Champaran, Bihar\"), id (8, 4, 12)", "schema_without_content": "battle : id , name , latin_commander , date , bulgarian_commander , outcome , consequence | ship : ship_type , name , location , disposition_of_ship , tonnage , id , lost_in_battle | death : injured , caused_by_ship_id , killed , note , id", "extra_map": { "battle": { "result": [ "outcome", "consequence" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "date", "bulgarian_commander", "latin_commander", "outcome", "consequence" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "note", "killed", "injured" ] }, "column_linking_gt": { "names": "battle.name", "results": "battle.result", "bulgarian commanders": "battle.bulgarian_commander", "hips lost": "ship.lost_in_battle", "ships": "ship", "English Channel": "ship.location" } }, { "question": "what are the #notes of the death events# which has substring 'east'?", "db_id": "battle_death", "orig_query": "select note from death where note like '%East%'", "schema_with_content": "battle : date (\"February 1206\", \"4 September 1207\", \"June 1205\"), id (8, 1, 1), latin_commander (\"Thierry de Termond\", \"Baldwin I\", \"Baldwin I\"), bulgarian_commander (\"Ivan Asen II\", \"Unknown\", \"Ivan Asen II\"), name (\"Siege of Constantinople\", \"Battle of Serres\", \"Battle of Messinopolis\"), result (\"Bulgarian victory\", \"Latin victory\", \"Two Year Truce\") | ship : id (6, 2, 6), lost_in_battle (4, 4, 4), location (\"English Channel\", \"SW Approaches\", \"Mid-Atlantic\"), ship_type (\"Brig\", \"18-gun Brig\", \"8 gun Brig\"), disposition_of_ship (\"Wrecked\", \"Scuttled\", \"Sank\"), tonnage (\"t\", \"391\", \"225\"), name (\"Mary\", \"Bon Accord\", \"Bon Accord\") | death : killed (8, 29, 2), injured (0, 9, 5), caused_by_ship_id (5, 4, 2), id (3, 9, 8), details (\"WestMidnapore, West Bengal\", \"Dantewada, Chhattisgarh\", \"Gajapati, Odisha\"), description (\"WestMidnapore, West Bengal\", \"Dantewada, Chhattisgarh\", \"Gajapati, Odisha\")", "schema_without_content": "battle : date , id , latin_commander , bulgarian_commander , name , result | ship : id , lost_in_battle , location , ship_type , disposition_of_ship , tonnage , name | death : killed , injured , caused_by_ship_id , id , details , description", "extra_map": { "death": { "note": [ "description", "details" ] } }, "extra_table_map": null, "db_schema": { "battle": [ "id", "name", "date", "bulgarian_commander", "latin_commander", "result" ], "ship": [ "lost_in_battle", "id", "name", "tonnage", "ship_type", "location", "disposition_of_ship" ], "death": [ "caused_by_ship_id", "id", "killed", "injured", "description", "details" ] }, "column_linking_gt": { "notes of the death events": "death.note" } }, { "question": "what are all the #addresses# including #line 1# and #line 2# ?", "db_id": "student_transcripts_tracking", "orig_query": "select line_1, line_2 from addresses", "schema_with_content": "addresses : line_1 (\"74046 Metz Walk Apt. 113\", \"16998 Mraz Lodge\", \"0144 Lamar Plaza Apt. 346\"), secondary_address (\"Apt. 370\", \"Suite 239\", \"Suite 079\"), other_address_details (None), city (\"Prohaskafort\", \"Port Oceane\", \"Port Elvisfurt\"), address_id (9, 9, 10), state_province_county (\"Washington\", \"Florida\", \"Washington\"), zip_postcode (\"446\", \"148\", \"386\"), country (\"New Caledonia\", \"Angola\", \"Gibraltar\"), second_line (\"Apt. 370\", \"Suite 239\", \"Suite 079\"), line_3 (None) | courses : course_description (\"n\", \"k\", \"n\"), course_id (9, 14, 3), other_details (None), course_name (\"dl\", \"cal\", \"la\") | departments : department_description (\"dolorem\", \"error\", \"autem\"), department_id (12, 5, 11), other_details (None), department_name (\"computer science\", \"history\", \"medical\") | degree_programs : degree_program_id (2, 2, 15), other_details (None), degree_summary_description (\"architecto\", \"esse\", \"esse\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (11, 4, 4) | sections : course_id (5, 9, 14), section_id (9, 15, 15), section_description (\"nesciunt\", \"quis\", \"voluptatem\"), other_details (None), section_name (\"k\", \"o\", \"u\") | semesters : semester_id (6, 4, 10), other_details (None), semester_description (\"w\", \"q\", \"t\"), semester_name (\"winter 2018\", \"spring 2015\", \"spring 2015\") | students : first_name (\"Jett\", \"Frida\", \"Stanford\"), ssn (\"68095\", \"494\", \"304246\"), last_name (\"Balistreri\", \"Osinski\", \"Ankunding\"), middle_name (\"Mossie\", \"Osborne\", \"Golda\"), other_student_details (\"assumenda\", \"dolorum\", \"atque\"), permanent_address_id (15, 14, 4), date_left (\"1997-11-16 08:54:33\", \"1990-09-01 05:03:27\", \"2004-12-08 05:29:11\"), email_address (\"skassulke@example.net\", \"beth42@example.org\", \"swift.kolby@example.com\"), current_address_id (6, 12, 2), student_id (10, 13, 15), date_first_registered (\"1971-02-05 07:28:23\", \"1982-06-19 13:15:18\", \"1973-05-19 19:12:46\"), cell_mobile_number (\"07661787471\", \"(462)246-7921\", \"436.613.7683\") | student_enrolment : student_id (4, 14, 14), degree_program_id (12, 2, 12), student_enrolment_id (9, 5, 9), semester_id (1, 15, 2), other_details (None) | student_enrolment_courses : student_enrolment_id (4, 5, 9), student_course_id (28982908, 0, 1), course_id (6, 6, 10) | transcripts : other_details (None), transcript_id (4, 10, 2), transcript_date (\"1975-05-06 12:04:47\", \"1975-05-06 12:04:47\", \"1985-08-21 09:32:39\") | transcript_contents : student_course_id (96, 0, 45105806), transcript_id (4, 11, 6)", "schema_without_content": "addresses : line_1 , secondary_address , other_address_details , city , address_id , state_province_county , zip_postcode , country , second_line , line_3 | courses : course_description , course_id , other_details , course_name | departments : department_description , department_id , other_details , department_name | degree_programs : degree_program_id , other_details , degree_summary_description , degree_summary_name , department_id | sections : course_id , section_id , section_description , other_details , section_name | semesters : semester_id , other_details , semester_description , semester_name | students : first_name , ssn , last_name , middle_name , other_student_details , permanent_address_id , date_left , email_address , current_address_id , student_id , date_first_registered , cell_mobile_number 246-7921\", \"436.613.7683\" | student_enrolment : student_id , degree_program_id , student_enrolment_id , semester_id , other_details | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "addresses": { "line_2": [ "second_line", "secondary_address" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details", "second_line", "secondary_address" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "addresses": "Addresses", "line 1": "Addresses.line_1", "line 2": "Addresses.line_2" } }, { "question": "what are all the #addresses# including #line 1# and #line 2# ?", "db_id": "student_transcripts_tracking", "orig_query": "select line_1, line_2 from addresses", "schema_with_content": "addresses : line_2 (\"Apt. 370\", \"Suite 079\", \"Apt. 335\"), state_province_county (\"Florida\", \"Delaware\", \"Wyoming\"), address_id (7, 2, 8), line_3 (None), country (\"Gabon\", \"Norfolk Island\", \"Norfolk Island\"), city (\"Port Evanston\", \"Port Chelsea\", \"Port Evanston\"), first_line (\"3999 Aufderhar Ways Suite 593\", \"2294 Grant Square Apt. 235\", \"3999 Aufderhar Ways Suite 593\"), zip_postcode (\"943\", \"847\", \"902\"), other_address_details (None), primary_address (\"3999 Aufderhar Ways Suite 593\", \"2294 Grant Square Apt. 235\", \"3999 Aufderhar Ways Suite 593\") | courses : other_details (None), course_id (6, 3, 2), course_name (\"os\", \"math\", \"ds\"), course_description (\"q\", \"n\", \"p\") | departments : department_description (\"nisi\", \"nisi\", \"dolorem\"), department_name (\"engineer\", \"math\", \"drama\"), department_id (8, 7, 15), other_details (None) | degree_programs : degree_summary_description (\"quam\", \"assumenda\", \"placeat\"), department_id (7, 3, 13), other_details (None), degree_program_id (9, 1, 5), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : other_details (None), section_id (2, 7, 8), section_name (\"u\", \"u\", \"y\"), course_id (14, 9, 8), section_description (\"facilis\", \"et\", \"facilis\") | semesters : semester_name (\"spring 2012\", \"spring 2010\", \"summer 2010\"), semester_description (\"q\", \"x\", \"g\"), semester_id (15, 12, 1), other_details (None) | students : current_address_id (15, 7, 1), last_name (\"Rempel\", \"Weimann\", \"Ward\"), other_student_details (\"assumenda\", \"autem\", \"laborum\"), date_first_registered (\"2018-03-13 09:56:22\", \"2014-03-28 05:48:23\", \"1989-05-24 23:31:29\"), student_id (14, 8, 15), cell_mobile_number (\"877.549.9067x8723\", \"(096)889-8954x524\", \"171-642-5684\"), email_address (\"erwin.zboncak@example.com\", \"mya88@example.org\", \"mya88@example.org\"), date_left (\"2017-07-09 21:38:43\", \"1975-10-09 00:49:27\", \"1982-06-11 00:25:39\"), first_name (\"Delaney\", \"Jett\", \"Reva\"), middle_name (\"Mossie\", \"Mona\", \"Cleve\"), ssn (\"3\", \"156\", \"248\"), permanent_address_id (9, 3, 15) | student_enrolment : other_details (None), degree_program_id (11, 12, 9), student_enrolment_id (13, 9, 6), student_id (9, 4, 9), semester_id (4, 6, 4) | student_enrolment_courses : course_id (3, 10, 14), student_course_id (28982908, 96, 45105806), student_enrolment_id (4, 14, 13) | transcripts : other_details (None), transcript_date (\"1984-01-18 23:07:07\", \"1990-03-05 11:59:41\", \"2013-06-30 13:01:40\"), transcript_id (1, 8, 7) | transcript_contents : student_course_id (28982908, 96, 45105806), transcript_id (6, 9, 9)", "schema_without_content": "addresses : line_2 , state_province_county , address_id , line_3 , country , city , first_line , zip_postcode , other_address_details , primary_address | courses : other_details , course_id , course_name , course_description | departments : department_description , department_name , department_id , other_details | degree_programs : degree_summary_description , department_id , other_details , degree_program_id , degree_summary_name | sections : other_details , section_id , section_name , course_id , section_description | semesters : semester_name , semester_description , semester_id , other_details | students : current_address_id , last_name , other_student_details , date_first_registered , student_id , cell_mobile_number 889-8954x524\", \"171-642-5684\", email_address , date_left , first_name , middle_name , ssn , permanent_address_id | student_enrolment : other_details , degree_program_id , student_enrolment_id , student_id , semester_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "addresses": { "line_1": [ "first_line", "primary_address" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details", "first_line", "primary_address" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "addresses": "Addresses", "line 1": "Addresses.line_1", "line 2": "Addresses.line_2" } }, { "question": "what is the first and #second line for all addresses# ?", "db_id": "student_transcripts_tracking", "orig_query": "select line_1, line_2 from addresses", "schema_with_content": "addresses : state_province_county (\"Florida\", \"Idaho\", \"Arkansas\"), country (\"Angola\", \"Saudi Arabia\", \"Croatia\"), secondary_address (\"Apt. 406\", \"Suite 079\", \"Apt. 335\"), second_line (\"Apt. 406\", \"Suite 079\", \"Apt. 335\"), line_1 (\"492 Wilkinson Route\", \"193 Marlin Brook\", \"0144 Lamar Plaza Apt. 346\"), city (\"Michelleburgh\", \"Port Elvisfurt\", \"Herzoghaven\"), other_address_details (None), zip_postcode (\"590\", \"590\", \"068\"), line_3 (None), address_id (6, 8, 11) | courses : other_details (None), course_description (\"w\", \"n\", \"p\"), course_id (2, 15, 14), course_name (\"oop\", \"oop\", \"dl\") | departments : other_details (None), department_id (5, 13, 5), department_name (\"dance\", \"geography\", \"linguistic\"), department_description (\"dolorem\", \"aliquam\", \"nihil\") | degree_programs : degree_summary_description (\"quam\", \"qui\", \"placeat\"), department_id (2, 7, 12), degree_program_id (8, 10, 5), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_description (\"quis\", \"facilis\", \"ad\"), course_id (14, 8, 12), other_details (None), section_name (\"j\", \"p\", \"o\"), section_id (11, 7, 6) | semesters : semester_description (\"q\", \"l\", \"c\"), semester_name (\"spring 2017\", \"summer 2010\", \"fall 2018\"), semester_id (5, 10, 4), other_details (None) | students : other_student_details (\"assumenda\", \"quia\", \"quia\"), middle_name (\"Aisha\", \"Brooklyn\", \"Osborne\"), date_left (\"2013-10-05 17:41:28\", \"1982-06-11 00:25:39\", \"2013-10-05 17:41:28\"), current_address_id (10, 12, 1), cell_mobile_number (\"(462)246-7921\", \"(096)889-8954x524\", \"09700166582\"), email_address (\"lhartmann@example.org\", \"dell43@example.net\", \"nya.lesch@example.net\"), permanent_address_id (11, 4, 15), ssn (\"668\", \"43\", \"965\"), last_name (\"Balistreri\", \"Huel\", \"Huel\"), date_first_registered (\"2009-09-25 00:14:25\", \"2005-12-15 08:42:10\", \"1989-05-24 23:31:29\"), first_name (\"Jett\", \"Milton\", \"Jarvis\"), student_id (13, 8, 11) | student_enrolment : semester_id (5, 13, 6), other_details (None), student_id (14, 7, 4), student_enrolment_id (15, 2, 3), degree_program_id (2, 2, 5) | student_enrolment_courses : student_course_id (96, 9860, 45105806), course_id (12, 8, 13), student_enrolment_id (5, 4, 13) | transcripts : other_details (None), transcript_id (8, 2, 14), transcript_date (\"2002-09-24 06:11:49\", \"2002-09-24 06:11:49\", \"1999-01-06 20:06:46\") | transcript_contents : transcript_id (4, 12, 8), student_course_id (28982908, 0, 28982908)", "schema_without_content": "addresses : state_province_county , country , secondary_address , second_line , line_1 , city , other_address_details , zip_postcode , line_3 , address_id | courses : other_details , course_description , course_id , course_name | departments : other_details , department_id , department_name , department_description | degree_programs : degree_summary_description , department_id , degree_program_id , other_details , degree_summary_name | sections : section_description , course_id , other_details , section_name , section_id | semesters : semester_description , semester_name , semester_id , other_details | students : other_student_details , middle_name , date_left , current_address_id , cell_mobile_number 246-7921\", \"889-8954x524\", \"09700166582\", email_address , permanent_address_id , ssn , last_name , date_first_registered , first_name , student_id | student_enrolment : semester_id , other_details , student_id , student_enrolment_id , degree_program_id | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "addresses": { "line_2": [ "second_line", "secondary_address" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details", "second_line", "secondary_address" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "second line for all addresses": "Addresses.line_2", "first line": "Addresses.line_1" } }, { "question": "what is the first and #second line for all addresses# ?", "db_id": "student_transcripts_tracking", "orig_query": "select line_1, line_2 from addresses", "schema_with_content": "addresses : state_province_county (\"Kentucky\", \"Kentucky\", \"Idaho\"), zip_postcode (\"943\", \"386\", \"590\"), country (\"Cook Islands\", \"Saudi Arabia\", \"Samoa\"), line_2 (\"Suite 703\", \"Suite 865\", \"Suite 865\"), primary_address (\"202 Hessel Views Apt. 468\", \"0144 Lamar Plaza Apt. 346\", \"858 Peggie Bypass Suite 212\"), other_address_details (None), address_id (6, 2, 6), city (\"Michelleburgh\", \"Port Evanston\", \"Herzoghaven\"), line_3 (None), first_line (\"202 Hessel Views Apt. 468\", \"0144 Lamar Plaza Apt. 346\", \"858 Peggie Bypass Suite 212\") | courses : course_name (\"en\", \"fr\", \"math\"), course_id (6, 11, 15), course_description (\"d\", \"d\", \"p\"), other_details (None) | departments : department_name (\"engineer\", \"geography\", \"drama\"), department_description (\"nisi\", \"in\", \"natus\"), department_id (9, 11, 7), other_details (None) | degree_programs : degree_program_id (2, 12, 3), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"et\", \"voluptas\", \"quam\"), department_id (12, 7, 2), other_details (None) | sections : section_description (\"facilis\", \"reprehenderit\", \"qui\"), other_details (None), section_id (5, 3, 1), section_name (\"l\", \"h\", \"b\"), course_id (10, 4, 4) | semesters : semester_description (\"q\", \"w\", \"q\"), semester_id (15, 5, 13), other_details (None), semester_name (\"spring 2017\", \"spring 2019\", \"spring 2019\") | students : ssn (\"6274274\", \"494\", \"\"), other_student_details (\"assumenda\", \"quia\", \"nesciunt\"), date_first_registered (\"1997-03-20 16:47:25\", \"1976-10-26 02:33:06\", \"2014-03-28 05:48:23\"), current_address_id (12, 7, 10), email_address (\"mya88@example.org\", \"johns.unique@example.net\", \"swift.kolby@example.com\"), cell_mobile_number (\"07661787471\", \"(096)889-8954x524\", \"1-879-796-8987x164\"), first_name (\"Helga\", \"Warren\", \"Jett\"), date_left (\"1975-10-09 00:49:27\", \"2006-08-04 17:26:49\", \"2006-08-04 17:26:49\"), student_id (7, 3, 8), last_name (\"Christiansen\", \"Osinski\", \"Schuppe\"), middle_name (\"Aaliyah\", \"Aisha\", \"Judd\"), permanent_address_id (4, 15, 11) | student_enrolment : semester_id (4, 1, 13), degree_program_id (5, 5, 11), other_details (None), student_id (4, 7, 12), student_enrolment_id (8, 7, 1) | student_enrolment_courses : student_enrolment_id (5, 10, 14), student_course_id (9860, 681404, 7), course_id (2, 13, 3) | transcripts : other_details (None), transcript_id (13, 15, 12), transcript_date (\"1975-10-28 15:16:51\", \"1975-05-20 18:31:21\", \"1988-04-30 01:19:47\") | transcript_contents : transcript_id (4, 12, 12), student_course_id (96, 0, 0)", "schema_without_content": "addresses : state_province_county , zip_postcode , country , line_2 , primary_address , other_address_details , address_id , city , line_3 , first_line | courses : course_name , course_id , course_description , other_details | departments : department_name , department_description , department_id , other_details | degree_programs : degree_program_id , degree_summary_name , degree_summary_description , department_id , other_details | sections : section_description , other_details , section_id , section_name , course_id | semesters : semester_description , semester_id , other_details , semester_name | students : ssn , other_student_details , date_first_registered , current_address_id , email_address , cell_mobile_number 889-8954x524\", \"1-879-796-8987x164\", first_name , date_left , student_id , last_name , middle_name , permanent_address_id | student_enrolment : semester_id , degree_program_id , other_details , student_id , student_enrolment_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "addresses": { "line_1": [ "first_line", "primary_address" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details", "first_line", "primary_address" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "second line for all addresses": "Addresses.line_2", "first line": "Addresses.line_1" } }, { "question": "how is the #math course# described?", "db_id": "student_transcripts_tracking", "orig_query": "select course_description from courses where course_name = 'math'", "schema_with_content": "addresses : address_id (10, 10, 5), zip_postcode (\"902\", \"895\", \"541\"), country (\"Norfolk Island\", \"Kyrgyz Republic\", \"Samoa\"), state_province_county (\"SouthDakota\", \"Wyoming\", \"WestVirginia\"), city (\"Rutherfordtown\", \"Rutherfordtown\", \"Michelleburgh\"), other_address_details (None), line_2 (\"Apt. 583\", \"Apt. 370\", \"Suite 703\"), line_3 (None), line_1 (\"492 Wilkinson Route\", \"2294 Grant Square Apt. 235\", \"0144 Lamar Plaza Apt. 346\") | courses : course_id (12, 5, 9), course_name (\"dl\", \"ai\", \"rs\"), class_desc (\"b\", \"q\", \"q\"), subject_description (\"b\", \"q\", \"q\"), other_details (None) | departments : department_name (\"management\", \"engineer\", \"dance\"), department_id (3, 5, 11), department_description (\"dolorem\", \"nisi\", \"natus\"), other_details (None) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), degree_program_id (11, 11, 1), department_id (4, 8, 15), degree_summary_description (\"quam\", \"officiis\", \"architecto\") | sections : section_name (\"o\", \"a\", \"e\"), section_id (6, 10, 3), course_id (12, 14, 9), section_description (\"nesciunt\", \"non\", \"non\"), other_details (None) | semesters : semester_description (\"c\", \"f\", \"x\"), other_details (None), semester_id (12, 3, 5), semester_name (\"fall 2018\", \"spring 2014\", \"spring 2013\") | students : email_address (\"jhuel@example.com\", \"nbruen@example.org\", \"beth42@example.org\"), middle_name (\"Mona\", \"Anna\", \"Brooklyn\"), other_student_details (\"atque\", \"rerum\", \"omnis\"), permanent_address_id (5, 8, 8), current_address_id (2, 2, 15), last_name (\"Balistreri\", \"Kemmer\", \"Christiansen\"), first_name (\"Deon\", \"Milton\", \"Reva\"), student_id (8, 4, 5), ssn (\"141072406\", \"\", \"6274274\"), date_left (\"1971-05-17 19:28:49\", \"2007-11-28 12:50:21\", \"2007-11-28 12:50:21\"), cell_mobile_number (\"436.613.7683\", \"1-009-710-5151\", \"436.613.7683\"), date_first_registered (\"1982-02-14 08:46:35\", \"1971-02-05 07:28:23\", \"2017-01-04 08:10:25\") | student_enrolment : semester_id (4, 13, 5), student_id (9, 12, 5), degree_program_id (5, 2, 12), other_details (None), student_enrolment_id (1, 15, 8) | student_enrolment_courses : course_id (10, 13, 14), student_course_id (76, 438800, 681404), student_enrolment_id (6, 8, 14) | transcripts : transcript_date (\"2013-06-30 13:01:40\", \"1988-04-30 01:19:47\", \"1984-01-18 23:07:07\"), transcript_id (6, 5, 1), other_details (None) | transcript_contents : transcript_id (2, 2, 13), student_course_id (45105806, 96, 2)", "schema_without_content": "addresses : address_id , zip_postcode , country , state_province_county , city , other_address_details , line_2 , line_3 , line_1 | courses : course_id , course_name , class_desc , subject_description , other_details | departments : department_name , department_id , department_description , other_details | degree_programs : degree_summary_name , other_details , degree_program_id , department_id , degree_summary_description | sections : section_name , section_id , course_id , section_description , other_details | semesters : semester_description , other_details , semester_id , semester_name | students : email_address , middle_name , other_student_details , permanent_address_id , current_address_id , last_name , first_name , student_id , ssn , date_left , cell_mobile_number , date_first_registered | student_enrolment : semester_id , student_id , degree_program_id , other_details , student_enrolment_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : transcript_date , transcript_id , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "courses": { "course_description": [ "class_desc", "subject_description" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "other_details", "class_desc", "subject_description" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "math course": "Courses.course_name", "course description": "Courses.course_description" } }, { "question": "what are the #descriptions for all the math courses# ?", "db_id": "student_transcripts_tracking", "orig_query": "select course_description from courses where course_name = 'math'", "schema_with_content": "addresses : line_3 (None), address_id (14, 13, 8), other_address_details (None), zip_postcode (\"148\", \"068\", \"777\"), state_province_county (\"Arkansas\", \"Washington\", \"Arkansas\"), line_2 (\"Apt. 583\", \"Apt. 388\", \"Suite 383\"), line_1 (\"67942 Carlotta Ferry Apt. 686\", \"3999 Aufderhar Ways Suite 593\", \"7081 Eda Center\"), country (\"New Caledonia\", \"Cook Islands\", \"Iceland\"), city (\"Lake Careyberg\", \"Michelleburgh\", \"Port Evanston\") | courses : course_id (2, 13, 6), course_name (\"en\", \"oop\", \"rs\"), other_details (None), subject_description (\"n\", \"d\", \"b\"), class_desc (\"n\", \"d\", \"b\") | departments : department_id (6, 9, 8), department_name (\"dance\", \"drama\", \"medical\"), other_details (None), department_description (\"error\", \"natus\", \"nihil\") | degree_programs : degree_program_id (11, 4, 9), department_id (15, 7, 14), degree_summary_description (\"aut\", \"et\", \"unde\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None) | sections : section_name (\"a\", \"p\", \"o\"), section_id (7, 13, 7), section_description (\"quis\", \"ex\", \"ad\"), other_details (None), course_id (2, 4, 9) | semesters : semester_name (\"spring 2014\", \"spring 2014\", \"summer 2010\"), semester_description (\"o\", \"f\", \"q\"), other_details (None), semester_id (12, 6, 10) | students : date_first_registered (\"1989-05-24 23:31:29\", \"2005-12-15 08:42:10\", \"2004-12-24 12:36:46\"), current_address_id (15, 14, 9), first_name (\"Helga\", \"Deon\", \"Deon\"), email_address (\"qo'kon@example.com\", \"baumbach.lucious@example.org\", \"nbruen@example.org\"), permanent_address_id (5, 5, 3), other_student_details (\"dolorum\", \"et\", \"autem\"), ssn (\"304246\", \"304246\", \"39\"), date_left (\"1982-06-11 00:25:39\", \"1997-11-16 08:54:33\", \"1971-05-17 19:28:49\"), middle_name (\"Violet\", \"Anna\", \"Anna\"), last_name (\"Osinski\", \"Huel\", \"Huel\"), student_id (10, 11, 8), cell_mobile_number (\"09700166582\", \"(462)246-7921\", \"(096)889-8954x524\") | student_enrolment : student_id (7, 5, 6), semester_id (12, 13, 1), student_enrolment_id (15, 4, 13), other_details (None), degree_program_id (9, 8, 8) | student_enrolment_courses : student_enrolment_id (2, 8, 9), student_course_id (0, 96, 0), course_id (3, 13, 11) | transcripts : transcript_date (\"1986-07-12 07:27:29\", \"1984-12-19 00:37:21\", \"1990-03-05 11:59:41\"), transcript_id (4, 6, 15), other_details (None) | transcript_contents : transcript_id (4, 13, 9), student_course_id (45105806, 7, 45105806)", "schema_without_content": "addresses : line_3 , address_id , other_address_details , zip_postcode , state_province_county , line_2 , line_1 , country , city | courses : course_id , course_name , other_details , subject_description , class_desc | departments : department_id , department_name , other_details , department_description | degree_programs : degree_program_id , department_id , degree_summary_description , degree_summary_name , other_details | sections : section_name , section_id , section_description , other_details , course_id | semesters : semester_name , semester_description , other_details , semester_id | students : date_first_registered , current_address_id , first_name , email_address , permanent_address_id , other_student_details , ssn , date_left , middle_name , last_name , student_id , cell_mobile_number 246-7921\", \"889-8954x524\" | student_enrolment : student_id , semester_id , student_enrolment_id , other_details , degree_program_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : transcript_date , transcript_id , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "courses": { "course_description": [ "class_desc", "subject_description" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "other_details", "class_desc", "subject_description" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "descriptions for all the math courses": "Courses.course_description" } }, { "question": "what is the #zip code of the address in the city# port chelsea?", "db_id": "student_transcripts_tracking", "orig_query": "select zip_postcode from addresses where city = 'Port Chelsea'", "schema_with_content": "addresses : country (\"Iceland\", \"Haiti\", \"Angola\"), postal_code (\"638\", \"847\", \"895\"), postcode (\"638\", \"847\", \"895\"), line_3 (None), other_address_details (None), city (\"New Clemensburgh\", \"Port Evanston\", \"Rutherfordtown\"), address_id (11, 1, 2), line_2 (\"Apt. 388\", \"Suite 830\", \"Apt. 468\"), line_1 (\"193 Marlin Brook\", \"0643 Muller Vista\", \"74046 Metz Walk Apt. 113\"), state_province_county (\"Hawaii\", \"SouthDakota\", \"Delaware\") | courses : other_details (None), course_name (\"ml\", \"ds\", \"la\"), course_description (\"v\", \"d\", \"c\"), course_id (7, 13, 14) | departments : department_name (\"statistics\", \"drama\", \"medical\"), department_id (14, 6, 7), department_description (\"dolorem\", \"nostrum\", \"aliquam\"), other_details (None) | degree_programs : other_details (None), degree_summary_description (\"architecto\", \"assumenda\", \"et\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (6, 5, 9), department_id (7, 3, 13) | sections : course_id (7, 5, 12), other_details (None), section_name (\"u\", \"p\", \"k\"), section_description (\"doloremque\", \"non\", \"quis\"), section_id (6, 1, 13) | semesters : other_details (None), semester_id (14, 14, 13), semester_name (\"spring 2014\", \"spring 2014\", \"spring 2017\"), semester_description (\"m\", \"y\", \"c\") | students : student_id (2, 11, 11), last_name (\"Gleichner\", \"Weimann\", \"Osinski\"), date_first_registered (\"2007-08-29 23:25:41\", \"1982-06-19 13:15:18\", \"1976-10-26 02:33:06\"), permanent_address_id (15, 11, 4), email_address (\"jillian26@example.net\", \"nbruen@example.org\", \"nbruen@example.org\"), ssn (\"3\", \"494\", \"965\"), date_left (\"1982-06-11 00:25:39\", \"2014-05-30 23:32:02\", \"2007-08-02 04:12:58\"), other_student_details (\"nesciunt\", \"autem\", \"atque\"), cell_mobile_number (\"(462)246-7921\", \"07661787471\", \"07661787471\"), current_address_id (6, 9, 10), first_name (\"Warren\", \"Timmothy\", \"Delaney\"), middle_name (\"Brooklyn\", \"Violet\", \"Neal\") | student_enrolment : semester_id (6, 1, 15), student_enrolment_id (6, 8, 12), other_details (None), degree_program_id (12, 4, 3), student_id (4, 12, 6) | student_enrolment_courses : student_enrolment_id (8, 9, 8), course_id (3, 8, 10), student_course_id (9860, 83814225, 2) | transcripts : transcript_date (\"1990-03-05 11:59:41\", \"1984-01-18 23:07:07\", \"1985-08-21 09:32:39\"), other_details (None), transcript_id (4, 13, 2) | transcript_contents : transcript_id (5, 9, 13), student_course_id (0, 8, 70882679)", "schema_without_content": "addresses : country , postal_code , postcode , line_3 , other_address_details , city , address_id , line_2 , line_1 , state_province_county | courses : other_details , course_name , course_description , course_id | departments : department_name , department_id , department_description , other_details | degree_programs : other_details , degree_summary_description , degree_summary_name , degree_program_id , department_id | sections : course_id , other_details , section_name , section_description , section_id | semesters : other_details , semester_id , semester_name , semester_description | students : student_id , last_name , date_first_registered , permanent_address_id , email_address , ssn , date_left , other_student_details , cell_mobile_number 246-7921\", \"07661787471\", \"07661787471\", current_address_id , first_name , middle_name | student_enrolment : semester_id , student_enrolment_id , other_details , degree_program_id , student_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : transcript_date , other_details , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "addresses": { "zip_postcode": [ "postal_code", "postcode" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "state_province_county", "country", "other_address_details", "postal_code", "postcode" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "zip code of the address in the city": "Addresses.zip_postcode" } }, { "question": "what is the #zip code for port chelsea# ?", "db_id": "student_transcripts_tracking", "orig_query": "select zip_postcode from addresses where city = 'Port Chelsea'", "schema_with_content": "addresses : line_2 (\"Apt. 468\", \"Apt. 583\", \"Apt. 689\"), postcode (\"839\", \"902\", \"777\"), other_address_details (None), postal_code (\"839\", \"902\", \"777\"), country (\"Iceland\", \"Kyrgyz Republic\", \"Haiti\"), city (\"Goodwinhaven\", \"Goodwinhaven\", \"Port Evanston\"), address_id (6, 14, 10), line_1 (\"0643 Muller Vista\", \"186 Evan Motorway Apt. 409\", \"193 Marlin Brook\"), state_province_county (\"Washington\", \"Washington\", \"Wyoming\"), line_3 (None) | courses : course_name (\"ds\", \"os\", \"os\"), course_id (11, 1, 5), other_details (None), course_description (\"v\", \"w\", \"k\") | departments : department_description (\"error\", \"non\", \"error\"), department_name (\"art\", \"law\", \"economics\"), department_id (5, 13, 3), other_details (None) | degree_programs : department_id (2, 13, 2), degree_summary_description (\"quam\", \"esse\", \"aperiam\"), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (2, 13, 5) | sections : other_details (None), section_description (\"provident\", \"voluptatem\", \"qui\"), section_id (12, 3, 1), section_name (\"a\", \"g\", \"k\"), course_id (5, 12, 14) | semesters : other_details (None), semester_name (\"fall 2018\", \"spring 2014\", \"fall 2018\"), semester_id (7, 8, 14), semester_description (\"y\", \"y\", \"x\") | students : date_left (\"2007-11-28 12:50:21\", \"1971-05-17 19:28:49\", \"1975-10-09 00:49:27\"), permanent_address_id (3, 3, 9), other_student_details (\"facilis\", \"omnis\", \"assumenda\"), cell_mobile_number (\"09700166582\", \"09700166582\", \"(982)153-1469x1733\"), last_name (\"Osinski\", \"Gleichner\", \"Huel\"), first_name (\"Jarvis\", \"Jett\", \"Warren\"), student_id (9, 5, 7), date_first_registered (\"2007-08-29 23:25:41\", \"1982-02-14 08:46:35\", \"2004-12-24 12:36:46\"), email_address (\"swift.kolby@example.com\", \"beth42@example.org\", \"skassulke@example.net\"), current_address_id (12, 2, 7), middle_name (\"Aaliyah\", \"Judd\", \"Osborne\"), ssn (\"43\", \"3\", \"43\") | student_enrolment : degree_program_id (8, 12, 3), student_id (14, 6, 12), semester_id (6, 1, 13), student_enrolment_id (3, 1, 13), other_details (None) | student_enrolment_courses : student_course_id (8, 604750, 76), student_enrolment_id (8, 9, 2), course_id (12, 8, 6) | transcripts : other_details (None), transcript_id (4, 4, 13), transcript_date (\"1985-04-29 01:20:20\", \"1985-08-21 09:32:39\", \"2002-09-24 06:11:49\") | transcript_contents : transcript_id (13, 2, 11), student_course_id (76, 0, 0)", "schema_without_content": "addresses : line_2 , postcode , other_address_details , postal_code , country , city , address_id , line_1 , state_province_county , line_3 | courses : course_name , course_id , other_details , course_description | departments : department_description , department_name , department_id , other_details | degree_programs : department_id , degree_summary_description , other_details , degree_summary_name , degree_program_id | sections : other_details , section_description , section_id , section_name , course_id | semesters : other_details , semester_name , semester_id , semester_description | students : date_left , permanent_address_id , other_student_details , cell_mobile_number 153-1469x1733\", last_name , first_name , student_id , date_first_registered , email_address , current_address_id , middle_name , ssn | student_enrolment : degree_program_id , student_id , semester_id , student_enrolment_id , other_details | student_enrolment_courses : student_course_id , student_enrolment_id , course_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "addresses": { "zip_postcode": [ "postal_code", "postcode" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "state_province_county", "country", "other_address_details", "postal_code", "postcode" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "zip code for Port Chelsea": "Addresses.zip_postcode" } }, { "question": "which #department# offers the most number of degrees? list #department name# and id.", "db_id": "student_transcripts_tracking", "orig_query": "select t2.department_name, t1.department_id from degree_programs as t1 join departments as t2 on t1.department_id = t2.department_id group by t1.department_id order by count(*) desc limit 1", "schema_with_content": "addresses : line_2 (\"Apt. 335\", \"Apt. 689\", \"Apt. 370\"), zip_postcode (\"638\", \"847\", \"148\"), line_3 (None), other_address_details (None), address_id (13, 7, 9), state_province_county (\"Kentucky\", \"Wyoming\", \"Washington\"), line_1 (\"3999 Aufderhar Ways Suite 593\", \"858 Peggie Bypass Suite 212\", \"9283 Schulist Falls Apt. 037\"), city (\"Port Oceane\", \"Lake Careyberg\", \"Port Chelsea\"), country (\"New Caledonia\", \"Saudi Arabia\", \"Burundi\") | courses : course_id (7, 14, 11), course_name (\"ml\", \"ai\", \"ml\"), course_description (\"p\", \"w\", \"p\"), other_details (None) | departments : department_id (15, 10, 12), department_description (\"nostrum\", \"error\", \"nostrum\"), other_details (None), department_name (\"management\", \"medical\", \"statistics\") | degree_programs : degree_program_id (9, 12, 4), degree_summary_description (\"architecto\", \"qui\", \"aut\"), faculty_id (11, 7, 3), dept_id (11, 7, 3), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : other_details (None), course_id (9, 8, 1), section_description (\"reprehenderit\", \"ex\", \"reprehenderit\"), section_name (\"u\", \"c\", \"l\"), section_id (13, 13, 9) | semesters : semester_name (\"spring 2015\", \"spring 2013\", \"fall 2010\"), other_details (None), semester_description (\"x\", \"o\", \"m\"), semester_id (15, 6, 10) | students : other_student_details (\"voluptatem\", \"quia\", \"qui\"), current_address_id (15, 6, 15), ssn (\"\", \"304246\", \"156\"), student_id (15, 7, 14), last_name (\"Osinski\", \"Jaskolski\", \"Weimann\"), first_name (\"Milton\", \"Timmothy\", \"Timmothy\"), date_first_registered (\"2004-12-24 12:36:46\", \"2004-12-24 12:36:46\", \"1973-05-19 19:12:46\"), cell_mobile_number (\"(462)246-7921\", \"07661787471\", \"(213)445-0399x85208\"), date_left (\"2007-03-31 09:53:19\", \"2007-08-02 04:12:58\", \"2007-08-02 04:12:58\"), middle_name (\"Lorenz\", \"Cleve\", \"Lorenz\"), email_address (\"gracie29@example.com\", \"dell43@example.net\", \"skassulke@example.net\"), permanent_address_id (9, 9, 4) | student_enrolment : degree_program_id (5, 12, 11), student_id (12, 1, 1), student_enrolment_id (3, 13, 11), other_details (None), semester_id (4, 1, 12) | student_enrolment_courses : student_enrolment_id (10, 13, 5), student_course_id (76, 9860, 83814225), course_id (6, 2, 3) | transcripts : transcript_date (\"1998-11-22 12:18:29\", \"1999-01-06 20:06:46\", \"2013-06-30 13:01:40\"), other_details (None), transcript_id (5, 5, 11) | transcript_contents : transcript_id (11, 4, 15), student_course_id (2, 8, 0)", "schema_without_content": "addresses : line_2 , zip_postcode , line_3 , other_address_details , address_id , state_province_county , line_1 , city , country | courses : course_id , course_name , course_description , other_details | departments : department_id , department_description , other_details , department_name | degree_programs : degree_program_id , degree_summary_description , faculty_id , dept_id , other_details , degree_summary_name | sections : other_details , course_id , section_description , section_name , section_id | semesters : semester_name , other_details , semester_description , semester_id | students : other_student_details , current_address_id , ssn , student_id , last_name , first_name , date_first_registered , cell_mobile_number 246-7921\", \"07661787471\", \"445-0399x85208\", date_left , middle_name , email_address , permanent_address_id | student_enrolment : degree_program_id , student_id , student_enrolment_id , other_details , semester_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : transcript_date , other_details , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "degree_programs": { "department_id": [ "dept_id", "faculty_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "degree_summary_name", "degree_summary_description", "other_details", "dept_id", "faculty_id" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "department": "Departments", "department name": "Departments.department_name", "department id": "Degree_Programs.department_id" } }, { "question": "which #department# offers the most number of degrees? list #department name# and id.", "db_id": "student_transcripts_tracking", "orig_query": "select t2.department_name, t1.department_id from degree_programs as t1 join departments as t2 on t1.department_id = t2.department_id group by t1.department_id order by count(*) desc limit 1", "schema_with_content": "addresses : line_1 (\"9283 Schulist Falls Apt. 037\", \"186 Evan Motorway Apt. 409\", \"186 Evan Motorway Apt. 409\"), address_id (8, 7, 8), zip_postcode (\"669\", \"068\", \"068\"), country (\"Saudi Arabia\", \"Haiti\", \"Iceland\"), state_province_county (\"Delaware\", \"Kansas\", \"Florida\"), city (\"Port Evanston\", \"North Omer\", \"Port Elvisfurt\"), line_2 (\"Suite 383\", \"Suite 079\", \"Apt. 335\"), other_address_details (None), line_3 (None) | courses : course_name (\"la\", \"oop\", \"oop\"), course_description (\"p\", \"c\", \"p\"), course_id (9, 1, 4), other_details (None) | departments : faculty_name (\"biology\", \"geography\", \"management\"), dept_name (\"biology\", \"geography\", \"management\"), department_id (4, 3, 11), department_description (\"nostrum\", \"ea\", \"doloribus\"), other_details (None) | degree_programs : degree_summary_description (\"voluptas\", \"architecto\", \"unde\"), degree_program_id (1, 14, 14), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), department_id (12, 15, 7) | sections : other_details (None), course_id (8, 5, 9), section_name (\"g\", \"c\", \"p\"), section_description (\"reprehenderit\", \"provident\", \"facilis\"), section_id (9, 12, 5) | semesters : other_details (None), semester_name (\"fall 2018\", \"spring 2019\", \"spring 2017\"), semester_description (\"y\", \"q\", \"t\"), semester_id (7, 10, 6) | students : cell_mobile_number (\"171-642-5684\", \"09700166582\", \"(096)889-8954x524\"), first_name (\"Frida\", \"Milton\", \"Timmothy\"), student_id (13, 5, 8), last_name (\"Rogahn\", \"Osinski\", \"Christiansen\"), date_left (\"2007-03-31 09:53:19\", \"2017-07-09 21:38:43\", \"1999-08-24 00:07:10\"), email_address (\"qo'kon@example.com\", \"swift.kolby@example.com\", \"erwin.zboncak@example.com\"), other_student_details (\"non\", \"dolorum\", \"facilis\"), date_first_registered (\"1986-02-24 21:12:23\", \"1989-05-24 23:31:29\", \"1986-02-24 21:12:23\"), current_address_id (10, 10, 14), ssn (\"668\", \"402\", \"668\"), permanent_address_id (4, 8, 9), middle_name (\"Anna\", \"Neal\", \"Brooklyn\") | student_enrolment : student_id (5, 5, 9), degree_program_id (5, 4, 5), semester_id (15, 5, 2), student_enrolment_id (6, 5, 2), other_details (None) | student_enrolment_courses : student_course_id (45105806, 45105806, 96), course_id (6, 4, 4), student_enrolment_id (10, 8, 9) | transcripts : other_details (None), transcript_id (13, 5, 7), transcript_date (\"2010-12-13 10:55:15\", \"1975-10-28 15:16:51\", \"1999-01-06 20:06:46\") | transcript_contents : transcript_id (12, 12, 13), student_course_id (70882679, 45105806, 2)", "schema_without_content": "addresses : line_1 , address_id , zip_postcode , country , state_province_county , city , line_2 , other_address_details , line_3 | courses : course_name , course_description , course_id , other_details | departments : faculty_name , dept_name , department_id , department_description , other_details | degree_programs : degree_summary_description , degree_program_id , degree_summary_name , other_details , department_id | sections : other_details , course_id , section_name , section_description , section_id | semesters : other_details , semester_name , semester_description , semester_id | students : cell_mobile_number 889-8954x524\", first_name , student_id , last_name , date_left , email_address , other_student_details , date_first_registered , current_address_id , ssn , permanent_address_id , middle_name | student_enrolment : student_id , degree_program_id , semester_id , student_enrolment_id , other_details | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "departments": { "department_name": [ "dept_name", "faculty_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_description", "other_details", "dept_name", "faculty_name" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "department": "Departments", "department name": "Departments.department_name", "department id": "Degree_Programs.department_id" } }, { "question": "how many #departments# offer any #degree# ?", "db_id": "student_transcripts_tracking", "orig_query": "select count(distinct department_id) from degree_programs", "schema_with_content": "addresses : line_2 (\"Apt. 388\", \"Apt. 335\", \"Suite 674\"), line_1 (\"0643 Muller Vista\", \"2294 Grant Square Apt. 235\", \"858 Peggie Bypass Suite 212\"), other_address_details (None), country (\"Lesotho\", \"Angola\", \"Samoa\"), line_3 (None), address_id (6, 3, 8), city (\"Port Evanston\", \"South Palma\", \"Lake Careyberg\"), state_province_county (\"NorthCarolina\", \"SouthDakota\", \"Hawaii\"), zip_postcode (\"839\", \"943\", \"669\") | courses : course_id (6, 12, 9), course_description (\"d\", \"p\", \"v\"), course_name (\"ml\", \"cal\", \"os\"), other_details (None) | departments : department_name (\"computer science\", \"law\", \"statistics\"), other_details (None), department_description (\"ea\", \"error\", \"ea\"), department_id (5, 12, 8) | degree_programs : other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), faculty_id (8, 4, 12), dept_id (8, 4, 12), degree_program_id (15, 1, 5), degree_summary_description (\"assumenda\", \"voluptas\", \"aperiam\") | sections : course_id (14, 5, 1), other_details (None), section_id (1, 14, 13), section_description (\"reprehenderit\", \"voluptas\", \"ex\"), section_name (\"p\", \"k\", \"b\") | semesters : semester_name (\"winter 2018\", \"spring 2013\", \"spring 2016\"), other_details (None), semester_id (14, 3, 1), semester_description (\"t\", \"q\", \"m\") | students : middle_name (\"Aaliyah\", \"Violet\", \"Violet\"), cell_mobile_number (\"09700166582\", \"07661787471\", \"09700166582\"), student_id (13, 9, 6), ssn (\"965\", \"248\", \"402\"), other_student_details (\"non\", \"quia\", \"qui\"), last_name (\"Carroll\", \"Carroll\", \"Gleichner\"), permanent_address_id (15, 15, 14), date_first_registered (\"1973-05-19 19:12:46\", \"2017-01-04 08:10:25\", \"1982-02-14 08:46:35\"), first_name (\"Helga\", \"Orrin\", \"Timmothy\"), email_address (\"nbruen@example.org\", \"dell43@example.net\", \"lhartmann@example.org\"), date_left (\"2007-03-31 09:53:19\", \"1997-11-16 08:54:33\", \"1975-10-09 00:49:27\"), current_address_id (14, 9, 2) | student_enrolment : semester_id (15, 12, 13), degree_program_id (10, 12, 10), other_details (None), student_enrolment_id (1, 11, 6), student_id (14, 12, 12) | student_enrolment_courses : student_enrolment_id (14, 5, 9), course_id (2, 14, 10), student_course_id (438800, 96, 1) | transcripts : transcript_id (2, 4, 10), other_details (None), transcript_date (\"1985-04-29 01:20:20\", \"1984-01-18 23:07:07\", \"1975-05-20 18:31:21\") | transcript_contents : transcript_id (15, 6, 12), student_course_id (76, 76, 28982908)", "schema_without_content": "addresses : line_2 , line_1 , other_address_details , country , line_3 , address_id , city , state_province_county , zip_postcode | courses : course_id , course_description , course_name , other_details | departments : department_name , other_details , department_description , department_id | degree_programs : other_details , degree_summary_name , faculty_id , dept_id , degree_program_id , degree_summary_description | sections : course_id , other_details , section_id , section_description , section_name | semesters : semester_name , other_details , semester_id , semester_description | students : middle_name , cell_mobile_number , student_id , ssn , other_student_details , last_name , permanent_address_id , date_first_registered , first_name , email_address , date_left , current_address_id | student_enrolment : semester_id , degree_program_id , other_details , student_enrolment_id , student_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : transcript_id , other_details , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "degree_programs": { "department_id": [ "dept_id", "faculty_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "degree_summary_name", "degree_summary_description", "other_details", "dept_id", "faculty_id" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "departments": "Departments", "degree": "Degree_Programs" } }, { "question": "how many different #departments# offer #degrees# ?", "db_id": "student_transcripts_tracking", "orig_query": "select count(distinct department_id) from degree_programs", "schema_with_content": "addresses : address_id (5, 12, 5), line_1 (\"16998 Mraz Lodge\", \"0144 Lamar Plaza Apt. 346\", \"67942 Carlotta Ferry Apt. 686\"), zip_postcode (\"148\", \"777\", \"902\"), state_province_county (\"Arkansas\", \"Idaho\", \"Washington\"), country (\"Haiti\", \"Burundi\", \"Angola\"), line_2 (\"Suite 079\", \"Apt. 406\", \"Apt. 388\"), city (\"South Palma\", \"Lake Careyberg\", \"Herzoghaven\"), line_3 (None), other_address_details (None) | courses : course_description (\"v\", \"q\", \"b\"), course_name (\"dl\", \"en\", \"ai\"), other_details (None), course_id (12, 4, 2) | departments : department_id (4, 7, 14), department_name (\"medical\", \"management\", \"art\"), other_details (None), department_description (\"ea\", \"doloribus\", \"consequatur\") | degree_programs : faculty_id (11, 13, 12), degree_summary_description (\"aut\", \"unde\", \"aperiam\"), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (7, 7, 9), dept_id (11, 13, 12) | sections : section_description (\"et\", \"provident\", \"quis\"), section_id (2, 13, 10), course_id (1, 8, 8), section_name (\"j\", \"u\", \"h\"), other_details (None) | semesters : semester_id (1, 13, 9), other_details (None), semester_description (\"f\", \"m\", \"c\"), semester_name (\"spring 2017\", \"spring 2019\", \"spring 2019\") | students : other_student_details (\"omnis\", \"atque\", \"non\"), email_address (\"lhartmann@example.org\", \"gracie29@example.com\", \"jhuel@example.com\"), ssn (\"39\", \"\", \"402\"), permanent_address_id (15, 15, 3), cell_mobile_number (\"(982)153-1469x1733\", \"09700166582\", \"09700166582\"), first_name (\"Deon\", \"Timmothy\", \"Gregg\"), date_first_registered (\"1989-05-24 23:31:29\", \"1989-05-24 23:31:29\", \"1971-02-05 07:28:23\"), student_id (2, 2, 1), last_name (\"Carroll\", \"Balistreri\", \"Balistreri\"), middle_name (\"Osborne\", \"Mossie\", \"Brooklyn\"), date_left (\"1971-05-17 19:28:49\", \"1997-11-16 08:54:33\", \"1971-05-17 19:28:49\"), current_address_id (6, 9, 10) | student_enrolment : student_enrolment_id (3, 4, 4), degree_program_id (2, 3, 8), semester_id (15, 12, 4), student_id (12, 7, 9), other_details (None) | student_enrolment_courses : student_course_id (8, 45105806, 604750), student_enrolment_id (4, 5, 6), course_id (6, 14, 3) | transcripts : transcript_date (\"1984-12-19 00:37:21\", \"2013-06-30 13:01:40\", \"2002-09-24 06:11:49\"), other_details (None), transcript_id (12, 10, 5) | transcript_contents : transcript_id (5, 9, 4), student_course_id (28982908, 28982908, 96)", "schema_without_content": "addresses : address_id , line_1 , zip_postcode , state_province_county , country , line_2 , city , line_3 , other_address_details | courses : course_description , course_name , other_details , course_id | departments : department_id , department_name , other_details , department_description | degree_programs : faculty_id , degree_summary_description , other_details , degree_summary_name , degree_program_id , dept_id | sections : section_description , section_id , course_id , section_name , other_details | semesters : semester_id , other_details , semester_description , semester_name | students : other_student_details , email_address , ssn , permanent_address_id , cell_mobile_number 153-1469x1733\", \"09700166582\", \"09700166582\", first_name , date_first_registered , student_id , last_name , middle_name , date_left , current_address_id | student_enrolment : student_enrolment_id , degree_program_id , semester_id , student_id , other_details | student_enrolment_courses : student_course_id , student_enrolment_id , course_id | transcripts : transcript_date , other_details , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "degree_programs": { "department_id": [ "dept_id", "faculty_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "degree_summary_name", "degree_summary_description", "other_details", "dept_id", "faculty_id" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "departments": "Departments", "degrees": "Degree_Programs" } }, { "question": "how many different #degree names# are offered?", "db_id": "student_transcripts_tracking", "orig_query": "select count(distinct degree_summary_name) from degree_programs", "schema_with_content": "addresses : city (\"Michelleburgh\", \"Mariliehaven\", \"Mariliehaven\"), zip_postcode (\"148\", \"148\", \"669\"), line_1 (\"2294 Grant Square Apt. 235\", \"7081 Eda Center\", \"2294 Grant Square Apt. 235\"), line_3 (None), other_address_details (None), line_2 (\"Suite 383\", \"Suite 830\", \"Apt. 689\"), state_province_county (\"Idaho\", \"Kansas\", \"SouthDakota\"), country (\"Croatia\", \"Bermuda\", \"Lesotho\"), address_id (14, 13, 4) | courses : course_description (\"l\", \"b\", \"q\"), course_name (\"oop\", \"en\", \"rs\"), other_details (None), course_id (1, 4, 11) | departments : department_name (\"management\", \"law\", \"math\"), other_details (None), department_description (\"dolorem\", \"nihil\", \"non\"), department_id (9, 6, 3) | degree_programs : degree_summary_description (\"qui\", \"aperiam\", \"earum\"), degree_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), department_id (15, 2, 2), program_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (1, 6, 1) | sections : section_description (\"ad\", \"reprehenderit\", \"quis\"), section_id (3, 3, 14), section_name (\"f\", \"c\", \"l\"), other_details (None), course_id (14, 14, 5) | semesters : semester_description (\"t\", \"o\", \"t\"), other_details (None), semester_id (5, 1, 12), semester_name (\"spring 2019\", \"spring 2016\", \"spring 2018\") | students : permanent_address_id (3, 8, 3), date_left (\"2006-08-04 17:26:49\", \"2004-12-08 05:29:11\", \"2007-08-02 04:12:58\"), last_name (\"Balistreri\", \"Rempel\", \"Christiansen\"), date_first_registered (\"1971-02-05 07:28:23\", \"2009-09-25 00:14:25\", \"1982-02-14 08:46:35\"), current_address_id (2, 1, 2), cell_mobile_number (\"(507)365-8405\", \"07661787471\", \"677.401.9382\"), email_address (\"skassulke@example.net\", \"johns.unique@example.net\", \"swift.kolby@example.com\"), student_id (14, 2, 5), other_student_details (\"quia\", \"voluptatem\", \"voluptatem\"), ssn (\"248\", \"68095\", \"304246\"), middle_name (\"Cleve\", \"Golda\", \"Aisha\"), first_name (\"Jarvis\", \"Hobart\", \"Helga\") | student_enrolment : student_id (7, 4, 6), student_enrolment_id (2, 5, 6), semester_id (9, 12, 4), other_details (None), degree_program_id (12, 2, 2) | student_enrolment_courses : student_enrolment_id (10, 9, 2), student_course_id (28982908, 681404, 9860), course_id (12, 3, 8) | transcripts : transcript_id (7, 3, 6), transcript_date (\"1984-01-18 23:07:07\", \"1998-11-22 12:18:29\", \"1984-01-18 23:07:07\"), other_details (None) | transcript_contents : student_course_id (8, 2, 0), transcript_id (15, 5, 6)", "schema_without_content": "addresses : city , zip_postcode , line_1 , line_3 , other_address_details , line_2 , state_province_county , country , address_id | courses : course_description , course_name , other_details , course_id | departments : department_name , other_details , department_description , department_id | degree_programs : degree_summary_description , degree_name , other_details , department_id , program_name , degree_program_id | sections : section_description , section_id , section_name , other_details , course_id | semesters : semester_description , other_details , semester_id , semester_name | students : permanent_address_id , date_left , last_name , date_first_registered , current_address_id , cell_mobile_number 365-8405\", \"07661787471\", \"677.401.9382\", email_address , student_id , other_student_details , ssn , middle_name , first_name | student_enrolment : student_id , student_enrolment_id , semester_id , other_details , degree_program_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "degree_programs": { "degree_summary_name": [ "program_name", "degree_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_description", "other_details", "program_name", "degree_name" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "degree names": "Degree_Programs.degree_summary_name" } }, { "question": "how many #different degrees# are offered?", "db_id": "student_transcripts_tracking", "orig_query": "select count(distinct degree_summary_name) from degree_programs", "schema_with_content": "addresses : line_2 (\"Suite 865\", \"Apt. 335\", \"Suite 079\"), state_province_county (\"Florida\", \"Hawaii\", \"SouthDakota\"), line_3 (None), other_address_details (None), address_id (12, 7, 15), zip_postcode (\"777\", \"847\", \"400\"), country (\"Angola\", \"Norfolk Island\", \"Kyrgyz Republic\"), city (\"Michelleburgh\", \"Michelleburgh\", \"Port Oceane\"), line_1 (\"2294 Grant Square Apt. 235\", \"202 Hessel Views Apt. 468\", \"74046 Metz Walk Apt. 113\") | courses : course_id (14, 10, 14), course_name (\"db\", \"nlp\", \"ml\"), other_details (None), course_description (\"n\", \"l\", \"k\") | departments : department_id (12, 9, 11), department_name (\"drama\", \"art\", \"law\"), other_details (None), department_description (\"autem\", \"consequatur\", \"nisi\") | degree_programs : other_details (None), degree_program_id (7, 13, 4), degree_summary_description (\"quam\", \"aut\", \"assumenda\"), department_id (2, 13, 14), degree_name (\"Master\", \"Bachelor\", \"PHD\"), program_name (\"Master\", \"Bachelor\", \"PHD\") | sections : other_details (None), course_id (2, 9, 8), section_id (12, 2, 4), section_description (\"nesciunt\", \"quis\", \"qui\"), section_name (\"j\", \"e\", \"c\") | semesters : semester_name (\"winter 2010\", \"spring 2010\", \"spring 2013\"), semester_id (1, 11, 12), other_details (None), semester_description (\"x\", \"g\", \"y\") | students : current_address_id (12, 15, 12), cell_mobile_number (\"(462)246-7921\", \"436.613.7683\", \"07661787471\"), email_address (\"mya88@example.org\", \"nya.lesch@example.net\", \"skassulke@example.net\"), last_name (\"Kemmer\", \"Ankunding\", \"Huel\"), student_id (11, 3, 6), ssn (\"39\", \"68095\", \"\"), first_name (\"Delaney\", \"Jett\", \"Orrin\"), middle_name (\"Aisha\", \"Aisha\", \"Vaughn\"), other_student_details (\"dolorum\", \"nesciunt\", \"qui\"), permanent_address_id (3, 3, 3), date_left (\"2007-08-02 04:12:58\", \"1975-10-09 00:49:27\", \"2007-08-02 04:12:58\"), date_first_registered (\"2009-09-25 00:14:25\", \"2005-12-15 08:42:10\", \"2009-09-25 00:14:25\") | student_enrolment : degree_program_id (11, 11, 11), semester_id (5, 1, 1), student_enrolment_id (14, 4, 12), other_details (None), student_id (4, 9, 7) | student_enrolment_courses : student_course_id (45105806, 76, 7), student_enrolment_id (13, 6, 4), course_id (11, 13, 2) | transcripts : transcript_id (15, 7, 9), transcript_date (\"2010-12-13 10:55:15\", \"2010-12-13 10:55:15\", \"1975-05-06 12:04:47\"), other_details (None) | transcript_contents : student_course_id (96, 96, 8), transcript_id (2, 15, 8)", "schema_without_content": "addresses : line_2 , state_province_county , line_3 , other_address_details , address_id , zip_postcode , country , city , line_1 | courses : course_id , course_name , other_details , course_description | departments : department_id , department_name , other_details , department_description | degree_programs : other_details , degree_program_id , degree_summary_description , department_id , degree_name , program_name | sections : other_details , course_id , section_id , section_description , section_name | semesters : semester_name , semester_id , other_details , semester_description | students : current_address_id , cell_mobile_number 246-7921\", \"436.613.7683\", \"07661787471\", email_address , last_name , student_id , ssn , first_name , middle_name , other_student_details , permanent_address_id , date_left , date_first_registered | student_enrolment : degree_program_id , semester_id , student_enrolment_id , other_details , student_id | student_enrolment_courses : student_course_id , student_enrolment_id , course_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "degree_programs": { "degree_summary_name": [ "program_name", "degree_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_description", "other_details", "program_name", "degree_name" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "different degrees": "Degree_Programs.degree_summary_name" } }, { "question": "what are the #names# and #descriptions of all the sections# ?", "db_id": "student_transcripts_tracking", "orig_query": "select section_name, section_description from sections", "schema_with_content": "addresses : line_3 (None), other_address_details (None), state_province_county (\"SouthDakota\", \"Idaho\", \"Hawaii\"), zip_postcode (\"386\", \"541\", \"895\"), line_2 (\"Suite 383\", \"Suite 865\", \"Suite 239\"), country (\"Burundi\", \"Lesotho\", \"Cook Islands\"), address_id (9, 8, 3), line_1 (\"2294 Grant Square Apt. 235\", \"67942 Carlotta Ferry Apt. 686\", \"0144 Lamar Plaza Apt. 346\"), city (\"Lake Careyberg\", \"North Omer\", \"Herzoghaven\") | courses : course_id (1, 8, 11), course_name (\"pl\", \"fr\", \"ml\"), course_description (\"l\", \"v\", \"k\"), other_details (None) | departments : other_details (None), department_description (\"doloribus\", \"nisi\", \"nisi\"), department_id (6, 12, 10), department_name (\"management\", \"art\", \"linguistic\") | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (3, 13, 3), degree_summary_description (\"architecto\", \"unde\", \"architecto\"), degree_program_id (9, 10, 12), other_details (None) | sections : part_description (\"ex\", \"quis\", \"nesciunt\"), section_name (\"e\", \"k\", \"j\"), section_id (2, 8, 12), course_id (10, 1, 14), segment_description (\"ex\", \"quis\", \"nesciunt\"), other_details (None) | semesters : other_details (None), semester_description (\"y\", \"q\", \"o\"), semester_name (\"spring 2010\", \"winter 2010\", \"spring 2012\"), semester_id (3, 10, 4) | students : email_address (\"nya.lesch@example.net\", \"gracie29@example.com\", \"beth42@example.org\"), ssn (\"248\", \"304246\", \"402\"), other_student_details (\"laborum\", \"voluptatem\", \"facilis\"), date_left (\"1971-05-17 19:28:49\", \"2006-08-04 17:26:49\", \"2014-05-30 23:32:02\"), permanent_address_id (3, 3, 15), cell_mobile_number (\"03174364122\", \"03174364122\", \"877.549.9067x8723\"), first_name (\"Timmothy\", \"Milton\", \"Delaney\"), date_first_registered (\"1982-06-19 13:15:18\", \"2007-08-29 23:25:41\", \"1982-02-14 08:46:35\"), last_name (\"Weimann\", \"Christiansen\", \"Gleichner\"), middle_name (\"Golda\", \"Cleve\", \"Aisha\"), current_address_id (9, 10, 6), student_id (5, 3, 13) | student_enrolment : student_enrolment_id (6, 1, 3), degree_program_id (9, 2, 4), student_id (12, 6, 7), semester_id (4, 12, 6), other_details (None) | student_enrolment_courses : student_enrolment_id (13, 4, 9), course_id (12, 10, 13), student_course_id (70882679, 8, 45105806) | transcripts : other_details (None), transcript_id (3, 14, 7), transcript_date (\"1985-08-21 09:32:39\", \"1984-01-18 23:07:07\", \"1990-03-05 11:59:41\") | transcript_contents : transcript_id (13, 6, 5), student_course_id (76, 28982908, 28982908)", "schema_without_content": "addresses : line_3 , other_address_details , state_province_county , zip_postcode , line_2 , country , address_id , line_1 , city | courses : course_id , course_name , course_description , other_details | departments : other_details , department_description , department_id , department_name | degree_programs : degree_summary_name , department_id , degree_summary_description , degree_program_id , other_details | sections : part_description , section_name , section_id , course_id , segment_description , other_details | semesters : other_details , semester_description , semester_name , semester_id | students : email_address , ssn , other_student_details , date_left , permanent_address_id , cell_mobile_number , first_name , date_first_registered , last_name , middle_name , current_address_id , student_id | student_enrolment : student_enrolment_id , degree_program_id , student_id , semester_id , other_details | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "sections": { "section_description": [ "part_description", "segment_description" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "other_details", "part_description", "segment_description" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "names": "Sections.section_name", "descriptions of all the sections": "Sections.section_description" } }, { "question": "what are the #names# and #descriptions of all the sections# ?", "db_id": "student_transcripts_tracking", "orig_query": "select section_name, section_description from sections", "schema_with_content": "addresses : other_address_details (None), line_1 (\"3999 Aufderhar Ways Suite 593\", \"492 Wilkinson Route\", \"16998 Mraz Lodge\"), country (\"Burundi\", \"Norfolk Island\", \"Iceland\"), city (\"Goodwinhaven\", \"Mariliehaven\", \"North Omer\"), line_3 (None), state_province_county (\"SouthDakota\", \"Arkansas\", \"Hawaii\"), line_2 (\"Suite 079\", \"Suite 865\", \"Apt. 335\"), address_id (2, 5, 11), zip_postcode (\"590\", \"847\", \"943\") | courses : course_name (\"db\", \"math\", \"en\"), other_details (None), course_description (\"n\", \"v\", \"c\"), course_id (7, 10, 15) | departments : department_name (\"engineer\", \"statistics\", \"geography\"), department_id (11, 11, 11), department_description (\"non\", \"nisi\", \"nostrum\"), other_details (None) | degree_programs : department_id (4, 3, 13), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (12, 6, 9), other_details (None), degree_summary_description (\"placeat\", \"cumque\", \"earum\") | sections : segment_name (\"e\", \"g\", \"u\"), section_id (8, 2, 2), course_id (10, 9, 1), part_name (\"e\", \"g\", \"u\"), section_description (\"non\", \"voluptatem\", \"doloremque\"), other_details (None) | semesters : semester_name (\"summer 2010\", \"fall 2018\", \"winter 2018\"), semester_description (\"g\", \"y\", \"t\"), other_details (None), semester_id (3, 4, 4) | students : cell_mobile_number (\"(213)445-0399x85208\", \"877.549.9067x8723\", \"(096)889-8954x524\"), last_name (\"Ward\", \"Weimann\", \"Mohr\"), date_left (\"2006-08-04 17:26:49\", \"2004-12-08 05:29:11\", \"2004-12-08 05:29:11\"), permanent_address_id (11, 9, 4), other_student_details (\"assumenda\", \"atque\", \"qui\"), email_address (\"qo'kon@example.com\", \"jillian26@example.net\", \"johns.unique@example.net\"), ssn (\"\", \"494\", \"156\"), student_id (3, 4, 5), middle_name (\"Alberta\", \"Osborne\", \"Neal\"), date_first_registered (\"2017-01-04 08:10:25\", \"1982-06-19 13:15:18\", \"2004-12-24 12:36:46\"), current_address_id (9, 7, 14), first_name (\"Timmothy\", \"Frida\", \"Delaney\") | student_enrolment : student_id (1, 6, 4), student_enrolment_id (4, 10, 10), degree_program_id (12, 5, 11), other_details (None), semester_id (1, 15, 2) | student_enrolment_courses : student_enrolment_id (6, 4, 2), course_id (12, 11, 14), student_course_id (96, 438800, 7) | transcripts : other_details (None), transcript_date (\"1985-04-29 01:20:20\", \"1986-07-12 07:27:29\", \"2002-09-24 06:11:49\"), transcript_id (9, 1, 11) | transcript_contents : student_course_id (2, 45105806, 0), transcript_id (8, 13, 15)", "schema_without_content": "addresses : other_address_details , line_1 , country , city , line_3 , state_province_county , line_2 , address_id , zip_postcode | courses : course_name , other_details , course_description , course_id | departments : department_name , department_id , department_description , other_details | degree_programs : department_id , degree_summary_name , degree_program_id , other_details , degree_summary_description | sections : segment_name , section_id , course_id , part_name , section_description , other_details | semesters : semester_name , semester_description , other_details , semester_id | students : cell_mobile_number 445-0399x85208\", \"877.549.9067x8723\", \"889-8954x524\", last_name , date_left , permanent_address_id , other_student_details , email_address , ssn , student_id , middle_name , date_first_registered , current_address_id , first_name | student_enrolment : student_id , student_enrolment_id , degree_program_id , other_details , semester_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "sections": { "section_name": [ "part_name", "segment_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_description", "other_details", "part_name", "segment_name" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "names": "Sections.section_name", "descriptions of all the sections": "Sections.section_description" } }, { "question": "what are the #names# and #descriptions for all the sections# ?", "db_id": "student_transcripts_tracking", "orig_query": "select section_name, section_description from sections", "schema_with_content": "addresses : line_3 (None), address_id (9, 13, 13), line_1 (\"74046 Metz Walk Apt. 113\", \"74046 Metz Walk Apt. 113\", \"858 Peggie Bypass Suite 212\"), state_province_county (\"Kentucky\", \"Idaho\", \"Virginia\"), city (\"Port Evanston\", \"Lake Careyberg\", \"Port Evanston\"), line_2 (\"Suite 674\", \"Apt. 388\", \"Suite 703\"), country (\"Haiti\", \"Gibraltar\", \"Kyrgyz Republic\"), other_address_details (None), zip_postcode (\"839\", \"669\", \"590\") | courses : other_details (None), course_description (\"p\", \"k\", \"d\"), course_id (6, 9, 14), course_name (\"os\", \"oop\", \"db\") | departments : department_id (1, 4, 12), department_description (\"nostrum\", \"nihil\", \"aliquam\"), department_name (\"engineer\", \"art\", \"dance\"), other_details (None) | degree_programs : other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (7, 7, 12), degree_summary_description (\"qui\", \"qui\", \"et\"), degree_program_id (15, 8, 4) | sections : part_description (\"et\", \"nesciunt\", \"ex\"), section_id (15, 12, 11), segment_description (\"et\", \"nesciunt\", \"ex\"), course_id (7, 7, 1), other_details (None), section_name (\"f\", \"f\", \"h\") | semesters : semester_description (\"o\", \"m\", \"f\"), other_details (None), semester_id (12, 13, 14), semester_name (\"spring 2018\", \"spring 2012\", \"winter 2010\") | students : ssn (\"304246\", \"34458427\", \"43\"), student_id (9, 13, 2), middle_name (\"Osborne\", \"Violet\", \"Neal\"), other_student_details (\"autem\", \"dolorum\", \"autem\"), email_address (\"baumbach.lucious@example.org\", \"nbruen@example.org\", \"jillian26@example.net\"), permanent_address_id (15, 11, 14), date_left (\"2016-04-09 12:27:04\", \"2004-12-08 05:29:11\", \"2017-07-09 21:38:43\"), date_first_registered (\"1971-02-05 07:28:23\", \"1997-03-20 16:47:25\", \"1973-05-19 19:12:46\"), current_address_id (10, 1, 15), last_name (\"Weimann\", \"Schuppe\", \"Weimann\"), first_name (\"Jordy\", \"Jett\", \"Hobart\"), cell_mobile_number (\"(507)365-8405\", \"877.549.9067x8723\", \"09700166582\") | student_enrolment : student_id (6, 14, 6), degree_program_id (9, 3, 5), student_enrolment_id (8, 14, 5), semester_id (12, 13, 15), other_details (None) | student_enrolment_courses : student_course_id (28982908, 8, 96), course_id (12, 10, 13), student_enrolment_id (2, 9, 13) | transcripts : transcript_id (15, 10, 15), transcript_date (\"1985-04-29 01:20:20\", \"1988-04-30 01:19:47\", \"1990-03-05 11:59:41\"), other_details (None) | transcript_contents : student_course_id (76, 96, 96), transcript_id (9, 2, 9)", "schema_without_content": "addresses : line_3 , address_id , line_1 , state_province_county , city , line_2 , country , other_address_details , zip_postcode | courses : other_details , course_description , course_id , course_name | departments : department_id , department_description , department_name , other_details | degree_programs : other_details , degree_summary_name , department_id , degree_summary_description , degree_program_id | sections : part_description , section_id , segment_description , course_id , other_details , section_name | semesters : semester_description , other_details , semester_id , semester_name | students : ssn , student_id , middle_name , other_student_details , email_address , permanent_address_id , date_left , date_first_registered , current_address_id , last_name , first_name , cell_mobile_number 365-8405\", \"877.549.9067x8723\", \"09700166582\" | student_enrolment : student_id , degree_program_id , student_enrolment_id , semester_id , other_details | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "sections": { "section_description": [ "part_description", "segment_description" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "other_details", "part_description", "segment_description" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "names": "Sections.section_name", "descriptions for all the sections": "Sections.section_description" } }, { "question": "what are the #names# and #descriptions for all the sections# ?", "db_id": "student_transcripts_tracking", "orig_query": "select section_name, section_description from sections", "schema_with_content": "addresses : other_address_details (None), zip_postcode (\"148\", \"400\", \"839\"), line_3 (None), country (\"Norfolk Island\", \"Norfolk Island\", \"Iceland\"), line_1 (\"979 Haag Shores Suite 656\", \"2294 Grant Square Apt. 235\", \"0144 Lamar Plaza Apt. 346\"), state_province_county (\"Delaware\", \"Hawaii\", \"WestVirginia\"), address_id (2, 11, 7), city (\"New Clemensburgh\", \"Rutherfordtown\", \"Prohaskafort\"), line_2 (\"Apt. 406\", \"Apt. 468\", \"Apt. 689\") | courses : course_description (\"d\", \"b\", \"v\"), course_id (14, 5, 11), other_details (None), course_name (\"ds\", \"os\", \"la\") | departments : other_details (None), department_id (15, 4, 4), department_name (\"medical\", \"computer science\", \"math\"), department_description (\"nisi\", \"consequatur\", \"non\") | degree_programs : degree_program_id (10, 12, 10), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), degree_summary_description (\"et\", \"quam\", \"unde\"), department_id (13, 11, 7) | sections : part_name (\"h\", \"a\", \"d\"), segment_name (\"h\", \"a\", \"d\"), other_details (None), section_description (\"ad\", \"reprehenderit\", \"ex\"), course_id (2, 2, 2), section_id (14, 10, 7) | semesters : other_details (None), semester_name (\"spring 2015\", \"spring 2017\", \"spring 2012\"), semester_id (2, 2, 12), semester_description (\"l\", \"l\", \"q\") | students : current_address_id (15, 14, 2), permanent_address_id (5, 3, 4), other_student_details (\"nesciunt\", \"laborum\", \"autem\"), date_first_registered (\"1976-10-26 02:33:06\", \"1973-05-19 19:12:46\", \"1989-05-24 23:31:29\"), email_address (\"erwin.zboncak@example.com\", \"skassulke@example.net\", \"nbruen@example.org\"), first_name (\"Jordy\", \"Stanford\", \"Helga\"), last_name (\"Ward\", \"Christiansen\", \"Mohr\"), student_id (10, 3, 6), ssn (\"39\", \"43\", \"3\"), date_left (\"2007-11-28 12:50:21\", \"2013-10-05 17:41:28\", \"1971-05-17 19:28:49\"), cell_mobile_number (\"07661787471\", \"(507)365-8405\", \"(982)153-1469x1733\"), middle_name (\"Aaliyah\", \"Golda\", \"Osborne\") | student_enrolment : other_details (None), degree_program_id (11, 9, 8), student_enrolment_id (1, 5, 13), semester_id (12, 2, 9), student_id (7, 4, 9) | student_enrolment_courses : student_course_id (438800, 9860, 1), student_enrolment_id (8, 8, 6), course_id (12, 8, 11) | transcripts : transcript_date (\"1985-08-21 09:32:39\", \"1986-07-12 07:27:29\", \"2002-09-24 06:11:49\"), transcript_id (4, 2, 12), other_details (None) | transcript_contents : transcript_id (13, 13, 11), student_course_id (0, 70882679, 45105806)", "schema_without_content": "addresses : other_address_details , zip_postcode , line_3 , country , line_1 , state_province_county , address_id , city , line_2 | courses : course_description , course_id , other_details , course_name | departments : other_details , department_id , department_name , department_description | degree_programs : degree_program_id , degree_summary_name , other_details , degree_summary_description , department_id | sections : part_name , segment_name , other_details , section_description , course_id , section_id | semesters : other_details , semester_name , semester_id , semester_description | students : current_address_id , permanent_address_id , other_student_details , date_first_registered , email_address , first_name , last_name , student_id , ssn , date_left , cell_mobile_number 365-8405\", \"153-1469x1733\", middle_name | student_enrolment : other_details , degree_program_id , student_enrolment_id , semester_id , student_id | student_enrolment_courses : student_course_id , student_enrolment_id , course_id | transcripts : transcript_date , transcript_id , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "sections": { "section_name": [ "part_name", "segment_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_description", "other_details", "part_name", "segment_name" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "names": "Sections.section_name", "descriptions for all the sections": "Sections.section_description" } }, { "question": "what are the #names# and #id# of courses having at most 2 #sections# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.course_name, t1.course_id from courses as t1 join sections as t2 on t1.course_id = t2.course_id group by t1.course_id having count(*) <= 2", "schema_with_content": "addresses : country (\"Lesotho\", \"Bermuda\", \"Haiti\"), city (\"Herzoghaven\", \"Port Elvisfurt\", \"Lake Laishafurt\"), state_province_county (\"NorthCarolina\", \"Delaware\", \"WestVirginia\"), line_1 (\"186 Evan Motorway Apt. 409\", \"186 Evan Motorway Apt. 409\", \"74046 Metz Walk Apt. 113\"), zip_postcode (\"386\", \"148\", \"847\"), address_id (13, 5, 15), other_address_details (None), line_3 (None), line_2 (\"Suite 239\", \"Apt. 370\", \"Apt. 468\") | courses : other_details (None), class_id (9, 4, 2), subject_id (9, 4, 2), course_description (\"q\", \"q\", \"n\"), course_name (\"fr\", \"oop\", \"oop\") | departments : department_description (\"autem\", \"aliquam\", \"dolorem\"), department_name (\"geography\", \"computer science\", \"medical\"), other_details (None), department_id (9, 6, 9) | degree_programs : department_id (4, 15, 7), degree_program_id (15, 3, 6), other_details (None), degree_summary_description (\"voluptas\", \"aut\", \"earum\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : other_details (None), section_name (\"y\", \"l\", \"u\"), course_id (10, 9, 9), section_description (\"reprehenderit\", \"provident\", \"nesciunt\"), section_id (13, 7, 12) | semesters : semester_name (\"spring 2013\", \"spring 2016\", \"spring 2010\"), semester_id (4, 12, 9), other_details (None), semester_description (\"c\", \"q\", \"q\") | students : first_name (\"Gregg\", \"Orrin\", \"Reva\"), other_student_details (\"autem\", \"voluptatem\", \"voluptatem\"), date_left (\"2006-08-04 17:26:49\", \"2006-08-04 17:26:49\", \"2016-04-09 12:27:04\"), ssn (\"34458427\", \"3\", \"68095\"), cell_mobile_number (\"07661787471\", \"877.549.9067x8723\", \"(213)445-0399x85208\"), date_first_registered (\"1986-02-24 21:12:23\", \"2009-09-25 00:14:25\", \"1976-10-26 02:33:06\"), current_address_id (6, 2, 14), email_address (\"jillian26@example.net\", \"swift.kolby@example.com\", \"beth42@example.org\"), permanent_address_id (4, 14, 8), student_id (12, 13, 2), middle_name (\"Aaliyah\", \"Cleve\", \"Alberta\"), last_name (\"Osinski\", \"Christiansen\", \"Carroll\") | student_enrolment : student_id (5, 7, 14), student_enrolment_id (13, 10, 8), degree_program_id (11, 9, 2), other_details (None), semester_id (4, 15, 5) | student_enrolment_courses : course_id (3, 6, 6), student_course_id (7, 438800, 604750), student_enrolment_id (10, 4, 2) | transcripts : transcript_id (10, 3, 15), transcript_date (\"1985-08-21 09:32:39\", \"1975-05-06 12:04:47\", \"1975-05-06 12:04:47\"), other_details (None) | transcript_contents : transcript_id (2, 5, 2), student_course_id (28982908, 45105806, 28982908)", "schema_without_content": "addresses : country , city , state_province_county , line_1 , zip_postcode , address_id , other_address_details , line_3 , line_2 | courses : other_details , class_id , subject_id , course_description , course_name | departments : department_description , department_name , other_details , department_id | degree_programs : department_id , degree_program_id , other_details , degree_summary_description , degree_summary_name | sections : other_details , section_name , course_id , section_description , section_id | semesters : semester_name , semester_id , other_details , semester_description | students : first_name , other_student_details , date_left , ssn , cell_mobile_number 445-0399x85208\", date_first_registered , current_address_id , email_address , permanent_address_id , student_id , middle_name , last_name | student_enrolment : student_id , student_enrolment_id , degree_program_id , other_details , semester_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "courses": { "course_id": [ "class_id", "subject_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_name", "course_description", "other_details", "class_id", "subject_id" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "names": "Courses.course_name", "id": "Courses.course_id", "sections": "Sections" } }, { "question": "what are the #names# and #id# of courses having at most 2 #sections# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.course_name, t1.course_id from courses as t1 join sections as t2 on t1.course_id = t2.course_id group by t1.course_id having count(*) <= 2", "schema_with_content": "addresses : line_1 (\"193 Marlin Brook\", \"858 Peggie Bypass Suite 212\", \"16998 Mraz Lodge\"), city (\"Lake Careyberg\", \"Michelleburgh\", \"North Omer\"), other_address_details (None), line_3 (None), address_id (9, 9, 1), country (\"Gabon\", \"Lesotho\", \"Angola\"), line_2 (\"Apt. 583\", \"Suite 239\", \"Suite 865\"), zip_postcode (\"943\", \"386\", \"400\"), state_province_county (\"Arkansas\", \"Virginia\", \"WestVirginia\") | courses : class_name (\"cal\", \"pl\", \"pl\"), course_id (12, 4, 4), other_details (None), subject_name (\"cal\", \"pl\", \"pl\"), course_description (\"v\", \"c\", \"v\") | departments : other_details (None), department_id (8, 14, 13), department_description (\"error\", \"doloribus\", \"ea\"), department_name (\"law\", \"computer science\", \"dance\") | degree_programs : degree_summary_description (\"assumenda\", \"cumque\", \"placeat\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (7, 9, 15), other_details (None), department_id (3, 2, 13) | sections : section_description (\"et\", \"nesciunt\", \"nesciunt\"), section_id (14, 7, 14), other_details (None), section_name (\"h\", \"k\", \"a\"), course_id (9, 4, 12) | semesters : semester_description (\"m\", \"c\", \"m\"), semester_name (\"fall 2010\", \"spring 2019\", \"spring 2016\"), semester_id (12, 5, 15), other_details (None) | students : cell_mobile_number (\"(213)445-0399x85208\", \"(096)889-8954x524\", \"(462)246-7921\"), last_name (\"Ward\", \"Mohr\", \"Osinski\"), middle_name (\"Anna\", \"Mossie\", \"Anna\"), date_first_registered (\"2018-03-13 09:56:22\", \"1989-05-24 23:31:29\", \"1976-10-26 02:33:06\"), date_left (\"1990-09-01 05:03:27\", \"2017-07-09 21:38:43\", \"1982-06-11 00:25:39\"), first_name (\"Delaney\", \"Orrin\", \"Jordy\"), permanent_address_id (3, 11, 3), ssn (\"494\", \"34458427\", \"3\"), student_id (6, 9, 2), current_address_id (6, 15, 15), email_address (\"gracie29@example.com\", \"erwin.zboncak@example.com\", \"beth42@example.org\"), other_student_details (\"et\", \"dolorum\", \"assumenda\") | student_enrolment : student_id (6, 4, 4), student_enrolment_id (4, 3, 10), other_details (None), semester_id (13, 12, 6), degree_program_id (11, 10, 11) | student_enrolment_courses : student_course_id (7, 2, 83814225), student_enrolment_id (14, 5, 6), course_id (13, 11, 6) | transcripts : transcript_date (\"1990-03-05 11:59:41\", \"1984-12-19 00:37:21\", \"2010-12-13 10:55:15\"), other_details (None), transcript_id (12, 9, 11) | transcript_contents : transcript_id (12, 15, 4), student_course_id (2, 96, 8)", "schema_without_content": "addresses : line_1 , city , other_address_details , line_3 , address_id , country , line_2 , zip_postcode , state_province_county | courses : class_name , course_id , other_details , subject_name , course_description | departments : other_details , department_id , department_description , department_name | degree_programs : degree_summary_description , degree_summary_name , degree_program_id , other_details , department_id | sections : section_description , section_id , other_details , section_name , course_id | semesters : semester_description , semester_name , semester_id , other_details | students : cell_mobile_number 445-0399x85208\", \"889-8954x524\", \"246-7921\", last_name , middle_name , date_first_registered , date_left , first_name , permanent_address_id , ssn , student_id , current_address_id , email_address , other_student_details | student_enrolment : student_id , student_enrolment_id , other_details , semester_id , degree_program_id | student_enrolment_courses : student_course_id , student_enrolment_id , course_id | transcripts : transcript_date , other_details , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "courses": { "course_name": [ "class_name", "subject_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_description", "other_details", "class_name", "subject_name" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "names": "Courses.course_name", "id": "Courses.course_id", "sections": "Sections" } }, { "question": "what are the #names# and #ids# of every #course# with less than 2 #sections# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.course_name, t1.course_id from courses as t1 join sections as t2 on t1.course_id = t2.course_id group by t1.course_id having count(*) <= 2", "schema_with_content": "addresses : zip_postcode (\"446\", \"400\", \"148\"), country (\"Iceland\", \"Cook Islands\", \"Gibraltar\"), state_province_county (\"WestVirginia\", \"Idaho\", \"Washington\"), other_address_details (None), city (\"South Palma\", \"South Palma\", \"Mariliehaven\"), line_1 (\"16998 Mraz Lodge\", \"0643 Muller Vista\", \"186 Evan Motorway Apt. 409\"), line_2 (\"Suite 830\", \"Suite 239\", \"Apt. 468\"), line_3 (None), address_id (15, 14, 5) | courses : course_description (\"q\", \"l\", \"d\"), subject_id (7, 11, 11), other_details (None), class_id (7, 11, 11), course_name (\"dl\", \"nlp\", \"ds\") | departments : department_id (4, 2, 13), department_name (\"computer science\", \"drama\", \"law\"), other_details (None), department_description (\"aliquam\", \"dolorem\", \"nisi\") | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (1, 13, 14), degree_summary_description (\"placeat\", \"cumque\", \"assumenda\"), department_id (11, 4, 13), other_details (None) | sections : section_description (\"ad\", \"voluptas\", \"non\"), section_name (\"g\", \"h\", \"g\"), course_id (12, 7, 4), other_details (None), section_id (5, 5, 4) | semesters : semester_description (\"o\", \"m\", \"y\"), semester_name (\"winter 2018\", \"spring 2019\", \"spring 2016\"), other_details (None), semester_id (3, 3, 5) | students : middle_name (\"Aaliyah\", \"Mossie\", \"Anna\"), date_left (\"2013-10-05 17:41:28\", \"1999-08-24 00:07:10\", \"1982-06-11 00:25:39\"), current_address_id (2, 2, 1), email_address (\"qo'kon@example.com\", \"qo'kon@example.com\", \"erwin.zboncak@example.com\"), date_first_registered (\"1976-10-26 02:33:06\", \"1997-03-20 16:47:25\", \"2014-03-28 05:48:23\"), permanent_address_id (11, 8, 14), first_name (\"Jordy\", \"Jordy\", \"Frida\"), student_id (5, 13, 4), ssn (\"248\", \"668\", \"156\"), last_name (\"Ankunding\", \"Osinski\", \"Rogahn\"), cell_mobile_number (\"171-642-5684\", \"436.613.7683\", \"(507)365-8405\"), other_student_details (\"omnis\", \"facilis\", \"rerum\") | student_enrolment : student_id (9, 14, 4), other_details (None), degree_program_id (4, 3, 3), student_enrolment_id (12, 5, 7), semester_id (13, 2, 4) | student_enrolment_courses : course_id (3, 3, 4), student_enrolment_id (8, 6, 9), student_course_id (76, 45105806, 45105806) | transcripts : other_details (None), transcript_id (11, 15, 13), transcript_date (\"1984-01-18 23:07:07\", \"2002-09-24 06:11:49\", \"1985-04-29 01:20:20\") | transcript_contents : student_course_id (76, 0, 7), transcript_id (8, 13, 11)", "schema_without_content": "addresses : zip_postcode , country , state_province_county , other_address_details , city , line_1 , line_2 , line_3 , address_id | courses : course_description , subject_id , other_details , class_id , course_name | departments : department_id , department_name , other_details , department_description | degree_programs : degree_summary_name , degree_program_id , degree_summary_description , department_id , other_details | sections : section_description , section_name , course_id , other_details , section_id | semesters : semester_description , semester_name , other_details , semester_id | students : middle_name , date_left , current_address_id , email_address , date_first_registered , permanent_address_id , first_name , student_id , ssn , last_name , cell_mobile_number 365-8405\", other_student_details | student_enrolment : student_id , other_details , degree_program_id , student_enrolment_id , semester_id | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "courses": { "course_id": [ "class_id", "subject_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_name", "course_description", "other_details", "class_id", "subject_id" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "names": "Courses.course_name", "ids": "Courses.course_id", "course": "Courses", "sections": "Sections" } }, { "question": "what are the #names# and #ids# of every #course# with less than 2 #sections# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.course_name, t1.course_id from courses as t1 join sections as t2 on t1.course_id = t2.course_id group by t1.course_id having count(*) <= 2", "schema_with_content": "addresses : state_province_county (\"WestVirginia\", \"NorthCarolina\", \"WestVirginia\"), line_3 (None), city (\"South Palma\", \"Port Evanston\", \"New Clemensburgh\"), line_2 (\"Apt. 370\", \"Apt. 406\", \"Suite 830\"), line_1 (\"979 Haag Shores Suite 656\", \"2294 Grant Square Apt. 235\", \"186 Evan Motorway Apt. 409\"), address_id (6, 2, 4), other_address_details (None), country (\"Lesotho\", \"Burundi\", \"Lesotho\"), zip_postcode (\"638\", \"148\", \"847\") | courses : class_name (\"cal\", \"en\", \"la\"), course_id (8, 12, 7), other_details (None), course_description (\"l\", \"l\", \"k\"), subject_name (\"cal\", \"en\", \"la\") | departments : department_description (\"nostrum\", \"nisi\", \"ea\"), department_id (11, 3, 3), other_details (None), department_name (\"art\", \"law\", \"drama\") | degree_programs : degree_program_id (7, 6, 7), degree_summary_description (\"assumenda\", \"placeat\", \"aperiam\"), department_id (4, 12, 14), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None) | sections : other_details (None), section_id (5, 10, 4), section_description (\"et\", \"qui\", \"reprehenderit\"), course_id (14, 12, 1), section_name (\"o\", \"g\", \"d\") | semesters : other_details (None), semester_id (10, 8, 8), semester_description (\"c\", \"m\", \"c\"), semester_name (\"summer 2010\", \"fall 2010\", \"spring 2015\") | students : cell_mobile_number (\"1-009-710-5151\", \"677.401.9382\", \"1-009-710-5151\"), last_name (\"Weimann\", \"Schuppe\", \"Rogahn\"), date_first_registered (\"1989-05-24 23:31:29\", \"1971-02-05 07:28:23\", \"1971-02-05 07:28:23\"), email_address (\"skassulke@example.net\", \"jillian26@example.net\", \"swift.kolby@example.com\"), ssn (\"156\", \"141072406\", \"668\"), first_name (\"Hobart\", \"Jarvis\", \"Hobart\"), permanent_address_id (15, 14, 8), middle_name (\"Neal\", \"Neal\", \"Judd\"), other_student_details (\"laborum\", \"assumenda\", \"atque\"), student_id (6, 9, 12), date_left (\"1999-08-24 00:07:10\", \"2007-11-28 12:50:21\", \"1971-05-17 19:28:49\"), current_address_id (1, 1, 6) | student_enrolment : other_details (None), student_enrolment_id (1, 15, 4), student_id (12, 4, 4), degree_program_id (10, 4, 10), semester_id (5, 15, 12) | student_enrolment_courses : student_enrolment_id (14, 9, 5), course_id (11, 3, 14), student_course_id (2, 70882679, 604750) | transcripts : transcript_id (7, 2, 13), transcript_date (\"1984-01-18 23:07:07\", \"1999-01-06 20:06:46\", \"1975-05-20 18:31:21\"), other_details (None) | transcript_contents : transcript_id (15, 2, 8), student_course_id (7, 96, 8)", "schema_without_content": "addresses : state_province_county , line_3 , city , line_2 , line_1 , address_id , other_address_details , country , zip_postcode | courses : class_name , course_id , other_details , course_description , subject_name | departments : department_description , department_id , other_details , department_name | degree_programs : degree_program_id , degree_summary_description , department_id , degree_summary_name , other_details | sections : other_details , section_id , section_description , course_id , section_name | semesters : other_details , semester_id , semester_description , semester_name | students : cell_mobile_number , last_name , date_first_registered , email_address , ssn , first_name , permanent_address_id , middle_name , other_student_details , student_id , date_left , current_address_id | student_enrolment : other_details , student_enrolment_id , student_id , degree_program_id , semester_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "courses": { "course_name": [ "class_name", "subject_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_description", "other_details", "class_name", "subject_name" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "names": "Courses.course_name", "ids": "Courses.course_id", "course": "Courses", "sections": "Sections" } }, { "question": "list the #section_name# in reversed lexicographical order.", "db_id": "student_transcripts_tracking", "orig_query": "select section_name from sections order by section_name desc", "schema_with_content": "addresses : zip_postcode (\"669\", \"068\", \"902\"), other_address_details (None), state_province_county (\"Kentucky\", \"Florida\", \"Hawaii\"), city (\"Mariliehaven\", \"Port Oceane\", \"Goodwinhaven\"), line_2 (\"Suite 239\", \"Suite 079\", \"Apt. 583\"), country (\"Kyrgyz Republic\", \"Angola\", \"Lesotho\"), line_3 (None), line_1 (\"202 Hessel Views Apt. 468\", \"858 Peggie Bypass Suite 212\", \"2294 Grant Square Apt. 235\"), address_id (8, 8, 1) | courses : course_name (\"en\", \"nlp\", \"cal\"), course_description (\"c\", \"b\", \"l\"), course_id (2, 8, 12), other_details (None) | departments : department_name (\"biology\", \"engineer\", \"medical\"), other_details (None), department_id (8, 7, 13), department_description (\"nihil\", \"error\", \"non\") | degree_programs : other_details (None), department_id (4, 11, 8), degree_summary_description (\"qui\", \"officiis\", \"earum\"), degree_program_id (15, 6, 7), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : part_name (\"l\", \"o\", \"b\"), section_id (8, 9, 15), segment_name (\"l\", \"o\", \"b\"), section_description (\"facilis\", \"provident\", \"et\"), other_details (None), course_id (5, 9, 2) | semesters : semester_name (\"winter 2010\", \"spring 2018\", \"spring 2019\"), semester_id (10, 1, 1), semester_description (\"w\", \"o\", \"l\"), other_details (None) | students : email_address (\"qo'kon@example.com\", \"erwin.zboncak@example.com\", \"skassulke@example.net\"), current_address_id (9, 2, 10), student_id (12, 9, 13), other_student_details (\"dolorum\", \"atque\", \"et\"), date_left (\"2017-07-09 21:38:43\", \"2006-08-04 17:26:49\", \"2013-10-05 17:41:28\"), first_name (\"Warren\", \"Delaney\", \"Jordy\"), cell_mobile_number (\"03174364122\", \"877.549.9067x8723\", \"(982)153-1469x1733\"), date_first_registered (\"1982-06-19 13:15:18\", \"1982-02-14 08:46:35\", \"1982-06-19 13:15:18\"), ssn (\"6274274\", \"304246\", \"68095\"), middle_name (\"Aaliyah\", \"Aisha\", \"Golda\"), last_name (\"Osinski\", \"Rogahn\", \"Gleichner\"), permanent_address_id (3, 5, 14) | student_enrolment : degree_program_id (3, 9, 9), student_enrolment_id (11, 14, 13), semester_id (6, 6, 9), student_id (12, 12, 1), other_details (None) | student_enrolment_courses : student_enrolment_id (13, 10, 8), student_course_id (2, 70882679, 9860), course_id (2, 3, 6) | transcripts : transcript_id (12, 1, 7), transcript_date (\"1990-03-05 11:59:41\", \"2010-12-13 10:55:15\", \"1985-08-21 09:32:39\"), other_details (None) | transcript_contents : transcript_id (5, 11, 5), student_course_id (45105806, 45105806, 70882679)", "schema_without_content": "addresses : zip_postcode , other_address_details , state_province_county , city , line_2 , country , line_3 , line_1 , address_id | courses : course_name , course_description , course_id , other_details | departments : department_name , other_details , department_id , department_description | degree_programs : other_details , department_id , degree_summary_description , degree_program_id , degree_summary_name | sections : part_name , section_id , segment_name , section_description , other_details , course_id | semesters : semester_name , semester_id , semester_description , other_details | students : email_address , current_address_id , student_id , other_student_details , date_left , first_name , cell_mobile_number 153-1469x1733\", date_first_registered , ssn , middle_name , last_name , permanent_address_id | student_enrolment : degree_program_id , student_enrolment_id , semester_id , student_id , other_details | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "sections": { "section_name": [ "part_name", "segment_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_description", "other_details", "part_name", "segment_name" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "section_name": "Sections.section_name" } }, { "question": "what are the #names of the sections# in reverse alphabetical order?", "db_id": "student_transcripts_tracking", "orig_query": "select section_name from sections order by section_name desc", "schema_with_content": "addresses : line_3 (None), state_province_county (\"Kansas\", \"Delaware\", \"NorthCarolina\"), address_id (6, 1, 3), city (\"Lake Laishafurt\", \"Port Chelsea\", \"Port Chelsea\"), country (\"Croatia\", \"Gibraltar\", \"New Caledonia\"), zip_postcode (\"068\", \"400\", \"669\"), line_2 (\"Suite 703\", \"Suite 703\", \"Apt. 335\"), other_address_details (None), line_1 (\"202 Hessel Views Apt. 468\", \"492 Wilkinson Route\", \"858 Peggie Bypass Suite 212\") | courses : other_details (None), course_id (6, 3, 12), course_description (\"k\", \"c\", \"k\"), course_name (\"oop\", \"math\", \"dl\") | departments : department_name (\"art\", \"law\", \"dance\"), department_description (\"nostrum\", \"aliquam\", \"autem\"), other_details (None), department_id (7, 11, 1) | degree_programs : department_id (7, 11, 2), degree_summary_description (\"placeat\", \"aperiam\", \"officiis\"), degree_program_id (14, 10, 12), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_id (15, 4, 11), part_name (\"c\", \"p\", \"p\"), other_details (None), section_description (\"facilis\", \"doloremque\", \"quis\"), course_id (6, 14, 4), segment_name (\"c\", \"p\", \"p\") | semesters : semester_name (\"spring 2010\", \"winter 2010\", \"spring 2010\"), semester_description (\"t\", \"m\", \"y\"), semester_id (3, 10, 14), other_details (None) | students : email_address (\"qo'kon@example.com\", \"gracie29@example.com\", \"jhuel@example.com\"), date_left (\"2007-03-31 09:53:19\", \"1982-06-11 00:25:39\", \"1997-11-16 08:54:33\"), date_first_registered (\"2014-03-28 05:48:23\", \"1986-02-24 21:12:23\", \"1989-05-24 23:31:29\"), last_name (\"Ward\", \"Carroll\", \"Balistreri\"), ssn (\"34458427\", \"\", \"68095\"), student_id (11, 7, 9), other_student_details (\"autem\", \"laborum\", \"autem\"), cell_mobile_number (\"1-879-796-8987x164\", \"677.401.9382\", \"677.401.9382\"), middle_name (\"Brooklyn\", \"Vaughn\", \"Cleve\"), current_address_id (7, 6, 12), permanent_address_id (15, 5, 3), first_name (\"Frida\", \"Frida\", \"Jett\") | student_enrolment : other_details (None), student_enrolment_id (14, 8, 7), degree_program_id (3, 12, 2), semester_id (12, 1, 2), student_id (14, 1, 12) | student_enrolment_courses : student_enrolment_id (2, 13, 14), course_id (11, 2, 10), student_course_id (2, 7, 45105806) | transcripts : transcript_date (\"1975-05-06 12:04:47\", \"1975-10-28 15:16:51\", \"1999-01-06 20:06:46\"), other_details (None), transcript_id (10, 10, 3) | transcript_contents : transcript_id (8, 12, 12), student_course_id (0, 7, 2)", "schema_without_content": "addresses : line_3 , state_province_county , address_id , city , country , zip_postcode , line_2 , other_address_details , line_1 | courses : other_details , course_id , course_description , course_name | departments : department_name , department_description , other_details , department_id | degree_programs : department_id , degree_summary_description , degree_program_id , other_details , degree_summary_name | sections : section_id , part_name , other_details , section_description , course_id , segment_name | semesters : semester_name , semester_description , semester_id , other_details | students : email_address , date_left , date_first_registered , last_name , ssn , student_id , other_student_details , cell_mobile_number , middle_name , current_address_id , permanent_address_id , first_name | student_enrolment : other_details , student_enrolment_id , degree_program_id , semester_id , student_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : transcript_date , other_details , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "sections": { "section_name": [ "part_name", "segment_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_description", "other_details", "part_name", "segment_name" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "names of the sections": "Sections.section_name" } }, { "question": "what is the semester which most #student registered# in? show both the name and the id.", "db_id": "student_transcripts_tracking", "orig_query": "select t1.semester_name, t1.semester_id from semesters as t1 join student_enrolment as t2 on t1.semester_id = t2.semester_id group by t1.semester_id order by count(*) desc limit 1", "schema_with_content": "addresses : zip_postcode (\"943\", \"943\", \"839\"), line_3 (None), address_id (1, 1, 3), country (\"Haiti\", \"Gibraltar\", \"Burundi\"), other_address_details (None), city (\"Prohaskafort\", \"South Palma\", \"Goodwinhaven\"), line_2 (\"Apt. 305\", \"Suite 079\", \"Suite 383\"), line_1 (\"67942 Carlotta Ferry Apt. 686\", \"186 Evan Motorway Apt. 409\", \"858 Peggie Bypass Suite 212\"), state_province_county (\"Delaware\", \"Hawaii\", \"NorthCarolina\") | courses : course_name (\"cal\", \"nlp\", \"math\"), course_id (12, 9, 7), other_details (None), course_description (\"p\", \"p\", \"q\") | departments : department_name (\"history\", \"math\", \"statistics\"), department_description (\"doloribus\", \"ea\", \"dolorem\"), department_id (3, 3, 6), other_details (None) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), degree_program_id (7, 2, 3), degree_summary_description (\"officiis\", \"aperiam\", \"placeat\"), department_id (11, 15, 13) | sections : other_details (None), section_id (9, 10, 13), section_name (\"g\", \"a\", \"f\"), section_description (\"ex\", \"ad\", \"ex\"), course_id (1, 1, 12) | semesters : session_name (\"fall 2010\", \"winter 2018\", \"spring 2017\"), term_name (\"fall 2010\", \"winter 2018\", \"spring 2017\"), semester_id (10, 10, 13), other_details (None), semester_description (\"t\", \"w\", \"m\") | students : first_name (\"Jarvis\", \"Frida\", \"Delaney\"), ssn (\"668\", \"248\", \"402\"), cell_mobile_number (\"436.613.7683\", \"677.401.9382\", \"877.549.9067x8723\"), last_name (\"Kemmer\", \"Rempel\", \"Mohr\"), middle_name (\"Judd\", \"Vaughn\", \"Alberta\"), current_address_id (14, 12, 15), student_id (5, 2, 14), other_student_details (\"quia\", \"quia\", \"nesciunt\"), date_left (\"2007-08-02 04:12:58\", \"1997-11-16 08:54:33\", \"2017-07-09 21:38:43\"), email_address (\"baumbach.lucious@example.org\", \"jillian26@example.net\", \"qo'kon@example.com\"), date_first_registered (\"1989-05-24 23:31:29\", \"2007-08-29 23:25:41\", \"2007-08-29 23:25:41\"), permanent_address_id (8, 3, 9) | student_enrolment : other_details (None), degree_program_id (12, 8, 4), semester_id (6, 4, 9), student_id (1, 1, 6), student_enrolment_id (9, 11, 4) | student_enrolment_courses : course_id (13, 4, 13), student_enrolment_id (14, 2, 8), student_course_id (2, 45105806, 7) | transcripts : other_details (None), transcript_date (\"1975-10-28 15:16:51\", \"1975-10-28 15:16:51\", \"1986-07-12 07:27:29\"), transcript_id (7, 9, 7) | transcript_contents : transcript_id (15, 11, 6), student_course_id (76, 96, 7)", "schema_without_content": "addresses : zip_postcode , line_3 , address_id , country , other_address_details , city , line_2 , line_1 , state_province_county | courses : course_name , course_id , other_details , course_description | departments : department_name , department_description , department_id , other_details | degree_programs : degree_summary_name , other_details , degree_program_id , degree_summary_description , department_id | sections : other_details , section_id , section_name , section_description , course_id | semesters : session_name , term_name , semester_id , other_details , semester_description | students : first_name , ssn , cell_mobile_number , last_name , middle_name , current_address_id , student_id , other_student_details , date_left , email_address , date_first_registered , permanent_address_id | student_enrolment : other_details , degree_program_id , semester_id , student_id , student_enrolment_id | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "semesters": { "semester_name": [ "term_name", "session_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_description", "other_details", "term_name", "session_name" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "student registered": "Student_Enrolment.student_id", "semester name": "Semesters.semester_name", "semester id": "Semesters.semester_id" } }, { "question": "what is the semester which most #student registered# in? show both the name and the id.", "db_id": "student_transcripts_tracking", "orig_query": "select t1.semester_name, t1.semester_id from semesters as t1 join student_enrolment as t2 on t1.semester_id = t2.semester_id group by t1.semester_id order by count(*) desc limit 1", "schema_with_content": "addresses : country (\"Cook Islands\", \"Iceland\", \"Norfolk Island\"), line_1 (\"67942 Carlotta Ferry Apt. 686\", \"3999 Aufderhar Ways Suite 593\", \"3999 Aufderhar Ways Suite 593\"), line_2 (\"Apt. 305\", \"Apt. 335\", \"Suite 079\"), line_3 (None), zip_postcode (\"400\", \"068\", \"895\"), other_address_details (None), address_id (9, 7, 3), city (\"Prohaskafort\", \"New Clemensburgh\", \"Rutherfordtown\"), state_province_county (\"Wyoming\", \"NorthCarolina\", \"WestVirginia\") | courses : course_id (1, 7, 12), other_details (None), course_name (\"ds\", \"en\", \"ds\"), course_description (\"k\", \"k\", \"n\") | departments : department_description (\"non\", \"aliquam\", \"nisi\"), department_id (11, 8, 6), other_details (None), department_name (\"linguistic\", \"history\", \"statistics\") | degree_programs : degree_program_id (4, 15, 10), degree_summary_description (\"unde\", \"cumque\", \"unde\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (2, 3, 13), other_details (None) | sections : course_id (12, 1, 8), other_details (None), section_name (\"a\", \"d\", \"h\"), section_id (2, 4, 6), section_description (\"et\", \"reprehenderit\", \"quis\") | semesters : semester_description (\"t\", \"y\", \"l\"), other_details (None), session_id (8, 8, 15), semester_name (\"spring 2018\", \"spring 2014\", \"spring 2019\"), term_id (8, 8, 15) | students : date_left (\"2014-05-30 23:32:02\", \"2006-08-04 17:26:49\", \"2016-04-09 12:27:04\"), other_student_details (\"rerum\", \"facilis\", \"nesciunt\"), permanent_address_id (5, 3, 4), current_address_id (15, 1, 12), date_first_registered (\"2014-03-28 05:48:23\", \"1971-02-05 07:28:23\", \"1982-02-14 08:46:35\"), last_name (\"Weimann\", \"Mohr\", \"Huel\"), student_id (11, 15, 7), first_name (\"Frida\", \"Jett\", \"Timmothy\"), email_address (\"dell43@example.net\", \"gracie29@example.com\", \"mya88@example.org\"), middle_name (\"Osborne\", \"Osborne\", \"Anna\"), cell_mobile_number (\"(982)153-1469x1733\", \"(213)445-0399x85208\", \"03174364122\"), ssn (\"3\", \"39\", \"43\") | student_enrolment : student_enrolment_id (9, 1, 7), other_details (None), semester_id (12, 4, 13), degree_program_id (3, 3, 3), student_id (14, 6, 6) | student_enrolment_courses : course_id (11, 8, 10), student_course_id (438800, 9860, 2), student_enrolment_id (8, 14, 5) | transcripts : other_details (None), transcript_date (\"2013-06-30 13:01:40\", \"1990-03-05 11:59:41\", \"1999-01-06 20:06:46\"), transcript_id (4, 4, 14) | transcript_contents : student_course_id (2, 0, 28982908), transcript_id (4, 11, 13)", "schema_without_content": "addresses : country , line_1 , line_2 , line_3 , zip_postcode , other_address_details , address_id , city , state_province_county | courses : course_id , other_details , course_name , course_description | departments : department_description , department_id , other_details , department_name | degree_programs : degree_program_id , degree_summary_description , degree_summary_name , department_id , other_details | sections : course_id , other_details , section_name , section_id , section_description | semesters : semester_description , other_details , session_id , semester_name , term_id | students : date_left , other_student_details , permanent_address_id , current_address_id , date_first_registered , last_name , student_id , first_name , email_address , middle_name , cell_mobile_number 153-1469x1733\", \"445-0399x85208\", \"03174364122\", ssn | student_enrolment : student_enrolment_id , other_details , semester_id , degree_program_id , student_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "semesters": { "semester_id": [ "term_id", "session_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_name", "semester_description", "other_details", "term_id", "session_id" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "student registered": "Student_Enrolment.student_id", "semester name": "Semesters.semester_name", "semester id": "Semesters.semester_id" } }, { "question": "for each semester, what is the name and id of the one with the most #students registered# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.semester_name, t1.semester_id from semesters as t1 join student_enrolment as t2 on t1.semester_id = t2.semester_id group by t1.semester_id order by count(*) desc limit 1", "schema_with_content": "addresses : line_2 (\"Suite 383\", \"Apt. 335\", \"Suite 830\"), country (\"Haiti\", \"Gibraltar\", \"Croatia\"), line_1 (\"67942 Carlotta Ferry Apt. 686\", \"7081 Eda Center\", \"7081 Eda Center\"), line_3 (None), address_id (5, 7, 3), other_address_details (None), zip_postcode (\"839\", \"839\", \"847\"), state_province_county (\"WestVirginia\", \"Hawaii\", \"Washington\"), city (\"Rutherfordtown\", \"North Omer\", \"North Omer\") | courses : course_description (\"c\", \"k\", \"b\"), course_id (12, 12, 13), course_name (\"oop\", \"cal\", \"rs\"), other_details (None) | departments : department_id (13, 4, 13), department_name (\"linguistic\", \"biology\", \"law\"), other_details (None), department_description (\"doloribus\", \"nihil\", \"dolorem\") | degree_programs : degree_program_id (1, 13, 8), department_id (3, 3, 11), degree_summary_description (\"esse\", \"aperiam\", \"cumque\"), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : other_details (None), section_description (\"qui\", \"doloremque\", \"voluptatem\"), course_id (4, 9, 2), section_id (9, 11, 15), section_name (\"a\", \"l\", \"j\") | semesters : semester_id (1, 8, 2), other_details (None), semester_description (\"m\", \"f\", \"q\"), term_name (\"spring 2014\", \"winter 2018\", \"spring 2019\"), session_name (\"spring 2014\", \"winter 2018\", \"spring 2019\") | students : middle_name (\"Neal\", \"Violet\", \"Neal\"), first_name (\"Orrin\", \"Stanford\", \"Timmothy\"), date_left (\"2013-10-05 17:41:28\", \"2004-12-08 05:29:11\", \"2016-04-09 12:27:04\"), permanent_address_id (14, 4, 4), cell_mobile_number (\"877.549.9067x8723\", \"09700166582\", \"07661787471\"), ssn (\"34458427\", \"248\", \"43\"), current_address_id (2, 7, 7), last_name (\"Ward\", \"Carroll\", \"Schuppe\"), date_first_registered (\"2007-08-29 23:25:41\", \"2009-09-25 00:14:25\", \"2004-12-24 12:36:46\"), other_student_details (\"voluptatem\", \"autem\", \"qui\"), email_address (\"jhuel@example.com\", \"swift.kolby@example.com\", \"beth42@example.org\"), student_id (8, 9, 3) | student_enrolment : semester_id (4, 1, 15), student_id (9, 14, 4), other_details (None), degree_program_id (8, 5, 2), student_enrolment_id (14, 8, 1) | student_enrolment_courses : student_course_id (604750, 2, 45105806), student_enrolment_id (8, 13, 10), course_id (11, 12, 11) | transcripts : other_details (None), transcript_date (\"2013-06-30 13:01:40\", \"1999-01-06 20:06:46\", \"1999-01-06 20:06:46\"), transcript_id (4, 10, 1) | transcript_contents : transcript_id (6, 12, 4), student_course_id (45105806, 7, 2)", "schema_without_content": "addresses : line_2 , country , line_1 , line_3 , address_id , other_address_details , zip_postcode , state_province_county , city | courses : course_description , course_id , course_name , other_details | departments : department_id , department_name , other_details , department_description | degree_programs : degree_program_id , department_id , degree_summary_description , other_details , degree_summary_name | sections : other_details , section_description , course_id , section_id , section_name | semesters : semester_id , other_details , semester_description , term_name , session_name | students : middle_name , first_name , date_left , permanent_address_id , cell_mobile_number , ssn , current_address_id , last_name , date_first_registered , other_student_details , email_address , student_id | student_enrolment : semester_id , student_id , other_details , degree_program_id , student_enrolment_id | student_enrolment_courses : student_course_id , student_enrolment_id , course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "semesters": { "semester_name": [ "term_name", "session_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_description", "other_details", "term_name", "session_name" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "students registered": "Student_Enrolment.student_id", "semester name": "Semesters.semester_name", "semester id": "Semesters.semester_id" } }, { "question": "for each semester, what is the name and id of the one with the most #students registered# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.semester_name, t1.semester_id from semesters as t1 join student_enrolment as t2 on t1.semester_id = t2.semester_id group by t1.semester_id order by count(*) desc limit 1", "schema_with_content": "addresses : line_1 (\"202 Hessel Views Apt. 468\", \"979 Haag Shores Suite 656\", \"3999 Aufderhar Ways Suite 593\"), country (\"Bermuda\", \"Gibraltar\", \"Iceland\"), other_address_details (None), city (\"Port Chelsea\", \"Michelleburgh\", \"Rutherfordtown\"), state_province_county (\"Kansas\", \"Kentucky\", \"SouthDakota\"), zip_postcode (\"669\", \"895\", \"386\"), line_3 (None), line_2 (\"Suite 703\", \"Suite 830\", \"Suite 383\"), address_id (15, 6, 5) | courses : other_details (None), course_name (\"db\", \"ml\", \"fr\"), course_description (\"n\", \"q\", \"l\"), course_id (4, 9, 4) | departments : department_id (11, 2, 15), other_details (None), department_description (\"non\", \"error\", \"error\"), department_name (\"engineer\", \"law\", \"law\") | degree_programs : degree_summary_description (\"assumenda\", \"et\", \"et\"), degree_program_id (10, 6, 1), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), department_id (12, 4, 3) | sections : course_id (8, 4, 9), section_id (11, 15, 5), other_details (None), section_name (\"c\", \"c\", \"y\"), section_description (\"ex\", \"nesciunt\", \"provident\") | semesters : other_details (None), term_id (3, 4, 13), semester_name (\"winter 2010\", \"spring 2017\", \"spring 2012\"), session_id (3, 4, 13), semester_description (\"f\", \"x\", \"t\") | students : first_name (\"Delaney\", \"Frida\", \"Helga\"), other_student_details (\"facilis\", \"non\", \"rerum\"), last_name (\"Huel\", \"Christiansen\", \"Weimann\"), email_address (\"swift.kolby@example.com\", \"baumbach.lucious@example.org\", \"nbruen@example.org\"), date_left (\"1982-06-11 00:25:39\", \"2014-05-30 23:32:02\", \"2007-11-28 12:50:21\"), ssn (\"141072406\", \"668\", \"141072406\"), cell_mobile_number (\"(507)365-8405\", \"1-879-796-8987x164\", \"(982)153-1469x1733\"), middle_name (\"Alberta\", \"Anna\", \"Violet\"), date_first_registered (\"2007-08-29 23:25:41\", \"2004-12-24 12:36:46\", \"1976-10-26 02:33:06\"), permanent_address_id (14, 15, 9), student_id (8, 6, 8), current_address_id (6, 12, 14) | student_enrolment : student_id (7, 14, 7), semester_id (4, 9, 6), student_enrolment_id (5, 2, 3), other_details (None), degree_program_id (12, 10, 11) | student_enrolment_courses : student_course_id (681404, 0, 2), student_enrolment_id (14, 4, 14), course_id (14, 12, 13) | transcripts : transcript_id (11, 8, 4), other_details (None), transcript_date (\"1984-01-18 23:07:07\", \"2013-06-30 13:01:40\", \"1975-05-20 18:31:21\") | transcript_contents : transcript_id (2, 13, 8), student_course_id (76, 2, 96)", "schema_without_content": "addresses : line_1 , country , other_address_details , city , state_province_county , zip_postcode , line_3 , line_2 , address_id | courses : other_details , course_name , course_description , course_id | departments : department_id , other_details , department_description , department_name | degree_programs : degree_summary_description , degree_program_id , degree_summary_name , other_details , department_id | sections : course_id , section_id , other_details , section_name , section_description | semesters : other_details , term_id , semester_name , session_id , semester_description | students : first_name , other_student_details , last_name , email_address , date_left , ssn , cell_mobile_number 365-8405\", \"1-879-796-8987x164\", \"153-1469x1733\", middle_name , date_first_registered , permanent_address_id , student_id , current_address_id | student_enrolment : student_id , semester_id , student_enrolment_id , other_details , degree_program_id | student_enrolment_courses : student_course_id , student_enrolment_id , course_id | transcripts : transcript_id , other_details , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "semesters": { "semester_id": [ "term_id", "session_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_name", "semester_description", "other_details", "term_id", "session_id" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "students registered": "Student_Enrolment.student_id", "semester name": "Semesters.semester_name", "semester id": "Semesters.semester_id" } }, { "question": "what is the #description# of the department whose #name# has the substring the computer?", "db_id": "student_transcripts_tracking", "orig_query": "select department_description from departments where department_name like '%computer%'", "schema_with_content": "addresses : zip_postcode (\"777\", \"839\", \"541\"), city (\"Port Evanston\", \"Port Elvisfurt\", \"Rutherfordtown\"), country (\"Saudi Arabia\", \"Burundi\", \"Cook Islands\"), line_2 (\"Apt. 583\", \"Suite 865\", \"Suite 830\"), state_province_county (\"Idaho\", \"Wyoming\", \"WestVirginia\"), other_address_details (None), address_id (5, 7, 13), line_1 (\"2294 Grant Square Apt. 235\", \"186 Evan Motorway Apt. 409\", \"0643 Muller Vista\"), line_3 (None) | courses : course_name (\"en\", \"dl\", \"dl\"), other_details (None), course_description (\"p\", \"v\", \"k\"), course_id (14, 5, 15) | departments : other_details (None), dept_desc (\"nisi\", \"doloribus\", \"ea\"), faculty_desc (\"nisi\", \"doloribus\", \"ea\"), department_id (2, 11, 12), department_name (\"geography\", \"engineer\", \"math\") | degree_programs : degree_program_id (9, 8, 1), degree_summary_description (\"cumque\", \"aperiam\", \"voluptas\"), department_id (8, 13, 8), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : other_details (None), course_id (5, 10, 1), section_id (8, 3, 13), section_description (\"doloremque\", \"voluptas\", \"et\"), section_name (\"p\", \"g\", \"y\") | semesters : semester_id (15, 14, 6), semester_description (\"w\", \"l\", \"l\"), other_details (None), semester_name (\"spring 2010\", \"spring 2010\", \"fall 2010\") | students : cell_mobile_number (\"(462)246-7921\", \"1-879-796-8987x164\", \"436.613.7683\"), other_student_details (\"atque\", \"non\", \"quia\"), first_name (\"Reva\", \"Delaney\", \"Orrin\"), current_address_id (10, 7, 6), middle_name (\"Osborne\", \"Mona\", \"Mossie\"), student_id (12, 4, 8), permanent_address_id (8, 9, 15), ssn (\"668\", \"248\", \"494\"), date_first_registered (\"2005-12-15 08:42:10\", \"1973-05-19 19:12:46\", \"2007-08-29 23:25:41\"), last_name (\"Carroll\", \"Jaskolski\", \"Carroll\"), date_left (\"2004-12-08 05:29:11\", \"1975-10-09 00:49:27\", \"1990-09-01 05:03:27\"), email_address (\"jillian26@example.net\", \"nya.lesch@example.net\", \"nbruen@example.org\") | student_enrolment : degree_program_id (10, 5, 11), semester_id (6, 15, 15), student_enrolment_id (12, 6, 11), other_details (None), student_id (4, 14, 1) | student_enrolment_courses : student_course_id (604750, 604750, 76), course_id (14, 3, 10), student_enrolment_id (5, 13, 4) | transcripts : transcript_id (3, 7, 2), transcript_date (\"1985-04-29 01:20:20\", \"1985-04-29 01:20:20\", \"1975-10-28 15:16:51\"), other_details (None) | transcript_contents : student_course_id (28982908, 8, 70882679), transcript_id (6, 2, 9)", "schema_without_content": "addresses : zip_postcode , city , country , line_2 , state_province_county , other_address_details , address_id , line_1 , line_3 | courses : course_name , other_details , course_description , course_id | departments : other_details , dept_desc , faculty_desc , department_id , department_name | degree_programs : degree_program_id , degree_summary_description , department_id , other_details , degree_summary_name | sections : other_details , course_id , section_id , section_description , section_name | semesters : semester_id , semester_description , other_details , semester_name | students : cell_mobile_number 246-7921\", \"1-879-796-8987x164\", \"436.613.7683\", other_student_details , first_name , current_address_id , middle_name , student_id , permanent_address_id , ssn , date_first_registered , last_name , date_left , email_address | student_enrolment : degree_program_id , semester_id , student_enrolment_id , other_details , student_id | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "departments": { "department_description": [ "dept_desc", "faculty_desc" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "other_details", "dept_desc", "faculty_desc" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "description": "Departments.department_description", "name": "Departments.department_name" } }, { "question": "what is the #department description# for the one whose name has the word computer?", "db_id": "student_transcripts_tracking", "orig_query": "select department_description from departments where department_name like '%computer%'", "schema_with_content": "addresses : zip_postcode (\"638\", \"386\", \"638\"), other_address_details (None), line_3 (None), line_1 (\"186 Evan Motorway Apt. 409\", \"9283 Schulist Falls Apt. 037\", \"492 Wilkinson Route\"), line_2 (\"Apt. 388\", \"Apt. 583\", \"Suite 865\"), state_province_county (\"Kentucky\", \"Wyoming\", \"Florida\"), address_id (1, 14, 4), country (\"Samoa\", \"Croatia\", \"Bermuda\"), city (\"South Palma\", \"South Palma\", \"Michelleburgh\") | courses : course_description (\"q\", \"d\", \"q\"), course_id (15, 9, 7), other_details (None), course_name (\"cal\", \"cal\", \"oop\") | departments : dept_desc (\"doloribus\", \"nostrum\", \"error\"), department_name (\"economics\", \"art\", \"linguistic\"), faculty_desc (\"doloribus\", \"nostrum\", \"error\"), other_details (None), department_id (8, 3, 14) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (2, 8, 7), degree_summary_description (\"qui\", \"cumque\", \"architecto\"), department_id (15, 4, 15), other_details (None) | sections : section_description (\"doloremque\", \"nesciunt\", \"nesciunt\"), section_id (7, 5, 3), course_id (2, 10, 2), other_details (None), section_name (\"b\", \"c\", \"f\") | semesters : semester_name (\"winter 2018\", \"winter 2010\", \"fall 2010\"), semester_description (\"q\", \"m\", \"x\"), other_details (None), semester_id (11, 1, 9) | students : last_name (\"Carroll\", \"Rempel\", \"Rempel\"), email_address (\"nya.lesch@example.net\", \"lhartmann@example.org\", \"swift.kolby@example.com\"), date_left (\"2007-03-31 09:53:19\", \"1975-10-09 00:49:27\", \"1990-09-01 05:03:27\"), current_address_id (6, 15, 7), student_id (12, 6, 1), permanent_address_id (9, 5, 9), first_name (\"Warren\", \"Delaney\", \"Helga\"), ssn (\"156\", \"68095\", \"\"), middle_name (\"Vaughn\", \"Judd\", \"Neal\"), other_student_details (\"nesciunt\", \"dolorum\", \"laborum\"), cell_mobile_number (\"(462)246-7921\", \"436.613.7683\", \"(462)246-7921\"), date_first_registered (\"1971-02-05 07:28:23\", \"1986-02-24 21:12:23\", \"1989-05-24 23:31:29\") | student_enrolment : degree_program_id (5, 5, 11), student_id (9, 7, 7), student_enrolment_id (5, 11, 7), semester_id (6, 13, 2), other_details (None) | student_enrolment_courses : student_enrolment_id (14, 9, 10), course_id (13, 11, 8), student_course_id (83814225, 8, 604750) | transcripts : transcript_id (13, 4, 1), transcript_date (\"1998-11-22 12:18:29\", \"1998-11-22 12:18:29\", \"2010-12-13 10:55:15\"), other_details (None) | transcript_contents : transcript_id (11, 12, 11), student_course_id (0, 76, 2)", "schema_without_content": "addresses : zip_postcode , other_address_details , line_3 , line_1 , line_2 , state_province_county , address_id , country , city | courses : course_description , course_id , other_details , course_name | departments : dept_desc , department_name , faculty_desc , other_details , department_id | degree_programs : degree_summary_name , degree_program_id , degree_summary_description , department_id , other_details | sections : section_description , section_id , course_id , other_details , section_name | semesters : semester_name , semester_description , other_details , semester_id | students : last_name , email_address , date_left , current_address_id , student_id , permanent_address_id , first_name , ssn , middle_name , other_student_details , cell_mobile_number 246-7921\", \"436.613.7683\", \"246-7921\", date_first_registered | student_enrolment : degree_program_id , student_id , student_enrolment_id , semester_id , other_details | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "departments": { "department_description": [ "dept_desc", "faculty_desc" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "other_details", "dept_desc", "faculty_desc" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "department description": "Departments.department_description", "department name": "Departments.department_name" } }, { "question": "who are #enrolled# in 2 degree programs in one semester? list the #first name# , #middle name# and #last name# and the id.", "db_id": "student_transcripts_tracking", "orig_query": "select t1.first_name, t1.middle_name, t1.last_name, t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id having count(*) = 2", "schema_with_content": "addresses : line_1 (\"7081 Eda Center\", \"74046 Metz Walk Apt. 113\", \"979 Haag Shores Suite 656\"), city (\"North Omer\", \"Port Chelsea\", \"Prohaskafort\"), country (\"Haiti\", \"Croatia\", \"Croatia\"), line_2 (\"Apt. 388\", \"Apt. 406\", \"Suite 830\"), zip_postcode (\"400\", \"895\", \"590\"), line_3 (None), address_id (1, 2, 14), other_address_details (None), state_province_county (\"Idaho\", \"Florida\", \"SouthDakota\") | courses : course_description (\"b\", \"l\", \"k\"), course_id (14, 7, 7), course_name (\"ai\", \"os\", \"dl\"), other_details (None) | departments : department_id (4, 5, 12), department_description (\"error\", \"nostrum\", \"aliquam\"), other_details (None), department_name (\"medical\", \"engineer\", \"dance\") | degree_programs : degree_summary_description (\"cumque\", \"esse\", \"aut\"), degree_program_id (12, 15, 9), department_id (7, 11, 8), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None) | sections : other_details (None), section_description (\"voluptatem\", \"voluptas\", \"voluptatem\"), course_id (2, 4, 4), section_id (4, 11, 14), section_name (\"u\", \"e\", \"y\") | semesters : semester_description (\"w\", \"g\", \"f\"), other_details (None), semester_id (14, 6, 8), semester_name (\"winter 2018\", \"winter 2010\", \"summer 2010\") | students : cell_mobile_number (\"171-642-5684\", \"(213)445-0399x85208\", \"(213)445-0399x85208\"), date_first_registered (\"2018-03-13 09:56:22\", \"2004-12-24 12:36:46\", \"1989-05-24 23:31:29\"), email_address (\"gracie29@example.com\", \"skassulke@example.net\", \"swift.kolby@example.com\"), middle_name (\"Aisha\", \"Osborne\", \"Mossie\"), last_name (\"Schuppe\", \"Rempel\", \"Ward\"), id (4, 10, 5), date_left (\"2014-05-30 23:32:02\", \"2016-04-09 12:27:04\", \"1975-10-09 00:49:27\"), permanent_address_id (3, 15, 3), ssn (\"494\", \"3\", \"39\"), enrollment_id (4, 10, 5), current_address_id (9, 6, 10), other_student_details (\"facilis\", \"quia\", \"voluptatem\"), first_name (\"Frida\", \"Helga\", \"Hobart\") | student_enrolment : semester_id (13, 1, 1), other_details (None), student_enrolment_id (10, 6, 13), student_id (9, 7, 5), degree_program_id (8, 10, 4) | student_enrolment_courses : student_course_id (1, 681404, 96), student_enrolment_id (8, 6, 10), course_id (11, 4, 10) | transcripts : transcript_id (10, 6, 5), transcript_date (\"1999-01-06 20:06:46\", \"1988-04-30 01:19:47\", \"1985-04-29 01:20:20\"), other_details (None) | transcript_contents : student_course_id (7, 7, 70882679), transcript_id (11, 2, 15)", "schema_without_content": "addresses : line_1 , city , country , line_2 , zip_postcode , line_3 , address_id , other_address_details , state_province_county | courses : course_description , course_id , course_name , other_details | departments : department_id , department_description , other_details , department_name | degree_programs : degree_summary_description , degree_program_id , department_id , degree_summary_name , other_details | sections : other_details , section_description , course_id , section_id , section_name | semesters : semester_description , other_details , semester_id , semester_name | students : cell_mobile_number 445-0399x85208\", \"445-0399x85208\", date_first_registered , email_address , middle_name , last_name , id , date_left , permanent_address_id , ssn , enrollment_id , current_address_id , other_student_details , first_name | student_enrolment : semester_id , other_details , student_enrolment_id , student_id , degree_program_id | student_enrolment_courses : student_course_id , student_enrolment_id , course_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "student_id": [ "id", "enrollment_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "id", "enrollment_id" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "enrolled": "Student_Enrolment", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name", "id": "Students.student_id" } }, { "question": "who are #enrolled# in 2 degree programs in one semester? list the #first name# , #middle name# and #last name# and the id.", "db_id": "student_transcripts_tracking", "orig_query": "select t1.first_name, t1.middle_name, t1.last_name, t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id having count(*) = 2", "schema_with_content": "addresses : other_address_details (None), zip_postcode (\"541\", \"895\", \"777\"), country (\"Saudi Arabia\", \"Samoa\", \"Kyrgyz Republic\"), city (\"Lake Laishafurt\", \"Lake Laishafurt\", \"Mariliehaven\"), line_3 (None), address_id (5, 13, 11), state_province_county (\"NorthCarolina\", \"Wyoming\", \"Florida\"), line_1 (\"492 Wilkinson Route\", \"193 Marlin Brook\", \"16998 Mraz Lodge\"), line_2 (\"Apt. 370\", \"Suite 830\", \"Suite 674\") | courses : course_id (2, 12, 3), course_description (\"v\", \"d\", \"p\"), course_name (\"ds\", \"os\", \"math\"), other_details (None) | departments : other_details (None), department_id (13, 2, 6), department_name (\"art\", \"biology\", \"management\"), department_description (\"aliquam\", \"in\", \"in\") | degree_programs : degree_program_id (13, 3, 6), department_id (7, 12, 4), degree_summary_description (\"aperiam\", \"assumenda\", \"voluptas\"), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_id (3, 1, 8), section_name (\"a\", \"o\", \"k\"), course_id (10, 4, 12), section_description (\"voluptatem\", \"voluptas\", \"doloremque\"), other_details (None) | semesters : other_details (None), semester_description (\"o\", \"w\", \"o\"), semester_id (2, 13, 2), semester_name (\"spring 2019\", \"spring 2015\", \"summer 2010\") | students : date_first_registered (\"2014-03-28 05:48:23\", \"1982-02-14 08:46:35\", \"2009-09-25 00:14:25\"), date_left (\"2007-03-31 09:53:19\", \"2007-03-31 09:53:19\", \"1999-08-24 00:07:10\"), ssn (\"965\", \"304246\", \"39\"), email_address (\"qo'kon@example.com\", \"swift.kolby@example.com\", \"nbruen@example.org\"), permanent_address_id (8, 8, 15), last_name (\"Christiansen\", \"Osinski\", \"Balistreri\"), forename (\"Reva\", \"Jordy\", \"Delaney\"), middle_name (\"Aisha\", \"Anna\", \"Cleve\"), cell_mobile_number (\"03174364122\", \"(982)153-1469x1733\", \"(507)365-8405\"), student_id (5, 15, 5), other_student_details (\"qui\", \"assumenda\", \"rerum\"), given_name (\"Reva\", \"Jordy\", \"Delaney\"), current_address_id (10, 15, 10) | student_enrolment : student_enrolment_id (9, 11, 9), student_id (4, 7, 4), semester_id (12, 1, 6), degree_program_id (10, 10, 9), other_details (None) | student_enrolment_courses : course_id (14, 4, 3), student_course_id (8, 76, 70882679), student_enrolment_id (9, 13, 5) | transcripts : transcript_id (15, 10, 8), transcript_date (\"1984-01-18 23:07:07\", \"1990-03-05 11:59:41\", \"1988-04-30 01:19:47\"), other_details (None) | transcript_contents : student_course_id (96, 76, 7), transcript_id (11, 8, 15)", "schema_without_content": "addresses : other_address_details , zip_postcode , country , city , line_3 , address_id , state_province_county , line_1 , line_2 | courses : course_id , course_description , course_name , other_details | departments : other_details , department_id , department_name , department_description | degree_programs : degree_program_id , department_id , degree_summary_description , other_details , degree_summary_name | sections : section_id , section_name , course_id , section_description , other_details | semesters : other_details , semester_description , semester_id , semester_name | students : date_first_registered , date_left , ssn , email_address , permanent_address_id , last_name , forename , middle_name , cell_mobile_number 153-1469x1733\", \"365-8405\", student_id , other_student_details , given_name , current_address_id | student_enrolment : student_enrolment_id , student_id , semester_id , degree_program_id , other_details | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "forename", "given_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "enrolled": "Student_Enrolment", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name", "id": "Students.student_id" } }, { "question": "who are #enrolled# in 2 degree programs in one semester? list the #first name# , #middle name# and #last name# and the id.", "db_id": "student_transcripts_tracking", "orig_query": "select t1.first_name, t1.middle_name, t1.last_name, t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id having count(*) = 2", "schema_with_content": "addresses : zip_postcode (\"446\", \"638\", \"446\"), line_2 (\"Apt. 468\", \"Apt. 388\", \"Apt. 335\"), line_3 (None), country (\"Croatia\", \"Kyrgyz Republic\", \"Gabon\"), line_1 (\"858 Peggie Bypass Suite 212\", \"193 Marlin Brook\", \"202 Hessel Views Apt. 468\"), state_province_county (\"Delaware\", \"NorthCarolina\", \"Arkansas\"), address_id (2, 14, 6), city (\"Port Oceane\", \"Port Oceane\", \"Rutherfordtown\"), other_address_details (None) | courses : course_id (14, 14, 9), course_description (\"n\", \"d\", \"p\"), course_name (\"ds\", \"rs\", \"ai\"), other_details (None) | departments : department_name (\"art\", \"engineer\", \"management\"), department_description (\"autem\", \"dolorem\", \"error\"), department_id (1, 6, 15), other_details (None) | degree_programs : degree_summary_description (\"earum\", \"assumenda\", \"architecto\"), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (6, 15, 4), department_id (13, 4, 7) | sections : section_name (\"l\", \"h\", \"d\"), section_id (2, 7, 5), course_id (14, 10, 9), other_details (None), section_description (\"nesciunt\", \"et\", \"doloremque\") | semesters : other_details (None), semester_id (11, 1, 13), semester_name (\"spring 2018\", \"fall 2010\", \"spring 2014\"), semester_description (\"o\", \"y\", \"m\") | students : date_left (\"1990-09-01 05:03:27\", \"2013-10-05 17:41:28\", \"2007-08-02 04:12:58\"), cell_mobile_number (\"1-009-710-5151\", \"(462)246-7921\", \"(096)889-8954x524\"), current_address_id (6, 9, 10), email_address (\"baumbach.lucious@example.org\", \"swift.kolby@example.com\", \"johns.unique@example.net\"), date_first_registered (\"1989-05-24 23:31:29\", \"1973-05-19 19:12:46\", \"1976-10-26 02:33:06\"), second_name (\"Lorenz\", \"Neal\", \"Lorenz\"), ssn (\"494\", \"\", \"965\"), other_student_details (\"qui\", \"laborum\", \"non\"), additional_name (\"Lorenz\", \"Neal\", \"Lorenz\"), last_name (\"Rogahn\", \"Huel\", \"Osinski\"), permanent_address_id (3, 4, 14), first_name (\"Timmothy\", \"Jordy\", \"Frida\"), student_id (15, 13, 8) | student_enrolment : semester_id (9, 6, 13), other_details (None), student_enrolment_id (5, 6, 10), degree_program_id (9, 10, 11), student_id (5, 9, 1) | student_enrolment_courses : student_course_id (45105806, 9860, 7), student_enrolment_id (9, 10, 9), course_id (10, 3, 4) | transcripts : other_details (None), transcript_date (\"1975-10-28 15:16:51\", \"1975-10-28 15:16:51\", \"1985-04-29 01:20:20\"), transcript_id (12, 5, 7) | transcript_contents : student_course_id (76, 2, 8), transcript_id (12, 5, 11)", "schema_without_content": "addresses : zip_postcode , line_2 , line_3 , country , line_1 , state_province_county , address_id , city , other_address_details | courses : course_id , course_description , course_name , other_details | departments : department_name , department_description , department_id , other_details | degree_programs : degree_summary_description , other_details , degree_summary_name , degree_program_id , department_id | sections : section_name , section_id , course_id , other_details , section_description | semesters : other_details , semester_id , semester_name , semester_description | students : date_left , cell_mobile_number 246-7921\", \"889-8954x524\", current_address_id , email_address , date_first_registered , second_name , ssn , other_student_details , additional_name , last_name , permanent_address_id , first_name , student_id | student_enrolment : semester_id , other_details , student_enrolment_id , degree_program_id , student_id | student_enrolment_courses : student_course_id , student_enrolment_id , course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "middle_name": [ "second_name", "additional_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "second_name", "additional_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "enrolled": "Student_Enrolment", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name", "id": "Students.student_id" } }, { "question": "who are #enrolled# in 2 degree programs in one semester? list the #first name# , #middle name# and #last name# and the id.", "db_id": "student_transcripts_tracking", "orig_query": "select t1.first_name, t1.middle_name, t1.last_name, t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id having count(*) = 2", "schema_with_content": "addresses : zip_postcode (\"777\", \"895\", \"400\"), line_1 (\"202 Hessel Views Apt. 468\", \"74046 Metz Walk Apt. 113\", \"9283 Schulist Falls Apt. 037\"), line_3 (None), country (\"Bermuda\", \"Haiti\", \"Gabon\"), state_province_county (\"NorthCarolina\", \"Florida\", \"Delaware\"), address_id (5, 7, 4), other_address_details (None), line_2 (\"Suite 703\", \"Suite 674\", \"Suite 079\"), city (\"Port Elvisfurt\", \"South Palma\", \"South Palma\") | courses : course_description (\"n\", \"v\", \"k\"), course_name (\"db\", \"ai\", \"la\"), course_id (10, 12, 4), other_details (None) | departments : department_name (\"linguistic\", \"art\", \"drama\"), department_description (\"aliquam\", \"non\", \"ea\"), department_id (3, 15, 15), other_details (None) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (12, 1, 11), degree_summary_description (\"cumque\", \"officiis\", \"architecto\"), other_details (None), department_id (7, 14, 12) | sections : course_id (12, 8, 4), other_details (None), section_description (\"voluptas\", \"doloremque\", \"quis\"), section_id (15, 9, 11), section_name (\"g\", \"a\", \"g\") | semesters : semester_id (4, 11, 2), semester_name (\"spring 2015\", \"spring 2018\", \"spring 2016\"), semester_description (\"t\", \"t\", \"x\"), other_details (None) | students : cell_mobile_number (\"1-009-710-5151\", \"09700166582\", \"(213)445-0399x85208\"), middle_name (\"Mossie\", \"Lorenz\", \"Aaliyah\"), family_name (\"Rempel\", \"Christiansen\", \"Rempel\"), permanent_address_id (8, 14, 8), ssn (\"141072406\", \"34458427\", \"6274274\"), current_address_id (2, 12, 14), date_left (\"1982-06-11 00:25:39\", \"2007-03-31 09:53:19\", \"2007-08-02 04:12:58\"), student_id (14, 13, 11), first_name (\"Delaney\", \"Jordy\", \"Delaney\"), date_first_registered (\"1973-05-19 19:12:46\", \"2018-03-13 09:56:22\", \"2009-09-25 00:14:25\"), other_student_details (\"laborum\", \"et\", \"qui\"), surname (\"Rempel\", \"Christiansen\", \"Rempel\"), email_address (\"swift.kolby@example.com\", \"skassulke@example.net\", \"johns.unique@example.net\") | student_enrolment : student_id (7, 4, 5), student_enrolment_id (4, 11, 3), semester_id (15, 15, 9), other_details (None), degree_program_id (11, 12, 2) | student_enrolment_courses : course_id (8, 12, 8), student_course_id (70882679, 1, 8), student_enrolment_id (13, 8, 9) | transcripts : transcript_id (10, 14, 6), transcript_date (\"1975-10-28 15:16:51\", \"2013-06-30 13:01:40\", \"1975-10-28 15:16:51\"), other_details (None) | transcript_contents : student_course_id (45105806, 28982908, 8), transcript_id (12, 9, 6)", "schema_without_content": "addresses : zip_postcode , line_1 , line_3 , country , state_province_county , address_id , other_address_details , line_2 , city | courses : course_description , course_name , course_id , other_details | departments : department_name , department_description , department_id , other_details | degree_programs : degree_summary_name , degree_program_id , degree_summary_description , other_details , department_id | sections : course_id , other_details , section_description , section_id , section_name | semesters : semester_id , semester_name , semester_description , other_details | students : cell_mobile_number 445-0399x85208\", middle_name , family_name , permanent_address_id , ssn , current_address_id , date_left , student_id , first_name , date_first_registered , other_student_details , surname , email_address | student_enrolment : student_id , student_enrolment_id , semester_id , other_details , degree_program_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "surname", "family_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "enrolled": "Student_Enrolment", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name", "id": "Students.student_id" } }, { "question": "what are the first, middle, and last names, along with the #ids# , of all #students# who #enrolled in 2 degree programs in one semester# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.first_name, t1.middle_name, t1.last_name, t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id having count(*) = 2", "schema_with_content": "addresses : city (\"Michelleburgh\", \"Port Chelsea\", \"Lake Careyberg\"), line_1 (\"858 Peggie Bypass Suite 212\", \"2294 Grant Square Apt. 235\", \"9283 Schulist Falls Apt. 037\"), other_address_details (None), state_province_county (\"NorthCarolina\", \"SouthDakota\", \"Kansas\"), country (\"Lesotho\", \"Norfolk Island\", \"Angola\"), line_3 (None), address_id (3, 13, 7), zip_postcode (\"446\", \"386\", \"638\"), line_2 (\"Apt. 583\", \"Suite 383\", \"Apt. 335\") | courses : course_name (\"os\", \"db\", \"rs\"), course_description (\"k\", \"v\", \"w\"), other_details (None), course_id (15, 7, 1) | departments : department_name (\"art\", \"biology\", \"geography\"), department_description (\"consequatur\", \"nisi\", \"dolorem\"), other_details (None), department_id (11, 11, 6) | degree_programs : degree_summary_description (\"aperiam\", \"quam\", \"officiis\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (8, 15, 7), other_details (None), degree_program_id (3, 7, 8) | sections : section_description (\"et\", \"ex\", \"reprehenderit\"), course_id (12, 14, 6), section_name (\"f\", \"g\", \"h\"), section_id (14, 6, 13), other_details (None) | semesters : semester_id (4, 13, 4), other_details (None), semester_description (\"m\", \"m\", \"g\"), semester_name (\"fall 2010\", \"spring 2014\", \"fall 2018\") | students : id (4, 3, 2), middle_name (\"Brooklyn\", \"Neal\", \"Osborne\"), date_left (\"2016-04-09 12:27:04\", \"1990-09-01 05:03:27\", \"1997-11-16 08:54:33\"), first_name (\"Frida\", \"Delaney\", \"Gregg\"), current_address_id (14, 7, 6), cell_mobile_number (\"(462)246-7921\", \"(605)919-3594x3661\", \"(605)919-3594x3661\"), last_name (\"Balistreri\", \"Ankunding\", \"Rempel\"), enrollment_id (4, 3, 2), ssn (\"39\", \"965\", \"494\"), other_student_details (\"voluptatem\", \"dolorum\", \"atque\"), permanent_address_id (9, 5, 4), email_address (\"nya.lesch@example.net\", \"dell43@example.net\", \"qo'kon@example.com\"), date_first_registered (\"1982-02-14 08:46:35\", \"1971-02-05 07:28:23\", \"1973-05-19 19:12:46\") | student_enrolment : student_enrolment_id (4, 7, 13), semester_id (5, 2, 9), student_id (14, 12, 14), other_details (None), degree_program_id (12, 9, 11) | student_enrolment_courses : student_enrolment_id (14, 6, 10), course_id (2, 6, 8), student_course_id (76, 28982908, 2) | transcripts : other_details (None), transcript_id (12, 9, 7), transcript_date (\"1975-05-20 18:31:21\", \"2013-06-30 13:01:40\", \"1975-05-06 12:04:47\") | transcript_contents : student_course_id (96, 2, 45105806), transcript_id (4, 12, 5)", "schema_without_content": "addresses : city , line_1 , other_address_details , state_province_county , country , line_3 , address_id , zip_postcode , line_2 | courses : course_name , course_description , other_details , course_id | departments : department_name , department_description , other_details , department_id | degree_programs : degree_summary_description , degree_summary_name , department_id , other_details , degree_program_id | sections : section_description , course_id , section_name , section_id , other_details | semesters : semester_id , other_details , semester_description , semester_name | students : id , middle_name , date_left , first_name , current_address_id , cell_mobile_number 246-7921\", \"919-3594x3661\", \"919-3594x3661\", last_name , enrollment_id , ssn , other_student_details , permanent_address_id , email_address , date_first_registered | student_enrolment : student_enrolment_id , semester_id , student_id , other_details , degree_program_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "student_id": [ "id", "enrollment_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "id", "enrollment_id" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "ids": "Students.student_id", "students": "Students", "enrolled in 2 degree programs in one semester": "Student_Enrolment", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "what are the first, middle, and last names, along with the #ids# , of all #students# who #enrolled in 2 degree programs in one semester# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.first_name, t1.middle_name, t1.last_name, t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id having count(*) = 2", "schema_with_content": "addresses : other_address_details (None), country (\"Samoa\", \"New Caledonia\", \"Kyrgyz Republic\"), line_2 (\"Suite 674\", \"Apt. 406\", \"Suite 079\"), state_province_county (\"Florida\", \"Washington\", \"Kansas\"), city (\"Port Chelsea\", \"South Palma\", \"North Omer\"), line_3 (None), address_id (12, 6, 6), zip_postcode (\"943\", \"638\", \"068\"), line_1 (\"202 Hessel Views Apt. 468\", \"16998 Mraz Lodge\", \"16998 Mraz Lodge\") | courses : course_id (5, 6, 6), course_description (\"n\", \"b\", \"b\"), other_details (None), course_name (\"cal\", \"la\", \"fr\") | departments : department_id (14, 3, 5), department_name (\"drama\", \"law\", \"law\"), department_description (\"non\", \"consequatur\", \"nostrum\"), other_details (None) | degree_programs : department_id (14, 14, 11), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"earum\", \"placeat\", \"aut\"), other_details (None), degree_program_id (11, 8, 2) | sections : course_id (7, 1, 14), section_description (\"provident\", \"nesciunt\", \"ex\"), other_details (None), section_id (5, 9, 13), section_name (\"p\", \"p\", \"b\") | semesters : semester_description (\"x\", \"w\", \"t\"), semester_name (\"fall 2018\", \"spring 2017\", \"spring 2014\"), semester_id (12, 4, 1), other_details (None) | students : current_address_id (6, 1, 15), cell_mobile_number (\"677.401.9382\", \"436.613.7683\", \"171-642-5684\"), ssn (\"6274274\", \"43\", \"248\"), permanent_address_id (15, 5, 11), date_first_registered (\"2014-03-28 05:48:23\", \"1982-02-14 08:46:35\", \"1989-05-24 23:31:29\"), forename (\"Orrin\", \"Reva\", \"Helga\"), middle_name (\"Anna\", \"Vaughn\", \"Cleve\"), last_name (\"Carroll\", \"Osinski\", \"Balistreri\"), student_id (10, 15, 9), other_student_details (\"omnis\", \"et\", \"rerum\"), email_address (\"nya.lesch@example.net\", \"beth42@example.org\", \"qo'kon@example.com\"), given_name (\"Orrin\", \"Reva\", \"Helga\"), date_left (\"1997-11-16 08:54:33\", \"2013-10-05 17:41:28\", \"2006-08-04 17:26:49\") | student_enrolment : semester_id (2, 15, 6), degree_program_id (2, 9, 4), student_id (5, 7, 5), student_enrolment_id (9, 9, 1), other_details (None) | student_enrolment_courses : student_enrolment_id (10, 2, 9), course_id (3, 2, 3), student_course_id (28982908, 45105806, 2) | transcripts : transcript_date (\"2010-12-13 10:55:15\", \"1985-04-29 01:20:20\", \"1985-04-29 01:20:20\"), other_details (None), transcript_id (14, 1, 1) | transcript_contents : student_course_id (45105806, 45105806, 70882679), transcript_id (15, 2, 4)", "schema_without_content": "addresses : other_address_details , country , line_2 , state_province_county , city , line_3 , address_id , zip_postcode , line_1 | courses : course_id , course_description , other_details , course_name | departments : department_id , department_name , department_description , other_details | degree_programs : department_id , degree_summary_name , degree_summary_description , other_details , degree_program_id | sections : course_id , section_description , other_details , section_id , section_name | semesters : semester_description , semester_name , semester_id , other_details | students : current_address_id , cell_mobile_number , ssn , permanent_address_id , date_first_registered , forename , middle_name , last_name , student_id , other_student_details , email_address , given_name , date_left | student_enrolment : semester_id , degree_program_id , student_id , student_enrolment_id , other_details | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : transcript_date , other_details , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "forename", "given_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "ids": "Students.student_id", "students": "Students", "enrolled in 2 degree programs in one semester": "Student_Enrolment", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "what are the first, middle, and last names, along with the #ids# , of all #students# who #enrolled in 2 degree programs in one semester# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.first_name, t1.middle_name, t1.last_name, t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id having count(*) = 2", "schema_with_content": "addresses : line_1 (\"0144 Lamar Plaza Apt. 346\", \"3999 Aufderhar Ways Suite 593\", \"7081 Eda Center\"), city (\"North Omer\", \"Port Chelsea\", \"Rutherfordtown\"), address_id (12, 8, 14), other_address_details (None), line_3 (None), state_province_county (\"Florida\", \"NorthCarolina\", \"Hawaii\"), line_2 (\"Apt. 388\", \"Apt. 305\", \"Apt. 468\"), country (\"Gibraltar\", \"Kyrgyz Republic\", \"Angola\"), zip_postcode (\"777\", \"895\", \"541\") | courses : other_details (None), course_name (\"db\", \"ai\", \"en\"), course_id (5, 11, 10), course_description (\"v\", \"l\", \"n\") | departments : other_details (None), department_description (\"nihil\", \"dolorem\", \"nisi\"), department_name (\"law\", \"math\", \"drama\"), department_id (14, 1, 10) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), department_id (11, 11, 7), degree_summary_description (\"qui\", \"cumque\", \"voluptas\"), degree_program_id (9, 4, 14) | sections : section_id (13, 15, 12), section_description (\"quis\", \"doloremque\", \"ad\"), course_id (2, 9, 8), section_name (\"k\", \"u\", \"a\"), other_details (None) | semesters : other_details (None), semester_description (\"x\", \"f\", \"g\"), semester_name (\"spring 2013\", \"spring 2016\", \"winter 2018\"), semester_id (1, 3, 3) | students : email_address (\"gracie29@example.com\", \"lhartmann@example.org\", \"erwin.zboncak@example.com\"), last_name (\"Ward\", \"Jaskolski\", \"Balistreri\"), date_first_registered (\"1997-03-20 16:47:25\", \"2004-12-24 12:36:46\", \"2017-01-04 08:10:25\"), cell_mobile_number (\"(462)246-7921\", \"(982)153-1469x1733\", \"436.613.7683\"), first_name (\"Helga\", \"Delaney\", \"Gregg\"), date_left (\"2013-10-05 17:41:28\", \"1997-11-16 08:54:33\", \"1971-05-17 19:28:49\"), student_id (15, 2, 10), current_address_id (14, 7, 15), ssn (\"43\", \"141072406\", \"6274274\"), permanent_address_id (5, 3, 4), second_name (\"Aaliyah\", \"Golda\", \"Alberta\"), additional_name (\"Aaliyah\", \"Golda\", \"Alberta\"), other_student_details (\"et\", \"autem\", \"autem\") | student_enrolment : student_enrolment_id (13, 6, 7), student_id (5, 12, 5), other_details (None), degree_program_id (10, 8, 11), semester_id (1, 12, 5) | student_enrolment_courses : student_course_id (1, 96, 70882679), student_enrolment_id (8, 5, 10), course_id (10, 3, 11) | transcripts : other_details (None), transcript_date (\"1986-07-12 07:27:29\", \"2010-12-13 10:55:15\", \"2010-12-13 10:55:15\"), transcript_id (12, 13, 10) | transcript_contents : transcript_id (12, 2, 8), student_course_id (28982908, 76, 45105806)", "schema_without_content": "addresses : line_1 , city , address_id , other_address_details , line_3 , state_province_county , line_2 , country , zip_postcode | courses : other_details , course_name , course_id , course_description | departments : other_details , department_description , department_name , department_id | degree_programs : degree_summary_name , other_details , department_id , degree_summary_description , degree_program_id | sections : section_id , section_description , course_id , section_name , other_details | semesters : other_details , semester_description , semester_name , semester_id | students : email_address , last_name , date_first_registered , cell_mobile_number 246-7921\", \"153-1469x1733\", \"436.613.7683\", first_name , date_left , student_id , current_address_id , ssn , permanent_address_id , second_name , additional_name , other_student_details | student_enrolment : student_enrolment_id , student_id , other_details , degree_program_id , semester_id | student_enrolment_courses : student_course_id , student_enrolment_id , course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "middle_name": [ "second_name", "additional_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "second_name", "additional_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "ids": "Students.student_id", "students": "Students", "enrolled in 2 degree programs in one semester": "Student_Enrolment", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "what are the first, middle, and last names, along with the #ids# , of all #students# who #enrolled in 2 degree programs in one semester# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.first_name, t1.middle_name, t1.last_name, t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id having count(*) = 2", "schema_with_content": "addresses : line_2 (\"Apt. 388\", \"Suite 239\", \"Suite 703\"), line_3 (None), line_1 (\"0144 Lamar Plaza Apt. 346\", \"74046 Metz Walk Apt. 113\", \"74046 Metz Walk Apt. 113\"), state_province_county (\"WestVirginia\", \"Delaware\", \"SouthDakota\"), zip_postcode (\"590\", \"839\", \"669\"), country (\"Gabon\", \"Gibraltar\", \"Angola\"), other_address_details (None), address_id (13, 14, 1), city (\"North Omer\", \"Prohaskafort\", \"Port Elvisfurt\") | courses : course_id (14, 7, 12), other_details (None), course_name (\"math\", \"nlp\", \"ai\"), course_description (\"d\", \"n\", \"c\") | departments : department_description (\"in\", \"dolorem\", \"error\"), other_details (None), department_name (\"geography\", \"history\", \"geography\"), department_id (6, 12, 15) | degree_programs : other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (4, 3, 2), degree_summary_description (\"et\", \"cumque\", \"voluptas\"), degree_program_id (2, 6, 9) | sections : course_id (6, 9, 7), section_description (\"nesciunt\", \"doloremque\", \"facilis\"), section_id (12, 3, 7), other_details (None), section_name (\"g\", \"p\", \"p\") | semesters : semester_id (5, 6, 10), semester_name (\"spring 2019\", \"winter 2018\", \"spring 2017\"), semester_description (\"t\", \"f\", \"c\"), other_details (None) | students : family_name (\"Schuppe\", \"Ward\", \"Huel\"), ssn (\"43\", \"304246\", \"141072406\"), permanent_address_id (14, 3, 4), first_name (\"Timmothy\", \"Helga\", \"Jarvis\"), student_id (3, 3, 7), middle_name (\"Lorenz\", \"Aisha\", \"Violet\"), email_address (\"lhartmann@example.org\", \"gracie29@example.com\", \"nbruen@example.org\"), date_left (\"1971-05-17 19:28:49\", \"2007-11-28 12:50:21\", \"1971-05-17 19:28:49\"), date_first_registered (\"2014-03-28 05:48:23\", \"1982-02-14 08:46:35\", \"2018-03-13 09:56:22\"), current_address_id (10, 15, 12), other_student_details (\"voluptatem\", \"et\", \"facilis\"), surname (\"Schuppe\", \"Ward\", \"Huel\"), cell_mobile_number (\"677.401.9382\", \"(213)445-0399x85208\", \"(605)919-3594x3661\") | student_enrolment : student_id (5, 9, 5), degree_program_id (2, 5, 3), student_enrolment_id (14, 13, 7), semester_id (1, 9, 2), other_details (None) | student_enrolment_courses : course_id (4, 8, 11), student_enrolment_id (6, 14, 6), student_course_id (45105806, 1, 83814225) | transcripts : other_details (None), transcript_id (8, 8, 7), transcript_date (\"1975-10-28 15:16:51\", \"1998-11-22 12:18:29\", \"2010-12-13 10:55:15\") | transcript_contents : transcript_id (15, 13, 8), student_course_id (8, 96, 0)", "schema_without_content": "addresses : line_2 , line_3 , line_1 , state_province_county , zip_postcode , country , other_address_details , address_id , city | courses : course_id , other_details , course_name , course_description | departments : department_description , other_details , department_name , department_id | degree_programs : other_details , degree_summary_name , department_id , degree_summary_description , degree_program_id | sections : course_id , section_description , section_id , other_details , section_name | semesters : semester_id , semester_name , semester_description , other_details | students : family_name , ssn , permanent_address_id , first_name , student_id , middle_name , email_address , date_left , date_first_registered , current_address_id , other_student_details , surname , cell_mobile_number 445-0399x85208\", \"919-3594x3661\" | student_enrolment : student_id , degree_program_id , student_enrolment_id , semester_id , other_details | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "surname", "family_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "ids": "Students.student_id", "students": "Students", "enrolled in 2 degree programs in one semester": "Student_Enrolment", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "who is enrolled in a #bachelor degree program# ? list the #first name# , #middle name# , #last name# .", "db_id": "student_transcripts_tracking", "orig_query": "select distinct t1.first_name, t1.middle_name, t1.last_name from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id join degree_programs as t3 on t2.degree_program_id = t3.degree_program_id where t3.degree_summary_name = 'Bachelor'", "schema_with_content": "addresses : line_3 (None), line_2 (\"Suite 865\", \"Suite 865\", \"Suite 674\"), zip_postcode (\"669\", \"400\", \"386\"), address_id (4, 8, 10), country (\"Haiti\", \"Kyrgyz Republic\", \"Bermuda\"), line_1 (\"202 Hessel Views Apt. 468\", \"492 Wilkinson Route\", \"74046 Metz Walk Apt. 113\"), state_province_county (\"NorthCarolina\", \"Washington\", \"Wyoming\"), city (\"Herzoghaven\", \"Rutherfordtown\", \"Michelleburgh\"), other_address_details (None) | courses : other_details (None), course_description (\"d\", \"p\", \"v\"), course_id (2, 10, 11), course_name (\"ai\", \"math\", \"ml\") | departments : department_name (\"dance\", \"engineer\", \"economics\"), department_description (\"dolorem\", \"dolorem\", \"nihil\"), other_details (None), department_id (15, 13, 2) | degree_programs : degree_summary_description (\"qui\", \"aut\", \"voluptas\"), degree_program_id (12, 12, 3), other_details (None), department_id (11, 14, 14), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : course_id (5, 4, 6), section_name (\"e\", \"k\", \"l\"), section_description (\"ad\", \"provident\", \"non\"), section_id (8, 6, 12), other_details (None) | semesters : semester_name (\"winter 2010\", \"spring 2018\", \"spring 2012\"), semester_id (12, 4, 13), semester_description (\"o\", \"y\", \"y\"), other_details (None) | students : date_first_registered (\"1997-03-20 16:47:25\", \"1986-02-24 21:12:23\", \"2014-03-28 05:48:23\"), forename (\"Delaney\", \"Stanford\", \"Timmothy\"), date_left (\"2016-04-09 12:27:04\", \"2013-10-05 17:41:28\", \"2006-08-04 17:26:49\"), current_address_id (6, 7, 2), student_id (15, 9, 15), cell_mobile_number (\"(096)889-8954x524\", \"(605)919-3594x3661\", \"(507)365-8405\"), permanent_address_id (8, 14, 11), last_name (\"Weimann\", \"Jaskolski\", \"Ward\"), email_address (\"nbruen@example.org\", \"jillian26@example.net\", \"beth42@example.org\"), other_student_details (\"facilis\", \"assumenda\", \"atque\"), ssn (\"6274274\", \"43\", \"141072406\"), middle_name (\"Anna\", \"Mona\", \"Anna\"), given_name (\"Delaney\", \"Stanford\", \"Timmothy\") | student_enrolment : semester_id (6, 9, 1), other_details (None), student_enrolment_id (8, 9, 11), degree_program_id (11, 5, 11), student_id (9, 14, 14) | student_enrolment_courses : course_id (12, 6, 4), student_enrolment_id (4, 13, 14), student_course_id (2, 7, 7) | transcripts : transcript_date (\"1998-11-22 12:18:29\", \"2002-09-24 06:11:49\", \"1985-08-21 09:32:39\"), other_details (None), transcript_id (11, 3, 12) | transcript_contents : student_course_id (7, 0, 2), transcript_id (9, 13, 13)", "schema_without_content": "addresses : line_3 , line_2 , zip_postcode , address_id , country , line_1 , state_province_county , city , other_address_details | courses : other_details , course_description , course_id , course_name | departments : department_name , department_description , other_details , department_id | degree_programs : degree_summary_description , degree_program_id , other_details , department_id , degree_summary_name | sections : course_id , section_name , section_description , section_id , other_details | semesters : semester_name , semester_id , semester_description , other_details | students : date_first_registered , forename , date_left , current_address_id , student_id , cell_mobile_number 889-8954x524\", \"919-3594x3661\", \"365-8405\", permanent_address_id , last_name , email_address , other_student_details , ssn , middle_name , given_name | student_enrolment : semester_id , other_details , student_enrolment_id , degree_program_id , student_id | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : transcript_date , other_details , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "forename", "given_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "Bachelor degree program": "Degree_Programs.degree_summary_name", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "who is enrolled in a #bachelor degree program# ? list the #first name# , #middle name# , #last name# .", "db_id": "student_transcripts_tracking", "orig_query": "select distinct t1.first_name, t1.middle_name, t1.last_name from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id join degree_programs as t3 on t2.degree_program_id = t3.degree_program_id where t3.degree_summary_name = 'Bachelor'", "schema_with_content": "addresses : line_2 (\"Suite 383\", \"Apt. 406\", \"Apt. 370\"), state_province_county (\"Arkansas\", \"Idaho\", \"Wyoming\"), country (\"Gibraltar\", \"Gibraltar\", \"Norfolk Island\"), other_address_details (None), line_1 (\"9283 Schulist Falls Apt. 037\", \"7081 Eda Center\", \"7081 Eda Center\"), address_id (11, 5, 13), city (\"Port Elvisfurt\", \"Lake Careyberg\", \"South Palma\"), zip_postcode (\"068\", \"400\", \"148\"), line_3 (None) | courses : other_details (None), course_id (5, 12, 3), course_name (\"os\", \"pl\", \"ml\"), course_description (\"b\", \"w\", \"l\") | departments : department_id (10, 11, 6), other_details (None), department_name (\"geography\", \"engineer\", \"math\"), department_description (\"consequatur\", \"error\", \"non\") | degree_programs : degree_program_id (12, 4, 9), degree_summary_description (\"placeat\", \"esse\", \"esse\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), department_id (3, 2, 15) | sections : other_details (None), section_id (12, 7, 4), section_description (\"et\", \"ad\", \"ex\"), section_name (\"f\", \"g\", \"o\"), course_id (14, 8, 4) | semesters : semester_description (\"l\", \"m\", \"o\"), other_details (None), semester_id (14, 13, 1), semester_name (\"spring 2012\", \"spring 2012\", \"spring 2019\") | students : other_student_details (\"omnis\", \"omnis\", \"qui\"), first_name (\"Jordy\", \"Jarvis\", \"Frida\"), second_name (\"Aaliyah\", \"Lorenz\", \"Neal\"), student_id (11, 15, 13), permanent_address_id (3, 15, 3), cell_mobile_number (\"(605)919-3594x3661\", \"(213)445-0399x85208\", \"436.613.7683\"), date_first_registered (\"2017-01-04 08:10:25\", \"1971-02-05 07:28:23\", \"2004-12-24 12:36:46\"), current_address_id (1, 10, 2), ssn (\"34458427\", \"34458427\", \"39\"), date_left (\"2004-12-08 05:29:11\", \"2017-07-09 21:38:43\", \"1999-08-24 00:07:10\"), email_address (\"baumbach.lucious@example.org\", \"dell43@example.net\", \"dell43@example.net\"), additional_name (\"Aaliyah\", \"Lorenz\", \"Neal\"), last_name (\"Schuppe\", \"Carroll\", \"Ward\") | student_enrolment : student_id (5, 1, 12), other_details (None), student_enrolment_id (2, 4, 9), semester_id (12, 1, 9), degree_program_id (10, 11, 5) | student_enrolment_courses : course_id (3, 14, 6), student_enrolment_id (5, 4, 6), student_course_id (681404, 83814225, 438800) | transcripts : transcript_id (10, 13, 5), transcript_date (\"1985-04-29 01:20:20\", \"1975-10-28 15:16:51\", \"2010-12-13 10:55:15\"), other_details (None) | transcript_contents : student_course_id (2, 7, 7), transcript_id (2, 13, 5)", "schema_without_content": "addresses : line_2 , state_province_county , country , other_address_details , line_1 , address_id , city , zip_postcode , line_3 | courses : other_details , course_id , course_name , course_description | departments : department_id , other_details , department_name , department_description | degree_programs : degree_program_id , degree_summary_description , degree_summary_name , other_details , department_id | sections : other_details , section_id , section_description , section_name , course_id | semesters : semester_description , other_details , semester_id , semester_name | students : other_student_details , first_name , second_name , student_id , permanent_address_id , cell_mobile_number 919-3594x3661\", \"445-0399x85208\", \"436.613.7683\", date_first_registered , current_address_id , ssn , date_left , email_address , additional_name , last_name | student_enrolment : student_id , other_details , student_enrolment_id , semester_id , degree_program_id | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "middle_name": [ "second_name", "additional_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "second_name", "additional_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "Bachelor degree program": "Degree_Programs.degree_summary_name", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "who is enrolled in a #bachelor degree program# ? list the #first name# , #middle name# , #last name# .", "db_id": "student_transcripts_tracking", "orig_query": "select distinct t1.first_name, t1.middle_name, t1.last_name from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id join degree_programs as t3 on t2.degree_program_id = t3.degree_program_id where t3.degree_summary_name = 'Bachelor'", "schema_with_content": "addresses : other_address_details (None), line_2 (\"Suite 703\", \"Suite 674\", \"Suite 674\"), line_3 (None), country (\"Saudi Arabia\", \"Lesotho\", \"Norfolk Island\"), state_province_county (\"Hawaii\", \"Wyoming\", \"Virginia\"), city (\"North Omer\", \"North Omer\", \"Lake Laishafurt\"), line_1 (\"979 Haag Shores Suite 656\", \"74046 Metz Walk Apt. 113\", \"186 Evan Motorway Apt. 409\"), zip_postcode (\"400\", \"902\", \"777\"), address_id (8, 15, 6) | courses : course_id (11, 12, 11), course_name (\"pl\", \"ai\", \"math\"), other_details (None), course_description (\"v\", \"p\", \"w\") | departments : department_name (\"biology\", \"management\", \"law\"), other_details (None), department_description (\"aliquam\", \"in\", \"dolorem\"), department_id (15, 2, 1) | degree_programs : degree_program_id (7, 9, 8), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"cumque\", \"officiis\", \"officiis\"), other_details (None), department_id (7, 2, 2) | sections : section_id (13, 11, 14), section_name (\"b\", \"u\", \"k\"), section_description (\"voluptatem\", \"provident\", \"voluptas\"), other_details (None), course_id (2, 8, 2) | semesters : semester_id (7, 6, 13), other_details (None), semester_name (\"spring 2014\", \"spring 2015\", \"spring 2019\"), semester_description (\"f\", \"w\", \"m\") | students : permanent_address_id (4, 15, 8), middle_name (\"Neal\", \"Violet\", \"Brooklyn\"), family_name (\"Christiansen\", \"Jaskolski\", \"Osinski\"), date_first_registered (\"2014-03-28 05:48:23\", \"1971-02-05 07:28:23\", \"2009-09-25 00:14:25\"), student_id (9, 7, 2), ssn (\"43\", \"3\", \"156\"), surname (\"Christiansen\", \"Jaskolski\", \"Osinski\"), cell_mobile_number (\"(982)153-1469x1733\", \"07661787471\", \"07661787471\"), first_name (\"Jordy\", \"Helga\", \"Milton\"), email_address (\"erwin.zboncak@example.com\", \"mya88@example.org\", \"dell43@example.net\"), current_address_id (15, 10, 12), date_left (\"2017-07-09 21:38:43\", \"2014-05-30 23:32:02\", \"1999-08-24 00:07:10\"), other_student_details (\"autem\", \"atque\", \"laborum\") | student_enrolment : degree_program_id (8, 8, 8), student_enrolment_id (11, 3, 4), other_details (None), semester_id (5, 1, 2), student_id (4, 4, 6) | student_enrolment_courses : student_enrolment_id (13, 10, 6), course_id (13, 10, 12), student_course_id (438800, 45105806, 0) | transcripts : other_details (None), transcript_date (\"1985-08-21 09:32:39\", \"1984-01-18 23:07:07\", \"2010-12-13 10:55:15\"), transcript_id (5, 1, 4) | transcript_contents : student_course_id (96, 8, 76), transcript_id (13, 13, 15)", "schema_without_content": "addresses : other_address_details , line_2 , line_3 , country , state_province_county , city , line_1 , zip_postcode , address_id | courses : course_id , course_name , other_details , course_description | departments : department_name , other_details , department_description , department_id | degree_programs : degree_program_id , degree_summary_name , degree_summary_description , other_details , department_id | sections : section_id , section_name , section_description , other_details , course_id | semesters : semester_id , other_details , semester_name , semester_description | students : permanent_address_id , middle_name , family_name , date_first_registered , student_id , ssn , surname , cell_mobile_number 153-1469x1733\", \"07661787471\", \"07661787471\", first_name , email_address , current_address_id , date_left , other_student_details | student_enrolment : degree_program_id , student_enrolment_id , other_details , semester_id , student_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "surname", "family_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "Bachelor degree program": "Degree_Programs.degree_summary_name", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "what are the first, middle, and last names for everybody en #rolled in a bachelors program?# ", "db_id": "student_transcripts_tracking", "orig_query": "select distinct t1.first_name, t1.middle_name, t1.last_name from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id join degree_programs as t3 on t2.degree_program_id = t3.degree_program_id where t3.degree_summary_name = 'Bachelor'", "schema_with_content": "addresses : country (\"Angola\", \"Kyrgyz Republic\", \"Croatia\"), zip_postcode (\"148\", \"847\", \"839\"), address_id (1, 1, 5), line_2 (\"Suite 703\", \"Apt. 388\", \"Apt. 335\"), line_3 (None), other_address_details (None), city (\"Mariliehaven\", \"Lake Careyberg\", \"Mariliehaven\"), state_province_county (\"Hawaii\", \"Hawaii\", \"Idaho\"), line_1 (\"193 Marlin Brook\", \"74046 Metz Walk Apt. 113\", \"492 Wilkinson Route\") | courses : course_name (\"dl\", \"la\", \"la\"), course_description (\"w\", \"p\", \"d\"), other_details (None), course_id (2, 2, 8) | departments : other_details (None), department_name (\"biology\", \"dance\", \"dance\"), department_id (14, 10, 5), department_description (\"consequatur\", \"autem\", \"error\") | degree_programs : department_id (13, 3, 4), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (8, 9, 1), other_details (None), degree_summary_description (\"placeat\", \"qui\", \"earum\") | sections : other_details (None), section_name (\"c\", \"y\", \"g\"), section_id (4, 14, 11), course_id (1, 14, 14), section_description (\"ex\", \"voluptatem\", \"reprehenderit\") | semesters : semester_description (\"y\", \"c\", \"y\"), other_details (None), semester_name (\"spring 2018\", \"spring 2012\", \"spring 2013\"), semester_id (6, 13, 15) | students : date_first_registered (\"2014-03-28 05:48:23\", \"1982-02-14 08:46:35\", \"2009-09-25 00:14:25\"), ssn (\"248\", \"494\", \"6274274\"), date_left (\"2017-07-09 21:38:43\", \"1971-05-17 19:28:49\", \"1982-06-11 00:25:39\"), current_address_id (1, 15, 6), permanent_address_id (9, 9, 9), email_address (\"skassulke@example.net\", \"lhartmann@example.org\", \"skassulke@example.net\"), student_id (8, 13, 4), forename (\"Jordy\", \"Orrin\", \"Frida\"), other_student_details (\"rerum\", \"omnis\", \"omnis\"), cell_mobile_number (\"09700166582\", \"03174364122\", \"(462)246-7921\"), given_name (\"Jordy\", \"Orrin\", \"Frida\"), middle_name (\"Judd\", \"Vaughn\", \"Osborne\"), last_name (\"Ankunding\", \"Schuppe\", \"Rogahn\") | student_enrolment : degree_program_id (3, 5, 3), student_enrolment_id (15, 15, 8), other_details (None), semester_id (5, 4, 12), student_id (4, 14, 4) | student_enrolment_courses : student_enrolment_id (10, 14, 10), course_id (4, 14, 4), student_course_id (7, 0, 9860) | transcripts : other_details (None), transcript_date (\"1975-10-28 15:16:51\", \"1998-11-22 12:18:29\", \"1990-03-05 11:59:41\"), transcript_id (10, 3, 4) | transcript_contents : student_course_id (2, 7, 0), transcript_id (9, 6, 4)", "schema_without_content": "addresses : country , zip_postcode , address_id , line_2 , line_3 , other_address_details , city , state_province_county , line_1 | courses : course_name , course_description , other_details , course_id | departments : other_details , department_name , department_id , department_description | degree_programs : department_id , degree_summary_name , degree_program_id , other_details , degree_summary_description | sections : other_details , section_name , section_id , course_id , section_description | semesters : semester_description , other_details , semester_name , semester_id | students : date_first_registered , ssn , date_left , current_address_id , permanent_address_id , email_address , student_id , forename , other_student_details , cell_mobile_number 246-7921\", given_name , middle_name , last_name | student_enrolment : degree_program_id , student_enrolment_id , other_details , semester_id , student_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "forename", "given_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "rolled in a Bachelors program?": "Degree_Programs.degree_summary_name", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name", "enrolled": "Student_Enrolment" } }, { "question": "what are the first, middle, and last names for everybody en #rolled in a bachelors program?# ", "db_id": "student_transcripts_tracking", "orig_query": "select distinct t1.first_name, t1.middle_name, t1.last_name from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id join degree_programs as t3 on t2.degree_program_id = t3.degree_program_id where t3.degree_summary_name = 'Bachelor'", "schema_with_content": "addresses : other_address_details (None), city (\"Michelleburgh\", \"Goodwinhaven\", \"Mariliehaven\"), line_1 (\"67942 Carlotta Ferry Apt. 686\", \"7081 Eda Center\", \"3999 Aufderhar Ways Suite 593\"), zip_postcode (\"902\", \"902\", \"068\"), country (\"Angola\", \"New Caledonia\", \"Haiti\"), state_province_county (\"Florida\", \"Washington\", \"Washington\"), address_id (14, 8, 12), line_2 (\"Apt. 583\", \"Apt. 388\", \"Suite 079\"), line_3 (None) | courses : course_name (\"fr\", \"en\", \"math\"), other_details (None), course_description (\"n\", \"b\", \"c\"), course_id (2, 10, 1) | departments : department_id (7, 1, 7), other_details (None), department_description (\"doloribus\", \"ea\", \"dolorem\"), department_name (\"medical\", \"economics\", \"drama\") | degree_programs : department_id (8, 12, 3), degree_program_id (9, 13, 1), degree_summary_description (\"unde\", \"placeat\", \"esse\"), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_name (\"y\", \"j\", \"j\"), section_description (\"ex\", \"et\", \"voluptas\"), section_id (3, 3, 11), other_details (None), course_id (8, 2, 9) | semesters : other_details (None), semester_description (\"l\", \"y\", \"m\"), semester_name (\"winter 2010\", \"spring 2019\", \"spring 2014\"), semester_id (13, 2, 8) | students : additional_name (\"Alberta\", \"Aaliyah\", \"Aisha\"), date_first_registered (\"1986-02-24 21:12:23\", \"1997-03-20 16:47:25\", \"2014-03-28 05:48:23\"), other_student_details (\"non\", \"laborum\", \"atque\"), date_left (\"1971-05-17 19:28:49\", \"2007-03-31 09:53:19\", \"1997-11-16 08:54:33\"), second_name (\"Alberta\", \"Aaliyah\", \"Aisha\"), first_name (\"Jarvis\", \"Hobart\", \"Helga\"), permanent_address_id (8, 11, 11), ssn (\"304246\", \"141072406\", \"304246\"), student_id (13, 15, 10), current_address_id (14, 15, 2), email_address (\"jhuel@example.com\", \"jillian26@example.net\", \"beth42@example.org\"), last_name (\"Weimann\", \"Carroll\", \"Ankunding\"), cell_mobile_number (\"07661787471\", \"(096)889-8954x524\", \"(213)445-0399x85208\") | student_enrolment : student_enrolment_id (7, 13, 14), degree_program_id (9, 2, 10), semester_id (9, 6, 15), other_details (None), student_id (6, 12, 1) | student_enrolment_courses : student_enrolment_id (8, 8, 10), student_course_id (83814225, 8, 7), course_id (11, 2, 4) | transcripts : transcript_id (7, 2, 6), transcript_date (\"1985-08-21 09:32:39\", \"1975-05-06 12:04:47\", \"1990-03-05 11:59:41\"), other_details (None) | transcript_contents : transcript_id (2, 5, 13), student_course_id (96, 0, 76)", "schema_without_content": "addresses : other_address_details , city , line_1 , zip_postcode , country , state_province_county , address_id , line_2 , line_3 | courses : course_name , other_details , course_description , course_id | departments : department_id , other_details , department_description , department_name | degree_programs : department_id , degree_program_id , degree_summary_description , other_details , degree_summary_name | sections : section_name , section_description , section_id , other_details , course_id | semesters : other_details , semester_description , semester_name , semester_id | students : additional_name , date_first_registered , other_student_details , date_left , second_name , first_name , permanent_address_id , ssn , student_id , current_address_id , email_address , last_name , cell_mobile_number 889-8954x524\", \"445-0399x85208\" | student_enrolment : student_enrolment_id , degree_program_id , semester_id , other_details , student_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "middle_name": [ "second_name", "additional_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "second_name", "additional_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "rolled in a Bachelors program?": "Degree_Programs.degree_summary_name", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name", "enrolled": "Student_Enrolment" } }, { "question": "what are the first, middle, and last names for everybody en #rolled in a bachelors program?# ", "db_id": "student_transcripts_tracking", "orig_query": "select distinct t1.first_name, t1.middle_name, t1.last_name from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id join degree_programs as t3 on t2.degree_program_id = t3.degree_program_id where t3.degree_summary_name = 'Bachelor'", "schema_with_content": "addresses : country (\"Angola\", \"Croatia\", \"Haiti\"), line_1 (\"9283 Schulist Falls Apt. 037\", \"492 Wilkinson Route\", \"979 Haag Shores Suite 656\"), state_province_county (\"SouthDakota\", \"Idaho\", \"Florida\"), line_3 (None), address_id (12, 15, 15), line_2 (\"Suite 383\", \"Suite 383\", \"Suite 383\"), other_address_details (None), city (\"Rutherfordtown\", \"Mariliehaven\", \"Lake Laishafurt\"), zip_postcode (\"148\", \"895\", \"386\") | courses : course_name (\"ml\", \"fr\", \"math\"), course_description (\"w\", \"c\", \"b\"), course_id (7, 10, 9), other_details (None) | departments : department_description (\"aliquam\", \"dolorem\", \"nostrum\"), department_name (\"engineer\", \"linguistic\", \"computer science\"), department_id (3, 7, 6), other_details (None) | degree_programs : degree_program_id (7, 6, 15), department_id (4, 12, 14), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"cumque\", \"earum\", \"aut\"), other_details (None) | sections : course_id (10, 8, 4), other_details (None), section_description (\"voluptatem\", \"reprehenderit\", \"et\"), section_id (3, 7, 10), section_name (\"h\", \"h\", \"k\") | semesters : semester_id (2, 12, 4), other_details (None), semester_name (\"spring 2016\", \"spring 2014\", \"fall 2018\"), semester_description (\"t\", \"m\", \"g\") | students : current_address_id (10, 1, 6), student_id (9, 15, 15), surname (\"Rempel\", \"Kemmer\", \"Balistreri\"), other_student_details (\"nesciunt\", \"assumenda\", \"omnis\"), permanent_address_id (11, 8, 9), middle_name (\"Aisha\", \"Neal\", \"Vaughn\"), date_left (\"2013-10-05 17:41:28\", \"2014-05-30 23:32:02\", \"2007-08-02 04:12:58\"), date_first_registered (\"2007-08-29 23:25:41\", \"2018-03-13 09:56:22\", \"1989-05-24 23:31:29\"), ssn (\"494\", \"43\", \"965\"), email_address (\"dell43@example.net\", \"johns.unique@example.net\", \"jhuel@example.com\"), family_name (\"Rempel\", \"Kemmer\", \"Balistreri\"), first_name (\"Orrin\", \"Hobart\", \"Stanford\"), cell_mobile_number (\"1-879-796-8987x164\", \"07661787471\", \"877.549.9067x8723\") | student_enrolment : student_enrolment_id (5, 3, 14), student_id (7, 5, 4), semester_id (4, 4, 6), other_details (None), degree_program_id (4, 9, 10) | student_enrolment_courses : student_course_id (96, 7, 96), student_enrolment_id (4, 14, 13), course_id (12, 11, 12) | transcripts : transcript_id (14, 9, 1), transcript_date (\"1984-12-19 00:37:21\", \"1985-04-29 01:20:20\", \"2010-12-13 10:55:15\"), other_details (None) | transcript_contents : student_course_id (2, 70882679, 45105806), transcript_id (12, 4, 11)", "schema_without_content": "addresses : country , line_1 , state_province_county , line_3 , address_id , line_2 , other_address_details , city , zip_postcode | courses : course_name , course_description , course_id , other_details | departments : department_description , department_name , department_id , other_details | degree_programs : degree_program_id , department_id , degree_summary_name , degree_summary_description , other_details | sections : course_id , other_details , section_description , section_id , section_name | semesters : semester_id , other_details , semester_name , semester_description | students : current_address_id , student_id , surname , other_student_details , permanent_address_id , middle_name , date_left , date_first_registered , ssn , email_address , family_name , first_name , cell_mobile_number | student_enrolment : student_enrolment_id , student_id , semester_id , other_details , degree_program_id | student_enrolment_courses : student_course_id , student_enrolment_id , course_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "surname", "family_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "rolled in a Bachelors program?": "Degree_Programs.degree_summary_name", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name", "enrolled": "Student_Enrolment" } }, { "question": "find the #kind of program# which most number of #students are enrolled in# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.degree_summary_name from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id group by t1.degree_summary_name order by count(*) desc limit 1", "schema_with_content": "addresses : line_1 (\"2294 Grant Square Apt. 235\", \"7081 Eda Center\", \"193 Marlin Brook\"), address_id (10, 15, 6), line_2 (\"Suite 865\", \"Apt. 335\", \"Suite 830\"), other_address_details (None), line_3 (None), zip_postcode (\"839\", \"839\", \"847\"), city (\"Lake Laishafurt\", \"Prohaskafort\", \"Port Oceane\"), country (\"Croatia\", \"Lesotho\", \"Bermuda\"), state_province_county (\"Kansas\", \"Kansas\", \"Arkansas\") | courses : course_description (\"c\", \"v\", \"q\"), course_id (9, 15, 12), other_details (None), course_name (\"cal\", \"nlp\", \"rs\") | departments : department_id (1, 12, 9), department_name (\"history\", \"medical\", \"engineer\"), other_details (None), department_description (\"autem\", \"nihil\", \"nisi\") | degree_programs : program_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"voluptas\", \"aperiam\", \"cumque\"), degree_program_id (5, 10, 7), department_id (4, 7, 4), other_details (None), degree_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_description (\"et\", \"ad\", \"quis\"), course_id (8, 8, 10), other_details (None), section_name (\"d\", \"j\", \"j\"), section_id (15, 13, 10) | semesters : other_details (None), semester_name (\"winter 2010\", \"winter 2018\", \"fall 2010\"), semester_id (10, 15, 15), semester_description (\"t\", \"m\", \"y\") | students : date_left (\"2007-03-31 09:53:19\", \"2004-12-08 05:29:11\", \"2007-03-31 09:53:19\"), last_name (\"Schuppe\", \"Gleichner\", \"Osinski\"), cell_mobile_number (\"07661787471\", \"(982)153-1469x1733\", \"(982)153-1469x1733\"), ssn (\"402\", \"3\", \"494\"), email_address (\"nya.lesch@example.net\", \"jhuel@example.com\", \"swift.kolby@example.com\"), current_address_id (9, 7, 14), other_student_details (\"non\", \"facilis\", \"autem\"), middle_name (\"Osborne\", \"Anna\", \"Brooklyn\"), first_name (\"Jarvis\", \"Hobart\", \"Jarvis\"), date_first_registered (\"1982-06-19 13:15:18\", \"1982-02-14 08:46:35\", \"2017-01-04 08:10:25\"), permanent_address_id (15, 5, 9), student_id (15, 12, 6) | student_enrolment : student_id (12, 5, 5), semester_id (4, 13, 6), student_enrolment_id (10, 4, 6), other_details (None), degree_program_id (5, 8, 2) | student_enrolment_courses : course_id (6, 2, 8), student_course_id (1, 9860, 438800), student_enrolment_id (13, 2, 13) | transcripts : other_details (None), transcript_id (15, 12, 10), transcript_date (\"1975-10-28 15:16:51\", \"1985-08-21 09:32:39\", \"1975-10-28 15:16:51\") | transcript_contents : student_course_id (76, 76, 2), transcript_id (15, 5, 9)", "schema_without_content": "addresses : line_1 , address_id , line_2 , other_address_details , line_3 , zip_postcode , city , country , state_province_county | courses : course_description , course_id , other_details , course_name | departments : department_id , department_name , other_details , department_description | degree_programs : program_name , degree_summary_description , degree_program_id , department_id , other_details , degree_name | sections : section_description , course_id , other_details , section_name , section_id | semesters : other_details , semester_name , semester_id , semester_description | students : date_left , last_name , cell_mobile_number 153-1469x1733\", \"153-1469x1733\", ssn , email_address , current_address_id , other_student_details , middle_name , first_name , date_first_registered , permanent_address_id , student_id | student_enrolment : student_id , semester_id , student_enrolment_id , other_details , degree_program_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "degree_programs": { "degree_summary_name": [ "program_name", "degree_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_description", "other_details", "program_name", "degree_name" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "kind of program": "Degree_Programs.degree_summary_name", "students are enrolled in": "Student_Enrolment" } }, { "question": "what is the #degree summary name# that has the most number of #students enrolled# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.degree_summary_name from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id group by t1.degree_summary_name order by count(*) desc limit 1", "schema_with_content": "addresses : line_2 (\"Suite 239\", \"Suite 079\", \"Suite 079\"), state_province_county (\"SouthDakota\", \"NorthCarolina\", \"Virginia\"), city (\"Port Chelsea\", \"Michelleburgh\", \"Goodwinhaven\"), country (\"Haiti\", \"Norfolk Island\", \"New Caledonia\"), line_1 (\"74046 Metz Walk Apt. 113\", \"202 Hessel Views Apt. 468\", \"492 Wilkinson Route\"), other_address_details (None), line_3 (None), address_id (9, 2, 13), zip_postcode (\"386\", \"943\", \"446\") | courses : course_description (\"p\", \"v\", \"c\"), other_details (None), course_id (5, 14, 15), course_name (\"dl\", \"math\", \"db\") | departments : department_id (10, 3, 13), department_description (\"non\", \"aliquam\", \"nostrum\"), department_name (\"geography\", \"linguistic\", \"biology\"), other_details (None) | degree_programs : other_details (None), degree_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (15, 9, 8), degree_summary_description (\"quam\", \"architecto\", \"earum\"), program_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (11, 14, 13) | sections : section_description (\"reprehenderit\", \"et\", \"quis\"), other_details (None), section_name (\"k\", \"k\", \"l\"), course_id (1, 2, 8), section_id (4, 9, 13) | semesters : other_details (None), semester_name (\"spring 2015\", \"spring 2016\", \"spring 2015\"), semester_description (\"t\", \"m\", \"f\"), semester_id (1, 2, 3) | students : last_name (\"Ankunding\", \"Weimann\", \"Mohr\"), date_left (\"1982-06-11 00:25:39\", \"2016-04-09 12:27:04\", \"1975-10-09 00:49:27\"), other_student_details (\"et\", \"omnis\", \"assumenda\"), date_first_registered (\"2018-03-13 09:56:22\", \"1986-02-24 21:12:23\", \"2017-01-04 08:10:25\"), student_id (12, 13, 10), current_address_id (14, 9, 12), cell_mobile_number (\"171-642-5684\", \"09700166582\", \"171-642-5684\"), ssn (\"965\", \"965\", \"668\"), permanent_address_id (9, 14, 8), middle_name (\"Golda\", \"Anna\", \"Aaliyah\"), email_address (\"mya88@example.org\", \"lhartmann@example.org\", \"skassulke@example.net\"), first_name (\"Delaney\", \"Orrin\", \"Jett\") | student_enrolment : degree_program_id (9, 3, 2), student_enrolment_id (4, 13, 13), other_details (None), student_id (14, 6, 4), semester_id (5, 4, 13) | student_enrolment_courses : student_enrolment_id (13, 14, 9), student_course_id (83814225, 83814225, 438800), course_id (13, 6, 3) | transcripts : transcript_id (15, 4, 4), transcript_date (\"1975-10-28 15:16:51\", \"1975-05-20 18:31:21\", \"1986-07-12 07:27:29\"), other_details (None) | transcript_contents : student_course_id (70882679, 70882679, 2), transcript_id (5, 2, 8)", "schema_without_content": "addresses : line_2 , state_province_county , city , country , line_1 , other_address_details , line_3 , address_id , zip_postcode | courses : course_description , other_details , course_id , course_name | departments : department_id , department_description , department_name , other_details | degree_programs : other_details , degree_name , degree_program_id , degree_summary_description , program_name , department_id | sections : section_description , other_details , section_name , course_id , section_id | semesters : other_details , semester_name , semester_description , semester_id | students : last_name , date_left , other_student_details , date_first_registered , student_id , current_address_id , cell_mobile_number , ssn , permanent_address_id , middle_name , email_address , first_name | student_enrolment : degree_program_id , student_enrolment_id , other_details , student_id , semester_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "degree_programs": { "degree_summary_name": [ "program_name", "degree_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_description", "other_details", "program_name", "degree_name" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "degree summary name": "Degree_Programs.degree_summary_name", "students enrolled": "Student_Enrolment" } }, { "question": "what is the #program id# and the #summary of the degree# that has the most #students enrolled# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.degree_program_id, t1.degree_summary_name from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id group by t1.degree_program_id order by count(*) desc limit 1", "schema_with_content": "addresses : other_address_details (None), zip_postcode (\"590\", \"943\", \"148\"), address_id (10, 8, 10), line_3 (None), city (\"Michelleburgh\", \"Prohaskafort\", \"Rutherfordtown\"), state_province_county (\"WestVirginia\", \"SouthDakota\", \"Kentucky\"), country (\"Angola\", \"Kyrgyz Republic\", \"Kyrgyz Republic\"), line_1 (\"3999 Aufderhar Ways Suite 593\", \"67942 Carlotta Ferry Apt. 686\", \"202 Hessel Views Apt. 468\"), line_2 (\"Suite 674\", \"Suite 383\", \"Suite 674\") | courses : course_id (9, 7, 6), other_details (None), course_name (\"os\", \"db\", \"rs\"), course_description (\"l\", \"l\", \"w\") | departments : department_id (15, 7, 5), department_name (\"biology\", \"drama\", \"biology\"), department_description (\"ea\", \"nostrum\", \"doloribus\"), other_details (None) | degree_programs : other_details (None), program_id (3, 1, 8), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), credential_id (3, 1, 8), degree_summary_description (\"esse\", \"aperiam\", \"assumenda\"), department_id (13, 11, 12) | sections : section_name (\"o\", \"u\", \"u\"), other_details (None), section_id (5, 4, 7), section_description (\"voluptas\", \"et\", \"facilis\"), course_id (6, 9, 6) | semesters : other_details (None), semester_name (\"summer 2010\", \"spring 2016\", \"spring 2015\"), semester_description (\"q\", \"f\", \"q\"), semester_id (6, 4, 1) | students : last_name (\"Weimann\", \"Jaskolski\", \"Ankunding\"), permanent_address_id (3, 9, 9), date_left (\"1971-05-17 19:28:49\", \"2016-04-09 12:27:04\", \"2007-08-02 04:12:58\"), email_address (\"dell43@example.net\", \"swift.kolby@example.com\", \"gracie29@example.com\"), ssn (\"494\", \"304246\", \"68095\"), cell_mobile_number (\"877.549.9067x8723\", \"(507)365-8405\", \"(507)365-8405\"), middle_name (\"Neal\", \"Osborne\", \"Violet\"), first_name (\"Hobart\", \"Reva\", \"Jarvis\"), student_id (8, 14, 15), other_student_details (\"assumenda\", \"quia\", \"nesciunt\"), current_address_id (6, 6, 12), date_first_registered (\"2005-12-15 08:42:10\", \"1982-06-19 13:15:18\", \"1982-02-14 08:46:35\") | student_enrolment : student_enrolment_id (4, 9, 13), student_id (12, 4, 14), degree_program_id (12, 12, 8), other_details (None), semester_id (2, 6, 5) | student_enrolment_courses : student_course_id (83814225, 0, 9860), student_enrolment_id (10, 10, 8), course_id (11, 3, 12) | transcripts : transcript_id (4, 7, 3), transcript_date (\"1985-08-21 09:32:39\", \"1985-08-21 09:32:39\", \"1975-05-06 12:04:47\"), other_details (None) | transcript_contents : transcript_id (12, 15, 12), student_course_id (0, 0, 7)", "schema_without_content": "addresses : other_address_details , zip_postcode , address_id , line_3 , city , state_province_county , country , line_1 , line_2 | courses : course_id , other_details , course_name , course_description | departments : department_id , department_name , department_description , other_details | degree_programs : other_details , program_id , degree_summary_name , credential_id , degree_summary_description , department_id | sections : section_name , other_details , section_id , section_description , course_id | semesters : other_details , semester_name , semester_description , semester_id | students : last_name , permanent_address_id , date_left , email_address , ssn , cell_mobile_number 365-8405\", \"365-8405\", middle_name , first_name , student_id , other_student_details , current_address_id , date_first_registered | student_enrolment : student_enrolment_id , student_id , degree_program_id , other_details , semester_id | student_enrolment_courses : student_course_id , student_enrolment_id , course_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "degree_programs": { "degree_program_id": [ "program_id", "credential_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "department_id", "degree_summary_name", "degree_summary_description", "other_details", "program_id", "credential_id" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "program id": "Degree_Programs.degree_program_id", "summary of the degree": "Degree_Programs.degree_summary_name", "students enrolled": "Student_Enrolment" } }, { "question": "what is the #program id# and the #summary of the degree# that has the most #students enrolled# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.degree_program_id, t1.degree_summary_name from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id group by t1.degree_program_id order by count(*) desc limit 1", "schema_with_content": "addresses : city (\"Herzoghaven\", \"Goodwinhaven\", \"Port Elvisfurt\"), line_2 (\"Apt. 468\", \"Suite 383\", \"Apt. 370\"), country (\"Burundi\", \"Gibraltar\", \"Croatia\"), state_province_county (\"Florida\", \"Arkansas\", \"Wyoming\"), line_1 (\"7081 Eda Center\", \"193 Marlin Brook\", \"3999 Aufderhar Ways Suite 593\"), other_address_details (None), address_id (5, 14, 12), zip_postcode (\"590\", \"669\", \"446\"), line_3 (None) | courses : course_description (\"p\", \"d\", \"p\"), other_details (None), course_name (\"nlp\", \"db\", \"rs\"), course_id (12, 3, 3) | departments : department_name (\"medical\", \"statistics\", \"math\"), department_description (\"non\", \"error\", \"nihil\"), other_details (None), department_id (15, 3, 7) | degree_programs : department_id (2, 12, 8), degree_program_id (6, 11, 10), program_name (\"Master\", \"Bachelor\", \"PHD\"), degree_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), degree_summary_description (\"quam\", \"officiis\", \"aperiam\") | sections : course_id (14, 9, 4), section_id (14, 3, 3), other_details (None), section_description (\"non\", \"voluptatem\", \"doloremque\"), section_name (\"g\", \"l\", \"u\") | semesters : semester_id (12, 14, 14), other_details (None), semester_name (\"spring 2016\", \"spring 2012\", \"spring 2019\"), semester_description (\"t\", \"c\", \"c\") | students : permanent_address_id (8, 3, 5), other_student_details (\"dolorum\", \"autem\", \"rerum\"), middle_name (\"Lorenz\", \"Vaughn\", \"Aisha\"), date_left (\"2006-08-04 17:26:49\", \"2017-07-09 21:38:43\", \"2006-08-04 17:26:49\"), last_name (\"Carroll\", \"Mohr\", \"Huel\"), student_id (6, 4, 5), first_name (\"Warren\", \"Gregg\", \"Orrin\"), date_first_registered (\"1971-02-05 07:28:23\", \"1982-02-14 08:46:35\", \"2017-01-04 08:10:25\"), current_address_id (12, 6, 14), email_address (\"erwin.zboncak@example.com\", \"skassulke@example.net\", \"mya88@example.org\"), ssn (\"43\", \"43\", \"668\"), cell_mobile_number (\"09700166582\", \"436.613.7683\", \"1-879-796-8987x164\") | student_enrolment : student_enrolment_id (5, 8, 9), semester_id (5, 6, 1), other_details (None), degree_program_id (10, 3, 11), student_id (6, 6, 4) | student_enrolment_courses : student_enrolment_id (5, 14, 5), student_course_id (96, 2, 2), course_id (12, 3, 12) | transcripts : transcript_id (10, 11, 15), other_details (None), transcript_date (\"2013-06-30 13:01:40\", \"2013-06-30 13:01:40\", \"1988-04-30 01:19:47\") | transcript_contents : student_course_id (0, 7, 2), transcript_id (11, 6, 4)", "schema_without_content": "addresses : city , line_2 , country , state_province_county , line_1 , other_address_details , address_id , zip_postcode , line_3 | courses : course_description , other_details , course_name , course_id | departments : department_name , department_description , other_details , department_id | degree_programs : department_id , degree_program_id , program_name , degree_name , other_details , degree_summary_description | sections : course_id , section_id , other_details , section_description , section_name | semesters : semester_id , other_details , semester_name , semester_description | students : permanent_address_id , other_student_details , middle_name , date_left , last_name , student_id , first_name , date_first_registered , current_address_id , email_address , ssn , cell_mobile_number | student_enrolment : student_enrolment_id , semester_id , other_details , degree_program_id , student_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : transcript_id , other_details , transcript_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "degree_programs": { "degree_summary_name": [ "program_name", "degree_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_description", "other_details", "program_name", "degree_name" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "program id": "Degree_Programs.degree_program_id", "summary of the degree": "Degree_Programs.degree_summary_name", "students enrolled": "Student_Enrolment" } }, { "question": "which student has enrolled for the most times in any program? list the id, #first name# , #middle name# , #last name# , the #number of enrollments# and #student id# .", "db_id": "student_transcripts_tracking", "orig_query": "select t1.student_id, t1.first_name, t1.middle_name, t1.last_name, count(*), t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id order by count(*) desc limit 1", "schema_with_content": "addresses : line_3 (None), country (\"Iceland\", \"New Caledonia\", \"Saudi Arabia\"), zip_postcode (\"839\", \"541\", \"400\"), state_province_county (\"Florida\", \"Delaware\", \"Kansas\"), line_1 (\"67942 Carlotta Ferry Apt. 686\", \"979 Haag Shores Suite 656\", \"492 Wilkinson Route\"), address_id (3, 14, 8), city (\"Michelleburgh\", \"Port Evanston\", \"Port Oceane\"), line_2 (\"Apt. 335\", \"Apt. 305\", \"Apt. 335\"), other_address_details (None) | courses : course_name (\"rs\", \"rs\", \"db\"), course_id (10, 9, 8), other_details (None), course_description (\"q\", \"q\", \"w\") | departments : department_name (\"art\", \"economics\", \"linguistic\"), department_description (\"error\", \"dolorem\", \"in\"), department_id (10, 9, 14), other_details (None) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), department_id (2, 4, 7), degree_program_id (13, 7, 12), degree_summary_description (\"placeat\", \"voluptas\", \"voluptas\") | sections : section_id (8, 7, 2), section_description (\"ad\", \"reprehenderit\", \"voluptas\"), course_id (14, 7, 12), other_details (None), section_name (\"f\", \"j\", \"h\") | semesters : semester_name (\"fall 2010\", \"spring 2010\", \"spring 2018\"), other_details (None), semester_id (9, 12, 11), semester_description (\"c\", \"x\", \"c\") | students : id (13, 12, 1), other_student_details (\"quia\", \"atque\", \"voluptatem\"), first_name (\"Jordy\", \"Timmothy\", \"Timmothy\"), date_first_registered (\"1971-02-05 07:28:23\", \"2018-03-13 09:56:22\", \"1982-06-19 13:15:18\"), date_left (\"2013-10-05 17:41:28\", \"2016-04-09 12:27:04\", \"2007-08-02 04:12:58\"), middle_name (\"Osborne\", \"Anna\", \"Mossie\"), current_address_id (1, 6, 6), enrollment_id (13, 12, 1), last_name (\"Carroll\", \"Ankunding\", \"Ankunding\"), ssn (\"965\", \"248\", \"965\"), email_address (\"baumbach.lucious@example.org\", \"dell43@example.net\", \"erwin.zboncak@example.com\"), cell_mobile_number (\"1-009-710-5151\", \"171-642-5684\", \"677.401.9382\"), permanent_address_id (9, 11, 11) | student_enrolment : semester_id (12, 2, 12), student_id (14, 1, 7), degree_program_id (12, 9, 3), other_details (None), student_enrolment_id (7, 9, 13) | student_enrolment_courses : course_id (6, 14, 10), student_course_id (7, 438800, 0), student_enrolment_id (9, 4, 2) | transcripts : transcript_id (8, 7, 3), other_details (None), transcript_date (\"1975-10-28 15:16:51\", \"2013-06-30 13:01:40\", \"2013-06-30 13:01:40\") | transcript_contents : transcript_id (11, 5, 9), student_course_id (8, 45105806, 96)", "schema_without_content": "addresses : line_3 , country , zip_postcode , state_province_county , line_1 , address_id , city , line_2 , other_address_details | courses : course_name , course_id , other_details , course_description | departments : department_name , department_description , department_id , other_details | degree_programs : degree_summary_name , other_details , department_id , degree_program_id , degree_summary_description | sections : section_id , section_description , course_id , other_details , section_name | semesters : semester_name , other_details , semester_id , semester_description | students : id , other_student_details , first_name , date_first_registered , date_left , middle_name , current_address_id , enrollment_id , last_name , ssn , email_address , cell_mobile_number , permanent_address_id | student_enrolment : semester_id , student_id , degree_program_id , other_details , student_enrolment_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : transcript_id , other_details , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "student_id": [ "id", "enrollment_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "id", "enrollment_id" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name", "number of enrollments": "Student_Enrolment.student_id", "student id": "Students.student_id" } }, { "question": "which student has enrolled for the most times in any program? list the id, #first name# , #middle name# , #last name# , the #number of enrollments# and #student id# .", "db_id": "student_transcripts_tracking", "orig_query": "select t1.student_id, t1.first_name, t1.middle_name, t1.last_name, count(*), t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id order by count(*) desc limit 1", "schema_with_content": "addresses : country (\"Lesotho\", \"Lesotho\", \"New Caledonia\"), address_id (13, 9, 13), city (\"Herzoghaven\", \"Herzoghaven\", \"Lake Careyberg\"), line_3 (None), zip_postcode (\"847\", \"847\", \"777\"), state_province_county (\"Kansas\", \"Kentucky\", \"Delaware\"), other_address_details (None), line_2 (\"Suite 239\", \"Suite 703\", \"Suite 830\"), line_1 (\"202 Hessel Views Apt. 468\", \"74046 Metz Walk Apt. 113\", \"67942 Carlotta Ferry Apt. 686\") | courses : course_description (\"b\", \"d\", \"n\"), course_name (\"ai\", \"ai\", \"ds\"), course_id (4, 14, 10), other_details (None) | departments : department_name (\"biology\", \"math\", \"art\"), department_id (5, 10, 5), department_description (\"nostrum\", \"consequatur\", \"aliquam\"), other_details (None) | degree_programs : department_id (12, 2, 14), other_details (None), degree_summary_description (\"placeat\", \"unde\", \"voluptas\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (5, 15, 1) | sections : section_id (3, 10, 15), section_name (\"l\", \"h\", \"u\"), other_details (None), course_id (14, 12, 9), section_description (\"qui\", \"qui\", \"facilis\") | semesters : semester_name (\"spring 2013\", \"spring 2019\", \"spring 2019\"), semester_id (4, 1, 14), semester_description (\"m\", \"y\", \"l\"), other_details (None) | students : cell_mobile_number (\"03174364122\", \"1-009-710-5151\", \"(462)246-7921\"), email_address (\"nya.lesch@example.net\", \"jillian26@example.net\", \"beth42@example.org\"), date_left (\"2013-10-05 17:41:28\", \"1982-06-11 00:25:39\", \"2007-11-28 12:50:21\"), permanent_address_id (5, 3, 11), student_id (3, 12, 4), last_name (\"Rogahn\", \"Weimann\", \"Mohr\"), current_address_id (15, 15, 10), given_name (\"Reva\", \"Gregg\", \"Jordy\"), other_student_details (\"atque\", \"qui\", \"dolorum\"), forename (\"Reva\", \"Gregg\", \"Jordy\"), ssn (\"494\", \"\", \"402\"), middle_name (\"Osborne\", \"Violet\", \"Osborne\"), date_first_registered (\"1982-06-19 13:15:18\", \"2004-12-24 12:36:46\", \"1986-02-24 21:12:23\") | student_enrolment : student_enrolment_id (15, 2, 12), other_details (None), semester_id (5, 4, 5), degree_program_id (5, 4, 10), student_id (14, 5, 4) | student_enrolment_courses : student_course_id (438800, 45105806, 83814225), course_id (13, 6, 12), student_enrolment_id (2, 13, 10) | transcripts : other_details (None), transcript_date (\"1986-07-12 07:27:29\", \"1975-05-06 12:04:47\", \"1990-03-05 11:59:41\"), transcript_id (3, 12, 15) | transcript_contents : transcript_id (9, 6, 13), student_course_id (45105806, 45105806, 45105806)", "schema_without_content": "addresses : country , address_id , city , line_3 , zip_postcode , state_province_county , other_address_details , line_2 , line_1 | courses : course_description , course_name , course_id , other_details | departments : department_name , department_id , department_description , other_details | degree_programs : department_id , other_details , degree_summary_description , degree_summary_name , degree_program_id | sections : section_id , section_name , other_details , course_id , section_description | semesters : semester_name , semester_id , semester_description , other_details | students : cell_mobile_number 246-7921\", email_address , date_left , permanent_address_id , student_id , last_name , current_address_id , given_name , other_student_details , forename , ssn , middle_name , date_first_registered | student_enrolment : student_enrolment_id , other_details , semester_id , degree_program_id , student_id | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "forename", "given_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name", "number of enrollments": "Student_Enrolment.student_id", "student id": "Students.student_id" } }, { "question": "which student has enrolled for the most times in any program? list the id, #first name# , #middle name# , #last name# , the #number of enrollments# and #student id# .", "db_id": "student_transcripts_tracking", "orig_query": "select t1.student_id, t1.first_name, t1.middle_name, t1.last_name, count(*), t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id order by count(*) desc limit 1", "schema_with_content": "addresses : country (\"Burundi\", \"New Caledonia\", \"Burundi\"), city (\"Lake Laishafurt\", \"Port Chelsea\", \"Lake Laishafurt\"), line_3 (None), line_2 (\"Suite 703\", \"Apt. 305\", \"Suite 383\"), address_id (6, 6, 11), line_1 (\"492 Wilkinson Route\", \"858 Peggie Bypass Suite 212\", \"193 Marlin Brook\"), zip_postcode (\"386\", \"068\", \"541\"), other_address_details (None), state_province_county (\"Delaware\", \"Delaware\", \"Virginia\") | courses : other_details (None), course_description (\"l\", \"k\", \"w\"), course_name (\"ai\", \"oop\", \"rs\"), course_id (1, 9, 12) | departments : other_details (None), department_name (\"engineer\", \"dance\", \"medical\"), department_description (\"nihil\", \"nisi\", \"doloribus\"), department_id (11, 15, 8) | degree_programs : other_details (None), degree_program_id (6, 8, 10), department_id (8, 11, 13), degree_summary_description (\"voluptas\", \"placeat\", \"unde\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : course_id (8, 12, 4), section_description (\"et\", \"nesciunt\", \"voluptas\"), other_details (None), section_name (\"h\", \"h\", \"f\"), section_id (5, 14, 6) | semesters : other_details (None), semester_id (11, 15, 8), semester_name (\"summer 2010\", \"spring 2012\", \"spring 2019\"), semester_description (\"l\", \"w\", \"w\") | students : first_name (\"Hobart\", \"Delaney\", \"Reva\"), permanent_address_id (4, 15, 4), current_address_id (14, 10, 12), student_id (14, 12, 1), additional_name (\"Osborne\", \"Mossie\", \"Aaliyah\"), ssn (\"668\", \"3\", \"\"), last_name (\"Ward\", \"Christiansen\", \"Schuppe\"), cell_mobile_number (\"(213)445-0399x85208\", \"1-879-796-8987x164\", \"171-642-5684\"), other_student_details (\"qui\", \"nesciunt\", \"quia\"), date_left (\"1999-08-24 00:07:10\", \"1971-05-17 19:28:49\", \"2007-08-02 04:12:58\"), email_address (\"jhuel@example.com\", \"gracie29@example.com\", \"beth42@example.org\"), date_first_registered (\"1986-02-24 21:12:23\", \"1989-05-24 23:31:29\", \"1971-02-05 07:28:23\"), second_name (\"Osborne\", \"Mossie\", \"Aaliyah\") | student_enrolment : semester_id (1, 9, 15), student_id (4, 9, 6), degree_program_id (11, 3, 9), student_enrolment_id (7, 8, 14), other_details (None) | student_enrolment_courses : course_id (11, 14, 3), student_enrolment_id (6, 5, 2), student_course_id (70882679, 438800, 7) | transcripts : transcript_date (\"1984-12-19 00:37:21\", \"1985-08-21 09:32:39\", \"1984-12-19 00:37:21\"), other_details (None), transcript_id (3, 3, 9) | transcript_contents : student_course_id (76, 2, 76), transcript_id (5, 15, 4)", "schema_without_content": "addresses : country , city , line_3 , line_2 , address_id , line_1 , zip_postcode , other_address_details , state_province_county | courses : other_details , course_description , course_name , course_id | departments : other_details , department_name , department_description , department_id | degree_programs : other_details , degree_program_id , department_id , degree_summary_description , degree_summary_name | sections : course_id , section_description , other_details , section_name , section_id | semesters : other_details , semester_id , semester_name , semester_description | students : first_name , permanent_address_id , current_address_id , student_id , additional_name , ssn , last_name , cell_mobile_number 445-0399x85208\", \"1-879-796-8987x164\", \"171-642-5684\", other_student_details , date_left , email_address , date_first_registered , second_name | student_enrolment : semester_id , student_id , degree_program_id , student_enrolment_id , other_details | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : transcript_date , other_details , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "middle_name": [ "second_name", "additional_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "second_name", "additional_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name", "number of enrollments": "Student_Enrolment.student_id", "student id": "Students.student_id" } }, { "question": "which student has enrolled for the most times in any program? list the id, #first name# , #middle name# , #last name# , the #number of enrollments# and #student id# .", "db_id": "student_transcripts_tracking", "orig_query": "select t1.student_id, t1.first_name, t1.middle_name, t1.last_name, count(*), t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id order by count(*) desc limit 1", "schema_with_content": "addresses : zip_postcode (\"590\", \"895\", \"902\"), state_province_county (\"Hawaii\", \"Hawaii\", \"Wyoming\"), line_2 (\"Suite 383\", \"Apt. 335\", \"Suite 703\"), address_id (15, 3, 7), other_address_details (None), city (\"Port Chelsea\", \"Rutherfordtown\", \"Mariliehaven\"), line_1 (\"186 Evan Motorway Apt. 409\", \"0643 Muller Vista\", \"0643 Muller Vista\"), line_3 (None), country (\"Croatia\", \"Bermuda\", \"Gibraltar\") | courses : other_details (None), course_description (\"l\", \"k\", \"v\"), course_id (5, 13, 2), course_name (\"db\", \"ai\", \"cal\") | departments : department_name (\"linguistic\", \"engineer\", \"history\"), department_description (\"consequatur\", \"aliquam\", \"nostrum\"), other_details (None), department_id (2, 1, 13) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"qui\", \"quam\", \"et\"), department_id (2, 7, 14), degree_program_id (5, 3, 12), other_details (None) | sections : other_details (None), section_description (\"nesciunt\", \"nesciunt\", \"facilis\"), section_id (3, 14, 3), course_id (2, 2, 2), section_name (\"e\", \"a\", \"p\") | semesters : other_details (None), semester_description (\"c\", \"c\", \"q\"), semester_name (\"fall 2010\", \"spring 2015\", \"fall 2010\"), semester_id (14, 15, 9) | students : email_address (\"dell43@example.net\", \"dell43@example.net\", \"johns.unique@example.net\"), middle_name (\"Violet\", \"Judd\", \"Golda\"), current_address_id (7, 14, 7), first_name (\"Jarvis\", \"Hobart\", \"Deon\"), surname (\"Christiansen\", \"Ankunding\", \"Rempel\"), family_name (\"Christiansen\", \"Ankunding\", \"Rempel\"), student_id (12, 1, 8), date_first_registered (\"1976-10-26 02:33:06\", \"1973-05-19 19:12:46\", \"1973-05-19 19:12:46\"), other_student_details (\"non\", \"qui\", \"dolorum\"), ssn (\"402\", \"34458427\", \"141072406\"), cell_mobile_number (\"1-009-710-5151\", \"677.401.9382\", \"07661787471\"), date_left (\"1971-05-17 19:28:49\", \"2006-08-04 17:26:49\", \"2004-12-08 05:29:11\"), permanent_address_id (5, 11, 9) | student_enrolment : degree_program_id (3, 9, 9), other_details (None), student_id (4, 6, 9), student_enrolment_id (13, 13, 13), semester_id (9, 6, 13) | student_enrolment_courses : course_id (10, 2, 13), student_enrolment_id (14, 9, 9), student_course_id (45105806, 76, 604750) | transcripts : other_details (None), transcript_id (15, 9, 10), transcript_date (\"1984-12-19 00:37:21\", \"1975-10-28 15:16:51\", \"1984-12-19 00:37:21\") | transcript_contents : student_course_id (28982908, 8, 8), transcript_id (15, 13, 5)", "schema_without_content": "addresses : zip_postcode , state_province_county , line_2 , address_id , other_address_details , city , line_1 , line_3 , country | courses : other_details , course_description , course_id , course_name | departments : department_name , department_description , other_details , department_id | degree_programs : degree_summary_name , degree_summary_description , department_id , degree_program_id , other_details | sections : other_details , section_description , section_id , course_id , section_name | semesters : other_details , semester_description , semester_name , semester_id | students : email_address , middle_name , current_address_id , first_name , surname , family_name , student_id , date_first_registered , other_student_details , ssn , cell_mobile_number , date_left , permanent_address_id | student_enrolment : degree_program_id , other_details , student_id , student_enrolment_id , semester_id | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "surname", "family_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name", "number of enrollments": "Student_Enrolment.student_id", "student id": "Students.student_id" } }, { "question": "what is the first, middle, and #last name# , along with the #id# and #number of enrollments# , for the #student# who enrolled the most in any program?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.student_id, t1.first_name, t1.middle_name, t1.last_name, count(*), t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id order by count(*) desc limit 1", "schema_with_content": "addresses : city (\"Port Elvisfurt\", \"Port Chelsea\", \"Lake Careyberg\"), line_3 (None), zip_postcode (\"541\", \"638\", \"386\"), country (\"Croatia\", \"Burundi\", \"New Caledonia\"), line_2 (\"Suite 079\", \"Suite 830\", \"Apt. 468\"), line_1 (\"979 Haag Shores Suite 656\", \"202 Hessel Views Apt. 468\", \"9283 Schulist Falls Apt. 037\"), other_address_details (None), address_id (11, 4, 6), state_province_county (\"Hawaii\", \"Washington\", \"Delaware\") | courses : other_details (None), course_name (\"ml\", \"rs\", \"nlp\"), course_id (6, 9, 15), course_description (\"q\", \"n\", \"n\") | departments : other_details (None), department_description (\"error\", \"nostrum\", \"nihil\"), department_name (\"biology\", \"economics\", \"biology\"), department_id (12, 13, 15) | degree_programs : other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (14, 12, 8), degree_program_id (13, 8, 10), degree_summary_description (\"unde\", \"aperiam\", \"aut\") | sections : section_description (\"ex\", \"non\", \"quis\"), other_details (None), section_id (12, 5, 7), course_id (2, 6, 2), section_name (\"p\", \"g\", \"k\") | semesters : semester_name (\"winter 2018\", \"spring 2014\", \"spring 2018\"), semester_description (\"x\", \"t\", \"q\"), semester_id (2, 11, 12), other_details (None) | students : permanent_address_id (14, 11, 3), id (15, 14, 2), middle_name (\"Judd\", \"Osborne\", \"Judd\"), enrollment_id (15, 14, 2), first_name (\"Stanford\", \"Jarvis\", \"Gregg\"), other_student_details (\"dolorum\", \"nesciunt\", \"laborum\"), last_name (\"Huel\", \"Kemmer\", \"Huel\"), date_left (\"2007-08-02 04:12:58\", \"2007-11-28 12:50:21\", \"1997-11-16 08:54:33\"), current_address_id (9, 6, 2), email_address (\"lhartmann@example.org\", \"dell43@example.net\", \"beth42@example.org\"), cell_mobile_number (\"07661787471\", \"(605)919-3594x3661\", \"677.401.9382\"), ssn (\"965\", \"6274274\", \"6274274\"), date_first_registered (\"2018-03-13 09:56:22\", \"1982-02-14 08:46:35\", \"2007-08-29 23:25:41\") | student_enrolment : degree_program_id (12, 8, 3), semester_id (6, 13, 1), other_details (None), student_id (7, 9, 9), student_enrolment_id (15, 8, 5) | student_enrolment_courses : course_id (13, 10, 12), student_enrolment_id (9, 2, 6), student_course_id (7, 2, 83814225) | transcripts : other_details (None), transcript_id (11, 11, 7), transcript_date (\"1984-01-18 23:07:07\", \"1984-12-19 00:37:21\", \"1988-04-30 01:19:47\") | transcript_contents : student_course_id (7, 0, 0), transcript_id (13, 13, 4)", "schema_without_content": "addresses : city , line_3 , zip_postcode , country , line_2 , line_1 , other_address_details , address_id , state_province_county | courses : other_details , course_name , course_id , course_description | departments : other_details , department_description , department_name , department_id | degree_programs : other_details , degree_summary_name , department_id , degree_program_id , degree_summary_description | sections : section_description , other_details , section_id , course_id , section_name | semesters : semester_name , semester_description , semester_id , other_details | students : permanent_address_id , id , middle_name , enrollment_id , first_name , other_student_details , last_name , date_left , current_address_id , email_address , cell_mobile_number 919-3594x3661\", \"677.401.9382\", ssn , date_first_registered | student_enrolment : degree_program_id , semester_id , other_details , student_id , student_enrolment_id | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "student_id": [ "id", "enrollment_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "id", "enrollment_id" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "last name": "Students.last_name", "id": "Students.student_id", "number of enrollments": "Student_Enrolment.student_id", "student": "Students", "first name": "Students.first_name", "middle name": "Students.middle_name" } }, { "question": "what is the first, middle, and #last name# , along with the #id# and #number of enrollments# , for the #student# who enrolled the most in any program?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.student_id, t1.first_name, t1.middle_name, t1.last_name, count(*), t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id order by count(*) desc limit 1", "schema_with_content": "addresses : country (\"New Caledonia\", \"Gabon\", \"Angola\"), zip_postcode (\"148\", \"847\", \"400\"), line_2 (\"Apt. 388\", \"Suite 703\", \"Suite 865\"), city (\"Michelleburgh\", \"Port Chelsea\", \"Rutherfordtown\"), line_1 (\"67942 Carlotta Ferry Apt. 686\", \"193 Marlin Brook\", \"2294 Grant Square Apt. 235\"), address_id (15, 6, 7), other_address_details (None), line_3 (None), state_province_county (\"Kentucky\", \"SouthDakota\", \"Wyoming\") | courses : course_name (\"en\", \"os\", \"la\"), course_description (\"l\", \"l\", \"n\"), other_details (None), course_id (1, 13, 9) | departments : department_description (\"nihil\", \"in\", \"non\"), department_id (7, 10, 6), other_details (None), department_name (\"linguistic\", \"history\", \"statistics\") | degree_programs : other_details (None), degree_program_id (9, 8, 15), degree_summary_description (\"voluptas\", \"earum\", \"aut\"), department_id (14, 15, 15), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : other_details (None), section_name (\"c\", \"y\", \"p\"), section_id (12, 14, 15), course_id (14, 8, 5), section_description (\"qui\", \"voluptas\", \"et\") | semesters : semester_name (\"spring 2012\", \"spring 2015\", \"summer 2010\"), semester_id (10, 8, 11), other_details (None), semester_description (\"l\", \"q\", \"q\") | students : current_address_id (9, 15, 7), middle_name (\"Aisha\", \"Golda\", \"Vaughn\"), date_first_registered (\"1971-02-05 07:28:23\", \"1986-02-24 21:12:23\", \"1976-10-26 02:33:06\"), student_id (7, 7, 1), other_student_details (\"rerum\", \"et\", \"et\"), last_name (\"Gleichner\", \"Rogahn\", \"Balistreri\"), ssn (\"43\", \"668\", \"668\"), email_address (\"lhartmann@example.org\", \"baumbach.lucious@example.org\", \"qo'kon@example.com\"), cell_mobile_number (\"09700166582\", \"(096)889-8954x524\", \"(462)246-7921\"), forename (\"Stanford\", \"Deon\", \"Deon\"), permanent_address_id (5, 3, 11), given_name (\"Stanford\", \"Deon\", \"Deon\"), date_left (\"1971-05-17 19:28:49\", \"2013-10-05 17:41:28\", \"2004-12-08 05:29:11\") | student_enrolment : degree_program_id (5, 10, 4), student_enrolment_id (9, 13, 8), other_details (None), student_id (1, 9, 5), semester_id (9, 4, 4) | student_enrolment_courses : student_enrolment_id (4, 8, 9), student_course_id (438800, 2, 45105806), course_id (14, 8, 4) | transcripts : transcript_date (\"1988-04-30 01:19:47\", \"1985-08-21 09:32:39\", \"1984-12-19 00:37:21\"), other_details (None), transcript_id (8, 9, 9) | transcript_contents : transcript_id (11, 9, 12), student_course_id (70882679, 2, 96)", "schema_without_content": "addresses : country , zip_postcode , line_2 , city , line_1 , address_id , other_address_details , line_3 , state_province_county | courses : course_name , course_description , other_details , course_id | departments : department_description , department_id , other_details , department_name | degree_programs : other_details , degree_program_id , degree_summary_description , department_id , degree_summary_name | sections : other_details , section_name , section_id , course_id , section_description | semesters : semester_name , semester_id , other_details , semester_description | students : current_address_id , middle_name , date_first_registered , student_id , other_student_details , last_name , ssn , email_address , cell_mobile_number 889-8954x524\", \"246-7921\", forename , permanent_address_id , given_name , date_left | student_enrolment : degree_program_id , student_enrolment_id , other_details , student_id , semester_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : transcript_date , other_details , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "forename", "given_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "last name": "Students.last_name", "id": "Students.student_id", "number of enrollments": "Student_Enrolment.student_id", "student": "Students", "first name": "Students.first_name", "middle name": "Students.middle_name" } }, { "question": "what is the first, middle, and #last name# , along with the #id# and #number of enrollments# , for the #student# who enrolled the most in any program?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.student_id, t1.first_name, t1.middle_name, t1.last_name, count(*), t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id order by count(*) desc limit 1", "schema_with_content": "addresses : city (\"Prohaskafort\", \"Lake Laishafurt\", \"Port Chelsea\"), other_address_details (None), country (\"Norfolk Island\", \"Bermuda\", \"Angola\"), line_3 (None), state_province_county (\"Delaware\", \"Arkansas\", \"WestVirginia\"), line_1 (\"193 Marlin Brook\", \"3999 Aufderhar Ways Suite 593\", \"67942 Carlotta Ferry Apt. 686\"), zip_postcode (\"847\", \"847\", \"669\"), address_id (5, 15, 5), line_2 (\"Suite 865\", \"Apt. 468\", \"Suite 865\") | courses : course_id (14, 2, 10), other_details (None), course_description (\"l\", \"w\", \"q\"), course_name (\"la\", \"rs\", \"fr\") | departments : department_name (\"biology\", \"dance\", \"geography\"), other_details (None), department_description (\"nihil\", \"nihil\", \"autem\"), department_id (10, 11, 7) | degree_programs : department_id (12, 4, 11), degree_summary_description (\"cumque\", \"esse\", \"unde\"), other_details (None), degree_program_id (14, 10, 5), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_id (8, 4, 1), section_description (\"voluptatem\", \"qui\", \"facilis\"), course_id (8, 6, 4), other_details (None), section_name (\"j\", \"f\", \"u\") | semesters : other_details (None), semester_name (\"winter 2010\", \"fall 2018\", \"spring 2018\"), semester_description (\"q\", \"m\", \"q\"), semester_id (13, 8, 15) | students : date_left (\"1971-05-17 19:28:49\", \"2007-11-28 12:50:21\", \"2007-08-02 04:12:58\"), student_id (8, 6, 10), first_name (\"Warren\", \"Jett\", \"Milton\"), cell_mobile_number (\"1-879-796-8987x164\", \"(213)445-0399x85208\", \"677.401.9382\"), second_name (\"Neal\", \"Mossie\", \"Anna\"), additional_name (\"Neal\", \"Mossie\", \"Anna\"), email_address (\"erwin.zboncak@example.com\", \"nya.lesch@example.net\", \"beth42@example.org\"), other_student_details (\"quia\", \"non\", \"voluptatem\"), current_address_id (6, 10, 15), last_name (\"Kemmer\", \"Gleichner\", \"Jaskolski\"), permanent_address_id (8, 14, 8), ssn (\"668\", \"494\", \"43\"), date_first_registered (\"1986-02-24 21:12:23\", \"2009-09-25 00:14:25\", \"1997-03-20 16:47:25\") | student_enrolment : student_id (14, 4, 1), student_enrolment_id (2, 13, 15), other_details (None), semester_id (5, 6, 6), degree_program_id (12, 4, 10) | student_enrolment_courses : student_course_id (9860, 438800, 8), student_enrolment_id (6, 13, 9), course_id (14, 3, 2) | transcripts : other_details (None), transcript_date (\"1998-11-22 12:18:29\", \"1988-04-30 01:19:47\", \"1975-10-28 15:16:51\"), transcript_id (5, 9, 8) | transcript_contents : transcript_id (6, 6, 8), student_course_id (96, 45105806, 28982908)", "schema_without_content": "addresses : city , other_address_details , country , line_3 , state_province_county , line_1 , zip_postcode , address_id , line_2 | courses : course_id , other_details , course_description , course_name | departments : department_name , other_details , department_description , department_id | degree_programs : department_id , degree_summary_description , other_details , degree_program_id , degree_summary_name | sections : section_id , section_description , course_id , other_details , section_name | semesters : other_details , semester_name , semester_description , semester_id | students : date_left , student_id , first_name , cell_mobile_number 445-0399x85208\", \"677.401.9382\", second_name , additional_name , email_address , other_student_details , current_address_id , last_name , permanent_address_id , ssn , date_first_registered | student_enrolment : student_id , student_enrolment_id , other_details , semester_id , degree_program_id | student_enrolment_courses : student_course_id , student_enrolment_id , course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "middle_name": [ "second_name", "additional_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "second_name", "additional_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "last name": "Students.last_name", "id": "Students.student_id", "number of enrollments": "Student_Enrolment.student_id", "student": "Students", "first name": "Students.first_name", "middle name": "Students.middle_name" } }, { "question": "what is the first, middle, and #last name# , along with the #id# and #number of enrollments# , for the #student# who enrolled the most in any program?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.student_id, t1.first_name, t1.middle_name, t1.last_name, count(*), t1.student_id from students as t1 join student_enrolment as t2 on t1.student_id = t2.student_id group by t1.student_id order by count(*) desc limit 1", "schema_with_content": "addresses : line_1 (\"7081 Eda Center\", \"186 Evan Motorway Apt. 409\", \"0144 Lamar Plaza Apt. 346\"), city (\"Goodwinhaven\", \"Herzoghaven\", \"Goodwinhaven\"), address_id (15, 10, 8), line_3 (None), line_2 (\"Apt. 388\", \"Apt. 305\", \"Apt. 406\"), zip_postcode (\"902\", \"902\", \"943\"), other_address_details (None), country (\"Cook Islands\", \"Croatia\", \"Gibraltar\"), state_province_county (\"Virginia\", \"Idaho\", \"Kentucky\") | courses : course_description (\"w\", \"l\", \"v\"), course_name (\"os\", \"dl\", \"oop\"), course_id (4, 14, 8), other_details (None) | departments : department_description (\"error\", \"natus\", \"error\"), other_details (None), department_name (\"art\", \"math\", \"economics\"), department_id (1, 15, 12) | degree_programs : other_details (None), department_id (14, 4, 4), degree_summary_description (\"earum\", \"aut\", \"aut\"), degree_program_id (15, 8, 15), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_name (\"o\", \"l\", \"l\"), course_id (2, 9, 2), other_details (None), section_description (\"facilis\", \"voluptatem\", \"doloremque\"), section_id (7, 6, 8) | semesters : semester_name (\"summer 2010\", \"spring 2018\", \"spring 2014\"), semester_description (\"l\", \"w\", \"f\"), semester_id (7, 5, 8), other_details (None) | students : ssn (\"141072406\", \"68095\", \"68095\"), permanent_address_id (14, 3, 9), date_left (\"1997-11-16 08:54:33\", \"1999-08-24 00:07:10\", \"2006-08-04 17:26:49\"), cell_mobile_number (\"436.613.7683\", \"(605)919-3594x3661\", \"436.613.7683\"), first_name (\"Frida\", \"Reva\", \"Helga\"), family_name (\"Kemmer\", \"Osinski\", \"Mohr\"), surname (\"Kemmer\", \"Osinski\", \"Mohr\"), date_first_registered (\"1971-02-05 07:28:23\", \"1997-03-20 16:47:25\", \"2009-09-25 00:14:25\"), email_address (\"jhuel@example.com\", \"dell43@example.net\", \"nya.lesch@example.net\"), student_id (3, 7, 9), current_address_id (14, 9, 1), middle_name (\"Mossie\", \"Alberta\", \"Lorenz\"), other_student_details (\"facilis\", \"autem\", \"voluptatem\") | student_enrolment : other_details (None), semester_id (1, 1, 12), degree_program_id (8, 10, 5), student_id (6, 9, 5), student_enrolment_id (14, 8, 10) | student_enrolment_courses : course_id (13, 13, 13), student_course_id (1, 7, 681404), student_enrolment_id (4, 14, 2) | transcripts : transcript_id (5, 6, 13), transcript_date (\"1985-08-21 09:32:39\", \"1990-03-05 11:59:41\", \"1984-01-18 23:07:07\"), other_details (None) | transcript_contents : transcript_id (4, 6, 12), student_course_id (8, 8, 76)", "schema_without_content": "addresses : line_1 , city , address_id , line_3 , line_2 , zip_postcode , other_address_details , country , state_province_county | courses : course_description , course_name , course_id , other_details | departments : department_description , other_details , department_name , department_id | degree_programs : other_details , department_id , degree_summary_description , degree_program_id , degree_summary_name | sections : section_name , course_id , other_details , section_description , section_id | semesters : semester_name , semester_description , semester_id , other_details | students : ssn , permanent_address_id , date_left , cell_mobile_number 919-3594x3661\", \"436.613.7683\", first_name , family_name , surname , date_first_registered , email_address , student_id , current_address_id , middle_name , other_student_details | student_enrolment : other_details , semester_id , degree_program_id , student_id , student_enrolment_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "surname", "family_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "last name": "Students.last_name", "id": "Students.student_id", "number of enrollments": "Student_Enrolment.student_id", "student": "Students", "first name": "Students.first_name", "middle name": "Students.middle_name" } }, { "question": "which #semesters# do not have any #student enrolled# ? list the #semester name# .", "db_id": "student_transcripts_tracking", "orig_query": "select semester_name from semesters where semester_id not in(select semester_id from student_enrolment)", "schema_with_content": "addresses : line_2 (\"Suite 383\", \"Apt. 406\", \"Apt. 406\"), zip_postcode (\"943\", \"541\", \"895\"), country (\"New Caledonia\", \"Gabon\", \"Saudi Arabia\"), other_address_details (None), line_3 (None), line_1 (\"202 Hessel Views Apt. 468\", \"492 Wilkinson Route\", \"2294 Grant Square Apt. 235\"), address_id (14, 4, 9), city (\"Goodwinhaven\", \"Michelleburgh\", \"Lake Careyberg\"), state_province_county (\"Virginia\", \"Idaho\", \"Kansas\") | courses : course_id (10, 12, 7), course_name (\"db\", \"cal\", \"db\"), other_details (None), course_description (\"c\", \"p\", \"d\") | departments : department_description (\"doloribus\", \"consequatur\", \"dolorem\"), other_details (None), department_id (8, 11, 2), department_name (\"computer science\", \"computer science\", \"linguistic\") | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (7, 8, 12), degree_program_id (2, 14, 4), degree_summary_description (\"unde\", \"voluptas\", \"aperiam\"), other_details (None) | sections : course_id (2, 5, 9), other_details (None), section_name (\"u\", \"d\", \"d\"), section_id (1, 5, 8), section_description (\"facilis\", \"ad\", \"ex\") | semesters : other_details (None), semester_id (9, 14, 4), semester_description (\"m\", \"c\", \"q\"), term_name (\"winter 2010\", \"spring 2017\", \"fall 2018\"), session_name (\"winter 2010\", \"spring 2017\", \"fall 2018\") | students : middle_name (\"Mona\", \"Mona\", \"Vaughn\"), date_left (\"2007-03-31 09:53:19\", \"2007-08-02 04:12:58\", \"2007-03-31 09:53:19\"), last_name (\"Gleichner\", \"Schuppe\", \"Osinski\"), cell_mobile_number (\"(507)365-8405\", \"09700166582\", \"09700166582\"), other_student_details (\"dolorum\", \"nesciunt\", \"autem\"), date_first_registered (\"2009-09-25 00:14:25\", \"1982-02-14 08:46:35\", \"1971-02-05 07:28:23\"), current_address_id (14, 9, 12), first_name (\"Frida\", \"Hobart\", \"Jett\"), ssn (\"402\", \"402\", \"402\"), student_id (4, 8, 4), email_address (\"gracie29@example.com\", \"beth42@example.org\", \"gracie29@example.com\"), permanent_address_id (15, 9, 9) | student_enrolment : degree_program_id (3, 4, 9), student_id (14, 12, 4), student_enrolment_id (6, 10, 2), semester_id (5, 9, 15), other_details (None) | student_enrolment_courses : student_course_id (438800, 76, 604750), course_id (14, 8, 8), student_enrolment_id (10, 10, 4) | transcripts : transcript_id (5, 2, 9), other_details (None), transcript_date (\"1975-05-20 18:31:21\", \"1975-05-06 12:04:47\", \"1988-04-30 01:19:47\") | transcript_contents : student_course_id (45105806, 45105806, 7), transcript_id (6, 8, 13)", "schema_without_content": "addresses : line_2 , zip_postcode , country , other_address_details , line_3 , line_1 , address_id , city , state_province_county | courses : course_id , course_name , other_details , course_description | departments : department_description , other_details , department_id , department_name | degree_programs : degree_summary_name , department_id , degree_program_id , degree_summary_description , other_details | sections : course_id , other_details , section_name , section_id , section_description | semesters : other_details , semester_id , semester_description , term_name , session_name | students : middle_name , date_left , last_name , cell_mobile_number 365-8405\", \"09700166582\", \"09700166582\", other_student_details , date_first_registered , current_address_id , first_name , ssn , student_id , email_address , permanent_address_id | student_enrolment : degree_program_id , student_id , student_enrolment_id , semester_id , other_details | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : transcript_id , other_details , transcript_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "semesters": { "semester_name": [ "term_name", "session_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_description", "other_details", "term_name", "session_name" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "semesters": "Semesters", "student enrolled": "Student_Enrolment.student_id", "semester name": "Semesters.semester_name" } }, { "question": "what is the #name of the semester# with no #students enrolled# ?", "db_id": "student_transcripts_tracking", "orig_query": "select semester_name from semesters where semester_id not in(select semester_id from student_enrolment)", "schema_with_content": "addresses : address_id (6, 7, 7), zip_postcode (\"590\", \"590\", \"839\"), line_3 (None), country (\"Croatia\", \"Kyrgyz Republic\", \"Iceland\"), line_1 (\"858 Peggie Bypass Suite 212\", \"16998 Mraz Lodge\", \"2294 Grant Square Apt. 235\"), city (\"Prohaskafort\", \"Port Evanston\", \"Lake Careyberg\"), state_province_county (\"Hawaii\", \"Kentucky\", \"Hawaii\"), other_address_details (None), line_2 (\"Suite 830\", \"Apt. 388\", \"Suite 865\") | courses : course_name (\"rs\", \"rs\", \"cal\"), course_description (\"n\", \"q\", \"n\"), other_details (None), course_id (12, 12, 8) | departments : department_id (6, 8, 10), department_name (\"biology\", \"law\", \"history\"), other_details (None), department_description (\"aliquam\", \"error\", \"nihil\") | degree_programs : degree_program_id (8, 13, 11), degree_summary_description (\"esse\", \"esse\", \"aperiam\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), department_id (8, 3, 2) | sections : section_name (\"c\", \"u\", \"j\"), course_id (1, 8, 8), section_id (14, 12, 13), other_details (None), section_description (\"reprehenderit\", \"voluptatem\", \"nesciunt\") | semesters : session_name (\"winter 2010\", \"spring 2015\", \"spring 2013\"), semester_description (\"t\", \"f\", \"y\"), other_details (None), term_name (\"winter 2010\", \"spring 2015\", \"spring 2013\"), semester_id (10, 2, 8) | students : middle_name (\"Cleve\", \"Mossie\", \"Aisha\"), date_first_registered (\"2014-03-28 05:48:23\", \"2018-03-13 09:56:22\", \"1982-06-19 13:15:18\"), date_left (\"2007-08-02 04:12:58\", \"1997-11-16 08:54:33\", \"2007-11-28 12:50:21\"), last_name (\"Huel\", \"Huel\", \"Christiansen\"), student_id (15, 1, 6), permanent_address_id (4, 8, 8), current_address_id (9, 12, 2), cell_mobile_number (\"436.613.7683\", \"(213)445-0399x85208\", \"(507)365-8405\"), email_address (\"swift.kolby@example.com\", \"johns.unique@example.net\", \"nbruen@example.org\"), first_name (\"Jordy\", \"Frida\", \"Warren\"), other_student_details (\"assumenda\", \"atque\", \"dolorum\"), ssn (\"34458427\", \"494\", \"494\") | student_enrolment : semester_id (15, 2, 6), student_id (14, 12, 14), other_details (None), degree_program_id (11, 8, 5), student_enrolment_id (9, 15, 14) | student_enrolment_courses : student_course_id (8, 438800, 0), course_id (10, 11, 2), student_enrolment_id (6, 2, 4) | transcripts : other_details (None), transcript_id (2, 2, 7), transcript_date (\"1988-04-30 01:19:47\", \"1984-12-19 00:37:21\", \"1975-05-20 18:31:21\") | transcript_contents : student_course_id (0, 0, 8), transcript_id (4, 2, 15)", "schema_without_content": "addresses : address_id , zip_postcode , line_3 , country , line_1 , city , state_province_county , other_address_details , line_2 | courses : course_name , course_description , other_details , course_id | departments : department_id , department_name , other_details , department_description | degree_programs : degree_program_id , degree_summary_description , degree_summary_name , other_details , department_id | sections : section_name , course_id , section_id , other_details , section_description | semesters : session_name , semester_description , other_details , term_name , semester_id | students : middle_name , date_first_registered , date_left , last_name , student_id , permanent_address_id , current_address_id , cell_mobile_number 445-0399x85208\", \"365-8405\", email_address , first_name , other_student_details , ssn | student_enrolment : semester_id , student_id , other_details , degree_program_id , student_enrolment_id | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "semesters": { "semester_name": [ "term_name", "session_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_description", "other_details", "term_name", "session_name" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "name of the semester": "Semesters.semester_name", "students enrolled": "Student_Enrolment.semester_id" } }, { "question": "what are all the #course names of the courses# which ever have #students enrolled# in?", "db_id": "student_transcripts_tracking", "orig_query": "select distinct t1.course_name from courses as t1 join student_enrolment_courses as t2 on t1.course_id = t2.course_id", "schema_with_content": "addresses : address_id (1, 5, 9), line_3 (None), country (\"Burundi\", \"Iceland\", \"Burundi\"), line_1 (\"2294 Grant Square Apt. 235\", \"193 Marlin Brook\", \"0643 Muller Vista\"), state_province_county (\"Wyoming\", \"SouthDakota\", \"Kansas\"), other_address_details (None), city (\"Herzoghaven\", \"Mariliehaven\", \"Mariliehaven\"), zip_postcode (\"669\", \"541\", \"590\"), line_2 (\"Suite 830\", \"Apt. 370\", \"Apt. 406\") | courses : course_description (\"d\", \"d\", \"w\"), course_id (5, 8, 8), other_details (None), subject_name (\"fr\", \"oop\", \"nlp\"), class_name (\"fr\", \"oop\", \"nlp\") | departments : department_description (\"ea\", \"consequatur\", \"nihil\"), other_details (None), department_id (2, 8, 12), department_name (\"linguistic\", \"economics\", \"management\") | degree_programs : other_details (None), degree_summary_description (\"earum\", \"qui\", \"earum\"), department_id (12, 8, 12), degree_program_id (9, 13, 9), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : other_details (None), section_name (\"f\", \"h\", \"d\"), section_description (\"et\", \"non\", \"facilis\"), section_id (12, 6, 10), course_id (6, 9, 7) | semesters : semester_name (\"winter 2010\", \"fall 2010\", \"summer 2010\"), semester_description (\"o\", \"f\", \"o\"), semester_id (1, 13, 7), other_details (None) | students : ssn (\"34458427\", \"965\", \"6274274\"), last_name (\"Osinski\", \"Ankunding\", \"Huel\"), middle_name (\"Cleve\", \"Golda\", \"Aisha\"), cell_mobile_number (\"1-009-710-5151\", \"1-879-796-8987x164\", \"09700166582\"), permanent_address_id (15, 9, 4), other_student_details (\"et\", \"assumenda\", \"atque\"), student_id (8, 11, 9), date_left (\"2013-10-05 17:41:28\", \"2017-07-09 21:38:43\", \"2006-08-04 17:26:49\"), first_name (\"Hobart\", \"Hobart\", \"Deon\"), email_address (\"lhartmann@example.org\", \"skassulke@example.net\", \"jillian26@example.net\"), date_first_registered (\"2017-01-04 08:10:25\", \"2018-03-13 09:56:22\", \"1989-05-24 23:31:29\"), current_address_id (10, 10, 2) | student_enrolment : other_details (None), student_id (9, 6, 5), semester_id (13, 6, 12), student_enrolment_id (2, 9, 4), degree_program_id (9, 9, 8) | student_enrolment_courses : student_enrolment_id (6, 14, 10), course_id (4, 8, 6), student_course_id (438800, 83814225, 438800) | transcripts : other_details (None), transcript_date (\"2010-12-13 10:55:15\", \"1975-05-20 18:31:21\", \"1975-10-28 15:16:51\"), transcript_id (13, 10, 14) | transcript_contents : student_course_id (7, 2, 28982908), transcript_id (5, 2, 8)", "schema_without_content": "addresses : address_id , line_3 , country , line_1 , state_province_county , other_address_details , city , zip_postcode , line_2 | courses : course_description , course_id , other_details , subject_name , class_name | departments : department_description , other_details , department_id , department_name | degree_programs : other_details , degree_summary_description , department_id , degree_program_id , degree_summary_name | sections : other_details , section_name , section_description , section_id , course_id | semesters : semester_name , semester_description , semester_id , other_details | students : ssn , last_name , middle_name , cell_mobile_number , permanent_address_id , other_student_details , student_id , date_left , first_name , email_address , date_first_registered , current_address_id | student_enrolment : other_details , student_id , semester_id , student_enrolment_id , degree_program_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "courses": { "course_name": [ "class_name", "subject_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_description", "other_details", "class_name", "subject_name" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "course names of the courses": "Courses.course_name", "students enrolled": "Student_Enrolment_Courses" } }, { "question": "what are the #names of all courses# that have some #students enrolled# ?", "db_id": "student_transcripts_tracking", "orig_query": "select distinct t1.course_name from courses as t1 join student_enrolment_courses as t2 on t1.course_id = t2.course_id", "schema_with_content": "addresses : zip_postcode (\"446\", \"839\", \"068\"), city (\"Port Oceane\", \"Port Evanston\", \"Rutherfordtown\"), line_2 (\"Apt. 583\", \"Apt. 370\", \"Apt. 468\"), country (\"New Caledonia\", \"New Caledonia\", \"Bermuda\"), line_1 (\"186 Evan Motorway Apt. 409\", \"858 Peggie Bypass Suite 212\", \"492 Wilkinson Route\"), line_3 (None), state_province_county (\"Idaho\", \"Delaware\", \"SouthDakota\"), address_id (7, 3, 6), other_address_details (None) | courses : subject_name (\"nlp\", \"dl\", \"db\"), course_id (14, 8, 13), course_description (\"q\", \"l\", \"n\"), class_name (\"nlp\", \"dl\", \"db\"), other_details (None) | departments : department_id (4, 13, 9), department_name (\"math\", \"geography\", \"math\"), department_description (\"ea\", \"autem\", \"consequatur\"), other_details (None) | degree_programs : department_id (4, 11, 8), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (14, 11, 11), degree_summary_description (\"esse\", \"aperiam\", \"voluptas\"), other_details (None) | sections : course_id (4, 8, 7), section_description (\"non\", \"non\", \"ex\"), section_name (\"l\", \"j\", \"d\"), other_details (None), section_id (6, 2, 1) | semesters : other_details (None), semester_name (\"spring 2018\", \"summer 2010\", \"spring 2013\"), semester_id (6, 12, 3), semester_description (\"f\", \"f\", \"o\") | students : current_address_id (6, 14, 12), date_first_registered (\"1971-02-05 07:28:23\", \"1989-05-24 23:31:29\", \"2004-12-24 12:36:46\"), date_left (\"2014-05-30 23:32:02\", \"1999-08-24 00:07:10\", \"2013-10-05 17:41:28\"), student_id (15, 15, 2), other_student_details (\"quia\", \"facilis\", \"omnis\"), email_address (\"nya.lesch@example.net\", \"erwin.zboncak@example.com\", \"dell43@example.net\"), permanent_address_id (3, 11, 15), ssn (\"141072406\", \"402\", \"402\"), cell_mobile_number (\"09700166582\", \"(507)365-8405\", \"1-879-796-8987x164\"), middle_name (\"Alberta\", \"Anna\", \"Aaliyah\"), first_name (\"Jordy\", \"Helga\", \"Jett\"), last_name (\"Ward\", \"Rogahn\", \"Kemmer\") | student_enrolment : degree_program_id (12, 2, 5), student_enrolment_id (4, 12, 8), semester_id (2, 2, 9), other_details (None), student_id (5, 9, 6) | student_enrolment_courses : course_id (13, 12, 3), student_enrolment_id (10, 13, 4), student_course_id (76, 7, 2) | transcripts : transcript_id (7, 1, 9), other_details (None), transcript_date (\"1975-10-28 15:16:51\", \"1990-03-05 11:59:41\", \"1975-05-06 12:04:47\") | transcript_contents : transcript_id (2, 9, 11), student_course_id (28982908, 7, 2)", "schema_without_content": "addresses : zip_postcode , city , line_2 , country , line_1 , line_3 , state_province_county , address_id , other_address_details | courses : subject_name , course_id , course_description , class_name , other_details | departments : department_id , department_name , department_description , other_details | degree_programs : department_id , degree_summary_name , degree_program_id , degree_summary_description , other_details | sections : course_id , section_description , section_name , other_details , section_id | semesters : other_details , semester_name , semester_id , semester_description | students : current_address_id , date_first_registered , date_left , student_id , other_student_details , email_address , permanent_address_id , ssn , cell_mobile_number 365-8405\", \"1-879-796-8987x164\", middle_name , first_name , last_name | student_enrolment : degree_program_id , student_enrolment_id , semester_id , other_details , student_id | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : transcript_id , other_details , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "courses": { "course_name": [ "class_name", "subject_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_description", "other_details", "class_name", "subject_name" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "names of all courses": "Courses.course_name", "students enrolled": "Student_Enrolment_Courses" } }, { "question": "what's the #name of the course# with most number of #enrollments# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.course_name from courses as t1 join student_enrolment_courses as t2 on t1.course_id = t2.course_id group by t1.course_name order by count(*) desc limit 1", "schema_with_content": "addresses : address_id (12, 13, 7), other_address_details (None), zip_postcode (\"400\", \"777\", \"943\"), line_2 (\"Apt. 388\", \"Apt. 388\", \"Suite 239\"), city (\"Michelleburgh\", \"South Palma\", \"South Palma\"), line_3 (None), country (\"Bermuda\", \"Kyrgyz Republic\", \"Norfolk Island\"), line_1 (\"186 Evan Motorway Apt. 409\", \"9283 Schulist Falls Apt. 037\", \"9283 Schulist Falls Apt. 037\"), state_province_county (\"Florida\", \"Arkansas\", \"Hawaii\") | courses : course_description (\"w\", \"p\", \"v\"), subject_name (\"os\", \"dl\", \"en\"), other_details (None), course_id (9, 10, 15), class_name (\"os\", \"dl\", \"en\") | departments : department_id (7, 13, 2), other_details (None), department_name (\"medical\", \"computer science\", \"statistics\"), department_description (\"autem\", \"nostrum\", \"non\") | degree_programs : degree_program_id (9, 10, 1), other_details (None), department_id (2, 2, 8), degree_summary_description (\"placeat\", \"aperiam\", \"placeat\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_description (\"doloremque\", \"ex\", \"nesciunt\"), section_name (\"l\", \"k\", \"p\"), section_id (1, 14, 7), other_details (None), course_id (9, 4, 6) | semesters : semester_description (\"q\", \"g\", \"l\"), semester_id (11, 12, 2), other_details (None), semester_name (\"fall 2010\", \"fall 2010\", \"fall 2018\") | students : other_student_details (\"non\", \"et\", \"laborum\"), ssn (\"965\", \"156\", \"965\"), current_address_id (12, 12, 7), date_left (\"2007-08-02 04:12:58\", \"2007-03-31 09:53:19\", \"1997-11-16 08:54:33\"), cell_mobile_number (\"1-009-710-5151\", \"677.401.9382\", \"436.613.7683\"), email_address (\"skassulke@example.net\", \"gracie29@example.com\", \"nbruen@example.org\"), middle_name (\"Anna\", \"Brooklyn\", \"Aisha\"), last_name (\"Rogahn\", \"Kemmer\", \"Balistreri\"), date_first_registered (\"1989-05-24 23:31:29\", \"1982-06-19 13:15:18\", \"2005-12-15 08:42:10\"), first_name (\"Jordy\", \"Helga\", \"Gregg\"), student_id (14, 6, 12), permanent_address_id (5, 8, 5) | student_enrolment : other_details (None), semester_id (9, 2, 15), student_id (1, 6, 5), student_enrolment_id (3, 12, 14), degree_program_id (2, 2, 10) | student_enrolment_courses : course_id (2, 14, 3), student_enrolment_id (14, 6, 9), student_course_id (8, 70882679, 28982908) | transcripts : other_details (None), transcript_date (\"1975-05-20 18:31:21\", \"1985-08-21 09:32:39\", \"1990-03-05 11:59:41\"), transcript_id (2, 15, 4) | transcript_contents : student_course_id (45105806, 70882679, 8), transcript_id (6, 2, 12)", "schema_without_content": "addresses : address_id , other_address_details , zip_postcode , line_2 , city , line_3 , country , line_1 , state_province_county | courses : course_description , subject_name , other_details , course_id , class_name | departments : department_id , other_details , department_name , department_description | degree_programs : degree_program_id , other_details , department_id , degree_summary_description , degree_summary_name | sections : section_description , section_name , section_id , other_details , course_id | semesters : semester_description , semester_id , other_details , semester_name | students : other_student_details , ssn , current_address_id , date_left , cell_mobile_number , email_address , middle_name , last_name , date_first_registered , first_name , student_id , permanent_address_id | student_enrolment : other_details , semester_id , student_id , student_enrolment_id , degree_program_id | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "courses": { "course_name": [ "class_name", "subject_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_description", "other_details", "class_name", "subject_name" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "name of the course": "Courses.course_name", "enrollments": "Student_Enrolment_Courses" } }, { "question": "what is the #name of the course# with the most #students enrolled# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.course_name from courses as t1 join student_enrolment_courses as t2 on t1.course_id = t2.course_id group by t1.course_name order by count(*) desc limit 1", "schema_with_content": "addresses : address_id (2, 12, 7), line_1 (\"3999 Aufderhar Ways Suite 593\", \"7081 Eda Center\", \"858 Peggie Bypass Suite 212\"), other_address_details (None), zip_postcode (\"902\", \"943\", \"386\"), country (\"Kyrgyz Republic\", \"Bermuda\", \"Lesotho\"), city (\"New Clemensburgh\", \"Port Evanston\", \"South Palma\"), line_3 (None), state_province_county (\"Delaware\", \"Hawaii\", \"Wyoming\"), line_2 (\"Suite 703\", \"Apt. 370\", \"Apt. 335\") | courses : other_details (None), class_name (\"nlp\", \"la\", \"db\"), course_id (10, 14, 3), course_description (\"n\", \"w\", \"c\"), subject_name (\"nlp\", \"la\", \"db\") | departments : other_details (None), department_name (\"computer science\", \"medical\", \"engineer\"), department_description (\"ea\", \"non\", \"error\"), department_id (14, 12, 2) | degree_programs : other_details (None), degree_summary_description (\"cumque\", \"quam\", \"cumque\"), department_id (2, 8, 15), degree_program_id (10, 1, 6), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : course_id (6, 7, 10), section_name (\"g\", \"c\", \"k\"), section_description (\"provident\", \"nesciunt\", \"et\"), other_details (None), section_id (15, 6, 15) | semesters : semester_name (\"spring 2018\", \"spring 2012\", \"fall 2018\"), other_details (None), semester_id (9, 14, 11), semester_description (\"w\", \"t\", \"y\") | students : date_first_registered (\"2018-03-13 09:56:22\", \"2004-12-24 12:36:46\", \"1986-02-24 21:12:23\"), ssn (\"141072406\", \"156\", \"141072406\"), cell_mobile_number (\"(507)365-8405\", \"(507)365-8405\", \"(462)246-7921\"), email_address (\"nya.lesch@example.net\", \"lhartmann@example.org\", \"skassulke@example.net\"), current_address_id (1, 6, 6), date_left (\"2016-04-09 12:27:04\", \"1975-10-09 00:49:27\", \"2016-04-09 12:27:04\"), first_name (\"Delaney\", \"Frida\", \"Jett\"), other_student_details (\"qui\", \"facilis\", \"voluptatem\"), student_id (1, 12, 11), permanent_address_id (11, 3, 5), last_name (\"Kemmer\", \"Rogahn\", \"Jaskolski\"), middle_name (\"Golda\", \"Violet\", \"Lorenz\") | student_enrolment : semester_id (6, 5, 2), student_enrolment_id (12, 14, 7), student_id (7, 14, 9), degree_program_id (12, 5, 5), other_details (None) | student_enrolment_courses : course_id (13, 2, 8), student_enrolment_id (6, 5, 9), student_course_id (438800, 9860, 96) | transcripts : transcript_date (\"1988-04-30 01:19:47\", \"1999-01-06 20:06:46\", \"1988-04-30 01:19:47\"), transcript_id (13, 12, 4), other_details (None) | transcript_contents : student_course_id (45105806, 45105806, 28982908), transcript_id (15, 4, 6)", "schema_without_content": "addresses : address_id , line_1 , other_address_details , zip_postcode , country , city , line_3 , state_province_county , line_2 | courses : other_details , class_name , course_id , course_description , subject_name | departments : other_details , department_name , department_description , department_id | degree_programs : other_details , degree_summary_description , department_id , degree_program_id , degree_summary_name | sections : course_id , section_name , section_description , other_details , section_id | semesters : semester_name , other_details , semester_id , semester_description | students : date_first_registered , ssn , cell_mobile_number 365-8405\", \"365-8405\", \"246-7921\", email_address , current_address_id , date_left , first_name , other_student_details , student_id , permanent_address_id , last_name , middle_name | student_enrolment : semester_id , student_enrolment_id , student_id , degree_program_id , other_details | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : transcript_date , transcript_id , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "courses": { "course_name": [ "class_name", "subject_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_description", "other_details", "class_name", "subject_name" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "name of the course": "Courses.course_name", "students enrolled": "Student_Enrolment_Courses" } }, { "question": "find the #last name of the students# who #currently live in the state# of north carolina but have not registered in any #degree program# .", "db_id": "student_transcripts_tracking", "orig_query": "select t1.last_name from students as t1 join addresses as t2 on t1.current_address_id = t2.address_id where t2.state_province_county = 'NorthCarolina' except select distinct t3.last_name from students as t3 join student_enrolment as t4 on t3.student_id = t4.student_id", "schema_with_content": "addresses : country (\"Angola\", \"Saudi Arabia\", \"Iceland\"), city (\"Port Chelsea\", \"Port Chelsea\", \"Lake Laishafurt\"), line_2 (\"Suite 830\", \"Suite 239\", \"Apt. 468\"), line_3 (None), state_province_county (\"Idaho\", \"Kansas\", \"Washington\"), other_address_details (None), line_1 (\"492 Wilkinson Route\", \"186 Evan Motorway Apt. 409\", \"186 Evan Motorway Apt. 409\"), zip_postcode (\"943\", \"386\", \"777\"), address_id (2, 3, 9) | courses : other_details (None), course_id (12, 7, 2), course_description (\"v\", \"w\", \"k\"), course_name (\"math\", \"fr\", \"nlp\") | departments : department_name (\"economics\", \"linguistic\", \"biology\"), other_details (None), department_id (9, 14, 5), department_description (\"ea\", \"natus\", \"autem\") | degree_programs : degree_summary_description (\"assumenda\", \"voluptas\", \"cumque\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (9, 4, 5), department_id (13, 11, 4), other_details (None) | sections : section_description (\"quis\", \"reprehenderit\", \"ad\"), other_details (None), section_name (\"j\", \"b\", \"p\"), section_id (2, 15, 11), course_id (8, 5, 2) | semesters : semester_name (\"fall 2010\", \"spring 2012\", \"spring 2013\"), semester_id (15, 5, 14), semester_description (\"l\", \"q\", \"t\"), other_details (None) | students : middle_name (\"Aisha\", \"Alberta\", \"Golda\"), other_student_details (\"non\", \"atque\", \"autem\"), ssn (\"156\", \"141072406\", \"43\"), family_name (\"Osinski\", \"Ward\", \"Rempel\"), cell_mobile_number (\"(462)246-7921\", \"677.401.9382\", \"07661787471\"), current_address_id (15, 7, 10), date_left (\"2016-04-09 12:27:04\", \"1975-10-09 00:49:27\", \"2007-03-31 09:53:19\"), email_address (\"johns.unique@example.net\", \"swift.kolby@example.com\", \"lhartmann@example.org\"), date_first_registered (\"1976-10-26 02:33:06\", \"2009-09-25 00:14:25\", \"2009-09-25 00:14:25\"), student_id (7, 14, 13), surname (\"Osinski\", \"Ward\", \"Rempel\"), first_name (\"Jarvis\", \"Deon\", \"Gregg\"), permanent_address_id (8, 3, 8) | student_enrolment : student_enrolment_id (11, 6, 13), degree_program_id (2, 10, 3), student_id (4, 4, 5), other_details (None), semester_id (2, 5, 1) | student_enrolment_courses : student_enrolment_id (5, 13, 8), course_id (12, 8, 2), student_course_id (9860, 7, 28982908) | transcripts : transcript_id (4, 9, 10), other_details (None), transcript_date (\"1985-04-29 01:20:20\", \"2002-09-24 06:11:49\", \"1990-03-05 11:59:41\") | transcript_contents : student_course_id (96, 7, 0), transcript_id (6, 12, 15)", "schema_without_content": "addresses : country , city , line_2 , line_3 , state_province_county , other_address_details , line_1 , zip_postcode , address_id | courses : other_details , course_id , course_description , course_name | departments : department_name , other_details , department_id , department_description | degree_programs : degree_summary_description , degree_summary_name , degree_program_id , department_id , other_details | sections : section_description , other_details , section_name , section_id , course_id | semesters : semester_name , semester_id , semester_description , other_details | students : middle_name , other_student_details , ssn , family_name , cell_mobile_number 246-7921\", \"677.401.9382\", \"07661787471\", current_address_id , date_left , email_address , date_first_registered , student_id , surname , first_name , permanent_address_id | student_enrolment : student_enrolment_id , degree_program_id , student_id , other_details , semester_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : transcript_id , other_details , transcript_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "surname", "family_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "last name of the students": "Students.last_name", "currently live in the state": "Addresses.state_province_county", "degree program": "Degree_Programs" } }, { "question": "what are the #last name of the students# who live in #north carolina# but have not registered in any #degree programs# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.last_name from students as t1 join addresses as t2 on t1.current_address_id = t2.address_id where t2.state_province_county = 'NorthCarolina' except select distinct t3.last_name from students as t3 join student_enrolment as t4 on t3.student_id = t4.student_id", "schema_with_content": "addresses : line_3 (None), zip_postcode (\"902\", \"446\", \"895\"), line_1 (\"492 Wilkinson Route\", \"858 Peggie Bypass Suite 212\", \"979 Haag Shores Suite 656\"), state_province_county (\"Hawaii\", \"Washington\", \"Idaho\"), line_2 (\"Suite 830\", \"Apt. 689\", \"Apt. 370\"), address_id (14, 11, 14), country (\"Bermuda\", \"Cook Islands\", \"Bermuda\"), city (\"Port Chelsea\", \"Michelleburgh\", \"Port Oceane\"), other_address_details (None) | courses : course_name (\"nlp\", \"dl\", \"en\"), other_details (None), course_id (2, 14, 4), course_description (\"v\", \"k\", \"d\") | departments : other_details (None), department_description (\"dolorem\", \"autem\", \"natus\"), department_name (\"linguistic\", \"drama\", \"computer science\"), department_id (3, 12, 5) | degree_programs : department_id (2, 15, 13), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"placeat\", \"quam\", \"placeat\"), degree_program_id (8, 8, 15) | sections : course_id (7, 5, 8), section_description (\"provident\", \"facilis\", \"doloremque\"), section_id (4, 14, 13), section_name (\"d\", \"o\", \"j\"), other_details (None) | semesters : semester_description (\"f\", \"c\", \"f\"), other_details (None), semester_id (3, 5, 6), semester_name (\"winter 2010\", \"spring 2016\", \"winter 2018\") | students : date_first_registered (\"1997-03-20 16:47:25\", \"2009-09-25 00:14:25\", \"1997-03-20 16:47:25\"), first_name (\"Gregg\", \"Jett\", \"Delaney\"), family_name (\"Osinski\", \"Jaskolski\", \"Rogahn\"), middle_name (\"Aaliyah\", \"Golda\", \"Neal\"), cell_mobile_number (\"07661787471\", \"(096)889-8954x524\", \"877.549.9067x8723\"), date_left (\"2007-11-28 12:50:21\", \"1990-09-01 05:03:27\", \"1999-08-24 00:07:10\"), current_address_id (14, 6, 10), surname (\"Osinski\", \"Jaskolski\", \"Rogahn\"), student_id (12, 7, 10), ssn (\"965\", \"141072406\", \"34458427\"), email_address (\"nbruen@example.org\", \"mya88@example.org\", \"nya.lesch@example.net\"), permanent_address_id (15, 15, 15), other_student_details (\"atque\", \"voluptatem\", \"facilis\") | student_enrolment : semester_id (9, 15, 13), student_enrolment_id (6, 10, 12), student_id (7, 9, 14), degree_program_id (9, 4, 2), other_details (None) | student_enrolment_courses : student_course_id (2, 83814225, 8), course_id (4, 11, 10), student_enrolment_id (5, 9, 8) | transcripts : other_details (None), transcript_date (\"1990-03-05 11:59:41\", \"1985-08-21 09:32:39\", \"1975-05-06 12:04:47\"), transcript_id (14, 15, 1) | transcript_contents : transcript_id (5, 4, 4), student_course_id (2, 2, 28982908)", "schema_without_content": "addresses : line_3 , zip_postcode , line_1 , state_province_county , line_2 , address_id , country , city , other_address_details | courses : course_name , other_details , course_id , course_description | departments : other_details , department_description , department_name , department_id | degree_programs : department_id , other_details , degree_summary_name , degree_summary_description , degree_program_id | sections : course_id , section_description , section_id , section_name , other_details | semesters : semester_description , other_details , semester_id , semester_name | students : date_first_registered , first_name , family_name , middle_name , cell_mobile_number 889-8954x524\", \"877.549.9067x8723\", date_left , current_address_id , surname , student_id , ssn , email_address , permanent_address_id , other_student_details | student_enrolment : semester_id , student_enrolment_id , student_id , degree_program_id , other_details | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "surname", "family_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "last name of the students": "Students.last_name", "North Carolina": "Addresses.state_province_county", "degree programs": "Degree_Programs" } }, { "question": "show the #date# and #id# of the transcript with at least 2 #course results# .", "db_id": "student_transcripts_tracking", "orig_query": "select t2.transcript_date, t1.transcript_id from transcript_contents as t1 join transcripts as t2 on t1.transcript_id = t2.transcript_id group by t1.transcript_id having count(*) >= 2", "schema_with_content": "addresses : other_address_details (None), country (\"Croatia\", \"Haiti\", \"Gibraltar\"), line_1 (\"202 Hessel Views Apt. 468\", \"7081 Eda Center\", \"9283 Schulist Falls Apt. 037\"), address_id (9, 7, 4), city (\"Rutherfordtown\", \"Michelleburgh\", \"New Clemensburgh\"), zip_postcode (\"638\", \"895\", \"847\"), state_province_county (\"SouthDakota\", \"SouthDakota\", \"Hawaii\"), line_3 (None), line_2 (\"Apt. 583\", \"Suite 674\", \"Suite 239\") | courses : course_description (\"l\", \"d\", \"w\"), course_id (13, 4, 6), other_details (None), course_name (\"la\", \"os\", \"os\") | departments : department_name (\"engineer\", \"geography\", \"management\"), department_id (6, 14, 6), other_details (None), department_description (\"dolorem\", \"consequatur\", \"nihil\") | degree_programs : degree_summary_description (\"cumque\", \"quam\", \"esse\"), department_id (2, 4, 11), other_details (None), degree_program_id (9, 11, 10), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : course_id (4, 14, 2), other_details (None), section_description (\"ad\", \"et\", \"voluptas\"), section_id (11, 14, 8), section_name (\"j\", \"g\", \"o\") | semesters : semester_id (1, 12, 11), other_details (None), semester_description (\"w\", \"o\", \"m\"), semester_name (\"winter 2018\", \"spring 2010\", \"spring 2016\") | students : date_left (\"2004-12-08 05:29:11\", \"2004-12-08 05:29:11\", \"2017-07-09 21:38:43\"), last_name (\"Schuppe\", \"Jaskolski\", \"Rempel\"), other_student_details (\"quia\", \"voluptatem\", \"et\"), permanent_address_id (8, 14, 4), middle_name (\"Osborne\", \"Golda\", \"Anna\"), email_address (\"mya88@example.org\", \"johns.unique@example.net\", \"erwin.zboncak@example.com\"), first_name (\"Hobart\", \"Milton\", \"Helga\"), ssn (\"965\", \"6274274\", \"6274274\"), current_address_id (12, 1, 14), cell_mobile_number (\"877.549.9067x8723\", \"(096)889-8954x524\", \"(982)153-1469x1733\"), date_first_registered (\"1982-06-19 13:15:18\", \"2004-12-24 12:36:46\", \"2005-12-15 08:42:10\"), student_id (14, 12, 14) | student_enrolment : student_id (4, 12, 7), semester_id (1, 1, 15), other_details (None), degree_program_id (11, 5, 9), student_enrolment_id (2, 13, 9) | student_enrolment_courses : course_id (8, 8, 2), student_course_id (45105806, 96, 604750), student_enrolment_id (9, 2, 14) | transcripts : document_date (\"1985-04-29 01:20:20\", \"1990-03-05 11:59:41\", \"1975-05-06 12:04:47\"), record_date (\"1985-04-29 01:20:20\", \"1990-03-05 11:59:41\", \"1975-05-06 12:04:47\"), other_details (None), transcript_id (8, 15, 5) | transcript_contents : transcript_id (4, 4, 12), student_course_id (45105806, 45105806, 8)", "schema_without_content": "addresses : other_address_details , country , line_1 , address_id , city , zip_postcode , state_province_county , line_3 , line_2 | courses : course_description , course_id , other_details , course_name | departments : department_name , department_id , other_details , department_description | degree_programs : degree_summary_description , department_id , other_details , degree_program_id , degree_summary_name | sections : course_id , other_details , section_description , section_id , section_name | semesters : semester_id , other_details , semester_description , semester_name | students : date_left , last_name , other_student_details , permanent_address_id , middle_name , email_address , first_name , ssn , current_address_id , cell_mobile_number 889-8954x524\", \"153-1469x1733\", date_first_registered , student_id | student_enrolment : student_id , semester_id , other_details , degree_program_id , student_enrolment_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : document_date , record_date , other_details , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "transcripts": { "transcript_date": [ "record_date", "document_date" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "other_details", "record_date", "document_date" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "date": "Transcripts.transcript_date", "id": "Transcript_Contents.transcript_id", "course results": "Transcript_Contents.student_course_id" } }, { "question": "show the #date# and #id# of the transcript with at least 2 #course results# .", "db_id": "student_transcripts_tracking", "orig_query": "select t2.transcript_date, t1.transcript_id from transcript_contents as t1 join transcripts as t2 on t1.transcript_id = t2.transcript_id group by t1.transcript_id having count(*) >= 2", "schema_with_content": "addresses : address_id (3, 10, 6), line_1 (\"979 Haag Shores Suite 656\", \"7081 Eda Center\", \"492 Wilkinson Route\"), line_3 (None), line_2 (\"Apt. 468\", \"Apt. 335\", \"Suite 079\"), other_address_details (None), city (\"Rutherfordtown\", \"North Omer\", \"Prohaskafort\"), state_province_county (\"Washington\", \"Virginia\", \"Kentucky\"), zip_postcode (\"638\", \"638\", \"541\"), country (\"Cook Islands\", \"Angola\", \"Iceland\") | courses : course_name (\"oop\", \"en\", \"os\"), course_id (8, 8, 6), course_description (\"w\", \"n\", \"p\"), other_details (None) | departments : department_name (\"geography\", \"drama\", \"art\"), department_description (\"doloribus\", \"non\", \"autem\"), other_details (None), department_id (2, 14, 3) | degree_programs : other_details (None), department_id (7, 3, 2), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"aut\", \"qui\", \"et\"), degree_program_id (14, 2, 15) | sections : other_details (None), section_name (\"l\", \"p\", \"d\"), course_id (2, 12, 4), section_id (5, 11, 6), section_description (\"voluptatem\", \"voluptas\", \"voluptas\") | semesters : semester_description (\"l\", \"w\", \"g\"), other_details (None), semester_name (\"spring 2015\", \"spring 2017\", \"spring 2014\"), semester_id (14, 14, 12) | students : middle_name (\"Aaliyah\", \"Osborne\", \"Aisha\"), date_left (\"1999-08-24 00:07:10\", \"2014-05-30 23:32:02\", \"2006-08-04 17:26:49\"), permanent_address_id (15, 8, 9), ssn (\"\", \"402\", \"494\"), first_name (\"Orrin\", \"Warren\", \"Timmothy\"), student_id (7, 7, 13), cell_mobile_number (\"07661787471\", \"171-642-5684\", \"171-642-5684\"), other_student_details (\"quia\", \"et\", \"qui\"), current_address_id (10, 14, 14), email_address (\"gracie29@example.com\", \"jhuel@example.com\", \"jhuel@example.com\"), date_first_registered (\"2007-08-29 23:25:41\", \"1982-06-19 13:15:18\", \"1997-03-20 16:47:25\"), last_name (\"Christiansen\", \"Rogahn\", \"Carroll\") | student_enrolment : other_details (None), student_id (6, 9, 1), semester_id (2, 1, 5), student_enrolment_id (9, 9, 9), degree_program_id (11, 10, 3) | student_enrolment_courses : student_enrolment_id (4, 13, 10), student_course_id (8, 96, 28982908), course_id (4, 12, 8) | transcripts : other_details (None), transcript_date (\"2002-09-24 06:11:49\", \"1975-05-06 12:04:47\", \"1975-10-28 15:16:51\"), transcript_id (13, 6, 8) | transcript_contents : student_course_id (7, 0, 28982908), record_id (15, 9, 2), document_id (15, 9, 2)", "schema_without_content": "addresses : address_id , line_1 , line_3 , line_2 , other_address_details , city , state_province_county , zip_postcode , country | courses : course_name , course_id , course_description , other_details | departments : department_name , department_description , other_details , department_id | degree_programs : other_details , department_id , degree_summary_name , degree_summary_description , degree_program_id | sections : other_details , section_name , course_id , section_id , section_description | semesters : semester_description , other_details , semester_name , semester_id | students : middle_name , date_left , permanent_address_id , ssn , first_name , student_id , cell_mobile_number , other_student_details , current_address_id , email_address , date_first_registered , last_name | student_enrolment : other_details , student_id , semester_id , student_enrolment_id , degree_program_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : student_course_id , record_id , document_id", "extra_map": { "transcript_contents": { "transcript_id": [ "record_id", "document_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "record_id", "document_id" ] }, "column_linking_gt": { "date": "Transcripts.transcript_date", "id": "Transcript_Contents.transcript_id", "course results": "Transcript_Contents.student_course_id" } }, { "question": "what is the #date# and #id of the transcript# with at least 2 #courses# listed?", "db_id": "student_transcripts_tracking", "orig_query": "select t2.transcript_date, t1.transcript_id from transcript_contents as t1 join transcripts as t2 on t1.transcript_id = t2.transcript_id group by t1.transcript_id having count(*) >= 2", "schema_with_content": "addresses : city (\"Port Oceane\", \"Michelleburgh\", \"Michelleburgh\"), state_province_county (\"SouthDakota\", \"Washington\", \"Washington\"), country (\"Saudi Arabia\", \"Haiti\", \"Lesotho\"), address_id (5, 8, 5), zip_postcode (\"895\", \"847\", \"943\"), line_1 (\"16998 Mraz Lodge\", \"74046 Metz Walk Apt. 113\", \"979 Haag Shores Suite 656\"), other_address_details (None), line_2 (\"Apt. 689\", \"Apt. 335\", \"Apt. 335\"), line_3 (None) | courses : course_name (\"oop\", \"ai\", \"rs\"), other_details (None), course_description (\"c\", \"v\", \"w\"), course_id (8, 8, 3) | departments : department_name (\"statistics\", \"law\", \"biology\"), department_description (\"consequatur\", \"in\", \"consequatur\"), department_id (14, 15, 14), other_details (None) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (7, 11, 14), degree_program_id (5, 7, 1), degree_summary_description (\"officiis\", \"assumenda\", \"quam\"), other_details (None) | sections : section_description (\"quis\", \"voluptatem\", \"reprehenderit\"), course_id (9, 6, 8), section_id (9, 10, 9), other_details (None), section_name (\"g\", \"a\", \"e\") | semesters : semester_id (5, 8, 11), other_details (None), semester_description (\"l\", \"w\", \"g\"), semester_name (\"winter 2010\", \"fall 2010\", \"spring 2013\") | students : current_address_id (7, 2, 6), date_left (\"2014-05-30 23:32:02\", \"1990-09-01 05:03:27\", \"2016-04-09 12:27:04\"), middle_name (\"Anna\", \"Osborne\", \"Judd\"), cell_mobile_number (\"(213)445-0399x85208\", \"(982)153-1469x1733\", \"171-642-5684\"), other_student_details (\"non\", \"et\", \"qui\"), ssn (\"3\", \"39\", \"668\"), email_address (\"lhartmann@example.org\", \"dell43@example.net\", \"swift.kolby@example.com\"), last_name (\"Mohr\", \"Ankunding\", \"Rogahn\"), first_name (\"Deon\", \"Helga\", \"Stanford\"), date_first_registered (\"2009-09-25 00:14:25\", \"1989-05-24 23:31:29\", \"2007-08-29 23:25:41\"), permanent_address_id (9, 5, 14), student_id (5, 13, 4) | student_enrolment : student_id (6, 6, 6), semester_id (6, 4, 9), other_details (None), degree_program_id (5, 9, 2), student_enrolment_id (14, 13, 10) | student_enrolment_courses : student_enrolment_id (4, 9, 6), course_id (6, 14, 14), student_course_id (0, 83814225, 28982908) | transcripts : transcript_id (13, 4, 14), record_date (\"1975-05-20 18:31:21\", \"1998-11-22 12:18:29\", \"2013-06-30 13:01:40\"), other_details (None), document_date (\"1975-05-20 18:31:21\", \"1998-11-22 12:18:29\", \"2013-06-30 13:01:40\") | transcript_contents : transcript_id (9, 15, 9), student_course_id (7, 8, 0)", "schema_without_content": "addresses : city , state_province_county , country , address_id , zip_postcode , line_1 , other_address_details , line_2 , line_3 | courses : course_name , other_details , course_description , course_id | departments : department_name , department_description , department_id , other_details | degree_programs : degree_summary_name , department_id , degree_program_id , degree_summary_description , other_details | sections : section_description , course_id , section_id , other_details , section_name | semesters : semester_id , other_details , semester_description , semester_name | students : current_address_id , date_left , middle_name , cell_mobile_number 445-0399x85208\", \"153-1469x1733\", \"171-642-5684\", other_student_details , ssn , email_address , last_name , first_name , date_first_registered , permanent_address_id , student_id | student_enrolment : student_id , semester_id , other_details , degree_program_id , student_enrolment_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : transcript_id , record_date , other_details , document_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "transcripts": { "transcript_date": [ "record_date", "document_date" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "other_details", "record_date", "document_date" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "date": "Transcripts.transcript_date", "id of the transcript": "Transcripts.transcript_id", "courses": "Transcript_Contents.student_course_id" } }, { "question": "what is the #date# and #id of the transcript# with at least 2 #courses# listed?", "db_id": "student_transcripts_tracking", "orig_query": "select t2.transcript_date, t1.transcript_id from transcript_contents as t1 join transcripts as t2 on t1.transcript_id = t2.transcript_id group by t1.transcript_id having count(*) >= 2", "schema_with_content": "addresses : city (\"Port Evanston\", \"Port Oceane\", \"Goodwinhaven\"), line_3 (None), line_2 (\"Suite 830\", \"Apt. 335\", \"Suite 079\"), address_id (9, 13, 7), line_1 (\"74046 Metz Walk Apt. 113\", \"74046 Metz Walk Apt. 113\", \"492 Wilkinson Route\"), country (\"Croatia\", \"Lesotho\", \"Norfolk Island\"), zip_postcode (\"902\", \"400\", \"839\"), state_province_county (\"Washington\", \"Delaware\", \"Wyoming\"), other_address_details (None) | courses : other_details (None), course_description (\"n\", \"n\", \"l\"), course_name (\"nlp\", \"nlp\", \"math\"), course_id (8, 10, 9) | departments : department_name (\"linguistic\", \"dance\", \"math\"), department_id (14, 8, 8), other_details (None), department_description (\"doloribus\", \"nostrum\", \"nostrum\") | degree_programs : department_id (7, 13, 13), degree_program_id (3, 8, 5), other_details (None), degree_summary_description (\"architecto\", \"earum\", \"unde\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_description (\"quis\", \"ad\", \"ad\"), other_details (None), section_id (9, 4, 13), course_id (7, 4, 5), section_name (\"p\", \"e\", \"u\") | semesters : semester_name (\"spring 2013\", \"spring 2014\", \"spring 2019\"), semester_description (\"t\", \"w\", \"w\"), other_details (None), semester_id (15, 10, 10) | students : current_address_id (10, 7, 9), first_name (\"Helga\", \"Milton\", \"Helga\"), date_left (\"1997-11-16 08:54:33\", \"2016-04-09 12:27:04\", \"2014-05-30 23:32:02\"), permanent_address_id (14, 4, 4), student_id (11, 10, 11), cell_mobile_number (\"(096)889-8954x524\", \"(507)365-8405\", \"1-009-710-5151\"), other_student_details (\"omnis\", \"autem\", \"dolorum\"), date_first_registered (\"2017-01-04 08:10:25\", \"1997-03-20 16:47:25\", \"1982-02-14 08:46:35\"), last_name (\"Ward\", \"Carroll\", \"Weimann\"), email_address (\"skassulke@example.net\", \"jhuel@example.com\", \"gracie29@example.com\"), middle_name (\"Osborne\", \"Aisha\", \"Vaughn\"), ssn (\"248\", \"668\", \"39\") | student_enrolment : student_id (1, 1, 9), other_details (None), student_enrolment_id (11, 8, 4), semester_id (12, 4, 15), degree_program_id (4, 4, 3) | student_enrolment_courses : course_id (8, 6, 3), student_course_id (76, 9860, 8), student_enrolment_id (14, 13, 9) | transcripts : transcript_date (\"1985-08-21 09:32:39\", \"2002-09-24 06:11:49\", \"2010-12-13 10:55:15\"), transcript_id (12, 1, 15), other_details (None) | transcript_contents : document_id (13, 4, 2), student_course_id (0, 7, 8), record_id (13, 4, 2)", "schema_without_content": "addresses : city , line_3 , line_2 , address_id , line_1 , country , zip_postcode , state_province_county , other_address_details | courses : other_details , course_description , course_name , course_id | departments : department_name , department_id , other_details , department_description | degree_programs : department_id , degree_program_id , other_details , degree_summary_description , degree_summary_name | sections : section_description , other_details , section_id , course_id , section_name | semesters : semester_name , semester_description , other_details , semester_id | students : current_address_id , first_name , date_left , permanent_address_id , student_id , cell_mobile_number 889-8954x524\", \"365-8405\", \"1-009-710-5151\", other_student_details , date_first_registered , last_name , email_address , middle_name , ssn | student_enrolment : student_id , other_details , student_enrolment_id , semester_id , degree_program_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : transcript_date , transcript_id , other_details | transcript_contents : document_id , student_course_id , record_id", "extra_map": { "transcript_contents": { "transcript_id": [ "record_id", "document_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "record_id", "document_id" ] }, "column_linking_gt": { "date": "Transcripts.transcript_date", "id of the transcript": "Transcripts.transcript_id", "courses": "Transcript_Contents.student_course_id" } }, { "question": "what is the #phone number# of the man with the #first name# timmothy and the #last name# ward?", "db_id": "student_transcripts_tracking", "orig_query": "select cell_mobile_number from students where first_name = 'Timmothy' and last_name = 'Ward'", "schema_with_content": "addresses : line_3 (None), line_1 (\"492 Wilkinson Route\", \"16998 Mraz Lodge\", \"193 Marlin Brook\"), other_address_details (None), zip_postcode (\"669\", \"400\", \"902\"), city (\"Port Evanston\", \"Goodwinhaven\", \"North Omer\"), country (\"Gabon\", \"New Caledonia\", \"Gibraltar\"), line_2 (\"Apt. 335\", \"Suite 079\", \"Suite 830\"), address_id (13, 5, 10), state_province_county (\"Virginia\", \"Arkansas\", \"Wyoming\") | courses : course_name (\"ml\", \"dl\", \"pl\"), course_description (\"w\", \"n\", \"v\"), other_details (None), course_id (9, 2, 7) | departments : department_description (\"in\", \"non\", \"nostrum\"), department_name (\"dance\", \"law\", \"computer science\"), department_id (3, 8, 14), other_details (None) | degree_programs : degree_program_id (3, 10, 2), degree_summary_description (\"quam\", \"quam\", \"qui\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (12, 11, 7), other_details (None) | sections : course_id (9, 9, 9), section_id (5, 3, 2), other_details (None), section_description (\"facilis\", \"qui\", \"ex\"), section_name (\"o\", \"l\", \"k\") | semesters : semester_id (13, 7, 9), semester_description (\"g\", \"w\", \"f\"), other_details (None), semester_name (\"spring 2017\", \"spring 2019\", \"spring 2013\") | students : current_address_id (10, 12, 9), ssn (\"\", \"43\", \"34458427\"), other_student_details (\"laborum\", \"rerum\", \"quia\"), phone_number (\"436.613.7683\", \"07661787471\", \"1-009-710-5151\"), permanent_address_id (8, 14, 11), student_id (2, 5, 12), contact_number (\"436.613.7683\", \"07661787471\", \"1-009-710-5151\"), email_address (\"johns.unique@example.net\", \"lhartmann@example.org\", \"mya88@example.org\"), middle_name (\"Neal\", \"Lorenz\", \"Brooklyn\"), first_name (\"Gregg\", \"Jarvis\", \"Milton\"), last_name (\"Ankunding\", \"Christiansen\", \"Rempel\"), date_left (\"2007-11-28 12:50:21\", \"1997-11-16 08:54:33\", \"1990-09-01 05:03:27\"), date_first_registered (\"1982-02-14 08:46:35\", \"1982-06-19 13:15:18\", \"1982-02-14 08:46:35\") | student_enrolment : other_details (None), semester_id (1, 15, 12), degree_program_id (11, 11, 11), student_id (12, 4, 14), student_enrolment_id (7, 9, 9) | student_enrolment_courses : student_enrolment_id (10, 2, 9), course_id (10, 3, 8), student_course_id (96, 83814225, 83814225) | transcripts : transcript_id (2, 15, 6), other_details (None), transcript_date (\"1998-11-22 12:18:29\", \"1984-12-19 00:37:21\", \"1984-01-18 23:07:07\") | transcript_contents : transcript_id (12, 12, 11), student_course_id (28982908, 28982908, 8)", "schema_without_content": "addresses : line_3 , line_1 , other_address_details , zip_postcode , city , country , line_2 , address_id , state_province_county | courses : course_name , course_description , other_details , course_id | departments : department_description , department_name , department_id , other_details | degree_programs : degree_program_id , degree_summary_description , degree_summary_name , department_id , other_details | sections : course_id , section_id , other_details , section_description , section_name | semesters : semester_id , semester_description , other_details , semester_name | students : current_address_id , ssn , other_student_details , phone_number , permanent_address_id , student_id , contact_number , email_address , middle_name , first_name , last_name , date_left , date_first_registered | student_enrolment : other_details , semester_id , degree_program_id , student_id , student_enrolment_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : transcript_id , other_details , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "cell_mobile_number": [ "contact_number", "phone_number" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "contact_number", "phone_number" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "phone number": "Students.cell_mobile_number", "first name": "Students.first_name", "last name": "Students.last_name" } }, { "question": "who is the first #student to register# ? list the #first name# , #middle name# and #last name# .", "db_id": "student_transcripts_tracking", "orig_query": "select first_name, middle_name, last_name from students order by date_first_registered asc limit 1", "schema_with_content": "addresses : zip_postcode (\"386\", \"669\", \"590\"), city (\"Port Chelsea\", \"Port Chelsea\", \"Herzoghaven\"), state_province_county (\"WestVirginia\", \"Florida\", \"Arkansas\"), line_1 (\"2294 Grant Square Apt. 235\", \"2294 Grant Square Apt. 235\", \"16998 Mraz Lodge\"), line_3 (None), country (\"Norfolk Island\", \"Croatia\", \"Gabon\"), other_address_details (None), address_id (2, 7, 6), line_2 (\"Apt. 689\", \"Apt. 305\", \"Suite 383\") | courses : course_id (1, 1, 12), other_details (None), course_description (\"l\", \"b\", \"c\"), course_name (\"nlp\", \"math\", \"pl\") | departments : department_name (\"drama\", \"dance\", \"art\"), other_details (None), department_description (\"non\", \"nisi\", \"autem\"), department_id (9, 15, 15) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), degree_program_id (3, 5, 5), degree_summary_description (\"unde\", \"earum\", \"cumque\"), department_id (7, 8, 7) | sections : section_name (\"b\", \"g\", \"b\"), other_details (None), course_id (9, 9, 7), section_id (3, 10, 14), section_description (\"quis\", \"voluptas\", \"qui\") | semesters : semester_name (\"winter 2010\", \"spring 2015\", \"spring 2012\"), semester_id (11, 15, 6), semester_description (\"q\", \"l\", \"o\"), other_details (None) | students : ssn (\"141072406\", \"141072406\", \"39\"), student_id (8, 15, 1), cell_mobile_number (\"(096)889-8954x524\", \"03174364122\", \"09700166582\"), email_address (\"mya88@example.org\", \"gracie29@example.com\", \"dell43@example.net\"), date_first_registered (\"2017-01-04 08:10:25\", \"1982-06-19 13:15:18\", \"1976-10-26 02:33:06\"), forename (\"Delaney\", \"Jordy\", \"Jordy\"), middle_name (\"Osborne\", \"Anna\", \"Violet\"), permanent_address_id (4, 14, 4), other_student_details (\"non\", \"qui\", \"et\"), date_left (\"1999-08-24 00:07:10\", \"2007-03-31 09:53:19\", \"2014-05-30 23:32:02\"), given_name (\"Delaney\", \"Jordy\", \"Jordy\"), current_address_id (2, 1, 12), last_name (\"Mohr\", \"Ward\", \"Schuppe\") | student_enrolment : student_enrolment_id (7, 12, 3), degree_program_id (2, 2, 4), semester_id (6, 6, 12), student_id (5, 12, 9), other_details (None) | student_enrolment_courses : student_enrolment_id (8, 10, 4), course_id (13, 3, 6), student_course_id (45105806, 83814225, 7) | transcripts : transcript_date (\"2013-06-30 13:01:40\", \"1998-11-22 12:18:29\", \"2002-09-24 06:11:49\"), transcript_id (10, 3, 9), other_details (None) | transcript_contents : student_course_id (0, 96, 70882679), transcript_id (13, 13, 2)", "schema_without_content": "addresses : zip_postcode , city , state_province_county , line_1 , line_3 , country , other_address_details , address_id , line_2 | courses : course_id , other_details , course_description , course_name | departments : department_name , other_details , department_description , department_id | degree_programs : degree_summary_name , other_details , degree_program_id , degree_summary_description , department_id | sections : section_name , other_details , course_id , section_id , section_description | semesters : semester_name , semester_id , semester_description , other_details | students : ssn , student_id , cell_mobile_number 889-8954x524\", \"03174364122\", \"09700166582\", email_address , date_first_registered , forename , middle_name , permanent_address_id , other_student_details , date_left , given_name , current_address_id , last_name | student_enrolment : student_enrolment_id , degree_program_id , semester_id , student_id , other_details | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : transcript_date , transcript_id , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "forename", "given_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "student to register": "Students.date_first_registered", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "who is the first #student to register# ? list the #first name# , #middle name# and #last name# .", "db_id": "student_transcripts_tracking", "orig_query": "select first_name, middle_name, last_name from students order by date_first_registered asc limit 1", "schema_with_content": "addresses : line_3 (None), country (\"Angola\", \"Kyrgyz Republic\", \"Croatia\"), address_id (15, 10, 14), other_address_details (None), line_2 (\"Apt. 335\", \"Apt. 689\", \"Suite 703\"), state_province_county (\"Arkansas\", \"Wyoming\", \"Hawaii\"), zip_postcode (\"895\", \"541\", \"148\"), line_1 (\"74046 Metz Walk Apt. 113\", \"0643 Muller Vista\", \"9283 Schulist Falls Apt. 037\"), city (\"Mariliehaven\", \"New Clemensburgh\", \"Lake Careyberg\") | courses : course_description (\"v\", \"q\", \"b\"), course_id (11, 8, 10), course_name (\"en\", \"os\", \"rs\"), other_details (None) | departments : other_details (None), department_name (\"drama\", \"management\", \"dance\"), department_id (12, 3, 4), department_description (\"consequatur\", \"in\", \"nostrum\") | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"et\", \"esse\", \"earum\"), department_id (8, 7, 7), other_details (None), degree_program_id (11, 9, 12) | sections : section_description (\"voluptatem\", \"voluptatem\", \"nesciunt\"), course_id (7, 14, 10), section_name (\"k\", \"p\", \"c\"), section_id (11, 1, 11), other_details (None) | semesters : semester_description (\"l\", \"g\", \"l\"), semester_id (15, 10, 1), other_details (None), semester_name (\"spring 2016\", \"spring 2018\", \"winter 2010\") | students : permanent_address_id (5, 14, 5), other_student_details (\"voluptatem\", \"voluptatem\", \"non\"), cell_mobile_number (\"877.549.9067x8723\", \"(605)919-3594x3661\", \"436.613.7683\"), current_address_id (15, 2, 15), first_name (\"Orrin\", \"Jarvis\", \"Helga\"), date_first_registered (\"2005-12-15 08:42:10\", \"1973-05-19 19:12:46\", \"2004-12-24 12:36:46\"), email_address (\"skassulke@example.net\", \"dell43@example.net\", \"beth42@example.org\"), additional_name (\"Aisha\", \"Lorenz\", \"Mossie\"), date_left (\"2007-08-02 04:12:58\", \"2013-10-05 17:41:28\", \"1990-09-01 05:03:27\"), ssn (\"156\", \"43\", \"494\"), student_id (8, 10, 1), last_name (\"Mohr\", \"Kemmer\", \"Osinski\"), second_name (\"Aisha\", \"Lorenz\", \"Mossie\") | student_enrolment : student_enrolment_id (7, 4, 11), degree_program_id (4, 4, 11), other_details (None), student_id (14, 1, 12), semester_id (9, 9, 15) | student_enrolment_courses : course_id (6, 8, 8), student_course_id (76, 83814225, 1), student_enrolment_id (14, 13, 8) | transcripts : other_details (None), transcript_date (\"1984-12-19 00:37:21\", \"1988-04-30 01:19:47\", \"1975-05-20 18:31:21\"), transcript_id (9, 15, 14) | transcript_contents : transcript_id (4, 5, 9), student_course_id (2, 7, 28982908)", "schema_without_content": "addresses : line_3 , country , address_id , other_address_details , line_2 , state_province_county , zip_postcode , line_1 , city | courses : course_description , course_id , course_name , other_details | departments : other_details , department_name , department_id , department_description | degree_programs : degree_summary_name , degree_summary_description , department_id , other_details , degree_program_id | sections : section_description , course_id , section_name , section_id , other_details | semesters : semester_description , semester_id , other_details , semester_name | students : permanent_address_id , other_student_details , cell_mobile_number 919-3594x3661\", \"436.613.7683\", current_address_id , first_name , date_first_registered , email_address , additional_name , date_left , ssn , student_id , last_name , second_name | student_enrolment : student_enrolment_id , degree_program_id , other_details , student_id , semester_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "middle_name": [ "second_name", "additional_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "second_name", "additional_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "student to register": "Students.date_first_registered", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "who is the first #student to register# ? list the #first name# , #middle name# and #last name# .", "db_id": "student_transcripts_tracking", "orig_query": "select first_name, middle_name, last_name from students order by date_first_registered asc limit 1", "schema_with_content": "addresses : city (\"Rutherfordtown\", \"Mariliehaven\", \"North Omer\"), line_1 (\"0643 Muller Vista\", \"2294 Grant Square Apt. 235\", \"3999 Aufderhar Ways Suite 593\"), address_id (4, 14, 6), other_address_details (None), line_2 (\"Suite 383\", \"Suite 239\", \"Suite 830\"), line_3 (None), state_province_county (\"Kansas\", \"WestVirginia\", \"Hawaii\"), country (\"New Caledonia\", \"Samoa\", \"Iceland\"), zip_postcode (\"068\", \"638\", \"943\") | courses : course_name (\"en\", \"rs\", \"fr\"), course_description (\"q\", \"v\", \"n\"), other_details (None), course_id (13, 6, 15) | departments : other_details (None), department_description (\"non\", \"consequatur\", \"in\"), department_name (\"geography\", \"management\", \"drama\"), department_id (5, 6, 8) | degree_programs : other_details (None), department_id (14, 15, 2), degree_program_id (13, 3, 11), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"placeat\", \"et\", \"earum\") | sections : section_name (\"e\", \"a\", \"g\"), other_details (None), section_id (8, 12, 7), section_description (\"qui\", \"reprehenderit\", \"doloremque\"), course_id (9, 10, 14) | semesters : semester_id (14, 6, 10), other_details (None), semester_name (\"spring 2017\", \"fall 2010\", \"spring 2016\"), semester_description (\"g\", \"m\", \"y\") | students : middle_name (\"Mossie\", \"Neal\", \"Osborne\"), surname (\"Rempel\", \"Schuppe\", \"Gleichner\"), date_left (\"2016-04-09 12:27:04\", \"1971-05-17 19:28:49\", \"1990-09-01 05:03:27\"), cell_mobile_number (\"677.401.9382\", \"(982)153-1469x1733\", \"(096)889-8954x524\"), ssn (\"304246\", \"34458427\", \"68095\"), student_id (8, 3, 15), permanent_address_id (4, 3, 11), email_address (\"baumbach.lucious@example.org\", \"dell43@example.net\", \"nya.lesch@example.net\"), family_name (\"Rempel\", \"Schuppe\", \"Gleichner\"), date_first_registered (\"2005-12-15 08:42:10\", \"2004-12-24 12:36:46\", \"2005-12-15 08:42:10\"), first_name (\"Jordy\", \"Jett\", \"Timmothy\"), current_address_id (9, 14, 14), other_student_details (\"voluptatem\", \"laborum\", \"et\") | student_enrolment : degree_program_id (5, 4, 10), other_details (None), student_id (7, 6, 5), semester_id (9, 12, 2), student_enrolment_id (2, 6, 10) | student_enrolment_courses : student_enrolment_id (6, 4, 6), student_course_id (7, 7, 0), course_id (2, 10, 13) | transcripts : other_details (None), transcript_date (\"1986-07-12 07:27:29\", \"1985-08-21 09:32:39\", \"1975-05-20 18:31:21\"), transcript_id (12, 1, 14) | transcript_contents : student_course_id (2, 76, 76), transcript_id (2, 11, 4)", "schema_without_content": "addresses : city , line_1 , address_id , other_address_details , line_2 , line_3 , state_province_county , country , zip_postcode | courses : course_name , course_description , other_details , course_id | departments : other_details , department_description , department_name , department_id | degree_programs : other_details , department_id , degree_program_id , degree_summary_name , degree_summary_description | sections : section_name , other_details , section_id , section_description , course_id | semesters : semester_id , other_details , semester_name , semester_description | students : middle_name , surname , date_left , cell_mobile_number 153-1469x1733\", \"889-8954x524\", ssn , student_id , permanent_address_id , email_address , family_name , date_first_registered , first_name , current_address_id , other_student_details | student_enrolment : degree_program_id , other_details , student_id , semester_id , student_enrolment_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "surname", "family_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "student to register": "Students.date_first_registered", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "what is the first, middle, and la #st name of the first student to register?# ", "db_id": "student_transcripts_tracking", "orig_query": "select first_name, middle_name, last_name from students order by date_first_registered asc limit 1", "schema_with_content": "addresses : address_id (13, 13, 1), country (\"Cook Islands\", \"Saudi Arabia\", \"Iceland\"), line_1 (\"7081 Eda Center\", \"193 Marlin Brook\", \"979 Haag Shores Suite 656\"), line_3 (None), state_province_county (\"Virginia\", \"SouthDakota\", \"Hawaii\"), city (\"Prohaskafort\", \"South Palma\", \"New Clemensburgh\"), zip_postcode (\"400\", \"386\", \"902\"), other_address_details (None), line_2 (\"Suite 830\", \"Apt. 388\", \"Suite 703\") | courses : course_description (\"n\", \"q\", \"n\"), course_id (6, 12, 6), course_name (\"nlp\", \"nlp\", \"rs\"), other_details (None) | departments : department_id (7, 9, 8), other_details (None), department_name (\"history\", \"art\", \"history\"), department_description (\"nisi\", \"nihil\", \"natus\") | degree_programs : degree_summary_description (\"aut\", \"esse\", \"placeat\"), department_id (12, 15, 14), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (1, 1, 12), other_details (None) | sections : other_details (None), course_id (12, 5, 4), section_id (9, 1, 11), section_name (\"y\", \"o\", \"k\"), section_description (\"ex\", \"voluptatem\", \"ad\") | semesters : semester_name (\"fall 2018\", \"winter 2018\", \"spring 2016\"), semester_description (\"x\", \"t\", \"g\"), semester_id (9, 4, 12), other_details (None) | students : other_student_details (\"autem\", \"qui\", \"non\"), current_address_id (14, 14, 7), date_left (\"2014-05-30 23:32:02\", \"1990-09-01 05:03:27\", \"1982-06-11 00:25:39\"), forename (\"Delaney\", \"Stanford\", \"Hobart\"), middle_name (\"Violet\", \"Mona\", \"Alberta\"), ssn (\"402\", \"965\", \"156\"), student_id (14, 15, 8), email_address (\"erwin.zboncak@example.com\", \"baumbach.lucious@example.org\", \"nbruen@example.org\"), last_name (\"Rempel\", \"Balistreri\", \"Ankunding\"), date_first_registered (\"2018-03-13 09:56:22\", \"2009-09-25 00:14:25\", \"1982-02-14 08:46:35\"), permanent_address_id (4, 4, 9), given_name (\"Delaney\", \"Stanford\", \"Hobart\"), cell_mobile_number (\"436.613.7683\", \"07661787471\", \"1-009-710-5151\") | student_enrolment : degree_program_id (3, 2, 11), semester_id (6, 15, 15), other_details (None), student_enrolment_id (13, 11, 15), student_id (7, 14, 1) | student_enrolment_courses : student_enrolment_id (14, 14, 13), course_id (12, 11, 11), student_course_id (83814225, 1, 438800) | transcripts : transcript_date (\"1986-07-12 07:27:29\", \"1975-05-20 18:31:21\", \"2013-06-30 13:01:40\"), transcript_id (13, 7, 5), other_details (None) | transcript_contents : transcript_id (6, 12, 2), student_course_id (2, 76, 8)", "schema_without_content": "addresses : address_id , country , line_1 , line_3 , state_province_county , city , zip_postcode , other_address_details , line_2 | courses : course_description , course_id , course_name , other_details | departments : department_id , other_details , department_name , department_description | degree_programs : degree_summary_description , department_id , degree_summary_name , degree_program_id , other_details | sections : other_details , course_id , section_id , section_name , section_description | semesters : semester_name , semester_description , semester_id , other_details | students : other_student_details , current_address_id , date_left , forename , middle_name , ssn , student_id , email_address , last_name , date_first_registered , permanent_address_id , given_name , cell_mobile_number | student_enrolment : degree_program_id , semester_id , other_details , student_enrolment_id , student_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : transcript_date , transcript_id , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "forename", "given_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "st name of the first student to register?": "Students", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "what is the first, middle, and la #st name of the first student to register?# ", "db_id": "student_transcripts_tracking", "orig_query": "select first_name, middle_name, last_name from students order by date_first_registered asc limit 1", "schema_with_content": "addresses : line_2 (\"Apt. 370\", \"Suite 239\", \"Suite 383\"), city (\"New Clemensburgh\", \"Port Evanston\", \"South Palma\"), address_id (9, 8, 1), line_3 (None), zip_postcode (\"839\", \"638\", \"943\"), country (\"Samoa\", \"Iceland\", \"Cook Islands\"), line_1 (\"492 Wilkinson Route\", \"0643 Muller Vista\", \"492 Wilkinson Route\"), other_address_details (None), state_province_county (\"Idaho\", \"Hawaii\", \"SouthDakota\") | courses : course_description (\"c\", \"p\", \"b\"), other_details (None), course_id (3, 9, 15), course_name (\"la\", \"os\", \"db\") | departments : department_description (\"nostrum\", \"in\", \"aliquam\"), other_details (None), department_name (\"computer science\", \"statistics\", \"management\"), department_id (2, 10, 5) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), degree_program_id (7, 1, 9), degree_summary_description (\"aut\", \"placeat\", \"aperiam\"), department_id (3, 12, 14) | sections : section_description (\"provident\", \"voluptas\", \"ex\"), other_details (None), section_name (\"b\", \"h\", \"y\"), course_id (12, 9, 12), section_id (4, 8, 8) | semesters : semester_description (\"g\", \"g\", \"l\"), semester_name (\"spring 2014\", \"winter 2018\", \"spring 2015\"), semester_id (8, 13, 12), other_details (None) | students : second_name (\"Alberta\", \"Alberta\", \"Osborne\"), first_name (\"Warren\", \"Reva\", \"Helga\"), cell_mobile_number (\"03174364122\", \"171-642-5684\", \"07661787471\"), ssn (\"248\", \"248\", \"156\"), date_left (\"1997-11-16 08:54:33\", \"1975-10-09 00:49:27\", \"1990-09-01 05:03:27\"), permanent_address_id (9, 3, 9), current_address_id (12, 2, 2), email_address (\"mya88@example.org\", \"mya88@example.org\", \"lhartmann@example.org\"), last_name (\"Christiansen\", \"Gleichner\", \"Mohr\"), additional_name (\"Alberta\", \"Alberta\", \"Osborne\"), student_id (14, 4, 2), other_student_details (\"autem\", \"voluptatem\", \"atque\"), date_first_registered (\"1982-06-19 13:15:18\", \"2004-12-24 12:36:46\", \"1973-05-19 19:12:46\") | student_enrolment : degree_program_id (2, 11, 10), student_enrolment_id (4, 10, 3), semester_id (9, 15, 5), other_details (None), student_id (5, 9, 7) | student_enrolment_courses : student_course_id (1, 681404, 28982908), course_id (10, 12, 12), student_enrolment_id (9, 8, 14) | transcripts : transcript_id (11, 13, 4), transcript_date (\"1999-01-06 20:06:46\", \"1990-03-05 11:59:41\", \"1988-04-30 01:19:47\"), other_details (None) | transcript_contents : student_course_id (45105806, 45105806, 70882679), transcript_id (5, 2, 2)", "schema_without_content": "addresses : line_2 , city , address_id , line_3 , zip_postcode , country , line_1 , other_address_details , state_province_county | courses : course_description , other_details , course_id , course_name | departments : department_description , other_details , department_name , department_id | degree_programs : degree_summary_name , other_details , degree_program_id , degree_summary_description , department_id | sections : section_description , other_details , section_name , course_id , section_id | semesters : semester_description , semester_name , semester_id , other_details | students : second_name , first_name , cell_mobile_number , ssn , date_left , permanent_address_id , current_address_id , email_address , last_name , additional_name , student_id , other_student_details , date_first_registered | student_enrolment : degree_program_id , student_enrolment_id , semester_id , other_details , student_id | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "middle_name": [ "second_name", "additional_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "second_name", "additional_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "st name of the first student to register?": "Students", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "what is the first, middle, and la #st name of the first student to register?# ", "db_id": "student_transcripts_tracking", "orig_query": "select first_name, middle_name, last_name from students order by date_first_registered asc limit 1", "schema_with_content": "addresses : other_address_details (None), city (\"Lake Laishafurt\", \"Michelleburgh\", \"Prohaskafort\"), country (\"Samoa\", \"Kyrgyz Republic\", \"Burundi\"), state_province_county (\"Idaho\", \"Delaware\", \"Virginia\"), line_3 (None), line_1 (\"186 Evan Motorway Apt. 409\", \"16998 Mraz Lodge\", \"492 Wilkinson Route\"), line_2 (\"Apt. 335\", \"Suite 703\", \"Suite 674\"), address_id (3, 7, 6), zip_postcode (\"541\", \"446\", \"541\") | courses : course_description (\"v\", \"l\", \"w\"), course_id (10, 8, 15), course_name (\"cal\", \"math\", \"ai\"), other_details (None) | departments : department_name (\"drama\", \"art\", \"drama\"), other_details (None), department_description (\"in\", \"autem\", \"nihil\"), department_id (1, 12, 14) | degree_programs : department_id (4, 15, 8), degree_summary_description (\"officiis\", \"esse\", \"aperiam\"), other_details (None), degree_program_id (1, 5, 3), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_description (\"voluptas\", \"quis\", \"voluptas\"), course_id (8, 7, 2), section_id (6, 2, 9), section_name (\"k\", \"u\", \"e\"), other_details (None) | semesters : semester_description (\"f\", \"l\", \"t\"), semester_id (6, 15, 4), other_details (None), semester_name (\"spring 2014\", \"spring 2019\", \"winter 2010\") | students : student_id (2, 14, 2), cell_mobile_number (\"1-879-796-8987x164\", \"877.549.9067x8723\", \"1-009-710-5151\"), first_name (\"Jarvis\", \"Hobart\", \"Timmothy\"), permanent_address_id (11, 11, 11), email_address (\"qo'kon@example.com\", \"jillian26@example.net\", \"dell43@example.net\"), other_student_details (\"non\", \"atque\", \"nesciunt\"), surname (\"Rempel\", \"Weimann\", \"Mohr\"), ssn (\"3\", \"39\", \"\"), date_left (\"2013-10-05 17:41:28\", \"1999-08-24 00:07:10\", \"2013-10-05 17:41:28\"), current_address_id (7, 1, 1), date_first_registered (\"1986-02-24 21:12:23\", \"1986-02-24 21:12:23\", \"2009-09-25 00:14:25\"), family_name (\"Rempel\", \"Weimann\", \"Mohr\"), middle_name (\"Osborne\", \"Cleve\", \"Mossie\") | student_enrolment : semester_id (15, 15, 2), student_enrolment_id (12, 8, 7), degree_program_id (9, 5, 8), other_details (None), student_id (12, 1, 6) | student_enrolment_courses : student_enrolment_id (14, 14, 5), course_id (13, 14, 12), student_course_id (681404, 2, 8) | transcripts : transcript_date (\"1990-03-05 11:59:41\", \"1990-03-05 11:59:41\", \"1986-07-12 07:27:29\"), transcript_id (9, 11, 8), other_details (None) | transcript_contents : transcript_id (8, 5, 13), student_course_id (8, 45105806, 2)", "schema_without_content": "addresses : other_address_details , city , country , state_province_county , line_3 , line_1 , line_2 , address_id , zip_postcode | courses : course_description , course_id , course_name , other_details | departments : department_name , other_details , department_description , department_id | degree_programs : department_id , degree_summary_description , other_details , degree_program_id , degree_summary_name | sections : section_description , course_id , section_id , section_name , other_details | semesters : semester_description , semester_id , other_details , semester_name | students : student_id , cell_mobile_number , first_name , permanent_address_id , email_address , other_student_details , surname , ssn , date_left , current_address_id , date_first_registered , family_name , middle_name | student_enrolment : semester_id , student_enrolment_id , degree_program_id , other_details , student_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : transcript_date , transcript_id , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "surname", "family_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "st name of the first student to register?": "Students", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "who is the earliest #graduate# of the school? list the #first name# , #middle name# and #last name# .", "db_id": "student_transcripts_tracking", "orig_query": "select first_name, middle_name, last_name from students order by date_left asc limit 1", "schema_with_content": "addresses : state_province_county (\"Wyoming\", \"WestVirginia\", \"Florida\"), address_id (12, 15, 2), line_2 (\"Apt. 335\", \"Apt. 370\", \"Apt. 370\"), other_address_details (None), city (\"Rutherfordtown\", \"New Clemensburgh\", \"Herzoghaven\"), zip_postcode (\"895\", \"895\", \"541\"), line_1 (\"74046 Metz Walk Apt. 113\", \"202 Hessel Views Apt. 468\", \"0643 Muller Vista\"), country (\"Croatia\", \"Lesotho\", \"Samoa\"), line_3 (None) | courses : course_name (\"ai\", \"dl\", \"os\"), course_id (3, 3, 10), other_details (None), course_description (\"n\", \"q\", \"k\") | departments : department_name (\"economics\", \"management\", \"art\"), other_details (None), department_description (\"error\", \"nisi\", \"dolorem\"), department_id (15, 7, 6) | degree_programs : degree_summary_description (\"esse\", \"et\", \"qui\"), department_id (12, 13, 4), other_details (None), degree_program_id (8, 4, 7), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_id (9, 3, 13), section_description (\"voluptas\", \"reprehenderit\", \"provident\"), course_id (12, 1, 9), other_details (None), section_name (\"e\", \"c\", \"y\") | semesters : semester_name (\"fall 2018\", \"spring 2016\", \"spring 2018\"), semester_description (\"g\", \"c\", \"o\"), semester_id (10, 3, 13), other_details (None) | students : date_first_registered (\"2014-03-28 05:48:23\", \"2018-03-13 09:56:22\", \"2018-03-13 09:56:22\"), email_address (\"nbruen@example.org\", \"lhartmann@example.org\", \"skassulke@example.net\"), forename (\"Deon\", \"Deon\", \"Timmothy\"), given_name (\"Deon\", \"Deon\", \"Timmothy\"), current_address_id (12, 7, 14), cell_mobile_number (\"(213)445-0399x85208\", \"(507)365-8405\", \"(507)365-8405\"), last_name (\"Christiansen\", \"Schuppe\", \"Rempel\"), other_student_details (\"laborum\", \"quia\", \"non\"), student_id (7, 5, 9), ssn (\"965\", \"494\", \"402\"), permanent_address_id (14, 14, 14), middle_name (\"Brooklyn\", \"Alberta\", \"Judd\"), date_left (\"2006-08-04 17:26:49\", \"2016-04-09 12:27:04\", \"2007-03-31 09:53:19\") | student_enrolment : degree_program_id (10, 9, 10), student_enrolment_id (10, 4, 15), semester_id (1, 5, 1), student_id (9, 5, 1), other_details (None) | student_enrolment_courses : course_id (4, 11, 3), student_course_id (70882679, 438800, 96), student_enrolment_id (4, 5, 2) | transcripts : transcript_date (\"2002-09-24 06:11:49\", \"1999-01-06 20:06:46\", \"2013-06-30 13:01:40\"), transcript_id (14, 12, 4), other_details (None) | transcript_contents : transcript_id (15, 13, 6), student_course_id (76, 0, 28982908)", "schema_without_content": "addresses : state_province_county , address_id , line_2 , other_address_details , city , zip_postcode , line_1 , country , line_3 | courses : course_name , course_id , other_details , course_description | departments : department_name , other_details , department_description , department_id | degree_programs : degree_summary_description , department_id , other_details , degree_program_id , degree_summary_name | sections : section_id , section_description , course_id , other_details , section_name | semesters : semester_name , semester_description , semester_id , other_details | students : date_first_registered , email_address , forename , given_name , current_address_id , cell_mobile_number 445-0399x85208\", \"365-8405\", \"365-8405\", last_name , other_student_details , student_id , ssn , permanent_address_id , middle_name , date_left | student_enrolment : degree_program_id , student_enrolment_id , semester_id , student_id , other_details | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : transcript_date , transcript_id , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "forename", "given_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "graduate": "Students.date_left", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "who is the earliest #graduate# of the school? list the #first name# , #middle name# and #last name# .", "db_id": "student_transcripts_tracking", "orig_query": "select first_name, middle_name, last_name from students order by date_left asc limit 1", "schema_with_content": "addresses : address_id (15, 5, 1), line_3 (None), country (\"Gibraltar\", \"Saudi Arabia\", \"Croatia\"), line_2 (\"Suite 079\", \"Suite 830\", \"Suite 830\"), other_address_details (None), zip_postcode (\"669\", \"943\", \"839\"), city (\"Goodwinhaven\", \"Mariliehaven\", \"Port Elvisfurt\"), line_1 (\"202 Hessel Views Apt. 468\", \"0643 Muller Vista\", \"3999 Aufderhar Ways Suite 593\"), state_province_county (\"Kentucky\", \"Virginia\", \"Idaho\") | courses : course_id (15, 6, 13), course_name (\"os\", \"en\", \"dl\"), course_description (\"k\", \"n\", \"d\"), other_details (None) | departments : department_name (\"economics\", \"math\", \"biology\"), department_id (9, 8, 10), department_description (\"nisi\", \"aliquam\", \"aliquam\"), other_details (None) | degree_programs : other_details (None), department_id (7, 2, 4), degree_summary_description (\"voluptas\", \"quam\", \"qui\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (7, 1, 12) | sections : course_id (6, 8, 12), section_id (2, 9, 3), section_name (\"j\", \"e\", \"c\"), other_details (None), section_description (\"qui\", \"doloremque\", \"et\") | semesters : other_details (None), semester_name (\"winter 2010\", \"winter 2018\", \"fall 2010\"), semester_id (1, 6, 13), semester_description (\"o\", \"q\", \"g\") | students : additional_name (\"Anna\", \"Golda\", \"Mossie\"), second_name (\"Anna\", \"Golda\", \"Mossie\"), last_name (\"Ankunding\", \"Ward\", \"Ankunding\"), first_name (\"Orrin\", \"Warren\", \"Milton\"), other_student_details (\"autem\", \"autem\", \"voluptatem\"), student_id (11, 13, 3), email_address (\"dell43@example.net\", \"erwin.zboncak@example.com\", \"qo'kon@example.com\"), permanent_address_id (15, 15, 5), date_first_registered (\"2007-08-29 23:25:41\", \"1986-02-24 21:12:23\", \"1989-05-24 23:31:29\"), cell_mobile_number (\"877.549.9067x8723\", \"(982)153-1469x1733\", \"(096)889-8954x524\"), date_left (\"2007-03-31 09:53:19\", \"2007-11-28 12:50:21\", \"1997-11-16 08:54:33\"), ssn (\"\", \"304246\", \"402\"), current_address_id (6, 9, 1) | student_enrolment : student_enrolment_id (12, 9, 10), other_details (None), student_id (1, 6, 12), degree_program_id (8, 10, 12), semester_id (13, 12, 5) | student_enrolment_courses : student_enrolment_id (5, 14, 10), course_id (4, 11, 2), student_course_id (7, 76, 8) | transcripts : other_details (None), transcript_date (\"2010-12-13 10:55:15\", \"1986-07-12 07:27:29\", \"1984-01-18 23:07:07\"), transcript_id (15, 4, 12) | transcript_contents : student_course_id (96, 0, 76), transcript_id (15, 4, 2)", "schema_without_content": "addresses : address_id , line_3 , country , line_2 , other_address_details , zip_postcode , city , line_1 , state_province_county | courses : course_id , course_name , course_description , other_details | departments : department_name , department_id , department_description , other_details | degree_programs : other_details , department_id , degree_summary_description , degree_summary_name , degree_program_id | sections : course_id , section_id , section_name , other_details , section_description | semesters : other_details , semester_name , semester_id , semester_description | students : additional_name , second_name , last_name , first_name , other_student_details , student_id , email_address , permanent_address_id , date_first_registered , cell_mobile_number 153-1469x1733\", \"889-8954x524\", date_left , ssn , current_address_id | student_enrolment : student_enrolment_id , other_details , student_id , degree_program_id , semester_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "middle_name": [ "second_name", "additional_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "second_name", "additional_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "graduate": "Students.date_left", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "who is the earliest #graduate# of the school? list the #first name# , #middle name# and #last name# .", "db_id": "student_transcripts_tracking", "orig_query": "select first_name, middle_name, last_name from students order by date_left asc limit 1", "schema_with_content": "addresses : city (\"Prohaskafort\", \"Lake Laishafurt\", \"Port Evanston\"), other_address_details (None), line_2 (\"Apt. 370\", \"Apt. 305\", \"Apt. 689\"), line_1 (\"67942 Carlotta Ferry Apt. 686\", \"67942 Carlotta Ferry Apt. 686\", \"67942 Carlotta Ferry Apt. 686\"), state_province_county (\"Idaho\", \"Hawaii\", \"Hawaii\"), country (\"Gibraltar\", \"Croatia\", \"Bermuda\"), zip_postcode (\"590\", \"847\", \"777\"), line_3 (None), address_id (4, 1, 9) | courses : course_id (2, 1, 11), course_description (\"v\", \"q\", \"l\"), course_name (\"nlp\", \"dl\", \"math\"), other_details (None) | departments : other_details (None), department_id (9, 5, 10), department_description (\"aliquam\", \"in\", \"nisi\"), department_name (\"medical\", \"medical\", \"computer science\") | degree_programs : department_id (3, 3, 13), other_details (None), degree_program_id (14, 11, 1), degree_summary_description (\"architecto\", \"cumque\", \"et\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_name (\"f\", \"g\", \"d\"), other_details (None), section_description (\"provident\", \"et\", \"quis\"), course_id (8, 2, 8), section_id (13, 13, 14) | semesters : other_details (None), semester_id (8, 10, 9), semester_description (\"f\", \"t\", \"q\"), semester_name (\"spring 2012\", \"spring 2013\", \"spring 2019\") | students : date_first_registered (\"1971-02-05 07:28:23\", \"1982-06-19 13:15:18\", \"2017-01-04 08:10:25\"), middle_name (\"Lorenz\", \"Brooklyn\", \"Neal\"), student_id (3, 4, 5), date_left (\"2004-12-08 05:29:11\", \"1990-09-01 05:03:27\", \"1975-10-09 00:49:27\"), ssn (\"141072406\", \"304246\", \"3\"), family_name (\"Rempel\", \"Carroll\", \"Schuppe\"), email_address (\"johns.unique@example.net\", \"jhuel@example.com\", \"beth42@example.org\"), surname (\"Rempel\", \"Carroll\", \"Schuppe\"), other_student_details (\"quia\", \"facilis\", \"omnis\"), cell_mobile_number (\"(982)153-1469x1733\", \"171-642-5684\", \"(507)365-8405\"), first_name (\"Jett\", \"Stanford\", \"Reva\"), permanent_address_id (11, 3, 3), current_address_id (14, 12, 2) | student_enrolment : degree_program_id (9, 3, 4), semester_id (4, 13, 6), student_id (4, 7, 14), student_enrolment_id (12, 12, 3), other_details (None) | student_enrolment_courses : student_course_id (7, 96, 83814225), course_id (3, 3, 14), student_enrolment_id (4, 4, 2) | transcripts : transcript_id (4, 8, 5), transcript_date (\"2002-09-24 06:11:49\", \"1999-01-06 20:06:46\", \"1998-11-22 12:18:29\"), other_details (None) | transcript_contents : transcript_id (2, 4, 6), student_course_id (45105806, 70882679, 28982908)", "schema_without_content": "addresses : city , other_address_details , line_2 , line_1 , state_province_county , country , zip_postcode , line_3 , address_id | courses : course_id , course_description , course_name , other_details | departments : other_details , department_id , department_description , department_name | degree_programs : department_id , other_details , degree_program_id , degree_summary_description , degree_summary_name | sections : section_name , other_details , section_description , course_id , section_id | semesters : other_details , semester_id , semester_description , semester_name | students : date_first_registered , middle_name , student_id , date_left , ssn , family_name , email_address , surname , other_student_details , cell_mobile_number 153-1469x1733\", \"171-642-5684\", \"365-8405\", first_name , permanent_address_id , current_address_id | student_enrolment : degree_program_id , semester_id , student_id , student_enrolment_id , other_details | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "surname", "family_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "graduate": "Students.date_left", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "what is the first, middle, and la #st name of the earliest school graduate?# ", "db_id": "student_transcripts_tracking", "orig_query": "select first_name, middle_name, last_name from students order by date_left asc limit 1", "schema_with_content": "addresses : line_2 (\"Apt. 370\", \"Suite 674\", \"Apt. 583\"), zip_postcode (\"068\", \"847\", \"386\"), other_address_details (None), country (\"Norfolk Island\", \"Saudi Arabia\", \"Saudi Arabia\"), city (\"Port Evanston\", \"South Palma\", \"New Clemensburgh\"), address_id (4, 7, 11), line_3 (None), line_1 (\"492 Wilkinson Route\", \"67942 Carlotta Ferry Apt. 686\", \"16998 Mraz Lodge\"), state_province_county (\"Wyoming\", \"Florida\", \"Delaware\") | courses : other_details (None), course_name (\"fr\", \"dl\", \"ds\"), course_id (5, 5, 2), course_description (\"w\", \"q\", \"b\") | departments : department_description (\"consequatur\", \"autem\", \"natus\"), department_name (\"medical\", \"geography\", \"management\"), other_details (None), department_id (5, 13, 15) | degree_programs : degree_program_id (2, 13, 11), degree_summary_description (\"qui\", \"aut\", \"unde\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), department_id (14, 12, 4) | sections : section_description (\"facilis\", \"reprehenderit\", \"et\"), section_name (\"f\", \"j\", \"a\"), section_id (5, 3, 1), other_details (None), course_id (7, 4, 8) | semesters : other_details (None), semester_description (\"l\", \"c\", \"w\"), semester_name (\"spring 2017\", \"winter 2018\", \"summer 2010\"), semester_id (2, 10, 1) | students : student_id (12, 4, 3), current_address_id (10, 9, 1), forename (\"Reva\", \"Orrin\", \"Milton\"), email_address (\"beth42@example.org\", \"mya88@example.org\", \"beth42@example.org\"), middle_name (\"Judd\", \"Judd\", \"Lorenz\"), other_student_details (\"quia\", \"et\", \"omnis\"), permanent_address_id (9, 4, 14), date_first_registered (\"2007-08-29 23:25:41\", \"2009-09-25 00:14:25\", \"1982-02-14 08:46:35\"), date_left (\"2007-08-02 04:12:58\", \"2014-05-30 23:32:02\", \"1997-11-16 08:54:33\"), given_name (\"Reva\", \"Orrin\", \"Milton\"), cell_mobile_number (\"677.401.9382\", \"09700166582\", \"09700166582\"), ssn (\"3\", \"248\", \"402\"), last_name (\"Ankunding\", \"Huel\", \"Jaskolski\") | student_enrolment : student_enrolment_id (2, 3, 9), student_id (14, 7, 7), degree_program_id (11, 2, 5), semester_id (1, 6, 13), other_details (None) | student_enrolment_courses : student_enrolment_id (10, 2, 5), student_course_id (83814225, 604750, 604750), course_id (14, 2, 14) | transcripts : transcript_id (4, 11, 2), other_details (None), transcript_date (\"1990-03-05 11:59:41\", \"2013-06-30 13:01:40\", \"1975-10-28 15:16:51\") | transcript_contents : transcript_id (5, 6, 4), student_course_id (96, 2, 0)", "schema_without_content": "addresses : line_2 , zip_postcode , other_address_details , country , city , address_id , line_3 , line_1 , state_province_county | courses : other_details , course_name , course_id , course_description | departments : department_description , department_name , other_details , department_id | degree_programs : degree_program_id , degree_summary_description , degree_summary_name , other_details , department_id | sections : section_description , section_name , section_id , other_details , course_id | semesters : other_details , semester_description , semester_name , semester_id | students : student_id , current_address_id , forename , email_address , middle_name , other_student_details , permanent_address_id , date_first_registered , date_left , given_name , cell_mobile_number , ssn , last_name | student_enrolment : student_enrolment_id , student_id , degree_program_id , semester_id , other_details | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : transcript_id , other_details , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "forename", "given_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "st name of the earliest school graduate?": "Students", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "what is the first, middle, and la #st name of the earliest school graduate?# ", "db_id": "student_transcripts_tracking", "orig_query": "select first_name, middle_name, last_name from students order by date_left asc limit 1", "schema_with_content": "addresses : line_3 (None), zip_postcode (\"847\", \"148\", \"386\"), line_2 (\"Apt. 406\", \"Suite 383\", \"Apt. 305\"), city (\"Rutherfordtown\", \"Lake Careyberg\", \"South Palma\"), address_id (2, 9, 3), other_address_details (None), line_1 (\"67942 Carlotta Ferry Apt. 686\", \"979 Haag Shores Suite 656\", \"0643 Muller Vista\"), state_province_county (\"Florida\", \"Idaho\", \"NorthCarolina\"), country (\"Norfolk Island\", \"Gibraltar\", \"Iceland\") | courses : course_id (1, 5, 6), course_name (\"ml\", \"os\", \"oop\"), course_description (\"q\", \"w\", \"k\"), other_details (None) | departments : department_name (\"engineer\", \"geography\", \"geography\"), other_details (None), department_id (7, 12, 5), department_description (\"autem\", \"error\", \"nihil\") | degree_programs : other_details (None), degree_summary_description (\"earum\", \"unde\", \"architecto\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (14, 9, 2), department_id (15, 14, 12) | sections : course_id (12, 14, 6), other_details (None), section_id (12, 13, 3), section_description (\"quis\", \"reprehenderit\", \"facilis\"), section_name (\"p\", \"d\", \"o\") | semesters : semester_name (\"spring 2016\", \"spring 2016\", \"spring 2010\"), semester_description (\"o\", \"c\", \"x\"), other_details (None), semester_id (1, 7, 11) | students : date_first_registered (\"2004-12-24 12:36:46\", \"2017-01-04 08:10:25\", \"1982-02-14 08:46:35\"), cell_mobile_number (\"(605)919-3594x3661\", \"(096)889-8954x524\", \"877.549.9067x8723\"), first_name (\"Jett\", \"Gregg\", \"Stanford\"), email_address (\"lhartmann@example.org\", \"lhartmann@example.org\", \"gracie29@example.com\"), date_left (\"2006-08-04 17:26:49\", \"2006-08-04 17:26:49\", \"1975-10-09 00:49:27\"), second_name (\"Mossie\", \"Anna\", \"Neal\"), additional_name (\"Mossie\", \"Anna\", \"Neal\"), last_name (\"Rempel\", \"Carroll\", \"Schuppe\"), ssn (\"3\", \"43\", \"141072406\"), other_student_details (\"assumenda\", \"qui\", \"omnis\"), permanent_address_id (11, 3, 8), student_id (12, 15, 10), current_address_id (14, 2, 2) | student_enrolment : student_id (5, 9, 1), degree_program_id (9, 11, 8), semester_id (13, 2, 12), student_enrolment_id (2, 12, 8), other_details (None) | student_enrolment_courses : course_id (12, 6, 14), student_enrolment_id (4, 2, 8), student_course_id (76, 604750, 2) | transcripts : transcript_id (7, 14, 15), transcript_date (\"1975-10-28 15:16:51\", \"2013-06-30 13:01:40\", \"1990-03-05 11:59:41\"), other_details (None) | transcript_contents : student_course_id (45105806, 76, 96), transcript_id (4, 11, 4)", "schema_without_content": "addresses : line_3 , zip_postcode , line_2 , city , address_id , other_address_details , line_1 , state_province_county , country | courses : course_id , course_name , course_description , other_details | departments : department_name , other_details , department_id , department_description | degree_programs : other_details , degree_summary_description , degree_summary_name , degree_program_id , department_id | sections : course_id , other_details , section_id , section_description , section_name | semesters : semester_name , semester_description , other_details , semester_id | students : date_first_registered , cell_mobile_number 919-3594x3661\", \"889-8954x524\", \"877.549.9067x8723\", first_name , email_address , date_left , second_name , additional_name , last_name , ssn , other_student_details , permanent_address_id , student_id , current_address_id | student_enrolment : student_id , degree_program_id , semester_id , student_enrolment_id , other_details | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "middle_name": [ "second_name", "additional_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "second_name", "additional_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "st name of the earliest school graduate?": "Students", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "what is the first, middle, and la #st name of the earliest school graduate?# ", "db_id": "student_transcripts_tracking", "orig_query": "select first_name, middle_name, last_name from students order by date_left asc limit 1", "schema_with_content": "addresses : country (\"Croatia\", \"Iceland\", \"Saudi Arabia\"), other_address_details (None), city (\"New Clemensburgh\", \"Prohaskafort\", \"Lake Laishafurt\"), zip_postcode (\"839\", \"400\", \"902\"), address_id (15, 8, 4), state_province_county (\"Washington\", \"Virginia\", \"Idaho\"), line_1 (\"3999 Aufderhar Ways Suite 593\", \"979 Haag Shores Suite 656\", \"9283 Schulist Falls Apt. 037\"), line_2 (\"Suite 674\", \"Apt. 583\", \"Apt. 388\"), line_3 (None) | courses : course_name (\"db\", \"nlp\", \"os\"), other_details (None), course_id (11, 4, 11), course_description (\"w\", \"n\", \"c\") | departments : department_id (1, 8, 7), other_details (None), department_description (\"consequatur\", \"nostrum\", \"nostrum\"), department_name (\"history\", \"drama\", \"history\") | degree_programs : degree_summary_description (\"architecto\", \"placeat\", \"cumque\"), department_id (12, 14, 14), degree_program_id (4, 15, 9), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_id (3, 12, 5), course_id (9, 2, 6), other_details (None), section_description (\"non\", \"ex\", \"reprehenderit\"), section_name (\"p\", \"u\", \"k\") | semesters : semester_description (\"t\", \"f\", \"q\"), semester_id (4, 15, 5), other_details (None), semester_name (\"spring 2010\", \"spring 2010\", \"fall 2018\") | students : first_name (\"Hobart\", \"Delaney\", \"Gregg\"), student_id (13, 1, 1), surname (\"Mohr\", \"Ward\", \"Jaskolski\"), current_address_id (15, 2, 10), family_name (\"Mohr\", \"Ward\", \"Jaskolski\"), date_first_registered (\"2018-03-13 09:56:22\", \"2005-12-15 08:42:10\", \"2009-09-25 00:14:25\"), cell_mobile_number (\"07661787471\", \"(213)445-0399x85208\", \"(462)246-7921\"), other_student_details (\"rerum\", \"assumenda\", \"laborum\"), email_address (\"baumbach.lucious@example.org\", \"lhartmann@example.org\", \"johns.unique@example.net\"), ssn (\"494\", \"402\", \"668\"), date_left (\"2006-08-04 17:26:49\", \"2004-12-08 05:29:11\", \"1971-05-17 19:28:49\"), middle_name (\"Mona\", \"Alberta\", \"Violet\"), permanent_address_id (8, 11, 14) | student_enrolment : degree_program_id (3, 2, 11), student_id (1, 12, 7), student_enrolment_id (11, 6, 13), semester_id (13, 9, 9), other_details (None) | student_enrolment_courses : student_enrolment_id (13, 6, 14), student_course_id (28982908, 0, 7), course_id (13, 11, 13) | transcripts : other_details (None), transcript_date (\"1984-12-19 00:37:21\", \"1975-10-28 15:16:51\", \"1985-04-29 01:20:20\"), transcript_id (14, 9, 4) | transcript_contents : transcript_id (2, 11, 5), student_course_id (45105806, 70882679, 70882679)", "schema_without_content": "addresses : country , other_address_details , city , zip_postcode , address_id , state_province_county , line_1 , line_2 , line_3 | courses : course_name , other_details , course_id , course_description | departments : department_id , other_details , department_description , department_name | degree_programs : degree_summary_description , department_id , degree_program_id , other_details , degree_summary_name | sections : section_id , course_id , other_details , section_description , section_name | semesters : semester_description , semester_id , other_details , semester_name | students : first_name , student_id , surname , current_address_id , family_name , date_first_registered , cell_mobile_number 445-0399x85208\", \"246-7921\", other_student_details , email_address , ssn , date_left , middle_name , permanent_address_id | student_enrolment : degree_program_id , student_id , student_enrolment_id , semester_id , other_details | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "surname", "family_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "st name of the earliest school graduate?": "Students", "first name": "Students.first_name", "middle name": "Students.middle_name", "last name": "Students.last_name" } }, { "question": "whose #permanent address# is different from his or her #current address# ? list his or her #first name# .", "db_id": "student_transcripts_tracking", "orig_query": "select first_name from students where current_address_id != permanent_address_id", "schema_with_content": "addresses : line_1 (\"7081 Eda Center\", \"979 Haag Shores Suite 656\", \"2294 Grant Square Apt. 235\"), address_id (11, 6, 11), other_address_details (None), line_3 (None), line_2 (\"Suite 239\", \"Suite 239\", \"Apt. 689\"), country (\"Lesotho\", \"Angola\", \"Bermuda\"), state_province_county (\"Wyoming\", \"Idaho\", \"Wyoming\"), zip_postcode (\"777\", \"541\", \"590\"), city (\"Herzoghaven\", \"Mariliehaven\", \"North Omer\") | courses : course_description (\"p\", \"p\", \"w\"), other_details (None), course_id (5, 9, 9), course_name (\"nlp\", \"la\", \"cal\") | departments : department_id (3, 1, 6), other_details (None), department_description (\"dolorem\", \"dolorem\", \"doloribus\"), department_name (\"linguistic\", \"geography\", \"biology\") | degree_programs : other_details (None), degree_program_id (4, 12, 2), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (14, 3, 11), degree_summary_description (\"earum\", \"quam\", \"voluptas\") | sections : section_id (8, 9, 12), other_details (None), section_name (\"j\", \"a\", \"d\"), course_id (2, 12, 7), section_description (\"nesciunt\", \"reprehenderit\", \"nesciunt\") | semesters : semester_name (\"winter 2018\", \"winter 2018\", \"spring 2010\"), semester_description (\"m\", \"y\", \"o\"), other_details (None), semester_id (1, 13, 2) | students : email_address (\"baumbach.lucious@example.org\", \"beth42@example.org\", \"gracie29@example.com\"), date_first_registered (\"2007-08-29 23:25:41\", \"1971-02-05 07:28:23\", \"1971-02-05 07:28:23\"), given_name (\"Timmothy\", \"Frida\", \"Hobart\"), cell_mobile_number (\"(096)889-8954x524\", \"677.401.9382\", \"677.401.9382\"), other_student_details (\"qui\", \"atque\", \"voluptatem\"), middle_name (\"Lorenz\", \"Judd\", \"Violet\"), ssn (\"\", \"68095\", \"43\"), permanent_address_id (14, 3, 8), date_left (\"1982-06-11 00:25:39\", \"1990-09-01 05:03:27\", \"1971-05-17 19:28:49\"), forename (\"Timmothy\", \"Frida\", \"Hobart\"), current_address_id (9, 7, 10), student_id (10, 5, 9), last_name (\"Ward\", \"Rempel\", \"Gleichner\") | student_enrolment : other_details (None), semester_id (1, 13, 2), student_enrolment_id (14, 11, 3), degree_program_id (5, 2, 10), student_id (1, 4, 1) | student_enrolment_courses : student_course_id (438800, 604750, 604750), course_id (10, 3, 3), student_enrolment_id (4, 6, 9) | transcripts : transcript_date (\"1975-05-06 12:04:47\", \"2010-12-13 10:55:15\", \"2013-06-30 13:01:40\"), transcript_id (11, 11, 4), other_details (None) | transcript_contents : student_course_id (0, 96, 28982908), transcript_id (2, 9, 8)", "schema_without_content": "addresses : line_1 , address_id , other_address_details , line_3 , line_2 , country , state_province_county , zip_postcode , city | courses : course_description , other_details , course_id , course_name | departments : department_id , other_details , department_description , department_name | degree_programs : other_details , degree_program_id , degree_summary_name , department_id , degree_summary_description | sections : section_id , other_details , section_name , course_id , section_description | semesters : semester_name , semester_description , other_details , semester_id | students : email_address , date_first_registered , given_name , cell_mobile_number 889-8954x524\", \"677.401.9382\", \"677.401.9382\", other_student_details , middle_name , ssn , permanent_address_id , date_left , forename , current_address_id , student_id , last_name | student_enrolment : other_details , semester_id , student_enrolment_id , degree_program_id , student_id | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : transcript_date , transcript_id , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "forename", "given_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "permanent address": "Students.permanent_address_id", "current address": "Students.current_address_id", "first name": "Students.first_name" } }, { "question": "what is the #first name of the student# whose #permanent address# is different from his or her current one?", "db_id": "student_transcripts_tracking", "orig_query": "select first_name from students where current_address_id != permanent_address_id", "schema_with_content": "addresses : address_id (14, 3, 1), line_1 (\"9283 Schulist Falls Apt. 037\", \"186 Evan Motorway Apt. 409\", \"9283 Schulist Falls Apt. 037\"), line_3 (None), other_address_details (None), zip_postcode (\"895\", \"669\", \"400\"), city (\"New Clemensburgh\", \"Port Elvisfurt\", \"Rutherfordtown\"), country (\"Norfolk Island\", \"Samoa\", \"Iceland\"), line_2 (\"Apt. 335\", \"Suite 674\", \"Apt. 689\"), state_province_county (\"WestVirginia\", \"Hawaii\", \"Kentucky\") | courses : other_details (None), course_name (\"pl\", \"math\", \"nlp\"), course_id (9, 4, 11), course_description (\"n\", \"v\", \"d\") | departments : department_name (\"geography\", \"statistics\", \"history\"), department_description (\"consequatur\", \"dolorem\", \"aliquam\"), other_details (None), department_id (7, 6, 12) | degree_programs : degree_summary_description (\"esse\", \"officiis\", \"assumenda\"), degree_program_id (6, 6, 1), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (3, 4, 8), other_details (None) | sections : section_description (\"quis\", \"et\", \"quis\"), section_name (\"a\", \"p\", \"o\"), other_details (None), section_id (3, 11, 12), course_id (6, 10, 4) | semesters : semester_description (\"y\", \"x\", \"c\"), semester_id (15, 15, 6), other_details (None), semester_name (\"winter 2018\", \"winter 2018\", \"spring 2015\") | students : middle_name (\"Judd\", \"Vaughn\", \"Aaliyah\"), date_first_registered (\"2009-09-25 00:14:25\", \"2018-03-13 09:56:22\", \"1982-02-14 08:46:35\"), current_address_id (14, 15, 1), permanent_address_id (3, 11, 4), student_id (8, 3, 9), last_name (\"Gleichner\", \"Gleichner\", \"Weimann\"), cell_mobile_number (\"(462)246-7921\", \"09700166582\", \"(096)889-8954x524\"), forename (\"Milton\", \"Jordy\", \"Delaney\"), date_left (\"1999-08-24 00:07:10\", \"2016-04-09 12:27:04\", \"2007-03-31 09:53:19\"), ssn (\"156\", \"43\", \"402\"), email_address (\"jillian26@example.net\", \"skassulke@example.net\", \"beth42@example.org\"), other_student_details (\"atque\", \"quia\", \"assumenda\"), given_name (\"Milton\", \"Jordy\", \"Delaney\") | student_enrolment : other_details (None), student_id (5, 6, 12), degree_program_id (11, 10, 10), student_enrolment_id (15, 6, 10), semester_id (6, 5, 2) | student_enrolment_courses : course_id (3, 13, 12), student_enrolment_id (8, 2, 4), student_course_id (8, 438800, 9860) | transcripts : transcript_id (14, 12, 10), transcript_date (\"1999-01-06 20:06:46\", \"1990-03-05 11:59:41\", \"1990-03-05 11:59:41\"), other_details (None) | transcript_contents : transcript_id (11, 5, 5), student_course_id (2, 8, 8)", "schema_without_content": "addresses : address_id , line_1 , line_3 , other_address_details , zip_postcode , city , country , line_2 , state_province_county | courses : other_details , course_name , course_id , course_description | departments : department_name , department_description , other_details , department_id | degree_programs : degree_summary_description , degree_program_id , degree_summary_name , department_id , other_details | sections : section_description , section_name , other_details , section_id , course_id | semesters : semester_description , semester_id , other_details , semester_name | students : middle_name , date_first_registered , current_address_id , permanent_address_id , student_id , last_name , cell_mobile_number 246-7921\", \"09700166582\", \"889-8954x524\", forename , date_left , ssn , email_address , other_student_details , given_name | student_enrolment : other_details , student_id , degree_program_id , student_enrolment_id , semester_id | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : transcript_id , transcript_date , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "forename", "given_name" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "first name of the student": "Students.first_name", "permanent address": "Students.permanent_address_id", "current address": "Students.current_address_id" } }, { "question": "which address holds the most number of #students currently# ? list the #address id# and all #lines# .", "db_id": "student_transcripts_tracking", "orig_query": "select t1.address_id, t1.line_1, t1.line_2 from addresses as t1 join students as t2 on t1.address_id = t2.current_address_id group by t1.address_id order by count(*) desc limit 1", "schema_with_content": "addresses : state_province_county (\"Delaware\", \"Hawaii\", \"Hawaii\"), zip_postcode (\"638\", \"541\", \"148\"), country (\"Croatia\", \"Iceland\", \"Bermuda\"), second_line (\"Apt. 468\", \"Suite 239\", \"Apt. 305\"), line_3 (None), other_address_details (None), secondary_address (\"Apt. 468\", \"Suite 239\", \"Apt. 305\"), city (\"Port Oceane\", \"Lake Laishafurt\", \"Port Oceane\"), address_id (12, 4, 9), line_1 (\"3999 Aufderhar Ways Suite 593\", \"202 Hessel Views Apt. 468\", \"202 Hessel Views Apt. 468\") | courses : course_id (1, 3, 12), course_description (\"p\", \"k\", \"d\"), other_details (None), course_name (\"math\", \"en\", \"nlp\") | departments : department_id (5, 7, 7), department_description (\"aliquam\", \"ea\", \"non\"), department_name (\"medical\", \"medical\", \"engineer\"), other_details (None) | degree_programs : degree_summary_description (\"aperiam\", \"aperiam\", \"qui\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (10, 15, 3), other_details (None), department_id (4, 14, 8) | sections : other_details (None), section_description (\"reprehenderit\", \"quis\", \"reprehenderit\"), section_name (\"o\", \"f\", \"o\"), section_id (14, 8, 14), course_id (6, 1, 12) | semesters : semester_name (\"summer 2010\", \"spring 2012\", \"winter 2018\"), semester_id (3, 4, 10), semester_description (\"y\", \"l\", \"q\"), other_details (None) | students : cell_mobile_number (\"03174364122\", \"(982)153-1469x1733\", \"877.549.9067x8723\"), first_name (\"Jordy\", \"Reva\", \"Helga\"), middle_name (\"Aaliyah\", \"Brooklyn\", \"Vaughn\"), last_name (\"Carroll\", \"Carroll\", \"Mohr\"), student_id (15, 5, 4), email_address (\"nya.lesch@example.net\", \"swift.kolby@example.com\", \"jhuel@example.com\"), current_address_id (7, 15, 10), other_student_details (\"rerum\", \"omnis\", \"atque\"), date_first_registered (\"1971-02-05 07:28:23\", \"2005-12-15 08:42:10\", \"1976-10-26 02:33:06\"), ssn (\"43\", \"39\", \"43\"), permanent_address_id (8, 11, 5), date_left (\"2007-03-31 09:53:19\", \"2007-08-02 04:12:58\", \"1982-06-11 00:25:39\") | student_enrolment : other_details (None), semester_id (2, 4, 12), degree_program_id (10, 2, 9), student_id (7, 9, 6), student_enrolment_id (12, 1, 7) | student_enrolment_courses : course_id (4, 4, 2), student_enrolment_id (9, 10, 14), student_course_id (7, 96, 2) | transcripts : transcript_id (2, 12, 15), other_details (None), transcript_date (\"1975-05-20 18:31:21\", \"2013-06-30 13:01:40\", \"2002-09-24 06:11:49\") | transcript_contents : transcript_id (2, 4, 15), student_course_id (28982908, 7, 28982908)", "schema_without_content": "addresses : state_province_county , zip_postcode , country , second_line , line_3 , other_address_details , secondary_address , city , address_id , line_1 | courses : course_id , course_description , other_details , course_name | departments : department_id , department_description , department_name , other_details | degree_programs : degree_summary_description , degree_summary_name , degree_program_id , other_details , department_id | sections : other_details , section_description , section_name , section_id , course_id | semesters : semester_name , semester_id , semester_description , other_details | students : cell_mobile_number 153-1469x1733\", \"877.549.9067x8723\", first_name , middle_name , last_name , student_id , email_address , current_address_id , other_student_details , date_first_registered , ssn , permanent_address_id , date_left | student_enrolment : other_details , semester_id , degree_program_id , student_id , student_enrolment_id | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : transcript_id , other_details , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "addresses": { "line_2": [ "second_line", "secondary_address" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details", "second_line", "secondary_address" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "students currently": "Students.current_address_id", "address id": "Addresses.address_id", "lines": [ "Addresses.line_1", "Addresses.line_2" ] } }, { "question": "which address holds the most number of #students currently# ? list the #address id# and all #lines# .", "db_id": "student_transcripts_tracking", "orig_query": "select t1.address_id, t1.line_1, t1.line_2 from addresses as t1 join students as t2 on t1.address_id = t2.current_address_id group by t1.address_id order by count(*) desc limit 1", "schema_with_content": "addresses : line_3 (None), first_line (\"0144 Lamar Plaza Apt. 346\", \"3999 Aufderhar Ways Suite 593\", \"67942 Carlotta Ferry Apt. 686\"), primary_address (\"0144 Lamar Plaza Apt. 346\", \"3999 Aufderhar Ways Suite 593\", \"67942 Carlotta Ferry Apt. 686\"), country (\"Croatia\", \"Croatia\", \"Burundi\"), address_id (12, 3, 2), line_2 (\"Apt. 335\", \"Apt. 370\", \"Suite 830\"), other_address_details (None), city (\"Michelleburgh\", \"Port Elvisfurt\", \"New Clemensburgh\"), zip_postcode (\"777\", \"902\", \"847\"), state_province_county (\"WestVirginia\", \"SouthDakota\", \"SouthDakota\") | courses : course_id (5, 1, 9), course_name (\"cal\", \"en\", \"cal\"), course_description (\"v\", \"b\", \"w\"), other_details (None) | departments : department_description (\"in\", \"consequatur\", \"doloribus\"), department_id (5, 5, 10), department_name (\"law\", \"engineer\", \"history\"), other_details (None) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (3, 12, 4), degree_program_id (2, 5, 7), degree_summary_description (\"architecto\", \"voluptas\", \"qui\"), other_details (None) | sections : section_description (\"doloremque\", \"doloremque\", \"facilis\"), section_id (11, 7, 1), course_id (1, 2, 7), other_details (None), section_name (\"p\", \"l\", \"k\") | semesters : semester_name (\"spring 2014\", \"spring 2014\", \"summer 2010\"), other_details (None), semester_description (\"g\", \"l\", \"y\"), semester_id (14, 8, 12) | students : date_first_registered (\"2005-12-15 08:42:10\", \"2014-03-28 05:48:23\", \"1997-03-20 16:47:25\"), other_student_details (\"atque\", \"non\", \"laborum\"), permanent_address_id (5, 3, 5), first_name (\"Gregg\", \"Gregg\", \"Deon\"), cell_mobile_number (\"(213)445-0399x85208\", \"(982)153-1469x1733\", \"(507)365-8405\"), current_address_id (14, 10, 14), email_address (\"skassulke@example.net\", \"qo'kon@example.com\", \"gracie29@example.com\"), date_left (\"2013-10-05 17:41:28\", \"2007-03-31 09:53:19\", \"2007-11-28 12:50:21\"), last_name (\"Balistreri\", \"Osinski\", \"Kemmer\"), middle_name (\"Aaliyah\", \"Judd\", \"Cleve\"), student_id (10, 13, 3), ssn (\"668\", \"\", \"34458427\") | student_enrolment : student_enrolment_id (2, 7, 10), degree_program_id (9, 4, 12), student_id (1, 9, 9), semester_id (12, 2, 6), other_details (None) | student_enrolment_courses : student_course_id (0, 8, 28982908), course_id (6, 10, 11), student_enrolment_id (8, 5, 2) | transcripts : transcript_id (13, 9, 4), other_details (None), transcript_date (\"1985-08-21 09:32:39\", \"1990-03-05 11:59:41\", \"2002-09-24 06:11:49\") | transcript_contents : student_course_id (0, 7, 2), transcript_id (8, 15, 5)", "schema_without_content": "addresses : line_3 , first_line , primary_address , country , address_id , line_2 , other_address_details , city , zip_postcode , state_province_county | courses : course_id , course_name , course_description , other_details | departments : department_description , department_id , department_name , other_details | degree_programs : degree_summary_name , department_id , degree_program_id , degree_summary_description , other_details | sections : section_description , section_id , course_id , other_details , section_name | semesters : semester_name , other_details , semester_description , semester_id | students : date_first_registered , other_student_details , permanent_address_id , first_name , cell_mobile_number 445-0399x85208\", \"153-1469x1733\", \"365-8405\", current_address_id , email_address , date_left , last_name , middle_name , student_id , ssn | student_enrolment : student_enrolment_id , degree_program_id , student_id , semester_id , other_details | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : transcript_id , other_details , transcript_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "addresses": { "line_1": [ "first_line", "primary_address" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details", "first_line", "primary_address" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "students currently": "Students.current_address_id", "address id": "Addresses.address_id", "lines": [ "Addresses.line_1", "Addresses.line_2" ] } }, { "question": "which address holds the most number of #students currently# ? list the #address id# and all #lines# .", "db_id": "student_transcripts_tracking", "orig_query": "select t1.address_id, t1.line_1, t1.line_2 from addresses as t1 join students as t2 on t1.address_id = t2.current_address_id group by t1.address_id order by count(*) desc limit 1", "schema_with_content": "addresses : line_3 (None), state_province_county (\"Florida\", \"WestVirginia\", \"NorthCarolina\"), line_1 (\"858 Peggie Bypass Suite 212\", \"492 Wilkinson Route\", \"0643 Muller Vista\"), zip_postcode (\"590\", \"400\", \"895\"), other_address_details (None), address_code (6, 9, 4), postal_address_id (6, 9, 4), country (\"Gabon\", \"Cook Islands\", \"Norfolk Island\"), line_2 (\"Suite 079\", \"Suite 830\", \"Apt. 689\"), city (\"North Omer\", \"Lake Laishafurt\", \"South Palma\") | courses : course_id (9, 8, 15), course_description (\"v\", \"w\", \"p\"), other_details (None), course_name (\"la\", \"math\", \"dl\") | departments : department_description (\"error\", \"error\", \"aliquam\"), department_name (\"medical\", \"economics\", \"law\"), department_id (10, 13, 3), other_details (None) | degree_programs : other_details (None), department_id (15, 14, 14), degree_program_id (13, 7, 9), degree_summary_description (\"assumenda\", \"aut\", \"assumenda\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_id (4, 15, 11), course_id (4, 2, 8), section_name (\"e\", \"c\", \"u\"), other_details (None), section_description (\"et\", \"reprehenderit\", \"et\") | semesters : semester_description (\"l\", \"c\", \"w\"), semester_name (\"spring 2016\", \"winter 2018\", \"summer 2010\"), other_details (None), semester_id (1, 6, 9) | students : middle_name (\"Aaliyah\", \"Lorenz\", \"Alberta\"), ssn (\"\", \"39\", \"668\"), current_address_id (15, 1, 6), student_id (15, 4, 11), permanent_address_id (5, 9, 8), date_left (\"2007-03-31 09:53:19\", \"2017-07-09 21:38:43\", \"1990-09-01 05:03:27\"), first_name (\"Hobart\", \"Reva\", \"Delaney\"), other_student_details (\"voluptatem\", \"atque\", \"non\"), email_address (\"nbruen@example.org\", \"qo'kon@example.com\", \"qo'kon@example.com\"), last_name (\"Schuppe\", \"Huel\", \"Mohr\"), cell_mobile_number (\"(213)445-0399x85208\", \"1-879-796-8987x164\", \"(982)153-1469x1733\"), date_first_registered (\"1976-10-26 02:33:06\", \"2018-03-13 09:56:22\", \"1989-05-24 23:31:29\") | student_enrolment : semester_id (6, 15, 2), student_id (9, 9, 6), student_enrolment_id (8, 9, 14), other_details (None), degree_program_id (8, 9, 10) | student_enrolment_courses : course_id (11, 6, 11), student_course_id (1, 8, 0), student_enrolment_id (6, 2, 10) | transcripts : transcript_date (\"1990-03-05 11:59:41\", \"1985-08-21 09:32:39\", \"1984-01-18 23:07:07\"), transcript_id (15, 2, 15), other_details (None) | transcript_contents : student_course_id (70882679, 28982908, 28982908), transcript_id (4, 8, 6)", "schema_without_content": "addresses : line_3 , state_province_county , line_1 , zip_postcode , other_address_details , address_code , postal_address_id , country , line_2 , city | courses : course_id , course_description , other_details , course_name | departments : department_description , department_name , department_id , other_details | degree_programs : other_details , department_id , degree_program_id , degree_summary_description , degree_summary_name | sections : section_id , course_id , section_name , other_details , section_description | semesters : semester_description , semester_name , other_details , semester_id | students : middle_name , ssn , current_address_id , student_id , permanent_address_id , date_left , first_name , other_student_details , email_address , last_name , cell_mobile_number 445-0399x85208\", \"1-879-796-8987x164\", \"153-1469x1733\", date_first_registered | student_enrolment : semester_id , student_id , student_enrolment_id , other_details , degree_program_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : transcript_date , transcript_id , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "addresses": { "address_id": [ "address_code", "postal_address_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details", "address_code", "postal_address_id" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "students currently": "Students.current_address_id", "address id": "Addresses.address_id", "lines": [ "Addresses.line_1", "Addresses.line_2" ] } }, { "question": "what is the #id# , #line 1# , and li #ne 2 of the address w# ith the most #students# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.address_id, t1.line_1, t1.line_2 from addresses as t1 join students as t2 on t1.address_id = t2.current_address_id group by t1.address_id order by count(*) desc limit 1", "schema_with_content": "addresses : line_3 (None), state_province_county (\"Delaware\", \"WestVirginia\", \"Wyoming\"), line_1 (\"202 Hessel Views Apt. 468\", \"979 Haag Shores Suite 656\", \"0643 Muller Vista\"), address_id (5, 5, 7), second_line (\"Suite 079\", \"Apt. 335\", \"Apt. 370\"), country (\"Lesotho\", \"Bermuda\", \"Lesotho\"), secondary_address (\"Suite 079\", \"Apt. 335\", \"Apt. 370\"), other_address_details (None), zip_postcode (\"400\", \"638\", \"902\"), city (\"Port Oceane\", \"Mariliehaven\", \"Goodwinhaven\") | courses : course_name (\"os\", \"math\", \"en\"), other_details (None), course_description (\"p\", \"c\", \"k\"), course_id (14, 5, 11) | departments : department_description (\"in\", \"nisi\", \"natus\"), department_name (\"geography\", \"law\", \"geography\"), department_id (9, 13, 5), other_details (None) | degree_programs : degree_summary_description (\"voluptas\", \"placeat\", \"esse\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), degree_program_id (4, 14, 4), department_id (12, 4, 15) | sections : section_id (1, 4, 6), other_details (None), section_description (\"voluptatem\", \"voluptas\", \"facilis\"), section_name (\"k\", \"d\", \"h\"), course_id (4, 7, 10) | semesters : semester_description (\"g\", \"y\", \"y\"), semester_name (\"spring 2016\", \"fall 2010\", \"spring 2013\"), other_details (None), semester_id (6, 1, 5) | students : last_name (\"Mohr\", \"Balistreri\", \"Rempel\"), ssn (\"43\", \"\", \"402\"), student_id (12, 7, 15), first_name (\"Orrin\", \"Frida\", \"Jett\"), other_student_details (\"qui\", \"qui\", \"assumenda\"), date_left (\"1990-09-01 05:03:27\", \"2007-08-02 04:12:58\", \"1975-10-09 00:49:27\"), email_address (\"nya.lesch@example.net\", \"jhuel@example.com\", \"mya88@example.org\"), current_address_id (9, 2, 12), middle_name (\"Aaliyah\", \"Mossie\", \"Mossie\"), cell_mobile_number (\"(982)153-1469x1733\", \"436.613.7683\", \"09700166582\"), date_first_registered (\"1982-06-19 13:15:18\", \"1971-02-05 07:28:23\", \"2014-03-28 05:48:23\"), permanent_address_id (14, 14, 15) | student_enrolment : student_id (7, 4, 6), degree_program_id (4, 3, 3), semester_id (2, 13, 4), student_enrolment_id (10, 9, 11), other_details (None) | student_enrolment_courses : student_enrolment_id (2, 10, 8), student_course_id (76, 8, 83814225), course_id (11, 6, 2) | transcripts : transcript_id (8, 6, 14), other_details (None), transcript_date (\"1998-11-22 12:18:29\", \"1986-07-12 07:27:29\", \"1984-12-19 00:37:21\") | transcript_contents : transcript_id (8, 12, 12), student_course_id (76, 45105806, 28982908)", "schema_without_content": "addresses : line_3 , state_province_county , line_1 , address_id , second_line , country , secondary_address , other_address_details , zip_postcode , city | courses : course_name , other_details , course_description , course_id | departments : department_description , department_name , department_id , other_details | degree_programs : degree_summary_description , degree_summary_name , other_details , degree_program_id , department_id | sections : section_id , other_details , section_description , section_name , course_id | semesters : semester_description , semester_name , other_details , semester_id | students : last_name , ssn , student_id , first_name , other_student_details , date_left , email_address , current_address_id , middle_name , cell_mobile_number 153-1469x1733\", \"436.613.7683\", \"09700166582\", date_first_registered , permanent_address_id | student_enrolment : student_id , degree_program_id , semester_id , student_enrolment_id , other_details | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : transcript_id , other_details , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "addresses": { "line_2": [ "second_line", "secondary_address" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details", "second_line", "secondary_address" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "id": "Addresses.address_id", "line 1": "Addresses.line_1", "ne 2 of the address w": "Addresses", "students": "Students", "line 2": "Addresses.line_2" } }, { "question": "what is the #id# , #line 1# , and li #ne 2 of the address w# ith the most #students# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.address_id, t1.line_1, t1.line_2 from addresses as t1 join students as t2 on t1.address_id = t2.current_address_id group by t1.address_id order by count(*) desc limit 1", "schema_with_content": "addresses : city (\"Lake Laishafurt\", \"Lake Laishafurt\", \"Prohaskafort\"), first_line (\"858 Peggie Bypass Suite 212\", \"492 Wilkinson Route\", \"858 Peggie Bypass Suite 212\"), other_address_details (None), country (\"Haiti\", \"Gabon\", \"Cook Islands\"), line_2 (\"Apt. 406\", \"Apt. 468\", \"Apt. 335\"), state_province_county (\"Washington\", \"Kentucky\", \"Kentucky\"), zip_postcode (\"446\", \"541\", \"839\"), primary_address (\"858 Peggie Bypass Suite 212\", \"492 Wilkinson Route\", \"858 Peggie Bypass Suite 212\"), line_3 (None), address_id (7, 6, 10) | courses : course_name (\"db\", \"rs\", \"oop\"), other_details (None), course_description (\"n\", \"p\", \"b\"), course_id (5, 4, 8) | departments : other_details (None), department_id (5, 11, 10), department_description (\"aliquam\", \"in\", \"error\"), department_name (\"statistics\", \"drama\", \"history\") | degree_programs : other_details (None), degree_program_id (1, 5, 3), department_id (15, 8, 14), degree_summary_description (\"esse\", \"voluptas\", \"et\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : course_id (12, 8, 5), section_id (14, 4, 1), other_details (None), section_name (\"l\", \"c\", \"a\"), section_description (\"reprehenderit\", \"nesciunt\", \"non\") | semesters : semester_id (6, 12, 12), other_details (None), semester_description (\"t\", \"l\", \"m\"), semester_name (\"spring 2015\", \"summer 2010\", \"spring 2016\") | students : date_first_registered (\"2005-12-15 08:42:10\", \"2007-08-29 23:25:41\", \"2009-09-25 00:14:25\"), date_left (\"1999-08-24 00:07:10\", \"2007-03-31 09:53:19\", \"1975-10-09 00:49:27\"), middle_name (\"Golda\", \"Aisha\", \"Mossie\"), last_name (\"Ankunding\", \"Balistreri\", \"Balistreri\"), current_address_id (1, 12, 6), first_name (\"Hobart\", \"Hobart\", \"Deon\"), cell_mobile_number (\"03174364122\", \"1-009-710-5151\", \"09700166582\"), other_student_details (\"laborum\", \"quia\", \"quia\"), ssn (\"156\", \"156\", \"156\"), student_id (10, 9, 11), permanent_address_id (8, 4, 3), email_address (\"beth42@example.org\", \"qo'kon@example.com\", \"qo'kon@example.com\") | student_enrolment : other_details (None), student_id (7, 12, 7), degree_program_id (10, 10, 4), semester_id (2, 15, 6), student_enrolment_id (8, 2, 12) | student_enrolment_courses : student_enrolment_id (8, 5, 10), student_course_id (604750, 70882679, 28982908), course_id (10, 12, 13) | transcripts : transcript_date (\"1975-10-28 15:16:51\", \"1986-07-12 07:27:29\", \"2002-09-24 06:11:49\"), other_details (None), transcript_id (15, 11, 5) | transcript_contents : transcript_id (13, 5, 5), student_course_id (76, 8, 76)", "schema_without_content": "addresses : city , first_line , other_address_details , country , line_2 , state_province_county , zip_postcode , primary_address , line_3 , address_id | courses : course_name , other_details , course_description , course_id | departments : other_details , department_id , department_description , department_name | degree_programs : other_details , degree_program_id , department_id , degree_summary_description , degree_summary_name | sections : course_id , section_id , other_details , section_name , section_description | semesters : semester_id , other_details , semester_description , semester_name | students : date_first_registered , date_left , middle_name , last_name , current_address_id , first_name , cell_mobile_number , other_student_details , ssn , student_id , permanent_address_id , email_address | student_enrolment : other_details , student_id , degree_program_id , semester_id , student_enrolment_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : transcript_date , other_details , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "addresses": { "line_1": [ "first_line", "primary_address" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details", "first_line", "primary_address" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "id": "Addresses.address_id", "line 1": "Addresses.line_1", "ne 2 of the address w": "Addresses", "students": "Students", "line 2": "Addresses.line_2" } }, { "question": "what is the #id# , #line 1# , and li #ne 2 of the address w# ith the most #students# ?", "db_id": "student_transcripts_tracking", "orig_query": "select t1.address_id, t1.line_1, t1.line_2 from addresses as t1 join students as t2 on t1.address_id = t2.current_address_id group by t1.address_id order by count(*) desc limit 1", "schema_with_content": "addresses : zip_postcode (\"148\", \"847\", \"541\"), postal_address_id (2, 11, 13), city (\"Port Elvisfurt\", \"Herzoghaven\", \"Lake Careyberg\"), state_province_county (\"WestVirginia\", \"Delaware\", \"Kansas\"), line_3 (None), address_code (2, 11, 13), line_1 (\"0144 Lamar Plaza Apt. 346\", \"3999 Aufderhar Ways Suite 593\", \"202 Hessel Views Apt. 468\"), line_2 (\"Apt. 689\", \"Apt. 406\", \"Suite 865\"), other_address_details (None), country (\"Croatia\", \"Angola\", \"Bermuda\") | courses : course_name (\"en\", \"cal\", \"en\"), course_id (4, 4, 2), other_details (None), course_description (\"w\", \"k\", \"k\") | departments : department_description (\"consequatur\", \"autem\", \"ea\"), department_name (\"medical\", \"engineer\", \"dance\"), department_id (10, 6, 3), other_details (None) | degree_programs : degree_program_id (6, 6, 3), department_id (4, 14, 4), other_details (None), degree_summary_description (\"placeat\", \"voluptas\", \"architecto\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_description (\"reprehenderit\", \"ex\", \"reprehenderit\"), other_details (None), course_id (4, 1, 14), section_id (9, 3, 11), section_name (\"u\", \"k\", \"c\") | semesters : semester_name (\"winter 2010\", \"winter 2010\", \"spring 2016\"), other_details (None), semester_id (6, 15, 11), semester_description (\"f\", \"o\", \"q\") | students : ssn (\"248\", \"248\", \"43\"), date_first_registered (\"1989-05-24 23:31:29\", \"2018-03-13 09:56:22\", \"1973-05-19 19:12:46\"), cell_mobile_number (\"436.613.7683\", \"(507)365-8405\", \"436.613.7683\"), student_id (2, 1, 10), last_name (\"Mohr\", \"Carroll\", \"Kemmer\"), date_left (\"2007-03-31 09:53:19\", \"1982-06-11 00:25:39\", \"2004-12-08 05:29:11\"), email_address (\"nbruen@example.org\", \"dell43@example.net\", \"nya.lesch@example.net\"), current_address_id (14, 2, 9), other_student_details (\"qui\", \"qui\", \"omnis\"), middle_name (\"Aisha\", \"Mona\", \"Judd\"), first_name (\"Delaney\", \"Orrin\", \"Milton\"), permanent_address_id (8, 14, 14) | student_enrolment : student_id (6, 12, 1), semester_id (9, 2, 6), degree_program_id (2, 4, 9), student_enrolment_id (14, 6, 3), other_details (None) | student_enrolment_courses : student_enrolment_id (13, 10, 13), course_id (2, 8, 2), student_course_id (8, 8, 681404) | transcripts : other_details (None), transcript_id (1, 14, 11), transcript_date (\"2002-09-24 06:11:49\", \"2002-09-24 06:11:49\", \"2010-12-13 10:55:15\") | transcript_contents : student_course_id (45105806, 76, 0), transcript_id (8, 4, 5)", "schema_without_content": "addresses : zip_postcode , postal_address_id , city , state_province_county , line_3 , address_code , line_1 , line_2 , other_address_details , country | courses : course_name , course_id , other_details , course_description | departments : department_description , department_name , department_id , other_details | degree_programs : degree_program_id , department_id , other_details , degree_summary_description , degree_summary_name | sections : section_description , other_details , course_id , section_id , section_name | semesters : semester_name , other_details , semester_id , semester_description | students : ssn , date_first_registered , cell_mobile_number 365-8405\", \"436.613.7683\", student_id , last_name , date_left , email_address , current_address_id , other_student_details , middle_name , first_name , permanent_address_id | student_enrolment : student_id , semester_id , degree_program_id , student_enrolment_id , other_details | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "addresses": { "address_id": [ "address_code", "postal_address_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details", "address_code", "postal_address_id" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "id": "Addresses.address_id", "line 1": "Addresses.line_1", "ne 2 of the address w": "Addresses", "students": "Students", "line 2": "Addresses.line_2" } }, { "question": "on #average# , when were the #transcripts# printed?", "db_id": "student_transcripts_tracking", "orig_query": "select avg(transcript_date) from transcripts", "schema_with_content": "addresses : zip_postcode (\"895\", \"839\", \"895\"), line_2 (\"Suite 383\", \"Suite 830\", \"Suite 383\"), address_id (9, 2, 8), city (\"South Palma\", \"Herzoghaven\", \"Goodwinhaven\"), state_province_county (\"NorthCarolina\", \"Idaho\", \"Wyoming\"), line_1 (\"0144 Lamar Plaza Apt. 346\", \"186 Evan Motorway Apt. 409\", \"74046 Metz Walk Apt. 113\"), line_3 (None), other_address_details (None), country (\"Kyrgyz Republic\", \"Gabon\", \"Gabon\") | courses : course_name (\"pl\", \"ml\", \"oop\"), other_details (None), course_id (15, 1, 12), course_description (\"n\", \"q\", \"v\") | departments : department_description (\"aliquam\", \"non\", \"nostrum\"), other_details (None), department_name (\"management\", \"art\", \"drama\"), department_id (1, 13, 12) | degree_programs : degree_program_id (9, 8, 4), other_details (None), department_id (7, 4, 7), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"unde\", \"quam\", \"esse\") | sections : section_name (\"a\", \"y\", \"o\"), course_id (7, 6, 6), section_id (8, 6, 1), section_description (\"nesciunt\", \"qui\", \"non\"), other_details (None) | semesters : semester_name (\"spring 2015\", \"summer 2010\", \"spring 2012\"), other_details (None), semester_description (\"q\", \"y\", \"f\"), semester_id (14, 10, 13) | students : cell_mobile_number (\"1-009-710-5151\", \"(213)445-0399x85208\", \"(462)246-7921\"), last_name (\"Balistreri\", \"Rogahn\", \"Rempel\"), date_left (\"2006-08-04 17:26:49\", \"2007-03-31 09:53:19\", \"2004-12-08 05:29:11\"), student_id (14, 12, 11), ssn (\"141072406\", \"34458427\", \"965\"), permanent_address_id (14, 3, 5), first_name (\"Warren\", \"Stanford\", \"Hobart\"), current_address_id (12, 12, 2), middle_name (\"Cleve\", \"Cleve\", \"Violet\"), other_student_details (\"nesciunt\", \"autem\", \"nesciunt\"), email_address (\"qo'kon@example.com\", \"jillian26@example.net\", \"jhuel@example.com\"), date_first_registered (\"2014-03-28 05:48:23\", \"2004-12-24 12:36:46\", \"1973-05-19 19:12:46\") | student_enrolment : student_id (6, 9, 9), other_details (None), student_enrolment_id (2, 14, 9), degree_program_id (4, 8, 4), semester_id (4, 15, 13) | student_enrolment_courses : student_enrolment_id (4, 4, 10), course_id (14, 11, 8), student_course_id (438800, 96, 96) | transcripts : document_date (\"1975-05-20 18:31:21\", \"1999-01-06 20:06:46\", \"1990-03-05 11:59:41\"), transcript_id (7, 11, 4), other_details (None), record_date (\"1975-05-20 18:31:21\", \"1999-01-06 20:06:46\", \"1990-03-05 11:59:41\") | transcript_contents : student_course_id (28982908, 96, 7), transcript_id (6, 4, 6)", "schema_without_content": "addresses : zip_postcode , line_2 , address_id , city , state_province_county , line_1 , line_3 , other_address_details , country | courses : course_name , other_details , course_id , course_description | departments : department_description , other_details , department_name , department_id | degree_programs : degree_program_id , other_details , department_id , degree_summary_name , degree_summary_description | sections : section_name , course_id , section_id , section_description , other_details | semesters : semester_name , other_details , semester_description , semester_id | students : cell_mobile_number 445-0399x85208\", \"246-7921\", last_name , date_left , student_id , ssn , permanent_address_id , first_name , current_address_id , middle_name , other_student_details , email_address , date_first_registered | student_enrolment : student_id , other_details , student_enrolment_id , degree_program_id , semester_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : document_date , transcript_id , other_details , record_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "transcripts": { "transcript_date": [ "record_date", "document_date" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "other_details", "record_date", "document_date" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "average": "Transcripts.transcript_date", "transcripts": "Transcripts" } }, { "question": "what is the #average transcript date# ?", "db_id": "student_transcripts_tracking", "orig_query": "select avg(transcript_date) from transcripts", "schema_with_content": "addresses : country (\"Burundi\", \"Bermuda\", \"Burundi\"), line_2 (\"Apt. 689\", \"Suite 703\", \"Apt. 406\"), zip_postcode (\"541\", \"669\", \"943\"), other_address_details (None), city (\"Goodwinhaven\", \"Port Elvisfurt\", \"Michelleburgh\"), line_3 (None), line_1 (\"7081 Eda Center\", \"3999 Aufderhar Ways Suite 593\", \"74046 Metz Walk Apt. 113\"), address_id (2, 13, 3), state_province_county (\"Florida\", \"Arkansas\", \"Kansas\") | courses : other_details (None), course_description (\"l\", \"p\", \"p\"), course_id (12, 11, 11), course_name (\"cal\", \"dl\", \"en\") | departments : department_id (8, 4, 1), department_name (\"biology\", \"law\", \"economics\"), department_description (\"consequatur\", \"autem\", \"doloribus\"), other_details (None) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"unde\", \"unde\", \"esse\"), department_id (4, 15, 7), degree_program_id (5, 7, 7), other_details (None) | sections : section_name (\"e\", \"f\", \"y\"), other_details (None), section_description (\"non\", \"qui\", \"provident\"), section_id (14, 13, 6), course_id (7, 12, 8) | semesters : other_details (None), semester_id (5, 3, 15), semester_name (\"spring 2017\", \"spring 2015\", \"winter 2010\"), semester_description (\"t\", \"q\", \"c\") | students : permanent_address_id (14, 15, 3), date_left (\"1975-10-09 00:49:27\", \"1999-08-24 00:07:10\", \"2016-04-09 12:27:04\"), student_id (11, 10, 10), other_student_details (\"voluptatem\", \"dolorum\", \"autem\"), email_address (\"lhartmann@example.org\", \"jhuel@example.com\", \"gracie29@example.com\"), current_address_id (14, 10, 15), last_name (\"Gleichner\", \"Osinski\", \"Carroll\"), cell_mobile_number (\"677.401.9382\", \"1-009-710-5151\", \"(605)919-3594x3661\"), first_name (\"Jett\", \"Jarvis\", \"Warren\"), middle_name (\"Violet\", \"Golda\", \"Lorenz\"), ssn (\"68095\", \"668\", \"668\"), date_first_registered (\"1982-02-14 08:46:35\", \"1971-02-05 07:28:23\", \"2018-03-13 09:56:22\") | student_enrolment : semester_id (4, 6, 2), degree_program_id (8, 5, 10), student_enrolment_id (7, 7, 7), other_details (None), student_id (6, 7, 7) | student_enrolment_courses : course_id (4, 2, 10), student_course_id (83814225, 96, 83814225), student_enrolment_id (13, 13, 6) | transcripts : record_date (\"1984-01-18 23:07:07\", \"1975-05-06 12:04:47\", \"1998-11-22 12:18:29\"), document_date (\"1984-01-18 23:07:07\", \"1975-05-06 12:04:47\", \"1998-11-22 12:18:29\"), other_details (None), transcript_id (9, 10, 15) | transcript_contents : student_course_id (96, 28982908, 45105806), transcript_id (8, 8, 8)", "schema_without_content": "addresses : country , line_2 , zip_postcode , other_address_details , city , line_3 , line_1 , address_id , state_province_county | courses : other_details , course_description , course_id , course_name | departments : department_id , department_name , department_description , other_details | degree_programs : degree_summary_name , degree_summary_description , department_id , degree_program_id , other_details | sections : section_name , other_details , section_description , section_id , course_id | semesters : other_details , semester_id , semester_name , semester_description | students : permanent_address_id , date_left , student_id , other_student_details , email_address , current_address_id , last_name , cell_mobile_number 919-3594x3661\", first_name , middle_name , ssn , date_first_registered | student_enrolment : semester_id , degree_program_id , student_enrolment_id , other_details , student_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : record_date , document_date , other_details , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "transcripts": { "transcript_date": [ "record_date", "document_date" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "other_details", "record_date", "document_date" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "average transcript date": "Transcripts.transcript_date" } }, { "question": "when is the first #transcript# released? list the #date# and #details# .", "db_id": "student_transcripts_tracking", "orig_query": "select transcript_date, other_details from transcripts order by transcript_date asc limit 1", "schema_with_content": "addresses : address_id (13, 8, 15), line_1 (\"202 Hessel Views Apt. 468\", \"67942 Carlotta Ferry Apt. 686\", \"858 Peggie Bypass Suite 212\"), country (\"Samoa\", \"Kyrgyz Republic\", \"Gibraltar\"), line_3 (None), state_province_county (\"Delaware\", \"Arkansas\", \"WestVirginia\"), other_address_details (None), zip_postcode (\"839\", \"446\", \"400\"), city (\"Port Evanston\", \"Herzoghaven\", \"Port Chelsea\"), line_2 (\"Suite 674\", \"Apt. 335\", \"Apt. 406\") | courses : course_id (6, 3, 9), course_description (\"p\", \"p\", \"w\"), course_name (\"math\", \"ml\", \"fr\"), other_details (None) | departments : department_description (\"dolorem\", \"doloribus\", \"doloribus\"), department_id (12, 5, 6), department_name (\"math\", \"geography\", \"history\"), other_details (None) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"et\", \"aut\", \"aut\"), other_details (None), degree_program_id (13, 12, 10), department_id (12, 7, 7) | sections : section_description (\"doloremque\", \"doloremque\", \"facilis\"), other_details (None), section_id (8, 9, 1), course_id (4, 7, 8), section_name (\"b\", \"l\", \"o\") | semesters : semester_id (6, 13, 3), semester_name (\"winter 2010\", \"fall 2010\", \"spring 2015\"), semester_description (\"t\", \"m\", \"x\"), other_details (None) | students : last_name (\"Mohr\", \"Rogahn\", \"Christiansen\"), date_first_registered (\"2017-01-04 08:10:25\", \"1971-02-05 07:28:23\", \"1997-03-20 16:47:25\"), other_student_details (\"non\", \"assumenda\", \"dolorum\"), cell_mobile_number (\"436.613.7683\", \"(096)889-8954x524\", \"(096)889-8954x524\"), current_address_id (2, 12, 14), date_left (\"2017-07-09 21:38:43\", \"2017-07-09 21:38:43\", \"1971-05-17 19:28:49\"), permanent_address_id (5, 8, 3), email_address (\"jhuel@example.com\", \"swift.kolby@example.com\", \"baumbach.lucious@example.org\"), first_name (\"Jordy\", \"Orrin\", \"Frida\"), ssn (\"494\", \"39\", \"304246\"), student_id (3, 8, 4), middle_name (\"Cleve\", \"Judd\", \"Alberta\") | student_enrolment : other_details (None), student_enrolment_id (8, 15, 14), semester_id (1, 15, 2), student_id (14, 5, 12), degree_program_id (9, 2, 12) | student_enrolment_courses : course_id (11, 14, 8), student_course_id (604750, 45105806, 7), student_enrolment_id (5, 8, 2) | transcripts : other_details (None), document_date (\"2013-06-30 13:01:40\", \"1990-03-05 11:59:41\", \"1986-07-12 07:27:29\"), transcript_id (3, 6, 10), record_date (\"2013-06-30 13:01:40\", \"1990-03-05 11:59:41\", \"1986-07-12 07:27:29\") | transcript_contents : transcript_id (12, 12, 5), student_course_id (28982908, 76, 2)", "schema_without_content": "addresses : address_id , line_1 , country , line_3 , state_province_county , other_address_details , zip_postcode , city , line_2 | courses : course_id , course_description , course_name , other_details | departments : department_description , department_id , department_name , other_details | degree_programs : degree_summary_name , degree_summary_description , other_details , degree_program_id , department_id | sections : section_description , other_details , section_id , course_id , section_name | semesters : semester_id , semester_name , semester_description , other_details | students : last_name , date_first_registered , other_student_details , cell_mobile_number 889-8954x524\", \"889-8954x524\", current_address_id , date_left , permanent_address_id , email_address , first_name , ssn , student_id , middle_name | student_enrolment : other_details , student_enrolment_id , semester_id , student_id , degree_program_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : other_details , document_date , transcript_id , record_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "transcripts": { "transcript_date": [ "record_date", "document_date" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "other_details", "record_date", "document_date" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "transcript": "Transcripts", "date": "Transcripts.transcript_date", "details": "Transcripts.other_details" } }, { "question": "when is the first #transcript# released? list the #date# and #details# .", "db_id": "student_transcripts_tracking", "orig_query": "select transcript_date, other_details from transcripts order by transcript_date asc limit 1", "schema_with_content": "addresses : address_id (7, 7, 6), zip_postcode (\"638\", \"541\", \"847\"), city (\"Michelleburgh\", \"Port Elvisfurt\", \"Lake Careyberg\"), line_1 (\"193 Marlin Brook\", \"202 Hessel Views Apt. 468\", \"492 Wilkinson Route\"), line_3 (None), state_province_county (\"Washington\", \"NorthCarolina\", \"WestVirginia\"), other_address_details (None), line_2 (\"Suite 239\", \"Suite 239\", \"Apt. 388\"), country (\"Croatia\", \"Iceland\", \"Kyrgyz Republic\") | courses : course_id (5, 9, 8), course_description (\"b\", \"c\", \"d\"), other_details (None), course_name (\"ml\", \"ai\", \"ds\") | departments : department_id (6, 12, 10), department_description (\"nihil\", \"doloribus\", \"nisi\"), department_name (\"medical\", \"math\", \"linguistic\"), other_details (None) | degree_programs : degree_program_id (5, 10, 13), department_id (11, 2, 4), other_details (None), degree_summary_description (\"earum\", \"aut\", \"architecto\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : other_details (None), section_description (\"quis\", \"provident\", \"voluptas\"), section_id (3, 8, 11), course_id (2, 4, 14), section_name (\"j\", \"a\", \"f\") | semesters : semester_name (\"fall 2010\", \"spring 2017\", \"spring 2016\"), semester_description (\"m\", \"f\", \"w\"), semester_id (2, 3, 5), other_details (None) | students : date_left (\"2007-11-28 12:50:21\", \"2004-12-08 05:29:11\", \"2007-11-28 12:50:21\"), current_address_id (7, 12, 9), date_first_registered (\"1971-02-05 07:28:23\", \"1976-10-26 02:33:06\", \"1986-02-24 21:12:23\"), cell_mobile_number (\"171-642-5684\", \"(096)889-8954x524\", \"436.613.7683\"), middle_name (\"Judd\", \"Lorenz\", \"Golda\"), student_id (8, 12, 4), email_address (\"baumbach.lucious@example.org\", \"johns.unique@example.net\", \"mya88@example.org\"), last_name (\"Weimann\", \"Ward\", \"Gleichner\"), first_name (\"Gregg\", \"Helga\", \"Jett\"), permanent_address_id (9, 3, 5), other_student_details (\"dolorum\", \"qui\", \"quia\"), ssn (\"156\", \"43\", \"248\") | student_enrolment : student_id (6, 5, 4), semester_id (4, 5, 2), other_details (None), student_enrolment_id (2, 15, 8), degree_program_id (8, 10, 8) | student_enrolment_courses : student_enrolment_id (13, 5, 2), course_id (2, 4, 4), student_course_id (681404, 83814225, 0) | transcripts : transcript_date (\"1975-05-06 12:04:47\", \"2010-12-13 10:55:15\", \"1975-05-06 12:04:47\"), transcript_id (13, 1, 11), extra_notes (None), additional_information (None) | transcript_contents : transcript_id (11, 15, 4), student_course_id (76, 8, 0)", "schema_without_content": "addresses : address_id , zip_postcode , city , line_1 , line_3 , state_province_county , other_address_details , line_2 , country | courses : course_id , course_description , other_details , course_name | departments : department_id , department_description , department_name , other_details | degree_programs : degree_program_id , department_id , other_details , degree_summary_description , degree_summary_name | sections : other_details , section_description , section_id , course_id , section_name | semesters : semester_name , semester_description , semester_id , other_details | students : date_left , current_address_id , date_first_registered , cell_mobile_number 889-8954x524\", \"436.613.7683\", middle_name , student_id , email_address , last_name , first_name , permanent_address_id , other_student_details , ssn | student_enrolment : student_id , semester_id , other_details , student_enrolment_id , degree_program_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : transcript_date , transcript_id , extra_notes , additional_information | transcript_contents : transcript_id , student_course_id", "extra_map": { "transcripts": { "other_details": [ "additional_information", "extra_notes" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "additional_information", "extra_notes" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "transcript": "Transcripts", "date": "Transcripts.transcript_date", "details": "Transcripts.other_details" } }, { "question": "what is the earliest #date of a transcript release# , and what #details# can you tell me?", "db_id": "student_transcripts_tracking", "orig_query": "select transcript_date, other_details from transcripts order by transcript_date asc limit 1", "schema_with_content": "addresses : country (\"New Caledonia\", \"Croatia\", \"Gibraltar\"), address_id (11, 1, 12), line_1 (\"858 Peggie Bypass Suite 212\", \"74046 Metz Walk Apt. 113\", \"858 Peggie Bypass Suite 212\"), line_3 (None), city (\"Mariliehaven\", \"Lake Laishafurt\", \"South Palma\"), other_address_details (None), line_2 (\"Suite 865\", \"Suite 383\", \"Apt. 468\"), zip_postcode (\"777\", \"148\", \"943\"), state_province_county (\"Idaho\", \"Florida\", \"Delaware\") | courses : course_id (4, 13, 13), other_details (None), course_description (\"k\", \"p\", \"d\"), course_name (\"nlp\", \"oop\", \"ds\") | departments : department_id (2, 9, 3), department_name (\"biology\", \"dance\", \"computer science\"), department_description (\"aliquam\", \"aliquam\", \"dolorem\"), other_details (None) | degree_programs : degree_summary_description (\"quam\", \"officiis\", \"voluptas\"), department_id (3, 2, 8), other_details (None), degree_program_id (7, 13, 8), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_name (\"a\", \"f\", \"f\"), section_id (7, 9, 1), other_details (None), course_id (7, 2, 9), section_description (\"facilis\", \"quis\", \"voluptatem\") | semesters : other_details (None), semester_id (7, 13, 14), semester_name (\"spring 2017\", \"spring 2016\", \"spring 2016\"), semester_description (\"l\", \"f\", \"l\") | students : date_first_registered (\"1989-05-24 23:31:29\", \"2005-12-15 08:42:10\", \"2018-03-13 09:56:22\"), first_name (\"Deon\", \"Reva\", \"Warren\"), last_name (\"Schuppe\", \"Balistreri\", \"Osinski\"), student_id (3, 11, 8), current_address_id (1, 14, 12), other_student_details (\"assumenda\", \"assumenda\", \"voluptatem\"), date_left (\"2007-03-31 09:53:19\", \"1971-05-17 19:28:49\", \"2007-03-31 09:53:19\"), email_address (\"beth42@example.org\", \"jhuel@example.com\", \"gracie29@example.com\"), middle_name (\"Brooklyn\", \"Anna\", \"Cleve\"), cell_mobile_number (\"09700166582\", \"03174364122\", \"877.549.9067x8723\"), ssn (\"39\", \"402\", \"141072406\"), permanent_address_id (3, 14, 3) | student_enrolment : student_enrolment_id (2, 6, 7), semester_id (5, 12, 5), other_details (None), student_id (7, 14, 1), degree_program_id (4, 10, 4) | student_enrolment_courses : student_enrolment_id (5, 4, 9), course_id (10, 6, 2), student_course_id (45105806, 8, 604750) | transcripts : other_details (None), transcript_id (11, 13, 13), document_date (\"1975-05-20 18:31:21\", \"1975-05-20 18:31:21\", \"2013-06-30 13:01:40\"), record_date (\"1975-05-20 18:31:21\", \"1975-05-20 18:31:21\", \"2013-06-30 13:01:40\") | transcript_contents : student_course_id (8, 2, 2), transcript_id (6, 8, 4)", "schema_without_content": "addresses : country , address_id , line_1 , line_3 , city , other_address_details , line_2 , zip_postcode , state_province_county | courses : course_id , other_details , course_description , course_name | departments : department_id , department_name , department_description , other_details | degree_programs : degree_summary_description , department_id , other_details , degree_program_id , degree_summary_name | sections : section_name , section_id , other_details , course_id , section_description | semesters : other_details , semester_id , semester_name , semester_description | students : date_first_registered , first_name , last_name , student_id , current_address_id , other_student_details , date_left , email_address , middle_name , cell_mobile_number , ssn , permanent_address_id | student_enrolment : student_enrolment_id , semester_id , other_details , student_id , degree_program_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : other_details , transcript_id , document_date , record_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "transcripts": { "transcript_date": [ "record_date", "document_date" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "other_details", "record_date", "document_date" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "date of a transcript release": "Transcripts.transcript_date", "details": "Transcripts.other_details" } }, { "question": "what is the earliest #date of a transcript release# , and what #details# can you tell me?", "db_id": "student_transcripts_tracking", "orig_query": "select transcript_date, other_details from transcripts order by transcript_date asc limit 1", "schema_with_content": "addresses : state_province_county (\"Kansas\", \"NorthCarolina\", \"Delaware\"), line_3 (None), line_1 (\"16998 Mraz Lodge\", \"3999 Aufderhar Ways Suite 593\", \"0643 Muller Vista\"), city (\"Rutherfordtown\", \"Goodwinhaven\", \"Rutherfordtown\"), country (\"Saudi Arabia\", \"Croatia\", \"Samoa\"), zip_postcode (\"068\", \"541\", \"590\"), other_address_details (None), address_id (2, 13, 14), line_2 (\"Suite 674\", \"Suite 079\", \"Apt. 583\") | courses : course_description (\"n\", \"l\", \"k\"), course_name (\"ds\", \"ds\", \"ds\"), course_id (1, 14, 7), other_details (None) | departments : department_name (\"management\", \"math\", \"engineer\"), other_details (None), department_description (\"nostrum\", \"dolorem\", \"nihil\"), department_id (3, 10, 6) | degree_programs : other_details (None), degree_summary_description (\"et\", \"officiis\", \"quam\"), degree_program_id (7, 5, 5), department_id (7, 2, 15), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : section_name (\"k\", \"h\", \"h\"), other_details (None), section_id (14, 8, 4), section_description (\"doloremque\", \"ex\", \"quis\"), course_id (7, 5, 6) | semesters : semester_name (\"spring 2013\", \"winter 2018\", \"spring 2019\"), semester_id (7, 13, 1), semester_description (\"q\", \"f\", \"x\"), other_details (None) | students : first_name (\"Jarvis\", \"Stanford\", \"Timmothy\"), cell_mobile_number (\"03174364122\", \"(507)365-8405\", \"07661787471\"), other_student_details (\"autem\", \"omnis\", \"assumenda\"), last_name (\"Rempel\", \"Osinski\", \"Christiansen\"), permanent_address_id (3, 11, 11), ssn (\"965\", \"68095\", \"494\"), middle_name (\"Mossie\", \"Vaughn\", \"Violet\"), date_left (\"1982-06-11 00:25:39\", \"1975-10-09 00:49:27\", \"1982-06-11 00:25:39\"), email_address (\"jillian26@example.net\", \"gracie29@example.com\", \"johns.unique@example.net\"), date_first_registered (\"2009-09-25 00:14:25\", \"1997-03-20 16:47:25\", \"1982-02-14 08:46:35\"), current_address_id (14, 9, 10), student_id (13, 8, 2) | student_enrolment : other_details (None), student_id (5, 12, 12), degree_program_id (11, 4, 4), semester_id (4, 15, 9), student_enrolment_id (3, 7, 15) | student_enrolment_courses : course_id (8, 12, 10), student_course_id (7, 681404, 76), student_enrolment_id (5, 9, 13) | transcripts : additional_information (None), transcript_date (\"1984-12-19 00:37:21\", \"1988-04-30 01:19:47\", \"2010-12-13 10:55:15\"), transcript_id (1, 8, 12), extra_notes (None) | transcript_contents : transcript_id (8, 4, 8), student_course_id (7, 70882679, 8)", "schema_without_content": "addresses : state_province_county , line_3 , line_1 , city , country , zip_postcode , other_address_details , address_id , line_2 | courses : course_description , course_name , course_id , other_details | departments : department_name , other_details , department_description , department_id | degree_programs : other_details , degree_summary_description , degree_program_id , department_id , degree_summary_name | sections : section_name , other_details , section_id , section_description , course_id | semesters : semester_name , semester_id , semester_description , other_details | students : first_name , cell_mobile_number 365-8405\", \"07661787471\", other_student_details , last_name , permanent_address_id , ssn , middle_name , date_left , email_address , date_first_registered , current_address_id , student_id | student_enrolment : other_details , student_id , degree_program_id , semester_id , student_enrolment_id | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : additional_information , transcript_date , transcript_id , extra_notes | transcript_contents : transcript_id , student_course_id", "extra_map": { "transcripts": { "other_details": [ "additional_information", "extra_notes" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "additional_information", "extra_notes" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "date of a transcript release": "Transcripts.transcript_date", "details": "Transcripts.other_details" } }, { "question": "what is the last #transcript release date# ?", "db_id": "student_transcripts_tracking", "orig_query": "select transcript_date from transcripts order by transcript_date desc limit 1", "schema_with_content": "addresses : state_province_county (\"WestVirginia\", \"Kansas\", \"Arkansas\"), line_3 (None), other_address_details (None), zip_postcode (\"777\", \"669\", \"068\"), line_1 (\"7081 Eda Center\", \"202 Hessel Views Apt. 468\", \"9283 Schulist Falls Apt. 037\"), city (\"Port Evanston\", \"Port Oceane\", \"Lake Careyberg\"), address_id (4, 15, 3), line_2 (\"Apt. 335\", \"Apt. 406\", \"Suite 703\"), country (\"Gabon\", \"Gibraltar\", \"Burundi\") | courses : other_details (None), course_description (\"q\", \"w\", \"d\"), course_name (\"ai\", \"db\", \"oop\"), course_id (9, 9, 6) | departments : department_description (\"ea\", \"nihil\", \"in\"), department_id (4, 10, 11), other_details (None), department_name (\"computer science\", \"engineer\", \"geography\") | degree_programs : degree_program_id (3, 11, 11), degree_summary_description (\"cumque\", \"architecto\", \"qui\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), department_id (11, 11, 12) | sections : course_id (6, 8, 4), other_details (None), section_name (\"a\", \"f\", \"u\"), section_id (10, 7, 9), section_description (\"voluptas\", \"quis\", \"ad\") | semesters : other_details (None), semester_id (2, 12, 14), semester_description (\"t\", \"x\", \"w\"), semester_name (\"spring 2014\", \"fall 2018\", \"spring 2015\") | students : date_left (\"2007-03-31 09:53:19\", \"2007-11-28 12:50:21\", \"1999-08-24 00:07:10\"), cell_mobile_number (\"(213)445-0399x85208\", \"436.613.7683\", \"(462)246-7921\"), current_address_id (7, 1, 15), first_name (\"Milton\", \"Timmothy\", \"Jett\"), last_name (\"Mohr\", \"Ankunding\", \"Carroll\"), other_student_details (\"dolorum\", \"rerum\", \"omnis\"), student_id (2, 13, 8), ssn (\"141072406\", \"304246\", \"304246\"), permanent_address_id (9, 15, 4), date_first_registered (\"1986-02-24 21:12:23\", \"2004-12-24 12:36:46\", \"1982-06-19 13:15:18\"), middle_name (\"Mossie\", \"Osborne\", \"Alberta\"), email_address (\"qo'kon@example.com\", \"skassulke@example.net\", \"gracie29@example.com\") | student_enrolment : student_id (6, 9, 14), other_details (None), student_enrolment_id (15, 12, 2), semester_id (9, 12, 4), degree_program_id (3, 2, 9) | student_enrolment_courses : student_course_id (83814225, 8, 1), course_id (13, 12, 4), student_enrolment_id (6, 13, 4) | transcripts : document_date (\"2002-09-24 06:11:49\", \"1984-12-19 00:37:21\", \"2013-06-30 13:01:40\"), transcript_id (7, 14, 12), other_details (None), record_date (\"2002-09-24 06:11:49\", \"1984-12-19 00:37:21\", \"2013-06-30 13:01:40\") | transcript_contents : student_course_id (7, 70882679, 45105806), transcript_id (4, 15, 6)", "schema_without_content": "addresses : state_province_county , line_3 , other_address_details , zip_postcode , line_1 , city , address_id , line_2 , country | courses : other_details , course_description , course_name , course_id | departments : department_description , department_id , other_details , department_name | degree_programs : degree_program_id , degree_summary_description , degree_summary_name , other_details , department_id | sections : course_id , other_details , section_name , section_id , section_description | semesters : other_details , semester_id , semester_description , semester_name | students : date_left , cell_mobile_number 445-0399x85208\", \"436.613.7683\", \"246-7921\", current_address_id , first_name , last_name , other_student_details , student_id , ssn , permanent_address_id , date_first_registered , middle_name , email_address | student_enrolment : student_id , other_details , student_enrolment_id , semester_id , degree_program_id | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : document_date , transcript_id , other_details , record_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "transcripts": { "transcript_date": [ "record_date", "document_date" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "other_details", "record_date", "document_date" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "transcript release date": "Transcripts.transcript_date" } }, { "question": "when was the last #transcript# released?", "db_id": "student_transcripts_tracking", "orig_query": "select transcript_date from transcripts order by transcript_date desc limit 1", "schema_with_content": "addresses : other_address_details (None), address_id (1, 12, 6), state_province_county (\"Hawaii\", \"Hawaii\", \"WestVirginia\"), zip_postcode (\"638\", \"541\", \"068\"), line_3 (None), country (\"New Caledonia\", \"Gibraltar\", \"Iceland\"), line_1 (\"2294 Grant Square Apt. 235\", \"16998 Mraz Lodge\", \"16998 Mraz Lodge\"), line_2 (\"Suite 674\", \"Apt. 388\", \"Suite 703\"), city (\"Port Evanston\", \"Port Evanston\", \"New Clemensburgh\") | courses : course_description (\"k\", \"c\", \"v\"), other_details (None), course_name (\"oop\", \"pl\", \"la\"), course_id (11, 9, 15) | departments : department_description (\"autem\", \"consequatur\", \"dolorem\"), department_name (\"linguistic\", \"art\", \"management\"), other_details (None), department_id (2, 6, 1) | degree_programs : degree_summary_description (\"cumque\", \"qui\", \"earum\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (4, 6, 8), department_id (13, 13, 7), other_details (None) | sections : section_id (12, 8, 2), section_description (\"voluptas\", \"doloremque\", \"non\"), section_name (\"k\", \"f\", \"u\"), course_id (7, 10, 6), other_details (None) | semesters : semester_name (\"spring 2019\", \"spring 2010\", \"spring 2014\"), semester_id (5, 7, 2), semester_description (\"m\", \"w\", \"w\"), other_details (None) | students : current_address_id (7, 10, 7), cell_mobile_number (\"03174364122\", \"07661787471\", \"(507)365-8405\"), middle_name (\"Aisha\", \"Aisha\", \"Brooklyn\"), last_name (\"Ankunding\", \"Weimann\", \"Carroll\"), ssn (\"156\", \"494\", \"156\"), email_address (\"baumbach.lucious@example.org\", \"skassulke@example.net\", \"lhartmann@example.org\"), permanent_address_id (8, 4, 11), date_left (\"1982-06-11 00:25:39\", \"2014-05-30 23:32:02\", \"2013-10-05 17:41:28\"), date_first_registered (\"2004-12-24 12:36:46\", \"1976-10-26 02:33:06\", \"2004-12-24 12:36:46\"), first_name (\"Orrin\", \"Jett\", \"Frida\"), other_student_details (\"autem\", \"qui\", \"et\"), student_id (12, 3, 11) | student_enrolment : student_id (12, 1, 1), student_enrolment_id (3, 5, 3), other_details (None), semester_id (1, 6, 6), degree_program_id (9, 12, 12) | student_enrolment_courses : course_id (13, 13, 12), student_enrolment_id (5, 8, 10), student_course_id (83814225, 28982908, 2) | transcripts : record_date (\"1984-01-18 23:07:07\", \"1998-11-22 12:18:29\", \"2013-06-30 13:01:40\"), transcript_id (5, 7, 6), document_date (\"1984-01-18 23:07:07\", \"1998-11-22 12:18:29\", \"2013-06-30 13:01:40\"), other_details (None) | transcript_contents : student_course_id (76, 96, 45105806), transcript_id (13, 2, 5)", "schema_without_content": "addresses : other_address_details , address_id , state_province_county , zip_postcode , line_3 , country , line_1 , line_2 , city | courses : course_description , other_details , course_name , course_id | departments : department_description , department_name , other_details , department_id | degree_programs : degree_summary_description , degree_summary_name , degree_program_id , department_id , other_details | sections : section_id , section_description , section_name , course_id , other_details | semesters : semester_name , semester_id , semester_description , other_details | students : current_address_id , cell_mobile_number 365-8405\", middle_name , last_name , ssn , email_address , permanent_address_id , date_left , date_first_registered , first_name , other_student_details , student_id | student_enrolment : student_id , student_enrolment_id , other_details , semester_id , degree_program_id | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : record_date , transcript_id , document_date , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "transcripts": { "transcript_date": [ "record_date", "document_date" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "other_details", "record_date", "document_date" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "transcript": "Transcripts.transcript_date" } }, { "question": "how many times at most can a #course enrollment result# show in different transcripts? also show the #course enrollment id# .", "db_id": "student_transcripts_tracking", "orig_query": "select count(*), student_course_id from transcript_contents group by student_course_id order by count(*) desc limit 1", "schema_with_content": "addresses : address_id (4, 5, 8), line_1 (\"74046 Metz Walk Apt. 113\", \"16998 Mraz Lodge\", \"492 Wilkinson Route\"), state_province_county (\"SouthDakota\", \"SouthDakota\", \"Delaware\"), other_address_details (None), line_2 (\"Suite 703\", \"Suite 830\", \"Suite 703\"), country (\"Croatia\", \"Kyrgyz Republic\", \"Bermuda\"), zip_postcode (\"446\", \"902\", \"638\"), line_3 (None), city (\"Port Elvisfurt\", \"Port Oceane\", \"Port Chelsea\") | courses : other_details (None), course_id (11, 12, 13), course_description (\"w\", \"c\", \"l\"), course_name (\"dl\", \"en\", \"ml\") | departments : department_description (\"ea\", \"autem\", \"aliquam\"), department_name (\"linguistic\", \"dance\", \"linguistic\"), other_details (None), department_id (13, 4, 9) | degree_programs : degree_summary_description (\"esse\", \"unde\", \"qui\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), degree_program_id (6, 7, 2), department_id (7, 14, 4) | sections : section_description (\"doloremque\", \"reprehenderit\", \"ad\"), section_name (\"e\", \"e\", \"e\"), section_id (6, 12, 3), other_details (None), course_id (14, 6, 6) | semesters : semester_description (\"g\", \"m\", \"x\"), other_details (None), semester_id (2, 12, 2), semester_name (\"spring 2012\", \"spring 2016\", \"winter 2018\") | students : other_student_details (\"nesciunt\", \"assumenda\", \"dolorum\"), date_left (\"2007-03-31 09:53:19\", \"2004-12-08 05:29:11\", \"2007-08-02 04:12:58\"), last_name (\"Ward\", \"Schuppe\", \"Mohr\"), student_id (9, 11, 14), middle_name (\"Mona\", \"Mona\", \"Aaliyah\"), current_address_id (9, 7, 14), cell_mobile_number (\"09700166582\", \"1-009-710-5151\", \"877.549.9067x8723\"), ssn (\"34458427\", \"304246\", \"494\"), date_first_registered (\"1982-02-14 08:46:35\", \"1976-10-26 02:33:06\", \"2018-03-13 09:56:22\"), email_address (\"johns.unique@example.net\", \"beth42@example.org\", \"beth42@example.org\"), permanent_address_id (11, 14, 15), first_name (\"Warren\", \"Jordy\", \"Helga\") | student_enrolment : student_id (12, 6, 6), student_enrolment_id (10, 11, 5), semester_id (4, 1, 4), degree_program_id (4, 5, 2), other_details (None) | student_enrolment_courses : student_course_id (0, 604750, 8), course_id (13, 3, 11), student_enrolment_id (14, 13, 4) | transcripts : other_details (None), transcript_id (5, 15, 14), transcript_date (\"1985-04-29 01:20:20\", \"1984-01-18 23:07:07\", \"1986-07-12 07:27:29\") | transcript_contents : course_student_id (28982908, 2, 2), transcript_id (9, 13, 4), enrollment_id (28982908, 2, 2)", "schema_without_content": "addresses : address_id , line_1 , state_province_county , other_address_details , line_2 , country , zip_postcode , line_3 , city | courses : other_details , course_id , course_description , course_name | departments : department_description , department_name , other_details , department_id | degree_programs : degree_summary_description , degree_summary_name , other_details , degree_program_id , department_id | sections : section_description , section_name , section_id , other_details , course_id | semesters : semester_description , other_details , semester_id , semester_name | students : other_student_details , date_left , last_name , student_id , middle_name , current_address_id , cell_mobile_number , ssn , date_first_registered , email_address , permanent_address_id , first_name | student_enrolment : student_id , student_enrolment_id , semester_id , degree_program_id , other_details | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : course_student_id , transcript_id , enrollment_id", "extra_map": { "transcript_contents": { "student_course_id": [ "course_student_id", "enrollment_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "transcript_id", "course_student_id", "enrollment_id" ] }, "column_linking_gt": { "course enrollment result": "Transcript_Contents.student_course_id", "course enrollment id": "Transcript_Contents.student_course_id" } }, { "question": "what is the maximum #number of times that a course shows up in different transcripts# and what is that #course's enrollment id# ?", "db_id": "student_transcripts_tracking", "orig_query": "select count(*), student_course_id from transcript_contents group by student_course_id order by count(*) desc limit 1", "schema_with_content": "addresses : city (\"Port Oceane\", \"Port Chelsea\", \"New Clemensburgh\"), other_address_details (None), state_province_county (\"Hawaii\", \"Florida\", \"Kansas\"), line_3 (None), zip_postcode (\"895\", \"590\", \"669\"), address_id (11, 14, 10), country (\"Gibraltar\", \"Saudi Arabia\", \"Bermuda\"), line_1 (\"979 Haag Shores Suite 656\", \"0643 Muller Vista\", \"492 Wilkinson Route\"), line_2 (\"Suite 239\", \"Suite 703\", \"Suite 383\") | courses : course_id (5, 13, 6), course_description (\"b\", \"p\", \"n\"), other_details (None), course_name (\"rs\", \"db\", \"dl\") | departments : other_details (None), department_id (14, 12, 3), department_description (\"error\", \"non\", \"nihil\"), department_name (\"engineer\", \"economics\", \"engineer\") | degree_programs : degree_program_id (7, 1, 3), other_details (None), degree_summary_description (\"qui\", \"architecto\", \"cumque\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (11, 4, 12) | sections : section_description (\"nesciunt\", \"qui\", \"quis\"), other_details (None), course_id (10, 10, 6), section_id (1, 4, 6), section_name (\"g\", \"g\", \"b\") | semesters : semester_description (\"x\", \"w\", \"f\"), other_details (None), semester_id (15, 15, 6), semester_name (\"spring 2016\", \"spring 2012\", \"spring 2017\") | students : date_left (\"1971-05-17 19:28:49\", \"2006-08-04 17:26:49\", \"1975-10-09 00:49:27\"), current_address_id (1, 9, 12), date_first_registered (\"1986-02-24 21:12:23\", \"1997-03-20 16:47:25\", \"2009-09-25 00:14:25\"), last_name (\"Schuppe\", \"Schuppe\", \"Gleichner\"), email_address (\"erwin.zboncak@example.com\", \"swift.kolby@example.com\", \"swift.kolby@example.com\"), student_id (4, 6, 14), middle_name (\"Golda\", \"Aaliyah\", \"Violet\"), ssn (\"141072406\", \"141072406\", \"402\"), cell_mobile_number (\"877.549.9067x8723\", \"07661787471\", \"171-642-5684\"), permanent_address_id (9, 15, 4), first_name (\"Jordy\", \"Hobart\", \"Orrin\"), other_student_details (\"nesciunt\", \"nesciunt\", \"facilis\") | student_enrolment : semester_id (4, 13, 2), degree_program_id (10, 10, 4), student_enrolment_id (13, 6, 7), student_id (7, 1, 12), other_details (None) | student_enrolment_courses : student_course_id (96, 2, 96), course_id (6, 2, 2), student_enrolment_id (2, 8, 5) | transcripts : transcript_date (\"1988-04-30 01:19:47\", \"1985-04-29 01:20:20\", \"1999-01-06 20:06:46\"), transcript_id (9, 10, 7), other_details (None) | transcript_contents : enrollment_id (8, 96, 0), course_student_id (8, 96, 0), transcript_id (12, 12, 11)", "schema_without_content": "addresses : city , other_address_details , state_province_county , line_3 , zip_postcode , address_id , country , line_1 , line_2 | courses : course_id , course_description , other_details , course_name | departments : other_details , department_id , department_description , department_name | degree_programs : degree_program_id , other_details , degree_summary_description , degree_summary_name , department_id | sections : section_description , other_details , course_id , section_id , section_name | semesters : semester_description , other_details , semester_id , semester_name | students : date_left , current_address_id , date_first_registered , last_name , email_address , student_id , middle_name , ssn , cell_mobile_number , permanent_address_id , first_name , other_student_details | student_enrolment : semester_id , degree_program_id , student_enrolment_id , student_id , other_details | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : transcript_date , transcript_id , other_details | transcript_contents : enrollment_id , course_student_id , transcript_id", "extra_map": { "transcript_contents": { "student_course_id": [ "course_student_id", "enrollment_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "transcript_id", "course_student_id", "enrollment_id" ] }, "column_linking_gt": { "number of times that a course shows up in different transcripts": "Transcript_Contents.student_course_id", "course's enrollment id": "Transcript_Contents.student_course_id" } }, { "question": "show the #date of the transcript# which shows the least number of results, also list the #id# .", "db_id": "student_transcripts_tracking", "orig_query": "select t2.transcript_date, t1.transcript_id from transcript_contents as t1 join transcripts as t2 on t1.transcript_id = t2.transcript_id group by t1.transcript_id order by count(*) asc limit 1", "schema_with_content": "addresses : city (\"Goodwinhaven\", \"North Omer\", \"Lake Careyberg\"), line_1 (\"0643 Muller Vista\", \"0643 Muller Vista\", \"186 Evan Motorway Apt. 409\"), line_3 (None), address_id (15, 7, 9), zip_postcode (\"068\", \"386\", \"847\"), country (\"Bermuda\", \"Bermuda\", \"Gabon\"), line_2 (\"Apt. 468\", \"Suite 865\", \"Suite 239\"), other_address_details (None), state_province_county (\"Wyoming\", \"Arkansas\", \"Kansas\") | courses : course_id (7, 2, 9), course_name (\"pl\", \"ai\", \"ai\"), course_description (\"d\", \"l\", \"d\"), other_details (None) | departments : department_name (\"dance\", \"geography\", \"statistics\"), department_description (\"doloribus\", \"error\", \"autem\"), other_details (None), department_id (14, 14, 7) | degree_programs : degree_program_id (11, 10, 11), degree_summary_description (\"qui\", \"aut\", \"aut\"), department_id (12, 15, 8), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : other_details (None), course_id (6, 5, 14), section_name (\"g\", \"g\", \"y\"), section_description (\"non\", \"provident\", \"provident\"), section_id (14, 2, 4) | semesters : semester_description (\"o\", \"x\", \"t\"), semester_id (13, 10, 8), semester_name (\"winter 2018\", \"spring 2019\", \"fall 2010\"), other_details (None) | students : date_first_registered (\"1973-05-19 19:12:46\", \"1997-03-20 16:47:25\", \"2017-01-04 08:10:25\"), date_left (\"2006-08-04 17:26:49\", \"2017-07-09 21:38:43\", \"2016-04-09 12:27:04\"), permanent_address_id (11, 4, 14), last_name (\"Ward\", \"Osinski\", \"Ward\"), current_address_id (6, 10, 1), first_name (\"Jordy\", \"Delaney\", \"Stanford\"), other_student_details (\"autem\", \"facilis\", \"assumenda\"), ssn (\"43\", \"965\", \"965\"), email_address (\"beth42@example.org\", \"erwin.zboncak@example.com\", \"swift.kolby@example.com\"), student_id (2, 7, 5), cell_mobile_number (\"436.613.7683\", \"677.401.9382\", \"(213)445-0399x85208\"), middle_name (\"Mona\", \"Judd\", \"Aisha\") | student_enrolment : degree_program_id (12, 2, 10), other_details (None), semester_id (2, 13, 13), student_enrolment_id (11, 12, 7), student_id (6, 4, 14) | student_enrolment_courses : student_course_id (7, 9860, 7), course_id (8, 14, 10), student_enrolment_id (4, 8, 5) | transcripts : document_date (\"1975-05-20 18:31:21\", \"2010-12-13 10:55:15\", \"1988-04-30 01:19:47\"), record_date (\"1975-05-20 18:31:21\", \"2010-12-13 10:55:15\", \"1988-04-30 01:19:47\"), transcript_id (14, 7, 6), other_details (None) | transcript_contents : transcript_id (8, 5, 5), student_course_id (0, 28982908, 45105806)", "schema_without_content": "addresses : city , line_1 , line_3 , address_id , zip_postcode , country , line_2 , other_address_details , state_province_county | courses : course_id , course_name , course_description , other_details | departments : department_name , department_description , other_details , department_id | degree_programs : degree_program_id , degree_summary_description , department_id , other_details , degree_summary_name | sections : other_details , course_id , section_name , section_description , section_id | semesters : semester_description , semester_id , semester_name , other_details | students : date_first_registered , date_left , permanent_address_id , last_name , current_address_id , first_name , other_student_details , ssn , email_address , student_id , cell_mobile_number 445-0399x85208\", middle_name | student_enrolment : degree_program_id , other_details , semester_id , student_enrolment_id , student_id | student_enrolment_courses : student_course_id , course_id , student_enrolment_id | transcripts : document_date , record_date , transcript_id , other_details | transcript_contents : transcript_id , student_course_id", "extra_map": { "transcripts": { "transcript_date": [ "record_date", "document_date" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "other_details", "record_date", "document_date" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "date of the transcript": "Transcripts.transcript_date", "id": "Transcripts.transcript_id" } }, { "question": "show the #date of the transcript# which shows the least number of results, also list the #id# .", "db_id": "student_transcripts_tracking", "orig_query": "select t2.transcript_date, t1.transcript_id from transcript_contents as t1 join transcripts as t2 on t1.transcript_id = t2.transcript_id group by t1.transcript_id order by count(*) asc limit 1", "schema_with_content": "addresses : line_2 (\"Suite 674\", \"Suite 865\", \"Suite 239\"), line_3 (None), state_province_county (\"Arkansas\", \"Wyoming\", \"WestVirginia\"), other_address_details (None), line_1 (\"0643 Muller Vista\", \"74046 Metz Walk Apt. 113\", \"492 Wilkinson Route\"), zip_postcode (\"148\", \"148\", \"386\"), address_id (3, 4, 12), country (\"Saudi Arabia\", \"Samoa\", \"Lesotho\"), city (\"Lake Careyberg\", \"Port Evanston\", \"Port Chelsea\") | courses : course_name (\"en\", \"fr\", \"math\"), course_description (\"d\", \"v\", \"p\"), other_details (None), course_id (8, 2, 1) | departments : department_name (\"law\", \"economics\", \"biology\"), department_id (10, 8, 9), department_description (\"autem\", \"autem\", \"non\"), other_details (None) | degree_programs : department_id (13, 8, 2), degree_summary_description (\"aut\", \"aut\", \"placeat\"), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), other_details (None), degree_program_id (1, 15, 2) | sections : course_id (6, 12, 8), section_description (\"ex\", \"voluptatem\", \"qui\"), other_details (None), section_id (2, 1, 2), section_name (\"o\", \"u\", \"b\") | semesters : semester_name (\"summer 2010\", \"winter 2010\", \"spring 2013\"), semester_id (13, 15, 5), other_details (None), semester_description (\"c\", \"f\", \"o\") | students : ssn (\"34458427\", \"156\", \"6274274\"), date_first_registered (\"1973-05-19 19:12:46\", \"2018-03-13 09:56:22\", \"2004-12-24 12:36:46\"), other_student_details (\"et\", \"laborum\", \"dolorum\"), student_id (12, 12, 8), current_address_id (7, 14, 2), first_name (\"Deon\", \"Reva\", \"Helga\"), permanent_address_id (4, 8, 5), email_address (\"dell43@example.net\", \"lhartmann@example.org\", \"nbruen@example.org\"), middle_name (\"Osborne\", \"Golda\", \"Cleve\"), date_left (\"2017-07-09 21:38:43\", \"2006-08-04 17:26:49\", \"1971-05-17 19:28:49\"), cell_mobile_number (\"436.613.7683\", \"436.613.7683\", \"877.549.9067x8723\"), last_name (\"Weimann\", \"Huel\", \"Schuppe\") | student_enrolment : student_id (5, 14, 5), semester_id (9, 12, 9), other_details (None), degree_program_id (2, 5, 4), student_enrolment_id (12, 13, 6) | student_enrolment_courses : student_enrolment_id (13, 13, 5), student_course_id (96, 8, 438800), course_id (8, 14, 11) | transcripts : transcript_id (3, 6, 4), other_details (None), transcript_date (\"1984-01-18 23:07:07\", \"2002-09-24 06:11:49\", \"1975-10-28 15:16:51\") | transcript_contents : document_id (4, 13, 8), record_id (4, 13, 8), student_course_id (70882679, 45105806, 28982908)", "schema_without_content": "addresses : line_2 , line_3 , state_province_county , other_address_details , line_1 , zip_postcode , address_id , country , city | courses : course_name , course_description , other_details , course_id | departments : department_name , department_id , department_description , other_details | degree_programs : department_id , degree_summary_description , degree_summary_name , other_details , degree_program_id | sections : course_id , section_description , other_details , section_id , section_name | semesters : semester_name , semester_id , other_details , semester_description | students : ssn , date_first_registered , other_student_details , student_id , current_address_id , first_name , permanent_address_id , email_address , middle_name , date_left , cell_mobile_number , last_name | student_enrolment : student_id , semester_id , other_details , degree_program_id , student_enrolment_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : transcript_id , other_details , transcript_date | transcript_contents : document_id , record_id , student_course_id", "extra_map": { "transcript_contents": { "transcript_id": [ "record_id", "document_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "record_id", "document_id" ] }, "column_linking_gt": { "date of the transcript": "Transcripts.transcript_date", "id": "Transcripts.transcript_id" } }, { "question": "what is the #date# and #id of the transcript# with the least number of results?", "db_id": "student_transcripts_tracking", "orig_query": "select t2.transcript_date, t1.transcript_id from transcript_contents as t1 join transcripts as t2 on t1.transcript_id = t2.transcript_id group by t1.transcript_id order by count(*) asc limit 1", "schema_with_content": "addresses : country (\"Bermuda\", \"Angola\", \"Samoa\"), zip_postcode (\"847\", \"068\", \"669\"), line_2 (\"Suite 865\", \"Suite 079\", \"Apt. 335\"), line_1 (\"0144 Lamar Plaza Apt. 346\", \"193 Marlin Brook\", \"202 Hessel Views Apt. 468\"), city (\"New Clemensburgh\", \"Port Chelsea\", \"New Clemensburgh\"), line_3 (None), state_province_county (\"Kentucky\", \"Arkansas\", \"Florida\"), other_address_details (None), address_id (9, 5, 7) | courses : course_description (\"v\", \"l\", \"p\"), course_id (7, 7, 5), other_details (None), course_name (\"ai\", \"en\", \"fr\") | departments : other_details (None), department_id (8, 10, 7), department_description (\"in\", \"nostrum\", \"consequatur\"), department_name (\"medical\", \"management\", \"biology\") | degree_programs : department_id (8, 4, 4), degree_program_id (2, 7, 2), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"aperiam\", \"officiis\", \"cumque\") | sections : section_description (\"quis\", \"ex\", \"voluptatem\"), section_id (8, 9, 6), course_id (5, 5, 6), section_name (\"k\", \"g\", \"k\"), other_details (None) | semesters : semester_id (7, 5, 9), other_details (None), semester_name (\"spring 2013\", \"spring 2018\", \"spring 2010\"), semester_description (\"g\", \"f\", \"o\") | students : date_left (\"2013-10-05 17:41:28\", \"1982-06-11 00:25:39\", \"1982-06-11 00:25:39\"), first_name (\"Timmothy\", \"Frida\", \"Jordy\"), date_first_registered (\"2009-09-25 00:14:25\", \"2007-08-29 23:25:41\", \"1989-05-24 23:31:29\"), ssn (\"494\", \"965\", \"39\"), last_name (\"Rogahn\", \"Huel\", \"Schuppe\"), other_student_details (\"dolorum\", \"laborum\", \"et\"), current_address_id (1, 2, 12), permanent_address_id (14, 11, 15), email_address (\"nya.lesch@example.net\", \"beth42@example.org\", \"lhartmann@example.org\"), cell_mobile_number (\"03174364122\", \"436.613.7683\", \"171-642-5684\"), middle_name (\"Judd\", \"Vaughn\", \"Lorenz\"), student_id (7, 9, 13) | student_enrolment : student_id (1, 6, 12), degree_program_id (3, 2, 11), semester_id (1, 15, 2), other_details (None), student_enrolment_id (7, 3, 7) | student_enrolment_courses : student_enrolment_id (13, 10, 8), student_course_id (9860, 604750, 438800), course_id (12, 6, 6) | transcripts : other_details (None), document_date (\"1990-03-05 11:59:41\", \"1990-03-05 11:59:41\", \"1990-03-05 11:59:41\"), transcript_id (5, 11, 3), record_date (\"1990-03-05 11:59:41\", \"1990-03-05 11:59:41\", \"1990-03-05 11:59:41\") | transcript_contents : student_course_id (0, 28982908, 70882679), transcript_id (15, 6, 15)", "schema_without_content": "addresses : country , zip_postcode , line_2 , line_1 , city , line_3 , state_province_county , other_address_details , address_id | courses : course_description , course_id , other_details , course_name | departments : other_details , department_id , department_description , department_name | degree_programs : department_id , degree_program_id , other_details , degree_summary_name , degree_summary_description | sections : section_description , section_id , course_id , section_name , other_details | semesters : semester_id , other_details , semester_name , semester_description | students : date_left , first_name , date_first_registered , ssn , last_name , other_student_details , current_address_id , permanent_address_id , email_address , cell_mobile_number , middle_name , student_id | student_enrolment : student_id , degree_program_id , semester_id , other_details , student_enrolment_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : other_details , document_date , transcript_id , record_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "transcripts": { "transcript_date": [ "record_date", "document_date" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "other_details", "record_date", "document_date" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "date": "Transcripts.transcript_date", "id of the transcript": "Transcripts.transcript_id" } }, { "question": "what is the #date# and #id of the transcript# with the least number of results?", "db_id": "student_transcripts_tracking", "orig_query": "select t2.transcript_date, t1.transcript_id from transcript_contents as t1 join transcripts as t2 on t1.transcript_id = t2.transcript_id group by t1.transcript_id order by count(*) asc limit 1", "schema_with_content": "addresses : city (\"New Clemensburgh\", \"Herzoghaven\", \"Port Evanston\"), other_address_details (None), line_1 (\"0144 Lamar Plaza Apt. 346\", \"186 Evan Motorway Apt. 409\", \"3999 Aufderhar Ways Suite 593\"), line_3 (None), line_2 (\"Suite 674\", \"Apt. 583\", \"Apt. 388\"), country (\"Croatia\", \"Gibraltar\", \"Iceland\"), state_province_county (\"Hawaii\", \"Arkansas\", \"Florida\"), address_id (14, 7, 12), zip_postcode (\"590\", \"895\", \"902\") | courses : other_details (None), course_description (\"d\", \"p\", \"v\"), course_name (\"db\", \"fr\", \"oop\"), course_id (14, 6, 4) | departments : department_description (\"autem\", \"nisi\", \"aliquam\"), department_id (3, 6, 1), department_name (\"law\", \"biology\", \"geography\"), other_details (None) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (5, 3, 11), department_id (2, 2, 11), other_details (None), degree_summary_description (\"esse\", \"esse\", \"aut\") | sections : section_id (3, 12, 6), other_details (None), section_name (\"g\", \"b\", \"a\"), course_id (14, 4, 4), section_description (\"non\", \"ad\", \"quis\") | semesters : semester_description (\"y\", \"l\", \"w\"), semester_name (\"spring 2013\", \"spring 2018\", \"spring 2017\"), other_details (None), semester_id (2, 3, 6) | students : middle_name (\"Aaliyah\", \"Violet\", \"Judd\"), date_first_registered (\"1976-10-26 02:33:06\", \"1997-03-20 16:47:25\", \"2005-12-15 08:42:10\"), cell_mobile_number (\"(213)445-0399x85208\", \"1-879-796-8987x164\", \"677.401.9382\"), first_name (\"Jarvis\", \"Frida\", \"Hobart\"), student_id (2, 2, 13), last_name (\"Rempel\", \"Ward\", \"Rempel\"), current_address_id (12, 9, 14), ssn (\"3\", \"43\", \"\"), date_left (\"2017-07-09 21:38:43\", \"1971-05-17 19:28:49\", \"2006-08-04 17:26:49\"), email_address (\"skassulke@example.net\", \"mya88@example.org\", \"johns.unique@example.net\"), other_student_details (\"autem\", \"voluptatem\", \"nesciunt\"), permanent_address_id (3, 3, 3) | student_enrolment : degree_program_id (4, 8, 4), student_id (9, 6, 14), semester_id (2, 13, 12), other_details (None), student_enrolment_id (15, 4, 8) | student_enrolment_courses : student_enrolment_id (6, 10, 8), student_course_id (1, 681404, 76), course_id (2, 8, 11) | transcripts : transcript_date (\"1984-01-18 23:07:07\", \"1975-05-06 12:04:47\", \"2013-06-30 13:01:40\"), transcript_id (7, 5, 14), other_details (None) | transcript_contents : record_id (2, 5, 5), student_course_id (45105806, 76, 45105806), document_id (2, 5, 5)", "schema_without_content": "addresses : city , other_address_details , line_1 , line_3 , line_2 , country , state_province_county , address_id , zip_postcode | courses : other_details , course_description , course_name , course_id | departments : department_description , department_id , department_name , other_details | degree_programs : degree_summary_name , degree_program_id , department_id , other_details , degree_summary_description | sections : section_id , other_details , section_name , course_id , section_description | semesters : semester_description , semester_name , other_details , semester_id | students : middle_name , date_first_registered , cell_mobile_number 445-0399x85208\", \"1-879-796-8987x164\", \"677.401.9382\", first_name , student_id , last_name , current_address_id , ssn , date_left , email_address , other_student_details , permanent_address_id | student_enrolment : degree_program_id , student_id , semester_id , other_details , student_enrolment_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : transcript_date , transcript_id , other_details | transcript_contents : record_id , student_course_id , document_id", "extra_map": { "transcript_contents": { "transcript_id": [ "record_id", "document_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "record_id", "document_id" ] }, "column_linking_gt": { "date": "Transcripts.transcript_date", "id of the transcript": "Transcripts.transcript_id" } }, { "question": "find the #semester# when both #master students# and #bachelor students# got #enrolled in# .", "db_id": "student_transcripts_tracking", "orig_query": "select distinct t2.semester_id from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id where degree_summary_name = 'Master' intersect select distinct t2.semester_id from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id where degree_summary_name = 'Bachelor'", "schema_with_content": "addresses : state_province_county (\"NorthCarolina\", \"Kentucky\", \"Arkansas\"), line_2 (\"Suite 865\", \"Apt. 388\", \"Apt. 305\"), country (\"Burundi\", \"Haiti\", \"Lesotho\"), line_3 (None), zip_postcode (\"400\", \"638\", \"386\"), city (\"Port Oceane\", \"New Clemensburgh\", \"Herzoghaven\"), line_1 (\"9283 Schulist Falls Apt. 037\", \"193 Marlin Brook\", \"3999 Aufderhar Ways Suite 593\"), other_address_details (None), address_id (12, 9, 11) | courses : course_name (\"math\", \"la\", \"pl\"), course_description (\"n\", \"w\", \"w\"), course_id (10, 13, 3), other_details (None) | departments : department_description (\"dolorem\", \"ea\", \"error\"), other_details (None), department_name (\"law\", \"computer science\", \"linguistic\"), department_id (1, 4, 5) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (4, 8, 3), other_details (None), degree_program_id (15, 14, 14), degree_summary_description (\"unde\", \"voluptas\", \"officiis\") | sections : other_details (None), section_id (14, 7, 13), section_name (\"j\", \"k\", \"f\"), course_id (4, 7, 9), section_description (\"nesciunt\", \"et\", \"voluptas\") | semesters : semester_id (4, 14, 9), semester_name (\"spring 2012\", \"spring 2016\", \"spring 2013\"), semester_description (\"w\", \"q\", \"t\"), other_details (None) | students : student_id (9, 12, 10), other_student_details (\"autem\", \"atque\", \"dolorum\"), last_name (\"Jaskolski\", \"Gleichner\", \"Huel\"), first_name (\"Jarvis\", \"Helga\", \"Warren\"), date_left (\"2013-10-05 17:41:28\", \"1971-05-17 19:28:49\", \"1975-10-09 00:49:27\"), current_address_id (12, 14, 14), date_first_registered (\"2009-09-25 00:14:25\", \"2009-09-25 00:14:25\", \"2007-08-29 23:25:41\"), permanent_address_id (8, 15, 8), ssn (\"494\", \"156\", \"965\"), email_address (\"beth42@example.org\", \"nbruen@example.org\", \"beth42@example.org\"), middle_name (\"Brooklyn\", \"Mossie\", \"Violet\"), cell_mobile_number (\"171-642-5684\", \"1-879-796-8987x164\", \"(605)919-3594x3661\") | student_enrolment : student_enrolment_id (9, 8, 15), session_id (9, 2, 15), term_id (9, 2, 15), other_details (None), degree_program_id (3, 12, 12), student_id (14, 6, 4) | student_enrolment_courses : student_enrolment_id (9, 13, 2), course_id (3, 11, 10), student_course_id (76, 9860, 604750) | transcripts : other_details (None), transcript_date (\"2002-09-24 06:11:49\", \"1984-01-18 23:07:07\", \"1988-04-30 01:19:47\"), transcript_id (6, 15, 11) | transcript_contents : student_course_id (7, 28982908, 7), transcript_id (8, 8, 6)", "schema_without_content": "addresses : state_province_county , line_2 , country , line_3 , zip_postcode , city , line_1 , other_address_details , address_id | courses : course_name , course_description , course_id , other_details | departments : department_description , other_details , department_name , department_id | degree_programs : degree_summary_name , department_id , other_details , degree_program_id , degree_summary_description | sections : other_details , section_id , section_name , course_id , section_description | semesters : semester_id , semester_name , semester_description , other_details | students : student_id , other_student_details , last_name , first_name , date_left , current_address_id , date_first_registered , permanent_address_id , ssn , email_address , middle_name , cell_mobile_number 919-3594x3661\" | student_enrolment : student_enrolment_id , session_id , term_id , other_details , degree_program_id , student_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "student_enrolment": { "semester_id": [ "term_id", "session_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "student_id", "other_details", "term_id", "session_id" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "semester": "Semesters.semester_id", "Master students": "Degree_Programs.degree_summary_name", "Bachelor students": "Degree_Programs.degree_summary_name", "enrolled in": "Student_Enrolment" } }, { "question": "what is the #id of the semester# that had both #masters# and #bachelors students enrolled# ?", "db_id": "student_transcripts_tracking", "orig_query": "select distinct t2.semester_id from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id where degree_summary_name = 'Master' intersect select distinct t2.semester_id from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id where degree_summary_name = 'Bachelor'", "schema_with_content": "addresses : line_2 (\"Apt. 335\", \"Suite 239\", \"Suite 865\"), other_address_details (None), line_1 (\"202 Hessel Views Apt. 468\", \"193 Marlin Brook\", \"74046 Metz Walk Apt. 113\"), address_id (13, 13, 5), zip_postcode (\"943\", \"148\", \"839\"), city (\"Lake Laishafurt\", \"South Palma\", \"Michelleburgh\"), country (\"Gibraltar\", \"Burundi\", \"Lesotho\"), line_3 (None), state_province_county (\"Wyoming\", \"Wyoming\", \"NorthCarolina\") | courses : course_description (\"p\", \"k\", \"k\"), other_details (None), course_id (4, 4, 7), course_name (\"pl\", \"dl\", \"rs\") | departments : other_details (None), department_description (\"error\", \"error\", \"in\"), department_id (10, 10, 5), department_name (\"computer science\", \"management\", \"economics\") | degree_programs : department_id (7, 8, 12), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (5, 9, 13), degree_summary_description (\"voluptas\", \"assumenda\", \"unde\") | sections : other_details (None), section_description (\"doloremque\", \"facilis\", \"non\"), course_id (4, 5, 4), section_name (\"u\", \"u\", \"u\"), section_id (8, 12, 9) | semesters : semester_id (10, 1, 9), other_details (None), semester_name (\"spring 2019\", \"spring 2018\", \"fall 2018\"), semester_description (\"y\", \"x\", \"l\") | students : student_id (3, 11, 11), last_name (\"Gleichner\", \"Carroll\", \"Gleichner\"), permanent_address_id (14, 9, 3), email_address (\"erwin.zboncak@example.com\", \"baumbach.lucious@example.org\", \"johns.unique@example.net\"), ssn (\"965\", \"248\", \"156\"), date_first_registered (\"1989-05-24 23:31:29\", \"1982-02-14 08:46:35\", \"2018-03-13 09:56:22\"), other_student_details (\"non\", \"assumenda\", \"omnis\"), date_left (\"1997-11-16 08:54:33\", \"2006-08-04 17:26:49\", \"2004-12-08 05:29:11\"), current_address_id (15, 10, 15), cell_mobile_number (\"(605)919-3594x3661\", \"(213)445-0399x85208\", \"(982)153-1469x1733\"), first_name (\"Jordy\", \"Delaney\", \"Gregg\"), middle_name (\"Lorenz\", \"Alberta\", \"Mossie\") | student_enrolment : student_id (12, 4, 6), degree_program_id (8, 8, 5), session_id (5, 9, 12), student_enrolment_id (10, 9, 7), term_id (5, 9, 12), other_details (None) | student_enrolment_courses : course_id (3, 13, 4), student_course_id (1, 438800, 0), student_enrolment_id (5, 10, 4) | transcripts : transcript_date (\"2002-09-24 06:11:49\", \"2013-06-30 13:01:40\", \"1975-05-06 12:04:47\"), transcript_id (7, 13, 15), other_details (None) | transcript_contents : student_course_id (28982908, 96, 96), transcript_id (8, 4, 2)", "schema_without_content": "addresses : line_2 , other_address_details , line_1 , address_id , zip_postcode , city , country , line_3 , state_province_county | courses : course_description , other_details , course_id , course_name | departments : other_details , department_description , department_id , department_name | degree_programs : department_id , other_details , degree_summary_name , degree_program_id , degree_summary_description | sections : other_details , section_description , course_id , section_name , section_id | semesters : semester_id , other_details , semester_name , semester_description | students : student_id , last_name , permanent_address_id , email_address , ssn , date_first_registered , other_student_details , date_left , current_address_id , cell_mobile_number 919-3594x3661\", \"445-0399x85208\", \"153-1469x1733\", first_name , middle_name | student_enrolment : student_id , degree_program_id , session_id , student_enrolment_id , term_id , other_details | student_enrolment_courses : course_id , student_course_id , student_enrolment_id | transcripts : transcript_date , transcript_id , other_details | transcript_contents : student_course_id , transcript_id", "extra_map": { "student_enrolment": { "semester_id": [ "term_id", "session_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "student_id", "other_details", "term_id", "session_id" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "id of the semester": "Semesters.semester_id", "Masters": "Degree_Programs.degree_summary_name", "Bachelors students enrolled": "Degree_Programs.degree_summary_name" } }, { "question": "how many #different addresses# do the #students currently live# ?", "db_id": "student_transcripts_tracking", "orig_query": "select count(distinct current_address_id) from students", "schema_with_content": "addresses : address_id (8, 11, 1), city (\"South Palma\", \"Goodwinhaven\", \"Port Evanston\"), zip_postcode (\"400\", \"943\", \"638\"), country (\"New Caledonia\", \"Burundi\", \"Burundi\"), line_2 (\"Suite 079\", \"Suite 703\", \"Apt. 583\"), line_1 (\"2294 Grant Square Apt. 235\", \"7081 Eda Center\", \"492 Wilkinson Route\"), state_province_county (\"Florida\", \"Wyoming\", \"Hawaii\"), line_3 (None), other_address_details (None) | courses : course_description (\"l\", \"b\", \"l\"), course_id (13, 7, 4), other_details (None), course_name (\"ds\", \"la\", \"pl\") | departments : department_id (4, 1, 9), department_name (\"dance\", \"engineer\", \"art\"), department_description (\"non\", \"aliquam\", \"in\"), other_details (None) | degree_programs : degree_program_id (3, 13, 5), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), department_id (12, 15, 13), degree_summary_description (\"unde\", \"aperiam\", \"earum\") | sections : section_description (\"qui\", \"doloremque\", \"et\"), other_details (None), section_id (1, 7, 13), course_id (2, 4, 12), section_name (\"j\", \"j\", \"f\") | semesters : other_details (None), semester_id (6, 5, 8), semester_name (\"spring 2017\", \"spring 2019\", \"spring 2018\"), semester_description (\"q\", \"w\", \"o\") | students : residence_address_id (1, 1, 6), cell_mobile_number (\"(507)365-8405\", \"(605)919-3594x3661\", \"(096)889-8954x524\"), ssn (\"43\", \"668\", \"494\"), date_first_registered (\"2017-01-04 08:10:25\", \"1976-10-26 02:33:06\", \"2009-09-25 00:14:25\"), student_id (1, 1, 3), current_residence_id (1, 1, 6), middle_name (\"Aaliyah\", \"Anna\", \"Neal\"), other_student_details (\"non\", \"laborum\", \"atque\"), last_name (\"Weimann\", \"Kemmer\", \"Huel\"), email_address (\"mya88@example.org\", \"jhuel@example.com\", \"swift.kolby@example.com\"), permanent_address_id (11, 5, 11), first_name (\"Jett\", \"Warren\", \"Delaney\"), date_left (\"1971-05-17 19:28:49\", \"2007-03-31 09:53:19\", \"1997-11-16 08:54:33\") | student_enrolment : other_details (None), student_id (7, 7, 9), student_enrolment_id (2, 3, 8), degree_program_id (11, 4, 8), semester_id (6, 15, 2) | student_enrolment_courses : course_id (12, 6, 8), student_enrolment_id (10, 2, 13), student_course_id (45105806, 0, 1) | transcripts : transcript_id (1, 1, 10), other_details (None), transcript_date (\"1990-03-05 11:59:41\", \"2010-12-13 10:55:15\", \"1990-03-05 11:59:41\") | transcript_contents : student_course_id (0, 96, 96), transcript_id (11, 2, 12)", "schema_without_content": "addresses : address_id , city , zip_postcode , country , line_2 , line_1 , state_province_county , line_3 , other_address_details | courses : course_description , course_id , other_details , course_name | departments : department_id , department_name , department_description , other_details | degree_programs : degree_program_id , other_details , degree_summary_name , department_id , degree_summary_description | sections : section_description , other_details , section_id , course_id , section_name | semesters : other_details , semester_id , semester_name , semester_description | students : residence_address_id , cell_mobile_number 365-8405\", \"919-3594x3661\", \"889-8954x524\", ssn , date_first_registered , student_id , current_residence_id , middle_name , other_student_details , last_name , email_address , permanent_address_id , first_name , date_left | student_enrolment : other_details , student_id , student_enrolment_id , degree_program_id , semester_id | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : transcript_id , other_details , transcript_date | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "current_address_id": [ "current_residence_id", "residence_address_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "current_residence_id", "residence_address_id" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "different addresses": "Students.current_address_id", "students currently live": "Students" } }, { "question": "what are the #different addresses# that have #students living there# ?", "db_id": "student_transcripts_tracking", "orig_query": "select count(distinct current_address_id) from students", "schema_with_content": "addresses : line_1 (\"67942 Carlotta Ferry Apt. 686\", \"0643 Muller Vista\", \"67942 Carlotta Ferry Apt. 686\"), other_address_details (None), state_province_county (\"Washington\", \"Hawaii\", \"Kansas\"), city (\"Lake Laishafurt\", \"Mariliehaven\", \"Port Evanston\"), line_2 (\"Suite 703\", \"Apt. 689\", \"Apt. 406\"), country (\"New Caledonia\", \"Gibraltar\", \"Saudi Arabia\"), zip_postcode (\"902\", \"847\", \"777\"), line_3 (None), address_id (6, 15, 2) | courses : course_name (\"oop\", \"nlp\", \"fr\"), course_description (\"w\", \"v\", \"n\"), course_id (3, 9, 4), other_details (None) | departments : other_details (None), department_id (5, 3, 6), department_description (\"nihil\", \"ea\", \"doloribus\"), department_name (\"management\", \"history\", \"medical\") | degree_programs : degree_summary_description (\"assumenda\", \"aut\", \"assumenda\"), degree_program_id (9, 12, 7), department_id (11, 2, 2), other_details (None), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\") | sections : course_id (9, 5, 5), section_name (\"u\", \"c\", \"e\"), section_id (4, 6, 7), other_details (None), section_description (\"provident\", \"facilis\", \"ex\") | semesters : semester_description (\"x\", \"q\", \"f\"), semester_name (\"winter 2018\", \"spring 2016\", \"fall 2010\"), other_details (None), semester_id (11, 4, 1) | students : email_address (\"dell43@example.net\", \"gracie29@example.com\", \"lhartmann@example.org\"), student_id (4, 7, 15), cell_mobile_number (\"677.401.9382\", \"(507)365-8405\", \"03174364122\"), residence_address_id (14, 10, 7), ssn (\"668\", \"39\", \"68095\"), other_student_details (\"autem\", \"quia\", \"atque\"), first_name (\"Milton\", \"Warren\", \"Milton\"), date_first_registered (\"2009-09-25 00:14:25\", \"2017-01-04 08:10:25\", \"2004-12-24 12:36:46\"), last_name (\"Ward\", \"Balistreri\", \"Kemmer\"), current_residence_id (14, 10, 7), date_left (\"2007-03-31 09:53:19\", \"1999-08-24 00:07:10\", \"1971-05-17 19:28:49\"), permanent_address_id (9, 11, 15), middle_name (\"Vaughn\", \"Alberta\", \"Vaughn\") | student_enrolment : other_details (None), student_enrolment_id (4, 8, 15), semester_id (6, 13, 5), degree_program_id (5, 10, 5), student_id (12, 9, 12) | student_enrolment_courses : course_id (14, 10, 13), student_enrolment_id (8, 14, 8), student_course_id (28982908, 0, 96) | transcripts : other_details (None), transcript_id (6, 8, 12), transcript_date (\"1984-12-19 00:37:21\", \"1975-10-28 15:16:51\", \"1984-01-18 23:07:07\") | transcript_contents : transcript_id (12, 15, 11), student_course_id (28982908, 8, 28982908)", "schema_without_content": "addresses : line_1 , other_address_details , state_province_county , city , line_2 , country , zip_postcode , line_3 , address_id | courses : course_name , course_description , course_id , other_details | departments : other_details , department_id , department_description , department_name | degree_programs : degree_summary_description , degree_program_id , department_id , other_details , degree_summary_name | sections : course_id , section_name , section_id , other_details , section_description | semesters : semester_description , semester_name , other_details , semester_id | students : email_address , student_id , cell_mobile_number 365-8405\", \"03174364122\", residence_address_id , ssn , other_student_details , first_name , date_first_registered , last_name , current_residence_id , date_left , permanent_address_id , middle_name | student_enrolment : other_details , student_enrolment_id , semester_id , degree_program_id , student_id | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "current_address_id": [ "current_residence_id", "residence_address_id" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details", "current_residence_id", "residence_address_id" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "different addresses": "Addresses", "students living there": "Students.current_address_id" } }, { "question": "list all the #student details# in reversed lexicographical order.", "db_id": "student_transcripts_tracking", "orig_query": "select other_student_details from students order by other_student_details desc", "schema_with_content": "addresses : line_2 (\"Suite 865\", \"Suite 239\", \"Suite 830\"), city (\"Port Oceane\", \"Rutherfordtown\", \"Herzoghaven\"), line_3 (None), zip_postcode (\"839\", \"839\", \"400\"), line_1 (\"193 Marlin Brook\", \"492 Wilkinson Route\", \"979 Haag Shores Suite 656\"), address_id (13, 14, 14), other_address_details (None), country (\"New Caledonia\", \"Gabon\", \"Kyrgyz Republic\"), state_province_county (\"Virginia\", \"Wyoming\", \"Delaware\") | courses : course_name (\"la\", \"pl\", \"cal\"), course_id (9, 13, 9), other_details (None), course_description (\"w\", \"k\", \"c\") | departments : department_name (\"medical\", \"engineer\", \"art\"), department_description (\"error\", \"consequatur\", \"nihil\"), other_details (None), department_id (1, 1, 15) | degree_programs : department_id (12, 8, 13), degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"assumenda\", \"placeat\", \"placeat\"), degree_program_id (3, 5, 10), other_details (None) | sections : section_id (14, 14, 10), section_description (\"non\", \"et\", \"et\"), section_name (\"d\", \"y\", \"p\"), course_id (1, 8, 1), other_details (None) | semesters : semester_id (1, 15, 6), semester_description (\"y\", \"c\", \"f\"), other_details (None), semester_name (\"spring 2010\", \"summer 2010\", \"winter 2010\") | students : first_name (\"Frida\", \"Deon\", \"Timmothy\"), ssn (\"68095\", \"141072406\", \"39\"), student_id (15, 12, 5), current_address_id (2, 1, 9), last_name (\"Ankunding\", \"Mohr\", \"Christiansen\"), email_address (\"erwin.zboncak@example.com\", \"jhuel@example.com\", \"erwin.zboncak@example.com\"), date_first_registered (\"2005-12-15 08:42:10\", \"2009-09-25 00:14:25\", \"1989-05-24 23:31:29\"), cell_mobile_number (\"(096)889-8954x524\", \"03174364122\", \"(507)365-8405\"), permanent_address_id (15, 5, 15), middle_name (\"Mossie\", \"Violet\", \"Osborne\"), date_left (\"1999-08-24 00:07:10\", \"2007-11-28 12:50:21\", \"2007-03-31 09:53:19\"), extra_info (\"assumenda\", \"assumenda\", \"non\"), additional_details (\"assumenda\", \"assumenda\", \"non\") | student_enrolment : student_enrolment_id (2, 11, 3), other_details (None), degree_program_id (2, 10, 8), student_id (1, 1, 5), semester_id (9, 12, 13) | student_enrolment_courses : course_id (2, 14, 8), student_enrolment_id (13, 4, 5), student_course_id (2, 681404, 0) | transcripts : other_details (None), transcript_date (\"1998-11-22 12:18:29\", \"1985-04-29 01:20:20\", \"1986-07-12 07:27:29\"), transcript_id (6, 1, 12) | transcript_contents : student_course_id (45105806, 96, 28982908), transcript_id (15, 9, 5)", "schema_without_content": "addresses : line_2 , city , line_3 , zip_postcode , line_1 , address_id , other_address_details , country , state_province_county | courses : course_name , course_id , other_details , course_description | departments : department_name , department_description , other_details , department_id | degree_programs : department_id , degree_summary_name , degree_summary_description , degree_program_id , other_details | sections : section_id , section_description , section_name , course_id , other_details | semesters : semester_id , semester_description , other_details , semester_name | students : first_name , ssn , student_id , current_address_id , last_name , email_address , date_first_registered , cell_mobile_number 889-8954x524\", \"03174364122\", \"365-8405\", permanent_address_id , middle_name , date_left , extra_info , additional_details | student_enrolment : student_enrolment_id , other_details , degree_program_id , student_id , semester_id | student_enrolment_courses : course_id , student_enrolment_id , student_course_id | transcripts : other_details , transcript_date , transcript_id | transcript_contents : student_course_id , transcript_id", "extra_map": { "students": { "other_student_details": [ "additional_details", "extra_info" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "additional_details", "extra_info" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "student details": "Students.other_student_details" } }, { "question": "what #other details# can you tell me about #students# in reverse alphabetical order?", "db_id": "student_transcripts_tracking", "orig_query": "select other_student_details from students order by other_student_details desc", "schema_with_content": "addresses : zip_postcode (\"541\", \"847\", \"590\"), other_address_details (None), line_1 (\"9283 Schulist Falls Apt. 037\", \"492 Wilkinson Route\", \"193 Marlin Brook\"), state_province_county (\"Wyoming\", \"Kansas\", \"Kansas\"), address_id (7, 15, 12), line_3 (None), country (\"Croatia\", \"Angola\", \"Croatia\"), city (\"Port Evanston\", \"Port Evanston\", \"Goodwinhaven\"), line_2 (\"Suite 865\", \"Suite 830\", \"Suite 383\") | courses : other_details (None), course_description (\"v\", \"c\", \"k\"), course_name (\"dl\", \"nlp\", \"cal\"), course_id (9, 13, 8) | departments : department_description (\"ea\", \"nostrum\", \"nihil\"), department_id (12, 3, 12), department_name (\"drama\", \"computer science\", \"drama\"), other_details (None) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_program_id (2, 13, 13), degree_summary_description (\"cumque\", \"assumenda\", \"architecto\"), other_details (None), department_id (3, 12, 2) | sections : section_id (13, 9, 14), other_details (None), section_name (\"h\", \"j\", \"y\"), course_id (5, 10, 5), section_description (\"reprehenderit\", \"doloremque\", \"ex\") | semesters : other_details (None), semester_description (\"g\", \"l\", \"q\"), semester_name (\"fall 2010\", \"spring 2017\", \"spring 2019\"), semester_id (10, 1, 11) | students : date_left (\"2017-07-09 21:38:43\", \"2007-03-31 09:53:19\", \"2007-11-28 12:50:21\"), last_name (\"Mohr\", \"Gleichner\", \"Ward\"), permanent_address_id (15, 3, 8), current_address_id (9, 14, 15), date_first_registered (\"2017-01-04 08:10:25\", \"1976-10-26 02:33:06\", \"1986-02-24 21:12:23\"), first_name (\"Gregg\", \"Delaney\", \"Jett\"), extra_info (\"dolorum\", \"assumenda\", \"omnis\"), cell_mobile_number (\"03174364122\", \"(982)153-1469x1733\", \"(507)365-8405\"), email_address (\"nya.lesch@example.net\", \"qo'kon@example.com\", \"baumbach.lucious@example.org\"), student_id (3, 13, 2), ssn (\"68095\", \"965\", \"248\"), middle_name (\"Alberta\", \"Mossie\", \"Vaughn\"), additional_details (\"dolorum\", \"assumenda\", \"omnis\") | student_enrolment : student_enrolment_id (15, 13, 10), semester_id (15, 2, 6), degree_program_id (12, 12, 9), other_details (None), student_id (4, 14, 6) | student_enrolment_courses : student_enrolment_id (6, 14, 14), student_course_id (604750, 76, 681404), course_id (4, 6, 12) | transcripts : transcript_date (\"1975-10-28 15:16:51\", \"2013-06-30 13:01:40\", \"1984-12-19 00:37:21\"), other_details (None), transcript_id (4, 10, 7) | transcript_contents : transcript_id (4, 12, 13), student_course_id (45105806, 45105806, 2)", "schema_without_content": "addresses : zip_postcode , other_address_details , line_1 , state_province_county , address_id , line_3 , country , city , line_2 | courses : other_details , course_description , course_name , course_id | departments : department_description , department_id , department_name , other_details | degree_programs : degree_summary_name , degree_program_id , degree_summary_description , other_details , department_id | sections : section_id , other_details , section_name , course_id , section_description | semesters : other_details , semester_description , semester_name , semester_id | students : date_left , last_name , permanent_address_id , current_address_id , date_first_registered , first_name , extra_info , cell_mobile_number 153-1469x1733\", \"365-8405\", email_address , student_id , ssn , middle_name , additional_details | student_enrolment : student_enrolment_id , semester_id , degree_program_id , other_details , student_id | student_enrolment_courses : student_enrolment_id , student_course_id , course_id | transcripts : transcript_date , other_details , transcript_id | transcript_contents : transcript_id , student_course_id", "extra_map": { "students": { "other_student_details": [ "additional_details", "extra_info" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "section_description", "other_details" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "additional_details", "extra_info" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "other details": "Students.other_student_details", "students": "Students" } }, { "question": "what is the #description for the section named h# ?", "db_id": "student_transcripts_tracking", "orig_query": "select section_description from sections where section_name = 'h'", "schema_with_content": "addresses : country (\"Norfolk Island\", \"Lesotho\", \"New Caledonia\"), line_2 (\"Suite 239\", \"Apt. 583\", \"Suite 830\"), line_1 (\"9283 Schulist Falls Apt. 037\", \"2294 Grant Square Apt. 235\", \"979 Haag Shores Suite 656\"), address_id (5, 13, 14), state_province_county (\"Kansas\", \"Delaware\", \"Wyoming\"), city (\"Port Oceane\", \"Port Elvisfurt\", \"North Omer\"), line_3 (None), other_address_details (None), zip_postcode (\"386\", \"895\", \"386\") | courses : other_details (None), course_id (6, 7, 7), course_description (\"v\", \"l\", \"v\"), course_name (\"db\", \"nlp\", \"cal\") | departments : department_description (\"non\", \"nostrum\", \"dolorem\"), department_id (13, 10, 12), department_name (\"statistics\", \"economics\", \"statistics\"), other_details (None) | degree_programs : degree_summary_name (\"Master\", \"Bachelor\", \"PHD\"), degree_summary_description (\"esse\", \"cumque\", \"architecto\"), degree_program_id (15, 12, 5), department_id (12, 15, 15), other_details (None) | sections : part_description (\"facilis\", \"quis\", \"ex\"), course_id (1, 9, 9), section_id (8, 13, 9), other_details (None), section_name (\"u\", \"y\", \"c\"), segment_description (\"facilis\", \"quis\", \"ex\") | semesters : other_details (None), semester_name (\"spring 2017\", \"spring 2015\", \"summer 2010\"), semester_description (\"l\", \"y\", \"o\"), semester_id (15, 14, 12) | students : date_first_registered (\"1971-02-05 07:28:23\", \"1971-02-05 07:28:23\", \"1971-02-05 07:28:23\"), first_name (\"Frida\", \"Helga\", \"Gregg\"), current_address_id (15, 12, 1), other_student_details (\"quia\", \"laborum\", \"laborum\"), middle_name (\"Alberta\", \"Violet\", \"Cleve\"), permanent_address_id (11, 8, 14), cell_mobile_number (\"(507)365-8405\", \"1-879-796-8987x164\", \"677.401.9382\"), email_address (\"erwin.zboncak@example.com\", \"dell43@example.net\", \"jillian26@example.net\"), last_name (\"Christiansen\", \"Kemmer\", \"Rogahn\"), ssn (\"156\", \"668\", \"304246\"), student_id (4, 5, 8), date_left (\"1975-10-09 00:49:27\", \"1990-09-01 05:03:27\", \"2013-10-05 17:41:28\") | student_enrolment : degree_program_id (8, 11, 9), student_enrolment_id (14, 10, 7), other_details (None), semester_id (1, 4, 2), student_id (5, 5, 14) | student_enrolment_courses : student_enrolment_id (14, 8, 13), course_id (12, 4, 4), student_course_id (681404, 8, 9860) | transcripts : other_details (None), transcript_id (14, 7, 6), transcript_date (\"1986-07-12 07:27:29\", \"1990-03-05 11:59:41\", \"1999-01-06 20:06:46\") | transcript_contents : transcript_id (8, 2, 15), student_course_id (76, 45105806, 2)", "schema_without_content": "addresses : country , line_2 , line_1 , address_id , state_province_county , city , line_3 , other_address_details , zip_postcode | courses : other_details , course_id , course_description , course_name | departments : department_description , department_id , department_name , other_details | degree_programs : degree_summary_name , degree_summary_description , degree_program_id , department_id , other_details | sections : part_description , course_id , section_id , other_details , section_name , segment_description | semesters : other_details , semester_name , semester_description , semester_id | students : date_first_registered , first_name , current_address_id , other_student_details , middle_name , permanent_address_id , cell_mobile_number 365-8405\", \"1-879-796-8987x164\", \"677.401.9382\", email_address , last_name , ssn , student_id , date_left | student_enrolment : degree_program_id , student_enrolment_id , other_details , semester_id , student_id | student_enrolment_courses : student_enrolment_id , course_id , student_course_id | transcripts : other_details , transcript_id , transcript_date | transcript_contents : transcript_id , student_course_id", "extra_map": { "sections": { "section_description": [ "part_description", "segment_description" ] } }, "extra_table_map": null, "db_schema": { "addresses": [ "address_id", "line_1", "line_2", "line_3", "city", "zip_postcode", "state_province_county", "country", "other_address_details" ], "courses": [ "course_id", "course_name", "course_description", "other_details" ], "departments": [ "department_id", "department_name", "department_description", "other_details" ], "degree_programs": [ "degree_program_id", "department_id", "degree_summary_name", "degree_summary_description", "other_details" ], "sections": [ "section_id", "course_id", "section_name", "other_details", "part_description", "segment_description" ], "semesters": [ "semester_id", "semester_name", "semester_description", "other_details" ], "students": [ "student_id", "current_address_id", "permanent_address_id", "first_name", "middle_name", "last_name", "cell_mobile_number", "email_address", "ssn", "date_first_registered", "date_left", "other_student_details" ], "student_enrolment": [ "student_enrolment_id", "degree_program_id", "semester_id", "student_id", "other_details" ], "student_enrolment_courses": [ "student_course_id", "course_id", "student_enrolment_id" ], "transcripts": [ "transcript_id", "transcript_date", "other_details" ], "transcript_contents": [ "student_course_id", "transcript_id" ] }, "column_linking_gt": { "description for the section named h": "Sections.section_description" } }, { "question": "list the #title of all cartoons# in alphabetical order.", "db_id": "tvshow", "orig_query": "select title from cartoon order by title", "schema_with_content": "tv_channel : pay_per_view_ppv (\"no\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), id (\"705\", \"717\", \"728\"), hight_definition_tv (\"no\", \"yes\"), series_name (\"MTV Music\", \"MTV Live HD\", \"MTV Dance\"), language (\"Italian\", \"English\"), package_option (\"Sky Famiglia\", \"Sky Famiglia\", \"no ( FTV )\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), content (\"music\") | tv_series : viewers_m (\"8.23\", \"6.09\", \"5.75\"), episode (\"A Love of a Lifetime\", \"Blowback\", \"Winterland\"), weekly_rank (62.0, 62.0, 65.0), air_date (\"September 24, 2007\", \"October 29, 2007\", \"October 22, 2007\"), rating (\"3.8\", \"4.0\", \"5.8\"), 18_49_rating_share (\"2.1/5\", \"3.5/9\", \"3.5/9\"), id (2.0, 7.0, 6.0), channel (\"728\", \"700\", \"719\"), share (6.0, 9.0, 9.0) | cartoon : id (4.0, 11.0, 8.0), program_title (\"Journey to the Center of the Bat!\", \"Return of the Fearsome Fangs!\", \"Invasion of the Secret Santas!\"), written_by (\"J. M. DeMatteis\", \"James Krieg\", \"Matt Wayne\"), original_air_date (\"November14,2008\", \"December12,2008\", \"February6,2009\"), channel (\"703\", \"706\", \"707\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (104.0, 101.0, 101.0), cartoon_name (\"Journey to the Center of the Bat!\", \"Return of the Fearsome Fangs!\", \"Invasion of the Secret Santas!\")", "schema_without_content": "tv_channel : pay_per_view_ppv , country , id , hight_definition_tv , series_name , language , package_option \", pixel_aspect_ratio_par , content | tv_series : viewers_m , episode , weekly_rank , air_date , rating , 18_49_rating_share , id , channel , share | cartoon : id , program_title , written_by , original_air_date , channel , directed_by , production_code , cartoon_name", "extra_map": { "cartoon": { "title": [ "cartoon_name", "program_title" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "directed_by", "written_by", "original_air_date", "production_code", "channel", "cartoon_name", "program_title" ] }, "column_linking_gt": { "title of all cartoons": "Cartoon.Title" } }, { "question": "what are the #titles of the cartoons# sorted alphabetically?", "db_id": "tvshow", "orig_query": "select title from cartoon order by title", "schema_with_content": "tv_channel : country (\"Italy\", \"United Kingdom\", \"Poland\"), hight_definition_tv (\"no\", \"yes\"), pay_per_view_ppv (\"no\"), package_option (\"Sky Famiglia + Sky HD\", \"Sky Famiglia\", \"Option\"), language (\"Italian\", \"English\"), series_name (\"myDeejay\", \"myDeejay\", \"myDeejay\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), id (\"700\", \"704\", \"703\"), content (\"music\") | tv_series : share (5.0, 5.0, 9.0), rating (\"4.0\", \"3.7\", \"4.0\"), air_date (\"December 10, 2007\", \"December 10, 2007\", \"October 29, 2007\"), weekly_rank (61.0, 43.0, 68.0), channel (\"707\", \"719\", \"719\"), episode (\"The Legend of Dylan McCleen\", \"The Hanged Man\", \"Blowback\"), id (10.0, 2.0, 12.0), 18_49_rating_share (\"3.5/9\", \"2.4/6\", \"2.4/6\"), viewers_m (\"6.09\", \"5.61\", \"5.28\") | cartoon : directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), original_air_date (\"February20,2009\", \"November21,2008\", \"February6,2009\"), channel (\"701\", \"707\", \"706\"), production_code (101.0, 107.0, 103.0), cartoon_name (\"Enter the Outsiders!\", \"Journey to the Center of the Bat!\", \"Evil Under the Sea!\"), program_title (\"Enter the Outsiders!\", \"Journey to the Center of the Bat!\", \"Evil Under the Sea!\"), id (7.0, 9.0, 11.0), written_by (\"Michael Jelenic\", \"J. M. DeMatteis\", \"Adam Beechen\")", "schema_without_content": "tv_channel : country , hight_definition_tv , pay_per_view_ppv , package_option , language , series_name , pixel_aspect_ratio_par , id , content | tv_series : share , rating , air_date , weekly_rank , channel , episode , id , 18_49_rating_share , viewers_m | cartoon : directed_by , original_air_date , channel , production_code , cartoon_name , program_title , id , written_by", "extra_map": { "cartoon": { "title": [ "cartoon_name", "program_title" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "directed_by", "written_by", "original_air_date", "production_code", "channel", "cartoon_name", "program_title" ] }, "column_linking_gt": { "titles of the cartoons": "Cartoon.Title" } }, { "question": "list all #cartoon directed by# \"ben jones\".", "db_id": "tvshow", "orig_query": "select title from cartoon where directed_by = \"Ben Jones\"", "schema_with_content": "tv_channel : language (\"Italian\", \"English\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), hight_definition_tv (\"no\", \"yes\"), id (\"717\", \"700\", \"703\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), series_name (\"MTV Hits\", \"myDeejay\", \"Match Music\"), package_option (\"Sky Famiglia\", \"Option\", \"Option\"), content (\"music\"), pay_per_view_ppv (\"no\") | tv_series : rating (\"3.5\", \"3.4\", \"3.4\"), viewers_m (\"6.75\", \"6.06\", \"5.75\"), weekly_rank (66.0, 72.0, 70.0), share (7.0, 5.0, 6.0), channel (\"717\", \"719\", \"708\"), air_date (\"October 15, 2007\", \"December 17, 2007\", \"November 19, 2007\"), 18_49_rating_share (\"1.7/5\", \"3.5/9\", \"2.4/6\"), episode (\"Game Three\", \"Home By Another Way\", \"Blowback\"), id (1.0, 8.0, 8.0) | cartoon : channel (\"700\", \"703\", \"704\"), original_air_date (\"December12,2008\", \"February20,2009\", \"January30,2009\"), written_by (\"J. M. DeMatteis\", \"Steven Melching\", \"Joseph Kuhr\"), program_title (\"Evil Under the Sea!\", \"Return of the Fearsome Fangs!\", \"Enter the Outsiders!\"), production_code (111.0, 102.0, 112.0), cartoon_name (\"Evil Under the Sea!\", \"Return of the Fearsome Fangs!\", \"Enter the Outsiders!\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (3.0, 5.0, 12.0)", "schema_without_content": "tv_channel : language , country , hight_definition_tv , id , pixel_aspect_ratio_par , series_name , package_option , content , pay_per_view_ppv | tv_series : rating , viewers_m , weekly_rank , share , channel , air_date , 18_49_rating_share , episode , id | cartoon : channel , original_air_date , written_by , program_title , production_code , cartoon_name , directed_by , id", "extra_map": { "cartoon": { "title": [ "cartoon_name", "program_title" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "directed_by", "written_by", "original_air_date", "production_code", "channel", "cartoon_name", "program_title" ] }, "column_linking_gt": { "cartoon directed by": "Cartoon.Directed_by", "title": "Cartoon.Title" } }, { "question": "what are the #names of all cartoons directed by# ben jones?", "db_id": "tvshow", "orig_query": "select title from cartoon where directed_by = \"Ben Jones\"", "schema_with_content": "tv_channel : hight_definition_tv (\"no\", \"yes\"), id (\"714\", \"705\", \"719\"), series_name (\"Sky Music\", \"Music Box Italia\", \"Sky Music\"), content (\"music\"), language (\"Italian\", \"English\"), pay_per_view_ppv (\"no\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), package_option (\"no ( FTV )\", \"Sky Famiglia\", \"Sky Famiglia\") | tv_series : weekly_rank (70.0, 67.0, 66.0), 18_49_rating_share (\"2.4/6\", \"2.7/7\", \"2.1/5\"), rating (\"5.3\", \"4.3\", \"4.0\"), share (7.0, 5.0, 6.0), air_date (\"September 24, 2007\", \"October 1, 2007\", \"December 17, 2007\"), viewers_m (\"6.05\", \"4.24\", \"5.61\"), channel (\"717\", \"700\", \"700\"), episode (\"Home By Another Way\", \"Keepers\", \"The Year of the Rabbit\"), id (9.0, 2.0, 5.0) | cartoon : id (3.0, 3.0, 7.0), program_title (\"The Rise of the Blue Beetle!\", \"The Eyes of Despero!\", \"Terror on Dinosaur Island!\"), cartoon_name (\"The Rise of the Blue Beetle!\", \"The Eyes of Despero!\", \"Terror on Dinosaur Island!\"), channel (\"704\", \"700\", \"707\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), written_by (\"Matt Wayne\", \"Joseph Kuhr\", \"Matt Wayne\"), original_air_date (\"December5,2008\", \"December12,2008\", \"December12,2008\"), production_code (103.0, 106.0, 109.0)", "schema_without_content": "tv_channel : hight_definition_tv , id , series_name , content , language , pay_per_view_ppv , pixel_aspect_ratio_par , country , package_option \", \"Sky Famiglia\", \"Sky Famiglia\" | tv_series : weekly_rank , 18_49_rating_share , rating , share , air_date , viewers_m , channel , episode , id | cartoon : id , program_title , cartoon_name , channel , directed_by , written_by , original_air_date , production_code", "extra_map": { "cartoon": { "title": [ "cartoon_name", "program_title" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "directed_by", "written_by", "original_air_date", "production_code", "channel", "cartoon_name", "program_title" ] }, "column_linking_gt": { "names of all cartoons directed by": "Cartoon.Title" } }, { "question": "list all #cartoon titles# and their #directors# ordered by their air date", "db_id": "tvshow", "orig_query": "select title, directed_by from cartoon order by original_air_date", "schema_with_content": "tv_channel : id (\"704\", \"703\", \"700\"), package_option (\"Sky Famiglia\", \"no ( FTV )\", \"Sky Famiglia + Sky HD\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), hight_definition_tv (\"no\", \"yes\"), pay_per_view_ppv (\"no\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), series_name (\"MTV Live HD\", \"Radio Capital TiV\u00c3\u00b9\", \"Hip Hop TV\"), language (\"Italian\", \"English\"), content (\"music\") | tv_series : id (11.0, 3.0, 4.0), 18_49_rating_share (\"3.2/8\", \"2.1/5\", \"2.4/6\"), air_date (\"October 22, 2007\", \"November 19, 2007\", \"December 17, 2007\"), weekly_rank (80.0, 50.0, 62.0), rating (\"3.4\", \"4.3\", \"3.5\"), share (7.0, 5.0, 9.0), episode (\"The Year of the Rabbit\", \"Double Down\", \"The Hanged Man\"), viewers_m (\"8.23\", \"5.28\", \"8.23\"), channel (\"707\", \"714\", \"701\") | cartoon : title (\"Journey to the Center of the Bat!\", \"Enter the Outsiders!\", \"Deep Cover for Batman!\"), production_code (105.0, 102.0, 106.0), written_by (\"J. M. DeMatteis\", \"James Krieg\", \"James Krieg\"), filmmaker (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (1.0, 5.0, 10.0), original_air_date (\"November21,2008\", \"February6,2009\", \"January2,2009\"), channel (\"700\", \"700\", \"700\"), director_name (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\")", "schema_without_content": "tv_channel : id , package_option \", \"Sky Famiglia + Sky HD\", pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv , country , series_name , language , content | tv_series : id , 18_49_rating_share , air_date , weekly_rank , rating , share , episode , viewers_m , channel | cartoon : title , production_code , written_by , filmmaker , id , original_air_date , channel , director_name", "extra_map": { "cartoon": { "directed_by": [ "director_name", "filmmaker" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "written_by", "original_air_date", "production_code", "channel", "director_name", "filmmaker" ] }, "column_linking_gt": { "cartoon titles": "Cartoon.Title", "directors": "Cartoon.Directed_by", "air date": "Cartoon.Original_air_date" } }, { "question": "list all #cartoon titles# and their #directors# ordered by their air date", "db_id": "tvshow", "orig_query": "select title, directed_by from cartoon order by original_air_date", "schema_with_content": "tv_channel : id (\"701\", \"701\", \"719\"), hight_definition_tv (\"no\", \"yes\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), language (\"Italian\", \"English\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), content (\"music\"), pay_per_view_ppv (\"no\"), package_option (\"Option\", \"Sky Famiglia + Sky HD\", \"Option\"), series_name (\"Radio Capital TiV\u00c3\u00b9\", \"Hip Hop TV\", \"Hip Hop TV\") | tv_series : weekly_rank (66.0, 43.0, 70.0), id (4.0, 9.0, 9.0), 18_49_rating_share (\"2.9/7\", \"2.7/7\", \"3.5/9\"), rating (\"3.8\", \"4.4\", \"3.4\"), viewers_m (\"4.24\", \"9.16\", \"5.61\"), episode (\"Keepers\", \"A Love of a Lifetime\", \"Double Down\"), channel (\"708\", \"728\", \"728\"), share (5.0, 6.0, 6.0), air_date (\"November 19, 2007\", \"October 15, 2007\", \"December 17, 2007\") | cartoon : directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), channel (\"704\", \"728\", \"708\"), production_code (106.0, 110.0, 101.0), id (11.0, 1.0, 2.0), cartoon_name (\"Deep Cover for Batman!\", \"Deep Cover for Batman!\", \"Deep Cover for Batman!\"), original_air_date (\"January2,2009\", \"November21,2008\", \"January2,2009\"), program_title (\"Deep Cover for Batman!\", \"Deep Cover for Batman!\", \"Deep Cover for Batman!\"), written_by (\"James Krieg\", \"Matt Wayne\", \"Todd Casey\")", "schema_without_content": "tv_channel : id , hight_definition_tv , country , language , pixel_aspect_ratio_par , content , pay_per_view_ppv , package_option , series_name | tv_series : weekly_rank , id , 18_49_rating_share , rating , viewers_m , episode , channel , share , air_date | cartoon : directed_by , channel , production_code , id , cartoon_name , original_air_date , program_title , written_by", "extra_map": { "cartoon": { "title": [ "cartoon_name", "program_title" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "directed_by", "written_by", "original_air_date", "production_code", "channel", "cartoon_name", "program_title" ] }, "column_linking_gt": { "cartoon titles": "Cartoon.Title", "directors": "Cartoon.Directed_by", "air date": "Cartoon.Original_air_date" } }, { "question": "what is the #name# and #directors of all the cartoons# that are ordered by #air date# ?", "db_id": "tvshow", "orig_query": "select title, directed_by from cartoon order by original_air_date", "schema_with_content": "tv_channel : pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), language (\"Italian\", \"English\"), hight_definition_tv (\"no\", \"yes\"), pay_per_view_ppv (\"no\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), package_option (\"no ( FTV )\", \"Option\", \"no ( FTV )\"), id (\"701\", \"728\", \"705\"), content (\"music\"), series_name (\"MTV Rocks\", \"myDeejay\", \"MTV Hits\") | tv_series : channel (\"714\", \"728\", \"700\"), episode (\"Blowback\", \"Emily\", \"The Year of the Rabbit\"), weekly_rank (80.0, 66.0, 68.0), share (5.0, 5.0, 7.0), rating (\"5.3\", \"4.4\", \"4.3\"), 18_49_rating_share (\"2.9/7\", \"2.1/5\", \"3.5/9\"), air_date (\"November 12, 2007\", \"October 15, 2007\", \"September 24, 2007\"), id (10.0, 5.0, 12.0), viewers_m (\"6.94\", \"6.94\", \"5.13\") | cartoon : production_code (101.0, 108.0, 108.0), filmmaker (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), original_air_date (\"February27,2009\", \"November21,2008\", \"December5,2008\"), title (\"Terror on Dinosaur Island!\", \"Evil Under the Sea!\", \"Invasion of the Secret Santas!\"), director_name (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (4.0, 5.0, 7.0), channel (\"707\", \"706\", \"701\"), written_by (\"Steven Melching\", \"Todd Casey\", \"Joseph Kuhr\")", "schema_without_content": "tv_channel : pixel_aspect_ratio_par , language , hight_definition_tv , pay_per_view_ppv , country , package_option \", \"Option\", \"no \", id , content , series_name | tv_series : channel , episode , weekly_rank , share , rating , 18_49_rating_share , air_date , id , viewers_m | cartoon : production_code , filmmaker , original_air_date , title , director_name , id , channel , written_by", "extra_map": { "cartoon": { "directed_by": [ "director_name", "filmmaker" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "written_by", "original_air_date", "production_code", "channel", "director_name", "filmmaker" ] }, "column_linking_gt": { "name": "Cartoon.Title", "directors of all the cartoons": "Cartoon.Directed_by", "air date": "Cartoon.Original_air_date" } }, { "question": "what is the #name# and #directors of all the cartoons# that are ordered by #air date# ?", "db_id": "tvshow", "orig_query": "select title, directed_by from cartoon order by original_air_date", "schema_with_content": "tv_channel : content (\"music\"), series_name (\"Rock TV\", \"Rock TV\", \"MTV Rocks\"), package_option (\"Option\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), hight_definition_tv (\"no\", \"yes\"), id (\"728\", \"707\", \"708\"), language (\"Italian\", \"English\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), pay_per_view_ppv (\"no\") | tv_series : share (7.0, 9.0, 9.0), weekly_rank (62.0, 66.0, 68.0), viewers_m (\"6.94\", \"4.24\", \"4.24\"), episode (\"The Hanged Man\", \"Emily\", \"Keepers\"), air_date (\"December 10, 2007\", \"October 29, 2007\", \"December 10, 2007\"), id (12.0, 2.0, 5.0), 18_49_rating_share (\"3.5/9\", \"2.4/6\", \"2.4/6\"), rating (\"5.3\", \"3.8\", \"5.8\"), channel (\"717\", \"708\", \"701\") | cartoon : directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), program_title (\"Deep Cover for Batman!\", \"Return of the Fearsome Fangs!\", \"Day of the Dark Knight!\"), cartoon_name (\"Deep Cover for Batman!\", \"Return of the Fearsome Fangs!\", \"Day of the Dark Knight!\"), id (8.0, 8.0, 4.0), original_air_date (\"January2,2009\", \"November14,2008\", \"January16,2009\"), production_code (107.0, 104.0, 108.0), written_by (\"James Krieg\", \"Michael Jelenic\", \"Todd Casey\"), channel (\"705\", \"703\", \"705\")", "schema_without_content": "tv_channel : content , series_name , package_option , pixel_aspect_ratio_par , hight_definition_tv , id , language , country , pay_per_view_ppv | tv_series : share , weekly_rank , viewers_m , episode , air_date , id , 18_49_rating_share , rating , channel | cartoon : directed_by , program_title , cartoon_name , id , original_air_date , production_code , written_by , channel", "extra_map": { "cartoon": { "title": [ "cartoon_name", "program_title" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "directed_by", "written_by", "original_air_date", "production_code", "channel", "cartoon_name", "program_title" ] }, "column_linking_gt": { "name": "Cartoon.Title", "directors of all the cartoons": "Cartoon.Directed_by", "air date": "Cartoon.Original_air_date" } }, { "question": "list the #title of all cartoon directed by# \"ben jones\" or \"brandon vietti\".", "db_id": "tvshow", "orig_query": "select title from cartoon where directed_by = \"Ben Jones\" or directed_by = \"Brandon Vietti\"", "schema_with_content": "tv_channel : pay_per_view_ppv (\"no\"), series_name (\"myDeejay\", \"Rock TV\", \"MTV Hits\"), hight_definition_tv (\"no\", \"yes\"), content (\"music\"), package_option (\"Sky Famiglia + Sky HD\", \"no ( FTV )\", \"Option\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), id (\"704\", \"704\", \"714\"), language (\"Italian\", \"English\") | tv_series : id (12.0, 12.0, 6.0), weekly_rank (71.0, 70.0, 67.0), episode (\"A Love of a Lifetime\", \"Winterland\", \"A Love of a Lifetime\"), share (7.0, 9.0, 6.0), air_date (\"October 29, 2007\", \"November 26, 2007\", \"November 19, 2007\"), rating (\"4.3\", \"3.4\", \"4.0\"), 18_49_rating_share (\"1.7/5\", \"1.5/4\", \"1.5/4\"), channel (\"714\", \"713\", \"707\"), viewers_m (\"5.61\", \"5.61\", \"8.23\") | cartoon : cartoon_name (\"The Eyes of Despero!\", \"Enter the Outsiders!\", \"Deep Cover for Batman!\"), original_air_date (\"February27,2009\", \"January2,2009\", \"February20,2009\"), program_title (\"The Eyes of Despero!\", \"Enter the Outsiders!\", \"Deep Cover for Batman!\"), channel (\"701\", \"700\", \"706\"), production_code (108.0, 101.0, 104.0), id (8.0, 6.0, 3.0), written_by (\"Michael Jelenic\", \"Steven Melching\", \"Steven Melching\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\")", "schema_without_content": "tv_channel : pay_per_view_ppv , series_name , hight_definition_tv , content , package_option \", \"Option\", pixel_aspect_ratio_par , country , id , language | tv_series : id , weekly_rank , episode , share , air_date , rating , 18_49_rating_share , channel , viewers_m | cartoon : cartoon_name , original_air_date , program_title , channel , production_code , id , written_by , directed_by", "extra_map": { "cartoon": { "title": [ "cartoon_name", "program_title" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "directed_by", "written_by", "original_air_date", "production_code", "channel", "cartoon_name", "program_title" ] }, "column_linking_gt": { "title of all cartoon directed by": "Cartoon.Title" } }, { "question": "what are the #titles of all cartoons directed by# ben jones or brandon vietti?", "db_id": "tvshow", "orig_query": "select title from cartoon where directed_by = \"Ben Jones\" or directed_by = \"Brandon Vietti\"", "schema_with_content": "tv_channel : pay_per_view_ppv (\"no\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), id (\"714\", \"705\", \"728\"), content (\"music\"), language (\"Italian\", \"English\"), series_name (\"Music Box Italia\", \"Classica\", \"Music Box Italia\"), package_option (\"Option\", \"Option\", \"Sky Famiglia + Sky HD\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), hight_definition_tv (\"no\", \"yes\") | tv_series : share (6.0, 9.0, 6.0), channel (\"713\", \"707\", \"707\"), air_date (\"November 5, 2007\", \"September 24, 2007\", \"November 26, 2007\"), rating (\"4.3\", \"4.0\", \"3.4\"), viewers_m (\"5.61\", \"5.75\", \"6.94\"), 18_49_rating_share (\"1.5/4\", \"2.1/5\", \"3.5/9\"), id (1.0, 8.0, 7.0), weekly_rank (43.0, 61.0, 70.0), episode (\"A Love of a Lifetime\", \"Game Three\", \"A Love of a Lifetime\") | cartoon : id (11.0, 9.0, 12.0), cartoon_name (\"The Eyes of Despero!\", \"Dawn of the Dead Man!\", \"Day of the Dark Knight!\"), channel (\"705\", \"728\", \"706\"), production_code (104.0, 105.0, 107.0), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), program_title (\"The Eyes of Despero!\", \"Dawn of the Dead Man!\", \"Day of the Dark Knight!\"), original_air_date (\"December5,2008\", \"December12,2008\", \"November14,2008\"), written_by (\"Michael Jelenic\", \"Matt Wayne\", \"J. M. DeMatteis\")", "schema_without_content": "tv_channel : pay_per_view_ppv , country , id , content , language , series_name , package_option , pixel_aspect_ratio_par , hight_definition_tv | tv_series : share , channel , air_date , rating , viewers_m , 18_49_rating_share , id , weekly_rank , episode | cartoon : id , cartoon_name , channel , production_code , directed_by , program_title , original_air_date , written_by", "extra_map": { "cartoon": { "title": [ "cartoon_name", "program_title" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "directed_by", "written_by", "original_air_date", "production_code", "channel", "cartoon_name", "program_title" ] }, "column_linking_gt": { "titles of all cartoons directed by": "Cartoon.Title" } }, { "question": "which #country# has the most of tv channels? list the country and #number of tv channels# it has.", "db_id": "tvshow", "orig_query": "select country, count(*) from tv_channel group by country order by count(*) desc limit 1", "schema_with_content": "tv_channel : territory (\"Italy\", \"United Kingdom\", \"Poland\"), language (\"Italian\", \"English\"), content (\"music\"), package_option (\"Option\", \"Sky Famiglia\", \"Sky Famiglia\"), series_name (\"MTV Dance\", \"Sky Radio\", \"Hip Hop TV\"), pay_per_view_ppv (\"no\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), id (\"704\", \"709\", \"706\"), nation (\"Italy\", \"United Kingdom\", \"Poland\"), hight_definition_tv (\"no\", \"yes\") | tv_series : share (7.0, 5.0, 5.0), weekly_rank (62.0, 67.0, 50.0), episode (\"Winterland\", \"Game Three\", \"The Hanged Man\"), channel (\"728\", \"714\", \"719\"), rating (\"3.4\", \"4.0\", \"3.0\"), air_date (\"October 29, 2007\", \"October 22, 2007\", \"October 8, 2007\"), 18_49_rating_share (\"1.5/4\", \"2.4/6\", \"3.2/8\"), viewers_m (\"9.16\", \"6.06\", \"5.28\"), id (8.0, 11.0, 1.0) | cartoon : written_by (\"Matt Wayne\", \"James Krieg\", \"Adam Beechen\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (111.0, 103.0, 104.0), title (\"Dawn of the Dead Man!\", \"Dawn of the Dead Man!\", \"Invasion of the Secret Santas!\"), original_air_date (\"February27,2009\", \"December5,2008\", \"February27,2009\"), channel (\"701\", \"708\", \"708\"), id (6.0, 1.0, 4.0)", "schema_without_content": "tv_channel : territory , language , content , package_option , series_name , pay_per_view_ppv , pixel_aspect_ratio_par , id , nation , hight_definition_tv | tv_series : share , weekly_rank , episode , channel , rating , air_date , 18_49_rating_share , viewers_m , id | cartoon : written_by , directed_by , production_code , title , original_air_date , channel , id", "extra_map": { "tv_channel": { "country": [ "nation", "territory" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "nation", "territory" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "country": "TV_Channel.Country", "number of TV Channels": "TV_Channel" } }, { "question": "what is the #country# with the most number of #tv channels# and how many does it have?", "db_id": "tvshow", "orig_query": "select country, count(*) from tv_channel group by country order by count(*) desc limit 1", "schema_with_content": "tv_channel : territory (\"Italy\", \"United Kingdom\", \"Poland\"), language (\"Italian\", \"English\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), id (\"714\", \"700\", \"709\"), nation (\"Italy\", \"United Kingdom\", \"Poland\"), pay_per_view_ppv (\"no\"), hight_definition_tv (\"no\", \"yes\"), package_option (\"Option\", \"Sky Famiglia\", \"Sky Famiglia + Sky HD\"), series_name (\"myDeejay\", \"MTV Live HD\", \"Rock TV\"), content (\"music\") | tv_series : id (2.0, 3.0, 9.0), 18_49_rating_share (\"2.7/7\", \"2.1/5\", \"1.5/4\"), viewers_m (\"5.75\", \"6.75\", \"4.24\"), weekly_rank (70.0, 66.0, 61.0), episode (\"Blowback\", \"The Legend of Dylan McCleen\", \"Friendly Skies\"), rating (\"3.7\", \"3.4\", \"3.5\"), channel (\"707\", \"701\", \"713\"), share (6.0, 6.0, 5.0), air_date (\"October 29, 2007\", \"December 10, 2007\", \"October 22, 2007\") | cartoon : channel (\"705\", \"707\", \"706\"), title (\"Dawn of the Dead Man!\", \"Fall of the Blue Beetle!\", \"The Eyes of Despero!\"), production_code (111.0, 108.0, 104.0), written_by (\"Adam Beechen\", \"Steven Melching\", \"James Krieg\"), id (3.0, 9.0, 1.0), original_air_date (\"November21,2008\", \"January2,2009\", \"December12,2008\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\")", "schema_without_content": "tv_channel : territory , language , pixel_aspect_ratio_par , id , nation , pay_per_view_ppv , hight_definition_tv , package_option , series_name , content | tv_series : id , 18_49_rating_share , viewers_m , weekly_rank , episode , rating , channel , share , air_date | cartoon : channel , title , production_code , written_by , id , original_air_date , directed_by", "extra_map": { "tv_channel": { "country": [ "nation", "territory" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "nation", "territory" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "country": "TV_Channel.Country", "TV Channels": "TV_Channel" } }, { "question": "list the number of different #series names# and #contents in the tv channel table# .", "db_id": "tvshow", "orig_query": "select count(distinct series_name), count(distinct content) from tv_channel", "schema_with_content": "tv_channel : country (\"Italy\", \"United Kingdom\", \"Poland\"), id (\"700\", \"708\", \"701\"), program_name (\"MTV Live HD\", \"Music Box Italia\", \"MTV Dance\"), pay_per_view_ppv (\"no\"), hight_definition_tv (\"no\", \"yes\"), package_option (\"Sky Famiglia\", \"Option\", \"Sky Famiglia\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), content (\"music\"), language (\"Italian\", \"English\"), show_name (\"MTV Live HD\", \"Music Box Italia\", \"MTV Dance\") | tv_series : 18_49_rating_share (\"2.7/7\", \"1.7/5\", \"2.4/6\"), viewers_m (\"6.05\", \"5.13\", \"6.06\"), air_date (\"September 24, 2007\", \"November 19, 2007\", \"September 24, 2007\"), episode (\"Keepers\", \"Blowback\", \"Winterland\"), rating (\"4.3\", \"3.7\", \"4.0\"), id (12.0, 6.0, 3.0), share (9.0, 9.0, 6.0), channel (\"728\", \"717\", \"719\"), weekly_rank (72.0, 65.0, 43.0) | cartoon : directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), title (\"The Rise of the Blue Beetle!\", \"The Rise of the Blue Beetle!\", \"Evil Under the Sea!\"), channel (\"707\", \"703\", \"705\"), id (9.0, 8.0, 6.0), original_air_date (\"January9,2009\", \"January23,2009\", \"December12,2008\"), written_by (\"Matt Wayne\", \"Michael Jelenic\", \"Adam Beechen\"), production_code (110.0, 102.0, 107.0)", "schema_without_content": "tv_channel : country , id , program_name , pay_per_view_ppv , hight_definition_tv , package_option , pixel_aspect_ratio_par , content , language , show_name | tv_series : 18_49_rating_share , viewers_m , air_date , episode , rating , id , share , channel , weekly_rank | cartoon : directed_by , title , channel , id , original_air_date , written_by , production_code", "extra_map": { "tv_channel": { "series_name": [ "show_name", "program_name" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "show_name", "program_name" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "series names": "TV_Channel.series_name", "contents in the TV Channel table": "TV_Channel.Content" } }, { "question": "list the number of different #series names# and #contents in the tv channel table# .", "db_id": "tvshow", "orig_query": "select count(distinct series_name), count(distinct content) from tv_channel", "schema_with_content": "tv_channel : pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), hight_definition_tv (\"no\", \"yes\"), broadcast (\"music\"), id (\"700\", \"705\", \"714\"), package_option (\"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\", \"Option\"), series_name (\"Radio Capital TiV\u00c3\u00b9\", \"Rock TV\", \"Match Music\"), pay_per_view_ppv (\"no\"), transmission (\"music\"), language (\"Italian\", \"English\") | tv_series : episode (\"A Love of a Lifetime\", \"The Year of the Rabbit\", \"Game Three\"), channel (\"707\", \"701\", \"707\"), air_date (\"November 19, 2007\", \"September 24, 2007\", \"November 12, 2007\"), rating (\"5.8\", \"3.5\", \"4.4\"), 18_49_rating_share (\"2.9/7\", \"2.9/7\", \"2.2/6\"), weekly_rank (80.0, 66.0, 43.0), id (8.0, 12.0, 3.0), viewers_m (\"4.24\", \"6.09\", \"5.61\"), share (6.0, 6.0, 9.0) | cartoon : production_code (103.0, 109.0, 105.0), original_air_date (\"February6,2009\", \"December5,2008\", \"December5,2008\"), written_by (\"James Krieg\", \"Steven Melching\", \"Adam Beechen\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), title (\"Journey to the Center of the Bat!\", \"Journey to the Center of the Bat!\", \"The Rise of the Blue Beetle!\"), id (2.0, 4.0, 8.0), channel (\"707\", \"705\", \"700\")", "schema_without_content": "tv_channel : pixel_aspect_ratio_par , country , hight_definition_tv , broadcast , id , package_option , series_name , pay_per_view_ppv , transmission , language | tv_series : episode , channel , air_date , rating , 18_49_rating_share , weekly_rank , id , viewers_m , share | cartoon : production_code , original_air_date , written_by , directed_by , title , id , channel", "extra_map": { "tv_channel": { "content": [ "broadcast", "transmission" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "broadcast", "transmission" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "series names": "TV_Channel.series_name", "contents in the TV Channel table": "TV_Channel.Content" } }, { "question": "how many different #series# and #contents# are listed in the #tv channel table# ?", "db_id": "tvshow", "orig_query": "select count(distinct series_name), count(distinct content) from tv_channel", "schema_with_content": "tv_channel : content (\"music\"), show_name (\"Music Box Italia\", \"myDeejay\", \"Hip Hop TV\"), package_option (\"no ( FTV )\", \"Sky Famiglia\", \"Option\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), id (\"709\", \"717\", \"704\"), hight_definition_tv (\"no\", \"yes\"), language (\"Italian\", \"English\"), program_name (\"Music Box Italia\", \"myDeejay\", \"Hip Hop TV\"), pay_per_view_ppv (\"no\") | tv_series : share (9.0, 5.0, 5.0), rating (\"3.4\", \"3.8\", \"5.8\"), 18_49_rating_share (\"2.4/6\", \"3.2/8\", \"2.9/7\"), id (3.0, 12.0, 10.0), air_date (\"October 22, 2007\", \"October 8, 2007\", \"November 5, 2007\"), weekly_rank (66.0, 67.0, 70.0), viewers_m (\"6.09\", \"5.13\", \"5.28\"), episode (\"The Legend of Dylan McCleen\", \"A Love of a Lifetime\", \"The Legend of Dylan McCleen\"), channel (\"719\", \"708\", \"728\") | cartoon : written_by (\"Adam Beechen\", \"Michael Jelenic\", \"J. M. DeMatteis\"), channel (\"707\", \"704\", \"705\"), original_air_date (\"January2,2009\", \"January16,2009\", \"February20,2009\"), production_code (101.0, 108.0, 103.0), title (\"Dawn of the Dead Man!\", \"Enter the Outsiders!\", \"Fall of the Blue Beetle!\"), id (6.0, 2.0, 8.0), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\")", "schema_without_content": "tv_channel : content , show_name , package_option \", \"Sky Famiglia\", \"Option\", pixel_aspect_ratio_par , country , id , hight_definition_tv , language , program_name , pay_per_view_ppv | tv_series : share , rating , 18_49_rating_share , id , air_date , weekly_rank , viewers_m , episode , channel | cartoon : written_by , channel , original_air_date , production_code , title , id , directed_by", "extra_map": { "tv_channel": { "series_name": [ "show_name", "program_name" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "show_name", "program_name" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "series": "TV_Channel.series_name", "contents": "TV_Channel.Content", "TV Channel table": "TV_Channel" } }, { "question": "how many different #series# and #contents# are listed in the #tv channel table# ?", "db_id": "tvshow", "orig_query": "select count(distinct series_name), count(distinct content) from tv_channel", "schema_with_content": "tv_channel : id (\"707\", \"714\", \"708\"), broadcast (\"music\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), language (\"Italian\", \"English\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), package_option (\"Sky Famiglia + Sky HD\", \"Option\", \"no ( FTV )\"), hight_definition_tv (\"no\", \"yes\"), pay_per_view_ppv (\"no\"), series_name (\"MTV Dance\", \"Rock TV\", \"Rock TV\"), transmission (\"music\") | tv_series : air_date (\"November 19, 2007\", \"December 10, 2007\", \"November 19, 2007\"), rating (\"5.3\", \"4.4\", \"3.0\"), viewers_m (\"6.05\", \"6.75\", \"6.09\"), episode (\"The Legend of Dylan McCleen\", \"A Love of a Lifetime\", \"A Love of a Lifetime\"), id (1.0, 11.0, 6.0), channel (\"701\", \"714\", \"714\"), share (9.0, 9.0, 6.0), weekly_rank (43.0, 43.0, 65.0), 18_49_rating_share (\"2.7/7\", \"2.9/7\", \"3.2/8\") | cartoon : written_by (\"J. M. DeMatteis\", \"Joseph Kuhr\", \"Todd Casey\"), channel (\"703\", \"708\", \"707\"), original_air_date (\"January23,2009\", \"January9,2009\", \"February6,2009\"), id (12.0, 5.0, 11.0), title (\"Invasion of the Secret Santas!\", \"Evil Under the Sea!\", \"The Eyes of Despero!\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (102.0, 108.0, 112.0)", "schema_without_content": "tv_channel : id , broadcast , country , language , pixel_aspect_ratio_par , package_option \", hight_definition_tv , pay_per_view_ppv , series_name , transmission | tv_series : air_date , rating , viewers_m , episode , id , channel , share , weekly_rank , 18_49_rating_share | cartoon : written_by , channel , original_air_date , id , title , directed_by , production_code", "extra_map": { "tv_channel": { "content": [ "broadcast", "transmission" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "broadcast", "transmission" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "series": "TV_Channel.series_name", "contents": "TV_Channel.Content", "TV Channel table": "TV_Channel" } }, { "question": "what is the #content of tv channel with serial name# \"sky radio\"?", "db_id": "tvshow", "orig_query": "select content from tv_channel where series_name = \"Sky Radio\"", "schema_with_content": "tv_channel : country (\"Italy\", \"United Kingdom\", \"Poland\"), transmission (\"music\"), hight_definition_tv (\"no\", \"yes\"), id (\"707\", \"715\", \"705\"), language (\"Italian\", \"English\"), package_option (\"Option\", \"Sky Famiglia\", \"Option\"), broadcast (\"music\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), series_name (\"MTV Classic\", \"Rock TV\", \"MTV Rocks\"), pay_per_view_ppv (\"no\") | tv_series : viewers_m (\"6.94\", \"6.94\", \"6.75\"), 18_49_rating_share (\"2.2/6\", \"2.1/5\", \"2.2/6\"), episode (\"Game Three\", \"A Love of a Lifetime\", \"Game Three\"), rating (\"4.3\", \"3.5\", \"4.3\"), share (7.0, 5.0, 7.0), id (12.0, 6.0, 12.0), channel (\"701\", \"714\", \"708\"), air_date (\"October 1, 2007\", \"October 1, 2007\", \"November 26, 2007\"), weekly_rank (43.0, 72.0, 80.0) | cartoon : written_by (\"J. M. DeMatteis\", \"Michael Jelenic\", \"Joseph Kuhr\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (106.0, 107.0, 110.0), title (\"Deep Cover for Batman!\", \"Day of the Dark Knight!\", \"Fall of the Blue Beetle!\"), id (10.0, 2.0, 3.0), channel (\"700\", \"700\", \"707\"), original_air_date (\"February20,2009\", \"January23,2009\", \"February6,2009\")", "schema_without_content": "tv_channel : country , transmission , hight_definition_tv , id , language , package_option , broadcast , pixel_aspect_ratio_par , series_name , pay_per_view_ppv | tv_series : viewers_m , 18_49_rating_share , episode , rating , share , id , channel , air_date , weekly_rank | cartoon : written_by , directed_by , production_code , title , id , channel , original_air_date", "extra_map": { "tv_channel": { "content": [ "broadcast", "transmission" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "broadcast", "transmission" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "content of TV Channel with serial name": "TV_Channel.Content" } }, { "question": "what is the #content of the series# sky radio?", "db_id": "tvshow", "orig_query": "select content from tv_channel where series_name = \"Sky Radio\"", "schema_with_content": "tv_channel : hight_definition_tv (\"no\", \"yes\"), transmission (\"music\"), package_option (\"Sky Famiglia\", \"Option\", \"Option\"), series_name (\"MTV Music\", \"MTV Classic\", \"Radio Capital TiV\u00c3\u00b9\"), id (\"719\", \"715\", \"706\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), language (\"Italian\", \"English\"), broadcast (\"music\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), pay_per_view_ppv (\"no\") | tv_series : air_date (\"November 19, 2007\", \"September 24, 2007\", \"September 24, 2007\"), share (9.0, 9.0, 6.0), 18_49_rating_share (\"2.4/6\", \"2.2/6\", \"2.1/5\"), rating (\"3.7\", \"3.8\", \"3.0\"), channel (\"708\", \"701\", \"717\"), viewers_m (\"6.05\", \"6.05\", \"6.05\"), id (7.0, 6.0, 2.0), weekly_rank (43.0, 71.0, 68.0), episode (\"Keepers\", \"Game Three\", \"Blowback\") | cartoon : directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (10.0, 9.0, 7.0), title (\"Terror on Dinosaur Island!\", \"Return of the Fearsome Fangs!\", \"Evil Under the Sea!\"), original_air_date (\"December5,2008\", \"February20,2009\", \"January9,2009\"), production_code (105.0, 112.0, 104.0), written_by (\"James Krieg\", \"Joseph Kuhr\", \"Adam Beechen\"), channel (\"701\", \"707\", \"704\")", "schema_without_content": "tv_channel : hight_definition_tv , transmission , package_option , series_name , id , country , language , broadcast , pixel_aspect_ratio_par , pay_per_view_ppv | tv_series : air_date , share , 18_49_rating_share , rating , channel , viewers_m , id , weekly_rank , episode | cartoon : directed_by , id , title , original_air_date , production_code , written_by , channel", "extra_map": { "tv_channel": { "content": [ "broadcast", "transmission" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "broadcast", "transmission" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "content of the series": "TV_Channel.Content" } }, { "question": "what is the #package option of tv channel with serial name# \"sky radio\"?", "db_id": "tvshow", "orig_query": "select package_option from tv_channel where series_name = \"Sky Radio\"", "schema_with_content": "tv_channel : id (\"714\", \"701\", \"714\"), tv_service_option (\"Sky Famiglia\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia\"), pay_per_view_ppv (\"no\"), language (\"Italian\", \"English\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), content (\"music\"), series_name (\"Classica\", \"MTV Dance\", \"MTV Live HD\"), subscription_option (\"Sky Famiglia\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), hight_definition_tv (\"no\", \"yes\") | tv_series : id (4.0, 8.0, 5.0), weekly_rank (80.0, 50.0, 68.0), channel (\"708\", \"728\", \"728\"), air_date (\"October 22, 2007\", \"November 26, 2007\", \"December 10, 2007\"), viewers_m (\"4.24\", \"6.75\", \"5.61\"), rating (\"3.5\", \"3.0\", \"3.4\"), 18_49_rating_share (\"2.1/5\", \"2.7/7\", \"2.7/7\"), episode (\"Winterland\", \"Double Down\", \"The Hanged Man\"), share (5.0, 9.0, 6.0) | cartoon : original_air_date (\"January2,2009\", \"January9,2009\", \"November21,2008\"), channel (\"701\", \"728\", \"704\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (106.0, 110.0, 104.0), id (8.0, 5.0, 9.0), title (\"Invasion of the Secret Santas!\", \"Journey to the Center of the Bat!\", \"Return of the Fearsome Fangs!\"), written_by (\"Steven Melching\", \"Todd Casey\", \"Steven Melching\")", "schema_without_content": "tv_channel : id , tv_service_option , pay_per_view_ppv , language , country , content , series_name , subscription_option , pixel_aspect_ratio_par , hight_definition_tv | tv_series : id , weekly_rank , channel , air_date , viewers_m , rating , 18_49_rating_share , episode , share | cartoon : original_air_date , channel , directed_by , production_code , id , title , written_by", "extra_map": { "tv_channel": { "package_option": [ "subscription_option", "tv_service_option" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "subscription_option", "tv_service_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "Package Option of TV Channel with serial name": "TV_Channel.Package_Option" } }, { "question": "what are the #package options of the tv channels# whose #series names# are sky radio?", "db_id": "tvshow", "orig_query": "select package_option from tv_channel where series_name = \"Sky Radio\"", "schema_with_content": "tv_channel : language (\"Italian\", \"English\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), hight_definition_tv (\"no\", \"yes\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), tv_service_option (\"Option\", \"Sky Famiglia + Sky HD\", \"Option\"), id (\"701\", \"706\", \"701\"), subscription_option (\"Option\", \"Sky Famiglia + Sky HD\", \"Option\"), pay_per_view_ppv (\"no\"), content (\"music\"), series_name (\"MTV Rocks\", \"myDeejay\", \"MTV Dance\") | tv_series : viewers_m (\"5.13\", \"5.28\", \"6.09\"), id (12.0, 6.0, 10.0), rating (\"3.5\", \"4.3\", \"5.8\"), 18_49_rating_share (\"2.7/7\", \"2.1/5\", \"3.5/9\"), episode (\"The Year of the Rabbit\", \"The Hanged Man\", \"Friendly Skies\"), channel (\"728\", \"714\", \"719\"), air_date (\"November 26, 2007\", \"November 5, 2007\", \"November 12, 2007\"), share (5.0, 5.0, 5.0), weekly_rank (43.0, 65.0, 62.0) | cartoon : title (\"Fall of the Blue Beetle!\", \"Day of the Dark Knight!\", \"Evil Under the Sea!\"), written_by (\"Matt Wayne\", \"Adam Beechen\", \"Matt Wayne\"), channel (\"706\", \"700\", \"701\"), production_code (109.0, 104.0, 110.0), id (8.0, 6.0, 2.0), original_air_date (\"November14,2008\", \"November14,2008\", \"January16,2009\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\")", "schema_without_content": "tv_channel : language , country , hight_definition_tv , pixel_aspect_ratio_par , tv_service_option , id , subscription_option , pay_per_view_ppv , content , series_name | tv_series : viewers_m , id , rating , 18_49_rating_share , episode , channel , air_date , share , weekly_rank | cartoon : title , written_by , channel , production_code , id , original_air_date , directed_by", "extra_map": { "tv_channel": { "package_option": [ "subscription_option", "tv_service_option" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "subscription_option", "tv_service_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "Package Options of the TV Channels": "TV_Channel.Package_Option", "series names": "TV_Channel.series_name" } }, { "question": "list the #language# used least #number of tv channel# . list language and number of tv channel.", "db_id": "tvshow", "orig_query": "select language, count(*) from tv_channel group by language order by count(*) asc limit 1", "schema_with_content": "tv_channel : pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), pay_per_view_ppv (\"no\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), tongue (\"Italian\", \"English\"), dialect (\"Italian\", \"English\"), hight_definition_tv (\"no\", \"yes\"), content (\"music\"), package_option (\"no ( FTV )\", \"no ( FTV )\", \"no ( FTV )\"), id (\"700\", \"706\", \"708\"), series_name (\"Music Box Italia\", \"Radio Capital TiV\u00c3\u00b9\", \"Sky Music\") | tv_series : viewers_m (\"4.24\", \"6.75\", \"6.09\"), 18_49_rating_share (\"2.9/7\", \"3.5/9\", \"2.7/7\"), rating (\"3.5\", \"3.0\", \"3.4\"), id (2.0, 7.0, 11.0), episode (\"Game Three\", \"Home By Another Way\", \"Winterland\"), share (9.0, 7.0, 6.0), weekly_rank (71.0, 80.0, 80.0), channel (\"707\", \"701\", \"708\"), air_date (\"November 12, 2007\", \"November 5, 2007\", \"October 15, 2007\") | cartoon : original_air_date (\"January2,2009\", \"January23,2009\", \"January16,2009\"), production_code (106.0, 110.0, 108.0), id (8.0, 5.0, 6.0), title (\"Enter the Outsiders!\", \"Return of the Fearsome Fangs!\", \"Enter the Outsiders!\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), channel (\"708\", \"707\", \"701\"), written_by (\"Steven Melching\", \"J. M. DeMatteis\", \"Steven Melching\")", "schema_without_content": "tv_channel : pixel_aspect_ratio_par , pay_per_view_ppv , country , tongue , dialect , hight_definition_tv , content , package_option \", \"no \", \"no \", id , series_name | tv_series : viewers_m , 18_49_rating_share , rating , id , episode , share , weekly_rank , channel , air_date | cartoon : original_air_date , production_code , id , title , directed_by , channel , written_by", "extra_map": { "tv_channel": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "tongue", "dialect" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "language": "TV_Channel.Language", "number of TV Channel": "TV_Channel" } }, { "question": "what are the #languages# used by the least number of tv #channels# and how many channels use it?", "db_id": "tvshow", "orig_query": "select language, count(*) from tv_channel group by language order by count(*) asc limit 1", "schema_with_content": "tv_channel : id (\"700\", \"719\", \"701\"), package_option (\"Option\", \"no ( FTV )\", \"Sky Famiglia + Sky HD\"), dialect (\"Italian\", \"English\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), content (\"music\"), tongue (\"Italian\", \"English\"), pay_per_view_ppv (\"no\"), hight_definition_tv (\"no\", \"yes\"), series_name (\"MTV Hits\", \"Hip Hop TV\", \"Classica\"), country (\"Italy\", \"United Kingdom\", \"Poland\") | tv_series : air_date (\"September 24, 2007\", \"November 12, 2007\", \"December 10, 2007\"), weekly_rank (50.0, 50.0, 67.0), episode (\"Home By Another Way\", \"Blowback\", \"Home By Another Way\"), share (9.0, 5.0, 9.0), viewers_m (\"6.09\", \"5.13\", \"6.75\"), 18_49_rating_share (\"1.5/4\", \"2.9/7\", \"2.2/6\"), channel (\"717\", \"700\", \"713\"), rating (\"3.8\", \"3.0\", \"5.3\"), id (9.0, 2.0, 1.0) | cartoon : channel (\"705\", \"706\", \"701\"), written_by (\"Todd Casey\", \"James Krieg\", \"Steven Melching\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (8.0, 3.0, 9.0), production_code (110.0, 112.0, 105.0), original_air_date (\"January16,2009\", \"November14,2008\", \"January2,2009\"), title (\"Journey to the Center of the Bat!\", \"The Eyes of Despero!\", \"Fall of the Blue Beetle!\")", "schema_without_content": "tv_channel : id , package_option \", \"Sky Famiglia + Sky HD\", dialect , pixel_aspect_ratio_par , content , tongue , pay_per_view_ppv , hight_definition_tv , series_name , country | tv_series : air_date , weekly_rank , episode , share , viewers_m , 18_49_rating_share , channel , rating , id | cartoon : channel , written_by , directed_by , id , production_code , original_air_date , title", "extra_map": { "tv_channel": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "tongue", "dialect" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "languages": "TV_Channel.Language", "channels": "TV_Channel" } }, { "question": "list each #language# and the #number of tv channels# using it.", "db_id": "tvshow", "orig_query": "select language, count(*) from tv_channel group by language", "schema_with_content": "tv_channel : hight_definition_tv (\"no\", \"yes\"), series_name (\"MTV Music\", \"Hip Hop TV\", \"Sky Music\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), tongue (\"Italian\", \"English\"), content (\"music\"), dialect (\"Italian\", \"English\"), pay_per_view_ppv (\"no\"), id (\"708\", \"707\", \"707\"), package_option (\"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia\") | tv_series : viewers_m (\"8.23\", \"5.13\", \"5.28\"), id (12.0, 12.0, 2.0), 18_49_rating_share (\"2.9/7\", \"2.1/5\", \"3.5/9\"), episode (\"Double Down\", \"Blowback\", \"Blowback\"), weekly_rank (72.0, 72.0, 68.0), rating (\"3.7\", \"4.0\", \"3.5\"), air_date (\"October 1, 2007\", \"October 8, 2007\", \"November 19, 2007\"), share (6.0, 9.0, 6.0), channel (\"719\", \"707\", \"719\") | cartoon : channel (\"728\", \"728\", \"700\"), production_code (106.0, 101.0, 109.0), written_by (\"Steven Melching\", \"Joseph Kuhr\", \"Michael Jelenic\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), original_air_date (\"January23,2009\", \"December5,2008\", \"January9,2009\"), id (9.0, 6.0, 11.0), title (\"Terror on Dinosaur Island!\", \"Day of the Dark Knight!\", \"Terror on Dinosaur Island!\")", "schema_without_content": "tv_channel : hight_definition_tv , series_name , country , pixel_aspect_ratio_par , tongue , content , dialect , pay_per_view_ppv , id , package_option | tv_series : viewers_m , id , 18_49_rating_share , episode , weekly_rank , rating , air_date , share , channel | cartoon : channel , production_code , written_by , directed_by , original_air_date , id , title", "extra_map": { "tv_channel": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "tongue", "dialect" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "language": "TV_Channel.Language", "number of TV Channels": "TV_Channel" } }, { "question": "for each #language# , list the number of #tv channels# that use it.", "db_id": "tvshow", "orig_query": "select language, count(*) from tv_channel group by language", "schema_with_content": "tv_channel : series_name (\"Classica\", \"MTV Classic\", \"Match Music\"), tongue (\"Italian\", \"English\"), content (\"music\"), pay_per_view_ppv (\"no\"), id (\"717\", \"704\", \"708\"), dialect (\"Italian\", \"English\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), package_option (\"Option\", \"Option\", \"no ( FTV )\"), hight_definition_tv (\"no\", \"yes\") | tv_series : share (5.0, 5.0, 9.0), 18_49_rating_share (\"2.2/6\", \"3.5/9\", \"2.9/7\"), channel (\"700\", \"707\", \"708\"), episode (\"Double Down\", \"Double Down\", \"Keepers\"), weekly_rank (50.0, 80.0, 80.0), id (9.0, 6.0, 6.0), rating (\"4.3\", \"4.3\", \"4.0\"), viewers_m (\"6.06\", \"5.75\", \"4.24\"), air_date (\"December 17, 2007\", \"November 26, 2007\", \"December 17, 2007\") | cartoon : original_air_date (\"November21,2008\", \"December5,2008\", \"November14,2008\"), id (11.0, 6.0, 5.0), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), channel (\"728\", \"706\", \"708\"), production_code (102.0, 105.0, 108.0), title (\"Enter the Outsiders!\", \"The Rise of the Blue Beetle!\", \"Enter the Outsiders!\"), written_by (\"James Krieg\", \"Michael Jelenic\", \"James Krieg\")", "schema_without_content": "tv_channel : series_name , tongue , content , pay_per_view_ppv , id , dialect , pixel_aspect_ratio_par , country , package_option \", hight_definition_tv | tv_series : share , 18_49_rating_share , channel , episode , weekly_rank , id , rating , viewers_m , air_date | cartoon : original_air_date , id , directed_by , channel , production_code , title , written_by", "extra_map": { "tv_channel": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "tongue", "dialect" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "language": "TV_Channel.Language", "TV Channels": "TV_Channel" } }, { "question": "what is the #tv channel# that shows the #cartoon# \"the rise of the blue beetle!\"? list the tv channel's #series name# .", "db_id": "tvshow", "orig_query": "select t1.series_name from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.title = \"The Rise of the Blue Beetle!\"", "schema_with_content": "tv_channel : hight_definition_tv (\"no\", \"yes\"), id (\"703\", \"709\", \"714\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), program_name (\"MTV Music\", \"Classica\", \"Radio Capital TiV\u00c3\u00b9\"), pay_per_view_ppv (\"no\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), content (\"music\"), show_name (\"MTV Music\", \"Classica\", \"Radio Capital TiV\u00c3\u00b9\"), package_option (\"Sky Famiglia\", \"Option\", \"no ( FTV )\"), language (\"Italian\", \"English\") | tv_series : episode (\"Friendly Skies\", \"Blowback\", \"The Legend of Dylan McCleen\"), viewers_m (\"6.94\", \"6.94\", \"5.75\"), 18_49_rating_share (\"3.2/8\", \"1.7/5\", \"2.1/5\"), channel (\"700\", \"700\", \"713\"), id (4.0, 7.0, 9.0), share (7.0, 9.0, 6.0), rating (\"3.8\", \"4.4\", \"4.4\"), weekly_rank (68.0, 71.0, 62.0), air_date (\"December 17, 2007\", \"November 12, 2007\", \"December 10, 2007\") | cartoon : written_by (\"Todd Casey\", \"Joseph Kuhr\", \"James Krieg\"), production_code (103.0, 105.0, 112.0), id (3.0, 8.0, 1.0), original_air_date (\"November14,2008\", \"February20,2009\", \"February27,2009\"), channel (\"708\", \"701\", \"704\"), title (\"Dawn of the Dead Man!\", \"Dawn of the Dead Man!\", \"The Rise of the Blue Beetle!\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\")", "schema_without_content": "tv_channel : hight_definition_tv , id , country , program_name , pay_per_view_ppv , pixel_aspect_ratio_par , content , show_name , package_option \", language | tv_series : episode , viewers_m , 18_49_rating_share , channel , id , share , rating , weekly_rank , air_date | cartoon : written_by , production_code , id , original_air_date , channel , title , directed_by", "extra_map": { "tv_channel": { "series_name": [ "show_name", "program_name" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "show_name", "program_name" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "TV Channel": "TV_Channel", "cartoon": "Cartoon", "series name": "TV_Channel.series_name", "Title": "Cartoon.Title" } }, { "question": "what is the #series name of the tv channel# that shows the #cartoon# \"the rise of the blue beetle\"?", "db_id": "tvshow", "orig_query": "select t1.series_name from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.title = \"The Rise of the Blue Beetle!\"", "schema_with_content": "tv_channel : pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), language (\"Italian\", \"English\"), pay_per_view_ppv (\"no\"), id (\"728\", \"701\", \"707\"), show_name (\"Sky Music\", \"Music Box Italia\", \"MTV Live HD\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), hight_definition_tv (\"no\", \"yes\"), package_option (\"no ( FTV )\", \"Option\", \"Option\"), content (\"music\"), program_name (\"Sky Music\", \"Music Box Italia\", \"MTV Live HD\") | tv_series : 18_49_rating_share (\"1.7/5\", \"2.2/6\", \"2.1/5\"), id (10.0, 2.0, 2.0), air_date (\"October 22, 2007\", \"October 1, 2007\", \"December 10, 2007\"), rating (\"5.8\", \"3.7\", \"4.3\"), episode (\"A Love of a Lifetime\", \"The Legend of Dylan McCleen\", \"The Hanged Man\"), viewers_m (\"8.23\", \"5.75\", \"6.06\"), weekly_rank (67.0, 66.0, 66.0), channel (\"701\", \"717\", \"708\"), share (9.0, 5.0, 6.0) | cartoon : written_by (\"Steven Melching\", \"Todd Casey\", \"J. M. DeMatteis\"), channel (\"706\", \"703\", \"708\"), title (\"Return of the Fearsome Fangs!\", \"Terror on Dinosaur Island!\", \"The Rise of the Blue Beetle!\"), original_air_date (\"January9,2009\", \"February6,2009\", \"January23,2009\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (106.0, 107.0, 111.0), id (10.0, 3.0, 7.0)", "schema_without_content": "tv_channel : pixel_aspect_ratio_par , language , pay_per_view_ppv , id , show_name , country , hight_definition_tv , package_option \", \"Option\", \"Option\", content , program_name | tv_series : 18_49_rating_share , id , air_date , rating , episode , viewers_m , weekly_rank , channel , share | cartoon : written_by , channel , title , original_air_date , directed_by , production_code , id", "extra_map": { "tv_channel": { "series_name": [ "show_name", "program_name" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "show_name", "program_name" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "series name of the TV Channel": "TV_Channel.series_name", "cartoon": "Cartoon", "Title": "Cartoon.Title" } }, { "question": "list the #title# of all cartoons showed on #tv channel with series nam# e \"sky radio\".", "db_id": "tvshow", "orig_query": "select t2.title from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t1.series_name = \"Sky Radio\"", "schema_with_content": "tv_channel : hight_definition_tv (\"no\", \"yes\"), package_option (\"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\", \"Option\"), id (\"715\", \"708\", \"704\"), series_name (\"MTV Hits\", \"MTV Classic\", \"Rock TV\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), pay_per_view_ppv (\"no\"), content (\"music\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), language (\"Italian\", \"English\") | tv_series : channel (\"714\", \"717\", \"713\"), id (8.0, 9.0, 6.0), share (5.0, 9.0, 7.0), air_date (\"September 24, 2007\", \"November 26, 2007\", \"November 19, 2007\"), viewers_m (\"8.23\", \"5.13\", \"6.05\"), weekly_rank (72.0, 67.0, 70.0), rating (\"3.8\", \"3.8\", \"3.4\"), episode (\"Friendly Skies\", \"Game Three\", \"Double Down\"), 18_49_rating_share (\"3.2/8\", \"1.7/5\", \"1.5/4\") | cartoon : program_title (\"Day of the Dark Knight!\", \"Journey to the Center of the Bat!\", \"Deep Cover for Batman!\"), written_by (\"James Krieg\", \"Michael Jelenic\", \"Steven Melching\"), production_code (104.0, 102.0, 109.0), cartoon_name (\"Day of the Dark Knight!\", \"Journey to the Center of the Bat!\", \"Deep Cover for Batman!\"), original_air_date (\"January9,2009\", \"January23,2009\", \"January2,2009\"), channel (\"703\", \"728\", \"703\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (11.0, 5.0, 10.0)", "schema_without_content": "tv_channel : hight_definition_tv , package_option , id , series_name , country , pay_per_view_ppv , content , pixel_aspect_ratio_par , language | tv_series : channel , id , share , air_date , viewers_m , weekly_rank , rating , episode , 18_49_rating_share | cartoon : program_title , written_by , production_code , cartoon_name , original_air_date , channel , directed_by , id", "extra_map": { "cartoon": { "title": [ "cartoon_name", "program_title" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "directed_by", "written_by", "original_air_date", "production_code", "channel", "cartoon_name", "program_title" ] }, "column_linking_gt": { "title": "Cartoon.Title", "TV Channel with series nam": "TV_Channel", "series name": "TV_Channel.series_name" } }, { "question": "what is the #title# of all the cartools that are on the #tv channel with the series name# \"sky radio\"?", "db_id": "tvshow", "orig_query": "select t2.title from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t1.series_name = \"Sky Radio\"", "schema_with_content": "tv_channel : country (\"Italy\", \"United Kingdom\", \"Poland\"), language (\"Italian\", \"English\"), package_option (\"Sky Famiglia + Sky HD\", \"Sky Famiglia\", \"Sky Famiglia\"), pay_per_view_ppv (\"no\"), series_name (\"MTV Dance\", \"Classica\", \"MTV Dance\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), id (\"705\", \"700\", \"700\"), hight_definition_tv (\"no\", \"yes\"), content (\"music\") | tv_series : air_date (\"November 26, 2007\", \"November 12, 2007\", \"November 12, 2007\"), id (5.0, 1.0, 3.0), channel (\"707\", \"728\", \"701\"), 18_49_rating_share (\"2.2/6\", \"2.2/6\", \"2.1/5\"), viewers_m (\"5.75\", \"6.09\", \"6.75\"), episode (\"Double Down\", \"The Legend of Dylan McCleen\", \"Emily\"), rating (\"5.8\", \"4.0\", \"3.8\"), weekly_rank (72.0, 61.0, 50.0), share (9.0, 7.0, 9.0) | cartoon : cartoon_name (\"Return of the Fearsome Fangs!\", \"Deep Cover for Batman!\", \"The Eyes of Despero!\"), channel (\"728\", \"707\", \"708\"), production_code (110.0, 108.0, 105.0), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), written_by (\"Steven Melching\", \"Joseph Kuhr\", \"James Krieg\"), program_title (\"Return of the Fearsome Fangs!\", \"Deep Cover for Batman!\", \"The Eyes of Despero!\"), id (12.0, 3.0, 5.0), original_air_date (\"February20,2009\", \"December12,2008\", \"November14,2008\")", "schema_without_content": "tv_channel : country , language , package_option , pay_per_view_ppv , series_name , pixel_aspect_ratio_par , id , hight_definition_tv , content | tv_series : air_date , id , channel , 18_49_rating_share , viewers_m , episode , rating , weekly_rank , share | cartoon : cartoon_name , channel , production_code , directed_by , written_by , program_title , id , original_air_date", "extra_map": { "cartoon": { "title": [ "cartoon_name", "program_title" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "directed_by", "written_by", "original_air_date", "production_code", "channel", "cartoon_name", "program_title" ] }, "column_linking_gt": { "title": "Cartoon.Title", "TV Channel with the series name": "TV_Channel.series_name" } }, { "question": "list the #episode of all tv series# sorted by #rating# .", "db_id": "tvshow", "orig_query": "select episode from tv_series order by rating", "schema_with_content": "tv_channel : id (\"713\", \"717\", \"704\"), package_option (\"Option\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia\"), content (\"music\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), series_name (\"Music Box Italia\", \"MTV Rocks\", \"myDeejay\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), language (\"Italian\", \"English\"), hight_definition_tv (\"no\", \"yes\"), pay_per_view_ppv (\"no\") | tv_series : 18_49_rating_share (\"3.5/9\", \"2.9/7\", \"2.2/6\"), id (3.0, 7.0, 5.0), viewers_m (\"9.16\", \"6.05\", \"9.16\"), chapter (\"A Love of a Lifetime\", \"Friendly Skies\", \"The Year of the Rabbit\"), share (7.0, 6.0, 9.0), channel (\"714\", \"717\", \"701\"), weekly_rank (50.0, 70.0, 66.0), rating (\"3.4\", \"3.4\", \"4.4\"), part (\"A Love of a Lifetime\", \"Friendly Skies\", \"The Year of the Rabbit\"), air_date (\"November 12, 2007\", \"November 26, 2007\", \"October 22, 2007\") | cartoon : written_by (\"J. M. DeMatteis\", \"Todd Casey\", \"Matt Wayne\"), production_code (108.0, 108.0, 111.0), title (\"Journey to the Center of the Bat!\", \"Deep Cover for Batman!\", \"The Eyes of Despero!\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), original_air_date (\"January9,2009\", \"February27,2009\", \"November21,2008\"), channel (\"705\", \"700\", \"706\"), id (4.0, 10.0, 8.0)", "schema_without_content": "tv_channel : id , package_option , content , pixel_aspect_ratio_par , series_name , country , language , hight_definition_tv , pay_per_view_ppv | tv_series : 18_49_rating_share , id , viewers_m , chapter , share , channel , weekly_rank , rating , part , air_date | cartoon : written_by , production_code , title , directed_by , original_air_date , channel , id", "extra_map": { "tv_series": { "episode": [ "part", "chapter" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel", "part", "chapter" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "Episode of all TV series": "TV_series.Episode", "rating": "TV_series.Rating" } }, { "question": "what are all of the #episodes# ordered by #ratings# ?", "db_id": "tvshow", "orig_query": "select episode from tv_series order by rating", "schema_with_content": "tv_channel : pay_per_view_ppv (\"no\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), series_name (\"MTV Music\", \"Match Music\", \"MTV Music\"), hight_definition_tv (\"no\", \"yes\"), language (\"Italian\", \"English\"), package_option (\"Sky Famiglia + Sky HD\", \"no ( FTV )\", \"Sky Famiglia + Sky HD\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), content (\"music\"), id (\"700\", \"707\", \"728\") | tv_series : channel (\"719\", \"708\", \"719\"), viewers_m (\"6.75\", \"5.75\", \"4.24\"), share (9.0, 9.0, 7.0), air_date (\"November 12, 2007\", \"October 1, 2007\", \"October 29, 2007\"), part (\"The Year of the Rabbit\", \"The Hanged Man\", \"Game Three\"), weekly_rank (50.0, 66.0, 61.0), chapter (\"The Year of the Rabbit\", \"The Hanged Man\", \"Game Three\"), 18_49_rating_share (\"2.1/5\", \"3.5/9\", \"2.1/5\"), id (6.0, 2.0, 7.0), rating (\"3.8\", \"5.3\", \"3.4\") | cartoon : channel (\"707\", \"705\", \"705\"), original_air_date (\"February6,2009\", \"January16,2009\", \"February27,2009\"), written_by (\"Adam Beechen\", \"J. M. DeMatteis\", \"James Krieg\"), production_code (106.0, 110.0, 102.0), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (6.0, 8.0, 4.0), title (\"Day of the Dark Knight!\", \"The Eyes of Despero!\", \"Deep Cover for Batman!\")", "schema_without_content": "tv_channel : pay_per_view_ppv , pixel_aspect_ratio_par , series_name , hight_definition_tv , language , package_option \", \"Sky Famiglia + Sky HD\", country , content , id | tv_series : channel , viewers_m , share , air_date , part , weekly_rank , chapter , 18_49_rating_share , id , rating | cartoon : channel , original_air_date , written_by , production_code , directed_by , id , title", "extra_map": { "tv_series": { "episode": [ "part", "chapter" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel", "part", "chapter" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "episodes": "TV_series.Episode", "ratings": "TV_series.Rating" } }, { "question": "list top 3 highest #rating# #tv series# . list the #tv series's episode# and rating.", "db_id": "tvshow", "orig_query": "select episode, rating from tv_series order by rating desc limit 3", "schema_with_content": "tv_channel : pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), hight_definition_tv (\"no\", \"yes\"), id (\"701\", \"707\", \"700\"), content (\"music\"), language (\"Italian\", \"English\"), pay_per_view_ppv (\"no\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), package_option (\"Option\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\"), series_name (\"myDeejay\", \"Classica\", \"Sky Music\") | tv_series : part (\"Friendly Skies\", \"Keepers\", \"Friendly Skies\"), id (3.0, 10.0, 3.0), weekly_rank (66.0, 66.0, 72.0), share (6.0, 6.0, 7.0), rating (\"3.5\", \"3.5\", \"5.8\"), 18_49_rating_share (\"2.4/6\", \"3.5/9\", \"2.9/7\"), viewers_m (\"6.06\", \"5.61\", \"8.23\"), channel (\"708\", \"713\", \"714\"), air_date (\"October 8, 2007\", \"December 10, 2007\", \"October 29, 2007\"), chapter (\"Friendly Skies\", \"Keepers\", \"Friendly Skies\") | cartoon : written_by (\"Todd Casey\", \"Adam Beechen\", \"Matt Wayne\"), id (12.0, 7.0, 3.0), title (\"Return of the Fearsome Fangs!\", \"Terror on Dinosaur Island!\", \"The Eyes of Despero!\"), original_air_date (\"January2,2009\", \"January23,2009\", \"December12,2008\"), channel (\"701\", \"700\", \"700\"), production_code (111.0, 111.0, 105.0), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\")", "schema_without_content": "tv_channel : pixel_aspect_ratio_par , hight_definition_tv , id , content , language , pay_per_view_ppv , country , package_option , series_name | tv_series : part , id , weekly_rank , share , rating , 18_49_rating_share , viewers_m , channel , air_date , chapter | cartoon : written_by , id , title , original_air_date , channel , production_code , directed_by", "extra_map": { "tv_series": { "episode": [ "part", "chapter" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel", "part", "chapter" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "Rating TV serie": "TV_series.Rating", "TV series": "TV_series", "Rating": "TV_series.Rating", "TV series's Episode": "TV_series.Episode" } }, { "question": "list top 3 highest #rating# #tv series# . list the #tv series's episode# and rating.", "db_id": "tvshow", "orig_query": "select episode, rating from tv_series order by rating desc limit 3", "schema_with_content": "tv_channel : pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), language (\"Italian\", \"English\"), hight_definition_tv (\"no\", \"yes\"), id (\"704\", \"715\", \"717\"), content (\"music\"), package_option (\"Option\", \"Option\", \"Sky Famiglia\"), pay_per_view_ppv (\"no\"), series_name (\"Music Box Italia\", \"MTV Dance\", \"Music Box Italia\"), country (\"Italy\", \"United Kingdom\", \"Poland\") | tv_series : popularity (\"4.3\", \"3.0\", \"4.3\"), score (\"4.3\", \"3.0\", \"4.3\"), viewers_m (\"5.75\", \"4.24\", \"5.13\"), share (6.0, 5.0, 9.0), id (4.0, 12.0, 4.0), weekly_rank (61.0, 65.0, 72.0), episode (\"The Year of the Rabbit\", \"Emily\", \"A Love of a Lifetime\"), air_date (\"October 29, 2007\", \"October 22, 2007\", \"December 17, 2007\"), channel (\"700\", \"728\", \"714\"), 18_49_rating_share (\"3.2/8\", \"2.4/6\", \"2.9/7\") | cartoon : channel (\"707\", \"706\", \"700\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), original_air_date (\"February27,2009\", \"January30,2009\", \"February27,2009\"), id (6.0, 10.0, 3.0), production_code (107.0, 108.0, 106.0), title (\"Enter the Outsiders!\", \"Invasion of the Secret Santas!\", \"The Rise of the Blue Beetle!\"), written_by (\"Todd Casey\", \"Joseph Kuhr\", \"Steven Melching\")", "schema_without_content": "tv_channel : pixel_aspect_ratio_par , language , hight_definition_tv , id , content , package_option , pay_per_view_ppv , series_name , country | tv_series : popularity , score , viewers_m , share , id , weekly_rank , episode , air_date , channel , 18_49_rating_share | cartoon : channel , directed_by , original_air_date , id , production_code , title , written_by", "extra_map": { "tv_series": { "rating": [ "popularity", "score" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel", "popularity", "score" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "Rating TV serie": "TV_series.Rating", "TV series": "TV_series", "Rating": "TV_series.Rating", "TV series's Episode": "TV_series.Episode" } }, { "question": "what are 3 most highly rated #episodes in the tv series table# and what were those #ratings# ?", "db_id": "tvshow", "orig_query": "select episode, rating from tv_series order by rating desc limit 3", "schema_with_content": "tv_channel : pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), language (\"Italian\", \"English\"), package_option (\"Sky Famiglia + Sky HD\", \"Option\", \"Option\"), series_name (\"Hip Hop TV\", \"MTV Hits\", \"Match Music\"), content (\"music\"), pay_per_view_ppv (\"no\"), hight_definition_tv (\"no\", \"yes\"), id (\"728\", \"707\", \"707\") | tv_series : weekly_rank (68.0, 65.0, 66.0), chapter (\"The Legend of Dylan McCleen\", \"Winterland\", \"The Legend of Dylan McCleen\"), rating (\"5.3\", \"4.0\", \"4.4\"), 18_49_rating_share (\"2.4/6\", \"3.5/9\", \"2.4/6\"), share (7.0, 6.0, 7.0), part (\"The Legend of Dylan McCleen\", \"Winterland\", \"The Legend of Dylan McCleen\"), channel (\"700\", \"707\", \"728\"), viewers_m (\"9.16\", \"5.75\", \"9.16\"), id (11.0, 1.0, 9.0), air_date (\"December 17, 2007\", \"October 8, 2007\", \"October 29, 2007\") | cartoon : directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (106.0, 109.0, 107.0), original_air_date (\"February20,2009\", \"December5,2008\", \"November14,2008\"), written_by (\"Matt Wayne\", \"Steven Melching\", \"Steven Melching\"), channel (\"706\", \"703\", \"728\"), id (11.0, 11.0, 11.0), title (\"Evil Under the Sea!\", \"Deep Cover for Batman!\", \"Fall of the Blue Beetle!\")", "schema_without_content": "tv_channel : pixel_aspect_ratio_par , country , language , package_option , series_name , content , pay_per_view_ppv , hight_definition_tv , id | tv_series : weekly_rank , chapter , rating , 18_49_rating_share , share , part , channel , viewers_m , id , air_date | cartoon : directed_by , production_code , original_air_date , written_by , channel , id , title", "extra_map": { "tv_series": { "episode": [ "part", "chapter" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel", "part", "chapter" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "episodes in the TV series table": "TV_series.Episode", "ratings": "TV_series.Rating" } }, { "question": "what are 3 most highly rated #episodes in the tv series table# and what were those #ratings# ?", "db_id": "tvshow", "orig_query": "select episode, rating from tv_series order by rating desc limit 3", "schema_with_content": "tv_channel : language (\"Italian\", \"English\"), package_option (\"Sky Famiglia\", \"Sky Famiglia\", \"no ( FTV )\"), hight_definition_tv (\"no\", \"yes\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), pay_per_view_ppv (\"no\"), id (\"707\", \"706\", \"704\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), content (\"music\"), series_name (\"MTV Rocks\", \"MTV Dance\", \"MTV Dance\") | tv_series : id (3.0, 1.0, 8.0), 18_49_rating_share (\"1.7/5\", \"1.5/4\", \"2.2/6\"), share (9.0, 7.0, 5.0), channel (\"701\", \"701\", \"714\"), viewers_m (\"6.06\", \"5.61\", \"9.16\"), air_date (\"October 29, 2007\", \"October 1, 2007\", \"November 12, 2007\"), weekly_rank (66.0, 67.0, 70.0), episode (\"The Hanged Man\", \"Emily\", \"Winterland\"), score (\"5.3\", \"3.5\", \"5.3\"), popularity (\"5.3\", \"3.5\", \"5.3\") | cartoon : original_air_date (\"February6,2009\", \"February27,2009\", \"February27,2009\"), channel (\"705\", \"703\", \"706\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (5.0, 2.0, 2.0), title (\"The Eyes of Despero!\", \"Terror on Dinosaur Island!\", \"Deep Cover for Batman!\"), written_by (\"Joseph Kuhr\", \"James Krieg\", \"Matt Wayne\"), production_code (112.0, 104.0, 101.0)", "schema_without_content": "tv_channel : language , package_option \", hight_definition_tv , country , pay_per_view_ppv , id , pixel_aspect_ratio_par , content , series_name | tv_series : id , 18_49_rating_share , share , channel , viewers_m , air_date , weekly_rank , episode , score , popularity | cartoon : original_air_date , channel , directed_by , id , title , written_by , production_code", "extra_map": { "tv_series": { "rating": [ "popularity", "score" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel", "popularity", "score" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "episodes in the TV series table": "TV_series.Episode", "ratings": "TV_series.Rating" } }, { "question": "what is #minimum and maximum share of tv series# ?", "db_id": "tvshow", "orig_query": "select max(share), min(share) from tv_series", "schema_with_content": "tv_channel : country (\"Italy\", \"United Kingdom\", \"Poland\"), content (\"music\"), id (\"707\", \"717\", \"715\"), language (\"Italian\", \"English\"), series_name (\"Sky Music\", \"Music Box Italia\", \"Radio Capital TiV\u00c3\u00b9\"), package_option (\"Sky Famiglia + Sky HD\", \"Option\", \"Sky Famiglia\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), hight_definition_tv (\"no\", \"yes\"), pay_per_view_ppv (\"no\") | tv_series : 18_49_rating_share (\"2.9/7\", \"2.9/7\", \"2.9/7\"), channel (\"700\", \"719\", \"701\"), id (1.0, 9.0, 3.0), episode (\"A Love of a Lifetime\", \"The Year of the Rabbit\", \"Game Three\"), rating (\"3.0\", \"4.0\", \"3.5\"), viewers_m (\"8.23\", \"6.75\", \"6.09\"), air_date (\"September 24, 2007\", \"October 1, 2007\", \"October 29, 2007\"), percentage_share (6.0, 7.0, 7.0), weekly_rank (67.0, 65.0, 80.0), dividend (6.0, 7.0, 7.0) | cartoon : written_by (\"Todd Casey\", \"Todd Casey\", \"Joseph Kuhr\"), title (\"Fall of the Blue Beetle!\", \"Terror on Dinosaur Island!\", \"The Eyes of Despero!\"), channel (\"703\", \"728\", \"707\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (107.0, 104.0, 104.0), id (1.0, 4.0, 3.0), original_air_date (\"December5,2008\", \"November14,2008\", \"February20,2009\")", "schema_without_content": "tv_channel : country , content , id , language , series_name , package_option , pixel_aspect_ratio_par , hight_definition_tv , pay_per_view_ppv | tv_series : 18_49_rating_share , channel , id , episode , rating , viewers_m , air_date , percentage_share , weekly_rank , dividend | cartoon : written_by , title , channel , directed_by , production_code , id , original_air_date", "extra_map": { "tv_series": { "share": [ "percentage_share", "dividend" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "18_49_rating_share", "viewers_m", "weekly_rank", "channel", "percentage_share", "dividend" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "minimum and maximum share of TV series": "TV_series.Share" } }, { "question": "what is the #maximum and minimum share for the tv series# ?", "db_id": "tvshow", "orig_query": "select max(share), min(share) from tv_series", "schema_with_content": "tv_channel : hight_definition_tv (\"no\", \"yes\"), language (\"Italian\", \"English\"), pay_per_view_ppv (\"no\"), series_name (\"Hip Hop TV\", \"Hip Hop TV\", \"MTV Live HD\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), content (\"music\"), package_option (\"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), id (\"714\", \"728\", \"705\") | tv_series : percentage_share (9.0, 5.0, 5.0), channel (\"728\", \"701\", \"728\"), episode (\"The Hanged Man\", \"Keepers\", \"Winterland\"), rating (\"4.4\", \"4.4\", \"5.8\"), id (11.0, 1.0, 7.0), dividend (9.0, 5.0, 5.0), air_date (\"November 12, 2007\", \"October 15, 2007\", \"December 10, 2007\"), 18_49_rating_share (\"3.5/9\", \"1.5/4\", \"3.2/8\"), viewers_m (\"6.75\", \"6.75\", \"5.28\"), weekly_rank (65.0, 61.0, 80.0) | cartoon : production_code (103.0, 101.0, 102.0), original_air_date (\"November14,2008\", \"January9,2009\", \"December12,2008\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), title (\"Terror on Dinosaur Island!\", \"Terror on Dinosaur Island!\", \"The Eyes of Despero!\"), channel (\"705\", \"707\", \"708\"), written_by (\"Steven Melching\", \"J. M. DeMatteis\", \"J. M. DeMatteis\"), id (1.0, 6.0, 11.0)", "schema_without_content": "tv_channel : hight_definition_tv , language , pay_per_view_ppv , series_name , country , content , package_option , pixel_aspect_ratio_par , id | tv_series : percentage_share , channel , episode , rating , id , dividend , air_date , 18_49_rating_share , viewers_m , weekly_rank | cartoon : production_code , original_air_date , directed_by , title , channel , written_by , id", "extra_map": { "tv_series": { "share": [ "percentage_share", "dividend" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "18_49_rating_share", "viewers_m", "weekly_rank", "channel", "percentage_share", "dividend" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "maximum and minimum share for the TV series": "TV_series.Share" } }, { "question": "what is the #air date of tv series with episode# \"a love of a lifetime\"?", "db_id": "tvshow", "orig_query": "select air_date from tv_series where episode = \"A Love of a Lifetime\"", "schema_with_content": "tv_channel : id (\"703\", \"717\", \"704\"), language (\"Italian\", \"English\"), pay_per_view_ppv (\"no\"), content (\"music\"), hight_definition_tv (\"no\", \"yes\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), series_name (\"MTV Classic\", \"Music Box Italia\", \"Classica\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), package_option (\"no ( FTV )\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\") | tv_series : broadcast_date (\"November 5, 2007\", \"October 8, 2007\", \"September 24, 2007\"), viewers_m (\"5.28\", \"6.75\", \"5.61\"), episode (\"Friendly Skies\", \"Emily\", \"The Legend of Dylan McCleen\"), rating (\"4.4\", \"3.4\", \"4.0\"), id (12.0, 1.0, 9.0), 18_49_rating_share (\"2.7/7\", \"1.7/5\", \"2.7/7\"), channel (\"714\", \"714\", \"714\"), share (9.0, 9.0, 5.0), airing_date (\"November 5, 2007\", \"October 8, 2007\", \"September 24, 2007\"), weekly_rank (66.0, 50.0, 62.0) | cartoon : directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), written_by (\"Todd Casey\", \"Adam Beechen\", \"Todd Casey\"), production_code (106.0, 108.0, 107.0), id (9.0, 4.0, 4.0), channel (\"703\", \"706\", \"705\"), title (\"Evil Under the Sea!\", \"Deep Cover for Batman!\", \"Terror on Dinosaur Island!\"), original_air_date (\"December5,2008\", \"December12,2008\", \"February20,2009\")", "schema_without_content": "tv_channel : id , language , pay_per_view_ppv , content , hight_definition_tv , pixel_aspect_ratio_par , series_name , country , package_option \", \"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\" | tv_series : broadcast_date , viewers_m , episode , rating , id , 18_49_rating_share , channel , share , airing_date , weekly_rank | cartoon : directed_by , written_by , production_code , id , channel , title , original_air_date", "extra_map": { "tv_series": { "air_date": [ "broadcast_date", "airing_date" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel", "broadcast_date", "airing_date" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "air date of TV series with Episode": "TV_series.Air_Date" } }, { "question": "when did the #episode# \"a love of a lifetime\" #air# ?", "db_id": "tvshow", "orig_query": "select air_date from tv_series where episode = \"A Love of a Lifetime\"", "schema_with_content": "tv_channel : content (\"music\"), language (\"Italian\", \"English\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), package_option (\"Sky Famiglia\", \"Sky Famiglia\", \"Option\"), hight_definition_tv (\"no\", \"yes\"), series_name (\"Classica\", \"myDeejay\", \"Sky Music\"), id (\"701\", \"728\", \"706\"), pay_per_view_ppv (\"no\") | tv_series : rating (\"3.4\", \"4.4\", \"5.8\"), 18_49_rating_share (\"1.7/5\", \"2.1/5\", \"2.2/6\"), viewers_m (\"6.06\", \"6.75\", \"4.24\"), episode (\"Emily\", \"Game Three\", \"Double Down\"), id (9.0, 4.0, 5.0), share (7.0, 9.0, 6.0), channel (\"713\", \"713\", \"714\"), weekly_rank (61.0, 61.0, 66.0), broadcast_date (\"October 1, 2007\", \"October 8, 2007\", \"October 15, 2007\"), airing_date (\"October 1, 2007\", \"October 8, 2007\", \"October 15, 2007\") | cartoon : directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), title (\"The Eyes of Despero!\", \"Journey to the Center of the Bat!\", \"Invasion of the Secret Santas!\"), written_by (\"Adam Beechen\", \"Todd Casey\", \"Joseph Kuhr\"), original_air_date (\"January30,2009\", \"December5,2008\", \"December12,2008\"), production_code (105.0, 101.0, 104.0), channel (\"708\", \"700\", \"707\"), id (10.0, 12.0, 11.0)", "schema_without_content": "tv_channel : content , language , pixel_aspect_ratio_par , country , package_option , hight_definition_tv , series_name , id , pay_per_view_ppv | tv_series : rating , 18_49_rating_share , viewers_m , episode , id , share , channel , weekly_rank , broadcast_date , airing_date | cartoon : directed_by , title , written_by , original_air_date , production_code , channel , id", "extra_map": { "tv_series": { "air_date": [ "broadcast_date", "airing_date" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel", "broadcast_date", "airing_date" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "episode": "TV_series.Episode", "air": "TV_series.Air_Date" } }, { "question": "what is #weekly rank of tv series with episode# \"a love of a lifetime\"?", "db_id": "tvshow", "orig_query": "select weekly_rank from tv_series where episode = \"A Love of a Lifetime\"", "schema_with_content": "tv_channel : pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), series_name (\"Music Box Italia\", \"MTV Dance\", \"Radio Capital TiV\u00c3\u00b9\"), package_option (\"Sky Famiglia + Sky HD\", \"Sky Famiglia\", \"Sky Famiglia\"), pay_per_view_ppv (\"no\"), hight_definition_tv (\"no\", \"yes\"), id (\"705\", \"703\", \"709\"), language (\"Italian\", \"English\"), content (\"music\"), country (\"Italy\", \"United Kingdom\", \"Poland\") | tv_series : ranking (66.0, 43.0, 72.0), rating (\"3.0\", \"3.8\", \"5.8\"), episode (\"The Legend of Dylan McCleen\", \"The Legend of Dylan McCleen\", \"Game Three\"), id (5.0, 6.0, 11.0), 18_49_rating_share (\"3.5/9\", \"3.2/8\", \"3.2/8\"), position_in_chart (66.0, 43.0, 72.0), viewers_m (\"5.28\", \"6.05\", \"8.23\"), channel (\"719\", \"717\", \"714\"), share (9.0, 9.0, 9.0), air_date (\"November 5, 2007\", \"December 10, 2007\", \"October 1, 2007\") | cartoon : channel (\"704\", \"703\", \"701\"), written_by (\"Adam Beechen\", \"Joseph Kuhr\", \"Michael Jelenic\"), original_air_date (\"December5,2008\", \"January9,2009\", \"December5,2008\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (8.0, 1.0, 6.0), production_code (108.0, 108.0, 108.0), title (\"Return of the Fearsome Fangs!\", \"Dawn of the Dead Man!\", \"The Rise of the Blue Beetle!\")", "schema_without_content": "tv_channel : pixel_aspect_ratio_par , series_name , package_option , pay_per_view_ppv , hight_definition_tv , id , language , content , country | tv_series : ranking , rating , episode , id , 18_49_rating_share , position_in_chart , viewers_m , channel , share , air_date | cartoon : channel , written_by , original_air_date , directed_by , id , production_code , title", "extra_map": { "tv_series": { "weekly_rank": [ "position_in_chart", "ranking" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "channel", "position_in_chart", "ranking" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "Weekly Rank of TV series with Episode": "TV_series.Weekly_Rank" } }, { "question": "what is the #weekly rank for the episode# \"a love of a lifetime\"?", "db_id": "tvshow", "orig_query": "select weekly_rank from tv_series where episode = \"A Love of a Lifetime\"", "schema_with_content": "tv_channel : series_name (\"Match Music\", \"MTV Live HD\", \"Music Box Italia\"), language (\"Italian\", \"English\"), id (\"713\", \"714\", \"705\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), pay_per_view_ppv (\"no\"), content (\"music\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), hight_definition_tv (\"no\", \"yes\"), package_option (\"Sky Famiglia\", \"Option\", \"Option\") | tv_series : position_in_chart (71.0, 71.0, 62.0), id (5.0, 7.0, 4.0), share (5.0, 7.0, 6.0), ranking (71.0, 71.0, 62.0), channel (\"719\", \"708\", \"717\"), episode (\"Home By Another Way\", \"The Year of the Rabbit\", \"The Legend of Dylan McCleen\"), 18_49_rating_share (\"3.5/9\", \"2.2/6\", \"3.2/8\"), viewers_m (\"6.09\", \"5.75\", \"5.13\"), rating (\"3.4\", \"5.3\", \"5.3\"), air_date (\"October 29, 2007\", \"November 19, 2007\", \"November 5, 2007\") | cartoon : channel (\"703\", \"708\", \"728\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (103.0, 105.0, 109.0), written_by (\"Todd Casey\", \"J. M. DeMatteis\", \"James Krieg\"), id (9.0, 10.0, 6.0), original_air_date (\"December5,2008\", \"November21,2008\", \"December5,2008\"), title (\"Fall of the Blue Beetle!\", \"Journey to the Center of the Bat!\", \"Terror on Dinosaur Island!\")", "schema_without_content": "tv_channel : series_name , language , id , pixel_aspect_ratio_par , pay_per_view_ppv , content , country , hight_definition_tv , package_option | tv_series : position_in_chart , id , share , ranking , channel , episode , 18_49_rating_share , viewers_m , rating , air_date | cartoon : channel , directed_by , production_code , written_by , id , original_air_date , title", "extra_map": { "tv_series": { "weekly_rank": [ "position_in_chart", "ranking" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "channel", "position_in_chart", "ranking" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "weekly rank for the episode": "TV_series.Weekly_Rank" } }, { "question": "what is the tv channel of #tv series with episode# \"a love of a lifetime\"? list the #tv channel's series name# .", "db_id": "tvshow", "orig_query": "select t1.series_name from tv_channel as t1 join tv_series as t2 on t1.id = t2.channel where t2.episode = \"A Love of a Lifetime\"", "schema_with_content": "tv_channel : language (\"Italian\", \"English\"), content (\"music\"), show_name (\"Match Music\", \"Music Box Italia\", \"myDeejay\"), id (\"700\", \"700\", \"701\"), hight_definition_tv (\"no\", \"yes\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), package_option (\"Sky Famiglia\", \"Option\", \"no ( FTV )\"), pay_per_view_ppv (\"no\"), program_name (\"Match Music\", \"Music Box Italia\", \"myDeejay\"), country (\"Italy\", \"United Kingdom\", \"Poland\") | tv_series : id (3.0, 5.0, 5.0), viewers_m (\"6.09\", \"5.13\", \"9.16\"), air_date (\"December 10, 2007\", \"October 15, 2007\", \"October 8, 2007\"), share (5.0, 6.0, 5.0), rating (\"3.8\", \"4.3\", \"3.0\"), episode (\"Game Three\", \"A Love of a Lifetime\", \"Emily\"), 18_49_rating_share (\"2.1/5\", \"3.2/8\", \"1.5/4\"), weekly_rank (66.0, 50.0, 72.0), channel (\"700\", \"707\", \"717\") | cartoon : written_by (\"Todd Casey\", \"Adam Beechen\", \"Joseph Kuhr\"), title (\"Day of the Dark Knight!\", \"The Rise of the Blue Beetle!\", \"Return of the Fearsome Fangs!\"), channel (\"701\", \"707\", \"703\"), original_air_date (\"November14,2008\", \"January9,2009\", \"January30,2009\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (4.0, 12.0, 3.0), production_code (104.0, 103.0, 102.0)", "schema_without_content": "tv_channel : language , content , show_name , id , hight_definition_tv , pixel_aspect_ratio_par , package_option \", pay_per_view_ppv , program_name , country | tv_series : id , viewers_m , air_date , share , rating , episode , 18_49_rating_share , weekly_rank , channel | cartoon : written_by , title , channel , original_air_date , directed_by , id , production_code", "extra_map": { "tv_channel": { "series_name": [ "show_name", "program_name" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "show_name", "program_name" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "TV series with Episode": "TV_series.Episode", "TV Channel's series name": "TV_Channel.series_name" } }, { "question": "what is the #name of the series# that has the #episode# \"a love of a lifetime\"?", "db_id": "tvshow", "orig_query": "select t1.series_name from tv_channel as t1 join tv_series as t2 on t1.id = t2.channel where t2.episode = \"A Love of a Lifetime\"", "schema_with_content": "tv_channel : hight_definition_tv (\"no\", \"yes\"), pay_per_view_ppv (\"no\"), program_name (\"Sky Music\", \"MTV Music\", \"MTV Live HD\"), language (\"Italian\", \"English\"), id (\"715\", \"728\", \"708\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), content (\"music\"), package_option (\"no ( FTV )\", \"no ( FTV )\", \"Option\"), show_name (\"Sky Music\", \"MTV Music\", \"MTV Live HD\") | tv_series : 18_49_rating_share (\"3.5/9\", \"1.7/5\", \"1.5/4\"), weekly_rank (62.0, 67.0, 80.0), rating (\"3.4\", \"4.3\", \"3.7\"), id (10.0, 7.0, 2.0), viewers_m (\"8.23\", \"4.24\", \"6.09\"), episode (\"Emily\", \"The Year of the Rabbit\", \"Double Down\"), air_date (\"October 8, 2007\", \"November 26, 2007\", \"October 15, 2007\"), share (5.0, 7.0, 5.0), channel (\"708\", \"700\", \"728\") | cartoon : production_code (109.0, 106.0, 102.0), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (4.0, 5.0, 11.0), channel (\"704\", \"728\", \"703\"), original_air_date (\"February27,2009\", \"January9,2009\", \"January23,2009\"), title (\"Evil Under the Sea!\", \"Deep Cover for Batman!\", \"Evil Under the Sea!\"), written_by (\"James Krieg\", \"Adam Beechen\", \"Adam Beechen\")", "schema_without_content": "tv_channel : hight_definition_tv , pay_per_view_ppv , program_name , language , id , country , pixel_aspect_ratio_par , content , package_option \", \"no \", \"Option\", show_name | tv_series : 18_49_rating_share , weekly_rank , rating , id , viewers_m , episode , air_date , share , channel | cartoon : production_code , directed_by , id , channel , original_air_date , title , written_by", "extra_map": { "tv_channel": { "series_name": [ "show_name", "program_name" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "show_name", "program_name" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "name of the series": "TV_Channel.series_name", "episode": "TV_series.Episode" } }, { "question": "list the episode of all #tv series# showed on #tv channel with series nam# e \"sky radio\".", "db_id": "tvshow", "orig_query": "select t2.episode from tv_channel as t1 join tv_series as t2 on t1.id = t2.channel where t1.series_name = \"Sky Radio\"", "schema_with_content": "tv_channel : series_name (\"Music Box Italia\", \"Rock TV\", \"MTV Classic\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), id (\"715\", \"708\", \"714\"), package_option (\"Sky Famiglia + Sky HD\", \"no ( FTV )\", \"Sky Famiglia + Sky HD\"), language (\"Italian\", \"English\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), pay_per_view_ppv (\"no\"), content (\"music\"), hight_definition_tv (\"no\", \"yes\") | tv_series : chapter (\"Game Three\", \"Winterland\", \"The Legend of Dylan McCleen\"), part (\"Game Three\", \"Winterland\", \"The Legend of Dylan McCleen\"), id (2.0, 8.0, 6.0), weekly_rank (61.0, 65.0, 50.0), air_date (\"October 1, 2007\", \"September 24, 2007\", \"November 26, 2007\"), viewers_m (\"8.23\", \"5.28\", \"6.06\"), channel (\"719\", \"713\", \"714\"), rating (\"3.4\", \"4.3\", \"5.8\"), 18_49_rating_share (\"2.1/5\", \"2.9/7\", \"2.4/6\"), share (9.0, 9.0, 9.0) | cartoon : original_air_date (\"January30,2009\", \"January23,2009\", \"February20,2009\"), written_by (\"J. M. DeMatteis\", \"Matt Wayne\", \"J. M. DeMatteis\"), id (10.0, 9.0, 11.0), channel (\"700\", \"708\", \"700\"), title (\"Journey to the Center of the Bat!\", \"Evil Under the Sea!\", \"Evil Under the Sea!\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (103.0, 105.0, 102.0)", "schema_without_content": "tv_channel : series_name , country , id , package_option \", \"Sky Famiglia + Sky HD\", language , pixel_aspect_ratio_par , pay_per_view_ppv , content , hight_definition_tv | tv_series : chapter , part , id , weekly_rank , air_date , viewers_m , channel , rating , 18_49_rating_share , share | cartoon : original_air_date , written_by , id , channel , title , directed_by , production_code", "extra_map": { "tv_series": { "episode": [ "part", "chapter" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel", "part", "chapter" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "Episode of all TV serie": "TV_series.Episode", "TV Channel with series nam": "TV_Channel", "TV series": "TV_series", "series name": "TV_Channel.series_name" } }, { "question": "what is the #episode for the tv series named# \"sky radio\"?", "db_id": "tvshow", "orig_query": "select t2.episode from tv_channel as t1 join tv_series as t2 on t1.id = t2.channel where t1.series_name = \"Sky Radio\"", "schema_with_content": "tv_channel : country (\"Italy\", \"United Kingdom\", \"Poland\"), pay_per_view_ppv (\"no\"), language (\"Italian\", \"English\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), content (\"music\"), series_name (\"MTV Classic\", \"Radio Capital TiV\u00c3\u00b9\", \"MTV Dance\"), hight_definition_tv (\"no\", \"yes\"), id (\"715\", \"708\", \"713\"), package_option (\"Sky Famiglia + Sky HD\", \"Option\", \"Sky Famiglia + Sky HD\") | tv_series : 18_49_rating_share (\"3.5/9\", \"2.2/6\", \"1.7/5\"), rating (\"3.0\", \"4.0\", \"4.4\"), part (\"Friendly Skies\", \"Keepers\", \"The Hanged Man\"), weekly_rank (43.0, 43.0, 43.0), viewers_m (\"9.16\", \"5.61\", \"5.13\"), id (12.0, 8.0, 11.0), share (6.0, 5.0, 5.0), channel (\"719\", \"708\", \"700\"), chapter (\"Friendly Skies\", \"Keepers\", \"The Hanged Man\"), air_date (\"November 5, 2007\", \"November 26, 2007\", \"November 26, 2007\") | cartoon : production_code (105.0, 112.0, 108.0), title (\"Evil Under the Sea!\", \"The Eyes of Despero!\", \"Return of the Fearsome Fangs!\"), channel (\"705\", \"707\", \"703\"), written_by (\"Adam Beechen\", \"J. M. DeMatteis\", \"Matt Wayne\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), original_air_date (\"February20,2009\", \"January23,2009\", \"November14,2008\"), id (4.0, 10.0, 2.0)", "schema_without_content": "tv_channel : country , pay_per_view_ppv , language , pixel_aspect_ratio_par , content , series_name , hight_definition_tv , id , package_option | tv_series : 18_49_rating_share , rating , part , weekly_rank , viewers_m , id , share , channel , chapter , air_date | cartoon : production_code , title , channel , written_by , directed_by , original_air_date , id", "extra_map": { "tv_series": { "episode": [ "part", "chapter" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel", "part", "chapter" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "episode for the TV series named": "TV_series.Episode" } }, { "question": "find the #number of cartoons directed by# each of the listed directors.", "db_id": "tvshow", "orig_query": "select count(*), directed_by from cartoon group by directed_by", "schema_with_content": "tv_channel : pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), language (\"Italian\", \"English\"), hight_definition_tv (\"no\", \"yes\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), id (\"728\", \"701\", \"703\"), series_name (\"MTV Rocks\", \"MTV Rocks\", \"Hip Hop TV\"), pay_per_view_ppv (\"no\"), package_option (\"Sky Famiglia\", \"no ( FTV )\", \"Option\"), content (\"music\") | tv_series : rating (\"4.4\", \"3.8\", \"3.8\"), episode (\"Keepers\", \"Winterland\", \"Blowback\"), air_date (\"December 17, 2007\", \"October 15, 2007\", \"October 29, 2007\"), 18_49_rating_share (\"2.9/7\", \"2.9/7\", \"2.1/5\"), viewers_m (\"6.09\", \"8.23\", \"6.75\"), channel (\"701\", \"707\", \"717\"), id (1.0, 1.0, 1.0), weekly_rank (71.0, 66.0, 66.0), share (6.0, 5.0, 7.0) | cartoon : filmmaker (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (5.0, 10.0, 1.0), channel (\"706\", \"708\", \"700\"), title (\"The Eyes of Despero!\", \"The Rise of the Blue Beetle!\", \"Day of the Dark Knight!\"), production_code (103.0, 104.0, 105.0), original_air_date (\"February27,2009\", \"January9,2009\", \"November14,2008\"), written_by (\"Steven Melching\", \"Steven Melching\", \"James Krieg\"), director_name (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\")", "schema_without_content": "tv_channel : pixel_aspect_ratio_par , language , hight_definition_tv , country , id , series_name , pay_per_view_ppv , package_option \", \"Option\", content | tv_series : rating , episode , air_date , 18_49_rating_share , viewers_m , channel , id , weekly_rank , share | cartoon : filmmaker , id , channel , title , production_code , original_air_date , written_by , director_name", "extra_map": { "cartoon": { "directed_by": [ "director_name", "filmmaker" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "written_by", "original_air_date", "production_code", "channel", "director_name", "filmmaker" ] }, "column_linking_gt": { "number of cartoons directed by": "cartoon.Directed_by" } }, { "question": "how many #cartoons# did each #director# create?", "db_id": "tvshow", "orig_query": "select count(*), directed_by from cartoon group by directed_by", "schema_with_content": "tv_channel : country (\"Italy\", \"United Kingdom\", \"Poland\"), series_name (\"MTV Live HD\", \"MTV Classic\", \"Sky Music\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), hight_definition_tv (\"no\", \"yes\"), id (\"704\", \"728\", \"708\"), language (\"Italian\", \"English\"), package_option (\"Sky Famiglia\", \"Sky Famiglia\", \"Sky Famiglia + Sky HD\"), content (\"music\"), pay_per_view_ppv (\"no\") | tv_series : share (6.0, 9.0, 5.0), weekly_rank (80.0, 80.0, 61.0), 18_49_rating_share (\"2.2/6\", \"2.2/6\", \"2.1/5\"), air_date (\"November 26, 2007\", \"October 1, 2007\", \"October 1, 2007\"), rating (\"5.8\", \"4.3\", \"3.0\"), channel (\"728\", \"728\", \"708\"), id (12.0, 12.0, 12.0), viewers_m (\"6.06\", \"8.23\", \"6.94\"), episode (\"Game Three\", \"The Hanged Man\", \"The Hanged Man\") | cartoon : original_air_date (\"February6,2009\", \"February27,2009\", \"February27,2009\"), director_name (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), channel (\"701\", \"700\", \"704\"), id (6.0, 10.0, 1.0), filmmaker (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), written_by (\"Michael Jelenic\", \"Michael Jelenic\", \"Todd Casey\"), production_code (110.0, 103.0, 105.0), title (\"The Eyes of Despero!\", \"Day of the Dark Knight!\", \"Fall of the Blue Beetle!\")", "schema_without_content": "tv_channel : country , series_name , pixel_aspect_ratio_par , hight_definition_tv , id , language , package_option , content , pay_per_view_ppv | tv_series : share , weekly_rank , 18_49_rating_share , air_date , rating , channel , id , viewers_m , episode | cartoon : original_air_date , director_name , channel , id , filmmaker , written_by , production_code , title", "extra_map": { "cartoon": { "directed_by": [ "director_name", "filmmaker" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "written_by", "original_air_date", "production_code", "channel", "director_name", "filmmaker" ] }, "column_linking_gt": { "cartoons": "Cartoon", "director": "Cartoon.Directed_by" } }, { "question": "find the #package choice# and #series name of the tv channel# that has #high definition tv# .", "db_id": "tvshow", "orig_query": "select package_option, series_name from tv_channel where hight_definition_tv = \"yes\"", "schema_with_content": "tv_channel : pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), program_name (\"MTV Dance\", \"MTV Classic\", \"Music Box Italia\"), show_name (\"MTV Dance\", \"MTV Classic\", \"Music Box Italia\"), package_option (\"Sky Famiglia + Sky HD\", \"no ( FTV )\", \"Sky Famiglia\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), hight_definition_tv (\"no\", \"yes\"), content (\"music\"), language (\"Italian\", \"English\"), id (\"728\", \"715\", \"703\"), pay_per_view_ppv (\"no\") | tv_series : weekly_rank (61.0, 72.0, 68.0), viewers_m (\"6.75\", \"5.61\", \"5.61\"), 18_49_rating_share (\"3.2/8\", \"2.4/6\", \"3.5/9\"), air_date (\"October 1, 2007\", \"November 5, 2007\", \"October 1, 2007\"), share (7.0, 9.0, 5.0), channel (\"708\", \"714\", \"714\"), episode (\"Keepers\", \"Home By Another Way\", \"The Hanged Man\"), id (7.0, 7.0, 12.0), rating (\"3.0\", \"5.3\", \"4.0\") | cartoon : production_code (112.0, 104.0, 112.0), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), title (\"The Eyes of Despero!\", \"Deep Cover for Batman!\", \"Deep Cover for Batman!\"), written_by (\"Joseph Kuhr\", \"Steven Melching\", \"Adam Beechen\"), channel (\"705\", \"703\", \"703\"), id (12.0, 9.0, 7.0), original_air_date (\"November14,2008\", \"February27,2009\", \"January23,2009\")", "schema_without_content": "tv_channel : pixel_aspect_ratio_par , program_name , show_name , package_option \", \"Sky Famiglia\", country , hight_definition_tv , content , language , id , pay_per_view_ppv | tv_series : weekly_rank , viewers_m , 18_49_rating_share , air_date , share , channel , episode , id , rating | cartoon : production_code , directed_by , title , written_by , channel , id , original_air_date", "extra_map": { "tv_channel": { "series_name": [ "show_name", "program_name" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "show_name", "program_name" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "package choice": "TV_Channel.Package_Option", "series name of the TV channel": "TV_Channel.series_name", "high definition TV": "TV_Channel.Hight_definition_TV" } }, { "question": "find the #package choice# and #series name of the tv channel# that has #high definition tv# .", "db_id": "tvshow", "orig_query": "select package_option, series_name from tv_channel where hight_definition_tv = \"yes\"", "schema_with_content": "tv_channel : subscription_option (\"Option\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia\"), content (\"music\"), tv_service_option (\"Option\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia\"), language (\"Italian\", \"English\"), pay_per_view_ppv (\"no\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), id (\"700\", \"719\", \"715\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), series_name (\"Rock TV\", \"MTV Music\", \"Sky Music\"), hight_definition_tv (\"no\", \"yes\") | tv_series : rating (\"3.7\", \"5.3\", \"3.4\"), 18_49_rating_share (\"3.2/8\", \"3.5/9\", \"3.2/8\"), episode (\"Double Down\", \"Winterland\", \"Home By Another Way\"), id (6.0, 4.0, 8.0), viewers_m (\"4.24\", \"8.23\", \"5.61\"), weekly_rank (62.0, 43.0, 67.0), air_date (\"October 8, 2007\", \"October 15, 2007\", \"October 15, 2007\"), channel (\"708\", \"707\", \"701\"), share (5.0, 7.0, 9.0) | cartoon : title (\"The Rise of the Blue Beetle!\", \"Dawn of the Dead Man!\", \"Fall of the Blue Beetle!\"), channel (\"707\", \"706\", \"706\"), production_code (109.0, 111.0, 106.0), original_air_date (\"January30,2009\", \"January9,2009\", \"January30,2009\"), id (3.0, 10.0, 8.0), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), written_by (\"Steven Melching\", \"J. M. DeMatteis\", \"Joseph Kuhr\")", "schema_without_content": "tv_channel : subscription_option , content , tv_service_option , language , pay_per_view_ppv , pixel_aspect_ratio_par , id , country , series_name , hight_definition_tv | tv_series : rating , 18_49_rating_share , episode , id , viewers_m , weekly_rank , air_date , channel , share | cartoon : title , channel , production_code , original_air_date , id , directed_by , written_by", "extra_map": { "tv_channel": { "package_option": [ "subscription_option", "tv_service_option" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "subscription_option", "tv_service_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "package choice": "TV_Channel.Package_Option", "series name of the TV channel": "TV_Channel.series_name", "high definition TV": "TV_Channel.Hight_definition_TV" } }, { "question": "what are the #package options# and the #name of the series for the tv channel# that supports #high definition tv# ?", "db_id": "tvshow", "orig_query": "select package_option, series_name from tv_channel where hight_definition_tv = \"yes\"", "schema_with_content": "tv_channel : id (\"714\", \"714\", \"700\"), language (\"Italian\", \"English\"), program_name (\"Match Music\", \"Sky Radio\", \"MTV Music\"), package_option (\"Sky Famiglia\", \"no ( FTV )\", \"Sky Famiglia + Sky HD\"), pay_per_view_ppv (\"no\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), show_name (\"Match Music\", \"Sky Radio\", \"MTV Music\"), content (\"music\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), hight_definition_tv (\"no\", \"yes\") | tv_series : episode (\"Game Three\", \"Game Three\", \"Winterland\"), air_date (\"November 5, 2007\", \"October 1, 2007\", \"October 15, 2007\"), weekly_rank (80.0, 67.0, 62.0), channel (\"701\", \"728\", \"728\"), id (11.0, 4.0, 3.0), rating (\"5.8\", \"3.0\", \"3.7\"), 18_49_rating_share (\"1.7/5\", \"2.2/6\", \"2.2/6\"), viewers_m (\"6.75\", \"5.61\", \"6.06\"), share (5.0, 5.0, 5.0) | cartoon : written_by (\"Joseph Kuhr\", \"James Krieg\", \"Joseph Kuhr\"), id (5.0, 10.0, 10.0), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), title (\"Enter the Outsiders!\", \"Deep Cover for Batman!\", \"Terror on Dinosaur Island!\"), channel (\"705\", \"706\", \"706\"), original_air_date (\"November21,2008\", \"January16,2009\", \"January30,2009\"), production_code (103.0, 107.0, 104.0)", "schema_without_content": "tv_channel : id , language , program_name , package_option \", \"Sky Famiglia + Sky HD\", pay_per_view_ppv , pixel_aspect_ratio_par , show_name , content , country , hight_definition_tv | tv_series : episode , air_date , weekly_rank , channel , id , rating , 18_49_rating_share , viewers_m , share | cartoon : written_by , id , directed_by , title , channel , original_air_date , production_code", "extra_map": { "tv_channel": { "series_name": [ "show_name", "program_name" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "show_name", "program_name" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "package options": "TV_Channel.Package_Option", "name of the series for the TV Channel": "TV_Channel.series_name", "high definition TV": "TV_Channel.Hight_definition_TV" } }, { "question": "what are the #package options# and the #name of the series for the tv channel# that supports #high definition tv# ?", "db_id": "tvshow", "orig_query": "select package_option, series_name from tv_channel where hight_definition_tv = \"yes\"", "schema_with_content": "tv_channel : content (\"music\"), subscription_option (\"Option\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\"), id (\"707\", \"706\", \"701\"), series_name (\"MTV Music\", \"Sky Music\", \"Rock TV\"), tv_service_option (\"Option\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\"), pay_per_view_ppv (\"no\"), hight_definition_tv (\"no\", \"yes\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), language (\"Italian\", \"English\") | tv_series : channel (\"719\", \"700\", \"719\"), weekly_rank (66.0, 50.0, 67.0), viewers_m (\"8.23\", \"9.16\", \"6.09\"), episode (\"Winterland\", \"Blowback\", \"A Love of a Lifetime\"), rating (\"3.4\", \"3.0\", \"5.3\"), id (2.0, 10.0, 11.0), air_date (\"November 26, 2007\", \"October 29, 2007\", \"November 5, 2007\"), share (7.0, 9.0, 9.0), 18_49_rating_share (\"2.2/6\", \"2.2/6\", \"3.5/9\") | cartoon : title (\"The Eyes of Despero!\", \"Fall of the Blue Beetle!\", \"Terror on Dinosaur Island!\"), id (8.0, 12.0, 4.0), production_code (103.0, 105.0, 102.0), original_air_date (\"January9,2009\", \"February6,2009\", \"January30,2009\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), written_by (\"Michael Jelenic\", \"James Krieg\", \"Steven Melching\"), channel (\"701\", \"707\", \"728\")", "schema_without_content": "tv_channel : content , subscription_option , id , series_name , tv_service_option , pay_per_view_ppv , hight_definition_tv , country , pixel_aspect_ratio_par , language | tv_series : channel , weekly_rank , viewers_m , episode , rating , id , air_date , share , 18_49_rating_share | cartoon : title , id , production_code , original_air_date , directed_by , written_by , channel", "extra_map": { "tv_channel": { "package_option": [ "subscription_option", "tv_service_option" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "subscription_option", "tv_service_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "package options": "TV_Channel.Package_Option", "name of the series for the TV Channel": "TV_Channel.series_name", "high definition TV": "TV_Channel.Hight_definition_TV" } }, { "question": "which #countries' tv channels# are playing some c #artoon written by# todd casey?", "db_id": "tvshow", "orig_query": "select t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.written_by = 'Todd Casey'", "schema_with_content": "tv_channel : package_option (\"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\", \"Option\"), pay_per_view_ppv (\"no\"), territory (\"Italy\", \"United Kingdom\", \"Poland\"), id (\"706\", \"714\", \"728\"), series_name (\"MTV Music\", \"Music Box Italia\", \"MTV Music\"), hight_definition_tv (\"no\", \"yes\"), content (\"music\"), nation (\"Italy\", \"United Kingdom\", \"Poland\"), language (\"Italian\", \"English\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\") | tv_series : share (5.0, 6.0, 5.0), channel (\"728\", \"701\", \"701\"), viewers_m (\"5.13\", \"6.75\", \"9.16\"), episode (\"A Love of a Lifetime\", \"The Hanged Man\", \"Friendly Skies\"), id (5.0, 7.0, 10.0), weekly_rank (71.0, 62.0, 62.0), rating (\"3.4\", \"3.0\", \"4.4\"), 18_49_rating_share (\"2.7/7\", \"2.4/6\", \"1.5/4\"), air_date (\"October 1, 2007\", \"October 8, 2007\", \"November 19, 2007\") | cartoon : production_code (109.0, 106.0, 108.0), written_by (\"Matt Wayne\", \"James Krieg\", \"Matt Wayne\"), id (10.0, 3.0, 1.0), title (\"The Rise of the Blue Beetle!\", \"Invasion of the Secret Santas!\", \"The Eyes of Despero!\"), channel (\"704\", \"704\", \"728\"), original_air_date (\"December5,2008\", \"February20,2009\", \"November21,2008\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\")", "schema_without_content": "tv_channel : package_option , pay_per_view_ppv , territory , id , series_name , hight_definition_tv , content , nation , language , pixel_aspect_ratio_par | tv_series : share , channel , viewers_m , episode , id , weekly_rank , rating , 18_49_rating_share , air_date | cartoon : production_code , written_by , id , title , channel , original_air_date , directed_by", "extra_map": { "tv_channel": { "country": [ "nation", "territory" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "nation", "territory" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "countries' tv channels": "TV_Channel.Country", "artoon written by": "Cartoon.Written_by", "cartoon": "Cartoon" } }, { "question": "what are the #countries# that have #cartoons# on tv that were #written by# todd casey?", "db_id": "tvshow", "orig_query": "select t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.written_by = 'Todd Casey'", "schema_with_content": "tv_channel : id (\"713\", \"704\", \"728\"), series_name (\"MTV Music\", \"Radio Capital TiV\u00c3\u00b9\", \"Radio Capital TiV\u00c3\u00b9\"), pay_per_view_ppv (\"no\"), hight_definition_tv (\"no\", \"yes\"), nation (\"Italy\", \"United Kingdom\", \"Poland\"), territory (\"Italy\", \"United Kingdom\", \"Poland\"), package_option (\"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\", \"no ( FTV )\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), content (\"music\"), language (\"Italian\", \"English\") | tv_series : 18_49_rating_share (\"3.2/8\", \"2.2/6\", \"1.7/5\"), viewers_m (\"4.24\", \"6.09\", \"9.16\"), episode (\"Blowback\", \"The Hanged Man\", \"Winterland\"), channel (\"708\", \"713\", \"719\"), air_date (\"October 29, 2007\", \"November 19, 2007\", \"November 19, 2007\"), id (3.0, 12.0, 10.0), share (9.0, 9.0, 5.0), weekly_rank (70.0, 62.0, 71.0), rating (\"4.4\", \"5.8\", \"5.3\") | cartoon : original_air_date (\"January9,2009\", \"January16,2009\", \"January30,2009\"), written_by (\"Todd Casey\", \"Matt Wayne\", \"Michael Jelenic\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), channel (\"703\", \"708\", \"707\"), production_code (111.0, 109.0, 111.0), title (\"Dawn of the Dead Man!\", \"Day of the Dark Knight!\", \"Terror on Dinosaur Island!\"), id (10.0, 5.0, 10.0)", "schema_without_content": "tv_channel : id , series_name , pay_per_view_ppv , hight_definition_tv , nation , territory , package_option \", pixel_aspect_ratio_par , content , language | tv_series : 18_49_rating_share , viewers_m , episode , channel , air_date , id , share , weekly_rank , rating | cartoon : original_air_date , written_by , directed_by , channel , production_code , title , id", "extra_map": { "tv_channel": { "country": [ "nation", "territory" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "nation", "territory" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "countries": "TV_Channel.Country", "cartoons": "Cartoon", "written by": "Cartoon.Written_by" } }, { "question": "which #countries' tv channels# are not playing any c #artoon written by# todd casey?", "db_id": "tvshow", "orig_query": "select country from tv_channel except select t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.written_by = 'Todd Casey'", "schema_with_content": "tv_channel : nation (\"Italy\", \"United Kingdom\", \"Poland\"), territory (\"Italy\", \"United Kingdom\", \"Poland\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), series_name (\"Radio Capital TiV\u00c3\u00b9\", \"MTV Hits\", \"Rock TV\"), content (\"music\"), language (\"Italian\", \"English\"), pay_per_view_ppv (\"no\"), package_option (\"no ( FTV )\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia\"), hight_definition_tv (\"no\", \"yes\"), id (\"700\", \"701\", \"701\") | tv_series : air_date (\"October 8, 2007\", \"December 10, 2007\", \"November 12, 2007\"), viewers_m (\"9.16\", \"5.61\", \"6.05\"), 18_49_rating_share (\"2.2/6\", \"3.2/8\", \"2.1/5\"), rating (\"3.7\", \"4.4\", \"3.7\"), share (5.0, 6.0, 9.0), channel (\"719\", \"707\", \"714\"), episode (\"Winterland\", \"The Year of the Rabbit\", \"Home By Another Way\"), id (5.0, 6.0, 3.0), weekly_rank (72.0, 62.0, 68.0) | cartoon : channel (\"701\", \"708\", \"728\"), written_by (\"Todd Casey\", \"Matt Wayne\", \"Adam Beechen\"), original_air_date (\"January30,2009\", \"January9,2009\", \"February6,2009\"), title (\"Fall of the Blue Beetle!\", \"Journey to the Center of the Bat!\", \"Deep Cover for Batman!\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (107.0, 108.0, 104.0), id (1.0, 7.0, 12.0)", "schema_without_content": "tv_channel : nation , territory , pixel_aspect_ratio_par , series_name , content , language , pay_per_view_ppv , package_option \", \"Sky Famiglia + Sky HD\", \"Sky Famiglia\", hight_definition_tv , id | tv_series : air_date , viewers_m , 18_49_rating_share , rating , share , channel , episode , id , weekly_rank | cartoon : channel , written_by , original_air_date , title , directed_by , production_code , id", "extra_map": { "tv_channel": { "country": [ "nation", "territory" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "nation", "territory" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "artoon written by": "Cartoon.Written_by", "countries' tv channels": "TV_Channel.Country", "cartoon": "Cartoon" } }, { "question": "what are the #countries# that are not playing #cartoons written by# todd casey?", "db_id": "tvshow", "orig_query": "select country from tv_channel except select t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.written_by = 'Todd Casey'", "schema_with_content": "tv_channel : language (\"Italian\", \"English\"), hight_definition_tv (\"no\", \"yes\"), series_name (\"Sky Music\", \"MTV Dance\", \"Music Box Italia\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), pay_per_view_ppv (\"no\"), id (\"701\", \"701\", \"715\"), nation (\"Italy\", \"United Kingdom\", \"Poland\"), content (\"music\"), territory (\"Italy\", \"United Kingdom\", \"Poland\"), package_option (\"no ( FTV )\", \"Sky Famiglia\", \"no ( FTV )\") | tv_series : weekly_rank (68.0, 68.0, 68.0), share (9.0, 6.0, 9.0), episode (\"Home By Another Way\", \"Double Down\", \"Home By Another Way\"), rating (\"3.4\", \"4.4\", \"5.8\"), viewers_m (\"6.05\", \"5.61\", \"6.75\"), channel (\"714\", \"728\", \"707\"), air_date (\"October 8, 2007\", \"November 26, 2007\", \"November 19, 2007\"), id (11.0, 2.0, 9.0), 18_49_rating_share (\"2.4/6\", \"2.4/6\", \"2.1/5\") | cartoon : id (1.0, 2.0, 5.0), written_by (\"Todd Casey\", \"Matt Wayne\", \"Joseph Kuhr\"), production_code (108.0, 107.0, 112.0), original_air_date (\"November14,2008\", \"January9,2009\", \"November14,2008\"), channel (\"705\", \"701\", \"707\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), title (\"Deep Cover for Batman!\", \"Deep Cover for Batman!\", \"Enter the Outsiders!\")", "schema_without_content": "tv_channel : language , hight_definition_tv , series_name , pixel_aspect_ratio_par , pay_per_view_ppv , id , nation , content , territory , package_option \", \"Sky Famiglia\", \"no \" | tv_series : weekly_rank , share , episode , rating , viewers_m , channel , air_date , id , 18_49_rating_share | cartoon : id , written_by , production_code , original_air_date , channel , directed_by , title", "extra_map": { "tv_channel": { "country": [ "nation", "territory" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "nation", "territory" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "countries": "TV_Channel.Country", "cartoons written by": "Cartoon.Written_by" } }, { "question": "find the #series name# and #country# of the tv channel that is playing some #cartoons directed by# ben jones and michael chang?", "db_id": "tvshow", "orig_query": "select t1.series_name, t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.directed_by = 'Michael Chang' intersect select t1.series_name, t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.directed_by = 'Ben Jones'", "schema_with_content": "tv_channel : content (\"music\"), language (\"Italian\", \"English\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), hight_definition_tv (\"no\", \"yes\"), program_name (\"Music Box Italia\", \"Classica\", \"MTV Dance\"), package_option (\"Sky Famiglia + Sky HD\", \"Sky Famiglia\", \"Option\"), id (\"703\", \"703\", \"728\"), show_name (\"Music Box Italia\", \"Classica\", \"MTV Dance\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), pay_per_view_ppv (\"no\") | tv_series : episode (\"Double Down\", \"Emily\", \"Emily\"), 18_49_rating_share (\"2.4/6\", \"2.1/5\", \"3.5/9\"), id (5.0, 5.0, 3.0), share (5.0, 9.0, 5.0), rating (\"5.8\", \"5.3\", \"3.0\"), air_date (\"November 26, 2007\", \"October 22, 2007\", \"October 1, 2007\"), weekly_rank (70.0, 72.0, 65.0), viewers_m (\"6.09\", \"4.24\", \"6.94\"), channel (\"708\", \"707\", \"700\") | cartoon : original_air_date (\"January16,2009\", \"December5,2008\", \"January9,2009\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (109.0, 111.0, 101.0), id (2.0, 7.0, 5.0), title (\"Enter the Outsiders!\", \"The Eyes of Despero!\", \"Terror on Dinosaur Island!\"), written_by (\"Joseph Kuhr\", \"Todd Casey\", \"Steven Melching\"), channel (\"706\", \"703\", \"703\")", "schema_without_content": "tv_channel : content , language , pixel_aspect_ratio_par , hight_definition_tv , program_name , package_option , id , show_name , country , pay_per_view_ppv | tv_series : episode , 18_49_rating_share , id , share , rating , air_date , weekly_rank , viewers_m , channel | cartoon : original_air_date , directed_by , production_code , id , title , written_by , channel", "extra_map": { "tv_channel": { "series_name": [ "show_name", "program_name" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "show_name", "program_name" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "series name": "TV_Channel.series_name", "country": "TV_Channel.Country", "cartoons directed by": "Cartoon.Directed_by" } }, { "question": "find the #series name# and #country# of the tv channel that is playing some #cartoons directed by# ben jones and michael chang?", "db_id": "tvshow", "orig_query": "select t1.series_name, t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.directed_by = 'Michael Chang' intersect select t1.series_name, t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.directed_by = 'Ben Jones'", "schema_with_content": "tv_channel : package_option (\"no ( FTV )\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia\"), hight_definition_tv (\"no\", \"yes\"), language (\"Italian\", \"English\"), territory (\"Italy\", \"United Kingdom\", \"Poland\"), content (\"music\"), pay_per_view_ppv (\"no\"), nation (\"Italy\", \"United Kingdom\", \"Poland\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), id (\"707\", \"719\", \"714\"), series_name (\"Sky Radio\", \"myDeejay\", \"MTV Hits\") | tv_series : weekly_rank (80.0, 43.0, 71.0), id (10.0, 6.0, 6.0), share (6.0, 6.0, 5.0), 18_49_rating_share (\"1.7/5\", \"2.2/6\", \"2.4/6\"), episode (\"Winterland\", \"The Legend of Dylan McCleen\", \"The Year of the Rabbit\"), rating (\"4.3\", \"4.3\", \"3.0\"), channel (\"707\", \"728\", \"719\"), air_date (\"October 1, 2007\", \"October 29, 2007\", \"December 10, 2007\"), viewers_m (\"6.94\", \"5.61\", \"5.28\") | cartoon : directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (101.0, 109.0, 109.0), title (\"Enter the Outsiders!\", \"Dawn of the Dead Man!\", \"Terror on Dinosaur Island!\"), channel (\"708\", \"701\", \"728\"), written_by (\"Michael Jelenic\", \"Adam Beechen\", \"James Krieg\"), id (9.0, 5.0, 4.0), original_air_date (\"January23,2009\", \"January9,2009\", \"January9,2009\")", "schema_without_content": "tv_channel : package_option \", \"Sky Famiglia + Sky HD\", \"Sky Famiglia\", hight_definition_tv , language , territory , content , pay_per_view_ppv , nation , pixel_aspect_ratio_par , id , series_name | tv_series : weekly_rank , id , share , 18_49_rating_share , episode , rating , channel , air_date , viewers_m | cartoon : directed_by , production_code , title , channel , written_by , id , original_air_date", "extra_map": { "tv_channel": { "country": [ "nation", "territory" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "nation", "territory" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "series name": "TV_Channel.series_name", "country": "TV_Channel.Country", "cartoons directed by": "Cartoon.Directed_by" } }, { "question": "what is the #series name# and #country of all tv channels# that are playing #cartoons directed by ben jones# and #cartoons directed by michael chang# ?", "db_id": "tvshow", "orig_query": "select t1.series_name, t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.directed_by = 'Michael Chang' intersect select t1.series_name, t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.directed_by = 'Ben Jones'", "schema_with_content": "tv_channel : language (\"Italian\", \"English\"), program_name (\"myDeejay\", \"myDeejay\", \"MTV Dance\"), content (\"music\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), pay_per_view_ppv (\"no\"), id (\"728\", \"703\", \"707\"), hight_definition_tv (\"no\", \"yes\"), package_option (\"no ( FTV )\", \"Sky Famiglia + Sky HD\", \"Option\"), show_name (\"myDeejay\", \"myDeejay\", \"MTV Dance\") | tv_series : channel (\"717\", \"707\", \"714\"), rating (\"4.3\", \"3.5\", \"5.3\"), air_date (\"October 1, 2007\", \"October 15, 2007\", \"October 15, 2007\"), episode (\"The Year of the Rabbit\", \"The Hanged Man\", \"Game Three\"), weekly_rank (71.0, 50.0, 80.0), 18_49_rating_share (\"2.9/7\", \"1.7/5\", \"1.5/4\"), share (6.0, 9.0, 6.0), id (8.0, 5.0, 3.0), viewers_m (\"9.16\", \"9.16\", \"9.16\") | cartoon : written_by (\"Adam Beechen\", \"Steven Melching\", \"Adam Beechen\"), original_air_date (\"January16,2009\", \"November21,2008\", \"February27,2009\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (106.0, 105.0, 108.0), channel (\"728\", \"704\", \"708\"), id (2.0, 2.0, 3.0), title (\"Fall of the Blue Beetle!\", \"Return of the Fearsome Fangs!\", \"Deep Cover for Batman!\")", "schema_without_content": "tv_channel : language , program_name , content , country , pixel_aspect_ratio_par , pay_per_view_ppv , id , hight_definition_tv , package_option \", \"Sky Famiglia + Sky HD\", \"Option\", show_name | tv_series : channel , rating , air_date , episode , weekly_rank , 18_49_rating_share , share , id , viewers_m | cartoon : written_by , original_air_date , directed_by , production_code , channel , id , title", "extra_map": { "tv_channel": { "series_name": [ "show_name", "program_name" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "show_name", "program_name" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "series name": "TV_Channel.series_name", "country of all TV channels": "TV_Channel.Country", "cartoons directed by Ben Jones": "Cartoon.Directed_by", "cartoons directed by Michael Chang": "Cartoon.Directed_by" } }, { "question": "what is the #series name# and #country of all tv channels# that are playing #cartoons directed by ben jones# and #cartoons directed by michael chang# ?", "db_id": "tvshow", "orig_query": "select t1.series_name, t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.directed_by = 'Michael Chang' intersect select t1.series_name, t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.directed_by = 'Ben Jones'", "schema_with_content": "tv_channel : content (\"music\"), nation (\"Italy\", \"United Kingdom\", \"Poland\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), package_option (\"no ( FTV )\", \"Sky Famiglia\", \"Sky Famiglia\"), series_name (\"Hip Hop TV\", \"MTV Hits\", \"Rock TV\"), id (\"708\", \"701\", \"703\"), pay_per_view_ppv (\"no\"), territory (\"Italy\", \"United Kingdom\", \"Poland\"), language (\"Italian\", \"English\"), hight_definition_tv (\"no\", \"yes\") | tv_series : rating (\"3.7\", \"3.8\", \"3.8\"), channel (\"700\", \"708\", \"714\"), id (8.0, 12.0, 1.0), share (9.0, 7.0, 7.0), weekly_rank (66.0, 65.0, 65.0), viewers_m (\"6.05\", \"6.05\", \"6.05\"), episode (\"The Hanged Man\", \"Game Three\", \"Friendly Skies\"), air_date (\"December 10, 2007\", \"October 1, 2007\", \"December 10, 2007\"), 18_49_rating_share (\"3.5/9\", \"1.7/5\", \"2.9/7\") | cartoon : channel (\"705\", \"728\", \"703\"), title (\"Dawn of the Dead Man!\", \"Journey to the Center of the Bat!\", \"Journey to the Center of the Bat!\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), production_code (105.0, 108.0, 106.0), original_air_date (\"January30,2009\", \"January2,2009\", \"February27,2009\"), id (5.0, 12.0, 9.0), written_by (\"J. M. DeMatteis\", \"Joseph Kuhr\", \"Adam Beechen\")", "schema_without_content": "tv_channel : content , nation , pixel_aspect_ratio_par , package_option \", \"Sky Famiglia\", \"Sky Famiglia\", series_name , id , pay_per_view_ppv , territory , language , hight_definition_tv | tv_series : rating , channel , id , share , weekly_rank , viewers_m , episode , air_date , 18_49_rating_share | cartoon : channel , title , directed_by , production_code , original_air_date , id , written_by", "extra_map": { "tv_channel": { "country": [ "nation", "territory" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "nation", "territory" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "series name": "TV_Channel.series_name", "country of all TV channels": "TV_Channel.Country", "cartoons directed by Ben Jones": "Cartoon.Directed_by", "cartoons directed by Michael Chang": "Cartoon.Directed_by" } }, { "question": "find the #pixel aspect ratio# and #nation of the tv channels# that do not use #english# .", "db_id": "tvshow", "orig_query": "select pixel_aspect_ratio_par, country from tv_channel where language != 'English'", "schema_with_content": "tv_channel : package_option (\"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\", \"no ( FTV )\"), hight_definition_tv (\"no\", \"yes\"), pay_per_view_ppv (\"no\"), language (\"Italian\", \"English\"), content (\"music\"), territory (\"Italy\", \"United Kingdom\", \"Poland\"), series_name (\"Rock TV\", \"Rock TV\", \"Match Music\"), nation (\"Italy\", \"United Kingdom\", \"Poland\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), id (\"700\", \"717\", \"728\") | tv_series : rating (\"4.4\", \"3.8\", \"3.5\"), episode (\"Emily\", \"Emily\", \"Home By Another Way\"), viewers_m (\"5.61\", \"6.05\", \"9.16\"), weekly_rank (50.0, 50.0, 50.0), share (7.0, 5.0, 6.0), id (1.0, 2.0, 8.0), 18_49_rating_share (\"2.9/7\", \"2.7/7\", \"2.1/5\"), channel (\"719\", \"714\", \"714\"), air_date (\"September 24, 2007\", \"September 24, 2007\", \"October 29, 2007\") | cartoon : directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), original_air_date (\"February27,2009\", \"December5,2008\", \"January16,2009\"), title (\"The Rise of the Blue Beetle!\", \"Fall of the Blue Beetle!\", \"Enter the Outsiders!\"), production_code (112.0, 108.0, 102.0), channel (\"728\", \"705\", \"708\"), id (4.0, 4.0, 3.0), written_by (\"Todd Casey\", \"Joseph Kuhr\", \"Joseph Kuhr\")", "schema_without_content": "tv_channel : package_option \", hight_definition_tv , pay_per_view_ppv , language , content , territory , series_name , nation , pixel_aspect_ratio_par , id | tv_series : rating , episode , viewers_m , weekly_rank , share , id , 18_49_rating_share , channel , air_date | cartoon : directed_by , original_air_date , title , production_code , channel , id , written_by", "extra_map": { "tv_channel": { "country": [ "nation", "territory" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "nation", "territory" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "pixel aspect ratio": "TV_Channel.Pixel_aspect_ratio_PAR", "nation of the tv channels": "TV_Channel.Country", "English": "TV_Channel.Language" } }, { "question": "find the #pixel aspect ratio# and #nation of the tv channels# that do not use #english# .", "db_id": "tvshow", "orig_query": "select pixel_aspect_ratio_par, country from tv_channel where language != 'English'", "schema_with_content": "tv_channel : hight_definition_tv (\"no\", \"yes\"), content (\"music\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), pay_per_view_ppv (\"no\"), image_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), series_name (\"Rock TV\", \"myDeejay\", \"Match Music\"), language (\"Italian\", \"English\"), id (\"701\", \"719\", \"713\"), screen_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), package_option (\"no ( FTV )\", \"Sky Famiglia\", \"Option\") | tv_series : 18_49_rating_share (\"1.5/4\", \"1.5/4\", \"2.2/6\"), air_date (\"October 1, 2007\", \"October 8, 2007\", \"October 15, 2007\"), id (2.0, 11.0, 11.0), viewers_m (\"6.06\", \"5.13\", \"5.75\"), channel (\"700\", \"719\", \"717\"), share (7.0, 6.0, 7.0), episode (\"Winterland\", \"A Love of a Lifetime\", \"Game Three\"), rating (\"3.5\", \"3.5\", \"5.3\"), weekly_rank (50.0, 70.0, 80.0) | cartoon : title (\"Return of the Fearsome Fangs!\", \"The Eyes of Despero!\", \"Invasion of the Secret Santas!\"), written_by (\"Adam Beechen\", \"James Krieg\", \"Joseph Kuhr\"), original_air_date (\"November14,2008\", \"January2,2009\", \"February6,2009\"), id (5.0, 5.0, 1.0), production_code (112.0, 106.0, 110.0), channel (\"700\", \"708\", \"703\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\")", "schema_without_content": "tv_channel : hight_definition_tv , content , country , pay_per_view_ppv , image_aspect_ratio_par , series_name , language , id , screen_aspect_ratio_par , package_option \", \"Sky Famiglia\", \"Option\" | tv_series : 18_49_rating_share , air_date , id , viewers_m , channel , share , episode , rating , weekly_rank | cartoon : title , written_by , original_air_date , id , production_code , channel , directed_by", "extra_map": { "tv_channel": { "pixel_aspect_ratio_par": [ "screen_aspect_ratio_par", "image_aspect_ratio_par" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "hight_definition_tv", "pay_per_view_ppv", "package_option", "screen_aspect_ratio_par", "image_aspect_ratio_par" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "pixel aspect ratio": "TV_Channel.Pixel_aspect_ratio_PAR", "nation of the tv channels": "TV_Channel.Country", "English": "TV_Channel.Language" } }, { "question": "what is the #pixel aspect ratio# and #country of origin for all tv channels# that do not use #english# ?", "db_id": "tvshow", "orig_query": "select pixel_aspect_ratio_par, country from tv_channel where language != 'English'", "schema_with_content": "tv_channel : pay_per_view_ppv (\"no\"), id (\"713\", \"705\", \"707\"), language (\"Italian\", \"English\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), package_option (\"Sky Famiglia + Sky HD\", \"Sky Famiglia\", \"Option\"), nation (\"Italy\", \"United Kingdom\", \"Poland\"), territory (\"Italy\", \"United Kingdom\", \"Poland\"), series_name (\"Classica\", \"myDeejay\", \"Match Music\"), content (\"music\"), hight_definition_tv (\"no\", \"yes\") | tv_series : id (10.0, 10.0, 6.0), rating (\"3.0\", \"3.5\", \"3.4\"), episode (\"Winterland\", \"The Legend of Dylan McCleen\", \"Keepers\"), air_date (\"December 17, 2007\", \"November 12, 2007\", \"November 26, 2007\"), share (7.0, 5.0, 6.0), weekly_rank (61.0, 65.0, 71.0), channel (\"728\", \"700\", \"713\"), viewers_m (\"6.94\", \"5.28\", \"6.05\"), 18_49_rating_share (\"2.2/6\", \"2.4/6\", \"3.5/9\") | cartoon : production_code (104.0, 111.0, 108.0), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (10.0, 12.0, 9.0), channel (\"700\", \"703\", \"704\"), written_by (\"Steven Melching\", \"Todd Casey\", \"James Krieg\"), original_air_date (\"February20,2009\", \"November14,2008\", \"December12,2008\"), title (\"The Eyes of Despero!\", \"Journey to the Center of the Bat!\", \"Deep Cover for Batman!\")", "schema_without_content": "tv_channel : pay_per_view_ppv , id , language , pixel_aspect_ratio_par , package_option , nation , territory , series_name , content , hight_definition_tv | tv_series : id , rating , episode , air_date , share , weekly_rank , channel , viewers_m , 18_49_rating_share | cartoon : production_code , directed_by , id , channel , written_by , original_air_date , title", "extra_map": { "tv_channel": { "country": [ "nation", "territory" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "nation", "territory" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "pixel aspect ratio": "TV_Channel.Pixel_aspect_ratio_PAR", "country of origin for all TV channels": "TV_Channel.Country", "English": "TV_Channel.Language" } }, { "question": "what is the #pixel aspect ratio# and #country of origin for all tv channels# that do not use #english# ?", "db_id": "tvshow", "orig_query": "select pixel_aspect_ratio_par, country from tv_channel where language != 'English'", "schema_with_content": "tv_channel : language (\"Italian\", \"English\"), package_option (\"Sky Famiglia + Sky HD\", \"no ( FTV )\", \"no ( FTV )\"), id (\"701\", \"705\", \"700\"), screen_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), series_name (\"Hip Hop TV\", \"MTV Hits\", \"MTV Live HD\"), image_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), content (\"music\"), pay_per_view_ppv (\"no\"), hight_definition_tv (\"no\", \"yes\") | tv_series : rating (\"3.4\", \"3.5\", \"4.0\"), channel (\"708\", \"728\", \"714\"), viewers_m (\"6.75\", \"5.61\", \"5.13\"), air_date (\"October 1, 2007\", \"October 22, 2007\", \"October 29, 2007\"), weekly_rank (70.0, 43.0, 72.0), share (9.0, 6.0, 9.0), 18_49_rating_share (\"1.7/5\", \"1.5/4\", \"2.1/5\"), id (11.0, 5.0, 2.0), episode (\"A Love of a Lifetime\", \"The Year of the Rabbit\", \"Double Down\") | cartoon : directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), channel (\"703\", \"703\", \"703\"), id (5.0, 1.0, 1.0), original_air_date (\"January23,2009\", \"December5,2008\", \"February27,2009\"), written_by (\"James Krieg\", \"Steven Melching\", \"James Krieg\"), title (\"Evil Under the Sea!\", \"Terror on Dinosaur Island!\", \"Return of the Fearsome Fangs!\"), production_code (108.0, 107.0, 102.0)", "schema_without_content": "tv_channel : language , package_option \", \"no \", id , screen_aspect_ratio_par , series_name , image_aspect_ratio_par , country , content , pay_per_view_ppv , hight_definition_tv | tv_series : rating , channel , viewers_m , air_date , weekly_rank , share , 18_49_rating_share , id , episode | cartoon : directed_by , channel , id , original_air_date , written_by , title , production_code", "extra_map": { "tv_channel": { "pixel_aspect_ratio_par": [ "screen_aspect_ratio_par", "image_aspect_ratio_par" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "hight_definition_tv", "pay_per_view_ppv", "package_option", "screen_aspect_ratio_par", "image_aspect_ratio_par" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "pixel aspect ratio": "TV_Channel.Pixel_aspect_ratio_PAR", "country of origin for all TV channels": "TV_Channel.Country", "English": "TV_Channel.Language" } }, { "question": "find #id of the tv channels# that from the #countries# where have more than two tv channels.", "db_id": "tvshow", "orig_query": "select id from tv_channel group by country having count(*) > 2", "schema_with_content": "tv_channel : series_name (\"MTV Hits\", \"Music Box Italia\", \"Match Music\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), hight_definition_tv (\"no\", \"yes\"), language (\"Italian\", \"English\"), content (\"music\"), package_option (\"Option\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia + Sky HD\"), pay_per_view_ppv (\"no\"), channel_id (\"719\", \"703\", \"704\"), index (\"719\", \"703\", \"704\") | tv_series : viewers_m (\"5.61\", \"5.75\", \"9.16\"), 18_49_rating_share (\"3.2/8\", \"2.9/7\", \"2.9/7\"), id (1.0, 6.0, 7.0), weekly_rank (50.0, 67.0, 70.0), rating (\"3.7\", \"3.4\", \"3.4\"), share (6.0, 5.0, 9.0), channel (\"701\", \"717\", \"701\"), episode (\"The Legend of Dylan McCleen\", \"Friendly Skies\", \"The Hanged Man\"), air_date (\"November 26, 2007\", \"October 15, 2007\", \"October 29, 2007\") | cartoon : title (\"Dawn of the Dead Man!\", \"The Eyes of Despero!\", \"Dawn of the Dead Man!\"), production_code (110.0, 112.0, 101.0), channel (\"707\", \"705\", \"728\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), original_air_date (\"February27,2009\", \"February20,2009\", \"December5,2008\"), written_by (\"Matt Wayne\", \"J. M. DeMatteis\", \"Michael Jelenic\"), id (8.0, 10.0, 9.0)", "schema_without_content": "tv_channel : series_name , pixel_aspect_ratio_par , country , hight_definition_tv , language , content , package_option , pay_per_view_ppv , channel_id , index | tv_series : viewers_m , 18_49_rating_share , id , weekly_rank , rating , share , channel , episode , air_date | cartoon : title , production_code , channel , directed_by , original_air_date , written_by , id", "extra_map": { "tv_channel": { "id": [ "channel_id", "index" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "channel_id", "index" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "id of the tv channels": "TV_Channel.id", "countries": "TV_Channel.Country", "tv channels": "TV_Channel" } }, { "question": "what are the #ids of all tv channels# that have #more than 2 tv channels# ?", "db_id": "tvshow", "orig_query": "select id from tv_channel group by country having count(*) > 2", "schema_with_content": "tv_channel : index (\"700\", \"708\", \"713\"), content (\"music\"), series_name (\"Music Box Italia\", \"Rock TV\", \"myDeejay\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), hight_definition_tv (\"no\", \"yes\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), language (\"Italian\", \"English\"), pay_per_view_ppv (\"no\"), package_option (\"Option\", \"no ( FTV )\", \"Sky Famiglia\"), channel_id (\"700\", \"708\", \"713\") | tv_series : id (10.0, 8.0, 4.0), rating (\"3.5\", \"3.8\", \"3.7\"), episode (\"Keepers\", \"Home By Another Way\", \"A Love of a Lifetime\"), weekly_rank (80.0, 67.0, 72.0), channel (\"707\", \"719\", \"719\"), air_date (\"September 24, 2007\", \"September 24, 2007\", \"October 22, 2007\"), 18_49_rating_share (\"3.2/8\", \"2.7/7\", \"2.2/6\"), share (6.0, 6.0, 6.0), viewers_m (\"5.13\", \"6.75\", \"5.28\") | cartoon : original_air_date (\"November21,2008\", \"November14,2008\", \"November14,2008\"), id (6.0, 12.0, 4.0), production_code (109.0, 105.0, 108.0), written_by (\"Matt Wayne\", \"Todd Casey\", \"Michael Jelenic\"), title (\"Enter the Outsiders!\", \"Dawn of the Dead Man!\", \"Journey to the Center of the Bat!\"), channel (\"707\", \"708\", \"707\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\")", "schema_without_content": "tv_channel : index , content , series_name , pixel_aspect_ratio_par , hight_definition_tv , country , language , pay_per_view_ppv , package_option \", \"Sky Famiglia\", channel_id | tv_series : id , rating , episode , weekly_rank , channel , air_date , 18_49_rating_share , share , viewers_m | cartoon : original_air_date , id , production_code , written_by , title , channel , directed_by", "extra_map": { "tv_channel": { "id": [ "channel_id", "index" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "channel_id", "index" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "ids of all tv channels": "TV_Channel.id", "more than 2 TV channels": "TV_Channel.Country" } }, { "question": "find the #id# of tv channels that do not play any #cartoon directed by# ben jones.", "db_id": "tvshow", "orig_query": "select id from tv_channel except select channel from cartoon where directed_by = 'Ben Jones'", "schema_with_content": "tv_channel : series_name (\"Sky Music\", \"Rock TV\", \"myDeejay\"), language (\"Italian\", \"English\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), package_option (\"no ( FTV )\", \"Sky Famiglia + Sky HD\", \"no ( FTV )\"), channel_id (\"715\", \"714\", \"706\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), pay_per_view_ppv (\"no\"), index (\"715\", \"714\", \"706\"), hight_definition_tv (\"no\", \"yes\"), content (\"music\") | tv_series : viewers_m (\"4.24\", \"5.28\", \"6.05\"), channel (\"713\", \"714\", \"713\"), share (6.0, 6.0, 9.0), rating (\"3.5\", \"4.4\", \"4.3\"), air_date (\"November 26, 2007\", \"October 8, 2007\", \"October 8, 2007\"), id (8.0, 1.0, 2.0), 18_49_rating_share (\"1.7/5\", \"3.5/9\", \"2.9/7\"), weekly_rank (80.0, 72.0, 65.0), episode (\"A Love of a Lifetime\", \"Emily\", \"Winterland\") | cartoon : directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (12.0, 6.0, 8.0), original_air_date (\"November14,2008\", \"December5,2008\", \"January9,2009\"), production_code (104.0, 101.0, 110.0), title (\"The Eyes of Despero!\", \"The Rise of the Blue Beetle!\", \"Fall of the Blue Beetle!\"), channel (\"707\", \"707\", \"705\"), written_by (\"Michael Jelenic\", \"Michael Jelenic\", \"Michael Jelenic\")", "schema_without_content": "tv_channel : series_name , language , pixel_aspect_ratio_par , package_option \", \"Sky Famiglia + Sky HD\", \"no \", channel_id , country , pay_per_view_ppv , index , hight_definition_tv , content | tv_series : viewers_m , channel , share , rating , air_date , id , 18_49_rating_share , weekly_rank , episode | cartoon : directed_by , id , original_air_date , production_code , title , channel , written_by", "extra_map": { "tv_channel": { "id": [ "channel_id", "index" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "channel_id", "index" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "id": "TV_Channel.id", "cartoon directed by": "Cartoon.Directed_by" } }, { "question": "what are the #ids# of the tv channels that do not have any #cartoons directed by# ben jones?", "db_id": "tvshow", "orig_query": "select id from tv_channel except select channel from cartoon where directed_by = 'Ben Jones'", "schema_with_content": "tv_channel : index (\"714\", \"717\", \"704\"), language (\"Italian\", \"English\"), channel_id (\"714\", \"717\", \"704\"), series_name (\"Hip Hop TV\", \"Classica\", \"MTV Music\"), hight_definition_tv (\"no\", \"yes\"), pay_per_view_ppv (\"no\"), package_option (\"no ( FTV )\", \"no ( FTV )\", \"Option\"), country (\"Italy\", \"United Kingdom\", \"Poland\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), content (\"music\") | tv_series : id (9.0, 8.0, 6.0), share (6.0, 5.0, 6.0), viewers_m (\"6.05\", \"5.75\", \"6.94\"), air_date (\"December 10, 2007\", \"December 10, 2007\", \"October 1, 2007\"), 18_49_rating_share (\"2.1/5\", \"1.5/4\", \"2.2/6\"), rating (\"4.0\", \"3.8\", \"4.3\"), weekly_rank (70.0, 65.0, 71.0), episode (\"The Hanged Man\", \"Game Three\", \"Winterland\"), channel (\"701\", \"728\", \"701\") | cartoon : directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), id (11.0, 12.0, 10.0), written_by (\"Todd Casey\", \"Matt Wayne\", \"Steven Melching\"), title (\"Fall of the Blue Beetle!\", \"Return of the Fearsome Fangs!\", \"Deep Cover for Batman!\"), original_air_date (\"January9,2009\", \"January9,2009\", \"November14,2008\"), production_code (104.0, 101.0, 101.0), channel (\"706\", \"707\", \"701\")", "schema_without_content": "tv_channel : index , language , channel_id , series_name , hight_definition_tv , pay_per_view_ppv , package_option \", \"no \", \"Option\", country , pixel_aspect_ratio_par , content | tv_series : id , share , viewers_m , air_date , 18_49_rating_share , rating , weekly_rank , episode , channel | cartoon : directed_by , id , written_by , title , original_air_date , production_code , channel", "extra_map": { "tv_channel": { "id": [ "channel_id", "index" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "package_option", "channel_id", "index" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "ids": "TV_Channel.id", "cartoons directed by": "Cartoon.Directed_by" } }, { "question": "find the #package option# of the tv channel that do not have any #cartoon directed by# ben jones.", "db_id": "tvshow", "orig_query": "select package_option from tv_channel where id not in (select channel from cartoon where directed_by = 'Ben Jones')", "schema_with_content": "tv_channel : country (\"Italy\", \"United Kingdom\", \"Poland\"), content (\"music\"), tv_service_option (\"Sky Famiglia\", \"Sky Famiglia\", \"no ( FTV )\"), subscription_option (\"Sky Famiglia\", \"Sky Famiglia\", \"no ( FTV )\"), pay_per_view_ppv (\"no\"), id (\"705\", \"708\", \"708\"), series_name (\"MTV Hits\", \"Rock TV\", \"MTV Hits\"), hight_definition_tv (\"no\", \"yes\"), language (\"Italian\", \"English\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\") | tv_series : air_date (\"October 15, 2007\", \"November 19, 2007\", \"October 8, 2007\"), 18_49_rating_share (\"2.4/6\", \"1.7/5\", \"2.4/6\"), viewers_m (\"5.61\", \"5.75\", \"6.05\"), weekly_rank (72.0, 43.0, 68.0), channel (\"701\", \"717\", \"717\"), episode (\"The Year of the Rabbit\", \"Friendly Skies\", \"Keepers\"), rating (\"3.5\", \"3.8\", \"3.0\"), id (9.0, 8.0, 1.0), share (7.0, 9.0, 9.0) | cartoon : id (9.0, 3.0, 4.0), channel (\"701\", \"700\", \"701\"), written_by (\"Todd Casey\", \"Matt Wayne\", \"Joseph Kuhr\"), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\"), original_air_date (\"December5,2008\", \"February6,2009\", \"January9,2009\"), production_code (101.0, 110.0, 105.0), title (\"Enter the Outsiders!\", \"Day of the Dark Knight!\", \"Return of the Fearsome Fangs!\")", "schema_without_content": "tv_channel : country , content , tv_service_option \", subscription_option \", pay_per_view_ppv , id , series_name , hight_definition_tv , language , pixel_aspect_ratio_par | tv_series : air_date , 18_49_rating_share , viewers_m , weekly_rank , channel , episode , rating , id , share | cartoon : id , channel , written_by , directed_by , original_air_date , production_code , title", "extra_map": { "tv_channel": { "package_option": [ "subscription_option", "tv_service_option" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "subscription_option", "tv_service_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "package option": "TV_Channel.Package_Option", "cartoon directed by": "Cartoon.Directed_by" } }, { "question": "what are the #package options of all tv channels# that are not playing any #cartoons directed by# ben jones?", "db_id": "tvshow", "orig_query": "select package_option from tv_channel where id not in (select channel from cartoon where directed_by = 'Ben Jones')", "schema_with_content": "tv_channel : country (\"Italy\", \"United Kingdom\", \"Poland\"), id (\"715\", \"713\", \"703\"), hight_definition_tv (\"no\", \"yes\"), content (\"music\"), pixel_aspect_ratio_par (\"4:3\", \"4:3 / 16:9\", \"16:9\"), language (\"Italian\", \"English\"), pay_per_view_ppv (\"no\"), subscription_option (\"Sky Famiglia\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia\"), series_name (\"Music Box Italia\", \"Radio Capital TiV\u00c3\u00b9\", \"Rock TV\"), tv_service_option (\"Sky Famiglia\", \"Sky Famiglia + Sky HD\", \"Sky Famiglia\") | tv_series : id (8.0, 12.0, 10.0), channel (\"717\", \"708\", \"700\"), air_date (\"December 10, 2007\", \"October 29, 2007\", \"October 29, 2007\"), episode (\"Keepers\", \"Home By Another Way\", \"The Hanged Man\"), rating (\"3.5\", \"3.7\", \"4.0\"), weekly_rank (65.0, 68.0, 66.0), share (5.0, 7.0, 9.0), 18_49_rating_share (\"2.2/6\", \"3.5/9\", \"2.4/6\"), viewers_m (\"6.06\", \"6.09\", \"6.94\") | cartoon : channel (\"708\", \"700\", \"705\"), written_by (\"Matt Wayne\", \"Steven Melching\", \"Todd Casey\"), id (11.0, 8.0, 11.0), original_air_date (\"January9,2009\", \"January30,2009\", \"January9,2009\"), title (\"Deep Cover for Batman!\", \"The Eyes of Despero!\", \"Dawn of the Dead Man!\"), production_code (109.0, 108.0, 109.0), directed_by (\"Ben Jones\", \"Brandon Vietti\", \"Michael Chang\")", "schema_without_content": "tv_channel : country , id , hight_definition_tv , content , pixel_aspect_ratio_par , language , pay_per_view_ppv , subscription_option , series_name , tv_service_option | tv_series : id , channel , air_date , episode , rating , weekly_rank , share , 18_49_rating_share , viewers_m | cartoon : channel , written_by , id , original_air_date , title , production_code , directed_by", "extra_map": { "tv_channel": { "package_option": [ "subscription_option", "tv_service_option" ] } }, "extra_table_map": null, "db_schema": { "tv_channel": [ "id", "series_name", "country", "language", "content", "pixel_aspect_ratio_par", "hight_definition_tv", "pay_per_view_ppv", "subscription_option", "tv_service_option" ], "tv_series": [ "id", "episode", "air_date", "rating", "share", "18_49_rating_share", "viewers_m", "weekly_rank", "channel" ], "cartoon": [ "id", "title", "directed_by", "written_by", "original_air_date", "production_code", "channel" ] }, "column_linking_gt": { "package options of all tv channels": "TV_Channel.Package_Option", "cartoons directed by": "Cartoon.Directed_by" } }, { "question": "list the #earnings of poker players# in descending order.", "db_id": "poker_player", "orig_query": "select earnings from poker_player order by earnings desc", "schema_with_content": "poker_player : poker_player_id (3, 3, 3), revenue (104871.0, 142800.0, 104871.0), income (104871.0, 142800.0, 104871.0), money_rank (141.0, 58.0, 154.0), best_finish (1.0, 2.0, 3.0), final_table_made (26.0, 21.0, 10.0), people_id (2, 1, 7) | people : height (182.0, 207.0, 196.0), people_id (3, 2, 5), name (\"Maksim Botin\", \"Aleksey Ostapenko\", \"Aleksey Ostapenko\"), birth_date (\"August 16, 1982\", \"August 8, 1986\", \"May 26, 1986\"), nationality (\"Russia\", \"Bulgaria\")", "schema_without_content": "poker_player : poker_player_id , revenue , income , money_rank , best_finish , final_table_made , people_id | people : height , people_id , name , birth_date , nationality", "extra_map": { "poker_player": { "earnings": [ "income", "revenue" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "income", "revenue" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "earnings of poker players": "poker_player.Earnings" } }, { "question": "what are the #earnings of poker players# , ordered descending by value?", "db_id": "poker_player", "orig_query": "select earnings from poker_player order by earnings desc", "schema_with_content": "poker_player : best_finish (1.0, 2.0, 3.0), income (104871.0, 189233.0, 596462.0), poker_player_id (1, 5, 1), money_rank (141.0, 166.0, 141.0), revenue (104871.0, 189233.0, 596462.0), people_id (7, 1, 5), final_table_made (42.0, 42.0, 10.0) | people : people_id (5, 2, 5), nationality (\"Russia\", \"Bulgaria\"), birth_date (\"April 17, 1987\", \"August 8, 1986\", \"August 8, 1986\"), name (\"Semen Poltavskiy\", \"Aleksey Ostapenko\", \"Sergey Grankin\"), height (193.0, 196.0, 182.0)", "schema_without_content": "poker_player : best_finish , income , poker_player_id , money_rank , revenue , people_id , final_table_made | people : people_id , nationality , birth_date , name , height", "extra_map": { "poker_player": { "earnings": [ "income", "revenue" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "income", "revenue" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "earnings of poker players": "poker_player.Earnings" } }, { "question": "list the #final tables made# and the #best finishes of poker players# .", "db_id": "poker_player", "orig_query": "select final_table_made, best_finish from poker_player", "schema_with_content": "poker_player : poker_player_id (3, 5, 5), top_performance (1.0, 2.0, 3.0), earnings (596462.0, 476090.0, 142800.0), people_id (2, 7, 7), money_rank (68.0, 154.0, 154.0), peak_result (1.0, 2.0, 3.0), final_table_made (19.0, 26.0, 10.0) | people : birth_date (\"August 16, 1982\", \"February 8, 1981\", \"January 22, 1987\"), name (\"Sergey Grankin\", \"Sergey Grankin\", \"Aleksey Ostapenko\"), nationality (\"Russia\", \"Bulgaria\"), people_id (4, 3, 1), height (193.0, 194.0, 205.0)", "schema_without_content": "poker_player : poker_player_id , top_performance , earnings , people_id , money_rank , peak_result , final_table_made | people : birth_date , name , nationality , people_id , height", "extra_map": { "poker_player": { "best_finish": [ "top_performance", "peak_result" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "money_rank", "earnings", "top_performance", "peak_result" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "final tables made": "poker_player.Final_Table_Made", "best finishes of poker players": "poker_player.Best_Finish" } }, { "question": "list the #final tables made# and the #best finishes of poker players# .", "db_id": "poker_player", "orig_query": "select final_table_made, best_finish from poker_player", "schema_with_content": "poker_player : people_id (7, 5, 5), endgame_table (26.0, 26.0, 19.0), last_round_table (26.0, 26.0, 19.0), poker_player_id (2, 3, 5), earnings (142800.0, 142800.0, 142800.0), best_finish (1.0, 2.0, 3.0), money_rank (141.0, 166.0, 166.0) | people : height (205.0, 193.0, 194.0), nationality (\"Russia\", \"Bulgaria\"), name (\"Semen Poltavskiy\", \"Sergey Grankin\", \"Yevgeni Sivozhelez\"), birth_date (\"February 8, 1981\", \"April 17, 1987\", \"August 16, 1982\"), people_id (7, 7, 7)", "schema_without_content": "poker_player : people_id , endgame_table , last_round_table , poker_player_id , earnings , best_finish , money_rank | people : height , nationality , name , birth_date , people_id", "extra_map": { "poker_player": { "final_table_made": [ "last_round_table", "endgame_table" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "best_finish", "money_rank", "earnings", "last_round_table", "endgame_table" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "final tables made": "poker_player.Final_Table_Made", "best finishes of poker players": "poker_player.Best_Finish" } }, { "question": "what are the #final tables made# and #best finishes for all poker players# ?", "db_id": "poker_player", "orig_query": "select final_table_made, best_finish from poker_player", "schema_with_content": "poker_player : top_performance (1.0, 2.0, 3.0), people_id (1, 5, 7), poker_player_id (3, 5, 4), earnings (596462.0, 104871.0, 476090.0), peak_result (1.0, 2.0, 3.0), money_rank (166.0, 68.0, 141.0), final_table_made (19.0, 42.0, 19.0) | people : name (\"Teodor Salparov\", \"Sergey Grankin\", \"Sergey Grankin\"), people_id (5, 5, 4), nationality (\"Russia\", \"Bulgaria\"), birth_date (\"February 8, 1981\", \"April 17, 1987\", \"May 26, 1986\"), height (205.0, 196.0, 207.0)", "schema_without_content": "poker_player : top_performance , people_id , poker_player_id , earnings , peak_result , money_rank , final_table_made | people : name , people_id , nationality , birth_date , height", "extra_map": { "poker_player": { "best_finish": [ "top_performance", "peak_result" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "money_rank", "earnings", "top_performance", "peak_result" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "final tables made": "poker_player.Final_Table_Made", "best finishes for all poker players": "poker_player.Best_Finish" } }, { "question": "what are the #final tables made# and #best finishes for all poker players# ?", "db_id": "poker_player", "orig_query": "select final_table_made, best_finish from poker_player", "schema_with_content": "poker_player : best_finish (1.0, 2.0, 3.0), last_round_table (19.0, 26.0, 19.0), earnings (104871.0, 142800.0, 476090.0), people_id (6, 1, 7), money_rank (141.0, 141.0, 58.0), poker_player_id (3, 3, 1), endgame_table (19.0, 26.0, 19.0) | people : nationality (\"Russia\", \"Bulgaria\"), height (193.0, 194.0, 194.0), birth_date (\"May 26, 1986\", \"February 8, 1981\", \"August 16, 1982\"), name (\"Roman Bragin\", \"Aleksey Ostapenko\", \"Aleksey Ostapenko\"), people_id (4, 7, 3)", "schema_without_content": "poker_player : best_finish , last_round_table , earnings , people_id , money_rank , poker_player_id , endgame_table | people : nationality , height , birth_date , name , people_id", "extra_map": { "poker_player": { "final_table_made": [ "last_round_table", "endgame_table" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "best_finish", "money_rank", "earnings", "last_round_table", "endgame_table" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "final tables made": "poker_player.Final_Table_Made", "best finishes for all poker players": "poker_player.Best_Finish" } }, { "question": "what is the #average earnings of poker players# ?", "db_id": "poker_player", "orig_query": "select avg(earnings) from poker_player", "schema_with_content": "poker_player : revenue (596462.0, 476090.0, 104871.0), money_rank (166.0, 68.0, 154.0), income (596462.0, 476090.0, 104871.0), best_finish (1.0, 2.0, 3.0), poker_player_id (5, 3, 1), final_table_made (42.0, 42.0, 42.0), people_id (5, 5, 2) | people : height (182.0, 193.0, 207.0), people_id (1, 3, 7), name (\"Roman Bragin\", \"Roman Bragin\", \"Sergey Grankin\"), birth_date (\"July 14, 1983\", \"January 22, 1987\", \"February 8, 1981\"), nationality (\"Russia\", \"Bulgaria\")", "schema_without_content": "poker_player : revenue , money_rank , income , best_finish , poker_player_id , final_table_made , people_id | people : height , people_id , name , birth_date , nationality", "extra_map": { "poker_player": { "earnings": [ "income", "revenue" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "income", "revenue" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "average earnings of poker players": "poker_player.Earnings" } }, { "question": "return the #average earnings# across all #poker players# .", "db_id": "poker_player", "orig_query": "select avg(earnings) from poker_player", "schema_with_content": "poker_player : revenue (189233.0, 189233.0, 476090.0), poker_player_id (3, 1, 2), money_rank (68.0, 141.0, 58.0), final_table_made (42.0, 21.0, 21.0), income (189233.0, 189233.0, 476090.0), best_finish (1.0, 2.0, 3.0), people_id (5, 1, 2) | people : name (\"Roman Bragin\", \"Roman Bragin\", \"Teodor Salparov\"), birth_date (\"May 26, 1986\", \"July 14, 1983\", \"August 8, 1986\"), people_id (5, 5, 2), nationality (\"Russia\", \"Bulgaria\"), height (205.0, 205.0, 194.0)", "schema_without_content": "poker_player : revenue , poker_player_id , money_rank , final_table_made , income , best_finish , people_id | people : name , birth_date , people_id , nationality , height", "extra_map": { "poker_player": { "earnings": [ "income", "revenue" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "income", "revenue" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "average earnings": "poker_player.Earnings", "poker players": "poker_player" } }, { "question": "what is the #money rank of the poker player# with the highest #earnings# ?", "db_id": "poker_player", "orig_query": "select money_rank from poker_player order by earnings desc limit 1", "schema_with_content": "poker_player : financial_position (58.0, 141.0, 166.0), final_table_made (26.0, 26.0, 10.0), poker_player_id (1, 2, 4), cash_ranking (58.0, 141.0, 166.0), earnings (142800.0, 104871.0, 142800.0), best_finish (1.0, 2.0, 3.0), people_id (2, 7, 7) | people : birth_date (\"August 8, 1986\", \"January 22, 1987\", \"May 26, 1986\"), name (\"Maksim Botin\", \"Sergey Grankin\", \"Teodor Salparov\"), nationality (\"Russia\", \"Bulgaria\"), height (194.0, 196.0, 205.0), people_id (1, 2, 1)", "schema_without_content": "poker_player : financial_position , final_table_made , poker_player_id , cash_ranking , earnings , best_finish , people_id | people : birth_date , name , nationality , height , people_id", "extra_map": { "poker_player": { "money_rank": [ "cash_ranking", "financial_position" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "earnings", "cash_ranking", "financial_position" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "money rank of the poker player": "poker_player.Money_Rank", "earnings": "poker_player.Earnings" } }, { "question": "return the #money rank of the player# with the greatest #earnings# .", "db_id": "poker_player", "orig_query": "select money_rank from poker_player order by earnings desc limit 1", "schema_with_content": "poker_player : financial_position (58.0, 166.0, 166.0), people_id (6, 7, 7), best_finish (1.0, 2.0, 3.0), final_table_made (21.0, 19.0, 19.0), poker_player_id (4, 2, 1), earnings (104871.0, 476090.0, 476090.0), cash_ranking (58.0, 166.0, 166.0) | people : nationality (\"Russia\", \"Bulgaria\"), name (\"Teodor Salparov\", \"Yevgeni Sivozhelez\", \"Roman Bragin\"), people_id (2, 6, 6), height (205.0, 182.0, 194.0), birth_date (\"April 17, 1987\", \"February 8, 1981\", \"April 17, 1987\")", "schema_without_content": "poker_player : financial_position , people_id , best_finish , final_table_made , poker_player_id , earnings , cash_ranking | people : nationality , name , people_id , height , birth_date", "extra_map": { "poker_player": { "money_rank": [ "cash_ranking", "financial_position" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "earnings", "cash_ranking", "financial_position" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "money rank of the player": "poker_player.Money_Rank", "earnings": "poker_player.Earnings" } }, { "question": "what is the #maximum number of final tables made# among #poker players with earnings# less than 200000?", "db_id": "poker_player", "orig_query": "select max(final_table_made) from poker_player where earnings < 200000", "schema_with_content": "poker_player : best_finish (1.0, 2.0, 3.0), poker_player_id (2, 1, 3), people_id (6, 1, 5), last_round_table (42.0, 21.0, 42.0), money_rank (68.0, 154.0, 154.0), endgame_table (42.0, 21.0, 42.0), earnings (104871.0, 142800.0, 104871.0) | people : people_id (2, 5, 2), height (196.0, 196.0, 207.0), name (\"Teodor Salparov\", \"Maksim Botin\", \"Sergey Grankin\"), birth_date (\"April 17, 1987\", \"August 16, 1982\", \"August 16, 1982\"), nationality (\"Russia\", \"Bulgaria\")", "schema_without_content": "poker_player : best_finish , poker_player_id , people_id , last_round_table , money_rank , endgame_table , earnings | people : people_id , height , name , birth_date , nationality", "extra_map": { "poker_player": { "final_table_made": [ "last_round_table", "endgame_table" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "best_finish", "money_rank", "earnings", "last_round_table", "endgame_table" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "maximum number of final tables made": "poker_player.Final_Table_Made", "poker players with earnings": "poker_player.Earnings" } }, { "question": "return the #maximum final tables made# across all #poker players# who have #earnings# below 200000.", "db_id": "poker_player", "orig_query": "select max(final_table_made) from poker_player where earnings < 200000", "schema_with_content": "poker_player : best_finish (1.0, 2.0, 3.0), last_round_table (42.0, 21.0, 21.0), money_rank (68.0, 141.0, 166.0), endgame_table (42.0, 21.0, 21.0), poker_player_id (4, 4, 3), earnings (104871.0, 596462.0, 596462.0), people_id (6, 7, 6) | people : nationality (\"Russia\", \"Bulgaria\"), birth_date (\"July 14, 1983\", \"July 14, 1983\", \"May 26, 1986\"), people_id (1, 5, 6), height (196.0, 194.0, 187.0), name (\"Semen Poltavskiy\", \"Teodor Salparov\", \"Maksim Botin\")", "schema_without_content": "poker_player : best_finish , last_round_table , money_rank , endgame_table , poker_player_id , earnings , people_id | people : nationality , birth_date , people_id , height , name", "extra_map": { "poker_player": { "final_table_made": [ "last_round_table", "endgame_table" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "best_finish", "money_rank", "earnings", "last_round_table", "endgame_table" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "maximum final tables made": "poker_player.Final_Table_Made", "poker players": "poker_player", "earnings": "poker_player.Earnings" } }, { "question": "what are the #names of poker players# ?", "db_id": "poker_player", "orig_query": "select t1.name from people as t1 join poker_player as t2 on t1.people_id = t2.people_id", "schema_with_content": "poker_player : money_rank (154.0, 58.0, 141.0), earnings (596462.0, 189233.0, 142800.0), people_id (6, 2, 1), final_table_made (21.0, 21.0, 26.0), best_finish (1.0, 2.0, 3.0), poker_player_id (3, 1, 4) | people : full_name (\"Yevgeni Sivozhelez\", \"Semen Poltavskiy\", \"Teodor Salparov\"), people_id (7, 6, 5), complete_name (\"Yevgeni Sivozhelez\", \"Semen Poltavskiy\", \"Teodor Salparov\"), birth_date (\"August 8, 1986\", \"July 14, 1983\", \"February 8, 1981\"), height (187.0, 182.0, 187.0), nationality (\"Russia\", \"Bulgaria\")", "schema_without_content": "poker_player : money_rank , earnings , people_id , final_table_made , best_finish , poker_player_id | people : full_name , people_id , complete_name , birth_date , height , nationality", "extra_map": { "people": { "name": [ "full_name", "complete_name" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "birth_date", "height", "full_name", "complete_name" ] }, "column_linking_gt": { "names of poker players": "people.Name" } }, { "question": "return the #names of all the poker players# .", "db_id": "poker_player", "orig_query": "select t1.name from people as t1 join poker_player as t2 on t1.people_id = t2.people_id", "schema_with_content": "poker_player : final_table_made (21.0, 26.0, 42.0), money_rank (68.0, 154.0, 58.0), best_finish (1.0, 2.0, 3.0), poker_player_id (1, 4, 2), earnings (104871.0, 476090.0, 596462.0), people_id (7, 1, 6) | people : full_name (\"Roman Bragin\", \"Sergey Grankin\", \"Aleksey Ostapenko\"), height (196.0, 193.0, 207.0), birth_date (\"April 17, 1987\", \"May 26, 1986\", \"July 14, 1983\"), nationality (\"Russia\", \"Bulgaria\"), people_id (5, 2, 3), complete_name (\"Roman Bragin\", \"Sergey Grankin\", \"Aleksey Ostapenko\")", "schema_without_content": "poker_player : final_table_made , money_rank , best_finish , poker_player_id , earnings , people_id | people : full_name , height , birth_date , nationality , people_id , complete_name", "extra_map": { "people": { "name": [ "full_name", "complete_name" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "birth_date", "height", "full_name", "complete_name" ] }, "column_linking_gt": { "names of all the poker players": "people.Name" } }, { "question": "what are the #names of poker players# whose #earnings# is higher than 300000?", "db_id": "poker_player", "orig_query": "select t1.name from people as t1 join poker_player as t2 on t1.people_id = t2.people_id where t2.earnings > 300000", "schema_with_content": "poker_player : earnings (476090.0, 189233.0, 104871.0), final_table_made (26.0, 42.0, 21.0), money_rank (58.0, 166.0, 166.0), people_id (7, 5, 5), poker_player_id (4, 2, 3), best_finish (1.0, 2.0, 3.0) | people : birth_date (\"August 8, 1986\", \"August 16, 1982\", \"July 14, 1983\"), nationality (\"Russia\", \"Bulgaria\"), height (196.0, 205.0, 182.0), people_id (7, 1, 6), full_name (\"Roman Bragin\", \"Aleksey Ostapenko\", \"Teodor Salparov\"), complete_name (\"Roman Bragin\", \"Aleksey Ostapenko\", \"Teodor Salparov\")", "schema_without_content": "poker_player : earnings , final_table_made , money_rank , people_id , poker_player_id , best_finish | people : birth_date , nationality , height , people_id , full_name , complete_name", "extra_map": { "people": { "name": [ "full_name", "complete_name" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "birth_date", "height", "full_name", "complete_name" ] }, "column_linking_gt": { "names of poker players": "people.Name", "earnings": "poker_player.Earnings" } }, { "question": "give the #names of poker players# who have #earnings# above 300000.", "db_id": "poker_player", "orig_query": "select t1.name from people as t1 join poker_player as t2 on t1.people_id = t2.people_id where t2.earnings > 300000", "schema_with_content": "poker_player : people_id (7, 5, 5), final_table_made (10.0, 21.0, 10.0), money_rank (68.0, 141.0, 141.0), earnings (476090.0, 596462.0, 142800.0), best_finish (1.0, 2.0, 3.0), poker_player_id (1, 4, 3) | people : full_name (\"Semen Poltavskiy\", \"Teodor Salparov\", \"Roman Bragin\"), birth_date (\"January 22, 1987\", \"February 8, 1981\", \"February 8, 1981\"), people_id (7, 3, 2), height (196.0, 205.0, 182.0), complete_name (\"Semen Poltavskiy\", \"Teodor Salparov\", \"Roman Bragin\"), nationality (\"Russia\", \"Bulgaria\")", "schema_without_content": "poker_player : people_id , final_table_made , money_rank , earnings , best_finish , poker_player_id | people : full_name , birth_date , people_id , height , complete_name , nationality", "extra_map": { "people": { "name": [ "full_name", "complete_name" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "birth_date", "height", "full_name", "complete_name" ] }, "column_linking_gt": { "names of poker players": "people.Name", "earnings": "poker_player.Earnings" } }, { "question": "list the #names of poker players# ordered by the #final tables made# in ascending order.", "db_id": "poker_player", "orig_query": "select t1.name from people as t1 join poker_player as t2 on t1.people_id = t2.people_id order by t2.final_table_made", "schema_with_content": "poker_player : final_table_made (10.0, 10.0, 26.0), best_finish (1.0, 2.0, 3.0), earnings (189233.0, 596462.0, 476090.0), people_id (7, 2, 2), poker_player_id (1, 2, 3), money_rank (141.0, 154.0, 141.0) | people : people_id (6, 6, 7), height (193.0, 182.0, 193.0), nationality (\"Russia\", \"Bulgaria\"), complete_name (\"Sergey Grankin\", \"Semen Poltavskiy\", \"Roman Bragin\"), birth_date (\"July 14, 1983\", \"July 14, 1983\", \"August 16, 1982\"), full_name (\"Sergey Grankin\", \"Semen Poltavskiy\", \"Roman Bragin\")", "schema_without_content": "poker_player : final_table_made , best_finish , earnings , people_id , poker_player_id , money_rank | people : people_id , height , nationality , complete_name , birth_date , full_name", "extra_map": { "people": { "name": [ "full_name", "complete_name" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "birth_date", "height", "full_name", "complete_name" ] }, "column_linking_gt": { "names of poker players": "people.Name", "final tables made": "poker_player.Final_Table_Made" } }, { "question": "what are the #names of poker players# , ordered ascending by the number of #final tables they have made# ?", "db_id": "poker_player", "orig_query": "select t1.name from people as t1 join poker_player as t2 on t1.people_id = t2.people_id order by t2.final_table_made", "schema_with_content": "poker_player : earnings (596462.0, 596462.0, 596462.0), best_finish (1.0, 2.0, 3.0), poker_player_id (2, 4, 2), money_rank (154.0, 58.0, 58.0), people_id (5, 7, 5), final_table_made (42.0, 19.0, 19.0) | people : nationality (\"Russia\", \"Bulgaria\"), birth_date (\"May 26, 1986\", \"August 16, 1982\", \"August 8, 1986\"), people_id (3, 3, 1), complete_name (\"Sergey Grankin\", \"Aleksey Ostapenko\", \"Teodor Salparov\"), height (194.0, 187.0, 187.0), full_name (\"Sergey Grankin\", \"Aleksey Ostapenko\", \"Teodor Salparov\")", "schema_without_content": "poker_player : earnings , best_finish , poker_player_id , money_rank , people_id , final_table_made | people : nationality , birth_date , people_id , complete_name , height , full_name", "extra_map": { "people": { "name": [ "full_name", "complete_name" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "birth_date", "height", "full_name", "complete_name" ] }, "column_linking_gt": { "names of poker players": "people.Name", "final tables they have made": "poker_player.Final_Table_Made" } }, { "question": "what is the #birth date of the poker player# with the lowest #earnings# ?", "db_id": "poker_player", "orig_query": "select t1.birth_date from people as t1 join poker_player as t2 on t1.people_id = t2.people_id order by t2.earnings asc limit 1", "schema_with_content": "poker_player : people_id (7, 5, 5), earnings (476090.0, 104871.0, 142800.0), best_finish (1.0, 2.0, 3.0), poker_player_id (2, 5, 2), final_table_made (26.0, 26.0, 26.0), money_rank (154.0, 58.0, 68.0) | people : nationality (\"Russia\", \"Bulgaria\"), name (\"Yevgeni Sivozhelez\", \"Semen Poltavskiy\", \"Maksim Botin\"), height (187.0, 193.0, 194.0), people_id (3, 6, 3), date_of_birth (\"February 8, 1981\", \"January 22, 1987\", \"February 8, 1981\"), birthday (\"February 8, 1981\", \"January 22, 1987\", \"February 8, 1981\")", "schema_without_content": "poker_player : people_id , earnings , best_finish , poker_player_id , final_table_made , money_rank | people : nationality , name , height , people_id , date_of_birth , birthday", "extra_map": { "people": { "birth_date": [ "date_of_birth", "birthday" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "name", "height", "date_of_birth", "birthday" ] }, "column_linking_gt": { "birth date of the poker player": "people.Birth_Date", "earnings": "poker_player.Earnings" } }, { "question": "return the #birth date of the poker player# with the lowest #earnings# .", "db_id": "poker_player", "orig_query": "select t1.birth_date from people as t1 join poker_player as t2 on t1.people_id = t2.people_id order by t2.earnings asc limit 1", "schema_with_content": "poker_player : best_finish (1.0, 2.0, 3.0), poker_player_id (4, 3, 5), earnings (142800.0, 189233.0, 596462.0), final_table_made (10.0, 42.0, 19.0), money_rank (154.0, 166.0, 141.0), people_id (7, 2, 7) | people : people_id (4, 2, 3), nationality (\"Russia\", \"Bulgaria\"), name (\"Semen Poltavskiy\", \"Sergey Grankin\", \"Sergey Grankin\"), height (207.0, 182.0, 182.0), date_of_birth (\"January 22, 1987\", \"May 26, 1986\", \"August 8, 1986\"), birthday (\"January 22, 1987\", \"May 26, 1986\", \"August 8, 1986\")", "schema_without_content": "poker_player : best_finish , poker_player_id , earnings , final_table_made , money_rank , people_id | people : people_id , nationality , name , height , date_of_birth , birthday", "extra_map": { "people": { "birth_date": [ "date_of_birth", "birthday" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "name", "height", "date_of_birth", "birthday" ] }, "column_linking_gt": { "birth date of the poker player": "people.Birth_Date", "earnings": "poker_player.Earnings" } }, { "question": "what is the #money rank of the tallest poker player# ?", "db_id": "poker_player", "orig_query": "select t2.money_rank from people as t1 join poker_player as t2 on t1.people_id = t2.people_id order by t1.height desc limit 1", "schema_with_content": "poker_player : cash_ranking (58.0, 154.0, 58.0), people_id (2, 2, 1), best_finish (1.0, 2.0, 3.0), poker_player_id (5, 3, 4), final_table_made (26.0, 21.0, 10.0), earnings (104871.0, 104871.0, 142800.0), financial_position (58.0, 154.0, 58.0) | people : birth_date (\"July 14, 1983\", \"August 8, 1986\", \"April 17, 1987\"), name (\"Semen Poltavskiy\", \"Aleksey Ostapenko\", \"Sergey Grankin\"), people_id (2, 2, 2), height (196.0, 194.0, 196.0), nationality (\"Russia\", \"Bulgaria\")", "schema_without_content": "poker_player : cash_ranking , people_id , best_finish , poker_player_id , final_table_made , earnings , financial_position | people : birth_date , name , people_id , height , nationality", "extra_map": { "poker_player": { "money_rank": [ "cash_ranking", "financial_position" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "earnings", "cash_ranking", "financial_position" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "money rank of the tallest poker player": "poker_player.Money_Rank" } }, { "question": "return the #money rank of the poker player# with the greatest #height# .", "db_id": "poker_player", "orig_query": "select t2.money_rank from people as t1 join poker_player as t2 on t1.people_id = t2.people_id order by t1.height desc limit 1", "schema_with_content": "poker_player : poker_player_id (3, 3, 5), people_id (6, 6, 1), earnings (189233.0, 596462.0, 596462.0), final_table_made (10.0, 10.0, 21.0), financial_position (58.0, 58.0, 166.0), best_finish (1.0, 2.0, 3.0), cash_ranking (58.0, 58.0, 166.0) | people : height (207.0, 207.0, 193.0), people_id (4, 3, 4), name (\"Maksim Botin\", \"Teodor Salparov\", \"Yevgeni Sivozhelez\"), nationality (\"Russia\", \"Bulgaria\"), birth_date (\"February 8, 1981\", \"February 8, 1981\", \"January 22, 1987\")", "schema_without_content": "poker_player : poker_player_id , people_id , earnings , final_table_made , financial_position , best_finish , cash_ranking | people : height , people_id , name , nationality , birth_date", "extra_map": { "poker_player": { "money_rank": [ "cash_ranking", "financial_position" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "earnings", "cash_ranking", "financial_position" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "money rank of the poker player": "poker_player.Money_Rank", "height": "people.Height" } }, { "question": "what is the #average earnings of poker players with height# higher than 200?", "db_id": "poker_player", "orig_query": "select avg(t2.earnings) from people as t1 join poker_player as t2 on t1.people_id = t2.people_id where t1.height > 200", "schema_with_content": "poker_player : income (104871.0, 596462.0, 189233.0), money_rank (166.0, 68.0, 58.0), poker_player_id (4, 5, 2), final_table_made (10.0, 10.0, 19.0), people_id (2, 7, 1), best_finish (1.0, 2.0, 3.0), revenue (104871.0, 596462.0, 189233.0) | people : height (182.0, 194.0, 187.0), people_id (4, 3, 2), nationality (\"Russia\", \"Bulgaria\"), name (\"Aleksey Ostapenko\", \"Sergey Grankin\", \"Aleksey Ostapenko\"), birth_date (\"May 26, 1986\", \"January 22, 1987\", \"April 17, 1987\")", "schema_without_content": "poker_player : income , money_rank , poker_player_id , final_table_made , people_id , best_finish , revenue | people : height , people_id , nationality , name , birth_date", "extra_map": { "poker_player": { "earnings": [ "income", "revenue" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "income", "revenue" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "average earnings of poker players with height": "poker_player.Earnings" } }, { "question": "give #average earnings of poker players# who are #taller than 200# .", "db_id": "poker_player", "orig_query": "select avg(t2.earnings) from people as t1 join poker_player as t2 on t1.people_id = t2.people_id where t1.height > 200", "schema_with_content": "poker_player : income (476090.0, 104871.0, 596462.0), final_table_made (10.0, 26.0, 21.0), poker_player_id (2, 1, 5), best_finish (1.0, 2.0, 3.0), revenue (476090.0, 104871.0, 596462.0), people_id (7, 2, 2), money_rank (154.0, 166.0, 141.0) | people : birth_date (\"July 14, 1983\", \"January 22, 1987\", \"January 22, 1987\"), nationality (\"Russia\", \"Bulgaria\"), people_id (2, 1, 4), name (\"Roman Bragin\", \"Semen Poltavskiy\", \"Maksim Botin\"), height (182.0, 194.0, 193.0)", "schema_without_content": "poker_player : income , final_table_made , poker_player_id , best_finish , revenue , people_id , money_rank | people : birth_date , nationality , people_id , name , height", "extra_map": { "poker_player": { "earnings": [ "income", "revenue" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "income", "revenue" ], "people": [ "people_id", "nationality", "name", "birth_date", "height" ] }, "column_linking_gt": { "average earnings of poker players": "poker_player.Earnings", "taller than 200": "people.Height" } }, { "question": "what are the #names of poker players# in descending order of #earnings# ?", "db_id": "poker_player", "orig_query": "select t1.name from people as t1 join poker_player as t2 on t1.people_id = t2.people_id order by t2.earnings desc", "schema_with_content": "poker_player : people_id (5, 6, 2), earnings (596462.0, 142800.0, 596462.0), poker_player_id (4, 4, 1), money_rank (141.0, 141.0, 58.0), best_finish (1.0, 2.0, 3.0), final_table_made (21.0, 21.0, 19.0) | people : nationality (\"Russia\", \"Bulgaria\"), people_id (7, 1, 4), height (193.0, 194.0, 194.0), birth_date (\"August 8, 1986\", \"May 26, 1986\", \"May 26, 1986\"), full_name (\"Semen Poltavskiy\", \"Yevgeni Sivozhelez\", \"Roman Bragin\"), complete_name (\"Semen Poltavskiy\", \"Yevgeni Sivozhelez\", \"Roman Bragin\")", "schema_without_content": "poker_player : people_id , earnings , poker_player_id , money_rank , best_finish , final_table_made | people : nationality , people_id , height , birth_date , full_name , complete_name", "extra_map": { "people": { "name": [ "full_name", "complete_name" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "birth_date", "height", "full_name", "complete_name" ] }, "column_linking_gt": { "names of poker players": "people.Name", "earnings": "poker_player.Earnings" } }, { "question": "return the #names of poker players# sorted by their #earnings# descending.", "db_id": "poker_player", "orig_query": "select t1.name from people as t1 join poker_player as t2 on t1.people_id = t2.people_id order by t2.earnings desc", "schema_with_content": "poker_player : final_table_made (26.0, 26.0, 42.0), poker_player_id (4, 1, 4), people_id (2, 5, 2), earnings (596462.0, 104871.0, 596462.0), money_rank (154.0, 166.0, 154.0), best_finish (1.0, 2.0, 3.0) | people : height (196.0, 193.0, 207.0), complete_name (\"Aleksey Ostapenko\", \"Teodor Salparov\", \"Yevgeni Sivozhelez\"), people_id (1, 1, 7), nationality (\"Russia\", \"Bulgaria\"), birth_date (\"August 8, 1986\", \"February 8, 1981\", \"April 17, 1987\"), full_name (\"Aleksey Ostapenko\", \"Teodor Salparov\", \"Yevgeni Sivozhelez\")", "schema_without_content": "poker_player : final_table_made , poker_player_id , people_id , earnings , money_rank , best_finish | people : height , complete_name , people_id , nationality , birth_date , full_name", "extra_map": { "people": { "name": [ "full_name", "complete_name" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "birth_date", "height", "full_name", "complete_name" ] }, "column_linking_gt": { "names of poker players": "people.Name", "earnings": "poker_player.Earnings" } }, { "question": "what are different #nationalities of people# and the corresponding number of people from each nation?", "db_id": "poker_player", "orig_query": "select nationality, count(*) from people group by nationality", "schema_with_content": "poker_player : poker_player_id (3, 3, 1), best_finish (1.0, 2.0, 3.0), money_rank (166.0, 68.0, 166.0), final_table_made (26.0, 26.0, 19.0), earnings (104871.0, 189233.0, 596462.0), people_id (1, 2, 5) | people : country (\"Russia\", \"Bulgaria\"), name (\"Teodor Salparov\", \"Sergey Grankin\", \"Roman Bragin\"), people_id (3, 5, 5), citizenship (\"Russia\", \"Bulgaria\"), birth_date (\"April 17, 1987\", \"April 17, 1987\", \"February 8, 1981\"), height (205.0, 193.0, 196.0)", "schema_without_content": "poker_player : poker_player_id , best_finish , money_rank , final_table_made , earnings , people_id | people : country , name , people_id , citizenship , birth_date , height", "extra_map": { "people": { "nationality": [ "country", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "name", "birth_date", "height", "country", "citizenship" ] }, "column_linking_gt": { "nationalities of people": "people.Nationality", "people": "people" } }, { "question": "how many #people# are there of each #nationality# ?", "db_id": "poker_player", "orig_query": "select nationality, count(*) from people group by nationality", "schema_with_content": "poker_player : best_finish (1.0, 2.0, 3.0), money_rank (166.0, 154.0, 68.0), earnings (189233.0, 476090.0, 189233.0), poker_player_id (2, 3, 5), people_id (5, 5, 7), final_table_made (10.0, 10.0, 26.0) | people : height (187.0, 194.0, 194.0), name (\"Roman Bragin\", \"Sergey Grankin\", \"Aleksey Ostapenko\"), people_id (5, 3, 5), country (\"Russia\", \"Bulgaria\"), citizenship (\"Russia\", \"Bulgaria\"), birth_date (\"July 14, 1983\", \"April 17, 1987\", \"May 26, 1986\")", "schema_without_content": "poker_player : best_finish , money_rank , earnings , poker_player_id , people_id , final_table_made | people : height , name , people_id , country , citizenship , birth_date", "extra_map": { "people": { "nationality": [ "country", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "name", "birth_date", "height", "country", "citizenship" ] }, "column_linking_gt": { "people": "people", "nationality": "people.Nationality" } }, { "question": "what is the most common #nationality of people# ?", "db_id": "poker_player", "orig_query": "select nationality from people group by nationality order by count(*) desc limit 1", "schema_with_content": "poker_player : money_rank (154.0, 154.0, 141.0), people_id (6, 6, 5), earnings (142800.0, 476090.0, 104871.0), best_finish (1.0, 2.0, 3.0), final_table_made (19.0, 26.0, 21.0), poker_player_id (3, 5, 2) | people : country (\"Russia\", \"Bulgaria\"), citizenship (\"Russia\", \"Bulgaria\"), height (205.0, 196.0, 182.0), birth_date (\"April 17, 1987\", \"February 8, 1981\", \"May 26, 1986\"), people_id (2, 4, 4), name (\"Maksim Botin\", \"Semen Poltavskiy\", \"Roman Bragin\")", "schema_without_content": "poker_player : money_rank , people_id , earnings , best_finish , final_table_made , poker_player_id | people : country , citizenship , height , birth_date , people_id , name", "extra_map": { "people": { "nationality": [ "country", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "name", "birth_date", "height", "country", "citizenship" ] }, "column_linking_gt": { "nationality of people": "people.Nationality" } }, { "question": "give the #nationality# that is most common across all #people# .", "db_id": "poker_player", "orig_query": "select nationality from people group by nationality order by count(*) desc limit 1", "schema_with_content": "poker_player : money_rank (58.0, 154.0, 166.0), poker_player_id (2, 2, 5), best_finish (1.0, 2.0, 3.0), earnings (142800.0, 142800.0, 596462.0), final_table_made (19.0, 19.0, 26.0), people_id (1, 1, 7) | people : citizenship (\"Russia\", \"Bulgaria\"), name (\"Aleksey Ostapenko\", \"Semen Poltavskiy\", \"Maksim Botin\"), height (194.0, 196.0, 194.0), birth_date (\"February 8, 1981\", \"May 26, 1986\", \"August 16, 1982\"), people_id (3, 2, 1), country (\"Russia\", \"Bulgaria\")", "schema_without_content": "poker_player : money_rank , poker_player_id , best_finish , earnings , final_table_made , people_id | people : citizenship , name , height , birth_date , people_id , country", "extra_map": { "people": { "nationality": [ "country", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "name", "birth_date", "height", "country", "citizenship" ] }, "column_linking_gt": { "nationality": "people.Nationality", "people": "people" } }, { "question": "what are the #nationalities# that are shared by at least two #people# ?", "db_id": "poker_player", "orig_query": "select nationality from people group by nationality having count(*) >= 2", "schema_with_content": "poker_player : poker_player_id (4, 1, 5), people_id (6, 6, 7), earnings (142800.0, 104871.0, 189233.0), final_table_made (42.0, 10.0, 19.0), best_finish (1.0, 2.0, 3.0), money_rank (141.0, 68.0, 68.0) | people : citizenship (\"Russia\", \"Bulgaria\"), height (207.0, 182.0, 187.0), people_id (1, 3, 6), name (\"Sergey Grankin\", \"Teodor Salparov\", \"Teodor Salparov\"), birth_date (\"August 8, 1986\", \"April 17, 1987\", \"July 14, 1983\"), country (\"Russia\", \"Bulgaria\")", "schema_without_content": "poker_player : poker_player_id , people_id , earnings , final_table_made , best_finish , money_rank | people : citizenship , height , people_id , name , birth_date , country", "extra_map": { "people": { "nationality": [ "country", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "name", "birth_date", "height", "country", "citizenship" ] }, "column_linking_gt": { "nationalities": "people.Nationality", "people": "people" } }, { "question": "return the #nationalities# for which there are two or more #people# .", "db_id": "poker_player", "orig_query": "select nationality from people group by nationality having count(*) >= 2", "schema_with_content": "poker_player : people_id (2, 6, 1), money_rank (58.0, 68.0, 141.0), best_finish (1.0, 2.0, 3.0), final_table_made (26.0, 21.0, 21.0), earnings (189233.0, 596462.0, 104871.0), poker_player_id (3, 4, 1) | people : people_id (4, 6, 1), citizenship (\"Russia\", \"Bulgaria\"), height (187.0, 182.0, 194.0), birth_date (\"April 17, 1987\", \"May 26, 1986\", \"July 14, 1983\"), country (\"Russia\", \"Bulgaria\"), name (\"Yevgeni Sivozhelez\", \"Roman Bragin\", \"Aleksey Ostapenko\")", "schema_without_content": "poker_player : people_id , money_rank , best_finish , final_table_made , earnings , poker_player_id | people : people_id , citizenship , height , birth_date , country , name", "extra_map": { "people": { "nationality": [ "country", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "name", "birth_date", "height", "country", "citizenship" ] }, "column_linking_gt": { "nationalities": "people.Nationality", "people": "people" } }, { "question": "list the #names# and #birth dates of people# in ascending alphabetical order of name.", "db_id": "poker_player", "orig_query": "select name, birth_date from people order by name asc", "schema_with_content": "poker_player : earnings (189233.0, 596462.0, 596462.0), final_table_made (21.0, 21.0, 19.0), people_id (5, 7, 1), best_finish (1.0, 2.0, 3.0), money_rank (141.0, 154.0, 141.0), poker_player_id (5, 4, 4) | people : height (194.0, 205.0, 193.0), complete_name (\"Roman Bragin\", \"Maksim Botin\", \"Sergey Grankin\"), birth_date (\"August 16, 1982\", \"February 8, 1981\", \"February 8, 1981\"), people_id (3, 4, 1), nationality (\"Russia\", \"Bulgaria\"), full_name (\"Roman Bragin\", \"Maksim Botin\", \"Sergey Grankin\")", "schema_without_content": "poker_player : earnings , final_table_made , people_id , best_finish , money_rank , poker_player_id | people : height , complete_name , birth_date , people_id , nationality , full_name", "extra_map": { "people": { "name": [ "full_name", "complete_name" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "birth_date", "height", "full_name", "complete_name" ] }, "column_linking_gt": { "names": "people.Name", "birth dates of people": "people.Birth_Date" } }, { "question": "list the #names# and #birth dates of people# in ascending alphabetical order of name.", "db_id": "poker_player", "orig_query": "select name, birth_date from people order by name asc", "schema_with_content": "poker_player : people_id (2, 5, 7), poker_player_id (3, 4, 5), best_finish (1.0, 2.0, 3.0), money_rank (68.0, 68.0, 141.0), earnings (596462.0, 596462.0, 596462.0), final_table_made (21.0, 21.0, 10.0) | people : name (\"Aleksey Ostapenko\", \"Maksim Botin\", \"Sergey Grankin\"), height (194.0, 194.0, 182.0), date_of_birth (\"January 22, 1987\", \"February 8, 1981\", \"February 8, 1981\"), birthday (\"January 22, 1987\", \"February 8, 1981\", \"February 8, 1981\"), nationality (\"Russia\", \"Bulgaria\"), people_id (1, 5, 7)", "schema_without_content": "poker_player : people_id , poker_player_id , best_finish , money_rank , earnings , final_table_made | people : name , height , date_of_birth , birthday , nationality , people_id", "extra_map": { "people": { "birth_date": [ "date_of_birth", "birthday" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "name", "height", "date_of_birth", "birthday" ] }, "column_linking_gt": { "names": "people.Name", "birth dates of people": "people.Birth_Date" } }, { "question": "what are the #names# and #birth dates of people# , ordered by their names in alphabetical order?", "db_id": "poker_player", "orig_query": "select name, birth_date from people order by name asc", "schema_with_content": "poker_player : poker_player_id (4, 1, 1), best_finish (1.0, 2.0, 3.0), money_rank (166.0, 58.0, 166.0), people_id (5, 1, 1), earnings (596462.0, 189233.0, 142800.0), final_table_made (10.0, 19.0, 19.0) | people : nationality (\"Russia\", \"Bulgaria\"), people_id (6, 4, 7), height (194.0, 182.0, 194.0), complete_name (\"Teodor Salparov\", \"Maksim Botin\", \"Teodor Salparov\"), full_name (\"Teodor Salparov\", \"Maksim Botin\", \"Teodor Salparov\"), birth_date (\"August 8, 1986\", \"February 8, 1981\", \"July 14, 1983\")", "schema_without_content": "poker_player : poker_player_id , best_finish , money_rank , people_id , earnings , final_table_made | people : nationality , people_id , height , complete_name , full_name , birth_date", "extra_map": { "people": { "name": [ "full_name", "complete_name" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "birth_date", "height", "full_name", "complete_name" ] }, "column_linking_gt": { "names": "people.Name", "birth dates of people": "people.Birth_Date" } }, { "question": "what are the #names# and #birth dates of people# , ordered by their names in alphabetical order?", "db_id": "poker_player", "orig_query": "select name, birth_date from people order by name asc", "schema_with_content": "poker_player : poker_player_id (1, 4, 5), earnings (189233.0, 142800.0, 189233.0), money_rank (141.0, 68.0, 141.0), people_id (7, 2, 5), final_table_made (10.0, 10.0, 10.0), best_finish (1.0, 2.0, 3.0) | people : birthday (\"May 26, 1986\", \"January 22, 1987\", \"August 8, 1986\"), name (\"Teodor Salparov\", \"Teodor Salparov\", \"Yevgeni Sivozhelez\"), date_of_birth (\"May 26, 1986\", \"January 22, 1987\", \"August 8, 1986\"), nationality (\"Russia\", \"Bulgaria\"), people_id (3, 2, 5), height (196.0, 205.0, 205.0)", "schema_without_content": "poker_player : poker_player_id , earnings , money_rank , people_id , final_table_made , best_finish | people : birthday , name , date_of_birth , nationality , people_id , height", "extra_map": { "people": { "birth_date": [ "date_of_birth", "birthday" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "name", "height", "date_of_birth", "birthday" ] }, "column_linking_gt": { "names": "people.Name", "birth dates of people": "people.Birth_Date" } }, { "question": "show #names of people# whose #nationality# is not \"russia\".", "db_id": "poker_player", "orig_query": "select name from people where nationality != \"Russia\"", "schema_with_content": "poker_player : poker_player_id (5, 1, 3), money_rank (154.0, 154.0, 68.0), final_table_made (26.0, 42.0, 21.0), best_finish (1.0, 2.0, 3.0), earnings (104871.0, 189233.0, 104871.0), people_id (6, 5, 2) | people : full_name (\"Semen Poltavskiy\", \"Sergey Grankin\", \"Aleksey Ostapenko\"), nationality (\"Russia\", \"Bulgaria\"), complete_name (\"Semen Poltavskiy\", \"Sergey Grankin\", \"Aleksey Ostapenko\"), people_id (6, 4, 2), birth_date (\"February 8, 1981\", \"May 26, 1986\", \"February 8, 1981\"), height (207.0, 207.0, 187.0)", "schema_without_content": "poker_player : poker_player_id , money_rank , final_table_made , best_finish , earnings , people_id | people : full_name , nationality , complete_name , people_id , birth_date , height", "extra_map": { "people": { "name": [ "full_name", "complete_name" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "birth_date", "height", "full_name", "complete_name" ] }, "column_linking_gt": { "names of people": "people.Name", "nationality": "people.Nationality" } }, { "question": "what are the #names of people# who are not from #russia# ?", "db_id": "poker_player", "orig_query": "select name from people where nationality != \"Russia\"", "schema_with_content": "poker_player : people_id (5, 5, 7), money_rank (68.0, 166.0, 154.0), earnings (596462.0, 142800.0, 189233.0), final_table_made (42.0, 10.0, 19.0), poker_player_id (5, 4, 1), best_finish (1.0, 2.0, 3.0) | people : people_id (3, 7, 1), full_name (\"Teodor Salparov\", \"Aleksey Ostapenko\", \"Teodor Salparov\"), birth_date (\"January 22, 1987\", \"May 26, 1986\", \"August 16, 1982\"), complete_name (\"Teodor Salparov\", \"Aleksey Ostapenko\", \"Teodor Salparov\"), nationality (\"Russia\", \"Bulgaria\"), height (196.0, 205.0, 187.0)", "schema_without_content": "poker_player : people_id , money_rank , earnings , final_table_made , poker_player_id , best_finish | people : people_id , full_name , birth_date , complete_name , nationality , height", "extra_map": { "people": { "name": [ "full_name", "complete_name" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "birth_date", "height", "full_name", "complete_name" ] }, "column_linking_gt": { "names of people": "people.Name", "Russia": "people.Nationality" } }, { "question": "list the #names of people# that are not #poker players# .", "db_id": "poker_player", "orig_query": "select name from people where people_id not in (select people_id from poker_player)", "schema_with_content": "poker_player : people_id (2, 5, 5), earnings (596462.0, 104871.0, 142800.0), poker_player_id (3, 4, 1), best_finish (1.0, 2.0, 3.0), final_table_made (21.0, 42.0, 10.0), money_rank (58.0, 68.0, 68.0) | people : nationality (\"Russia\", \"Bulgaria\"), full_name (\"Sergey Grankin\", \"Semen Poltavskiy\", \"Sergey Grankin\"), height (207.0, 194.0, 193.0), complete_name (\"Sergey Grankin\", \"Semen Poltavskiy\", \"Sergey Grankin\"), birth_date (\"April 17, 1987\", \"May 26, 1986\", \"February 8, 1981\"), people_id (3, 2, 3)", "schema_without_content": "poker_player : people_id , earnings , poker_player_id , best_finish , final_table_made , money_rank | people : nationality , full_name , height , complete_name , birth_date , people_id", "extra_map": { "people": { "name": [ "full_name", "complete_name" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "birth_date", "height", "full_name", "complete_name" ] }, "column_linking_gt": { "names of people": "people.Name", "poker players": "poker_player" } }, { "question": "what are the #names of people# who #do not play poker# ?", "db_id": "poker_player", "orig_query": "select name from people where people_id not in (select people_id from poker_player)", "schema_with_content": "poker_player : earnings (104871.0, 596462.0, 596462.0), best_finish (1.0, 2.0, 3.0), people_id (5, 7, 7), money_rank (68.0, 166.0, 68.0), final_table_made (26.0, 26.0, 19.0), poker_player_id (3, 2, 5) | people : height (187.0, 207.0, 196.0), people_id (1, 4, 3), nationality (\"Russia\", \"Bulgaria\"), complete_name (\"Roman Bragin\", \"Roman Bragin\", \"Sergey Grankin\"), birth_date (\"April 17, 1987\", \"August 8, 1986\", \"January 22, 1987\"), full_name (\"Roman Bragin\", \"Roman Bragin\", \"Sergey Grankin\")", "schema_without_content": "poker_player : earnings , best_finish , people_id , money_rank , final_table_made , poker_player_id | people : height , people_id , nationality , complete_name , birth_date , full_name", "extra_map": { "people": { "name": [ "full_name", "complete_name" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "nationality", "birth_date", "height", "full_name", "complete_name" ] }, "column_linking_gt": { "names of people": "people.Name", "do not play poker": "poker_player" } }, { "question": "how many #distinct nationalities# are there?", "db_id": "poker_player", "orig_query": "select count(distinct nationality) from people", "schema_with_content": "poker_player : people_id (2, 1, 7), final_table_made (42.0, 42.0, 10.0), money_rank (166.0, 166.0, 58.0), earnings (104871.0, 189233.0, 104871.0), best_finish (1.0, 2.0, 3.0), poker_player_id (2, 3, 4) | people : country (\"Russia\", \"Bulgaria\"), height (207.0, 207.0, 187.0), people_id (1, 5, 2), birth_date (\"January 22, 1987\", \"August 16, 1982\", \"April 17, 1987\"), name (\"Maksim Botin\", \"Maksim Botin\", \"Maksim Botin\"), citizenship (\"Russia\", \"Bulgaria\")", "schema_without_content": "poker_player : people_id , final_table_made , money_rank , earnings , best_finish , poker_player_id | people : country , height , people_id , birth_date , name , citizenship", "extra_map": { "people": { "nationality": [ "country", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "name", "birth_date", "height", "country", "citizenship" ] }, "column_linking_gt": { "distinct nationalities": "people.Nationality" } }, { "question": "count the number of different #nationalities# .", "db_id": "poker_player", "orig_query": "select count(distinct nationality) from people", "schema_with_content": "poker_player : final_table_made (21.0, 26.0, 42.0), poker_player_id (3, 1, 3), best_finish (1.0, 2.0, 3.0), money_rank (154.0, 166.0, 166.0), people_id (6, 1, 1), earnings (596462.0, 104871.0, 104871.0) | people : birth_date (\"August 16, 1982\", \"August 8, 1986\", \"July 14, 1983\"), citizenship (\"Russia\", \"Bulgaria\"), name (\"Yevgeni Sivozhelez\", \"Aleksey Ostapenko\", \"Yevgeni Sivozhelez\"), country (\"Russia\", \"Bulgaria\"), people_id (5, 2, 6), height (193.0, 207.0, 193.0)", "schema_without_content": "poker_player : final_table_made , poker_player_id , best_finish , money_rank , people_id , earnings | people : birth_date , citizenship , name , country , people_id , height", "extra_map": { "people": { "nationality": [ "country", "citizenship" ] } }, "extra_table_map": null, "db_schema": { "poker_player": [ "poker_player_id", "people_id", "final_table_made", "best_finish", "money_rank", "earnings" ], "people": [ "people_id", "name", "birth_date", "height", "country", "citizenship" ] }, "column_linking_gt": { "nationalities": "people.Nationality" } }, { "question": "list the #contestant numbers# and names, ordered by contestant name descending.", "db_id": "voter_1", "orig_query": "select contestant_number, contestant_name from contestants order by contestant_name desc", "schema_with_content": "area_code_state : state (\"AK\", \"HI\", \"IL\"), area_code (434, 570, 712) | contestants : id (6, 10, 9), entrant_number (6, 10, 9), contestant_name (\"Kurt Walser\", \"Jessie Alloway\", \"Tabatha Gehling\") | votes : state (\"NY\", \"CA\", \"NJ\n\"), contestant_number (2, 3, 5), created (\"2018-03-09 19:03:40\", \"2018-03-09 19:03:21\", \"2018-03-09 19:03:39\"), phone_number (6209222712, 6209222712, 5112677315), vote_id (1, 1, 3)", "schema_without_content": "area_code_state : state , area_code | contestants : id , entrant_number , contestant_name | votes : state , contestant_number , created , phone_number , vote_id", "extra_map": { "contestants": { "contestant_number": [ "id", "entrant_number" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_name", "id", "entrant_number" ], "votes": [ "vote_id", "phone_number", "state", "contestant_number", "created" ] }, "column_linking_gt": { "contestant numbers": "CONTESTANTS.contestant_number", "contestant names": "CONTESTANTS.contestant_name" } }, { "question": "list the #contestant numbers# and names, ordered by contestant name descending.", "db_id": "voter_1", "orig_query": "select contestant_number, contestant_name from contestants order by contestant_name desc", "schema_with_content": "area_code_state : state (\"IA\", \"AR\", \"NE\"), area_code (361, 818, 337) | contestants : applicant_name (\"Jessie Alloway\", \"Jessie Alloway\", \"Tabatha Gehling\"), contestant_number (3, 9, 9), fullname (\"Jessie Alloway\", \"Jessie Alloway\", \"Tabatha Gehling\") | votes : vote_id (1, 5, 3), phone_number (6209222712, 7148407040, 7148407040), contestant_number (2, 3, 5), state (\"NY\", \"CA\", \"NJ\n\"), created (\"2018-03-09 19:03:40\", \"2018-03-09 19:03:39\", \"2018-03-09 19:03:39\")", "schema_without_content": "area_code_state : state , area_code | contestants : applicant_name , contestant_number , fullname | votes : vote_id , phone_number , contestant_number , state , created", "extra_map": { "contestants": { "contestant_name": [ "fullname", "applicant_name" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_number", "fullname", "applicant_name" ], "votes": [ "vote_id", "phone_number", "state", "contestant_number", "created" ] }, "column_linking_gt": { "contestant numbers": "CONTESTANTS.contestant_number", "contestant names": "CONTESTANTS.contestant_name" } }, { "question": "list the #vote ids# , #phone numbers# and s #tates of all votes.# ", "db_id": "voter_1", "orig_query": "select vote_id, phone_number, state from votes", "schema_with_content": "area_code_state : area_code (512, 679, 804), state (\"CA\", \"GA\", \"NM\") | contestants : contestant_number (3, 7, 7), contestant_name (\"Alana Bregman\", \"Jessie Eichman\", \"Jessie Alloway\") | votes : contestant_number (2, 3, 5), state (\"NY\", \"CA\", \"NJ\n\"), ballot_id (3, 3, 1), created (\"2018-03-09 19:03:39\", \"2018-03-09 19:03:40\", \"2018-03-09 19:03:40\"), voting_id (3, 3, 1), phone_number (6209222712, 7148407040, 7182887233)", "schema_without_content": "area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : contestant_number , state , ballot_id , created , voting_id , phone_number", "extra_map": { "votes": { "vote_id": [ "ballot_id", "voting_id" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_number", "contestant_name" ], "votes": [ "phone_number", "state", "contestant_number", "created", "ballot_id", "voting_id" ] }, "column_linking_gt": { "vote ids": "VOTES.vote_id", "phone numbers": "VOTES.phone_number", "tates of all votes.": "VOTES", "states": "VOTES.state" } }, { "question": "list the #vote ids# , #phone numbers# and s #tates of all votes.# ", "db_id": "voter_1", "orig_query": "select vote_id, phone_number, state from votes", "schema_with_content": "area_code_state : state (\"SC\", \"MN\", \"DC\"), area_code (309, 925, 773) | contestants : contestant_name (\"Allie Rogalski\", \"Tabatha Gehling\", \"Nita Coster\"), contestant_number (4, 1, 1) | votes : contestant_number (2, 3, 5), cell_number (7148407040, 7182887233, 6209222712), contact_number (7148407040, 7182887233, 6209222712), created (\"2018-03-09 19:03:39\", \"2018-03-09 19:03:40\", \"2018-03-09 19:03:40\"), vote_id (2, 1, 3), state (\"NY\", \"CA\", \"NJ\n\")", "schema_without_content": "area_code_state : state , area_code | contestants : contestant_name , contestant_number | votes : contestant_number , cell_number , contact_number , created , vote_id , state", "extra_map": { "votes": { "phone_number": [ "cell_number", "contact_number" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_number", "contestant_name" ], "votes": [ "vote_id", "state", "contestant_number", "created", "cell_number", "contact_number" ] }, "column_linking_gt": { "vote ids": "VOTES.vote_id", "phone numbers": "VOTES.phone_number", "tates of all votes.": "VOTES", "states": "VOTES.state" } }, { "question": "list the #vote ids# , #phone numbers# and s #tates of all votes.# ", "db_id": "voter_1", "orig_query": "select vote_id, phone_number, state from votes", "schema_with_content": "area_code_state : area_code (712, 304, 217), state (\"WV\", \"NH\", \"AR\") | contestants : contestant_number (1, 11, 7), contestant_name (\"Loraine NygrenTania Mattioli\", \"Kelly Clauss\", \"Alana Bregman\") | votes : created (\"2018-03-09 19:03:36\", \"2018-03-09 19:03:39\", \"2018-03-09 19:03:36\"), phone_number (6209222712, 7148407040, 5112677315), vote_id (1, 3, 2), territory (\"NY\", \"CA\", \"NJ\n\"), province (\"NY\", \"CA\", \"NJ\n\"), contestant_number (2, 3, 5)", "schema_without_content": "area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : created , phone_number , vote_id , territory , province , contestant_number", "extra_map": { "votes": { "state": [ "province", "territory" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_number", "contestant_name" ], "votes": [ "vote_id", "phone_number", "contestant_number", "created", "province", "territory" ] }, "column_linking_gt": { "vote ids": "VOTES.vote_id", "phone numbers": "VOTES.phone_number", "tates of all votes.": "VOTES", "states": "VOTES.state" } }, { "question": "what are the #maximum and minimum values of area codes# ?", "db_id": "voter_1", "orig_query": "select max(area_code), min(area_code) from area_code_state", "schema_with_content": "area_code_state : zip_code (878, 602, 256), postal_code (878, 602, 256), state (\"KS\", \"MS\", \"CO\") | contestants : contestant_name (\"Nita Coster\", \"Ericka Dieter\", \"Ericka Dieter\"), contestant_number (5, 7, 3) | votes : vote_id (1, 5, 1), created (\"2018-03-09 19:03:21\", \"2018-03-09 19:03:40\", \"2018-03-09 19:03:36\"), phone_number (5112677315, 5112677315, 7182887233), contestant_number (2, 3, 5), state (\"NY\", \"CA\", \"NJ\n\")", "schema_without_content": "area_code_state : zip_code , postal_code , state | contestants : contestant_name , contestant_number | votes : vote_id , created , phone_number , contestant_number , state", "extra_map": { "area_code_state": { "area_code": [ "zip_code", "postal_code" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "state", "zip_code", "postal_code" ], "contestants": [ "contestant_number", "contestant_name" ], "votes": [ "vote_id", "phone_number", "state", "contestant_number", "created" ] }, "column_linking_gt": { "maximum and minimum values of area codes": "AREA_CODE_STATE.area_code" } }, { "question": "what is #last date created of votes# from the #state# 'ca'?", "db_id": "voter_1", "orig_query": "select max(created) from votes where state = 'CA'", "schema_with_content": "area_code_state : area_code (307, 781, 732), state (\"MD\", \"GA\", \"VA\") | contestants : contestant_name (\"Loraine NygrenTania Mattioli\", \"Kelly Clauss\", \"Kelly Clauss\"), contestant_number (3, 6, 6) | votes : vote_id (2, 1, 3), generated (\"2018-03-09 19:03:36\", \"2018-03-09 19:03:39\", \"2018-03-09 19:03:36\"), state (\"NY\", \"CA\", \"NJ\n\"), produced (\"2018-03-09 19:03:36\", \"2018-03-09 19:03:39\", \"2018-03-09 19:03:36\"), phone_number (7148407040, 7148407040, 6209222712), contestant_number (2, 3, 5)", "schema_without_content": "area_code_state : area_code , state | contestants : contestant_name , contestant_number | votes : vote_id , generated , state , produced , phone_number , contestant_number", "extra_map": { "votes": { "created": [ "generated", "produced" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_number", "contestant_name" ], "votes": [ "vote_id", "phone_number", "state", "contestant_number", "generated", "produced" ] }, "column_linking_gt": { "last date created of votes": "votes.created", "state": "votes.state" } }, { "question": "what are the #names of the contestants# whose #names are not 'jessie alloway'# ", "db_id": "voter_1", "orig_query": "select contestant_name from contestants where contestant_name != 'Jessie Alloway'", "schema_with_content": "area_code_state : state (\"VA\", \"MI\", \"AL\"), area_code (832, 464, 209) | contestants : fullname (\"Jessie Alloway\", \"Nita Coster\", \"Allie Rogalski\"), applicant_name (\"Jessie Alloway\", \"Nita Coster\", \"Allie Rogalski\"), contestant_number (10, 8, 3) | votes : vote_id (3, 3, 2), phone_number (7148407040, 7182887233, 7182887233), state (\"NY\", \"CA\", \"NJ\n\"), created (\"2018-03-09 19:03:39\", \"2018-03-09 19:03:40\", \"2018-03-09 19:03:21\"), contestant_number (2, 3, 5)", "schema_without_content": "area_code_state : state , area_code | contestants : fullname , applicant_name , contestant_number | votes : vote_id , phone_number , state , created , contestant_number", "extra_map": { "contestants": { "contestant_name": [ "fullname", "applicant_name" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_number", "fullname", "applicant_name" ], "votes": [ "vote_id", "phone_number", "state", "contestant_number", "created" ] }, "column_linking_gt": { "names of the contestants": "CONTESTANTS.contestant_name", "names are not 'Jessie Alloway'": "CONTESTANTS.contestant_name" } }, { "question": "what are the distinct #states# and #create time of all votes# ?", "db_id": "voter_1", "orig_query": "select distinct state, created from votes", "schema_with_content": "area_code_state : area_code (602, 781, 651), state (\"NH\", \"PA\", \"UT\") | contestants : contestant_name (\"Kelly Clauss\", \"Nita Coster\", \"Tabatha Gehling\"), contestant_number (6, 5, 9) | votes : vote_id (5, 5, 3), contestant_number (2, 3, 5), produced (\"2018-03-09 19:03:40\", \"2018-03-09 19:03:36\", \"2018-03-09 19:03:21\"), phone_number (5112677315, 5112677315, 7148407040), state (\"NY\", \"CA\", \"NJ\n\"), generated (\"2018-03-09 19:03:40\", \"2018-03-09 19:03:36\", \"2018-03-09 19:03:21\")", "schema_without_content": "area_code_state : area_code , state | contestants : contestant_name , contestant_number | votes : vote_id , contestant_number , produced , phone_number , state , generated", "extra_map": { "votes": { "created": [ "generated", "produced" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_number", "contestant_name" ], "votes": [ "vote_id", "phone_number", "state", "contestant_number", "generated", "produced" ] }, "column_linking_gt": { "states": "VOTES.state", "create time of all votes": "VOTES.created" } }, { "question": "what are the distinct #states# and #create time of all votes# ?", "db_id": "voter_1", "orig_query": "select distinct state, created from votes", "schema_with_content": "area_code_state : area_code (915, 480, 719), state (\"IN\", \"CO\", \"WY\") | contestants : contestant_number (9, 9, 3), contestant_name (\"Ericka Dieter\", \"Alana Bregman\", \"Tabatha Gehling\") | votes : created (\"2018-03-09 19:03:40\", \"2018-03-09 19:03:40\", \"2018-03-09 19:03:40\"), vote_id (1, 5, 2), contestant_number (2, 3, 5), province (\"NY\", \"CA\", \"NJ\n\"), territory (\"NY\", \"CA\", \"NJ\n\"), phone_number (5112677315, 7182887233, 7148407040)", "schema_without_content": "area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : created , vote_id , contestant_number , province , territory , phone_number", "extra_map": { "votes": { "state": [ "province", "territory" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_number", "contestant_name" ], "votes": [ "vote_id", "phone_number", "contestant_number", "created", "province", "territory" ] }, "column_linking_gt": { "states": "VOTES.state", "create time of all votes": "VOTES.created" } }, { "question": "what are the #contestant numbers# and names of the contestants who had at least two #votes# ?", "db_id": "voter_1", "orig_query": "select t1.contestant_number, t1.contestant_name from contestants as t1 join votes as t2 on t1.contestant_number = t2.contestant_number group by t1.contestant_number having count(*) >= 2", "schema_with_content": "area_code_state : area_code (952, 865, 386), state (\"ND\", \"OK\", \"AL\") | contestants : id (7, 2, 1), entrant_number (7, 2, 1), contestant_name (\"Nita Coster\", \"Alana Bregman\", \"Jessie Alloway\") | votes : state (\"NY\", \"CA\", \"NJ\n\"), phone_number (5112677315, 7182887233, 5112677315), created (\"2018-03-09 19:03:39\", \"2018-03-09 19:03:39\", \"2018-03-09 19:03:39\"), contestant_number (2, 3, 5), vote_id (3, 5, 2)", "schema_without_content": "area_code_state : area_code , state | contestants : id , entrant_number , contestant_name | votes : state , phone_number , created , contestant_number , vote_id", "extra_map": { "contestants": { "contestant_number": [ "id", "entrant_number" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_name", "id", "entrant_number" ], "votes": [ "vote_id", "phone_number", "state", "contestant_number", "created" ] }, "column_linking_gt": { "contestant numbers": "CONTESTANTS.contestant_number", "votes": "VOTES", "contestant names": "CONTESTANTS.contestant_name" } }, { "question": "what are the #contestant numbers# and names of the contestants who had at least two #votes# ?", "db_id": "voter_1", "orig_query": "select t1.contestant_number, t1.contestant_name from contestants as t1 join votes as t2 on t1.contestant_number = t2.contestant_number group by t1.contestant_number having count(*) >= 2", "schema_with_content": "area_code_state : area_code (580, 669, 601), state (\"WV\", \"SD\", \"WY\") | contestants : fullname (\"Loraine NygrenTania Mattioli\", \"Ericka Dieter\", \"Ericka Dieter\"), contestant_number (11, 8, 10), applicant_name (\"Loraine NygrenTania Mattioli\", \"Ericka Dieter\", \"Ericka Dieter\") | votes : state (\"NY\", \"CA\", \"NJ\n\"), phone_number (5112677315, 7182887233, 6209222712), created (\"2018-03-09 19:03:40\", \"2018-03-09 19:03:36\", \"2018-03-09 19:03:39\"), vote_id (1, 2, 2), contestant_number (2, 3, 5)", "schema_without_content": "area_code_state : area_code , state | contestants : fullname , contestant_number , applicant_name | votes : state , phone_number , created , vote_id , contestant_number", "extra_map": { "contestants": { "contestant_name": [ "fullname", "applicant_name" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_number", "fullname", "applicant_name" ], "votes": [ "vote_id", "phone_number", "state", "contestant_number", "created" ] }, "column_linking_gt": { "contestant numbers": "CONTESTANTS.contestant_number", "votes": "VOTES", "contestant names": "CONTESTANTS.contestant_name" } }, { "question": "of all the #contestants who got voted# , what is the #contestant number# and name of the contestant who got least #votes# ?", "db_id": "voter_1", "orig_query": "select t1.contestant_number, t1.contestant_name from contestants as t1 join votes as t2 on t1.contestant_number = t2.contestant_number group by t1.contestant_number order by count(*) asc limit 1", "schema_with_content": "area_code_state : area_code (562, 574, 310), state (\"MT\", \"GA\", \"ND\") | contestants : contestant_name (\"Edwina Burnam\", \"Loraine NygrenTania Mattioli\", \"Allie Rogalski\"), id (8, 9, 7), entrant_number (8, 9, 7) | votes : vote_id (2, 3, 1), contestant_number (2, 3, 5), created (\"2018-03-09 19:03:40\", \"2018-03-09 19:03:36\", \"2018-03-09 19:03:36\"), phone_number (7148407040, 7182887233, 7148407040), state (\"NY\", \"CA\", \"NJ\n\")", "schema_without_content": "area_code_state : area_code , state | contestants : contestant_name , id , entrant_number | votes : vote_id , contestant_number , created , phone_number , state", "extra_map": { "contestants": { "contestant_number": [ "id", "entrant_number" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_name", "id", "entrant_number" ], "votes": [ "vote_id", "phone_number", "state", "contestant_number", "created" ] }, "column_linking_gt": { "contestants who got voted": "VOTES.contestant_number", "contestant number": "CONTESTANTS.contestant_number", "votes": "VOTES", "contestant name": "CONTESTANTS.contestant_name" } }, { "question": "of all the #contestants who got voted# , what is the #contestant number# and name of the contestant who got least #votes# ?", "db_id": "voter_1", "orig_query": "select t1.contestant_number, t1.contestant_name from contestants as t1 join votes as t2 on t1.contestant_number = t2.contestant_number group by t1.contestant_number order by count(*) asc limit 1", "schema_with_content": "area_code_state : state (\"NE\", \"WA\", \"NC\"), area_code (202, 927, 423) | contestants : contestant_number (8, 6, 8), fullname (\"Edwina Burnam\", \"Edwina Burnam\", \"Kelly Clauss\"), applicant_name (\"Edwina Burnam\", \"Edwina Burnam\", \"Kelly Clauss\") | votes : vote_id (2, 5, 3), contestant_number (2, 3, 5), phone_number (6209222712, 7148407040, 6209222712), state (\"NY\", \"CA\", \"NJ\n\"), created (\"2018-03-09 19:03:40\", \"2018-03-09 19:03:39\", \"2018-03-09 19:03:39\")", "schema_without_content": "area_code_state : state , area_code | contestants : contestant_number , fullname , applicant_name | votes : vote_id , contestant_number , phone_number , state , created", "extra_map": { "contestants": { "contestant_name": [ "fullname", "applicant_name" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_number", "fullname", "applicant_name" ], "votes": [ "vote_id", "phone_number", "state", "contestant_number", "created" ] }, "column_linking_gt": { "contestants who got voted": "VOTES.contestant_number", "contestant number": "CONTESTANTS.contestant_number", "votes": "VOTES", "contestant name": "CONTESTANTS.contestant_name" } }, { "question": "what is the #area code# in which the most #voters# voted?", "db_id": "voter_1", "orig_query": "select t1.area_code from area_code_state as t1 join votes as t2 on t1.state = t2.state group by t1.area_code order by count(*) desc limit 1", "schema_with_content": "area_code_state : postal_code (517, 603, 651), state (\"NY\", \"GA\", \"ME\"), zip_code (517, 603, 651) | contestants : contestant_name (\"Nita Coster\", \"Nita Coster\", \"Edwina Burnam\"), contestant_number (2, 4, 8) | votes : vote_id (1, 1, 1), contestant_number (2, 3, 5), state (\"NY\", \"CA\", \"NJ\n\"), created (\"2018-03-09 19:03:40\", \"2018-03-09 19:03:40\", \"2018-03-09 19:03:39\"), phone_number (5112677315, 7148407040, 6209222712)", "schema_without_content": "area_code_state : postal_code , state , zip_code | contestants : contestant_name , contestant_number | votes : vote_id , contestant_number , state , created , phone_number", "extra_map": { "area_code_state": { "area_code": [ "zip_code", "postal_code" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "state", "zip_code", "postal_code" ], "contestants": [ "contestant_number", "contestant_name" ], "votes": [ "vote_id", "phone_number", "state", "contestant_number", "created" ] }, "column_linking_gt": { "area code": "AREA_CODE_STATE.area_code", "voters": "VOTES" } }, { "question": "what are the #create dates# , #states# , and #phone numbers# of the votes that were for the #contestant named 'tabatha gehling'# ?", "db_id": "voter_1", "orig_query": "select t2.created, t2.state, t2.phone_number from contestants as t1 join votes as t2 on t1.contestant_number = t2.contestant_number where t1.contestant_name = 'Tabatha Gehling'", "schema_with_content": "area_code_state : state (\"NH\", \"KY\", \"VA\"), area_code (352, 205, 217) | contestants : contestant_number (5, 6, 1), contestant_name (\"Allie Rogalski\", \"Kelly Clauss\", \"Loraine NygrenTania Mattioli\") | votes : province (\"NY\", \"CA\", \"NJ\n\"), contestant_number (2, 3, 5), vote_id (2, 3, 3), created (\"2018-03-09 19:03:36\", \"2018-03-09 19:03:36\", \"2018-03-09 19:03:39\"), territory (\"NY\", \"CA\", \"NJ\n\"), phone_number (7148407040, 6209222712, 7148407040)", "schema_without_content": "area_code_state : state , area_code | contestants : contestant_number , contestant_name | votes : province , contestant_number , vote_id , created , territory , phone_number", "extra_map": { "votes": { "state": [ "province", "territory" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_number", "contestant_name" ], "votes": [ "vote_id", "phone_number", "contestant_number", "created", "province", "territory" ] }, "column_linking_gt": { "create dates": "VOTES.created", "states": "VOTES.state", "phone numbers": "VOTES.phone_number", "contestant named 'Tabatha Gehling'": "CONTESTANTS.contestant_name" } }, { "question": "what are the #create dates# , #states# , and #phone numbers# of the votes that were for the #contestant named 'tabatha gehling'# ?", "db_id": "voter_1", "orig_query": "select t2.created, t2.state, t2.phone_number from contestants as t1 join votes as t2 on t1.contestant_number = t2.contestant_number where t1.contestant_name = 'Tabatha Gehling'", "schema_with_content": "area_code_state : area_code (207, 516, 502), state (\"WI\", \"MT\", \"IL\") | contestants : contestant_number (5, 7, 4), contestant_name (\"Tabatha Gehling\", \"Kelly Clauss\", \"Jessie Alloway\") | votes : cell_number (7148407040, 7148407040, 5112677315), contestant_number (2, 3, 5), state (\"NY\", \"CA\", \"NJ\n\"), contact_number (7148407040, 7148407040, 5112677315), created (\"2018-03-09 19:03:21\", \"2018-03-09 19:03:21\", \"2018-03-09 19:03:39\"), vote_id (3, 3, 5)", "schema_without_content": "area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : cell_number , contestant_number , state , contact_number , created , vote_id", "extra_map": { "votes": { "phone_number": [ "cell_number", "contact_number" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_number", "contestant_name" ], "votes": [ "vote_id", "state", "contestant_number", "created", "cell_number", "contact_number" ] }, "column_linking_gt": { "create dates": "VOTES.created", "states": "VOTES.state", "phone numbers": "VOTES.phone_number", "contestant named 'Tabatha Gehling'": "CONTESTANTS.contestant_name" } }, { "question": "what are the #create dates# , #states# , and #phone numbers# of the votes that were for the #contestant named 'tabatha gehling'# ?", "db_id": "voter_1", "orig_query": "select t2.created, t2.state, t2.phone_number from contestants as t1 join votes as t2 on t1.contestant_number = t2.contestant_number where t1.contestant_name = 'Tabatha Gehling'", "schema_with_content": "area_code_state : area_code (646, 707, 219), state (\"OH\", \"CA\", \"AL\") | contestants : contestant_number (3, 9, 3), contestant_name (\"Jessie Eichman\", \"Jessie Alloway\", \"Tabatha Gehling\") | votes : state (\"NY\", \"CA\", \"NJ\n\"), generated (\"2018-03-09 19:03:39\", \"2018-03-09 19:03:36\", \"2018-03-09 19:03:36\"), vote_id (5, 2, 1), contestant_number (2, 3, 5), phone_number (7148407040, 7148407040, 7182887233), produced (\"2018-03-09 19:03:39\", \"2018-03-09 19:03:36\", \"2018-03-09 19:03:36\")", "schema_without_content": "area_code_state : area_code , state | contestants : contestant_number , contestant_name | votes : state , generated , vote_id , contestant_number , phone_number , produced", "extra_map": { "votes": { "created": [ "generated", "produced" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "area_code", "state" ], "contestants": [ "contestant_number", "contestant_name" ], "votes": [ "vote_id", "phone_number", "state", "contestant_number", "generated", "produced" ] }, "column_linking_gt": { "create dates": "VOTES.created", "states": "VOTES.state", "phone numbers": "VOTES.phone_number", "contestant named 'Tabatha Gehling'": "CONTESTANTS.contestant_name" } }, { "question": "list the #area codes# in which #voters# voted both for the #contestant# 'tabatha gehling' and the contestant 'kelly clauss'.", "db_id": "voter_1", "orig_query": "select t3.area_code from contestants as t1 join votes as t2 on t1.contestant_number = t2.contestant_number join area_code_state as t3 on t2.state = t3.state where t1.contestant_name = 'Tabatha Gehling' intersect select t3.area_code from contestants as t1 join votes as t2 on t1.contestant_number = t2.contestant_number join area_code_state as t3 on t2.state = t3.state where t1.contestant_name = 'Kelly Clauss'", "schema_with_content": "area_code_state : postal_code (561, 540, 949), state (\"SC\", \"KS\", \"IN\"), zip_code (561, 540, 949) | contestants : contestant_number (6, 4, 9), contestant_name (\"Kelly Clauss\", \"Ericka Dieter\", \"Jessie Eichman\") | votes : phone_number (6209222712, 7148407040, 7148407040), contestant_number (2, 3, 5), vote_id (5, 3, 5), state (\"NY\", \"CA\", \"NJ\n\"), created (\"2018-03-09 19:03:40\", \"2018-03-09 19:03:36\", \"2018-03-09 19:03:40\")", "schema_without_content": "area_code_state : postal_code , state , zip_code | contestants : contestant_number , contestant_name | votes : phone_number , contestant_number , vote_id , state , created", "extra_map": { "area_code_state": { "area_code": [ "zip_code", "postal_code" ] } }, "extra_table_map": null, "db_schema": { "area_code_state": [ "state", "zip_code", "postal_code" ], "contestants": [ "contestant_number", "contestant_name" ], "votes": [ "vote_id", "phone_number", "state", "contestant_number", "created" ] }, "column_linking_gt": { "area codes": "AREA_CODE_STATE.area_code", "voters": "VOTES", "contestant": "CONTESTANTS.contestant_name" } }, { "question": "what are the #names of all the countries# that became #independent# after 1950?", "db_id": "world_1", "orig_query": "select name from country where indepyear > 1950", "schema_with_content": "city : id (127, 1451, 1223), name (\"Wendeng\", \"Guadalupe\", \"Pitesti\"), population (96734, 371601, 424194), district (\"Diourbel\", \"Bryssel\", \"Malopolskie\"), countrycode (\"USA\", \"ZAF\", \"JAM\") | sqlite_sequence : seq (4079), name (\"city\") | country : capital (3068, 2928, 34), population (181000, 17000, 68470000), headofstate (\"Mireya Elisa Moscoso Rodr\u00c3\u00adguez\", \"Henri\", \"Jacques Chirac\"), lifeexpectancy (56.5, 73.2, 40.4), localname (\"Virgin Islands of the United States\", \"Le Gabon\", \"Yisra\u00e2\u0080\u0099el/Isra\u00e2\u0080\u0099il\"), indepyear (1983, 1957, 1816), code (\"CPV\", \"KOR\", \"AFG\"), code2 (\"LY\", \"BS\", \"CY\"), gnp (65707.0, 37966.0, 3459.0), surfacearea (603700.0, 29800.0, 160.0), title (\"Saint Pierre and Miquelon\", \"Cayman Islands\", \"Togo\"), region (\"Melanesia\", \"Antarctica\", \"Southern and Central Asia\"), gnpold (18898.0, 58623.0, 160151.0), continent (\"Oceania\", \"Asia\", \"South America\"), governmentform (\"Independent Church State\", \"US Territory\", \"Special Administrative Region of China\"), nation (\"Saint Pierre and Miquelon\", \"Cayman Islands\", \"Togo\") | countrylanguage : percentage (12.4, 8.0, 26.9), countrycode (\"DMA\", \"TUR\", \"TWN\"), isofficial (\"T\", \"F\"), language (\"Pitcairnese\", \"Maori\", \"Russian\")", "schema_without_content": "city : id , name , population , district , countrycode | sqlite_sequence : seq , name | country : capital , population , headofstate , lifeexpectancy , localname , indepyear , code , code2 , gnp , surfacearea , title , region , gnpold , continent , governmentform , nation | countrylanguage : percentage , countrycode , isofficial , language", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names of all the countries": "country.Name", "independent": "country.IndepYear" } }, { "question": "give the #names of the nations# that were #founded after 1950# .", "db_id": "world_1", "orig_query": "select name from country where indepyear > 1950", "schema_with_content": "city : name (\"Franca\", \"Hargeysa\", \"Split\"), district (\"Aksaray\", \"Qina\", \"Namibe\"), population (202013, 469533, 623457), countrycode (\"PCN\", \"LBY\", \"GLP\"), id (3141, 667, 1878) | sqlite_sequence : seq (4079), name (\"city\") | country : code (\"GRL\", \"SWE\", \"ATG\"), title (\"Ireland\", \"Holy See (Vatican City State)\", \"Cyprus\"), gnpold (430572.0, 32100.0, 4935.0), code2 (\"VI\", \"ML\", \"AG\"), localname (\"Andorra\", \"Prathet Thai\", \"United States\"), population (9586000, 12878000, 1226000), gnp (146.0, 7137.0, 285.0), lifeexpectancy (63.3, 75.1, 77.0), governmentform (\"Dependent Territory of the UK\", \"Special Administrative Region of China\", \"Occupied by Marocco\"), headofstate (\"Mamadou Tandja\", \"Joaqu\u00c3\u00adm A. Chissano\", \"Chen Shui-bian\"), continent (\"Antarctica\", \"Oceania\", \"Antarctica\"), capital (187, 2318, 3520), nation (\"Ireland\", \"Holy See (Vatican City State)\", \"Cyprus\"), region (\"Middle East\", \"Western Europe\", \"Nordic Countries\"), indepyear (1945, 1980, 1994), surfacearea (27834.0, 459.0, 622.0) | countrylanguage : language (\"Belorussian\", \"Dagara\", \"Shona\"), percentage (94.1, 72.1, 14.6), isofficial (\"T\", \"F\"), countrycode (\"GBR\", \"GIB\", \"NRU\")", "schema_without_content": "city : name , district , population , countrycode , id | sqlite_sequence : seq , name | country : code , title \", \"Cyprus\", gnpold , code2 , localname , population , gnp , lifeexpectancy , governmentform , headofstate , continent , capital , nation \", \"Cyprus\", region , indepyear , surfacearea | countrylanguage : language , percentage , isofficial , countrycode", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names of the nations": "country.Name", "founded after 1950": "country.IndepYear" } }, { "question": "what is the #total surface area of the countries in the caribbean region# ?", "db_id": "world_1", "orig_query": "select sum(surfacearea) from country where region = \"Caribbean\"", "schema_with_content": "city : name (\"Mayag\u00c3\u00bcez\", \"Makijivka\", \"Rijeka\"), countrycode (\"SLE\", \"NLD\", \"NER\"), population (366712, 273900, 217300), district (\"Xinxiang\", \"Sanliurfa\", \"Bern\"), id (1541, 2680, 418) | sqlite_sequence : name (\"city\"), seq (4079) | country : governmentform (\"Federal Republic\", \"Parlementary Monarchy\", \"Co-administrated\"), lifeexpectancy (79.8, 50.8, 76.2), name (\"Congo, The Democratic Republic of the\", \"Jordan\", \"Saint Kitts and Nevis\"), gnp (72949.0, 44806.0, 6353.0), region (\"Baltic Countries\", \"Western Europe\", \"North America\"), extent (12.0, 27834.0, 242.0), code (\"TTO\", \"ALB\", \"WLF\"), headofstate (\"Chen Shui-bian\", \"Eduard \u00c5\u00a0evardnadze\", \"Kuniwo Nakamura\"), continent (\"Antarctica\", \"Asia\", \"Europe\"), code2 (\"ST\", \"TF\", \"TZ\"), gnpold (18862.0, 2474.0, 3545.0), localname (\"Timor Timur\", \"Luxembourg/L\u00c3\u00abtzebuerg\", \"Brunei Darussalam\"), indepyear (1981, 1867, 1929), population (62565000, 2500, 21778000), capital (3493, 5, 3014), land_area (12.0, 27834.0, 242.0) | countrylanguage : countrycode (\"MKD\", \"GIB\", \"TCA\"), language (\"San\", \"Teso\", \"Ful\"), isofficial (\"T\", \"F\"), percentage (11.4, 69.9, 31.8)", "schema_without_content": "city : name , countrycode , population , district , id | sqlite_sequence : name , seq | country : governmentform , lifeexpectancy , name , gnp , region , extent , code , headofstate , continent , code2 , gnpold , localname , indepyear , population , capital , land_area | countrylanguage : countrycode , language , isofficial , percentage", "extra_map": { "country": { "surfacearea": [ "land_area", "extent" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "land_area", "extent" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "total surface area of the countries in the Caribbean region": "country.SurfaceArea" } }, { "question": "how much #surface area# do the countires in the carribean cover together?", "db_id": "world_1", "orig_query": "select sum(surfacearea) from country where region = \"Caribbean\"", "schema_with_content": "city : population (518282, 251429, 195485), district (\"Chungchongnam\", \"Mardin\", \"Port Said\"), id (1104, 521, 1149), countrycode (\"NPL\", \"MNG\", \"ROM\"), name (\"Fujisawa\", \"Hathras\", \"Naperville\") | sqlite_sequence : seq (4079), name (\"city\") | country : land_area (11000.0, 4000.0, 580367.0), gnp (0.0, 256254.0, 12178.0), headofstate (\"Vernon Shaw\", \"Bharrat Jagdeo\", \"Juan Carlos I\"), gnpold (1081.0, 3922.0, 1767.0), localname (\"Argentina\", \"Malawi\", \"Muritaniya/Mauritanie\"), capital (3250, 3161, 3425), indepyear (1861, 1994, 1970), code2 (\"YU\", \"IR\", \"ST\"), governmentform (\"Dependent Territory of Norway\", \"Parliamentary Coprincipality\", \"US Territory\"), region (\"Australia and New Zealand\", \"North America\", \"Central America\"), population (417000, 22256000, 453000), lifeexpectancy (47.4, 74.9, 70.9), name (\"Saint Vincent and the Grenadines\", \"Poland\", \"Algeria\"), code (\"BOL\", \"ATG\", \"NRU\"), continent (\"Europe\", \"North America\", \"Asia\"), extent (11000.0, 4000.0, 580367.0) | countrylanguage : language (\"Iban\", \"Buryat\", \"Serbo-Croatian\"), percentage (2.0, 0.3, 6.3), countrycode (\"SVN\", \"ARG\", \"VEN\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : population , district , id , countrycode , name | sqlite_sequence : seq , name | country : land_area , gnp , headofstate , gnpold , localname , capital , indepyear , code2 , governmentform , region , population , lifeexpectancy , name , code , continent , extent | countrylanguage : language , percentage , countrycode , isofficial", "extra_map": { "country": { "surfacearea": [ "land_area", "extent" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "land_area", "extent" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "surface area": "country.SurfaceArea", "Caribbean": "country.Region", "countries": "country" } }, { "question": "which #continent is anguilla# in?", "db_id": "world_1", "orig_query": "select continent from country where name = \"Anguilla\"", "schema_with_content": "city : countrycode (\"GEO\", \"COL\", \"NLD\"), id (1149, 3185, 4008), district (\"Northern Cape\", \"Perak\", \"Murmansk\"), name (\"Ciudad Guayana\", \"Sterlitamak\", \"Phoenix\"), population (180480, 142048, 1266072) | sqlite_sequence : seq (4079), name (\"city\") | country : gnp (435.0, 6648.0, 9217.0), code2 (\"MG\", \"PL\", \"FJ\"), gnpold (173610.0, 33514.0, 1312.0), code (\"TUV\", \"KIR\", \"NPL\"), governmentform (\"Constitutional Monarchy\", \"Parliamentary Coprincipality\", \"Nonmetropolitan Territory of New Zealand\"), region (\"Eastern Africa\", \"Nordic Countries\", \"Antarctica\"), continent_name (\"Europe\", \"Africa\", \"South America\"), name (\"Eritrea\", \"Ecuador\", \"Iceland\"), lifeexpectancy (76.8, 65.3, 64.5), capital (2973, 926, 174), localname (\"The Cook Islands\", \"France\", \"Angola\"), surfacearea (41526.0, 1102.0, 527968.0), indepyear (836, 1951, 1965), mainland (\"Europe\", \"Africa\", \"South America\"), population (5083000, 235000, 5083000), headofstate (\"Valentin Paniagua Corazao\", \"Maumoon Abdul Gayoom\", \"Kumba Ial\u00c3\u00a1\") | countrylanguage : countrycode (\"BGD\", \"FRA\", \"IRN\"), percentage (6.7, 22.4, 9.7), language (\"Circassian\", \"Khoekhoe\", \"Danish\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : countrycode , id , district , name , population | sqlite_sequence : seq , name | country : gnp , code2 , gnpold , code , governmentform , region , continent_name , name , lifeexpectancy , capital , localname , surfacearea , indepyear , mainland , population , headofstate | countrylanguage : countrycode , percentage , language , isofficial", "extra_map": { "country": { "continent": [ "mainland", "continent_name" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "mainland", "continent_name" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "continent is Anguilla": "country.Continent" } }, { "question": "what is the #continent name# which #anguilla# belongs to?", "db_id": "world_1", "orig_query": "select continent from country where name = \"Anguilla\"", "schema_with_content": "city : countrycode (\"DMA\", \"NER\", \"NLD\"), name (\"Scottsdale\", \"Taxco de Alarc\u00c3\u00b3n\", \"Wellington\"), population (89423, 245772, 315382), district (\"Borsod-Aba\u00c3\u00baj-Zempl\u00c3\u00a9n\", \"West Java\", \"Midi-Pyr\u00c3\u00a9n\u00c3\u00a9es\"), id (3788, 3629, 340) | sqlite_sequence : name (\"city\"), seq (4079) | country : capital (2973, 3243, 3212), headofstate (\"Hamad ibn Isa al-Khalifa\", None, \"Vicente Fox Quesada\"), localname (\"M\u00c3\u00a9xico\", \"Makedonija\", \"Sverige\"), lifeexpectancy (77.6, 77.0, 54.8), gnp (340238.0, 6041.0, 211860.0), gnpold (573.0, 360478.0, 2141.0), continent_name (\"Europe\", \"Oceania\", \"South America\"), code (\"VCT\", \"SYR\", \"NFK\"), surfacearea (774815.0, 96.0, 1862.0), population (453000, 50456000, 9586000), code2 (\"AD\", \"ID\", \"SK\"), mainland (\"Europe\", \"Oceania\", \"South America\"), region (\"Eastern Europe\", \"Polynesia\", \"Polynesia\"), indepyear (836, 1143, 1581), governmentform (\"Islamic Emirate\", \"Occupied by Marocco\", \"Constitutional Monarchy\"), name (\"French Polynesia\", \"Iran\", \"Chad\") | countrylanguage : language (\"Kanem-bornu\", \"Dari\", \"Yao\"), percentage (8.2, 14.0, 11.4), isofficial (\"T\", \"F\"), countrycode (\"SYC\", \"UMI\", \"LBY\")", "schema_without_content": "city : countrycode , name , population , district , id | sqlite_sequence : name , seq | country : capital , headofstate , localname , lifeexpectancy , gnp , gnpold , continent_name , code , surfacearea , population , code2 , mainland , region , indepyear , governmentform , name | countrylanguage : language , percentage , isofficial , countrycode", "extra_map": { "country": { "continent": [ "mainland", "continent_name" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "mainland", "continent_name" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "continent name": "country.Continent", "Anguilla": "country.Name" } }, { "question": "which #region is the city kabul# located in?", "db_id": "world_1", "orig_query": "select region from country as t1 join city as t2 on t1.code = t2.countrycode where t2.name = \"Kabul\"", "schema_with_content": "city : district (\"Cayo\", \"Koror\", \"Perak\"), id (2652, 2523, 833), countrycode (\"JAM\", \"BFA\", \"TUN\"), name (\"Cascavel\", \"Kielce\", \"Wolverhampton\"), population (788000, 218812, 181804) | sqlite_sequence : name (\"city\"), seq (4079) | country : headofstate (\"Vaira Vike-Freiberga\", \"Khamtay Siphandone\", \"V\u00c3\u00a1clav Havel\"), district (\"Eastern Asia\", \"British Islands\", \"Caribbean\"), code2 (\"CH\", \"CR\", \"CZ\"), continent (\"Oceania\", \"Asia\", \"Asia\"), lifeexpectancy (50.1, 73.7, 78.4), surfacearea (824292.0, 59.0, 618.0), area (\"Eastern Asia\", \"British Islands\", \"Caribbean\"), name (\"Austria\", \"Russian Federation\", \"Costa Rica\"), gnp (2133367.0, 182.0, 382.0), localname (\"Suriya\", \"Indonesia\", \"Eesti\"), code (\"SVN\", \"BHR\", \"PRK\"), capital (3212, 3770, 3536), gnpold (539.0, 58549.0, 1186.0), governmentform (\"Nonmetropolitan Territory of France\", \"Nonmetropolitan Territory of France\", \"Parliamentary Coprincipality\"), indepyear (1499, 1830, 1994), population (2542000, 4023000, 67702000) | countrylanguage : countrycode (\"VIR\", \"DOM\", \"DEU\"), isofficial (\"T\", \"F\"), percentage (63.1, 1.3, 29.3), language (\"Songhai\", \"Chilluk\", \"Wolof\")", "schema_without_content": "city : district , id , countrycode , name , population | sqlite_sequence : name , seq | country : headofstate , district , code2 , continent , lifeexpectancy , surfacearea , area , name , gnp , localname , code , capital , gnpold , governmentform , indepyear , population | countrylanguage : countrycode , isofficial , percentage , language", "extra_map": { "country": { "region": [ "area", "district" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "area", "district" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "region is the city Kabul": "country.Region" } }, { "question": "what #region is kabul# in?", "db_id": "world_1", "orig_query": "select region from country as t1 join city as t2 on t1.code = t2.countrycode where t2.name = \"Kabul\"", "schema_with_content": "city : district (\"Coahuila de Zaragoza\", \"V\u00c3\u00a4sterbottens l\u00c3\u00a4n\", \"Andorra la Vella\"), name (\"Andong\", \"Moers\", \"Torrej\u00c3\u00b3n de Ardoz\"), countrycode (\"PCN\", \"DMA\", \"IND\"), id (11, 1286, 2037), population (104269, 127815, 126270) | sqlite_sequence : name (\"city\"), seq (4079) | country : indepyear (1902, 1993, 1958), code (\"IND\", \"BLZ\", \"MKD\"), localname (\"Nederlandse Antillen\", \"As-Sahrawiya\", \"Nouvelle-Cal\u00c3\u00a9donie\"), capital (3306, 2296, 553), population (328000, 50, 754700), headofstate (\"Idriss D\u00c3\u00a9by\", \"Hugo B\u00c3\u00a1nzer Su\u00c3\u00a1rez\", \"Emomali Rahmonov\"), lifeexpectancy (78.0, 65.5, 49.8), district (\"Baltic Countries\", \"Polynesia\", \"Nordic Countries\"), governmentform (\"Monarchy (Emirate)\", \"US Territory\", \"Republic\"), gnpold (19300.0, 573.0, 82239.0), area (\"Baltic Countries\", \"Polynesia\", \"Nordic Countries\"), surfacearea (11295.0, 36.0, 488100.0), name (\"Virgin Islands, British\", \"Kazakstan\", \"Cameroon\"), code2 (\"YE\", \"GH\", \"LA\"), continent (\"North America\", \"North America\", \"South America\"), gnp (6648.0, 1988.0, 6064.0) | countrylanguage : percentage (9.0, 87.9, 34.1), countrycode (\"EST\", \"FLK\", \"TKL\"), isofficial (\"T\", \"F\"), language (\"Tswana\", \"Samoan-English\", \"Nauru\")", "schema_without_content": "city : district , name , countrycode , id , population | sqlite_sequence : name , seq | country : indepyear , code , localname , capital , population , headofstate , lifeexpectancy , district , governmentform \", \"US Territory\", \"Republic\", gnpold , area , surfacearea , name , code2 , continent , gnp | countrylanguage : percentage , countrycode , isofficial , language", "extra_map": { "country": { "region": [ "area", "district" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "area", "district" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "region is Kabul": "country.Region" } }, { "question": "which #language# is the most popular in #aruba# ?", "db_id": "world_1", "orig_query": "select t2.language from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t1.name = \"Aruba\" order by percentage desc limit 1", "schema_with_content": "city : countrycode (\"COK\", \"MLT\", \"GUM\"), population (376662, 471051, 1500000), district (\"Aquitaine\", \"Almaty\", \"Mecklenburg-Vorpomme\"), name (\"Pinhais\", \"Lugansk\", \"Zinder\"), id (517, 2416, 424) | sqlite_sequence : name (\"city\"), seq (4079) | country : gnpold (170.0, 1102.0, 34843.0), region (\"Southern Africa\", \"Caribbean\", \"Central Africa\"), code (\"BFA\", \"ZMB\", \"MNP\"), localname (\"Uganda\", \"Christmas Island\", \"Puerto Rico\"), headofstate (\"Nursultan Nazarbajev\", \"France-Albert Ren\u00c3\u00a9\", \"Mohammad Omar\"), gnp (6232.0, 1043.0, 105954.0), continent (\"Europe\", \"North America\", \"Africa\"), lifeexpectancy (68.7, 56.6, 68.9), code2 (\"EC\", \"GE\", \"CV\"), indepyear (1941, 1847, 1912), governmentform (\"Administrated by the UN\", \"Nonmetropolitan Territory of New Zealand\", \"Dependent Territory of Norway\"), population (119000, 286000, 754700), capital (2729, 583, 1791), name (\"Nicaragua\", \"Saint Kitts and Nevis\", \"Turkey\"), surfacearea (59.0, 163610.0, 2510.0) | countrylanguage : tongue (\"Mboshi\", \"Susu\", \"Kissi\"), dialect (\"Mboshi\", \"Susu\", \"Kissi\"), isofficial (\"T\", \"F\"), countrycode (\"KEN\", \"CHE\", \"MNP\"), percentage (28.3, 69.9, 82.2)", "schema_without_content": "city : countrycode , population , district , name , id | sqlite_sequence : name , seq | country : gnpold , region , code , localname , headofstate , gnp , continent , lifeexpectancy , code2 , indepyear , governmentform , population , capital , name , surfacearea | countrylanguage : tongue , dialect , isofficial , countrycode , percentage", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "language": "countrylanguage.Language", "Aruba": "country.Name" } }, { "question": "what #language# is predominantly spoken in #aruba# ?", "db_id": "world_1", "orig_query": "select t2.language from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t1.name = \"Aruba\" order by percentage desc limit 1", "schema_with_content": "city : population (303447, 126282, 215000), id (11, 1398, 1019), district (\"Gomel\", \"Puno\", \"Funafuti\"), name (\"Armavir\", \"Ho Chi Minh City\", \"Meerut Cantonment\"), countrycode (\"NIC\", \"NOR\", \"IND\") | sqlite_sequence : seq (4079), name (\"city\") | country : capital (2912, 3320, 187), surfacearea (2780400.0, 652090.0, 3287263.0), continent (\"Asia\", \"Africa\", \"Oceania\"), indepyear (1958, 1975, 1878), lifeexpectancy (78.9, 60.8, 79.0), population (1226000, 56000, 1226000), headofstate (\"Sellapan Rama Nathan\", \"Bakili Muluzi\", \"Pierre Buyoya\"), gnpold (1746.0, None, 65186.0), localname (\"United States\", \"Svalbard og Jan Mayen\", \"Brunei Darussalam\"), name (\"India\", \"Saint Kitts and Nevis\", \"Ukraine\"), governmentform (\"Special Administrative Region of China\", \"Co-administrated\", \"Part of Denmark\"), code2 (\"KG\", \"LS\", \"BM\"), region (\"Eastern Europe\", \"Eastern Asia\", \"Caribbean\"), gnp (4401.0, 982268.0, 49982.0), code (\"LBR\", \"PSE\", \"TTO\") | countrylanguage : isofficial (\"T\", \"F\"), countrycode (\"GUM\", \"AND\", \"CXR\"), percentage (38.6, 9.5, 13.1), tongue (\"Balochi\", \"Moba\", \"Fur\"), dialect (\"Balochi\", \"Moba\", \"Fur\")", "schema_without_content": "city : population , id , district , name , countrycode | sqlite_sequence : seq , name | country : capital , surfacearea , continent , indepyear , lifeexpectancy , population , headofstate , gnpold , localname , name , governmentform , code2 , region , gnp , code | countrylanguage : isofficial , countrycode , percentage , tongue , dialect", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "language": "countrylanguage.Language", "Aruba": "country.Name" } }, { "question": "what are the #population# and #life expectancies in brazil# ?", "db_id": "world_1", "orig_query": "select population, lifeexpectancy from country where name = \"Brazil\"", "schema_with_content": "city : countrycode (\"EST\", \"BRB\", \"GMB\"), id (3078, 3373, 2246), population (109000, 195468, 390007), name (\"Sapporo\", \"Gelsenkirchen\", \"Raiganj\"), district (\"Grand Cayman\", \"K\u00c3\u00b8benhavn\", \"Lampung\") | sqlite_sequence : name (\"city\"), seq (4079) | country : governmentform (\"Parliamentary Coprincipality\", \"Dependent Territory of the UK\", \"Part of Denmark\"), headcount (2500, 4473000, 12646000), capital (716, 2754, 2511), continent (\"Europe\", \"North America\", \"North America\"), lifeexpectancy (68.0, 75.7, 68.5), indepyear (1901, 1929, 1902), name (\"Israel\", \"Congo, The Democratic Republic of the\", \"South Africa\"), citizen_count (2500, 4473000, 12646000), headofstate (\"Didier Ratsiraka\", \"Sam Nujoma\", \"Juan Carlos I\"), region (\"Antarctica\", \"Southeast Asia\", \"Central Africa\"), surfacearea (390757.0, 238391.0, 48511.0), localname (\"Pakistan\", \"Magyarorsz\u00c3\u00a1g\", \"Polska\"), gnp (15706.0, 2108.0, 1119.0), code (\"NCL\", \"MAR\", \"NAM\"), gnpold (12460.0, 6884.0, 1627.0), code2 (\"NC\", \"IR\", \"LA\") | countrylanguage : countrycode (\"SYC\", \"IRQ\", \"LSO\"), percentage (11.2, 74.1, 86.6), language (\"English\", \"Wallis\", \"Mandyako\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : countrycode , id , population , name , district | sqlite_sequence : name , seq | country : governmentform , headcount , capital , continent , lifeexpectancy , indepyear , name , citizen_count , headofstate , region , surfacearea , localname , gnp , code , gnpold , code2 | countrylanguage : countrycode , percentage , language , isofficial", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "population": "country.Population", "life expectancies in Brazil": "country.LifeExpectancy" } }, { "question": "what are the #population# and #life expectancies in brazil# ?", "db_id": "world_1", "orig_query": "select population, lifeexpectancy from country where name = \"Brazil\"", "schema_with_content": "city : district (\"Ondo & Ekiti\", \"Pichincha\", \"Gharb-Chrarda-B\u00c3\u00a9ni H\"), name (\"Koriyama\", \"Saidpur\", \"Ahvaz\"), population (102820, 109576, 145823), id (489, 1674, 2875), countrycode (\"PAN\", \"UKR\", \"LTU\") | sqlite_sequence : seq (4079), name (\"city\") | country : name (\"Angola\", \"Ecuador\", \"Burkina Faso\"), gnp (20208.0, 650.0, 49982.0), code2 (\"SZ\", \"KE\", \"CZ\"), continent (\"Europe\", \"Africa\", \"South America\"), capital (3483, 3064, 3217), life_span (47.4, 65.3, 53.2), region (\"Polynesia\", \"Caribbean\", \"Southeast Asia\"), headofstate (\"Festus G. Mogae\", \"Ali Abdallah Salih\", \"Maumoon Abdul Gayoom\"), indepyear (1903, 800, -1000), localname (\"R\u00c3\u00a9publique D\u00c3\u00a9mocratique du Congo\", \"Sri Lanka/Ilankai\", \"Singapore/Singapura/Xinjiapo/Singapur\"), surfacearea (513115.0, 1648195.0, 185180.0), gnpold (2711.0, 243948.0, 532031.0), life_length (47.4, 65.3, 53.2), governmentform (\"Administrated by the UN\", \"Overseas Department of France\", \"Constitutional Monarchy\"), population (22256000, 2856000, 119000), code (\"JPN\", \"MDG\", \"PSE\") | countrylanguage : percentage (0.5, 57.5, 15.8), countrycode (\"ATG\", \"CXR\", \"CYM\"), language (\"Tagalog\", \"Russian\", \"Oromo\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : district , name , population , id , countrycode | sqlite_sequence : seq , name | country : name , gnp , code2 , continent , capital , life_span , region , headofstate , indepyear , localname , surfacearea , gnpold , life_length , governmentform , population , code | countrylanguage : percentage , countrycode , language , isofficial", "extra_map": { "country": { "lifeexpectancy": [ "life_length", "life_span" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "life_length", "life_span" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "population": "country.Population", "life expectancies in Brazil": "country.LifeExpectancy" } }, { "question": "give me brazil\u2019s #population# and #life expectancies# .", "db_id": "world_1", "orig_query": "select population, lifeexpectancy from country where name = \"Brazil\"", "schema_with_content": "city : population (178426, 2154376, 88987), id (237, 590, 2502), district (\"Lam Dong\", \"Tomsk\", \"Kochi\"), name (\"London\", \"Shaowu\", \"Kaluga\"), countrycode (\"IDN\", \"ARE\", \"BEN\") | sqlite_sequence : name (\"city\"), seq (4079) | country : continent (\"Africa\", \"Antarctica\", \"Europe\"), indepyear (1964, 1923, 1922), headcount (9586000, 1305000, 1000), citizen_count (9586000, 1305000, 1000), governmentform (\"Republic\", \"Socialistic Republic\", \"Islamic Republic\"), code (\"GHA\", \"ATF\", \"AUT\"), headofstate (\"Hip\u00c3\u00b3lito Mej\u00c3\u00ada Dom\u00c3\u00adnguez\", \"Kim Jong-il\", \"Luis \u00c3\u0081ngel Gonz\u00c3\u00a1lez Macchi\"), name (\"Niue\", \"Ecuador\", \"Nigeria\"), gnp (226492.0, 13714.0, 1706.0), lifeexpectancy (74.4, 53.6, 81.6), localname (\"Qatar\", \"Botswana\", \"The Gambia\"), capital (586, 933, 901), gnpold (430572.0, 6722.0, 31966.0), region (\"Southern Europe\", \"South America\", \"Southeast Asia\"), surfacearea (21.0, 33851.0, 388.0), code2 (\"BI\", \"VG\", \"TM\") | countrylanguage : countrycode (\"TCA\", \"BLR\", \"SDN\"), isofficial (\"T\", \"F\"), percentage (4.3, 7.4, 81.6), language (\"Kissi\", \"Bulgariana\", \"Moravian\")", "schema_without_content": "city : population , id , district , name , countrycode | sqlite_sequence : name , seq | country : continent , indepyear , headcount , citizen_count , governmentform , code , headofstate , name , gnp , lifeexpectancy , localname , capital , gnpold , region , surfacearea , code2 | countrylanguage : countrycode , isofficial , percentage , language", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "Brazil": "country.Name", "population": "country.Population", "life expectancies": "country.LifeExpectancy" } }, { "question": "give me brazil\u2019s #population# and #life expectancies# .", "db_id": "world_1", "orig_query": "select population, lifeexpectancy from country where name = \"Brazil\"", "schema_with_content": "city : name (\"Remscheid\", \"Vadodara (Baroda)\", \"Eastbourne\"), id (1381, 2320, 203), population (232811, 122600, 151088), countrycode (\"NAM\", \"CRI\", \"FJI\"), district (\"North Ossetia-Alania\", \"al-Tamim\", \"Chittagong\") | sqlite_sequence : seq (4079), name (\"city\") | country : surfacearea (47000.0, 377829.0, 1138914.0), headofstate (\"Glafkos Klerides\", \"Khamtay Siphandone\", \"Carl XVI Gustaf\"), code2 (\"KH\", \"PE\", \"GP\"), life_span (67.8, 76.5, 68.6), name (\"Virgin Islands, British\", \"Ghana\", \"Ireland\"), gnp (3377.0, 382.0, 5493.0), localname (\"Ukrajina\", \"Al-Bahrayn\", \"Wallis-et-Futuna\"), gnpold (7967.0, 9555.0, 4837.0), indepyear (1941, 885, -660), region (\"Polynesia\", \"Southern and Central Asia\", \"Eastern Europe\"), life_length (67.8, 76.5, 68.6), population (6097000, 11234000, 82164700), code (\"NRU\", \"ALB\", \"IRL\"), governmentform (\"Co-administrated\", \"Part of Denmark\", \"Dependent Territory of the US\"), capital (554, 2462, 185), continent (\"Africa\", \"Africa\", \"South America\") | countrylanguage : language (\"Orija\", \"Irish\", \"Tagalog\"), percentage (66.5, 5.9, 99.2), countrycode (\"BIH\", \"LAO\", \"MMR\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : name \", \"Eastbourne\", id , population , countrycode , district | sqlite_sequence : seq , name | country : surfacearea , headofstate , code2 , life_span , name , gnp , localname , gnpold , indepyear , region , life_length , population , code , governmentform , capital , continent | countrylanguage : language , percentage , countrycode , isofficial", "extra_map": { "country": { "lifeexpectancy": [ "life_length", "life_span" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "life_length", "life_span" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "Brazil": "country.Name", "population": "country.Population", "life expectancies": "country.LifeExpectancy" } }, { "question": "what are the #region# and #population of angola# ?", "db_id": "world_1", "orig_query": "select population, region from country where name = \"Angola\"", "schema_with_content": "city : population (113277, 100751, 108578), district (\"al-Bahr al-Abyad\", \"Maryland\", \"al-Jazira\"), name (\"Santa Maria\", \"Wuhu\", \"Ashdod\"), id (4, 3967, 527), countrycode (\"GUF\", \"JPN\", \"HRV\") | sqlite_sequence : seq (4079), name (\"city\") | country : code2 (\"HR\", \"KY\", \"FO\"), code (\"ASM\", \"CAF\", \"WLF\"), region (\"Baltic Countries\", \"Caribbean\", \"North America\"), headofstate (\"Norodom Sihanouk\", \"Frederick Chiluba\", \"Jos\u00c3\u00a9 Eduardo dos Santos\"), name (\"Tanzania\", \"Haiti\", \"Colombia\"), lifeexpectancy (78.0, 60.2, 64.1), indepyear (1878, 1922, 1977), capital (1792, 1522, 3225), citizen_count (4968000, 23115000, 3101000), continent (\"Europe\", \"Africa\", \"South America\"), gnp (536.0, 38158.0, 903.0), surfacearea (1399.0, 33851.0, 27750.0), gnpold (442544.0, 52037.0, 215002.0), governmentform (\"Co-administrated\", \"Dependent Territory of the UK\", \"Overseas Department of France\"), localname (\"Grenada\", \"Cuba\", \"Rep\u00c3\u00bablica Dominicana\"), headcount (4968000, 23115000, 3101000) | countrylanguage : isofficial (\"T\", \"F\"), percentage (65.3, 12.1, 14.1), countrycode (\"TUR\", \"MEX\", \"BEL\"), language (\"Kikuyu\", \"Buryat\", \"Kalenjin\")", "schema_without_content": "city : population , district , name , id , countrycode | sqlite_sequence : seq , name | country : code2 , code , region , headofstate , name , lifeexpectancy , indepyear , capital , citizen_count , continent , gnp , surfacearea , gnpold , governmentform , localname , headcount | countrylanguage : isofficial , percentage , countrycode , language", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "region": "country.Region", "population of Angola": "country.Population" } }, { "question": "what are the #region# and #population of angola# ?", "db_id": "world_1", "orig_query": "select population, region from country where name = \"Angola\"", "schema_with_content": "city : name (\"Barrackpur\", \"Austin\", \"Antipolo\"), population (174838, 214950, 124700), district (\"Kaesong-si\", \"Malatya\", \"Andorra la Vella\"), id (2142, 585, 2988), countrycode (\"CHL\", \"DJI\", \"KNA\") | sqlite_sequence : seq (4079), name (\"city\") | country : area (\"Southern Africa\", \"Melanesia\", \"Central America\"), indepyear (1844, 1919, 1970), continent (\"Africa\", \"North America\", \"North America\"), gnpold (23383.0, 45914.0, 10285.0), surfacearea (359.0, 298.0, 309500.0), name (\"Cook Islands\", \"Namibia\", \"Saint Lucia\"), district (\"Southern Africa\", \"Melanesia\", \"Central America\"), code2 (\"ER\", \"YU\", \"TD\"), population (270000, 27000, 3154000), gnp (1988.0, 116729.0, 3563.0), localname (\"Filastin\", \"Qatar\", \"France\"), code (\"SLE\", \"MSR\", \"IND\"), lifeexpectancy (73.4, 72.4, 70.3), capital (554, 2881, 3580), headofstate (\"John Bani\", \"Aleksander Kwasniewski\", \"Alfonso Portillo Cabrera\"), governmentform (\"Co-administrated\", \"Constitutional Monarchy\", \"Islamic Republic\") | countrylanguage : percentage (3.9, 7.7, 10.1), language (\"Javanese\", \"Ronga\", \"Japanese\"), countrycode (\"TON\", \"BEL\", \"MSR\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : name , population , district , id , countrycode | sqlite_sequence : seq , name | country : area , indepyear , continent , gnpold , surfacearea , name , district , code2 , population , gnp , localname , code , lifeexpectancy , capital , headofstate , governmentform | countrylanguage : percentage , language , countrycode , isofficial", "extra_map": { "country": { "region": [ "area", "district" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "area", "district" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "region": "country.Region", "population of Angola": "country.Population" } }, { "question": "what #region# does #angola# belong to and what is its #population# ?", "db_id": "world_1", "orig_query": "select population, region from country where name = \"Angola\"", "schema_with_content": "city : name (\"Nampo\", \"Pune\", \"Fagatogo\"), id (15, 3097, 2466), district (\"Udon Thani\", \"Sumy\", \"Nova Scotia\"), population (492559, 89852, 135284), countrycode (\"STP\", \"SDN\", \"DZA\") | sqlite_sequence : seq (4079), name (\"city\") | country : code (\"PRT\", \"KHM\", \"NAM\"), governmentform (\"Independent Church State\", \"Special Administrative Region of China\", \"Administrated by the UN\"), code2 (\"LR\", \"NU\", \"GM\"), continent (\"North America\", \"Oceania\", \"Asia\"), headofstate (\"Rudolf Schuster\", \"Johannes Paavali II\", \"kenraali Than Shwe\"), lifeexpectancy (69.9, 59.8, 72.3), name (\"Spain\", \"Virgin Islands, U.S.\", \"Bermuda\"), localname (\"\u00c2\u00b4Uman\", \"Argentina\", \"Bermuda\"), indepyear (1350, 1902, 1957), gnpold (49677.0, 392911.0, 19452.0), region (\"Micronesia\", \"Eastern Africa\", \"Eastern Asia\"), headcount (2000, 20000, 11385000), citizen_count (2000, 20000, 11385000), surfacearea (43094.0, 513115.0, 28896.0), gnp (1378330.0, 19756.0, 261.0), capital (2256, 3067, 537) | countrylanguage : language (\"Ngbaka\", \"Bajad\", \"Zapotec\"), percentage (50.8, 50.0, 23.3), isofficial (\"T\", \"F\"), countrycode (\"IND\", \"KAZ\", \"SDN\")", "schema_without_content": "city : name , id , district , population , countrycode | sqlite_sequence : seq , name | country : code , governmentform , code2 , continent , headofstate , lifeexpectancy , name , localname , indepyear , gnpold , region , headcount , citizen_count , surfacearea , gnp , capital | countrylanguage : language , percentage , isofficial , countrycode", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "region": "country.Region", "Angola": "country.Name", "population": "country.Population" } }, { "question": "what #region# does #angola# belong to and what is its #population# ?", "db_id": "world_1", "orig_query": "select population, region from country where name = \"Angola\"", "schema_with_content": "city : countrycode (\"PSE\", \"WLF\", \"BDI\"), id (1336, 2066, 2907), name (\"Dabrowa G\u00c3\u00b3rnicza\", \"Omuta\", \"Ixtapaluca\"), district (\"al-Raqqa\", \"Connecticut\", \"Karakalpakistan\"), population (162300, 360066, 130059) | sqlite_sequence : name (\"city\"), seq (4079) | country : governmentform (\"Islamic Republic\", \"Parliamentary Coprincipality\", \"Socialistic Republic\"), population (39441700, 10545700, 15864000), district (\"Antarctica\", \"Northern Africa\", \"Southern and Central Asia\"), continent (\"Antarctica\", \"North America\", \"Asia\"), headofstate (\"Kumba Ial\u00c3\u00a1\", \"Andr\u00c3\u00a9s Pastrana Arango\", \"Mireya Elisa Moscoso Rodr\u00c3\u00adguez\"), code2 (\"AT\", \"CV\", \"CR\"), capital (3067, 3261, 2690), localname (\"M\u00c3\u00a9xico\", \"Gibraltar\", \"Tuvalu\"), lifeexpectancy (49.0, 53.2, 75.6), indepyear (1957, 1066, 1974), surfacearea (238391.0, 65610.0, 93030.0), code (\"UZB\", \"CHL\", \"BVT\"), gnp (285.0, 2036.0, 371362.0), gnpold (30373.0, 34843.0, 135636.0), area (\"Antarctica\", \"Northern Africa\", \"Southern and Central Asia\"), name (\"Mauritania\", \"Kyrgyzstan\", \"Togo\") | countrylanguage : language (\"Luimbe-nganguela\", \"Tamil\", \"Nama\"), isofficial (\"T\", \"F\"), countrycode (\"TZA\", \"FIN\", \"ECU\"), percentage (12.3, 70.6, 4.1)", "schema_without_content": "city : countrycode , id , name , district , population | sqlite_sequence : name , seq | country : governmentform , population , district , continent , headofstate , code2 , capital , localname , lifeexpectancy , indepyear , surfacearea , code , gnp , gnpold , area , name | countrylanguage : language , isofficial , countrycode , percentage", "extra_map": { "country": { "region": [ "area", "district" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "area", "district" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "region": "country.Region", "Angola": "country.Name", "population": "country.Population" } }, { "question": "what is the #average expected life expectancy for countries in the region of central africa# ?", "db_id": "world_1", "orig_query": "select avg(lifeexpectancy) from country where region = \"Central Africa\"", "schema_with_content": "city : id (3808, 3302, 2930), population (869254, 119741, 124900), countrycode (\"GUM\", \"GTM\", \"MNP\"), district (\"Gaborone\", \"Odesa\", \"Porto\"), name (\"Adelaide\", \"Krasnodar\", \"Ratingen\") | sqlite_sequence : name (\"city\"), seq (4079) | country : indepyear (1769, 1960, 1905), population (51654000, 129155000, 168000), localname (\"Djibouti/Jibuti\", \"Al-\u00c2\u00b4Iraq\", \"New Zealand/Aotearoa\"), life_span (69.2, 45.3, 68.5), region (\"Southeast Asia\", \"Eastern Africa\", \"Middle East\"), capital (3424, 2728, 1881), gnpold (88434.0, 4186.0, 993.0), gnp (261.0, 5951.0, 553233.0), headofstate (\"Jos\u00c3\u00a9 Eduardo dos Santos\", \"Daniel arap Moi\", \"Chandrika Kumaratunga\"), surfacearea (581730.0, 242.0, 549.0), code (\"TCA\", \"SLE\", \"MNP\"), life_length (69.2, 45.3, 68.5), code2 (\"BF\", \"PG\", \"TP\"), continent (\"Asia\", \"Asia\", \"Africa\"), name (\"China\", \"Algeria\", \"Madagascar\"), governmentform (\"Dependent Territory of the UK\", \"Constitutional Monarchy\", \"Constitutional Monarchy (Emirate)\") | countrylanguage : language (\"Ibo\", \"Chichewa\", \"Comorian-madagassi\"), countrycode (\"TCA\", \"LTU\", \"LAO\"), percentage (31.6, 37.5, 31.0), isofficial (\"T\", \"F\")", "schema_without_content": "city : id , population , countrycode , district , name | sqlite_sequence : name , seq | country : indepyear , population , localname , life_span , region , capital , gnpold , gnp , headofstate , surfacearea , code , life_length , code2 , continent , name , governmentform \" | countrylanguage : language , countrycode , percentage , isofficial", "extra_map": { "country": { "lifeexpectancy": [ "life_length", "life_span" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "life_length", "life_span" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "average expected life expectancy for countries in the region of Central Africa": "country.LifeExpectancy" } }, { "question": "how long is the people\u2019s av #erage life expectancy in central africa?# ", "db_id": "world_1", "orig_query": "select avg(lifeexpectancy) from country where region = \"Central Africa\"", "schema_with_content": "city : name (\"Taonan\", \"Qyzylorda\", \"Gujrat\"), population (709730, 466990, 410775), id (309, 4038, 63), countrycode (\"MLI\", \"THA\", \"GRD\"), district (\"Primorje\", \"Chandigarh\", \"Sardinia\") | sqlite_sequence : name (\"city\"), seq (4079) | country : gnpold (189122.0, 243948.0, 7984.0), surfacearea (196722.0, 1.5, 51100.0), gnp (828.0, 102896.0, 63.2), life_length (77.7, 75.1, 68.1), code (\"REU\", \"GNQ\", \"NIC\"), code2 (\"SD\", \"TM\", \"AU\"), governmentform (\"Autonomous Area\", \"Federation\", \"Co-administrated\"), continent (\"South America\", \"Asia\", \"South America\"), region (\"Middle East\", \"Southeast Asia\", \"Middle East\"), headofstate (\"Mireya Elisa Moscoso Rodr\u00c3\u00adguez\", \"Joseph Kabila\", \"Paul Kagame\"), life_span (77.7, 75.1, 68.1), name (\"Falkland Islands\", \"Barbados\", \"Gibraltar\"), indepyear (1910, 800, 1962), capital (3358, 3306, 211), localname (\"Makedonija\", \"Svalbard og Jan Mayen\", \"Schweiz/Suisse/Svizzera/Svizra\"), population (6276000, 19000, 21778000) | countrylanguage : countrycode (\"DMA\", \"CPV\", \"CAF\"), isofficial (\"T\", \"F\"), language (\"Pampango\", \"Dari\", \"Ful\"), percentage (19.7, 11.1, 86.8)", "schema_without_content": "city : name , population , id , countrycode , district | sqlite_sequence : name , seq | country : gnpold , surfacearea , gnp , life_length , code , code2 , governmentform , continent , region , headofstate , life_span , name , indepyear , capital , localname , population | countrylanguage : countrycode , isofficial , language , percentage", "extra_map": { "country": { "lifeexpectancy": [ "life_length", "life_span" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "life_length", "life_span" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "erage life expectancy in Central Africa?": "country.Region", "average life expectancy": "country.LifeExpectancy" } }, { "question": "what is the #name of country# that has the shortest #life expectancy in asia# ?", "db_id": "world_1", "orig_query": "select name from country where continent = \"Asia\" order by lifeexpectancy limit 1", "schema_with_content": "city : id (3352, 2882, 3232), name (\"Lilongwe\", \"Baoding\", \"Bat Yam\"), population (104013, 147523, 141884), district (\"Santa Ana\", \"Noord-Holland\", \"Balears\"), countrycode (\"VCT\", \"PLW\", \"TCA\") | sqlite_sequence : name (\"city\"), seq (4079) | country : gnpold (157.0, 65186.0, 2141.0), indepyear (1953, 1902, 1844), capital (4068, 1530, 3539), code2 (\"EG\", \"BN\", \"KW\"), localname (\"As-Sudan\", \"Northern Mariana Islands\", \"Kenya\"), governmentform (\"Parlementary Monarchy\", \"Constitutional Monarchy, Federation\", \"Administrated by the UN\"), surfacearea (2040.0, 61.0, 241038.0), region (\"Southeast Asia\", \"Baltic Countries\", \"Southern Africa\"), nation (\"Guam\", \"Ireland\", \"American Samoa\"), population (51654000, 46844000, 6000), title (\"Guam\", \"Ireland\", \"American Samoa\"), continent (\"Europe\", \"Africa\", \"South America\"), headofstate (\"John Kufuor\", \"Shahabuddin Ahmad\", \"Kocheril Raman Narayanan\"), lifeexpectancy (37.6, 45.9, 49.8), gnp (371362.0, 1197.0, 571.0), code (\"DZA\", \"STP\", \"CHN\") | countrylanguage : language (\"Thai\", \"Gagauzi\", \"Dhivehi\"), isofficial (\"T\", \"F\"), percentage (1.8, 45.5, 12.0), countrycode (\"PYF\", \"MYT\", \"AGO\")", "schema_without_content": "city : id , name , population , district , countrycode | sqlite_sequence : name , seq | country : gnpold , indepyear , capital , code2 , localname , governmentform , surfacearea , region , nation , population , title , continent , headofstate , lifeexpectancy , gnp , code | countrylanguage : language , isofficial , percentage , countrycode", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name of country": "country.Name", "life expectancy in Asia": "country.LifeExpectancy" } }, { "question": "give the #name of the country in asia# with the lowest #life expectancy# .", "db_id": "world_1", "orig_query": "select name from country where continent = \"Asia\" order by lifeexpectancy limit 1", "schema_with_content": "city : name (\"Sohumi\", \"Tieli\", \"Tanshui\"), district (\"V\u00c3\u00a2lcea\", \"Kwara & Kogi\", \"Cesar\"), id (3985, 1801, 3350), population (179833, 91229, 254360), countrycode (\"PRT\", \"MNG\", \"KHM\") | sqlite_sequence : seq (4079), name (\"city\") | country : gnp (86503.0, 5121.0, 2357.0), indepyear (1993, 1983, 1861), population (65000, 24039000, 473000), code2 (\"KM\", \"OM\", \"MW\"), lifeexpectancy (69.2, 42.5, 53.6), title (\"Saint Lucia\", \"Tuvalu\", \"Canada\"), governmentform (\"Dependent Territory of Norway\", \"Dependent Territory of the US\", \"US Territory\"), headofstate (\"Denis Sassou-Nguesso\", \"Josefa Iloilo\", \"Teburoro Tito\"), localname (\"Tunis/Tunisie\", \"T\u00c3\u00bcrkmenostan\", \"South Georgia and the South Sandwich Islands\"), surfacearea (196722.0, 18575.0, 207600.0), continent (\"South America\", \"Antarctica\", \"Oceania\"), capital (3169, 921, 2453), code (\"ERI\", \"AIA\", \"HMD\"), region (\"Micronesia/Caribbean\", \"Southern Africa\", \"Central America\"), gnpold (206025.0, 6887.0, 119946.0), nation (\"Saint Lucia\", \"Tuvalu\", \"Canada\") | countrylanguage : isofficial (\"T\", \"F\"), countrycode (\"ZMB\", \"TGO\", \"NCL\"), language (\"Karakalpak\", \"N\u00c3\u00a1huatl\", \"Kpelle\"), percentage (7.3, 6.7, 76.7)", "schema_without_content": "city : name , district , id , population , countrycode | sqlite_sequence : seq , name | country : gnp , indepyear , population , code2 , lifeexpectancy , title , governmentform , headofstate , localname , surfacearea , continent , capital , code , region , gnpold , nation | countrylanguage : isofficial , countrycode , language , percentage", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name of the country in Asia": "country.Name", "life expectancy": "country.LifeExpectancy" } }, { "question": "what is the #total population# and #maximum gnp in asia# ?", "db_id": "world_1", "orig_query": "select sum(population), max(gnp) from country where continent = \"Asia\"", "schema_with_content": "city : name (\"al-Hilla\", \"Bristol\", \"Montpellier\"), district (\"Yamoussoukro\", \"Mandalay\", \"Katalonia\"), population (76293, 213017, 126820), id (1492, 2287, 871), countrycode (\"NIU\", \"VAT\", \"BHR\") | sqlite_sequence : seq (4079), name (\"city\") | country : indepyear (1951, 1278, 1978), headofstate (\"Nursultan Nazarbajev\", \"Hamad ibn Khalifa al-Thani\", \"Shahabuddin Ahmad\"), localname (\"Cameroun/Cameroon\", \"Zhongquo\", \"Choson Minjujuui In\u00c2\u00b4min Konghwaguk (Bukhan)\"), gnp (1206.0, 166448.0, 2133367.0), capital (135, 3209, 2509), gnpold (1392448.0, 5867.0, 170.0), continent (\"North America\", \"North America\", \"Oceania\"), code (\"DZA\", \"SWE\", \"DMA\"), code2 (\"PH\", \"AU\", \"LS\"), lifeexpectancy (57.4, 59.5, 68.5), name (\"Saint Lucia\", \"Guadeloupe\", \"Uzbekistan\"), governmentform (\"Administrated by the UN\", \"Part of Denmark\", \"Territorial Collectivity of France\"), surfacearea (1221037.0, 1399.0, 21056.0), region (\"South America\", \"Australia and New Zealand\", \"Central Africa\"), headcount (2153000, 71000, 3337000), citizen_count (2153000, 71000, 3337000) | countrylanguage : language (\"Madura\", \"Kuy\", \"Romanian\"), percentage (12.1, 0.9, 71.7), countrycode (\"BFA\", \"POL\", \"VUT\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : name , district , population , id , countrycode | sqlite_sequence : seq , name | country : indepyear , headofstate , localname \", gnp , capital , gnpold , continent , code , code2 , lifeexpectancy , name , governmentform , surfacearea , region , headcount , citizen_count | countrylanguage : language , percentage , countrycode , isofficial", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "total population": "country.Population", "maximum GNP in Asia": "country.GNP" } }, { "question": "what is the #total population# and #maximum gnp in asia# ?", "db_id": "world_1", "orig_query": "select sum(population), max(gnp) from country where continent = \"Asia\"", "schema_with_content": "city : population (479884, 115781, 210540), district (\"Saitama\", \"Alsace\", \"Fukuoka\"), id (3852, 1537, 309), name (\"Hoya\", \"Los Cabos\", \"Nairobi\"), countrycode (\"CCK\", \"NAM\", \"PER\") | sqlite_sequence : name (\"city\"), seq (4079) | country : governmentform (\"Parlementary Monarchy\", \"Parlementary Monarchy\", \"Co-administrated\"), population (3775100, 181000, 4807000), continent (\"North America\", \"Europe\", \"South America\"), code (\"CYM\", \"HRV\", \"CAN\"), localname (\"Guin\u00c3\u00a9e\", \"Malta\", \"Nouvelle-Cal\u00c3\u00a9donie\"), surfacearea (181035.0, 323877.0, 48511.0), lifeexpectancy (50.1, 51.1, 60.6), region (\"Nordic Countries\", \"Eastern Europe\", \"Nordic Countries\"), name (\"Anguilla\", \"Bermuda\", \"Hungary\"), headofstate (\"Ali Abdallah Salih\", \"Carlo Azeglio Ciampi\", \"Jabir al-Ahmad al-Jabir al-Sabah\"), capital (1522, 921, 3066), indepyear (1581, 1944, 1901), gnpold (2023.0, 19300.0, 19452.0), code2 (\"TN\", \"AN\", \"IQ\"), gross_national_product (6366.0, 146.0, 4768.0), national_income (6366.0, 146.0, 4768.0) | countrylanguage : percentage (9.0, 87.0, 50.0), countrycode (\"BIH\", \"SMR\", \"LBY\"), language (\"Sranantonga\", \"Fukien\", \"Gurage\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : population , district , id , name , countrycode | sqlite_sequence : name , seq | country : governmentform , population , continent , code , localname , surfacearea , lifeexpectancy , region , name , headofstate , capital , indepyear , gnpold , code2 , gross_national_product , national_income | countrylanguage : percentage , countrycode , language , isofficial", "extra_map": { "country": { "gnp": [ "gross_national_product", "national_income" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "gross_national_product", "national_income" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "total population": "country.Population", "maximum GNP in Asia": "country.GNP" } }, { "question": "how many #people# live in #asia# , and what is the #largest gnp# among them?", "db_id": "world_1", "orig_query": "select sum(population), max(gnp) from country where continent = \"Asia\"", "schema_with_content": "city : countrycode (\"GLP\", \"AGO\", \"FRO\"), name (\"Ozamis\", \"Schaan\", \"Slupsk\"), id (2734, 3377, 1093), population (114256, 163849, 390900), district (\"Serravalle/Dogano\", \"Balti\", \"Kombo St Mary\") | sqlite_sequence : name (\"city\"), seq (4079) | country : name (\"Portugal\", \"Nepal\", \"South Georgia and the South Sandwich Islands\"), headofstate (\"Kessai Note\", \"Rainier III\", \"France-Albert Ren\u00c3\u00a9\"), code (\"LAO\", \"COD\", \"YEM\"), localname (\"Togo\", \"Andorra\", \"Heard and McDonald Islands\"), indepyear (1963, 885, 1922), governmentform (\"Islamic Republic\", \"Administrated by the UN\", \"Independent Church State\"), gnpold (625626.0, 1627.0, 442989.0), continent (\"Antarctica\", \"Antarctica\", \"North America\"), code2 (\"CO\", \"IT\", \"CK\"), citizen_count (68470000, 61399000, 435700), surfacearea (43094.0, 108889.0, 12189.0), region (\"Western Europe\", \"Eastern Europe\", \"Micronesia\"), headcount (68470000, 61399000, 435700), gnp (776739.0, 20831.0, 3205.0), capital (2257, 766, 3520), lifeexpectancy (79.6, 78.6, 70.4) | countrylanguage : percentage (80.0, 22.9, 2.7), language (\"Burmese\", \"Luxembourgish\", \"Man\"), isofficial (\"T\", \"F\"), countrycode (\"BLR\", \"ATG\", \"MLI\")", "schema_without_content": "city : countrycode , name , id , population , district | sqlite_sequence : name , seq | country : name , headofstate , code , localname , indepyear , governmentform , gnpold , continent , code2 , citizen_count , surfacearea , region , headcount , gnp , capital , lifeexpectancy | countrylanguage : percentage , language , isofficial , countrycode", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "people": "country.Population", "Asia": "country.Continent", "largest GNP": "country.GNP" } }, { "question": "how many #people# live in #asia# , and what is the #largest gnp# among them?", "db_id": "world_1", "orig_query": "select sum(population), max(gnp) from country where continent = \"Asia\"", "schema_with_content": "city : countrycode (\"IND\", \"VNM\", \"BMU\"), population (94443, 120753, 123900), id (117, 1390, 3378), district (\"Home Island\", \"K\u00c3\u00a4rnten\", \"Namangan\"), name (\"Ancona\", \"Dera Ghazi Khan\", \"Annaba\") | sqlite_sequence : name (\"city\"), seq (4079) | country : gross_national_product (4127.0, 121914.0, 5333.0), code2 (\"MP\", \"DJ\", \"US\"), surfacearea (475442.0, 726.0, 9572900.0), national_income (4127.0, 121914.0, 5333.0), continent (\"Asia\", \"Asia\", \"Africa\"), name (\"Germany\", \"Estonia\", \"China\"), region (\"Micronesia\", \"Eastern Asia\", \"Central Africa\"), code (\"MYT\", \"TON\", \"VAT\"), gnpold (10241.0, 22834.0, 2201.0), localname (\"Al-Urdunn\", \"Sri Lanka/Ilankai\", \"Micronesia\"), headofstate (\"Gnassingb\u00c3\u00a9 Eyad\u00c3\u00a9ma\", \"Ange-F\u00c3\u00a9lix Patass\u00c3\u00a9\", \"Blaise Compaor\u00c3\u00a9\"), indepyear (1902, 1919, 1981), capital (192, 538, 4068), governmentform (\"Autonomous Area\", \"Emirate Federation\", \"US Territory\"), lifeexpectancy (73.1, 50.1, 70.3), population (119000, 3101000, 78000) | countrylanguage : language (\"Araucan\", \"Chiu chau\", \"Hadareb\"), isofficial (\"T\", \"F\"), percentage (65.6, 60.4, 12.0), countrycode (\"KAZ\", \"HRV\", \"SWZ\")", "schema_without_content": "city : countrycode , population , id , district , name | sqlite_sequence : name , seq | country : gross_national_product , code2 , surfacearea , national_income , continent , name , region , code , gnpold , localname , headofstate , indepyear , capital , governmentform , lifeexpectancy , population | countrylanguage : language , isofficial , percentage , countrycode", "extra_map": { "country": { "gnp": [ "gross_national_product", "national_income" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "gross_national_product", "national_income" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "people": "country.Population", "Asia": "country.Continent", "largest GNP": "country.GNP" } }, { "question": "what is the #average life expectancy in african countries# that are #republics# ?", "db_id": "world_1", "orig_query": "select avg(lifeexpectancy) from country where continent = \"Africa\" and governmentform = \"Republic\"", "schema_with_content": "city : population (133000, 131000, 149665), countrycode (\"SWE\", \"GHA\", \"KHM\"), name (\"Valenzuela\", \"Ezhou\", \"Huainan\"), id (2145, 2565, 3057), district (\"Abhasia [Aphazeti]\", \"Pays de la Loire\", \"Shaanxi\") | sqlite_sequence : seq (4079), name (\"city\") | country : gnp (65707.0, 19756.0, 19008.0), code (\"BEL\", \"HUN\", \"WSM\"), headofstate (\"Hamad ibn Khalifa al-Thani\", \"Kumba Ial\u00c3\u00a1\", \"Carlo Azeglio Ciampi\"), governmentform (\"Special Administrative Region of China\", \"Monarchy\", \"Parliamentary Coprincipality\"), surfacearea (45227.0, 752618.0, 338145.0), region (\"British Islands\", \"Eastern Asia\", \"Nordic Countries\"), life_length (68.4, 78.4, 60.2), gnpold (75617.0, 31966.0, 2201.0), name (\"Iraq\", \"Kenya\", \"Namibia\"), capital (1449, 1380, 1464), indepyear (1932, 1929, 800), population (2583000, 6188000, 10545700), life_span (68.4, 78.4, 60.2), continent (\"North America\", \"Antarctica\", \"North America\"), code2 (\"LA\", \"IT\", \"SJ\"), localname (\"Nihon/Nippon\", \"Ireland/\u00c3\u0089ire\", \"Druk-Yul\") | countrylanguage : isofficial (\"T\", \"F\"), countrycode (\"TZA\", \"MKD\", \"GRC\"), percentage (44.6, 39.9, 3.6), language (\"Comorian-Arabic\", \"Tsonga\", \"Bubi\")", "schema_without_content": "city : population , countrycode , name , id , district | sqlite_sequence : seq , name | country : gnp , code , headofstate , governmentform , surfacearea , region , life_length , gnpold , name , capital , indepyear , population , life_span , continent , code2 , localname | countrylanguage : isofficial , countrycode , percentage , language", "extra_map": { "country": { "lifeexpectancy": [ "life_length", "life_span" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "life_length", "life_span" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "average life expectancy in African countries": "country.LifeExpectancy", "republics": "country.GovernmentForm" } }, { "question": "give the #average life expectancy for countries in africa# which are #republics# ?", "db_id": "world_1", "orig_query": "select avg(lifeexpectancy) from country where continent = \"Africa\" and governmentform = \"Republic\"", "schema_with_content": "city : name (\"Chemnitz\", \"Livonia\", \"Navadwip\"), countrycode (\"BLR\", \"ARG\", \"GEO\"), district (\"Akita\", \"Oslo\", \"Mon\"), population (155332, 395402, 159110), id (1048, 305, 1187) | sqlite_sequence : seq (4079), name (\"city\") | country : gnpold (1627.0, 3922.0, 21300.0), capital (3068, 1523, 2253), code (\"ALB\", \"THA\", \"MDA\"), code2 (\"PM\", \"AL\", \"BV\"), surfacearea (90000.0, 78866.0, 20256.0), gnp (24375.0, 2012.0, 5332.0), headofstate (\"Joaqu\u00c3\u00adm A. Chissano\", \"John Bani\", \"Maaouiya Ould Sid\u00c2\u00b4Ahmad Taya\"), continent (\"Africa\", \"North America\", \"Europe\"), population (5605000, 168000, 6782000), life_length (74.9, 67.8, 68.1), indepyear (-1523, 1350, 1965), governmentform (\"Parlementary Monarchy\", \"Nonmetropolitan Territory of The Netherlands\", \"US Territory\"), localname (\"Djibouti/Jibuti\", \"Fiji Islands\", \"Pakistan\"), region (\"Southern and Central Asia\", \"Northern Africa\", \"Western Africa\"), life_span (74.9, 67.8, 68.1), name (\"Grenada\", \"Turkmenistan\", \"Finland\") | countrylanguage : isofficial (\"T\", \"F\"), percentage (4.4, 97.6, 88.7), language (\"Mongolian\", \"Fang\", \"Sotho\"), countrycode (\"BMU\", \"PNG\", \"TCA\")", "schema_without_content": "city : name , countrycode , district , population , id | sqlite_sequence : seq , name | country : gnpold , capital , code , code2 , surfacearea , gnp , headofstate , continent , population , life_length , indepyear , governmentform , localname , region , life_span , name | countrylanguage : isofficial , percentage , language , countrycode", "extra_map": { "country": { "lifeexpectancy": [ "life_length", "life_span" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "life_length", "life_span" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "average life expectancy for countries in Africa": "country.LifeExpectancy", "republics": "country.GovernmentForm" } }, { "question": "what is the #total surface area of the continents asia# and #europe# ?", "db_id": "world_1", "orig_query": "select sum(surfacearea) from country where continent = \"Asia\" or continent = \"Europe\"", "schema_with_content": "city : countrycode (\"GRC\", \"BRN\", \"TCD\"), district (\"Caquet\u00c3\u00a1\", \"Podravska\", \"Midi-Pyr\u00c3\u00a9n\u00c3\u00a9es\"), name (\"Tours\", \"Botosani\", \"Krasnyi Lut\u00c5\u00a1\"), id (3053, 4004, 2724), population (364700, 121494, 180650) | sqlite_sequence : name (\"city\"), seq (4079) | country : headofstate (\"Daniel arap Moi\", \"Cassam Uteem\", \"Vaira Vike-Freiberga\"), capital (3426, 3336, 2429), land_area (3903.0, 824292.0, 110994.0), gnpold (10285.0, 206025.0, 157.0), indepyear (-660, 1955, 1499), gnp (5976.0, 4173.0, 12178.0), population (6276000, 42321000, 11168000), region (\"British Islands\", \"Southeast Asia\", \"Micronesia/Caribbean\"), code (\"VNM\", \"EGY\", \"AGO\"), code2 (\"NZ\", \"MN\", \"CO\"), localname (\"British Indian Ocean Territory\", \"Indonesia\", \"Marshall Islands/Majol\"), governmentform (\"Co-administrated\", \"Dependent Territory of the US\", \"Islamic Republic\"), lifeexpectancy (49.2, 66.4, 77.7), extent (3903.0, 824292.0, 110994.0), continent (\"South America\", \"Europe\", \"North America\"), name (\"Bouvet Island\", \"Niger\", \"Cayman Islands\") | countrylanguage : countrycode (\"PRK\", \"MDG\", \"NLD\"), language (\"Mbete\", \"Kiga\", \"Kazakh\"), percentage (10.9, 75.5, 49.4), isofficial (\"T\", \"F\")", "schema_without_content": "city : countrycode , district , name , id , population | sqlite_sequence : name , seq | country : headofstate , capital , land_area , gnpold , indepyear , gnp , population , region , code , code2 , localname , governmentform , lifeexpectancy , extent , continent , name | countrylanguage : countrycode , language , percentage , isofficial", "extra_map": { "country": { "surfacearea": [ "land_area", "extent" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "land_area", "extent" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "total surface area of the continents Asia": "country.SurfaceArea", "Europe": "country.Continent" } }, { "question": "give the #total surface area# covered by #countries in asia# or #europe# .", "db_id": "world_1", "orig_query": "select sum(surfacearea) from country where continent = \"Asia\" or continent = \"Europe\"", "schema_with_content": "city : district (\"al-Batina\", \"Hakassia\", \"West Greece\"), population (128888, 978100, 144158), countrycode (\"TUV\", \"MDV\", \"PRY\"), id (2263, 617, 1952), name (\"Algeciras\", \"Pingdu\", \"Juazeiro\") | sqlite_sequence : name (\"city\"), seq (4079) | country : indepyear (1953, 1278, 1921), governmentform (\"Republic\", \"Emirate Federation\", \"Islamic Republic\"), lifeexpectancy (37.8, 70.0, 55.0), localname (\"United States\", \"Madagasikara/Madagascar\", \"Rossija\"), extent (8547403.0, 322463.0, 21056.0), land_area (8547403.0, 322463.0, 21056.0), code2 (\"PM\", \"DO\", \"CV\"), population (2024000, 5605000, 51654000), continent (\"North America\", \"Asia\", \"Europe\"), code (\"TUR\", \"NRU\", \"NGA\"), gnp (5332.0, 1630.0, 5493.0), gnpold (215002.0, 7051.0, 21300.0), headofstate (\"Festus G. Mogae\", \"Vladimir Putin\", \"Hamad ibn Khalifa al-Thani\"), capital (3248, 2698, 538), name (\"C\u00c3\u00b4te d\u00e2\u0080\u0099Ivoire\", \"Tokelau\", \"Maldives\"), region (\"Central America\", \"Australia and New Zealand\", \"North America\") | countrylanguage : countrycode (\"CZE\", \"CYM\", \"YEM\"), percentage (15.2, 32.6, 86.2), language (\"Mari\", \"Lithuanian\", \"Maltese\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : district , population , countrycode , id , name | sqlite_sequence : name , seq | country : indepyear , governmentform , lifeexpectancy , localname , extent , land_area , code2 , population , continent , code , gnp , gnpold , headofstate , capital , name , region | countrylanguage : countrycode , percentage , language , isofficial", "extra_map": { "country": { "surfacearea": [ "land_area", "extent" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "land_area", "extent" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "total surface area": "country.SurfaceArea", "countries in Asia": "country.Continent", "Europe": "country.Continent" } }, { "question": "how many #people# live in #gelderland district# ?", "db_id": "world_1", "orig_query": "select sum(population) from city where district = \"Gelderland\"", "schema_with_content": "city : total_inhabitants (2624000, 137647, 1747000), number_of_residents (2624000, 137647, 1747000), id (954, 1670, 3521), name (\"Vancouver\", \"Kimchaek\", \"Wloclawek\"), district (\"Arges\", \"Hormozgan\", \"Taka-Karpatia\"), countrycode (\"HTI\", \"MDV\", \"KHM\") | sqlite_sequence : name (\"city\"), seq (4079) | country : code2 (\"GL\", \"NZ\", \"CH\"), localname (\"Taehan Min\u00e2\u0080\u0099guk (Namhan)\", \"Paraguay\", \"Anguilla\"), capital (129, 2401, 2257), indepyear (1944, 885, 1825), surfacearea (242900.0, 603700.0, 309500.0), population (126714000, 10640000, 10278100), continent (\"Antarctica\", \"Europe\", \"Antarctica\"), lifeexpectancy (74.1, 46.7, 65.5), gnp (19008.0, 14194.0, 8287.0), headofstate (\"Lennart Meri\", \"kenraali Than Shwe\", \"Milan Kucan\"), governmentform (\"Nonmetropolitan Territory of New Zealand\", \"Islamic Republic\", \"Federation\"), name (\"Guinea\", \"C\u00c3\u00b4te d\u00e2\u0080\u0099Ivoire\", \"Saint Pierre and Miquelon\"), code (\"AFG\", \"STP\", \"MLI\"), region (\"Micronesia/Caribbean\", \"Melanesia\", \"Middle East\"), gnpold (88434.0, 2453.0, 1161.0) | countrylanguage : language (\"Mon-khmer\", \"Rakhine\", \"Iban\"), percentage (94.2, 81.2, 23.4), isofficial (\"T\", \"F\"), countrycode (\"CZE\", \"ZMB\", \"HRV\")", "schema_without_content": "city : total_inhabitants , number_of_residents , id , name , district , countrycode | sqlite_sequence : name , seq | country : code2 , localname \", \"Paraguay\", \"Anguilla\", capital , indepyear , surfacearea , population , continent , lifeexpectancy , gnp , headofstate , governmentform , name , code , region , gnpold | countrylanguage : language , percentage , isofficial , countrycode", "extra_map": { "city": { "population": [ "total_inhabitants", "number_of_residents" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "total_inhabitants", "number_of_residents" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "people": "city.Population", "Gelderland district": "city.District" } }, { "question": "what is the #total population of gelderland district# ?", "db_id": "world_1", "orig_query": "select sum(population) from city where district = \"Gelderland\"", "schema_with_content": "city : countrycode (\"ETH\", \"LVA\", \"SWE\"), number_of_residents (201267, 215373, 174933), name (\"Sofija\", \"Buenaventura\", \"Taoyuan\"), id (3230, 106, 828), total_inhabitants (201267, 215373, 174933), district (\"Asturia\", \"al-Khudud al-Samaliy\", \"Rivers & Bayelsa\") | sqlite_sequence : name (\"city\"), seq (4079) | country : population (5074000, 71000, 21607000), capital (3333, 2256, 2464), surfacearea (580367.0, 51100.0, 91982.0), lifeexpectancy (70.9, 50.5, 44.0), region (\"Southern Africa\", \"Southern and Central Asia\", \"North America\"), localname (\"Montserrat\", \"Schweiz/Suisse/Svizzera/Svizra\", \"Guinea Ecuatorial\"), code (\"CAN\", \"SLV\", \"FRO\"), governmentform (\"Overseas Department of France\", \"Islamic Republic\", \"Monarchy (Emirate)\"), name (\"Iraq\", \"Syria\", \"Belize\"), gnp (20208.0, 5121.0, 21929.0), code2 (\"AN\", \"UG\", \"FR\"), indepyear (1867, 1825, 1992), headofstate (\"Arthur N. R. Robinson\", \"Shahabuddin Ahmad\", \"Bernard Dowiyogo\"), continent (\"Africa\", \"Antarctica\", \"North America\"), gnpold (64960.0, 7474.0, 1580.0) | countrylanguage : countrycode (\"DZA\", \"SDN\", \"PCN\"), percentage (5.8, 27.7, 50.7), language (\"Spanish\", \"Malajalam\", \"Bullom-sherbro\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : countrycode , number_of_residents , name , id , total_inhabitants , district | sqlite_sequence : name , seq | country : population , capital , surfacearea , lifeexpectancy , region , localname , code , governmentform \", name , gnp , code2 , indepyear , headofstate , continent , gnpold | countrylanguage : countrycode , percentage , language , isofficial", "extra_map": { "city": { "population": [ "total_inhabitants", "number_of_residents" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "total_inhabitants", "number_of_residents" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "total population of Gelderland district": "city.Population" } }, { "question": "what is the #average gnp# and #total population# in all nations whose #government# is us territory?", "db_id": "world_1", "orig_query": "select avg(gnp), sum(population) from country where governmentform = \"US Territory\"", "schema_with_content": "city : countrycode (\"STP\", \"ITA\", \"BGD\"), population (94200, 478155, 171532), name (\"Ambon\", \"Ujung Pandang\", \"Miyazaki\"), district (\"Tottori\", \"Saratov\", \"Falc\u00c3\u00b3n\"), id (2514, 1437, 1004) | sqlite_sequence : seq (4079), name (\"city\") | country : indepyear (1941, 1960, 1919), headcount (1622000, 10925000, 1987800), governmentform (\"Parliamentary Coprincipality\", \"US Territory\", \"Nonmetropolitan Territory of The Netherlands\"), surfacearea (48511.0, 117600.0, 1267000.0), gnpold (6097.0, 75617.0, 5940.0), citizen_count (1622000, 10925000, 1987800), gnp (1687.0, 4834.0, 1536.0), code2 (\"SC\", \"BA\", \"BV\"), capital (3236, 1365, 938), continent (\"Europe\", \"Europe\", \"Europe\"), code (\"YUG\", \"MHL\", \"NLD\"), lifeexpectancy (57.4, 73.2, 80.7), region (\"Eastern Europe\", \"Micronesia/Caribbean\", \"Eastern Asia\"), headofstate (\"Mary McAleese\", \"Andr\u00c3\u00a9s Pastrana Arango\", \"John Kufuor\"), name (\"Poland\", \"Qatar\", \"Anguilla\"), localname (\"Xianggang/Hong Kong\", \"Sri Lanka/Ilankai\", \"Belgi\u00c3\u00ab/Belgique\") | countrylanguage : percentage (31.8, 8.2, 22.9), isofficial (\"T\", \"F\"), language (\"Mon\", \"Makonde\", \"Chechen\"), countrycode (\"AZE\", \"CHL\", \"LAO\")", "schema_without_content": "city : countrycode , population , name , district , id | sqlite_sequence : seq , name | country : indepyear , headcount , governmentform , surfacearea , gnpold , citizen_count , gnp , code2 , capital , continent , code , lifeexpectancy , region , headofstate , name , localname | countrylanguage : percentage , isofficial , language , countrycode", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "average GNP": "country.GNP", "total population": "country.Population", "government": "country.GovernmentForm" } }, { "question": "what is the #average gnp# and #total population# in all nations whose #government# is us territory?", "db_id": "world_1", "orig_query": "select avg(gnp), sum(population) from country where governmentform = \"US Territory\"", "schema_with_content": "city : id (75, 1958, 1286), name (\"Hampton\", \"Hachinohe\", \"Komsomolsk-na-Amure\"), countrycode (\"LBR\", \"MAR\", \"CAF\"), population (49541, 180307, 266281), district (\"East Falkland\", \"Caroni\", \"Home Island\") | sqlite_sequence : name (\"city\"), seq (4079) | country : code2 (\"IL\", \"BD\", \"FR\"), gnpold (73132.0, 625626.0, 755.0), code (\"BLR\", \"AFG\", \"SGP\"), localname (\"Mongol Uls\", \"Saint-Pierre-et-Miquelon\", \"Barbados\"), headofstate (\"kenraali Than Shwe\", \"Yoweri Museveni\", \"Rainier III\"), national_income (141.0, 2841.0, 17843.0), indepyear (1806, 1993, 1922), surfacearea (1267000.0, 111369.0, 199.0), name (\"Barbados\", \"Bahamas\", \"Heard Island and McDonald Islands\"), region (\"Micronesia\", \"Southern and Central Asia\", \"North America\"), lifeexpectancy (69.3, 46.7, 75.7), governmentform (\"Territorial Collectivity of France\", \"Socialistic State\", \"Socialistic State\"), capital (2890, 586, 921), population (50456000, 1305000, 19000), continent (\"Africa\", \"Africa\", \"Antarctica\"), gross_national_product (141.0, 2841.0, 17843.0) | countrylanguage : percentage (88.7, 3.4, 9.0), language (\"Bajan\", \"Cebuano\", \"Indian Languages\"), isofficial (\"T\", \"F\"), countrycode (\"TJK\", \"MHL\", \"IND\")", "schema_without_content": "city : id , name , countrycode , population , district | sqlite_sequence : name , seq | country : code2 , gnpold , code , localname , headofstate , national_income , indepyear , surfacearea , name , region , lifeexpectancy , governmentform , capital , population , continent , gross_national_product | countrylanguage : percentage , language , isofficial , countrycode", "extra_map": { "country": { "gnp": [ "gross_national_product", "national_income" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "gross_national_product", "national_income" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "average GNP": "country.GNP", "total population": "country.Population", "government": "country.GovernmentForm" } }, { "question": "give the #mean gnp# and #total population of nations# which are considered #us territory# .", "db_id": "world_1", "orig_query": "select avg(gnp), sum(population) from country where governmentform = \"US Territory\"", "schema_with_content": "city : district (\"Estuaire\", \"Semnan\", \"al-Bahr al-Ahmar\"), id (297, 2418, 1125), countrycode (\"CHN\", \"OMN\", \"TWN\"), name (\"Johannesburg\", \"Sudbury\", \"Pachuca de Soto\"), population (219017, 100118, 225970) | sqlite_sequence : seq (4079), name (\"city\") | country : region (\"Eastern Europe\", \"British Islands\", \"Melanesia\"), capital (3214, 3483, 2912), code2 (\"KM\", \"JO\", \"VU\"), headofstate (\"Kocheril Raman Narayanan\", \"Blaise Compaor\u00c3\u00a9\", \"Yahya Jammeh\"), governmentform (\"Federal Republic\", \"Territory of Australia\", \"Monarchy (Sultanate)\"), localname (\"Madagasikara/Madagascar\", \"Soomaaliya\", \"Falkland Islands\"), lifeexpectancy (78.4, 70.7, 60.0), indepyear (1932, 1278, 1958), surfacearea (6257.0, 7741220.0, 143998.0), continent (\"Europe\", \"South America\", \"South America\"), name (\"Lebanon\", \"Central African Republic\", \"C\u00c3\u00b4te d\u00e2\u0080\u0099Ivoire\"), gnp (372.0, 65984.0, 8444.0), citizen_count (14786000, 4629000, 3869000), headcount (14786000, 4629000, 3869000), gnpold (442544.0, 10169.0, 4361.0), code (\"TUN\", \"SHN\", \"ATA\") | countrylanguage : countrycode (\"KAZ\", \"NIC\", \"MDA\"), percentage (6.9, 32.5, 9.6), isofficial (\"T\", \"F\"), language (\"Saame\", \"Silesiana\", \"Ouaddai\")", "schema_without_content": "city : district , id , countrycode , name , population | sqlite_sequence : seq , name | country : region , capital , code2 , headofstate , governmentform \", localname , lifeexpectancy , indepyear , surfacearea , continent , name , gnp , citizen_count , headcount , gnpold , code | countrylanguage : countrycode , percentage , isofficial , language", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "mean GNP": "country.GNP", "total population of nations": "country.Population", "US territory": "country.GovernmentForm" } }, { "question": "give the #mean gnp# and #total population of nations# which are considered #us territory# .", "db_id": "world_1", "orig_query": "select avg(gnp), sum(population) from country where governmentform = \"US Territory\"", "schema_with_content": "city : countrycode (\"GRD\", \"BEN\", \"MYS\"), district (\"Saratov\", \"Kursk\", \"East Azerbaidzan\"), id (4060, 2642, 1495), name (\"Tirupati\", \"Anchorage\", \"Irbil\"), population (211391, 92224, 98818) | sqlite_sequence : name (\"city\"), seq (4079) | country : gnpold (6887.0, 227757.0, 383.0), lifeexpectancy (55.0, 76.2, 76.8), population (79832000, 50456000, 46844000), governmentform (\"Federal Republic\", \"Overseas Department of France\", \"Nonmetropolitan Territory of The Netherlands\"), gross_national_product (903.0, 650.0, 20831.0), continent (\"North America\", \"Antarctica\", \"Africa\"), name (\"Belgium\", \"Kyrgyzstan\", \"Botswana\"), national_income (903.0, 650.0, 20831.0), headofstate (\"Muammar al-Qadhafi\", \"kenraali Than Shwe\", \"Ricardo Lagos Escobar\"), region (\"Nordic Countries\", \"Micronesia/Caribbean\", \"Southern and Central Asia\"), localname (\"Mali\", \"R\u00c3\u00a9publique D\u00c3\u00a9mocratique du Congo\", \"British Indian Ocean Territory\"), capital (144, 3161, 2690), surfacearea (694.0, 1240192.0, 357022.0), indepyear (1918, 1976, 1822), code2 (\"LV\", \"AI\", \"SL\"), code (\"SMR\", \"MEX\", \"COD\") | countrylanguage : language (\"Bajad\", \"Warrau\", \"Singali\"), countrycode (\"CAN\", \"EST\", \"ANT\"), isofficial (\"T\", \"F\"), percentage (46.4, 10.9, 11.8)", "schema_without_content": "city : countrycode , district , id , name , population | sqlite_sequence : name , seq | country : gnpold , lifeexpectancy , population , governmentform , gross_national_product , continent , name , national_income , headofstate , region , localname , capital , surfacearea , indepyear , code2 , code | countrylanguage : language , countrycode , isofficial , percentage", "extra_map": { "country": { "gnp": [ "gross_national_product", "national_income" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "gross_national_product", "national_income" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "mean GNP": "country.GNP", "total population of nations": "country.Population", "US territory": "country.GovernmentForm" } }, { "question": "how many #unique languages# are spoken in the world?", "db_id": "world_1", "orig_query": "select count(distinct language) from countrylanguage", "schema_with_content": "city : countrycode (\"BEN\", \"CRI\", \"NIC\"), district (\"Constantine\", \"Oregon\", \"Chuuk\"), id (1846, 2355, 1276), name (\"Raurkela\", \"San Jos\u00c3\u00a9 del Monte\", \"Kudus\"), population (117019, 1212232, 3038159) | sqlite_sequence : seq (4079), name (\"city\") | country : gnpold (15519.0, 360478.0, 1186.0), indepyear (1905, 1769, 1945), gnp (4834.0, 818.0, 1424285.0), population (9481000, 11000, 270000), continent (\"South America\", \"South America\", \"South America\"), code2 (\"CV\", \"MQ\", \"IR\"), region (\"Caribbean\", \"Western Africa\", \"Micronesia/Caribbean\"), governmentform (\"Socialistic Republic\", \"Socialistic Republic\", \"Monarchy\"), lifeexpectancy (78.6, 73.0, 75.5), capital (585, 2882, 3770), code (\"NZL\", \"CHL\", \"SHN\"), headofstate (\"Blaise Compaor\u00c3\u00a9\", \"Zine al-Abidine Ben Ali\", \"Negasso Gidada\"), surfacearea (314.0, 1098581.0, 442.0), name (\"Barbados\", \"C\u00c3\u00b4te d\u00e2\u0080\u0099Ivoire\", \"Latvia\"), localname (\"Lubnan\", \"Vi\u00c3\u00aat Nam\", \"Andorra\") | countrylanguage : isofficial (\"T\", \"F\"), percentage (90.6, 96.4, 86.3), dialect (\"Eskimo Languages\", \"Madura\", \"Karen\"), tongue (\"Eskimo Languages\", \"Madura\", \"Karen\"), countrycode (\"IRL\", \"FLK\", \"EST\")", "schema_without_content": "city : countrycode , district , id , name , population | sqlite_sequence : seq , name | country : gnpold , indepyear , gnp , population , continent , code2 , region , governmentform , lifeexpectancy , capital , code , headofstate , surfacearea , name , localname | countrylanguage : isofficial , percentage , dialect , tongue , countrycode", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "unique languages": "countrylanguage.Language" } }, { "question": "what is the number of #distinct languages# used around the world?", "db_id": "world_1", "orig_query": "select count(distinct language) from countrylanguage", "schema_with_content": "city : id (329, 3690, 385), district (\"Lam Dong\", \"Zaporizzja\", \"Mekn\u00c3\u00a8s-Tafilalet\"), countrycode (\"NOR\", \"CCK\", \"SGP\"), name (\"Tianshui\", \"Paris\", \"Tanta\"), population (133786, 120523, 176800) | sqlite_sequence : seq (4079), name (\"city\") | country : indepyear (1941, 1945, 1973), gnp (44806.0, 36124.0, 19756.0), lifeexpectancy (69.9, 72.3, 75.5), code2 (\"NP\", \"GS\", \"VI\"), name (\"Iceland\", \"United States\", \"Madagascar\"), region (\"Southern and Central Asia\", \"South America\", \"Eastern Africa\"), continent (\"South America\", \"Antarctica\", \"Europe\"), capital (33, 583, 2814), population (9586000, 2441000, 1295000), surfacearea (323877.0, 196722.0, 151.0), headofstate (\"Arnoldo Alem\u00c3\u00a1n Lacayo\", \"Mohammed Abdel Aziz\", \"Abdurrahman Wahid\"), code (\"MEX\", \"HMD\", \"BEN\"), gnpold (73132.0, 153907.0, 1081.0), governmentform (\"Dependent Territory of Norway\", \"Overseas Department of France\", \"Co-administrated\"), localname (\"Zambia\", \"Mali\", \"Saint-Pierre-et-Miquelon\") | countrylanguage : countrycode (\"ROM\", \"FJI\", \"CUB\"), isofficial (\"T\", \"F\"), tongue (\"Ket\u00c5\u00a1ua\", \"Lao-Soung\", \"Romanian\"), dialect (\"Ket\u00c5\u00a1ua\", \"Lao-Soung\", \"Romanian\"), percentage (6.8, 2.0, 37.2)", "schema_without_content": "city : id , district , countrycode , name , population | sqlite_sequence : seq , name | country : indepyear , gnp , lifeexpectancy , code2 , name , region , continent , capital , population , surfacearea , headofstate , code , gnpold , governmentform , localname | countrylanguage : countrycode , isofficial , tongue , dialect , percentage", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "distinct languages": "countrylanguage.Language" } }, { "question": "how many #type of governments# are in #africa# ?", "db_id": "world_1", "orig_query": "select count(distinct governmentform) from country where continent = \"Africa\"", "schema_with_content": "city : name (\"Sandy\", \"Lanzhou\", \"Delta\"), population (379310, 1975294, 106837), district (\"Dolj\", \"Rheinland-Pfalz\", \"Nizni Novgorod\"), id (2121, 1919, 906), countrycode (\"DJI\", \"BLZ\", \"USA\") | sqlite_sequence : seq (4079), name (\"city\") | country : localname (\"\u00c2\u00b8esko\", \"B\u00c3\u00a9nin\", \"Saint Vincent and the Grenadines\"), political_system (\"Part of Denmark\", \"Commonwealth of the US\", \"Independent Church State\"), region (\"Micronesia\", \"North America\", \"Polynesia\"), lifeexpectancy (71.4, 59.5, 70.8), surfacearea (117600.0, 49.0, 1267000.0), gnpold (88434.0, 7051.0, 793.0), indepyear (1821, 1974, 1979), capital (3063, 3236, 185), name (\"Puerto Rico\", \"Christmas Island\", \"Moldova\"), ruling_system (\"Part of Denmark\", \"Commonwealth of the US\", \"Independent Church State\"), headofstate (\"Akihito\", \"Cassam Uteem\", \"Kostis Stefanopoulos\"), population (7733000, 10640000, 453000), code (\"WSM\", \"GEO\", \"NIU\"), gnp (447114.0, 630.0, 102896.0), code2 (\"FR\", \"IN\", \"HT\"), continent (\"Oceania\", \"Europe\", \"North America\") | countrylanguage : percentage (99.2, 19.2, 56.6), countrycode (\"BHS\", \"MMR\", \"TGO\"), language (\"Balochi\", \"Creole English\", \"Canton Chinese\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : name , population , district , id , countrycode | sqlite_sequence : seq , name | country : localname , political_system , region , lifeexpectancy , surfacearea , gnpold , indepyear , capital , name , ruling_system , headofstate , population , code , gnp , code2 , continent | countrylanguage : percentage , countrycode , language , isofficial", "extra_map": { "country": { "governmentform": [ "ruling_system", "political_system" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "headofstate", "capital", "code2", "ruling_system", "political_system" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "type of governments": "country.GovernmentForm", "Africa": "country.Continent" } }, { "question": "how many different #forms of governments# are there in #africa# ?", "db_id": "world_1", "orig_query": "select count(distinct governmentform) from country where continent = \"Africa\"", "schema_with_content": "city : population (103455, 93058, 102384), id (1567, 2840, 2901), name (\"Poznan\", \"Olomouc\", \"Porto Velho\"), countrycode (\"ISL\", \"JAM\", \"DOM\"), district (\"al-Minya\", \"Co\u00c3\u00admbra\", \"Tripoli\") | sqlite_sequence : name (\"city\"), seq (4079) | country : political_system (\"Parlementary Monarchy\", \"Special Administrative Region of China\", \"Monarchy (Emirate)\"), ruling_system (\"Parlementary Monarchy\", \"Special Administrative Region of China\", \"Monarchy (Emirate)\"), localname (\"Mayotte\", \"Sierra Leone\", \"Mauritius\"), population (11201000, 8329000, 1213000), gnp (34100.0, 2352.0, 4988.0), gnpold (2559.0, 5940.0, 532031.0), capital (2409, 3813, 2464), code2 (\"TF\", \"GS\", \"MD\"), headofstate (\"Negasso Gidada\", \"Aleksander Kwasniewski\", \"Hugo Ch\u00c3\u00a1vez Fr\u00c3\u00adas\"), indepyear (1921, 1907, 1951), lifeexpectancy (76.4, 74.7, 70.9), name (\"Bangladesh\", \"Mauritania\", \"Romania\"), code (\"TUN\", \"GNB\", \"ALB\"), continent (\"South America\", \"Antarctica\", \"Antarctica\"), region (\"Southern Africa\", \"Eastern Europe\", \"Central America\"), surfacearea (1566500.0, 51197.0, 2149690.0) | countrylanguage : percentage (7.8, 49.4, 59.2), language (\"Sunda\", \"Fries\", \"Dhivehi\"), countrycode (\"MTQ\", \"REU\", \"TMP\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : population , id , name , countrycode , district | sqlite_sequence : name , seq | country : political_system \", ruling_system \", localname , population , gnp , gnpold , capital , code2 , headofstate , indepyear , lifeexpectancy , name , code , continent , region , surfacearea | countrylanguage : percentage , language , countrycode , isofficial", "extra_map": { "country": { "governmentform": [ "ruling_system", "political_system" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "headofstate", "capital", "code2", "ruling_system", "political_system" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "forms of governments": "country.GovernmentForm", "Africa": "country.Continent" } }, { "question": "what is the total number of #languages# used in #aruba# ?", "db_id": "world_1", "orig_query": "select count(t2.language) from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t1.name = \"Aruba\"", "schema_with_content": "city : district (\"Ninawa\", \"Swietokrzyskie\", \"M\u00c3\u00a9xico\"), countrycode (\"MYS\", \"IDN\", \"DZA\"), name (\"Southampton\", \"Sahiwal\", \"Bouak\u00c3\u00a9\"), population (391170, 121952, 71000), id (576, 1975, 2394) | sqlite_sequence : name (\"city\"), seq (4079) | country : headofstate (\"Albert II\", \"Johannes Paavali II\", \"Maaouiya Ould Sid\u00c2\u00b4Ahmad Taya\"), localname (\"Jamaica\", \"Filastin\", \"Kyrgyzstan\"), gnpold (30373.0, 102133.0, 49677.0), code (\"BGD\", \"KAZ\", \"GIN\"), lifeexpectancy (67.8, 52.4, 62.5), gnp (97477.0, 630.0, 6398.0), continent (\"Antarctica\", \"North America\", \"South America\"), governmentform (\"Constitutional Monarchy, Federation\", \"Territory of Australia\", \"Occupied by Marocco\"), capital (4074, 652, 2430), population (435700, 42321000, 5330000), name (\"Virgin Islands, British\", \"Yugoslavia\", \"Tuvalu\"), indepyear (1955, 836, 1946), region (\"Southeast Asia\", \"Micronesia/Caribbean\", \"Eastern Europe\"), surfacearea (9363520.0, 0.4, 1221037.0), code2 (\"AI\", \"CZ\", \"AZ\") | countrylanguage : dialect (\"Luxembourgish\", \"Malinke\", \"Tikar\"), isofficial (\"T\", \"F\"), percentage (12.9, 45.4, 8.8), countrycode (\"CHN\", \"ARG\", \"NCL\"), tongue (\"Luxembourgish\", \"Malinke\", \"Tikar\")", "schema_without_content": "city : district , countrycode , name , population , id | sqlite_sequence : name , seq | country : headofstate , localname , gnpold , code , lifeexpectancy , gnp , continent , governmentform , capital , population , name , indepyear , region , surfacearea , code2 | countrylanguage : dialect , isofficial , percentage , countrycode , tongue", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "languages": "countrylanguage.Language", "Aruba": "country.Name" } }, { "question": "how many #languages# are spoken in #aruba# ?", "db_id": "world_1", "orig_query": "select count(t2.language) from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t1.name = \"Aruba\"", "schema_with_content": "city : name (\"Puerto Cabello\", \"Newcastle\", \"Hachioji\"), population (703592, 1050000, 92713), district (\"Campania\", \"Saint Helena\", \"Newmaa\"), countrycode (\"ESH\", \"PLW\", \"ZAF\"), id (393, 3673, 3296) | sqlite_sequence : name (\"city\"), seq (4079) | country : indepyear (1968, 1776, 1921), gnp (1292.0, 55017.0, 17843.0), gnpold (442989.0, 40562.0, None), localname (\"Belize\", \"Niue\", \"Tuvalu\"), headofstate (\"Salahuddin Abdul Aziz Shah Alhaj\", \"Abdelaziz Bouteflika\", \"Jos\u00c3\u00a9 Eduardo dos Santos\"), code (\"CPV\", \"BGD\", \"GUM\"), surfacearea (7741220.0, 449964.0, 69700.0), capital (2738, 150, 150), governmentform (\"Commonwealth of the US\", \"Constitutional Monarchy\", \"Independent Church State\"), lifeexpectancy (69.3, 64.5, 62.9), continent (\"Africa\", \"North America\", \"Africa\"), region (\"Western Africa\", \"Caribbean\", \"Southeast Asia\"), population (2124000, 190000, 279000), name (\"Turkmenistan\", \"Venezuela\", \"Oman\"), code2 (\"CH\", \"KY\", \"BG\") | countrylanguage : percentage (7.0, 2.6, 45.4), isofficial (\"T\", \"F\"), countrycode (\"SJM\", \"PNG\", \"ABW\"), dialect (\"Hassaniya\", \"Asami\", \"Mongolian\"), tongue (\"Hassaniya\", \"Asami\", \"Mongolian\")", "schema_without_content": "city : name , population , district , countrycode , id | sqlite_sequence : name , seq | country : indepyear , gnp , gnpold , localname , headofstate , code , surfacearea , capital , governmentform , lifeexpectancy , continent , region , population , name , code2 | countrylanguage : percentage , isofficial , countrycode , dialect , tongue", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "languages": "countrylanguage.Language", "Aruba": "country.Name" } }, { "question": "what is #name of the country# that speaks the largest number of #languages# ?", "db_id": "world_1", "orig_query": "select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode group by t1.name order by count(*) desc limit 1", "schema_with_content": "city : district (\"Orenburg\", \"Ha Merkaz\", \"Niger\"), countrycode (\"CAF\", \"EST\", \"ROM\"), name (\"Ormoc\", \"K\u00c3\u00bctahya\", \"Ambala Sadar\"), population (371601, 332969, 167215), id (3914, 3764, 1848) | sqlite_sequence : seq (4079), name (\"city\") | country : title (\"Guadeloupe\", \"India\", \"Singapore\"), headofstate (\"Hamad ibn Isa al-Khalifa\", \"Fahd ibn Abdul-Aziz al-Sa\u00c2\u00b4ud\", \"Tr\u00c3\u00a2n Duc Luong\"), surfacearea (637657.0, 143100.0, 323250.0), continent (\"Antarctica\", \"North America\", \"Europe\"), localname (\"Brasil\", \"Timor Timur\", \"Kalaallit Nunaat/Gr\u00c3\u00b8nland\"), gnp (12178.0, 4173.0, 1161755.0), gnpold (2527.0, 2500.0, 58623.0), code2 (\"YE\", \"FJ\", \"RO\"), code (\"BRA\", \"NOR\", \"ATG\"), population (15211000, 31147000, 4699000), capital (2256, 1864, 1800), lifeexpectancy (78.6, 73.7, 46.7), indepyear (1965, 1945, 1769), nation (\"Guadeloupe\", \"India\", \"Singapore\"), region (\"Caribbean\", \"Eastern Africa\", \"Central America\"), governmentform (\"Parliamentary Coprincipality\", \"Independent Church State\", \"Islamic Emirate\") | countrylanguage : isofficial (\"T\", \"F\"), percentage (3.8, 8.1, 58.4), language (\"Kirgiz\", \"Sardinian\", \"Miskito\"), countrycode (\"CIV\", \"TUR\", \"AUS\")", "schema_without_content": "city : district , countrycode , name , population , id | sqlite_sequence : seq , name | country : title , headofstate , surfacearea , continent , localname , gnp , gnpold , code2 , code , population , capital , lifeexpectancy , indepyear , nation , region , governmentform | countrylanguage : isofficial , percentage , language , countrycode", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name of the country": "country.Name", "languages": "countrylanguage.Language" } }, { "question": "give the #name of the nation# that uses the greatest amount of #languages# .", "db_id": "world_1", "orig_query": "select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode group by t1.name order by count(*) desc limit 1", "schema_with_content": "city : population (1573458, 294788, 187206), countrycode (\"ATG\", \"URY\", \"UKR\"), district (\"Hubei\", \"Niamey\", \"\u00c3\u008ele-de-France\"), name (\"Yeotmal (Yavatmal)\", \"Braila\", \"Wiesbaden\"), id (1754, 973, 3127) | sqlite_sequence : name (\"city\"), seq (4079) | country : nation (\"Saudi Arabia\", \"Cape Verde\", \"Sierra Leone\"), localname (\"Sakartvelo\", \"Terres australes fran\u00c3\u00a7aises\", \"Tonga\"), capital (928, 33, 149), gnp (4173.0, 19770.0, 6648.0), region (\"Western Europe\", \"Eastern Europe\", \"Western Europe\"), gnpold (2559.0, 2149.0, 146171.0), governmentform (\"Dependent Territory of the US\", \"US Territory\", \"Nonmetropolitan Territory of The Netherlands\"), headofstate (\"Milan Kucan\", \"Zayid bin Sultan al-Nahayan\", \"Robert Kot\u00c5\u00a1arjan\"), code (\"LSO\", \"SMR\", \"IOT\"), code2 (\"KH\", \"BR\", \"CK\"), lifeexpectancy (46.0, 38.3, 80.1), continent (\"South America\", \"Africa\", \"Asia\"), title (\"Saudi Arabia\", \"Cape Verde\", \"Sierra Leone\"), surfacearea (242.0, 28748.0, 2586.0), population (293000, 46844000, 14786000), indepyear (1499, 1968, 1919) | countrylanguage : percentage (11.5, 11.3, 21.6), language (\"Tswana\", \"Gurage\", \"Chewa\"), isofficial (\"T\", \"F\"), countrycode (\"ASM\", \"DOM\", \"HTI\")", "schema_without_content": "city : population , countrycode , district , name \", \"Braila\", \"Wiesbaden\", id | sqlite_sequence : name , seq | country : nation , localname , capital , gnp , region , gnpold , governmentform , headofstate , code , code2 , lifeexpectancy , continent , title , surfacearea , population , indepyear | countrylanguage : percentage , language , isofficial , countrycode", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name of the nation": "country.Name", "languages": "countrylanguage" } }, { "question": "which #continent# has the most diverse #languages# ?", "db_id": "world_1", "orig_query": "select t1.continent from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode group by t1.continent order by count(*) desc limit 1", "schema_with_content": "city : population (193238, 1829500, 293105), name (\"Osmaniye\", \"Manzanillo\", \"Otsu\"), district (\"Moscow (City)\", \"al-Khudud al-Samaliy\", \"Northern Mindanao\"), id (1524, 4062, 2504), countrycode (\"TJK\", \"TKL\", \"SAU\") | sqlite_sequence : seq (4079), name (\"city\") | country : continent_name (\"Oceania\", \"Europe\", \"Antarctica\"), name (\"Portugal\", \"Bosnia and Herzegovina\", \"Malta\"), surfacearea (13878.0, 33851.0, 488100.0), indepyear (1965, 1821, 885), localname (\"Le Gabon\", \"Al-Maghrib\", \"Guin\u00c3\u00a9e\"), region (\"North America\", \"North America\", \"Southern Africa\"), headofstate (\"Askar Akajev\", \"Henri\", \"Ange-F\u00c3\u00a9lix Patass\u00c3\u00a9\"), code (\"ATF\", \"MWI\", \"IRQ\"), lifeexpectancy (81.6, 73.6, 63.7), population (638000, 599000, 8222000), capital (3047, None, 2914), gnpold (1081.0, 3347.0, 12460.0), code2 (\"BR\", \"GL\", \"CO\"), gnp (510.0, 3459.0, 8287.0), governmentform (\"Constitutional Monarchy (Emirate)\", \"People'sRepublic\", \"Socialistic Republic\"), mainland (\"Oceania\", \"Europe\", \"Antarctica\") | countrylanguage : isofficial (\"T\", \"F\"), percentage (81.2, 21.7, 10.5), countrycode (\"KIR\", \"SWE\", \"SHN\"), language (\"Newari\", \"Bari\", \"Sango\")", "schema_without_content": "city : population , name , district \", \"al-Khudud al-Samaliy\", \"Northern Mindanao\", id , countrycode | sqlite_sequence : seq , name | country : continent_name , name , surfacearea , indepyear , localname , region , headofstate , code , lifeexpectancy , population , capital , gnpold , code2 , gnp , governmentform \", \"People'sRepublic\", \"Socialistic Republic\", mainland | countrylanguage : isofficial , percentage , countrycode , language", "extra_map": { "country": { "continent": [ "mainland", "continent_name" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "mainland", "continent_name" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "continent": "country.Continent", "languages": "countrylanguage.Language" } }, { "question": "which #continent# speaks the most #languages# ?", "db_id": "world_1", "orig_query": "select t1.continent from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode group by t1.continent order by count(*) desc limit 1", "schema_with_content": "city : district (\"Tabasco\", \"Bushehr\", \"Illinois\"), countrycode (\"VAT\", \"COM\", \"NIC\"), name (\"Fujimi\", \"Onitsha\", \"Kaunas\"), id (2579, 1881, 3764), population (475167, 93809, 110722) | sqlite_sequence : seq (4079), name (\"city\") | country : region (\"Eastern Europe\", \"Eastern Europe\", \"Eastern Asia\"), population (22720000, 18827000, 19680000), indepyear (836, 1994, 1963), surfacearea (29800.0, 111369.0, 513115.0), mainland (\"Africa\", \"North America\", \"Africa\"), headofstate (\"Valentin Paniagua Corazao\", \"Heyd\u00c3\u00a4r \u00c3\u0084liyev\", \"Muammar al-Qadhafi\"), gnp (17000.0, 141.0, 1626.0), capital (211, 2296, 933), localname (\"Jamaica\", \"Al-Imarat al-\u00c2\u00b4Arabiya al-Muttahida\", \"Rwanda/Urwanda\"), code2 (\"GL\", \"BT\", \"DM\"), continent_name (\"Africa\", \"North America\", \"Africa\"), code (\"MLT\", \"MCO\", \"FRO\"), governmentform (\"Co-administrated\", \"Islamic Republic\", \"Islamic Emirate\"), lifeexpectancy (81.6, 42.9, 70.4), name (\"Belgium\", \"British Indian Ocean Territory\", \"Aruba\"), gnpold (917719.0, 1056.0, 7967.0) | countrylanguage : percentage (20.9, 50.7, 1.9), language (\"Samoan-English\", \"Chokwe\", \"Joruba\"), isofficial (\"T\", \"F\"), countrycode (\"TON\", \"ROM\", \"YUG\")", "schema_without_content": "city : district , countrycode , name , id , population | sqlite_sequence : seq , name | country : region , population , indepyear , surfacearea , mainland , headofstate , gnp , capital , localname , code2 , continent_name , code , governmentform , lifeexpectancy , name , gnpold | countrylanguage : percentage , language , isofficial , countrycode", "extra_map": { "country": { "continent": [ "mainland", "continent_name" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "mainland", "continent_name" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "continent": "country.Continent", "languages": "countrylanguage.Language" } }, { "question": "what are the #names of nations# speak both #english# and #french# ?", "db_id": "world_1", "orig_query": "select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"English\" intersect select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"French\"", "schema_with_content": "city : population (93735, 237500, 107722), id (2805, 2453, 4012), name (\"Sawangan\", \"La Spezia\", \"Shahrud\"), countrycode (\"GUM\", \"NPL\", \"SGP\"), district (\"Riad\", \"Morogoro\", \"San Luis\") | sqlite_sequence : name (\"city\"), seq (4079) | country : lifeexpectancy (38.3, 74.9, 81.1), continent (\"South America\", \"Asia\", \"North America\"), nation (\"Mexico\", \"Turkmenistan\", \"Hong Kong\"), code2 (\"TJ\", \"UY\", \"GB\"), capital (2318, 2511, 2882), title (\"Mexico\", \"Turkmenistan\", \"Hong Kong\"), localname (\"Heard and McDonald Islands\", \"The Gambia\", \"Papua New Guinea/Papua Niugini\"), headofstate (\"Mohammad Rafiq Tarar\", \"Kim Jong-il\", \"Benjamin William Mkapa\"), gnp (1054.0, 4401.0, 1208.0), gnpold (706.0, 8596.0, 23383.0), indepyear (1984, 1944, 1861), governmentform (\"Dependent Territory of Norway\", \"Federation\", \"Federation\"), code (\"BTN\", \"SLE\", \"MSR\"), region (\"Southern and Central Asia\", \"Caribbean\", \"Central America\"), population (599000, 578000, 15085000), surfacearea (48511.0, 322463.0, 21041.0) | countrylanguage : isofficial (\"T\", \"F\"), percentage (19.0, 15.8, 9.7), countrycode (\"AUS\", \"LUX\", \"VIR\"), language (\"Udmur\", \"Assyrian\", \"Ukrainian\")", "schema_without_content": "city : population , id , name , countrycode , district | sqlite_sequence : name , seq | country : lifeexpectancy , continent , nation , code2 , capital , title , localname , headofstate , gnp , gnpold , indepyear , governmentform , code , region , population , surfacearea | countrylanguage : isofficial , percentage , countrycode , language", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names of nations": "country.Name", "English": "countrylanguage.Language", "French": "countrylanguage.Language" } }, { "question": "give the #names of nations# that speak both #english# and #french# .", "db_id": "world_1", "orig_query": "select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"English\" intersect select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"French\"", "schema_with_content": "city : district (\"Hama\", \"Salta\", \"Tien Giang\"), population (171056, 133000, 309900), name (\"Offenbach am Main\", \"Araguari\", \"Fengyuan\"), id (2977, 773, 2400), countrycode (\"COD\", \"MAC\", \"MHL\") | sqlite_sequence : seq (4079), name (\"city\") | country : title (\"Mauritania\", \"Qatar\", \"Czech Republic\"), lifeexpectancy (80.1, 71.0, 78.0), code (\"COL\", \"MYT\", \"SWE\"), surfacearea (22696.0, 199900.0, 88946.0), continent (\"South America\", \"Oceania\", \"South America\"), code2 (\"JO\", \"VI\", \"GA\"), region (\"British Islands\", \"Southern Africa\", \"Western Europe\"), population (9169000, 27000, 4629000), indepyear (1992, 1974, 1492), nation (\"Mauritania\", \"Qatar\", \"Czech Republic\"), governmentform (\"Nonmetropolitan Territory of The Netherlands\", \"Constitutional Monarchy (Emirate)\", \"Emirate Federation\"), capital (129, 3214, 3161), gnpold (3384.0, 64926.0, 88434.0), gnp (116729.0, 3563.0, 776739.0), localname (\"Chile\", \"Marshall Islands/Majol\", \"Saint Lucia\"), headofstate (\"Mathieu K\u00c3\u00a9r\u00c3\u00a9kou\", \"Paul Biya\", \"Jiang Zemin\") | countrylanguage : isofficial (\"T\", \"F\"), percentage (4.5, 11.2, 1.1), countrycode (\"WSM\", \"STP\", \"CRI\"), language (\"Swedish\", \"Zhuang\", \"Eskimo Languages\")", "schema_without_content": "city : district , population , name , id , countrycode | sqlite_sequence : seq , name | country : title , lifeexpectancy , code , surfacearea , continent , code2 , region , population , indepyear , nation , governmentform \", \"Emirate Federation\", capital , gnpold , gnp , localname , headofstate | countrylanguage : isofficial , percentage , countrycode , language", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names of nations": "country.Name", "English": "countrylanguage.Language", "French": "countrylanguage.Language" } }, { "question": "what are the #names of nations# where both #english# and #french# are #official languages# ?", "db_id": "world_1", "orig_query": "select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"English\" and t2.isofficial = \"T\" intersect select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"French\" and t2.isofficial = \"T\"", "schema_with_content": "city : id (1659, 3321, 520), name (\"Soligorsk\", \"Guntur\", \"Charlotte Amalie\"), district (\"Abu Dhabi\", \"Wasit\", \"Sardinia\"), population (106914, 461126, 138100), countrycode (\"GAB\", \"PAK\", \"BEN\") | sqlite_sequence : seq (4079), name (\"city\") | country : continent (\"Europe\", \"Antarctica\", \"Africa\"), capital (927, 3248, 3334), surfacearea (1.5, 22696.0, 108889.0), governmentform (\"Autonomous Area\", \"Monarchy (Sultanate)\", \"Monarchy\"), code2 (\"CR\", \"VU\", \"LS\"), nation (\"Bangladesh\", \"Christmas Island\", \"Iran\"), code (\"VEN\", \"SMR\", \"BHS\"), gnp (1626.0, 818.0, 61289.0), indepyear (None, 1984, 1804), region (\"South America\", \"Polynesia\", \"Baltic Countries\"), localname (\"Guinea Ecuatorial\", \"Micronesia\", \"Lubnan\"), title (\"Bangladesh\", \"Christmas Island\", \"Iran\"), population (3775100, 12878000, 22720000), headofstate (\"Arthur N. R. Robinson\", \"Gyanendra Bir Bikram\", \"Arthur N. R. Robinson\"), lifeexpectancy (73.1, 48.8, 70.9), gnpold (75617.0, 243948.0, 46966.0) | countrylanguage : percentage (53.1, 8.0, 31.7), isofficial (\"T\", \"F\"), language (\"Kotokoli\", \"Buryat\", \"Sardinian\"), countrycode (\"ESH\", \"VCT\", \"IDN\")", "schema_without_content": "city : id , name , district , population , countrycode | sqlite_sequence : seq , name | country : continent , capital , surfacearea , governmentform \", \"Monarchy\", code2 , nation , code , gnp , indepyear , region , localname , title , population , headofstate , lifeexpectancy , gnpold | countrylanguage : percentage , isofficial , language , countrycode", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names of nations": "country.Name", "English": "countrylanguage.Language", "French": "countrylanguage.Language", "official languages": "countrylanguage.IsOfficial" } }, { "question": "give the #names of countries with english# and #french as official languages# .", "db_id": "world_1", "orig_query": "select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"English\" and t2.isofficial = \"T\" intersect select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"French\" and t2.isofficial = \"T\"", "schema_with_content": "city : district (\"Fej\u00c3\u00a9r\", \"S\u00c3\u00a9tif\", \"Western Mindanao\"), id (2142, 3984, 848), countrycode (\"BLZ\", \"EGY\", \"TZA\"), name (\"Itaquaquecetuba\", \"Kananga\", \"Habikino\"), population (123100, 2139125, 130643) | sqlite_sequence : name (\"city\"), seq (4079) | country : headofstate (\"Saparmurad Nijazov\", \"Mswati III\", \"Charles Taylor\"), title (\"Namibia\", \"Austria\", \"Malawi\"), code (\"LTU\", \"PAN\", \"HTI\"), surfacearea (1075.0, 344.0, 3287263.0), region (\"Nordic Countries\", \"Nordic Countries\", \"Polynesia\"), population (6000, 99000, 699000), gnp (903.0, 17121.0, 37966.0), gnpold (3384.0, 4935.0, 6722.0), governmentform (\"Parlementary Monarchy\", \"Special Administrative Region of China\", \"Autonomous Area\"), capital (3214, 921, 2728), nation (\"Namibia\", \"Austria\", \"Malawi\"), localname (\"Nepal\", \"Virgin Islands of the United States\", \"Sakartvelo\"), continent (\"Asia\", \"Asia\", \"Antarctica\"), lifeexpectancy (81.1, 66.5, 67.8), indepyear (1961, 1350, 885), code2 (\"BO\", \"TN\", \"MU\") | countrylanguage : countrycode (\"BEN\", \"RWA\", \"MMR\"), isofficial (\"T\", \"F\"), percentage (95.1, 91.3, 92.5), language (\"Tigrinja\", \"Mandyako\", \"Iban\")", "schema_without_content": "city : district , id , countrycode , name , population | sqlite_sequence : name , seq | country : headofstate , title , code , surfacearea , region , population , gnp , gnpold , governmentform , capital , nation , localname , continent , lifeexpectancy , indepyear , code2 | countrylanguage : countrycode , isofficial , percentage , language", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names of countries with English": "country.Name", "French as official languages": "countrylanguage.Language" } }, { "question": "what is the number of distinct #continents# where #chinese# is spoken?", "db_id": "world_1", "orig_query": "select count(distinct continent) from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"Chinese\"", "schema_with_content": "city : population (149222, 710000, 130328), countrycode (\"MNP\", \"SYC\", \"TCD\"), id (745, 80, 2281), name (\"Sioux Falls\", \"Tama\", \"North York\"), district (\"South Kivu\", \"Souss Massa-Dra\u00c3\u00a2\", \"Quetzaltenango\") | sqlite_sequence : name (\"city\"), seq (4079) | country : region (\"Southern Africa\", \"Eastern Europe\", \"Melanesia\"), capital (766, 3198, 2409), localname (\"Espa\u00c3\u00b1a\", \"Ghana\", \"Ecuador\"), gnpold (58623.0, 19300.0, 9757.0), population (235000, 7160400, 51654000), gnp (553233.0, 20208.0, 318.0), mainland (\"Europe\", \"North America\", \"North America\"), continent_name (\"Europe\", \"North America\", \"North America\"), lifeexpectancy (76.8, 45.6, 60.2), code (\"SGP\", \"ARG\", \"GEO\"), surfacearea (752618.0, 7741220.0, 2344858.0), name (\"Italy\", \"Tonga\", \"Lesotho\"), governmentform (\"Federation\", \"Territory of Australia\", \"Co-administrated\"), indepyear (1867, 1912, 1810), headofstate (\"Vernon Shaw\", \"Mireya Elisa Moscoso Rodr\u00c3\u00adguez\", \"Paul Kagame\"), code2 (\"CM\", \"BN\", \"LR\") | countrylanguage : countrycode (\"MKD\", \"CXR\", \"SEN\"), language (\"Tharu\", \"Kiga\", \"Senufo and Minianka\"), percentage (90.7, 94.3, 72.1), isofficial (\"T\", \"F\")", "schema_without_content": "city : population , countrycode , id , name , district | sqlite_sequence : name , seq | country : region , capital , localname , gnpold , population , gnp , mainland , continent_name , lifeexpectancy , code , surfacearea , name , governmentform , indepyear , headofstate , code2 | countrylanguage : countrycode , language , percentage , isofficial", "extra_map": { "country": { "continent": [ "mainland", "continent_name" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "mainland", "continent_name" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "continents": "country.Continent", "Chinese": "countrylanguage.Language" } }, { "question": "how many #continents# speak #chinese# ?", "db_id": "world_1", "orig_query": "select count(distinct continent) from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"Chinese\"", "schema_with_content": "city : name (\"Yueyang\", \"Gombe\", \"Tulancingo de Bravo\"), population (121030, 107937, 99296), district (\"Kyoto\", \"Greater Accra\", \"Haryana\"), countrycode (\"PLW\", \"GNB\", \"MCO\"), id (793, 3575, 1751) | sqlite_sequence : seq (4079), name (\"city\") | country : headofstate (\"John Bani\", \"Haji Hassan al-Bolkiah\", \"Tr\u00c3\u00a2n Duc Luong\"), gnp (63.2, 1424285.0, 1536.0), localname (\"Hajastan\", \"Niger\", \"Martinique\"), population (3972000, 156483000, 1439200), code (\"BEN\", \"HUN\", \"FJI\"), capital (69, 3424, 2446), indepyear (1903, 1953, 1841), surfacearea (11000.0, 9970610.0, 549.0), region (\"Melanesia\", \"Nordic Countries\", \"Nordic Countries\"), continent_name (\"South America\", \"Oceania\", \"Africa\"), code2 (\"NL\", \"ID\", \"PF\"), governmentform (\"Part of Denmark\", \"Dependent Territory of the US\", \"Republic\"), gnpold (360478.0, 11203.0, 2383.0), lifeexpectancy (51.0, 74.9, 71.8), name (\"Cayman Islands\", \"United States\", \"Guadeloupe\"), mainland (\"South America\", \"Oceania\", \"Africa\") | countrylanguage : language (\"Dariganga\", \"Bicol\", \"Rakhine\"), isofficial (\"T\", \"F\"), percentage (92.7, 1.7, 5.3), countrycode (\"MMR\", \"GUF\", \"STP\")", "schema_without_content": "city : name , population , district , countrycode , id | sqlite_sequence : seq , name | country : headofstate , gnp , localname , population , code , capital , indepyear , surfacearea , region , continent_name , code2 , governmentform , gnpold , lifeexpectancy , name , mainland | countrylanguage : language , isofficial , percentage , countrycode", "extra_map": { "country": { "continent": [ "mainland", "continent_name" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "mainland", "continent_name" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "continents": "country.Continent", "Chinese": "countrylanguage.Language" } }, { "question": "what are the #regions# that use #english# or #dutch# ?", "db_id": "world_1", "orig_query": "select distinct t1.region from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"English\" or t2.language = \"Dutch\"", "schema_with_content": "city : district (\"Aleksandria\", \"Dolnoslaskie\", \"Mazandaran\"), population (118200, 670208, 143400), name (\"Dehiwala\", \"Coronel Fabriciano\", \"Katihar\"), id (275, 3546, 2326), countrycode (\"MAR\", \"KIR\", \"RUS\") | sqlite_sequence : seq (4079), name (\"city\") | country : population (3520000, 1013662000, 59225700), localname (\"Naoero/Nauru\", \"Mongol Uls\", \"Cuba\"), gnpold (170.0, 36846.0, 616.0), area (\"Melanesia\", \"Micronesia\", \"Central America\"), gnp (1694.0, 351182.0, 37966.0), surfacearea (2510.0, 62422.0, 17818.0), headofstate (\"Ant\u00c3\u00b3nio Mascarenhas Monteiro\", \"Omar Hassan Ahmad al-Bashir\", \"Yasser (Yasir) Arafat\"), capital (645, 937, 54), indepyear (-1000, 1971, 1977), continent (\"South America\", \"Europe\", \"Asia\"), district (\"Melanesia\", \"Micronesia\", \"Central America\"), code2 (\"IQ\", \"SA\", \"GR\"), name (\"Faroe Islands\", \"Libyan Arab Jamahiriya\", \"Guyana\"), code (\"MYT\", \"GNQ\", \"JOR\"), lifeexpectancy (48.0, 54.7, 50.5), governmentform (\"Socialistic Republic\", \"Commonwealth of the US\", \"Constitutional Monarchy, Federation\") | countrylanguage : isofficial (\"T\", \"F\"), countrycode (\"TZA\", \"BGD\", \"YUG\"), percentage (52.0, 61.9, 40.7), language (\"Polynesian Languages\", \"Mende\", \"Songhai\")", "schema_without_content": "city : district , population , name , id , countrycode | sqlite_sequence : seq , name | country : population , localname , gnpold , area , gnp , surfacearea , headofstate Arafat\", capital , indepyear , continent , district , code2 , name , code , lifeexpectancy , governmentform | countrylanguage : isofficial , countrycode , percentage , language", "extra_map": { "country": { "region": [ "area", "district" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "area", "district" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "regions": "country.Region", "English": "countrylanguage.Language", "Dutch": "countrylanguage.Language" } }, { "question": "which #regions# speak #dutch# or #english# ?", "db_id": "world_1", "orig_query": "select distinct t1.region from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"English\" or t2.language = \"Dutch\"", "schema_with_content": "city : id (1690, 441, 3253), name (\"Perpignan\", \"Bacabal\", \"Zahedan\"), countrycode (\"HND\", \"BRN\", \"CYM\"), population (127898, 270828, 362773), district (\"North Austria\", \"El Oro\", \"Lebap\") | sqlite_sequence : name (\"city\"), seq (4079) | country : district (\"Central Africa\", \"Southern and Central Asia\", \"Baltic Countries\"), lifeexpectancy (72.8, 66.0, 49.2), capital (939, 537, 1447), gnp (3459.0, 15706.0, 16904.0), governmentform (\"Federation\", \"Part of Denmark\", \"Monarchy\"), population (98881000, 3850000, 5496000), surfacearea (581730.0, 300000.0, 2510.0), gnpold (430572.0, 8670.0, 360478.0), code2 (\"TD\", \"SM\", \"BF\"), headofstate (\"Paul Biya\", \"Kessai Note\", \"Festus G. Mogae\"), indepyear (836, 1951, 1965), continent (\"Asia\", \"South America\", \"South America\"), code (\"ESH\", \"NRU\", \"BEL\"), name (\"Nepal\", \"Swaziland\", \"Bangladesh\"), area (\"Central Africa\", \"Southern and Central Asia\", \"Baltic Countries\"), localname (\"United Kingdom\", \"Al-\u00c2\u00b4Iraq\", \"Malawi\") | countrylanguage : isofficial (\"T\", \"F\"), percentage (34.3, 1.4, 77.1), countrycode (\"BFA\", \"UZB\", \"ECU\"), language (\"Ambo\", \"Somba\", \"Man\")", "schema_without_content": "city : id , name , countrycode , population , district | sqlite_sequence : name , seq | country : district , lifeexpectancy , capital , gnp , governmentform , population , surfacearea , gnpold , code2 , headofstate , indepyear , continent , code , name , area , localname | countrylanguage : isofficial , percentage , countrycode , language", "extra_map": { "country": { "region": [ "area", "district" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "area", "district" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "regions": "country.Region", "Dutch": "countrylanguage.Language", "English": "countrylanguage.Language" } }, { "question": "which #language# is the most popular on the #asian continent# ?", "db_id": "world_1", "orig_query": "select t2.language from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t1.continent = \"Asia\" group by t2.language order by count(*) desc limit 1", "schema_with_content": "city : population (126019, 121954, 283937), district (\"Suez\", \"Qazvin\", \"Tarija\"), id (101, 811, 1718), name (\"Daito\", \"Tunja\", \"Kwangju\"), countrycode (\"SLV\", \"PRT\", \"PLW\") | sqlite_sequence : seq (4079), name (\"city\") | country : region (\"South America\", \"Central Africa\", \"South America\"), surfacearea (726.0, 438317.0, 199.0), code (\"MYS\", \"GBR\", \"ANT\"), indepyear (1907, 1981, 1922), gnp (4401.0, 5493.0, 1449.0), capital (2453, 2296, 756), continent (\"Oceania\", \"South America\", \"Oceania\"), governmentform (\"Dependent Territory of the US\", \"Constitutional Monarchy, Federation\", \"Monarchy (Emirate)\"), gnpold (4542.0, 243948.0, 105116.0), headofstate (\"Alfonso Portillo Cabrera\", \"Ion Iliescu\", \"Robert Kot\u00c5\u00a1arjan\"), code2 (\"AL\", \"JP\", \"VA\"), lifeexpectancy (50.2, 73.2, 56.6), localname (\"Virgin Islands of the United States\", \"Heard and McDonald Islands\", \"Falkland Islands\"), population (2424200, 7430000, 1000), name (\"Fiji Islands\", \"Georgia\", \"Wallis and Futuna\") | countrylanguage : dialect (\"Embera\", \"Karen\", \"Nahua\"), percentage (2.5, 19.5, 2.8), countrycode (\"BLZ\", \"HUN\", \"IRL\"), tongue (\"Embera\", \"Karen\", \"Nahua\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : population , district , id , name , countrycode | sqlite_sequence : seq , name | country : region , surfacearea , code , indepyear , gnp , capital , continent , governmentform \", gnpold , headofstate , code2 , lifeexpectancy , localname , population , name | countrylanguage : dialect , percentage , countrycode , tongue , isofficial", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "language": "countrylanguage.Language", "Asian continent": "country.Continent" } }, { "question": "what is the #language# that is used by the largest number of #asian nations# ?", "db_id": "world_1", "orig_query": "select t2.language from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t1.continent = \"Asia\" group by t2.language order by count(*) desc limit 1", "schema_with_content": "city : name (\"Pingtung\", \"Kayseri\", \"Fuyu\"), id (3725, 3186, 4075), countrycode (\"SJM\", \"NLD\", \"LVA\"), district (\"Pomorskie\", \"Aydin\", \"Atl\u00c3\u00a1ntico\"), population (96210, 137700, 128162) | sqlite_sequence : seq (4079), name (\"city\") | country : localname (\"Centrafrique/B\u00c3\u00aa-Afr\u00c3\u00aeka\", \"Lietuva\", \"Chile\"), lifeexpectancy (61.1, 76.9, 53.2), capital (552, 594, 3162), region (\"Micronesia/Caribbean\", \"Polynesia\", \"Polynesia\"), indepyear (1932, 1143, 1961), code2 (\"BG\", \"HT\", \"BG\"), headofstate (\"Aleksander Kwasniewski\", \"Rudolf Schuster\", \"Jorge Batlle Ib\u00c3\u00a1\u00c3\u00b1ez\"), governmentform (\"US Territory\", \"Republic\", \"Federation\"), gnpold (65186.0, 3384.0, 22834.0), continent (\"South America\", \"North America\", \"North America\"), name (\"Vietnam\", \"Turks and Caicos Islands\", \"Colombia\"), code (\"AUS\", \"COL\", \"KHM\"), surfacearea (12.0, 603700.0, 18575.0), gnp (9217.0, 3377.0, 630.0), population (11669000, 6000, 1013662000) | countrylanguage : countrycode (\"NZL\", \"MAC\", \"VUT\"), tongue (\"Duala\", \"Wolea\", \"Assyrian\"), dialect (\"Duala\", \"Wolea\", \"Assyrian\"), isofficial (\"T\", \"F\"), percentage (7.6, 5.0, 99.2)", "schema_without_content": "city : name , id , countrycode , district , population | sqlite_sequence : seq , name | country : localname , lifeexpectancy , capital , region , indepyear , code2 , headofstate , governmentform , gnpold , continent , name , code , surfacearea , gnp , population | countrylanguage : countrycode , tongue , dialect , isofficial , percentage", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "language": "countrylanguage.Language", "Asian nations": "country.Continent" } }, { "question": "which #languages# are #spoken by only one country in republic governments# ?", "db_id": "world_1", "orig_query": "select t2.language from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t1.governmentform = \"Republic\" group by t2.language having count(*) = 1", "schema_with_content": "city : population (93009, 131500, 270366), district (\"Copperbelt\", \"Qazvin\", \"Vaduz\"), id (3353, 3392, 1885), countrycode (\"MWI\", \"CPV\", \"QAT\"), name (\"Sumy\", \"Bhilai\", \"Mysore\") | sqlite_sequence : seq (4079), name (\"city\") | country : capital (2482, 2447, 3209), continent (\"Europe\", \"Africa\", \"South America\"), governmentform (\"Overseas Department of France\", \"Commonwealth of the US\", \"Federation\"), headofstate (\"Vicente Fox Quesada\", \"Josefa Iloilo\", \"Thabo Mbeki\"), surfacearea (2586.0, 1098581.0, 2149690.0), gnp (1061.0, 16321.0, 11863.0), name (\"Guadeloupe\", \"Turkey\", \"Samoa\"), indepyear (-660, 1821, 1878), code (\"MHL\", \"MAC\", \"BMU\"), lifeexpectancy (62.5, 63.1, 75.2), localname (\"Malta\", \"Aruba\", \"Ertra\"), population (7733000, 24318000, 279000), gnpold (3338.0, 2000.0, 982.0), region (\"Micronesia/Caribbean\", \"Western Africa\", \"Western Africa\"), code2 (\"KH\", \"GB\", \"AW\") | countrylanguage : tongue (\"Norwegian\", \"Chichewa\", \"Atayal\"), dialect (\"Norwegian\", \"Chichewa\", \"Atayal\"), isofficial (\"T\", \"F\"), countrycode (\"NRU\", \"LBR\", \"GAB\"), percentage (74.1, 0.6, 7.7)", "schema_without_content": "city : population , district , id , countrycode , name | sqlite_sequence : seq , name | country : capital , continent , governmentform , headofstate , surfacearea , gnp , name , indepyear , code , lifeexpectancy , localname , population , gnpold , region , code2 | countrylanguage : tongue , dialect , isofficial , countrycode , percentage", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "languages": "countrylanguage.Language", "spoken by only one country in republic governments": "countrylanguage.CountryCode" } }, { "question": "what #languages# are only used by a #single country with a republic government# ?", "db_id": "world_1", "orig_query": "select t2.language from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t1.governmentform = \"Republic\" group by t2.language having count(*) = 1", "schema_with_content": "city : population (1009700, 294125, 150123), name (\"Shaowu\", \"Ashdod\", \"Baidyabati\"), id (557, 276, 3447), district (\"Prahova\", \"East Falkland\", \"Vaduz\"), countrycode (\"CRI\", \"YEM\", \"CPV\") | sqlite_sequence : name (\"city\"), seq (4079) | country : localname (\"Zimbabwe\", \"Belgi\u00c3\u00ab/Belgique\", \"Rom\u00c3\u00a2nia\"), gnp (6648.0, 2328.0, 1813.0), capital (2814, 3048, 1889), name (\"Taiwan\", \"Singapore\", \"Belarus\"), gnpold (383.0, 2474.0, 7474.0), code (\"HTI\", \"PNG\", \"CZE\"), headofstate (\"V\u00c3\u00a1clav Havel\", \"Mireya Elisa Moscoso Rodr\u00c3\u00adguez\", \"Saddam Hussein al-Takriti\"), code2 (\"TF\", \"AO\", \"NR\"), continent (\"Antarctica\", \"Antarctica\", \"Antarctica\"), lifeexpectancy (68.5, 68.7, 83.5), population (4380000, 3520000, 16223000), governmentform (\"Co-administrated\", \"Republic\", \"Occupied by Marocco\"), region (\"Eastern Africa\", \"North America\", \"Antarctica\"), indepyear (1958, 1948, 1961), surfacearea (796095.0, 1759540.0, 505992.0) | countrylanguage : percentage (92.5, 5.9, 20.1), dialect (\"Javanese\", \"Rundi\", \"Canton Chinese\"), tongue (\"Javanese\", \"Rundi\", \"Canton Chinese\"), isofficial (\"T\", \"F\"), countrycode (\"TON\", \"SGP\", \"BEL\")", "schema_without_content": "city : population , name , id , district , countrycode | sqlite_sequence : name , seq | country : localname , gnp , capital , name , gnpold , code , headofstate , code2 , continent , lifeexpectancy , population , governmentform , region , indepyear , surfacearea | countrylanguage : percentage , dialect , tongue , isofficial , countrycode", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "languages": "countrylanguage.Language", "single country with a republic government": "country.Code" } }, { "question": "find the #city with the largest population# that uses #english# .", "db_id": "world_1", "orig_query": "select t1.name, t1.population from city as t1 join countrylanguage as t2 on t1.countrycode = t2.countrycode where t2.language = \"English\" order by t1.population desc limit 1", "schema_with_content": "city : countrycode (\"TMP\", \"BEN\", \"GEO\"), district (\"Vitebsk\", \"Konya\", \"Tulcea\"), title (\"Brasov\", \"Orai\", \"Chatsworth\"), population (92224, 1198300, 171056), id (3213, 3270, 2927), city_name (\"Brasov\", \"Orai\", \"Chatsworth\") | sqlite_sequence : seq (4079), name (\"city\") | country : indepyear (1953, 1968, 1953), gnpold (3545.0, 1056.0, 3338.0), governmentform (\"Special Administrative Region of China\", \"Parliamentary Coprincipality\", \"Territorial Collectivity of France\"), lifeexpectancy (72.8, 47.4, 78.9), code2 (\"MX\", \"SR\", \"SH\"), surfacearea (17818.0, 151.0, 12189.0), headofstate (\"Johannes Rau\", \"Thabo Mbeki\", \"Ali Abdallah Salih\"), continent (\"Antarctica\", \"South America\", \"North America\"), localname (\"Dhivehi Raajje/Maldives\", \"\u00e2\u0080\u0093\", \"Martinique\"), name (\"Kuwait\", \"Jordan\", \"Georgia\"), region (\"Nordic Countries\", \"Western Africa\", \"Australia and New Zealand\"), population (10730000, 98881000, 56000), code (\"VCT\", \"BLR\", \"DNK\"), capital (2738, 594, 2514), gnp (5121.0, 6313.0, 1626.0) | countrylanguage : language (\"Arabic-French-English\", \"Abhyasi\", \"Mahor\u00c3\u00a9\"), countrycode (\"ARM\", \"NIC\", \"NCL\"), isofficial (\"T\", \"F\"), percentage (9.3, 5.3, 78.8)", "schema_without_content": "city : countrycode , district , title , population , id , city_name | sqlite_sequence : seq , name | country : indepyear , gnpold , governmentform , lifeexpectancy , code2 , surfacearea , headofstate , continent , localname , name , region , population , code , capital , gnp | countrylanguage : language , countrycode , isofficial , percentage", "extra_map": { "city": { "name": [ "city_name", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "countrycode", "district", "population", "city_name", "title" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "city with the largest population": "city.Population", "English": "countrylanguage.Language" } }, { "question": "find the #city with the largest population# that uses #english# .", "db_id": "world_1", "orig_query": "select t1.name, t1.population from city as t1 join countrylanguage as t2 on t1.countrycode = t2.countrycode where t2.language = \"English\" order by t1.population desc limit 1", "schema_with_content": "city : district (\"Qaraghandy\", \"Cusco\", \"Kairouan\"), id (2411, 963, 3444), number_of_residents (201838, 194260, 137061), name (\"Torbat-e Heydariyeh\", \"Pondokgede\", \"Abohar\"), total_inhabitants (201838, 194260, 137061), countrycode (\"HUN\", \"GEO\", \"PAK\") | sqlite_sequence : name (\"city\"), seq (4079) | country : continent (\"Asia\", \"Oceania\", \"Africa\"), gnpold (11203.0, 189122.0, 170.0), code2 (\"GS\", \"AO\", \"SL\"), surfacearea (88946.0, 5765.0, 108889.0), capital (3493, 2814, 549), headofstate (\"Akihito\", \"Hosni Mubarak\", \"Vicente Fox Quesada\"), localname (\"Australia\", \"Bouvet\u00c3\u00b8ya\", \"Italia\"), gnp (1206.0, 935.0, 82710.0), region (\"Micronesia/Caribbean\", \"Western Europe\", \"Antarctica\"), lifeexpectancy (46.7, 53.1, 68.9), indepyear (1828, 1143, 1964), code (\"TUV\", \"BRB\", \"KGZ\"), population (8861400, 68470000, 40377000), governmentform (\"Monarchy\", \"Administrated by the UN\", \"Constitutional Monarchy\"), name (\"Italy\", \"United States Minor Outlying Islands\", \"Czech Republic\") | countrylanguage : isofficial (\"T\", \"F\"), language (\"Nuer\", \"Luri\", \"Zapotec\"), countrycode (\"HTI\", \"TUN\", \"NPL\"), percentage (74.1, 26.3, 39.4)", "schema_without_content": "city : district , id , number_of_residents , name , total_inhabitants , countrycode | sqlite_sequence : name , seq | country : continent , gnpold , code2 , surfacearea , capital , headofstate , localname , gnp , region , lifeexpectancy , indepyear , code , population , governmentform , name | countrylanguage : isofficial , language , countrycode , percentage", "extra_map": { "city": { "population": [ "total_inhabitants", "number_of_residents" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "total_inhabitants", "number_of_residents" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "city with the largest population": "city.Population", "English": "countrylanguage.Language" } }, { "question": "what is the #most populace city that speaks english# ?", "db_id": "world_1", "orig_query": "select t1.name, t1.population from city as t1 join countrylanguage as t2 on t1.countrycode = t2.countrycode where t2.language = \"English\" order by t1.population desc limit 1", "schema_with_content": "city : countrycode (\"TZA\", \"SLB\", \"PRT\"), district (\"Murcia\", \"Klaipeda\", \"Idaho\"), title (\"Maribor\", \"Peoria\", \"San Fernando de Apure\"), id (928, 1192, 1824), city_name (\"Maribor\", \"Peoria\", \"San Fernando de Apure\"), population (1200, 107722, 208014) | sqlite_sequence : name (\"city\"), seq (4079) | country : indepyear (1963, 1941, 1908), gnp (63.2, 9333.0, 285.0), governmentform (\"Special Administrative Region of China\", \"Dependent Territory of the US\", \"Parliamentary Coprincipality\"), population (168000, 25000, 3401200), gnpold (933.0, 4837.0, 4186.0), localname (\"South Africa\", \"Tuvalu\", \"Centrafrique/B\u00c3\u00aa-Afr\u00c3\u00aeka\"), surfacearea (91982.0, 373.0, 199900.0), region (\"Eastern Europe\", \"Australia and New Zealand\", \"Western Africa\"), name (\"Hungary\", \"Wallis and Futuna\", \"Papua New Guinea\"), code (\"MCO\", \"AGO\", \"MHL\"), capital (3537, 2253, 2882), continent (\"Oceania\", \"South America\", \"Antarctica\"), headofstate (\"Mohammad Omar\", \"Arnoldo Alem\u00c3\u00a1n Lacayo\", \"Miguel \u00c3\u0081ngel Rodr\u00c3\u00adguez Echeverr\u00c3\u00ada\"), code2 (\"ZA\", \"CG\", \"GY\"), lifeexpectancy (37.6, 55.0, 44.0) | countrylanguage : percentage (0.7, 13.3, 72.6), countrycode (\"BLZ\", \"IRN\", \"ZWE\"), isofficial (\"T\", \"F\"), language (\"Monegasque\", \"Mpongwe\", \"Punu\")", "schema_without_content": "city : countrycode , district , title , id , city_name , population | sqlite_sequence : name , seq | country : indepyear , gnp , governmentform , population , gnpold , localname , surfacearea , region , name , code , capital , continent , headofstate , code2 , lifeexpectancy | countrylanguage : percentage , countrycode , isofficial , language", "extra_map": { "city": { "name": [ "city_name", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "countrycode", "district", "population", "city_name", "title" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "most populace city that speaks English": "city.Population" } }, { "question": "what is the #most populace city that speaks english# ?", "db_id": "world_1", "orig_query": "select t1.name, t1.population from city as t1 join countrylanguage as t2 on t1.countrycode = t2.countrycode where t2.language = \"English\" order by t1.population desc limit 1", "schema_with_content": "city : total_inhabitants (392830, 149965, 173977), district (\"Addis Abeba\", \"Inhambane\", \"Piura\"), number_of_residents (392830, 149965, 173977), id (4072, 3297, 3407), countrycode (\"LBR\", \"KAZ\", \"TKL\"), name (\"Zaoyang\", \"Namwon\", \"Talavera\") | sqlite_sequence : name (\"city\"), seq (4079) | country : gnp (2036.0, 42168.0, 97477.0), name (\"Bulgaria\", \"Grenada\", \"Nepal\"), headofstate (\"Mswati III\", \"Muammar al-Qadhafi\", \"George W. Bush\"), lifeexpectancy (79.6, 60.9, 77.7), population (4699000, 10925000, 22720000), code2 (\"UG\", \"EH\", \"AM\"), code (\"MMR\", \"TON\", \"TCA\"), region (\"Australia and New Zealand\", \"Southeast Asia\", \"Southern and Central Asia\"), indepyear (1847, 1977, 1991), surfacearea (27834.0, 83600.0, 102173.0), localname (\"Burundi/Uburundi\", \"T\u00e2\u0080\u0099ai-wan\", \"Danmark\"), governmentform (\"Nonmetropolitan Territory of France\", \"Constitutional Monarchy (Emirate)\", \"Nonmetropolitan Territory of New Zealand\"), continent (\"South America\", \"Europe\", \"North America\"), gnpold (33514.0, 5279.0, 46966.0), capital (192, 3162, 3536) | countrylanguage : language (\"Mbundu\", \"Carolinian\", \"Russian\"), countrycode (\"CZE\", \"CMR\", \"NGA\"), isofficial (\"T\", \"F\"), percentage (77.1, 87.7, 65.3)", "schema_without_content": "city : total_inhabitants , district , number_of_residents , id , countrycode , name | sqlite_sequence : name , seq | country : gnp , name , headofstate , lifeexpectancy , population , code2 , code , region , indepyear , surfacearea , localname , governmentform \", \"Nonmetropolitan Territory of New Zealand\", continent , gnpold , capital | countrylanguage : language , countrycode , isofficial , percentage", "extra_map": { "city": { "population": [ "total_inhabitants", "number_of_residents" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "total_inhabitants", "number_of_residents" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "most populace city that speaks English": "city.Population" } }, { "question": "find the #name# , #population# and e #xpected life length of asian country with the largest area?# ", "db_id": "world_1", "orig_query": "select name, population, lifeexpectancy from country where continent = \"Asia\" order by surfacearea desc limit 1", "schema_with_content": "city : id (353, 3070, 1090), population (150115, 364130, 97855), countrycode (\"MDG\", \"NCL\", \"BHR\"), district (\"Hakassia\", \"Denizli\", \"Kedah\"), name (\"Belize City\", \"Essen\", \"Gua\u00c3\u00adba\") | sqlite_sequence : name (\"city\"), seq (4079) | country : localname (\"Micronesia\", \"Slovensko\", \"Andorra\"), name (\"Iceland\", \"Micronesia, Federated States of\", \"Tunisia\"), gnp (9.0, 510.0, 96.0), continent (\"Africa\", \"Oceania\", \"South America\"), gnpold (4935.0, 6097.0, 1161.0), citizen_count (10640000, 12878000, 4023000), headofstate (\"\", \"Johannes Rau\", \"Ali Abdallah Salih\"), governmentform (\"Islamic Emirate\", \"Autonomous Area\", \"Territorial Collectivity of France\"), capital (3161, 549, 1365), surfacearea (442.0, 650.0, 22696.0), headcount (10640000, 12878000, 4023000), lifeexpectancy (75.2, 74.5, 76.2), code (\"TUN\", \"PLW\", \"ISR\"), code2 (\"LR\", \"NP\", \"LI\"), indepyear (1965, 1964, 1917), region (\"Southern Africa\", \"Antarctica\", \"Central America\") | countrylanguage : isofficial (\"T\", \"F\"), countrycode (\"BGR\", \"MLI\", \"AGO\"), percentage (34.7, 52.6, 76.7), language (\"Lithuanian\", \"Chamorro\", \"Masai\")", "schema_without_content": "city : id , population , countrycode , district , name | sqlite_sequence : name , seq | country : localname , name , gnp , continent , gnpold , citizen_count , headofstate , governmentform , capital , surfacearea , headcount , lifeexpectancy , code , code2 , indepyear , region | countrylanguage : isofficial , countrycode , percentage , language", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "population": "country.Population", "xpected life length of asian country with the largest area?": "country.Continent", "expected life length": "country.LifeExpectancy" } }, { "question": "find the #name# , #population# and e #xpected life length of asian country with the largest area?# ", "db_id": "world_1", "orig_query": "select name, population, lifeexpectancy from country where continent = \"Asia\" order by surfacearea desc limit 1", "schema_with_content": "city : district (\"Konya\", \"Ningxia\", \"Batman\"), id (938, 544, 3225), name (\"Worthing\", \"Izmir\", \"Udaipur\"), countrycode (\"NZL\", \"ASM\", \"KIR\"), population (351944, 90400, 102820) | sqlite_sequence : seq (4079), name (\"city\") | country : headofstate (\"Salahuddin Abdul Aziz Shah Alhaj\", \"Valdas Adamkus\", \"Lansana Cont\u00c3\u00a9\"), indepyear (1828, 1811, 1810), gnpold (625626.0, 220.0, 129092.0), capital (3419, 2914, 129), surfacearea (300000.0, 449964.0, 1.5), region (\"Eastern Europe\", \"Central America\", \"Polynesia\"), life_span (69.1, 49.8, 53.6), gnp (19770.0, 20208.0, 8005.0), governmentform (\"Monarchy (Sultanate)\", \"Co-administrated\", \"Dependent Territory of the US\"), life_length (69.1, 49.8, 53.6), name (\"Colombia\", \"Kuwait\", \"Gibraltar\"), population (168000, 11385000, 15942000), localname (\"Komori/Comores\", \"Terres australes fran\u00c3\u00a7aises\", \"Paraguay\"), code2 (\"BD\", \"MH\", \"MC\"), continent (\"South America\", \"Africa\", \"South America\"), code (\"UZB\", \"FJI\", \"DJI\") | countrylanguage : percentage (41.9, 12.8, 23.3), isofficial (\"T\", \"F\"), countrycode (\"KOR\", \"ZMB\", \"KOR\"), language (\"Monegasque\", \"Hehet\", \"Nkole\")", "schema_without_content": "city : district , id , name , countrycode , population | sqlite_sequence : seq , name | country : headofstate , indepyear , gnpold , capital , surfacearea , region , life_span , gnp , governmentform \", \"Co-administrated\", \"Dependent Territory of the US\", life_length , name , population , localname , code2 , continent , code | countrylanguage : percentage , isofficial , countrycode , language", "extra_map": { "country": { "lifeexpectancy": [ "life_length", "life_span" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "life_length", "life_span" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "population": "country.Population", "xpected life length of asian country with the largest area?": "country.Continent", "expected life length": "country.LifeExpectancy" } }, { "question": "find the #name# , #population# and e #xpected life length of asian country with the largest area?# ", "db_id": "world_1", "orig_query": "select name, population, lifeexpectancy from country where continent = \"Asia\" order by surfacearea desc limit 1", "schema_with_content": "city : countrycode (\"ROM\", \"ISR\", \"IRN\"), id (3788, 799, 838), name (\"Las Palmas de Gran Canaria\", \"Takasago\", \"Tshikapa\"), population (184900, 128929, 147527), district (\"Grad Zagreb\", \"Rajshahi\", \"El-Aai\u00c3\u00ban\") | sqlite_sequence : name (\"city\"), seq (4079) | country : code (\"ALB\", \"LVA\", \"VEN\"), code2 (\"CN\", \"AE\", \"HT\"), nation (\"Myanmar\", \"Uganda\", \"Senegal\"), capital (1864, 2441, 2440), gnp (276608.0, 5749.0, 612.0), population (1622000, 395000, 473000), gnpold (18898.0, 169264.0, 781.0), surfacearea (1221037.0, 214969.0, 112088.0), region (\"Micronesia/Caribbean\", \"Middle East\", \"South America\"), title (\"Myanmar\", \"Uganda\", \"Senegal\"), continent (\"Europe\", \"Antarctica\", \"Europe\"), governmentform (\"Constitutional Monarchy, Federation\", \"Monarchy (Sultanate)\", \"Socialistic State\"), localname (\"Ertra\", \"Kiribati\", \"Barbados\"), headofstate (\"Denis Sassou-Nguesso\", \"Muammar al-Qadhafi\", \"Hugo Ch\u00c3\u00a1vez Fr\u00c3\u00adas\"), lifeexpectancy (75.4, 77.1, 70.4), indepyear (1278, 1990, 1923) | countrylanguage : language (\"Arabic-French\", \"Aizo\", \"Hassaniya\"), isofficial (\"T\", \"F\"), countrycode (\"HND\", \"SYR\", \"GIN\"), percentage (89.5, 17.9, 7.3)", "schema_without_content": "city : countrycode , id , name , population , district | sqlite_sequence : name , seq | country : code , code2 , nation , capital , gnp , population , gnpold , surfacearea , region , title , continent , governmentform \", \"Socialistic State\", localname , headofstate , lifeexpectancy , indepyear | countrylanguage : language , isofficial , countrycode , percentage", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "population": "country.Population", "xpected life length of asian country with the largest area?": "country.Continent", "expected life length": "country.LifeExpectancy" } }, { "question": "what are the #name# , #population# , and #life expectancy# of the largest as #ian country by land?# ", "db_id": "world_1", "orig_query": "select name, population, lifeexpectancy from country where continent = \"Asia\" order by surfacearea desc limit 1", "schema_with_content": "city : population (2940623, 98256, 105167), name (\"Avellaneda\", \"Tianmen\", \"Jersey City\"), countrycode (\"ESH\", \"VEN\", \"PER\"), district (\"Podravska\", \"Nagano\", \"Kang-won\"), id (527, 1520, 2553) | sqlite_sequence : name (\"city\"), seq (4079) | country : capital (63, 3336, 549), headofstate (\"Vaira Vike-Freiberga\", \"Bakili Muluzi\", \"Azali Assoumani\"), code2 (\"TG\", \"NC\", \"BW\"), name (\"Liberia\", \"Yugoslavia\", \"Kenya\"), code (\"MWI\", \"GNB\", \"ZAF\"), region (\"Southern Europe\", \"Nordic Countries\", \"Australia and New Zealand\"), gnp (82710.0, 4401.0, 4127.0), surfacearea (301316.0, 49012.0, 442.0), gnpold (4935.0, 32100.0, 5940.0), continent (\"South America\", \"Europe\", \"Antarctica\"), citizen_count (885000, 444000, 4023000), indepyear (1811, 1907, 1844), lifeexpectancy (73.0, 77.9, 75.1), localname (\"Tchad/Tshad\", \"Pakistan\", \"Taehan Min\u00e2\u0080\u0099guk (Namhan)\"), governmentform (\"Commonwealth of the US\", \"Socialistic Republic\", \"Occupied by Marocco\"), headcount (885000, 444000, 4023000) | countrylanguage : language (\"Macedonian\", \"Cebuano\", \"Tokelau\"), isofficial (\"T\", \"F\"), percentage (37.5, 78.8, 31.7), countrycode (\"ITA\", \"DNK\", \"ATG\")", "schema_without_content": "city : population , name , countrycode , district , id | sqlite_sequence : name , seq | country : capital , headofstate , code2 , name , code , region , gnp , surfacearea , gnpold , continent , citizen_count , indepyear , lifeexpectancy , localname \", governmentform , headcount | countrylanguage : language , isofficial , percentage , countrycode", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "population": "country.Population", "life expectancy": "country.LifeExpectancy", "ian country by land?": "country.SurfaceArea", "Asian country": "country.Continent" } }, { "question": "what are the #name# , #population# , and #life expectancy# of the largest as #ian country by land?# ", "db_id": "world_1", "orig_query": "select name, population, lifeexpectancy from country where continent = \"Asia\" order by surfacearea desc limit 1", "schema_with_content": "city : district (\"Kwangju\", \"Newmaa\", \"Mazandaran\"), countrycode (\"MLT\", \"ZWE\", \"TUR\"), id (3021, 1715, 4001), name (\"Netanya\", \"Tulsa\", \"Resende\"), population (105690, 201273, 148000) | sqlite_sequence : seq (4079), name (\"city\") | country : name (\"Kuwait\", \"Cyprus\", \"Mali\"), region (\"North America\", \"Western Africa\", \"Polynesia\"), continent (\"Europe\", \"South America\", \"Oceania\"), code (\"EGY\", \"VCT\", \"LIE\"), gnpold (3347.0, 1400.0, 2474.0), population (25000, 1277558000, 38653600), gnp (37966.0, 249704.0, 8571.0), indepyear (1956, 1978, 1806), code2 (\"GA\", \"LK\", \"JP\"), life_span (73.2, 75.5, 70.7), localname (\"S\u00c3\u00a3o Tom\u00c3\u00a9 e Pr\u00c3\u00adncipe\", \"Slovenija\", \"S\u00c3\u00a9n\u00c3\u00a9gal/Sounougal\"), headofstate (\"Zayid bin Sultan al-Nahayan\", \"Benjamin William Mkapa\", \"Chandrika Kumaratunga\"), capital (3813, 2729, 2696), surfacearea (33851.0, 1958201.0, 505992.0), governmentform (\"Territory of Australia\", \"Federation\", \"Special Administrative Region of China\"), life_length (73.2, 75.5, 70.7) | countrylanguage : countrycode (\"SUR\", \"TZA\", \"UMI\"), language (\"Rakhine\", \"Mongolian\", \"Creole French\"), isofficial (\"T\", \"F\"), percentage (7.5, 89.9, 1.9)", "schema_without_content": "city : district , countrycode , id , name , population | sqlite_sequence : seq , name | country : name , region , continent , code , gnpold , population , gnp , indepyear , code2 , life_span , localname , headofstate , capital , surfacearea , governmentform , life_length | countrylanguage : countrycode , language , isofficial , percentage", "extra_map": { "country": { "lifeexpectancy": [ "life_length", "life_span" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "life_length", "life_span" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "population": "country.Population", "life expectancy": "country.LifeExpectancy", "ian country by land?": "country.SurfaceArea", "Asian country": "country.Continent" } }, { "question": "what are the #name# , #population# , and #life expectancy# of the largest as #ian country by land?# ", "db_id": "world_1", "orig_query": "select name, population, lifeexpectancy from country where continent = \"Asia\" order by surfacearea desc limit 1", "schema_with_content": "city : countrycode (\"COG\", \"PCN\", \"FJI\"), name (\"Ara\u00c2\u00b4ar\", \"Soshanguve\", \"Petropavlovsk-Kamt\u00c5\u00a1atski\"), district (\"Aichi\", \"Rarotonga\", \"Baranya\"), population (164704, 224887, 120023), id (3054, 3281, 371) | sqlite_sequence : name (\"city\"), seq (4079) | country : continent (\"Antarctica\", \"Europe\", \"Africa\"), population (149000, 278357000, 31471000), capital (902, 2434, 135), headofstate (\"Tarja Halonen\", \"Charles Taylor\", \"Moshe Katzav\"), gnpold (781.0, 5279.0, 6097.0), governmentform (\"Territorial Collectivity of France\", \"Islamic Emirate\", \"Monarchy (Emirate)\"), code2 (\"IL\", \"US\", \"MW\"), code (\"MEX\", \"MEX\", \"PAK\"), title (\"Virgin Islands, British\", \"Qatar\", \"Swaziland\"), gnp (65984.0, 141.0, 8255.0), indepyear (-660, 1956, 1980), lifeexpectancy (76.1, 76.4, 68.5), localname (\"K\u00c3\u00a2mpuch\u00c3\u00a9a\", \"New Zealand/Aotearoa\", \"Polska\"), region (\"Australia and New Zealand\", \"Central Africa\", \"Eastern Europe\"), surfacearea (10400.0, 438317.0, 18274.0), nation (\"Virgin Islands, British\", \"Qatar\", \"Swaziland\") | countrylanguage : isofficial (\"T\", \"F\"), language (\"Mam\", \"Caribbean\", \"Arawakan\"), countrycode (\"NOR\", \"SLV\", \"IRL\"), percentage (19.0, 95.7, 4.2)", "schema_without_content": "city : countrycode , name , district , population , id | sqlite_sequence : name , seq | country : continent , population , capital , headofstate , gnpold , governmentform \", code2 , code , title , gnp , indepyear , lifeexpectancy , localname , region , surfacearea , nation | countrylanguage : isofficial , language , countrycode , percentage", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "population": "country.Population", "life expectancy": "country.LifeExpectancy", "ian country by land?": "country.SurfaceArea", "Asian country": "country.Continent" } }, { "question": "what is #average life expectancy in the countries# where #english# is not the #official language# ?", "db_id": "world_1", "orig_query": "select avg(lifeexpectancy) from country where name not in (select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"English\" and t2.isofficial = \"T\")", "schema_with_content": "city : name (\"Palghat (Palakkad)\", \"Bhubaneswar\", \"San Fernando del Valle de Cata\"), countrycode (\"GIB\", \"PLW\", \"REU\"), id (3994, 2855, 1626), district (\"Swietokrzyskie\", \"Kosovo and Metohija\", \"Balkh\"), population (127222, 128258, 455360) | sqlite_sequence : name (\"city\"), seq (4079) | country : code (\"ASM\", \"VAT\", \"ITA\"), surfacearea (14874.0, 30518.0, 78866.0), life_span (37.2, 52.4, 75.2), localname (\"Eesti\", \"Congo\", \"Fiji Islands\"), continent (\"Oceania\", \"Africa\", \"Antarctica\"), gnp (256254.0, 14194.0, 261.0), life_length (37.2, 52.4, 75.2), indepyear (1965, 1966, 1821), gnpold (1084.0, 625626.0, 2141.0), code2 (\"KN\", \"SN\", \"AE\"), capital (2831, 3173, 3162), population (8091800, 38000, 51654000), governmentform (\"Emirate Federation\", \"Commonwealth of the US\", \"Socialistic Republic\"), region (\"Nordic Countries\", \"Eastern Africa\", \"Western Europe\"), name (\"Gabon\", \"Aruba\", \"Ukraine\"), headofstate (\"Charles Taylor\", \"Leonid Kut\u00c5\u00a1ma\", \"Kessai Note\") | countrylanguage : countrycode (\"AUS\", \"MDA\", \"SJM\"), percentage (5.3, 41.6, 87.0), isofficial (\"T\", \"F\"), language (\"Punjabi\", \"Mandarin Chinese\", \"Guaran\u00c3\u00ad\")", "schema_without_content": "city : name \", \"Bhubaneswar\", \"San Fernando del Valle de Cata\", countrycode , id , district , population | sqlite_sequence : name , seq | country : code , surfacearea , life_span , localname , continent , gnp , life_length , indepyear , gnpold , code2 , capital , population , governmentform , region , name , headofstate | countrylanguage : countrycode , percentage , isofficial , language", "extra_map": { "country": { "lifeexpectancy": [ "life_length", "life_span" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "life_length", "life_span" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "average life expectancy in the countries": "country.LifeExpectancy", "English": "countrylanguage.Language", "official language": "countrylanguage.IsOfficial" } }, { "question": "give the #mean life expectancy of countries# in which #english# is not the #official language# .", "db_id": "world_1", "orig_query": "select avg(lifeexpectancy) from country where name not in (select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"English\" and t2.isofficial = \"T\")", "schema_with_content": "city : district (\"Haryana\", \"J\u00c3\u00b6nk\u00c3\u00b6pings l\u00c3\u00a4n\", \"Guangxi\"), name (\"Vaduz\", \"Sergijev Posad\", \"Meihekou\"), countrycode (\"LCA\", \"GTM\", \"RUS\"), id (4048, 131, 2233), population (214384, 117396, 125621) | sqlite_sequence : seq (4079), name (\"city\") | country : gnp (776.0, 2108.0, 6.0), governmentform (\"Parlementary Monarchy\", \"Territory of Australia\", \"Islamic Republic\"), capital (1800, 1522, 2455), surfacearea (1240192.0, 2344858.0, 726.0), life_span (77.8, 72.7, 71.5), continent (\"Oceania\", \"Oceania\", \"Antarctica\"), life_length (77.8, 72.7, 71.5), gnpold (58549.0, 45914.0, 442989.0), localname (\"Moldova\", \"Luxembourg/L\u00c3\u00abtzebuerg\", \"Timor Timur\"), population (4968000, 2662000, 25662000), code2 (\"BF\", \"SG\", \"BY\"), code (\"LTU\", \"TUN\", \"DZA\"), region (\"Northern Africa\", \"Eastern Asia\", \"Micronesia\"), indepyear (-1523, 1499, 1958), headofstate (\"Gnassingb\u00c3\u00a9 Eyad\u00c3\u00a9ma\", \"Hugo B\u00c3\u00a1nzer Su\u00c3\u00a1rez\", \"Benjamin William Mkapa\"), name (\"Cook Islands\", \"British Indian Ocean Territory\", \"Seychelles\") | countrylanguage : isofficial (\"T\", \"F\"), language (\"Polish\", \"Bemba\", \"Khoekhoe\"), percentage (64.7, 93.5, 6.4), countrycode (\"GEO\", \"CYP\", \"IRL\")", "schema_without_content": "city : district , name , countrycode , id , population | sqlite_sequence : seq , name | country : gnp , governmentform , capital , surfacearea , life_span , continent , life_length , gnpold , localname , population , code2 , code , region , indepyear , headofstate , name | countrylanguage : isofficial , language , percentage , countrycode", "extra_map": { "country": { "lifeexpectancy": [ "life_length", "life_span" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "life_length", "life_span" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "mean life expectancy of countries": "country.LifeExpectancy", "English": "countrylanguage.Language", "official language": "countrylanguage.IsOfficial" } }, { "question": "what is the #total number of people# living in the #nations# that do not use #english# ?", "db_id": "world_1", "orig_query": "select sum(population) from country where name not in (select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"English\")", "schema_with_content": "city : countrycode (\"MCO\", \"GMB\", \"SPM\"), name (\"Dabrowa G\u00c3\u00b3rnicza\", \"Shagamu\", \"Bijsk\"), population (760000, 663340, 299676), district (\"H\u00c3\u00b6fu\u00c3\u00b0borgarsv\u00c3\u00a6\u00c3\u00b0i\", \"Mary\", \"Haiphong\"), id (2982, 2201, 3105) | sqlite_sequence : seq (4079), name (\"city\") | country : region (\"Melanesia\", \"Antarctica\", \"Middle East\"), lifeexpectancy (81.1, 76.7, 81.6), name (\"Moldova\", \"Greece\", \"Cameroon\"), surfacearea (344.0, 28748.0, 108889.0), citizen_count (5496000, 270000, 21000), indepyear (1951, 1944, 1948), headofstate (\"Omar Hassan Ahmad al-Bashir\", \"Ali Abdallah Salih\", \"Ant\u00c3\u00b3nio Mascarenhas Monteiro\"), continent (\"Oceania\", \"Antarctica\", \"South America\"), gnp (1941.0, 211860.0, 5332.0), code (\"LBR\", \"PRT\", \"RWA\"), capital (3208, 645, 1530), headcount (5496000, 270000, 21000), code2 (\"AL\", \"WS\", \"YT\"), localname (\"Trinidad and Tobago\", \"Uzbekiston\", \"The Bahamas\"), gnpold (146171.0, 5867.0, 2102826.0), governmentform (\"Territory of Australia\", \"Part of Denmark\", \"Territory of Australia\") | countrylanguage : percentage (12.1, 66.5, 90.6), isofficial (\"T\", \"F\"), countrycode (\"GEO\", \"NOR\", \"SWZ\"), language (\"Persian\", \"Adja\", \"Chinese\")", "schema_without_content": "city : countrycode , name , population , district , id | sqlite_sequence : seq , name | country : region , lifeexpectancy , name , surfacearea , citizen_count , indepyear , headofstate , continent , gnp , code , capital , headcount , code2 , localname , gnpold , governmentform | countrylanguage : percentage , isofficial , countrycode , language", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "total number of people": "country.Population", "nations": "country", "English": "countrylanguage.Language" } }, { "question": "how many #people# live in #countries# that do not #speak english# ?", "db_id": "world_1", "orig_query": "select sum(population) from country where name not in (select t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"English\")", "schema_with_content": "city : population (174500, 353046, 563374), countrycode (\"THA\", \"COD\", \"MUS\"), district (\"Istanbul\", \"Distrito Nacional\", \"Grad Zagreb\"), id (970, 2009, 3629), name (\"Lubao\", \"Dunedin\", \"M\u00c3\u00a1laga\") | sqlite_sequence : name (\"city\"), seq (4079) | country : indepyear (1948, 1961, 1825), name (\"Guadeloupe\", \"French Polynesia\", \"Tuvalu\"), lifeexpectancy (38.3, 60.9, 56.5), gnpold (3347.0, 3922.0, 256092.0), continent (\"Africa\", \"Antarctica\", \"Europe\"), gnp (258.0, 1687.0, 3205.0), region (\"Western Africa\", \"Melanesia\", \"Central America\"), headcount (94000, 380200, 12646000), surfacearea (622.0, 1759540.0, 1075.0), localname (\"Martinique\", \"Prathet Thai\", \"Timor Timur\"), governmentform (\"Federal Republic\", \"Nonmetropolitan Territory of New Zealand\", \"Dependent Territory of Norway\"), code (\"COM\", \"COK\", \"UMI\"), code2 (\"AS\", \"HN\", \"PW\"), citizen_count (94000, 380200, 12646000), headofstate (\"Mireya Elisa Moscoso Rodr\u00c3\u00adguez\", \"Arnoldo Alem\u00c3\u00a1n Lacayo\", \"Natsagiin Bagabandi\"), capital (2460, 3243, 3813) | countrylanguage : countrycode (\"BLZ\", \"GHA\", \"CIV\"), percentage (78.8, 7.8, 81.6), language (\"Kannada\", \"Zapotec\", \"Hui\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : population , countrycode , district , id , name | sqlite_sequence : name , seq | country : indepyear , name , lifeexpectancy , gnpold , continent , gnp , region , headcount , surfacearea , localname , governmentform , code , code2 , citizen_count , headofstate , capital | countrylanguage : countrycode , percentage , language , isofficial", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "people": "country.Population", "countries": "country", "speak English": "countrylanguage.Language" } }, { "question": "what is the #official language# spoken in the #country# whose #head of state# is beatrix?", "db_id": "world_1", "orig_query": "select t2.language from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t1.headofstate = \"Beatrix\" and t2.isofficial = \"T\"", "schema_with_content": "city : population (135721, 119796, 123958), id (658, 2938, 3849), name (\"Satna\", \"Bellary\", \"Halifax\"), district (\"Golestan\", \"Amman\", \"Chisinau\"), countrycode (\"LSO\", \"PRY\", \"UGA\") | sqlite_sequence : seq (4079), name (\"city\") | country : continent (\"Africa\", \"Africa\", \"Europe\"), population (2024000, 94000, 4968000), headofstate (\"Fahd ibn Abdul-Aziz al-Sa\u00c2\u00b4ud\", \"Chandrika Kumaratunga\", \"Haji Hassan al-Bolkiah\"), lifeexpectancy (48.0, 81.6, 68.9), surfacearea (110861.0, 323877.0, 30355.0), indepyear (1838, 1776, 1941), gnpold (1102.0, 542.0, 45914.0), code (\"ATF\", \"DZA\", \"MMR\"), localname (\"M\u00c3\u00a9xico\", \"K\u00c3\u00a2mpuch\u00c3\u00a9a\", \"K\u00c3\u00bdpros/Kibris\"), capital (2695, 933, 2446), code2 (\"KM\", \"VU\", \"GQ\"), gnp (998.0, 1424285.0, 97.0), name (\"Seychelles\", \"South Africa\", \"Rwanda\"), governmentform (\"Dependent Territory of Norway\", \"Constitutional Monarchy (Emirate)\", \"Constitutional Monarchy\"), region (\"Western Europe\", \"Polynesia\", \"Baltic Countries\") | countrylanguage : countrycode (\"ESP\", \"SWE\", \"PSE\"), dialect (\"Mon\", \"Bugi\", \"Vietnamese\"), tongue (\"Mon\", \"Bugi\", \"Vietnamese\"), isofficial (\"T\", \"F\"), percentage (16.9, 10.4, 10.6)", "schema_without_content": "city : population , id , name , district , countrycode | sqlite_sequence : seq , name | country : continent , population , headofstate , lifeexpectancy , surfacearea , indepyear , gnpold , code , localname , capital , code2 , gnp , name , governmentform \", \"Constitutional Monarchy\", region | countrylanguage : countrycode , dialect , tongue , isofficial , percentage", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "official language": "countrylanguage.Language", "country": "country", "head of state": "country.HeadOfState", "is official": "countrylanguage.IsOfficial" } }, { "question": "what is the #official language# used in the #country the name of whose head of state# is beatrix.", "db_id": "world_1", "orig_query": "select t2.language from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t1.headofstate = \"Beatrix\" and t2.isofficial = \"T\"", "schema_with_content": "city : name (\"Kazan\", \"Ila\", \"Stanley\"), district (\"B\u00c3\u00a9char\", \"Horad Minsk\", \"Bayam\u00c3\u00b3n\"), countrycode (\"ROM\", \"DJI\", \"CAN\"), population (178683, 4600, 192981), id (3595, 2969, 2191) | sqlite_sequence : name (\"city\"), seq (4079) | country : gnpold (442544.0, 401461.0, 2141.0), headofstate (\"Abdurrahman Wahid\", \"Daniel arap Moi\", \"Milan Kucan\"), governmentform (\"Part of Denmark\", \"Commonwealth of the US\", \"Dependent Territory of the US\"), localname (\"Polyn\u00c3\u00a9sie fran\u00c3\u00a7aise\", \"Italia\", \"Sverige\"), region (\"Polynesia\", \"Eastern Africa\", \"South America\"), name (\"Solomon Islands\", \"India\", \"United Arab Emirates\"), population (12000, 2670000, 45611000), code (\"NER\", \"SLB\", \"RUS\"), surfacearea (1267000.0, 13120000.0, 135.0), indepyear (1825, -1523, None), continent (\"South America\", \"North America\", \"North America\"), capital (3047, 926, 2298), code2 (\"ER\", \"LI\", \"GL\"), lifeexpectancy (41.3, 37.8, 55.8), gnp (15846.0, 1206.0, 86503.0) | countrylanguage : tongue (\"Papiamento\", \"Circassian\", \"Zhuang\"), countrycode (\"ESH\", \"SMR\", \"PRT\"), dialect (\"Papiamento\", \"Circassian\", \"Zhuang\"), percentage (83.2, 0.1, 1.7), isofficial (\"T\", \"F\")", "schema_without_content": "city : name , district , countrycode , population , id | sqlite_sequence : name , seq | country : gnpold , headofstate , governmentform , localname , region , name , population , code , surfacearea , indepyear , continent , capital , code2 , lifeexpectancy , gnp | countrylanguage : tongue , countrycode , dialect , percentage , isofficial", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "official language": "countrylanguage.Language", "country the name of whose head of state": "country.HeadOfState" } }, { "question": "what is the total number of #unique official# languages spoken in the #countries# that are #founded before 1930# ?", "db_id": "world_1", "orig_query": "select count(distinct t2.language) from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where indepyear < 1930 and t2.isofficial = \"T\"", "schema_with_content": "city : population (144280, 133914, 121952), countrycode (\"IND\", \"SMR\", \"VCT\"), id (2529, 2959, 1490), district (\"Pondicherry\", \"Ayacucho\", \"Khujand\"), name (\"Nueva San Salvador\", \"Taxco de Alarc\u00c3\u00b3n\", \"Udine\") | sqlite_sequence : seq (4079), name (\"city\") | country : name (\"Poland\", \"Holy See (Vatican City State)\", \"United Arab Emirates\"), region (\"Western Africa\", \"Micronesia\", \"Antarctica\"), indepyear (1946, 1951, 1903), localname (\"Nihon/Nippon\", \"Liberia\", \"M\u00c3\u00a9xico\"), headofstate (\"Leonid Kut\u00c5\u00a1ma\", \"Paul Biya\", \"Kostis Stefanopoulos\"), gnp (1449.0, 630.0, 20208.0), code (\"VAT\", \"ARG\", \"PRK\"), capital (1530, 2689, 583), governmentform (\"Constitutional Monarchy, Federation\", \"Occupied by Marocco\", \"Islamic Republic\"), population (10730000, 59623400, 417000), continent (\"Europe\", \"South America\", \"Africa\"), surfacearea (163265.0, 342000.0, 23200.0), code2 (\"JO\", \"GF\", \"MS\"), lifeexpectancy (54.9, 71.1, 79.0), gnpold (31966.0, 5729.0, 11203.0) | countrylanguage : dialect (\"Romansh\", \"Kirgiz\", \"Zande\"), tongue (\"Romansh\", \"Kirgiz\", \"Zande\"), percentage (3.3, 97.3, 97.6), isofficial (\"T\", \"F\"), countrycode (\"LKA\", \"WSM\", \"CXR\")", "schema_without_content": "city : population , countrycode , id , district , name | sqlite_sequence : seq , name | country : name \", \"United Arab Emirates\", region , indepyear , localname , headofstate , gnp , code , capital , governmentform , population , continent , surfacearea , code2 , lifeexpectancy , gnpold | countrylanguage : dialect , tongue , percentage , isofficial , countrycode", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "unique official": "countrylanguage.IsOfficial", "countries": "country", "founded before 1930": "country.IndepYear", "unique official languages": "countrylanguage.Language" } }, { "question": "for the #countries founded before 1930# , what is the total n #umber of distinct official# languages?", "db_id": "world_1", "orig_query": "select count(distinct t2.language) from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where indepyear < 1930 and t2.isofficial = \"T\"", "schema_with_content": "city : id (2763, 3798, 1994), population (126820, 117539, 114500), name (\"Saint Paul\", \"Tshikapa\", \"Kars\"), district (\"Markazi\", \"al-Buhayra\", \"Tyva\"), countrycode (\"KEN\", \"HTI\", \"JOR\") | sqlite_sequence : name (\"city\"), seq (4079) | country : headofstate (\"Kocheril Raman Narayanan\", \"Hugo Ch\u00c3\u00a1vez Fr\u00c3\u00adas\", \"Alfonso Portillo Cabrera\"), lifeexpectancy (74.4, 68.4, 71.5), population (3200, 444000, 2583000), code2 (\"BH\", \"NF\", \"MR\"), capital (3537, 3206, 69), gnp (82710.0, 4251.0, 49982.0), region (\"Nordic Countries\", \"Eastern Africa\", \"Southern and Central Asia\"), governmentform (\"Nonmetropolitan Territory of France\", \"Part of Denmark\", \"Socialistic Republic\"), localname (\"Trinidad and Tobago\", \"Komori/Comores\", \"Ertra\"), gnpold (917719.0, 532031.0, 169264.0), code (\"STP\", \"CRI\", \"UGA\"), indepyear (1970, 1921, 1918), continent (\"South America\", \"North America\", \"Antarctica\"), surfacearea (1284000.0, 181035.0, 338145.0), name (\"British Indian Ocean Territory\", \"Angola\", \"Uzbekistan\") | countrylanguage : tongue (\"Gagauzi\", \"Tibetan\", \"Soga\"), dialect (\"Gagauzi\", \"Tibetan\", \"Soga\"), percentage (8.2, 21.6, 9.2), isofficial (\"T\", \"F\"), countrycode (\"DNK\", \"JAM\", \"HTI\")", "schema_without_content": "city : id , population , name , district , countrycode | sqlite_sequence : name , seq | country : headofstate , lifeexpectancy , population , code2 , capital , gnp , region , governmentform , localname , gnpold , code , indepyear , continent , surfacearea , name | countrylanguage : tongue , dialect , percentage , isofficial , countrycode", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "countries founded before 1930": "country.IndepYear", "umber of distinct official": "countrylanguage.IsOfficial", "number of distinct official languages": "countrylanguage.Language" } }, { "question": "what are the #countries# that have greater #surface area# than any country in #europe# ?", "db_id": "world_1", "orig_query": "select name from country where surfacearea > (select min(surfacearea) from country where continent = \"Europe\")", "schema_with_content": "city : district (\"Namur\", \"Sumy\", \"Carolina\"), id (595, 873, 4027), countrycode (\"ISL\", \"SUR\", \"CAN\"), population (1593800, 139192, 108578), name (\"El\u00c3\u00a2zig\", \"Satara\", \"Nou\u00c3\u00a2dhibou\") | sqlite_sequence : seq (4079), name (\"city\") | country : region (\"Middle East\", \"Western Africa\", \"Antarctica\"), nation (\"R\u00c3\u00a9union\", \"Australia\", \"Latvia\"), gnp (1043.0, 293.0, 1626.0), population (11168000, 3869000, 6782000), lifeexpectancy (70.3, 44.0, 49.8), governmentform (\"Co-administrated\", \"Commonwealth of the US\", \"Dependent Territory of Norway\"), headofstate (\"Gyanendra Bir Bikram\", \"Jacques Chirac\", \"Charles Taylor\"), gnpold (430572.0, 19967.0, 153907.0), code2 (\"AS\", \"MR\", \"IQ\"), localname (\"Canada\", \"Bolivia\", \"Gibraltar\"), continent (\"North America\", \"North America\", \"Europe\"), title (\"R\u00c3\u00a9union\", \"Australia\", \"Latvia\"), capital (933, 174, 456), code (\"GTM\", \"BTN\", \"COD\"), indepyear (1961, 1984, 1977), surfacearea (14.0, 331689.0, 622984.0) | countrylanguage : percentage (71.7, 5.4, 7.1), isofficial (\"T\", \"F\"), countrycode (\"BFA\", \"TCD\", \"KAZ\"), language (\"Sango\", \"Yucatec\", \"Slovak\")", "schema_without_content": "city : district , id , countrycode , population , name | sqlite_sequence : seq , name | country : region , nation , gnp , population , lifeexpectancy , governmentform , headofstate , gnpold , code2 , localname , continent , title , capital , code , indepyear , surfacearea | countrylanguage : percentage , isofficial , countrycode , language", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "countries": "country.Name", "surface area": "country.SurfaceArea", "Europe": "country.Continent" } }, { "question": "which #countries# have greater #area# than that of any #country in europe# ?", "db_id": "world_1", "orig_query": "select name from country where surfacearea > (select min(surfacearea) from country where continent = \"Europe\")", "schema_with_content": "city : name (\"Panipat\", \"Naucalpan de Ju\u00c3\u00a1rez\", \"Kochi\"), population (393049, 92020, 420332), id (3141, 1807, 3052), countrycode (\"ECU\", \"PRT\", \"ARE\"), district (\"Kano & Jigawa\", \"C\u00c3\u00b3rdoba\", \"Yamoussoukro\") | sqlite_sequence : seq (4079), name (\"city\") | country : headofstate (\"Mswati III\", \"Lennart Meri\", \"Frederick Chiluba\"), code (\"COK\", \"ITA\", \"PSE\"), localname (\"As-Sudan\", \"Al-Jaza\u00e2\u0080\u0099ir/Alg\u00c3\u00a9rie\", \"Angola\"), nation (\"Togo\", \"Egypt\", \"Dominican Republic\"), code2 (\"MR\", \"PH\", \"MG\"), title (\"Togo\", \"Egypt\", \"Dominican Republic\"), lifeexpectancy (50.2, 77.0, 76.5), population (4023000, 8222000, 3567000), governmentform (\"Nonmetropolitan Territory of France\", \"Islamic Republic\", \"Autonomous Area\"), capital (3065, 910, 3499), gnp (8287.0, 2357.0, 61289.0), continent (\"Oceania\", \"Europe\", \"South America\"), gnpold (189122.0, 706.0, 1136.0), surfacearea (181035.0, 357022.0, 694.0), indepyear (1143, 1906, 885), region (\"Southeast Asia\", \"Antarctica\", \"North America\") | countrylanguage : percentage (3.8, 11.8, 88.9), language (\"Kalenjin\", \"Czech\", \"T\u00c5\u00a1am\"), isofficial (\"T\", \"F\"), countrycode (\"KHM\", \"ALB\", \"MWI\")", "schema_without_content": "city : name , population , id , countrycode , district | sqlite_sequence : seq , name | country : headofstate , code , localname , nation , code2 , title , lifeexpectancy , population , governmentform , capital , gnp , continent , gnpold , surfacearea , indepyear , region | countrylanguage : percentage , language , isofficial , countrycode", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "countries": "country", "area": "country.SurfaceArea", "country in Europe": "country.Continent" } }, { "question": "what are the #african countries# that have a #population# less than any #country in asia# ?", "db_id": "world_1", "orig_query": "select name from country where continent = \"Africa\" and population < (select max(population) from country where continent = \"Asia\")", "schema_with_content": "city : countrycode (\"ECU\", \"HKG\", \"GAB\"), population (161482, 92574, 97291), name (\"Soledad de Graciano S\u00c3\u00a1nchez\", \"Balikesir\", \"Sunchon\"), district (\"Sidi Bel Abb\u00c3\u00a8s\", \"Veneto\", \"Bamako\"), id (2644, 1630, 3829) | sqlite_sequence : seq (4079), name (\"city\") | country : lifeexpectancy (70.5, 66.3, 79.4), nation (\"Guyana\", \"Turkey\", \"Falkland Islands\"), governmentform (\"Socialistic State\", \"Parlementary Monarchy\", \"Territorial Collectivity of France\"), surfacearea (29800.0, 53.0, 236800.0), code (\"ROM\", \"PCN\", \"FSM\"), gnpold (858.0, 19300.0, 8596.0), indepyear (1976, 1910, 836), capital (3483, 2514, 3236), region (\"Southern and Central Asia\", \"British Islands\", \"Southern Europe\"), population (79832000, 0, 31471000), title (\"Guyana\", \"Turkey\", \"Falkland Islands\"), gnp (116416.0, 65107.0, 1206.0), code2 (\"JM\", \"NR\", \"VC\"), headofstate (\"Teburoro Tito\", \"Vojislav Ko\u00c5\u00a1tunica\", \"Ferenc M\u00c3\u00a1dl\"), continent (\"Europe\", \"Europe\", \"Antarctica\"), localname (\"Luxembourg/L\u00c3\u00abtzebuerg\", \"Tonga\", \"Nederlandse Antillen\") | countrylanguage : percentage (98.5, 87.6, 56.6), language (\"Ronga\", \"Tukulor\", \"Loma\"), countrycode (\"IND\", \"GAB\", \"WSM\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : countrycode , population , name , district , id | sqlite_sequence : seq , name | country : lifeexpectancy , nation , governmentform , surfacearea , code , gnpold , indepyear , capital , region , population , title , gnp , code2 , headofstate , continent , localname | countrylanguage : percentage , language , countrycode , isofficial", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "African countries": "country.Name", "population": "country.Population", "country in Asia": "country.Continent" } }, { "question": "which #african countries# have a smaller #population# than that of any #country in asia# ?", "db_id": "world_1", "orig_query": "select name from country where continent = \"Africa\" and population < (select min(population) from country where continent = \"Asia\")", "schema_with_content": "city : district (\"Kirikkale\", \"Huila\", \"Lagos\"), name (\"Jabalpur\", \"Oita\", \"Panevezys\"), countrycode (\"ISL\", \"GRD\", \"KOR\"), population (123232, 209086, 120378), id (3865, 1001, 3429) | sqlite_sequence : seq (4079), name (\"city\") | country : code (\"DEU\", \"BEL\", \"PNG\"), population (5083000, 6695000, 1277558000), code2 (\"GE\", \"BM\", \"GD\"), nation (\"Holy See (Vatican City State)\", \"Tanzania\", \"Solomon Islands\"), governmentform (\"Monarchy (Sultanate)\", \"Dependent Territory of Norway\", \"Monarchy (Emirate)\"), continent (\"North America\", \"Europe\", \"Oceania\"), title (\"Holy See (Vatican City State)\", \"Tanzania\", \"Solomon Islands\"), localname (\"British Virgin Islands\", \"Ha\u00c3\u00afti/Dayti\", \"Nouvelle-Cal\u00c3\u00a9donie\"), surfacearea (91982.0, 1958201.0, 801590.0), lifeexpectancy (70.8, 62.5, 56.5), gnpold (129092.0, 4697.0, 743.0), capital (910, 1792, 174), headofstate (\"Ahmet Necdet Sezer\", \"Fernando Henrique Cardoso\", \"Jigme Singye Wangchuk\"), gnp (86503.0, 1208.0, 13714.0), region (\"Eastern Africa\", \"Antarctica\", \"Micronesia\"), indepyear (1903, 1278, 1922) | countrylanguage : countrycode (\"FRA\", \"RWA\", \"MRT\"), percentage (1.5, 29.6, 97.5), language (\"Akan\", \"Xhosa\", \"Maguindanao\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : district , name , countrycode , population , id | sqlite_sequence : seq , name | country : code , population , code2 , nation \", \"Tanzania\", \"Solomon Islands\", governmentform \", \"Dependent Territory of Norway\", \"Monarchy \", continent , title \", \"Tanzania\", \"Solomon Islands\", localname , surfacearea , lifeexpectancy , gnpold , capital , headofstate , gnp , region , indepyear | countrylanguage : countrycode , percentage , language , isofficial", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "African countries": "country.Name", "population": "country.Population", "country in Asia": "country.Continent" } }, { "question": "which #asian countries# have a #population# that is larger than any country in #africa# ?", "db_id": "world_1", "orig_query": "select name from country where continent = \"Asia\" and population > (select max(population) from country where continent = \"Africa\")", "schema_with_content": "city : district (\"Astrahan\", \"Sinaloa\", \"Tamaulipas\"), id (362, 2952, 2219), countrycode (\"DEU\", \"SLB\", \"IRN\"), name (\"Rio Grande\", \"Siping\", \"Solikamsk\"), population (379310, 217300, 118182) | sqlite_sequence : name (\"city\"), seq (4079) | country : code2 (\"BO\", \"PA\", \"NC\"), code (\"QAT\", \"VUT\", \"NPL\"), lifeexpectancy (61.1, 38.3, 42.5), region (\"Southern and Central Asia\", \"Central Africa\", \"Antarctica\"), title (\"Qatar\", \"Dominican Republic\", \"Belarus\"), continent (\"Antarctica\", \"Antarctica\", \"North America\"), gnp (2133367.0, 96.0, 86503.0), capital (3243, 2734, 2441), gnpold (1863.0, 3371.0, 15519.0), governmentform (\"Republic\", \"Co-administrated\", \"Autonomous Area\"), nation (\"Qatar\", \"Dominican Republic\", \"Belarus\"), indepyear (1945, 1964, 1878), population (8495000, 10640000, 31471000), headofstate (\"\", \"\", \"Teburoro Tito\"), localname (\"\u00c2\u00b4Uman\", \"Ertra\", \"Al-\u00c2\u00b4Arabiya as-Sa\u00c2\u00b4udiya\"), surfacearea (26338.0, 16.0, 2166090.0) | countrylanguage : language (\"Songhai\", \"Nyaneka-nkhumbi\", \"T\u00c5\u00a1am\"), percentage (14.6, 8.2, 14.1), isofficial (\"T\", \"F\"), countrycode (\"CPV\", \"ALB\", \"COL\")", "schema_without_content": "city : district , id , countrycode , name , population | sqlite_sequence : name , seq | country : code2 , code , lifeexpectancy , region , title , continent , gnp , capital , gnpold , governmentform , nation , indepyear , population , headofstate , localname , surfacearea | countrylanguage : language , percentage , isofficial , countrycode", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "Asian countries": "country.Name", "population": "country.Population", "Africa": "country.Continent" } }, { "question": "what are the #asian countries# which have a #population# larger than that of any #country in africa# ?", "db_id": "world_1", "orig_query": "select name from country where continent = \"Asia\" and population > (select min(population) from country where continent = \"Africa\")", "schema_with_content": "city : district (\"California\", \"Henan\", \"Tokat\"), population (9696300, 219149, 624269), id (1237, 851, 3872), name (\"Changshu\", \"Katowice\", \"Machida\"), countrycode (\"VUT\", \"NER\", \"TCA\") | sqlite_sequence : seq (4079), name (\"city\") | country : code (\"THA\", \"FRO\", \"GIB\"), gnpold (19300.0, 7967.0, 227757.0), surfacearea (199.0, 9363520.0, 650.0), localname (\"Saint Vincent and the Grenadines\", \"Zambia\", \"R\u00c3\u00a9publique D\u00c3\u00a9mocratique du Congo\"), population (9997600, 1295000, 4459000), region (\"Western Europe\", \"Southeast Asia\", \"Southern Europe\"), headofstate (\"Hosni Mubarak\", \"Haji Hassan al-Bolkiah\", \"Hugo Ch\u00c3\u00a1vez Fr\u00c3\u00adas\"), continent (\"Oceania\", \"Asia\", \"Asia\"), title (\"Cuba\", \"United States\", \"Bermuda\"), indepyear (1980, 1974, 1918), capital (1859, 584, 2508), code2 (\"TO\", \"AR\", \"BR\"), lifeexpectancy (51.6, 76.4, 60.6), governmentform (\"People'sRepublic\", \"Occupied by Marocco\", \"Special Administrative Region of China\"), gnp (776.0, 320749.0, 1208.0), nation (\"Cuba\", \"United States\", \"Bermuda\") | countrylanguage : isofficial (\"T\", \"F\"), language (\"Ane\", \"Ilocano\", \"Tswa\"), percentage (1.1, 12.8, 6.2), countrycode (\"UGA\", \"SOM\", \"NZL\")", "schema_without_content": "city : district , population , id , name , countrycode | sqlite_sequence : seq , name | country : code , gnpold , surfacearea , localname , population , region , headofstate , continent , title , indepyear , capital , code2 , lifeexpectancy , governmentform , gnp , nation | countrylanguage : isofficial , language , percentage , countrycode", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "Asian countries": "country.Continent", "population": "country.Population", "country in Africa": "country.Continent" } }, { "question": "what are the #country codes for countries# that do not #speak english# ?", "db_id": "world_1", "orig_query": "select countrycode from countrylanguage except select countrycode from countrylanguage where language = \"English\"", "schema_with_content": "city : name (\"al-Raqqa\", \"Kodaira\", \"Zalantun\"), population (101936, 93985, 139570), district (\"Tortola\", \"F\u00c3\u00a8s-Boulemane\", \"Yamoussoukro\"), id (1735, 3998, 846), countrycode (\"MNP\", \"ITA\", \"TWN\") | sqlite_sequence : name (\"city\"), seq (4079) | country : population (24318000, 68000, 22455500), code (\"VGB\", \"LUX\", \"NZL\"), lifeexpectancy (52.4, 73.3, 69.9), name (\"Guatemala\", \"Pitcairn\", \"Costa Rica\"), headofstate (\"Cassam Uteem\", \"Robert Kot\u00c5\u00a1arjan\", \"Fidel Castro Ruz\"), capital (1450, 645, 3332), indepyear (1946, 1825, 843), localname (\"Heard and McDonald Islands\", \"Saint Lucia\", \"Angola\"), surfacearea (78866.0, 694.0, 650.0), gnpold (3371.0, 1312.0, 157.0), region (\"Baltic Countries\", \"British Islands\", \"South America\"), continent (\"Europe\", \"Asia\", \"Europe\"), gnp (141.0, 9472.0, 435.0), code2 (\"IO\", \"JP\", \"BW\"), governmentform (\"Constitutional Monarchy (Emirate)\", \"Islamic Emirate\", \"Republic\") | countrylanguage : language (\"Soga\", \"Russian\", \"Philippene Languages\"), percentage (81.0, 1.3, 35.8), territorycode (\"DNK\", \"SHN\", \"GRC\"), nationcode (\"DNK\", \"SHN\", \"GRC\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : name , population , district , id , countrycode | sqlite_sequence : name , seq | country : population , code , lifeexpectancy , name , headofstate , capital , indepyear , localname , surfacearea , gnpold , region , continent , gnp , code2 , governmentform \", \"Islamic Emirate\", \"Republic\" | countrylanguage : language , percentage , territorycode , nationcode , isofficial", "extra_map": { "countrylanguage": { "countrycode": [ "nationcode", "territorycode" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "language", "isofficial", "percentage", "nationcode", "territorycode" ] }, "column_linking_gt": { "country codes for countries": "countrylanguage.CountryCode", "speak English": "countrylanguage.Language" } }, { "question": "return the #country codes for countries# that do not speak #english# .", "db_id": "world_1", "orig_query": "select countrycode from countrylanguage except select countrycode from countrylanguage where language = \"English\"", "schema_with_content": "city : name (\"Santa Ana de Coro\", \"Hangzhou\", \"Bila Tserkva\"), id (3583, 3157, 1068), district (\"Qasim\", \"Borno & Yobe\", \"Fargona\"), population (1191043, 269393, 463846), countrycode (\"NAM\", \"STP\", \"SOM\") | sqlite_sequence : name (\"city\"), seq (4079) | country : governmentform (\"Part of Denmark\", \"Federation\", \"Parliamentary Coprincipality\"), surfacearea (2166090.0, 207600.0, 71740.0), name (\"Burkina Faso\", \"Nauru\", \"Bolivia\"), gnp (598862.0, 1378330.0, 256254.0), continent (\"Antarctica\", \"North America\", \"Oceania\"), code (\"EGY\", \"VCT\", \"IRL\"), gnpold (15129.0, 3107.0, 5670.0), capital (2972, 2508, 2437), headofstate (\"Adolf Ogi\", \"Andr\u00c3\u00a9s Pastrana Arango\", \"Fernando Henrique Cardoso\"), localname (\"Timor Timur\", \"Deutschland\", \"Deutschland\"), population (61399000, 22244000, 8329000), code2 (\"KR\", \"MC\", \"MY\"), region (\"South America\", \"North America\", \"British Islands\"), indepyear (1810, 1994, 1955), lifeexpectancy (73.6, 74.4, 46.7) | countrylanguage : percentage (90.7, 16.4, 9.6), nationcode (\"MDA\", \"RWA\", \"SVK\"), language (\"Wolof\", \"Mayo-kebbi\", \"Newari\"), isofficial (\"T\", \"F\"), territorycode (\"MDA\", \"RWA\", \"SVK\")", "schema_without_content": "city : name , id , district , population , countrycode | sqlite_sequence : name , seq | country : governmentform , surfacearea , name , gnp , continent , code , gnpold , capital , headofstate , localname , population , code2 , region , indepyear , lifeexpectancy | countrylanguage : percentage , nationcode , language , isofficial , territorycode", "extra_map": { "countrylanguage": { "countrycode": [ "nationcode", "territorycode" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "language", "isofficial", "percentage", "nationcode", "territorycode" ] }, "column_linking_gt": { "country codes for countries": "countrylanguage.CountryCode", "English": "countrylanguage.Language" } }, { "question": "what are the #country codes# of countries where people use #languages# other than english?", "db_id": "world_1", "orig_query": "select distinct countrycode from countrylanguage where language != \"English\"", "schema_with_content": "city : name (\"South Bend\", \"al-Dammam\", \"Co\u00c3\u00admbra\"), population (161700, 179000, 263222), countrycode (\"UZB\", \"WSM\", \"MYT\"), id (1318, 318, 892), district (\"North Gaza\", \"Antalya\", \"Huila\") | sqlite_sequence : seq (4079), name (\"city\") | country : surfacearea (30355.0, 338145.0, 9572900.0), code (\"LKA\", \"BLR\", \"RWA\"), gnp (382.0, 3512.0, 320749.0), gnpold (None, 532031.0, 325.0), capital (3483, 34, 2698), code2 (\"GB\", \"AF\", \"IN\"), lifeexpectancy (70.7, 69.5, 41.3), continent (\"North America\", \"Asia\", \"South America\"), indepyear (1821, 1878, 1980), localname (\"S\u00c3\u00a9n\u00c3\u00a9gal/Sounougal\", \"Mo\u00c3\u00a7ambique\", \"K\u00c3\u00a2mpuch\u00c3\u00a9a\"), governmentform (\"Emirate Federation\", \"Federation\", \"Federation\"), population (119000, 4854000, 61399000), region (\"Southern Africa\", \"Southern and Central Asia\", \"Southern and Central Asia\"), headofstate (\"Denis Sassou-Nguesso\", \"Teodoro Obiang Nguema Mbasogo\", \"V\u00c3\u00a1clav Havel\"), name (\"Cuba\", \"United States\", \"Tonga\") | countrylanguage : percentage (3.6, 13.1, 93.4), territorycode (\"ERI\", \"TUR\", \"DMA\"), language (\"Mandjia\", \"Carolinian\", \"Kongo\"), isofficial (\"T\", \"F\"), nationcode (\"ERI\", \"TUR\", \"DMA\")", "schema_without_content": "city : name , population , countrycode , id , district | sqlite_sequence : seq , name | country : surfacearea , code , gnp , gnpold , capital , code2 , lifeexpectancy , continent , indepyear , localname , governmentform , population , region , headofstate , name | countrylanguage : percentage , territorycode , language , isofficial , nationcode", "extra_map": { "countrylanguage": { "countrycode": [ "nationcode", "territorycode" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "language", "isofficial", "percentage", "nationcode", "territorycode" ] }, "column_linking_gt": { "country codes": "countrylanguage.CountryCode", "languages": "countrylanguage.Language" } }, { "question": "give the #country codes# for countries in which people speak langauges that are not english.", "db_id": "world_1", "orig_query": "select distinct countrycode from countrylanguage where language != \"English\"", "schema_with_content": "city : district (\"Lampung\", \"Van\", \"Perm\"), name (\"Kediri\", \"Probolinggo\", \"Suzuka\"), id (1966, 1032, 2532), population (469000, 381161, 128079), countrycode (\"SLE\", \"PER\", \"CRI\") | sqlite_sequence : name (\"city\"), seq (4079) | country : gnp (9472.0, 5121.0, 24375.0), population (2000, 11168000, 57680000), headofstate (\"Saddam Hussein al-Takriti\", \"Josefa Iloilo\", \"Pierre Buyoya\"), gnpold (16153.0, 5279.0, 7967.0), localname (\"Vi\u00c3\u00aat Nam\", \"Cuba\", \"Uganda\"), name (\"Tanzania\", \"Tunisia\", \"Kazakstan\"), continent (\"Europe\", \"Africa\", \"Europe\"), indepyear (1830, 1970, 1965), capital (2318, 1891, 2464), code2 (\"YU\", \"KE\", \"AW\"), governmentform (\"US Territory\", \"Commonwealth of the US\", \"Independent Church State\"), region (\"Caribbean\", \"Baltic Countries\", \"British Islands\"), surfacearea (430.0, 464.0, 110861.0), lifeexpectancy (65.3, 70.3, 69.7), code (\"HND\", \"SYC\", \"LKA\") | countrylanguage : territorycode (\"GLP\", \"ISR\", \"MKD\"), nationcode (\"GLP\", \"ISR\", \"MKD\"), language (\"Caribbean\", \"Dinka\", \"Russian\"), percentage (44.6, 12.6, 45.7), isofficial (\"T\", \"F\")", "schema_without_content": "city : district , name , id , population , countrycode | sqlite_sequence : name , seq | country : gnp , population , headofstate , gnpold , localname , name , continent , indepyear , capital , code2 , governmentform , region , surfacearea , lifeexpectancy , code | countrylanguage : territorycode , nationcode , language , percentage , isofficial", "extra_map": { "countrylanguage": { "countrycode": [ "nationcode", "territorycode" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "language", "isofficial", "percentage", "nationcode", "territorycode" ] }, "column_linking_gt": { "country codes": "countrylanguage.CountryCode", "languages": "countrylanguage.Language" } }, { "question": "what are the #codes of the countries# that do not speak #english# and whose #government forms# are not #republic# ?", "db_id": "world_1", "orig_query": "select code from country where governmentform != \"Republic\" except select countrycode from countrylanguage where language = \"English\"", "schema_with_content": "city : name (\"Kasuga\", \"Conakry\", \"Gloucester\"), countrycode (\"VIR\", \"ROM\", \"LVA\"), population (98500, 283937, 249225), id (1065, 2177, 4062), district (\"G\u00c3\u00a4nc\u00c3\u00a4\", \"Volynia\", \"Konya\") | sqlite_sequence : seq (4079), name (\"city\") | country : gnpold (933.0, 17797.0, 88434.0), region (\"Baltic Countries\", \"Micronesia/Caribbean\", \"Caribbean\"), population (1439200, 8329000, 98881000), continent (\"South America\", \"Africa\", \"Antarctica\"), governmentform (\"Independent Church State\", \"Monarchy (Emirate)\", \"Commonwealth of the US\"), id (\"MAC\", \"SWE\", \"LBN\"), lifeexpectancy (54.8, 71.6, 75.5), localname (\"To\u00c3\u00a7ikiston\", \"Sakartvelo\", \"Ireland/\u00c3\u0089ire\"), code2 (\"LV\", \"VC\", \"MV\"), abbreviation (\"MAC\", \"SWE\", \"LBN\"), gnp (16321.0, 36124.0, 2036.0), name (\"Guinea\", \"Spain\", \"Portugal\"), surfacearea (2505813.0, 455.0, 16.0), capital (763, 1881, 2429), indepyear (1902, 836, 1955), headofstate (\"Ismail Omar Guelleh\", \"Elisabeth II\", \"Bernard Dowiyogo\") | countrylanguage : language (\"Bislama\", \"Minangkabau\", \"Ewe\"), countrycode (\"GIB\", \"EGY\", \"UMI\"), percentage (11.5, 99.9, 63.6), isofficial (\"T\", \"F\")", "schema_without_content": "city : name , countrycode , population , id , district | sqlite_sequence : seq , name | country : gnpold , region , population , continent , governmentform \", \"Commonwealth of the US\", id , lifeexpectancy , localname , code2 , abbreviation , gnp , name , surfacearea , capital , indepyear , headofstate | countrylanguage : language , countrycode , percentage , isofficial", "extra_map": { "country": { "code": [ "id", "abbreviation" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "id", "abbreviation" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "codes of the countries": "country.Code", "English": "countrylanguage.Language", "government forms": "country.GovernmentForm", "Republic": "country.GovernmentForm", "CountryCode": "countrylanguage.CountryCode" } }, { "question": "return the #codes of countries# that do not #speak english# and do not have republics for #governments# .", "db_id": "world_1", "orig_query": "select code from country where governmentform != \"Republic\" except select countrycode from countrylanguage where language = \"English\"", "schema_with_content": "city : district (\"T\u00c5\u00a1erkasy\", \"Udon Thani\", \"Qina\"), name (\"Yonkers\", \"Perugia\", \"Surigao\"), countrycode (\"ARE\", \"CUB\", \"WSM\"), population (109771, 424294, 101984), id (140, 4052, 3652) | sqlite_sequence : name (\"city\"), seq (4079) | country : id (\"AIA\", \"RWA\", \"HTI\"), abbreviation (\"AIA\", \"RWA\", \"HTI\"), indepyear (1975, 1822, 1956), population (15942000, 24039000, 328000), gnp (116729.0, 1941.0, 20026.0), headofstate (\"Kumba Ial\u00c3\u00a1\", \"Boris Trajkovski\", \"Tr\u00c3\u00a2n Duc Luong\"), governmentform (\"Nonmetropolitan Territory of New Zealand\", \"Emirate Federation\", \"Parliamentary Coprincipality\"), name (\"Equatorial Guinea\", \"Lebanon\", \"Dominican Republic\"), localname (\"Suriname\", \"The Turks and Caicos Islands\", \"Northern Mariana Islands\"), lifeexpectancy (69.9, 63.7, 83.5), gnpold (1081.0, 6884.0, 7051.0), capital (2440, 2696, 3067), code2 (\"BN\", \"RO\", \"MP\"), surfacearea (36.0, 245857.0, 2381741.0), continent (\"Europe\", \"South America\", \"Africa\"), region (\"Antarctica\", \"Antarctica\", \"Eastern Europe\") | countrylanguage : isofficial (\"T\", \"F\"), language (\"Ibibio\", \"Zhuang\", \"Marathi\"), countrycode (\"PRK\", \"EST\", \"GNQ\"), percentage (23.8, 96.8, 46.4)", "schema_without_content": "city : district , name , countrycode , population , id | sqlite_sequence : name , seq | country : id , abbreviation , indepyear , population , gnp , headofstate , governmentform , name , localname , lifeexpectancy , gnpold , capital , code2 , surfacearea , continent , region | countrylanguage : isofficial , language , countrycode , percentage", "extra_map": { "country": { "code": [ "id", "abbreviation" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "id", "abbreviation" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "codes of countries": "country.Code", "speak English": "countrylanguage.Language", "governments": "country.GovernmentForm" } }, { "question": "which #cities# are in #european countries# where #english# is not the #official language# ?", "db_id": "world_1", "orig_query": "select distinct t2.name from country as t1 join city as t2 on t2.countrycode = t1.code where t1.continent = 'Europe' and t1.name not in (select t3.name from country as t3 join countrylanguage as t4 on t3.code = t4.countrycode where t4.isofficial = 'T' and t4.language = 'English')", "schema_with_content": "city : city_name (\"Saratov\", \"Sanandaj\", \"Qiqihar\"), id (2124, 2101, 1434), title (\"Saratov\", \"Sanandaj\", \"Qiqihar\"), countrycode (\"LKA\", \"LVA\", \"MYT\"), district (\"Pusan\", \"Novosibirsk\", \"Rakhine\"), population (188200, 133642, 587211) | sqlite_sequence : name (\"city\"), seq (4079) | country : continent (\"Europe\", \"Asia\", \"Antarctica\"), gnp (6064.0, 1990.0, 5749.0), code2 (\"NA\", \"RE\", \"GY\"), code (\"NER\", \"CAN\", \"COL\"), region (\"Northern Africa\", \"Central America\", \"Nordic Countries\"), headofstate (\"Jabir al-Ahmad al-Jabir al-Sabah\", \"Ahmed Tejan Kabbah\", \"Bhumibol Adulyadej\"), population (18112000, 62565000, 18886000), governmentform (\"Parliamentary Coprincipality\", \"US Territory\", \"Commonwealth of the US\"), indepyear (1970, 1830, 1976), gnpold (40562.0, 88434.0, 6887.0), name (\"Germany\", \"Liechtenstein\", \"Comoros\"), capital (3173, 3536, 3261), localname (\"Argentina\", \"Saint-Pierre-et-Miquelon\", \"Mo\u00c3\u00a7ambique\"), surfacearea (801590.0, 774815.0, 824292.0), lifeexpectancy (70.8, 65.5, 73.2) | countrylanguage : language (\"Tatar\", \"Berberi\", \"Zhuang\"), countrycode (\"GIB\", \"PCN\", \"GBR\"), isofficial (\"T\", \"F\"), percentage (60.4, 6.4, 29.6)", "schema_without_content": "city : city_name , id , title , countrycode , district , population | sqlite_sequence : name , seq | country : continent , gnp , code2 , code , region , headofstate , population , governmentform , indepyear , gnpold , name , capital , localname , surfacearea , lifeexpectancy | countrylanguage : language , countrycode , isofficial , percentage", "extra_map": { "city": { "name": [ "city_name", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "countrycode", "district", "population", "city_name", "title" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "cities": "city.Name", "European countries": "country.Continent", "English": "countrylanguage.Language", "official language": "countrylanguage.IsOfficial" } }, { "question": "what are the #names of cities in europe# for which #english# is not the #official language# ?", "db_id": "world_1", "orig_query": "select distinct t2.name from country as t1 join city as t2 on t2.countrycode = t1.code where t1.continent = 'Europe' and t1.name not in (select t3.name from country as t3 join countrylanguage as t4 on t3.code = t4.countrycode where t4.isofficial = 'T' and t4.language = 'English')", "schema_with_content": "city : city_name (\"Middlesbrough\", \"North York\", \"Andimeshk\"), district (\"Tver\", \"North Ossetia-Alania\", \"Norte de Santander\"), countrycode (\"ASM\", \"MTQ\", \"RUS\"), population (356993, 142251, 276111), title (\"Middlesbrough\", \"North York\", \"Andimeshk\"), id (1866, 3311, 2735) | sqlite_sequence : seq (4079), name (\"city\") | country : code (\"RWA\", \"CZE\", \"ERI\"), capital (2460, 902, 2434), gnp (372.0, 116416.0, 5976.0), population (5433000, 599000, 214000), lifeexpectancy (77.8, 70.3, 75.4), continent (\"Asia\", \"South America\", \"Europe\"), surfacearea (118484.0, 53.0, 468.0), gnpold (584.0, 33514.0, 442544.0), region (\"Central Africa\", \"Micronesia/Caribbean\", \"Western Africa\"), localname (\"Liechtenstein\", \"The Cook Islands\", \"Nouvelle-Cal\u00c3\u00a9donie\"), name (\"Lithuania\", \"Jamaica\", \"Belgium\"), headofstate (\"Sellapan Rama Nathan\", \"Qabus ibn Sa\u00c2\u00b4id\", \"Leo A. Falcam\"), indepyear (1948, 1912, 1806), code2 (\"NZ\", \"AQ\", \"GF\"), governmentform (\"Parlementary Monarchy\", \"US Territory\", \"Monarchy\") | countrylanguage : countrycode (\"MHL\", \"KGZ\", \"ECU\"), language (\"Luxembourgish\", \"Czech\", \"Ngbaka\"), percentage (85.6, 63.1, 11.6), isofficial (\"T\", \"F\")", "schema_without_content": "city : city_name , district , countrycode , population , title , id | sqlite_sequence : seq , name | country : code , capital , gnp , population , lifeexpectancy , continent , surfacearea , gnpold , region , localname , name , headofstate , indepyear , code2 , governmentform | countrylanguage : countrycode , language , percentage , isofficial", "extra_map": { "city": { "name": [ "city_name", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "countrycode", "district", "population", "city_name", "title" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names of cities in Europe": "city.Name", "English": "countrylanguage.Language", "official language": "countrylanguage.IsOfficial" } }, { "question": "return the different #names of cities# that are in #asia# and for which #chinese is the official language# .", "db_id": "world_1", "orig_query": "select distinct t3.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode join city as t3 on t1.code = t3.countrycode where t2.isofficial = 'T' and t2.language = 'Chinese' and t1.continent = \"Asia\"", "schema_with_content": "city : id (1917, 2703, 1403), countrycode (\"SVK\", \"VAT\", \"LUX\"), title (\"S\u00c3\u00a3o Louren\u00c3\u00a7o da Mata\", \"Bochum\", \"Central Coast\"), district (\"al-Qadarif\", \"Grad Zagreb\", \"Herson\"), population (441968, 98100, 222239), city_name (\"S\u00c3\u00a3o Louren\u00c3\u00a7o da Mata\", \"Bochum\", \"Central Coast\") | sqlite_sequence : name (\"city\"), seq (4079) | country : lifeexpectancy (60.9, 62.9, 70.5), code2 (\"SL\", \"FR\", \"YE\"), gnp (10692.0, 0.0, 1694.0), headofstate (\"Hosni Mubarak\", \"Teodoro Obiang Nguema Mbasogo\", \"Norodom Sihanouk\"), gnpold (858.0, 146171.0, 392911.0), region (\"Micronesia\", \"Micronesia/Caribbean\", \"Southern Africa\"), capital (3248, 608, 3064), surfacearea (1904569.0, 41284.0, 28896.0), indepyear (1973, 1980, 1066), localname (\"Kalaallit Nunaat/Gr\u00c3\u00b8nland\", \"M\u00c3\u00a9xico\", \"Barbados\"), governmentform (\"Territorial Collectivity of France\", \"Dependent Territory of the US\", \"Monarchy (Emirate)\"), name (\"Andorra\", \"Suriname\", \"Niue\"), continent (\"North America\", \"Africa\", \"Asia\"), code (\"CHN\", \"ABW\", \"MUS\"), population (99000, 37032000, 2670000) | countrylanguage : language (\"Mboshi\", \"Mixtec\", \"Nyanja\"), countrycode (\"NZL\", \"MCO\", \"VGB\"), isofficial (\"T\", \"F\"), percentage (11.5, 31.0, 89.7)", "schema_without_content": "city : id , countrycode , title , district , population , city_name | sqlite_sequence : name , seq | country : lifeexpectancy , code2 , gnp , headofstate , gnpold , region , capital , surfacearea , indepyear , localname , governmentform \", name , continent , code , population | countrylanguage : language , countrycode , isofficial , percentage", "extra_map": { "city": { "name": [ "city_name", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "countrycode", "district", "population", "city_name", "title" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names of cities": "city.Name", "Asia": "country.Continent", "Chinese is the official language": "countrylanguage.Language" } }, { "question": "what are the #name# , #independence year# , and su #rface area of the country with the smallest population?# ", "db_id": "world_1", "orig_query": "select name, surfacearea, indepyear from country order by population limit 1", "schema_with_content": "city : name (\"Borujerd\", \"Dos Quebradas\", \"Hailun\"), countrycode (\"ISL\", \"ISR\", \"SOM\"), id (3075, 2081, 3725), district (\"Khorasan\", \"Cayo\", \"Lara\"), population (481694, 115167, 402338) | sqlite_sequence : seq (4079), name (\"city\") | country : name (\"Gambia\", \"Kyrgyzstan\", \"Hungary\"), gnp (340238.0, 256.0, 612.0), population (16223000, 6276000, 24039000), governmentform (\"Socialistic Republic\", \"Territorial Collectivity of France\", \"Dependent Territory of the US\"), lifeexpectancy (73.2, 78.4, 53.6), continent (\"South America\", \"Europe\", \"Antarctica\"), capital (4067, 583, 2690), headofstate (\"Abdoulaye Wade\", \"Hosni Mubarak\", \"Hosni Mubarak\"), region (\"Southern Europe\", \"Micronesia\", \"Northern Africa\"), localname (\"F\u00c3\u00b8royar\", \"Naoero/Nauru\", \"Moldova\"), independence_year (1350, 1499, 1769), surfacearea (800.0, 120538.0, 4033.0), code (\"QAT\", \"ARE\", \"BRA\"), code2 (\"JM\", \"HT\", \"PL\"), sovereignty_year (1350, 1499, 1769), gnpold (33514.0, 1872.0, 3107.0) | countrylanguage : isofficial (\"T\", \"F\"), countrycode (\"GHA\", \"SEN\", \"LBY\"), language (\"Bakhtyari\", \"Greek\", \"Tripuri\"), percentage (21.6, 98.5, 1.9)", "schema_without_content": "city : name , countrycode , id , district , population | sqlite_sequence : seq , name | country : name , gnp , population , governmentform , lifeexpectancy , continent , capital , headofstate , region , localname , independence_year , surfacearea , code , code2 , sovereignty_year , gnpold | countrylanguage : isofficial , countrycode , language , percentage", "extra_map": { "country": { "indepyear": [ "independence_year", "sovereignty_year" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "independence_year", "sovereignty_year" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "independence year": "country.IndepYear", "rface area of the country with the smallest population?": "country.Population", "surface area": "country.SurfaceArea" } }, { "question": "what are the #name# , #independence year# , and su #rface area of the country with the smallest population?# ", "db_id": "world_1", "orig_query": "select name, surfacearea, indepyear from country order by population limit 1", "schema_with_content": "city : district (\"Mordva\", \"al-Raqqa\", \"Penza\"), name (\"Huambo\", \"Miami\", \"Tabora\"), id (763, 204, 2475), population (105700, 205993, 430200), countrycode (\"MNG\", \"LSO\", \"LVA\") | sqlite_sequence : seq (4079), name (\"city\") | country : capital (191, 2256, 1864), name (\"Tajikistan\", \"Cyprus\", \"Andorra\"), continent (\"North America\", \"Europe\", \"Antarctica\"), gnpold (616.0, 17797.0, 804108.0), code (\"KHM\", \"SLE\", \"DNK\"), population (395000, 119000, 34000), region (\"Northern Africa\", \"Western Africa\", \"Southern and Central Asia\"), code2 (\"ID\", \"HK\", \"IR\"), governmentform (\"Overseas Department of France\", \"Dependent Territory of the UK\", \"Co-administrated\"), land_area (10990.0, 2510.0, 48511.0), gnp (1579.0, 9.0, 182.0), localname (\"Guyana\", \"Hajastan\", \"Tuvalu\"), extent (10990.0, 2510.0, 48511.0), lifeexpectancy (75.8, 70.4, 69.7), headofstate (\"Hamad ibn Khalifa al-Thani\", \"France-Albert Ren\u00c3\u00a9\", \"Tarja Halonen\"), indepyear (1878, 1946, 1991) | countrylanguage : isofficial (\"T\", \"F\"), countrycode (\"ISR\", \"VUT\", \"KGZ\"), language (\"Pitcairnese\", \"Ngbaka\", \"Mandara\"), percentage (69.9, 7.4, 28.3)", "schema_without_content": "city : district , name , id , population , countrycode | sqlite_sequence : seq , name | country : capital , name , continent , gnpold , code , population , region , code2 , governmentform , land_area , gnp , localname , extent , lifeexpectancy , headofstate , indepyear | countrylanguage : isofficial , countrycode , language , percentage", "extra_map": { "country": { "surfacearea": [ "land_area", "extent" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "land_area", "extent" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "independence year": "country.IndepYear", "rface area of the country with the smallest population?": "country.Population", "surface area": "country.SurfaceArea" } }, { "question": "what are the #name# , #independence year# , and su #rface area of the country with the smallest population?# ", "db_id": "world_1", "orig_query": "select name, surfacearea, indepyear from country order by population limit 1", "schema_with_content": "city : district (\"Nordrhein-Westfalen\", \"Hordaland\", \"Selangor\"), name (\"Ansan\", \"Jacobabad\", \"Koje\"), id (3413, 112, 3742), countrycode (\"ROM\", \"MRT\", \"SJM\"), population (117196, 639000, 636104) | sqlite_sequence : name (\"city\"), seq (4079) | country : region (\"Eastern Europe\", \"Western Africa\", \"Micronesia/Caribbean\"), localname (\"Druk-Yul\", \"Santa Sede/Citt\u00c3\u00a0 del Vaticano\", \"Zhongquo\"), nation (\"Andorra\", \"Ecuador\", \"Congo\"), capital (3225, 3493, 586), governmentform (\"Territory of Australia\", \"Nonmetropolitan Territory of France\", \"Territory of Australia\"), continent (\"Oceania\", \"Europe\", \"Europe\"), code2 (\"TC\", \"GM\", \"KZ\"), gnpold (157.0, 119833.0, 1915.0), lifeexpectancy (66.4, 63.2, 37.8), population (38653600, 3200, 168000), headofstate (\"Kim Jong-il\", \"Bashar al-Assad\", \"Shahabuddin Ahmad\"), code (\"MDV\", \"PAN\", \"ETH\"), indepyear (1980, 1932, 1968), surfacearea (1.5, 200.0, 464.0), title (\"Andorra\", \"Ecuador\", \"Congo\"), gnp (1536.0, 60.0, 4768.0) | countrylanguage : language (\"Watyi\", \"Slovak\", \"Turkish\"), isofficial (\"T\", \"F\"), countrycode (\"LBN\", \"BTN\", \"SMR\"), percentage (6.6, 12.9, 88.9)", "schema_without_content": "city : district , name , id , countrycode , population | sqlite_sequence : name , seq | country : region , localname , nation , capital , governmentform , continent , code2 , gnpold , lifeexpectancy , population , headofstate , code , indepyear , surfacearea , title , gnp | countrylanguage : language , isofficial , countrycode , percentage", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "independence year": "country.IndepYear", "rface area of the country with the smallest population?": "country.Population", "surface area": "country.SurfaceArea" } }, { "question": "give the #name# , #year of independence# , and su #rface area of the country t# hat has the lowest #population# .", "db_id": "world_1", "orig_query": "select name, surfacearea, indepyear from country order by population limit 1", "schema_with_content": "city : id (3921, 3144, 3023), district (\"Bahr al-Jabal\", \"Toyama\", \"Hmelnytskyi\"), name (\"Irving\", \"Rio Grande\", \"Fuyang\"), population (1100000, 101574, 436900), countrycode (\"ITA\", \"KNA\", \"BRN\") | sqlite_sequence : name (\"city\"), seq (4079) | country : surfacearea (1267000.0, 71740.0, 36188.0), capital (191, 2728, 554), continent (\"South America\", \"Europe\", \"Antarctica\"), code (\"NCL\", \"SWE\", \"SOM\"), population (10730000, 61399000, 6276000), governmentform (\"US Territory\", \"Parlementary Monarchy\", \"Nonmetropolitan Territory of The Netherlands\"), sovereignty_year (1977, 1143, 1971), lifeexpectancy (79.0, 74.9, 75.6), independence_year (1977, 1143, 1971), localname (\"Slovensko\", \"Myanma Pye\", \"Naoero/Nauru\"), gnp (261.0, 19008.0, 64140.0), code2 (\"HU\", \"QA\", \"EH\"), region (\"Eastern Africa\", \"Baltic Countries\", \"Southern Europe\"), headofstate (\"\", \"Johannes Paavali II\", \"Paul Kagame\"), name (\"Bulgaria\", \"Cocos (Keeling) Islands\", \"Croatia\"), gnpold (1145372.0, 4192638.0, 532031.0) | countrylanguage : isofficial (\"T\", \"F\"), countrycode (\"COK\", \"JAM\", \"GEO\"), language (\"Bicol\", \"Khasi\", \"Trukese\"), percentage (11.1, 28.3, 10.5)", "schema_without_content": "city : id , district , name , population , countrycode | sqlite_sequence : name , seq | country : surfacearea , capital , continent , code , population , governmentform , sovereignty_year , lifeexpectancy , independence_year , localname , gnp , code2 , region , headofstate , name Islands\", \"Croatia\", gnpold | countrylanguage : isofficial , countrycode , language , percentage", "extra_map": { "country": { "indepyear": [ "independence_year", "sovereignty_year" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "independence_year", "sovereignty_year" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "year of independence": "country.IndepYear", "rface area of the country t": "country", "population": "country.Population", "surface area": "country.SurfaceArea" } }, { "question": "give the #name# , #year of independence# , and su #rface area of the country t# hat has the lowest #population# .", "db_id": "world_1", "orig_query": "select name, surfacearea, indepyear from country order by population limit 1", "schema_with_content": "city : id (3799, 2501, 2522), population (170738, 5200, 120101), name (\"Link\u00c3\u00b6ping\", \"Gainesville\", \"Burgos\"), countrycode (\"TJK\", \"COD\", \"GEO\"), district (\"Franche-Comt\u00c3\u00a9\", \"V\u00c3\u00bdchodn\u00c3\u00a9 Slovensko\", \"Tripura\") | sqlite_sequence : name (\"city\"), seq (4079) | country : land_area (527968.0, 314.0, 505992.0), gnp (13714.0, 998.0, 20208.0), capital (915, 902, 3336), code2 (\"PF\", \"ID\", \"PT\"), population (1439200, 6097000, 3862000), region (\"Western Africa\", \"Southern and Central Asia\", \"Southeast Asia\"), gnpold (19967.0, 8700.0, 21300.0), code (\"GUY\", \"VIR\", \"STP\"), localname (\"Namibia\", \"South Africa\", \"Panam\u00c3\u00a1\"), indepyear (None, None, 1821), governmentform (\"Nonmetropolitan Territory of New Zealand\", \"Socialistic Republic\", \"Republic\"), extent (527968.0, 314.0, 505992.0), name (\"United States\", \"Turkey\", \"Lithuania\"), continent (\"Asia\", \"North America\", \"Africa\"), lifeexpectancy (66.3, 79.4, 57.8), headofstate (\"Saddam Hussein al-Takriti\", \"France-Albert Ren\u00c3\u00a9\", \"Hugo Ch\u00c3\u00a1vez Fr\u00c3\u00adas\") | countrylanguage : language (\"Rakhine\", \"Creole French\", \"Zhuang\"), isofficial (\"T\", \"F\"), percentage (1.5, 99.9, 10.6), countrycode (\"MAC\", \"LUX\", \"ECU\")", "schema_without_content": "city : id , population , name , countrycode , district | sqlite_sequence : name , seq | country : land_area , gnp , capital , code2 , population , region , gnpold , code , localname , indepyear , governmentform , extent , name , continent , lifeexpectancy , headofstate | countrylanguage : language , isofficial , percentage , countrycode", "extra_map": { "country": { "surfacearea": [ "land_area", "extent" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "land_area", "extent" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "year of independence": "country.IndepYear", "rface area of the country t": "country", "population": "country.Population", "surface area": "country.SurfaceArea" } }, { "question": "give the #name# , #year of independence# , and su #rface area of the country t# hat has the lowest #population# .", "db_id": "world_1", "orig_query": "select name, surfacearea, indepyear from country order by population limit 1", "schema_with_content": "city : name (\"Phoenix\", \"Reading\", \"Yizheng\"), district (\"al-Faiyum\", \"Ohio\", \"Blantyre\"), id (1098, 577, 2221), countrycode (\"SHN\", \"TWN\", \"TWN\"), population (114236, 101031, 102746) | sqlite_sequence : seq (4079), name (\"city\") | country : title (\"Ghana\", \"Mali\", \"Cameroon\"), headofstate (\"Leonid Kut\u00c5\u00a1ma\", \"Olusegun Obasanjo\", \"Islam Karimov\"), localname (\"Mayotte\", \"Lao\", \"Indonesia\"), code (\"ETH\", \"MEX\", \"KGZ\"), region (\"Micronesia/Caribbean\", \"Middle East\", \"Caribbean\"), population (5330000, 94000, 11168000), gnpold (4837.0, 3338.0, 256092.0), indepyear (1581, 1946, 1902), nation (\"Ghana\", \"Mali\", \"Cameroon\"), gnp (65107.0, 64140.0, 24375.0), code2 (\"MR\", \"CI\", \"GL\"), surfacearea (23200.0, 25713.0, 120538.0), lifeexpectancy (68.9, 74.8, 69.1), continent (\"Europe\", \"Europe\", \"Asia\"), governmentform (\"Administrated by the UN\", \"Occupied by Marocco\", \"Occupied by Marocco\"), capital (922, 2754, 3424) | countrylanguage : isofficial (\"T\", \"F\"), language (\"Tswa\", \"Songhai\", \"Saho\"), percentage (87.0, 6.3, 94.2), countrycode (\"CHN\", \"CRI\", \"FIN\")", "schema_without_content": "city : name , district , id , countrycode , population | sqlite_sequence : seq , name | country : title , headofstate , localname , code , region , population , gnpold , indepyear , nation , gnp , code2 , surfacearea , lifeexpectancy , continent , governmentform , capital | countrylanguage : isofficial , language , percentage , countrycode", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "year of independence": "country.IndepYear", "rface area of the country t": "country", "population": "country.Population", "surface area": "country.SurfaceArea" } }, { "question": "what are the #population# , #name# and l #eader of the country# with the largest #area# ?", "db_id": "world_1", "orig_query": "select name, population, headofstate from country order by surfacearea desc limit 1", "schema_with_content": "city : district (\"al-Batina\", \"Ankara\", \"I\u00c3\u00a7el\"), population (1317000, 50100, 1691600), name (\"Buffalo\", \"Wuzhou\", \"Yamuna Nagar\"), id (3333, 3213, 3912), countrycode (\"TUN\", \"EGY\", \"SLB\") | sqlite_sequence : name (\"city\"), seq (4079) | country : headcount (119000, 2500, 395000), governmentform (\"Overseas Department of France\", \"Independent Church State\", \"Administrated by the UN\"), gnpold (None, 1863.0, 325.0), code2 (\"BB\", \"SY\", \"AS\"), gnp (256.0, 42168.0, 6064.0), continent (\"Antarctica\", \"South America\", \"Oceania\"), citizen_count (119000, 2500, 395000), indepyear (1816, 1976, 1278), localname (\"Makedonija\", \"Yisra\u00e2\u0080\u0099el/Isra\u00e2\u0080\u0099il\", \"Colombia\"), capital (3017, 1881, 587), code (\"ISR\", \"TUV\", \"URY\"), lifeexpectancy (70.7, 51.6, 53.2), region (\"Micronesia\", \"Middle East\", \"Northern Africa\"), name (\"United Kingdom\", \"Angola\", \"Lesotho\"), surfacearea (1566500.0, 131626.0, 377829.0), headofstate (\"Boris Trajkovski\", \"Mswati III\", \"Carlo Azeglio Ciampi\") | countrylanguage : isofficial (\"T\", \"F\"), countrycode (\"PAN\", \"LUX\", \"MAC\"), percentage (67.2, 1.6, 64.7), language (\"Akan\", \"Ibibio\", \"Pangasinan\")", "schema_without_content": "city : district , population , name , id , countrycode | sqlite_sequence : name , seq | country : headcount , governmentform , gnpold , code2 , gnp , continent , citizen_count , indepyear , localname , capital , code , lifeexpectancy , region , name , surfacearea , headofstate | countrylanguage : isofficial , countrycode , percentage , language", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "population": "country.Population", "name": "country.Name", "eader of the country": "country", "area": "country.SurfaceArea", "leader": "country.HeadOfState" } }, { "question": "what are the #population# , #name# and l #eader of the country# with the largest #area# ?", "db_id": "world_1", "orig_query": "select name, population, headofstate from country order by surfacearea desc limit 1", "schema_with_content": "city : name (\"Kimje\", \"S\u00c3\u00a3o Lu\u00c3\u00ads\", \"Ica\"), countrycode (\"MSR\", \"LUX\", \"ETH\"), population (259728, 159103, 272806), district (\"Crete\", \"Bratislava\", \"Alabama\"), id (1631, 1617, 969) | sqlite_sequence : seq (4079), name (\"city\") | country : surfacearea (377829.0, 102.0, 388.0), code (\"RUS\", \"BDI\", \"NFK\"), gnpold (189122.0, 153907.0, 2102826.0), gnp (8444.0, 11705.0, 10692.0), continent (\"Antarctica\", \"South America\", \"Africa\"), head (\"Muammar al-Qadhafi\", \"Teburoro Tito\", \"Chandrika Kumaratunga\"), supreme_leader (\"Muammar al-Qadhafi\", \"Teburoro Tito\", \"Chandrika Kumaratunga\"), indepyear (1962, 1976, 1822), localname (\"Guinea Ecuatorial\", \"Dhivehi Raajje/Maldives\", \"Marshall Islands/Majol\"), code2 (\"ID\", \"SJ\", \"PF\"), capital (1889, 584, None), region (\"Micronesia\", \"Middle East\", \"North America\"), governmentform (\"Part of Denmark\", \"Constitutional Monarchy (Emirate)\", \"Constitutional Monarchy (Emirate)\"), lifeexpectancy (77.9, 45.9, 69.1), name (\"Moldova\", \"Western Sahara\", \"Lesotho\"), population (8861400, 8861400, 5398700) | countrylanguage : percentage (95.8, 0.3, 7.2), isofficial (\"T\", \"F\"), countrycode (\"TMP\", \"LBN\", \"IND\"), language (\"Dyula\", \"Quich\u00c3\u00a9\", \"Bengali\")", "schema_without_content": "city : name , countrycode , population , district , id | sqlite_sequence : seq , name | country : surfacearea , code , gnpold , gnp , continent , head , supreme_leader , indepyear , localname , code2 , capital , region , governmentform \", \"Constitutional Monarchy \", lifeexpectancy , name , population | countrylanguage : percentage , isofficial , countrycode , language", "extra_map": { "country": { "headofstate": [ "head", "supreme_leader" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "capital", "code2", "head", "supreme_leader" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "population": "country.Population", "name": "country.Name", "eader of the country": "country", "area": "country.SurfaceArea", "leader": "country.HeadOfState" } }, { "question": "what are the #population# , #name# and l #eader of the country# with the largest #area# ?", "db_id": "world_1", "orig_query": "select name, population, headofstate from country order by surfacearea desc limit 1", "schema_with_content": "city : countrycode (\"IRN\", \"COM\", \"FRO\"), id (3955, 1914, 208), population (201186, 154264, 77366), name (\"Teixeira de Freitas\", \"Lower Hutt\", \"Moroni\"), district (\"Magadan\", \"Navoi\", \"Yamoussoukro\") | sqlite_sequence : seq (4079), name (\"city\") | country : gnpold (6722.0, 8246.0, 2474.0), gnp (14194.0, 3787042.0, 681.0), code2 (\"LU\", \"VA\", \"PT\"), population (24318000, 6188000, 39441700), governmentform (\"Islamic Emirate\", \"Monarchy (Emirate)\", \"Federal Republic\"), lifeexpectancy (80.1, 59.8, 69.2), region (\"South America\", \"Central Africa\", \"Polynesia\"), continent (\"Asia\", \"North America\", \"South America\"), headofstate (\"Ange-F\u00c3\u00a9lix Patass\u00c3\u00a9\", \"Ion Iliescu\", \"Kim Jong-il\"), surfacearea (103000.0, 527968.0, 527968.0), capital (3791, 584, 902), indepyear (1917, 1838, 1581), code (\"NAM\", \"KNA\", \"GTM\"), title (\"Liechtenstein\", \"Cocos (Keeling) Islands\", \"Anguilla\"), nation (\"Liechtenstein\", \"Cocos (Keeling) Islands\", \"Anguilla\"), localname (\"Indonesia\", \"Moldova\", \"Puerto Rico\") | countrylanguage : percentage (99.6, 1.2, 18.1), language (\"Tibetan\", \"Slovak\", \"Chuabo\"), isofficial (\"T\", \"F\"), countrycode (\"PRK\", \"ANT\", \"IDN\")", "schema_without_content": "city : countrycode , id , population , name , district | sqlite_sequence : seq , name | country : gnpold , gnp , code2 , population , governmentform \", \"Federal Republic\", lifeexpectancy , region , continent , headofstate , surfacearea , capital , indepyear , code , title Islands\", \"Anguilla\", nation Islands\", \"Anguilla\", localname | countrylanguage : percentage , language , isofficial , countrycode", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "population": "country.Population", "name": "country.Name", "eader of the country": "country", "area": "country.SurfaceArea", "leader": "country.HeadOfState" } }, { "question": "give the #name# , #population# , and he #ad of state for the country t# hat has the #largest area# .", "db_id": "world_1", "orig_query": "select name, population, headofstate from country order by surfacearea desc limit 1", "schema_with_content": "city : name (\"Tunis\", \"Torre\u00c3\u00b3n\", \"Iwakuni\"), countrycode (\"GRD\", \"FJI\", \"CYP\"), district (\"Midlands\", \"Karotegin\", \"Roraima\"), population (189000, 101000, 348100), id (3790, 2491, 2275) | sqlite_sequence : name (\"city\"), seq (4079) | country : headofstate (\"Kumba Ial\u00c3\u00a1\", \"\u00c3\u0089mile Lahoud\", \"\u00c3\u0093lafur Ragnar Gr\u00c3\u00admsson\"), lifeexpectancy (42.5, 62.9, 69.2), governmentform (\"Nonmetropolitan Territory of France\", \"Republic\", \"Independent Church State\"), indepyear (1981, 1776, -660), surfacearea (430.0, 923768.0, 266000.0), capital (55, 35, 904), region (\"Central Africa\", \"Central America\", \"Eastern Africa\"), gnpold (3384.0, 64926.0, 7967.0), name (\"Azerbaijan\", \"Senegal\", \"Burkina Faso\"), code (\"CHE\", \"COM\", \"TKM\"), headcount (98881000, 699000, 61399000), citizen_count (98881000, 699000, 61399000), localname (\"Belgi\u00c3\u00ab/Belgique\", \"Ertra\", \"Danmark\"), gnp (7137.0, 6398.0, 6964.0), continent (\"Asia\", \"Antarctica\", \"Europe\"), code2 (\"SE\", \"TT\", \"MX\") | countrylanguage : countrycode (\"JPN\", \"MLI\", \"AFG\"), isofficial (\"T\", \"F\"), percentage (5.3, 52.4, 19.2), language (\"Marathi\", \"Oromo\", \"Southern Slavic Languages\")", "schema_without_content": "city : name , countrycode , district , population , id | sqlite_sequence : name , seq | country : headofstate , lifeexpectancy , governmentform , indepyear , surfacearea , capital , region , gnpold , name , code , headcount , citizen_count , localname , gnp , continent , code2 | countrylanguage : countrycode , isofficial , percentage , language", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "population": "country.Population", "ad of state for the country t": "country", "largest area": "country.SurfaceArea", "head of state": "country.HeadOfState" } }, { "question": "give the #name# , #population# , and he #ad of state for the country t# hat has the #largest area# .", "db_id": "world_1", "orig_query": "select name, population, headofstate from country order by surfacearea desc limit 1", "schema_with_content": "city : population (98318, 409924, 529121), name (\"Punto Fijo\", \"Los Teques\", \"Carson\"), id (161, 1915, 2586), district (\"Can Tho\", \"Pusan\", \"Ibaragi\"), countrycode (\"VIR\", \"EST\", \"MKD\") | sqlite_sequence : name (\"city\"), seq (4079) | country : lifeexpectancy (41.3, 60.8, 70.5), region (\"Antarctica\", \"Baltic Countries\", \"Nordic Countries\"), population (2124000, 25662000, 18112000), head (\"Didier Ratsiraka\", \"Charles Taylor\", \"Omar Hassan Ahmad al-Bashir\"), continent (\"Europe\", \"North America\", \"Antarctica\"), indepyear (1861, 1907, 1971), localname (\"Brasil\", \"Monaco\", \"M\u00c3\u00a9xico\"), gnpold (12460.0, 206025.0, 7388.0), supreme_leader (\"Didier Ratsiraka\", \"Charles Taylor\", \"Omar Hassan Ahmad al-Bashir\"), surfacearea (1075.0, 446550.0, 71740.0), code (\"ATF\", \"HRV\", \"KEN\"), gnp (20026.0, 9217.0, 1061.0), code2 (\"DK\", \"MU\", \"KP\"), name (\"Panama\", \"Sao Tome and Principe\", \"United Arab Emirates\"), capital (653, 927, 3236), governmentform (\"Dependent Territory of the UK\", \"Constitutional Monarchy, Federation\", \"Nonmetropolitan Territory of New Zealand\") | countrylanguage : isofficial (\"T\", \"F\"), percentage (66.7, 9.4, 86.3), language (\"Somali\", \"Creole French\", \"Hindko\"), countrycode (\"WSM\", \"TKL\", \"AGO\")", "schema_without_content": "city : population , name , id , district , countrycode | sqlite_sequence : name , seq | country : lifeexpectancy , region , population , head , continent , indepyear , localname , gnpold , supreme_leader , surfacearea , code , gnp , code2 , name , capital , governmentform | countrylanguage : isofficial , percentage , language , countrycode", "extra_map": { "country": { "headofstate": [ "head", "supreme_leader" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "capital", "code2", "head", "supreme_leader" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "population": "country.Population", "ad of state for the country t": "country", "largest area": "country.SurfaceArea", "head of state": "country.HeadOfState" } }, { "question": "give the #name# , #population# , and he #ad of state for the country t# hat has the #largest area# .", "db_id": "world_1", "orig_query": "select name, population, headofstate from country order by surfacearea desc limit 1", "schema_with_content": "city : district (\"Markazi\", \"Aksaray\", \"Nagano\"), countrycode (\"COM\", \"SLE\", \"JOR\"), population (96113, 521000, 360890), id (2188, 452, 2190), name (\"Sete Lagoas\", \"Cirebon\", \"San Jos\u00c3\u00a9 del Monte\") | sqlite_sequence : name (\"city\"), seq (4079) | country : capital (2690, 1109, 2890), code2 (\"SJ\", \"KR\", \"SR\"), code (\"DMA\", \"FSM\", \"ETH\"), nation (\"Haiti\", \"Malta\", \"Algeria\"), title (\"Haiti\", \"Malta\", \"Algeria\"), gnpold (8596.0, 2102826.0, 98577.0), localname (\"T\u00c3\u00bcrkmenostan\", \"Iran\", \"Uruguay\"), headofstate (\"Festus G. Mogae\", \"Benjamin William Mkapa\", \"Jos\u00c3\u00a9 Eduardo dos Santos\"), population (10640000, 4629000, 1972000), indepyear (1804, 1769, 1976), surfacearea (475442.0, 1.5, 390757.0), continent (\"Africa\", \"Oceania\", \"Antarctica\"), governmentform (\"Republic\", \"Monarchy (Sultanate)\", \"Administrated by the UN\"), region (\"Middle East\", \"Melanesia\", \"Caribbean\"), gnp (935.0, 1813.0, 264478.0), lifeexpectancy (62.5, 45.3, 73.1) | countrylanguage : language (\"Luguru\", \"Dagara\", \"Bullom-sherbro\"), isofficial (\"T\", \"F\"), countrycode (\"HUN\", \"UKR\", \"MLT\"), percentage (87.7, 2.0, 75.0)", "schema_without_content": "city : district , countrycode , population , id , name | sqlite_sequence : name , seq | country : capital , code2 , code , nation , title , gnpold , localname , headofstate , population , indepyear , surfacearea , continent , governmentform \", \"Administrated by the UN\", region , gnp , lifeexpectancy | countrylanguage : language , isofficial , countrycode , percentage", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "name": "country.Name", "population": "country.Population", "ad of state for the country t": "country", "largest area": "country.SurfaceArea", "head of state": "country.HeadOfState" } }, { "question": "return the #country# name and the numbers of #languages# spoken for each country that speaks at least 3 languages.", "db_id": "world_1", "orig_query": "select count(t2.language), t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode group by t1.name having count(*) > 2", "schema_with_content": "city : countrycode (\"CUB\", \"SMR\", \"VGB\"), district (\"North Ossetia-Alania\", \"Holgu\u00c3\u00adn\", \"Mazowieckie\"), population (476800, 142251, 156468), name (\"Armavir\", \"Chaohu\", \"Titagarh\"), id (155, 1246, 3206) | sqlite_sequence : seq (4079), name (\"city\") | country : code (\"LSO\", \"ALB\", \"WLF\"), name (\"Pitcairn\", \"Mali\", \"Bulgaria\"), population (3337000, 270000, 1305000), headofstate (\"Valdas Adamkus\", \"\u00c3\u0093lafur Ragnar Gr\u00c3\u00admsson\", \"Hip\u00c3\u00b3lito Mej\u00c3\u00ada Dom\u00c3\u00adnguez\"), surfacearea (331689.0, 774815.0, 1025520.0), region (\"Southeast Asia\", \"South America\", \"South America\"), gnpold (8246.0, 10285.0, 430572.0), lifeexpectancy (79.5, 48.0, 53.2), gnp (4988.0, 69213.0, 17000.0), capital (2484, 3483, 3068), indepyear (1978, 1838, 1984), localname (\"Timor Timur\", \"Pilipinas\", \"Djibouti/Jibuti\"), governmentform (\"Overseas Department of France\", \"People'sRepublic\", \"Socialistic State\"), continent (\"Antarctica\", \"Europe\", \"Africa\"), code2 (\"OM\", \"TG\", \"BT\") | countrylanguage : dialect (\"Kongo\", \"Kayah\", \"Creole French\"), countrycode (\"REU\", \"MCO\", \"DOM\"), tongue (\"Kongo\", \"Kayah\", \"Creole French\"), percentage (14.2, 11.4, 4.0), isofficial (\"T\", \"F\")", "schema_without_content": "city : countrycode , district , population , name , id | sqlite_sequence : seq , name | country : code , name , population , headofstate , surfacearea , region , gnpold , lifeexpectancy , gnp , capital , indepyear , localname , governmentform , continent , code2 | countrylanguage : dialect , countrycode , tongue , percentage , isofficial", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "country": "country", "languages": "countrylanguage", "country name": "country.Name", "languages spoken": "countrylanguage.Language" } }, { "question": "return the #country# name and the numbers of #languages# spoken for each country that speaks at least 3 languages.", "db_id": "world_1", "orig_query": "select count(t2.language), t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode group by t1.name having count(*) > 2", "schema_with_content": "city : population (680332, 102019, 1317000), id (3862, 457, 546), countrycode (\"ATG\", \"FRA\", \"TZA\"), name (\"Nanking [Nanjing]\", \"Bellevue\", \"Jackson\"), district (\"Bol\u00c3\u00advar\", \"Risaralda\", \"Bursa\") | sqlite_sequence : name (\"city\"), seq (4079) | country : region (\"Antarctica\", \"Central America\", \"Baltic Countries\"), gnp (372.0, 2731.0, 435.0), indepyear (1977, 1918, 1804), code (\"GRC\", \"COL\", \"AND\"), surfacearea (93030.0, 112622.0, 1285216.0), localname (\"Jamaica\", \"Sesel/Seychelles\", \"Ertra\"), code2 (\"SL\", \"TC\", \"LT\"), population (8000, 2542000, 5496000), title (\"Hong Kong\", \"Sweden\", \"Equatorial Guinea\"), continent (\"South America\", \"North America\", \"Africa\"), headofstate (\"Abdurrahman Wahid\", \"Paul Kagame\", \"Pierre Buyoya\"), nation (\"Hong Kong\", \"Sweden\", \"Equatorial Guinea\"), capital (2460, 2710, 910), governmentform (\"Parlementary Monarchy\", \"Dependent Territory of the US\", \"Monarchy (Sultanate)\"), gnpold (401461.0, 246.0, 33514.0), lifeexpectancy (70.3, 71.8, 65.5) | countrylanguage : percentage (5.8, 21.1, 8.1), language (\"Kosrean\", \"Luxembourgish\", \"Mordva\"), countrycode (\"MRT\", \"KNA\", \"NFK\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : population , id , countrycode , name , district | sqlite_sequence : name , seq | country : region , gnp , indepyear , code , surfacearea , localname , code2 , population , title , continent , headofstate , nation , capital , governmentform \", gnpold , lifeexpectancy | countrylanguage : percentage , language , countrycode , isofficial", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "country": "country", "languages": "countrylanguage", "country name": "country.Name", "languages spoken": "countrylanguage.Language" } }, { "question": "what are the #names of countries# that speak more than 2 #languages# , as well as how many languages they speak?", "db_id": "world_1", "orig_query": "select count(t2.language), t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode group by t1.name having count(*) > 2", "schema_with_content": "city : population (789056, 106300, 169000), countrycode (\"HND\", \"PRY\", \"AUT\"), district (\"Northern Mindanao\", \"Huila\", \"Moskova\"), name (\"Trento\", \"Goi\u00c3\u00a2nia\", \"Kiseljovsk\"), id (945, 1210, 2580) | sqlite_sequence : seq (4079), name (\"city\") | country : lifeexpectancy (59.5, 75.8, 48.8), localname (\"Italia\", \"Sverige\", \"Panam\u00c3\u00a1\"), code (\"MCO\", \"VNM\", \"SAU\"), gnpold (1084.0, 2287.0, 5670.0), continent (\"North America\", \"North America\", \"North America\"), indepyear (1961, 1861, 1844), surfacearea (151.0, 70273.0, 130000.0), code2 (\"AI\", \"TR\", \"GD\"), headofstate (\"Kocheril Raman Narayanan\", \"Ahmed Tejan Kabbah\", \"Khamtay Siphandone\"), gnp (9174.0, 903.0, 116416.0), region (\"South America\", \"Western Africa\", \"Western Africa\"), population (1726000, 50456000, 1226000), capital (65, 2884, 3248), name (\"Palau\", \"Mauritius\", \"Turkmenistan\"), governmentform (\"Constitutional Monarchy (Emirate)\", \"Territory of Australia\", \"Constitutional Monarchy\") | countrylanguage : tongue (\"Dong\", \"French\", \"Pitcairnese\"), dialect (\"Dong\", \"French\", \"Pitcairnese\"), isofficial (\"T\", \"F\"), percentage (11.1, 8.9, 29.3), countrycode (\"UGA\", \"PHL\", \"TCD\")", "schema_without_content": "city : population , countrycode , district , name , id | sqlite_sequence : seq , name | country : lifeexpectancy , localname , code , gnpold , continent , indepyear , surfacearea , code2 , headofstate , gnp , region , population , capital , name , governmentform \", \"Territory of Australia\", \"Constitutional Monarchy\" | countrylanguage : tongue , dialect , isofficial , percentage , countrycode", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "names of countries": "country.Name", "languages": "countrylanguage.Language" } }, { "question": "what are the #names of countries# that speak more than 2 #languages# , as well as how many languages they speak?", "db_id": "world_1", "orig_query": "select count(t2.language), t1.name from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode group by t1.name having count(*) > 2", "schema_with_content": "city : population (342584, 94466, 140459), countrycode (\"SEN\", \"CHE\", \"AGO\"), id (1641, 1101, 361), name (\"Tuxtla Guti\u00c3\u00a9rrez\", \"Matur\u00c3\u00adn\", \"Nanking [Nanjing]\"), district (\"Ilan\", \"al-Minufiya\", \"Chari-Baguirmi\") | sqlite_sequence : seq (4079), name (\"city\") | country : code (\"AIA\", \"PRI\", \"COL\"), governmentform (\"Special Administrative Region of China\", \"Islamic Republic\", \"US Territory\"), indepyear (1492, 1955, 1955), title (\"Guyana\", \"Grenada\", \"Turkey\"), headofstate (\"Johannes Paavali II\", \"Natsagiin Bagabandi\", \"Hamad ibn Isa al-Khalifa\"), capital (3263, 3315, 56), surfacearea (160.0, 650.0, 300000.0), localname (\"Ukrajina\", \"Centrafrique/B\u00c3\u00aa-Afr\u00c3\u00aeka\", \"Dominica\"), continent (\"Asia\", \"Europe\", \"Africa\"), population (50, 126714000, 11385000), lifeexpectancy (71.5, 74.7, 72.7), region (\"Caribbean\", \"Antarctica\", \"British Islands\"), gnpold (97884.0, 21300.0, 75617.0), nation (\"Guyana\", \"Grenada\", \"Turkey\"), code2 (\"LU\", \"GU\", \"SI\"), gnp (11863.0, 17000.0, 1424285.0) | countrylanguage : language (\"Gilaki\", \"Puyi\", \"Icelandic\"), countrycode (\"SVK\", \"BEN\", \"MUS\"), percentage (3.7, 81.0, 13.7), isofficial (\"T\", \"F\")", "schema_without_content": "city : population , countrycode , id , name , district | sqlite_sequence : seq , name | country : code , governmentform , indepyear , title , headofstate , capital , surfacearea , localname , continent , population , lifeexpectancy , region , gnpold , nation , code2 , gnp | countrylanguage : language , countrycode , percentage , isofficial", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names of countries": "country.Name", "languages": "countrylanguage.Language" } }, { "question": "find the #number of cities in each district# whose #population# is greater than the average #population of cities# ?", "db_id": "world_1", "orig_query": "select count(*), district from city where population > (select avg(population) from city) group by district", "schema_with_content": "city : province (\"Nyanza\", \"Overijssel\", \"Plateau & Nassarawa\"), id (281, 689, 4042), name (\"Daxian\", \"Marawi\", \"Le-Cap-Ha\u00c3\u00aftien\"), state (\"Nyanza\", \"Overijssel\", \"Plateau & Nassarawa\"), countrycode (\"COL\", \"OMN\", \"BTN\"), population (247452, 170232, 143409) | sqlite_sequence : seq (4079), name (\"city\") | country : headofstate (\"Malietoa Tanumafili II\", \"Mswati III\", \"Frederick Chiluba\"), capital (926, 3207, 3336), localname (\"T\u00c3\u00bcrkmenostan\", \"Portugal\", \"R\u00c3\u00a9publique D\u00c3\u00a9mocratique du Congo\"), code2 (\"CC\", \"ET\", \"JO\"), lifeexpectancy (66.2, 75.1, 53.1), code (\"SOM\", \"TGO\", \"HKG\"), surfacearea (3903.0, 751.0, 28748.0), gnpold (2023.0, None, 272.0), gnp (4768.0, 612.0, 226492.0), population (22256000, 11385000, 18886000), indepyear (1804, 1981, 1993), name (\"Ireland\", \"Latvia\", \"Romania\"), region (\"Eastern Asia\", \"Eastern Asia\", \"Polynesia\"), governmentform (\"Islamic Republic\", \"Independent Church State\", \"Islamic Emirate\"), continent (\"Oceania\", \"Asia\", \"Oceania\") | countrylanguage : percentage (31.6, 19.5, 10.5), language (\"Swazi\", \"Thai\", \"Mandjia\"), isofficial (\"T\", \"F\"), countrycode (\"PRY\", \"KOR\", \"IRN\")", "schema_without_content": "city : province , id , name , state , countrycode , population | sqlite_sequence : seq , name | country : headofstate , capital , localname , code2 , lifeexpectancy , code , surfacearea , gnpold , gnp , population , indepyear , name , region , governmentform , continent | countrylanguage : percentage , language , isofficial , countrycode", "extra_map": { "city": { "district": [ "state", "province" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "population", "state", "province" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "number of cities in each district": "city.ID", "population": "city.Population", "population of cities": "city.Population" } }, { "question": "how many #cities in each district# have a #population# that is above the average population across all cities?", "db_id": "world_1", "orig_query": "select count(*), district from city where population > (select avg(population) from city) group by district", "schema_with_content": "city : countrycode (\"MAR\", \"BRN\", \"AUS\"), id (2386, 2178, 1718), state (\"Irbil\", \"La Rioja\", \"Magallanes\"), population (339871, 137946, 149965), province (\"Irbil\", \"La Rioja\", \"Magallanes\"), name (\"Marawi\", \"Haldwani-cum-Kathgodam\", \"Thousand Oaks\") | sqlite_sequence : seq (4079), name (\"city\") | country : continent (\"Oceania\", \"Oceania\", \"Asia\"), indepyear (1907, 836, 1978), gnp (776739.0, 42168.0, 1054.0), code (\"ASM\", \"GTM\", \"SAU\"), headofstate (\"Gnassingb\u00c3\u00a9 Eyad\u00c3\u00a9ma\", \"Khamtay Siphandone\", \"Askar Akajev\"), name (\"Ireland\", \"Montserrat\", \"Heard Island and McDonald Islands\"), governmentform (\"Part of Denmark\", \"Constitutional Monarchy\", \"Parliamentary Coprincipality\"), population (119000, 94000, 4478500), gnpold (7051.0, 1312.0, 5940.0), localname (\"Madagasikara/Madagascar\", \"Hrvatska\", \"Naoero/Nauru\"), lifeexpectancy (45.3, 73.1, 62.2), code2 (\"MX\", \"DK\", \"FK\"), region (\"Polynesia\", \"Southern and Central Asia\", \"Melanesia\"), surfacearea (49012.0, 4033.0, 78866.0), capital (3320, 3236, 919) | countrylanguage : language (\"Moba\", \"Mbete\", \"Chin\"), isofficial (\"T\", \"F\"), countrycode (\"UKR\", \"IRN\", \"GUF\"), percentage (96.4, 20.0, 0.9)", "schema_without_content": "city : countrycode , id , state , population , province , name | sqlite_sequence : seq , name | country : continent , indepyear , gnp , code , headofstate , name , governmentform , population , gnpold , localname , lifeexpectancy , code2 , region , surfacearea , capital | countrylanguage : language , isofficial , countrycode , percentage", "extra_map": { "city": { "district": [ "state", "province" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "population", "state", "province" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "cities in each district": "city.District", "population": "city.Population", "cities": "city" } }, { "question": "find the #government form# name and #total population for each government form# whose #average life expectancy# is longer than 72.", "db_id": "world_1", "orig_query": "select sum(population), governmentform from country group by governmentform having avg(lifeexpectancy) > 72", "schema_with_content": "city : countrycode (\"IRL\", \"LAO\", \"LBN\"), population (177709, 591106, 312493), id (2475, 492, 555), district (\"Nagano\", \"Kostroma\", \"Irkutsk\"), name (\"Nepean\", \"Fort Collins\", \"Yonkers\") | sqlite_sequence : seq (4079), name (\"city\") | country : gnp (4127.0, 6041.0, 6964.0), localname (\"Sierra Leone\", \"Prathet Thai\", \"Belau/Palau\"), code2 (\"MO\", \"SV\", \"VE\"), citizen_count (1008000, 2024000, 56000), headofstate (\"Teodoro Obiang Nguema Mbasogo\", \"Mary McAleese\", \"George W. Bush\"), indepyear (1944, 1990, 1984), headcount (1008000, 2024000, 56000), capital (1464, 185, 1), lifeexpectancy (60.6, 50.1, 64.5), governmentform (\"Part of Denmark\", \"People'sRepublic\", \"Nonmetropolitan Territory of France\"), surfacearea (27750.0, 59.0, 322463.0), continent (\"South America\", \"South America\", \"North America\"), gnpold (36846.0, 75617.0, 4186.0), code (\"COL\", \"BRA\", \"GEO\"), region (\"Polynesia\", \"Northern Africa\", \"Micronesia\"), name (\"Equatorial Guinea\", \"American Samoa\", \"Syria\") | countrylanguage : language (\"Slovak\", \"Dong\", \"Herero\"), percentage (5.1, 31.6, 15.8), isofficial (\"T\", \"F\"), countrycode (\"BWA\", \"NCL\", \"AIA\")", "schema_without_content": "city : countrycode , population , id , district , name | sqlite_sequence : seq , name | country : gnp , localname , code2 , citizen_count , headofstate , indepyear , headcount , capital , lifeexpectancy , governmentform , surfacearea , continent , gnpold , code , region , name | countrylanguage : language , percentage , isofficial , countrycode", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "government form": "country.GovernmentForm", "total population for each government form": "country.Population", "average life expectancy": "country.LifeExpectancy" } }, { "question": "find the #government form# name and #total population for each government form# whose #average life expectancy# is longer than 72.", "db_id": "world_1", "orig_query": "select sum(population), governmentform from country group by governmentform having avg(lifeexpectancy) > 72", "schema_with_content": "city : countrycode (\"BLR\", \"GUY\", \"BLZ\"), id (3420, 3474, 1158), district (\"Meghalaya\", \"Mykolajiv\", \"Jaroslavl\"), population (558680, 111245, 146437), name (\"Musashino\", \"Rochester\", \"Imabari\") | sqlite_sequence : seq (4079), name (\"city\") | country : lifeexpectancy (78.8, 75.1, 78.0), population (2943000, 22256000, 2542000), ruling_system (\"Occupied by Marocco\", \"Islamic Republic\", \"Administrated by the UN\"), indepyear (1960, 1821, 1929), code (\"CAN\", \"YEM\", \"SGS\"), political_system (\"Occupied by Marocco\", \"Islamic Republic\", \"Administrated by the UN\"), gnpold (2527.0, 5729.0, 58549.0), region (\"Melanesia\", \"Northern Africa\", \"Western Africa\"), capital (3306, 2438, 2452), headofstate (\"Leo A. Falcam\", \"Saddam Hussein al-Takriti\", \"Islam Karimov\"), code2 (\"NP\", \"AO\", \"YT\"), gnp (650.0, 776739.0, 137635.0), continent (\"Africa\", \"North America\", \"South America\"), name (\"Mexico\", \"Peru\", \"China\"), localname (\"Qazaqstan\", \"Saint Kitts and Nevis\", \"Fiji Islands\"), surfacearea (64589.0, 22696.0, 51100.0) | countrylanguage : countrycode (\"PSE\", \"CHL\", \"LUX\"), isofficial (\"T\", \"F\"), percentage (9.5, 8.2, 91.5), language (\"Kru\", \"Philippene Languages\", \"Hungarian\")", "schema_without_content": "city : countrycode , id , district , population , name | sqlite_sequence : seq , name | country : lifeexpectancy , population , ruling_system , indepyear , code , political_system , gnpold , region , capital , headofstate , code2 , gnp , continent , name , localname , surfacearea | countrylanguage : countrycode , isofficial , percentage , language", "extra_map": { "country": { "governmentform": [ "ruling_system", "political_system" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "headofstate", "capital", "code2", "ruling_system", "political_system" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "government form": "country.GovernmentForm", "total population for each government form": "country.Population", "average life expectancy": "country.LifeExpectancy" } }, { "question": "what are the different #government forms# and what is the #total population of each for government forms# that have an #average life expectancy# greater than 72?", "db_id": "world_1", "orig_query": "select sum(population), governmentform from country group by governmentform having avg(lifeexpectancy) > 72", "schema_with_content": "city : id (3915, 2600, 3654), population (633700, 2940623, 117549), countrycode (\"URY\", \"CMR\", \"FRO\"), district (\"Ivanovo\", \"Timis\", \"Shanghai\"), name (\"Rimini\", \"Cunduac\u00c3\u00a1n\", \"Mannheim\") | sqlite_sequence : name (\"city\"), seq (4079) | country : governmentform (\"Special Administrative Region of China\", \"Socialistic Republic\", \"Occupied by Marocco\"), code (\"GNB\", \"GHA\", \"IOT\"), citizen_count (94000, 12000, 23930000), gnp (1941.0, 2642.0, 6353.0), indepyear (1838, 1821, 1963), name (\"Maldives\", \"Palau\", \"Northern Mariana Islands\"), gnpold (6097.0, 189122.0, 157.0), headcount (94000, 12000, 23930000), code2 (\"KM\", \"PH\", \"AQ\"), surfacearea (283561.0, 261.0, 406752.0), continent (\"Antarctica\", \"North America\", \"North America\"), region (\"Southern Europe\", \"Micronesia/Caribbean\", \"Polynesia\"), capital (3250, 921, 904), localname (\"Polska\", \"Santa Sede/Citt\u00c3\u00a0 del Vaticano\", \"Saint-Pierre-et-Miquelon\"), lifeexpectancy (71.1, 37.6, 77.1), headofstate (\"Miguel \u00c3\u0081ngel Rodr\u00c3\u00adguez Echeverr\u00c3\u00ada\", \"Ali Abdallah Salih\", \"Petar Stojanov\") | countrylanguage : language (\"Gurage\", \"Kosrean\", \"Dutch\"), countrycode (\"PRI\", \"LUX\", \"BTN\"), percentage (10.7, 0.7, 26.3), isofficial (\"T\", \"F\")", "schema_without_content": "city : id , population , countrycode , district , name | sqlite_sequence : name , seq | country : governmentform , code , citizen_count , gnp , indepyear , name , gnpold , headcount , code2 , surfacearea , continent , region , capital , localname , lifeexpectancy , headofstate | countrylanguage : language , countrycode , percentage , isofficial", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "government forms": "country.GovernmentForm", "total population of each for government forms": "country.Population", "average life expectancy": "country.LifeExpectancy" } }, { "question": "what are the different #government forms# and what is the #total population of each for government forms# that have an #average life expectancy# greater than 72?", "db_id": "world_1", "orig_query": "select sum(population), governmentform from country group by governmentform having avg(lifeexpectancy) > 72", "schema_with_content": "city : name (\"Shihung\", \"Neftekamsk\", \"Panjin\"), id (1724, 2242, 437), district (\"Inchon\", \"Omsk\", \"Gaborone\"), population (355679, 198915, 131510), countrycode (\"HND\", \"COL\", \"BRN\") | sqlite_sequence : name (\"city\"), seq (4079) | country : ruling_system (\"Monarchy (Emirate)\", \"Independent Church State\", \"Monarchy (Sultanate)\"), lifeexpectancy (78.1, 80.1, 77.7), political_system (\"Monarchy (Emirate)\", \"Independent Church State\", \"Monarchy (Sultanate)\"), population (78000, 11201000, 2583000), name (\"Bolivia\", \"El Salvador\", \"Benin\"), gnpold (1627.0, 2186.0, 18202.0), indepyear (1973, 1966, 1816), capital (2437, 1792, 2486), surfacearea (245857.0, 43094.0, 43094.0), code (\"BRN\", \"VUT\", \"MAR\"), continent (\"Europe\", \"Oceania\", \"Oceania\"), gnp (9174.0, 4834.0, 8005.0), localname (\"S\u00c3\u00a9n\u00c3\u00a9gal/Sounougal\", \"Cuba\", \"Monaco\"), region (\"Polynesia\", \"Caribbean\", \"Southeast Asia\"), code2 (\"AI\", \"MC\", \"CF\"), headofstate (\"Ahmet Necdet Sezer\", \"Daniel arap Moi\", \"Shahabuddin Ahmad\") | countrylanguage : isofficial (\"T\", \"F\"), percentage (93.0, 50.0, 32.3), countrycode (\"NAM\", \"MOZ\", \"IND\"), language (\"Soninke\", \"Sranantonga\", \"Kissi\")", "schema_without_content": "city : name , id , district , population , countrycode | sqlite_sequence : name , seq | country : ruling_system \", \"Independent Church State\", \"Monarchy \", lifeexpectancy , political_system \", \"Independent Church State\", \"Monarchy \", population , name , gnpold , indepyear , capital , surfacearea , code , continent , gnp , localname , region , code2 , headofstate | countrylanguage : isofficial , percentage , countrycode , language", "extra_map": { "country": { "governmentform": [ "ruling_system", "political_system" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "headofstate", "capital", "code2", "ruling_system", "political_system" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "government forms": "country.GovernmentForm", "total population of each for government forms": "country.Population", "average life expectancy": "country.LifeExpectancy" } }, { "question": "find the #average life expectancy# and #total population for each continent# where the average life expectancy is shorter than 72?", "db_id": "world_1", "orig_query": "select sum(population), avg(lifeexpectancy), continent from country group by continent having avg(lifeexpectancy) < 72", "schema_with_content": "city : id (1328, 1076, 1106), name (\"Zunyi\", \"Pietermaritzburg\", \"London\"), countrycode (\"PSE\", \"LBR\", \"GNB\"), population (102304, 400997, 683794), district (\"Saha (Jakutia)\", \"Konya\", \"Nakhon Ratchasima\") | sqlite_sequence : name (\"city\"), seq (4079) | country : code (\"LAO\", \"GBR\", \"GMB\"), gnpold (804108.0, 7988.0, 146171.0), governmentform (\"Dependent Territory of Norway\", \"Territorial Collectivity of France\", \"Commonwealth of the US\"), citizen_count (27000, 22720000, 10278100), continent (\"Europe\", \"Asia\", \"Europe\"), headofstate (\"Mohammad Omar\", \"Kumba Ial\u00c3\u00a1\", \"Chen Shui-bian\"), code2 (\"FI\", \"BT\", \"KH\"), localname (\"As-Sahrawiya\", \"Mayotte\", \"Eesti\"), indepyear (1968, 1830, 1825), gnp (256254.0, 3563.0, 5328.0), lifeexpectancy (71.6, 64.5, 76.4), capital (921, 3064, 917), headcount (27000, 22720000, 10278100), region (\"Western Europe\", \"Southeast Asia\", \"Northern Africa\"), surfacearea (78866.0, 2510.0, 14.0), name (\"Turks and Caicos Islands\", \"Cape Verde\", \"Sudan\") | countrylanguage : isofficial (\"T\", \"F\"), percentage (50.4, 9.7, 95.6), countrycode (\"ZAF\", \"NPL\", \"BLZ\"), language (\"Rakhine\", \"Swazi\", \"Mahor\u00c3\u00a9\")", "schema_without_content": "city : id , name , countrycode , population , district \", \"Konya\", \"Nakhon Ratchasima\" | sqlite_sequence : name , seq | country : code , gnpold , governmentform , citizen_count , continent , headofstate , code2 , localname , indepyear , gnp , lifeexpectancy , capital , headcount , region , surfacearea , name | countrylanguage : isofficial , percentage , countrycode , language", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "average life expectancy": "country.LifeExpectancy", "total population for each continent": "country.Population" } }, { "question": "find the #average life expectancy# and #total population for each continent# where the average life expectancy is shorter than 72?", "db_id": "world_1", "orig_query": "select sum(population), avg(lifeexpectancy), continent from country group by continent having avg(lifeexpectancy) < 72", "schema_with_content": "city : population (135284, 105768, 475000), countrycode (\"DMA\", \"NAM\", \"BHR\"), district (\"Bauchi & Gombe\", \"Irbid\", \"Kyonggi\"), name (\"Acapulco de Ju\u00c3\u00a1rez\", \"Or\u00c5\u00a1a\", \"Koriyama\"), id (1324, 707, 2395) | sqlite_sequence : seq (4079), name (\"city\") | country : surfacearea (300000.0, 143998.0, 8547403.0), capital (2974, 4074, 2696), code2 (\"LT\", \"YU\", \"CR\"), region (\"Australia and New Zealand\", \"Western Europe\", \"Middle East\"), headofstate (\"Robert G. Mugabe\", \"Lansana Cont\u00c3\u00a9\", \"Yoweri Museveni\"), localname (\"Rep\u00c3\u00bablica Dominicana\", \"Namibia\", \"Sierra Leone\"), indepyear (1990, 800, 1918), life_span (41.3, 52.3, 51.0), governmentform (\"Federal Republic\", \"Constitutional Monarchy, Federation\", \"Constitutional Monarchy, Federation\"), name (\"Myanmar\", \"Andorra\", \"Bulgaria\"), continent (\"Asia\", \"North America\", \"North America\"), population (10925000, 25000, 94000), gnp (1626.0, 3750.0, 276608.0), code (\"TUV\", \"NPL\", \"AUT\"), gnpold (7988.0, 246.0, 272.0), life_length (41.3, 52.3, 51.0) | countrylanguage : countrycode (\"KAZ\", \"CIV\", \"ARM\"), language (\"Ganda\", \"Southern Slavic Languages\", \"Bemba\"), percentage (10.4, 16.8, 9.4), isofficial (\"T\", \"F\")", "schema_without_content": "city : population , countrycode , district , name , id | sqlite_sequence : seq , name | country : surfacearea , capital , code2 , region , headofstate , localname , indepyear , life_span , governmentform , name , continent , population , gnp , code , gnpold , life_length | countrylanguage : countrycode , language , percentage , isofficial", "extra_map": { "country": { "lifeexpectancy": [ "life_length", "life_span" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "life_length", "life_span" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "average life expectancy": "country.LifeExpectancy", "total population for each continent": "country.Population" } }, { "question": "find the #average life expectancy# and #total population for each continent# where the average life expectancy is shorter than 72?", "db_id": "world_1", "orig_query": "select sum(population), avg(lifeexpectancy), continent from country group by continent having avg(lifeexpectancy) < 72", "schema_with_content": "city : population (225581, 102681, 106367), name (\"San Felipe del Progreso\", \"Lund\", \"Santander\"), district (\"Krasnodar\", \"Hawalli\", \"Saitama\"), id (428, 3822, 293), countrycode (\"COM\", \"HUN\", \"CHL\") | sqlite_sequence : name (\"city\"), seq (4079) | country : population (286000, 578000, 19680000), localname (\"Komori/Comores\", \"Dhivehi Raajje/Maldives\", \"Portugal\"), gnp (1043.0, 120724.0, 650.0), gnpold (153370.0, 625626.0, 15091.0), region (\"Melanesia\", \"Nordic Countries\", \"Southeast Asia\"), governmentform (\"People'sRepublic\", \"Parliamentary Coprincipality\", \"US Territory\"), lifeexpectancy (46.7, 59.5, 77.1), capital (2695, 2464, 756), mainland (\"North America\", \"Asia\", \"Africa\"), code (\"EGY\", \"CHN\", \"TUN\"), code2 (\"AT\", \"UM\", \"CC\"), name (\"Monaco\", \"Benin\", \"Oman\"), continent_name (\"North America\", \"Asia\", \"Africa\"), headofstate (\"Letsie III\", \"Saddam Hussein al-Takriti\", \"Fahd ibn Abdul-Aziz al-Sa\u00c2\u00b4ud\"), surfacearea (65610.0, 48511.0, 4033.0), indepyear (1991, 1932, 1946) | countrylanguage : percentage (14.6, 65.6, 78.1), language (\"Abhyasi\", \"Hadareb\", \"Sotho\"), isofficial (\"T\", \"F\"), countrycode (\"JPN\", \"PER\", \"KNA\")", "schema_without_content": "city : population , name , district , id , countrycode | sqlite_sequence : name , seq | country : population , localname , gnp , gnpold , region , governmentform , lifeexpectancy , capital , mainland , code , code2 , name , continent_name , headofstate , surfacearea , indepyear | countrylanguage : percentage , language , isofficial , countrycode", "extra_map": { "country": { "continent": [ "mainland", "continent_name" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "mainland", "continent_name" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "average life expectancy": "country.LifeExpectancy", "total population for each continent": "country.Population" } }, { "question": "what are the different #continents# and the total popuation and #average life expectancy# corresponding to each, for continents that have an average life expectancy less than 72?", "db_id": "world_1", "orig_query": "select sum(population), avg(lifeexpectancy), continent from country group by continent having avg(lifeexpectancy) < 72", "schema_with_content": "city : name (\"Ibaraki\", \"Beau Bassin-Rose Hill\", \"Huixquilucan\"), countrycode (\"POL\", \"CAF\", \"ETH\"), district (\"Cap-Vert\", \"Oruro\", \"Central Luzon\"), population (94000, 303160, 241019), id (228, 2478, 2255) | sqlite_sequence : seq (4079), name (\"city\") | country : governmentform (\"Republic\", \"Federation\", \"Nonmetropolitan Territory of The Netherlands\"), code (\"KIR\", \"SHN\", \"GMB\"), headofstate (\"Maumoon Abdul Gayoom\", \"Askar Akajev\", \"Maumoon Abdul Gayoom\"), code2 (\"GS\", \"CU\", \"HN\"), indepyear (1958, 1917, 1980), region (\"Baltic Countries\", \"Caribbean\", \"Southern Africa\"), gnp (3459.0, 276608.0, 870.0), gnpold (160151.0, 18202.0, 31966.0), headcount (11385000, 10043200, 4023000), localname (\"Malaysia\", \"Nicaragua\", \"Naoero/Nauru\"), capital (69, 3236, 910), name (\"Norfolk Island\", \"Liberia\", \"Kenya\"), citizen_count (11385000, 10043200, 4023000), surfacearea (800.0, 200.0, 752618.0), continent (\"Africa\", \"Africa\", \"Europe\"), lifeexpectancy (49.8, 69.2, 75.7) | countrylanguage : percentage (19.6, 92.1, 96.8), isofficial (\"T\", \"F\"), language (\"Hadjarai\", \"Nahua\", \"Busansi\"), countrycode (\"RUS\", \"SAU\", \"IRL\")", "schema_without_content": "city : name , countrycode , district , population , id | sqlite_sequence : seq , name | country : governmentform , code , headofstate , code2 , indepyear , region , gnp , gnpold , headcount , localname , capital , name , citizen_count , surfacearea , continent , lifeexpectancy | countrylanguage : percentage , isofficial , language , countrycode", "extra_map": { "country": { "population": [ "headcount", "citizen_count" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "headcount", "citizen_count" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "continents": "country.Continent", "average life expectancy": "country.LifeExpectancy", "total population": "country.Population" } }, { "question": "what are the different #continents# and the total popuation and #average life expectancy# corresponding to each, for continents that have an average life expectancy less than 72?", "db_id": "world_1", "orig_query": "select sum(population), avg(lifeexpectancy), continent from country group by continent having avg(lifeexpectancy) < 72", "schema_with_content": "city : countrycode (\"NLD\", \"CXR\", \"FSM\"), district (\"Baja California\", \"Francistown\", \"Karakalpakistan\"), name (\"P\u00c3\u00a9cs\", \"Jaworzno\", \"Xinyu\"), population (100821, 101031, 246322), id (1694, 1449, 2670) | sqlite_sequence : name (\"city\"), seq (4079) | country : capital (2973, 586, 2814), indepyear (1978, 1994, -660), gnpold (16153.0, 8110900.0, 2141.0), life_length (78.4, 76.4, 78.9), localname (\"Jamaica\", \"Al-Urdunn\", \"Iran\"), governmentform (\"Territory of Australia\", \"Socialistic Republic\", \"Parliamentary Coprincipality\"), headofstate (\"Teburoro Tito\", \"Paul Kagame\", \"Vernon Shaw\"), code (\"LBR\", \"GEO\", \"MMR\"), gnp (1061.0, 11863.0, 722.0), continent (\"North America\", \"Antarctica\", \"Oceania\"), name (\"Ecuador\", \"Tanzania\", \"Guam\"), population (16223000, 4459000, 617000), code2 (\"MD\", \"TT\", \"DO\"), surfacearea (65610.0, 120538.0, 36188.0), region (\"Central Africa\", \"Antarctica\", \"Northern Africa\"), life_span (78.4, 76.4, 78.9) | countrylanguage : countrycode (\"MNP\", \"BWA\", \"JOR\"), language (\"Nyanja\", \"Greek\", \"Comorian\"), percentage (89.7, 6.7, 95.8), isofficial (\"T\", \"F\")", "schema_without_content": "city : countrycode , district , name , population , id | sqlite_sequence : name , seq | country : capital , indepyear , gnpold , life_length , localname , governmentform , headofstate , code , gnp , continent , name , population , code2 , surfacearea , region , life_span | countrylanguage : countrycode , language , percentage , isofficial", "extra_map": { "country": { "lifeexpectancy": [ "life_length", "life_span" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "life_length", "life_span" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "continents": "country.Continent", "average life expectancy": "country.LifeExpectancy", "total population": "country.Population" } }, { "question": "what are the different #continents# and the total popuation and #average life expectancy# corresponding to each, for continents that have an average life expectancy less than 72?", "db_id": "world_1", "orig_query": "select sum(population), avg(lifeexpectancy), continent from country group by continent having avg(lifeexpectancy) < 72", "schema_with_content": "city : countrycode (\"FJI\", \"AGO\", \"HTI\"), population (212164, 120265, 124735), district (\"Risaralda\", \"El\u00c3\u00a2zig\", \"Hiroshima\"), name (\"Akola\", \"Moundou\", \"Acapulco de Ju\u00c3\u00a1rez\"), id (2824, 393, 3672) | sqlite_sequence : name (\"city\"), seq (4079) | country : name (\"United States Minor Outlying Islands\", \"Honduras\", \"Azerbaijan\"), gnp (372.0, 8571.0, 19008.0), code (\"SUR\", \"BFA\", \"MWI\"), continent_name (\"Oceania\", \"Oceania\", \"South America\"), governmentform (\"People'sRepublic\", \"Republic\", \"US Territory\"), code2 (\"MD\", \"LC\", \"TT\"), region (\"Polynesia\", \"Southern Africa\", \"Melanesia\"), lifeexpectancy (71.1, 70.4, 75.5), capital (3065, 927, 2884), gnpold (1102.0, 16153.0, 58549.0), population (7734000, 8495000, 5605000), mainland (\"Oceania\", \"Oceania\", \"South America\"), headofstate (\"Bernard Dowiyogo\", \"Mathieu K\u00c3\u00a9r\u00c3\u00a9kou\", \"Mohammed Abdel Aziz\"), indepyear (1919, 1992, 1994), localname (\"Vanuatu\", \"Norge\", \"Qatar\"), surfacearea (1075.0, 446550.0, 1221037.0) | countrylanguage : percentage (23.5, 29.7, 81.7), language (\"Hui\", \"Gujarati\", \"Lao-Soung\"), countrycode (\"AZE\", \"GUY\", \"GMB\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : countrycode , population , district , name , id | sqlite_sequence : name , seq | country : name , gnp , code , continent_name , governmentform , code2 , region , lifeexpectancy , capital , gnpold , population , mainland , headofstate , indepyear , localname , surfacearea | countrylanguage : percentage , language , countrycode , isofficial", "extra_map": { "country": { "continent": [ "mainland", "continent_name" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "mainland", "continent_name" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "continents": "country.Continent", "average life expectancy": "country.LifeExpectancy", "total population": "country.Population" } }, { "question": "what are the #names# and #areas of countries# with the top 5 largest area?", "db_id": "world_1", "orig_query": "select name, surfacearea from country order by surfacearea desc limit 5", "schema_with_content": "city : id (1104, 3771, 1568), population (221000, 589141, 164716), countrycode (\"IRN\", \"CCK\", \"CAF\"), district (\"Attika\", \"Perak\", \"Atlantique\"), name (\"Kashiwazaki\", \"Parma\", \"P\u00c3\u00a9cs\") | sqlite_sequence : seq (4079), name (\"city\") | country : headofstate (\"Gloria Macapagal-Arroyo\", \"Hamad ibn Khalifa al-Thani\", \"Kostis Stefanopoulos\"), land_area (9970610.0, 1399.0, 447400.0), indepyear (1968, 1994, 1961), code (\"ETH\", \"NAM\", \"PHL\"), continent (\"Asia\", \"Europe\", \"Europe\"), lifeexpectancy (38.3, 72.7, 77.7), code2 (\"TH\", \"SY\", \"LC\"), localname (\"Argentina\", \"T\u00e2\u0080\u0099ai-wan\", \"Tchad/Tshad\"), gnpold (2149.0, 430572.0, 542.0), name (\"Estonia\", \"Brunei\", \"Zimbabwe\"), governmentform (\"Emirate Federation\", \"Federal Republic\", \"US Territory\"), region (\"Northern Africa\", \"Western Africa\", \"Southeast Asia\"), capital (2914, 1889, 3580), gnp (1208.0, 372.0, 1706.0), population (22455500, 12000, 31147000), extent (9970610.0, 1399.0, 447400.0) | countrylanguage : isofficial (\"T\", \"F\"), language (\"Bemba\", \"Hindko\", \"Nyaneka-nkhumbi\"), percentage (40.8, 0.7, 5.4), countrycode (\"SPM\", \"SWZ\", \"VUT\")", "schema_without_content": "city : id , population , countrycode , district , name | sqlite_sequence : seq , name | country : headofstate , land_area , indepyear , code , continent , lifeexpectancy , code2 , localname , gnpold , name , governmentform , region , capital , gnp , population , extent | countrylanguage : isofficial , language , percentage , countrycode", "extra_map": { "country": { "surfacearea": [ "land_area", "extent" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "land_area", "extent" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names": "country.Name", "areas of countries": "country.SurfaceArea" } }, { "question": "what are the #names# and #areas of countries# with the top 5 largest area?", "db_id": "world_1", "orig_query": "select name, surfacearea from country order by surfacearea desc limit 5", "schema_with_content": "city : name (\"San Carlos\", \"Rustenburg\", \"Satu Mare\"), countrycode (\"RWA\", \"IRL\", \"LIE\"), id (1920, 3578, 1704), population (270353, 186939, 127441), district (\"Wielkopolskie\", \"Chungchongbuk\", \"East Kasai\") | sqlite_sequence : name (\"city\"), seq (4079) | country : code (\"PYF\", \"HMD\", \"IOT\"), code2 (\"CU\", \"CN\", \"LS\"), capital (3536, 150, 3066), gnp (2352.0, 256254.0, 65107.0), localname (\"Fiji Islands\", \"The Gambia\", \"Namibia\"), continent (\"Antarctica\", \"North America\", \"North America\"), surfacearea (11000.0, 91982.0, 912050.0), population (59623400, 25662000, 1008000), gnpold (1161.0, 8920.0, 7388.0), headofstate (\"Sam Nujoma\", \"Kumba Ial\u00c3\u00a1\", \"Carlo Azeglio Ciampi\"), title (\"Guinea\", \"China\", \"Italy\"), nation (\"Guinea\", \"China\", \"Italy\"), region (\"North America\", \"Nordic Countries\", \"Baltic Countries\"), indepyear (1821, 1955, 1983), lifeexpectancy (51.1, 73.8, 44.0), governmentform (\"Islamic Republic\", \"Dependent Territory of Norway\", \"Emirate Federation\") | countrylanguage : language (\"Creole French\", \"Swahili\", \"Tongan\"), isofficial (\"T\", \"F\"), percentage (96.9, 74.4, 63.6), countrycode (\"FRO\", \"MSR\", \"ROM\")", "schema_without_content": "city : name , countrycode , id , population , district | sqlite_sequence : name , seq | country : code , code2 , capital , gnp , localname , continent , surfacearea , population , gnpold , headofstate , title , nation , region , indepyear , lifeexpectancy , governmentform | countrylanguage : language , isofficial , percentage , countrycode", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names": "country.Name", "areas of countries": "country.SurfaceArea" } }, { "question": "return the #names# and #surface areas# of the 5 largest #countries# .", "db_id": "world_1", "orig_query": "select name, surfacearea from country order by surfacearea desc limit 5", "schema_with_content": "city : name (\"Yatsushiro\", \"Olmalik\", \"Oral\"), population (161023, 368993, 250718), id (197, 3953, 3215), district (\"Mayag\u00c3\u00bcez\", \"Borsod-Aba\u00c3\u00baj-Zempl\u00c3\u00a9n\", \"North Austria\"), countrycode (\"VNM\", \"PNG\", \"ISR\") | sqlite_sequence : name (\"city\"), seq (4079) | country : gnp (6398.0, 3377.0, 5951.0), continent (\"Europe\", \"Antarctica\", \"South America\"), governmentform (\"Constitutional Monarchy, Federation\", \"US Territory\", \"Dependent Territory of Norway\"), localname (\"Mo\u00c3\u00a7ambique\", \"Rwanda/Urwanda\", \"C\u00c3\u00b4te d\u00e2\u0080\u0099Ivoire\"), region (\"North America\", \"Nordic Countries\", \"North America\"), land_area (883749.0, 8547403.0, 2381741.0), code (\"KOR\", \"TCA\", \"NOR\"), name (\"Madagascar\", \"Burkina Faso\", \"Mali\"), gnpold (4697.0, 7984.0, 173610.0), headofstate (\"Nursultan Nazarbajev\", \"Harald V\", \"Milan Kucan\"), extent (883749.0, 8547403.0, 2381741.0), indepyear (1978, 1838, 1838), code2 (\"KI\", \"AE\", \"CV\"), capital (608, 2253, 2429), lifeexpectancy (79.0, 74.9, 81.6), population (20000, 43000, 5171300) | countrylanguage : language (\"Malenasian Languages\", \"Soninke\", \"Kaby\u00c3\u00a9\"), percentage (99.6, 53.1, 0.3), countrycode (\"ARG\", \"TJK\", \"DMA\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : name , population , id , district , countrycode | sqlite_sequence : name , seq | country : gnp , continent , governmentform , localname , region , land_area , code , name , gnpold , headofstate , extent , indepyear , code2 , capital , lifeexpectancy , population | countrylanguage : language , percentage , countrycode , isofficial", "extra_map": { "country": { "surfacearea": [ "land_area", "extent" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "land_area", "extent" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names": "country.Name", "surface areas": "country.SurfaceArea", "countries": "country" } }, { "question": "return the #names# and #surface areas# of the 5 largest #countries# .", "db_id": "world_1", "orig_query": "select name, surfacearea from country order by surfacearea desc limit 5", "schema_with_content": "city : id (3717, 1387, 793), population (105119, 115548, 128037), countrycode (\"AFG\", \"PNG\", \"GNQ\"), name (\"East Los Angeles\", \"Hofu\", \"M\u00c3\u00b6nchengladbach\"), district (\"Saarland\", \"Extr\u00c3\u00aame-Nord\", \"Ciego de \u00c3\u0081vila\") | sqlite_sequence : seq (4079), name (\"city\") | country : population (25662000, 11669000, 8190900), gnp (3750.0, 105954.0, 96.0), headofstate (\"Carlo Azeglio Ciampi\", \"V\u00c3\u00a1clav Havel\", \"Chen Shui-bian\"), lifeexpectancy (66.2, 76.1, 76.2), localname (\"South Africa\", \"Prathet Thai\", \"Saint-Pierre-et-Miquelon\"), continent (\"North America\", \"Oceania\", \"South America\"), gnpold (5670.0, 5940.0, 4186.0), title (\"Brazil\", \"Panama\", \"Togo\"), nation (\"Brazil\", \"Panama\", \"Togo\"), governmentform (\"Nonmetropolitan Territory of France\", \"Administrated by the UN\", \"Commonwealth of the US\"), code (\"BLR\", \"COG\", \"GLP\"), code2 (\"FM\", \"ZA\", \"PE\"), surfacearea (464.0, 2831.0, 108889.0), capital (3048, 3791, 2295), region (\"North America\", \"Eastern Europe\", \"Central Africa\"), indepyear (1994, 1878, 1977) | countrylanguage : language (\"Kiga\", \"Mam\", \"Herero\"), percentage (29.7, 0.3, 23.8), countrycode (\"CHE\", \"KEN\", \"IND\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : id , population , countrycode , name , district | sqlite_sequence : seq , name | country : population , gnp , headofstate , lifeexpectancy , localname , continent , gnpold , title , nation , governmentform , code , code2 , surfacearea , capital , region , indepyear | countrylanguage : language , percentage , countrycode , isofficial", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names": "country.Name", "surface areas": "country.SurfaceArea", "countries": "country" } }, { "question": "what are #names of countries# with the top 3 largest #population# ?", "db_id": "world_1", "orig_query": "select name from country order by population desc limit 3", "schema_with_content": "city : name (\"Shangzi\", \"Guarapuava\", \"Pinsk\"), district (\"Wisconsin\", \"Xinxiang\", \"Sulawesi Utara\"), countrycode (\"MUS\", \"NFK\", \"GTM\"), id (1474, 29, 1791), population (365048, 1012700, 569891) | sqlite_sequence : name (\"city\"), seq (4079) | country : nation (\"Czech Republic\", \"Bouvet Island\", \"Bahamas\"), population (5074000, 1277558000, 51654000), title (\"Czech Republic\", \"Bouvet Island\", \"Bahamas\"), indepyear (1821, 1965, 1983), continent (\"South America\", \"Europe\", \"Oceania\"), code2 (\"FJ\", \"VI\", \"DK\"), lifeexpectancy (56.5, 41.3, 75.5), surfacearea (27750.0, 41526.0, 11295.0), localname (\"Costa Rica\", \"Belau/Palau\", \"Kiribati\"), gnp (998.0, 1813.0, 5749.0), code (\"NAM\", \"VGB\", \"CMR\"), capital (926, 2256, 1450), gnpold (430572.0, 373.0, 9757.0), headofstate (\"Frederick Chiluba\", \"Francisco Guillermo Flores P\u00c3\u00a9rez\", \"Ante Jelavic\"), governmentform (\"Autonomous Area\", \"Part of Denmark\", \"Occupied by Marocco\"), region (\"Melanesia\", \"Micronesia/Caribbean\", \"Northern Africa\") | countrylanguage : percentage (57.5, 31.6, 8.2), isofficial (\"T\", \"F\"), language (\"Mongo\", \"Dong\", \"Bamileke-bamum\"), countrycode (\"VCT\", \"DEU\", \"PAN\")", "schema_without_content": "city : name , district , countrycode , id , population | sqlite_sequence : name , seq | country : nation , population , title , indepyear , continent , code2 , lifeexpectancy , surfacearea , localname , gnp , code , capital , gnpold , headofstate , governmentform , region | countrylanguage : percentage , isofficial , language , countrycode", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names of countries": "country.Name", "population": "country.Population" } }, { "question": "return the #names# of the 3 most #populated countries# .", "db_id": "world_1", "orig_query": "select name from country order by population desc limit 3", "schema_with_content": "city : district (\"San Salvador\", \"Andhra Pradesh\", \"Mendoza\"), name (\"al-Zawiya\", \"Mexicali\", \"Haikou\"), population (151789, 127634, 108848), id (1823, 3071, 2467), countrycode (\"VEN\", \"TTO\", \"PER\") | sqlite_sequence : seq (4079), name (\"city\") | country : population (6217000, 45611000, 3282000), code2 (\"CH\", \"UG\", \"PE\"), capital (3263, 174, 766), surfacearea (314.0, 185180.0, 160.0), gnpold (2453.0, 1580.0, 256092.0), region (\"Eastern Europe\", \"Central Africa\", \"Eastern Europe\"), title (\"Uruguay\", \"Liechtenstein\", \"Germany\"), continent (\"Africa\", \"Oceania\", \"Asia\"), gnp (371362.0, 5976.0, 11863.0), indepyear (1983, 1948, 1981), lifeexpectancy (74.1, 76.8, 49.8), localname (\"Mongol Uls\", \"Paraguay\", \"Kenya\"), governmentform (\"Commonwealth of the US\", \"Dependent Territory of the US\", \"Nonmetropolitan Territory of New Zealand\"), code (\"GLP\", \"YEM\", \"MDG\"), headofstate (\"Beatrix\", \"Albert II\", \"Natsagiin Bagabandi\"), nation (\"Uruguay\", \"Liechtenstein\", \"Germany\") | countrylanguage : percentage (36.4, 98.0, 49.1), countrycode (\"BDI\", \"GHA\", \"AUT\"), language (\"Bali\", \"Lomwe\", \"Lao-Soung\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : district , name , population , id , countrycode | sqlite_sequence : seq , name | country : population , code2 , capital , surfacearea , gnpold , region , title , continent , gnp , indepyear , lifeexpectancy , localname , governmentform , code , headofstate , nation | countrylanguage : percentage , countrycode , language , isofficial", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names": "country.Name", "populated countries": "country" } }, { "question": "what are the #names of the nations# with the 3 lowest #populations# ?", "db_id": "world_1", "orig_query": "select name from country order by population asc limit 3", "schema_with_content": "city : id (3917, 539, 21), countrycode (\"UZB\", \"TGO\", \"DOM\"), population (142465, 383967, 171699), district (\"Santaf\u00c3\u00a9 de Bogot\u00c3\u00a1\", \"Michigan\", \"Konya\"), name (\"Muridke\", \"Dallas\", \"Asaka\") | sqlite_sequence : name (\"city\"), seq (4079) | country : lifeexpectancy (79.0, 70.7, 37.5), continent (\"Oceania\", \"North America\", \"Antarctica\"), nation (\"Guinea\", \"Philippines\", \"Thailand\"), gnpold (8670.0, 30373.0, 96318.0), title (\"Guinea\", \"Philippines\", \"Thailand\"), region (\"Micronesia/Caribbean\", \"Micronesia\", \"Southern Europe\"), headofstate (None, \"Festus G. Mogae\", \"Vernon Shaw\"), governmentform (\"Nonmetropolitan Territory of France\", \"Nonmetropolitan Territory of New Zealand\", \"Monarchy (Emirate)\"), code2 (\"BE\", \"UY\", \"ZM\"), capital (2440, 3161, 3334), code (\"BEL\", \"BRB\", \"GUM\"), indepyear (1984, 1983, 1956), surfacearea (17818.0, 151.0, 8875.0), population (279000, 9997600, 1726000), gnp (612.0, 598862.0, 20026.0), localname (\"Bolivia\", \"Chile\", \"Indonesia\") | countrylanguage : percentage (95.9, 81.2, 15.8), isofficial (\"T\", \"F\"), language (\"Kavango\", \"Maya Languages\", \"Orija\"), countrycode (\"POL\", \"AZE\", \"NGA\")", "schema_without_content": "city : id , countrycode , population , district , name | sqlite_sequence : name , seq | country : lifeexpectancy , continent , nation , gnpold , title , region , headofstate , governmentform \", code2 , capital , code , indepyear , surfacearea , population , gnp , localname | countrylanguage : percentage , isofficial , language , countrycode", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names of the nations": "country.Name", "populations": "country.Population" } }, { "question": "return the #names# of the 3 #countries# with the fewest #people# .", "db_id": "world_1", "orig_query": "select name from country order by population asc limit 3", "schema_with_content": "city : id (1071, 1374, 1465), population (129683, 106150, 149222), countrycode (\"CHN\", \"MYS\", \"BEN\"), district (\"Bishkek shaary\", \"Bryssel\", \"Rheinland-Pfalz\"), name (\"Bamenda\", \"Trier\", \"Sarajevo\") | sqlite_sequence : name (\"city\"), seq (4079) | country : gnp (293.0, 166448.0, 1449.0), region (\"Northern Africa\", \"Southern Africa\", \"Eastern Europe\"), nation (\"Burkina Faso\", \"Comoros\", \"Bolivia\"), population (214000, 286000, 67702000), title (\"Burkina Faso\", \"Comoros\", \"Bolivia\"), surfacearea (185180.0, 964.0, 270534.0), governmentform (\"Parlementary Monarchy\", \"Special Administrative Region of China\", \"Republic\"), localname (\"\u00c2\u00b4Uman\", \"Amerika Samoa\", \"Suriname\"), continent (\"Oceania\", \"North America\", \"Asia\"), code (\"BIH\", \"NER\", \"ECU\"), gnpold (105116.0, 1312.0, 2527.0), headofstate (\"Petar Stojanov\", \"Salahuddin Abdul Aziz Shah Alhaj\", \"Luis \u00c3\u0081ngel Gonz\u00c3\u00a1lez Macchi\"), capital (1365, 3320, 2884), lifeexpectancy (45.9, 70.7, 52.3), indepyear (1804, 1961, 1143), code2 (\"DM\", \"TN\", \"GB\") | countrylanguage : percentage (12.2, 66.7, 0.7), countrycode (\"SEN\", \"LVA\", \"TUV\"), isofficial (\"T\", \"F\"), language (\"Mbum\", \"Lotuko\", \"Tuvalu\")", "schema_without_content": "city : id , population , countrycode , district , name | sqlite_sequence : name , seq | country : gnp , region , nation , population , title , surfacearea , governmentform , localname , continent , code , gnpold , headofstate , capital , lifeexpectancy , indepyear , code2 | countrylanguage : percentage , countrycode , isofficial , language", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names": "country.Name", "countries": "country", "people": "country.Population" } }, { "question": "what are the #names# of the countries that are in the #continent# of europe and have a #population# of 80000?", "db_id": "world_1", "orig_query": "select name from country where continent = \"Europe\" and population = \"80000\"", "schema_with_content": "city : population (181424, 113100, 390007), name (\"Sariwon\", \"Thessaloniki\", \"Sahiwal\"), district (\"Tongatapu\", \"Sanaa\", \"Atyrau\"), countrycode (\"ZWE\", \"GIB\", \"CXR\"), id (1474, 2529, 3029) | sqlite_sequence : name (\"city\"), seq (4079) | country : code2 (\"RO\", \"SI\", \"GB\"), population (5496000, 147000, 1295000), code (\"BLR\", \"KOR\", \"WSM\"), nation (\"Cameroon\", \"Iraq\", \"Paraguay\"), indepyear (1806, 1828, 1966), localname (\"Deutschland\", \"Al-Maghrib\", \"Eesti\"), title (\"Cameroon\", \"Iraq\", \"Paraguay\"), lifeexpectancy (75.4, 55.0, 73.6), continent (\"Europe\", \"South America\", \"Europe\"), gnp (182.0, 5328.0, 69213.0), region (\"Central Africa\", \"South America\", \"Western Europe\"), capital (2434, 929, 55), governmentform (\"Part of Denmark\", \"Territory of Australia\", \"Dependent Territory of Norway\"), headofstate (\"Abdoulaye Wade\", \"Ahmed Tejan Kabbah\", \"Jos\u00c3\u00a9 Alexandre Gusm\u00c3\u00a3o\"), gnpold (2190.0, 7988.0, 3545.0), surfacearea (27750.0, 13878.0, 108889.0) | countrylanguage : language (\"Malenasian Languages\", \"Bhojpuri\", \"Papiamento\"), percentage (19.6, 53.1, 65.0), countrycode (\"GRC\", \"GHA\", \"CYP\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : population , name , district , countrycode , id | sqlite_sequence : name , seq | country : code2 , population , code , nation , indepyear , localname , title , lifeexpectancy , continent , gnp , region , capital , governmentform , headofstate , gnpold , surfacearea | countrylanguage : language , percentage , countrycode , isofficial", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names": "country.Name", "continent": "country.Continent", "population": "country.Population" } }, { "question": "give the #names of countries# that are in #europe# and have a #population# equal to 80000.", "db_id": "world_1", "orig_query": "select name from country where continent = \"Europe\" and population = \"80000\"", "schema_with_content": "city : id (330, 1853, 3526), countrycode (\"TKM\", \"TTO\", \"BIH\"), population (139283, 123232, 400940), district (\"Nghe An\", \"Oregon\", \"Dire Dawa\"), name (\"Juzno-Sahalinsk\", \"Toronto\", \"Roodepoort\") | sqlite_sequence : seq (4079), name (\"city\") | country : code (\"GUM\", \"FJI\", \"ISL\"), localname (\"Tchad/Tshad\", \"Al-Bahrayn\", \"\u00c3\u008dsland\"), code2 (\"SJ\", \"KY\", \"SE\"), region (\"Western Europe\", \"Antarctica\", \"Southeast Asia\"), capital (2454, 4068, 3520), nation (\"Algeria\", \"Somalia\", \"Jordan\"), governmentform (\"Federal Republic\", \"Federation\", \"Dependent Territory of Norway\"), surfacearea (112622.0, 56538.0, 65610.0), gnpold (2201.0, 36846.0, 3338.0), lifeexpectancy (75.8, 63.1, 73.8), headofstate (\"Chandrika Kumaratunga\", \"John Kufuor\", \"Joseph Kabila\"), indepyear (1844, 1825, 1776), continent (\"North America\", \"South America\", \"Asia\"), gnp (2108.0, 2012.0, 828.0), title (\"Algeria\", \"Somalia\", \"Jordan\"), population (15864000, 6097000, 146934000) | countrylanguage : isofficial (\"T\", \"F\"), language (\"Miskito\", \"Gaeli\", \"Kirgiz\"), percentage (2.0, 30.0, 3.5), countrycode (\"BMU\", \"HTI\", \"AGO\")", "schema_without_content": "city : id , countrycode , population , district , name | sqlite_sequence : seq , name | country : code , localname , code2 , region , capital , nation , governmentform , surfacearea , gnpold , lifeexpectancy , headofstate , indepyear , continent , gnp , title , population | countrylanguage : isofficial , language , percentage , countrycode", "extra_map": { "country": { "name": [ "nation", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2", "nation", "title" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "names of countries": "country.Name", "Europe": "country.Continent", "population": "country.Population" } }, { "question": "what are the #cities# whose #population# is between 160000 and 900000?", "db_id": "world_1", "orig_query": "select name from city where population between 160000 and 900000", "schema_with_content": "city : city_name (\"Kaluga\", \"Tartu\", \"Santa F\u00c3\u00a9\"), district (\"Wakayama\", \"Hatay\", \"Zacatecas\"), population (100477, 101320, 163700), title (\"Kaluga\", \"Tartu\", \"Santa F\u00c3\u00a9\"), countrycode (\"ISR\", \"AUS\", \"GIN\"), id (202, 306, 2284) | sqlite_sequence : seq (4079), name (\"city\") | country : code (\"PRY\", \"GIN\", \"ISL\"), population (149000, 4023000, 817000), region (\"North America\", \"Eastern Europe\", \"Eastern Asia\"), name (\"Heard Island and McDonald Islands\", \"Uganda\", \"Saint Kitts and Nevis\"), lifeexpectancy (60.2, 50.8, 78.4), continent (\"Europe\", \"Africa\", \"Oceania\"), localname (\"South Africa\", \"Polska\", \"Guatemala\"), capital (1791, 584, 3358), gnpold (58623.0, 6328.0, 215002.0), gnp (371362.0, 6064.0, 776739.0), governmentform (\"Constitutional Monarchy\", \"Autonomous Area\", \"Dependent Territory of Norway\"), code2 (\"IR\", \"CR\", \"TO\"), headofstate (\"Carl XVI Gustaf\", \"Negasso Gidada\", \"France-Albert Ren\u00c3\u00a9\"), indepyear (1902, 1947, 1962), surfacearea (270534.0, 618.0, 756626.0) | countrylanguage : percentage (30.0, 23.4, 23.5), isofficial (\"T\", \"F\"), countrycode (\"MMR\", \"LUX\", \"JPN\"), language (\"Lithuanian\", \"Kaby\u00c3\u00a9\", \"Aimar\u00c3\u00a1\")", "schema_without_content": "city : city_name , district , population , title , countrycode , id | sqlite_sequence : seq , name | country : code , population , region , name , lifeexpectancy , continent , localname , capital , gnpold , gnp , governmentform , code2 , headofstate , indepyear , surfacearea | countrylanguage : percentage , isofficial , countrycode , language", "extra_map": { "city": { "name": [ "city_name", "title" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "countrycode", "district", "population", "city_name", "title" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "percentage" ] }, "column_linking_gt": { "cities": "city", "population": "city.Population" } }, { "question": "which #language# is spoken by the largest number of #countries# ?", "db_id": "world_1", "orig_query": "select language from countrylanguage group by language order by count(*) desc limit 1", "schema_with_content": "city : countrycode (\"VNM\", \"AUT\", \"VIR\"), name (\"Bauru\", \"Dezful\", \"Mitaka\"), district (\"Loreto\", \"Chuquisaca\", \"Taka-Karpatia\"), population (4399819, 160516, 106121), id (3111, 1341, 4047) | sqlite_sequence : name (\"city\"), seq (4079) | country : region (\"Western Africa\", \"Eastern Europe\", \"Caribbean\"), localname (\"T\u00c3\u00bcrkmenostan\", \"Botswana\", \"Schweiz/Suisse/Svizzera/Svizra\"), capital (3244, 56, 2974), headofstate (\"Azali Assoumani\", \"Joseph Kabila\", \"Letsie III\"), gnpold (45914.0, 6328.0, 933.0), governmentform (\"Dependent Territory of the US\", \"Republic\", \"Monarchy (Sultanate)\"), gnp (116416.0, 86503.0, 65984.0), continent (\"North America\", \"Europe\", \"Europe\"), code2 (\"GU\", \"RO\", \"AM\"), code (\"ITA\", \"TCD\", \"GMB\"), lifeexpectancy (75.8, 70.4, 78.3), population (21778000, 79832000, 2124000), indepyear (1867, 1278, 1979), name (\"Peru\", \"Eritrea\", \"Mayotte\"), surfacearea (7780.0, 56785.0, 1075.0) | countrylanguage : countrycode (\"JPN\", \"BLR\", \"PSE\"), isofficial (\"T\", \"F\"), percentage (6.6, 87.5, 59.7), tongue (\"Mixed Languages\", \"Haya\", \"Tigrinja\"), dialect (\"Mixed Languages\", \"Haya\", \"Tigrinja\")", "schema_without_content": "city : countrycode , name , district , population , id | sqlite_sequence : name , seq | country : region , localname , capital , headofstate , gnpold , governmentform \", gnp , continent , code2 , code , lifeexpectancy , population , indepyear , name , surfacearea | countrylanguage : countrycode , isofficial , percentage , tongue , dialect", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "language": "countrylanguage.Language", "countries": "country" } }, { "question": "give the #language# that is spoken in the most countries.", "db_id": "world_1", "orig_query": "select language from countrylanguage group by language order by count(*) desc limit 1", "schema_with_content": "city : population (137700, 400997, 108485), name (\"Oshogbo\", \"Ahome\", \"Jilin\"), countrycode (\"MYT\", \"GAB\", \"LBN\"), id (3674, 3197, 2923), district (\"Riau\", \"Namangan\", \"CAR\") | sqlite_sequence : name (\"city\"), seq (4079) | country : surfacearea (78866.0, 143998.0, 10400.0), governmentform (\"Monarchy\", \"Dependent Territory of Norway\", \"Dependent Territory of the UK\"), name (\"Bolivia\", \"Yemen\", \"Bhutan\"), region (\"Central America\", \"Northern Africa\", \"Antarctica\"), gnp (180375.0, 998.0, 2223.0), indepyear (1956, 1828, 1907), localname (\"Mongol Uls\", \"Pakistan\", \"Balgarija\"), continent (\"South America\", \"Antarctica\", \"South America\"), lifeexpectancy (69.7, 56.6, 76.8), gnpold (3371.0, 7051.0, 1161.0), capital (179, 65, 933), code2 (\"SK\", \"AU\", \"NC\"), population (15085000, 5496000, 8495000), code (\"MHL\", \"NGA\", \"PHL\"), headofstate (\"Abdiqassim Salad Hassan\", \"Kostis Stefanopoulos\", \"Omar Bongo\") | countrylanguage : isofficial (\"T\", \"F\"), percentage (52.4, 98.0, 70.6), dialect (\"Luguru\", \"Punu\", \"Zande\"), tongue (\"Luguru\", \"Punu\", \"Zande\"), countrycode (\"CRI\", \"CCK\", \"BHR\")", "schema_without_content": "city : population , name , countrycode , id , district | sqlite_sequence : name , seq | country : surfacearea , governmentform , name , region , gnp , indepyear , localname , continent , lifeexpectancy , gnpold , capital , code2 , population , code , headofstate | countrylanguage : isofficial , percentage , dialect , tongue , countrycode", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "language": "countrylanguage.Language" } }, { "question": "what is the #language# spoken by the largest #percentage# of people in each #country# ?", "db_id": "world_1", "orig_query": "select language, countrycode, max(percentage) from countrylanguage group by countrycode", "schema_with_content": "city : name (\"Newport\", \"Balikpapan\", \"Uijongbu\"), id (1905, 1134, 3654), countrycode (\"GUF\", \"KHM\", \"IRN\"), population (191356, 170125, 90742), district (\"Sancti-Sp\u00c3\u00adritus\", \"Komi\", \"Ankara\") | sqlite_sequence : name (\"city\"), seq (4079) | country : capital (3813, 901, 2430), continent (\"Africa\", \"Oceania\", \"Antarctica\"), headofstate (\"France-Albert Ren\u00c3\u00a9\", \"Yahya Jammeh\", \"Olusegun Obasanjo\"), code (\"TCA\", \"DMA\", \"MDG\"), indepyear (1955, 1976, 1919), governmentform (\"Dependent Territory of Norway\", \"Islamic Emirate\", \"Nonmetropolitan Territory of The Netherlands\"), surfacearea (331689.0, 93030.0, 580367.0), code2 (\"WS\", \"LU\", \"BY\"), gnp (226492.0, 4401.0, 3501.0), localname (\"Choson Minjujuui In\u00c2\u00b4min Konghwaguk (Bukhan)\", \"Nicaragua\", \"Iran\"), region (\"Caribbean\", \"British Islands\", \"Micronesia/Caribbean\"), lifeexpectancy (76.1, 70.3, 60.9), gnpold (272.0, 88434.0, 2149.0), population (57680000, 2024000, 444000), name (\"Canada\", \"Yemen\", \"Gibraltar\") | countrylanguage : language (\"Goajiro\", \"Yucatec\", \"Gujarati\"), percentage (6.5, 95.6, 22.9), territorycode (\"LKA\", \"CXR\", \"ZWE\"), isofficial (\"T\", \"F\"), nationcode (\"LKA\", \"CXR\", \"ZWE\")", "schema_without_content": "city : name , id , countrycode , population , district | sqlite_sequence : name , seq | country : capital , continent , headofstate , code , indepyear , governmentform , surfacearea , code2 , gnp , localname \", \"Nicaragua\", \"Iran\", region , lifeexpectancy , gnpold , population , name | countrylanguage : language , percentage , territorycode , isofficial , nationcode", "extra_map": { "countrylanguage": { "countrycode": [ "nationcode", "territorycode" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "language", "isofficial", "percentage", "nationcode", "territorycode" ] }, "column_linking_gt": { "language": "countrylanguage.Language", "percentage": "countrylanguage.Percentage", "country": "countrylanguage.CountryCode" } }, { "question": "what is the #language# spoken by the largest #percentage# of people in each #country# ?", "db_id": "world_1", "orig_query": "select language, countrycode, max(percentage) from countrylanguage group by countrycode", "schema_with_content": "city : name (\"Bala\u00c5\u00a1iha\", \"Daly City\", \"Margilon\"), countrycode (\"BEL\", \"YUG\", \"GRL\"), population (102580, 35900, 141954), id (2738, 2173, 3230), district (\"Uttar Pradesh\", \"Maharashtra\", \"Washington\") | sqlite_sequence : name (\"city\"), seq (4079) | country : gnpold (10241.0, 755.0, 6722.0), lifeexpectancy (75.1, 45.9, None), continent (\"Africa\", \"Europe\", \"Antarctica\"), surfacearea (459.0, 462840.0, 650.0), gnp (4127.0, 19008.0, 5328.0), name (\"Tanzania\", \"Kyrgyzstan\", \"Cocos (Keeling) Islands\"), population (10278100, 578000, 1158000), localname (\"Al-Bahrayn\", \"Nouvelle-Cal\u00c3\u00a9donie\", \"Svalbard og Jan Mayen\"), governmentform (\"Federation\", \"Nonmetropolitan Territory of New Zealand\", \"Socialistic State\"), code (\"TUN\", \"YEM\", \"MTQ\"), capital (3198, 583, 2754), indepyear (1932, 1901, 1966), headofstate (\"Jiang Zemin\", \"Thabo Mbeki\", \"Carlos Roberto Flores Facuss\u00c3\u00a9\"), region (\"Southern Africa\", \"Nordic Countries\", \"Middle East\"), code2 (\"BW\", \"RE\", \"MQ\") | countrylanguage : dialect (\"Polynesian Languages\", \"Comorian-Swahili\", \"Creole French\"), isofficial (\"T\", \"F\"), percentage (98.0, 9.7, 88.7), tongue (\"Polynesian Languages\", \"Comorian-Swahili\", \"Creole French\"), countrycode (\"AGO\", \"KIR\", \"LTU\")", "schema_without_content": "city : name , countrycode , population , id , district | sqlite_sequence : name , seq | country : gnpold , lifeexpectancy , continent , surfacearea , gnp , name Islands\", population , localname , governmentform , code , capital , indepyear , headofstate , region , code2 | countrylanguage : dialect , isofficial , percentage , tongue , countrycode", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "language": "countrylanguage.Language", "percentage": "countrylanguage.Percentage", "country": "countrylanguage.CountryCode" } }, { "question": "what is the #language# spoken by the largest #percentage# of people in each #country# ?", "db_id": "world_1", "orig_query": "select language, countrycode, max(percentage) from countrylanguage group by countrycode", "schema_with_content": "city : countrycode (\"SUR\", \"NIU\", \"GBR\"), population (137600, 199753, 13000), id (3110, 311, 3985), name (\"Zwolle\", \"Cajeme\", \"Vellore\"), district (\"Maranh\u00c3\u00a3o\", \"Uljanovsk\", \"Canterbury\") | sqlite_sequence : seq (4079), name (\"city\") | country : region (\"Central America\", \"Southeast Asia\", \"South America\"), population (9997600, 22256000, 5605000), gnpold (6722.0, 2186.0, 34843.0), code2 (\"MV\", \"GH\", \"SG\"), continent (\"North America\", \"Europe\", \"Europe\"), governmentform (\"Part of Denmark\", \"Territory of Australia\", \"Parlementary Monarchy\"), localname (\"The Gambia\", \"Madagasikara/Madagascar\", \"Ghana\"), gnp (1579.0, 9174.0, 536.0), lifeexpectancy (76.8, 38.3, 75.6), indepyear (-1000, 1953, 1992), name (\"Togo\", \"Tokelau\", \"Paraguay\"), capital (904, 2914, 2972), surfacearea (103000.0, 622.0, 1025520.0), code (\"NGA\", \"TUN\", \"BRB\"), headofstate (\"Mohammad Omar\", \"John Kufuor\", \"Maaouiya Ould Sid\u00c2\u00b4Ahmad Taya\") | countrylanguage : proportion (0.7, 3.2, 3.3), isofficial (\"T\", \"F\"), fraction (0.7, 3.2, 3.3), countrycode (\"SAU\", \"CRI\", \"SMR\"), language (\"Eskimo Languages\", \"Bashkir\", \"Yucatec\")", "schema_without_content": "city : countrycode , population , id , name , district | sqlite_sequence : seq , name | country : region , population , gnpold , code2 , continent , governmentform , localname , gnp , lifeexpectancy , indepyear , name , capital , surfacearea , code , headofstate | countrylanguage : proportion , isofficial , fraction , countrycode , language", "extra_map": { "countrylanguage": { "percentage": [ "fraction", "proportion" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "fraction", "proportion" ] }, "column_linking_gt": { "language": "countrylanguage.Language", "percentage": "countrylanguage.Percentage", "country": "countrylanguage.CountryCode" } }, { "question": "what are the #country codes# of the different countries, and what are the #languages# spoken by the greatest #percentage# of people for each?", "db_id": "world_1", "orig_query": "select language, countrycode, max(percentage) from countrylanguage group by countrycode", "schema_with_content": "city : name (\"Oviedo\", \"Ostrava\", \"Medan\"), population (110034, 113288, 137970), id (888, 2563, 70), countrycode (\"MHL\", \"RUS\", \"SAU\"), district (\"Bern\", \"ARMM\", \"Amman\") | sqlite_sequence : name (\"city\"), seq (4079) | country : name (\"India\", \"Malta\", \"Guinea\"), localname (\"Suomi\", \"Uganda\", \"S\u00c3\u00a9n\u00c3\u00a9gal/Sounougal\"), indepyear (1948, 1979, 1992), code (\"LVA\", \"ARM\", \"NGA\"), region (\"Micronesia/Caribbean\", \"Antarctica\", \"South America\"), code2 (\"AL\", \"VA\", \"MD\"), headofstate (\"Francisco Guillermo Flores P\u00c3\u00a9rez\", \"Vladimir Putin\", \"Chandrika Kumaratunga\"), continent (\"South America\", \"Africa\", \"Asia\"), surfacearea (147181.0, 912050.0, 464.0), gnpold (11203.0, 2383.0, 19967.0), lifeexpectancy (74.9, 45.9, 77.4), population (22256000, 278357000, 156483000), gnp (8255.0, 1536.0, 65984.0), capital (3169, 2318, 608), governmentform (\"Emirate Federation\", \"Parlementary Monarchy\", \"Overseas Department of France\") | countrylanguage : nationcode (\"REU\", \"MRT\", \"AND\"), percentage (11.3, 0.6, 39.9), territorycode (\"REU\", \"MRT\", \"AND\"), language (\"Arabic-French-English\", \"Kanuri\", \"Bura\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : name , population , id , countrycode , district | sqlite_sequence : name , seq | country : name , localname , indepyear , code , region , code2 , headofstate , continent , surfacearea , gnpold , lifeexpectancy , population , gnp , capital , governmentform | countrylanguage : nationcode , percentage , territorycode , language , isofficial", "extra_map": { "countrylanguage": { "countrycode": [ "nationcode", "territorycode" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "language", "isofficial", "percentage", "nationcode", "territorycode" ] }, "column_linking_gt": { "country codes": "countrylanguage.CountryCode", "languages": "countrylanguage.Language", "percentage": "countrylanguage.Percentage" } }, { "question": "what are the #country codes# of the different countries, and what are the #languages# spoken by the greatest #percentage# of people for each?", "db_id": "world_1", "orig_query": "select language, countrycode, max(percentage) from countrylanguage group by countrycode", "schema_with_content": "city : id (1307, 201, 3744), district (\"Erzincan\", \"Siem Reap\", \"Distrito Central\"), population (153086, 403408, 89800), name (\"al-Raqqa\", \"Rampur\", \"Merlo\"), countrycode (\"IRQ\", \"GRL\", \"MHL\") | sqlite_sequence : name (\"city\"), seq (4079) | country : gnpold (169264.0, 1872.0, 4935.0), code2 (\"TJ\", \"DO\", \"GN\"), gnp (21929.0, 6964.0, 4401.0), indepyear (1994, 843, 1350), population (57680000, 180000, 4807000), headofstate (\"Rexhep Mejdani\", \"Isayas Afewerki [Isaias Afwerki]\", \"Frederick Chiluba\"), name (\"Pakistan\", \"Austria\", \"Brunei\"), code (\"DOM\", \"GRC\", \"AUT\"), localname (\"Norge\", \"\u00c2\u00b4Uman\", \"Solomon Islands\"), surfacearea (587041.0, 2586.0, 637657.0), region (\"Micronesia\", \"Southeast Asia\", \"Eastern Asia\"), continent (\"Antarctica\", \"South America\", \"North America\"), lifeexpectancy (69.2, 53.6, 77.9), governmentform (\"Parliamentary Coprincipality\", \"Dependent Territory of the US\", \"Federal Republic\"), capital (2695, 653, 2928) | countrylanguage : percentage (32.5, 96.6, 6.8), tongue (\"Hadjarai\", \"Khasi\", \"Japanese\"), countrycode (\"GEO\", \"MLI\", \"PAK\"), dialect (\"Hadjarai\", \"Khasi\", \"Japanese\"), isofficial (\"T\", \"F\")", "schema_without_content": "city : id , district , population , name , countrycode | sqlite_sequence : name , seq | country : gnpold , code2 , gnp , indepyear , population , headofstate , name , code , localname , surfacearea , region , continent , lifeexpectancy , governmentform , capital | countrylanguage : percentage , tongue , countrycode , dialect , isofficial", "extra_map": { "countrylanguage": { "language": [ "tongue", "dialect" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "isofficial", "percentage", "tongue", "dialect" ] }, "column_linking_gt": { "country codes": "countrylanguage.CountryCode", "languages": "countrylanguage.Language", "percentage": "countrylanguage.Percentage" } }, { "question": "what are the #country codes# of the different countries, and what are the #languages# spoken by the greatest #percentage# of people for each?", "db_id": "world_1", "orig_query": "select language, countrycode, max(percentage) from countrylanguage group by countrycode", "schema_with_content": "city : name (\"Veliki Novgorod\", \"P\u00c3\u00a9cs\", \"Macei\u00c3\u00b3\"), district (\"Eastern Cape\", \"Siirt\", \"Eastern\"), countrycode (\"MOZ\", \"URY\", \"IDN\"), id (3087, 1087, 1926), population (396375, 120645, 173524) | sqlite_sequence : seq (4079), name (\"city\") | country : code2 (\"NG\", \"MS\", \"QA\"), code (\"TGO\", \"IDN\", \"GNB\"), indepyear (1976, 1867, 1921), headofstate (\"\u00c3\u0089mile Lahoud\", \"Andr\u00c3\u00a9s Pastrana Arango\", \"Fernando Henrique Cardoso\"), localname (\"Schweiz/Suisse/Svizzera/Svizra\", \"Nihon/Nippon\", \"Suriya\"), gnpold (10241.0, 15076.0, 532031.0), lifeexpectancy (45.9, 37.6, 60.9), name (\"Latvia\", \"American Samoa\", \"Rwanda\"), continent (\"South America\", \"Asia\", \"North America\"), governmentform (\"Federal Republic\", \"Independent Church State\", \"People'sRepublic\"), gnp (5333.0, 2841.0, 9174.0), region (\"South America\", \"Central America\", \"Nordic Countries\"), population (861000, 82164700, 43000), capital (594, 653, 3243), surfacearea (0.4, 78.0, 18.0) | countrylanguage : language (\"Bali\", \"Garo\", \"Albaniana\"), countrycode (\"KEN\", \"ASM\", \"MDA\"), proportion (32.9, 43.7, 97.7), isofficial (\"T\", \"F\"), fraction (32.9, 43.7, 97.7)", "schema_without_content": "city : name , district , countrycode , id , population | sqlite_sequence : seq , name | country : code2 , code , indepyear , headofstate , localname , gnpold , lifeexpectancy , name , continent , governmentform , gnp , region , population , capital , surfacearea | countrylanguage : language , countrycode , proportion , isofficial , fraction", "extra_map": { "countrylanguage": { "percentage": [ "fraction", "proportion" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "fraction", "proportion" ] }, "column_linking_gt": { "country codes": "countrylanguage.CountryCode", "languages": "countrylanguage.Language", "percentage": "countrylanguage.Percentage" } }, { "question": "what is the #total number of countries# where #spanish# is spoken by the #largest percentage of people# ?", "db_id": "world_1", "orig_query": "select count(*), max(percentage) from countrylanguage where language = \"Spanish\" group by countrycode", "schema_with_content": "city : district (\"Centre\", \"Umbria\", \"al-Tamim\"), id (2932, 3128, 3509), population (136396, 145276, 320095), name (\"Novorossijsk\", \"Kallithea\", \"Botucatu\"), countrycode (\"KAZ\", \"SPM\", \"ITA\") | sqlite_sequence : name (\"city\"), seq (4079) | country : governmentform (\"Administrated by the UN\", \"Co-administrated\", \"Territory of Australia\"), continent (\"South America\", \"Oceania\", \"North America\"), localname (\"Rep\u00c3\u00bablica Dominicana\", \"Rossija\", \"United Kingdom\"), lifeexpectancy (83.5, 40.4, 68.9), name (\"Faroe Islands\", \"Israel\", \"Honduras\"), gnp (1263.0, 8287.0, 95023.0), region (\"Central America\", \"Middle East\", \"Antarctica\"), capital (3162, 3248, 3426), surfacearea (110861.0, 196722.0, 28896.0), code (\"CIV\", \"ISR\", \"HMD\"), headofstate (\"Norodom Sihanouk\", \"Teburoro Tito\", \"Mamadou Tandja\"), indepyear (1499, 1979, 1769), code2 (\"KE\", \"IT\", \"KP\"), gnpold (49677.0, 4192638.0, 119833.0), population (3401200, 23115000, 2124000) | countrylanguage : fraction (16.6, 72.1, 21.4), language (\"Dariganga\", \"Marma\", \"Bilin\"), proportion (16.6, 72.1, 21.4), isofficial (\"T\", \"F\"), countrycode (\"GAB\", \"SLB\", \"ISL\")", "schema_without_content": "city : district , id , population , name , countrycode | sqlite_sequence : name , seq | country : governmentform , continent , localname , lifeexpectancy , name , gnp , region , capital , surfacearea , code , headofstate , indepyear , code2 , gnpold , population | countrylanguage : fraction , language , proportion , isofficial , countrycode", "extra_map": { "countrylanguage": { "percentage": [ "fraction", "proportion" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "fraction", "proportion" ] }, "column_linking_gt": { "total number of countries": "countrylanguage.CountryCode", "Spanish": "countrylanguage.Language", "largest percentage of people": "countrylanguage.Percentage" } }, { "question": "count the #number of countries# for which #spanish# is the predominantly spoken language.", "db_id": "world_1", "orig_query": "select count(*), max(percentage) from countrylanguage where language = \"Spanish\" group by countrycode", "schema_with_content": "city : district (\"Seoul\", \"Zulia\", \"Kansas\"), id (2102, 2480, 910), name (\"Tallinn\", \"Budapest\", \"Kyongsan\"), countrycode (\"CRI\", \"HKG\", \"WLF\"), population (116000, 158625, 191317) | sqlite_sequence : name (\"city\"), seq (4079) | country : indepyear (1971, 1804, 1983), gnp (121914.0, 4834.0, 14194.0), gnpold (323310.0, 160151.0, 105116.0), continent (\"Antarctica\", \"Asia\", \"South America\"), name (\"Panama\", \"Yemen\", \"Micronesia, Federated States of\"), localname (\"Al-Yaman\", \"Centrafrique/B\u00c3\u00aa-Afr\u00c3\u00aeka\", \"Espa\u00c3\u00b1a\"), headofstate (\"Hugo B\u00c3\u00a1nzer Su\u00c3\u00a1rez\", \"Arnoldo Alem\u00c3\u00a1n Lacayo\", \"Muammar al-Qadhafi\"), region (\"Southern Europe\", \"Caribbean\", \"Central Africa\"), governmentform (\"Overseas Department of France\", \"Monarchy (Sultanate)\", \"People'sRepublic\"), population (2583000, 180000, 99000), lifeexpectancy (80.1, 71.8, 64.0), code2 (\"AN\", \"LU\", \"VA\"), capital (585, 3261, 3419), surfacearea (193.0, 17075400.0, 75517.0), code (\"OMN\", \"VIR\", \"ECU\") | countrylanguage : countrycode (\"GRC\", \"TTO\", \"NIU\"), proportion (0.8, 49.1, 2.9), isofficial (\"T\", \"F\"), language (\"Saho\", \"Ovimbundu\", \"Luvale\"), fraction (0.8, 49.1, 2.9)", "schema_without_content": "city : district , id , name , countrycode , population | sqlite_sequence : name , seq | country : indepyear , gnp , gnpold , continent , name , localname , headofstate , region , governmentform \", \"People'sRepublic\", population , lifeexpectancy , code2 , capital , surfacearea , code | countrylanguage : countrycode , proportion , isofficial , language , fraction", "extra_map": { "countrylanguage": { "percentage": [ "fraction", "proportion" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "fraction", "proportion" ] }, "column_linking_gt": { "number of countries": "countrylanguage.CountryCode", "Spanish": "countrylanguage.Language" } }, { "question": "what are the #codes of countries# where #spanish# is spoken by the largest #percentage of people# ?", "db_id": "world_1", "orig_query": "select countrycode, max(percentage) from countrylanguage where language = \"Spanish\" group by countrycode", "schema_with_content": "city : name (\"Hefei\", \"Kasuga\", \"al-Qadarif\"), district (\"Littoral\", \"Namangan\", \"Kiova\"), countrycode (\"BIH\", \"PNG\", \"KOR\"), id (2956, 797, 151), population (88800, 290139, 167) | sqlite_sequence : name (\"city\"), seq (4079) | country : gnpold (64926.0, 173610.0, 34843.0), continent (\"Antarctica\", \"South America\", \"Africa\"), lifeexpectancy (37.6, 64.0, 77.7), gnp (1630.0, 21929.0, 20594.0), name (\"Austria\", \"Grenada\", \"Sri Lanka\"), surfacearea (322463.0, 36125.0, 62422.0), code (\"ASM\", \"BRN\", \"WLF\"), localname (\"Zimbabwe\", \"Lietuva\", \"Saint Lucia\"), capital (4067, 3349, 2413), governmentform (\"Parlementary Monarchy\", \"Emirate Federation\", \"Commonwealth of the US\"), headofstate (\"Shahabuddin Ahmad\", \"Ante Jelavic\", \"John Kufuor\"), region (\"Eastern Asia\", \"British Islands\", \"Southern Europe\"), code2 (\"FM\", \"NI\", \"CA\"), indepyear (800, 1901, 1948), population (43000, 20212000, 7160400) | countrylanguage : isofficial (\"T\", \"F\"), percentage (87.6, 93.5, 4.5), territorycode (\"PER\", \"CPV\", \"CHE\"), nationcode (\"PER\", \"CPV\", \"CHE\"), language (\"Albaniana\", \"Buryat\", \"Santhali\")", "schema_without_content": "city : name , district , countrycode , id , population | sqlite_sequence : name , seq | country : gnpold , continent , lifeexpectancy , gnp , name , surfacearea , code , localname , capital , governmentform , headofstate , region , code2 , indepyear , population | countrylanguage : isofficial , percentage , territorycode , nationcode , language", "extra_map": { "countrylanguage": { "countrycode": [ "nationcode", "territorycode" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "language", "isofficial", "percentage", "nationcode", "territorycode" ] }, "column_linking_gt": { "codes of countries": "countrylanguage.CountryCode", "Spanish": "countrylanguage.Language", "percentage of people": "countrylanguage.Percentage" } }, { "question": "what are the #codes of countries# where #spanish# is spoken by the largest #percentage of people# ?", "db_id": "world_1", "orig_query": "select countrycode, max(percentage) from countrylanguage where language = \"Spanish\" group by countrycode", "schema_with_content": "city : id (2524, 2452, 3183), name (\"Rosario\", \"Kolpino\", \"Tegal\"), countrycode (\"SGP\", \"ITA\", \"ASM\"), district (\"Lori\", \"Kyongsangnam\", \"Maramures\"), population (317223, 119357, 419518) | sqlite_sequence : seq (4079), name (\"city\") | country : surfacearea (151.0, 25713.0, 18575.0), continent (\"Asia\", \"Antarctica\", \"North America\"), gnpold (23383.0, 15091.0, 12460.0), lifeexpectancy (72.8, 79.0, 60.6), gnp (1197.0, 182.0, 6313.0), population (103000, 3282000, 417000), headofstate (\"Carlo Azeglio Ciampi\", \"John Kufuor\", \"Norodom Sihanouk\"), localname (\"Az\u00c3\u00a4rbaycan\", \"Chile\", \"Hajastan\"), code (\"IND\", \"ZWE\", \"DOM\"), capital (2507, 2430, None), name (\"Venezuela\", \"Cayman Islands\", \"Mauritius\"), indepyear (1923, 1953, -660), governmentform (\"Dependent Territory of the US\", \"Administrated by the UN\", \"Parliamentary Coprincipality\"), region (\"Central America\", \"Australia and New Zealand\", \"South America\"), code2 (\"EE\", \"SD\", \"DZ\") | countrylanguage : isofficial (\"T\", \"F\"), proportion (87.5, 4.4, 78.8), fraction (87.5, 4.4, 78.8), countrycode (\"MTQ\", \"LIE\", \"FRA\"), language (\"Saraiki\", \"Mbete\", \"Kamba\")", "schema_without_content": "city : id , name , countrycode , district , population | sqlite_sequence : seq , name | country : surfacearea , continent , gnpold , lifeexpectancy , gnp , population , headofstate , localname , code , capital , name , indepyear , governmentform , region , code2 | countrylanguage : isofficial , proportion , fraction , countrycode , language", "extra_map": { "countrylanguage": { "percentage": [ "fraction", "proportion" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "fraction", "proportion" ] }, "column_linking_gt": { "codes of countries": "countrylanguage.CountryCode", "Spanish": "countrylanguage.Language", "percentage of people": "countrylanguage.Percentage" } }, { "question": "return the #codes of countries# for which #spanish# is the predominantly spoken language.", "db_id": "world_1", "orig_query": "select countrycode, max(percentage) from countrylanguage where language = \"Spanish\" group by countrycode", "schema_with_content": "city : population (181805, 90555, 91000), name (\"Aga\u00c3\u00b1a\", \"Apeldoorn\", \"Fuenlabrada\"), district (\"Shiga\", \"Copperbelt\", \"Morelos\"), id (2458, 3845, 3264), countrycode (\"CYP\", \"GEO\", \"SWZ\") | sqlite_sequence : name (\"city\"), seq (4079) | country : gnpold (170.0, 442989.0, 1296830.0), population (20212000, 1213000, 5330000), continent (\"Asia\", \"North America\", \"Asia\"), governmentform (\"Dependent Territory of the UK\", \"Special Administrative Region of China\", \"US Territory\"), code2 (\"BF\", \"MW\", \"MO\"), lifeexpectancy (38.3, 66.0, 72.3), indepyear (1581, 1825, 1923), headofstate (\"Benjamin William Mkapa\", \"Mohammed Abdel Aziz\", \"Frederick Chiluba\"), gnp (19770.0, 120724.0, 553233.0), region (\"Western Africa\", \"Eastern Asia\", \"Southern Africa\"), name (\"Dominica\", \"Norway\", \"Paraguay\"), capital (3016, 539, 2509), localname (\"Gibraltar\", \"Rwanda/Urwanda\", \"Christmas Island\"), surfacearea (196722.0, 323250.0, 2040.0), code (\"MLT\", \"GLP\", \"VUT\") | countrylanguage : territorycode (\"ZWE\", \"BEN\", \"SHN\"), language (\"Malenasian Languages\", \"Soga\", \"Bashkir\"), percentage (45.7, 10.6, 72.6), isofficial (\"T\", \"F\"), nationcode (\"ZWE\", \"BEN\", \"SHN\")", "schema_without_content": "city : population , name , district , id , countrycode | sqlite_sequence : name , seq | country : gnpold , population , continent , governmentform , code2 , lifeexpectancy , indepyear , headofstate , gnp , region , name , capital , localname , surfacearea , code | countrylanguage : territorycode , language , percentage , isofficial , nationcode", "extra_map": { "countrylanguage": { "countrycode": [ "nationcode", "territorycode" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "language", "isofficial", "percentage", "nationcode", "territorycode" ] }, "column_linking_gt": { "codes of countries": "countrylanguage.CountryCode", "Spanish": "countrylanguage.Language" } }, { "question": "return the #codes of countries# for which #spanish# is the predominantly spoken language.", "db_id": "world_1", "orig_query": "select countrycode, max(percentage) from countrylanguage where language = \"Spanish\" group by countrycode", "schema_with_content": "city : countrycode (\"MMR\", \"NGA\", \"TWN\"), district (\"Adiyaman\", \"Medina\", \"Hwanghae N\"), id (1823, 640, 3263), name (\"Cluj-Napoca\", \"Akashi\", \"Malayer\"), population (121582, 92000, 133936) | sqlite_sequence : name (\"city\"), seq (4079) | country : lifeexpectancy (71.6, 71.1, 65.3), headofstate (\"Saparmurad Nijazov\", \"Milan Kucan\", \"Gustavo Noboa Bejarano\"), surfacearea (117600.0, 241038.0, 1221037.0), code2 (\"NF\", \"BI\", \"AQ\"), indepyear (1964, 1965, 1974), continent (\"Europe\", \"Antarctica\", \"Europe\"), governmentform (\"Monarchy (Sultanate)\", \"Emirate Federation\", \"Territorial Collectivity of France\"), name (\"Guyana\", \"Norway\", \"Nigeria\"), gnpold (5729.0, 584.0, 82239.0), localname (\"Myanma Pye\", \"Ertra\", \"Al-Bahrayn\"), capital (2331, 2437, 3063), code (\"VEN\", \"VAT\", \"BVT\"), region (\"Eastern Asia\", \"Nordic Countries\", \"Middle East\"), population (14786000, 2856000, 6782000), gnp (49982.0, 102896.0, 145895.0) | countrylanguage : countrycode (\"LVA\", \"GBR\", \"AUT\"), language (\"Luguru\", \"Maltese\", \"Danish\"), proportion (95.9, 97.7, 22.9), isofficial (\"T\", \"F\"), fraction (95.9, 97.7, 22.9)", "schema_without_content": "city : countrycode , district , id , name , population | sqlite_sequence : name , seq | country : lifeexpectancy , headofstate , surfacearea , code2 , indepyear , continent , governmentform \", \"Emirate Federation\", \"Territorial Collectivity of France\", name , gnpold , localname , capital , code , region , population , gnp | countrylanguage : countrycode , language , proportion , isofficial , fraction", "extra_map": { "countrylanguage": { "percentage": [ "fraction", "proportion" ] } }, "extra_table_map": null, "db_schema": { "city": [ "id", "name", "countrycode", "district", "population" ], "sqlite_sequence": [ "name", "seq" ], "country": [ "code", "name", "continent", "region", "surfacearea", "indepyear", "population", "lifeexpectancy", "gnp", "gnpold", "localname", "governmentform", "headofstate", "capital", "code2" ], "countrylanguage": [ "countrycode", "language", "isofficial", "fraction", "proportion" ] }, "column_linking_gt": { "codes of countries": "countrylanguage.CountryCode", "Spanish": "countrylanguage.Language" } }, { "question": "list the #names of conductors# in ascending order of #age# .", "db_id": "orchestra", "orig_query": "select name from conductor order by age asc", "schema_with_content": "conductor : age (42, 43, 49), year_of_work (12, 16, 21), nationality (\"USA\", \"UK\", \"France\"), title (\"Pierre Boulez\", \"Paul Jorgensen\", \"Gerard Schwarz\"), full_name (\"Pierre Boulez\", \"Paul Jorgensen\", \"Gerard Schwarz\"), conductor_id (1, 4, 4) | orchestra : orchestra_id (11, 4, 4), orchestra (\"Royal Danish Orchestra\", \"Kirov Orchestra\", \"Royal Concertgebouw Orchestra\"), conductor_id (8, 4, 12), year_of_founded (2003.0, 2002.0, 2002.0), record_company (\"Decca Records\", \"Delos Records\", \"Koch Records / Naxos Records\"), major_record_format (\"CD\", \"CD / LP\", \"DVD\") | performance : official_ratings_(millions) (9.28, 8.36, 7.51), orchestra_id (6, 9, 7), share (\"40.9%\", \"34.0%\", \"34.0%\"), weekly_rank (\"2\", \"15\", \"8\"), performance_id (9, 11, 8), type (\"Auditions 3\", \"Live final\", \"Auditions 5\"), date (\"17 June\", \"10 June\", \"11 June\") | show : attendance (1925.0, 1026.0, 1925.0), performance_id (3, 2, 5), show_id (3, 4, 1), result (\"T\", \"F\"), if_first_show (\"Hampden Park\", \"Glebe Park\", \"Fir Park\")", "schema_without_content": "conductor : age , year_of_work , nationality , title , full_name , conductor_id | orchestra : orchestra_id , orchestra , conductor_id , year_of_founded , record_company , major_record_format | performance : official_ratings_ , orchestra_id , share , weekly_rank , performance_id , type , date | show : attendance , performance_id , show_id , result , if_first_show", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "names of conductors": "conductor.Name", "age": "conductor.Age" } }, { "question": "what are the #names of conductors# , ordered by #age# ?", "db_id": "orchestra", "orig_query": "select name from conductor order by age asc", "schema_with_content": "conductor : age (43, 50, 41), nationality (\"USA\", \"UK\", \"France\"), conductor_id (6, 11, 4), year_of_work (20, 6, 12), title (\"Pierre Boulez\", \"Paul Jorgensen\", \"Gerard Schwarz\"), full_name (\"Pierre Boulez\", \"Paul Jorgensen\", \"Gerard Schwarz\") | orchestra : record_company (\"Mercury Records\", \"Decca Records\", \"Philips Classics Records\"), orchestra (\"Chicago Symphony Orchestra\", \"London Symphony Orchestra\", \"Chicago Symphony Orchestra\"), conductor_id (5, 7, 8), year_of_founded (2007.0, 2003.0, 2007.0), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), orchestra_id (11, 6, 11) | performance : date (\"2007\", \"10 June\", \"10 June\"), share (\"29.2%\", \"40.9%\", \"38.1%\"), weekly_rank (\"15\", \"TBC\", \"TBC\"), official_ratings_(millions) (7.28, 11.58, 8.38), type (\"Live final results\", \"Semi-final 3\", \"Auditions 1\"), performance_id (1, 11, 11), orchestra_id (9, 11, 2) | show : result (\"T\", \"F\"), performance_id (2, 2, 4), if_first_show (\"Hampden Park\", \"Glebe Park\", \"Glebe Park\"), attendance (2431.0, 1925.0, 1026.0), show_id (2, 5, 4)", "schema_without_content": "conductor : age , nationality , conductor_id , year_of_work , title , full_name | orchestra : record_company , orchestra , conductor_id , year_of_founded , major_record_format , orchestra_id | performance : date , share , weekly_rank , official_ratings_ , type , performance_id , orchestra_id | show : result , performance_id , if_first_show , attendance , show_id", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "names of conductors": "conductor.Name", "age": "conductor.Age" } }, { "question": "what are the #names of conductors# whose #nationalities# are not \"usa\"?", "db_id": "orchestra", "orig_query": "select name from conductor where nationality != 'USA'", "schema_with_content": "conductor : full_name (\"Seiji Ozawa\", \"Seiji Ozawa\", \"Paul Jorgensen\"), year_of_work (20, 6, 6), age (42, 43, 42), title (\"Seiji Ozawa\", \"Seiji Ozawa\", \"Paul Jorgensen\"), conductor_id (11, 12, 10), nationality (\"USA\", \"UK\", \"France\") | orchestra : record_company (\"Delos Records\", \"EMI\", \"Deutsche Grammophon\"), year_of_founded (2003.0, 2007.0, 2003.0), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), conductor_id (7, 8, 8), orchestra_id (8, 9, 11), orchestra (\"Philharmonia Orchestra\", \"San Francisco Symphony Orchestra\", \"Kirov Orchestra\") | performance : date (\"11 June\", \"2007\", \"10 June\"), weekly_rank (\"1\", \"7\", \"13\"), share (\"40.9%\", \"34.0%\", \"40.9%\"), orchestra_id (10, 9, 7), official_ratings_(millions) (11.45, 5.2, 8.36), performance_id (6, 7, 7), type (\"Auditions 1\", \"Live final results\", \"Semi-final 3\") | show : attendance (2431.0, 1026.0, 1925.0), result (\"T\", \"F\"), show_id (4, 3, 2), if_first_show (\"Fir Park\", \"St. Mirren Park\", \"Hampden Park\"), performance_id (3, 5, 4)", "schema_without_content": "conductor : full_name , year_of_work , age , title , conductor_id , nationality | orchestra : record_company , year_of_founded , major_record_format , conductor_id , orchestra_id , orchestra | performance : date , weekly_rank , share , orchestra_id , official_ratings_ , performance_id , type | show : attendance , result , show_id , if_first_show , performance_id", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "names of conductors": "conductor.Name", "nationalities": "conductor.Nationality" } }, { "question": "return the #names of conductors# that do not have the #nationality# \"usa\".", "db_id": "orchestra", "orig_query": "select name from conductor where nationality != 'USA'", "schema_with_content": "conductor : year_of_work (10, 11, 6), full_name (\"Valeri Gergiev\", \"Paul Jorgensen\", \"Paul Jorgensen\"), nationality (\"USA\", \"UK\", \"France\"), conductor_id (5, 11, 4), title (\"Valeri Gergiev\", \"Paul Jorgensen\", \"Paul Jorgensen\"), age (50, 63, 49) | orchestra : major_record_format (\"CD\", \"CD / LP\", \"DVD\"), record_company (\"Delos Records\", \"Mercury Records\", \"Koch Records / Naxos Records\"), orchestra_id (6, 1, 10), year_of_founded (2009.0, 2009.0, 2006.0), conductor_id (11, 9, 2), orchestra (\"Seattle Symphony Orchestra\", \"Columbia Symphony Orchestra\", \"Philharmonia Orchestra\") | performance : weekly_rank (\"13\", \"7\", \"8\"), type (\"Semi-final 3\", \"Live final\", \"Auditions 4\"), performance_id (9, 2, 1), orchestra_id (1, 11, 7), share (\"43.7%\", \"29.2%\", \"29.2%\"), date (\"13 June\", \"9 June\", \"14 June\"), official_ratings_(millions) (7.28, 7.51, 7.39) | show : attendance (1925.0, 2431.0, 695.0), show_id (3, 1, 1), if_first_show (\"St. Mirren Park\", \"St. Mirren Park\", \"Glebe Park\"), result (\"T\", \"F\"), performance_id (1, 4, 3)", "schema_without_content": "conductor : year_of_work , full_name , nationality , conductor_id , title , age | orchestra : major_record_format , record_company , orchestra_id , year_of_founded , conductor_id , orchestra | performance : weekly_rank , type , performance_id , orchestra_id , share , date , official_ratings_ | show : attendance , show_id , if_first_show , result , performance_id", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "names of conductors": "conductor.Name", "nationality": "conductor.Nationality" } }, { "question": "what are the #record companies of orchestras# in descending order of #years in which they were founded# ?", "db_id": "orchestra", "orig_query": "select record_company from orchestra order by year_of_founded desc", "schema_with_content": "conductor : age (43, 40, 50), nationality (\"USA\", \"UK\", \"France\"), name (\"Pierre Boulez\", \"Paul Jorgensen\", \"Charles Dutoit\"), conductor_id (1, 3, 6), year_of_work (11, 11, 10) | orchestra : major_record_format (\"CD\", \"CD / LP\", \"DVD\"), recording_label (\"EMI\", \"Deutsche Grammophon\", \"Koch Records / Naxos Records\"), conductor_id (11, 3, 4), year_of_founded (2002.0, 2007.0, 2009.0), orchestra (\"Montreal Symphony Orchestra\", \"London Symphony Orchestra\", \"Seattle Symphony Orchestra\"), orchestra_id (4, 9, 6), audio_company (\"EMI\", \"Deutsche Grammophon\", \"Koch Records / Naxos Records\") | performance : official_ratings_(millions) (11.45, 6.73, 7.28), weekly_rank (\"13\", \"1\", \"15\"), share (\"43.7%\", \"29.2%\", \"34%\"), type (\"Auditions 2\", \"Live final results\", \"Auditions 3\"), performance_id (5, 1, 3), orchestra_id (10, 7, 9), date (\"11 June\", \"15 June\", \"16 June\") | show : show_id (2, 3, 2), attendance (1925.0, 1925.0, 695.0), performance_id (1, 1, 1), if_first_show (\"Fir Park\", \"Hampden Park\", \"Fir Park\"), result (\"T\", \"F\")", "schema_without_content": "conductor : age , nationality , name , conductor_id , year_of_work | orchestra : major_record_format , recording_label , conductor_id , year_of_founded , orchestra , orchestra_id , audio_company | performance : official_ratings_ , weekly_rank , share , type , performance_id , orchestra_id , date | show : show_id , attendance , performance_id , if_first_show , result", "extra_map": { "orchestra": { "record_company": [ "recording_label", "audio_company" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "year_of_founded", "major_record_format", "recording_label", "audio_company" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "record companies of orchestras": "orchestra.Record_Company", "years in which they were founded": "orchestra.Year_of_Founded" } }, { "question": "return the #record companies of orchestras# , sorted descending by the #years in which they were founded# .", "db_id": "orchestra", "orig_query": "select record_company from orchestra order by year_of_founded desc", "schema_with_content": "conductor : year_of_work (20, 11, 11), name (\"Charles Dutoit\", \"Colin Davis\", \"Pierre Boulez\"), conductor_id (3, 11, 9), nationality (\"USA\", \"UK\", \"France\"), age (43, 40, 40) | orchestra : major_record_format (\"CD\", \"CD / LP\", \"DVD\"), conductor_id (6, 12, 11), orchestra_id (7, 9, 3), year_of_founded (2008.0, 2003.0, 2004.0), orchestra (\"Kirov Orchestra\", \"London Symphony Orchestra\", \"Montreal Symphony Orchestra\"), recording_label (\"RCA\", \"Delos Records\", \"Decca Records\"), audio_company (\"RCA\", \"Delos Records\", \"Decca Records\") | performance : orchestra_id (7, 1, 7), performance_id (7, 11, 4), share (\"38.1%\", \"29.2%\", \"38.1%\"), date (\"15 June\", \"14 June\", \"10 June\"), weekly_rank (\"15\", \"1\", \"11\"), type (\"Auditions 2\", \"Auditions 3\", \"Auditions 2\"), official_ratings_(millions) (7.39, 5.2, 11.58) | show : if_first_show (\"Hampden Park\", \"Hampden Park\", \"Glebe Park\"), performance_id (2, 2, 1), attendance (555.0, 2431.0, 555.0), show_id (1, 2, 5), result (\"T\", \"F\")", "schema_without_content": "conductor : year_of_work , name , conductor_id , nationality , age | orchestra : major_record_format , conductor_id , orchestra_id , year_of_founded , orchestra , recording_label , audio_company | performance : orchestra_id , performance_id , share , date , weekly_rank , type , official_ratings_ | show : if_first_show , performance_id , attendance , show_id , result", "extra_map": { "orchestra": { "record_company": [ "recording_label", "audio_company" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "year_of_founded", "major_record_format", "recording_label", "audio_company" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "record companies of orchestras": "orchestra.Record_Company", "years in which they were founded": "orchestra.Year_of_Founded" } }, { "question": "what is the #average attendance of shows# ?", "db_id": "orchestra", "orig_query": "select avg(attendance) from show", "schema_with_content": "conductor : nationality (\"USA\", \"UK\", \"France\"), age (49, 63, 47), name (\"Valeri Gergiev\", \"Michael Tilson Thomas\", \"Antal Brown\"), year_of_work (10, 11, 11), conductor_id (5, 12, 10) | orchestra : record_company (\"Decca Records\", \"Delos Records\", \"Decca Records\"), orchestra_id (6, 8, 4), orchestra (\"Montreal Symphony Orchestra\", \"Columbia Symphony Orchestra\", \"Kirov Orchestra\"), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), conductor_id (7, 5, 8), year_of_founded (2008.0, 2002.0, 2009.0) | performance : orchestra_id (7, 2, 6), performance_id (7, 11, 11), date (\"9 June\", \"15 June\", \"2007\"), type (\"Series average\", \"Auditions 5\", \"Semi-final 2\"), share (\"38.1%\", \"34%\", \"29.2%\"), official_ratings_(millions) (7.28, 11.58, 7.28), weekly_rank (\"9\", \"7\", \"9\") | show : if_first_show (\"Glebe Park\", \"Hampden Park\", \"Fir Park\"), performance_id (5, 4, 4), result (\"T\", \"F\"), show_id (4, 2, 1), number_of_audience (1026.0, 1026.0, 1026.0), turnout (1026.0, 1026.0, 1026.0)", "schema_without_content": "conductor : nationality , age , name , year_of_work , conductor_id | orchestra : record_company , orchestra_id , orchestra , major_record_format , conductor_id , year_of_founded | performance : orchestra_id , performance_id , date , type , share , official_ratings_ , weekly_rank | show : if_first_show , performance_id , result , show_id , number_of_audience , turnout", "extra_map": { "show": { "attendance": [ "turnout", "number_of_audience" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "turnout", "number_of_audience" ] }, "column_linking_gt": { "average attendance of shows": "show.Attendance" } }, { "question": "return the #average attendance# across all #shows# .", "db_id": "orchestra", "orig_query": "select avg(attendance) from show", "schema_with_content": "conductor : age (47, 42, 47), year_of_work (10, 21, 10), nationality (\"USA\", \"UK\", \"France\"), conductor_id (6, 10, 3), name (\"Robert Craft\", \"Pierre Boulez\", \"Paul Jorgensen\") | orchestra : year_of_founded (2002.0, 2004.0, 2008.0), conductor_id (6, 11, 1), orchestra (\"Seattle Symphony Orchestra\", \"Columbia Symphony Orchestra\", \"Philharmonia Orchestra\"), orchestra_id (6, 7, 7), record_company (\"Delos Records\", \"Decca Records\", \"Columbia Masterworks\"), major_record_format (\"CD\", \"CD / LP\", \"DVD\") | performance : type (\"Auditions 1\", \"Semi-final 2\", \"Auditions 3\"), weekly_rank (\"9\", \"1\", \"12\"), date (\"17 June\", \"15 June\", \"10 June\"), performance_id (7, 4, 3), official_ratings_(millions) (11.45, 8.36, 8.38), share (\"29.2%\", \"29.2%\", \"44.7%\"), orchestra_id (10, 3, 5) | show : if_first_show (\"Hampden Park\", \"Hampden Park\", \"Hampden Park\"), number_of_audience (555.0, 2431.0, 555.0), show_id (4, 3, 2), result (\"T\", \"F\"), performance_id (3, 3, 2), turnout (555.0, 2431.0, 555.0)", "schema_without_content": "conductor : age , year_of_work , nationality , conductor_id , name | orchestra : year_of_founded , conductor_id , orchestra , orchestra_id , record_company , major_record_format | performance : type , weekly_rank , date , performance_id , official_ratings_ , share , orchestra_id | show : if_first_show , number_of_audience , show_id , result , performance_id , turnout", "extra_map": { "show": { "attendance": [ "turnout", "number_of_audience" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "turnout", "number_of_audience" ] }, "column_linking_gt": { "average attendance": "show.Attendance", "shows": "show" } }, { "question": "what are the #maximum and minimum share of performances# whose #type# is not \"live final\".", "db_id": "orchestra", "orig_query": "select max(share), min(share) from performance where type != \"Live final\"", "schema_with_content": "conductor : conductor_id (6, 5, 11), nationality (\"USA\", \"UK\", \"France\"), year_of_work (16, 20, 16), age (63, 42, 47), name (\"Charles Dutoit\", \"Michael Tilson Thomas\", \"Paul Jorgensen\") | orchestra : orchestra_id (10, 4, 4), year_of_founded (2009.0, 2007.0, 2002.0), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), orchestra (\"Detroit Symphony Orchestra\", \"Seattle Symphony Orchestra\", \"Orchestre de Paris\"), record_company (\"Columbia Masterworks\", \"Philips\", \"Deutsche Grammophon\"), conductor_id (8, 7, 2) | performance : performance_id (2, 1, 7), type (\"Live final results\", \"Auditions 5\", \"Auditions 2\"), percentage_share (\"43.7%\", \"28.0%\", \"44.7%\"), official_ratings_(millions) (9.29, 8.38, 6.73), weekly_rank (\"11\", \"15\", \"13\"), orchestra_id (9, 10, 2), market_share (\"43.7%\", \"28.0%\", \"44.7%\"), date (\"9 June\", \"16 June\", \"14 June\") | show : attendance (695.0, 2431.0, 1925.0), show_id (4, 5, 3), result (\"T\", \"F\"), if_first_show (\"Fir Park\", \"Hampden Park\", \"Hampden Park\"), performance_id (1, 4, 4)", "schema_without_content": "conductor : conductor_id , nationality , year_of_work , age , name | orchestra : orchestra_id , year_of_founded , major_record_format , orchestra , record_company , conductor_id | performance : performance_id , type , percentage_share , official_ratings_ , weekly_rank , orchestra_id , market_share , date | show : attendance , show_id , result , if_first_show , performance_id", "extra_map": { "performance": { "share": [ "percentage_share", "market_share" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "percentage_share", "market_share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "maximum and minimum share of performances": "performance.Share", "type": "performance.Type" } }, { "question": "return the #maximum and minimum shares for performances# that do not have the #type# \"live final\".", "db_id": "orchestra", "orig_query": "select max(share), min(share) from performance where type != \"Live final\"", "schema_with_content": "conductor : year_of_work (6, 16, 12), conductor_id (11, 4, 6), nationality (\"USA\", \"UK\", \"France\"), name (\"Valeri Gergiev\", \"Robert Craft\", \"Antal Dor\u00c3\u00a1ti\"), age (43, 50, 40) | orchestra : orchestra (\"Chicago Symphony Orchestra\", \"Royal Danish Orchestra\", \"Philharmonia Orchestra\"), orchestra_id (6, 7, 7), record_company (\"EMI\", \"Koch Records / Naxos Records\", \"Delos Records\"), year_of_founded (2009.0, 2002.0, 2003.0), conductor_id (12, 12, 5), major_record_format (\"CD\", \"CD / LP\", \"DVD\") | performance : percentage_share (\"38.1%\", \"34.0%\", \"29.4%\"), market_share (\"38.1%\", \"34.0%\", \"29.4%\"), date (\"17 June\", \"9 June\", \"9 June\"), performance_id (4, 6, 4), type (\"Semi-final 3\", \"Live final results\", \"Auditions 3\"), weekly_rank (\"7\", \"TBC\", \"1\"), official_ratings_(millions) (11.45, 9.29, 7.39), orchestra_id (4, 3, 6) | show : show_id (2, 5, 5), result (\"T\", \"F\"), attendance (1026.0, 2431.0, 555.0), if_first_show (\"St. Mirren Park\", \"St. Mirren Park\", \"Fir Park\"), performance_id (5, 4, 3)", "schema_without_content": "conductor : year_of_work , conductor_id , nationality , name , age | orchestra : orchestra , orchestra_id , record_company , year_of_founded , conductor_id , major_record_format | performance : percentage_share , market_share , date , performance_id , type , weekly_rank , official_ratings_ , orchestra_id | show : show_id , result , attendance , if_first_show , performance_id", "extra_map": { "performance": { "share": [ "percentage_share", "market_share" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "percentage_share", "market_share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "maximum and minimum shares for performances": "performance.Share", "type": "performance.Type" } }, { "question": "how many different #nationalities# do #conductors# have?", "db_id": "orchestra", "orig_query": "select count(distinct nationality) from conductor", "schema_with_content": "conductor : conductor_id (12, 10, 4), age (42, 49, 63), year_of_work (12, 10, 20), country (\"USA\", \"UK\", \"France\"), origin (\"USA\", \"UK\", \"France\"), name (\"Seiji Ozawa\", \"Charles Dutoit\", \"Antal Dor\u00c3\u00a1ti\") | orchestra : record_company (\"EMI\", \"Philips\", \"Kultur\"), conductor_id (9, 8, 9), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), orchestra (\"Montreal Symphony Orchestra\", \"Seattle Symphony Orchestra\", \"Orchestre de Paris\"), orchestra_id (8, 12, 7), year_of_founded (2009.0, 2006.0, 2002.0) | performance : share (\"29.2%\", \"40.9%\", \"34%\"), type (\"Semi-final 3\", \"Live final\", \"Auditions 3\"), date (\"14 June\", \"12 June\", \"2007\"), orchestra_id (2, 9, 3), weekly_rank (\"8\", \"2\", \"11\"), performance_id (1, 1, 4), official_ratings_(millions) (8.38, 7.28, 9.28) | show : if_first_show (\"Hampden Park\", \"Glebe Park\", \"Fir Park\"), performance_id (2, 4, 4), attendance (2431.0, 1925.0, 1925.0), result (\"T\", \"F\"), show_id (5, 4, 4)", "schema_without_content": "conductor : conductor_id , age , year_of_work , country , origin , name | orchestra : record_company , conductor_id , major_record_format , orchestra , orchestra_id , year_of_founded | performance : share , type , date , orchestra_id , weekly_rank , performance_id , official_ratings_ | show : if_first_show , performance_id , attendance , result , show_id", "extra_map": { "conductor": { "nationality": [ "country", "origin" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "year_of_work", "country", "origin" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "nationalities": "conductor.Nationality", "conductors": "conductor" } }, { "question": "count the number of different #nationalities of conductors# .", "db_id": "orchestra", "orig_query": "select count(distinct nationality) from conductor", "schema_with_content": "conductor : age (49, 63, 41), country (\"USA\", \"UK\", \"France\"), conductor_id (8, 1, 11), origin (\"USA\", \"UK\", \"France\"), name (\"Charles Dutoit\", \"Robert Craft\", \"Robert Craft\"), year_of_work (21, 16, 6) | orchestra : year_of_founded (2006.0, 2007.0, 2008.0), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), record_company (\"Koch Records / Naxos Records\", \"Delos Records\", \"Columbia Masterworks\"), orchestra (\"London Symphony Orchestra\", \"San Francisco Symphony Orchestra\", \"Orchestre de Paris\"), conductor_id (1, 1, 8), orchestra_id (1, 9, 3) | performance : official_ratings_(millions) (7.51, 7.28, 5.2), type (\"Auditions 2\", \"Live final\", \"Semi-final 2\"), orchestra_id (5, 9, 10), share (\"34.0%\", \"29.4%\", \"29.3%\"), performance_id (10, 7, 9), weekly_rank (\"7\", \"2\", \"8\"), date (\"10 June\", \"9 June\", \"15 June\") | show : show_id (2, 5, 1), if_first_show (\"St. Mirren Park\", \"Hampden Park\", \"Hampden Park\"), attendance (555.0, 1026.0, 555.0), result (\"T\", \"F\"), performance_id (4, 4, 3)", "schema_without_content": "conductor : age , country , conductor_id , origin , name , year_of_work | orchestra : year_of_founded , major_record_format , record_company , orchestra , conductor_id , orchestra_id | performance : official_ratings_ , type , orchestra_id , share , performance_id , weekly_rank , date | show : show_id , if_first_show , attendance , result , performance_id", "extra_map": { "conductor": { "nationality": [ "country", "origin" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "year_of_work", "country", "origin" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "nationalities of conductors": "conductor.Nationality" } }, { "question": "list #names of conductors# in descending order of #years of work# .", "db_id": "orchestra", "orig_query": "select name from conductor order by year_of_work desc", "schema_with_content": "conductor : conductor_id (6, 12, 3), full_name (\"Antal Dor\u00c3\u00a1ti\", \"Robert Craft\", \"Robert Craft\"), age (41, 41, 43), nationality (\"USA\", \"UK\", \"France\"), title (\"Antal Dor\u00c3\u00a1ti\", \"Robert Craft\", \"Robert Craft\"), year_of_work (11, 16, 11) | orchestra : conductor_id (11, 1, 7), record_company (\"EMI\", \"Delos Records\", \"Philips\"), year_of_founded (2008.0, 2004.0, 2004.0), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), orchestra (\"San Francisco Symphony Orchestra\", \"Chicago Symphony Orchestra\", \"London Symphony Orchestra\"), orchestra_id (8, 12, 1) | performance : performance_id (1, 6, 10), date (\"10 June\", \"17 June\", \"2007\"), orchestra_id (6, 11, 4), share (\"40.9%\", \"22.7%\", \"40.9%\"), type (\"Semi-final 2\", \"Auditions 2\", \"Series average\"), official_ratings_(millions) (8.36, 11.58, 11.45), weekly_rank (\"7\", \"11\", \"1\") | show : result (\"T\", \"F\"), show_id (4, 5, 5), if_first_show (\"Glebe Park\", \"St. Mirren Park\", \"Glebe Park\"), performance_id (4, 2, 5), attendance (1026.0, 1925.0, 2431.0)", "schema_without_content": "conductor : conductor_id , full_name , age , nationality , title , year_of_work | orchestra : conductor_id , record_company , year_of_founded , major_record_format , orchestra , orchestra_id | performance : performance_id , date , orchestra_id , share , type , official_ratings_ , weekly_rank | show : result , show_id , if_first_show , performance_id , attendance", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "names of conductors": "conductor.Name", "years of work": "conductor.Year_of_Work" } }, { "question": "what are the #names of conductors# , sorted descending by the number of #years they have worked# ?", "db_id": "orchestra", "orig_query": "select name from conductor order by year_of_work desc", "schema_with_content": "conductor : year_of_work (21, 12, 10), conductor_id (8, 2, 4), nationality (\"USA\", \"UK\", \"France\"), age (63, 49, 41), full_name (\"Antal Brown\", \"Charles Dutoit\", \"Charles Dutoit\"), title (\"Antal Brown\", \"Charles Dutoit\", \"Charles Dutoit\") | orchestra : orchestra (\"Seattle Symphony Orchestra\", \"Royal Concertgebouw Orchestra\", \"Columbia Symphony Orchestra\"), orchestra_id (6, 6, 5), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), year_of_founded (2002.0, 2006.0, 2002.0), conductor_id (5, 11, 6), record_company (\"Delos Records\", \"Delos Records\", \"RCA\") | performance : date (\"10 June\", \"16 June\", \"10 June\"), share (\"34.0%\", \"28.0%\", \"28.0%\"), orchestra_id (1, 7, 3), type (\"Series average\", \"Live final results\", \"Auditions 4\"), official_ratings_(millions) (9.28, 6.73, 6.73), performance_id (9, 10, 4), weekly_rank (\"TBC\", \"9\", \"TBC\") | show : if_first_show (\"Fir Park\", \"Hampden Park\", \"Fir Park\"), result (\"T\", \"F\"), attendance (555.0, 2431.0, 2431.0), performance_id (2, 1, 4), show_id (1, 4, 5)", "schema_without_content": "conductor : year_of_work , conductor_id , nationality , age , full_name , title | orchestra : orchestra , orchestra_id , major_record_format , year_of_founded , conductor_id , record_company | performance : date , share , orchestra_id , type , official_ratings_ , performance_id , weekly_rank | show : if_first_show , result , attendance , performance_id , show_id", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "names of conductors": "conductor.Name", "years they have worked": "conductor.Year_of_Work" } }, { "question": "list the #name of the conductor# with the most #years of work# .", "db_id": "orchestra", "orig_query": "select name from conductor order by year_of_work desc limit 1", "schema_with_content": "conductor : conductor_id (7, 12, 4), full_name (\"Paul Jorgensen\", \"Robert Craft\", \"Charles Dutoit\"), nationality (\"USA\", \"UK\", \"France\"), age (49, 47, 49), title (\"Paul Jorgensen\", \"Robert Craft\", \"Charles Dutoit\"), year_of_work (16, 20, 12) | orchestra : conductor_id (10, 5, 9), orchestra (\"Montreal Symphony Orchestra\", \"Royal Concertgebouw Orchestra\", \"Detroit Symphony Orchestra\"), record_company (\"Decca Records\", \"Kultur\", \"Philips\"), orchestra_id (12, 3, 5), year_of_founded (2004.0, 2007.0, 2004.0), major_record_format (\"CD\", \"CD / LP\", \"DVD\") | performance : official_ratings_(millions) (11.58, 11.45, 7.51), orchestra_id (6, 5, 6), share (\"34.0%\", \"28.0%\", \"40.9%\"), type (\"Semi-final 1\", \"Live final\", \"Auditions 1\"), weekly_rank (\"11\", \"12\", \"8\"), performance_id (7, 11, 7), date (\"9 June\", \"16 June\", \"13 June\") | show : if_first_show (\"Hampden Park\", \"St. Mirren Park\", \"Glebe Park\"), performance_id (3, 3, 5), result (\"T\", \"F\"), show_id (5, 2, 2), attendance (555.0, 695.0, 1925.0)", "schema_without_content": "conductor : conductor_id , full_name , nationality , age , title , year_of_work | orchestra : conductor_id , orchestra , record_company , orchestra_id , year_of_founded , major_record_format | performance : official_ratings_ , orchestra_id , share , type , weekly_rank , performance_id , date | show : if_first_show , performance_id , result , show_id , attendance", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "name of the conductor": "conductor.Name", "years of work": "conductor.Year_of_Work" } }, { "question": "what is the #name of the conductor# who has #worked the greatest number of years# ?", "db_id": "orchestra", "orig_query": "select name from conductor order by year_of_work desc limit 1", "schema_with_content": "conductor : nationality (\"USA\", \"UK\", \"France\"), title (\"Michael Tilson Thomas\", \"Robert Craft\", \"Pierre Boulez\"), year_of_work (16, 11, 21), age (42, 40, 50), full_name (\"Michael Tilson Thomas\", \"Robert Craft\", \"Pierre Boulez\"), conductor_id (5, 5, 1) | orchestra : orchestra_id (1, 5, 10), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), year_of_founded (2003.0, 2008.0, 2003.0), orchestra (\"Seattle Symphony Orchestra\", \"Seattle Symphony Orchestra\", \"Chicago Symphony Orchestra\"), conductor_id (11, 9, 5), record_company (\"Decca Records\", \"Koch Records / Naxos Records\", \"EMI\") | performance : date (\"2007\", \"11 June\", \"13 June\"), weekly_rank (\"TBC\", \"8\", \"TBC\"), performance_id (9, 8, 7), type (\"Auditions 2\", \"Live final results\", \"Auditions 3\"), official_ratings_(millions) (11.58, 9.28, 7.51), orchestra_id (11, 7, 8), share (\"44.7%\", \"34.0%\", \"34%\") | show : result (\"T\", \"F\"), show_id (2, 3, 5), if_first_show (\"St. Mirren Park\", \"Hampden Park\", \"Fir Park\"), attendance (2431.0, 1026.0, 555.0), performance_id (1, 4, 2)", "schema_without_content": "conductor : nationality , title , year_of_work , age , full_name , conductor_id | orchestra : orchestra_id , major_record_format , year_of_founded , orchestra , conductor_id , record_company | performance : date , weekly_rank , performance_id , type , official_ratings_ , orchestra_id , share | show : result , show_id , if_first_show , attendance , performance_id", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "name of the conductor": "conductor.Name", "worked the greatest number of years": "conductor.Year_of_Work" } }, { "question": "show the #names of conductors# and the #orchestras# they have conducted.", "db_id": "orchestra", "orig_query": "select t1.name, t2.orchestra from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id", "schema_with_content": "conductor : age (41, 50, 47), nationality (\"USA\", \"UK\", \"France\"), year_of_work (10, 10, 12), conductor_id (12, 5, 4), title (\"Antal Brown\", \"Pierre Boulez\", \"Antal Brown\"), full_name (\"Antal Brown\", \"Pierre Boulez\", \"Antal Brown\") | orchestra : orchestra_id (4, 2, 3), orchestra (\"Royal Danish Orchestra\", \"Detroit Symphony Orchestra\", \"Columbia Symphony Orchestra\"), conductor_id (4, 4, 11), record_company (\"Columbia Masterworks\", \"Deutsche Grammophon\", \"Delos Records\"), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), year_of_founded (2004.0, 2003.0, 2009.0) | performance : weekly_rank (\"9\", \"1\", \"9\"), type (\"Series average\", \"Live final\", \"Auditions 4\"), official_ratings_(millions) (11.45, 7.39, 5.2), date (\"17 June\", \"9 June\", \"14 June\"), performance_id (9, 3, 10), orchestra_id (8, 2, 11), share (\"22.7%\", \"40.9%\", \"29.3%\") | show : show_id (3, 1, 1), attendance (695.0, 2431.0, 2431.0), performance_id (4, 1, 3), if_first_show (\"Fir Park\", \"St. Mirren Park\", \"Glebe Park\"), result (\"T\", \"F\")", "schema_without_content": "conductor : age , nationality , year_of_work , conductor_id , title , full_name | orchestra : orchestra_id , orchestra , conductor_id , record_company , major_record_format , year_of_founded | performance : weekly_rank , type , official_ratings_ , date , performance_id , orchestra_id , share | show : show_id , attendance , performance_id , if_first_show , result", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "names of conductors": "conductor.Name", "orchestras": "orchestra.Orchestra" } }, { "question": "show the #names of conductors# and the #orchestras# they have conducted.", "db_id": "orchestra", "orig_query": "select t1.name, t2.orchestra from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id", "schema_with_content": "conductor : conductor_id (12, 4, 12), nationality (\"USA\", \"UK\", \"France\"), name (\"Seiji Ozawa\", \"Paul Jorgensen\", \"Valeri Gergiev\"), age (43, 47, 47), year_of_work (21, 10, 10) | orchestra : orchestra_id (1, 3, 11), record_company (\"Columbia Masterworks\", \"Columbia Masterworks\", \"Koch Records / Naxos Records\"), ensemble_name (\"San Francisco Symphony Orchestra\", \"Columbia Symphony Orchestra\", \"Detroit Symphony Orchestra\"), band_name (\"San Francisco Symphony Orchestra\", \"Columbia Symphony Orchestra\", \"Detroit Symphony Orchestra\"), conductor_id (4, 7, 11), year_of_founded (2003.0, 2006.0, 2004.0), major_record_format (\"CD\", \"CD / LP\", \"DVD\") | performance : performance_id (4, 1, 7), orchestra_id (11, 11, 3), type (\"Auditions 3\", \"Semi-final 2\", \"Auditions 3\"), weekly_rank (\"TBC\", \"8\", \"12\"), official_ratings_(millions) (8.38, 7.39, 7.51), date (\"15 June\", \"12 June\", \"14 June\"), share (\"29.2%\", \"34%\", \"44.7%\") | show : performance_id (1, 2, 5), if_first_show (\"Hampden Park\", \"Fir Park\", \"Fir Park\"), show_id (1, 1, 4), attendance (2431.0, 1026.0, 695.0), result (\"T\", \"F\")", "schema_without_content": "conductor : conductor_id , nationality , name , age , year_of_work | orchestra : orchestra_id , record_company , ensemble_name , band_name , conductor_id , year_of_founded , major_record_format | performance : performance_id , orchestra_id , type , weekly_rank , official_ratings_ , date , share | show : performance_id , if_first_show , show_id , attendance , result", "extra_map": { "orchestra": { "orchestra": [ "ensemble_name", "band_name" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "conductor_id", "record_company", "year_of_founded", "major_record_format", "ensemble_name", "band_name" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "names of conductors": "conductor.Name", "orchestras": "orchestra.Orchestra" } }, { "question": "what are the #names of conductors# as well as the corresonding #orchestras# that they have conducted?", "db_id": "orchestra", "orig_query": "select t1.name, t2.orchestra from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id", "schema_with_content": "conductor : title (\"Gerard Schwarz\", \"Valeri Gergiev\", \"Valeri Gergiev\"), conductor_id (1, 5, 10), year_of_work (12, 20, 6), nationality (\"USA\", \"UK\", \"France\"), age (47, 41, 63), full_name (\"Gerard Schwarz\", \"Valeri Gergiev\", \"Valeri Gergiev\") | orchestra : orchestra (\"Royal Danish Orchestra\", \"Orchestre de Paris\", \"Columbia Symphony Orchestra\"), record_company (\"Delos Records\", \"Mercury Records\", \"RCA\"), conductor_id (6, 2, 1), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), year_of_founded (2009.0, 2006.0, 2006.0), orchestra_id (9, 11, 9) | performance : type (\"Auditions 1\", \"Series average\", \"Semi-final 2\"), performance_id (6, 1, 6), orchestra_id (4, 6, 11), share (\"22.7%\", \"38.1%\", \"38.1%\"), weekly_rank (\"2\", \"13\", \"1\"), official_ratings_(millions) (8.36, 7.51, 9.28), date (\"13 June\", \"2007\", \"15 June\") | show : attendance (695.0, 2431.0, 1026.0), show_id (2, 5, 5), result (\"T\", \"F\"), performance_id (5, 2, 4), if_first_show (\"Glebe Park\", \"St. Mirren Park\", \"Hampden Park\")", "schema_without_content": "conductor : title , conductor_id , year_of_work , nationality , age , full_name | orchestra : orchestra , record_company , conductor_id , major_record_format , year_of_founded , orchestra_id | performance : type , performance_id , orchestra_id , share , weekly_rank , official_ratings_ , date | show : attendance , show_id , result , performance_id , if_first_show", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "names of conductors": "conductor.Name", "orchestras": "orchestra.Orchestra" } }, { "question": "what are the #names of conductors# as well as the corresonding #orchestras# that they have conducted?", "db_id": "orchestra", "orig_query": "select t1.name, t2.orchestra from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id", "schema_with_content": "conductor : conductor_id (8, 4, 12), year_of_work (6, 10, 12), age (40, 43, 41), nationality (\"USA\", \"UK\", \"France\"), name (\"Michael Tilson Thomas\", \"Antal Dor\u00c3\u00a1ti\", \"Charles Dutoit\") | orchestra : record_company (\"Deutsche Grammophon\", \"Philips Classics Records\", \"EMI\"), conductor_id (8, 6, 3), band_name (\"Detroit Symphony Orchestra\", \"Chicago Symphony Orchestra\", \"London Symphony Orchestra\"), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), year_of_founded (2002.0, 2006.0, 2003.0), ensemble_name (\"Detroit Symphony Orchestra\", \"Chicago Symphony Orchestra\", \"London Symphony Orchestra\"), orchestra_id (4, 5, 3) | performance : share (\"38.1%\", \"22.7%\", \"43.7%\"), orchestra_id (10, 5, 2), official_ratings_(millions) (6.73, 6.73, 7.39), performance_id (5, 4, 5), type (\"Series average\", \"Live final results\", \"Live final results\"), weekly_rank (\"TBC\", \"13\", \"1\"), date (\"13 June\", \"17 June\", \"15 June\") | show : attendance (1026.0, 555.0, 1026.0), if_first_show (\"Glebe Park\", \"Fir Park\", \"St. Mirren Park\"), performance_id (4, 3, 1), result (\"T\", \"F\"), show_id (3, 2, 5)", "schema_without_content": "conductor : conductor_id , year_of_work , age , nationality , name | orchestra : record_company , conductor_id , band_name , major_record_format , year_of_founded , ensemble_name , orchestra_id | performance : share , orchestra_id , official_ratings_ , performance_id , type , weekly_rank , date | show : attendance , if_first_show , performance_id , result , show_id", "extra_map": { "orchestra": { "orchestra": [ "ensemble_name", "band_name" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "conductor_id", "record_company", "year_of_founded", "major_record_format", "ensemble_name", "band_name" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "names of conductors": "conductor.Name", "orchestras": "orchestra.Orchestra" } }, { "question": "show the #names of conductors# that have conducted more than one #orchestras# .", "db_id": "orchestra", "orig_query": "select t1.name from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id group by t2.conductor_id having count(*) > 1", "schema_with_content": "conductor : conductor_id (5, 5, 10), nationality (\"USA\", \"UK\", \"France\"), title (\"Gerard Schwarz\", \"Paul Jorgensen\", \"Pierre Boulez\"), age (50, 49, 43), full_name (\"Gerard Schwarz\", \"Paul Jorgensen\", \"Pierre Boulez\"), year_of_work (11, 16, 10) | orchestra : year_of_founded (2004.0, 2006.0, 2003.0), orchestra_id (4, 2, 3), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), record_company (\"Mercury Records\", \"EMI\", \"Delos Records\"), orchestra (\"Royal Danish Orchestra\", \"Royal Concertgebouw Orchestra\", \"Royal Concertgebouw Orchestra\"), conductor_id (2, 1, 2) | performance : type (\"Semi-final 2\", \"Semi-final 3\", \"Auditions 4\"), date (\"15 June\", \"16 June\", \"9 June\"), orchestra_id (5, 7, 11), share (\"29.2%\", \"29.4%\", \"44.7%\"), performance_id (5, 9, 11), official_ratings_(millions) (7.51, 9.28, 8.36), weekly_rank (\"1\", \"7\", \"TBC\") | show : attendance (555.0, 2431.0, 1925.0), performance_id (4, 3, 4), if_first_show (\"Fir Park\", \"St. Mirren Park\", \"Hampden Park\"), show_id (3, 2, 2), result (\"T\", \"F\")", "schema_without_content": "conductor : conductor_id , nationality , title , age , full_name , year_of_work | orchestra : year_of_founded , orchestra_id , major_record_format , record_company , orchestra , conductor_id | performance : type , date , orchestra_id , share , performance_id , official_ratings_ , weekly_rank | show : attendance , performance_id , if_first_show , show_id , result", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "names of conductors": "conductor.Name", "orchestras": "orchestra" } }, { "question": "what are the #names of conductors# who have conducted at more than one #orchestra# ?", "db_id": "orchestra", "orig_query": "select t1.name from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id group by t2.conductor_id having count(*) > 1", "schema_with_content": "conductor : year_of_work (12, 16, 12), age (63, 42, 42), nationality (\"USA\", \"UK\", \"France\"), full_name (\"Pierre Boulez\", \"Gerard Schwarz\", \"Antal Dor\u00c3\u00a1ti\"), title (\"Pierre Boulez\", \"Gerard Schwarz\", \"Antal Dor\u00c3\u00a1ti\"), conductor_id (10, 1, 11) | orchestra : orchestra_id (8, 11, 11), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), record_company (\"RCA\", \"Koch Records / Naxos Records\", \"Columbia Masterworks\"), orchestra (\"Kirov Orchestra\", \"Chicago Symphony Orchestra\", \"Kirov Orchestra\"), conductor_id (1, 12, 2), year_of_founded (2009.0, 2009.0, 2007.0) | performance : official_ratings_(millions) (6.73, 11.45, 11.45), performance_id (4, 2, 2), weekly_rank (\"2\", \"15\", \"11\"), date (\"16 June\", \"12 June\", \"12 June\"), orchestra_id (7, 7, 9), type (\"Auditions 2\", \"Auditions 5\", \"Auditions 4\"), share (\"34.0%\", \"29.2%\", \"29.2%\") | show : show_id (5, 2, 2), result (\"T\", \"F\"), attendance (695.0, 2431.0, 2431.0), performance_id (1, 2, 5), if_first_show (\"Fir Park\", \"St. Mirren Park\", \"Glebe Park\")", "schema_without_content": "conductor : year_of_work , age , nationality , full_name , title , conductor_id | orchestra : orchestra_id , major_record_format , record_company , orchestra , conductor_id , year_of_founded | performance : official_ratings_ , performance_id , weekly_rank , date , orchestra_id , type , share | show : show_id , result , attendance , performance_id , if_first_show", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "names of conductors": "conductor.Name", "orchestra": "orchestra" } }, { "question": "show the #name of the conductor# that has conducted the most number of #orchestras# .", "db_id": "orchestra", "orig_query": "select t1.name from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id group by t2.conductor_id order by count(*) desc limit 1", "schema_with_content": "conductor : title (\"Charles Dutoit\", \"Robert Craft\", \"Robert Craft\"), conductor_id (11, 3, 2), full_name (\"Charles Dutoit\", \"Robert Craft\", \"Robert Craft\"), age (42, 50, 42), year_of_work (11, 20, 20), nationality (\"USA\", \"UK\", \"France\") | orchestra : orchestra (\"San Francisco Symphony Orchestra\", \"Kirov Orchestra\", \"Royal Concertgebouw Orchestra\"), year_of_founded (2002.0, 2002.0, 2008.0), conductor_id (5, 7, 8), record_company (\"Koch Records / Naxos Records\", \"Koch Records / Naxos Records\", \"Delos Records\"), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), orchestra_id (12, 8, 10) | performance : performance_id (4, 8, 9), share (\"43.7%\", \"29.4%\", \"34%\"), weekly_rank (\"2\", \"13\", \"2\"), official_ratings_(millions) (8.36, 7.28, 9.28), orchestra_id (5, 10, 9), type (\"Auditions 3\", \"Live final\", \"Live final results\"), date (\"11 June\", \"2007\", \"12 June\") | show : result (\"T\", \"F\"), if_first_show (\"Fir Park\", \"Fir Park\", \"Hampden Park\"), show_id (1, 3, 5), performance_id (1, 2, 1), attendance (1026.0, 1026.0, 2431.0)", "schema_without_content": "conductor : title , conductor_id , full_name , age , year_of_work , nationality | orchestra : orchestra , year_of_founded , conductor_id , record_company , major_record_format , orchestra_id | performance : performance_id , share , weekly_rank , official_ratings_ , orchestra_id , type , date | show : result , if_first_show , show_id , performance_id , attendance", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "name of the conductor": "conductor.Name", "orchestras": "orchestra" } }, { "question": "what is the #name of the conductor# who has conducted the most #orchestras# ?", "db_id": "orchestra", "orig_query": "select t1.name from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id group by t2.conductor_id order by count(*) desc limit 1", "schema_with_content": "conductor : nationality (\"USA\", \"UK\", \"France\"), full_name (\"Robert Craft\", \"Valeri Gergiev\", \"Antal Brown\"), age (43, 43, 50), year_of_work (16, 10, 6), title (\"Robert Craft\", \"Valeri Gergiev\", \"Antal Brown\"), conductor_id (2, 3, 3) | orchestra : record_company (\"Delos Records\", \"Columbia Masterworks\", \"Decca Records\"), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), orchestra_id (5, 11, 2), conductor_id (10, 1, 12), orchestra (\"Orchestre de Paris\", \"Montreal Symphony Orchestra\", \"Royal Concertgebouw Orchestra\"), year_of_founded (2009.0, 2008.0, 2009.0) | performance : orchestra_id (5, 4, 7), share (\"40.9%\", \"43.7%\", \"28.0%\"), official_ratings_(millions) (6.73, 9.29, 5.2), weekly_rank (\"TBC\", \"2\", \"8\"), date (\"10 June\", \"14 June\", \"9 June\"), performance_id (8, 6, 2), type (\"Auditions 3\", \"Auditions 2\", \"Live final results\") | show : show_id (5, 5, 2), result (\"T\", \"F\"), if_first_show (\"St. Mirren Park\", \"Hampden Park\", \"St. Mirren Park\"), attendance (555.0, 1925.0, 1026.0), performance_id (1, 4, 3)", "schema_without_content": "conductor : nationality , full_name , age , year_of_work , title , conductor_id | orchestra : record_company , major_record_format , orchestra_id , conductor_id , orchestra , year_of_founded | performance : orchestra_id , share , official_ratings_ , weekly_rank , date , performance_id , type | show : show_id , result , if_first_show , attendance , performance_id", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "name of the conductor": "conductor.Name", "orchestras": "orchestra" } }, { "question": "please show the #name# of the conductor that has conducted #orchestras founded after 2008# .", "db_id": "orchestra", "orig_query": "select t1.name from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id where year_of_founded > 2008", "schema_with_content": "conductor : conductor_id (10, 7, 9), title (\"Igor Stravinsky\", \"Paul Jorgensen\", \"Charles Dutoit\"), full_name (\"Igor Stravinsky\", \"Paul Jorgensen\", \"Charles Dutoit\"), age (47, 40, 41), nationality (\"USA\", \"UK\", \"France\"), year_of_work (11, 21, 6) | orchestra : record_company (\"Philips Classics Records\", \"Decca Records\", \"Deutsche Grammophon\"), conductor_id (7, 9, 9), orchestra (\"Montreal Symphony Orchestra\", \"London Symphony Orchestra\", \"Royal Concertgebouw Orchestra\"), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), year_of_founded (2004.0, 2008.0, 2003.0), orchestra_id (7, 10, 10) | performance : share (\"22.7%\", \"28.0%\", \"28.0%\"), official_ratings_(millions) (8.38, 11.45, 7.39), date (\"9 June\", \"14 June\", \"2007\"), type (\"Auditions 2\", \"Semi-final 2\", \"Semi-final 2\"), performance_id (5, 9, 8), weekly_rank (\"7\", \"2\", \"7\"), orchestra_id (7, 11, 7) | show : performance_id (2, 1, 2), attendance (2431.0, 1925.0, 1026.0), result (\"T\", \"F\"), if_first_show (\"Hampden Park\", \"Glebe Park\", \"Hampden Park\"), show_id (4, 3, 4)", "schema_without_content": "conductor : conductor_id , title , full_name , age , nationality , year_of_work | orchestra : record_company , conductor_id , orchestra , major_record_format , year_of_founded , orchestra_id | performance : share , official_ratings_ , date , type , performance_id , weekly_rank , orchestra_id | show : performance_id , attendance , result , if_first_show , show_id", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "name": "conductor.Name", "orchestras founded after 2008": "orchestra.Year_of_Founded" } }, { "question": "what are the #names of conductors# who have conducted #orchestras founded after the year 2008# ?", "db_id": "orchestra", "orig_query": "select t1.name from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id where year_of_founded > 2008", "schema_with_content": "conductor : age (40, 47, 43), title (\"Antal Brown\", \"Charles Dutoit\", \"Seiji Ozawa\"), full_name (\"Antal Brown\", \"Charles Dutoit\", \"Seiji Ozawa\"), year_of_work (20, 6, 12), nationality (\"USA\", \"UK\", \"France\"), conductor_id (3, 1, 2) | orchestra : year_of_founded (2004.0, 2002.0, 2009.0), orchestra (\"Kirov Orchestra\", \"Seattle Symphony Orchestra\", \"Columbia Symphony Orchestra\"), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), orchestra_id (4, 7, 4), conductor_id (7, 7, 1), record_company (\"Columbia Masterworks\", \"Philips Classics Records\", \"Deutsche Grammophon\") | performance : weekly_rank (\"TBC\", \"15\", \"12\"), official_ratings_(millions) (11.58, 9.29, 11.45), date (\"2007\", \"2007\", \"15 June\"), share (\"29.2%\", \"22.7%\", \"38.1%\"), type (\"Auditions 4\", \"Auditions 1\", \"Auditions 4\"), orchestra_id (2, 9, 10), performance_id (4, 10, 10) | show : if_first_show (\"St. Mirren Park\", \"St. Mirren Park\", \"Hampden Park\"), performance_id (3, 2, 2), show_id (2, 3, 3), result (\"T\", \"F\"), attendance (1026.0, 555.0, 555.0)", "schema_without_content": "conductor : age , title , full_name , year_of_work , nationality , conductor_id | orchestra : year_of_founded , orchestra , major_record_format , orchestra_id , conductor_id , record_company | performance : weekly_rank , official_ratings_ , date , share , type , orchestra_id , performance_id | show : if_first_show , performance_id , show_id , result , attendance", "extra_map": { "conductor": { "name": [ "full_name", "title" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "age", "nationality", "year_of_work", "full_name", "title" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "major_record_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "names of conductors": "conductor.Name", "orchestras founded after the year 2008": "orchestra.Year_of_Founded" } }, { "question": "please show the different #record companies# and the corresponding #number of orchestras# .", "db_id": "orchestra", "orig_query": "select record_company, count(*) from orchestra group by record_company", "schema_with_content": "conductor : age (49, 41, 50), conductor_id (1, 10, 4), nationality (\"USA\", \"UK\", \"France\"), year_of_work (11, 20, 10), name (\"Robert Craft\", \"Valeri Gergiev\", \"Charles Dutoit\") | orchestra : orchestra (\"Royal Danish Orchestra\", \"Chicago Symphony Orchestra\", \"Philharmonia Orchestra\"), audio_company (\"Philips\", \"EMI\", \"EMI\"), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), orchestra_id (12, 2, 6), conductor_id (10, 10, 2), year_of_founded (2002.0, 2002.0, 2007.0), recording_label (\"Philips\", \"EMI\", \"EMI\") | performance : share (\"43.7%\", \"34%\", \"22.7%\"), official_ratings_(millions) (7.28, 11.58, 6.73), orchestra_id (6, 4, 5), weekly_rank (\"15\", \"1\", \"8\"), type (\"Live final results\", \"Auditions 3\", \"Live final results\"), date (\"15 June\", \"2007\", \"13 June\"), performance_id (1, 10, 3) | show : if_first_show (\"Glebe Park\", \"Glebe Park\", \"St. Mirren Park\"), result (\"T\", \"F\"), show_id (5, 4, 2), performance_id (1, 4, 5), attendance (2431.0, 695.0, 695.0)", "schema_without_content": "conductor : age , conductor_id , nationality , year_of_work , name | orchestra : orchestra , audio_company , major_record_format , orchestra_id , conductor_id , year_of_founded , recording_label | performance : share , official_ratings_ , orchestra_id , weekly_rank , type , date , performance_id | show : if_first_show , result , show_id , performance_id , attendance", "extra_map": { "orchestra": { "record_company": [ "recording_label", "audio_company" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "year_of_founded", "major_record_format", "recording_label", "audio_company" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "record companies": "orchestra.Record_Company", "number of orchestras": "orchestra" } }, { "question": "how many #orchestras# does each #record company# manage?", "db_id": "orchestra", "orig_query": "select record_company, count(*) from orchestra group by record_company", "schema_with_content": "conductor : nationality (\"USA\", \"UK\", \"France\"), conductor_id (8, 8, 5), year_of_work (12, 10, 10), age (49, 40, 50), name (\"Colin Davis\", \"Seiji Ozawa\", \"Robert Craft\") | orchestra : orchestra_id (2, 3, 6), year_of_founded (2007.0, 2006.0, 2008.0), orchestra (\"Royal Concertgebouw Orchestra\", \"Detroit Symphony Orchestra\", \"San Francisco Symphony Orchestra\"), conductor_id (7, 1, 10), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), recording_label (\"Columbia Masterworks\", \"RCA\", \"Kultur\"), audio_company (\"Columbia Masterworks\", \"RCA\", \"Kultur\") | performance : official_ratings_(millions) (9.29, 8.38, 7.39), performance_id (6, 3, 9), share (\"28.0%\", \"44.7%\", \"44.7%\"), weekly_rank (\"12\", \"7\", \"1\"), type (\"Auditions 2\", \"Auditions 5\", \"Live final\"), orchestra_id (5, 7, 11), date (\"9 June\", \"16 June\", \"11 June\") | show : performance_id (1, 3, 5), attendance (1925.0, 1925.0, 2431.0), if_first_show (\"Glebe Park\", \"Hampden Park\", \"Hampden Park\"), show_id (2, 2, 2), result (\"T\", \"F\")", "schema_without_content": "conductor : nationality , conductor_id , year_of_work , age , name | orchestra : orchestra_id , year_of_founded , orchestra , conductor_id , major_record_format , recording_label , audio_company | performance : official_ratings_ , performance_id , share , weekly_rank , type , orchestra_id , date | show : performance_id , attendance , if_first_show , show_id , result", "extra_map": { "orchestra": { "record_company": [ "recording_label", "audio_company" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "year_of_founded", "major_record_format", "recording_label", "audio_company" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "orchestras": "orchestra", "record company": "orchestra.Record_Company" } }, { "question": "please show the #record formats of orchestras# in ascending order of count.", "db_id": "orchestra", "orig_query": "select major_record_format from orchestra group by major_record_format order by count(*) asc", "schema_with_content": "conductor : nationality (\"USA\", \"UK\", \"France\"), age (47, 43, 41), name (\"Valeri Gergiev\", \"Michael Tilson Thomas\", \"Igor Stravinsky\"), year_of_work (12, 11, 12), conductor_id (11, 4, 8) | orchestra : year_of_founded (2003.0, 2007.0, 2003.0), record_company (\"Delos Records\", \"EMI\", \"Philips Classics Records\"), dominant_record_type (\"CD\", \"CD / LP\", \"DVD\"), primary_format (\"CD\", \"CD / LP\", \"DVD\"), orchestra (\"Columbia Symphony Orchestra\", \"Orchestre de Paris\", \"Orchestre de Paris\"), orchestra_id (2, 5, 12), conductor_id (2, 4, 11) | performance : share (\"34%\", \"29.3%\", \"40.9%\"), type (\"Auditions 5\", \"Auditions 1\", \"Auditions 3\"), date (\"11 June\", \"14 June\", \"14 June\"), orchestra_id (4, 7, 4), weekly_rank (\"12\", \"TBC\", \"7\"), performance_id (1, 10, 8), official_ratings_(millions) (9.29, 7.28, 5.2) | show : if_first_show (\"St. Mirren Park\", \"St. Mirren Park\", \"Hampden Park\"), result (\"T\", \"F\"), show_id (1, 4, 2), attendance (1925.0, 1925.0, 2431.0), performance_id (1, 2, 5)", "schema_without_content": "conductor : nationality , age , name , year_of_work , conductor_id | orchestra : year_of_founded , record_company , dominant_record_type , primary_format , orchestra , orchestra_id , conductor_id | performance : share , type , date , orchestra_id , weekly_rank , performance_id , official_ratings_ | show : if_first_show , result , show_id , attendance , performance_id", "extra_map": { "orchestra": { "major_record_format": [ "dominant_record_type", "primary_format" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "dominant_record_type", "primary_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "record formats of orchestras": "orchestra.Major_Record_Format" } }, { "question": "what are the #major record formats of orchestras# , sorted by their frequency?", "db_id": "orchestra", "orig_query": "select major_record_format from orchestra group by major_record_format order by count(*) asc", "schema_with_content": "conductor : year_of_work (11, 20, 16), age (50, 42, 63), conductor_id (9, 8, 8), name (\"Antal Brown\", \"Paul Jorgensen\", \"Seiji Ozawa\"), nationality (\"USA\", \"UK\", \"France\") | orchestra : orchestra_id (10, 9, 10), record_company (\"Deutsche Grammophon\", \"Philips\", \"Deutsche Grammophon\"), dominant_record_type (\"CD\", \"CD / LP\", \"DVD\"), year_of_founded (2004.0, 2004.0, 2009.0), orchestra (\"Royal Concertgebouw Orchestra\", \"Montreal Symphony Orchestra\", \"Chicago Symphony Orchestra\"), conductor_id (2, 5, 9), primary_format (\"CD\", \"CD / LP\", \"DVD\") | performance : type (\"Live final results\", \"Auditions 4\", \"Auditions 5\"), weekly_rank (\"15\", \"TBC\", \"15\"), orchestra_id (1, 6, 11), performance_id (11, 5, 7), date (\"2007\", \"10 June\", \"10 June\"), official_ratings_(millions) (6.73, 7.39, 7.39), share (\"38.1%\", \"34.0%\", \"40.9%\") | show : result (\"T\", \"F\"), if_first_show (\"Hampden Park\", \"Hampden Park\", \"Hampden Park\"), performance_id (2, 3, 3), attendance (1925.0, 695.0, 555.0), show_id (3, 2, 2)", "schema_without_content": "conductor : year_of_work , age , conductor_id , name , nationality | orchestra : orchestra_id , record_company , dominant_record_type , year_of_founded , orchestra , conductor_id , primary_format | performance : type , weekly_rank , orchestra_id , performance_id , date , official_ratings_ , share | show : result , if_first_show , performance_id , attendance , show_id", "extra_map": { "orchestra": { "major_record_format": [ "dominant_record_type", "primary_format" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "year_of_founded", "dominant_record_type", "primary_format" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "major record formats of orchestras": "orchestra.Major_Record_Format" } }, { "question": "list the #record company# shared by the most number of #orchestras# .", "db_id": "orchestra", "orig_query": "select record_company from orchestra group by record_company order by count(*) desc limit 1", "schema_with_content": "conductor : nationality (\"USA\", \"UK\", \"France\"), age (63, 41, 49), name (\"Igor Stravinsky\", \"Robert Craft\", \"Valeri Gergiev\"), conductor_id (12, 10, 10), year_of_work (16, 20, 11) | orchestra : audio_company (\"Deutsche Grammophon\", \"Philips Classics Records\", \"Philips Classics Records\"), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), orchestra (\"Philharmonia Orchestra\", \"Columbia Symphony Orchestra\", \"Royal Danish Orchestra\"), recording_label (\"Deutsche Grammophon\", \"Philips Classics Records\", \"Philips Classics Records\"), conductor_id (3, 1, 1), orchestra_id (6, 10, 1), year_of_founded (2004.0, 2003.0, 2004.0) | performance : type (\"Semi-final 2\", \"Semi-final 2\", \"Auditions 4\"), orchestra_id (8, 9, 9), share (\"44.7%\", \"29.3%\", \"34%\"), official_ratings_(millions) (9.29, 8.38, 7.51), weekly_rank (\"2\", \"11\", \"2\"), date (\"15 June\", \"17 June\", \"9 June\"), performance_id (8, 9, 10) | show : show_id (5, 3, 5), attendance (1925.0, 695.0, 695.0), if_first_show (\"Glebe Park\", \"Fir Park\", \"Hampden Park\"), result (\"T\", \"F\"), performance_id (4, 3, 4)", "schema_without_content": "conductor : nationality , age , name , conductor_id , year_of_work | orchestra : audio_company , major_record_format , orchestra , recording_label , conductor_id , orchestra_id , year_of_founded | performance : type , orchestra_id , share , official_ratings_ , weekly_rank , date , performance_id | show : show_id , attendance , if_first_show , result , performance_id", "extra_map": { "orchestra": { "record_company": [ "recording_label", "audio_company" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "year_of_founded", "major_record_format", "recording_label", "audio_company" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "record company": "orchestra.Record_Company", "orchestras": "orchestra" } }, { "question": "what is the #record company# used by the greatest number of #orchestras# ?", "db_id": "orchestra", "orig_query": "select record_company from orchestra group by record_company order by count(*) desc limit 1", "schema_with_content": "conductor : conductor_id (8, 4, 8), nationality (\"USA\", \"UK\", \"France\"), year_of_work (11, 11, 11), name (\"Pierre Boulez\", \"Igor Stravinsky\", \"Antal Dor\u00c3\u00a1ti\"), age (63, 63, 42) | orchestra : year_of_founded (2002.0, 2006.0, 2004.0), audio_company (\"Kultur\", \"Philips Classics Records\", \"Philips Classics Records\"), orchestra_id (3, 6, 7), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), conductor_id (11, 5, 4), recording_label (\"Kultur\", \"Philips Classics Records\", \"Philips Classics Records\"), orchestra (\"Royal Danish Orchestra\", \"Orchestre de Paris\", \"Columbia Symphony Orchestra\") | performance : performance_id (8, 7, 6), share (\"40.9%\", \"38.1%\", \"44.7%\"), official_ratings_(millions) (8.36, 11.58, 11.58), type (\"Auditions 3\", \"Semi-final 3\", \"Auditions 3\"), orchestra_id (5, 2, 11), weekly_rank (\"2\", \"8\", \"7\"), date (\"16 June\", \"12 June\", \"11 June\") | show : performance_id (4, 4, 1), attendance (695.0, 695.0, 2431.0), if_first_show (\"Hampden Park\", \"Glebe Park\", \"Hampden Park\"), show_id (2, 4, 1), result (\"T\", \"F\")", "schema_without_content": "conductor : conductor_id , nationality , year_of_work , name , age | orchestra : year_of_founded , audio_company , orchestra_id , major_record_format , conductor_id , recording_label , orchestra | performance : performance_id , share , official_ratings_ , type , orchestra_id , weekly_rank , date | show : performance_id , attendance , if_first_show , show_id , result", "extra_map": { "orchestra": { "record_company": [ "recording_label", "audio_company" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "year_of_founded", "major_record_format", "recording_label", "audio_company" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "record company": "orchestra.Record_Company", "orchestras": "orchestra" } }, { "question": "list the #names of orchestras# that have no #performance# .", "db_id": "orchestra", "orig_query": "select orchestra from orchestra where orchestra_id not in (select orchestra_id from performance)", "schema_with_content": "conductor : nationality (\"USA\", \"UK\", \"France\"), year_of_work (12, 10, 12), conductor_id (9, 10, 9), age (40, 41, 41), name (\"Colin Davis\", \"Paul Jorgensen\", \"Michael Tilson Thomas\") | orchestra : record_company (\"Philips Classics Records\", \"Decca Records\", \"Delos Records\"), orchestra_id (8, 9, 8), year_of_founded (2004.0, 2009.0, 2002.0), ensemble_name (\"Philharmonia Orchestra\", \"Kirov Orchestra\", \"Royal Concertgebouw Orchestra\"), conductor_id (5, 12, 10), band_name (\"Philharmonia Orchestra\", \"Kirov Orchestra\", \"Royal Concertgebouw Orchestra\"), major_record_format (\"CD\", \"CD / LP\", \"DVD\") | performance : share (\"28.0%\", \"29.3%\", \"40.9%\"), weekly_rank (\"13\", \"13\", \"11\"), type (\"Semi-final 2\", \"Auditions 4\", \"Auditions 2\"), orchestra_id (1, 10, 3), date (\"12 June\", \"16 June\", \"15 June\"), official_ratings_(millions) (9.28, 7.51, 7.39), performance_id (7, 11, 6) | show : performance_id (5, 4, 5), result (\"T\", \"F\"), attendance (1026.0, 1925.0, 1026.0), if_first_show (\"Glebe Park\", \"Hampden Park\", \"Hampden Park\"), show_id (5, 1, 5)", "schema_without_content": "conductor : nationality , year_of_work , conductor_id , age , name | orchestra : record_company , orchestra_id , year_of_founded , ensemble_name , conductor_id , band_name , major_record_format | performance : share , weekly_rank , type , orchestra_id , date , official_ratings_ , performance_id | show : performance_id , result , attendance , if_first_show , show_id", "extra_map": { "orchestra": { "orchestra": [ "ensemble_name", "band_name" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "conductor_id", "record_company", "year_of_founded", "major_record_format", "ensemble_name", "band_name" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "names of orchestras": "orchestra.Orchestra", "performance": "performance" } }, { "question": "what are the #orchestras# that do not have any #performances# ?", "db_id": "orchestra", "orig_query": "select orchestra from orchestra where orchestra_id not in (select orchestra_id from performance)", "schema_with_content": "conductor : year_of_work (6, 16, 12), name (\"Colin Davis\", \"Colin Davis\", \"Antal Brown\"), age (63, 40, 63), nationality (\"USA\", \"UK\", \"France\"), conductor_id (5, 9, 12) | orchestra : conductor_id (2, 9, 6), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), record_company (\"Mercury Records\", \"Kultur\", \"Philips Classics Records\"), ensemble_name (\"Detroit Symphony Orchestra\", \"Kirov Orchestra\", \"Columbia Symphony Orchestra\"), year_of_founded (2008.0, 2007.0, 2003.0), band_name (\"Detroit Symphony Orchestra\", \"Kirov Orchestra\", \"Columbia Symphony Orchestra\"), orchestra_id (7, 3, 1) | performance : orchestra_id (10, 11, 1), performance_id (5, 10, 9), share (\"22.7%\", \"38.1%\", \"43.7%\"), type (\"Auditions 3\", \"Auditions 3\", \"Series average\"), date (\"10 June\", \"17 June\", \"11 June\"), weekly_rank (\"8\", \"2\", \"12\"), official_ratings_(millions) (7.39, 6.73, 8.38) | show : show_id (4, 2, 3), if_first_show (\"Glebe Park\", \"St. Mirren Park\", \"Hampden Park\"), result (\"T\", \"F\"), performance_id (1, 5, 4), attendance (1026.0, 695.0, 1925.0)", "schema_without_content": "conductor : year_of_work , name , age , nationality , conductor_id | orchestra : conductor_id , major_record_format , record_company , ensemble_name , year_of_founded , band_name , orchestra_id | performance : orchestra_id , performance_id , share , type , date , weekly_rank , official_ratings_ | show : show_id , if_first_show , result , performance_id , attendance", "extra_map": { "orchestra": { "orchestra": [ "ensemble_name", "band_name" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "conductor_id", "record_company", "year_of_founded", "major_record_format", "ensemble_name", "band_name" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "orchestras": "orchestra.Orchestra", "performances": "performance" } }, { "question": "show the #record companies# shared by #orchestras founded before 2003 and after 2003# .", "db_id": "orchestra", "orig_query": "select record_company from orchestra where year_of_founded < 2003 intersect select record_company from orchestra where year_of_founded > 2003", "schema_with_content": "conductor : conductor_id (7, 6, 8), nationality (\"USA\", \"UK\", \"France\"), age (41, 47, 49), year_of_work (11, 10, 16), name (\"Antal Dor\u00c3\u00a1ti\", \"Robert Craft\", \"Robert Craft\") | orchestra : orchestra_id (3, 6, 12), conductor_id (7, 10, 3), year_of_founded (2008.0, 2008.0, 2006.0), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), audio_company (\"Decca Records\", \"RCA\", \"Mercury Records\"), recording_label (\"Decca Records\", \"RCA\", \"Mercury Records\"), orchestra (\"London Symphony Orchestra\", \"San Francisco Symphony Orchestra\", \"Chicago Symphony Orchestra\") | performance : type (\"Live final\", \"Semi-final 2\", \"Auditions 5\"), orchestra_id (9, 6, 3), performance_id (6, 6, 3), share (\"29.3%\", \"34.0%\", \"40.9%\"), official_ratings_(millions) (7.39, 6.73, 8.38), weekly_rank (\"7\", \"12\", \"1\"), date (\"2007\", \"14 June\", \"2007\") | show : attendance (2431.0, 555.0, 555.0), performance_id (1, 5, 3), if_first_show (\"Glebe Park\", \"St. Mirren Park\", \"Glebe Park\"), show_id (5, 1, 4), result (\"T\", \"F\")", "schema_without_content": "conductor : conductor_id , nationality , age , year_of_work , name | orchestra : orchestra_id , conductor_id , year_of_founded , major_record_format , audio_company , recording_label , orchestra | performance : type , orchestra_id , performance_id , share , official_ratings_ , weekly_rank , date | show : attendance , performance_id , if_first_show , show_id , result", "extra_map": { "orchestra": { "record_company": [ "recording_label", "audio_company" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "year_of_founded", "major_record_format", "recording_label", "audio_company" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "record companies": "orchestra.Record_Company", "orchestras founded before 2003 and after 2003": "orchestra.Year_of_Founded" } }, { "question": "what are the #record companies# that are used by both #orchestras founded before 2003 and those founded after 2003# ?", "db_id": "orchestra", "orig_query": "select record_company from orchestra where year_of_founded < 2003 intersect select record_company from orchestra where year_of_founded > 2003", "schema_with_content": "conductor : age (40, 40, 40), name (\"Valeri Gergiev\", \"Paul Jorgensen\", \"Michael Tilson Thomas\"), year_of_work (11, 12, 20), conductor_id (1, 11, 9), nationality (\"USA\", \"UK\", \"France\") | orchestra : orchestra (\"Detroit Symphony Orchestra\", \"San Francisco Symphony Orchestra\", \"Montreal Symphony Orchestra\"), conductor_id (11, 2, 5), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), year_of_founded (2009.0, 2008.0, 2002.0), orchestra_id (5, 6, 1), audio_company (\"Kultur\", \"Decca Records\", \"Deutsche Grammophon\"), recording_label (\"Kultur\", \"Decca Records\", \"Deutsche Grammophon\") | performance : orchestra_id (10, 11, 4), official_ratings_(millions) (7.28, 5.2, 6.73), weekly_rank (\"8\", \"2\", \"2\"), type (\"Live final results\", \"Auditions 3\", \"Auditions 5\"), date (\"13 June\", \"15 June\", \"14 June\"), performance_id (9, 8, 11), share (\"29.3%\", \"38.1%\", \"43.7%\") | show : show_id (3, 4, 5), attendance (695.0, 1026.0, 1925.0), if_first_show (\"Glebe Park\", \"St. Mirren Park\", \"Glebe Park\"), performance_id (5, 1, 5), result (\"T\", \"F\")", "schema_without_content": "conductor : age , name , year_of_work , conductor_id , nationality | orchestra : orchestra , conductor_id , major_record_format , year_of_founded , orchestra_id , audio_company , recording_label | performance : orchestra_id , official_ratings_ , weekly_rank , type , date , performance_id , share | show : show_id , attendance , if_first_show , performance_id , result", "extra_map": { "orchestra": { "record_company": [ "recording_label", "audio_company" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "year_of_founded", "major_record_format", "recording_label", "audio_company" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "record companies": "orchestra.Record_Company", "orchestras founded before 2003 and those founded after 2003": "orchestra.Year_of_Founded" } }, { "question": "show the #years# in which #orchestras# that have given more than one #performance# are founded.", "db_id": "orchestra", "orig_query": "select year_of_founded from orchestra as t1 join performance as t2 on t1.orchestra_id = t2.orchestra_id group by t2.orchestra_id having count(*) > 1", "schema_with_content": "conductor : age (41, 42, 63), year_of_work (11, 6, 12), name (\"Colin Davis\", \"Igor Stravinsky\", \"Igor Stravinsky\"), nationality (\"USA\", \"UK\", \"France\"), conductor_id (12, 5, 4) | orchestra : record_company (\"Decca Records\", \"RCA\", \"RCA\"), conductor_id (10, 8, 9), established_year (2007.0, 2006.0, 2006.0), inception_year (2007.0, 2006.0, 2006.0), orchestra (\"Orchestre de Paris\", \"Chicago Symphony Orchestra\", \"Philharmonia Orchestra\"), major_record_format (\"CD\", \"CD / LP\", \"DVD\"), orchestra_id (2, 3, 5) | performance : orchestra_id (10, 4, 2), type (\"Auditions 4\", \"Live final results\", \"Live final results\"), official_ratings_(millions) (5.2, 8.38, 5.2), weekly_rank (\"TBC\", \"9\", \"TBC\"), performance_id (5, 7, 9), share (\"43.7%\", \"40.9%\", \"29.4%\"), date (\"13 June\", \"14 June\", \"15 June\") | show : if_first_show (\"Glebe Park\", \"Glebe Park\", \"Hampden Park\"), show_id (5, 1, 2), result (\"T\", \"F\"), attendance (1925.0, 1026.0, 555.0), performance_id (4, 2, 4)", "schema_without_content": "conductor : age , year_of_work , name , nationality , conductor_id | orchestra : record_company , conductor_id , established_year , inception_year , orchestra , major_record_format , orchestra_id | performance : orchestra_id , type , official_ratings_ , weekly_rank , performance_id , share , date | show : if_first_show , show_id , result , attendance , performance_id", "extra_map": { "orchestra": { "year_of_founded": [ "inception_year", "established_year" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "major_record_format", "inception_year", "established_year" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "years": "orchestra.Year_of_Founded", "orchestras": "orchestra", "performance": "performance" } }, { "question": "what are #years of founding for orchestras# that have had more than a single #performance# ?", "db_id": "orchestra", "orig_query": "select year_of_founded from orchestra as t1 join performance as t2 on t1.orchestra_id = t2.orchestra_id group by t2.orchestra_id having count(*) > 1", "schema_with_content": "conductor : name (\"Igor Stravinsky\", \"Igor Stravinsky\", \"Pierre Boulez\"), conductor_id (3, 9, 11), year_of_work (11, 21, 16), nationality (\"USA\", \"UK\", \"France\"), age (50, 40, 47) | orchestra : conductor_id (2, 1, 6), orchestra_id (6, 6, 9), established_year (2006.0, 2006.0, 2007.0), inception_year (2006.0, 2006.0, 2007.0), record_company (\"Mercury Records\", \"Decca Records\", \"Deutsche Grammophon\"), orchestra (\"Kirov Orchestra\", \"Montreal Symphony Orchestra\", \"Orchestre de Paris\"), major_record_format (\"CD\", \"CD / LP\", \"DVD\") | performance : weekly_rank (\"13\", \"9\", \"13\"), share (\"29.3%\", \"22.7%\", \"29.4%\"), type (\"Semi-final 3\", \"Semi-final 3\", \"Auditions 5\"), orchestra_id (3, 8, 4), date (\"17 June\", \"14 June\", \"11 June\"), official_ratings_(millions) (6.73, 6.73, 7.51), performance_id (5, 10, 11) | show : performance_id (1, 4, 2), result (\"T\", \"F\"), if_first_show (\"Fir Park\", \"Fir Park\", \"St. Mirren Park\"), show_id (3, 2, 2), attendance (2431.0, 555.0, 555.0)", "schema_without_content": "conductor : name , conductor_id , year_of_work , nationality , age | orchestra : conductor_id , orchestra_id , established_year , inception_year , record_company , orchestra , major_record_format | performance : weekly_rank , share , type , orchestra_id , date , official_ratings_ , performance_id | show : performance_id , result , if_first_show , show_id , attendance", "extra_map": { "orchestra": { "year_of_founded": [ "inception_year", "established_year" ] } }, "extra_table_map": null, "db_schema": { "conductor": [ "conductor_id", "name", "age", "nationality", "year_of_work" ], "orchestra": [ "orchestra_id", "orchestra", "conductor_id", "record_company", "major_record_format", "inception_year", "established_year" ], "performance": [ "performance_id", "orchestra_id", "type", "date", "official_ratings_(millions)", "weekly_rank", "share" ], "show": [ "show_id", "performance_id", "if_first_show", "result", "attendance" ] }, "column_linking_gt": { "years of founding for orchestras": "orchestra.Year_of_Founded", "performance": "performance" } }, { "question": "show the #names# and #grades of each high schooler# .", "db_id": "network_1", "orig_query": "select name, grade from highschooler", "schema_with_content": "highschooler : full_name (\"Tiffany\", \"Alexis\", \"Cassandra\"), grade (11, 9, 10), id (1501, 1782, 1316), given_name (\"Tiffany\", \"Alexis\", \"Cassandra\") | friend : friend_id (1381, 1709, 1316), student_id (1689, 1911, 1381) | likes : liked_id (1304, 1934, 1709), student_id (1689, 1911, 1709)", "schema_without_content": "highschooler : full_name , grade , id , given_name | friend : friend_id , student_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names": "Highschooler.name", "grades of each high schooler": "Highschooler.grade" } }, { "question": "show the #names# and #grades of each high schooler# .", "db_id": "network_1", "orig_query": "select name, grade from highschooler", "schema_with_content": "highschooler : class_grade (10, 10, 10), level (10, 10, 10), id (1510, 1934, 1316), name (\"Alexis\", \"Kyle\", \"Gabriel\") | friend : student_id (1661, 1689, 1689), friend_id (1641, 1501, 1304) | likes : liked_id (1689, 1304, 1501), student_id (1247, 1501, 1247)", "schema_without_content": "highschooler : class_grade , level , id , name | friend : student_id , friend_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names": "Highschooler.name", "grades of each high schooler": "Highschooler.grade" } }, { "question": "what are the #names# and #grades for each high schooler# ?", "db_id": "network_1", "orig_query": "select name, grade from highschooler", "schema_with_content": "highschooler : id (1381, 1934, 1247), full_name (\"Jessica\", \"Jordan\", \"Kyle\"), given_name (\"Jessica\", \"Jordan\", \"Kyle\"), grade (11, 9, 11) | friend : student_id (1782, 1689, 1934), friend_id (1247, 1025, 1247) | likes : student_id (1025, 1247, 1782), liked_id (1501, 1304, 1501)", "schema_without_content": "highschooler : id , full_name , given_name , grade | friend : student_id , friend_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names": "Highschooler.name", "grades for each high schooler": "Highschooler.grade" } }, { "question": "what are the #names# and #grades for each high schooler# ?", "db_id": "network_1", "orig_query": "select name, grade from highschooler", "schema_with_content": "highschooler : class_grade (9, 10, 12), id (1661, 1247, 1381), name (\"Jordan\", \"Alexis\", \"Alexis\"), level (9, 10, 12) | friend : student_id (1661, 1304, 1381), friend_id (1468, 1911, 1304) | likes : student_id (1689, 1247, 1501), liked_id (1468, 1101, 1934)", "schema_without_content": "highschooler : class_grade , id , name , level | friend : student_id , friend_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names": "Highschooler.name", "grades for each high schooler": "Highschooler.grade" } }, { "question": "show all the #grades of the high schoolers# .", "db_id": "network_1", "orig_query": "select grade from highschooler", "schema_with_content": "highschooler : id (1510, 1101, 1316), class_grade (12, 9, 9), level (12, 9, 9), name (\"Andrew\", \"Tiffany\", \"Gabriel\") | friend : friend_id (1641, 1661, 1468), student_id (1468, 1661, 1911) | likes : liked_id (1304, 1468, 1709), student_id (1247, 1782, 1911)", "schema_without_content": "highschooler : id , class_grade , level , name | friend : friend_id , student_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "grades of the high schoolers": "Highschooler.grade" } }, { "question": "what is the #grade of each high schooler# ?", "db_id": "network_1", "orig_query": "select grade from highschooler", "schema_with_content": "highschooler : level (10, 11, 10), id (1911, 1381, 1782), class_grade (10, 11, 10), name (\"Jessica\", \"Gabriel\", \"Gabriel\") | friend : friend_id (1316, 1468, 1641), student_id (1316, 1934, 1934) | likes : liked_id (1501, 1501, 1247), student_id (1689, 1934, 1247)", "schema_without_content": "highschooler : level , id , class_grade , name | friend : friend_id , student_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "grade of each high schooler": "Highschooler.grade" } }, { "question": "what #grade is kyle# in?", "db_id": "network_1", "orig_query": "select grade from highschooler where name = \"Kyle\"", "schema_with_content": "highschooler : level (11, 11, 10), class_grade (11, 11, 10), name (\"Cassandra\", \"Haley\", \"Andrew\"), id (1911, 1247, 1316) | friend : friend_id (1381, 1316, 1247), student_id (1510, 1911, 1782) | likes : liked_id (1501, 1101, 1689), student_id (1501, 1782, 1911)", "schema_without_content": "highschooler : level , class_grade , name , id | friend : friend_id , student_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "grade is Kyle": "Highschooler.grade" } }, { "question": "return the #grade for the high schooler# named kyle.", "db_id": "network_1", "orig_query": "select grade from highschooler where name = \"Kyle\"", "schema_with_content": "highschooler : level (12, 9, 9), id (1025, 1247, 1247), class_grade (12, 9, 9), name (\"Austin\", \"Alexis\", \"Alexis\") | friend : friend_id (1247, 1247, 1661), student_id (1709, 1101, 1101) | likes : student_id (1689, 1911, 1501), liked_id (1709, 1689, 1709)", "schema_without_content": "highschooler : level , id , class_grade , name | friend : friend_id , student_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "grade for the high schooler": "Highschooler.grade", "name": "Highschooler.name" } }, { "question": "show the #names of all high schoolers in grade# 10.", "db_id": "network_1", "orig_query": "select name from highschooler where grade = 10", "schema_with_content": "highschooler : id (1025, 1468, 1468), grade (9, 10, 11), full_name (\"Jessica\", \"John\", \"Jessica\"), given_name (\"Jessica\", \"John\", \"Jessica\") | friend : student_id (1934, 1934, 1316), friend_id (1101, 1381, 1934) | likes : liked_id (1709, 1934, 1247), student_id (1501, 1501, 1501)", "schema_without_content": "highschooler : id , grade , full_name , given_name | friend : student_id , friend_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of all high schoolers in grade": "Highschooler.name" } }, { "question": "what are the #names of all high schoolers in grade# 10?", "db_id": "network_1", "orig_query": "select name from highschooler where grade = 10", "schema_with_content": "highschooler : full_name (\"Jordan\", \"Jessica\", \"Alexis\"), id (1911, 1316, 1381), grade (9, 9, 9), given_name (\"Jordan\", \"Jessica\", \"Alexis\") | friend : friend_id (1689, 1661, 1501), student_id (1247, 1911, 1689) | likes : liked_id (1304, 1304, 1468), student_id (1501, 1709, 1025)", "schema_without_content": "highschooler : full_name , id , grade , given_name | friend : friend_id , student_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of all high schoolers in grade": "Highschooler.name" } }, { "question": "show the #id of the high schooler# named kyle.", "db_id": "network_1", "orig_query": "select id from highschooler where name = \"Kyle\"", "schema_with_content": "highschooler : student_id (1468, 1689, 1782), grade (10, 9, 10), name (\"Haley\", \"Austin\", \"Haley\"), enrollment_id (1468, 1689, 1782) | friend : student_id (1934, 1934, 1381), friend_id (1468, 1709, 1689) | likes : liked_id (1101, 1709, 1101), student_id (1911, 1709, 1316)", "schema_without_content": "highschooler : student_id , grade , name , enrollment_id | friend : student_id , friend_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "id": [ "student_id", "enrollment_id" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "name", "grade", "student_id", "enrollment_id" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "ID of the high schooler": "Highschooler.ID", "name": "Highschooler.name" } }, { "question": "what is kyle's #id# ?", "db_id": "network_1", "orig_query": "select id from highschooler where name = \"Kyle\"", "schema_with_content": "highschooler : student_id (1661, 1381, 1247), name (\"Jordan\", \"Jordan\", \"Cassandra\"), enrollment_id (1661, 1381, 1247), grade (10, 10, 12) | friend : student_id (1709, 1501, 1304), friend_id (1247, 1304, 1501) | likes : student_id (1934, 1025, 1782), liked_id (1101, 1468, 1934)", "schema_without_content": "highschooler : student_id , name , enrollment_id , grade | friend : student_id , friend_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "id": [ "student_id", "enrollment_id" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "name", "grade", "student_id", "enrollment_id" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "Kyle": "Highschooler.name", "id": "Highschooler.ID" } }, { "question": "show the number of #high schoolers for each grade# .", "db_id": "network_1", "orig_query": "select grade, count(*) from highschooler group by grade", "schema_with_content": "highschooler : level (12, 10, 10), id (1304, 1911, 1304), class_grade (12, 10, 10), name (\"Jessica\", \"Andrew\", \"Alexis\") | friend : friend_id (1782, 1709, 1304), student_id (1501, 1934, 1381) | likes : liked_id (1501, 1689, 1304), student_id (1934, 1709, 1247)", "schema_without_content": "highschooler : level , id , class_grade , name | friend : friend_id , student_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "high schoolers for each grade": "Highschooler.grade" } }, { "question": "how many #high schoolers# are in each #grade# ?", "db_id": "network_1", "orig_query": "select grade, count(*) from highschooler group by grade", "schema_with_content": "highschooler : class_grade (11, 9, 9), level (11, 9, 9), id (1641, 1641, 1025), name (\"Kyle\", \"Brittany\", \"Logan\") | friend : student_id (1911, 1510, 1468), friend_id (1661, 1911, 1468) | likes : liked_id (1247, 1101, 1468), student_id (1782, 1709, 1911)", "schema_without_content": "highschooler : class_grade , level , id , name | friend : student_id , friend_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "high schoolers": "Highschooler", "grade": "Highschooler.grade" } }, { "question": "which #grade# has the most #high schoolers# ?", "db_id": "network_1", "orig_query": "select grade from highschooler group by grade order by count(*) desc limit 1", "schema_with_content": "highschooler : id (1501, 1510, 1709), level (9, 9, 9), class_grade (9, 9, 9), name (\"Kyle\", \"Gabriel\", \"Kyle\") | friend : student_id (1661, 1381, 1782), friend_id (1304, 1661, 1304) | likes : liked_id (1304, 1501, 1709), student_id (1247, 1689, 1782)", "schema_without_content": "highschooler : id , level , class_grade , name | friend : student_id , friend_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "grade": "Highschooler.grade", "high schoolers": "Highschooler" } }, { "question": "return the #grade# that has the greatest number of #high schoolers# .", "db_id": "network_1", "orig_query": "select grade from highschooler group by grade order by count(*) desc limit 1", "schema_with_content": "highschooler : id (1911, 1025, 1934), level (10, 11, 11), name (\"Jordan\", \"Kyle\", \"Gabriel\"), class_grade (10, 11, 11) | friend : friend_id (1501, 1689, 1782), student_id (1689, 1911, 1247) | likes : student_id (1025, 1025, 1782), liked_id (1247, 1501, 1689)", "schema_without_content": "highschooler : id , level , name , class_grade | friend : friend_id , student_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "grade": "Highschooler.grade", "high schoolers": "Highschooler" } }, { "question": "show me all #grades# that have at least 4 #students# .", "db_id": "network_1", "orig_query": "select grade from highschooler group by grade having count(*) >= 4", "schema_with_content": "highschooler : name (\"Tiffany\", \"Alexis\", \"John\"), id (1468, 1316, 1661), class_grade (11, 12, 11), level (11, 12, 11) | friend : friend_id (1709, 1468, 1661), student_id (1247, 1101, 1381) | likes : student_id (1709, 1911, 1247), liked_id (1468, 1101, 1247)", "schema_without_content": "highschooler : name , id , class_grade , level | friend : friend_id , student_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "grades": "Highschooler.grade", "students": "Highschooler" } }, { "question": "which #grades# have 4 or more #high schoolers# ?", "db_id": "network_1", "orig_query": "select grade from highschooler group by grade having count(*) >= 4", "schema_with_content": "highschooler : name (\"Cassandra\", \"Haley\", \"Jessica\"), class_grade (10, 10, 12), level (10, 10, 12), id (1782, 1101, 1709) | friend : friend_id (1782, 1025, 1709), student_id (1934, 1304, 1934) | likes : liked_id (1304, 1247, 1247), student_id (1316, 1689, 1025)", "schema_without_content": "highschooler : name , class_grade , level , id | friend : friend_id , student_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "grades": "Highschooler.grade", "high schoolers": "Highschooler" } }, { "question": "show the #student ids# and #numbers of friends# corresponding to each.", "db_id": "network_1", "orig_query": "select student_id, count(*) from friend group by student_id", "schema_with_content": "highschooler : grade (10, 12, 11), name (\"Kris\", \"Kyle\", \"Tiffany\"), id (1641, 1641, 1101) | friend : friend_id (1316, 1641, 1782), user_id (1934, 1709, 1911), person_id (1934, 1709, 1911) | likes : liked_id (1934, 1468, 1247), student_id (1501, 1911, 1782)", "schema_without_content": "highschooler : grade , name , id | friend : friend_id , user_id , person_id | likes : liked_id , student_id", "extra_map": { "friend": { "student_id": [ "user_id", "person_id" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "grade" ], "friend": [ "friend_id", "user_id", "person_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "student IDs": "Friend.student_id", "numbers of friends": "Friend" } }, { "question": "how many #friends# does each #student# have?", "db_id": "network_1", "orig_query": "select student_id, count(*) from friend group by student_id", "schema_with_content": "highschooler : name (\"Haley\", \"Tiffany\", \"Austin\"), grade (11, 11, 11), id (1934, 1101, 1661) | friend : friend_id (1304, 1316, 1911), person_id (1510, 1247, 1381), user_id (1510, 1247, 1381) | likes : liked_id (1304, 1468, 1689), student_id (1501, 1782, 1247)", "schema_without_content": "highschooler : name , grade , id | friend : friend_id , person_id , user_id | likes : liked_id , student_id", "extra_map": { "friend": { "student_id": [ "user_id", "person_id" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "grade" ], "friend": [ "friend_id", "user_id", "person_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "friends": "Friend", "student": "Friend.student_id" } }, { "question": "show the #names of high school students# and their corresponding #number of friends# .", "db_id": "network_1", "orig_query": "select t2.name, count(*) from friend as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id", "schema_with_content": "highschooler : id (1025, 1101, 1641), given_name (\"John\", \"Cassandra\", \"Austin\"), full_name (\"John\", \"Cassandra\", \"Austin\"), grade (12, 10, 9) | friend : student_id (1316, 1101, 1510), friend_id (1661, 1911, 1025) | likes : liked_id (1709, 1689, 1501), student_id (1501, 1934, 1709)", "schema_without_content": "highschooler : id , given_name , full_name , grade | friend : student_id , friend_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of high school students": "Highschooler.name", "number of friends": "Friend" } }, { "question": "what are the #names of the high schoolers# and how many #friends# does each have?", "db_id": "network_1", "orig_query": "select t2.name, count(*) from friend as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id", "schema_with_content": "highschooler : id (1304, 1510, 1304), full_name (\"Haley\", \"Logan\", \"John\"), grade (12, 10, 10), given_name (\"Haley\", \"Logan\", \"John\") | friend : student_id (1689, 1316, 1689), friend_id (1661, 1641, 1501) | likes : liked_id (1689, 1304, 1101), student_id (1709, 1911, 1689)", "schema_without_content": "highschooler : id , full_name , grade , given_name | friend : student_id , friend_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of the high schoolers": "Highschooler.name", "friends": "Friend" } }, { "question": "what is the #name of the high schooler# who has the greatest number of #friends# ?", "db_id": "network_1", "orig_query": "select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id order by count(*) desc limit 1", "schema_with_content": "highschooler : full_name (\"Haley\", \"Jordan\", \"Alexis\"), id (1510, 1911, 1782), grade (12, 11, 11), given_name (\"Haley\", \"Jordan\", \"Alexis\") | friend : friend_id (1316, 1641, 1689), student_id (1101, 1911, 1316) | likes : liked_id (1247, 1247, 1689), student_id (1025, 1782, 1247)", "schema_without_content": "highschooler : full_name , id , grade , given_name | friend : friend_id , student_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "name of the high schooler": "Highschooler.name", "friends": "Friend" } }, { "question": "return the #name of the high school student# with the most friends.", "db_id": "network_1", "orig_query": "select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id order by count(*) desc limit 1", "schema_with_content": "highschooler : full_name (\"Haley\", \"Haley\", \"Alexis\"), id (1782, 1782, 1510), grade (10, 9, 11), given_name (\"Haley\", \"Haley\", \"Alexis\") | friend : student_id (1304, 1101, 1782), friend_id (1934, 1661, 1782) | likes : liked_id (1501, 1934, 1501), student_id (1641, 1709, 1641)", "schema_without_content": "highschooler : full_name , id , grade , given_name | friend : student_id , friend_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "name of the high school student": "Highschooler.name" } }, { "question": "show the #names of high schoolers# who have at least 3 #friends# .", "db_id": "network_1", "orig_query": "select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id having count(*) >= 3", "schema_with_content": "highschooler : given_name (\"John\", \"Cassandra\", \"Kris\"), grade (11, 11, 9), id (1782, 1501, 1381), full_name (\"John\", \"Cassandra\", \"Kris\") | friend : friend_id (1709, 1641, 1709), student_id (1247, 1510, 1316) | likes : liked_id (1304, 1501, 1501), student_id (1934, 1025, 1782)", "schema_without_content": "highschooler : given_name , grade , id , full_name | friend : friend_id , student_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of high schoolers": "Highschooler.name", "friends": "Friend" } }, { "question": "what are the #names of high schoolers# who have 3 or more #friends# ?", "db_id": "network_1", "orig_query": "select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id having count(*) >= 3", "schema_with_content": "highschooler : grade (11, 12, 11), id (1510, 1247, 1247), full_name (\"Kris\", \"Jordan\", \"Haley\"), given_name (\"Kris\", \"Jordan\", \"Haley\") | friend : friend_id (1501, 1501, 1304), student_id (1101, 1468, 1247) | likes : liked_id (1709, 1304, 1304), student_id (1782, 1316, 1709)", "schema_without_content": "highschooler : grade , id , full_name , given_name | friend : friend_id , student_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of high schoolers": "Highschooler.name", "friends": "Friend" } }, { "question": "show the #names of all of the high schooler# kyle's #friends# .", "db_id": "network_1", "orig_query": "select t3.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id join highschooler as t3 on t1.friend_id = t3.id where t2.name = \"Kyle\"", "schema_with_content": "highschooler : full_name (\"Cassandra\", \"Austin\", \"Kyle\"), id (1101, 1025, 1304), grade (10, 12, 12), given_name (\"Cassandra\", \"Austin\", \"Kyle\") | friend : student_id (1782, 1381, 1381), friend_id (1661, 1501, 1689) | likes : student_id (1911, 1316, 1709), liked_id (1304, 1709, 1101)", "schema_without_content": "highschooler : full_name , id , grade , given_name | friend : student_id , friend_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of all of the high schooler": "Highschooler.name", "friends": "Friend" } }, { "question": "return the #names of friends of the high school student kyle# .", "db_id": "network_1", "orig_query": "select t3.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id join highschooler as t3 on t1.friend_id = t3.id where t2.name = \"Kyle\"", "schema_with_content": "highschooler : given_name (\"Jordan\", \"John\", \"Alexis\"), full_name (\"Jordan\", \"John\", \"Alexis\"), id (1304, 1709, 1510), grade (10, 11, 11) | friend : friend_id (1911, 1934, 1304), student_id (1510, 1510, 1501) | likes : student_id (1911, 1247, 1709), liked_id (1101, 1689, 1101)", "schema_without_content": "highschooler : given_name , full_name , id , grade | friend : friend_id , student_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of friends of the high school student Kyle": "Highschooler.name" } }, { "question": "show #ids of all students# who do not have any #friends# .", "db_id": "network_1", "orig_query": "select id from highschooler except select student_id from friend", "schema_with_content": "highschooler : enrollment_id (1101, 1025, 1709), name (\"Kyle\", \"Andrew\", \"Jordan\"), grade (10, 11, 10), student_id (1101, 1025, 1709) | friend : student_id (1934, 1247, 1510), friend_id (1661, 1934, 1247) | likes : student_id (1025, 1709, 1934), liked_id (1934, 1304, 1101)", "schema_without_content": "highschooler : enrollment_id , name , grade , student_id | friend : student_id , friend_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "id": [ "student_id", "enrollment_id" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "name", "grade", "student_id", "enrollment_id" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "ids of all students": "Highschooler.ID", "friends": "Friend" } }, { "question": "what are the #ids of high school students# who do not have #friends# ?", "db_id": "network_1", "orig_query": "select id from highschooler except select student_id from friend", "schema_with_content": "highschooler : enrollment_id (1911, 1316, 1501), student_id (1911, 1316, 1501), grade (12, 12, 12), name (\"John\", \"Kyle\", \"Kris\") | friend : student_id (1661, 1510, 1501), friend_id (1661, 1381, 1304) | likes : student_id (1025, 1709, 1641), liked_id (1501, 1934, 1934)", "schema_without_content": "highschooler : enrollment_id , student_id , grade , name | friend : student_id , friend_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "id": [ "student_id", "enrollment_id" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "name", "grade", "student_id", "enrollment_id" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "ids of high school students": "Highschooler.ID", "friends": "Friend" } }, { "question": "show #names of all high school students# who do not have any #friends# .", "db_id": "network_1", "orig_query": "select name from highschooler except select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id", "schema_with_content": "highschooler : full_name (\"Andrew\", \"Jessica\", \"John\"), id (1101, 1510, 1316), given_name (\"Andrew\", \"Jessica\", \"John\"), grade (9, 11, 11) | friend : student_id (1661, 1101, 1510), friend_id (1247, 1101, 1911) | likes : student_id (1689, 1247, 1501), liked_id (1689, 1304, 1101)", "schema_without_content": "highschooler : full_name , id , given_name , grade | friend : student_id , friend_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of all high school students": "Highschooler.name", "friends": "Friend" } }, { "question": "what are the #names of students# who have no #friends# ?", "db_id": "network_1", "orig_query": "select name from highschooler except select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id", "schema_with_content": "highschooler : grade (12, 9, 12), given_name (\"Austin\", \"Gabriel\", \"Cassandra\"), full_name (\"Austin\", \"Gabriel\", \"Cassandra\"), id (1101, 1304, 1934) | friend : friend_id (1381, 1247, 1934), student_id (1689, 1782, 1782) | likes : liked_id (1689, 1101, 1689), student_id (1709, 1641, 1709)", "schema_without_content": "highschooler : grade , given_name , full_name , id | friend : friend_id , student_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of students": "Highschooler.name", "friends": "Friend" } }, { "question": "show the #ids# of high schoolers who have #friends# and are also #liked# by someone else.", "db_id": "network_1", "orig_query": "select student_id from friend intersect select liked_id from likes", "schema_with_content": "highschooler : name (\"Haley\", \"Gabriel\", \"Cassandra\"), id (1101, 1641, 1381), grade (9, 10, 9) | friend : user_id (1911, 1782, 1782), person_id (1911, 1782, 1782), friend_id (1641, 1304, 1934) | likes : student_id (1911, 1782, 1934), liked_id (1101, 1501, 1304)", "schema_without_content": "highschooler : name , id , grade | friend : user_id , person_id , friend_id | likes : student_id , liked_id", "extra_map": { "friend": { "student_id": [ "user_id", "person_id" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "grade" ], "friend": [ "friend_id", "user_id", "person_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "ids": "Highschooler.ID", "friends": "Friend", "liked": "Likes" } }, { "question": "what are the #ids of students# who both have #friends# and are #liked# ?", "db_id": "network_1", "orig_query": "select student_id from friend intersect select liked_id from likes", "schema_with_content": "highschooler : id (1934, 1911, 1689), name (\"Brittany\", \"John\", \"John\"), grade (11, 10, 10) | friend : person_id (1501, 1381, 1934), friend_id (1468, 1381, 1641), user_id (1501, 1381, 1934) | likes : liked_id (1304, 1101, 1304), student_id (1782, 1934, 1709)", "schema_without_content": "highschooler : id , name , grade | friend : person_id , friend_id , user_id | likes : liked_id , student_id", "extra_map": { "friend": { "student_id": [ "user_id", "person_id" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "grade" ], "friend": [ "friend_id", "user_id", "person_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "ids of students": "Highschooler.ID", "friends": "Friend", "liked": "Likes" } }, { "question": "show #name of all students# who have some friends and also are liked by someone else.", "db_id": "network_1", "orig_query": "select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id intersect select t2.name from likes as t1 join highschooler as t2 on t1.liked_id = t2.id", "schema_with_content": "highschooler : id (1101, 1304, 1101), full_name (\"Andrew\", \"Tiffany\", \"Brittany\"), grade (12, 12, 10), given_name (\"Andrew\", \"Tiffany\", \"Brittany\") | friend : student_id (1101, 1911, 1468), friend_id (1689, 1101, 1661) | likes : student_id (1247, 1501, 1316), liked_id (1304, 1934, 1468)", "schema_without_content": "highschooler : id , full_name , grade , given_name | friend : student_id , friend_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "name of all students": "Highschooler.name" } }, { "question": "what are the #names of high schoolers# who both have #friends# and are #liked# ?", "db_id": "network_1", "orig_query": "select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id intersect select t2.name from likes as t1 join highschooler as t2 on t1.liked_id = t2.id", "schema_with_content": "highschooler : grade (12, 12, 12), id (1025, 1661, 1101), full_name (\"Jordan\", \"Haley\", \"Alexis\"), given_name (\"Jordan\", \"Haley\", \"Alexis\") | friend : friend_id (1641, 1101, 1641), student_id (1911, 1304, 1468) | likes : student_id (1025, 1689, 1934), liked_id (1689, 1689, 1934)", "schema_without_content": "highschooler : grade , id , full_name , given_name | friend : friend_id , student_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of high schoolers": "Highschooler.name", "friends": "Friend", "liked": "Likes" } }, { "question": "count the #number of likes for each student id# .", "db_id": "network_1", "orig_query": "select student_id, count(*) from likes group by student_id", "schema_with_content": "highschooler : grade (11, 12, 10), id (1689, 1661, 1641), name (\"Alexis\", \"Cassandra\", \"Jessica\") | friend : student_id (1316, 1101, 1782), friend_id (1316, 1911, 1247) | likes : liked_id (1689, 1101, 1247), liker_id (1689, 1025, 1934), admirer_id (1689, 1025, 1934)", "schema_without_content": "highschooler : grade , id , name | friend : student_id , friend_id | likes : liked_id , liker_id , admirer_id", "extra_map": { "likes": { "student_id": [ "liker_id", "admirer_id" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "liked_id", "liker_id", "admirer_id" ] }, "column_linking_gt": { "number of likes for each student id": "Likes.student_id" } }, { "question": "how many #likes# correspond to each #student id# ?", "db_id": "network_1", "orig_query": "select student_id, count(*) from likes group by student_id", "schema_with_content": "highschooler : id (1468, 1101, 1934), grade (10, 10, 10), name (\"Austin\", \"Gabriel\", \"Brittany\") | friend : student_id (1709, 1381, 1381), friend_id (1911, 1468, 1934) | likes : admirer_id (1709, 1501, 1934), liked_id (1934, 1247, 1101), liker_id (1709, 1501, 1934)", "schema_without_content": "highschooler : id , grade , name | friend : student_id , friend_id | likes : admirer_id , liked_id , liker_id", "extra_map": { "likes": { "student_id": [ "liker_id", "admirer_id" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "liked_id", "liker_id", "admirer_id" ] }, "column_linking_gt": { "likes": "Likes", "student id": "Likes.student_id" } }, { "question": "show the #names of high schoolers# who have #likes# , and numbers of likes for each.", "db_id": "network_1", "orig_query": "select t2.name, count(*) from likes as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id", "schema_with_content": "highschooler : id (1661, 1510, 1381), given_name (\"Cassandra\", \"Haley\", \"Tiffany\"), grade (10, 12, 9), full_name (\"Cassandra\", \"Haley\", \"Tiffany\") | friend : friend_id (1661, 1501, 1641), student_id (1501, 1501, 1782) | likes : student_id (1934, 1689, 1911), liked_id (1934, 1468, 1689)", "schema_without_content": "highschooler : id , given_name , grade , full_name | friend : friend_id , student_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of high schoolers": "Highschooler.name", "likes": "Likes" } }, { "question": "what are the #names of high schoolers# who have #likes# , and how many likes does each have?", "db_id": "network_1", "orig_query": "select t2.name, count(*) from likes as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id", "schema_with_content": "highschooler : id (1025, 1316, 1510), given_name (\"Kris\", \"Jordan\", \"Brittany\"), grade (9, 11, 12), full_name (\"Kris\", \"Jordan\", \"Brittany\") | friend : friend_id (1934, 1709, 1641), student_id (1501, 1689, 1709) | likes : student_id (1934, 1501, 1689), liked_id (1468, 1501, 1101)", "schema_without_content": "highschooler : id , given_name , grade , full_name | friend : friend_id , student_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of high schoolers": "Highschooler.name", "likes": "Likes" } }, { "question": "what is the #name of the high schooler# who has the greatest number of #likes# ?", "db_id": "network_1", "orig_query": "select t2.name from likes as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id order by count(*) desc limit 1", "schema_with_content": "highschooler : given_name (\"Tiffany\", \"John\", \"Kyle\"), full_name (\"Tiffany\", \"John\", \"Kyle\"), id (1304, 1911, 1661), grade (9, 9, 11) | friend : friend_id (1782, 1247, 1025), student_id (1468, 1381, 1501) | likes : student_id (1025, 1782, 1025), liked_id (1689, 1247, 1247)", "schema_without_content": "highschooler : given_name , full_name , id , grade | friend : friend_id , student_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "name of the high schooler": "Highschooler.name", "likes": "Likes" } }, { "question": "give the #name of the student# with the most #likes# .", "db_id": "network_1", "orig_query": "select t2.name from likes as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id order by count(*) desc limit 1", "schema_with_content": "highschooler : grade (9, 10, 10), id (1468, 1641, 1661), given_name (\"Haley\", \"Brittany\", \"Logan\"), full_name (\"Haley\", \"Brittany\", \"Logan\") | friend : student_id (1501, 1381, 1782), friend_id (1782, 1782, 1304) | likes : student_id (1782, 1247, 1782), liked_id (1934, 1934, 1101)", "schema_without_content": "highschooler : grade , id , given_name , full_name | friend : student_id , friend_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "name of the student": "Highschooler.name", "likes": "Likes" } }, { "question": "show the #names of students# who have at least 2 likes.", "db_id": "network_1", "orig_query": "select t2.name from likes as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id having count(*) >= 2", "schema_with_content": "highschooler : given_name (\"Andrew\", \"Alexis\", \"Kris\"), id (1247, 1641, 1316), full_name (\"Andrew\", \"Alexis\", \"Kris\"), grade (9, 10, 11) | friend : student_id (1304, 1304, 1782), friend_id (1641, 1689, 1247) | likes : student_id (1247, 1316, 1641), liked_id (1689, 1709, 1304)", "schema_without_content": "highschooler : given_name , id , full_name , grade | friend : student_id , friend_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of students": "Highschooler.name" } }, { "question": "what are the #names of students# who have 2 or more likes?", "db_id": "network_1", "orig_query": "select t2.name from likes as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id having count(*) >= 2", "schema_with_content": "highschooler : given_name (\"John\", \"Jordan\", \"John\"), full_name (\"John\", \"Jordan\", \"John\"), grade (9, 9, 11), id (1501, 1709, 1641) | friend : friend_id (1641, 1501, 1304), student_id (1911, 1782, 1911) | likes : liked_id (1934, 1304, 1501), student_id (1934, 1911, 1934)", "schema_without_content": "highschooler : given_name , full_name , grade , id | friend : friend_id , student_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names of students": "Highschooler.name" } }, { "question": "show the #names# of students who have a #grade# higher than 5 and have at least 2 #friends# .", "db_id": "network_1", "orig_query": "select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id where t2.grade > 5 group by t1.student_id having count(*) >= 2", "schema_with_content": "highschooler : full_name (\"Austin\", \"Brittany\", \"Brittany\"), given_name (\"Austin\", \"Brittany\", \"Brittany\"), id (1381, 1501, 1709), grade (9, 10, 9) | friend : student_id (1911, 1782, 1316), friend_id (1689, 1689, 1304) | likes : liked_id (1709, 1501, 1304), student_id (1709, 1641, 1501)", "schema_without_content": "highschooler : full_name , given_name , id , grade | friend : student_id , friend_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names": "Highschooler.name", "grade": "Highschooler.grade", "friends": "Friend" } }, { "question": "what are the #names# of high schoolers who have a #grade# of over 5 and have 2 or more #friends# ?", "db_id": "network_1", "orig_query": "select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id where t2.grade > 5 group by t1.student_id having count(*) >= 2", "schema_with_content": "highschooler : grade (9, 10, 11), id (1709, 1510, 1501), full_name (\"Jessica\", \"Kris\", \"Logan\"), given_name (\"Jessica\", \"Kris\", \"Logan\") | friend : student_id (1468, 1101, 1782), friend_id (1689, 1101, 1709) | likes : liked_id (1247, 1689, 1689), student_id (1709, 1501, 1025)", "schema_without_content": "highschooler : grade , id , full_name , given_name | friend : student_id , friend_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "name": [ "full_name", "given_name" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "grade", "full_name", "given_name" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "names": "Highschooler.name", "grade": "Highschooler.grade", "friends": "Friend" } }, { "question": "find the #average grade of all students# who have some #friends# .", "db_id": "network_1", "orig_query": "select avg(grade) from highschooler where id in (select t1.student_id from friend as t1 join highschooler as t2 on t1.student_id = t2.id)", "schema_with_content": "highschooler : class_grade (9, 10, 11), level (9, 10, 11), name (\"Logan\", \"Alexis\", \"Brittany\"), id (1641, 1934, 1689) | friend : student_id (1468, 1709, 1304), friend_id (1689, 1689, 1101) | likes : liked_id (1934, 1709, 1247), student_id (1316, 1247, 1316)", "schema_without_content": "highschooler : class_grade , level , name , id | friend : student_id , friend_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "average grade of all students": "Highschooler.grade", "friends": "Friend" } }, { "question": "what is the #average grade of students# who have #friends# ?", "db_id": "network_1", "orig_query": "select avg(grade) from highschooler where id in (select t1.student_id from friend as t1 join highschooler as t2 on t1.student_id = t2.id)", "schema_with_content": "highschooler : id (1316, 1025, 1316), name (\"Gabriel\", \"Logan\", \"Jessica\"), class_grade (11, 11, 11), level (11, 11, 11) | friend : friend_id (1641, 1641, 1304), student_id (1689, 1689, 1304) | likes : liked_id (1934, 1247, 1247), student_id (1316, 1025, 1911)", "schema_without_content": "highschooler : id , name , class_grade , level | friend : friend_id , student_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "average grade of students": "Highschooler.grade", "friends": "Friend" } }, { "question": "find the #minimum grade of students# who have no #friends# .", "db_id": "network_1", "orig_query": "select min(grade) from highschooler where id not in (select t1.student_id from friend as t1 join highschooler as t2 on t1.student_id = t2.id)", "schema_with_content": "highschooler : name (\"Jordan\", \"Austin\", \"Logan\"), class_grade (9, 10, 12), level (9, 10, 12), id (1316, 1468, 1304) | friend : friend_id (1247, 1247, 1641), student_id (1709, 1934, 1101) | likes : liked_id (1101, 1101, 1934), student_id (1782, 1934, 1709)", "schema_without_content": "highschooler : name , class_grade , level , id | friend : friend_id , student_id | likes : liked_id , student_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "minimum grade of students": "Highschooler.grade", "friends": "Friend" } }, { "question": "what is the #lowest grade of students# who do not have any #friends# ?", "db_id": "network_1", "orig_query": "select min(grade) from highschooler where id not in (select t1.student_id from friend as t1 join highschooler as t2 on t1.student_id = t2.id)", "schema_with_content": "highschooler : level (10, 10, 9), class_grade (10, 10, 9), id (1661, 1661, 1316), name (\"Logan\", \"Andrew\", \"Cassandra\") | friend : student_id (1510, 1468, 1911), friend_id (1304, 1468, 1025) | likes : student_id (1316, 1934, 1316), liked_id (1689, 1689, 1709)", "schema_without_content": "highschooler : level , class_grade , id , name | friend : student_id , friend_id | likes : student_id , liked_id", "extra_map": { "highschooler": { "grade": [ "level", "class_grade" ] } }, "extra_table_map": null, "db_schema": { "highschooler": [ "id", "name", "level", "class_grade" ], "friend": [ "student_id", "friend_id" ], "likes": [ "student_id", "liked_id" ] }, "column_linking_gt": { "lowest grade of students": "Highschooler.grade", "friends": "Friend" } }, { "question": "which #states# have both #owners# and #professionals# living there?", "db_id": "dog_kennels", "orig_query": "select state from owners intersect select state from professionals", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : zip_code (\"78297\", \"25609\", \"36871\"), first_name (\"Heather\", \"Rolando\", \"Cindy\"), last_name (\"Stoltenberg\", \"Hauck\", \"DuBuque\"), email_address (\"ymaggio@example.com\", \"ybergstrom@example.com\", \"lynn81@example.org\"), city (\"South Afton\", \"Lake Jennyferfort\", \"South Daisyfurt\"), cell_number (\"762.589.6117x1328\", \"633.455.3045x85484\", \"+70(4)9217952551\"), owner_id (10, 10, 3), province (\"NewYork\", \"Maryland\", \"Pennsylvania\"), home_phone (\"916.976.9480x13851\", \"085.557.0379x84348\", \"(544)034-1670\"), street (\"9212 Rosenbaum Lights\", \"9212 Rosenbaum Lights\", \"6950 Katherine Forges Apt. 630\"), region (\"NewYork\", \"Maryland\", \"Pennsylvania\") | dogs : date_of_birth (\"2012-07-11 17:15:10\", \"2010-11-11 07:11:53\", \"2013-02-20 14:50:56\"), date_departed (\"2018-03-24 19:36:59\", \"2018-03-24 23:48:59\", \"2018-03-25 06:46:07\"), date_adopted (\"2018-02-27 00:27:57\", \"2018-02-27 11:54:35\", \"2018-03-23 16:02:04\"), name (\"Merritt\", \"Betty\", \"Jesus\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_arrived (\"2017-12-29 06:08:26\", \"2017-12-22 05:02:02\", \"2017-07-25 15:19:07\"), weight (\"5.16\", \"9.8\", \"2.18\"), abandoned_yn (\"1\", \"0\"), gender (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), age (\"5\", \"9\", \"5\"), dog_id (12, 5, 9), owner_id (7, 11, 3) | professionals : state (\"Connecticut\", \"Utah\", \"California\"), role_code (\"Employee\", \"Veterenarian\"), home_phone (\"312.216.3352\", \"022.529.0550x1319\", \"+02(1)0259033559\"), zip_code (\"98844\", \"67980\", \"84515\"), email_address (\"west.eula@example.net\", \"jerrod.bahringer@example.org\", \"schneider.kathryne@example.org\"), city (\"North Odellfurt\", \"South Rockyport\", \"New Maryjane\"), professional_id (6, 5, 13), last_name (\"Pouros\", \"Walter\", \"Frami\"), cell_number (\"880-659-7577x736\", \"1-185-137-1945x409\", \"461-801-2600\"), first_name (\"Velva\", \"Ruben\", \"Domenica\"), street (\"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\") | treatments : treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-11 04:23:15\", \"2018-03-24 22:25:58\", \"2018-03-16 10:27:36\"), cost_of_treatment (681, 407, 147), professional_id (10, 14, 5), dog_id (10, 7, 10), treatment_id (12, 12, 15)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : zip_code , first_name , last_name , email_address , city , cell_number 9217952551\", owner_id , province , home_phone 034-1670\", street , region | dogs : date_of_birth , date_departed , date_adopted , name , breed_code , date_arrived , weight , abandoned_yn , gender , size_code , age , dog_id , owner_id | professionals : state , role_code , home_phone 0259033559\", zip_code , email_address , city , professional_id , last_name , cell_number , first_name , street | treatments : treatment_type_code , date_of_treatment , cost_of_treatment , professional_id , dog_id , treatment_id", "extra_map": { "owners": { "state": [ "province", "region" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "zip_code", "email_address", "home_phone", "cell_number", "province", "region" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "states": "Owners.state", "owners": "Owners", "professionals": "Professionals" } }, { "question": "find the #states# where both #owners# and #professionals# live.", "db_id": "dog_kennels", "orig_query": "select state from owners intersect select state from professionals", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : cell_number (\"559.874.3011x989\", \"121.381.3316x6535\", \"+00(2)4323592985\"), home_phone (\"085.557.0379x84348\", \"318-052-6573\", \"066.264.7885\"), region (\"SouthDakota\", \"SouthDakota\", \"Pennsylvania\"), first_name (\"Lorenz\", \"Nora\", \"Jaclyn\"), email_address (\"edythe62@example.org\", \"zboncak.madonna@example.net\", \"lynn81@example.org\"), city (\"Barrettburgh\", \"Lake Jennyferfort\", \"East Hillardberg\"), zip_code (\"78297\", \"45244\", \"78297\"), street (\"9212 Rosenbaum Lights\", \"2635 Caitlyn Plains\", \"89011 Kertzmann Spring Suite 642\"), province (\"SouthDakota\", \"SouthDakota\", \"Pennsylvania\"), last_name (\"Price\", \"Hamill\", \"DuBuque\"), owner_id (12, 12, 5) | dogs : date_adopted (\"2018-03-18 15:12:50\", \"2018-03-21 10:41:18\", \"2018-03-06 16:32:11\"), date_of_birth (\"2017-09-19 05:39:09\", \"2015-02-26 21:31:22\", \"2013-02-20 14:50:56\"), weight (\"4.01\", \"4.01\", \"4.01\"), owner_id (1, 14, 7), gender (\"1\", \"0\"), name (\"Evangeline\", \"Evangeline\", \"Bessie\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-25 06:29:10\", \"2018-03-25 02:47:40\", \"2018-03-25 04:50:22\"), age (\"3\", \"2\", \"4\"), date_arrived (\"2017-09-08 20:10:13\", \"2018-01-17 11:44:16\", \"2017-07-25 15:19:07\"), dog_id (14, 4, 9) | professionals : state (\"Hawaii\", \"SouthCarolina\", \"Hawaii\"), first_name (\"Winfield\", \"Monte\", \"Ericka\"), last_name (\"O'Reilly\", \"Watsica\", \"Braun\"), professional_id (2, 15, 6), cell_number (\"00230569697\", \"1-185-137-1945x409\", \"461-801-2600\"), role_code (\"Employee\", \"Veterenarian\"), street (\"72532 Hane Course\nLake Berylland, ND 95283\", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"36895 Eli Ferry\nPort Marcelle, FL 45712\"), zip_code (\"17902\", \"17902\", \"77129\"), home_phone (\"1-138-287-3775\", \"346.594.3739\", \"(920)304-4499x59146\"), email_address (\"goyette.roosevelt@example.net\", \"jacynthe.mclaughlin@example.net\", \"west.eula@example.net\"), city (\"Baileymouth\", \"North Odellfurt\", \"West Heidi\") | treatments : treatment_id (2, 1, 4), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (10, 7, 1), date_of_treatment (\"2018-03-24 22:25:58\", \"2018-03-01 04:14:46\", \"2018-02-28 17:09:43\"), professional_id (4, 6, 6), cost_of_treatment (313, 428, 266)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : cell_number 4323592985\", home_phone , region , first_name , email_address , city , zip_code , street , province , last_name , owner_id | dogs : date_adopted , date_of_birth , weight , owner_id , gender , name , breed_code , abandoned_yn , size_code , date_departed , age , date_arrived , dog_id | professionals : state , first_name , last_name , professional_id , cell_number , role_code , street , zip_code , home_phone 304-4499x59146\", email_address , city | treatments : treatment_id , treatment_type_code , dog_id , date_of_treatment , professional_id , cost_of_treatment", "extra_map": { "owners": { "state": [ "province", "region" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "zip_code", "email_address", "home_phone", "cell_number", "province", "region" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "states": "Owners.state", "owners": "Owners", "professionals": "Professionals" } }, { "question": "what is the #average age of the dogs# who have gone through any #treatments# ?", "db_id": "dog_kennels", "orig_query": "select avg(age) from dogs where dog_id in (select dog_id from treatments)", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : home_phone (\"130-796-4589x05454\", \"130-796-4589x05454\", \"363.948.1090\"), city (\"Barrettburgh\", \"South Daisyfurt\", \"Lake Tia\"), email_address (\"ykris@example.com\", \"ybergstrom@example.com\", \"christy49@example.org\"), street (\"692 Jaskolski Forges\", \"9212 Rosenbaum Lights\", \"2417 Keara Stravenue Apt. 146\"), first_name (\"Kade\", \"Melisa\", \"Johann\"), state (\"Pennsylvania\", \"Arizona\", \"Maryland\"), owner_id (2, 9, 5), zip_code (\"35747\", \"25609\", \"35747\"), last_name (\"Ondricka\", \"Price\", \"Price\"), cell_number (\"559.874.3011x989\", \"(722)768-5439x484\", \"121.381.3316x6535\") | dogs : name (\"Kacey\", \"Evangeline\", \"Narciso\"), owner_id (12, 6, 1), years_old (\"1\", \"6\", \"1\"), date_of_birth (\"2009-04-12 06:02:48\", \"2008-10-09 22:38:53\", \"2008-05-19 15:54:49\"), lifespan (\"1\", \"6\", \"1\"), date_adopted (\"2018-03-06 16:32:11\", \"2018-03-21 10:41:18\", \"2018-03-13 12:47:15\"), size_code (\"LGE\", \"MED\", \"SML\"), gender (\"1\", \"0\"), dog_id (5, 11, 6), date_arrived (\"2017-10-16 20:06:21\", \"2017-06-18 19:45:38\", \"2017-12-22 05:02:02\"), weight (\"5.16\", \"5.16\", \"1.39\"), date_departed (\"2018-03-25 04:42:14\", \"2018-03-25 05:07:47\", \"2018-03-25 10:25:46\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\") | professionals : cell_number (\"1-181-670-9466\", \"1-258-285-4707x8020\", \"499-434-0215x1628\"), last_name (\"Hyatt\", \"Watsica\", \"Kshlerin\"), street (\"92912 Langworth Valleys Apt. 743\nThompsonborough, \", \"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\"), professional_id (2, 4, 12), email_address (\"jacynthe.mclaughlin@example.net\", \"mekhi.little@example.org\", \"mekhi.little@example.org\"), role_code (\"Employee\", \"Veterenarian\"), home_phone (\"022.529.0550x1319\", \"971.048.3763x9404\", \"246-951-0080x76716\"), city (\"Domenickton\", \"South Rockyport\", \"Borisside\"), zip_code (\"17902\", \"43129\", \"33020\"), state (\"Alabama\", \"California\", \"Montana\"), first_name (\"Ericka\", \"Monte\", \"Velva\") | treatments : date_of_treatment (\"2018-03-10 11:45:58\", \"2018-03-11 04:23:15\", \"2018-03-19 04:39:54\"), professional_id (14, 5, 4), dog_id (4, 14, 10), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (13, 3, 9), cost_of_treatment (668, 349, 852)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_type , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : home_phone , city , email_address , street , first_name , state , owner_id , zip_code , last_name , cell_number 768-5439x484\", \"121.381.3316x6535\" | dogs : name , owner_id , years_old , date_of_birth , lifespan , date_adopted , size_code , gender , dog_id , date_arrived , weight , date_departed , breed_code , abandoned_yn | professionals : cell_number , last_name , street , professional_id , email_address , role_code , home_phone , city , zip_code , state , first_name | treatments : date_of_treatment , professional_id , dog_id , treatment_type_code , treatment_id , cost_of_treatment", "extra_map": { "dogs": { "age": [ "years_old", "lifespan" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "years_old", "lifespan" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "average age of the dogs": "Dogs.age", "treatments": "Treatments" } }, { "question": "find the #average age of the dogs# who went through #treatments# .", "db_id": "dog_kennels", "orig_query": "select avg(age) from dogs where dog_id in (select dog_id from treatments)", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : cell_number (\"(783)271-6744x4507\", \"633.455.3045x85484\", \"(783)271-6744x4507\"), last_name (\"Stoltenberg\", \"Stoltenberg\", \"Stoltenberg\"), street (\"59509 Mellie Mountain\", \"6950 Katherine Forges Apt. 630\", \"2635 Caitlyn Plains\"), email_address (\"fschoen@example.net\", \"ykris@example.com\", \"fschoen@example.net\"), state (\"Arizona\", \"NewYork\", \"Wisconsin\"), zip_code (\"35747\", \"35747\", \"02647\"), city (\"South Daisyfurt\", \"South Daisyfurt\", \"New Margaretteborough\"), first_name (\"Nora\", \"Cindy\", \"Rolando\"), home_phone (\"01802479758\", \"1-682-845-0116x63235\", \"893-862-5295x61709\"), owner_id (9, 9, 6) | dogs : size_code (\"LGE\", \"MED\", \"SML\"), date_of_birth (\"2008-10-09 22:38:53\", \"2012-10-14 14:44:37\", \"2012-07-11 17:15:10\"), date_adopted (\"2018-03-25 08:12:51\", \"2018-03-18 07:47:40\", \"2018-03-08 15:03:00\"), owner_id (13, 13, 12), gender (\"1\", \"0\"), name (\"Jeffrey\", \"George\", \"Jesus\"), date_departed (\"2018-03-25 15:05:16\", \"2018-03-25 04:50:22\", \"2018-03-24 19:36:59\"), dog_id (11, 7, 3), weight (\"8.04\", \"1.72\", \"8.16\"), date_arrived (\"2017-04-20 00:58:55\", \"2017-07-25 15:19:07\", \"2017-06-25 10:14:05\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\"), lifespan (\"4\", \"3\", \"8\"), years_old (\"4\", \"3\", \"8\") | professionals : state (\"Montana\", \"NorthCarolina\", \"Utah\"), zip_code (\"33020\", \"54312\", \"84515\"), cell_number (\"499-434-0215x1628\", \"011.193.9081x3186\", \"461-801-2600\"), role_code (\"Employee\", \"Veterenarian\"), city (\"North Odellfurt\", \"East Ila\", \"Juddton\"), last_name (\"Christiansen\", \"Hayes\", \"O'Reilly\"), email_address (\"lambert62@example.org\", \"uboehm@example.org\", \"cole.margarita@example.org\"), home_phone (\"346.594.3739\", \"312.216.3352\", \"(920)304-4499x59146\"), street (\"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"390 Bryce Drive\nNorth Dock, LA 65357-7228\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\"), professional_id (10, 12, 7), first_name (\"Velva\", \"Monte\", \"Karley\") | treatments : cost_of_treatment (147, 429, 681), treatment_id (5, 3, 9), dog_id (13, 10, 10), professional_id (14, 14, 5), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-13 12:22:58\", \"2018-03-10 11:45:58\", \"2018-03-15 19:10:02\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_type , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : cell_number 271-6744x4507\", \"633.455.3045x85484\", \"271-6744x4507\", last_name , street , email_address , state , zip_code , city , first_name , home_phone , owner_id | dogs : size_code , date_of_birth , date_adopted , owner_id , gender , name , date_departed , dog_id , weight , date_arrived , breed_code , abandoned_yn , lifespan , years_old | professionals : state , zip_code , cell_number , role_code , city , last_name , email_address , home_phone 304-4499x59146\", street , professional_id , first_name | treatments : cost_of_treatment , treatment_id , dog_id , professional_id , treatment_type_code , date_of_treatment", "extra_map": { "dogs": { "age": [ "years_old", "lifespan" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "years_old", "lifespan" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "average age of the dogs": "Dogs.age", "treatments": "Treatments" } }, { "question": "which #professionals# live in the #state# of indiana or have done #treatment# on more than 2 treatments? list his or her #id# , #last name# and #cell phone# .", "db_id": "dog_kennels", "orig_query": "select professional_id, last_name, cell_number from professionals where state = 'Indiana' union select t1.professional_id, t1.last_name, t1.cell_number from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) > 2", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : zip_code (\"02647\", \"93165\", \"87304\"), last_name (\"Prohaska\", \"Haley\", \"Haley\"), street (\"2417 Keara Stravenue Apt. 146\", \"0647 Hintz Village Apt. 024\", \"6950 Katherine Forges Apt. 630\"), owner_id (9, 4, 12), state (\"Mississippi\", \"Virginia\", \"Indiana\"), email_address (\"ykris@example.com\", \"margaretta.runte@example.net\", \"hudson.favian@example.com\"), city (\"Beerton\", \"West Leonard\", \"Lake Tia\"), first_name (\"Melisa\", \"Gay\", \"Orlando\"), home_phone (\"1-346-655-5842x768\", \"130-796-4589x05454\", \"1-346-655-5842x768\"), cell_number (\"478.978.0729\", \"1-739-421-2225x38148\", \"(722)768-5439x484\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), age (\"4\", \"8\", \"3\"), dog_id (8, 6, 1), date_adopted (\"2018-03-23 16:02:04\", \"2018-03-18 07:47:40\", \"2018-03-18 15:12:50\"), gender (\"1\", \"0\"), date_departed (\"2018-03-25 15:05:16\", \"2018-03-25 13:07:04\", \"2018-03-25 02:11:32\"), abandoned_yn (\"1\", \"0\"), owner_id (13, 3, 3), name (\"Jeffrey\", \"Evangeline\", \"Troy\"), weight (\"9.48\", \"8.95\", \"3.52\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_of_birth (\"2012-05-31 08:01:36\", \"2018-03-17 04:05:12\", \"2008-05-19 15:54:49\"), date_arrived (\"2017-04-15 09:25:31\", \"2017-10-25 00:55:34\", \"2017-10-25 00:55:34\") | professionals : home_phone (\"320-508-6023\", \"+43(5)1132733868\", \"1-609-566-2752x25197\"), zip_code (\"80775\", \"34041\", \"02281\"), state (\"Hawaii\", \"Utah\", \"NewMexico\"), first_name (\"Monte\", \"Lesly\", \"Ericka\"), surname (\"Christiansen\", \"Ullrich\", \"Walter\"), role_code (\"Employee\", \"Veterenarian\"), professional_id (9, 9, 4), cell_number (\"(369)908-7311x065\", \"889-940-2676\", \"1-258-285-4707x8020\"), street (\"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\"), family_name (\"Christiansen\", \"Ullrich\", \"Walter\"), city (\"Borisside\", \"East Ila\", \"South Rockyport\"), email_address (\"uboehm@example.org\", \"schneider.kathryne@example.org\", \"goyette.roosevelt@example.net\") | treatments : treatment_id (8, 12, 12), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-04 20:33:43\", \"2018-03-11 04:23:15\", \"2018-03-24 22:25:58\"), cost_of_treatment (945, 139, 681), dog_id (2, 7, 1), professional_id (10, 4, 14)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : zip_code , last_name , street , owner_id , state , email_address , city , first_name , home_phone , cell_number 768-5439x484\" | dogs : size_code , age , dog_id , date_adopted , gender , date_departed , abandoned_yn , owner_id , name , weight , breed_code , date_of_birth , date_arrived | professionals : home_phone 1132733868\", \"1-609-566-2752x25197\", zip_code , state , first_name , surname , role_code , professional_id , cell_number 908-7311x065\", \"889-940-2676\", \"1-258-285-4707x8020\", street , family_name , city , email_address | treatments : treatment_id , treatment_type_code , date_of_treatment , cost_of_treatment , dog_id , professional_id", "extra_map": { "professionals": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "surname", "family_name" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professionals": "Professionals", "state": "Professionals.state", "treatment": "Treatments", "id": "Professionals.professional_id", "last name": "Professionals.last_name", "cell phone": "Professionals.cell_number" } }, { "question": "which #professionals# live in the #state# of indiana or have done #treatment# on more than 2 treatments? list his or her #id# , #last name# and #cell phone# .", "db_id": "dog_kennels", "orig_query": "select professional_id, last_name, cell_number from professionals where state = 'Indiana' union select t1.professional_id, t1.last_name, t1.cell_number from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) > 2", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : owner_id (10, 11, 11), street (\"692 Jaskolski Forges\", \"2635 Caitlyn Plains\", \"15828 Spencer Extensions\"), email_address (\"ymaggio@example.com\", \"fschoen@example.net\", \"marks.gail@example.org\"), state (\"Indiana\", \"Virginia\", \"Florida\"), city (\"South Afton\", \"West Leonard\", \"Port Reannamouth\"), cell_number (\"1-626-264-7659x1697\", \"(783)271-6744x4507\", \"+70(4)9217952551\"), last_name (\"Feil\", \"Schmitt\", \"Ondricka\"), home_phone (\"(544)034-1670\", \"(094)747-5094x8134\", \"130-796-4589x05454\"), first_name (\"Melisa\", \"Rachelle\", \"Lorenz\"), zip_code (\"86010\", \"00589\", \"11990\") | dogs : date_of_birth (\"2015-02-26 21:31:22\", \"2010-11-11 07:11:53\", \"2012-05-31 08:01:36\"), gender (\"1\", \"0\"), date_departed (\"2018-03-25 15:05:16\", \"2018-03-25 06:29:10\", \"2018-03-25 06:29:10\"), age (\"9\", \"5\", \"5\"), name (\"Merritt\", \"Houston\", \"Kacey\"), weight (\"7.57\", \"4.36\", \"3.52\"), size_code (\"LGE\", \"MED\", \"SML\"), date_adopted (\"2018-03-05 06:05:23\", \"2018-03-08 15:03:00\", \"2018-03-07 21:45:43\"), dog_id (10, 12, 11), abandoned_yn (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), owner_id (7, 11, 11), date_arrived (\"2017-06-25 10:14:05\", \"2017-10-16 20:06:21\", \"2017-10-25 00:55:34\") | professionals : role_code (\"Employee\", \"Veterenarian\"), cell_number (\"609-405-2990\", \"(369)908-7311x065\", \"889-940-2676\"), zip_code (\"84515\", \"17902\", \"17902\"), first_name (\"Karley\", \"Vernice\", \"Sigurd\"), last_name (\"Pouros\", \"Braun\", \"Tillman\"), worker_id (4, 6, 15), street (\"72532 Hane Course\nLake Berylland, ND 95283\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\"), home_phone (\"246-951-0080x76716\", \"022.529.0550x1319\", \"325-155-0801x7005\"), email_address (\"marquardt.furman@example.org\", \"lucile.shanahan@example.org\", \"uboehm@example.org\"), state (\"Hawaii\", \"Alabama\", \"Connecticut\"), staff_id (4, 6, 15), city (\"South Rockyport\", \"New Laurytown\", \"Raynorfort\") | treatments : treatment_id (5, 2, 2), cost_of_treatment (668, 852, 681), date_of_treatment (\"2018-02-26 09:08:53\", \"2018-03-14 19:10:40\", \"2018-02-26 09:08:53\"), professional_id (8, 10, 10), dog_id (15, 10, 1), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_type , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : owner_id , street , email_address , state , city , cell_number 271-6744x4507\", \"+709217952551\", last_name , home_phone 034-1670\", \"747-5094x8134\", \"130-796-4589x05454\", first_name , zip_code | dogs : date_of_birth , gender , date_departed , age , name , weight , size_code , date_adopted , dog_id , abandoned_yn , breed_code , owner_id , date_arrived | professionals : role_code , cell_number 908-7311x065\", \"889-940-2676\", zip_code , first_name , last_name , worker_id , street , home_phone , email_address , state , staff_id , city | treatments : treatment_id , cost_of_treatment , date_of_treatment , professional_id , dog_id , treatment_type_code", "extra_map": { "professionals": { "professional_id": [ "worker_id", "staff_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "worker_id", "staff_id" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professionals": "Professionals", "state": "Professionals.state", "treatment": "Treatments", "id": "Professionals.professional_id", "last name": "Professionals.last_name", "cell phone": "Professionals.cell_number" } }, { "question": "which #professionals# live in the #state# of indiana or have done #treatment# on more than 2 treatments? list his or her #id# , #last name# and #cell phone# .", "db_id": "dog_kennels", "orig_query": "select professional_id, last_name, cell_number from professionals where state = 'Indiana' union select t1.professional_id, t1.last_name, t1.cell_number from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) > 2", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : cell_number (\"1-739-421-2225x38148\", \"762.589.6117x1328\", \"1-739-421-2225x38148\"), first_name (\"Lorenz\", \"Melisa\", \"Adelle\"), email_address (\"edythe62@example.org\", \"christy49@example.org\", \"pearlie18@example.com\"), city (\"South Afton\", \"Lake Jennyferfort\", \"Lake Valentin\"), zip_code (\"61019\", \"00589\", \"61019\"), owner_id (3, 5, 3), street (\"51934 Treutel Harbor\", \"15828 Spencer Extensions\", \"57382 Yost Ridges\"), state (\"Arizona\", \"SouthDakota\", \"Arizona\"), last_name (\"Prohaska\", \"Price\", \"Prohaska\"), home_phone (\"1-332-849-1908\", \"318-052-6573\", \"(058)997-7627\") | dogs : owner_id (7, 1, 8), breed_code (\"ESK\", \"BUL\", \"HUS\"), age (\"3\", \"8\", \"8\"), weight (\"7.57\", \"8.95\", \"8.16\"), date_adopted (\"2018-03-18 15:12:50\", \"2018-02-25 23:45:30\", \"2018-03-05 06:05:23\"), abandoned_yn (\"1\", \"0\"), date_departed (\"2018-03-24 23:48:59\", \"2018-03-24 19:12:22\", \"2018-03-25 14:15:41\"), dog_id (1, 1, 7), size_code (\"LGE\", \"MED\", \"SML\"), name (\"Merritt\", \"Mavis\", \"Bessie\"), date_arrived (\"2017-10-16 20:06:21\", \"2017-12-29 06:08:26\", \"2017-04-20 00:58:55\"), gender (\"1\", \"0\"), date_of_birth (\"2017-09-19 05:39:09\", \"2012-05-31 08:01:36\", \"2012-05-03 21:42:25\") | professionals : street (\"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\"), phone_number (\"1-258-285-4707x8020\", \"962-983-8109x3509\", \"1-181-670-9466\"), last_name (\"Murazik\", \"Tillman\", \"Christiansen\"), zip_code (\"07412\", \"67980\", \"41215\"), role_code (\"Employee\", \"Veterenarian\"), city (\"West Heidi\", \"Borisside\", \"Baileymouth\"), state (\"NewMexico\", \"Indiana\", \"NewMexico\"), home_phone (\"+71(6)2898266914\", \"+71(6)2898266914\", \"(230)338-3342x585\"), professional_id (7, 10, 6), mobile_number (\"1-258-285-4707x8020\", \"962-983-8109x3509\", \"1-181-670-9466\"), email_address (\"lambert62@example.org\", \"uboehm@example.org\", \"deanna.schuster@example.com\"), first_name (\"Velva\", \"Ruben\", \"Lesly\") | treatments : cost_of_treatment (266, 313, 266), date_of_treatment (\"2018-03-19 04:39:54\", \"2018-03-14 19:10:40\", \"2018-03-10 11:45:58\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (9, 8, 5), treatment_id (11, 10, 11), dog_id (14, 14, 14)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_amount , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : cell_number , first_name , email_address , city , zip_code , owner_id , street , state , last_name , home_phone 997-7627\" | dogs : owner_id , breed_code , age , weight , date_adopted , abandoned_yn , date_departed , dog_id , size_code , name , date_arrived , gender , date_of_birth | professionals : street , phone_number , last_name , zip_code , role_code , city , state , home_phone 2898266914\", \"+712898266914\", \"338-3342x585\", professional_id , mobile_number , email_address , first_name | treatments : cost_of_treatment , date_of_treatment , treatment_type_code , professional_id , treatment_id , dog_id", "extra_map": { "professionals": { "cell_number": [ "mobile_number", "phone_number" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "mobile_number", "phone_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professionals": "Professionals", "state": "Professionals.state", "treatment": "Treatments", "id": "Professionals.professional_id", "last name": "Professionals.last_name", "cell phone": "Professionals.cell_number" } }, { "question": "find the #id# , #last name# and #cell phone# of the professionals who live in the #state# of indiana or have performed more than two #treatments# .", "db_id": "dog_kennels", "orig_query": "select professional_id, last_name, cell_number from professionals where state = 'Indiana' union select t1.professional_id, t1.last_name, t1.cell_number from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) > 2", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : street (\"59509 Mellie Mountain\", \"15828 Spencer Extensions\", \"2635 Caitlyn Plains\"), zip_code (\"25609\", \"61019\", \"22731\"), owner_id (11, 12, 1), last_name (\"Hauck\", \"Hauck\", \"Hauck\"), state (\"Maryland\", \"SouthDakota\", \"Washington\"), first_name (\"Emelie\", \"Melisa\", \"Heather\"), city (\"Port Reannamouth\", \"Lake Carleyborough\", \"Barrettburgh\"), email_address (\"edythe62@example.org\", \"margaretta.runte@example.net\", \"pearlie18@example.com\"), home_phone (\"(094)747-5094x8134\", \"066.264.7885\", \"318-052-6573\"), cell_number (\"739-136-7202\", \"1-626-264-7659x1697\", \"(257)399-3116\") | dogs : date_departed (\"2018-03-25 05:07:47\", \"2018-03-24 19:12:22\", \"2018-03-25 06:58:44\"), size_code (\"LGE\", \"MED\", \"SML\"), owner_id (11, 14, 3), gender (\"1\", \"0\"), age (\"8\", \"6\", \"5\"), dog_id (12, 5, 7), weight (\"9.48\", \"4.01\", \"1.39\"), abandoned_yn (\"1\", \"0\"), name (\"Jeffrey\", \"Hipolito\", \"Bessie\"), date_adopted (\"2018-03-18 07:47:40\", \"2018-03-18 15:12:50\", \"2018-02-27 00:27:57\"), date_of_birth (\"2013-02-13 05:15:21\", \"2012-05-03 21:42:25\", \"2012-10-14 14:44:37\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_arrived (\"2018-01-02 03:15:29\", \"2017-07-25 15:19:07\", \"2017-04-15 09:25:31\") | professionals : state (\"Wyoming\", \"Alabama\", \"NorthCarolina\"), zip_code (\"43129\", \"52476\", \"43129\"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Jayson\", \"Sigurd\", \"Velva\"), home_phone (\"971.048.3763x9404\", \"971.048.3763x9404\", \"246-951-0080x76716\"), street (\"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"68589 Bradly Manor\nNew Audrey, IN 91497\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\"), surname (\"Kshlerin\", \"Jacobs\", \"Watsica\"), family_name (\"Kshlerin\", \"Jacobs\", \"Watsica\"), email_address (\"jacynthe.mclaughlin@example.net\", \"lambert62@example.org\", \"lucile.shanahan@example.org\"), professional_id (14, 13, 14), cell_number (\"880-659-7577x736\", \"(275)939-2435x80863\", \"328.842.3792\"), city (\"McLaughlinfort\", \"South Rockyport\", \"Jaceton\") | treatments : date_of_treatment (\"2018-03-23 13:52:10\", \"2018-03-01 04:14:46\", \"2018-03-19 04:39:54\"), treatment_id (15, 4, 6), dog_id (4, 14, 12), cost_of_treatment (945, 139, 681), professional_id (8, 10, 5), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : street , zip_code , owner_id , last_name , state , first_name , city , email_address , home_phone 747-5094x8134\", \"066.264.7885\", \"318-052-6573\", cell_number 399-3116\" | dogs : date_departed , size_code , owner_id , gender , age , dog_id , weight , abandoned_yn , name , date_adopted , date_of_birth , breed_code , date_arrived | professionals : state , zip_code , role_code , first_name , home_phone , street , surname , family_name , email_address , professional_id , cell_number 939-2435x80863\", \"328.842.3792\", city | treatments : date_of_treatment , treatment_id , dog_id , cost_of_treatment , professional_id , treatment_type_code", "extra_map": { "professionals": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "surname", "family_name" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "id": "Professionals.professional_id", "last name": "Professionals.last_name", "cell phone": "Professionals.cell_number", "state": "Professionals.state", "treatments": "Treatments" } }, { "question": "find the #id# , #last name# and #cell phone# of the professionals who live in the #state# of indiana or have performed more than two #treatments# .", "db_id": "dog_kennels", "orig_query": "select professional_id, last_name, cell_number from professionals where state = 'Indiana' union select t1.professional_id, t1.last_name, t1.cell_number from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) > 2", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : owner_id (10, 15, 11), home_phone (\"(799)563-0260x454\", \"1-682-845-0116x63235\", \"130-796-4589x05454\"), last_name (\"Haley\", \"Feil\", \"Price\"), cell_number (\"1-626-264-7659x1697\", \"(722)768-5439x484\", \"(783)271-6744x4507\"), zip_code (\"35747\", \"86010\", \"45244\"), street (\"2417 Keara Stravenue Apt. 146\", \"2417 Keara Stravenue Apt. 146\", \"60352 Kayleigh Crossing Suite 700\"), city (\"Port Reannamouth\", \"Lake Tia\", \"East Hillardberg\"), email_address (\"marks.gail@example.org\", \"ymaggio@example.com\", \"fschoen@example.net\"), state (\"SouthDakota\", \"Vermont\", \"Arkansas\"), first_name (\"Jaclyn\", \"Gay\", \"Cindy\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-24 23:48:59\", \"2018-03-25 13:07:04\", \"2018-03-25 10:25:46\"), date_arrived (\"2017-12-29 06:08:26\", \"2018-01-17 11:44:16\", \"2017-05-06 08:03:52\"), date_adopted (\"2018-03-18 07:47:40\", \"2018-03-07 21:45:43\", \"2018-03-21 10:41:18\"), weight (\"2.18\", \"8.95\", \"9.48\"), owner_id (1, 8, 14), abandoned_yn (\"1\", \"0\"), name (\"Holden\", \"Kacey\", \"Merritt\"), age (\"2\", \"3\", \"8\"), date_of_birth (\"2010-11-11 07:11:53\", \"2010-11-11 07:11:53\", \"2017-09-19 05:39:09\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), gender (\"1\", \"0\"), dog_id (3, 6, 10) | professionals : first_name (\"Taryn\", \"Vernice\", \"Monte\"), email_address (\"cole.margarita@example.org\", \"lourdes.lowe@example.net\", \"uboehm@example.org\"), street (\"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\"), last_name (\"Walter\", \"Hyatt\", \"Hayes\"), state (\"Indiana\", \"California\", \"NewMexico\"), city (\"New Maryjane\", \"Borisside\", \"Domenickton\"), staff_id (4, 12, 9), home_phone (\"320-508-6023\", \"246-951-0080x76716\", \"+43(5)1132733868\"), zip_code (\"07412\", \"98844\", \"43129\"), cell_number (\"1-181-670-9466\", \"(275)939-2435x80863\", \"499-434-0215x1628\"), worker_id (4, 12, 9), role_code (\"Employee\", \"Veterenarian\") | treatments : professional_id (7, 14, 14), date_of_treatment (\"2018-02-28 17:09:43\", \"2018-03-14 19:10:40\", \"2018-03-19 04:39:54\"), treatment_id (6, 11, 9), dog_id (15, 13, 14), cost_of_treatment (147, 266, 852), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_amount , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : owner_id , home_phone 563-0260x454\", \"1-682-845-0116x63235\", \"130-796-4589x05454\", last_name , cell_number 768-5439x484\", \"271-6744x4507\", zip_code , street , city , email_address , state , first_name | dogs : size_code , date_departed , date_arrived , date_adopted , weight , owner_id , abandoned_yn , name , age , date_of_birth , breed_code , gender , dog_id | professionals : first_name , email_address , street , last_name , state , city , staff_id , home_phone 1132733868\", zip_code , cell_number 939-2435x80863\", \"499-434-0215x1628\", worker_id , role_code | treatments : professional_id , date_of_treatment , treatment_id , dog_id , cost_of_treatment , treatment_type_code", "extra_map": { "professionals": { "professional_id": [ "worker_id", "staff_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "worker_id", "staff_id" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "id": "Professionals.professional_id", "last name": "Professionals.last_name", "cell phone": "Professionals.cell_number", "state": "Professionals.state", "treatments": "Treatments" } }, { "question": "find the #id# , #last name# and #cell phone# of the professionals who live in the #state# of indiana or have performed more than two #treatments# .", "db_id": "dog_kennels", "orig_query": "select professional_id, last_name, cell_number from professionals where state = 'Indiana' union select t1.professional_id, t1.last_name, t1.cell_number from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) > 2", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : city (\"West Leonard\", \"Port Reannamouth\", \"Lake Valentin\"), last_name (\"Price\", \"Ondricka\", \"Nicolas\"), street (\"51934 Treutel Harbor\", \"89011 Kertzmann Spring Suite 642\", \"1204 Mae Highway Apt. 107\"), cell_number (\"+70(4)9217952551\", \"633.455.3045x85484\", \"(722)768-5439x484\"), owner_id (13, 10, 10), first_name (\"Melisa\", \"Orlando\", \"Kade\"), zip_code (\"25609\", \"22693\", \"25609\"), email_address (\"lynn81@example.org\", \"wpfeffer@example.net\", \"edythe62@example.org\"), home_phone (\"(544)034-1670\", \"(094)747-5094x8134\", \"1-346-655-5842x768\"), state (\"Arizona\", \"Indiana\", \"Mississippi\") | dogs : gender (\"1\", \"0\"), date_adopted (\"2018-02-25 23:45:30\", \"2018-03-18 07:47:40\", \"2018-03-05 06:05:23\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), dog_id (12, 9, 9), date_of_birth (\"2012-05-31 08:01:36\", \"2017-09-19 05:39:09\", \"2008-05-30 12:51:34\"), size_code (\"LGE\", \"MED\", \"SML\"), name (\"Jesus\", \"Jesus\", \"Houston\"), abandoned_yn (\"1\", \"0\"), weight (\"3.52\", \"9.48\", \"5.16\"), date_arrived (\"2017-04-15 09:25:31\", \"2017-04-15 09:25:31\", \"2017-12-29 06:08:26\"), age (\"8\", \"4\", \"9\"), owner_id (6, 8, 8), date_departed (\"2018-03-24 23:48:59\", \"2018-03-25 06:29:10\", \"2018-03-25 06:46:07\") | professionals : phone_number (\"1-181-670-9466\", \"499-434-0215x1628\", \"1-185-137-1945x409\"), first_name (\"Karley\", \"Winfield\", \"Jayson\"), state (\"California\", \"NorthCarolina\", \"Hawaii\"), last_name (\"Murazik\", \"Tillman\", \"O'Reilly\"), email_address (\"lourdes.lowe@example.net\", \"goyette.roosevelt@example.net\", \"west.eula@example.net\"), city (\"Domenickton\", \"New Laurytown\", \"North Odellfurt\"), home_phone (\"346.594.3739\", \"+71(6)2898266914\", \"346.594.3739\"), zip_code (\"17902\", \"33020\", \"41215\"), street (\"72532 Hane Course\nLake Berylland, ND 95283\", \"92912 Langworth Valleys Apt. 743\nThompsonborough, \", \"17286 Waters Green\nEast Bernadinefort, CA 89573\"), professional_id (6, 1, 13), role_code (\"Employee\", \"Veterenarian\"), mobile_number (\"1-181-670-9466\", \"499-434-0215x1628\", \"1-185-137-1945x409\") | treatments : cost_of_treatment (567, 429, 429), date_of_treatment (\"2018-03-24 22:25:58\", \"2018-03-04 20:33:43\", \"2018-03-01 04:14:46\"), professional_id (9, 5, 5), treatment_id (7, 7, 9), dog_id (12, 7, 10), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : city , last_name , street , cell_number 9217952551\", \"633.455.3045x85484\", \"768-5439x484\", owner_id , first_name , zip_code , email_address , home_phone 034-1670\", \"747-5094x8134\", \"1-346-655-5842x768\", state | dogs : gender , date_adopted , breed_code , dog_id , date_of_birth , size_code , name , abandoned_yn , weight , date_arrived , age , owner_id , date_departed | professionals : phone_number , first_name , state , last_name , email_address , city , home_phone 2898266914\", \"346.594.3739\", zip_code , street , professional_id , role_code , mobile_number | treatments : cost_of_treatment , date_of_treatment , professional_id , treatment_id , dog_id , treatment_type_code", "extra_map": { "professionals": { "cell_number": [ "mobile_number", "phone_number" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "mobile_number", "phone_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "id": "Professionals.professional_id", "last name": "Professionals.last_name", "cell phone": "Professionals.cell_number", "state": "Professionals.state", "treatments": "Treatments" } }, { "question": "which #first names# are used for professionals or owners but are not used as #dog names# ?", "db_id": "dog_kennels", "orig_query": "select first_name from professionals union select first_name from owners except select name from dogs", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : last_name (\"Haley\", \"Ondricka\", \"Price\"), home_phone (\"363.948.1090\", \"(058)997-7627\", \"130-796-4589x05454\"), owner_id (8, 12, 7), email_address (\"kturner@example.net\", \"margaretta.runte@example.net\", \"edythe62@example.org\"), state (\"Washington\", \"Arkansas\", \"NorthDakota\"), street (\"68118 Daniel Row\", \"89011 Kertzmann Spring Suite 642\", \"68118 Daniel Row\"), first_name (\"Cindy\", \"Rachelle\", \"Gay\"), cell_number (\"1-739-421-2225x38148\", \"341.667.8085\", \"478.978.0729\"), city (\"Port Zackery\", \"Lake Carleyborough\", \"Barrettburgh\"), zip_code (\"22693\", \"92406\", \"02647\") | dogs : date_of_birth (\"2012-01-27 05:11:53\", \"2015-02-26 21:31:22\", \"2008-05-30 12:51:34\"), date_adopted (\"2018-03-25 08:12:51\", \"2018-03-23 16:02:04\", \"2018-03-06 16:32:11\"), weight (\"4.01\", \"7.57\", \"6.92\"), date_arrived (\"2017-12-29 06:08:26\", \"2017-04-15 09:25:31\", \"2017-04-15 09:25:31\"), abandoned_yn (\"1\", \"0\"), owner_id (6, 7, 14), age (\"2\", \"8\", \"5\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_departed (\"2018-03-25 13:07:04\", \"2018-03-24 19:36:59\", \"2018-03-25 13:07:04\"), name (\"Houston\", \"Mavis\", \"Evangeline\"), dog_id (2, 3, 2), size_code (\"LGE\", \"MED\", \"SML\"), gender (\"1\", \"0\") | professionals : last_name (\"Tillman\", \"O'Reilly\", \"Considine\"), forename (\"Ericka\", \"Ericka\", \"Ruben\"), zip_code (\"34041\", \"54312\", \"34041\"), role_code (\"Employee\", \"Veterenarian\"), city (\"Juddton\", \"Juddton\", \"McLaughlinfort\"), street (\"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\", \"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\"), home_phone (\"346.594.3739\", \"320-508-6023\", \"891.475.2256\"), state (\"Mississippi\", \"Hawaii\", \"SouthCarolina\"), given_name (\"Ericka\", \"Ericka\", \"Ruben\"), cell_number (\"1-181-670-9466\", \"1-181-670-9466\", \"609-405-2990\"), professional_id (3, 2, 1), email_address (\"lucile.shanahan@example.org\", \"marquardt.furman@example.org\", \"goyette.roosevelt@example.net\") | treatments : professional_id (5, 5, 14), treatment_id (15, 11, 7), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (567, 656, 945), dog_id (7, 2, 14), date_of_treatment (\"2018-03-16 10:27:36\", \"2018-03-11 04:23:15\", \"2018-03-16 10:27:36\")", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_amount , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : last_name , home_phone 997-7627\", \"130-796-4589x05454\", owner_id , email_address , state , street , first_name , cell_number , city , zip_code | dogs : date_of_birth , date_adopted , weight , date_arrived , abandoned_yn , owner_id , age , breed_code , date_departed , name , dog_id , size_code , gender | professionals : last_name , forename , zip_code , role_code , city , street , home_phone , state , given_name , cell_number , professional_id , email_address | treatments : professional_id , treatment_id , treatment_type_code , cost_of_treatment , dog_id , date_of_treatment", "extra_map": { "professionals": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "forename", "given_name" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "first names": "Owners.first_name", "dog names": "Dogs.name" } }, { "question": "find the #first names# that are used for professionals or owners but are not used as #dog names# .", "db_id": "dog_kennels", "orig_query": "select first_name from professionals union select first_name from owners except select name from dogs", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : home_phone (\"1-332-849-1908\", \"(544)034-1670\", \"893-862-5295x61709\"), email_address (\"ykris@example.com\", \"pearlie18@example.com\", \"fschoen@example.net\"), owner_id (3, 9, 2), first_name (\"Cindy\", \"Melisa\", \"Heather\"), last_name (\"Hauck\", \"Feil\", \"Stoltenberg\"), cell_number (\"(722)768-5439x484\", \"481-483-9083x37986\", \"762.589.6117x1328\"), city (\"Lake Valentin\", \"Barrettburgh\", \"Port Reannamouth\"), street (\"51934 Treutel Harbor\", \"1204 Mae Highway Apt. 107\", \"2635 Caitlyn Plains\"), state (\"Florida\", \"Arkansas\", \"Virginia\"), zip_code (\"36871\", \"86010\", \"22693\") | dogs : dog_id (10, 5, 2), date_arrived (\"2017-04-15 09:25:31\", \"2017-04-20 00:58:55\", \"2017-12-29 06:08:26\"), age (\"2\", \"8\", \"2\"), abandoned_yn (\"1\", \"0\"), date_of_birth (\"2012-10-14 14:44:37\", \"2012-05-31 08:01:36\", \"2012-05-31 08:01:36\"), weight (\"1.39\", \"3.52\", \"6.92\"), date_adopted (\"2018-03-05 06:05:23\", \"2018-03-13 12:47:15\", \"2018-03-05 06:05:23\"), date_departed (\"2018-03-24 19:36:59\", \"2018-03-25 06:46:07\", \"2018-03-25 06:58:44\"), size_code (\"LGE\", \"MED\", \"SML\"), owner_id (2, 10, 3), breed_code (\"ESK\", \"BUL\", \"HUS\"), gender (\"1\", \"0\"), name (\"George\", \"Hipolito\", \"Bessie\") | professionals : state (\"Wisconsin\", \"Montana\", \"Montana\"), forename (\"Ericka\", \"Danny\", \"Domenica\"), professional_id (5, 9, 12), role_code (\"Employee\", \"Veterenarian\"), street (\"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\"), zip_code (\"54312\", \"67980\", \"43129\"), cell_number (\"1-258-285-4707x8020\", \"880-659-7577x736\", \"1-181-670-9466\"), city (\"Borisside\", \"New Laurytown\", \"Domenickton\"), given_name (\"Ericka\", \"Danny\", \"Domenica\"), home_phone (\"1-609-566-2752x25197\", \"+02(1)0259033559\", \"(230)338-3342x585\"), last_name (\"Pouros\", \"Braun\", \"Pouros\"), email_address (\"jeichmann@example.com\", \"jacynthe.mclaughlin@example.net\", \"cole.margarita@example.org\") | treatments : date_of_treatment (\"2018-03-10 11:45:58\", \"2018-03-16 10:27:36\", \"2018-03-14 19:10:40\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (2, 1, 15), treatment_id (5, 4, 9), professional_id (8, 14, 14), cost_of_treatment (407, 567, 429)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_id , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : home_phone 034-1670\", \"893-862-5295x61709\", email_address , owner_id , first_name , last_name , cell_number 768-5439x484\", \"481-483-9083x37986\", \"762.589.6117x1328\", city , street , state , zip_code | dogs : dog_id , date_arrived , age , abandoned_yn , date_of_birth , weight , date_adopted , date_departed , size_code , owner_id , breed_code , gender , name | professionals : state , forename , professional_id , role_code , street , zip_code , cell_number , city , given_name , home_phone 0259033559\", \"338-3342x585\", last_name , email_address | treatments : date_of_treatment , treatment_type_code , dog_id , treatment_id , professional_id , cost_of_treatment", "extra_map": { "professionals": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "forename", "given_name" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "first names": "Owners.first_name", "dog names": "Dogs.name" } }, { "question": "which #professional# did not operate any #treatment# on dogs? list the #professional's id# , #role# and #email# .", "db_id": "dog_kennels", "orig_query": "select professional_id, role_code, email_address from professionals except select t1.professional_id, t1.role_code, t1.email_address from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : city (\"South Afton\", \"Port Zackery\", \"Barrettburgh\"), last_name (\"Stoltenberg\", \"Hauck\", \"Ondricka\"), cell_number (\"1-739-421-2225x38148\", \"341.667.8085\", \"1-626-264-7659x1697\"), email_address (\"christy49@example.org\", \"kturner@example.net\", \"zboncak.madonna@example.net\"), zip_code (\"93165\", \"45244\", \"93165\"), owner_id (9, 14, 8), street (\"51934 Treutel Harbor\", \"0647 Hintz Village Apt. 024\", \"1204 Mae Highway Apt. 107\"), state (\"Maryland\", \"Virginia\", \"SouthDakota\"), home_phone (\"(799)563-0260x454\", \"(094)747-5094x8134\", \"(058)997-7627\"), first_name (\"Adelle\", \"Adelle\", \"Jaclyn\") | dogs : weight (\"8.16\", \"8.95\", \"1.39\"), date_of_birth (\"2012-05-31 08:01:36\", \"2008-05-30 12:51:34\", \"2013-02-20 14:50:56\"), owner_id (11, 10, 13), date_departed (\"2018-03-25 06:58:44\", \"2018-03-24 19:12:22\", \"2018-03-24 19:36:59\"), size_code (\"LGE\", \"MED\", \"SML\"), date_arrived (\"2018-01-02 03:15:29\", \"2018-01-17 11:44:16\", \"2017-10-16 20:06:21\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), age (\"6\", \"4\", \"8\"), dog_id (1, 7, 2), abandoned_yn (\"1\", \"0\"), name (\"Lyric\", \"Houston\", \"Merritt\"), gender (\"1\", \"0\"), date_adopted (\"2018-03-23 16:02:04\", \"2018-03-14 08:05:18\", \"2018-03-06 16:32:11\") | professionals : position_code (\"Employee\", \"Veterenarian\"), last_name (\"Ullrich\", \"Christiansen\", \"Considine\"), email_address (\"lambert62@example.org\", \"jerrod.bahringer@example.org\", \"cole.margarita@example.org\"), street (\"72532 Hane Course\nLake Berylland, ND 95283\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\"), city (\"McLaughlinfort\", \"McLaughlinfort\", \"Domenickton\"), state (\"Hawaii\", \"Wisconsin\", \"NewMexico\"), zip_code (\"43129\", \"02281\", \"52476\"), first_name (\"Ericka\", \"Ericka\", \"Lesly\"), job_code (\"Employee\", \"Veterenarian\"), home_phone (\"246-951-0080x76716\", \"(230)338-3342x585\", \"+43(5)1132733868\"), professional_id (8, 15, 9), cell_number (\"139-321-7313\", \"499-434-0215x1628\", \"461-801-2600\") | treatments : dog_id (15, 14, 14), treatment_id (13, 7, 14), cost_of_treatment (429, 266, 349), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (6, 4, 6), date_of_treatment (\"2018-02-26 09:08:53\", \"2018-03-24 22:25:58\", \"2018-03-16 10:27:36\")", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_amount , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : city , last_name , cell_number , email_address , zip_code , owner_id , street , state , home_phone 563-0260x454\", \"747-5094x8134\", \"997-7627\", first_name | dogs : weight , date_of_birth , owner_id , date_departed , size_code , date_arrived , breed_code , age , dog_id , abandoned_yn , name , gender , date_adopted | professionals : position_code , last_name , email_address , street , city , state , zip_code , first_name , job_code , home_phone 338-3342x585\", \"+431132733868\", professional_id , cell_number | treatments : dog_id , treatment_id , cost_of_treatment , treatment_type_code , professional_id , date_of_treatment", "extra_map": { "professionals": { "role_code": [ "position_code", "job_code" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "position_code", "job_code" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professional": "Professionals", "treatment": "Treatments", "role": "Professionals.role_code", "email": "Professionals.email_address", "professional's id": "Professionals.professional_id" } }, { "question": "which #professional# did not operate any #treatment# on dogs? list the #professional's id# , #role# and #email# .", "db_id": "dog_kennels", "orig_query": "select professional_id, role_code, email_address from professionals except select t1.professional_id, t1.role_code, t1.email_address from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : street (\"51934 Treutel Harbor\", \"51934 Treutel Harbor\", \"59509 Mellie Mountain\"), owner_id (14, 11, 12), email_address (\"margaretta.runte@example.net\", \"ymaggio@example.com\", \"fschoen@example.net\"), state (\"Virginia\", \"Mississippi\", \"NorthDakota\"), city (\"Lake Valentin\", \"Lake Tia\", \"Lake Jennyferfort\"), last_name (\"Rippin\", \"Rippin\", \"Hauck\"), cell_number (\"478.978.0729\", \"+70(4)9217952551\", \"121.381.3316x6535\"), home_phone (\"1-346-655-5842x768\", \"01802479758\", \"085.557.0379x84348\"), zip_code (\"78297\", \"35747\", \"25609\"), first_name (\"Nora\", \"Rachelle\", \"Lorenz\") | dogs : date_of_birth (\"2015-02-26 21:31:22\", \"2012-01-27 05:11:53\", \"2008-05-30 12:51:34\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_departed (\"2018-03-25 05:07:47\", \"2018-03-25 13:07:04\", \"2018-03-25 02:47:40\"), size_code (\"LGE\", \"MED\", \"SML\"), date_adopted (\"2018-03-14 08:05:18\", \"2018-03-25 08:12:51\", \"2018-03-14 08:05:18\"), gender (\"1\", \"0\"), weight (\"9.48\", \"6.92\", \"5.16\"), age (\"4\", \"8\", \"6\"), owner_id (8, 2, 13), date_arrived (\"2017-12-29 06:08:26\", \"2017-09-08 20:10:13\", \"2017-10-24 04:45:13\"), name (\"Kacey\", \"Houston\", \"Hipolito\"), dog_id (7, 2, 7), abandoned_yn (\"1\", \"0\") | professionals : zip_code (\"84515\", \"77129\", \"80775\"), state (\"Alabama\", \"Mississippi\", \"Alabama\"), role_code (\"Employee\", \"Veterenarian\"), home_phone (\"346.594.3739\", \"891.475.2256\", \"312.216.3352\"), email_address (\"jerrod.bahringer@example.org\", \"lambert62@example.org\", \"delphine29@example.com\"), city (\"Kirastad\", \"Baileymouth\", \"Domenickton\"), first_name (\"Velva\", \"Brady\", \"Brady\"), cell_number (\"880-659-7577x736\", \"1-181-670-9466\", \"00230569697\"), worker_id (14, 9, 9), staff_id (14, 9, 9), last_name (\"Braun\", \"Kshlerin\", \"Frami\"), street (\"92912 Langworth Valleys Apt. 743\nThompsonborough, \", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\") | treatments : date_of_treatment (\"2018-03-13 12:22:58\", \"2018-03-13 12:22:58\", \"2018-03-24 22:25:58\"), dog_id (2, 12, 13), treatment_id (7, 1, 5), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (14, 8, 4), cost_of_treatment (656, 407, 266)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_amount , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : street , owner_id , email_address , state , city , last_name , cell_number 9217952551\", \"121.381.3316x6535\", home_phone , zip_code , first_name | dogs : date_of_birth , breed_code , date_departed , size_code , date_adopted , gender , weight , age , owner_id , date_arrived , name , dog_id , abandoned_yn | professionals : zip_code , state , role_code , home_phone , email_address , city , first_name , cell_number , worker_id , staff_id , last_name , street | treatments : date_of_treatment , dog_id , treatment_id , treatment_type_code , professional_id , cost_of_treatment", "extra_map": { "professionals": { "professional_id": [ "worker_id", "staff_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "worker_id", "staff_id" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professional": "Professionals", "treatment": "Treatments", "role": "Professionals.role_code", "email": "Professionals.email_address", "professional's id": "Professionals.professional_id" } }, { "question": "which #professional# did not operate any #treatment# on dogs? list the #professional's id# , #role# and #email# .", "db_id": "dog_kennels", "orig_query": "select professional_id, role_code, email_address from professionals except select t1.professional_id, t1.role_code, t1.email_address from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : home_phone (\"01802479758\", \"085.557.0379x84348\", \"318-052-6573\"), zip_code (\"25609\", \"45244\", \"87304\"), email_address (\"wpfeffer@example.net\", \"kturner@example.net\", \"christy49@example.org\"), street (\"9212 Rosenbaum Lights\", \"89011 Kertzmann Spring Suite 642\", \"89011 Kertzmann Spring Suite 642\"), last_name (\"Price\", \"Ondricka\", \"Fisher\"), owner_id (13, 4, 4), cell_number (\"478.978.0729\", \"+70(4)9217952551\", \"739-136-7202\"), city (\"Barrettburgh\", \"Lake Jennyferfort\", \"East Hillardberg\"), first_name (\"Jaclyn\", \"Gay\", \"Rolando\"), state (\"NewYork\", \"Arizona\", \"Mississippi\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-25 14:15:41\", \"2018-03-25 02:11:32\", \"2018-03-25 04:50:22\"), date_arrived (\"2017-12-29 23:24:13\", \"2018-01-17 11:44:16\", \"2017-12-29 23:24:13\"), date_of_birth (\"2012-05-03 21:42:25\", \"2010-11-11 07:11:53\", \"2018-03-17 04:05:12\"), weight (\"9.8\", \"7.57\", \"3.52\"), name (\"Betty\", \"Merritt\", \"Troy\"), owner_id (14, 12, 7), age (\"3\", \"9\", \"8\"), date_adopted (\"2018-02-27 11:54:35\", \"2018-03-10 15:06:43\", \"2018-03-07 21:45:43\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), gender (\"1\", \"0\"), dog_id (5, 5, 10), abandoned_yn (\"1\", \"0\") | professionals : last_name (\"Tillman\", \"Murazik\", \"O'Reilly\"), home_phone (\"246-951-0080x76716\", \"1-138-287-3775\", \"1-138-287-3775\"), role_code (\"Employee\", \"Veterenarian\"), city (\"Baileymouth\", \"Borisside\", \"South Rockyport\"), zip_code (\"80775\", \"77129\", \"80775\"), street (\"68589 Bradly Manor\nNew Audrey, IN 91497\", \"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"68589 Bradly Manor\nNew Audrey, IN 91497\"), electronic_address (\"uboehm@example.org\", \"lucile.shanahan@example.org\", \"west.eula@example.net\"), professional_id (5, 5, 4), e-mail (\"uboehm@example.org\", \"lucile.shanahan@example.org\", \"west.eula@example.net\"), state (\"California\", \"Indiana\", \"Connecticut\"), cell_number (\"1-181-670-9466\", \"499-434-0215x1628\", \"880-659-7577x736\"), first_name (\"Ruben\", \"Jayson\", \"Ericka\") | treatments : treatment_id (12, 4, 5), cost_of_treatment (514, 147, 852), dog_id (7, 4, 14), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (7, 6, 5), date_of_treatment (\"2018-02-28 17:09:43\", \"2018-03-13 12:22:58\", \"2018-03-15 20:25:34\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : home_phone , zip_code , email_address , street , last_name , owner_id , cell_number 9217952551\", \"739-136-7202\", city , first_name , state | dogs : size_code , date_departed , date_arrived , date_of_birth , weight , name , owner_id , age , date_adopted , breed_code , gender , dog_id , abandoned_yn | professionals : last_name , home_phone , role_code , city , zip_code , street , electronic_address , professional_id , e-mail , state , cell_number , first_name | treatments : treatment_id , cost_of_treatment , dog_id , treatment_type_code , professional_id , date_of_treatment", "extra_map": { "professionals": { "email_address": [ "e-mail", "electronic_address" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "home_phone", "cell_number", "e-mail", "electronic_address" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professional": "Professionals", "treatment": "Treatments", "role": "Professionals.role_code", "email": "Professionals.email_address", "professional's id": "Professionals.professional_id" } }, { "question": "give me the #id# , #role# and e #mail of the professionals# who did not perform any #treatment# on dogs.", "db_id": "dog_kennels", "orig_query": "select professional_id, role_code, email_address from professionals except select t1.professional_id, t1.role_code, t1.email_address from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : state (\"Arizona\", \"Pennsylvania\", \"Arkansas\"), cell_number (\"(257)399-3116\", \"633.455.3045x85484\", \"1-739-421-2225x38148\"), city (\"East Hillardberg\", \"Beerton\", \"Beerton\"), last_name (\"Rippin\", \"Ondricka\", \"Prohaska\"), zip_code (\"11990\", \"61019\", \"61019\"), street (\"15828 Spencer Extensions\", \"15828 Spencer Extensions\", \"60352 Kayleigh Crossing Suite 700\"), email_address (\"fschoen@example.net\", \"ybergstrom@example.com\", \"fschoen@example.net\"), owner_id (15, 8, 15), first_name (\"Gay\", \"Kade\", \"Lorenz\"), home_phone (\"(544)034-1670\", \"916.976.9480x13851\", \"066.264.7885\") | dogs : breed_code (\"ESK\", \"BUL\", \"HUS\"), date_arrived (\"2017-04-15 09:25:31\", \"2017-09-08 20:10:13\", \"2017-12-29 06:08:26\"), weight (\"8.04\", \"5.16\", \"9.8\"), date_of_birth (\"2012-01-27 05:11:53\", \"2008-10-09 22:38:53\", \"2013-02-13 05:15:21\"), gender (\"1\", \"0\"), owner_id (12, 5, 3), abandoned_yn (\"1\", \"0\"), date_departed (\"2018-03-25 15:05:16\", \"2018-03-25 15:05:16\", \"2018-03-25 06:46:07\"), name (\"Mavis\", \"Holden\", \"Houston\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (11, 1, 15), date_adopted (\"2018-03-23 16:02:04\", \"2018-03-14 08:05:18\", \"2018-03-08 15:03:00\"), age (\"3\", \"9\", \"1\") | professionals : zip_code (\"33020\", \"54312\", \"02281\"), position_code (\"Employee\", \"Veterenarian\"), last_name (\"Hayes\", \"Christiansen\", \"Christiansen\"), email_address (\"mekhi.little@example.org\", \"schneider.kathryne@example.org\", \"jerrod.bahringer@example.org\"), job_code (\"Employee\", \"Veterenarian\"), first_name (\"Monte\", \"Velva\", \"Olaf\"), street (\"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"68589 Bradly Manor\nNew Audrey, IN 91497\"), professional_id (9, 1, 5), cell_number (\"962-983-8109x3509\", \"499-434-0215x1628\", \"1-181-670-9466\"), state (\"NewMexico\", \"SouthCarolina\", \"Connecticut\"), home_phone (\"312.216.3352\", \"+71(6)2898266914\", \"(230)338-3342x585\"), city (\"New Laurytown\", \"Raynorfort\", \"Jaceton\") | treatments : treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (349, 313, 139), date_of_treatment (\"2018-03-15 20:25:34\", \"2018-03-24 22:25:58\", \"2018-03-14 19:10:40\"), dog_id (14, 1, 13), professional_id (5, 14, 14), treatment_id (3, 14, 4)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : state , cell_number 399-3116\", \"633.455.3045x85484\", \"1-739-421-2225x38148\", city , last_name , zip_code , street , email_address , owner_id , first_name , home_phone 034-1670\", \"916.976.9480x13851\", \"066.264.7885\" | dogs : breed_code , date_arrived , weight , date_of_birth , gender , owner_id , abandoned_yn , date_departed , name , size_code , dog_id , date_adopted , age | professionals : zip_code , position_code , last_name , email_address , job_code , first_name , street , professional_id , cell_number , state , home_phone 2898266914\", \"338-3342x585\", city | treatments : treatment_type_code , cost_of_treatment , date_of_treatment , dog_id , professional_id , treatment_id", "extra_map": { "professionals": { "role_code": [ "position_code", "job_code" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "position_code", "job_code" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "id": "Professionals.professional_id", "role": "Professionals.role_code", "mail of the professionals": "Professionals", "treatment": "Treatments", "email": "Professionals.email_address" } }, { "question": "give me the #id# , #role# and e #mail of the professionals# who did not perform any #treatment# on dogs.", "db_id": "dog_kennels", "orig_query": "select professional_id, role_code, email_address from professionals except select t1.professional_id, t1.role_code, t1.email_address from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : email_address (\"christy49@example.org\", \"christy49@example.org\", \"zboncak.madonna@example.net\"), cell_number (\"1-626-264-7659x1697\", \"(722)768-5439x484\", \"633.455.3045x85484\"), city (\"East Maribelbury\", \"South Daisyfurt\", \"Brakusfurt\"), state (\"Mississippi\", \"Virginia\", \"Washington\"), first_name (\"Tre\", \"Orlando\", \"Orlando\"), street (\"692 Jaskolski Forges\", \"57382 Yost Ridges\", \"692 Jaskolski Forges\"), home_phone (\"1-682-845-0116x63235\", \"318-052-6573\", \"(094)747-5094x8134\"), last_name (\"Haley\", \"Hamill\", \"Haley\"), owner_id (1, 9, 10), zip_code (\"02647\", \"92406\", \"93165\") | dogs : abandoned_yn (\"1\", \"0\"), dog_id (13, 14, 5), owner_id (13, 2, 1), date_of_birth (\"2013-02-20 14:50:56\", \"2012-01-27 05:11:53\", \"2018-03-17 04:05:12\"), size_code (\"LGE\", \"MED\", \"SML\"), name (\"Betty\", \"Betty\", \"Mavis\"), date_arrived (\"2017-10-16 20:06:21\", \"2017-05-06 08:03:52\", \"2018-01-17 11:44:16\"), date_departed (\"2018-03-24 23:48:59\", \"2018-03-25 15:05:16\", \"2018-03-24 19:36:59\"), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), weight (\"4.36\", \"9.48\", \"3.52\"), date_adopted (\"2018-03-18 15:12:50\", \"2018-03-25 08:12:51\", \"2018-03-13 12:47:15\"), age (\"1\", \"3\", \"6\") | professionals : staff_id (12, 6, 1), city (\"North Adelberttown\", \"Borisside\", \"Jaceton\"), home_phone (\"246-951-0080x76716\", \"891.475.2256\", \"320-508-6023\"), last_name (\"Pouros\", \"Kshlerin\", \"Braun\"), worker_id (12, 6, 1), zip_code (\"80775\", \"06646\", \"52476\"), cell_number (\"1-181-670-9466\", \"962-983-8109x3509\", \"1-258-285-4707x8020\"), email_address (\"delphine29@example.com\", \"lucile.shanahan@example.org\", \"lambert62@example.org\"), first_name (\"Taryn\", \"Ruben\", \"Olaf\"), role_code (\"Employee\", \"Veterenarian\"), state (\"Connecticut\", \"Wisconsin\", \"Hawaii\"), street (\"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \") | treatments : treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (852, 139, 349), professional_id (7, 14, 8), treatment_id (8, 13, 11), date_of_treatment (\"2018-03-13 12:22:58\", \"2018-03-01 04:14:46\", \"2018-03-11 04:23:15\"), dog_id (14, 2, 15)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_type , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : email_address , cell_number 768-5439x484\", \"633.455.3045x85484\", city , state , first_name , street , home_phone 747-5094x8134\", last_name , owner_id , zip_code | dogs : abandoned_yn , dog_id , owner_id , date_of_birth , size_code , name , date_arrived , date_departed , gender , breed_code , weight , date_adopted , age | professionals : staff_id , city , home_phone , last_name , worker_id , zip_code , cell_number , email_address , first_name , role_code , state , street | treatments : treatment_type_code , cost_of_treatment , professional_id , treatment_id , date_of_treatment , dog_id", "extra_map": { "professionals": { "professional_id": [ "worker_id", "staff_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "worker_id", "staff_id" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "id": "Professionals.professional_id", "role": "Professionals.role_code", "mail of the professionals": "Professionals", "treatment": "Treatments", "email": "Professionals.email_address" } }, { "question": "give me the #id# , #role# and e #mail of the professionals# who did not perform any #treatment# on dogs.", "db_id": "dog_kennels", "orig_query": "select professional_id, role_code, email_address from professionals except select t1.professional_id, t1.role_code, t1.email_address from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : zip_code (\"45244\", \"87304\", \"25609\"), state (\"Mississippi\", \"Arizona\", \"Arizona\"), first_name (\"Emelie\", \"Nora\", \"Jaclyn\"), owner_id (3, 14, 14), street (\"0647 Hintz Village Apt. 024\", \"15828 Spencer Extensions\", \"6950 Katherine Forges Apt. 630\"), city (\"South Daisyfurt\", \"Lake Valentin\", \"South Daisyfurt\"), last_name (\"Schmitt\", \"Mertz\", \"Prohaska\"), email_address (\"hudson.favian@example.com\", \"lynn81@example.org\", \"christy49@example.org\"), cell_number (\"739-136-7202\", \"739-136-7202\", \"478.978.0729\"), home_phone (\"(799)563-0260x454\", \"085.557.0379x84348\", \"066.264.7885\") | dogs : date_adopted (\"2018-03-23 16:02:04\", \"2018-03-18 07:47:40\", \"2018-03-07 21:45:43\"), gender (\"1\", \"0\"), age (\"1\", \"2\", \"1\"), date_of_birth (\"2013-02-13 05:15:21\", \"2008-05-19 15:54:49\", \"2017-09-19 05:39:09\"), dog_id (5, 5, 12), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_arrived (\"2017-12-29 23:24:13\", \"2017-12-22 05:02:02\", \"2017-12-29 06:08:26\"), size_code (\"LGE\", \"MED\", \"SML\"), weight (\"4.36\", \"2.18\", \"2.18\"), owner_id (3, 10, 10), name (\"Jesus\", \"George\", \"Narciso\"), date_departed (\"2018-03-24 19:12:22\", \"2018-03-24 19:12:22\", \"2018-03-25 04:50:22\"), abandoned_yn (\"1\", \"0\") | professionals : street (\"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \"), e-mail (\"jacynthe.mclaughlin@example.net\", \"uboehm@example.org\", \"schneider.kathryne@example.org\"), last_name (\"Considine\", \"Frami\", \"Frami\"), zip_code (\"52476\", \"06646\", \"80775\"), state (\"Mississippi\", \"NewMexico\", \"Hawaii\"), electronic_address (\"jacynthe.mclaughlin@example.net\", \"uboehm@example.org\", \"schneider.kathryne@example.org\"), first_name (\"Winfield\", \"Brady\", \"Lesly\"), city (\"Juddton\", \"West Heidi\", \"Kirastad\"), role_code (\"Employee\", \"Veterenarian\"), cell_number (\"609-405-2990\", \"(369)908-7311x065\", \"499-434-0215x1628\"), professional_id (9, 3, 10), home_phone (\"+02(1)0259033559\", \"(920)304-4499x59146\", \"(230)338-3342x585\") | treatments : professional_id (5, 6, 4), date_of_treatment (\"2018-03-19 04:39:54\", \"2018-03-11 04:23:15\", \"2018-03-08 05:26:23\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (15, 15, 12), cost_of_treatment (514, 567, 407), treatment_id (15, 15, 11)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : zip_code , state , first_name , owner_id , street , city , last_name , email_address , cell_number , home_phone 563-0260x454\", \"085.557.0379x84348\", \"066.264.7885\" | dogs : date_adopted , gender , age , date_of_birth , dog_id , breed_code , date_arrived , size_code , weight , owner_id , name , date_departed , abandoned_yn | professionals : street , e-mail , last_name , zip_code , state , electronic_address , first_name , city , role_code , cell_number 908-7311x065\", \"499-434-0215x1628\", professional_id , home_phone 0259033559\", \"304-4499x59146\", \"338-3342x585\" | treatments : professional_id , date_of_treatment , treatment_type_code , dog_id , cost_of_treatment , treatment_id", "extra_map": { "professionals": { "email_address": [ "e-mail", "electronic_address" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "home_phone", "cell_number", "e-mail", "electronic_address" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "id": "Professionals.professional_id", "role": "Professionals.role_code", "mail of the professionals": "Professionals", "treatment": "Treatments", "email": "Professionals.email_address" } }, { "question": "which owner owns the most dogs? list the #owner id# , #first name# and #last name# .", "db_id": "dog_kennels", "orig_query": "select t1.owner_id, t2.first_name, t2.last_name from dogs as t1 join owners as t2 on t1.owner_id = t2.owner_id group by t1.owner_id order by count(*) desc limit 1", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : first_name (\"Tre\", \"Gay\", \"Melisa\"), cell_number (\"(257)399-3116\", \"(722)768-5439x484\", \"478.978.0729\"), home_phone (\"916.976.9480x13851\", \"363.948.1090\", \"066.264.7885\"), city (\"Port Reannamouth\", \"Barrettburgh\", \"Lake Tia\"), email_address (\"kturner@example.net\", \"kturner@example.net\", \"zboncak.madonna@example.net\"), family_name (\"Nicolas\", \"Price\", \"Prohaska\"), street (\"60352 Kayleigh Crossing Suite 700\", \"89011 Kertzmann Spring Suite 642\", \"57382 Yost Ridges\"), zip_code (\"87304\", \"87304\", \"35747\"), surname (\"Nicolas\", \"Price\", \"Prohaska\"), owner_id (8, 6, 7), state (\"NorthDakota\", \"Vermont\", \"Arkansas\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-24 19:36:59\", \"2018-03-25 02:11:32\", \"2018-03-25 05:07:47\"), owner_id (13, 1, 10), name (\"Troy\", \"Holden\", \"Betty\"), gender (\"1\", \"0\"), date_arrived (\"2018-01-02 03:15:29\", \"2017-09-08 20:10:13\", \"2018-01-17 11:44:16\"), age (\"5\", \"5\", \"4\"), date_adopted (\"2018-03-13 12:47:15\", \"2018-03-25 08:12:51\", \"2018-03-13 12:47:15\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), dog_id (15, 8, 13), date_of_birth (\"2015-02-26 21:31:22\", \"2017-09-19 05:39:09\", \"2012-07-11 17:15:10\"), abandoned_yn (\"1\", \"0\"), weight (\"8.95\", \"4.01\", \"9.48\") | professionals : state (\"SouthCarolina\", \"California\", \"Indiana\"), city (\"West Heidi\", \"Domenickton\", \"North Adelberttown\"), email_address (\"jacynthe.mclaughlin@example.net\", \"jeichmann@example.com\", \"west.eula@example.net\"), zip_code (\"52476\", \"52476\", \"80775\"), role_code (\"Employee\", \"Veterenarian\"), home_phone (\"971.048.3763x9404\", \"320-508-6023\", \"+43(5)1132733868\"), street (\"390 Bryce Drive\nNorth Dock, LA 65357-7228\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \"), professional_id (6, 9, 10), first_name (\"Velva\", \"Brady\", \"Monte\"), last_name (\"Watsica\", \"Kshlerin\", \"Murazik\"), cell_number (\"139-321-7313\", \"880-659-7577x736\", \"(369)908-7311x065\") | treatments : dog_id (12, 4, 13), professional_id (5, 5, 14), date_of_treatment (\"2018-03-01 04:14:46\", \"2018-03-08 05:26:23\", \"2018-03-01 04:14:46\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (15, 11, 1), cost_of_treatment (681, 656, 567)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_type , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : first_name , cell_number 399-3116\", \"768-5439x484\", \"478.978.0729\", home_phone , city , email_address , family_name , street , zip_code , surname , owner_id , state | dogs : size_code , date_departed , owner_id , name , gender , date_arrived , age , date_adopted , breed_code , dog_id , date_of_birth , abandoned_yn , weight | professionals : state , city , email_address , zip_code , role_code , home_phone 1132733868\", street , professional_id , first_name , last_name , cell_number 908-7311x065\" | treatments : dog_id , professional_id , date_of_treatment , treatment_type_code , treatment_id , cost_of_treatment", "extra_map": { "owners": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "surname", "family_name" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner id": "Owners.owner_id", "first name": "Owners.first_name", "last name": "Owners.last_name" } }, { "question": "which owner owns the most dogs? list the #owner id# , #first name# and #last name# .", "db_id": "dog_kennels", "orig_query": "select t1.owner_id, t2.first_name, t2.last_name from dogs as t1 join owners as t2 on t1.owner_id = t2.owner_id group by t1.owner_id order by count(*) desc limit 1", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : owner_id (15, 11, 13), zip_code (\"11990\", \"22731\", \"36871\"), email_address (\"ykris@example.com\", \"kturner@example.net\", \"christy49@example.org\"), forename (\"Rolando\", \"Gay\", \"Lorenz\"), state (\"NorthDakota\", \"NewYork\", \"Arkansas\"), home_phone (\"1-346-655-5842x768\", \"130-796-4589x05454\", \"(094)747-5094x8134\"), city (\"Lake Carleyborough\", \"East Hillardberg\", \"Lake Jennyferfort\"), cell_number (\"(257)399-3116\", \"478.978.0729\", \"559.874.3011x989\"), street (\"60352 Kayleigh Crossing Suite 700\", \"9212 Rosenbaum Lights\", \"89011 Kertzmann Spring Suite 642\"), given_name (\"Rolando\", \"Gay\", \"Lorenz\"), last_name (\"Schmitt\", \"Ondricka\", \"Schmitt\") | dogs : date_departed (\"2018-03-25 15:05:16\", \"2018-03-24 19:12:22\", \"2018-03-24 23:48:59\"), date_adopted (\"2018-02-27 00:27:57\", \"2018-03-21 10:41:18\", \"2018-03-08 15:03:00\"), size_code (\"LGE\", \"MED\", \"SML\"), age (\"3\", \"2\", \"9\"), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\"), date_arrived (\"2017-09-08 20:10:13\", \"2017-04-20 00:58:55\", \"2017-06-25 10:14:05\"), name (\"Bessie\", \"Troy\", \"Mavis\"), date_of_birth (\"2013-02-13 05:15:21\", \"2008-05-19 15:54:49\", \"2017-09-19 05:39:09\"), dog_id (15, 11, 15), owner_id (13, 1, 6), weight (\"8.96\", \"8.95\", \"1.72\") | professionals : home_phone (\"022.529.0550x1319\", \"320-508-6023\", \"022.529.0550x1319\"), state (\"Mississippi\", \"Indiana\", \"Wisconsin\"), street (\"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"390 Bryce Drive\nNorth Dock, LA 65357-7228\"), email_address (\"schneider.kathryne@example.org\", \"marquardt.furman@example.org\", \"marquardt.furman@example.org\"), professional_id (8, 13, 5), cell_number (\"139-321-7313\", \"609-405-2990\", \"499-434-0215x1628\"), last_name (\"Considine\", \"Hyatt\", \"Tillman\"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Taryn\", \"Karley\", \"Ruben\"), zip_code (\"84515\", \"41215\", \"17902\"), city (\"McLaughlinfort\", \"New Maryjane\", \"Baileymouth\") | treatments : treatment_id (2, 5, 4), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (4, 10, 7), dog_id (2, 14, 4), date_of_treatment (\"2018-03-01 04:14:46\", \"2018-03-13 12:22:58\", \"2018-03-24 22:25:58\"), cost_of_treatment (852, 429, 668)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_amount , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : owner_id , zip_code , email_address , forename , state , home_phone 747-5094x8134\", city , cell_number 399-3116\", \"478.978.0729\", \"559.874.3011x989\", street , given_name , last_name | dogs : date_departed , date_adopted , size_code , age , gender , breed_code , abandoned_yn , date_arrived , name , date_of_birth , dog_id , owner_id , weight | professionals : home_phone , state , street , email_address , professional_id , cell_number , last_name , role_code , first_name , zip_code , city | treatments : treatment_id , treatment_type_code , professional_id , dog_id , date_of_treatment , cost_of_treatment", "extra_map": { "owners": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "given_name", "forename" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner id": "Owners.owner_id", "first name": "Owners.first_name", "last name": "Owners.last_name" } }, { "question": "which owner owns the most dogs? list the #owner id# , #first name# and #last name# .", "db_id": "dog_kennels", "orig_query": "select t1.owner_id, t2.first_name, t2.last_name from dogs as t1 join owners as t2 on t1.owner_id = t2.owner_id group by t1.owner_id order by count(*) desc limit 1", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : last_name (\"Prohaska\", \"DuBuque\", \"Hauck\"), street (\"57382 Yost Ridges\", \"9212 Rosenbaum Lights\", \"2635 Caitlyn Plains\"), home_phone (\"(058)997-7627\", \"1-332-849-1908\", \"01802479758\"), owner_id (4, 7, 14), email_address (\"margaretta.runte@example.net\", \"ymaggio@example.com\", \"christy49@example.org\"), state (\"Arizona\", \"Wisconsin\", \"SouthDakota\"), zip_code (\"00589\", \"86010\", \"86010\"), cell_number (\"762.589.6117x1328\", \"633.455.3045x85484\", \"481-483-9083x37986\"), city (\"Lake Valentin\", \"East Maribelbury\", \"Lake Jennyferfort\"), first_name (\"Adelle\", \"Melisa\", \"Emelie\") | dogs : age (\"8\", \"1\", \"4\"), date_arrived (\"2017-12-22 05:02:02\", \"2018-01-17 11:44:16\", \"2017-04-15 09:25:31\"), name (\"Mavis\", \"Jesus\", \"Troy\"), master_id (2, 12, 1), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_adopted (\"2018-03-21 10:41:18\", \"2018-03-10 15:06:43\", \"2018-03-25 08:12:51\"), size_code (\"LGE\", \"MED\", \"SML\"), guardian_id (2, 12, 1), abandoned_yn (\"1\", \"0\"), dog_id (11, 1, 1), weight (\"3.52\", \"7.57\", \"2.18\"), gender (\"1\", \"0\"), date_of_birth (\"2012-05-03 21:42:25\", \"2013-02-20 14:50:56\", \"2012-10-14 14:44:37\"), date_departed (\"2018-03-25 13:07:04\", \"2018-03-25 06:29:10\", \"2018-03-25 10:25:46\") | professionals : street (\"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"68589 Bradly Manor\nNew Audrey, IN 91497\"), state (\"Hawaii\", \"Connecticut\", \"Connecticut\"), email_address (\"lambert62@example.org\", \"marquardt.furman@example.org\", \"delphine29@example.com\"), cell_number (\"139-321-7313\", \"880-659-7577x736\", \"(369)908-7311x065\"), city (\"Baileymouth\", \"North Adelberttown\", \"Borisside\"), zip_code (\"41215\", \"17902\", \"43129\"), professional_id (13, 8, 12), role_code (\"Employee\", \"Veterenarian\"), home_phone (\"+43(5)1132733868\", \"346.594.3739\", \"1-138-287-3775\"), last_name (\"Tillman\", \"Hayes\", \"Jacobs\"), first_name (\"Winfield\", \"Karley\", \"Vernice\") | treatments : treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-11 04:23:15\", \"2018-03-23 13:52:10\", \"2018-03-08 05:26:23\"), treatment_id (8, 14, 3), professional_id (10, 14, 9), cost_of_treatment (147, 139, 407), dog_id (15, 14, 15)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_amount , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : last_name , street , home_phone 997-7627\", \"1-332-849-1908\", \"01802479758\", owner_id , email_address , state , zip_code , cell_number , city , first_name | dogs : age , date_arrived , name , master_id , breed_code , date_adopted , size_code , guardian_id , abandoned_yn , dog_id , weight , gender , date_of_birth , date_departed | professionals : street , state , email_address , cell_number 908-7311x065\", city , zip_code , professional_id , role_code , home_phone 1132733868\", \"346.594.3739\", \"1-138-287-3775\", last_name , first_name | treatments : treatment_type_code , date_of_treatment , treatment_id , professional_id , cost_of_treatment , dog_id", "extra_map": { "dogs": { "owner_id": [ "master_id", "guardian_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "master_id", "guardian_id" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner id": "Owners.owner_id", "first name": "Owners.first_name", "last name": "Owners.last_name" } }, { "question": "return the #owner# id, #first name# and l #ast name of the owner# who has the most dogs.", "db_id": "dog_kennels", "orig_query": "select t1.owner_id, t2.first_name, t2.last_name from dogs as t1 join owners as t2 on t1.owner_id = t2.owner_id group by t1.owner_id order by count(*) desc limit 1", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : surname (\"Price\", \"Rippin\", \"Schmitt\"), home_phone (\"893-862-5295x61709\", \"318-052-6573\", \"1-346-655-5842x768\"), state (\"Vermont\", \"Virginia\", \"Wisconsin\"), email_address (\"kturner@example.net\", \"ykris@example.com\", \"marks.gail@example.org\"), owner_id (6, 6, 9), family_name (\"Price\", \"Rippin\", \"Schmitt\"), first_name (\"Nora\", \"Nora\", \"Rachelle\"), city (\"West Leonard\", \"New Margaretteborough\", \"South Daisyfurt\"), street (\"9212 Rosenbaum Lights\", \"9212 Rosenbaum Lights\", \"89011 Kertzmann Spring Suite 642\"), zip_code (\"36871\", \"45244\", \"93165\"), cell_number (\"478.978.0729\", \"341.667.8085\", \"1-626-264-7659x1697\") | dogs : age (\"2\", \"3\", \"1\"), name (\"Lyric\", \"Jesus\", \"Mavis\"), size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-25 02:11:32\", \"2018-03-25 15:05:16\", \"2018-03-25 05:07:47\"), dog_id (10, 5, 7), owner_id (11, 7, 12), date_adopted (\"2018-03-14 08:05:18\", \"2018-03-05 06:05:23\", \"2018-03-06 16:32:11\"), weight (\"7.57\", \"8.04\", \"8.16\"), date_arrived (\"2017-06-25 10:14:05\", \"2017-05-06 08:03:52\", \"2017-12-29 06:08:26\"), date_of_birth (\"2017-09-19 05:39:09\", \"2013-02-20 14:50:56\", \"2012-07-11 17:15:10\"), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\") | professionals : home_phone (\"+43(5)1132733868\", \"971.048.3763x9404\", \"346.594.3739\"), street (\"72532 Hane Course\nLake Berylland, ND 95283\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Karley\", \"Karley\", \"Domenica\"), cell_number (\"328.842.3792\", \"1-258-285-4707x8020\", \"880-659-7577x736\"), professional_id (12, 13, 4), email_address (\"marquardt.furman@example.org\", \"jeichmann@example.com\", \"cole.margarita@example.org\"), state (\"NewMexico\", \"Mississippi\", \"NorthCarolina\"), zip_code (\"80775\", \"02281\", \"17902\"), city (\"Domenickton\", \"North Adelberttown\", \"West Heidi\"), last_name (\"Frami\", \"Pouros\", \"Kshlerin\") | treatments : treatment_id (5, 11, 9), cost_of_treatment (681, 147, 567), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-24 22:25:58\", \"2018-03-10 11:45:58\", \"2018-03-10 11:45:58\"), dog_id (15, 12, 2), professional_id (4, 7, 4)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_amount , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : surname , home_phone , state , email_address , owner_id , family_name , first_name , city , street , zip_code , cell_number | dogs : age , name , size_code , date_departed , dog_id , owner_id , date_adopted , weight , date_arrived , date_of_birth , gender , breed_code , abandoned_yn | professionals : home_phone 1132733868\", \"971.048.3763x9404\", \"346.594.3739\", street , role_code , first_name , cell_number , professional_id , email_address , state , zip_code , city , last_name | treatments : treatment_id , cost_of_treatment , treatment_type_code , date_of_treatment , dog_id , professional_id", "extra_map": { "owners": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "surname", "family_name" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner": "Owners", "first name": "Owners.first_name", "ast name of the owner": "Owners", "owner id": "Owners.owner_id", "last name": "Owners.last_name" } }, { "question": "return the #owner# id, #first name# and l #ast name of the owner# who has the most dogs.", "db_id": "dog_kennels", "orig_query": "select t1.owner_id, t2.first_name, t2.last_name from dogs as t1 join owners as t2 on t1.owner_id = t2.owner_id group by t1.owner_id order by count(*) desc limit 1", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : cell_number (\"+00(2)4323592985\", \"121.381.3316x6535\", \"559.874.3011x989\"), owner_id (15, 14, 2), state (\"Maryland\", \"NorthDakota\", \"Vermont\"), email_address (\"wpfeffer@example.net\", \"edythe62@example.org\", \"ybergstrom@example.com\"), last_name (\"Funk\", \"Feil\", \"Fisher\"), forename (\"Heather\", \"Kade\", \"Rolando\"), home_phone (\"318-052-6573\", \"363.948.1090\", \"(544)034-1670\"), zip_code (\"78297\", \"93165\", \"22731\"), street (\"60352 Kayleigh Crossing Suite 700\", \"59509 Mellie Mountain\", \"60352 Kayleigh Crossing Suite 700\"), given_name (\"Heather\", \"Kade\", \"Rolando\"), city (\"Brakusfurt\", \"Brakusfurt\", \"East Maribelbury\") | dogs : age (\"1\", \"4\", \"9\"), weight (\"2.18\", \"1.39\", \"5.16\"), abandoned_yn (\"1\", \"0\"), owner_id (12, 8, 14), date_departed (\"2018-03-25 10:25:46\", \"2018-03-24 23:48:59\", \"2018-03-24 19:12:22\"), date_adopted (\"2018-03-07 21:45:43\", \"2018-03-14 08:05:18\", \"2018-03-23 16:02:04\"), gender (\"1\", \"0\"), name (\"Mavis\", \"Jeffrey\", \"Kacey\"), dog_id (11, 3, 7), date_of_birth (\"2012-05-03 21:42:25\", \"2018-03-17 04:05:12\", \"2013-02-20 14:50:56\"), size_code (\"LGE\", \"MED\", \"SML\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_arrived (\"2017-09-08 20:10:13\", \"2017-12-22 05:02:02\", \"2017-06-18 19:45:38\") | professionals : zip_code (\"06646\", \"84515\", \"33020\"), state (\"Utah\", \"Montana\", \"Alabama\"), city (\"Borisside\", \"North Adelberttown\", \"Juddton\"), professional_id (12, 12, 11), last_name (\"Braun\", \"Considine\", \"Jacobs\"), cell_number (\"880-659-7577x736\", \"962-983-8109x3509\", \"00230569697\"), email_address (\"jacynthe.mclaughlin@example.net\", \"jacynthe.mclaughlin@example.net\", \"goyette.roosevelt@example.net\"), home_phone (\"022.529.0550x1319\", \"022.529.0550x1319\", \"891.475.2256\"), street (\"92912 Langworth Valleys Apt. 743\nThompsonborough, \", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Winfield\", \"Sigurd\", \"Taryn\") | treatments : dog_id (7, 10, 13), cost_of_treatment (656, 266, 266), date_of_treatment (\"2018-03-08 05:26:23\", \"2018-03-11 04:23:15\", \"2018-03-08 05:26:23\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (8, 13, 9), professional_id (8, 14, 4)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_amount , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : cell_number 4323592985\", \"121.381.3316x6535\", \"559.874.3011x989\", owner_id , state , email_address , last_name , forename , home_phone 034-1670\", zip_code , street , given_name , city | dogs : age , weight , abandoned_yn , owner_id , date_departed , date_adopted , gender , name , dog_id , date_of_birth , size_code , breed_code , date_arrived | professionals : zip_code , state , city , professional_id , last_name , cell_number , email_address , home_phone , street , role_code , first_name | treatments : dog_id , cost_of_treatment , date_of_treatment , treatment_type_code , treatment_id , professional_id", "extra_map": { "owners": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "given_name", "forename" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner": "Owners", "first name": "Owners.first_name", "ast name of the owner": "Owners", "owner id": "Owners.owner_id", "last name": "Owners.last_name" } }, { "question": "return the #owner# id, #first name# and l #ast name of the owner# who has the most dogs.", "db_id": "dog_kennels", "orig_query": "select t1.owner_id, t2.first_name, t2.last_name from dogs as t1 join owners as t2 on t1.owner_id = t2.owner_id group by t1.owner_id order by count(*) desc limit 1", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : first_name (\"Adelle\", \"Orlando\", \"Kade\"), street (\"68118 Daniel Row\", \"692 Jaskolski Forges\", \"51934 Treutel Harbor\"), cell_number (\"478.978.0729\", \"762.589.6117x1328\", \"739-136-7202\"), last_name (\"Fisher\", \"Hamill\", \"Haley\"), owner_id (12, 4, 2), zip_code (\"45244\", \"22731\", \"86010\"), email_address (\"ykris@example.com\", \"ybergstrom@example.com\", \"pearlie18@example.com\"), home_phone (\"893-862-5295x61709\", \"(094)747-5094x8134\", \"085.557.0379x84348\"), state (\"NorthDakota\", \"Vermont\", \"NorthDakota\"), city (\"Port Reannamouth\", \"New Margaretteborough\", \"Beerton\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), name (\"Merritt\", \"Mavis\", \"Houston\"), date_adopted (\"2018-02-27 00:27:57\", \"2018-03-13 12:47:15\", \"2018-03-14 08:05:18\"), abandoned_yn (\"1\", \"0\"), master_id (2, 12, 3), date_arrived (\"2017-10-25 00:55:34\", \"2017-10-24 04:45:13\", \"2017-06-18 19:45:38\"), age (\"8\", \"3\", \"4\"), guardian_id (2, 12, 3), gender (\"1\", \"0\"), weight (\"8.96\", \"3.52\", \"9.8\"), date_departed (\"2018-03-25 02:11:32\", \"2018-03-25 06:58:44\", \"2018-03-25 05:07:47\"), dog_id (8, 15, 6), date_of_birth (\"2010-11-11 07:11:53\", \"2015-02-26 21:31:22\", \"2012-05-31 08:01:36\") | professionals : state (\"Wisconsin\", \"California\", \"NewMexico\"), professional_id (4, 8, 2), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Ericka\", \"Winfield\", \"Danny\"), last_name (\"Tillman\", \"Christiansen\", \"Frami\"), zip_code (\"17902\", \"41215\", \"34041\"), city (\"New Maryjane\", \"Kirastad\", \"New Maryjane\"), home_phone (\"320-508-6023\", \"891.475.2256\", \"1-609-566-2752x25197\"), street (\"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"72532 Hane Course\nLake Berylland, ND 95283\", \"36895 Eli Ferry\nPort Marcelle, FL 45712\"), cell_number (\"328.842.3792\", \"00230569697\", \"139-321-7313\"), email_address (\"delphine29@example.com\", \"jeichmann@example.com\", \"jacynthe.mclaughlin@example.net\") | treatments : cost_of_treatment (139, 407, 428), professional_id (4, 14, 10), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (12, 7, 1), date_of_treatment (\"2018-03-13 12:22:58\", \"2018-03-15 19:10:02\", \"2018-03-10 11:45:58\"), treatment_id (1, 3, 9)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : first_name , street , cell_number , last_name , owner_id , zip_code , email_address , home_phone 747-5094x8134\", \"085.557.0379x84348\", state , city | dogs : size_code , breed_code , name , date_adopted , abandoned_yn , master_id , date_arrived , age , guardian_id , gender , weight , date_departed , dog_id , date_of_birth | professionals : state , professional_id , role_code , first_name , last_name , zip_code , city , home_phone , street , cell_number , email_address | treatments : cost_of_treatment , professional_id , treatment_type_code , dog_id , date_of_treatment , treatment_id", "extra_map": { "dogs": { "owner_id": [ "master_id", "guardian_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "master_id", "guardian_id" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner": "Owners", "first name": "Owners.first_name", "ast name of the owner": "Owners", "owner id": "Owners.owner_id", "last name": "Owners.last_name" } }, { "question": "which #professionals# have done at least two #treatments# ? list the #professional's id# , #role# , and #first name# .", "db_id": "dog_kennels", "orig_query": "select t1.professional_id, t1.role_code, t1.first_name from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) >= 2", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : owner_id (14, 15, 1), last_name (\"Feil\", \"Schmitt\", \"Mertz\"), city (\"East Maribelbury\", \"Lake Valentin\", \"Port Reannamouth\"), street (\"68118 Daniel Row\", \"59509 Mellie Mountain\", \"59509 Mellie Mountain\"), first_name (\"Cindy\", \"Jaclyn\", \"Melisa\"), cell_number (\"478.978.0729\", \"(257)399-3116\", \"1-739-421-2225x38148\"), zip_code (\"22731\", \"86010\", \"86010\"), home_phone (\"(058)997-7627\", \"130-796-4589x05454\", \"1-332-849-1908\"), state (\"Mississippi\", \"Virginia\", \"Pennsylvania\"), email_address (\"ykris@example.com\", \"hudson.favian@example.com\", \"marks.gail@example.org\") | dogs : weight (\"9.8\", \"9.8\", \"8.04\"), owner_id (8, 2, 3), age (\"3\", \"4\", \"9\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (14, 6, 7), date_arrived (\"2017-07-25 15:19:07\", \"2018-01-02 03:15:29\", \"2017-09-08 20:10:13\"), date_adopted (\"2018-03-07 21:45:43\", \"2018-03-14 08:05:18\", \"2018-03-13 12:47:15\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), name (\"George\", \"Jeffrey\", \"Bessie\"), abandoned_yn (\"1\", \"0\"), date_of_birth (\"2008-05-19 15:54:49\", \"2018-03-17 04:05:12\", \"2018-03-17 04:05:12\"), date_departed (\"2018-03-24 23:48:59\", \"2018-03-25 06:58:44\", \"2018-03-25 13:07:04\"), gender (\"1\", \"0\") | professionals : professional_id (14, 2, 7), city (\"North Adelberttown\", \"Jaceton\", \"North Adelberttown\"), last_name (\"Watsica\", \"Christiansen\", \"Walter\"), job_code (\"Employee\", \"Veterenarian\"), zip_code (\"34041\", \"54312\", \"07412\"), street (\"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"68589 Bradly Manor\nNew Audrey, IN 91497\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\"), email_address (\"jeichmann@example.com\", \"lucile.shanahan@example.org\", \"deanna.schuster@example.com\"), state (\"NewMexico\", \"SouthCarolina\", \"Wisconsin\"), home_phone (\"1-609-566-2752x25197\", \"(920)304-4499x59146\", \"022.529.0550x1319\"), cell_number (\"011.193.9081x3186\", \"328.842.3792\", \"609-405-2990\"), position_code (\"Employee\", \"Veterenarian\"), first_name (\"Velva\", \"Danny\", \"Vernice\") | treatments : treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (139, 407, 139), treatment_id (15, 6, 3), date_of_treatment (\"2018-03-15 20:25:34\", \"2018-03-23 13:52:10\", \"2018-03-16 10:27:36\"), professional_id (9, 10, 4), dog_id (14, 12, 13)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : owner_id , last_name , city , street , first_name , cell_number 399-3116\", \"1-739-421-2225x38148\", zip_code , home_phone 997-7627\", \"130-796-4589x05454\", \"1-332-849-1908\", state , email_address | dogs : weight , owner_id , age , size_code , dog_id , date_arrived , date_adopted , breed_code , name , abandoned_yn , date_of_birth , date_departed , gender | professionals : professional_id , city , last_name , job_code , zip_code , street , email_address , state , home_phone 304-4499x59146\", \"022.529.0550x1319\", cell_number , position_code , first_name | treatments : treatment_type_code , cost_of_treatment , treatment_id , date_of_treatment , professional_id , dog_id", "extra_map": { "professionals": { "role_code": [ "position_code", "job_code" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "position_code", "job_code" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professionals": "Professionals", "treatments": "Treatments", "role": "Professionals.role_code", "first name": "Professionals.first_name", "professional's id": "Professionals.professional_id" } }, { "question": "which #professionals# have done at least two #treatments# ? list the #professional's id# , #role# , and #first name# .", "db_id": "dog_kennels", "orig_query": "select t1.professional_id, t1.role_code, t1.first_name from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) >= 2", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : street (\"15828 Spencer Extensions\", \"60352 Kayleigh Crossing Suite 700\", \"89011 Kertzmann Spring Suite 642\"), first_name (\"Lorenz\", \"Kade\", \"Emelie\"), home_phone (\"916.976.9480x13851\", \"(094)747-5094x8134\", \"363.948.1090\"), cell_number (\"341.667.8085\", \"559.874.3011x989\", \"1-739-421-2225x38148\"), state (\"Maryland\", \"NewYork\", \"Pennsylvania\"), owner_id (8, 6, 5), last_name (\"Stoltenberg\", \"Hamill\", \"Prohaska\"), zip_code (\"87304\", \"87304\", \"22693\"), email_address (\"zboncak.madonna@example.net\", \"kturner@example.net\", \"ykris@example.com\"), city (\"Beerton\", \"East Hillardberg\", \"New Margaretteborough\") | dogs : date_arrived (\"2017-04-20 00:58:55\", \"2017-05-06 08:03:52\", \"2017-05-06 08:03:52\"), dog_id (11, 7, 10), name (\"Jesus\", \"Kacey\", \"Holden\"), abandoned_yn (\"1\", \"0\"), date_adopted (\"2018-03-25 08:12:51\", \"2018-03-08 15:03:00\", \"2018-03-08 15:03:00\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), size_code (\"LGE\", \"MED\", \"SML\"), age (\"9\", \"4\", \"2\"), date_departed (\"2018-03-25 04:50:22\", \"2018-03-25 02:47:40\", \"2018-03-24 19:36:59\"), gender (\"1\", \"0\"), weight (\"8.96\", \"8.16\", \"8.16\"), date_of_birth (\"2013-02-20 14:50:56\", \"2018-03-17 04:05:12\", \"2015-02-26 21:31:22\"), owner_id (5, 5, 12) | professionals : worker_id (3, 9, 13), role_code (\"Employee\", \"Veterenarian\"), state (\"Montana\", \"NewMexico\", \"Hawaii\"), city (\"Juddton\", \"Baileymouth\", \"West Heidi\"), street (\"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\"), cell_number (\"889-940-2676\", \"962-983-8109x3509\", \"962-983-8109x3509\"), zip_code (\"67980\", \"02281\", \"41215\"), staff_id (3, 9, 13), last_name (\"Hyatt\", \"Walter\", \"Pouros\"), first_name (\"Danny\", \"Brady\", \"Brady\"), home_phone (\"346.594.3739\", \"1-138-287-3775\", \"1-138-287-3775\"), email_address (\"marquardt.furman@example.org\", \"jeichmann@example.com\", \"mekhi.little@example.org\") | treatments : dog_id (12, 15, 13), date_of_treatment (\"2018-03-01 04:14:46\", \"2018-03-14 19:10:40\", \"2018-03-14 19:10:40\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (852, 514, 668), professional_id (6, 9, 10), treatment_id (13, 9, 1)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_type , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : street , first_name , home_phone 747-5094x8134\", \"363.948.1090\", cell_number , state , owner_id , last_name , zip_code , email_address , city | dogs : date_arrived , dog_id , name , abandoned_yn , date_adopted , breed_code , size_code , age , date_departed , gender , weight , date_of_birth , owner_id | professionals : worker_id , role_code , state , city , street , cell_number , zip_code , staff_id , last_name , first_name , home_phone , email_address | treatments : dog_id , date_of_treatment , treatment_type_code , cost_of_treatment , professional_id , treatment_id", "extra_map": { "professionals": { "professional_id": [ "worker_id", "staff_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "worker_id", "staff_id" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professionals": "Professionals", "treatments": "Treatments", "role": "Professionals.role_code", "first name": "Professionals.first_name", "professional's id": "Professionals.professional_id" } }, { "question": "which #professionals# have done at least two #treatments# ? list the #professional's id# , #role# , and #first name# .", "db_id": "dog_kennels", "orig_query": "select t1.professional_id, t1.role_code, t1.first_name from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) >= 2", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : email_address (\"ykris@example.com\", \"lynn81@example.org\", \"ymaggio@example.com\"), home_phone (\"1-682-845-0116x63235\", \"1-332-849-1908\", \"916.976.9480x13851\"), owner_id (14, 5, 11), city (\"South Afton\", \"South Daisyfurt\", \"Lake Valentin\"), state (\"NorthDakota\", \"Mississippi\", \"Mississippi\"), cell_number (\"478.978.0729\", \"+70(4)9217952551\", \"1-739-421-2225x38148\"), last_name (\"Ondricka\", \"Price\", \"Hauck\"), first_name (\"Emelie\", \"Tre\", \"Johann\"), street (\"692 Jaskolski Forges\", \"68118 Daniel Row\", \"2635 Caitlyn Plains\"), zip_code (\"92406\", \"35747\", \"02647\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), name (\"Jesus\", \"Holden\", \"Holden\"), abandoned_yn (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_adopted (\"2018-03-25 08:12:51\", \"2018-03-07 21:45:43\", \"2018-02-27 11:54:35\"), date_of_birth (\"2017-09-19 05:39:09\", \"2015-02-26 21:31:22\", \"2010-11-11 07:11:53\"), weight (\"3.52\", \"1.72\", \"8.95\"), gender (\"1\", \"0\"), owner_id (3, 6, 11), date_arrived (\"2017-10-16 20:06:21\", \"2017-07-25 15:19:07\", \"2017-07-25 15:19:07\"), age (\"1\", \"1\", \"1\"), date_departed (\"2018-03-25 15:05:16\", \"2018-03-24 23:48:59\", \"2018-03-25 10:25:46\"), dog_id (9, 13, 4) | professionals : city (\"Kirastad\", \"Juddton\", \"South Rockyport\"), role_code (\"Employee\", \"Veterenarian\"), street (\"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\"), state (\"Mississippi\", \"Mississippi\", \"Hawaii\"), last_name (\"Christiansen\", \"Tillman\", \"Hyatt\"), professional_id (8, 15, 12), home_phone (\"246-951-0080x76716\", \"+71(6)2898266914\", \"+43(5)1132733868\"), zip_code (\"34041\", \"54312\", \"34041\"), forename (\"Ruben\", \"Lesly\", \"Jayson\"), email_address (\"deanna.schuster@example.com\", \"lucile.shanahan@example.org\", \"mekhi.little@example.org\"), given_name (\"Ruben\", \"Lesly\", \"Jayson\"), cell_number (\"011.193.9081x3186\", \"499-434-0215x1628\", \"499-434-0215x1628\") | treatments : professional_id (5, 10, 9), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (6, 10, 4), date_of_treatment (\"2018-03-19 04:39:54\", \"2018-03-08 05:26:23\", \"2018-03-14 19:10:40\"), dog_id (1, 4, 10), cost_of_treatment (567, 852, 428)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_amount , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : email_address , home_phone , owner_id , city , state , cell_number 9217952551\", \"1-739-421-2225x38148\", last_name , first_name , street , zip_code | dogs : size_code , name , abandoned_yn , breed_code , date_adopted , date_of_birth , weight , gender , owner_id , date_arrived , age , date_departed , dog_id | professionals : city , role_code , street , state , last_name , professional_id , home_phone 2898266914\", \"+431132733868\", zip_code , forename , email_address , given_name , cell_number | treatments : professional_id , treatment_type_code , treatment_id , date_of_treatment , dog_id , cost_of_treatment", "extra_map": { "professionals": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "forename", "given_name" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professionals": "Professionals", "treatments": "Treatments", "role": "Professionals.role_code", "first name": "Professionals.first_name", "professional's id": "Professionals.professional_id" } }, { "question": "what are the #id# , #role# , and fi #rst name of the professionals w# ho have performed two or more treatments?", "db_id": "dog_kennels", "orig_query": "select t1.professional_id, t1.role_code, t1.first_name from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) >= 2", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : owner_id (9, 7, 10), email_address (\"lynn81@example.org\", \"fschoen@example.net\", \"zboncak.madonna@example.net\"), last_name (\"Ondricka\", \"Rippin\", \"DuBuque\"), cell_number (\"633.455.3045x85484\", \"559.874.3011x989\", \"633.455.3045x85484\"), zip_code (\"36871\", \"00589\", \"22731\"), street (\"1858 Jan Park\", \"89011 Kertzmann Spring Suite 642\", \"6950 Katherine Forges Apt. 630\"), home_phone (\"916.976.9480x13851\", \"(058)997-7627\", \"893-862-5295x61709\"), city (\"South Afton\", \"East Hillardberg\", \"Lake Carleyborough\"), first_name (\"Tre\", \"Heather\", \"Rachelle\"), state (\"NorthDakota\", \"Mississippi\", \"Wisconsin\") | dogs : abandoned_yn (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), date_arrived (\"2017-12-29 06:08:26\", \"2017-12-29 23:24:13\", \"2017-10-25 00:55:34\"), name (\"Betty\", \"Jeffrey\", \"Merritt\"), weight (\"9.8\", \"6.92\", \"8.04\"), date_of_birth (\"2008-10-09 22:38:53\", \"2008-10-09 22:38:53\", \"2010-11-11 07:11:53\"), dog_id (2, 7, 4), owner_id (2, 14, 5), date_departed (\"2018-03-25 02:11:32\", \"2018-03-25 02:47:40\", \"2018-03-25 15:05:16\"), date_adopted (\"2018-03-25 08:12:51\", \"2018-03-18 15:12:50\", \"2018-03-08 15:03:00\"), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), age (\"6\", \"6\", \"8\") | professionals : state (\"Montana\", \"NorthCarolina\", \"Hawaii\"), home_phone (\"(920)304-4499x59146\", \"320-508-6023\", \"312.216.3352\"), zip_code (\"67980\", \"06646\", \"34041\"), first_name (\"Olaf\", \"Brady\", \"Lesly\"), position_code (\"Employee\", \"Veterenarian\"), job_code (\"Employee\", \"Veterenarian\"), email_address (\"jacynthe.mclaughlin@example.net\", \"mekhi.little@example.org\", \"schneider.kathryne@example.org\"), street (\"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \"), professional_id (9, 9, 15), last_name (\"Hyatt\", \"Watsica\", \"Watsica\"), cell_number (\"00230569697\", \"328.842.3792\", \"1-258-285-4707x8020\"), city (\"Raynorfort\", \"West Heidi\", \"New Laurytown\") | treatments : treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (852, 313, 945), date_of_treatment (\"2018-03-23 13:52:10\", \"2018-03-23 13:52:10\", \"2018-03-16 10:27:36\"), treatment_id (11, 7, 7), professional_id (4, 4, 14), dog_id (14, 2, 1)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : owner_id , email_address , last_name , cell_number , zip_code , street , home_phone 997-7627\", \"893-862-5295x61709\", city , first_name , state | dogs : abandoned_yn , size_code , date_arrived , name , weight , date_of_birth , dog_id , owner_id , date_departed , date_adopted , gender , breed_code , age | professionals : state , home_phone 304-4499x59146\", \"320-508-6023\", \"312.216.3352\", zip_code , first_name , position_code , job_code , email_address , street , professional_id , last_name , cell_number , city | treatments : treatment_type_code , cost_of_treatment , date_of_treatment , treatment_id , professional_id , dog_id", "extra_map": { "professionals": { "role_code": [ "position_code", "job_code" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "position_code", "job_code" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "id": "Professionals.professional_id", "role": "Professionals.role_code", "rst name of the professionals w": "Professionals", "first name": "Professionals.first_name" } }, { "question": "what are the #id# , #role# , and fi #rst name of the professionals w# ho have performed two or more treatments?", "db_id": "dog_kennels", "orig_query": "select t1.professional_id, t1.role_code, t1.first_name from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) >= 2", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : home_phone (\"363.948.1090\", \"916.976.9480x13851\", \"1-346-655-5842x768\"), cell_number (\"(722)768-5439x484\", \"559.874.3011x989\", \"(783)271-6744x4507\"), zip_code (\"35747\", \"11990\", \"93165\"), street (\"68118 Daniel Row\", \"89011 Kertzmann Spring Suite 642\", \"51934 Treutel Harbor\"), first_name (\"Lorenz\", \"Lorenz\", \"Lorenz\"), last_name (\"Feil\", \"Haley\", \"Hauck\"), city (\"Lake Valentin\", \"Lake Tia\", \"Port Reannamouth\"), state (\"NewYork\", \"Wisconsin\", \"Arizona\"), owner_id (15, 10, 15), email_address (\"edythe62@example.org\", \"ybergstrom@example.com\", \"zboncak.madonna@example.net\") | dogs : date_adopted (\"2018-02-27 00:27:57\", \"2018-02-25 23:45:30\", \"2018-03-10 15:06:43\"), dog_id (11, 13, 7), owner_id (10, 14, 8), gender (\"1\", \"0\"), age (\"8\", \"9\", \"6\"), date_of_birth (\"2012-05-31 08:01:36\", \"2012-07-11 17:15:10\", \"2008-05-19 15:54:49\"), date_departed (\"2018-03-25 02:47:40\", \"2018-03-25 04:42:14\", \"2018-03-25 02:47:40\"), date_arrived (\"2017-07-25 15:19:07\", \"2017-06-18 19:45:38\", \"2017-09-08 20:10:13\"), weight (\"6.92\", \"3.52\", \"1.39\"), size_code (\"LGE\", \"MED\", \"SML\"), abandoned_yn (\"1\", \"0\"), name (\"Narciso\", \"Mavis\", \"George\"), breed_code (\"ESK\", \"BUL\", \"HUS\") | professionals : zip_code (\"33020\", \"67980\", \"52476\"), first_name (\"Sigurd\", \"Sigurd\", \"Monte\"), last_name (\"Pouros\", \"Tillman\", \"Ullrich\"), email_address (\"marquardt.furman@example.org\", \"schneider.kathryne@example.org\", \"deanna.schuster@example.com\"), staff_id (5, 14, 5), state (\"Wyoming\", \"Utah\", \"Wisconsin\"), cell_number (\"011.193.9081x3186\", \"139-321-7313\", \"889-940-2676\"), home_phone (\"+02(1)0259033559\", \"+43(5)1132733868\", \"891.475.2256\"), worker_id (5, 14, 5), street (\"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"390 Bryce Drive\nNorth Dock, LA 65357-7228\"), city (\"Domenickton\", \"South Rockyport\", \"New Laurytown\"), role_code (\"Employee\", \"Veterenarian\") | treatments : date_of_treatment (\"2018-03-15 19:10:02\", \"2018-03-23 13:52:10\", \"2018-03-13 12:22:58\"), professional_id (14, 4, 4), dog_id (1, 14, 10), treatment_id (3, 14, 5), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (514, 567, 681)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_id , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : home_phone , cell_number 768-5439x484\", \"559.874.3011x989\", \"271-6744x4507\", zip_code , street , first_name , last_name , city , state , owner_id , email_address | dogs : date_adopted , dog_id , owner_id , gender , age , date_of_birth , date_departed , date_arrived , weight , size_code , abandoned_yn , name , breed_code | professionals : zip_code , first_name , last_name , email_address , staff_id , state , cell_number , home_phone 0259033559\", \"+431132733868\", \"891.475.2256\", worker_id , street , city , role_code | treatments : date_of_treatment , professional_id , dog_id , treatment_id , treatment_type_code , cost_of_treatment", "extra_map": { "professionals": { "professional_id": [ "worker_id", "staff_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "worker_id", "staff_id" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "id": "Professionals.professional_id", "role": "Professionals.role_code", "rst name of the professionals w": "Professionals", "first name": "Professionals.first_name" } }, { "question": "what are the #id# , #role# , and fi #rst name of the professionals w# ho have performed two or more treatments?", "db_id": "dog_kennels", "orig_query": "select t1.professional_id, t1.role_code, t1.first_name from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) >= 2", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : first_name (\"Kade\", \"Jaclyn\", \"Heather\"), cell_number (\"121.381.3316x6535\", \"633.455.3045x85484\", \"(257)399-3116\"), zip_code (\"25609\", \"35747\", \"87304\"), last_name (\"Stoltenberg\", \"Price\", \"Hauck\"), city (\"Beerton\", \"Lake Carleyborough\", \"Port Zackery\"), street (\"2417 Keara Stravenue Apt. 146\", \"0647 Hintz Village Apt. 024\", \"60352 Kayleigh Crossing Suite 700\"), home_phone (\"893-862-5295x61709\", \"(058)997-7627\", \"893-862-5295x61709\"), owner_id (10, 4, 10), state (\"Vermont\", \"Washington\", \"SouthDakota\"), email_address (\"fschoen@example.net\", \"margaretta.runte@example.net\", \"kturner@example.net\") | dogs : date_of_birth (\"2012-10-14 14:44:37\", \"2013-02-13 05:15:21\", \"2015-02-26 21:31:22\"), owner_id (8, 6, 3), date_departed (\"2018-03-25 15:05:16\", \"2018-03-25 15:05:16\", \"2018-03-25 15:05:16\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), dog_id (11, 5, 13), date_adopted (\"2018-03-10 15:06:43\", \"2018-03-23 16:02:04\", \"2018-03-21 10:41:18\"), weight (\"2.18\", \"5.16\", \"1.72\"), size_code (\"LGE\", \"MED\", \"SML\"), gender (\"1\", \"0\"), date_arrived (\"2017-06-18 19:45:38\", \"2017-04-20 00:58:55\", \"2018-01-17 11:44:16\"), age (\"2\", \"3\", \"2\"), name (\"Mavis\", \"Lyric\", \"Kacey\"), abandoned_yn (\"1\", \"0\") | professionals : cell_number (\"(369)908-7311x065\", \"(275)939-2435x80863\", \"889-940-2676\"), city (\"New Laurytown\", \"Borisside\", \"North Adelberttown\"), street (\"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\"), email_address (\"mekhi.little@example.org\", \"jeichmann@example.com\", \"west.eula@example.net\"), home_phone (\"320-508-6023\", \"971.048.3763x9404\", \"+71(6)2898266914\"), last_name (\"Christiansen\", \"Walter\", \"Jacobs\"), given_name (\"Vernice\", \"Jayson\", \"Winfield\"), state (\"Connecticut\", \"California\", \"Wisconsin\"), role_code (\"Employee\", \"Veterenarian\"), forename (\"Vernice\", \"Jayson\", \"Winfield\"), zip_code (\"80775\", \"98844\", \"07412\"), professional_id (2, 5, 2) | treatments : date_of_treatment (\"2018-03-04 20:33:43\", \"2018-03-15 20:25:34\", \"2018-03-16 10:27:36\"), treatment_id (9, 6, 3), dog_id (14, 7, 13), professional_id (9, 7, 7), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (852, 681, 668)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_id , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : first_name , cell_number 399-3116\", zip_code , last_name , city , street , home_phone 997-7627\", \"893-862-5295x61709\", owner_id , state , email_address | dogs : date_of_birth , owner_id , date_departed , breed_code , dog_id , date_adopted , weight , size_code , gender , date_arrived , age , name , abandoned_yn | professionals : cell_number 908-7311x065\", \"939-2435x80863\", \"889-940-2676\", city , street , email_address , home_phone 2898266914\", last_name , given_name , state , role_code , forename , zip_code , professional_id | treatments : date_of_treatment , treatment_id , dog_id , professional_id , treatment_type_code , cost_of_treatment", "extra_map": { "professionals": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "forename", "given_name" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "id": "Professionals.professional_id", "role": "Professionals.role_code", "rst name of the professionals w": "Professionals", "first name": "Professionals.first_name" } }, { "question": "what is the #name of the breed# with the most #dogs# ?", "db_id": "dog_kennels", "orig_query": "select t1.breed_name from breeds as t1 join dogs as t2 on t1.breed_code = t2.breed_code group by t1.breed_name order by count(*) desc limit 1", "schema_with_content": "breeds : title (\"Eskimo\", \"Husky\", \"Bulldog\"), name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : city (\"Port Zackery\", \"East Hillardberg\", \"Port Zackery\"), first_name (\"Heather\", \"Cindy\", \"Jaclyn\"), email_address (\"lynn81@example.org\", \"hudson.favian@example.com\", \"lynn81@example.org\"), home_phone (\"318-052-6573\", \"130-796-4589x05454\", \"1-682-845-0116x63235\"), owner_id (1, 15, 11), last_name (\"Prohaska\", \"DuBuque\", \"Prohaska\"), zip_code (\"22693\", \"22693\", \"22693\"), state (\"Florida\", \"Pennsylvania\", \"Arizona\"), street (\"1858 Jan Park\", \"60352 Kayleigh Crossing Suite 700\", \"6950 Katherine Forges Apt. 630\"), cell_number (\"(783)271-6744x4507\", \"(783)271-6744x4507\", \"341.667.8085\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), weight (\"8.96\", \"1.72\", \"7.57\"), abandoned_yn (\"1\", \"0\"), dog_id (13, 1, 11), owner_id (6, 1, 12), date_adopted (\"2018-03-21 10:41:18\", \"2018-03-18 07:47:40\", \"2018-03-25 08:12:51\"), date_arrived (\"2017-12-22 05:02:02\", \"2017-12-29 06:08:26\", \"2017-12-29 06:08:26\"), gender (\"1\", \"0\"), date_of_birth (\"2012-05-03 21:42:25\", \"2017-09-19 05:39:09\", \"2008-10-09 22:38:53\"), age (\"2\", \"6\", \"2\"), date_departed (\"2018-03-25 04:42:14\", \"2018-03-25 06:58:44\", \"2018-03-25 04:50:22\"), name (\"George\", \"Holden\", \"Bessie\"), breed_code (\"ESK\", \"BUL\", \"HUS\") | professionals : street (\"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\"), professional_id (6, 13, 7), first_name (\"Winfield\", \"Domenica\", \"Vernice\"), zip_code (\"67980\", \"41215\", \"41215\"), state (\"NorthCarolina\", \"California\", \"Hawaii\"), cell_number (\"(369)908-7311x065\", \"499-434-0215x1628\", \"880-659-7577x736\"), last_name (\"Braun\", \"Hayes\", \"Hyatt\"), email_address (\"jacynthe.mclaughlin@example.net\", \"mekhi.little@example.org\", \"goyette.roosevelt@example.net\"), city (\"New Laurytown\", \"Baileymouth\", \"New Laurytown\"), role_code (\"Employee\", \"Veterenarian\"), home_phone (\"(230)338-3342x585\", \"+71(6)2898266914\", \"(230)338-3342x585\") | treatments : date_of_treatment (\"2018-03-24 22:25:58\", \"2018-03-19 04:39:54\", \"2018-03-15 19:10:02\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (14, 6, 4), cost_of_treatment (429, 514, 313), dog_id (12, 13, 1), treatment_id (5, 8, 12)", "schema_without_content": "breeds : title , name , breed_code | charges : charge_id , charge_type , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : city , first_name , email_address , home_phone , owner_id , last_name , zip_code , state , street , cell_number 271-6744x4507\", \"271-6744x4507\", \"341.667.8085\" | dogs : size_code , weight , abandoned_yn , dog_id , owner_id , date_adopted , date_arrived , gender , date_of_birth , age , date_departed , name , breed_code | professionals : street , professional_id , first_name , zip_code , state , cell_number 908-7311x065\", \"499-434-0215x1628\", \"880-659-7577x736\", last_name , email_address , city , role_code , home_phone 338-3342x585\", \"+712898266914\", \"338-3342x585\" | treatments : date_of_treatment , treatment_type_code , professional_id , cost_of_treatment , dog_id , treatment_id", "extra_map": { "breeds": { "breed_name": [ "name", "title" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "name", "title" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "name of the breed": "Breeds.breed_name", "dogs": "Dogs" } }, { "question": "which #breed# do the most dogs have? give me the #breed name# .", "db_id": "dog_kennels", "orig_query": "select t1.breed_name from breeds as t1 join dogs as t2 on t1.breed_code = t2.breed_code group by t1.breed_name order by count(*) desc limit 1", "schema_with_content": "breeds : name (\"Eskimo\", \"Husky\", \"Bulldog\"), title (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : owner_id (13, 12, 10), city (\"East Hillardberg\", \"South Afton\", \"Lake Carleyborough\"), cell_number (\"+70(4)9217952551\", \"762.589.6117x1328\", \"(722)768-5439x484\"), first_name (\"Heather\", \"Kade\", \"Nora\"), home_phone (\"(094)747-5094x8134\", \"318-052-6573\", \"(058)997-7627\"), email_address (\"marks.gail@example.org\", \"fschoen@example.net\", \"zboncak.madonna@example.net\"), state (\"NewYork\", \"Arizona\", \"Pennsylvania\"), last_name (\"Ondricka\", \"Rippin\", \"Ondricka\"), street (\"89011 Kertzmann Spring Suite 642\", \"15828 Spencer Extensions\", \"68118 Daniel Row\"), zip_code (\"87304\", \"78297\", \"00589\") | dogs : date_arrived (\"2017-04-15 09:25:31\", \"2017-10-16 20:06:21\", \"2017-10-24 04:45:13\"), date_adopted (\"2018-03-10 15:06:43\", \"2018-03-21 10:41:18\", \"2018-03-06 16:32:11\"), weight (\"7.57\", \"8.96\", \"6.92\"), dog_id (2, 9, 5), age (\"4\", \"4\", \"3\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), owner_id (6, 7, 2), name (\"Troy\", \"Narciso\", \"George\"), gender (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), date_of_birth (\"2012-10-14 14:44:37\", \"2017-09-19 05:39:09\", \"2008-05-30 12:51:34\"), date_departed (\"2018-03-25 14:15:41\", \"2018-03-25 06:58:44\", \"2018-03-25 06:29:10\"), abandoned_yn (\"1\", \"0\") | professionals : state (\"Connecticut\", \"NorthCarolina\", \"Connecticut\"), city (\"East Ila\", \"New Laurytown\", \"New Maryjane\"), cell_number (\"328.842.3792\", \"1-258-285-4707x8020\", \"880-659-7577x736\"), last_name (\"Hayes\", \"O'Reilly\", \"Hyatt\"), email_address (\"deanna.schuster@example.com\", \"deanna.schuster@example.com\", \"west.eula@example.net\"), zip_code (\"67980\", \"80775\", \"52476\"), first_name (\"Jayson\", \"Monte\", \"Winfield\"), professional_id (4, 6, 11), street (\"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"92912 Langworth Valleys Apt. 743\nThompsonborough, \", \"92912 Langworth Valleys Apt. 743\nThompsonborough, \"), home_phone (\"022.529.0550x1319\", \"+43(5)1132733868\", \"971.048.3763x9404\"), role_code (\"Employee\", \"Veterenarian\") | treatments : dog_id (14, 15, 13), treatment_id (1, 14, 5), date_of_treatment (\"2018-03-15 19:10:02\", \"2018-02-28 17:09:43\", \"2018-03-13 12:22:58\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (9, 5, 6), cost_of_treatment (428, 514, 656)", "schema_without_content": "breeds : name , title , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : owner_id , city , cell_number 9217952551\", \"762.589.6117x1328\", \"768-5439x484\", first_name , home_phone 747-5094x8134\", \"318-052-6573\", \"997-7627\", email_address , state , last_name , street , zip_code | dogs : date_arrived , date_adopted , weight , dog_id , age , breed_code , owner_id , name , gender , size_code , date_of_birth , date_departed , abandoned_yn | professionals : state , city , cell_number , last_name , email_address , zip_code , first_name , professional_id , street , home_phone 1132733868\", \"971.048.3763x9404\", role_code | treatments : dog_id , treatment_id , date_of_treatment , treatment_type_code , professional_id , cost_of_treatment", "extra_map": { "breeds": { "breed_name": [ "name", "title" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "name", "title" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "breed": "Breeds", "breed name": "Breeds.breed_name" } }, { "question": "which owner has paid for the most treatments on his or her dogs? list the #owner id# and #last name# .", "db_id": "dog_kennels", "orig_query": "select t1.owner_id, t1.last_name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id join treatments as t3 on t2.dog_id = t3.dog_id group by t1.owner_id order by count(*) desc limit 1", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : city (\"Barrettburgh\", \"South Daisyfurt\", \"Port Zackery\"), family_name (\"Hamill\", \"Fisher\", \"Feil\"), surname (\"Hamill\", \"Fisher\", \"Feil\"), owner_id (15, 10, 15), cell_number (\"121.381.3316x6535\", \"(722)768-5439x484\", \"739-136-7202\"), street (\"15828 Spencer Extensions\", \"1858 Jan Park\", \"1858 Jan Park\"), state (\"Vermont\", \"Washington\", \"Virginia\"), zip_code (\"35747\", \"78297\", \"78297\"), first_name (\"Gay\", \"Nora\", \"Rachelle\"), home_phone (\"(799)563-0260x454\", \"085.557.0379x84348\", \"(058)997-7627\"), email_address (\"pearlie18@example.com\", \"hudson.favian@example.com\", \"lynn81@example.org\") | dogs : abandoned_yn (\"1\", \"0\"), dog_id (13, 2, 15), size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-24 19:12:22\", \"2018-03-25 06:29:10\", \"2018-03-25 02:47:40\"), age (\"2\", \"9\", \"9\"), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_of_birth (\"2012-05-31 08:01:36\", \"2012-05-03 21:42:25\", \"2013-02-13 05:15:21\"), name (\"Narciso\", \"Narciso\", \"Mavis\"), weight (\"8.04\", \"1.39\", \"9.48\"), owner_id (12, 5, 10), date_arrived (\"2017-10-24 04:45:13\", \"2017-10-25 00:55:34\", \"2017-09-08 20:10:13\"), date_adopted (\"2018-03-05 06:05:23\", \"2018-03-18 15:12:50\", \"2018-02-27 11:54:35\") | professionals : professional_id (4, 2, 2), last_name (\"Considine\", \"Hayes\", \"Watsica\"), zip_code (\"84515\", \"06646\", \"07412\"), state (\"Hawaii\", \"Montana\", \"Wisconsin\"), first_name (\"Domenica\", \"Domenica\", \"Karley\"), cell_number (\"609-405-2990\", \"00230569697\", \"1-258-285-4707x8020\"), role_code (\"Employee\", \"Veterenarian\"), email_address (\"cole.margarita@example.org\", \"west.eula@example.net\", \"marquardt.furman@example.org\"), city (\"New Laurytown\", \"North Odellfurt\", \"McLaughlinfort\"), street (\"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"390 Bryce Drive\nNorth Dock, LA 65357-7228\"), home_phone (\"(920)304-4499x59146\", \"320-508-6023\", \"246-951-0080x76716\") | treatments : treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-04 20:33:43\", \"2018-03-15 19:10:02\", \"2018-03-01 04:14:46\"), cost_of_treatment (266, 266, 945), treatment_id (9, 4, 9), dog_id (15, 10, 15), professional_id (6, 14, 5)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : city , family_name , surname , owner_id , cell_number 768-5439x484\", \"739-136-7202\", street , state , zip_code , first_name , home_phone 563-0260x454\", \"085.557.0379x84348\", \"997-7627\", email_address | dogs : abandoned_yn , dog_id , size_code , date_departed , age , gender , breed_code , date_of_birth , name , weight , owner_id , date_arrived , date_adopted | professionals : professional_id , last_name , zip_code , state , first_name , cell_number , role_code , email_address , city , street , home_phone 304-4499x59146\", \"320-508-6023\", \"246-951-0080x76716\" | treatments : treatment_type_code , date_of_treatment , cost_of_treatment , treatment_id , dog_id , professional_id", "extra_map": { "owners": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "surname", "family_name" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner id": "Owners.owner_id", "last name": "Owners.last_name" } }, { "question": "which owner has paid for the most treatments on his or her dogs? list the #owner id# and #last name# .", "db_id": "dog_kennels", "orig_query": "select t1.owner_id, t1.last_name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id join treatments as t3 on t2.dog_id = t3.dog_id group by t1.owner_id order by count(*) desc limit 1", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : home_phone (\"(058)997-7627\", \"893-862-5295x61709\", \"(058)997-7627\"), first_name (\"Emelie\", \"Kade\", \"Kade\"), email_address (\"ybergstrom@example.com\", \"ymaggio@example.com\", \"wpfeffer@example.net\"), cell_number (\"341.667.8085\", \"+00(2)4323592985\", \"341.667.8085\"), city (\"West Leonard\", \"East Maribelbury\", \"South Afton\"), street (\"0647 Hintz Village Apt. 024\", \"9212 Rosenbaum Lights\", \"1204 Mae Highway Apt. 107\"), state (\"Virginia\", \"Vermont\", \"Mississippi\"), zip_code (\"78297\", \"36871\", \"11990\"), person_id (14, 12, 7), client_id (14, 12, 7), last_name (\"Fisher\", \"Stoltenberg\", \"Rippin\") | dogs : owner_id (1, 8, 2), date_arrived (\"2017-06-25 10:14:05\", \"2017-09-08 20:10:13\", \"2017-05-06 08:03:52\"), date_departed (\"2018-03-25 06:58:44\", \"2018-03-24 19:36:59\", \"2018-03-25 15:05:16\"), weight (\"4.36\", \"8.96\", \"8.96\"), gender (\"1\", \"0\"), date_adopted (\"2018-03-18 07:47:40\", \"2018-03-21 10:41:18\", \"2018-03-07 21:45:43\"), name (\"Hipolito\", \"Houston\", \"Hipolito\"), size_code (\"LGE\", \"MED\", \"SML\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), dog_id (12, 2, 8), date_of_birth (\"2009-04-12 06:02:48\", \"2012-10-14 14:44:37\", \"2012-01-27 05:11:53\"), abandoned_yn (\"1\", \"0\"), age (\"3\", \"9\", \"3\") | professionals : zip_code (\"43129\", \"77129\", \"98844\"), last_name (\"Murazik\", \"Hayes\", \"Tillman\"), home_phone (\"325-155-0801x7005\", \"+02(1)0259033559\", \"325-155-0801x7005\"), professional_id (8, 8, 4), first_name (\"Olaf\", \"Danny\", \"Olaf\"), email_address (\"jeichmann@example.com\", \"delphine29@example.com\", \"cole.margarita@example.org\"), street (\"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"92912 Langworth Valleys Apt. 743\nThompsonborough, \", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\"), city (\"East Ila\", \"North Odellfurt\", \"North Odellfurt\"), role_code (\"Employee\", \"Veterenarian\"), state (\"California\", \"Wisconsin\", \"Mississippi\"), cell_number (\"889-940-2676\", \"139-321-7313\", \"499-434-0215x1628\") | treatments : cost_of_treatment (428, 681, 656), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (10, 4, 13), treatment_id (15, 12, 9), professional_id (5, 9, 6), date_of_treatment (\"2018-03-15 20:25:34\", \"2018-03-16 10:27:36\", \"2018-03-11 04:23:15\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : home_phone 997-7627\", \"893-862-5295x61709\", \"997-7627\", first_name , email_address , cell_number 4323592985\", \"341.667.8085\", city , street , state , zip_code , person_id , client_id , last_name | dogs : owner_id , date_arrived , date_departed , weight , gender , date_adopted , name , size_code , breed_code , dog_id , date_of_birth , abandoned_yn , age | professionals : zip_code , last_name , home_phone 0259033559\", \"325-155-0801x7005\", professional_id , first_name , email_address , street , city , role_code , state , cell_number | treatments : cost_of_treatment , treatment_type_code , dog_id , treatment_id , professional_id , date_of_treatment", "extra_map": { "owners": { "owner_id": [ "person_id", "client_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "person_id", "client_id" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner id": "Owners.owner_id", "last name": "Owners.last_name" } }, { "question": "tell me the #owner# id and #last name of the owner# who spent the most on treatments of his or her dogs.", "db_id": "dog_kennels", "orig_query": "select t1.owner_id, t1.last_name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id join treatments as t3 on t2.dog_id = t3.dog_id group by t1.owner_id order by count(*) desc limit 1", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : owner_id (1, 10, 5), street (\"692 Jaskolski Forges\", \"9212 Rosenbaum Lights\", \"692 Jaskolski Forges\"), home_phone (\"1-346-655-5842x768\", \"(799)563-0260x454\", \"893-862-5295x61709\"), surname (\"Haley\", \"Nicolas\", \"Fisher\"), city (\"New Margaretteborough\", \"Port Reannamouth\", \"Barrettburgh\"), state (\"SouthDakota\", \"SouthDakota\", \"Arkansas\"), family_name (\"Haley\", \"Nicolas\", \"Fisher\"), cell_number (\"+00(2)4323592985\", \"1-739-421-2225x38148\", \"1-626-264-7659x1697\"), email_address (\"wpfeffer@example.net\", \"ybergstrom@example.com\", \"margaretta.runte@example.net\"), zip_code (\"86010\", \"87304\", \"11990\"), first_name (\"Emelie\", \"Heather\", \"Johann\") | dogs : owner_id (7, 14, 8), date_departed (\"2018-03-25 04:50:22\", \"2018-03-25 10:25:46\", \"2018-03-25 13:07:04\"), dog_id (12, 5, 15), age (\"4\", \"8\", \"2\"), gender (\"1\", \"0\"), date_arrived (\"2017-12-22 05:02:02\", \"2017-12-29 06:08:26\", \"2018-01-02 03:15:29\"), weight (\"9.48\", \"8.95\", \"9.8\"), date_of_birth (\"2012-05-03 21:42:25\", \"2012-07-11 17:15:10\", \"2008-05-19 15:54:49\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), size_code (\"LGE\", \"MED\", \"SML\"), date_adopted (\"2018-02-27 00:27:57\", \"2018-03-06 16:32:11\", \"2018-03-06 16:32:11\"), name (\"Jeffrey\", \"Mavis\", \"George\"), abandoned_yn (\"1\", \"0\") | professionals : zip_code (\"17902\", \"52476\", \"34041\"), role_code (\"Employee\", \"Veterenarian\"), email_address (\"lambert62@example.org\", \"west.eula@example.net\", \"goyette.roosevelt@example.net\"), city (\"Kirastad\", \"Raynorfort\", \"West Heidi\"), last_name (\"Pouros\", \"Tillman\", \"Tillman\"), home_phone (\"325-155-0801x7005\", \"312.216.3352\", \"(920)304-4499x59146\"), professional_id (1, 2, 5), first_name (\"Taryn\", \"Karley\", \"Ruben\"), state (\"Utah\", \"Wyoming\", \"Alabama\"), street (\"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\"), cell_number (\"1-185-137-1945x409\", \"328.842.3792\", \"461-801-2600\") | treatments : professional_id (4, 6, 4), date_of_treatment (\"2018-03-24 22:25:58\", \"2018-03-14 19:10:40\", \"2018-03-19 04:39:54\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (429, 407, 428), treatment_id (4, 15, 5), dog_id (7, 15, 1)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : owner_id , street , home_phone 563-0260x454\", \"893-862-5295x61709\", surname , city , state , family_name , cell_number 4323592985\", \"1-739-421-2225x38148\", \"1-626-264-7659x1697\", email_address , zip_code , first_name | dogs : owner_id , date_departed , dog_id , age , gender , date_arrived , weight , date_of_birth , breed_code , size_code , date_adopted , name , abandoned_yn | professionals : zip_code , role_code , email_address , city , last_name , home_phone 304-4499x59146\", professional_id , first_name , state , street , cell_number | treatments : professional_id , date_of_treatment , treatment_type_code , cost_of_treatment , treatment_id , dog_id", "extra_map": { "owners": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "surname", "family_name" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner": "Owners", "last name of the owner": "Owners.last_name", "owner id": "Owners.owner_id" } }, { "question": "tell me the #owner# id and #last name of the owner# who spent the most on treatments of his or her dogs.", "db_id": "dog_kennels", "orig_query": "select t1.owner_id, t1.last_name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id join treatments as t3 on t2.dog_id = t3.dog_id group by t1.owner_id order by count(*) desc limit 1", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : home_phone (\"(544)034-1670\", \"(799)563-0260x454\", \"(544)034-1670\"), email_address (\"margaretta.runte@example.net\", \"marks.gail@example.org\", \"ykris@example.com\"), city (\"South Afton\", \"West Leonard\", \"East Hillardberg\"), state (\"Wisconsin\", \"Florida\", \"Arkansas\"), street (\"57382 Yost Ridges\", \"68118 Daniel Row\", \"15828 Spencer Extensions\"), client_id (15, 9, 3), zip_code (\"22693\", \"02647\", \"93165\"), person_id (15, 9, 3), last_name (\"Stoltenberg\", \"Funk\", \"Hamill\"), first_name (\"Jaclyn\", \"Jaclyn\", \"Cindy\"), cell_number (\"+70(4)9217952551\", \"(722)768-5439x484\", \"341.667.8085\") | dogs : dog_id (9, 8, 1), name (\"Holden\", \"Jeffrey\", \"Jesus\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_adopted (\"2018-02-25 23:45:30\", \"2018-02-27 00:27:57\", \"2018-02-27 11:54:35\"), abandoned_yn (\"1\", \"0\"), age (\"4\", \"6\", \"2\"), owner_id (12, 6, 10), date_departed (\"2018-03-24 19:12:22\", \"2018-03-25 15:05:16\", \"2018-03-24 19:36:59\"), size_code (\"LGE\", \"MED\", \"SML\"), date_of_birth (\"2012-01-27 05:11:53\", \"2008-10-09 22:38:53\", \"2008-10-09 22:38:53\"), date_arrived (\"2017-12-29 06:08:26\", \"2018-01-02 03:15:29\", \"2017-07-25 15:19:07\"), gender (\"1\", \"0\"), weight (\"8.16\", \"9.8\", \"4.01\") | professionals : professional_id (3, 10, 11), state (\"SouthCarolina\", \"Utah\", \"Wisconsin\"), home_phone (\"246-951-0080x76716\", \"891.475.2256\", \"022.529.0550x1319\"), role_code (\"Employee\", \"Veterenarian\"), street (\"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"72532 Hane Course\nLake Berylland, ND 95283\", \"68589 Bradly Manor\nNew Audrey, IN 91497\"), zip_code (\"17902\", \"06646\", \"41215\"), first_name (\"Taryn\", \"Ruben\", \"Jayson\"), email_address (\"cole.margarita@example.org\", \"deanna.schuster@example.com\", \"goyette.roosevelt@example.net\"), last_name (\"Watsica\", \"Murazik\", \"Braun\"), cell_number (\"1-185-137-1945x409\", \"1-185-137-1945x409\", \"889-940-2676\"), city (\"Borisside\", \"North Odellfurt\", \"Raynorfort\") | treatments : treatment_id (12, 6, 1), date_of_treatment (\"2018-03-10 11:45:58\", \"2018-03-13 12:22:58\", \"2018-02-28 17:09:43\"), dog_id (12, 2, 10), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (7, 9, 10), cost_of_treatment (139, 681, 567)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : home_phone 034-1670\", \"563-0260x454\", \"034-1670\", email_address , city , state , street , client_id , zip_code , person_id , last_name , first_name , cell_number 9217952551\", \"768-5439x484\", \"341.667.8085\" | dogs : dog_id , name , breed_code , date_adopted , abandoned_yn , age , owner_id , date_departed , size_code , date_of_birth , date_arrived , gender , weight | professionals : professional_id , state , home_phone , role_code , street , zip_code , first_name , email_address , last_name , cell_number , city | treatments : treatment_id , date_of_treatment , dog_id , treatment_type_code , professional_id , cost_of_treatment", "extra_map": { "owners": { "owner_id": [ "person_id", "client_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "person_id", "client_id" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner": "Owners", "last name of the owner": "Owners.last_name", "owner id": "Owners.owner_id" } }, { "question": "what is the #description of the treatment type that costs# the least money in total?", "db_id": "dog_kennels", "orig_query": "select t1.treatment_type_description from treatment_types as t1 join treatments as t2 on t1.treatment_type_code = t2.treatment_type_code group by t1.treatment_type_code order by sum(cost_of_treatment) asc limit 1", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : home_phone (\"(058)997-7627\", \"1-682-845-0116x63235\", \"1-332-849-1908\"), last_name (\"Funk\", \"Rippin\", \"Schmitt\"), first_name (\"Melisa\", \"Emelie\", \"Adelle\"), owner_id (6, 15, 2), state (\"NorthDakota\", \"Wisconsin\", \"Wisconsin\"), cell_number (\"(783)271-6744x4507\", \"739-136-7202\", \"739-136-7202\"), email_address (\"marks.gail@example.org\", \"ymaggio@example.com\", \"christy49@example.org\"), street (\"15828 Spencer Extensions\", \"0647 Hintz Village Apt. 024\", \"1204 Mae Highway Apt. 107\"), zip_code (\"00589\", \"87304\", \"92406\"), city (\"Lake Valentin\", \"New Margaretteborough\", \"West Leonard\") | dogs : date_adopted (\"2018-03-08 15:03:00\", \"2018-03-25 08:12:51\", \"2018-03-05 06:05:23\"), owner_id (14, 8, 14), dog_id (13, 11, 7), size_code (\"LGE\", \"MED\", \"SML\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_arrived (\"2018-01-17 11:44:16\", \"2017-05-06 08:03:52\", \"2017-06-25 10:14:05\"), weight (\"8.16\", \"9.48\", \"9.8\"), age (\"3\", \"8\", \"3\"), abandoned_yn (\"1\", \"0\"), date_departed (\"2018-03-25 14:15:41\", \"2018-03-25 13:07:04\", \"2018-03-25 02:47:40\"), name (\"Troy\", \"Hipolito\", \"Jeffrey\"), gender (\"1\", \"0\"), date_of_birth (\"2008-05-30 12:51:34\", \"2013-02-20 14:50:56\", \"2018-03-17 04:05:12\") | professionals : state (\"Wyoming\", \"NewMexico\", \"Hawaii\"), home_phone (\"022.529.0550x1319\", \"+43(5)1132733868\", \"(920)304-4499x59146\"), zip_code (\"52476\", \"41215\", \"43129\"), street (\"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"68589 Bradly Manor\nNew Audrey, IN 91497\"), city (\"East Ila\", \"Jaceton\", \"North Adelberttown\"), first_name (\"Lesly\", \"Brady\", \"Jayson\"), role_code (\"Employee\", \"Veterenarian\"), professional_id (6, 15, 1), last_name (\"Considine\", \"Braun\", \"Braun\"), cell_number (\"011.193.9081x3186\", \"889-940-2676\", \"1-181-670-9466\"), email_address (\"west.eula@example.net\", \"marquardt.furman@example.org\", \"mekhi.little@example.org\") | treatments : cost_of_treatment (514, 668, 567), treatment_id (15, 8, 12), dog_id (7, 12, 2), date_of_treatment (\"2018-03-14 19:10:40\", \"2018-03-01 04:14:46\", \"2018-03-01 04:14:46\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (9, 10, 10)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_type , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_code , type_description , treatment_description | owners : home_phone 997-7627\", \"1-682-845-0116x63235\", \"1-332-849-1908\", last_name , first_name , owner_id , state , cell_number 271-6744x4507\", \"739-136-7202\", \"739-136-7202\", email_address , street , zip_code , city | dogs : date_adopted , owner_id , dog_id , size_code , breed_code , date_arrived , weight , age , abandoned_yn , date_departed , name , gender , date_of_birth | professionals : state , home_phone 1132733868\", \"304-4499x59146\", zip_code , street , city , first_name , role_code , professional_id , last_name , cell_number , email_address | treatments : cost_of_treatment , treatment_id , dog_id , date_of_treatment , treatment_type_code , professional_id", "extra_map": { "treatment_types": { "treatment_type_description": [ "treatment_description", "type_description" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_description", "type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "description of the treatment type that costs": "Treatment_Types.treatment_type_description" } }, { "question": "give me the #description of the treatment type# whose #total cost# is the lowest.", "db_id": "dog_kennels", "orig_query": "select t1.treatment_type_description from treatment_types as t1 join treatments as t2 on t1.treatment_type_code = t2.treatment_type_code group by t1.treatment_type_code order by sum(cost_of_treatment) asc limit 1", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : owner_id (5, 8, 15), city (\"Beerton\", \"Lake Valentin\", \"Port Reannamouth\"), first_name (\"Kade\", \"Johann\", \"Rolando\"), last_name (\"Funk\", \"Mertz\", \"Fisher\"), home_phone (\"(094)747-5094x8134\", \"01802479758\", \"(094)747-5094x8134\"), cell_number (\"739-136-7202\", \"633.455.3045x85484\", \"1-626-264-7659x1697\"), street (\"2635 Caitlyn Plains\", \"0647 Hintz Village Apt. 024\", \"2417 Keara Stravenue Apt. 146\"), zip_code (\"61019\", \"02647\", \"35747\"), email_address (\"ymaggio@example.com\", \"kturner@example.net\", \"ykris@example.com\"), state (\"NorthDakota\", \"NorthDakota\", \"Florida\") | dogs : date_of_birth (\"2012-05-03 21:42:25\", \"2012-05-31 08:01:36\", \"2012-01-27 05:11:53\"), date_arrived (\"2017-12-29 23:24:13\", \"2017-12-22 05:02:02\", \"2017-04-15 09:25:31\"), weight (\"4.36\", \"4.01\", \"7.57\"), date_adopted (\"2018-03-18 15:12:50\", \"2018-03-06 16:32:11\", \"2018-03-21 10:41:18\"), abandoned_yn (\"1\", \"0\"), age (\"5\", \"5\", \"3\"), gender (\"1\", \"0\"), date_departed (\"2018-03-25 06:29:10\", \"2018-03-25 15:05:16\", \"2018-03-25 02:47:40\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), owner_id (13, 10, 5), size_code (\"LGE\", \"MED\", \"SML\"), name (\"Bessie\", \"Lyric\", \"Troy\"), dog_id (1, 15, 1) | professionals : last_name (\"Murazik\", \"O'Reilly\", \"Watsica\"), first_name (\"Karley\", \"Taryn\", \"Winfield\"), email_address (\"jeichmann@example.com\", \"jacynthe.mclaughlin@example.net\", \"jeichmann@example.com\"), cell_number (\"1-258-285-4707x8020\", \"461-801-2600\", \"011.193.9081x3186\"), city (\"Juddton\", \"Juddton\", \"Juddton\"), street (\"68589 Bradly Manor\nNew Audrey, IN 91497\", \"72532 Hane Course\nLake Berylland, ND 95283\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\"), role_code (\"Employee\", \"Veterenarian\"), professional_id (15, 11, 10), home_phone (\"971.048.3763x9404\", \"1-138-287-3775\", \"312.216.3352\"), zip_code (\"06646\", \"77129\", \"98844\"), state (\"Wisconsin\", \"Hawaii\", \"California\") | treatments : professional_id (8, 9, 14), date_of_treatment (\"2018-03-01 04:14:46\", \"2018-02-28 17:09:43\", \"2018-03-16 10:27:36\"), cost_of_treatment (656, 313, 349), dog_id (13, 12, 15), treatment_id (5, 11, 1), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : type_description , treatment_type_code , treatment_description | owners : owner_id , city , first_name , last_name , home_phone 747-5094x8134\", \"01802479758\", \"747-5094x8134\", cell_number , street , zip_code , email_address , state | dogs : date_of_birth , date_arrived , weight , date_adopted , abandoned_yn , age , gender , date_departed , breed_code , owner_id , size_code , name , dog_id | professionals : last_name , first_name , email_address , cell_number , city , street , role_code , professional_id , home_phone , zip_code , state | treatments : professional_id , date_of_treatment , cost_of_treatment , dog_id , treatment_id , treatment_type_code", "extra_map": { "treatment_types": { "treatment_type_description": [ "treatment_description", "type_description" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_description", "type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "description of the treatment type": "Treatment_Types.treatment_type_description", "total cost": "Treatments.cost_of_treatment" } }, { "question": "which owner has paid the largest #amount of money# in total for their dogs? show the #owner id# and #zip code# .", "db_id": "dog_kennels", "orig_query": "select t1.owner_id, t1.zip_code from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id join treatments as t3 on t2.dog_id = t3.dog_id group by t1.owner_id order by sum(t3.cost_of_treatment) desc limit 1", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : last_name (\"Hauck\", \"DuBuque\", \"Ondricka\"), state (\"Indiana\", \"Washington\", \"Florida\"), postal_code (\"87304\", \"78297\", \"93165\"), owner_id (15, 1, 7), street (\"60352 Kayleigh Crossing Suite 700\", \"2635 Caitlyn Plains\", \"59509 Mellie Mountain\"), cell_number (\"739-136-7202\", \"121.381.3316x6535\", \"121.381.3316x6535\"), home_phone (\"01802479758\", \"318-052-6573\", \"(058)997-7627\"), city (\"Brakusfurt\", \"East Maribelbury\", \"Lake Valentin\"), email_address (\"fschoen@example.net\", \"zboncak.madonna@example.net\", \"margaretta.runte@example.net\"), first_name (\"Jaclyn\", \"Nora\", \"Rolando\"), zipcode (\"87304\", \"78297\", \"93165\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), gender (\"1\", \"0\"), date_departed (\"2018-03-25 05:07:47\", \"2018-03-25 04:50:22\", \"2018-03-25 06:46:07\"), weight (\"9.48\", \"9.8\", \"9.8\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), age (\"5\", \"5\", \"9\"), date_of_birth (\"2008-05-19 15:54:49\", \"2012-10-14 14:44:37\", \"2008-05-30 12:51:34\"), name (\"Jesus\", \"Betty\", \"Betty\"), owner_id (13, 13, 12), dog_id (12, 11, 5), abandoned_yn (\"1\", \"0\"), date_arrived (\"2017-12-29 23:24:13\", \"2018-01-02 03:15:29\", \"2017-12-22 05:02:02\"), date_adopted (\"2018-02-27 00:27:57\", \"2018-03-05 06:05:23\", \"2018-03-23 16:02:04\") | professionals : role_code (\"Employee\", \"Veterenarian\"), home_phone (\"1-609-566-2752x25197\", \"312.216.3352\", \"022.529.0550x1319\"), zip_code (\"17902\", \"06646\", \"41215\"), first_name (\"Winfield\", \"Olaf\", \"Velva\"), professional_id (11, 15, 15), street (\"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\"), email_address (\"lambert62@example.org\", \"jerrod.bahringer@example.org\", \"lourdes.lowe@example.net\"), city (\"Baileymouth\", \"North Odellfurt\", \"East Ila\"), last_name (\"Watsica\", \"Pouros\", \"Tillman\"), state (\"SouthCarolina\", \"California\", \"Indiana\"), cell_number (\"499-434-0215x1628\", \"011.193.9081x3186\", \"461-801-2600\") | treatments : dog_id (1, 1, 4), cost_of_treatment (349, 147, 428), professional_id (7, 9, 14), date_of_treatment (\"2018-03-15 19:10:02\", \"2018-02-28 17:09:43\", \"2018-03-15 20:25:34\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (8, 5, 3)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_type , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : last_name , state , postal_code , owner_id , street , cell_number , home_phone 997-7627\", city , email_address , first_name , zipcode | dogs : size_code , gender , date_departed , weight , breed_code , age , date_of_birth , name , owner_id , dog_id , abandoned_yn , date_arrived , date_adopted | professionals : role_code , home_phone , zip_code , first_name , professional_id , street , email_address , city , last_name , state , cell_number | treatments : dog_id , cost_of_treatment , professional_id , date_of_treatment , treatment_type_code , treatment_id", "extra_map": { "owners": { "zip_code": [ "postal_code", "zipcode" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "email_address", "home_phone", "cell_number", "postal_code", "zipcode" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "amount of money": "Treatments.cost_of_treatment", "owner id": "Owners.owner_id", "zip code": "Owners.zip_code" } }, { "question": "which owner has paid the largest #amount of money# in total for their dogs? show the #owner id# and #zip code# .", "db_id": "dog_kennels", "orig_query": "select t1.owner_id, t1.zip_code from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id join treatments as t3 on t2.dog_id = t3.dog_id group by t1.owner_id order by sum(t3.cost_of_treatment) desc limit 1", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : state (\"Virginia\", \"SouthDakota\", \"Pennsylvania\"), city (\"Lake Tia\", \"New Margaretteborough\", \"Brakusfurt\"), cell_number (\"633.455.3045x85484\", \"+70(4)9217952551\", \"+70(4)9217952551\"), last_name (\"Funk\", \"Funk\", \"Nicolas\"), home_phone (\"01802479758\", \"(544)034-1670\", \"893-862-5295x61709\"), first_name (\"Kade\", \"Rolando\", \"Heather\"), person_id (13, 13, 3), email_address (\"lynn81@example.org\", \"kturner@example.net\", \"edythe62@example.org\"), zip_code (\"25609\", \"78297\", \"61019\"), client_id (13, 13, 3), street (\"68118 Daniel Row\", \"6950 Katherine Forges Apt. 630\", \"59509 Mellie Mountain\") | dogs : abandoned_yn (\"1\", \"0\"), date_arrived (\"2017-04-20 00:58:55\", \"2017-05-06 08:03:52\", \"2017-10-24 04:45:13\"), date_of_birth (\"2012-05-31 08:01:36\", \"2018-03-17 04:05:12\", \"2017-09-19 05:39:09\"), gender (\"1\", \"0\"), name (\"Betty\", \"Houston\", \"Evangeline\"), weight (\"4.36\", \"4.01\", \"6.92\"), date_departed (\"2018-03-24 19:36:59\", \"2018-03-24 19:12:22\", \"2018-03-24 19:12:22\"), age (\"3\", \"1\", \"6\"), owner_id (14, 2, 14), date_adopted (\"2018-02-27 11:54:35\", \"2018-03-07 21:45:43\", \"2018-03-21 10:41:18\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (10, 15, 6) | professionals : street (\"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\"), professional_id (6, 4, 1), state (\"NewMexico\", \"Wisconsin\", \"Indiana\"), city (\"Raynorfort\", \"Jaceton\", \"North Odellfurt\"), role_code (\"Employee\", \"Veterenarian\"), zip_code (\"80775\", \"41215\", \"77129\"), cell_number (\"139-321-7313\", \"962-983-8109x3509\", \"609-405-2990\"), home_phone (\"891.475.2256\", \"022.529.0550x1319\", \"346.594.3739\"), last_name (\"Jacobs\", \"Murazik\", \"Considine\"), first_name (\"Monte\", \"Ruben\", \"Jayson\"), email_address (\"jacynthe.mclaughlin@example.net\", \"uboehm@example.org\", \"jerrod.bahringer@example.org\") | treatments : treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (15, 14, 1), date_of_treatment (\"2018-03-01 04:14:46\", \"2018-03-08 05:26:23\", \"2018-03-16 10:27:36\"), cost_of_treatment (429, 429, 139), treatment_id (12, 13, 14), professional_id (4, 5, 7)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : state , city , cell_number 9217952551\", \"+709217952551\", last_name , home_phone 034-1670\", \"893-862-5295x61709\", first_name , person_id , email_address , zip_code , client_id , street | dogs : abandoned_yn , date_arrived , date_of_birth , gender , name , weight , date_departed , age , owner_id , date_adopted , breed_code , size_code , dog_id | professionals : street , professional_id , state , city , role_code , zip_code , cell_number , home_phone , last_name , first_name , email_address | treatments : treatment_type_code , dog_id , date_of_treatment , cost_of_treatment , treatment_id , professional_id", "extra_map": { "owners": { "owner_id": [ "person_id", "client_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "person_id", "client_id" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "amount of money": "Treatments.cost_of_treatment", "owner id": "Owners.owner_id", "zip code": "Owners.zip_code" } }, { "question": "find the #owner id# and #zip code# of the owner who spent the most #money# in total for his or her dogs.", "db_id": "dog_kennels", "orig_query": "select t1.owner_id, t1.zip_code from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id join treatments as t3 on t2.dog_id = t3.dog_id group by t1.owner_id order by sum(t3.cost_of_treatment) desc limit 1", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : last_name (\"Haley\", \"Rippin\", \"Haley\"), first_name (\"Gay\", \"Lorenz\", \"Rolando\"), street (\"59509 Mellie Mountain\", \"6950 Katherine Forges Apt. 630\", \"2417 Keara Stravenue Apt. 146\"), city (\"South Daisyfurt\", \"East Hillardberg\", \"Lake Tia\"), home_phone (\"(799)563-0260x454\", \"01802479758\", \"(094)747-5094x8134\"), state (\"Wisconsin\", \"Florida\", \"Indiana\"), zipcode (\"86010\", \"87304\", \"86010\"), cell_number (\"633.455.3045x85484\", \"341.667.8085\", \"478.978.0729\"), email_address (\"fschoen@example.net\", \"ykris@example.com\", \"pearlie18@example.com\"), postal_code (\"86010\", \"87304\", \"86010\"), owner_id (15, 7, 13) | dogs : date_adopted (\"2018-02-25 23:45:30\", \"2018-02-27 11:54:35\", \"2018-03-18 07:47:40\"), age (\"3\", \"3\", \"2\"), gender (\"1\", \"0\"), date_departed (\"2018-03-25 15:05:16\", \"2018-03-24 23:48:59\", \"2018-03-25 02:11:32\"), abandoned_yn (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), date_arrived (\"2018-01-02 03:15:29\", \"2018-01-17 11:44:16\", \"2017-07-25 15:19:07\"), owner_id (14, 13, 8), weight (\"8.16\", \"8.95\", \"9.8\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_of_birth (\"2017-09-19 05:39:09\", \"2012-05-03 21:42:25\", \"2010-11-11 07:11:53\"), dog_id (1, 9, 3), name (\"Troy\", \"Houston\", \"George\") | professionals : email_address (\"lambert62@example.org\", \"mekhi.little@example.org\", \"jeichmann@example.com\"), last_name (\"Watsica\", \"Braun\", \"Tillman\"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Vernice\", \"Velva\", \"Domenica\"), professional_id (7, 9, 7), zip_code (\"67980\", \"17902\", \"02281\"), street (\"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"68589 Bradly Manor\nNew Audrey, IN 91497\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\"), state (\"Montana\", \"Indiana\", \"NewMexico\"), home_phone (\"+71(6)2898266914\", \"(230)338-3342x585\", \"1-138-287-3775\"), cell_number (\"880-659-7577x736\", \"328.842.3792\", \"962-983-8109x3509\"), city (\"Baileymouth\", \"North Adelberttown\", \"West Heidi\") | treatments : professional_id (9, 4, 6), dog_id (4, 2, 14), date_of_treatment (\"2018-03-11 04:23:15\", \"2018-03-04 20:33:43\", \"2018-03-01 04:14:46\"), treatment_id (2, 6, 12), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (147, 428, 514)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_type , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : last_name , first_name , street , city , home_phone 563-0260x454\", \"01802479758\", \"747-5094x8134\", state , zipcode , cell_number , email_address , postal_code , owner_id | dogs : date_adopted , age , gender , date_departed , abandoned_yn , size_code , date_arrived , owner_id , weight , breed_code , date_of_birth , dog_id , name | professionals : email_address , last_name , role_code , first_name , professional_id , zip_code , street , state , home_phone 2898266914\", \"338-3342x585\", \"1-138-287-3775\", cell_number , city | treatments : professional_id , dog_id , date_of_treatment , treatment_id , treatment_type_code , cost_of_treatment", "extra_map": { "owners": { "zip_code": [ "postal_code", "zipcode" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "email_address", "home_phone", "cell_number", "postal_code", "zipcode" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner id": "Owners.owner_id", "zip code": "Owners.zip_code", "money": "Treatments.cost_of_treatment" } }, { "question": "find the #owner id# and #zip code# of the owner who spent the most #money# in total for his or her dogs.", "db_id": "dog_kennels", "orig_query": "select t1.owner_id, t1.zip_code from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id join treatments as t3 on t2.dog_id = t3.dog_id group by t1.owner_id order by sum(t3.cost_of_treatment) desc limit 1", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : cell_number (\"+00(2)4323592985\", \"121.381.3316x6535\", \"478.978.0729\"), state (\"Mississippi\", \"Mississippi\", \"Wisconsin\"), city (\"South Afton\", \"Lake Carleyborough\", \"South Afton\"), client_id (6, 10, 7), last_name (\"Schmitt\", \"Stoltenberg\", \"Hauck\"), home_phone (\"01802479758\", \"916.976.9480x13851\", \"066.264.7885\"), zip_code (\"61019\", \"35747\", \"61019\"), email_address (\"hudson.favian@example.com\", \"ykris@example.com\", \"kturner@example.net\"), first_name (\"Melisa\", \"Adelle\", \"Gay\"), person_id (6, 10, 7), street (\"68118 Daniel Row\", \"1858 Jan Park\", \"60352 Kayleigh Crossing Suite 700\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), name (\"Betty\", \"Jeffrey\", \"Jeffrey\"), date_of_birth (\"2008-10-09 22:38:53\", \"2012-10-14 14:44:37\", \"2012-07-11 17:15:10\"), gender (\"1\", \"0\"), date_arrived (\"2018-01-02 03:15:29\", \"2017-04-20 00:58:55\", \"2017-07-25 15:19:07\"), dog_id (14, 15, 11), age (\"3\", \"4\", \"2\"), date_adopted (\"2018-03-18 07:47:40\", \"2018-03-06 16:32:11\", \"2018-03-05 06:05:23\"), abandoned_yn (\"1\", \"0\"), weight (\"8.04\", \"3.52\", \"8.16\"), date_departed (\"2018-03-25 15:05:16\", \"2018-03-25 14:15:41\", \"2018-03-25 06:46:07\"), owner_id (8, 13, 5), breed_code (\"ESK\", \"BUL\", \"HUS\") | professionals : street (\"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"72532 Hane Course\nLake Berylland, ND 95283\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\"), professional_id (8, 7, 14), role_code (\"Employee\", \"Veterenarian\"), state (\"SouthCarolina\", \"NewMexico\", \"NewMexico\"), first_name (\"Olaf\", \"Jayson\", \"Danny\"), email_address (\"goyette.roosevelt@example.net\", \"deanna.schuster@example.com\", \"deanna.schuster@example.com\"), zip_code (\"17902\", \"06646\", \"33020\"), cell_number (\"461-801-2600\", \"1-181-670-9466\", \"461-801-2600\"), home_phone (\"312.216.3352\", \"1-609-566-2752x25197\", \"312.216.3352\"), last_name (\"Frami\", \"Murazik\", \"Watsica\"), city (\"Juddton\", \"Jaceton\", \"Domenickton\") | treatments : treatment_id (13, 15, 10), date_of_treatment (\"2018-03-16 10:27:36\", \"2018-03-01 04:14:46\", \"2018-03-19 04:39:54\"), dog_id (14, 7, 7), professional_id (8, 8, 5), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (668, 139, 428)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : cell_number 4323592985\", \"121.381.3316x6535\", \"478.978.0729\", state , city , client_id , last_name , home_phone , zip_code , email_address , first_name , person_id , street | dogs : size_code , name , date_of_birth , gender , date_arrived , dog_id , age , date_adopted , abandoned_yn , weight , date_departed , owner_id , breed_code | professionals : street , professional_id , role_code , state , first_name , email_address , zip_code , cell_number , home_phone , last_name , city | treatments : treatment_id , date_of_treatment , dog_id , professional_id , treatment_type_code , cost_of_treatment", "extra_map": { "owners": { "owner_id": [ "person_id", "client_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "person_id", "client_id" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner id": "Owners.owner_id", "zip code": "Owners.zip_code", "money": "Treatments.cost_of_treatment" } }, { "question": "which #professionals# have done at least two #types of treatments# ? list the #professional id# and #cell phone# .", "db_id": "dog_kennels", "orig_query": "select t1.professional_id, t1.cell_number from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) >= 2", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : email_address (\"wpfeffer@example.net\", \"angeline99@example.com\", \"zboncak.madonna@example.net\"), state (\"Pennsylvania\", \"SouthDakota\", \"Maryland\"), city (\"East Maribelbury\", \"Lake Tia\", \"Port Zackery\"), last_name (\"Schmitt\", \"Schmitt\", \"Hamill\"), home_phone (\"1-332-849-1908\", \"1-332-849-1908\", \"(058)997-7627\"), street (\"9212 Rosenbaum Lights\", \"57382 Yost Ridges\", \"692 Jaskolski Forges\"), first_name (\"Rolando\", \"Nora\", \"Rachelle\"), zip_code (\"22693\", \"22731\", \"02647\"), cell_number (\"559.874.3011x989\", \"(257)399-3116\", \"762.589.6117x1328\"), owner_id (6, 15, 4) | dogs : date_of_birth (\"2013-02-20 14:50:56\", \"2008-10-09 22:38:53\", \"2012-01-27 05:11:53\"), owner_id (7, 7, 7), date_departed (\"2018-03-25 06:29:10\", \"2018-03-25 06:58:44\", \"2018-03-24 19:36:59\"), date_adopted (\"2018-03-13 12:47:15\", \"2018-03-05 06:05:23\", \"2018-03-13 12:47:15\"), gender (\"1\", \"0\"), age (\"2\", \"8\", \"2\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (6, 12, 13), weight (\"2.18\", \"8.96\", \"2.18\"), date_arrived (\"2017-07-25 15:19:07\", \"2017-04-15 09:25:31\", \"2017-06-18 19:45:38\"), abandoned_yn (\"1\", \"0\"), name (\"Holden\", \"Kacey\", \"Merritt\"), breed_code (\"ESK\", \"BUL\", \"HUS\") | professionals : street (\"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\"), staff_id (10, 8, 9), role_code (\"Employee\", \"Veterenarian\"), cell_number (\"962-983-8109x3509\", \"889-940-2676\", \"889-940-2676\"), state (\"Montana\", \"NorthCarolina\", \"Wisconsin\"), city (\"New Laurytown\", \"Kirastad\", \"Juddton\"), worker_id (10, 8, 9), home_phone (\"+02(1)0259033559\", \"1-609-566-2752x25197\", \"891.475.2256\"), last_name (\"Pouros\", \"Watsica\", \"Kshlerin\"), email_address (\"jacynthe.mclaughlin@example.net\", \"jacynthe.mclaughlin@example.net\", \"delphine29@example.com\"), first_name (\"Danny\", \"Karley\", \"Danny\"), zip_code (\"98844\", \"06646\", \"34041\") | treatments : professional_id (4, 9, 8), treatment_id (9, 10, 7), date_of_treatment (\"2018-03-04 20:33:43\", \"2018-03-13 12:22:58\", \"2018-03-08 05:26:23\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (429, 852, 147), dog_id (4, 4, 12)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_id , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : email_address , state , city , last_name , home_phone 997-7627\", street , first_name , zip_code , cell_number 399-3116\", \"762.589.6117x1328\", owner_id | dogs : date_of_birth , owner_id , date_departed , date_adopted , gender , age , size_code , dog_id , weight , date_arrived , abandoned_yn , name , breed_code | professionals : street , staff_id , role_code , cell_number , state , city , worker_id , home_phone 0259033559\", \"1-609-566-2752x25197\", \"891.475.2256\", last_name , email_address , first_name , zip_code | treatments : professional_id , treatment_id , date_of_treatment , treatment_type_code , cost_of_treatment , dog_id", "extra_map": { "professionals": { "professional_id": [ "worker_id", "staff_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "worker_id", "staff_id" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professionals": "Professionals", "types of treatments": "Treatments.treatment_type_code", "professional id": "Professionals.professional_id", "cell phone": "Professionals.cell_number" } }, { "question": "which #professionals# have done at least two #types of treatments# ? list the #professional id# and #cell phone# .", "db_id": "dog_kennels", "orig_query": "select t1.professional_id, t1.cell_number from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) >= 2", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : owner_id (9, 5, 2), cell_number (\"633.455.3045x85484\", \"1-739-421-2225x38148\", \"(257)399-3116\"), email_address (\"zboncak.madonna@example.net\", \"margaretta.runte@example.net\", \"fschoen@example.net\"), last_name (\"Mertz\", \"Feil\", \"Hauck\"), street (\"1204 Mae Highway Apt. 107\", \"60352 Kayleigh Crossing Suite 700\", \"692 Jaskolski Forges\"), zip_code (\"86010\", \"93165\", \"25609\"), city (\"New Margaretteborough\", \"New Margaretteborough\", \"East Maribelbury\"), first_name (\"Heather\", \"Cindy\", \"Lorenz\"), state (\"NorthDakota\", \"Mississippi\", \"Maryland\"), home_phone (\"318-052-6573\", \"(058)997-7627\", \"(799)563-0260x454\") | dogs : dog_id (9, 11, 13), owner_id (6, 11, 11), age (\"4\", \"5\", \"6\"), abandoned_yn (\"1\", \"0\"), date_departed (\"2018-03-25 04:42:14\", \"2018-03-25 06:58:44\", \"2018-03-25 04:50:22\"), date_arrived (\"2018-01-17 11:44:16\", \"2018-01-02 03:15:29\", \"2017-06-18 19:45:38\"), gender (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), weight (\"8.96\", \"4.36\", \"1.39\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_adopted (\"2018-03-18 07:47:40\", \"2018-03-06 16:32:11\", \"2018-03-08 15:03:00\"), name (\"Lyric\", \"Houston\", \"George\"), date_of_birth (\"2018-03-17 04:05:12\", \"2012-05-03 21:42:25\", \"2012-10-14 14:44:37\") | professionals : home_phone (\"320-508-6023\", \"(920)304-4499x59146\", \"1-609-566-2752x25197\"), role_code (\"Employee\", \"Veterenarian\"), state (\"NorthCarolina\", \"Wisconsin\", \"NorthCarolina\"), zip_code (\"02281\", \"80775\", \"07412\"), email_address (\"mekhi.little@example.org\", \"mekhi.little@example.org\", \"uboehm@example.org\"), last_name (\"Hayes\", \"Murazik\", \"Ullrich\"), mobile_number (\"00230569697\", \"889-940-2676\", \"328.842.3792\"), first_name (\"Monte\", \"Ruben\", \"Velva\"), professional_id (7, 11, 8), city (\"Domenickton\", \"New Laurytown\", \"New Laurytown\"), street (\"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"92912 Langworth Valleys Apt. 743\nThompsonborough, \"), phone_number (\"00230569697\", \"889-940-2676\", \"328.842.3792\") | treatments : treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (10, 8, 4), treatment_id (1, 3, 7), cost_of_treatment (349, 945, 349), dog_id (1, 13, 7), date_of_treatment (\"2018-03-08 05:26:23\", \"2018-03-15 19:10:02\", \"2018-03-24 22:25:58\")", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_amount , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : owner_id , cell_number 399-3116\", email_address , last_name , street , zip_code , city , first_name , state , home_phone 997-7627\", \"563-0260x454\" | dogs : dog_id , owner_id , age , abandoned_yn , date_departed , date_arrived , gender , size_code , weight , breed_code , date_adopted , name , date_of_birth | professionals : home_phone 304-4499x59146\", \"1-609-566-2752x25197\", role_code , state , zip_code , email_address , last_name , mobile_number , first_name , professional_id , city , street , phone_number | treatments : treatment_type_code , professional_id , treatment_id , cost_of_treatment , dog_id , date_of_treatment", "extra_map": { "professionals": { "cell_number": [ "mobile_number", "phone_number" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "mobile_number", "phone_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professionals": "Professionals", "types of treatments": "Treatments.treatment_type_code", "professional id": "Professionals.professional_id", "cell phone": "Professionals.cell_number" } }, { "question": "find the #id# and #cell phone of the professionals# who operate two or more #types of treatments# .", "db_id": "dog_kennels", "orig_query": "select t1.professional_id, t1.cell_number from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) >= 2", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : cell_number (\"739-136-7202\", \"559.874.3011x989\", \"739-136-7202\"), last_name (\"Feil\", \"Nicolas\", \"Price\"), city (\"Lake Jennyferfort\", \"Barrettburgh\", \"New Margaretteborough\"), home_phone (\"(799)563-0260x454\", \"916.976.9480x13851\", \"(544)034-1670\"), state (\"Mississippi\", \"Indiana\", \"Pennsylvania\"), zip_code (\"22731\", \"87304\", \"00589\"), street (\"51934 Treutel Harbor\", \"2635 Caitlyn Plains\", \"59509 Mellie Mountain\"), email_address (\"ybergstrom@example.com\", \"edythe62@example.org\", \"kturner@example.net\"), owner_id (11, 10, 6), first_name (\"Lorenz\", \"Lorenz\", \"Jaclyn\") | dogs : date_of_birth (\"2012-07-11 17:15:10\", \"2012-05-03 21:42:25\", \"2018-03-17 04:05:12\"), weight (\"9.48\", \"2.18\", \"2.18\"), gender (\"1\", \"0\"), date_departed (\"2018-03-25 02:11:32\", \"2018-03-25 05:07:47\", \"2018-03-25 02:11:32\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\"), date_adopted (\"2018-03-07 21:45:43\", \"2018-03-06 16:32:11\", \"2018-02-25 23:45:30\"), owner_id (7, 3, 13), date_arrived (\"2017-04-20 00:58:55\", \"2017-12-29 06:08:26\", \"2017-04-15 09:25:31\"), age (\"8\", \"3\", \"5\"), dog_id (1, 8, 9), name (\"Hipolito\", \"Mavis\", \"Kacey\"), size_code (\"LGE\", \"MED\", \"SML\") | professionals : state (\"SouthCarolina\", \"NewMexico\", \"NorthCarolina\"), last_name (\"Jacobs\", \"Walter\", \"Considine\"), role_code (\"Employee\", \"Veterenarian\"), staff_id (10, 14, 1), street (\"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"72532 Hane Course\nLake Berylland, ND 95283\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\"), city (\"Raynorfort\", \"South Rockyport\", \"North Odellfurt\"), zip_code (\"80775\", \"02281\", \"54312\"), email_address (\"jeichmann@example.com\", \"goyette.roosevelt@example.net\", \"jeichmann@example.com\"), first_name (\"Danny\", \"Lesly\", \"Vernice\"), cell_number (\"011.193.9081x3186\", \"499-434-0215x1628\", \"499-434-0215x1628\"), worker_id (10, 14, 1), home_phone (\"312.216.3352\", \"1-138-287-3775\", \"(920)304-4499x59146\") | treatments : cost_of_treatment (407, 514, 428), treatment_id (14, 13, 8), date_of_treatment (\"2018-02-26 09:08:53\", \"2018-03-15 20:25:34\", \"2018-03-16 10:27:36\"), dog_id (10, 12, 13), professional_id (8, 7, 7), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_amount , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : cell_number , last_name , city , home_phone 563-0260x454\", \"916.976.9480x13851\", \"034-1670\", state , zip_code , street , email_address , owner_id , first_name | dogs : date_of_birth , weight , gender , date_departed , breed_code , abandoned_yn , date_adopted , owner_id , date_arrived , age , dog_id , name , size_code | professionals : state , last_name , role_code , staff_id , street , city , zip_code , email_address , first_name , cell_number , worker_id , home_phone 304-4499x59146\" | treatments : cost_of_treatment , treatment_id , date_of_treatment , dog_id , professional_id , treatment_type_code", "extra_map": { "professionals": { "professional_id": [ "worker_id", "staff_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "worker_id", "staff_id" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "id": "Professionals.professional_id", "cell phone of the professionals": "Professionals.cell_number", "types of treatments": "Treatments.treatment_type_code" } }, { "question": "find the #id# and #cell phone of the professionals# who operate two or more #types of treatments# .", "db_id": "dog_kennels", "orig_query": "select t1.professional_id, t1.cell_number from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) >= 2", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : home_phone (\"066.264.7885\", \"(094)747-5094x8134\", \"130-796-4589x05454\"), first_name (\"Emelie\", \"Jaclyn\", \"Orlando\"), zip_code (\"35747\", \"78297\", \"92406\"), last_name (\"Stoltenberg\", \"Schmitt\", \"Ondricka\"), state (\"SouthDakota\", \"Arizona\", \"Arkansas\"), email_address (\"lynn81@example.org\", \"edythe62@example.org\", \"edythe62@example.org\"), city (\"Port Reannamouth\", \"East Hillardberg\", \"Port Zackery\"), street (\"51934 Treutel Harbor\", \"57382 Yost Ridges\", \"60352 Kayleigh Crossing Suite 700\"), cell_number (\"(783)271-6744x4507\", \"559.874.3011x989\", \"481-483-9083x37986\"), owner_id (1, 3, 6) | dogs : name (\"Bessie\", \"Merritt\", \"Holden\"), date_departed (\"2018-03-25 02:47:40\", \"2018-03-25 15:05:16\", \"2018-03-25 06:58:44\"), abandoned_yn (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (11, 15, 12), weight (\"6.92\", \"4.36\", \"9.48\"), date_of_birth (\"2017-09-19 05:39:09\", \"2012-10-14 14:44:37\", \"2015-02-26 21:31:22\"), date_arrived (\"2017-10-16 20:06:21\", \"2017-09-08 20:10:13\", \"2018-01-02 03:15:29\"), gender (\"1\", \"0\"), owner_id (10, 8, 7), date_adopted (\"2018-03-14 08:05:18\", \"2018-03-14 08:05:18\", \"2018-03-10 15:06:43\"), age (\"1\", \"1\", \"9\") | professionals : city (\"Domenickton\", \"South Rockyport\", \"Kirastad\"), home_phone (\"+02(1)0259033559\", \"325-155-0801x7005\", \"+02(1)0259033559\"), mobile_number (\"(369)908-7311x065\", \"889-940-2676\", \"1-185-137-1945x409\"), state (\"NewMexico\", \"NorthCarolina\", \"Utah\"), phone_number (\"(369)908-7311x065\", \"889-940-2676\", \"1-185-137-1945x409\"), role_code (\"Employee\", \"Veterenarian\"), zip_code (\"34041\", \"77129\", \"02281\"), street (\"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"68589 Bradly Manor\nNew Audrey, IN 91497\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \"), last_name (\"Frami\", \"Considine\", \"Hayes\"), email_address (\"mekhi.little@example.org\", \"schneider.kathryne@example.org\", \"jeichmann@example.com\"), professional_id (1, 1, 7), first_name (\"Vernice\", \"Jayson\", \"Monte\") | treatments : cost_of_treatment (514, 656, 567), dog_id (12, 7, 4), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-16 10:27:36\", \"2018-03-14 19:10:40\", \"2018-02-28 17:09:43\"), treatment_id (2, 8, 8), professional_id (10, 10, 9)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_type , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : home_phone 747-5094x8134\", \"130-796-4589x05454\", first_name , zip_code , last_name , state , email_address , city , street , cell_number 271-6744x4507\", \"559.874.3011x989\", \"481-483-9083x37986\", owner_id | dogs : name , date_departed , abandoned_yn , breed_code , size_code , dog_id , weight , date_of_birth , date_arrived , gender , owner_id , date_adopted , age | professionals : city , home_phone 0259033559\", \"325-155-0801x7005\", \"+020259033559\", mobile_number 908-7311x065\", \"889-940-2676\", \"1-185-137-1945x409\", state , phone_number 908-7311x065\", \"889-940-2676\", \"1-185-137-1945x409\", role_code , zip_code , street , last_name , email_address , professional_id , first_name | treatments : cost_of_treatment , dog_id , treatment_type_code , date_of_treatment , treatment_id , professional_id", "extra_map": { "professionals": { "cell_number": [ "mobile_number", "phone_number" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "mobile_number", "phone_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "id": "Professionals.professional_id", "cell phone of the professionals": "Professionals.cell_number", "types of treatments": "Treatments.treatment_type_code" } }, { "question": "what are the #first name# and #last name# of the professionals who have done #treatment with cost# below average?", "db_id": "dog_kennels", "orig_query": "select distinct t1.first_name, t1.last_name from professionals as t1 join treatments as t2 where cost_of_treatment < (select avg(cost_of_treatment) from treatments)", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : city (\"South Daisyfurt\", \"Port Zackery\", \"East Hillardberg\"), street (\"0647 Hintz Village Apt. 024\", \"68118 Daniel Row\", \"51934 Treutel Harbor\"), email_address (\"fschoen@example.net\", \"kturner@example.net\", \"ybergstrom@example.com\"), first_name (\"Orlando\", \"Lorenz\", \"Adelle\"), cell_number (\"1-739-421-2225x38148\", \"633.455.3045x85484\", \"633.455.3045x85484\"), home_phone (\"893-862-5295x61709\", \"318-052-6573\", \"085.557.0379x84348\"), state (\"Washington\", \"Florida\", \"SouthDakota\"), zip_code (\"02647\", \"87304\", \"93165\"), owner_id (14, 7, 8), last_name (\"Price\", \"Haley\", \"Ondricka\") | dogs : date_departed (\"2018-03-25 15:05:16\", \"2018-03-25 06:58:44\", \"2018-03-25 04:42:14\"), age (\"1\", \"4\", \"9\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), weight (\"8.04\", \"1.39\", \"1.39\"), date_arrived (\"2017-12-29 06:08:26\", \"2017-12-29 23:24:13\", \"2018-01-17 11:44:16\"), size_code (\"LGE\", \"MED\", \"SML\"), gender (\"1\", \"0\"), date_adopted (\"2018-03-10 15:06:43\", \"2018-03-25 08:12:51\", \"2018-03-18 07:47:40\"), date_of_birth (\"2008-10-09 22:38:53\", \"2009-04-12 06:02:48\", \"2012-05-03 21:42:25\"), dog_id (3, 12, 11), name (\"Houston\", \"Evangeline\", \"Holden\"), abandoned_yn (\"1\", \"0\"), owner_id (6, 10, 5) | professionals : street (\"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\"), cell_number (\"962-983-8109x3509\", \"00230569697\", \"011.193.9081x3186\"), professional_id (2, 5, 15), email_address (\"jacynthe.mclaughlin@example.net\", \"schneider.kathryne@example.org\", \"jeichmann@example.com\"), surname (\"Walter\", \"Hayes\", \"Hyatt\"), family_name (\"Walter\", \"Hayes\", \"Hyatt\"), home_phone (\"346.594.3739\", \"971.048.3763x9404\", \"891.475.2256\"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Danny\", \"Taryn\", \"Lesly\"), state (\"SouthCarolina\", \"Mississippi\", \"Alabama\"), zip_code (\"17902\", \"06646\", \"34041\"), city (\"North Odellfurt\", \"New Laurytown\", \"Borisside\") | treatments : date_of_treatment (\"2018-03-11 04:23:15\", \"2018-03-14 19:10:40\", \"2018-03-01 04:14:46\"), treatment_id (7, 12, 10), professional_id (6, 14, 10), dog_id (1, 1, 2), cost_of_treatment (681, 349, 945), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_amount , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : city , street , email_address , first_name , cell_number , home_phone , state , zip_code , owner_id , last_name | dogs : date_departed , age , breed_code , weight , date_arrived , size_code , gender , date_adopted , date_of_birth , dog_id , name , abandoned_yn , owner_id | professionals : street , cell_number , professional_id , email_address , surname , family_name , home_phone , role_code , first_name , state , zip_code , city | treatments : date_of_treatment , treatment_id , professional_id , dog_id , cost_of_treatment , treatment_type_code", "extra_map": { "professionals": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "surname", "family_name" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "first name": "Professionals.first_name", "last name": "Professionals.last_name", "treatment with cost": "Treatments.cost_of_treatment" } }, { "question": "what are the #first name# and #last name# of the professionals who have done #treatment with cost# below average?", "db_id": "dog_kennels", "orig_query": "select distinct t1.first_name, t1.last_name from professionals as t1 join treatments as t2 where cost_of_treatment < (select avg(cost_of_treatment) from treatments)", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : street (\"89011 Kertzmann Spring Suite 642\", \"1858 Jan Park\", \"57382 Yost Ridges\"), cell_number (\"(722)768-5439x484\", \"(783)271-6744x4507\", \"559.874.3011x989\"), zip_code (\"61019\", \"02647\", \"78297\"), state (\"Mississippi\", \"Vermont\", \"SouthDakota\"), home_phone (\"893-862-5295x61709\", \"085.557.0379x84348\", \"01802479758\"), owner_id (15, 15, 13), email_address (\"lynn81@example.org\", \"ymaggio@example.com\", \"edythe62@example.org\"), city (\"Barrettburgh\", \"South Afton\", \"Beerton\"), first_name (\"Cindy\", \"Jaclyn\", \"Adelle\"), last_name (\"Schmitt\", \"Rippin\", \"Mertz\") | dogs : name (\"Evangeline\", \"Holden\", \"Kacey\"), date_adopted (\"2018-03-18 07:47:40\", \"2018-03-18 15:12:50\", \"2018-03-18 07:47:40\"), size_code (\"LGE\", \"MED\", \"SML\"), abandoned_yn (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_of_birth (\"2010-11-11 07:11:53\", \"2013-02-20 14:50:56\", \"2012-10-14 14:44:37\"), dog_id (2, 13, 1), date_arrived (\"2017-06-25 10:14:05\", \"2017-09-08 20:10:13\", \"2017-10-24 04:45:13\"), age (\"6\", \"9\", \"8\"), date_departed (\"2018-03-25 15:05:16\", \"2018-03-25 02:11:32\", \"2018-03-24 19:36:59\"), weight (\"1.72\", \"7.57\", \"9.48\"), gender (\"1\", \"0\"), owner_id (6, 10, 8) | professionals : email_address (\"jacynthe.mclaughlin@example.net\", \"lourdes.lowe@example.net\", \"lourdes.lowe@example.net\"), home_phone (\"+43(5)1132733868\", \"1-609-566-2752x25197\", \"+43(5)1132733868\"), forename (\"Monte\", \"Vernice\", \"Karley\"), professional_id (14, 3, 8), given_name (\"Monte\", \"Vernice\", \"Karley\"), city (\"Kirastad\", \"Raynorfort\", \"McLaughlinfort\"), zip_code (\"06646\", \"84515\", \"67980\"), role_code (\"Employee\", \"Veterenarian\"), street (\"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \"), state (\"Montana\", \"Connecticut\", \"Mississippi\"), last_name (\"Ullrich\", \"Braun\", \"Hyatt\"), cell_number (\"(275)939-2435x80863\", \"139-321-7313\", \"00230569697\") | treatments : date_of_treatment (\"2018-03-16 10:27:36\", \"2018-03-13 12:22:58\", \"2018-03-19 04:39:54\"), cost_of_treatment (429, 407, 147), treatment_id (13, 2, 1), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (15, 14, 2), professional_id (7, 6, 4)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : street , cell_number 768-5439x484\", \"271-6744x4507\", \"559.874.3011x989\", zip_code , state , home_phone , owner_id , email_address , city , first_name , last_name | dogs : name , date_adopted , size_code , abandoned_yn , breed_code , date_of_birth , dog_id , date_arrived , age , date_departed , weight , gender , owner_id | professionals : email_address , home_phone 1132733868\", \"1-609-566-2752x25197\", \"+431132733868\", forename , professional_id , given_name , city , zip_code , role_code , street , state , last_name , cell_number 939-2435x80863\", \"139-321-7313\", \"00230569697\" | treatments : date_of_treatment , cost_of_treatment , treatment_id , treatment_type_code , dog_id , professional_id", "extra_map": { "professionals": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "forename", "given_name" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "first name": "Professionals.first_name", "last name": "Professionals.last_name", "treatment with cost": "Treatments.cost_of_treatment" } }, { "question": "which #professionals# have operated a treatment that #costs# less than the average? give me theor #first names# and #last names# .", "db_id": "dog_kennels", "orig_query": "select distinct t1.first_name, t1.last_name from professionals as t1 join treatments as t2 where cost_of_treatment < (select avg(cost_of_treatment) from treatments)", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : street (\"2635 Caitlyn Plains\", \"51934 Treutel Harbor\", \"89011 Kertzmann Spring Suite 642\"), first_name (\"Heather\", \"Emelie\", \"Rachelle\"), zip_code (\"11990\", \"11990\", \"86010\"), owner_id (11, 14, 11), cell_number (\"739-136-7202\", \"+70(4)9217952551\", \"(722)768-5439x484\"), last_name (\"Schmitt\", \"Price\", \"Funk\"), state (\"Pennsylvania\", \"Arkansas\", \"Wisconsin\"), email_address (\"fschoen@example.net\", \"christy49@example.org\", \"pearlie18@example.com\"), city (\"West Leonard\", \"Beerton\", \"East Maribelbury\"), home_phone (\"01802479758\", \"(799)563-0260x454\", \"1-682-845-0116x63235\") | dogs : breed_code (\"ESK\", \"BUL\", \"HUS\"), gender (\"1\", \"0\"), age (\"8\", \"4\", \"5\"), name (\"George\", \"Houston\", \"Mavis\"), dog_id (10, 3, 4), abandoned_yn (\"1\", \"0\"), date_adopted (\"2018-03-21 10:41:18\", \"2018-03-18 15:12:50\", \"2018-03-06 16:32:11\"), owner_id (7, 11, 5), size_code (\"LGE\", \"MED\", \"SML\"), date_arrived (\"2017-12-22 05:02:02\", \"2017-07-25 15:19:07\", \"2017-10-25 00:55:34\"), date_departed (\"2018-03-25 13:07:04\", \"2018-03-25 06:58:44\", \"2018-03-25 06:46:07\"), date_of_birth (\"2012-07-11 17:15:10\", \"2017-09-19 05:39:09\", \"2012-05-03 21:42:25\"), weight (\"4.01\", \"6.92\", \"8.16\") | professionals : city (\"New Maryjane\", \"New Laurytown\", \"Kirastad\"), professional_id (15, 10, 15), home_phone (\"+43(5)1132733868\", \"325-155-0801x7005\", \"022.529.0550x1319\"), zip_code (\"80775\", \"77129\", \"33020\"), email_address (\"jeichmann@example.com\", \"schneider.kathryne@example.org\", \"west.eula@example.net\"), street (\"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\"), surname (\"Kshlerin\", \"Watsica\", \"Braun\"), family_name (\"Kshlerin\", \"Watsica\", \"Braun\"), state (\"Wyoming\", \"NorthCarolina\", \"Montana\"), cell_number (\"609-405-2990\", \"461-801-2600\", \"(369)908-7311x065\"), first_name (\"Ruben\", \"Velva\", \"Sigurd\"), role_code (\"Employee\", \"Veterenarian\") | treatments : date_of_treatment (\"2018-03-08 05:26:23\", \"2018-03-13 12:22:58\", \"2018-03-10 11:45:58\"), treatment_id (13, 2, 10), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (668, 668, 407), professional_id (7, 14, 5), dog_id (10, 15, 13)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_type , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : street , first_name , zip_code , owner_id , cell_number 9217952551\", \"768-5439x484\", last_name , state , email_address , city , home_phone 563-0260x454\", \"1-682-845-0116x63235\" | dogs : breed_code , gender , age , name , dog_id , abandoned_yn , date_adopted , owner_id , size_code , date_arrived , date_departed , date_of_birth , weight | professionals : city , professional_id , home_phone 1132733868\", \"325-155-0801x7005\", \"022.529.0550x1319\", zip_code , email_address , street , surname , family_name , state , cell_number 908-7311x065\", first_name , role_code | treatments : date_of_treatment , treatment_id , treatment_type_code , cost_of_treatment , professional_id , dog_id", "extra_map": { "professionals": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "surname", "family_name" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professionals": "Professionals", "costs": "Treatments.cost_of_treatment", "first names": "Professionals.first_name", "last names": "Professionals.last_name" } }, { "question": "which #professionals# have operated a treatment that #costs# less than the average? give me theor #first names# and #last names# .", "db_id": "dog_kennels", "orig_query": "select distinct t1.first_name, t1.last_name from professionals as t1 join treatments as t2 where cost_of_treatment < (select avg(cost_of_treatment) from treatments)", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : street (\"1204 Mae Highway Apt. 107\", \"60352 Kayleigh Crossing Suite 700\", \"1858 Jan Park\"), state (\"Maryland\", \"Wisconsin\", \"Wisconsin\"), zip_code (\"22731\", \"45244\", \"35747\"), city (\"Brakusfurt\", \"Port Reannamouth\", \"Lake Tia\"), owner_id (3, 13, 14), first_name (\"Tre\", \"Nora\", \"Nora\"), home_phone (\"(094)747-5094x8134\", \"1-346-655-5842x768\", \"(094)747-5094x8134\"), email_address (\"lynn81@example.org\", \"zboncak.madonna@example.net\", \"ykris@example.com\"), cell_number (\"481-483-9083x37986\", \"559.874.3011x989\", \"(722)768-5439x484\"), last_name (\"Stoltenberg\", \"Mertz\", \"Hauck\") | dogs : dog_id (11, 15, 11), breed_code (\"ESK\", \"BUL\", \"HUS\"), name (\"Merritt\", \"Hipolito\", \"Holden\"), date_departed (\"2018-03-24 19:12:22\", \"2018-03-25 02:11:32\", \"2018-03-25 10:25:46\"), weight (\"4.01\", \"1.72\", \"2.18\"), date_adopted (\"2018-03-07 21:45:43\", \"2018-03-23 16:02:04\", \"2018-03-18 15:12:50\"), age (\"3\", \"1\", \"6\"), date_of_birth (\"2017-09-19 05:39:09\", \"2013-02-20 14:50:56\", \"2008-05-19 15:54:49\"), date_arrived (\"2017-05-06 08:03:52\", \"2017-05-06 08:03:52\", \"2017-10-24 04:45:13\"), size_code (\"LGE\", \"MED\", \"SML\"), gender (\"1\", \"0\"), owner_id (14, 5, 12), abandoned_yn (\"1\", \"0\") | professionals : email_address (\"jerrod.bahringer@example.org\", \"marquardt.furman@example.org\", \"schneider.kathryne@example.org\"), cell_number (\"1-185-137-1945x409\", \"1-181-670-9466\", \"1-258-285-4707x8020\"), zip_code (\"67980\", \"84515\", \"98844\"), home_phone (\"891.475.2256\", \"1-138-287-3775\", \"+02(1)0259033559\"), given_name (\"Monte\", \"Winfield\", \"Lesly\"), last_name (\"Pouros\", \"Considine\", \"Murazik\"), forename (\"Monte\", \"Winfield\", \"Lesly\"), professional_id (14, 4, 6), state (\"Alabama\", \"Wyoming\", \"NewMexico\"), role_code (\"Employee\", \"Veterenarian\"), city (\"Baileymouth\", \"Juddton\", \"West Heidi\"), street (\"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \") | treatments : dog_id (7, 1, 4), treatment_id (2, 2, 10), professional_id (9, 4, 4), date_of_treatment (\"2018-03-19 04:39:54\", \"2018-03-04 20:33:43\", \"2018-02-26 09:08:53\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (266, 514, 945)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_amount , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : street , state , zip_code , city , owner_id , first_name , home_phone 747-5094x8134\", \"1-346-655-5842x768\", \"747-5094x8134\", email_address , cell_number 768-5439x484\", last_name | dogs : dog_id , breed_code , name , date_departed , weight , date_adopted , age , date_of_birth , date_arrived , size_code , gender , owner_id , abandoned_yn | professionals : email_address , cell_number , zip_code , home_phone 0259033559\", given_name , last_name , forename , professional_id , state , role_code , city , street | treatments : dog_id , treatment_id , professional_id , date_of_treatment , treatment_type_code , cost_of_treatment", "extra_map": { "professionals": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "forename", "given_name" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professionals": "Professionals", "costs": "Treatments.cost_of_treatment", "first names": "Professionals.first_name", "last names": "Professionals.last_name" } }, { "question": "list the #date of each treatment# , together with the #first name of the professional# who operated it.", "db_id": "dog_kennels", "orig_query": "select t1.date_of_treatment, t2.first_name from treatments as t1 join professionals as t2 on t1.professional_id = t2.professional_id", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : city (\"Lake Tia\", \"Lake Tia\", \"Port Reannamouth\"), last_name (\"Prohaska\", \"Nicolas\", \"Stoltenberg\"), zip_code (\"36871\", \"87304\", \"35747\"), cell_number (\"739-136-7202\", \"762.589.6117x1328\", \"(722)768-5439x484\"), email_address (\"pearlie18@example.com\", \"pearlie18@example.com\", \"ymaggio@example.com\"), street (\"51934 Treutel Harbor\", \"1858 Jan Park\", \"9212 Rosenbaum Lights\"), first_name (\"Gay\", \"Melisa\", \"Jaclyn\"), home_phone (\"(094)747-5094x8134\", \"1-346-655-5842x768\", \"1-332-849-1908\"), owner_id (11, 1, 12), state (\"Virginia\", \"Washington\", \"Vermont\") | dogs : gender (\"1\", \"0\"), name (\"Holden\", \"Jesus\", \"Bessie\"), size_code (\"LGE\", \"MED\", \"SML\"), owner_id (14, 5, 7), dog_id (6, 4, 14), weight (\"9.8\", \"3.52\", \"8.04\"), date_adopted (\"2018-02-27 11:54:35\", \"2018-02-27 00:27:57\", \"2018-03-08 15:03:00\"), date_of_birth (\"2010-11-11 07:11:53\", \"2012-05-31 08:01:36\", \"2013-02-13 05:15:21\"), age (\"5\", \"8\", \"6\"), abandoned_yn (\"1\", \"0\"), date_arrived (\"2017-06-18 19:45:38\", \"2017-12-29 23:24:13\", \"2018-01-17 11:44:16\"), date_departed (\"2018-03-25 04:42:14\", \"2018-03-25 14:15:41\", \"2018-03-25 06:46:07\"), breed_code (\"ESK\", \"BUL\", \"HUS\") | professionals : professional_id (8, 7, 9), email_address (\"schneider.kathryne@example.org\", \"lucile.shanahan@example.org\", \"marquardt.furman@example.org\"), cell_number (\"1-185-137-1945x409\", \"00230569697\", \"328.842.3792\"), first_name (\"Vernice\", \"Jayson\", \"Ericka\"), street (\"68589 Bradly Manor\nNew Audrey, IN 91497\", \"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"390 Bryce Drive\nNorth Dock, LA 65357-7228\"), last_name (\"Walter\", \"Kshlerin\", \"Ullrich\"), home_phone (\"+71(6)2898266914\", \"246-951-0080x76716\", \"891.475.2256\"), role_code (\"Employee\", \"Veterenarian\"), zip_code (\"54312\", \"34041\", \"52476\"), city (\"Baileymouth\", \"South Rockyport\", \"Kirastad\"), state (\"Wisconsin\", \"Montana\", \"Indiana\") | treatments : treatment_date (\"2018-03-15 20:25:34\", \"2018-03-16 10:27:36\", \"2018-03-19 04:39:54\"), healing_date (\"2018-03-15 20:25:34\", \"2018-03-16 10:27:36\", \"2018-03-19 04:39:54\"), cost_of_treatment (514, 681, 656), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (7, 14, 5), dog_id (4, 13, 7), treatment_id (9, 2, 8)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : city , last_name , zip_code , cell_number 768-5439x484\", email_address , street , first_name , home_phone 747-5094x8134\", \"1-346-655-5842x768\", \"1-332-849-1908\", owner_id , state | dogs : gender , name , size_code , owner_id , dog_id , weight , date_adopted , date_of_birth , age , abandoned_yn , date_arrived , date_departed , breed_code | professionals : professional_id , email_address , cell_number , first_name , street , last_name , home_phone 2898266914\", \"246-951-0080x76716\", \"891.475.2256\", role_code , zip_code , city , state | treatments : treatment_date , healing_date , cost_of_treatment , treatment_type_code , professional_id , dog_id , treatment_id", "extra_map": { "treatments": { "date_of_treatment": [ "treatment_date", "healing_date" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "cost_of_treatment", "treatment_date", "healing_date" ] }, "column_linking_gt": { "date of each treatment": "Treatments.date_of_treatment", "first name of the professional": "Professionals.first_name" } }, { "question": "list the #date of each treatment# , together with the #first name of the professional# who operated it.", "db_id": "dog_kennels", "orig_query": "select t1.date_of_treatment, t2.first_name from treatments as t1 join professionals as t2 on t1.professional_id = t2.professional_id", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : cell_number (\"478.978.0729\", \"121.381.3316x6535\", \"(783)271-6744x4507\"), state (\"Vermont\", \"Maryland\", \"Pennsylvania\"), email_address (\"ybergstrom@example.com\", \"marks.gail@example.org\", \"zboncak.madonna@example.net\"), last_name (\"DuBuque\", \"Haley\", \"Fisher\"), zip_code (\"02647\", \"45244\", \"02647\"), owner_id (11, 2, 14), city (\"Lake Jennyferfort\", \"South Afton\", \"East Hillardberg\"), street (\"0647 Hintz Village Apt. 024\", \"59509 Mellie Mountain\", \"0647 Hintz Village Apt. 024\"), first_name (\"Nora\", \"Adelle\", \"Lorenz\"), home_phone (\"(799)563-0260x454\", \"(094)747-5094x8134\", \"363.948.1090\") | dogs : abandoned_yn (\"1\", \"0\"), dog_id (7, 12, 2), breed_code (\"ESK\", \"BUL\", \"HUS\"), gender (\"1\", \"0\"), owner_id (6, 5, 14), date_adopted (\"2018-02-27 00:27:57\", \"2018-02-27 11:54:35\", \"2018-03-10 15:06:43\"), name (\"Holden\", \"Hipolito\", \"Holden\"), date_of_birth (\"2008-05-30 12:51:34\", \"2013-02-20 14:50:56\", \"2013-02-13 05:15:21\"), weight (\"1.39\", \"4.36\", \"8.16\"), date_arrived (\"2017-05-06 08:03:52\", \"2017-04-20 00:58:55\", \"2017-05-06 08:03:52\"), size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-25 02:47:40\", \"2018-03-24 23:48:59\", \"2018-03-24 19:12:22\"), age (\"9\", \"6\", \"5\") | professionals : given_name (\"Danny\", \"Domenica\", \"Ruben\"), cell_number (\"1-258-285-4707x8020\", \"00230569697\", \"(369)908-7311x065\"), forename (\"Danny\", \"Domenica\", \"Ruben\"), email_address (\"deanna.schuster@example.com\", \"lucile.shanahan@example.org\", \"uboehm@example.org\"), zip_code (\"02281\", \"52476\", \"33020\"), role_code (\"Employee\", \"Veterenarian\"), professional_id (3, 1, 8), home_phone (\"+71(6)2898266914\", \"1-609-566-2752x25197\", \"320-508-6023\"), state (\"Utah\", \"Indiana\", \"Hawaii\"), last_name (\"Kshlerin\", \"O'Reilly\", \"Braun\"), street (\"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\"), city (\"McLaughlinfort\", \"West Heidi\", \"East Ila\") | treatments : professional_id (14, 5, 5), dog_id (4, 15, 12), treatment_id (11, 9, 3), date_of_treatment (\"2018-03-24 22:25:58\", \"2018-03-13 12:22:58\", \"2018-03-15 19:10:02\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (945, 656, 656)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : cell_number 271-6744x4507\", state , email_address , last_name , zip_code , owner_id , city , street , first_name , home_phone 563-0260x454\", \"747-5094x8134\", \"363.948.1090\" | dogs : abandoned_yn , dog_id , breed_code , gender , owner_id , date_adopted , name , date_of_birth , weight , date_arrived , size_code , date_departed , age | professionals : given_name , cell_number 908-7311x065\", forename , email_address , zip_code , role_code , professional_id , home_phone 2898266914\", \"1-609-566-2752x25197\", \"320-508-6023\", state , last_name , street , city | treatments : professional_id , dog_id , treatment_id , date_of_treatment , treatment_type_code , cost_of_treatment", "extra_map": { "professionals": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "forename", "given_name" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "date of each treatment": "Treatments.date_of_treatment", "first name of the professional": "Professionals.first_name" } }, { "question": "what are the #date# and the #operating professional's first name of each treatment?# ?", "db_id": "dog_kennels", "orig_query": "select t1.date_of_treatment, t2.first_name from treatments as t1 join professionals as t2 on t1.professional_id = t2.professional_id", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : last_name (\"Prohaska\", \"Rippin\", \"Fisher\"), zip_code (\"25609\", \"61019\", \"78297\"), city (\"Port Zackery\", \"Brakusfurt\", \"South Afton\"), owner_id (4, 12, 15), cell_number (\"(722)768-5439x484\", \"1-626-264-7659x1697\", \"633.455.3045x85484\"), street (\"2417 Keara Stravenue Apt. 146\", \"2635 Caitlyn Plains\", \"2635 Caitlyn Plains\"), home_phone (\"(058)997-7627\", \"893-862-5295x61709\", \"893-862-5295x61709\"), state (\"Arkansas\", \"Mississippi\", \"NorthDakota\"), email_address (\"zboncak.madonna@example.net\", \"zboncak.madonna@example.net\", \"ymaggio@example.com\"), first_name (\"Cindy\", \"Rolando\", \"Jaclyn\") | dogs : name (\"Holden\", \"Narciso\", \"Jesus\"), dog_id (11, 7, 2), size_code (\"LGE\", \"MED\", \"SML\"), age (\"9\", \"3\", \"6\"), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_departed (\"2018-03-24 19:12:22\", \"2018-03-25 06:58:44\", \"2018-03-25 13:07:04\"), date_adopted (\"2018-03-25 08:12:51\", \"2018-03-25 08:12:51\", \"2018-03-23 16:02:04\"), date_of_birth (\"2017-09-19 05:39:09\", \"2013-02-13 05:15:21\", \"2009-04-12 06:02:48\"), abandoned_yn (\"1\", \"0\"), owner_id (6, 6, 7), weight (\"1.39\", \"3.52\", \"8.96\"), date_arrived (\"2017-04-20 00:58:55\", \"2017-05-06 08:03:52\", \"2017-12-29 23:24:13\") | professionals : street (\"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\"), home_phone (\"346.594.3739\", \"891.475.2256\", \"1-609-566-2752x25197\"), first_name (\"Olaf\", \"Sigurd\", \"Taryn\"), zip_code (\"02281\", \"41215\", \"41215\"), professional_id (9, 13, 9), role_code (\"Employee\", \"Veterenarian\"), city (\"McLaughlinfort\", \"Borisside\", \"Baileymouth\"), email_address (\"lambert62@example.org\", \"schneider.kathryne@example.org\", \"lucile.shanahan@example.org\"), last_name (\"Ullrich\", \"Kshlerin\", \"Christiansen\"), cell_number (\"880-659-7577x736\", \"328.842.3792\", \"1-185-137-1945x409\"), state (\"Connecticut\", \"Indiana\", \"NorthCarolina\") | treatments : cost_of_treatment (681, 852, 852), healing_date (\"2018-03-10 11:45:58\", \"2018-02-28 17:09:43\", \"2018-03-04 20:33:43\"), dog_id (14, 14, 7), professional_id (8, 9, 4), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (9, 6, 3), treatment_date (\"2018-03-10 11:45:58\", \"2018-02-28 17:09:43\", \"2018-03-04 20:33:43\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_amount , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : last_name , zip_code , city , owner_id , cell_number 768-5439x484\", \"1-626-264-7659x1697\", \"633.455.3045x85484\", street , home_phone 997-7627\", \"893-862-5295x61709\", \"893-862-5295x61709\", state , email_address , first_name | dogs : name , dog_id , size_code , age , gender , breed_code , date_departed , date_adopted , date_of_birth , abandoned_yn , owner_id , weight , date_arrived | professionals : street , home_phone , first_name , zip_code , professional_id , role_code , city , email_address , last_name , cell_number , state | treatments : cost_of_treatment , healing_date , dog_id , professional_id , treatment_type_code , treatment_id , treatment_date", "extra_map": { "treatments": { "date_of_treatment": [ "treatment_date", "healing_date" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "cost_of_treatment", "treatment_date", "healing_date" ] }, "column_linking_gt": { "date": "Treatments.date_of_treatment", "operating professional's first name of each treatment?": "Professionals.first_name" } }, { "question": "what are the #date# and the #operating professional's first name of each treatment?# ?", "db_id": "dog_kennels", "orig_query": "select t1.date_of_treatment, t2.first_name from treatments as t1 join professionals as t2 on t1.professional_id = t2.professional_id", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : street (\"1204 Mae Highway Apt. 107\", \"9212 Rosenbaum Lights\", \"0647 Hintz Village Apt. 024\"), cell_number (\"341.667.8085\", \"559.874.3011x989\", \"(783)271-6744x4507\"), state (\"Florida\", \"NorthDakota\", \"Mississippi\"), last_name (\"Funk\", \"Ondricka\", \"Hauck\"), city (\"South Afton\", \"Lake Tia\", \"East Maribelbury\"), zip_code (\"11990\", \"36871\", \"35747\"), first_name (\"Orlando\", \"Orlando\", \"Lorenz\"), home_phone (\"066.264.7885\", \"(094)747-5094x8134\", \"916.976.9480x13851\"), email_address (\"wpfeffer@example.net\", \"angeline99@example.com\", \"hudson.favian@example.com\"), owner_id (13, 4, 9) | dogs : breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\"), weight (\"6.92\", \"6.92\", \"5.16\"), name (\"Jesus\", \"Lyric\", \"Mavis\"), age (\"4\", \"2\", \"1\"), size_code (\"LGE\", \"MED\", \"SML\"), owner_id (7, 1, 2), dog_id (12, 13, 1), date_of_birth (\"2008-05-30 12:51:34\", \"2009-04-12 06:02:48\", \"2017-09-19 05:39:09\"), date_adopted (\"2018-03-23 16:02:04\", \"2018-03-21 10:41:18\", \"2018-03-06 16:32:11\"), gender (\"1\", \"0\"), date_departed (\"2018-03-25 04:42:14\", \"2018-03-25 02:47:40\", \"2018-03-25 02:11:32\"), date_arrived (\"2017-04-20 00:58:55\", \"2017-04-20 00:58:55\", \"2018-01-02 03:15:29\") | professionals : given_name (\"Lesly\", \"Ruben\", \"Velva\"), forename (\"Lesly\", \"Ruben\", \"Velva\"), email_address (\"goyette.roosevelt@example.net\", \"lucile.shanahan@example.org\", \"uboehm@example.org\"), role_code (\"Employee\", \"Veterenarian\"), city (\"Borisside\", \"Baileymouth\", \"Domenickton\"), street (\"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\", \"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\"), state (\"NorthCarolina\", \"Connecticut\", \"NewMexico\"), cell_number (\"1-185-137-1945x409\", \"139-321-7313\", \"880-659-7577x736\"), professional_id (13, 6, 8), last_name (\"Kshlerin\", \"Murazik\", \"Frami\"), zip_code (\"34041\", \"17902\", \"43129\"), home_phone (\"+71(6)2898266914\", \"+43(5)1132733868\", \"312.216.3352\") | treatments : cost_of_treatment (668, 567, 428), treatment_id (13, 10, 2), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (13, 7, 7), date_of_treatment (\"2018-03-15 20:25:34\", \"2018-03-13 12:22:58\", \"2018-03-10 11:45:58\"), professional_id (10, 7, 10)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_amount , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : street , cell_number 271-6744x4507\", state , last_name , city , zip_code , first_name , home_phone 747-5094x8134\", \"916.976.9480x13851\", email_address , owner_id | dogs : breed_code , abandoned_yn , weight , name , age , size_code , owner_id , dog_id , date_of_birth , date_adopted , gender , date_departed , date_arrived | professionals : given_name , forename , email_address , role_code , city , street , state , cell_number , professional_id , last_name , zip_code , home_phone 2898266914\", \"+431132733868\", \"312.216.3352\" | treatments : cost_of_treatment , treatment_id , treatment_type_code , dog_id , date_of_treatment , professional_id", "extra_map": { "professionals": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "forename", "given_name" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "date": "Treatments.date_of_treatment", "operating professional's first name of each treatment?": "Professionals.first_name" } }, { "question": "list the #cost of each treatment# and the corresponding #treatment type description# .", "db_id": "dog_kennels", "orig_query": "select t1.cost_of_treatment, t2.treatment_type_description from treatments as t1 join treatment_types as t2 on t1.treatment_type_code = t2.treatment_type_code", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : street (\"60352 Kayleigh Crossing Suite 700\", \"2635 Caitlyn Plains\", \"89011 Kertzmann Spring Suite 642\"), email_address (\"margaretta.runte@example.net\", \"marks.gail@example.org\", \"angeline99@example.com\"), cell_number (\"559.874.3011x989\", \"+00(2)4323592985\", \"341.667.8085\"), state (\"Washington\", \"NewYork\", \"Indiana\"), owner_id (5, 6, 1), first_name (\"Heather\", \"Rolando\", \"Melisa\"), home_phone (\"(094)747-5094x8134\", \"1-682-845-0116x63235\", \"(058)997-7627\"), city (\"South Daisyfurt\", \"East Maribelbury\", \"Lake Carleyborough\"), zip_code (\"93165\", \"45244\", \"93165\"), last_name (\"Haley\", \"Feil\", \"Mertz\") | dogs : abandoned_yn (\"1\", \"0\"), age (\"9\", \"9\", \"1\"), name (\"Holden\", \"Jeffrey\", \"Betty\"), date_adopted (\"2018-03-10 15:06:43\", \"2018-03-10 15:06:43\", \"2018-03-25 08:12:51\"), date_arrived (\"2017-04-20 00:58:55\", \"2018-01-17 11:44:16\", \"2018-01-17 11:44:16\"), weight (\"8.96\", \"8.04\", \"4.01\"), date_of_birth (\"2008-10-09 22:38:53\", \"2008-10-09 22:38:53\", \"2015-02-26 21:31:22\"), gender (\"1\", \"0\"), date_departed (\"2018-03-24 19:36:59\", \"2018-03-25 04:50:22\", \"2018-03-25 02:11:32\"), owner_id (11, 14, 10), breed_code (\"ESK\", \"BUL\", \"HUS\"), dog_id (13, 14, 2), size_code (\"LGE\", \"MED\", \"SML\") | professionals : email_address (\"uboehm@example.org\", \"marquardt.furman@example.org\", \"lambert62@example.org\"), professional_id (2, 2, 4), last_name (\"Braun\", \"Hyatt\", \"Tillman\"), state (\"Montana\", \"Connecticut\", \"Connecticut\"), role_code (\"Employee\", \"Veterenarian\"), city (\"West Heidi\", \"Borisside\", \"North Odellfurt\"), street (\"390 Bryce Drive\nNorth Dock, LA 65357-7228\", \"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"92912 Langworth Valleys Apt. 743\nThompsonborough, \"), zip_code (\"41215\", \"84515\", \"06646\"), home_phone (\"246-951-0080x76716\", \"+43(5)1132733868\", \"312.216.3352\"), cell_number (\"880-659-7577x736\", \"(275)939-2435x80863\", \"1-185-137-1945x409\"), first_name (\"Monte\", \"Velva\", \"Vernice\") | treatments : date_of_treatment (\"2018-03-15 19:10:02\", \"2018-03-23 13:52:10\", \"2018-02-26 09:08:53\"), dog_id (13, 10, 7), fee_of_treatment (945, 428, 428), treatment_id (4, 11, 3), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (14, 14, 4), price_of_treatment (945, 428, 428)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_amount , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : street , email_address , cell_number 4323592985\", \"341.667.8085\", state , owner_id , first_name , home_phone 747-5094x8134\", \"1-682-845-0116x63235\", \"997-7627\", city , zip_code , last_name | dogs : abandoned_yn , age , name , date_adopted , date_arrived , weight , date_of_birth , gender , date_departed , owner_id , breed_code , dog_id , size_code | professionals : email_address , professional_id , last_name , state , role_code , city , street , zip_code , home_phone 1132733868\", \"312.216.3352\", cell_number 939-2435x80863\", \"1-185-137-1945x409\", first_name | treatments : date_of_treatment , dog_id , fee_of_treatment , treatment_id , treatment_type_code , professional_id , price_of_treatment", "extra_map": { "treatments": { "cost_of_treatment": [ "price_of_treatment", "fee_of_treatment" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "price_of_treatment", "fee_of_treatment" ] }, "column_linking_gt": { "cost of each treatment": "Treatments.cost_of_treatment", "treatment type description": "Treatment_Types.treatment_type_description" } }, { "question": "list the #cost of each treatment# and the corresponding #treatment type description# .", "db_id": "dog_kennels", "orig_query": "select t1.cost_of_treatment, t2.treatment_type_description from treatments as t1 join treatment_types as t2 on t1.treatment_type_code = t2.treatment_type_code", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : state (\"Pennsylvania\", \"Vermont\", \"Vermont\"), last_name (\"Funk\", \"Hauck\", \"Fisher\"), home_phone (\"916.976.9480x13851\", \"(058)997-7627\", \"(058)997-7627\"), city (\"Brakusfurt\", \"West Leonard\", \"Brakusfurt\"), cell_number (\"(722)768-5439x484\", \"1-626-264-7659x1697\", \"633.455.3045x85484\"), street (\"2635 Caitlyn Plains\", \"6950 Katherine Forges Apt. 630\", \"1858 Jan Park\"), first_name (\"Heather\", \"Emelie\", \"Rolando\"), owner_id (14, 2, 1), zip_code (\"35747\", \"87304\", \"93165\"), email_address (\"ybergstrom@example.com\", \"angeline99@example.com\", \"lynn81@example.org\") | dogs : date_adopted (\"2018-03-21 10:41:18\", \"2018-03-07 21:45:43\", \"2018-02-25 23:45:30\"), date_arrived (\"2017-09-08 20:10:13\", \"2017-12-22 05:02:02\", \"2017-09-08 20:10:13\"), date_of_birth (\"2008-05-30 12:51:34\", \"2008-10-09 22:38:53\", \"2012-01-27 05:11:53\"), size_code (\"LGE\", \"MED\", \"SML\"), name (\"Evangeline\", \"Lyric\", \"Mavis\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), owner_id (11, 11, 14), weight (\"7.57\", \"8.96\", \"8.16\"), date_departed (\"2018-03-24 19:36:59\", \"2018-03-25 06:58:44\", \"2018-03-25 06:46:07\"), age (\"1\", \"2\", \"3\"), dog_id (15, 10, 8), abandoned_yn (\"1\", \"0\"), gender (\"1\", \"0\") | professionals : zip_code (\"84515\", \"06646\", \"07412\"), state (\"SouthCarolina\", \"Alabama\", \"Wisconsin\"), street (\"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \"), last_name (\"Watsica\", \"Considine\", \"O'Reilly\"), city (\"New Laurytown\", \"New Maryjane\", \"Baileymouth\"), email_address (\"deanna.schuster@example.com\", \"uboehm@example.org\", \"schneider.kathryne@example.org\"), home_phone (\"022.529.0550x1319\", \"1-138-287-3775\", \"346.594.3739\"), first_name (\"Domenica\", \"Brady\", \"Monte\"), role_code (\"Employee\", \"Veterenarian\"), cell_number (\"1-258-285-4707x8020\", \"(275)939-2435x80863\", \"962-983-8109x3509\"), professional_id (14, 2, 8) | treatments : treatment_id (9, 11, 15), cost_of_treatment (852, 139, 139), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (6, 8, 8), date_of_treatment (\"2018-03-15 19:10:02\", \"2018-03-16 10:27:36\", \"2018-03-11 04:23:15\"), dog_id (1, 2, 12)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_type , charge_amount | sizes : size_code , size_description | treatment_types : type_description , treatment_type_code , treatment_description | owners : state , last_name , home_phone 997-7627\", \"997-7627\", city , cell_number 768-5439x484\", \"1-626-264-7659x1697\", \"633.455.3045x85484\", street , first_name , owner_id , zip_code , email_address | dogs : date_adopted , date_arrived , date_of_birth , size_code , name , breed_code , owner_id , weight , date_departed , age , dog_id , abandoned_yn , gender | professionals : zip_code , state , street , last_name , city , email_address , home_phone , first_name , role_code , cell_number 939-2435x80863\", \"962-983-8109x3509\", professional_id | treatments : treatment_id , cost_of_treatment , treatment_type_code , professional_id , date_of_treatment , dog_id", "extra_map": { "treatment_types": { "treatment_type_description": [ "treatment_description", "type_description" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_description", "type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "cost of each treatment": "Treatments.cost_of_treatment", "treatment type description": "Treatment_Types.treatment_type_description" } }, { "question": "what are the #cost# and #treatment# type description of each treatment?", "db_id": "dog_kennels", "orig_query": "select t1.cost_of_treatment, t2.treatment_type_description from treatments as t1 join treatment_types as t2 on t1.treatment_type_code = t2.treatment_type_code", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : first_name (\"Johann\", \"Lorenz\", \"Heather\"), email_address (\"christy49@example.org\", \"christy49@example.org\", \"lynn81@example.org\"), street (\"6950 Katherine Forges Apt. 630\", \"0647 Hintz Village Apt. 024\", \"6950 Katherine Forges Apt. 630\"), home_phone (\"363.948.1090\", \"893-862-5295x61709\", \"1-332-849-1908\"), last_name (\"Rippin\", \"Rippin\", \"Rippin\"), city (\"East Maribelbury\", \"Brakusfurt\", \"Brakusfurt\"), owner_id (13, 1, 15), zip_code (\"11990\", \"22731\", \"92406\"), state (\"Florida\", \"Wisconsin\", \"Arizona\"), cell_number (\"(257)399-3116\", \"633.455.3045x85484\", \"1-626-264-7659x1697\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), date_arrived (\"2018-01-02 03:15:29\", \"2017-09-08 20:10:13\", \"2017-10-25 00:55:34\"), age (\"2\", \"6\", \"5\"), abandoned_yn (\"1\", \"0\"), date_adopted (\"2018-03-21 10:41:18\", \"2018-03-14 08:05:18\", \"2018-03-05 06:05:23\"), date_departed (\"2018-03-25 14:15:41\", \"2018-03-25 04:50:22\", \"2018-03-25 04:42:14\"), date_of_birth (\"2012-05-31 08:01:36\", \"2008-10-09 22:38:53\", \"2012-05-31 08:01:36\"), owner_id (5, 1, 7), breed_code (\"ESK\", \"BUL\", \"HUS\"), gender (\"1\", \"0\"), dog_id (10, 11, 1), name (\"Bessie\", \"Merritt\", \"Evangeline\"), weight (\"6.92\", \"8.96\", \"4.01\") | professionals : last_name (\"Pouros\", \"Hayes\", \"Pouros\"), state (\"SouthCarolina\", \"Wyoming\", \"Hawaii\"), home_phone (\"971.048.3763x9404\", \"(920)304-4499x59146\", \"+43(5)1132733868\"), zip_code (\"98844\", \"34041\", \"33020\"), professional_id (7, 1, 14), street (\"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"390 Bryce Drive\nNorth Dock, LA 65357-7228\"), first_name (\"Sigurd\", \"Ericka\", \"Vernice\"), role_code (\"Employee\", \"Veterenarian\"), email_address (\"goyette.roosevelt@example.net\", \"uboehm@example.org\", \"marquardt.furman@example.org\"), cell_number (\"889-940-2676\", \"609-405-2990\", \"(275)939-2435x80863\"), city (\"Jaceton\", \"Kirastad\", \"Baileymouth\") | treatments : fee_of_treatment (349, 266, 668), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-14 19:10:40\", \"2018-03-23 13:52:10\", \"2018-03-14 19:10:40\"), treatment_id (8, 10, 12), dog_id (1, 13, 2), price_of_treatment (349, 266, 668), professional_id (4, 5, 6)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_type , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : first_name , email_address , street , home_phone , last_name , city , owner_id , zip_code , state , cell_number 399-3116\", \"633.455.3045x85484\", \"1-626-264-7659x1697\" | dogs : size_code , date_arrived , age , abandoned_yn , date_adopted , date_departed , date_of_birth , owner_id , breed_code , gender , dog_id , name , weight | professionals : last_name , state , home_phone 304-4499x59146\", \"+431132733868\", zip_code , professional_id , street , first_name , role_code , email_address , cell_number 939-2435x80863\", city | treatments : fee_of_treatment , treatment_type_code , date_of_treatment , treatment_id , dog_id , price_of_treatment , professional_id", "extra_map": { "treatments": { "cost_of_treatment": [ "price_of_treatment", "fee_of_treatment" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "price_of_treatment", "fee_of_treatment" ] }, "column_linking_gt": { "cost": "Treatments.cost_of_treatment", "treatment": "Treatments", "treatment type description": "Treatment_Types.treatment_type_description" } }, { "question": "what are the #cost# and #treatment# type description of each treatment?", "db_id": "dog_kennels", "orig_query": "select t1.cost_of_treatment, t2.treatment_type_description from treatments as t1 join treatment_types as t2 on t1.treatment_type_code = t2.treatment_type_code", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : last_name (\"DuBuque\", \"DuBuque\", \"Rippin\"), first_name (\"Tre\", \"Heather\", \"Johann\"), zip_code (\"93165\", \"92406\", \"92406\"), state (\"Virginia\", \"SouthDakota\", \"Washington\"), cell_number (\"481-483-9083x37986\", \"739-136-7202\", \"+00(2)4323592985\"), home_phone (\"363.948.1090\", \"(799)563-0260x454\", \"1-346-655-5842x768\"), email_address (\"ybergstrom@example.com\", \"edythe62@example.org\", \"edythe62@example.org\"), street (\"68118 Daniel Row\", \"0647 Hintz Village Apt. 024\", \"57382 Yost Ridges\"), owner_id (7, 3, 11), city (\"Barrettburgh\", \"Barrettburgh\", \"Lake Jennyferfort\") | dogs : date_of_birth (\"2012-05-31 08:01:36\", \"2013-02-13 05:15:21\", \"2012-05-31 08:01:36\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), size_code (\"LGE\", \"MED\", \"SML\"), gender (\"1\", \"0\"), date_adopted (\"2018-03-14 08:05:18\", \"2018-02-25 23:45:30\", \"2018-02-25 23:45:30\"), age (\"8\", \"4\", \"5\"), weight (\"9.48\", \"1.72\", \"9.8\"), abandoned_yn (\"1\", \"0\"), date_departed (\"2018-03-25 10:25:46\", \"2018-03-25 02:47:40\", \"2018-03-25 06:46:07\"), owner_id (3, 6, 1), date_arrived (\"2017-09-08 20:10:13\", \"2017-10-25 00:55:34\", \"2017-06-18 19:45:38\"), dog_id (14, 13, 7), name (\"Merritt\", \"George\", \"George\") | professionals : role_code (\"Employee\", \"Veterenarian\"), email_address (\"jeichmann@example.com\", \"cole.margarita@example.org\", \"jacynthe.mclaughlin@example.net\"), home_phone (\"1-609-566-2752x25197\", \"971.048.3763x9404\", \"346.594.3739\"), first_name (\"Jayson\", \"Sigurd\", \"Vernice\"), professional_id (5, 6, 10), zip_code (\"77129\", \"54312\", \"33020\"), city (\"West Heidi\", \"McLaughlinfort\", \"Domenickton\"), cell_number (\"1-185-137-1945x409\", \"1-258-285-4707x8020\", \"1-258-285-4707x8020\"), street (\"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \"), state (\"NewMexico\", \"NorthCarolina\", \"Mississippi\"), last_name (\"Jacobs\", \"Considine\", \"Ullrich\") | treatments : dog_id (12, 10, 7), professional_id (9, 14, 7), treatment_id (4, 3, 7), cost_of_treatment (349, 656, 139), date_of_treatment (\"2018-03-10 11:45:58\", \"2018-03-16 10:27:36\", \"2018-03-13 12:22:58\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_type , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_description , type_description | owners : last_name , first_name , zip_code , state , cell_number 4323592985\", home_phone 563-0260x454\", \"1-346-655-5842x768\", email_address , street , owner_id , city | dogs : date_of_birth , breed_code , size_code , gender , date_adopted , age , weight , abandoned_yn , date_departed , owner_id , date_arrived , dog_id , name | professionals : role_code , email_address , home_phone , first_name , professional_id , zip_code , city , cell_number , street , state , last_name | treatments : dog_id , professional_id , treatment_id , cost_of_treatment , date_of_treatment , treatment_type_code", "extra_map": { "treatment_types": { "treatment_type_description": [ "treatment_description", "type_description" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_description", "type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "cost": "Treatments.cost_of_treatment", "treatment": "Treatments", "treatment type description": "Treatment_Types.treatment_type_description" } }, { "question": "list each #owner's first name# , last name, and the #size# of his for her #dog# .", "db_id": "dog_kennels", "orig_query": "select t1.first_name, t1.last_name, t2.size_code from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : cell_number (\"478.978.0729\", \"121.381.3316x6535\", \"559.874.3011x989\"), state (\"Maryland\", \"Arizona\", \"Virginia\"), street (\"9212 Rosenbaum Lights\", \"0647 Hintz Village Apt. 024\", \"89011 Kertzmann Spring Suite 642\"), zip_code (\"02647\", \"45244\", \"61019\"), family_name (\"Stoltenberg\", \"Fisher\", \"Funk\"), city (\"Lake Tia\", \"Lake Valentin\", \"South Afton\"), home_phone (\"363.948.1090\", \"066.264.7885\", \"893-862-5295x61709\"), email_address (\"pearlie18@example.com\", \"kturner@example.net\", \"zboncak.madonna@example.net\"), owner_id (15, 2, 13), first_name (\"Rolando\", \"Rolando\", \"Heather\"), surname (\"Stoltenberg\", \"Fisher\", \"Funk\") | dogs : date_arrived (\"2017-09-08 20:10:13\", \"2017-12-29 23:24:13\", \"2017-12-29 06:08:26\"), gender (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), weight (\"1.72\", \"8.95\", \"3.52\"), abandoned_yn (\"1\", \"0\"), date_of_birth (\"2009-04-12 06:02:48\", \"2013-02-20 14:50:56\", \"2013-02-13 05:15:21\"), age (\"3\", \"5\", \"9\"), owner_id (14, 8, 3), dog_id (15, 7, 7), date_adopted (\"2018-03-23 16:02:04\", \"2018-03-07 21:45:43\", \"2018-03-23 16:02:04\"), name (\"Hipolito\", \"George\", \"Kacey\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_departed (\"2018-03-25 10:25:46\", \"2018-03-25 05:07:47\", \"2018-03-25 02:47:40\") | professionals : state (\"Alabama\", \"NorthCarolina\", \"Montana\"), city (\"West Heidi\", \"New Laurytown\", \"Raynorfort\"), cell_number (\"1-258-285-4707x8020\", \"328.842.3792\", \"1-258-285-4707x8020\"), zip_code (\"33020\", \"41215\", \"80775\"), professional_id (14, 10, 5), last_name (\"Braun\", \"Kshlerin\", \"Kshlerin\"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Lesly\", \"Jayson\", \"Winfield\"), street (\"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\"), home_phone (\"891.475.2256\", \"022.529.0550x1319\", \"346.594.3739\"), email_address (\"delphine29@example.com\", \"delphine29@example.com\", \"delphine29@example.com\") | treatments : dog_id (15, 1, 1), date_of_treatment (\"2018-03-13 12:22:58\", \"2018-03-15 19:10:02\", \"2018-03-10 11:45:58\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (428, 852, 266), professional_id (9, 7, 5), treatment_id (14, 6, 2)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : cell_number , state , street , zip_code , family_name , city , home_phone , email_address , owner_id , first_name , surname | dogs : date_arrived , gender , size_code , weight , abandoned_yn , date_of_birth , age , owner_id , dog_id , date_adopted , name , breed_code , date_departed | professionals : state , city , cell_number , zip_code , professional_id , last_name , role_code , first_name , street , home_phone , email_address | treatments : dog_id , date_of_treatment , treatment_type_code , cost_of_treatment , professional_id , treatment_id", "extra_map": { "owners": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "surname", "family_name" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner": "Owners", "size": "Dogs.size_code", "dog": "Dogs", "owner's first name": "Owners.first_name", "owner's last name": "Owners.last_name" } }, { "question": "list each #owner's first name# , last name, and the #size# of his for her #dog# .", "db_id": "dog_kennels", "orig_query": "select t1.first_name, t1.last_name, t2.size_code from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : cell_number (\"739-136-7202\", \"559.874.3011x989\", \"(257)399-3116\"), email_address (\"ybergstrom@example.com\", \"hudson.favian@example.com\", \"wpfeffer@example.net\"), first_name (\"Cindy\", \"Rolando\", \"Kade\"), owner_id (13, 15, 9), zip_code (\"11990\", \"45244\", \"45244\"), state (\"Washington\", \"Mississippi\", \"Pennsylvania\"), home_phone (\"1-682-845-0116x63235\", \"066.264.7885\", \"066.264.7885\"), last_name (\"Nicolas\", \"Feil\", \"Funk\"), city (\"South Afton\", \"South Daisyfurt\", \"New Margaretteborough\"), street (\"59509 Mellie Mountain\", \"68118 Daniel Row\", \"692 Jaskolski Forges\") | dogs : dimension_code (\"LGE\", \"MED\", \"SML\"), proportions_code (\"LGE\", \"MED\", \"SML\"), dog_id (4, 4, 5), age (\"9\", \"6\", \"5\"), owner_id (13, 13, 2), gender (\"1\", \"0\"), date_adopted (\"2018-03-08 15:03:00\", \"2018-03-07 21:45:43\", \"2018-03-13 12:47:15\"), name (\"Lyric\", \"Mavis\", \"Hipolito\"), weight (\"9.8\", \"4.01\", \"8.04\"), date_departed (\"2018-03-25 13:07:04\", \"2018-03-25 10:25:46\", \"2018-03-25 10:25:46\"), date_of_birth (\"2015-02-26 21:31:22\", \"2012-05-31 08:01:36\", \"2012-01-27 05:11:53\"), abandoned_yn (\"1\", \"0\"), date_arrived (\"2018-01-02 03:15:29\", \"2017-06-18 19:45:38\", \"2017-10-25 00:55:34\"), breed_code (\"ESK\", \"BUL\", \"HUS\") | professionals : cell_number (\"328.842.3792\", \"1-181-670-9466\", \"962-983-8109x3509\"), home_phone (\"320-508-6023\", \"312.216.3352\", \"325-155-0801x7005\"), state (\"Utah\", \"Wisconsin\", \"Connecticut\"), professional_id (12, 14, 13), city (\"Borisside\", \"North Adelberttown\", \"Jaceton\"), role_code (\"Employee\", \"Veterenarian\"), email_address (\"jacynthe.mclaughlin@example.net\", \"goyette.roosevelt@example.net\", \"lourdes.lowe@example.net\"), street (\"72532 Hane Course\nLake Berylland, ND 95283\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \"), zip_code (\"54312\", \"41215\", \"34041\"), last_name (\"Ullrich\", \"Watsica\", \"Christiansen\"), first_name (\"Danny\", \"Velva\", \"Domenica\") | treatments : professional_id (10, 5, 14), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-15 19:10:02\", \"2018-02-28 17:09:43\", \"2018-03-04 20:33:43\"), cost_of_treatment (514, 349, 147), treatment_id (1, 1, 15), dog_id (12, 7, 1)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_type , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : cell_number 399-3116\", email_address , first_name , owner_id , zip_code , state , home_phone , last_name , city , street | dogs : dimension_code , proportions_code , dog_id , age , owner_id , gender , date_adopted , name , weight , date_departed , date_of_birth , abandoned_yn , date_arrived , breed_code | professionals : cell_number , home_phone , state , professional_id , city , role_code , email_address , street , zip_code , last_name , first_name | treatments : professional_id , treatment_type_code , date_of_treatment , cost_of_treatment , treatment_id , dog_id", "extra_map": { "dogs": { "size_code": [ "dimension_code", "proportions_code" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "dimension_code", "proportions_code" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner": "Owners", "size": "Dogs.size_code", "dog": "Dogs", "owner's first name": "Owners.first_name", "owner's last name": "Owners.last_name" } }, { "question": "list each #owner's first name# , last name, and the #size# of his for her #dog# .", "db_id": "dog_kennels", "orig_query": "select t1.first_name, t1.last_name, t2.size_code from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : home_phone (\"318-052-6573\", \"(799)563-0260x454\", \"1-346-655-5842x768\"), street (\"60352 Kayleigh Crossing Suite 700\", \"51934 Treutel Harbor\", \"68118 Daniel Row\"), city (\"Port Zackery\", \"Lake Jennyferfort\", \"Port Reannamouth\"), cell_number (\"1-739-421-2225x38148\", \"739-136-7202\", \"481-483-9083x37986\"), last_name (\"Hamill\", \"Stoltenberg\", \"Price\"), forename (\"Lorenz\", \"Rachelle\", \"Johann\"), given_name (\"Lorenz\", \"Rachelle\", \"Johann\"), email_address (\"zboncak.madonna@example.net\", \"pearlie18@example.com\", \"pearlie18@example.com\"), zip_code (\"93165\", \"35747\", \"02647\"), state (\"NewYork\", \"Arkansas\", \"Mississippi\"), owner_id (9, 12, 15) | dogs : size_code (\"LGE\", \"MED\", \"SML\"), abandoned_yn (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), gender (\"1\", \"0\"), owner_id (1, 2, 12), weight (\"1.72\", \"4.36\", \"1.72\"), dog_id (10, 9, 11), age (\"2\", \"1\", \"6\"), name (\"Narciso\", \"Lyric\", \"Lyric\"), date_arrived (\"2018-01-17 11:44:16\", \"2017-10-16 20:06:21\", \"2017-09-08 20:10:13\"), date_of_birth (\"2008-05-19 15:54:49\", \"2008-05-30 12:51:34\", \"2012-05-31 08:01:36\"), date_departed (\"2018-03-25 04:42:14\", \"2018-03-25 06:46:07\", \"2018-03-25 04:42:14\"), date_adopted (\"2018-03-13 12:47:15\", \"2018-03-08 15:03:00\", \"2018-03-05 06:05:23\") | professionals : professional_id (7, 13, 15), state (\"Utah\", \"Alabama\", \"NorthCarolina\"), city (\"McLaughlinfort\", \"Kirastad\", \"East Ila\"), home_phone (\"1-138-287-3775\", \"(230)338-3342x585\", \"346.594.3739\"), street (\"68589 Bradly Manor\nNew Audrey, IN 91497\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\"), email_address (\"deanna.schuster@example.com\", \"jerrod.bahringer@example.org\", \"jeichmann@example.com\"), first_name (\"Karley\", \"Taryn\", \"Karley\"), role_code (\"Employee\", \"Veterenarian\"), last_name (\"Walter\", \"Jacobs\", \"Watsica\"), zip_code (\"52476\", \"06646\", \"33020\"), cell_number (\"(369)908-7311x065\", \"(369)908-7311x065\", \"1-185-137-1945x409\") | treatments : treatment_id (14, 8, 10), dog_id (13, 10, 12), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (10, 14, 7), cost_of_treatment (681, 852, 681), date_of_treatment (\"2018-03-08 05:26:23\", \"2018-03-13 12:22:58\", \"2018-03-14 19:10:40\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : home_phone 563-0260x454\", \"1-346-655-5842x768\", street , city , cell_number , last_name , forename , given_name , email_address , zip_code , state , owner_id | dogs : size_code , abandoned_yn , breed_code , gender , owner_id , weight , dog_id , age , name , date_arrived , date_of_birth , date_departed , date_adopted | professionals : professional_id , state , city , home_phone 338-3342x585\", \"346.594.3739\", street , email_address , first_name , role_code , last_name , zip_code , cell_number 908-7311x065\", \"908-7311x065\", \"1-185-137-1945x409\" | treatments : treatment_id , dog_id , treatment_type_code , professional_id , cost_of_treatment , date_of_treatment", "extra_map": { "owners": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "given_name", "forename" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner": "Owners", "size": "Dogs.size_code", "dog": "Dogs", "owner's first name": "Owners.first_name", "owner's last name": "Owners.last_name" } }, { "question": "what are each #owner's first name# , last name, and the #size of their dog# ?", "db_id": "dog_kennels", "orig_query": "select t1.first_name, t1.last_name, t2.size_code from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : home_phone (\"1-346-655-5842x768\", \"916.976.9480x13851\", \"066.264.7885\"), first_name (\"Gay\", \"Kade\", \"Heather\"), email_address (\"marks.gail@example.org\", \"ykris@example.com\", \"ymaggio@example.com\"), surname (\"Schmitt\", \"Feil\", \"Mertz\"), owner_id (5, 14, 8), state (\"NorthDakota\", \"Wisconsin\", \"Mississippi\"), zip_code (\"87304\", \"92406\", \"35747\"), street (\"0647 Hintz Village Apt. 024\", \"15828 Spencer Extensions\", \"6950 Katherine Forges Apt. 630\"), family_name (\"Schmitt\", \"Feil\", \"Mertz\"), cell_number (\"762.589.6117x1328\", \"481-483-9083x37986\", \"121.381.3316x6535\"), city (\"East Hillardberg\", \"Lake Tia\", \"South Afton\") | dogs : owner_id (3, 11, 5), date_adopted (\"2018-03-23 16:02:04\", \"2018-02-27 00:27:57\", \"2018-03-05 06:05:23\"), weight (\"4.01\", \"1.39\", \"8.95\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), name (\"Lyric\", \"Lyric\", \"Jesus\"), size_code (\"LGE\", \"MED\", \"SML\"), date_of_birth (\"2015-02-26 21:31:22\", \"2012-07-11 17:15:10\", \"2012-10-14 14:44:37\"), gender (\"1\", \"0\"), age (\"5\", \"1\", \"9\"), date_departed (\"2018-03-25 13:07:04\", \"2018-03-25 06:46:07\", \"2018-03-25 06:29:10\"), date_arrived (\"2017-04-15 09:25:31\", \"2017-12-29 06:08:26\", \"2017-05-06 08:03:52\"), abandoned_yn (\"1\", \"0\"), dog_id (13, 11, 13) | professionals : street (\"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \"), professional_id (1, 6, 5), home_phone (\"+43(5)1132733868\", \"+02(1)0259033559\", \"971.048.3763x9404\"), zip_code (\"98844\", \"80775\", \"33020\"), first_name (\"Jayson\", \"Monte\", \"Monte\"), cell_number (\"499-434-0215x1628\", \"(369)908-7311x065\", \"011.193.9081x3186\"), city (\"Borisside\", \"North Odellfurt\", \"West Heidi\"), last_name (\"Considine\", \"Hyatt\", \"Braun\"), email_address (\"goyette.roosevelt@example.net\", \"jacynthe.mclaughlin@example.net\", \"jacynthe.mclaughlin@example.net\"), role_code (\"Employee\", \"Veterenarian\"), state (\"Wyoming\", \"SouthCarolina\", \"NorthCarolina\") | treatments : date_of_treatment (\"2018-03-24 22:25:58\", \"2018-02-28 17:09:43\", \"2018-03-23 13:52:10\"), treatment_id (5, 8, 12), professional_id (6, 10, 6), cost_of_treatment (313, 349, 945), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (14, 15, 10)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_type , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : home_phone , first_name , email_address , surname , owner_id , state , zip_code , street , family_name , cell_number , city | dogs : owner_id , date_adopted , weight , breed_code , name , size_code , date_of_birth , gender , age , date_departed , date_arrived , abandoned_yn , dog_id | professionals : street , professional_id , home_phone 1132733868\", \"+020259033559\", \"971.048.3763x9404\", zip_code , first_name , cell_number 908-7311x065\", \"011.193.9081x3186\", city , last_name , email_address , role_code , state | treatments : date_of_treatment , treatment_id , professional_id , cost_of_treatment , treatment_type_code , dog_id", "extra_map": { "owners": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "surname", "family_name" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "size of their dog": "Dogs.size_code", "owner's first name": "Owners.first_name", "owner's last name": "Owners.last_name" } }, { "question": "what are each #owner's first name# , last name, and the #size of their dog# ?", "db_id": "dog_kennels", "orig_query": "select t1.first_name, t1.last_name, t2.size_code from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : home_phone (\"(094)747-5094x8134\", \"363.948.1090\", \"(058)997-7627\"), state (\"Indiana\", \"Arkansas\", \"Mississippi\"), cell_number (\"1-626-264-7659x1697\", \"633.455.3045x85484\", \"1-739-421-2225x38148\"), first_name (\"Emelie\", \"Melisa\", \"Rolando\"), zip_code (\"00589\", \"00589\", \"93165\"), owner_id (7, 4, 9), email_address (\"angeline99@example.com\", \"marks.gail@example.org\", \"zboncak.madonna@example.net\"), street (\"6950 Katherine Forges Apt. 630\", \"15828 Spencer Extensions\", \"59509 Mellie Mountain\"), last_name (\"Fisher\", \"Hamill\", \"Nicolas\"), city (\"West Leonard\", \"Lake Tia\", \"South Afton\") | dogs : dog_id (3, 4, 1), owner_id (8, 3, 7), date_arrived (\"2018-01-17 11:44:16\", \"2017-09-08 20:10:13\", \"2017-12-29 06:08:26\"), date_of_birth (\"2013-02-20 14:50:56\", \"2013-02-20 14:50:56\", \"2012-05-03 21:42:25\"), proportions_code (\"LGE\", \"MED\", \"SML\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), gender (\"1\", \"0\"), age (\"1\", \"8\", \"6\"), dimension_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-25 13:07:04\", \"2018-03-25 13:07:04\", \"2018-03-25 14:15:41\"), abandoned_yn (\"1\", \"0\"), weight (\"8.04\", \"4.01\", \"9.8\"), date_adopted (\"2018-02-27 00:27:57\", \"2018-03-14 08:05:18\", \"2018-03-18 07:47:40\"), name (\"Evangeline\", \"Troy\", \"Betty\") | professionals : city (\"Baileymouth\", \"McLaughlinfort\", \"Domenickton\"), first_name (\"Ruben\", \"Karley\", \"Winfield\"), role_code (\"Employee\", \"Veterenarian\"), state (\"Wyoming\", \"Wisconsin\", \"Alabama\"), professional_id (8, 4, 13), home_phone (\"1-609-566-2752x25197\", \"+71(6)2898266914\", \"320-508-6023\"), cell_number (\"00230569697\", \"00230569697\", \"139-321-7313\"), street (\"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\"), last_name (\"Tillman\", \"Watsica\", \"Murazik\"), zip_code (\"06646\", \"52476\", \"67980\"), email_address (\"lourdes.lowe@example.net\", \"cole.margarita@example.org\", \"lucile.shanahan@example.org\") | treatments : dog_id (4, 13, 13), professional_id (7, 10, 6), date_of_treatment (\"2018-03-01 04:14:46\", \"2018-03-01 04:14:46\", \"2018-03-04 20:33:43\"), treatment_id (2, 8, 12), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (514, 668, 852)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_id , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : home_phone 747-5094x8134\", \"363.948.1090\", \"997-7627\", state , cell_number , first_name , zip_code , owner_id , email_address , street , last_name , city | dogs : dog_id , owner_id , date_arrived , date_of_birth , proportions_code , breed_code , gender , age , dimension_code , date_departed , abandoned_yn , weight , date_adopted , name | professionals : city , first_name , role_code , state , professional_id , home_phone 2898266914\", \"320-508-6023\", cell_number , street , last_name , zip_code , email_address | treatments : dog_id , professional_id , date_of_treatment , treatment_id , treatment_type_code , cost_of_treatment", "extra_map": { "dogs": { "size_code": [ "dimension_code", "proportions_code" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "dimension_code", "proportions_code" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "size of their dog": "Dogs.size_code", "owner's first name": "Owners.first_name", "owner's last name": "Owners.last_name" } }, { "question": "what are each #owner's first name# , last name, and the #size of their dog# ?", "db_id": "dog_kennels", "orig_query": "select t1.first_name, t1.last_name, t2.size_code from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : cell_number (\"559.874.3011x989\", \"478.978.0729\", \"(783)271-6744x4507\"), home_phone (\"916.976.9480x13851\", \"130-796-4589x05454\", \"085.557.0379x84348\"), given_name (\"Rachelle\", \"Cindy\", \"Orlando\"), zip_code (\"87304\", \"61019\", \"35747\"), email_address (\"ybergstrom@example.com\", \"hudson.favian@example.com\", \"ymaggio@example.com\"), state (\"Wisconsin\", \"Vermont\", \"Wisconsin\"), forename (\"Rachelle\", \"Cindy\", \"Orlando\"), owner_id (8, 10, 15), last_name (\"Hamill\", \"Schmitt\", \"Hamill\"), street (\"1858 Jan Park\", \"9212 Rosenbaum Lights\", \"0647 Hintz Village Apt. 024\"), city (\"South Afton\", \"Lake Jennyferfort\", \"South Afton\") | dogs : date_of_birth (\"2013-02-20 14:50:56\", \"2013-02-20 14:50:56\", \"2008-10-09 22:38:53\"), date_adopted (\"2018-02-25 23:45:30\", \"2018-03-13 12:47:15\", \"2018-03-10 15:06:43\"), date_departed (\"2018-03-24 23:48:59\", \"2018-03-25 04:42:14\", \"2018-03-25 02:11:32\"), date_arrived (\"2017-12-22 05:02:02\", \"2018-01-17 11:44:16\", \"2017-05-06 08:03:52\"), gender (\"1\", \"0\"), owner_id (13, 7, 13), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (5, 3, 4), breed_code (\"ESK\", \"BUL\", \"HUS\"), name (\"Evangeline\", \"George\", \"Merritt\"), weight (\"7.57\", \"8.95\", \"2.18\"), age (\"5\", \"1\", \"6\"), abandoned_yn (\"1\", \"0\") | professionals : first_name (\"Monte\", \"Monte\", \"Danny\"), last_name (\"Walter\", \"Hayes\", \"O'Reilly\"), role_code (\"Employee\", \"Veterenarian\"), street (\"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"92912 Langworth Valleys Apt. 743\nThompsonborough, \", \"17286 Waters Green\nEast Bernadinefort, CA 89573\"), email_address (\"delphine29@example.com\", \"lambert62@example.org\", \"marquardt.furman@example.org\"), professional_id (6, 2, 5), cell_number (\"461-801-2600\", \"889-940-2676\", \"328.842.3792\"), state (\"Indiana\", \"California\", \"Mississippi\"), city (\"East Ila\", \"Borisside\", \"New Laurytown\"), home_phone (\"022.529.0550x1319\", \"1-609-566-2752x25197\", \"+71(6)2898266914\"), zip_code (\"06646\", \"84515\", \"80775\") | treatments : professional_id (10, 14, 5), dog_id (13, 13, 7), treatment_id (1, 11, 6), cost_of_treatment (668, 656, 147), date_of_treatment (\"2018-03-08 05:26:23\", \"2018-03-15 19:10:02\", \"2018-02-26 09:08:53\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : cell_number 271-6744x4507\", home_phone , given_name , zip_code , email_address , state , forename , owner_id , last_name , street , city | dogs : date_of_birth , date_adopted , date_departed , date_arrived , gender , owner_id , size_code , dog_id , breed_code , name , weight , age , abandoned_yn | professionals : first_name , last_name , role_code , street , email_address , professional_id , cell_number , state , city , home_phone 2898266914\", zip_code | treatments : professional_id , dog_id , treatment_id , cost_of_treatment , date_of_treatment , treatment_type_code", "extra_map": { "owners": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "given_name", "forename" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "size of their dog": "Dogs.size_code", "owner's first name": "Owners.first_name", "owner's last name": "Owners.last_name" } }, { "question": "list pairs of the #owner's first name# and the #dogs's name# .", "db_id": "dog_kennels", "orig_query": "select t1.first_name, t2.name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : state (\"Arizona\", \"SouthDakota\", \"Wisconsin\"), street (\"15828 Spencer Extensions\", \"2635 Caitlyn Plains\", \"0647 Hintz Village Apt. 024\"), email_address (\"zboncak.madonna@example.net\", \"margaretta.runte@example.net\", \"wpfeffer@example.net\"), zip_code (\"86010\", \"36871\", \"02647\"), city (\"East Maribelbury\", \"Lake Jennyferfort\", \"Brakusfurt\"), home_phone (\"01802479758\", \"(544)034-1670\", \"01802479758\"), owner_id (1, 9, 6), last_name (\"Feil\", \"Funk\", \"Ondricka\"), first_name (\"Cindy\", \"Emelie\", \"Gay\"), cell_number (\"(722)768-5439x484\", \"762.589.6117x1328\", \"341.667.8085\") | dogs : breed_code (\"ESK\", \"BUL\", \"HUS\"), moniker (\"Betty\", \"George\", \"Holden\"), date_departed (\"2018-03-25 05:07:47\", \"2018-03-25 04:42:14\", \"2018-03-25 02:47:40\"), abandoned_yn (\"1\", \"0\"), gender (\"1\", \"0\"), appellation (\"Betty\", \"George\", \"Holden\"), age (\"9\", \"4\", \"4\"), owner_id (8, 8, 11), dog_id (3, 8, 2), size_code (\"LGE\", \"MED\", \"SML\"), date_of_birth (\"2012-05-31 08:01:36\", \"2017-09-19 05:39:09\", \"2013-02-20 14:50:56\"), weight (\"8.04\", \"8.96\", \"4.01\"), date_arrived (\"2017-06-25 10:14:05\", \"2017-10-24 04:45:13\", \"2017-10-24 04:45:13\"), date_adopted (\"2018-03-07 21:45:43\", \"2018-02-27 00:27:57\", \"2018-03-25 08:12:51\") | professionals : role_code (\"Employee\", \"Veterenarian\"), street (\"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\"), city (\"New Maryjane\", \"North Adelberttown\", \"Domenickton\"), state (\"NorthCarolina\", \"NewMexico\", \"Utah\"), zip_code (\"33020\", \"54312\", \"07412\"), first_name (\"Olaf\", \"Domenica\", \"Velva\"), home_phone (\"320-508-6023\", \"891.475.2256\", \"891.475.2256\"), cell_number (\"011.193.9081x3186\", \"(275)939-2435x80863\", \"328.842.3792\"), last_name (\"Tillman\", \"Kshlerin\", \"Christiansen\"), email_address (\"mekhi.little@example.org\", \"goyette.roosevelt@example.net\", \"mekhi.little@example.org\"), professional_id (15, 3, 7) | treatments : professional_id (6, 10, 14), date_of_treatment (\"2018-03-24 22:25:58\", \"2018-03-15 19:10:02\", \"2018-02-26 09:08:53\"), dog_id (2, 4, 4), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (139, 428, 428), treatment_id (3, 6, 13)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_amount , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : state , street , email_address , zip_code , city , home_phone 034-1670\", \"01802479758\", owner_id , last_name , first_name , cell_number 768-5439x484\", \"762.589.6117x1328\", \"341.667.8085\" | dogs : breed_code , moniker , date_departed , abandoned_yn , gender , appellation , age , owner_id , dog_id , size_code , date_of_birth , weight , date_arrived , date_adopted | professionals : role_code , street , city , state , zip_code , first_name , home_phone , cell_number 939-2435x80863\", \"328.842.3792\", last_name , email_address , professional_id | treatments : professional_id , date_of_treatment , dog_id , treatment_type_code , cost_of_treatment , treatment_id", "extra_map": { "dogs": { "name": [ "appellation", "moniker" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "appellation", "moniker" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner's first name": "Owners.first_name", "dogs's name": "Dogs.name" } }, { "question": "list pairs of the #owner's first name# and the #dogs's name# .", "db_id": "dog_kennels", "orig_query": "select t1.first_name, t2.name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : owner_id (2, 6, 13), street (\"6950 Katherine Forges Apt. 630\", \"1858 Jan Park\", \"1858 Jan Park\"), home_phone (\"(058)997-7627\", \"130-796-4589x05454\", \"363.948.1090\"), given_name (\"Johann\", \"Jaclyn\", \"Cindy\"), email_address (\"marks.gail@example.org\", \"ybergstrom@example.com\", \"zboncak.madonna@example.net\"), forename (\"Johann\", \"Jaclyn\", \"Cindy\"), last_name (\"Rippin\", \"Price\", \"Stoltenberg\"), cell_number (\"739-136-7202\", \"(722)768-5439x484\", \"(722)768-5439x484\"), state (\"Arizona\", \"NewYork\", \"Arizona\"), zip_code (\"78297\", \"22731\", \"45244\"), city (\"Port Reannamouth\", \"West Leonard\", \"Lake Jennyferfort\") | dogs : date_adopted (\"2018-03-21 10:41:18\", \"2018-03-13 12:47:15\", \"2018-03-05 06:05:23\"), date_arrived (\"2017-06-18 19:45:38\", \"2017-06-25 10:14:05\", \"2017-05-06 08:03:52\"), age (\"1\", \"9\", \"6\"), name (\"Hipolito\", \"Lyric\", \"Merritt\"), date_departed (\"2018-03-25 06:46:07\", \"2018-03-25 14:15:41\", \"2018-03-25 10:25:46\"), owner_id (10, 1, 5), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (2, 15, 8), abandoned_yn (\"1\", \"0\"), weight (\"5.16\", \"3.52\", \"8.95\"), gender (\"1\", \"0\"), date_of_birth (\"2015-02-26 21:31:22\", \"2012-07-11 17:15:10\", \"2008-05-30 12:51:34\"), breed_code (\"ESK\", \"BUL\", \"HUS\") | professionals : state (\"Wisconsin\", \"Hawaii\", \"NorthCarolina\"), last_name (\"Pouros\", \"Frami\", \"Christiansen\"), city (\"North Odellfurt\", \"Borisside\", \"Raynorfort\"), email_address (\"jeichmann@example.com\", \"delphine29@example.com\", \"jerrod.bahringer@example.org\"), professional_id (7, 11, 8), first_name (\"Karley\", \"Velva\", \"Jayson\"), cell_number (\"328.842.3792\", \"962-983-8109x3509\", \"880-659-7577x736\"), role_code (\"Employee\", \"Veterenarian\"), home_phone (\"+71(6)2898266914\", \"+02(1)0259033559\", \"(920)304-4499x59146\"), street (\"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \"), zip_code (\"67980\", \"07412\", \"17902\") | treatments : professional_id (6, 9, 14), cost_of_treatment (313, 139, 428), dog_id (13, 2, 12), treatment_id (11, 4, 14), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-15 19:10:02\", \"2018-03-01 04:14:46\", \"2018-03-14 19:10:40\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_type , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : owner_id , street , home_phone 997-7627\", \"130-796-4589x05454\", \"363.948.1090\", given_name , email_address , forename , last_name , cell_number 768-5439x484\", \"768-5439x484\", state , zip_code , city | dogs : date_adopted , date_arrived , age , name , date_departed , owner_id , size_code , dog_id , abandoned_yn , weight , gender , date_of_birth , breed_code | professionals : state , last_name , city , email_address , professional_id , first_name , cell_number , role_code , home_phone 2898266914\", \"+020259033559\", \"304-4499x59146\", street , zip_code | treatments : professional_id , cost_of_treatment , dog_id , treatment_id , treatment_type_code , date_of_treatment", "extra_map": { "owners": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "given_name", "forename" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner's first name": "Owners.first_name", "dogs's name": "Dogs.name" } }, { "question": "what are each #owner's first name# and their #dogs's name# ?", "db_id": "dog_kennels", "orig_query": "select t1.first_name, t2.name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : cell_number (\"(783)271-6744x4507\", \"633.455.3045x85484\", \"(722)768-5439x484\"), city (\"South Daisyfurt\", \"Port Reannamouth\", \"East Hillardberg\"), home_phone (\"(094)747-5094x8134\", \"318-052-6573\", \"066.264.7885\"), zip_code (\"00589\", \"87304\", \"35747\"), first_name (\"Gay\", \"Gay\", \"Orlando\"), last_name (\"Prohaska\", \"Nicolas\", \"Stoltenberg\"), state (\"NewYork\", \"Mississippi\", \"Arkansas\"), email_address (\"ybergstrom@example.com\", \"wpfeffer@example.net\", \"ybergstrom@example.com\"), street (\"2635 Caitlyn Plains\", \"692 Jaskolski Forges\", \"60352 Kayleigh Crossing Suite 700\"), owner_id (11, 10, 6) | dogs : size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-24 19:12:22\", \"2018-03-25 10:25:46\", \"2018-03-25 06:58:44\"), date_of_birth (\"2015-02-26 21:31:22\", \"2010-11-11 07:11:53\", \"2012-10-14 14:44:37\"), owner_id (13, 6, 12), dog_id (10, 4, 4), age (\"1\", \"1\", \"5\"), weight (\"4.01\", \"4.36\", \"3.52\"), date_arrived (\"2017-09-08 20:10:13\", \"2017-04-20 00:58:55\", \"2017-12-29 06:08:26\"), date_adopted (\"2018-03-13 12:47:15\", \"2018-03-21 10:41:18\", \"2018-03-23 16:02:04\"), appellation (\"Jesus\", \"Holden\", \"Narciso\"), abandoned_yn (\"1\", \"0\"), gender (\"1\", \"0\"), moniker (\"Jesus\", \"Holden\", \"Narciso\"), breed_code (\"ESK\", \"BUL\", \"HUS\") | professionals : last_name (\"Watsica\", \"O'Reilly\", \"O'Reilly\"), city (\"Jaceton\", \"West Heidi\", \"Kirastad\"), state (\"Mississippi\", \"Montana\", \"Wyoming\"), cell_number (\"499-434-0215x1628\", \"1-185-137-1945x409\", \"1-181-670-9466\"), zip_code (\"77129\", \"41215\", \"17902\"), professional_id (5, 12, 11), role_code (\"Employee\", \"Veterenarian\"), street (\"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\"), home_phone (\"+02(1)0259033559\", \"022.529.0550x1319\", \"(920)304-4499x59146\"), email_address (\"west.eula@example.net\", \"delphine29@example.com\", \"west.eula@example.net\"), first_name (\"Winfield\", \"Taryn\", \"Domenica\") | treatments : dog_id (15, 7, 10), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (428, 429, 514), treatment_id (1, 5, 14), date_of_treatment (\"2018-03-24 22:25:58\", \"2018-03-08 05:26:23\", \"2018-03-16 10:27:36\"), professional_id (8, 8, 14)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_type , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : cell_number 271-6744x4507\", \"633.455.3045x85484\", \"768-5439x484\", city , home_phone 747-5094x8134\", \"318-052-6573\", \"066.264.7885\", zip_code , first_name , last_name , state , email_address , street , owner_id | dogs : size_code , date_departed , date_of_birth , owner_id , dog_id , age , weight , date_arrived , date_adopted , appellation , abandoned_yn , gender , moniker , breed_code | professionals : last_name , city , state , cell_number , zip_code , professional_id , role_code , street , home_phone 0259033559\", \"022.529.0550x1319\", \"304-4499x59146\", email_address , first_name | treatments : dog_id , treatment_type_code , cost_of_treatment , treatment_id , date_of_treatment , professional_id", "extra_map": { "dogs": { "name": [ "appellation", "moniker" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "appellation", "moniker" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner's first name": "Owners.first_name", "dogs's name": "Dogs.name" } }, { "question": "what are each #owner's first name# and their #dogs's name# ?", "db_id": "dog_kennels", "orig_query": "select t1.first_name, t2.name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : email_address (\"christy49@example.org\", \"zboncak.madonna@example.net\", \"kturner@example.net\"), forename (\"Rolando\", \"Tre\", \"Tre\"), street (\"6950 Katherine Forges Apt. 630\", \"2635 Caitlyn Plains\", \"68118 Daniel Row\"), city (\"Port Reannamouth\", \"Lake Carleyborough\", \"Beerton\"), last_name (\"Hauck\", \"DuBuque\", \"Fisher\"), state (\"Wisconsin\", \"Wisconsin\", \"Washington\"), owner_id (4, 14, 3), cell_number (\"633.455.3045x85484\", \"481-483-9083x37986\", \"1-739-421-2225x38148\"), zip_code (\"86010\", \"11990\", \"86010\"), given_name (\"Rolando\", \"Tre\", \"Tre\"), home_phone (\"085.557.0379x84348\", \"(094)747-5094x8134\", \"01802479758\") | dogs : date_arrived (\"2017-12-29 23:24:13\", \"2017-12-29 06:08:26\", \"2017-04-15 09:25:31\"), age (\"6\", \"1\", \"4\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (9, 3, 3), owner_id (5, 1, 2), date_adopted (\"2018-03-18 07:47:40\", \"2018-03-23 16:02:04\", \"2018-03-25 08:12:51\"), abandoned_yn (\"1\", \"0\"), gender (\"1\", \"0\"), weight (\"4.36\", \"9.8\", \"2.18\"), date_departed (\"2018-03-25 04:50:22\", \"2018-03-25 13:07:04\", \"2018-03-25 04:50:22\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), name (\"Kacey\", \"Narciso\", \"Kacey\"), date_of_birth (\"2012-10-14 14:44:37\", \"2018-03-17 04:05:12\", \"2017-09-19 05:39:09\") | professionals : street (\"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \"), state (\"Utah\", \"Mississippi\", \"NorthCarolina\"), last_name (\"Walter\", \"Braun\", \"O'Reilly\"), role_code (\"Employee\", \"Veterenarian\"), city (\"Juddton\", \"Raynorfort\", \"Raynorfort\"), first_name (\"Vernice\", \"Velva\", \"Domenica\"), email_address (\"lourdes.lowe@example.net\", \"lucile.shanahan@example.org\", \"marquardt.furman@example.org\"), cell_number (\"880-659-7577x736\", \"328.842.3792\", \"00230569697\"), professional_id (11, 12, 15), zip_code (\"34041\", \"52476\", \"33020\"), home_phone (\"1-609-566-2752x25197\", \"+71(6)2898266914\", \"971.048.3763x9404\") | treatments : cost_of_treatment (147, 945, 656), professional_id (4, 8, 6), date_of_treatment (\"2018-03-01 04:14:46\", \"2018-03-11 04:23:15\", \"2018-03-15 19:10:02\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (9, 5, 11), dog_id (14, 7, 14)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : email_address , forename , street , city , last_name , state , owner_id , cell_number , zip_code , given_name , home_phone 747-5094x8134\", \"01802479758\" | dogs : date_arrived , age , size_code , dog_id , owner_id , date_adopted , abandoned_yn , gender , weight , date_departed , breed_code , name , date_of_birth | professionals : street , state , last_name , role_code , city , first_name , email_address , cell_number , professional_id , zip_code , home_phone 2898266914\", \"971.048.3763x9404\" | treatments : cost_of_treatment , professional_id , date_of_treatment , treatment_type_code , treatment_id , dog_id", "extra_map": { "owners": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "given_name", "forename" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owner's first name": "Owners.first_name", "dogs's name": "Dogs.name" } }, { "question": "list the #names of the dogs# of the rarest #breed# and the #treatment dates# of them.", "db_id": "dog_kennels", "orig_query": "select t1.name, t2.date_of_treatment from dogs as t1 join treatments as t2 on t1.dog_id = t2.dog_id where t1.breed_code = (select breed_code from dogs group by breed_code order by count(*) asc limit 1)", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : city (\"Port Zackery\", \"Lake Carleyborough\", \"Lake Carleyborough\"), cell_number (\"481-483-9083x37986\", \"739-136-7202\", \"478.978.0729\"), last_name (\"Ondricka\", \"Hauck\", \"Price\"), owner_id (9, 1, 8), home_phone (\"363.948.1090\", \"(094)747-5094x8134\", \"916.976.9480x13851\"), first_name (\"Orlando\", \"Adelle\", \"Emelie\"), state (\"Arkansas\", \"NewYork\", \"Pennsylvania\"), street (\"1858 Jan Park\", \"0647 Hintz Village Apt. 024\", \"60352 Kayleigh Crossing Suite 700\"), email_address (\"angeline99@example.com\", \"hudson.favian@example.com\", \"zboncak.madonna@example.net\"), zip_code (\"61019\", \"11990\", \"86010\") | dogs : breed_code (\"ESK\", \"BUL\", \"HUS\"), gender (\"1\", \"0\"), date_adopted (\"2018-02-27 11:54:35\", \"2018-03-07 21:45:43\", \"2018-03-18 15:12:50\"), date_of_birth (\"2012-10-14 14:44:37\", \"2012-10-14 14:44:37\", \"2012-07-11 17:15:10\"), date_arrived (\"2017-10-16 20:06:21\", \"2017-10-16 20:06:21\", \"2018-01-02 03:15:29\"), moniker (\"Narciso\", \"Houston\", \"George\"), date_departed (\"2018-03-25 02:11:32\", \"2018-03-25 13:07:04\", \"2018-03-25 06:29:10\"), abandoned_yn (\"1\", \"0\"), age (\"3\", \"4\", \"2\"), weight (\"4.36\", \"2.18\", \"2.18\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (9, 9, 12), appellation (\"Narciso\", \"Houston\", \"George\"), owner_id (14, 14, 1) | professionals : street (\"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\"), first_name (\"Sigurd\", \"Jayson\", \"Vernice\"), role_code (\"Employee\", \"Veterenarian\"), cell_number (\"1-258-285-4707x8020\", \"(369)908-7311x065\", \"609-405-2990\"), email_address (\"west.eula@example.net\", \"delphine29@example.com\", \"marquardt.furman@example.org\"), home_phone (\"+71(6)2898266914\", \"(230)338-3342x585\", \"246-951-0080x76716\"), professional_id (10, 15, 15), state (\"Hawaii\", \"Montana\", \"California\"), last_name (\"Braun\", \"Christiansen\", \"Hayes\"), city (\"Domenickton\", \"Raynorfort\", \"East Ila\"), zip_code (\"41215\", \"02281\", \"80775\") | treatments : cost_of_treatment (429, 668, 656), date_of_treatment (\"2018-03-11 04:23:15\", \"2018-03-04 20:33:43\", \"2018-03-01 04:14:46\"), dog_id (13, 13, 12), professional_id (5, 10, 5), treatment_id (14, 13, 7), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_amount , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : city , cell_number , last_name , owner_id , home_phone 747-5094x8134\", \"916.976.9480x13851\", first_name , state , street , email_address , zip_code | dogs : breed_code , gender , date_adopted , date_of_birth , date_arrived , moniker , date_departed , abandoned_yn , age , weight , size_code , dog_id , appellation , owner_id | professionals : street , first_name , role_code , cell_number 908-7311x065\", \"609-405-2990\", email_address , home_phone 2898266914\", \"338-3342x585\", \"246-951-0080x76716\", professional_id , state , last_name , city , zip_code | treatments : cost_of_treatment , date_of_treatment , dog_id , professional_id , treatment_id , treatment_type_code", "extra_map": { "dogs": { "name": [ "appellation", "moniker" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "appellation", "moniker" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "names of the dogs": "Dogs.name", "breed": "Dogs.breed_code", "treatment dates": "Treatments.date_of_treatment" } }, { "question": "list the #names of the dogs# of the rarest #breed# and the #treatment dates# of them.", "db_id": "dog_kennels", "orig_query": "select t1.name, t2.date_of_treatment from dogs as t1 join treatments as t2 on t1.dog_id = t2.dog_id where t1.breed_code = (select breed_code from dogs group by breed_code order by count(*) asc limit 1)", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : street (\"692 Jaskolski Forges\", \"68118 Daniel Row\", \"89011 Kertzmann Spring Suite 642\"), first_name (\"Tre\", \"Rachelle\", \"Tre\"), state (\"Wisconsin\", \"Indiana\", \"NewYork\"), last_name (\"Hauck\", \"Hamill\", \"DuBuque\"), email_address (\"margaretta.runte@example.net\", \"pearlie18@example.com\", \"ymaggio@example.com\"), home_phone (\"(094)747-5094x8134\", \"318-052-6573\", \"1-682-845-0116x63235\"), zip_code (\"92406\", \"61019\", \"87304\"), cell_number (\"+70(4)9217952551\", \"762.589.6117x1328\", \"762.589.6117x1328\"), city (\"Beerton\", \"West Leonard\", \"South Afton\"), owner_id (14, 6, 13) | dogs : breed_code (\"ESK\", \"BUL\", \"HUS\"), age (\"4\", \"3\", \"5\"), weight (\"1.72\", \"8.16\", \"9.8\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (9, 1, 15), date_of_birth (\"2008-10-09 22:38:53\", \"2010-11-11 07:11:53\", \"2018-03-17 04:05:12\"), gender (\"1\", \"0\"), date_departed (\"2018-03-24 19:36:59\", \"2018-03-25 04:50:22\", \"2018-03-25 02:47:40\"), owner_id (13, 7, 14), date_arrived (\"2017-09-08 20:10:13\", \"2018-01-02 03:15:29\", \"2017-10-25 00:55:34\"), name (\"Troy\", \"George\", \"Bessie\"), date_adopted (\"2018-03-25 08:12:51\", \"2018-03-10 15:06:43\", \"2018-03-13 12:47:15\"), abandoned_yn (\"1\", \"0\") | professionals : cell_number (\"328.842.3792\", \"328.842.3792\", \"011.193.9081x3186\"), last_name (\"Braun\", \"Kshlerin\", \"Frami\"), zip_code (\"54312\", \"07412\", \"02281\"), professional_id (4, 6, 12), email_address (\"west.eula@example.net\", \"delphine29@example.com\", \"cole.margarita@example.org\"), street (\"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\"), home_phone (\"022.529.0550x1319\", \"320-508-6023\", \"+43(5)1132733868\"), first_name (\"Lesly\", \"Monte\", \"Vernice\"), role_code (\"Employee\", \"Veterenarian\"), state (\"Indiana\", \"California\", \"Montana\"), city (\"North Adelberttown\", \"New Laurytown\", \"Juddton\") | treatments : treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), healing_date (\"2018-03-16 10:27:36\", \"2018-03-16 10:27:36\", \"2018-03-14 19:10:40\"), dog_id (7, 15, 14), professional_id (6, 9, 6), cost_of_treatment (852, 313, 349), treatment_date (\"2018-03-16 10:27:36\", \"2018-03-16 10:27:36\", \"2018-03-14 19:10:40\"), treatment_id (9, 10, 2)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_type , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : street , first_name , state , last_name , email_address , home_phone 747-5094x8134\", \"318-052-6573\", \"1-682-845-0116x63235\", zip_code , cell_number 9217952551\", \"762.589.6117x1328\", \"762.589.6117x1328\", city , owner_id | dogs : breed_code , age , weight , size_code , dog_id , date_of_birth , gender , date_departed , owner_id , date_arrived , name , date_adopted , abandoned_yn | professionals : cell_number , last_name , zip_code , professional_id , email_address , street , home_phone 1132733868\", first_name , role_code , state , city | treatments : treatment_type_code , healing_date , dog_id , professional_id , cost_of_treatment , treatment_date , treatment_id", "extra_map": { "treatments": { "date_of_treatment": [ "treatment_date", "healing_date" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "cost_of_treatment", "treatment_date", "healing_date" ] }, "column_linking_gt": { "names of the dogs": "Dogs.name", "breed": "Dogs.breed_code", "treatment dates": "Treatments.date_of_treatment" } }, { "question": "which #dogs# are of the rarest #breed# ? show their #names# and #treatment dates# .", "db_id": "dog_kennels", "orig_query": "select t1.name, t2.date_of_treatment from dogs as t1 join treatments as t2 on t1.dog_id = t2.dog_id where t1.breed_code = (select breed_code from dogs group by breed_code order by count(*) asc limit 1)", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : first_name (\"Rachelle\", \"Adelle\", \"Lorenz\"), email_address (\"angeline99@example.com\", \"lynn81@example.org\", \"margaretta.runte@example.net\"), last_name (\"Hauck\", \"DuBuque\", \"Haley\"), street (\"57382 Yost Ridges\", \"2417 Keara Stravenue Apt. 146\", \"15828 Spencer Extensions\"), cell_number (\"(722)768-5439x484\", \"633.455.3045x85484\", \"739-136-7202\"), owner_id (3, 1, 11), home_phone (\"1-332-849-1908\", \"066.264.7885\", \"(094)747-5094x8134\"), state (\"SouthDakota\", \"Pennsylvania\", \"Washington\"), city (\"Lake Tia\", \"Lake Carleyborough\", \"East Hillardberg\"), zip_code (\"36871\", \"22693\", \"45244\") | dogs : age (\"9\", \"1\", \"2\"), owner_id (6, 5, 5), date_arrived (\"2017-04-20 00:58:55\", \"2017-05-06 08:03:52\", \"2017-06-18 19:45:38\"), dog_id (9, 1, 2), date_departed (\"2018-03-25 14:15:41\", \"2018-03-25 13:07:04\", \"2018-03-25 04:50:22\"), appellation (\"Jeffrey\", \"Lyric\", \"Mavis\"), date_of_birth (\"2013-02-13 05:15:21\", \"2018-03-17 04:05:12\", \"2012-10-14 14:44:37\"), moniker (\"Jeffrey\", \"Lyric\", \"Mavis\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), weight (\"1.39\", \"4.01\", \"9.48\"), date_adopted (\"2018-03-25 08:12:51\", \"2018-03-18 15:12:50\", \"2018-03-05 06:05:23\"), abandoned_yn (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), gender (\"1\", \"0\") | professionals : city (\"Domenickton\", \"Kirastad\", \"New Laurytown\"), professional_id (12, 13, 11), home_phone (\"246-951-0080x76716\", \"312.216.3352\", \"+71(6)2898266914\"), state (\"NorthCarolina\", \"Wyoming\", \"Utah\"), email_address (\"west.eula@example.net\", \"lambert62@example.org\", \"schneider.kathryne@example.org\"), zip_code (\"67980\", \"54312\", \"80775\"), first_name (\"Domenica\", \"Velva\", \"Sigurd\"), last_name (\"Hayes\", \"Pouros\", \"Hayes\"), street (\"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \"), role_code (\"Employee\", \"Veterenarian\"), cell_number (\"1-181-670-9466\", \"(275)939-2435x80863\", \"499-434-0215x1628\") | treatments : dog_id (13, 15, 15), date_of_treatment (\"2018-03-15 20:25:34\", \"2018-02-26 09:08:53\", \"2018-03-01 04:14:46\"), treatment_id (3, 1, 14), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (8, 10, 9), cost_of_treatment (349, 429, 681)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : first_name , email_address , last_name , street , cell_number 768-5439x484\", \"633.455.3045x85484\", \"739-136-7202\", owner_id , home_phone 747-5094x8134\", state , city , zip_code | dogs : age , owner_id , date_arrived , dog_id , date_departed , appellation , date_of_birth , moniker , breed_code , weight , date_adopted , abandoned_yn , size_code , gender | professionals : city , professional_id , home_phone 2898266914\", state , email_address , zip_code , first_name , last_name , street , role_code , cell_number 939-2435x80863\", \"499-434-0215x1628\" | treatments : dog_id , date_of_treatment , treatment_id , treatment_type_code , professional_id , cost_of_treatment", "extra_map": { "dogs": { "name": [ "appellation", "moniker" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "appellation", "moniker" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "dogs": "Dogs", "breed": "Dogs.breed_code", "names": "Dogs.name", "treatment dates": "Treatments.date_of_treatment" } }, { "question": "which #dogs# are of the rarest #breed# ? show their #names# and #treatment dates# .", "db_id": "dog_kennels", "orig_query": "select t1.name, t2.date_of_treatment from dogs as t1 join treatments as t2 on t1.dog_id = t2.dog_id where t1.breed_code = (select breed_code from dogs group by breed_code order by count(*) asc limit 1)", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : owner_id (1, 3, 15), first_name (\"Tre\", \"Emelie\", \"Jaclyn\"), last_name (\"Feil\", \"Mertz\", \"Rippin\"), street (\"0647 Hintz Village Apt. 024\", \"6950 Katherine Forges Apt. 630\", \"59509 Mellie Mountain\"), home_phone (\"363.948.1090\", \"1-346-655-5842x768\", \"01802479758\"), city (\"Barrettburgh\", \"New Margaretteborough\", \"East Hillardberg\"), email_address (\"pearlie18@example.com\", \"kturner@example.net\", \"angeline99@example.com\"), state (\"Vermont\", \"Wisconsin\", \"Mississippi\"), zip_code (\"36871\", \"86010\", \"45244\"), cell_number (\"(257)399-3116\", \"1-626-264-7659x1697\", \"739-136-7202\") | dogs : breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\"), weight (\"8.95\", \"8.96\", \"7.57\"), gender (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), date_of_birth (\"2013-02-13 05:15:21\", \"2012-07-11 17:15:10\", \"2010-11-11 07:11:53\"), dog_id (4, 1, 11), date_adopted (\"2018-03-05 06:05:23\", \"2018-03-21 10:41:18\", \"2018-02-27 11:54:35\"), name (\"Lyric\", \"Mavis\", \"Lyric\"), date_arrived (\"2017-12-22 05:02:02\", \"2017-10-25 00:55:34\", \"2017-12-22 05:02:02\"), date_departed (\"2018-03-25 05:07:47\", \"2018-03-24 19:36:59\", \"2018-03-25 02:11:32\"), age (\"5\", \"2\", \"2\"), owner_id (5, 5, 11) | professionals : first_name (\"Lesly\", \"Brady\", \"Winfield\"), street (\"68589 Bradly Manor\nNew Audrey, IN 91497\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\"), role_code (\"Employee\", \"Veterenarian\"), last_name (\"Braun\", \"Watsica\", \"Hayes\"), zip_code (\"52476\", \"02281\", \"84515\"), cell_number (\"1-258-285-4707x8020\", \"461-801-2600\", \"609-405-2990\"), professional_id (3, 4, 4), city (\"New Maryjane\", \"Domenickton\", \"Juddton\"), home_phone (\"891.475.2256\", \"325-155-0801x7005\", \"312.216.3352\"), state (\"NewMexico\", \"Utah\", \"SouthCarolina\"), email_address (\"schneider.kathryne@example.org\", \"jerrod.bahringer@example.org\", \"uboehm@example.org\") | treatments : cost_of_treatment (428, 656, 945), dog_id (13, 15, 14), treatment_id (9, 13, 10), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_date (\"2018-02-28 17:09:43\", \"2018-03-13 12:22:58\", \"2018-03-15 20:25:34\"), professional_id (9, 6, 5), healing_date (\"2018-02-28 17:09:43\", \"2018-03-13 12:22:58\", \"2018-03-15 20:25:34\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_amount , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : owner_id , first_name , last_name , street , home_phone , city , email_address , state , zip_code , cell_number 399-3116\", \"1-626-264-7659x1697\", \"739-136-7202\" | dogs : breed_code , abandoned_yn , weight , gender , size_code , date_of_birth , dog_id , date_adopted , name , date_arrived , date_departed , age , owner_id | professionals : first_name , street , role_code , last_name , zip_code , cell_number , professional_id , city , home_phone , state , email_address | treatments : cost_of_treatment , dog_id , treatment_id , treatment_type_code , treatment_date , professional_id , healing_date", "extra_map": { "treatments": { "date_of_treatment": [ "treatment_date", "healing_date" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "cost_of_treatment", "treatment_date", "healing_date" ] }, "column_linking_gt": { "dogs": "Dogs", "breed": "Dogs.breed_code", "names": "Dogs.name", "treatment dates": "Treatments.date_of_treatment" } }, { "question": "which dogs are owned by someone who #lives in virginia# ? list the #owner's first name# and the #dog's name# .", "db_id": "dog_kennels", "orig_query": "select t1.first_name, t2.name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id where t1.state = 'Virginia'", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : city (\"Brakusfurt\", \"South Daisyfurt\", \"East Maribelbury\"), street (\"89011 Kertzmann Spring Suite 642\", \"9212 Rosenbaum Lights\", \"2635 Caitlyn Plains\"), owner_id (14, 5, 13), last_name (\"Hamill\", \"Mertz\", \"Nicolas\"), zip_code (\"45244\", \"22731\", \"22693\"), state (\"Mississippi\", \"SouthDakota\", \"Virginia\"), home_phone (\"893-862-5295x61709\", \"01802479758\", \"1-332-849-1908\"), cell_number (\"+00(2)4323592985\", \"1-626-264-7659x1697\", \"739-136-7202\"), email_address (\"edythe62@example.org\", \"zboncak.madonna@example.net\", \"lynn81@example.org\"), first_name (\"Tre\", \"Nora\", \"Tre\") | dogs : date_departed (\"2018-03-25 14:15:41\", \"2018-03-24 19:12:22\", \"2018-03-25 04:50:22\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (13, 11, 15), abandoned_yn (\"1\", \"0\"), appellation (\"George\", \"Narciso\", \"Jesus\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), age (\"4\", \"1\", \"9\"), date_arrived (\"2017-10-25 00:55:34\", \"2017-04-15 09:25:31\", \"2017-05-06 08:03:52\"), weight (\"7.57\", \"8.95\", \"1.39\"), date_of_birth (\"2015-02-26 21:31:22\", \"2012-10-14 14:44:37\", \"2008-05-30 12:51:34\"), date_adopted (\"2018-03-06 16:32:11\", \"2018-03-08 15:03:00\", \"2018-03-05 06:05:23\"), moniker (\"George\", \"Narciso\", \"Jesus\"), gender (\"1\", \"0\"), owner_id (3, 14, 6) | professionals : zip_code (\"84515\", \"02281\", \"43129\"), role_code (\"Employee\", \"Veterenarian\"), street (\"68589 Bradly Manor\nNew Audrey, IN 91497\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\"), cell_number (\"(275)939-2435x80863\", \"609-405-2990\", \"328.842.3792\"), last_name (\"Kshlerin\", \"O'Reilly\", \"Tillman\"), professional_id (15, 8, 1), email_address (\"lourdes.lowe@example.net\", \"mekhi.little@example.org\", \"lucile.shanahan@example.org\"), state (\"Indiana\", \"NewMexico\", \"NewMexico\"), city (\"South Rockyport\", \"New Laurytown\", \"South Rockyport\"), first_name (\"Taryn\", \"Domenica\", \"Domenica\"), home_phone (\"312.216.3352\", \"320-508-6023\", \"+71(6)2898266914\") | treatments : date_of_treatment (\"2018-03-16 10:27:36\", \"2018-03-16 10:27:36\", \"2018-03-24 22:25:58\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (5, 15, 11), cost_of_treatment (266, 656, 945), professional_id (9, 14, 9), dog_id (4, 4, 13)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : city , street , owner_id , last_name , zip_code , state , home_phone , cell_number 4323592985\", \"1-626-264-7659x1697\", \"739-136-7202\", email_address , first_name | dogs : date_departed , size_code , dog_id , abandoned_yn , appellation , breed_code , age , date_arrived , weight , date_of_birth , date_adopted , moniker , gender , owner_id | professionals : zip_code , role_code , street , cell_number 939-2435x80863\", \"609-405-2990\", \"328.842.3792\", last_name , professional_id , email_address , state , city , first_name , home_phone 2898266914\" | treatments : date_of_treatment , treatment_type_code , treatment_id , cost_of_treatment , professional_id , dog_id", "extra_map": { "dogs": { "name": [ "appellation", "moniker" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "appellation", "moniker" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "lives in Virginia": "Owners.state", "owner's first name": "Owners.first_name", "dog's name": "Dogs.name" } }, { "question": "which dogs are owned by someone who #lives in virginia# ? list the #owner's first name# and the #dog's name# .", "db_id": "dog_kennels", "orig_query": "select t1.first_name, t2.name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id where t1.state = 'Virginia'", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : city (\"South Afton\", \"South Daisyfurt\", \"South Daisyfurt\"), cell_number (\"+00(2)4323592985\", \"739-136-7202\", \"121.381.3316x6535\"), given_name (\"Adelle\", \"Cindy\", \"Jaclyn\"), owner_id (6, 9, 9), state (\"SouthDakota\", \"Vermont\", \"Florida\"), email_address (\"margaretta.runte@example.net\", \"edythe62@example.org\", \"angeline99@example.com\"), home_phone (\"1-682-845-0116x63235\", \"318-052-6573\", \"01802479758\"), zip_code (\"87304\", \"22693\", \"86010\"), forename (\"Adelle\", \"Cindy\", \"Jaclyn\"), street (\"59509 Mellie Mountain\", \"51934 Treutel Harbor\", \"59509 Mellie Mountain\"), last_name (\"DuBuque\", \"Funk\", \"Haley\") | dogs : date_of_birth (\"2018-03-17 04:05:12\", \"2012-05-03 21:42:25\", \"2010-11-11 07:11:53\"), age (\"3\", \"2\", \"8\"), abandoned_yn (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), owner_id (8, 11, 2), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), dog_id (2, 8, 5), date_arrived (\"2017-10-25 00:55:34\", \"2017-06-18 19:45:38\", \"2017-07-25 15:19:07\"), date_adopted (\"2018-03-06 16:32:11\", \"2018-02-27 00:27:57\", \"2018-02-25 23:45:30\"), weight (\"9.48\", \"8.95\", \"8.95\"), name (\"Hipolito\", \"Holden\", \"Merritt\"), date_departed (\"2018-03-24 19:36:59\", \"2018-03-24 23:48:59\", \"2018-03-24 23:48:59\") | professionals : zip_code (\"02281\", \"06646\", \"02281\"), role_code (\"Employee\", \"Veterenarian\"), professional_id (5, 7, 7), street (\"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\"), city (\"Raynorfort\", \"North Odellfurt\", \"Juddton\"), email_address (\"deanna.schuster@example.com\", \"mekhi.little@example.org\", \"west.eula@example.net\"), last_name (\"Walter\", \"Christiansen\", \"Christiansen\"), first_name (\"Ericka\", \"Jayson\", \"Sigurd\"), state (\"Hawaii\", \"Indiana\", \"Wisconsin\"), home_phone (\"312.216.3352\", \"1-138-287-3775\", \"325-155-0801x7005\"), cell_number (\"139-321-7313\", \"(275)939-2435x80863\", \"00230569697\") | treatments : date_of_treatment (\"2018-03-01 04:14:46\", \"2018-03-13 12:22:58\", \"2018-03-15 19:10:02\"), dog_id (10, 12, 2), professional_id (8, 5, 9), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (2, 11, 2), cost_of_treatment (514, 656, 429)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_amount , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : city , cell_number 4323592985\", \"739-136-7202\", \"121.381.3316x6535\", given_name , owner_id , state , email_address , home_phone , zip_code , forename , street , last_name | dogs : date_of_birth , age , abandoned_yn , size_code , owner_id , gender , breed_code , dog_id , date_arrived , date_adopted , weight , name , date_departed | professionals : zip_code , role_code , professional_id , street , city , email_address , last_name , first_name , state , home_phone , cell_number 939-2435x80863\", \"00230569697\" | treatments : date_of_treatment , dog_id , professional_id , treatment_type_code , treatment_id , cost_of_treatment", "extra_map": { "owners": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "given_name", "forename" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "lives in Virginia": "Owners.state", "owner's first name": "Owners.first_name", "dog's name": "Dogs.name" } }, { "question": "find the #first names of owners# living in #virginia# and the #names of dogs# they own.", "db_id": "dog_kennels", "orig_query": "select t1.first_name, t2.name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id where t1.state = 'Virginia'", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : first_name (\"Rachelle\", \"Nora\", \"Cindy\"), home_phone (\"893-862-5295x61709\", \"066.264.7885\", \"(094)747-5094x8134\"), last_name (\"Rippin\", \"Mertz\", \"Prohaska\"), state (\"Mississippi\", \"Washington\", \"Arizona\"), email_address (\"lynn81@example.org\", \"zboncak.madonna@example.net\", \"edythe62@example.org\"), owner_id (10, 7, 5), zip_code (\"93165\", \"22693\", \"22731\"), city (\"South Afton\", \"Port Reannamouth\", \"West Leonard\"), cell_number (\"+00(2)4323592985\", \"633.455.3045x85484\", \"478.978.0729\"), street (\"6950 Katherine Forges Apt. 630\", \"1204 Mae Highway Apt. 107\", \"68118 Daniel Row\") | dogs : date_departed (\"2018-03-25 06:46:07\", \"2018-03-25 15:05:16\", \"2018-03-25 04:42:14\"), appellation (\"Kacey\", \"Jesus\", \"George\"), size_code (\"LGE\", \"MED\", \"SML\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_adopted (\"2018-03-18 15:12:50\", \"2018-02-27 00:27:57\", \"2018-03-05 06:05:23\"), owner_id (11, 12, 5), dog_id (10, 13, 14), date_of_birth (\"2013-02-13 05:15:21\", \"2012-05-31 08:01:36\", \"2012-07-11 17:15:10\"), moniker (\"Kacey\", \"Jesus\", \"George\"), date_arrived (\"2017-12-22 05:02:02\", \"2017-04-15 09:25:31\", \"2017-07-25 15:19:07\"), age (\"8\", \"4\", \"4\"), weight (\"7.57\", \"8.96\", \"3.52\"), abandoned_yn (\"1\", \"0\"), gender (\"1\", \"0\") | professionals : street (\"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"92912 Langworth Valleys Apt. 743\nThompsonborough, \"), professional_id (3, 9, 13), zip_code (\"34041\", \"98844\", \"06646\"), email_address (\"mekhi.little@example.org\", \"jerrod.bahringer@example.org\", \"deanna.schuster@example.com\"), city (\"West Heidi\", \"Kirastad\", \"Jaceton\"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Taryn\", \"Monte\", \"Olaf\"), home_phone (\"(920)304-4499x59146\", \"1-138-287-3775\", \"246-951-0080x76716\"), last_name (\"Watsica\", \"Pouros\", \"Christiansen\"), state (\"NewMexico\", \"Montana\", \"California\"), cell_number (\"461-801-2600\", \"889-940-2676\", \"(275)939-2435x80863\") | treatments : professional_id (4, 9, 9), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (2, 15, 15), dog_id (1, 2, 10), date_of_treatment (\"2018-03-01 04:14:46\", \"2018-02-26 09:08:53\", \"2018-02-28 17:09:43\"), cost_of_treatment (147, 945, 668)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : first_name , home_phone 747-5094x8134\", last_name , state , email_address , owner_id , zip_code , city , cell_number 4323592985\", \"633.455.3045x85484\", \"478.978.0729\", street | dogs : date_departed , appellation , size_code , breed_code , date_adopted , owner_id , dog_id , date_of_birth , moniker , date_arrived , age , weight , abandoned_yn , gender | professionals : street , professional_id , zip_code , email_address , city , role_code , first_name , home_phone 304-4499x59146\", \"1-138-287-3775\", \"246-951-0080x76716\", last_name , state , cell_number 939-2435x80863\" | treatments : professional_id , treatment_type_code , treatment_id , dog_id , date_of_treatment , cost_of_treatment", "extra_map": { "dogs": { "name": [ "appellation", "moniker" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "appellation", "moniker" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "first names of owners": "Owners.first_name", "Virginia": "Owners.state", "names of dogs": "Dogs.name" } }, { "question": "find the #first names of owners# living in #virginia# and the #names of dogs# they own.", "db_id": "dog_kennels", "orig_query": "select t1.first_name, t2.name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id where t1.state = 'Virginia'", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : cell_number (\"(783)271-6744x4507\", \"559.874.3011x989\", \"121.381.3316x6535\"), city (\"Brakusfurt\", \"East Hillardberg\", \"Lake Valentin\"), email_address (\"christy49@example.org\", \"angeline99@example.com\", \"ykris@example.com\"), street (\"15828 Spencer Extensions\", \"89011 Kertzmann Spring Suite 642\", \"57382 Yost Ridges\"), last_name (\"Rippin\", \"Fisher\", \"Nicolas\"), zip_code (\"86010\", \"11990\", \"93165\"), home_phone (\"893-862-5295x61709\", \"1-682-845-0116x63235\", \"01802479758\"), forename (\"Cindy\", \"Jaclyn\", \"Tre\"), owner_id (10, 3, 3), state (\"Washington\", \"Indiana\", \"Virginia\"), given_name (\"Cindy\", \"Jaclyn\", \"Tre\") | dogs : abandoned_yn (\"1\", \"0\"), date_arrived (\"2017-12-29 23:24:13\", \"2017-12-29 23:24:13\", \"2017-06-18 19:45:38\"), gender (\"1\", \"0\"), date_adopted (\"2018-03-14 08:05:18\", \"2018-02-27 11:54:35\", \"2018-03-10 15:06:43\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), weight (\"9.48\", \"1.72\", \"8.04\"), owner_id (2, 1, 14), size_code (\"LGE\", \"MED\", \"SML\"), date_of_birth (\"2012-01-27 05:11:53\", \"2012-10-14 14:44:37\", \"2008-05-19 15:54:49\"), name (\"Holden\", \"Troy\", \"Betty\"), date_departed (\"2018-03-24 19:36:59\", \"2018-03-24 19:12:22\", \"2018-03-24 19:36:59\"), age (\"2\", \"4\", \"8\"), dog_id (3, 14, 7) | professionals : cell_number (\"1-185-137-1945x409\", \"962-983-8109x3509\", \"(275)939-2435x80863\"), street (\"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\"), home_phone (\"+02(1)0259033559\", \"+02(1)0259033559\", \"1-138-287-3775\"), zip_code (\"07412\", \"41215\", \"98844\"), role_code (\"Employee\", \"Veterenarian\"), last_name (\"Ullrich\", \"Considine\", \"Hyatt\"), first_name (\"Lesly\", \"Vernice\", \"Olaf\"), email_address (\"lucile.shanahan@example.org\", \"cole.margarita@example.org\", \"schneider.kathryne@example.org\"), city (\"New Maryjane\", \"Baileymouth\", \"West Heidi\"), professional_id (13, 15, 6), state (\"NorthCarolina\", \"Mississippi\", \"Indiana\") | treatments : treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-23 13:52:10\", \"2018-03-04 20:33:43\", \"2018-03-15 20:25:34\"), cost_of_treatment (852, 407, 852), dog_id (7, 7, 4), professional_id (9, 10, 9), treatment_id (9, 15, 13)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : cell_number 271-6744x4507\", \"559.874.3011x989\", \"121.381.3316x6535\", city , email_address , street , last_name , zip_code , home_phone , forename , owner_id , state , given_name | dogs : abandoned_yn , date_arrived , gender , date_adopted , breed_code , weight , owner_id , size_code , date_of_birth , name , date_departed , age , dog_id | professionals : cell_number 939-2435x80863\", street , home_phone 0259033559\", \"+020259033559\", \"1-138-287-3775\", zip_code , role_code , last_name , first_name , email_address , city , professional_id , state | treatments : treatment_type_code , date_of_treatment , cost_of_treatment , dog_id , professional_id , treatment_id", "extra_map": { "owners": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "given_name", "forename" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "first names of owners": "Owners.first_name", "Virginia": "Owners.state", "names of dogs": "Dogs.name" } }, { "question": "what are the #arriving date# and the #departing date of the dogs# who have gone through a #treatment# ?", "db_id": "dog_kennels", "orig_query": "select distinct t1.date_arrived, t1.date_departed from dogs as t1 join treatments as t2 on t1.dog_id = t2.dog_id", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : cell_number (\"559.874.3011x989\", \"+00(2)4323592985\", \"1-739-421-2225x38148\"), last_name (\"Prohaska\", \"Haley\", \"Rippin\"), first_name (\"Cindy\", \"Cindy\", \"Heather\"), owner_id (5, 13, 11), street (\"2635 Caitlyn Plains\", \"0647 Hintz Village Apt. 024\", \"6950 Katherine Forges Apt. 630\"), email_address (\"ymaggio@example.com\", \"kturner@example.net\", \"ymaggio@example.com\"), state (\"Mississippi\", \"Wisconsin\", \"NorthDakota\"), zip_code (\"86010\", \"61019\", \"86010\"), city (\"New Margaretteborough\", \"East Hillardberg\", \"Lake Valentin\"), home_phone (\"130-796-4589x05454\", \"916.976.9480x13851\", \"(094)747-5094x8134\") | dogs : abandoned_yn (\"1\", \"0\"), weight (\"8.95\", \"5.16\", \"1.72\"), date_of_birth (\"2012-05-31 08:01:36\", \"2017-09-19 05:39:09\", \"2013-02-13 05:15:21\"), date_adopted (\"2018-02-27 00:27:57\", \"2018-03-07 21:45:43\", \"2018-03-13 12:47:15\"), entry_date (\"2017-10-25 00:55:34\", \"2017-07-25 15:19:07\", \"2017-12-29 06:08:26\"), name (\"Houston\", \"Hipolito\", \"Lyric\"), gender (\"1\", \"0\"), age (\"9\", \"5\", \"8\"), owner_id (3, 2, 10), size_code (\"LGE\", \"MED\", \"SML\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_departed (\"2018-03-25 02:47:40\", \"2018-03-25 06:29:10\", \"2018-03-25 14:15:41\"), arrival_date (\"2017-10-25 00:55:34\", \"2017-07-25 15:19:07\", \"2017-12-29 06:08:26\"), dog_id (12, 12, 2) | professionals : state (\"Connecticut\", \"SouthCarolina\", \"California\"), last_name (\"Walter\", \"Murazik\", \"Braun\"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Jayson\", \"Lesly\", \"Ruben\"), street (\"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"17286 Waters Green\nEast Bernadinefort, CA 89573\"), zip_code (\"33020\", \"80775\", \"41215\"), cell_number (\"499-434-0215x1628\", \"461-801-2600\", \"962-983-8109x3509\"), professional_id (12, 10, 14), email_address (\"jeichmann@example.com\", \"lourdes.lowe@example.net\", \"marquardt.furman@example.org\"), home_phone (\"+02(1)0259033559\", \"246-951-0080x76716\", \"320-508-6023\"), city (\"East Ila\", \"Baileymouth\", \"New Laurytown\") | treatments : treatment_id (3, 10, 13), professional_id (5, 7, 5), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (567, 514, 266), date_of_treatment (\"2018-03-15 20:25:34\", \"2018-03-24 22:25:58\", \"2018-02-26 09:08:53\"), dog_id (7, 13, 15)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_amount , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : cell_number 4323592985\", \"1-739-421-2225x38148\", last_name , first_name , owner_id , street , email_address , state , zip_code , city , home_phone 747-5094x8134\" | dogs : abandoned_yn , weight , date_of_birth , date_adopted , entry_date , name , gender , age , owner_id , size_code , breed_code , date_departed , arrival_date , dog_id | professionals : state , last_name , role_code , first_name , street , zip_code , cell_number , professional_id , email_address , home_phone 0259033559\", \"246-951-0080x76716\", \"320-508-6023\", city | treatments : treatment_id , professional_id , treatment_type_code , cost_of_treatment , date_of_treatment , dog_id", "extra_map": { "dogs": { "date_arrived": [ "entry_date", "arrival_date" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_adopted", "date_departed", "entry_date", "arrival_date" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "arriving date": "Dogs.date_arrived", "departing date of the dogs": "Dogs.date_departed", "treatment": "Treatments" } }, { "question": "what are the #arriving date# and the #departing date of the dogs# who have gone through a #treatment# ?", "db_id": "dog_kennels", "orig_query": "select distinct t1.date_arrived, t1.date_departed from dogs as t1 join treatments as t2 on t1.dog_id = t2.dog_id", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : email_address (\"ybergstrom@example.com\", \"ykris@example.com\", \"zboncak.madonna@example.net\"), home_phone (\"01802479758\", \"1-332-849-1908\", \"(058)997-7627\"), state (\"Indiana\", \"Wisconsin\", \"Virginia\"), owner_id (2, 11, 11), street (\"89011 Kertzmann Spring Suite 642\", \"60352 Kayleigh Crossing Suite 700\", \"59509 Mellie Mountain\"), cell_number (\"(783)271-6744x4507\", \"341.667.8085\", \"478.978.0729\"), zip_code (\"22731\", \"92406\", \"00589\"), city (\"Brakusfurt\", \"Lake Jennyferfort\", \"Barrettburgh\"), first_name (\"Nora\", \"Jaclyn\", \"Adelle\"), last_name (\"Mertz\", \"Feil\", \"Price\") | dogs : gender (\"1\", \"0\"), dog_id (5, 14, 10), exit_date (\"2018-03-25 14:15:41\", \"2018-03-25 14:15:41\", \"2018-03-25 06:58:44\"), size_code (\"LGE\", \"MED\", \"SML\"), owner_id (1, 11, 12), date_arrived (\"2017-12-22 05:02:02\", \"2017-12-29 06:08:26\", \"2017-07-25 15:19:07\"), name (\"Troy\", \"Troy\", \"Jesus\"), weight (\"8.95\", \"2.18\", \"6.92\"), date_of_birth (\"2017-09-19 05:39:09\", \"2012-07-11 17:15:10\", \"2012-07-11 17:15:10\"), departure_date (\"2018-03-25 14:15:41\", \"2018-03-25 14:15:41\", \"2018-03-25 06:58:44\"), abandoned_yn (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_adopted (\"2018-03-25 08:12:51\", \"2018-03-23 16:02:04\", \"2018-03-23 16:02:04\"), age (\"6\", \"3\", \"4\") | professionals : first_name (\"Lesly\", \"Sigurd\", \"Domenica\"), last_name (\"Watsica\", \"Kshlerin\", \"Considine\"), role_code (\"Employee\", \"Veterenarian\"), street (\"68589 Bradly Manor\nNew Audrey, IN 91497\", \"68589 Bradly Manor\nNew Audrey, IN 91497\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\"), email_address (\"uboehm@example.org\", \"jeichmann@example.com\", \"delphine29@example.com\"), city (\"North Odellfurt\", \"New Laurytown\", \"McLaughlinfort\"), zip_code (\"80775\", \"17902\", \"84515\"), home_phone (\"(230)338-3342x585\", \"346.594.3739\", \"325-155-0801x7005\"), professional_id (1, 8, 5), cell_number (\"880-659-7577x736\", \"889-940-2676\", \"880-659-7577x736\"), state (\"NewMexico\", \"Alabama\", \"Utah\") | treatments : treatment_id (5, 13, 15), date_of_treatment (\"2018-03-04 20:33:43\", \"2018-03-19 04:39:54\", \"2018-03-08 05:26:23\"), dog_id (7, 12, 1), professional_id (8, 5, 6), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (567, 567, 567)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_amount , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : email_address , home_phone 997-7627\", state , owner_id , street , cell_number 271-6744x4507\", \"341.667.8085\", \"478.978.0729\", zip_code , city , first_name , last_name | dogs : gender , dog_id , exit_date , size_code , owner_id , date_arrived , name , weight , date_of_birth , departure_date , abandoned_yn , breed_code , date_adopted , age | professionals : first_name , last_name , role_code , street , email_address , city , zip_code , home_phone 338-3342x585\", \"346.594.3739\", \"325-155-0801x7005\", professional_id , cell_number , state | treatments : treatment_id , date_of_treatment , dog_id , professional_id , treatment_type_code , cost_of_treatment", "extra_map": { "dogs": { "date_departed": [ "exit_date", "departure_date" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "exit_date", "departure_date" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "arriving date": "Dogs.date_arrived", "departing date of the dogs": "Dogs.date_departed", "treatment": "Treatments" } }, { "question": "find the #arriving date# and the #departing date of the dogs that received a treatment# .", "db_id": "dog_kennels", "orig_query": "select distinct t1.date_arrived, t1.date_departed from dogs as t1 join treatments as t2 on t1.dog_id = t2.dog_id", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : first_name (\"Johann\", \"Kade\", \"Rachelle\"), home_phone (\"363.948.1090\", \"1-346-655-5842x768\", \"085.557.0379x84348\"), zip_code (\"22731\", \"45244\", \"61019\"), street (\"59509 Mellie Mountain\", \"68118 Daniel Row\", \"68118 Daniel Row\"), owner_id (3, 4, 11), email_address (\"ybergstrom@example.com\", \"pearlie18@example.com\", \"hudson.favian@example.com\"), last_name (\"DuBuque\", \"Funk\", \"DuBuque\"), cell_number (\"1-739-421-2225x38148\", \"633.455.3045x85484\", \"(783)271-6744x4507\"), city (\"Port Reannamouth\", \"Lake Jennyferfort\", \"South Daisyfurt\"), state (\"Vermont\", \"NewYork\", \"Mississippi\") | dogs : dog_id (12, 4, 13), abandoned_yn (\"1\", \"0\"), date_adopted (\"2018-03-05 06:05:23\", \"2018-03-13 12:47:15\", \"2018-03-08 15:03:00\"), gender (\"1\", \"0\"), date_of_birth (\"2008-10-09 22:38:53\", \"2017-09-19 05:39:09\", \"2010-11-11 07:11:53\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), name (\"Mavis\", \"Mavis\", \"Jeffrey\"), date_departed (\"2018-03-25 02:47:40\", \"2018-03-25 02:47:40\", \"2018-03-25 06:46:07\"), arrival_date (\"2017-12-22 05:02:02\", \"2017-12-29 23:24:13\", \"2017-04-20 00:58:55\"), owner_id (7, 10, 12), weight (\"8.96\", \"1.72\", \"2.18\"), entry_date (\"2017-12-22 05:02:02\", \"2017-12-29 23:24:13\", \"2017-04-20 00:58:55\"), size_code (\"LGE\", \"MED\", \"SML\"), age (\"5\", \"1\", \"9\") | professionals : state (\"Mississippi\", \"Wyoming\", \"Mississippi\"), street (\"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"72532 Hane Course\nLake Berylland, ND 95283\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\"), zip_code (\"07412\", \"67980\", \"80775\"), home_phone (\"1-138-287-3775\", \"022.529.0550x1319\", \"022.529.0550x1319\"), first_name (\"Domenica\", \"Domenica\", \"Olaf\"), city (\"Jaceton\", \"Baileymouth\", \"North Odellfurt\"), role_code (\"Employee\", \"Veterenarian\"), last_name (\"Pouros\", \"Watsica\", \"O'Reilly\"), professional_id (1, 1, 5), cell_number (\"609-405-2990\", \"1-181-670-9466\", \"328.842.3792\"), email_address (\"lambert62@example.org\", \"goyette.roosevelt@example.net\", \"cole.margarita@example.org\") | treatments : dog_id (4, 2, 7), treatment_id (1, 11, 2), professional_id (6, 10, 6), date_of_treatment (\"2018-02-28 17:09:43\", \"2018-03-04 20:33:43\", \"2018-03-15 19:10:02\"), cost_of_treatment (349, 656, 313), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_amount , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : first_name , home_phone , zip_code , street , owner_id , email_address , last_name , cell_number 271-6744x4507\", city , state | dogs : dog_id , abandoned_yn , date_adopted , gender , date_of_birth , breed_code , name , date_departed , arrival_date , owner_id , weight , entry_date , size_code , age | professionals : state , street , zip_code , home_phone , first_name , city , role_code , last_name , professional_id , cell_number , email_address | treatments : dog_id , treatment_id , professional_id , date_of_treatment , cost_of_treatment , treatment_type_code", "extra_map": { "dogs": { "date_arrived": [ "entry_date", "arrival_date" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_adopted", "date_departed", "entry_date", "arrival_date" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "arriving date": "Dogs.date_arrived", "departing date of the dogs that received a treatment": "Dogs.date_departed" } }, { "question": "find the #arriving date# and the #departing date of the dogs that received a treatment# .", "db_id": "dog_kennels", "orig_query": "select distinct t1.date_arrived, t1.date_departed from dogs as t1 join treatments as t2 on t1.dog_id = t2.dog_id", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : street (\"60352 Kayleigh Crossing Suite 700\", \"1858 Jan Park\", \"15828 Spencer Extensions\"), last_name (\"Schmitt\", \"Funk\", \"Hauck\"), zip_code (\"11990\", \"22731\", \"61019\"), city (\"Lake Tia\", \"South Daisyfurt\", \"Lake Jennyferfort\"), owner_id (15, 9, 4), home_phone (\"(799)563-0260x454\", \"363.948.1090\", \"363.948.1090\"), email_address (\"margaretta.runte@example.net\", \"ybergstrom@example.com\", \"kturner@example.net\"), first_name (\"Lorenz\", \"Tre\", \"Orlando\"), state (\"Wisconsin\", \"NewYork\", \"Washington\"), cell_number (\"633.455.3045x85484\", \"(722)768-5439x484\", \"1-626-264-7659x1697\") | dogs : abandoned_yn (\"1\", \"0\"), date_adopted (\"2018-03-14 08:05:18\", \"2018-03-06 16:32:11\", \"2018-03-25 08:12:51\"), name (\"Betty\", \"Merritt\", \"Bessie\"), departure_date (\"2018-03-25 04:50:22\", \"2018-03-25 13:07:04\", \"2018-03-25 10:25:46\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_of_birth (\"2015-02-26 21:31:22\", \"2012-10-14 14:44:37\", \"2012-07-11 17:15:10\"), dog_id (3, 3, 14), weight (\"8.95\", \"4.36\", \"9.8\"), gender (\"1\", \"0\"), owner_id (11, 2, 3), age (\"5\", \"5\", \"3\"), exit_date (\"2018-03-25 04:50:22\", \"2018-03-25 13:07:04\", \"2018-03-25 10:25:46\"), date_arrived (\"2017-12-29 23:24:13\", \"2017-09-08 20:10:13\", \"2017-12-22 05:02:02\"), size_code (\"LGE\", \"MED\", \"SML\") | professionals : professional_id (2, 10, 7), zip_code (\"98844\", \"80775\", \"17902\"), cell_number (\"1-185-137-1945x409\", \"1-185-137-1945x409\", \"139-321-7313\"), city (\"South Rockyport\", \"West Heidi\", \"New Maryjane\"), role_code (\"Employee\", \"Veterenarian\"), email_address (\"jacynthe.mclaughlin@example.net\", \"lambert62@example.org\", \"goyette.roosevelt@example.net\"), home_phone (\"(920)304-4499x59146\", \"+71(6)2898266914\", \"(230)338-3342x585\"), first_name (\"Velva\", \"Danny\", \"Ericka\"), last_name (\"Tillman\", \"Considine\", \"Tillman\"), state (\"SouthCarolina\", \"Wisconsin\", \"SouthCarolina\"), street (\"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\") | treatments : dog_id (14, 2, 10), professional_id (14, 5, 8), date_of_treatment (\"2018-03-16 10:27:36\", \"2018-02-28 17:09:43\", \"2018-03-04 20:33:43\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (681, 668, 139), treatment_id (9, 8, 7)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_amount , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : street , last_name , zip_code , city , owner_id , home_phone 563-0260x454\", \"363.948.1090\", \"363.948.1090\", email_address , first_name , state , cell_number 768-5439x484\", \"1-626-264-7659x1697\" | dogs : abandoned_yn , date_adopted , name , departure_date , breed_code , date_of_birth , dog_id , weight , gender , owner_id , age , exit_date , date_arrived , size_code | professionals : professional_id , zip_code , cell_number , city , role_code , email_address , home_phone 304-4499x59146\", \"+712898266914\", \"338-3342x585\", first_name , last_name , state , street | treatments : dog_id , professional_id , date_of_treatment , treatment_type_code , cost_of_treatment , treatment_id", "extra_map": { "dogs": { "date_departed": [ "exit_date", "departure_date" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "exit_date", "departure_date" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "arriving date": "Dogs.date_arrived", "departing date of the dogs that received a treatment": "Dogs.date_departed" } }, { "question": "list the #last name of the owner# owning the #youngest dog# .", "db_id": "dog_kennels", "orig_query": "select t1.last_name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id where t2.age = (select max(age) from dogs)", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : family_name (\"Schmitt\", \"Prohaska\", \"Funk\"), street (\"57382 Yost Ridges\", \"60352 Kayleigh Crossing Suite 700\", \"1858 Jan Park\"), surname (\"Schmitt\", \"Prohaska\", \"Funk\"), email_address (\"lynn81@example.org\", \"marks.gail@example.org\", \"angeline99@example.com\"), state (\"Maryland\", \"Virginia\", \"Arkansas\"), city (\"Lake Jennyferfort\", \"Lake Carleyborough\", \"Lake Carleyborough\"), zip_code (\"00589\", \"25609\", \"61019\"), owner_id (1, 3, 9), cell_number (\"481-483-9083x37986\", \"121.381.3316x6535\", \"(783)271-6744x4507\"), home_phone (\"1-346-655-5842x768\", \"085.557.0379x84348\", \"1-346-655-5842x768\"), first_name (\"Lorenz\", \"Rachelle\", \"Gay\") | dogs : name (\"Bessie\", \"Troy\", \"Holden\"), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), size_code (\"LGE\", \"MED\", \"SML\"), abandoned_yn (\"1\", \"0\"), dog_id (1, 1, 10), owner_id (11, 5, 11), date_departed (\"2018-03-24 19:36:59\", \"2018-03-25 14:15:41\", \"2018-03-25 10:25:46\"), date_adopted (\"2018-02-27 11:54:35\", \"2018-03-07 21:45:43\", \"2018-03-10 15:06:43\"), date_arrived (\"2017-05-06 08:03:52\", \"2018-01-17 11:44:16\", \"2018-01-17 11:44:16\"), weight (\"3.52\", \"8.95\", \"8.04\"), age (\"4\", \"8\", \"8\"), date_of_birth (\"2012-10-14 14:44:37\", \"2018-03-17 04:05:12\", \"2012-05-03 21:42:25\") | professionals : last_name (\"Braun\", \"Jacobs\", \"Kshlerin\"), home_phone (\"+71(6)2898266914\", \"+02(1)0259033559\", \"320-508-6023\"), professional_id (14, 11, 7), cell_number (\"(275)939-2435x80863\", \"499-434-0215x1628\", \"(369)908-7311x065\"), street (\"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"68589 Bradly Manor\nNew Audrey, IN 91497\", \"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\"), city (\"Baileymouth\", \"Borisside\", \"New Maryjane\"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Danny\", \"Lesly\", \"Jayson\"), state (\"SouthCarolina\", \"Utah\", \"Alabama\"), zip_code (\"34041\", \"54312\", \"80775\"), email_address (\"jerrod.bahringer@example.org\", \"mekhi.little@example.org\", \"goyette.roosevelt@example.net\") | treatments : cost_of_treatment (407, 266, 668), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (8, 10, 11), professional_id (8, 14, 6), dog_id (13, 7, 4), date_of_treatment (\"2018-02-26 09:08:53\", \"2018-03-11 04:23:15\", \"2018-03-23 13:52:10\")", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_id , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : family_name , street , surname , email_address , state , city , zip_code , owner_id , cell_number 271-6744x4507\", home_phone , first_name | dogs : name , gender , breed_code , size_code , abandoned_yn , dog_id , owner_id , date_departed , date_adopted , date_arrived , weight , age , date_of_birth | professionals : last_name , home_phone 2898266914\", \"+020259033559\", \"320-508-6023\", professional_id , cell_number 939-2435x80863\", \"499-434-0215x1628\", \"908-7311x065\", street , city , role_code , first_name , state , zip_code , email_address | treatments : cost_of_treatment , treatment_type_code , treatment_id , professional_id , dog_id , date_of_treatment", "extra_map": { "owners": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "surname", "family_name" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "last name of the owner": "Owners.last_name", "youngest dog": "Dogs.age" } }, { "question": "who #owns the youngest dog# ? give me his or her #last name# .", "db_id": "dog_kennels", "orig_query": "select t1.last_name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id where t2.age = (select max(age) from dogs)", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : city (\"New Margaretteborough\", \"West Leonard\", \"East Maribelbury\"), street (\"57382 Yost Ridges\", \"59509 Mellie Mountain\", \"2417 Keara Stravenue Apt. 146\"), first_name (\"Heather\", \"Adelle\", \"Lorenz\"), zip_code (\"86010\", \"87304\", \"92406\"), email_address (\"kturner@example.net\", \"edythe62@example.org\", \"lynn81@example.org\"), state (\"Vermont\", \"Indiana\", \"SouthDakota\"), family_name (\"Hamill\", \"Ondricka\", \"Stoltenberg\"), cell_number (\"559.874.3011x989\", \"481-483-9083x37986\", \"(783)271-6744x4507\"), home_phone (\"363.948.1090\", \"01802479758\", \"893-862-5295x61709\"), owner_id (9, 10, 12), surname (\"Hamill\", \"Ondricka\", \"Stoltenberg\") | dogs : gender (\"1\", \"0\"), abandoned_yn (\"1\", \"0\"), date_arrived (\"2017-07-25 15:19:07\", \"2017-12-22 05:02:02\", \"2017-12-29 06:08:26\"), age (\"6\", \"8\", \"8\"), date_adopted (\"2018-03-10 15:06:43\", \"2018-03-21 10:41:18\", \"2018-03-14 08:05:18\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (3, 9, 10), owner_id (8, 13, 5), date_of_birth (\"2008-10-09 22:38:53\", \"2012-07-11 17:15:10\", \"2018-03-17 04:05:12\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), name (\"Kacey\", \"Troy\", \"Kacey\"), date_departed (\"2018-03-25 02:11:32\", \"2018-03-25 05:07:47\", \"2018-03-25 02:11:32\"), weight (\"1.72\", \"8.04\", \"6.92\") | professionals : zip_code (\"06646\", \"84515\", \"33020\"), last_name (\"Frami\", \"Murazik\", \"Jacobs\"), cell_number (\"(369)908-7311x065\", \"499-434-0215x1628\", \"1-258-285-4707x8020\"), first_name (\"Ericka\", \"Sigurd\", \"Ruben\"), email_address (\"cole.margarita@example.org\", \"delphine29@example.com\", \"lambert62@example.org\"), professional_id (15, 11, 8), role_code (\"Employee\", \"Veterenarian\"), street (\"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"390 Bryce Drive\nNorth Dock, LA 65357-7228\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\"), state (\"Wisconsin\", \"Montana\", \"Wisconsin\"), city (\"Kirastad\", \"McLaughlinfort\", \"Borisside\"), home_phone (\"1-138-287-3775\", \"246-951-0080x76716\", \"+43(5)1132733868\") | treatments : professional_id (14, 7, 5), treatment_id (13, 7, 13), dog_id (2, 13, 4), date_of_treatment (\"2018-03-16 10:27:36\", \"2018-03-19 04:39:54\", \"2018-02-26 09:08:53\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (852, 407, 407)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : city , street , first_name , zip_code , email_address , state , family_name , cell_number 271-6744x4507\", home_phone , owner_id , surname | dogs : gender , abandoned_yn , date_arrived , age , date_adopted , size_code , dog_id , owner_id , date_of_birth , breed_code , name , date_departed , weight | professionals : zip_code , last_name , cell_number 908-7311x065\", \"499-434-0215x1628\", \"1-258-285-4707x8020\", first_name , email_address , professional_id , role_code , street , state , city , home_phone 1132733868\" | treatments : professional_id , treatment_id , dog_id , date_of_treatment , treatment_type_code , cost_of_treatment", "extra_map": { "owners": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "surname", "family_name" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "owns the youngest dog": "Dogs.age", "last name": "Owners.last_name" } }, { "question": "list the #emails of the professionals# who live in the #state# of hawaii or the state of wisconsin.", "db_id": "dog_kennels", "orig_query": "select email_address from professionals where state = 'Hawaii' or state = 'Wisconsin'", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : city (\"Port Reannamouth\", \"Beerton\", \"Lake Jennyferfort\"), last_name (\"Schmitt\", \"Haley\", \"Rippin\"), first_name (\"Heather\", \"Adelle\", \"Cindy\"), street (\"1204 Mae Highway Apt. 107\", \"68118 Daniel Row\", \"57382 Yost Ridges\"), cell_number (\"559.874.3011x989\", \"(722)768-5439x484\", \"121.381.3316x6535\"), owner_id (5, 10, 10), home_phone (\"1-346-655-5842x768\", \"066.264.7885\", \"1-682-845-0116x63235\"), email_address (\"ymaggio@example.com\", \"ykris@example.com\", \"ykris@example.com\"), zip_code (\"86010\", \"45244\", \"00589\"), state (\"Wisconsin\", \"Arizona\", \"Pennsylvania\") | dogs : dog_id (2, 14, 10), date_of_birth (\"2012-01-27 05:11:53\", \"2012-05-03 21:42:25\", \"2012-10-14 14:44:37\"), gender (\"1\", \"0\"), age (\"2\", \"1\", \"2\"), abandoned_yn (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), owner_id (7, 3, 8), date_arrived (\"2017-12-22 05:02:02\", \"2017-10-25 00:55:34\", \"2017-09-08 20:10:13\"), size_code (\"LGE\", \"MED\", \"SML\"), name (\"Jeffrey\", \"Merritt\", \"Evangeline\"), date_adopted (\"2018-03-18 15:12:50\", \"2018-03-06 16:32:11\", \"2018-03-13 12:47:15\"), weight (\"8.04\", \"1.72\", \"5.16\"), date_departed (\"2018-03-25 05:07:47\", \"2018-03-25 15:05:16\", \"2018-03-25 10:25:46\") | professionals : home_phone (\"+02(1)0259033559\", \"891.475.2256\", \"1-138-287-3775\"), first_name (\"Winfield\", \"Ericka\", \"Karley\"), cell_number (\"139-321-7313\", \"1-181-670-9466\", \"1-185-137-1945x409\"), professional_id (9, 11, 10), zip_code (\"33020\", \"98844\", \"54312\"), last_name (\"Jacobs\", \"Considine\", \"O'Reilly\"), city (\"Borisside\", \"East Ila\", \"Baileymouth\"), electronic_address (\"delphine29@example.com\", \"lambert62@example.org\", \"goyette.roosevelt@example.net\"), role_code (\"Employee\", \"Veterenarian\"), e-mail (\"delphine29@example.com\", \"lambert62@example.org\", \"goyette.roosevelt@example.net\"), street (\"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"17286 Waters Green\nEast Bernadinefort, CA 89573\"), state (\"NorthCarolina\", \"Wisconsin\", \"Hawaii\") | treatments : dog_id (7, 10, 13), treatment_id (6, 9, 11), date_of_treatment (\"2018-03-13 12:22:58\", \"2018-03-04 20:33:43\", \"2018-03-01 04:14:46\"), cost_of_treatment (349, 407, 945), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (6, 9, 6)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_type , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : city , last_name , first_name , street , cell_number 768-5439x484\", \"121.381.3316x6535\", owner_id , home_phone , email_address , zip_code , state | dogs : dog_id , date_of_birth , gender , age , abandoned_yn , breed_code , owner_id , date_arrived , size_code , name , date_adopted , weight , date_departed | professionals : home_phone 0259033559\", \"891.475.2256\", \"1-138-287-3775\", first_name , cell_number , professional_id , zip_code , last_name , city , electronic_address , role_code , e-mail , street , state | treatments : dog_id , treatment_id , date_of_treatment , cost_of_treatment , treatment_type_code , professional_id", "extra_map": { "professionals": { "email_address": [ "e-mail", "electronic_address" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "home_phone", "cell_number", "e-mail", "electronic_address" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "emails of the professionals": "Professionals.email_address", "state": "Professionals.state" } }, { "question": "what are the #emails of the professionals# living in either the #state# of hawaii or the state of wisconsin?", "db_id": "dog_kennels", "orig_query": "select email_address from professionals where state = 'Hawaii' or state = 'Wisconsin'", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : home_phone (\"130-796-4589x05454\", \"(058)997-7627\", \"363.948.1090\"), first_name (\"Melisa\", \"Tre\", \"Cindy\"), email_address (\"margaretta.runte@example.net\", \"christy49@example.org\", \"angeline99@example.com\"), cell_number (\"(722)768-5439x484\", \"1-739-421-2225x38148\", \"633.455.3045x85484\"), owner_id (2, 4, 8), street (\"68118 Daniel Row\", \"1204 Mae Highway Apt. 107\", \"51934 Treutel Harbor\"), zip_code (\"11990\", \"22693\", \"22731\"), state (\"Pennsylvania\", \"Pennsylvania\", \"SouthDakota\"), last_name (\"Fisher\", \"Price\", \"Feil\"), city (\"Lake Valentin\", \"New Margaretteborough\", \"Lake Jennyferfort\") | dogs : name (\"Evangeline\", \"George\", \"Mavis\"), owner_id (2, 2, 12), gender (\"1\", \"0\"), date_adopted (\"2018-03-25 08:12:51\", \"2018-02-27 00:27:57\", \"2018-02-27 11:54:35\"), abandoned_yn (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), date_arrived (\"2017-12-29 06:08:26\", \"2017-04-15 09:25:31\", \"2017-04-15 09:25:31\"), dog_id (5, 6, 2), age (\"5\", \"1\", \"8\"), weight (\"8.04\", \"8.95\", \"8.95\"), date_departed (\"2018-03-25 06:58:44\", \"2018-03-25 04:50:22\", \"2018-03-25 13:07:04\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_of_birth (\"2012-05-03 21:42:25\", \"2017-09-19 05:39:09\", \"2017-09-19 05:39:09\") | professionals : home_phone (\"346.594.3739\", \"(920)304-4499x59146\", \"+02(1)0259033559\"), cell_number (\"1-185-137-1945x409\", \"011.193.9081x3186\", \"(369)908-7311x065\"), professional_id (7, 2, 13), state (\"California\", \"NorthCarolina\", \"Alabama\"), electronic_address (\"deanna.schuster@example.com\", \"goyette.roosevelt@example.net\", \"deanna.schuster@example.com\"), zip_code (\"52476\", \"06646\", \"77129\"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Taryn\", \"Olaf\", \"Olaf\"), street (\"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"92912 Langworth Valleys Apt. 743\nThompsonborough, \", \"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\"), last_name (\"Frami\", \"Watsica\", \"Tillman\"), e-mail (\"deanna.schuster@example.com\", \"goyette.roosevelt@example.net\", \"deanna.schuster@example.com\"), city (\"Domenickton\", \"West Heidi\", \"New Maryjane\") | treatments : date_of_treatment (\"2018-03-04 20:33:43\", \"2018-03-15 20:25:34\", \"2018-03-19 04:39:54\"), dog_id (14, 15, 14), cost_of_treatment (668, 945, 147), treatment_id (9, 12, 2), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (9, 10, 8)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_amount , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : home_phone 997-7627\", \"363.948.1090\", first_name , email_address , cell_number 768-5439x484\", \"1-739-421-2225x38148\", \"633.455.3045x85484\", owner_id , street , zip_code , state , last_name , city | dogs : name , owner_id , gender , date_adopted , abandoned_yn , size_code , date_arrived , dog_id , age , weight , date_departed , breed_code , date_of_birth | professionals : home_phone 304-4499x59146\", \"+020259033559\", cell_number 908-7311x065\", professional_id , state , electronic_address , zip_code , role_code , first_name , street , last_name , e-mail , city | treatments : date_of_treatment , dog_id , cost_of_treatment , treatment_id , treatment_type_code , professional_id", "extra_map": { "professionals": { "email_address": [ "e-mail", "electronic_address" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "home_phone", "cell_number", "e-mail", "electronic_address" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "emails of the professionals": "Professionals.email_address", "state": "Professionals.state" } }, { "question": "what are the #arriving date# and the #departing date of all the dogs# ?", "db_id": "dog_kennels", "orig_query": "select date_arrived, date_departed from dogs", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : street (\"57382 Yost Ridges\", \"59509 Mellie Mountain\", \"60352 Kayleigh Crossing Suite 700\"), state (\"Arkansas\", \"Maryland\", \"Pennsylvania\"), city (\"Lake Valentin\", \"Lake Valentin\", \"West Leonard\"), cell_number (\"(783)271-6744x4507\", \"633.455.3045x85484\", \"762.589.6117x1328\"), home_phone (\"1-346-655-5842x768\", \"318-052-6573\", \"085.557.0379x84348\"), email_address (\"edythe62@example.org\", \"ykris@example.com\", \"ykris@example.com\"), zip_code (\"00589\", \"86010\", \"00589\"), last_name (\"Mertz\", \"Hamill\", \"Mertz\"), first_name (\"Orlando\", \"Johann\", \"Nora\"), owner_id (7, 9, 6) | dogs : arrival_date (\"2017-10-24 04:45:13\", \"2018-01-17 11:44:16\", \"2017-12-22 05:02:02\"), dog_id (10, 11, 11), entry_date (\"2017-10-24 04:45:13\", \"2018-01-17 11:44:16\", \"2017-12-22 05:02:02\"), size_code (\"LGE\", \"MED\", \"SML\"), date_adopted (\"2018-03-05 06:05:23\", \"2018-03-25 08:12:51\", \"2018-03-21 10:41:18\"), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\"), date_departed (\"2018-03-25 06:29:10\", \"2018-03-25 02:11:32\", \"2018-03-25 06:58:44\"), name (\"Jeffrey\", \"Narciso\", \"Mavis\"), owner_id (14, 5, 12), date_of_birth (\"2017-09-19 05:39:09\", \"2012-05-03 21:42:25\", \"2009-04-12 06:02:48\"), weight (\"8.04\", \"8.16\", \"6.92\"), age (\"3\", \"5\", \"8\") | professionals : city (\"Jaceton\", \"Raynorfort\", \"McLaughlinfort\"), zip_code (\"07412\", \"33020\", \"54312\"), home_phone (\"1-609-566-2752x25197\", \"325-155-0801x7005\", \"+43(5)1132733868\"), first_name (\"Jayson\", \"Ericka\", \"Ruben\"), email_address (\"mekhi.little@example.org\", \"jerrod.bahringer@example.org\", \"marquardt.furman@example.org\"), role_code (\"Employee\", \"Veterenarian\"), cell_number (\"011.193.9081x3186\", \"011.193.9081x3186\", \"889-940-2676\"), state (\"Wyoming\", \"California\", \"Indiana\"), street (\"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\"), last_name (\"Hayes\", \"Murazik\", \"Kshlerin\"), professional_id (15, 10, 3) | treatments : cost_of_treatment (656, 313, 266), treatment_id (9, 7, 3), date_of_treatment (\"2018-03-14 19:10:40\", \"2018-03-15 20:25:34\", \"2018-03-15 19:10:02\"), dog_id (10, 13, 12), professional_id (10, 7, 7), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_type , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : street , state , city , cell_number 271-6744x4507\", \"633.455.3045x85484\", \"762.589.6117x1328\", home_phone , email_address , zip_code , last_name , first_name , owner_id | dogs : arrival_date , dog_id , entry_date , size_code , date_adopted , gender , breed_code , abandoned_yn , date_departed , name , owner_id , date_of_birth , weight , age | professionals : city , zip_code , home_phone 1132733868\", first_name , email_address , role_code , cell_number , state , street , last_name , professional_id | treatments : cost_of_treatment , treatment_id , date_of_treatment , dog_id , professional_id , treatment_type_code", "extra_map": { "dogs": { "date_arrived": [ "entry_date", "arrival_date" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_adopted", "date_departed", "entry_date", "arrival_date" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "arriving date": "Dogs.date_arrived", "departing date of all the dogs": "Dogs.date_departed" } }, { "question": "what are the #arriving date# and the #departing date of all the dogs# ?", "db_id": "dog_kennels", "orig_query": "select date_arrived, date_departed from dogs", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : email_address (\"wpfeffer@example.net\", \"ymaggio@example.com\", \"angeline99@example.com\"), city (\"East Hillardberg\", \"West Leonard\", \"South Afton\"), state (\"Indiana\", \"Wisconsin\", \"Arkansas\"), home_phone (\"066.264.7885\", \"318-052-6573\", \"066.264.7885\"), first_name (\"Johann\", \"Kade\", \"Rachelle\"), zip_code (\"00589\", \"22731\", \"92406\"), cell_number (\"478.978.0729\", \"(783)271-6744x4507\", \"(722)768-5439x484\"), street (\"1204 Mae Highway Apt. 107\", \"2635 Caitlyn Plains\", \"89011 Kertzmann Spring Suite 642\"), last_name (\"Feil\", \"Hamill\", \"Hamill\"), owner_id (6, 10, 3) | dogs : size_code (\"LGE\", \"MED\", \"SML\"), dog_id (12, 11, 13), date_of_birth (\"2012-01-27 05:11:53\", \"2008-05-30 12:51:34\", \"2013-02-20 14:50:56\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), departure_date (\"2018-03-25 04:50:22\", \"2018-03-25 06:58:44\", \"2018-03-25 06:58:44\"), gender (\"1\", \"0\"), age (\"8\", \"2\", \"9\"), owner_id (12, 7, 10), date_adopted (\"2018-03-07 21:45:43\", \"2018-03-23 16:02:04\", \"2018-03-25 08:12:51\"), name (\"Mavis\", \"Houston\", \"Holden\"), exit_date (\"2018-03-25 04:50:22\", \"2018-03-25 06:58:44\", \"2018-03-25 06:58:44\"), date_arrived (\"2017-04-15 09:25:31\", \"2017-04-15 09:25:31\", \"2018-01-02 03:15:29\"), abandoned_yn (\"1\", \"0\"), weight (\"5.16\", \"9.48\", \"9.48\") | professionals : email_address (\"delphine29@example.com\", \"delphine29@example.com\", \"delphine29@example.com\"), street (\"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\"), professional_id (14, 14, 7), first_name (\"Monte\", \"Danny\", \"Lesly\"), last_name (\"Tillman\", \"Braun\", \"Braun\"), state (\"Utah\", \"Connecticut\", \"Montana\"), role_code (\"Employee\", \"Veterenarian\"), city (\"New Maryjane\", \"Juddton\", \"North Adelberttown\"), cell_number (\"609-405-2990\", \"(275)939-2435x80863\", \"00230569697\"), zip_code (\"84515\", \"17902\", \"34041\"), home_phone (\"320-508-6023\", \"891.475.2256\", \"325-155-0801x7005\") | treatments : treatment_id (13, 11, 14), dog_id (12, 1, 2), cost_of_treatment (668, 656, 681), professional_id (10, 14, 10), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-24 22:25:58\", \"2018-03-23 13:52:10\", \"2018-03-15 19:10:02\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : email_address , city , state , home_phone , first_name , zip_code , cell_number 271-6744x4507\", \"768-5439x484\", street , last_name , owner_id | dogs : size_code , dog_id , date_of_birth , breed_code , departure_date , gender , age , owner_id , date_adopted , name , exit_date , date_arrived , abandoned_yn , weight | professionals : email_address , street , professional_id , first_name , last_name , state , role_code , city , cell_number 939-2435x80863\", \"00230569697\", zip_code , home_phone | treatments : treatment_id , dog_id , cost_of_treatment , professional_id , treatment_type_code , date_of_treatment", "extra_map": { "dogs": { "date_departed": [ "exit_date", "departure_date" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "exit_date", "departure_date" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "arriving date": "Dogs.date_arrived", "departing date of all the dogs": "Dogs.date_departed" } }, { "question": "list the #arrival date# and the #departure date for all the dogs# .", "db_id": "dog_kennels", "orig_query": "select date_arrived, date_departed from dogs", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : cell_number (\"1-739-421-2225x38148\", \"1-626-264-7659x1697\", \"+00(2)4323592985\"), state (\"Maryland\", \"Maryland\", \"Washington\"), last_name (\"Nicolas\", \"Ondricka\", \"Hauck\"), zip_code (\"61019\", \"11990\", \"36871\"), street (\"68118 Daniel Row\", \"68118 Daniel Row\", \"2635 Caitlyn Plains\"), email_address (\"lynn81@example.org\", \"wpfeffer@example.net\", \"hudson.favian@example.com\"), home_phone (\"916.976.9480x13851\", \"130-796-4589x05454\", \"(544)034-1670\"), first_name (\"Nora\", \"Nora\", \"Melisa\"), city (\"West Leonard\", \"Beerton\", \"West Leonard\"), owner_id (2, 8, 11) | dogs : entry_date (\"2018-01-02 03:15:29\", \"2017-10-24 04:45:13\", \"2017-12-29 23:24:13\"), age (\"8\", \"6\", \"9\"), date_of_birth (\"2012-05-03 21:42:25\", \"2012-01-27 05:11:53\", \"2017-09-19 05:39:09\"), arrival_date (\"2018-01-02 03:15:29\", \"2017-10-24 04:45:13\", \"2017-12-29 23:24:13\"), weight (\"8.95\", \"6.92\", \"4.36\"), size_code (\"LGE\", \"MED\", \"SML\"), owner_id (6, 14, 2), date_departed (\"2018-03-25 06:58:44\", \"2018-03-25 06:29:10\", \"2018-03-25 06:58:44\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_adopted (\"2018-03-06 16:32:11\", \"2018-03-07 21:45:43\", \"2018-02-27 11:54:35\"), name (\"Kacey\", \"George\", \"Holden\"), gender (\"1\", \"0\"), dog_id (2, 5, 8), abandoned_yn (\"1\", \"0\") | professionals : professional_id (10, 14, 7), street (\"68589 Bradly Manor\nNew Audrey, IN 91497\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"92912 Langworth Valleys Apt. 743\nThompsonborough, \"), zip_code (\"34041\", \"80775\", \"54312\"), home_phone (\"891.475.2256\", \"1-138-287-3775\", \"346.594.3739\"), first_name (\"Taryn\", \"Karley\", \"Velva\"), cell_number (\"139-321-7313\", \"609-405-2990\", \"011.193.9081x3186\"), city (\"West Heidi\", \"Kirastad\", \"North Adelberttown\"), state (\"Wyoming\", \"NewMexico\", \"SouthCarolina\"), last_name (\"Braun\", \"Kshlerin\", \"Frami\"), email_address (\"jeichmann@example.com\", \"delphine29@example.com\", \"deanna.schuster@example.com\"), role_code (\"Employee\", \"Veterenarian\") | treatments : professional_id (4, 6, 14), dog_id (13, 14, 15), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (428, 266, 852), treatment_id (2, 13, 6), date_of_treatment (\"2018-03-14 19:10:40\", \"2018-03-11 04:23:15\", \"2018-03-11 04:23:15\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_amount , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : cell_number 4323592985\", state , last_name , zip_code , street , email_address , home_phone 034-1670\", first_name , city , owner_id | dogs : entry_date , age , date_of_birth , arrival_date , weight , size_code , owner_id , date_departed , breed_code , date_adopted , name , gender , dog_id , abandoned_yn | professionals : professional_id , street , zip_code , home_phone , first_name , cell_number , city , state , last_name , email_address , role_code | treatments : professional_id , dog_id , treatment_type_code , cost_of_treatment , treatment_id , date_of_treatment", "extra_map": { "dogs": { "date_arrived": [ "entry_date", "arrival_date" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_adopted", "date_departed", "entry_date", "arrival_date" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "arrival date": "Dogs.date_arrived", "departure date for all the dogs": "Dogs.date_departed" } }, { "question": "list the #arrival date# and the #departure date for all the dogs# .", "db_id": "dog_kennels", "orig_query": "select date_arrived, date_departed from dogs", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : street (\"59509 Mellie Mountain\", \"2417 Keara Stravenue Apt. 146\", \"692 Jaskolski Forges\"), state (\"Pennsylvania\", \"Florida\", \"Virginia\"), email_address (\"ybergstrom@example.com\", \"ykris@example.com\", \"hudson.favian@example.com\"), city (\"Lake Valentin\", \"Lake Valentin\", \"Lake Carleyborough\"), zip_code (\"78297\", \"35747\", \"35747\"), cell_number (\"(257)399-3116\", \"1-626-264-7659x1697\", \"739-136-7202\"), owner_id (2, 6, 14), first_name (\"Cindy\", \"Emelie\", \"Jaclyn\"), home_phone (\"066.264.7885\", \"085.557.0379x84348\", \"1-332-849-1908\"), last_name (\"Price\", \"Stoltenberg\", \"Price\") | dogs : departure_date (\"2018-03-25 06:29:10\", \"2018-03-25 02:11:32\", \"2018-03-25 06:46:07\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), name (\"George\", \"Hipolito\", \"Lyric\"), exit_date (\"2018-03-25 06:29:10\", \"2018-03-25 02:11:32\", \"2018-03-25 06:46:07\"), dog_id (13, 3, 11), size_code (\"LGE\", \"MED\", \"SML\"), owner_id (11, 3, 5), date_adopted (\"2018-03-08 15:03:00\", \"2018-03-18 07:47:40\", \"2018-02-27 00:27:57\"), abandoned_yn (\"1\", \"0\"), date_arrived (\"2017-10-16 20:06:21\", \"2017-12-29 23:24:13\", \"2017-06-25 10:14:05\"), date_of_birth (\"2012-10-14 14:44:37\", \"2009-04-12 06:02:48\", \"2009-04-12 06:02:48\"), gender (\"1\", \"0\"), weight (\"7.57\", \"3.52\", \"7.57\"), age (\"9\", \"3\", \"9\") | professionals : last_name (\"Considine\", \"Kshlerin\", \"Kshlerin\"), first_name (\"Lesly\", \"Vernice\", \"Domenica\"), cell_number (\"880-659-7577x736\", \"1-181-670-9466\", \"(369)908-7311x065\"), street (\"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \"), home_phone (\"346.594.3739\", \"346.594.3739\", \"246-951-0080x76716\"), professional_id (6, 14, 9), role_code (\"Employee\", \"Veterenarian\"), zip_code (\"07412\", \"52476\", \"98844\"), email_address (\"jerrod.bahringer@example.org\", \"lambert62@example.org\", \"jerrod.bahringer@example.org\"), state (\"Hawaii\", \"Alabama\", \"Indiana\"), city (\"New Maryjane\", \"West Heidi\", \"South Rockyport\") | treatments : date_of_treatment (\"2018-02-26 09:08:53\", \"2018-02-28 17:09:43\", \"2018-03-15 19:10:02\"), dog_id (12, 2, 2), professional_id (5, 5, 9), cost_of_treatment (429, 668, 852), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (8, 8, 12)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : street , state , email_address , city , zip_code , cell_number 399-3116\", \"1-626-264-7659x1697\", \"739-136-7202\", owner_id , first_name , home_phone , last_name | dogs : departure_date , breed_code , name , exit_date , dog_id , size_code , owner_id , date_adopted , abandoned_yn , date_arrived , date_of_birth , gender , weight , age | professionals : last_name , first_name , cell_number 908-7311x065\", street , home_phone , professional_id , role_code , zip_code , email_address , state , city | treatments : date_of_treatment , dog_id , professional_id , cost_of_treatment , treatment_type_code , treatment_id", "extra_map": { "dogs": { "date_departed": [ "exit_date", "departure_date" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "exit_date", "departure_date" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "arrival date": "Dogs.date_arrived", "departure date for all the dogs": "Dogs.date_departed" } }, { "question": "how many #dogs# went through any #treatments# ?", "db_id": "dog_kennels", "orig_query": "select count(distinct dog_id) from treatments", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : last_name (\"Price\", \"Schmitt\", \"Funk\"), state (\"Indiana\", \"Virginia\", \"Wisconsin\"), email_address (\"lynn81@example.org\", \"angeline99@example.com\", \"wpfeffer@example.net\"), cell_number (\"(722)768-5439x484\", \"559.874.3011x989\", \"(722)768-5439x484\"), street (\"2417 Keara Stravenue Apt. 146\", \"2417 Keara Stravenue Apt. 146\", \"57382 Yost Ridges\"), city (\"Lake Tia\", \"Lake Tia\", \"Lake Jennyferfort\"), owner_id (5, 10, 2), first_name (\"Adelle\", \"Jaclyn\", \"Kade\"), home_phone (\"1-346-655-5842x768\", \"085.557.0379x84348\", \"916.976.9480x13851\"), zip_code (\"87304\", \"36871\", \"61019\") | dogs : date_adopted (\"2018-02-27 00:27:57\", \"2018-02-27 11:54:35\", \"2018-03-10 15:06:43\"), date_arrived (\"2017-04-20 00:58:55\", \"2017-06-18 19:45:38\", \"2017-12-29 06:08:26\"), age (\"8\", \"5\", \"2\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), weight (\"9.48\", \"4.01\", \"1.39\"), date_of_birth (\"2018-03-17 04:05:12\", \"2015-02-26 21:31:22\", \"2017-09-19 05:39:09\"), abandoned_yn (\"1\", \"0\"), dog_id (9, 13, 12), gender (\"1\", \"0\"), name (\"Lyric\", \"Lyric\", \"Merritt\"), size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-24 23:48:59\", \"2018-03-24 19:36:59\", \"2018-03-25 13:07:04\"), owner_id (8, 1, 1) | professionals : cell_number (\"880-659-7577x736\", \"880-659-7577x736\", \"1-185-137-1945x409\"), professional_id (6, 9, 8), state (\"Montana\", \"Wyoming\", \"Hawaii\"), street (\"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"68589 Bradly Manor\nNew Audrey, IN 91497\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\"), email_address (\"lourdes.lowe@example.net\", \"goyette.roosevelt@example.net\", \"goyette.roosevelt@example.net\"), city (\"Domenickton\", \"Jaceton\", \"North Odellfurt\"), last_name (\"Braun\", \"Frami\", \"Kshlerin\"), zip_code (\"43129\", \"06646\", \"06646\"), home_phone (\"325-155-0801x7005\", \"(920)304-4499x59146\", \"312.216.3352\"), first_name (\"Danny\", \"Brady\", \"Jayson\"), role_code (\"Employee\", \"Veterenarian\") | treatments : date_of_treatment (\"2018-03-08 05:26:23\", \"2018-03-11 04:23:15\", \"2018-03-24 22:25:58\"), professional_id (9, 6, 8), puppy_id (14, 12, 13), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), canine_id (14, 12, 13), cost_of_treatment (407, 668, 407), treatment_id (3, 13, 14)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_amount , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : last_name , state , email_address , cell_number 768-5439x484\", \"559.874.3011x989\", \"768-5439x484\", street , city , owner_id , first_name , home_phone , zip_code | dogs : date_adopted , date_arrived , age , breed_code , weight , date_of_birth , abandoned_yn , dog_id , gender , name , size_code , date_departed , owner_id | professionals : cell_number , professional_id , state , street , email_address , city , last_name , zip_code , home_phone 304-4499x59146\", \"312.216.3352\", first_name , role_code | treatments : date_of_treatment , professional_id , puppy_id , treatment_type_code , canine_id , cost_of_treatment , treatment_id", "extra_map": { "treatments": { "dog_id": [ "canine_id", "puppy_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment", "canine_id", "puppy_id" ] }, "column_linking_gt": { "dogs": "Dogs", "treatments": "Treatments" } }, { "question": "count the #number of dogs# that went through a #treatment# .", "db_id": "dog_kennels", "orig_query": "select count(distinct dog_id) from treatments", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : city (\"Lake Carleyborough\", \"Lake Jennyferfort\", \"Lake Jennyferfort\"), zip_code (\"93165\", \"87304\", \"78297\"), email_address (\"hudson.favian@example.com\", \"lynn81@example.org\", \"pearlie18@example.com\"), last_name (\"Ondricka\", \"Stoltenberg\", \"Funk\"), street (\"15828 Spencer Extensions\", \"57382 Yost Ridges\", \"51934 Treutel Harbor\"), state (\"Arizona\", \"Virginia\", \"Arkansas\"), home_phone (\"893-862-5295x61709\", \"085.557.0379x84348\", \"(094)747-5094x8134\"), first_name (\"Adelle\", \"Nora\", \"Kade\"), owner_id (2, 3, 1), cell_number (\"559.874.3011x989\", \"(257)399-3116\", \"121.381.3316x6535\") | dogs : date_of_birth (\"2012-01-27 05:11:53\", \"2018-03-17 04:05:12\", \"2012-07-11 17:15:10\"), weight (\"6.92\", \"5.16\", \"8.95\"), date_arrived (\"2017-12-29 23:24:13\", \"2017-04-15 09:25:31\", \"2017-12-29 06:08:26\"), gender (\"1\", \"0\"), abandoned_yn (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_departed (\"2018-03-24 19:36:59\", \"2018-03-25 06:29:10\", \"2018-03-25 06:58:44\"), dog_id (3, 11, 5), size_code (\"LGE\", \"MED\", \"SML\"), age (\"6\", \"5\", \"9\"), name (\"Jesus\", \"Houston\", \"Troy\"), owner_id (5, 12, 10), date_adopted (\"2018-03-08 15:03:00\", \"2018-03-23 16:02:04\", \"2018-03-08 15:03:00\") | professionals : last_name (\"O'Reilly\", \"Kshlerin\", \"Walter\"), first_name (\"Ruben\", \"Ruben\", \"Jayson\"), role_code (\"Employee\", \"Veterenarian\"), state (\"Indiana\", \"Mississippi\", \"California\"), zip_code (\"67980\", \"67980\", \"02281\"), city (\"South Rockyport\", \"North Adelberttown\", \"McLaughlinfort\"), professional_id (2, 11, 9), home_phone (\"1-609-566-2752x25197\", \"246-951-0080x76716\", \"1-609-566-2752x25197\"), cell_number (\"1-181-670-9466\", \"499-434-0215x1628\", \"139-321-7313\"), email_address (\"jeichmann@example.com\", \"marquardt.furman@example.org\", \"lourdes.lowe@example.net\"), street (\"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\") | treatments : professional_id (9, 9, 10), canine_id (7, 15, 12), treatment_id (2, 15, 8), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), puppy_id (7, 15, 12), date_of_treatment (\"2018-03-14 19:10:40\", \"2018-03-01 04:14:46\", \"2018-03-13 12:22:58\"), cost_of_treatment (945, 147, 681)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_type , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : city , zip_code , email_address , last_name , street , state , home_phone 747-5094x8134\", first_name , owner_id , cell_number 399-3116\", \"121.381.3316x6535\" | dogs : date_of_birth , weight , date_arrived , gender , abandoned_yn , breed_code , date_departed , dog_id , size_code , age , name , owner_id , date_adopted | professionals : last_name , first_name , role_code , state , zip_code , city , professional_id , home_phone , cell_number , email_address , street | treatments : professional_id , canine_id , treatment_id , treatment_type_code , puppy_id , date_of_treatment , cost_of_treatment", "extra_map": { "treatments": { "dog_id": [ "canine_id", "puppy_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment", "canine_id", "puppy_id" ] }, "column_linking_gt": { "number of dogs": "Treatments.dog_id", "treatment": "Treatments" } }, { "question": "how many #professionals# have #performed any treatment# to dogs?", "db_id": "dog_kennels", "orig_query": "select count(distinct professional_id) from treatments", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : city (\"Barrettburgh\", \"South Afton\", \"East Hillardberg\"), last_name (\"Hamill\", \"Fisher\", \"Hamill\"), owner_id (9, 15, 8), email_address (\"ymaggio@example.com\", \"hudson.favian@example.com\", \"fschoen@example.net\"), state (\"Maryland\", \"SouthDakota\", \"NorthDakota\"), zip_code (\"25609\", \"35747\", \"78297\"), cell_number (\"762.589.6117x1328\", \"(722)768-5439x484\", \"478.978.0729\"), first_name (\"Johann\", \"Lorenz\", \"Gay\"), home_phone (\"318-052-6573\", \"130-796-4589x05454\", \"(058)997-7627\"), street (\"692 Jaskolski Forges\", \"51934 Treutel Harbor\", \"89011 Kertzmann Spring Suite 642\") | dogs : abandoned_yn (\"1\", \"0\"), gender (\"1\", \"0\"), dog_id (13, 11, 11), date_departed (\"2018-03-25 06:46:07\", \"2018-03-25 02:47:40\", \"2018-03-25 10:25:46\"), date_of_birth (\"2013-02-13 05:15:21\", \"2012-05-31 08:01:36\", \"2017-09-19 05:39:09\"), owner_id (10, 13, 14), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_adopted (\"2018-03-18 07:47:40\", \"2018-03-10 15:06:43\", \"2018-02-25 23:45:30\"), name (\"Betty\", \"Mavis\", \"Jeffrey\"), size_code (\"LGE\", \"MED\", \"SML\"), date_arrived (\"2018-01-17 11:44:16\", \"2017-04-15 09:25:31\", \"2017-07-25 15:19:07\"), age (\"5\", \"4\", \"5\"), weight (\"8.96\", \"9.48\", \"4.01\") | professionals : first_name (\"Danny\", \"Domenica\", \"Velva\"), state (\"Alabama\", \"California\", \"SouthCarolina\"), email_address (\"lucile.shanahan@example.org\", \"delphine29@example.com\", \"west.eula@example.net\"), last_name (\"Hayes\", \"Tillman\", \"Frami\"), cell_number (\"328.842.3792\", \"(369)908-7311x065\", \"499-434-0215x1628\"), street (\"390 Bryce Drive\nNorth Dock, LA 65357-7228\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \"), role_code (\"Employee\", \"Veterenarian\"), professional_id (1, 14, 13), city (\"McLaughlinfort\", \"West Heidi\", \"Juddton\"), zip_code (\"84515\", \"07412\", \"43129\"), home_phone (\"(230)338-3342x585\", \"971.048.3763x9404\", \"+71(6)2898266914\") | treatments : doctor_id (8, 14, 7), date_of_treatment (\"2018-03-24 22:25:58\", \"2018-03-15 19:10:02\", \"2018-03-15 20:25:34\"), dog_id (2, 13, 12), cost_of_treatment (139, 407, 429), vet_id (8, 14, 7), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (9, 2, 6)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : city , last_name , owner_id , email_address , state , zip_code , cell_number 768-5439x484\", \"478.978.0729\", first_name , home_phone 997-7627\", street | dogs : abandoned_yn , gender , dog_id , date_departed , date_of_birth , owner_id , breed_code , date_adopted , name , size_code , date_arrived , age , weight | professionals : first_name , state , email_address , last_name , cell_number 908-7311x065\", \"499-434-0215x1628\", street , role_code , professional_id , city , zip_code , home_phone 338-3342x585\", \"971.048.3763x9404\", \"+712898266914\" | treatments : doctor_id , date_of_treatment , dog_id , cost_of_treatment , vet_id , treatment_type_code , treatment_id", "extra_map": { "treatments": { "professional_id": [ "vet_id", "doctor_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment", "vet_id", "doctor_id" ] }, "column_linking_gt": { "professionals": "Professionals", "performed any treatment": "Treatments" } }, { "question": "find the number of #professionals# who have ever #treated dogs# .", "db_id": "dog_kennels", "orig_query": "select count(distinct professional_id) from treatments", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : home_phone (\"066.264.7885\", \"066.264.7885\", \"(094)747-5094x8134\"), cell_number (\"1-626-264-7659x1697\", \"(722)768-5439x484\", \"(257)399-3116\"), city (\"South Afton\", \"New Margaretteborough\", \"East Maribelbury\"), state (\"Arizona\", \"SouthDakota\", \"Arkansas\"), first_name (\"Melisa\", \"Melisa\", \"Jaclyn\"), owner_id (4, 1, 5), street (\"2417 Keara Stravenue Apt. 146\", \"68118 Daniel Row\", \"2417 Keara Stravenue Apt. 146\"), last_name (\"Funk\", \"Hamill\", \"Hauck\"), zip_code (\"25609\", \"36871\", \"45244\"), email_address (\"angeline99@example.com\", \"pearlie18@example.com\", \"kturner@example.net\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-25 04:42:14\", \"2018-03-25 10:25:46\", \"2018-03-25 04:42:14\"), age (\"1\", \"1\", \"6\"), name (\"Holden\", \"Jeffrey\", \"Jesus\"), abandoned_yn (\"1\", \"0\"), owner_id (6, 10, 7), weight (\"1.39\", \"6.92\", \"7.57\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), dog_id (12, 13, 13), date_adopted (\"2018-03-13 12:47:15\", \"2018-03-18 15:12:50\", \"2018-02-27 00:27:57\"), date_arrived (\"2017-10-16 20:06:21\", \"2017-07-25 15:19:07\", \"2017-12-29 23:24:13\"), gender (\"1\", \"0\"), date_of_birth (\"2012-07-11 17:15:10\", \"2017-09-19 05:39:09\", \"2017-09-19 05:39:09\") | professionals : first_name (\"Lesly\", \"Taryn\", \"Ruben\"), email_address (\"west.eula@example.net\", \"lourdes.lowe@example.net\", \"uboehm@example.org\"), professional_id (13, 14, 3), last_name (\"Ullrich\", \"O'Reilly\", \"Tillman\"), role_code (\"Employee\", \"Veterenarian\"), cell_number (\"328.842.3792\", \"962-983-8109x3509\", \"609-405-2990\"), home_phone (\"1-138-287-3775\", \"312.216.3352\", \"891.475.2256\"), zip_code (\"54312\", \"43129\", \"34041\"), city (\"Jaceton\", \"Borisside\", \"East Ila\"), state (\"California\", \"NorthCarolina\", \"Wisconsin\"), street (\"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"68589 Bradly Manor\nNew Audrey, IN 91497\") | treatments : vet_id (14, 7, 10), dog_id (15, 1, 15), cost_of_treatment (407, 139, 139), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (8, 4, 1), doctor_id (14, 7, 10), date_of_treatment (\"2018-03-08 05:26:23\", \"2018-03-19 04:39:54\", \"2018-03-23 13:52:10\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : home_phone 747-5094x8134\", cell_number 768-5439x484\", \"399-3116\", city , state , first_name , owner_id , street , last_name , zip_code , email_address | dogs : size_code , date_departed , age , name , abandoned_yn , owner_id , weight , breed_code , dog_id , date_adopted , date_arrived , gender , date_of_birth | professionals : first_name , email_address , professional_id , last_name , role_code , cell_number , home_phone , zip_code , city , state , street | treatments : vet_id , dog_id , cost_of_treatment , treatment_type_code , treatment_id , doctor_id , date_of_treatment", "extra_map": { "treatments": { "professional_id": [ "vet_id", "doctor_id" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment", "vet_id", "doctor_id" ] }, "column_linking_gt": { "professionals": "Professionals", "treated dogs": "Treatments" } }, { "question": "which #professionals# live in a #city# containing the substring 'west'? list his or her #role# , #street# , city and #state# .", "db_id": "dog_kennels", "orig_query": "select role_code, street, city, state from professionals where city like '%West%'", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : street (\"59509 Mellie Mountain\", \"2417 Keara Stravenue Apt. 146\", \"0647 Hintz Village Apt. 024\"), state (\"Maryland\", \"NewYork\", \"Vermont\"), first_name (\"Rachelle\", \"Cindy\", \"Kade\"), home_phone (\"916.976.9480x13851\", \"893-862-5295x61709\", \"01802479758\"), city (\"South Afton\", \"Barrettburgh\", \"South Afton\"), cell_number (\"481-483-9083x37986\", \"121.381.3316x6535\", \"341.667.8085\"), last_name (\"Nicolas\", \"Nicolas\", \"Feil\"), email_address (\"ymaggio@example.com\", \"fschoen@example.net\", \"ybergstrom@example.com\"), zip_code (\"86010\", \"00589\", \"93165\"), owner_id (15, 7, 8) | dogs : date_of_birth (\"2012-05-31 08:01:36\", \"2012-05-03 21:42:25\", \"2012-05-31 08:01:36\"), abandoned_yn (\"1\", \"0\"), date_arrived (\"2017-09-08 20:10:13\", \"2018-01-02 03:15:29\", \"2017-12-29 06:08:26\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), weight (\"1.39\", \"8.95\", \"4.01\"), date_departed (\"2018-03-25 06:58:44\", \"2018-03-25 13:07:04\", \"2018-03-24 19:36:59\"), gender (\"1\", \"0\"), dog_id (4, 11, 6), owner_id (1, 10, 10), date_adopted (\"2018-03-06 16:32:11\", \"2018-03-18 07:47:40\", \"2018-03-08 15:03:00\"), size_code (\"LGE\", \"MED\", \"SML\"), age (\"5\", \"5\", \"8\"), name (\"Merritt\", \"Merritt\", \"Evangeline\") | professionals : cell_number (\"(275)939-2435x80863\", \"00230569697\", \"1-181-670-9466\"), street (\"92912 Langworth Valleys Apt. 743\nThompsonborough, \", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"68589 Bradly Manor\nNew Audrey, IN 91497\"), position_code (\"Employee\", \"Veterenarian\"), first_name (\"Brady\", \"Taryn\", \"Sigurd\"), zip_code (\"33020\", \"41215\", \"67980\"), home_phone (\"320-508-6023\", \"+43(5)1132733868\", \"+43(5)1132733868\"), last_name (\"Walter\", \"Frami\", \"Considine\"), job_code (\"Employee\", \"Veterenarian\"), professional_id (8, 14, 13), state (\"Utah\", \"Hawaii\", \"SouthCarolina\"), city (\"Juddton\", \"West Heidi\", \"New Maryjane\"), email_address (\"lucile.shanahan@example.org\", \"jacynthe.mclaughlin@example.net\", \"jacynthe.mclaughlin@example.net\") | treatments : date_of_treatment (\"2018-03-24 22:25:58\", \"2018-03-19 04:39:54\", \"2018-03-01 04:14:46\"), treatment_id (1, 4, 4), cost_of_treatment (407, 656, 428), dog_id (15, 2, 14), professional_id (10, 5, 4), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_type , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : street , state , first_name , home_phone , city , cell_number , last_name , email_address , zip_code , owner_id | dogs : date_of_birth , abandoned_yn , date_arrived , breed_code , weight , date_departed , gender , dog_id , owner_id , date_adopted , size_code , age , name | professionals : cell_number 939-2435x80863\", \"00230569697\", \"1-181-670-9466\", street , position_code , first_name , zip_code , home_phone 1132733868\", \"+431132733868\", last_name , job_code , professional_id , state , city , email_address | treatments : date_of_treatment , treatment_id , cost_of_treatment , dog_id , professional_id , treatment_type_code", "extra_map": { "professionals": { "role_code": [ "position_code", "job_code" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "position_code", "job_code" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professionals": "professionals", "city": "professionals.city", "role": "professionals.role_code", "street": "professionals.street", "state": "professionals.state" } }, { "question": "which #professionals# live in a #city# containing the substring 'west'? list his or her #role# , #street# , city and #state# .", "db_id": "dog_kennels", "orig_query": "select role_code, street, city, state from professionals where city like '%West%'", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : city (\"East Hillardberg\", \"Brakusfurt\", \"West Leonard\"), last_name (\"Hauck\", \"DuBuque\", \"Stoltenberg\"), cell_number (\"(257)399-3116\", \"478.978.0729\", \"+70(4)9217952551\"), first_name (\"Johann\", \"Nora\", \"Melisa\"), zip_code (\"87304\", \"45244\", \"86010\"), state (\"Florida\", \"NewYork\", \"SouthDakota\"), home_phone (\"916.976.9480x13851\", \"(058)997-7627\", \"066.264.7885\"), email_address (\"hudson.favian@example.com\", \"kturner@example.net\", \"angeline99@example.com\"), owner_id (2, 14, 5), street (\"89011 Kertzmann Spring Suite 642\", \"60352 Kayleigh Crossing Suite 700\", \"2635 Caitlyn Plains\") | dogs : dog_id (13, 4, 2), owner_id (1, 7, 8), gender (\"1\", \"0\"), date_of_birth (\"2008-05-19 15:54:49\", \"2008-05-30 12:51:34\", \"2012-05-31 08:01:36\"), name (\"Lyric\", \"Narciso\", \"George\"), age (\"6\", \"6\", \"9\"), date_departed (\"2018-03-25 04:50:22\", \"2018-03-25 02:11:32\", \"2018-03-25 06:46:07\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), size_code (\"LGE\", \"MED\", \"SML\"), date_adopted (\"2018-03-14 08:05:18\", \"2018-02-27 11:54:35\", \"2018-03-08 15:03:00\"), date_arrived (\"2018-01-17 11:44:16\", \"2017-12-29 23:24:13\", \"2017-10-25 00:55:34\"), weight (\"4.01\", \"4.01\", \"7.57\"), abandoned_yn (\"1\", \"0\") | professionals : metropolis (\"East Ila\", \"Kirastad\", \"Raynorfort\"), state (\"Connecticut\", \"Wyoming\", \"Connecticut\"), last_name (\"Braun\", \"Hyatt\", \"Hyatt\"), town (\"East Ila\", \"Kirastad\", \"Raynorfort\"), first_name (\"Vernice\", \"Velva\", \"Taryn\"), home_phone (\"+02(1)0259033559\", \"325-155-0801x7005\", \"+02(1)0259033559\"), professional_id (5, 8, 13), email_address (\"deanna.schuster@example.com\", \"cole.margarita@example.org\", \"schneider.kathryne@example.org\"), street (\"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\"), role_code (\"Employee\", \"Veterenarian\"), cell_number (\"880-659-7577x736\", \"328.842.3792\", \"328.842.3792\"), zip_code (\"52476\", \"80775\", \"07412\") | treatments : date_of_treatment (\"2018-03-16 10:27:36\", \"2018-03-10 11:45:58\", \"2018-03-01 04:14:46\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (14, 5, 6), treatment_id (9, 15, 15), cost_of_treatment (349, 656, 681), dog_id (15, 15, 1)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_type , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : city , last_name , cell_number 399-3116\", \"478.978.0729\", \"+709217952551\", first_name , zip_code , state , home_phone 997-7627\", \"066.264.7885\", email_address , owner_id , street | dogs : dog_id , owner_id , gender , date_of_birth , name , age , date_departed , breed_code , size_code , date_adopted , date_arrived , weight , abandoned_yn | professionals : metropolis , state , last_name , town , first_name , home_phone 0259033559\", \"325-155-0801x7005\", \"+020259033559\", professional_id , email_address , street , role_code , cell_number , zip_code | treatments : date_of_treatment , treatment_type_code , professional_id , treatment_id , cost_of_treatment , dog_id", "extra_map": { "professionals": { "city": [ "town", "metropolis" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "town", "metropolis" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professionals": "professionals", "city": "professionals.city", "role": "professionals.role_code", "street": "professionals.street", "state": "professionals.state" } }, { "question": "which #professionals# live in a #city# containing the substring 'west'? list his or her #role# , #street# , city and #state# .", "db_id": "dog_kennels", "orig_query": "select role_code, street, city, state from professionals where city like '%West%'", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : first_name (\"Rolando\", \"Johann\", \"Rolando\"), email_address (\"marks.gail@example.org\", \"hudson.favian@example.com\", \"ymaggio@example.com\"), last_name (\"Rippin\", \"DuBuque\", \"Nicolas\"), street (\"692 Jaskolski Forges\", \"57382 Yost Ridges\", \"2417 Keara Stravenue Apt. 146\"), zip_code (\"61019\", \"92406\", \"78297\"), state (\"Washington\", \"Mississippi\", \"Arizona\"), city (\"East Maribelbury\", \"Brakusfurt\", \"South Afton\"), owner_id (14, 10, 6), cell_number (\"762.589.6117x1328\", \"478.978.0729\", \"+00(2)4323592985\"), home_phone (\"916.976.9480x13851\", \"893-862-5295x61709\", \"318-052-6573\") | dogs : abandoned_yn (\"1\", \"0\"), date_adopted (\"2018-03-05 06:05:23\", \"2018-03-07 21:45:43\", \"2018-02-25 23:45:30\"), date_arrived (\"2017-10-25 00:55:34\", \"2017-12-22 05:02:02\", \"2017-12-29 23:24:13\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), size_code (\"LGE\", \"MED\", \"SML\"), weight (\"7.57\", \"8.04\", \"8.95\"), date_departed (\"2018-03-25 15:05:16\", \"2018-03-24 23:48:59\", \"2018-03-25 04:50:22\"), dog_id (5, 7, 1), owner_id (14, 14, 6), age (\"3\", \"8\", \"9\"), gender (\"1\", \"0\"), name (\"Mavis\", \"Mavis\", \"Mavis\"), date_of_birth (\"2012-01-27 05:11:53\", \"2012-01-27 05:11:53\", \"2015-02-26 21:31:22\") | professionals : professional_id (12, 10, 5), zip_code (\"43129\", \"84515\", \"34041\"), cell_number (\"889-940-2676\", \"00230569697\", \"609-405-2990\"), state (\"Alabama\", \"Alabama\", \"Connecticut\"), email_address (\"lambert62@example.org\", \"lucile.shanahan@example.org\", \"jacynthe.mclaughlin@example.net\"), city (\"Kirastad\", \"Kirastad\", \"Domenickton\"), role_code (\"Employee\", \"Veterenarian\"), address_line_1 (\"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\", \"68589 Bradly Manor\nNew Audrey, IN 91497\", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\"), last_name (\"Pouros\", \"Tillman\", \"Christiansen\"), home_phone (\"1-609-566-2752x25197\", \"1-138-287-3775\", \"1-609-566-2752x25197\"), residential_address (\"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\", \"68589 Bradly Manor\nNew Audrey, IN 91497\", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\"), first_name (\"Lesly\", \"Ericka\", \"Lesly\") | treatments : cost_of_treatment (349, 147, 668), professional_id (10, 9, 6), date_of_treatment (\"2018-03-04 20:33:43\", \"2018-03-11 04:23:15\", \"2018-03-24 22:25:58\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (15, 13, 2), treatment_id (10, 12, 5)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_amount , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : first_name , email_address , last_name , street , zip_code , state , city , owner_id , cell_number 4323592985\", home_phone | dogs : abandoned_yn , date_adopted , date_arrived , breed_code , size_code , weight , date_departed , dog_id , owner_id , age , gender , name , date_of_birth | professionals : professional_id , zip_code , cell_number , state , email_address , city , role_code , address_line_1 , last_name , home_phone , residential_address , first_name | treatments : cost_of_treatment , professional_id , date_of_treatment , treatment_type_code , dog_id , treatment_id", "extra_map": { "professionals": { "street": [ "address_line_1", "residential_address" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "address_line_1", "residential_address" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professionals": "professionals", "city": "professionals.city", "role": "professionals.role_code", "street": "professionals.street", "state": "professionals.state" } }, { "question": "which #professionals# live in a #city# containing the substring 'west'? list his or her #role# , #street# , city and #state# .", "db_id": "dog_kennels", "orig_query": "select role_code, street, city, state from professionals where city like '%West%'", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : last_name (\"Stoltenberg\", \"Mertz\", \"Ondricka\"), first_name (\"Emelie\", \"Kade\", \"Lorenz\"), cell_number (\"1-626-264-7659x1697\", \"1-739-421-2225x38148\", \"481-483-9083x37986\"), street (\"1858 Jan Park\", \"68118 Daniel Row\", \"9212 Rosenbaum Lights\"), zip_code (\"36871\", \"92406\", \"35747\"), city (\"Lake Valentin\", \"South Afton\", \"New Margaretteborough\"), email_address (\"hudson.favian@example.com\", \"pearlie18@example.com\", \"marks.gail@example.org\"), home_phone (\"893-862-5295x61709\", \"1-346-655-5842x768\", \"(799)563-0260x454\"), owner_id (12, 7, 7), state (\"Washington\", \"Wisconsin\", \"SouthDakota\") | dogs : date_of_birth (\"2008-10-09 22:38:53\", \"2008-05-30 12:51:34\", \"2012-07-11 17:15:10\"), size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-25 15:05:16\", \"2018-03-24 19:36:59\", \"2018-03-25 04:50:22\"), name (\"Lyric\", \"Hipolito\", \"Jeffrey\"), date_adopted (\"2018-03-06 16:32:11\", \"2018-02-27 11:54:35\", \"2018-03-08 15:03:00\"), age (\"1\", \"2\", \"9\"), dog_id (5, 6, 8), weight (\"1.72\", \"8.04\", \"7.57\"), gender (\"1\", \"0\"), owner_id (12, 3, 2), date_arrived (\"2018-01-02 03:15:29\", \"2017-12-29 23:24:13\", \"2017-12-22 05:02:02\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\") | professionals : last_name (\"Pouros\", \"Considine\", \"Christiansen\"), cell_number (\"139-321-7313\", \"499-434-0215x1628\", \"(275)939-2435x80863\"), home_phone (\"325-155-0801x7005\", \"346.594.3739\", \"+71(6)2898266914\"), city (\"West Heidi\", \"East Ila\", \"West Heidi\"), role_code (\"Employee\", \"Veterenarian\"), territory (\"Alabama\", \"Alabama\", \"Hawaii\"), professional_id (8, 11, 1), province (\"Alabama\", \"Alabama\", \"Hawaii\"), first_name (\"Ericka\", \"Winfield\", \"Danny\"), email_address (\"schneider.kathryne@example.org\", \"lourdes.lowe@example.net\", \"lourdes.lowe@example.net\"), zip_code (\"41215\", \"07412\", \"52476\"), street (\"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \") | treatments : cost_of_treatment (945, 147, 407), professional_id (7, 8, 10), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (10, 11, 14), dog_id (7, 7, 2), date_of_treatment (\"2018-03-08 05:26:23\", \"2018-03-16 10:27:36\", \"2018-03-15 20:25:34\")", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_type , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : last_name , first_name , cell_number , street , zip_code , city , email_address , home_phone 563-0260x454\", owner_id , state | dogs : date_of_birth , size_code , date_departed , name , date_adopted , age , dog_id , weight , gender , owner_id , date_arrived , breed_code , abandoned_yn | professionals : last_name , cell_number 939-2435x80863\", home_phone 2898266914\", city , role_code , territory , professional_id , province , first_name , email_address , zip_code , street | treatments : cost_of_treatment , professional_id , treatment_type_code , treatment_id , dog_id , date_of_treatment", "extra_map": { "professionals": { "state": [ "province", "territory" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "province", "territory" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "professionals": "professionals", "city": "professionals.city", "role": "professionals.role_code", "street": "professionals.street", "state": "professionals.state" } }, { "question": "find the #role# , #street# , #city# and st #ate of the professionals l# iving in a city that contains the substring 'west'.", "db_id": "dog_kennels", "orig_query": "select role_code, street, city, state from professionals where city like '%West%'", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : zip_code (\"11990\", \"35747\", \"02647\"), first_name (\"Johann\", \"Orlando\", \"Gay\"), owner_id (2, 1, 3), home_phone (\"130-796-4589x05454\", \"1-682-845-0116x63235\", \"916.976.9480x13851\"), last_name (\"Schmitt\", \"Mertz\", \"Stoltenberg\"), email_address (\"fschoen@example.net\", \"marks.gail@example.org\", \"wpfeffer@example.net\"), city (\"Lake Jennyferfort\", \"Lake Valentin\", \"South Daisyfurt\"), street (\"68118 Daniel Row\", \"15828 Spencer Extensions\", \"692 Jaskolski Forges\"), cell_number (\"633.455.3045x85484\", \"+00(2)4323592985\", \"633.455.3045x85484\"), state (\"NewYork\", \"Florida\", \"SouthDakota\") | dogs : owner_id (11, 3, 10), name (\"Betty\", \"George\", \"Hipolito\"), age (\"2\", \"9\", \"6\"), date_adopted (\"2018-03-21 10:41:18\", \"2018-02-27 11:54:35\", \"2018-03-13 12:47:15\"), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_arrived (\"2017-04-20 00:58:55\", \"2017-10-24 04:45:13\", \"2017-07-25 15:19:07\"), abandoned_yn (\"1\", \"0\"), date_of_birth (\"2012-05-03 21:42:25\", \"2018-03-17 04:05:12\", \"2013-02-13 05:15:21\"), dog_id (2, 6, 13), size_code (\"LGE\", \"MED\", \"SML\"), weight (\"1.72\", \"7.57\", \"9.48\"), date_departed (\"2018-03-24 19:36:59\", \"2018-03-25 05:07:47\", \"2018-03-25 02:47:40\") | professionals : email_address (\"schneider.kathryne@example.org\", \"jerrod.bahringer@example.org\", \"lourdes.lowe@example.net\"), state (\"Mississippi\", \"Utah\", \"Wyoming\"), job_code (\"Employee\", \"Veterenarian\"), street (\"68589 Bradly Manor\nNew Audrey, IN 91497\", \"68589 Bradly Manor\nNew Audrey, IN 91497\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\"), cell_number (\"1-185-137-1945x409\", \"962-983-8109x3509\", \"461-801-2600\"), zip_code (\"67980\", \"06646\", \"41215\"), professional_id (5, 5, 3), last_name (\"Frami\", \"Pouros\", \"O'Reilly\"), home_phone (\"320-508-6023\", \"1-609-566-2752x25197\", \"325-155-0801x7005\"), position_code (\"Employee\", \"Veterenarian\"), city (\"New Maryjane\", \"Juddton\", \"New Laurytown\"), first_name (\"Vernice\", \"Sigurd\", \"Winfield\") | treatments : date_of_treatment (\"2018-03-01 04:14:46\", \"2018-03-23 13:52:10\", \"2018-03-23 13:52:10\"), cost_of_treatment (407, 656, 139), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (9, 5, 6), treatment_id (7, 3, 8), dog_id (2, 14, 2)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_amount , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : zip_code , first_name , owner_id , home_phone , last_name , email_address , city , street , cell_number 4323592985\", \"633.455.3045x85484\", state | dogs : owner_id , name , age , date_adopted , gender , breed_code , date_arrived , abandoned_yn , date_of_birth , dog_id , size_code , weight , date_departed | professionals : email_address , state , job_code , street , cell_number , zip_code , professional_id , last_name , home_phone , position_code , city , first_name | treatments : date_of_treatment , cost_of_treatment , treatment_type_code , professional_id , treatment_id , dog_id", "extra_map": { "professionals": { "role_code": [ "position_code", "job_code" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "position_code", "job_code" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "role": "professionals.role_code", "street": "professionals.street", "city": "professionals.city", "ate of the professionals l": "professionals", "state": "professionals.state" } }, { "question": "find the #role# , #street# , #city# and st #ate of the professionals l# iving in a city that contains the substring 'west'.", "db_id": "dog_kennels", "orig_query": "select role_code, street, city, state from professionals where city like '%West%'", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : street (\"2635 Caitlyn Plains\", \"60352 Kayleigh Crossing Suite 700\", \"60352 Kayleigh Crossing Suite 700\"), state (\"Vermont\", \"Virginia\", \"Indiana\"), zip_code (\"45244\", \"22731\", \"35747\"), cell_number (\"341.667.8085\", \"633.455.3045x85484\", \"739-136-7202\"), last_name (\"Nicolas\", \"Nicolas\", \"Hauck\"), owner_id (5, 8, 14), email_address (\"fschoen@example.net\", \"marks.gail@example.org\", \"edythe62@example.org\"), city (\"Lake Valentin\", \"South Daisyfurt\", \"West Leonard\"), home_phone (\"066.264.7885\", \"893-862-5295x61709\", \"01802479758\"), first_name (\"Orlando\", \"Tre\", \"Johann\") | dogs : abandoned_yn (\"1\", \"0\"), date_of_birth (\"2012-01-27 05:11:53\", \"2018-03-17 04:05:12\", \"2015-02-26 21:31:22\"), date_departed (\"2018-03-25 04:50:22\", \"2018-03-25 02:47:40\", \"2018-03-25 06:29:10\"), gender (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), age (\"3\", \"3\", \"3\"), dog_id (7, 1, 1), date_adopted (\"2018-02-27 11:54:35\", \"2018-03-25 08:12:51\", \"2018-02-27 11:54:35\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), weight (\"4.01\", \"9.8\", \"8.96\"), owner_id (5, 7, 3), name (\"Jesus\", \"Merritt\", \"Troy\"), date_arrived (\"2017-12-29 23:24:13\", \"2017-10-25 00:55:34\", \"2017-12-29 06:08:26\") | professionals : home_phone (\"+02(1)0259033559\", \"1-138-287-3775\", \"891.475.2256\"), last_name (\"Ullrich\", \"Considine\", \"Pouros\"), state (\"Connecticut\", \"SouthCarolina\", \"Alabama\"), cell_number (\"(369)908-7311x065\", \"880-659-7577x736\", \"(369)908-7311x065\"), metropolis (\"Baileymouth\", \"South Rockyport\", \"North Odellfurt\"), email_address (\"west.eula@example.net\", \"jerrod.bahringer@example.org\", \"lucile.shanahan@example.org\"), street (\"68589 Bradly Manor\nNew Audrey, IN 91497\", \"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"390 Bryce Drive\nNorth Dock, LA 65357-7228\"), professional_id (8, 9, 12), zip_code (\"98844\", \"80775\", \"84515\"), town (\"Baileymouth\", \"South Rockyport\", \"North Odellfurt\"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Vernice\", \"Karley\", \"Ericka\") | treatments : treatment_id (2, 5, 5), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (5, 5, 5), dog_id (4, 4, 10), date_of_treatment (\"2018-03-04 20:33:43\", \"2018-02-26 09:08:53\", \"2018-03-01 04:14:46\"), cost_of_treatment (313, 147, 681)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : street , state , zip_code , cell_number , last_name , owner_id , email_address , city , home_phone , first_name | dogs : abandoned_yn , date_of_birth , date_departed , gender , size_code , age , dog_id , date_adopted , breed_code , weight , owner_id , name , date_arrived | professionals : home_phone 0259033559\", \"1-138-287-3775\", \"891.475.2256\", last_name , state , cell_number 908-7311x065\", \"880-659-7577x736\", \"908-7311x065\", metropolis , email_address , street , professional_id , zip_code , town , role_code , first_name | treatments : treatment_id , treatment_type_code , professional_id , dog_id , date_of_treatment , cost_of_treatment", "extra_map": { "professionals": { "city": [ "town", "metropolis" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "town", "metropolis" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "role": "professionals.role_code", "street": "professionals.street", "city": "professionals.city", "ate of the professionals l": "professionals", "state": "professionals.state" } }, { "question": "find the #role# , #street# , #city# and st #ate of the professionals l# iving in a city that contains the substring 'west'.", "db_id": "dog_kennels", "orig_query": "select role_code, street, city, state from professionals where city like '%West%'", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : home_phone (\"066.264.7885\", \"(799)563-0260x454\", \"363.948.1090\"), first_name (\"Johann\", \"Heather\", \"Emelie\"), cell_number (\"478.978.0729\", \"481-483-9083x37986\", \"762.589.6117x1328\"), email_address (\"margaretta.runte@example.net\", \"ykris@example.com\", \"angeline99@example.com\"), owner_id (13, 4, 15), city (\"New Margaretteborough\", \"Port Reannamouth\", \"Lake Jennyferfort\"), last_name (\"DuBuque\", \"Hauck\", \"Schmitt\"), street (\"6950 Katherine Forges Apt. 630\", \"51934 Treutel Harbor\", \"6950 Katherine Forges Apt. 630\"), state (\"Mississippi\", \"Washington\", \"Arkansas\"), zip_code (\"36871\", \"45244\", \"11990\") | dogs : gender (\"1\", \"0\"), abandoned_yn (\"1\", \"0\"), weight (\"8.96\", \"9.48\", \"8.96\"), date_adopted (\"2018-03-06 16:32:11\", \"2018-03-21 10:41:18\", \"2018-02-25 23:45:30\"), date_departed (\"2018-03-25 02:47:40\", \"2018-03-24 23:48:59\", \"2018-03-25 13:07:04\"), date_arrived (\"2017-10-16 20:06:21\", \"2017-10-16 20:06:21\", \"2018-01-17 11:44:16\"), owner_id (10, 7, 12), dog_id (6, 14, 8), breed_code (\"ESK\", \"BUL\", \"HUS\"), age (\"1\", \"9\", \"6\"), date_of_birth (\"2013-02-20 14:50:56\", \"2008-05-30 12:51:34\", \"2012-01-27 05:11:53\"), size_code (\"LGE\", \"MED\", \"SML\"), name (\"Hipolito\", \"Jesus\", \"Jeffrey\") | professionals : cell_number (\"962-983-8109x3509\", \"880-659-7577x736\", \"609-405-2990\"), home_phone (\"320-508-6023\", \"346.594.3739\", \"891.475.2256\"), zip_code (\"80775\", \"80775\", \"67980\"), city (\"Juddton\", \"Baileymouth\", \"West Heidi\"), email_address (\"lucile.shanahan@example.org\", \"delphine29@example.com\", \"delphine29@example.com\"), role_code (\"Employee\", \"Veterenarian\"), residential_address (\"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"72532 Hane Course\nLake Berylland, ND 95283\"), professional_id (3, 13, 2), first_name (\"Danny\", \"Ruben\", \"Velva\"), state (\"Alabama\", \"Wyoming\", \"Indiana\"), address_line_1 (\"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"72532 Hane Course\nLake Berylland, ND 95283\"), last_name (\"Hayes\", \"O'Reilly\", \"O'Reilly\") | treatments : professional_id (14, 5, 14), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (428, 407, 567), date_of_treatment (\"2018-03-11 04:23:15\", \"2018-03-10 11:45:58\", \"2018-03-19 04:39:54\"), treatment_id (14, 12, 15), dog_id (13, 13, 2)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_type , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : home_phone 563-0260x454\", \"363.948.1090\", first_name , cell_number , email_address , owner_id , city , last_name , street , state , zip_code | dogs : gender , abandoned_yn , weight , date_adopted , date_departed , date_arrived , owner_id , dog_id , breed_code , age , date_of_birth , size_code , name | professionals : cell_number , home_phone , zip_code , city , email_address , role_code , residential_address , professional_id , first_name , state , address_line_1 , last_name | treatments : professional_id , treatment_type_code , cost_of_treatment , date_of_treatment , treatment_id , dog_id", "extra_map": { "professionals": { "street": [ "address_line_1", "residential_address" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "address_line_1", "residential_address" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "role": "professionals.role_code", "street": "professionals.street", "city": "professionals.city", "ate of the professionals l": "professionals", "state": "professionals.state" } }, { "question": "find the #role# , #street# , #city# and st #ate of the professionals l# iving in a city that contains the substring 'west'.", "db_id": "dog_kennels", "orig_query": "select role_code, street, city, state from professionals where city like '%West%'", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : owner_id (3, 5, 8), home_phone (\"(058)997-7627\", \"(058)997-7627\", \"130-796-4589x05454\"), street (\"89011 Kertzmann Spring Suite 642\", \"89011 Kertzmann Spring Suite 642\", \"0647 Hintz Village Apt. 024\"), city (\"South Afton\", \"South Daisyfurt\", \"Lake Valentin\"), last_name (\"Hauck\", \"Mertz\", \"Prohaska\"), first_name (\"Heather\", \"Cindy\", \"Rachelle\"), email_address (\"angeline99@example.com\", \"wpfeffer@example.net\", \"hudson.favian@example.com\"), cell_number (\"559.874.3011x989\", \"(722)768-5439x484\", \"739-136-7202\"), state (\"Virginia\", \"Vermont\", \"NewYork\"), zip_code (\"92406\", \"35747\", \"22731\") | dogs : date_of_birth (\"2012-01-27 05:11:53\", \"2012-05-31 08:01:36\", \"2008-10-09 22:38:53\"), date_arrived (\"2017-10-25 00:55:34\", \"2018-01-17 11:44:16\", \"2017-06-25 10:14:05\"), owner_id (3, 5, 10), breed_code (\"ESK\", \"BUL\", \"HUS\"), age (\"2\", \"3\", \"9\"), size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-25 06:58:44\", \"2018-03-25 02:11:32\", \"2018-03-25 05:07:47\"), gender (\"1\", \"0\"), dog_id (6, 13, 4), date_adopted (\"2018-03-06 16:32:11\", \"2018-03-10 15:06:43\", \"2018-03-10 15:06:43\"), weight (\"8.95\", \"7.57\", \"8.04\"), abandoned_yn (\"1\", \"0\"), name (\"Mavis\", \"Mavis\", \"Houston\") | professionals : home_phone (\"(920)304-4499x59146\", \"971.048.3763x9404\", \"+02(1)0259033559\"), last_name (\"Frami\", \"Hyatt\", \"Frami\"), role_code (\"Employee\", \"Veterenarian\"), street (\"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"92912 Langworth Valleys Apt. 743\nThompsonborough, \", \"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\"), cell_number (\"1-185-137-1945x409\", \"(369)908-7311x065\", \"461-801-2600\"), professional_id (5, 7, 14), zip_code (\"67980\", \"80775\", \"77129\"), email_address (\"mekhi.little@example.org\", \"goyette.roosevelt@example.net\", \"mekhi.little@example.org\"), city (\"Borisside\", \"New Maryjane\", \"West Heidi\"), territory (\"California\", \"Mississippi\", \"Wyoming\"), province (\"California\", \"Mississippi\", \"Wyoming\"), first_name (\"Velva\", \"Jayson\", \"Brady\") | treatments : professional_id (14, 9, 5), date_of_treatment (\"2018-03-13 12:22:58\", \"2018-03-16 10:27:36\", \"2018-03-10 11:45:58\"), cost_of_treatment (429, 681, 945), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (1, 11, 5), dog_id (4, 2, 14)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : owner_id , home_phone 997-7627\", \"997-7627\", \"130-796-4589x05454\", street , city , last_name , first_name , email_address , cell_number 768-5439x484\", \"739-136-7202\", state , zip_code | dogs : date_of_birth , date_arrived , owner_id , breed_code , age , size_code , date_departed , gender , dog_id , date_adopted , weight , abandoned_yn , name | professionals : home_phone 304-4499x59146\", \"971.048.3763x9404\", \"+020259033559\", last_name , role_code , street , cell_number 908-7311x065\", \"461-801-2600\", professional_id , zip_code , email_address , city , territory , province , first_name | treatments : professional_id , date_of_treatment , cost_of_treatment , treatment_type_code , treatment_id , dog_id", "extra_map": { "professionals": { "state": [ "province", "territory" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "province", "territory" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "role": "professionals.role_code", "street": "professionals.street", "city": "professionals.city", "ate of the professionals l": "professionals", "state": "professionals.state" } }, { "question": "which owners live in the #state# whose name contains the substring 'north'? list his #first name# , #last name# and #email# .", "db_id": "dog_kennels", "orig_query": "select first_name, last_name, email_address from owners where state like '%North%'", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : email_address (\"margaretta.runte@example.net\", \"angeline99@example.com\", \"ybergstrom@example.com\"), surname (\"Rippin\", \"Stoltenberg\", \"Rippin\"), first_name (\"Jaclyn\", \"Adelle\", \"Rachelle\"), city (\"Lake Jennyferfort\", \"Port Reannamouth\", \"Port Zackery\"), state (\"Wisconsin\", \"Maryland\", \"Mississippi\"), family_name (\"Rippin\", \"Stoltenberg\", \"Rippin\"), zip_code (\"35747\", \"00589\", \"22731\"), street (\"59509 Mellie Mountain\", \"6950 Katherine Forges Apt. 630\", \"2635 Caitlyn Plains\"), cell_number (\"762.589.6117x1328\", \"481-483-9083x37986\", \"+00(2)4323592985\"), owner_id (2, 11, 10), home_phone (\"085.557.0379x84348\", \"1-332-849-1908\", \"01802479758\") | dogs : weight (\"4.36\", \"4.01\", \"1.39\"), abandoned_yn (\"1\", \"0\"), owner_id (14, 12, 1), age (\"5\", \"3\", \"1\"), date_departed (\"2018-03-25 02:47:40\", \"2018-03-24 23:48:59\", \"2018-03-25 13:07:04\"), date_of_birth (\"2008-05-19 15:54:49\", \"2008-05-19 15:54:49\", \"2009-04-12 06:02:48\"), date_adopted (\"2018-03-18 15:12:50\", \"2018-02-27 11:54:35\", \"2018-03-07 21:45:43\"), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), dog_id (7, 7, 15), name (\"Jeffrey\", \"Jesus\", \"Kacey\"), size_code (\"LGE\", \"MED\", \"SML\"), date_arrived (\"2017-04-20 00:58:55\", \"2017-06-25 10:14:05\", \"2017-04-15 09:25:31\") | professionals : last_name (\"O'Reilly\", \"O'Reilly\", \"Kshlerin\"), state (\"Mississippi\", \"Wyoming\", \"NewMexico\"), cell_number (\"328.842.3792\", \"00230569697\", \"011.193.9081x3186\"), street (\"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\"), professional_id (5, 10, 7), zip_code (\"77129\", \"41215\", \"41215\"), email_address (\"lourdes.lowe@example.net\", \"goyette.roosevelt@example.net\", \"uboehm@example.org\"), role_code (\"Employee\", \"Veterenarian\"), home_phone (\"1-138-287-3775\", \"1-138-287-3775\", \"(230)338-3342x585\"), city (\"West Heidi\", \"Raynorfort\", \"West Heidi\"), first_name (\"Velva\", \"Ericka\", \"Velva\") | treatments : dog_id (15, 7, 13), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (4, 4, 6), cost_of_treatment (266, 407, 567), treatment_id (5, 11, 4), date_of_treatment (\"2018-03-16 10:27:36\", \"2018-02-26 09:08:53\", \"2018-03-14 19:10:40\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : email_address , surname , first_name , city , state , family_name , zip_code , street , cell_number 4323592985\", owner_id , home_phone | dogs : weight , abandoned_yn , owner_id , age , date_departed , date_of_birth , date_adopted , gender , breed_code , dog_id , name , size_code , date_arrived | professionals : last_name , state , cell_number , street , professional_id , zip_code , email_address , role_code , home_phone 338-3342x585\", city , first_name | treatments : dog_id , treatment_type_code , professional_id , cost_of_treatment , treatment_id , date_of_treatment", "extra_map": { "owners": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "surname", "family_name" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "state": "Owners.state", "first name": "Owners.first_name", "last name": "Owners.last_name", "email": "Owners.email_address" } }, { "question": "which owners live in the #state# whose name contains the substring 'north'? list his #first name# , #last name# and #email# .", "db_id": "dog_kennels", "orig_query": "select first_name, last_name, email_address from owners where state like '%North%'", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : forename (\"Cindy\", \"Nora\", \"Heather\"), owner_id (9, 4, 10), street (\"692 Jaskolski Forges\", \"9212 Rosenbaum Lights\", \"692 Jaskolski Forges\"), email_address (\"christy49@example.org\", \"ybergstrom@example.com\", \"angeline99@example.com\"), home_phone (\"893-862-5295x61709\", \"(094)747-5094x8134\", \"(799)563-0260x454\"), city (\"South Afton\", \"West Leonard\", \"Port Reannamouth\"), last_name (\"Ondricka\", \"Schmitt\", \"Price\"), zip_code (\"87304\", \"25609\", \"86010\"), given_name (\"Cindy\", \"Nora\", \"Heather\"), state (\"Washington\", \"Mississippi\", \"Arizona\"), cell_number (\"341.667.8085\", \"1-626-264-7659x1697\", \"478.978.0729\") | dogs : date_of_birth (\"2017-09-19 05:39:09\", \"2012-10-14 14:44:37\", \"2008-10-09 22:38:53\"), owner_id (13, 7, 7), date_departed (\"2018-03-25 10:25:46\", \"2018-03-25 15:05:16\", \"2018-03-25 02:47:40\"), gender (\"1\", \"0\"), date_adopted (\"2018-03-14 08:05:18\", \"2018-03-23 16:02:04\", \"2018-03-21 10:41:18\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (5, 3, 13), weight (\"3.52\", \"4.01\", \"5.16\"), age (\"1\", \"2\", \"4\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), name (\"Mavis\", \"Merritt\", \"Evangeline\"), abandoned_yn (\"1\", \"0\"), date_arrived (\"2017-09-08 20:10:13\", \"2018-01-02 03:15:29\", \"2018-01-02 03:15:29\") | professionals : zip_code (\"80775\", \"98844\", \"07412\"), state (\"Mississippi\", \"Montana\", \"NorthCarolina\"), last_name (\"Christiansen\", \"Watsica\", \"O'Reilly\"), first_name (\"Jayson\", \"Brady\", \"Brady\"), city (\"Kirastad\", \"Jaceton\", \"West Heidi\"), professional_id (7, 15, 10), home_phone (\"1-138-287-3775\", \"022.529.0550x1319\", \"312.216.3352\"), email_address (\"west.eula@example.net\", \"goyette.roosevelt@example.net\", \"lourdes.lowe@example.net\"), role_code (\"Employee\", \"Veterenarian\"), street (\"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"36895 Eli Ferry\nPort Marcelle, FL 45712\"), cell_number (\"00230569697\", \"00230569697\", \"00230569697\") | treatments : treatment_id (10, 4, 7), cost_of_treatment (429, 266, 681), date_of_treatment (\"2018-02-28 17:09:43\", \"2018-03-08 05:26:23\", \"2018-03-14 19:10:40\"), dog_id (1, 1, 10), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (5, 5, 4)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_type , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : forename , owner_id , street , email_address , home_phone 747-5094x8134\", \"563-0260x454\", city , last_name , zip_code , given_name , state , cell_number | dogs : date_of_birth , owner_id , date_departed , gender , date_adopted , size_code , dog_id , weight , age , breed_code , name , abandoned_yn , date_arrived | professionals : zip_code , state , last_name , first_name , city , professional_id , home_phone , email_address , role_code , street , cell_number | treatments : treatment_id , cost_of_treatment , date_of_treatment , dog_id , treatment_type_code , professional_id", "extra_map": { "owners": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "given_name", "forename" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "state": "Owners.state", "first name": "Owners.first_name", "last name": "Owners.last_name", "email": "Owners.email_address" } }, { "question": "which owners live in the #state# whose name contains the substring 'north'? list his #first name# , #last name# and #email# .", "db_id": "dog_kennels", "orig_query": "select first_name, last_name, email_address from owners where state like '%North%'", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : owner_id (6, 3, 11), city (\"East Hillardberg\", \"Brakusfurt\", \"South Afton\"), street (\"1204 Mae Highway Apt. 107\", \"6950 Katherine Forges Apt. 630\", \"0647 Hintz Village Apt. 024\"), electronic_mail (\"wpfeffer@example.net\", \"edythe62@example.org\", \"kturner@example.net\"), zip_code (\"87304\", \"45244\", \"00589\"), home_phone (\"(058)997-7627\", \"(094)747-5094x8134\", \"(094)747-5094x8134\"), email (\"wpfeffer@example.net\", \"edythe62@example.org\", \"kturner@example.net\"), cell_number (\"559.874.3011x989\", \"478.978.0729\", \"481-483-9083x37986\"), first_name (\"Heather\", \"Kade\", \"Kade\"), last_name (\"DuBuque\", \"Schmitt\", \"Funk\"), state (\"NorthDakota\", \"Maryland\", \"Maryland\") | dogs : date_adopted (\"2018-03-07 21:45:43\", \"2018-03-14 08:05:18\", \"2018-03-25 08:12:51\"), abandoned_yn (\"1\", \"0\"), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_of_birth (\"2012-07-11 17:15:10\", \"2015-02-26 21:31:22\", \"2013-02-20 14:50:56\"), date_departed (\"2018-03-25 02:11:32\", \"2018-03-25 06:29:10\", \"2018-03-25 14:15:41\"), date_arrived (\"2018-01-17 11:44:16\", \"2017-04-15 09:25:31\", \"2017-04-15 09:25:31\"), name (\"Betty\", \"Holden\", \"Holden\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (11, 13, 4), age (\"9\", \"2\", \"6\"), weight (\"9.48\", \"3.52\", \"9.48\"), owner_id (8, 14, 1) | professionals : city (\"Juddton\", \"South Rockyport\", \"North Odellfurt\"), home_phone (\"+02(1)0259033559\", \"1-138-287-3775\", \"1-609-566-2752x25197\"), street (\"72532 Hane Course\nLake Berylland, ND 95283\", \"390 Bryce Drive\nNorth Dock, LA 65357-7228\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \"), role_code (\"Employee\", \"Veterenarian\"), cell_number (\"(275)939-2435x80863\", \"(369)908-7311x065\", \"962-983-8109x3509\"), zip_code (\"33020\", \"34041\", \"17902\"), email_address (\"jacynthe.mclaughlin@example.net\", \"west.eula@example.net\", \"lucile.shanahan@example.org\"), state (\"Wyoming\", \"California\", \"Utah\"), last_name (\"Hyatt\", \"Walter\", \"Hyatt\"), professional_id (8, 4, 13), first_name (\"Velva\", \"Danny\", \"Ericka\") | treatments : cost_of_treatment (147, 514, 945), professional_id (6, 14, 14), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-19 04:39:54\", \"2018-03-08 05:26:23\", \"2018-03-01 04:14:46\"), treatment_id (13, 6, 13), dog_id (12, 2, 4)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_amount , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : owner_id , city , street , electronic_mail , zip_code , home_phone 997-7627\", \"747-5094x8134\", \"747-5094x8134\", email , cell_number , first_name , last_name , state | dogs : date_adopted , abandoned_yn , gender , breed_code , date_of_birth , date_departed , date_arrived , name , size_code , dog_id , age , weight , owner_id | professionals : city , home_phone 0259033559\", \"1-138-287-3775\", \"1-609-566-2752x25197\", street , role_code , cell_number 939-2435x80863\", \"908-7311x065\", \"962-983-8109x3509\", zip_code , email_address , state , last_name , professional_id , first_name | treatments : cost_of_treatment , professional_id , treatment_type_code , date_of_treatment , treatment_id , dog_id", "extra_map": { "owners": { "email_address": [ "email", "electronic_mail" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "home_phone", "cell_number", "email", "electronic_mail" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "state": "Owners.state", "first name": "Owners.first_name", "last name": "Owners.last_name", "email": "Owners.email_address" } }, { "question": "return the #first name# , #last name# and #email# of the owners living in a #state# whose name contains the substring 'north'.", "db_id": "dog_kennels", "orig_query": "select first_name, last_name, email_address from owners where state like '%North%'", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : cell_number (\"478.978.0729\", \"633.455.3045x85484\", \"1-626-264-7659x1697\"), owner_id (9, 13, 11), family_name (\"Ondricka\", \"DuBuque\", \"Nicolas\"), zip_code (\"92406\", \"61019\", \"02647\"), email_address (\"fschoen@example.net\", \"marks.gail@example.org\", \"wpfeffer@example.net\"), home_phone (\"(799)563-0260x454\", \"085.557.0379x84348\", \"(058)997-7627\"), street (\"6950 Katherine Forges Apt. 630\", \"57382 Yost Ridges\", \"9212 Rosenbaum Lights\"), city (\"East Hillardberg\", \"Port Zackery\", \"Port Zackery\"), surname (\"Ondricka\", \"DuBuque\", \"Nicolas\"), first_name (\"Orlando\", \"Adelle\", \"Cindy\"), state (\"Washington\", \"Virginia\", \"Vermont\") | dogs : date_arrived (\"2018-01-17 11:44:16\", \"2017-12-22 05:02:02\", \"2017-04-20 00:58:55\"), abandoned_yn (\"1\", \"0\"), date_of_birth (\"2013-02-13 05:15:21\", \"2010-11-11 07:11:53\", \"2012-05-31 08:01:36\"), gender (\"1\", \"0\"), name (\"Mavis\", \"Houston\", \"Merritt\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), weight (\"3.52\", \"1.72\", \"1.72\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (8, 5, 13), age (\"5\", \"1\", \"1\"), owner_id (2, 5, 3), date_adopted (\"2018-03-18 15:12:50\", \"2018-03-05 06:05:23\", \"2018-03-08 15:03:00\"), date_departed (\"2018-03-25 02:11:32\", \"2018-03-24 19:36:59\", \"2018-03-25 14:15:41\") | professionals : state (\"NorthCarolina\", \"NewMexico\", \"Indiana\"), email_address (\"lucile.shanahan@example.org\", \"lucile.shanahan@example.org\", \"marquardt.furman@example.org\"), street (\"68589 Bradly Manor\nNew Audrey, IN 91497\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\"), home_phone (\"346.594.3739\", \"+02(1)0259033559\", \"971.048.3763x9404\"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Ericka\", \"Velva\", \"Brady\"), last_name (\"Hayes\", \"Tillman\", \"Braun\"), professional_id (4, 4, 13), zip_code (\"77129\", \"52476\", \"54312\"), city (\"Kirastad\", \"New Laurytown\", \"South Rockyport\"), cell_number (\"1-185-137-1945x409\", \"962-983-8109x3509\", \"1-258-285-4707x8020\") | treatments : professional_id (5, 7, 14), treatment_id (10, 3, 15), cost_of_treatment (147, 428, 514), dog_id (13, 12, 14), date_of_treatment (\"2018-03-11 04:23:15\", \"2018-03-08 05:26:23\", \"2018-03-16 10:27:36\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_amount , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : cell_number , owner_id , family_name , zip_code , email_address , home_phone 563-0260x454\", \"085.557.0379x84348\", \"997-7627\", street , city , surname , first_name , state | dogs : date_arrived , abandoned_yn , date_of_birth , gender , name , breed_code , weight , size_code , dog_id , age , owner_id , date_adopted , date_departed | professionals : state , email_address , street , home_phone 0259033559\", \"971.048.3763x9404\", role_code , first_name , last_name , professional_id , zip_code , city , cell_number | treatments : professional_id , treatment_id , cost_of_treatment , dog_id , date_of_treatment , treatment_type_code", "extra_map": { "owners": { "last_name": [ "surname", "family_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "surname", "family_name" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "first name": "Owners.first_name", "last name": "Owners.last_name", "email": "Owners.email_address", "state": "Owners.state" } }, { "question": "return the #first name# , #last name# and #email# of the owners living in a #state# whose name contains the substring 'north'.", "db_id": "dog_kennels", "orig_query": "select first_name, last_name, email_address from owners where state like '%North%'", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : owner_id (2, 6, 3), home_phone (\"(058)997-7627\", \"(058)997-7627\", \"(094)747-5094x8134\"), cell_number (\"762.589.6117x1328\", \"1-739-421-2225x38148\", \"1-739-421-2225x38148\"), email_address (\"marks.gail@example.org\", \"wpfeffer@example.net\", \"edythe62@example.org\"), forename (\"Heather\", \"Adelle\", \"Gay\"), last_name (\"Fisher\", \"Nicolas\", \"DuBuque\"), state (\"Florida\", \"Arizona\", \"Mississippi\"), city (\"South Daisyfurt\", \"South Daisyfurt\", \"New Margaretteborough\"), zip_code (\"00589\", \"11990\", \"22693\"), given_name (\"Heather\", \"Adelle\", \"Gay\"), street (\"6950 Katherine Forges Apt. 630\", \"1204 Mae Highway Apt. 107\", \"89011 Kertzmann Spring Suite 642\") | dogs : abandoned_yn (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), date_adopted (\"2018-03-23 16:02:04\", \"2018-03-23 16:02:04\", \"2018-03-05 06:05:23\"), date_arrived (\"2017-10-24 04:45:13\", \"2018-01-17 11:44:16\", \"2017-10-24 04:45:13\"), name (\"Troy\", \"Narciso\", \"Betty\"), owner_id (14, 2, 2), age (\"8\", \"2\", \"5\"), dog_id (15, 7, 8), date_departed (\"2018-03-25 06:29:10\", \"2018-03-25 13:07:04\", \"2018-03-25 06:46:07\"), date_of_birth (\"2015-02-26 21:31:22\", \"2015-02-26 21:31:22\", \"2012-05-03 21:42:25\"), gender (\"1\", \"0\"), weight (\"8.96\", \"9.8\", \"7.57\"), breed_code (\"ESK\", \"BUL\", \"HUS\") | professionals : city (\"Kirastad\", \"Domenickton\", \"McLaughlinfort\"), cell_number (\"1-181-670-9466\", \"139-321-7313\", \"328.842.3792\"), state (\"Montana\", \"Connecticut\", \"Wyoming\"), professional_id (9, 12, 12), street (\"390 Bryce Drive\nNorth Dock, LA 65357-7228\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\"), role_code (\"Employee\", \"Veterenarian\"), last_name (\"Hayes\", \"Hyatt\", \"Christiansen\"), home_phone (\"320-508-6023\", \"1-138-287-3775\", \"1-609-566-2752x25197\"), email_address (\"jerrod.bahringer@example.org\", \"jerrod.bahringer@example.org\", \"mekhi.little@example.org\"), zip_code (\"43129\", \"67980\", \"67980\"), first_name (\"Velva\", \"Monte\", \"Olaf\") | treatments : cost_of_treatment (945, 514, 266), professional_id (8, 5, 6), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (12, 5, 10), date_of_treatment (\"2018-03-01 04:14:46\", \"2018-03-01 04:14:46\", \"2018-03-14 19:10:40\"), dog_id (13, 2, 15)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : owner_id , home_phone 997-7627\", \"997-7627\", \"747-5094x8134\", cell_number , email_address , forename , last_name , state , city , zip_code , given_name , street | dogs : abandoned_yn , size_code , date_adopted , date_arrived , name , owner_id , age , dog_id , date_departed , date_of_birth , gender , weight , breed_code | professionals : city , cell_number , state , professional_id , street , role_code , last_name , home_phone , email_address , zip_code , first_name | treatments : cost_of_treatment , professional_id , treatment_type_code , treatment_id , date_of_treatment , dog_id", "extra_map": { "owners": { "first_name": [ "given_name", "forename" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number", "given_name", "forename" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "first name": "Owners.first_name", "last name": "Owners.last_name", "email": "Owners.email_address", "state": "Owners.state" } }, { "question": "return the #first name# , #last name# and #email# of the owners living in a #state# whose name contains the substring 'north'.", "db_id": "dog_kennels", "orig_query": "select first_name, last_name, email_address from owners where state like '%North%'", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : state (\"Vermont\", \"Virginia\", \"Washington\"), email (\"kturner@example.net\", \"lynn81@example.org\", \"wpfeffer@example.net\"), home_phone (\"(799)563-0260x454\", \"085.557.0379x84348\", \"363.948.1090\"), city (\"Lake Tia\", \"Lake Tia\", \"Lake Jennyferfort\"), zip_code (\"87304\", \"87304\", \"11990\"), first_name (\"Orlando\", \"Cindy\", \"Gay\"), street (\"1204 Mae Highway Apt. 107\", \"6950 Katherine Forges Apt. 630\", \"9212 Rosenbaum Lights\"), electronic_mail (\"kturner@example.net\", \"lynn81@example.org\", \"wpfeffer@example.net\"), owner_id (1, 9, 9), last_name (\"Fisher\", \"Stoltenberg\", \"Hamill\"), cell_number (\"478.978.0729\", \"559.874.3011x989\", \"1-626-264-7659x1697\") | dogs : weight (\"1.72\", \"4.36\", \"9.8\"), abandoned_yn (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), date_of_birth (\"2012-10-14 14:44:37\", \"2013-02-13 05:15:21\", \"2012-01-27 05:11:53\"), owner_id (14, 12, 1), date_adopted (\"2018-03-18 07:47:40\", \"2018-02-27 00:27:57\", \"2018-03-10 15:06:43\"), dog_id (10, 14, 1), breed_code (\"ESK\", \"BUL\", \"HUS\"), name (\"Jeffrey\", \"Mavis\", \"Troy\"), date_departed (\"2018-03-25 04:42:14\", \"2018-03-25 10:25:46\", \"2018-03-25 02:47:40\"), age (\"2\", \"4\", \"5\"), date_arrived (\"2017-07-25 15:19:07\", \"2017-12-22 05:02:02\", \"2017-04-15 09:25:31\"), gender (\"1\", \"0\") | professionals : zip_code (\"34041\", \"33020\", \"02281\"), home_phone (\"891.475.2256\", \"346.594.3739\", \"891.475.2256\"), city (\"Borisside\", \"Jaceton\", \"Baileymouth\"), last_name (\"Walter\", \"O'Reilly\", \"Murazik\"), email_address (\"cole.margarita@example.org\", \"lucile.shanahan@example.org\", \"goyette.roosevelt@example.net\"), street (\"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \"), first_name (\"Karley\", \"Karley\", \"Sigurd\"), cell_number (\"011.193.9081x3186\", \"1-185-137-1945x409\", \"139-321-7313\"), role_code (\"Employee\", \"Veterenarian\"), professional_id (4, 12, 14), state (\"NewMexico\", \"Connecticut\", \"Montana\") | treatments : professional_id (14, 10, 7), cost_of_treatment (313, 266, 429), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (3, 3, 11), date_of_treatment (\"2018-03-01 04:14:46\", \"2018-03-08 05:26:23\", \"2018-03-16 10:27:36\"), dog_id (14, 13, 12)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_type , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : state , email , home_phone 563-0260x454\", \"085.557.0379x84348\", \"363.948.1090\", city , zip_code , first_name , street , electronic_mail , owner_id , last_name , cell_number | dogs : weight , abandoned_yn , size_code , date_of_birth , owner_id , date_adopted , dog_id , breed_code , name , date_departed , age , date_arrived , gender | professionals : zip_code , home_phone , city , last_name , email_address , street , first_name , cell_number , role_code , professional_id , state | treatments : professional_id , cost_of_treatment , treatment_type_code , treatment_id , date_of_treatment , dog_id", "extra_map": { "owners": { "email_address": [ "email", "electronic_mail" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "home_phone", "cell_number", "email", "electronic_mail" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "first name": "Owners.first_name", "last name": "Owners.last_name", "email": "Owners.email_address", "state": "Owners.state" } }, { "question": "how much does the #most recent treatment cost# ?", "db_id": "dog_kennels", "orig_query": "select cost_of_treatment from treatments order by date_of_treatment desc limit 1", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : street (\"2417 Keara Stravenue Apt. 146\", \"1858 Jan Park\", \"1858 Jan Park\"), state (\"Wisconsin\", \"NewYork\", \"Maryland\"), zip_code (\"36871\", \"78297\", \"36871\"), first_name (\"Gay\", \"Orlando\", \"Rachelle\"), city (\"South Daisyfurt\", \"Beerton\", \"Lake Valentin\"), owner_id (11, 3, 11), last_name (\"Schmitt\", \"Rippin\", \"Hauck\"), email_address (\"fschoen@example.net\", \"edythe62@example.org\", \"marks.gail@example.org\"), cell_number (\"+00(2)4323592985\", \"1-626-264-7659x1697\", \"(257)399-3116\"), home_phone (\"130-796-4589x05454\", \"(058)997-7627\", \"(799)563-0260x454\") | dogs : age (\"1\", \"2\", \"5\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (7, 13, 5), date_of_birth (\"2012-07-11 17:15:10\", \"2015-02-26 21:31:22\", \"2009-04-12 06:02:48\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\"), name (\"Mavis\", \"Kacey\", \"Narciso\"), owner_id (13, 12, 10), date_adopted (\"2018-03-07 21:45:43\", \"2018-03-13 12:47:15\", \"2018-03-18 15:12:50\"), gender (\"1\", \"0\"), date_departed (\"2018-03-25 05:07:47\", \"2018-03-25 02:47:40\", \"2018-03-25 06:58:44\"), weight (\"1.72\", \"9.8\", \"1.72\"), date_arrived (\"2017-12-29 23:24:13\", \"2017-06-18 19:45:38\", \"2017-12-29 23:24:13\") | professionals : state (\"Utah\", \"Mississippi\", \"Connecticut\"), city (\"New Laurytown\", \"Juddton\", \"East Ila\"), professional_id (1, 15, 15), last_name (\"Murazik\", \"Pouros\", \"Murazik\"), cell_number (\"461-801-2600\", \"880-659-7577x736\", \"889-940-2676\"), first_name (\"Vernice\", \"Vernice\", \"Danny\"), zip_code (\"02281\", \"43129\", \"67980\"), home_phone (\"+02(1)0259033559\", \"022.529.0550x1319\", \"+43(5)1132733868\"), role_code (\"Employee\", \"Veterenarian\"), email_address (\"lucile.shanahan@example.org\", \"deanna.schuster@example.com\", \"jeichmann@example.com\"), street (\"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \") | treatments : fee_of_treatment (852, 514, 139), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (4, 8, 9), treatment_id (8, 14, 13), price_of_treatment (852, 514, 139), date_of_treatment (\"2018-03-19 04:39:54\", \"2018-03-23 13:52:10\", \"2018-03-23 13:52:10\"), dog_id (13, 10, 13)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_id , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : street , state , zip_code , first_name , city , owner_id , last_name , email_address , cell_number 4323592985\", \"1-626-264-7659x1697\", \"399-3116\", home_phone 997-7627\", \"563-0260x454\" | dogs : age , size_code , dog_id , date_of_birth , breed_code , abandoned_yn , name , owner_id , date_adopted , gender , date_departed , weight , date_arrived | professionals : state , city , professional_id , last_name , cell_number , first_name , zip_code , home_phone 0259033559\", \"022.529.0550x1319\", \"+431132733868\", role_code , email_address , street | treatments : fee_of_treatment , treatment_type_code , professional_id , treatment_id , price_of_treatment , date_of_treatment , dog_id", "extra_map": { "treatments": { "cost_of_treatment": [ "price_of_treatment", "fee_of_treatment" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "price_of_treatment", "fee_of_treatment" ] }, "column_linking_gt": { "most recent treatment cost": "Treatments.cost_of_treatment" } }, { "question": "show me the #cost of the most recently performed treatment# .", "db_id": "dog_kennels", "orig_query": "select cost_of_treatment from treatments order by date_of_treatment desc limit 1", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : owner_id (12, 14, 2), first_name (\"Nora\", \"Orlando\", \"Rolando\"), zip_code (\"11990\", \"45244\", \"11990\"), city (\"Beerton\", \"Lake Jennyferfort\", \"South Daisyfurt\"), state (\"Mississippi\", \"Arizona\", \"NorthDakota\"), street (\"68118 Daniel Row\", \"89011 Kertzmann Spring Suite 642\", \"2417 Keara Stravenue Apt. 146\"), email_address (\"ykris@example.com\", \"ymaggio@example.com\", \"christy49@example.org\"), home_phone (\"893-862-5295x61709\", \"01802479758\", \"(094)747-5094x8134\"), cell_number (\"1-739-421-2225x38148\", \"478.978.0729\", \"+70(4)9217952551\"), last_name (\"Schmitt\", \"Hauck\", \"Hamill\") | dogs : date_arrived (\"2017-12-22 05:02:02\", \"2017-04-20 00:58:55\", \"2017-04-15 09:25:31\"), abandoned_yn (\"1\", \"0\"), weight (\"9.8\", \"2.18\", \"6.92\"), gender (\"1\", \"0\"), date_of_birth (\"2012-10-14 14:44:37\", \"2012-07-11 17:15:10\", \"2012-07-11 17:15:10\"), owner_id (7, 14, 11), date_departed (\"2018-03-25 10:25:46\", \"2018-03-25 06:46:07\", \"2018-03-24 23:48:59\"), date_adopted (\"2018-03-14 08:05:18\", \"2018-02-27 11:54:35\", \"2018-02-27 00:27:57\"), name (\"Jeffrey\", \"Troy\", \"Merritt\"), age (\"3\", \"3\", \"4\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), dog_id (12, 1, 6), size_code (\"LGE\", \"MED\", \"SML\") | professionals : email_address (\"jeichmann@example.com\", \"cole.margarita@example.org\", \"jacynthe.mclaughlin@example.net\"), professional_id (11, 11, 5), zip_code (\"06646\", \"84515\", \"43129\"), home_phone (\"246-951-0080x76716\", \"891.475.2256\", \"346.594.3739\"), street (\"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\"), state (\"Wisconsin\", \"Utah\", \"Connecticut\"), role_code (\"Employee\", \"Veterenarian\"), last_name (\"Christiansen\", \"Walter\", \"Watsica\"), cell_number (\"328.842.3792\", \"011.193.9081x3186\", \"1-258-285-4707x8020\"), first_name (\"Ruben\", \"Taryn\", \"Olaf\"), city (\"Raynorfort\", \"West Heidi\", \"Kirastad\") | treatments : professional_id (5, 6, 9), treatment_id (14, 13, 12), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-15 19:10:02\", \"2018-03-01 04:14:46\", \"2018-03-01 04:14:46\"), price_of_treatment (147, 668, 852), fee_of_treatment (147, 668, 852), dog_id (12, 7, 10)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , charge_type , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : owner_id , first_name , zip_code , city , state , street , email_address , home_phone 747-5094x8134\", cell_number 9217952551\", last_name | dogs : date_arrived , abandoned_yn , weight , gender , date_of_birth , owner_id , date_departed , date_adopted , name , age , breed_code , dog_id , size_code | professionals : email_address , professional_id , zip_code , home_phone , street , state , role_code , last_name , cell_number , first_name , city | treatments : professional_id , treatment_id , treatment_type_code , date_of_treatment , price_of_treatment , fee_of_treatment , dog_id", "extra_map": { "treatments": { "cost_of_treatment": [ "price_of_treatment", "fee_of_treatment" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "price_of_treatment", "fee_of_treatment" ] }, "column_linking_gt": { "cost of the most recently performed treatment": "Treatments.cost_of_treatment" } }, { "question": "list the #dog name# , #age# and w #eight of the dogs# who have been #abandoned# ? 1 stands for yes, and 0 stands for no.", "db_id": "dog_kennels", "orig_query": "select name, age, weight from dogs where abandoned_yn = 1", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : first_name (\"Jaclyn\", \"Cindy\", \"Nora\"), home_phone (\"01802479758\", \"1-682-845-0116x63235\", \"085.557.0379x84348\"), street (\"9212 Rosenbaum Lights\", \"2417 Keara Stravenue Apt. 146\", \"1204 Mae Highway Apt. 107\"), owner_id (15, 10, 12), zip_code (\"36871\", \"87304\", \"87304\"), city (\"Port Reannamouth\", \"South Afton\", \"Lake Valentin\"), state (\"Indiana\", \"SouthDakota\", \"Washington\"), email_address (\"kturner@example.net\", \"lynn81@example.org\", \"wpfeffer@example.net\"), last_name (\"Fisher\", \"DuBuque\", \"Rippin\"), cell_number (\"341.667.8085\", \"762.589.6117x1328\", \"478.978.0729\") | dogs : abandoned_yn (\"1\", \"0\"), gender (\"1\", \"0\"), dog_id (13, 10, 13), weight (\"1.39\", \"7.57\", \"1.72\"), date_of_birth (\"2010-11-11 07:11:53\", \"2008-10-09 22:38:53\", \"2017-09-19 05:39:09\"), date_departed (\"2018-03-25 02:47:40\", \"2018-03-24 19:12:22\", \"2018-03-25 10:25:46\"), size_code (\"LGE\", \"MED\", \"SML\"), lifespan (\"6\", \"2\", \"1\"), owner_id (6, 12, 7), years_old (\"6\", \"2\", \"1\"), date_adopted (\"2018-03-21 10:41:18\", \"2018-03-08 15:03:00\", \"2018-03-21 10:41:18\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), name (\"Narciso\", \"Narciso\", \"George\"), date_arrived (\"2017-07-25 15:19:07\", \"2017-10-24 04:45:13\", \"2018-01-17 11:44:16\") | professionals : cell_number (\"1-258-285-4707x8020\", \"609-405-2990\", \"328.842.3792\"), first_name (\"Ericka\", \"Karley\", \"Ericka\"), email_address (\"schneider.kathryne@example.org\", \"delphine29@example.com\", \"lourdes.lowe@example.net\"), city (\"East Ila\", \"New Laurytown\", \"North Adelberttown\"), professional_id (6, 3, 14), zip_code (\"98844\", \"41215\", \"98844\"), role_code (\"Employee\", \"Veterenarian\"), state (\"Hawaii\", \"Utah\", \"Mississippi\"), last_name (\"Hyatt\", \"Considine\", \"Jacobs\"), street (\"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\"), home_phone (\"022.529.0550x1319\", \"1-609-566-2752x25197\", \"+43(5)1132733868\") | treatments : cost_of_treatment (681, 147, 514), dog_id (7, 10, 2), treatment_id (9, 15, 3), date_of_treatment (\"2018-02-28 17:09:43\", \"2018-03-15 19:10:02\", \"2018-03-08 05:26:23\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (9, 9, 10)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_type , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : first_name , home_phone , street , owner_id , zip_code , city , state , email_address , last_name , cell_number | dogs : abandoned_yn , gender , dog_id , weight , date_of_birth , date_departed , size_code , lifespan , owner_id , years_old , date_adopted , breed_code , name , date_arrived | professionals : cell_number , first_name , email_address , city , professional_id , zip_code , role_code , state , last_name , street , home_phone 1132733868\" | treatments : cost_of_treatment , dog_id , treatment_id , date_of_treatment , treatment_type_code , professional_id", "extra_map": { "dogs": { "age": [ "years_old", "lifespan" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "years_old", "lifespan" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "dog name": "Dogs.name", "age": "Dogs.age", "eight of the dogs": "Dogs", "abandoned": "Dogs.abandoned_yn", "weight": "Dogs.weight" } }, { "question": "list the #dog name# , #age# and w #eight of the dogs# who have been #abandoned# ? 1 stands for yes, and 0 stands for no.", "db_id": "dog_kennels", "orig_query": "select name, age, weight from dogs where abandoned_yn = 1", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : last_name (\"Stoltenberg\", \"Hamill\", \"Schmitt\"), street (\"51934 Treutel Harbor\", \"1858 Jan Park\", \"57382 Yost Ridges\"), first_name (\"Cindy\", \"Nora\", \"Rachelle\"), home_phone (\"893-862-5295x61709\", \"1-346-655-5842x768\", \"318-052-6573\"), cell_number (\"739-136-7202\", \"(257)399-3116\", \"(722)768-5439x484\"), owner_id (11, 14, 4), email_address (\"zboncak.madonna@example.net\", \"fschoen@example.net\", \"fschoen@example.net\"), city (\"Beerton\", \"Barrettburgh\", \"Brakusfurt\"), zip_code (\"78297\", \"78297\", \"78297\"), state (\"Florida\", \"NorthDakota\", \"Maryland\") | dogs : date_of_birth (\"2012-05-31 08:01:36\", \"2008-05-19 15:54:49\", \"2008-05-19 15:54:49\"), age (\"2\", \"1\", \"9\"), weight (\"8.04\", \"7.57\", \"4.01\"), owner_id (6, 14, 10), date_departed (\"2018-03-25 06:46:07\", \"2018-03-25 14:15:41\", \"2018-03-25 04:50:22\"), moniker (\"Mavis\", \"Kacey\", \"Hipolito\"), date_adopted (\"2018-02-25 23:45:30\", \"2018-02-27 11:54:35\", \"2018-03-13 12:47:15\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_arrived (\"2017-10-16 20:06:21\", \"2017-07-25 15:19:07\", \"2017-10-24 04:45:13\"), appellation (\"Mavis\", \"Kacey\", \"Hipolito\"), dog_id (6, 4, 13), abandoned_yn (\"1\", \"0\"), gender (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\") | professionals : role_code (\"Employee\", \"Veterenarian\"), email_address (\"delphine29@example.com\", \"mekhi.little@example.org\", \"jeichmann@example.com\"), state (\"Mississippi\", \"Hawaii\", \"Indiana\"), street (\"68589 Bradly Manor\nNew Audrey, IN 91497\", \"68589 Bradly Manor\nNew Audrey, IN 91497\", \"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\"), professional_id (5, 3, 7), first_name (\"Monte\", \"Jayson\", \"Taryn\"), last_name (\"Frami\", \"Pouros\", \"Braun\"), cell_number (\"499-434-0215x1628\", \"00230569697\", \"880-659-7577x736\"), zip_code (\"02281\", \"67980\", \"84515\"), city (\"North Odellfurt\", \"New Maryjane\", \"New Maryjane\"), home_phone (\"1-138-287-3775\", \"246-951-0080x76716\", \"312.216.3352\") | treatments : treatment_id (8, 13, 14), date_of_treatment (\"2018-03-19 04:39:54\", \"2018-03-16 10:27:36\", \"2018-03-13 12:22:58\"), cost_of_treatment (407, 266, 266), dog_id (4, 10, 13), professional_id (9, 8, 9), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_type , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : last_name , street , first_name , home_phone , cell_number 399-3116\", \"768-5439x484\", owner_id , email_address , city , zip_code , state | dogs : date_of_birth , age , weight , owner_id , date_departed , moniker , date_adopted , breed_code , date_arrived , appellation , dog_id , abandoned_yn , gender , size_code | professionals : role_code , email_address , state , street , professional_id , first_name , last_name , cell_number , zip_code , city , home_phone | treatments : treatment_id , date_of_treatment , cost_of_treatment , dog_id , professional_id , treatment_type_code", "extra_map": { "dogs": { "name": [ "appellation", "moniker" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "appellation", "moniker" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "dog name": "Dogs.name", "age": "Dogs.age", "eight of the dogs": "Dogs", "abandoned": "Dogs.abandoned_yn", "weight": "Dogs.weight" } }, { "question": "list the #dog name# , #age# and w #eight of the dogs# who have been #abandoned# ? 1 stands for yes, and 0 stands for no.", "db_id": "dog_kennels", "orig_query": "select name, age, weight from dogs where abandoned_yn = 1", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : zip_code (\"00589\", \"86010\", \"86010\"), email_address (\"hudson.favian@example.com\", \"ybergstrom@example.com\", \"wpfeffer@example.net\"), home_phone (\"01802479758\", \"066.264.7885\", \"085.557.0379x84348\"), owner_id (9, 12, 9), cell_number (\"762.589.6117x1328\", \"121.381.3316x6535\", \"(722)768-5439x484\"), first_name (\"Jaclyn\", \"Melisa\", \"Johann\"), state (\"Pennsylvania\", \"Florida\", \"Arizona\"), street (\"6950 Katherine Forges Apt. 630\", \"60352 Kayleigh Crossing Suite 700\", \"15828 Spencer Extensions\"), last_name (\"Price\", \"Stoltenberg\", \"Nicolas\"), city (\"Lake Jennyferfort\", \"South Afton\", \"East Hillardberg\") | dogs : date_of_birth (\"2013-02-20 14:50:56\", \"2012-07-11 17:15:10\", \"2008-05-30 12:51:34\"), owner_id (2, 6, 6), dog_id (8, 12, 10), age (\"4\", \"3\", \"3\"), date_adopted (\"2018-03-18 07:47:40\", \"2018-03-14 08:05:18\", \"2018-02-25 23:45:30\"), mass (\"8.16\", \"9.8\", \"8.04\"), date_arrived (\"2018-01-02 03:15:29\", \"2017-04-20 00:58:55\", \"2017-10-24 04:45:13\"), date_departed (\"2018-03-25 14:15:41\", \"2018-03-25 14:15:41\", \"2018-03-25 04:42:14\"), gender (\"1\", \"0\"), name (\"George\", \"Jeffrey\", \"Mavis\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), size_code (\"LGE\", \"MED\", \"SML\"), abandoned_yn (\"1\", \"0\"), heaviness (\"8.16\", \"9.8\", \"8.04\") | professionals : role_code (\"Employee\", \"Veterenarian\"), professional_id (11, 13, 6), street (\"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"72532 Hane Course\nLake Berylland, ND 95283\", \"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\"), city (\"Kirastad\", \"East Ila\", \"New Maryjane\"), first_name (\"Winfield\", \"Olaf\", \"Velva\"), home_phone (\"320-508-6023\", \"+71(6)2898266914\", \"022.529.0550x1319\"), email_address (\"uboehm@example.org\", \"cole.margarita@example.org\", \"deanna.schuster@example.com\"), state (\"Mississippi\", \"Utah\", \"Mississippi\"), last_name (\"Watsica\", \"Watsica\", \"Considine\"), cell_number (\"328.842.3792\", \"00230569697\", \"461-801-2600\"), zip_code (\"98844\", \"34041\", \"41215\") | treatments : cost_of_treatment (429, 945, 514), professional_id (7, 8, 9), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-02-26 09:08:53\", \"2018-03-04 20:33:43\", \"2018-03-13 12:22:58\"), treatment_id (4, 3, 11), dog_id (1, 10, 14)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_type , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_code , treatment_type_description | owners : zip_code , email_address , home_phone , owner_id , cell_number 768-5439x484\", first_name , state , street , last_name , city | dogs : date_of_birth , owner_id , dog_id , age , date_adopted , mass , date_arrived , date_departed , gender , name , breed_code , size_code , abandoned_yn , heaviness | professionals : role_code , professional_id , street , city , first_name , home_phone 2898266914\", \"022.529.0550x1319\", email_address , state , last_name , cell_number , zip_code | treatments : cost_of_treatment , professional_id , treatment_type_code , date_of_treatment , treatment_id , dog_id", "extra_map": { "dogs": { "weight": [ "mass", "heaviness" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "date_arrived", "date_adopted", "date_departed", "mass", "heaviness" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "dog name": "Dogs.name", "age": "Dogs.age", "eight of the dogs": "Dogs", "abandoned": "Dogs.abandoned_yn", "weight": "Dogs.weight" } }, { "question": "what are the #dog name# , #age# and w #eight of the dogs# that were #abandoned# ? note that 1 stands for yes, and 0 stands for no in the tables.", "db_id": "dog_kennels", "orig_query": "select name, age, weight from dogs where abandoned_yn = 1", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : zip_code (\"35747\", \"92406\", \"86010\"), owner_id (8, 6, 4), city (\"Barrettburgh\", \"Lake Valentin\", \"Lake Valentin\"), state (\"Pennsylvania\", \"Arizona\", \"Maryland\"), first_name (\"Adelle\", \"Jaclyn\", \"Heather\"), home_phone (\"916.976.9480x13851\", \"01802479758\", \"130-796-4589x05454\"), cell_number (\"121.381.3316x6535\", \"+00(2)4323592985\", \"478.978.0729\"), email_address (\"margaretta.runte@example.net\", \"pearlie18@example.com\", \"wpfeffer@example.net\"), last_name (\"Hamill\", \"Price\", \"Prohaska\"), street (\"1858 Jan Park\", \"89011 Kertzmann Spring Suite 642\", \"89011 Kertzmann Spring Suite 642\") | dogs : name (\"Mavis\", \"Betty\", \"Jesus\"), size_code (\"LGE\", \"MED\", \"SML\"), weight (\"8.16\", \"3.52\", \"1.39\"), lifespan (\"8\", \"5\", \"4\"), date_departed (\"2018-03-25 06:29:10\", \"2018-03-25 06:46:07\", \"2018-03-24 23:48:59\"), date_arrived (\"2017-05-06 08:03:52\", \"2017-10-16 20:06:21\", \"2017-12-22 05:02:02\"), owner_id (3, 5, 14), years_old (\"8\", \"5\", \"4\"), abandoned_yn (\"1\", \"0\"), gender (\"1\", \"0\"), dog_id (15, 2, 10), date_of_birth (\"2012-05-31 08:01:36\", \"2012-01-27 05:11:53\", \"2012-10-14 14:44:37\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_adopted (\"2018-03-06 16:32:11\", \"2018-02-25 23:45:30\", \"2018-03-23 16:02:04\") | professionals : zip_code (\"06646\", \"67980\", \"52476\"), city (\"Raynorfort\", \"Raynorfort\", \"Jaceton\"), email_address (\"jerrod.bahringer@example.org\", \"marquardt.furman@example.org\", \"jerrod.bahringer@example.org\"), professional_id (15, 11, 7), role_code (\"Employee\", \"Veterenarian\"), street (\"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"72532 Hane Course\nLake Berylland, ND 95283\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\"), state (\"Montana\", \"Hawaii\", \"SouthCarolina\"), first_name (\"Taryn\", \"Danny\", \"Brady\"), home_phone (\"325-155-0801x7005\", \"312.216.3352\", \"(920)304-4499x59146\"), cell_number (\"328.842.3792\", \"880-659-7577x736\", \"(369)908-7311x065\"), last_name (\"Walter\", \"Hayes\", \"Christiansen\") | treatments : dog_id (14, 13, 13), date_of_treatment (\"2018-03-24 22:25:58\", \"2018-03-04 20:33:43\", \"2018-03-15 19:10:02\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (656, 852, 349), professional_id (5, 7, 10), treatment_id (11, 6, 13)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_amount , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : zip_code , owner_id , city , state , first_name , home_phone , cell_number 4323592985\", \"478.978.0729\", email_address , last_name , street | dogs : name , size_code , weight , lifespan , date_departed , date_arrived , owner_id , years_old , abandoned_yn , gender , dog_id , date_of_birth , breed_code , date_adopted | professionals : zip_code , city , email_address , professional_id , role_code , street , state , first_name , home_phone 304-4499x59146\", cell_number 908-7311x065\", last_name | treatments : dog_id , date_of_treatment , treatment_type_code , cost_of_treatment , professional_id , treatment_id", "extra_map": { "dogs": { "age": [ "years_old", "lifespan" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "years_old", "lifespan" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "dog name": "Dogs.name", "age": "Dogs.age", "eight of the dogs": "Dogs", "abandoned": "Dogs.abandoned_yn", "weight": "Dogs.weight" } }, { "question": "what are the #dog name# , #age# and w #eight of the dogs# that were #abandoned# ? note that 1 stands for yes, and 0 stands for no in the tables.", "db_id": "dog_kennels", "orig_query": "select name, age, weight from dogs where abandoned_yn = 1", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : home_phone (\"(799)563-0260x454\", \"1-346-655-5842x768\", \"085.557.0379x84348\"), street (\"6950 Katherine Forges Apt. 630\", \"15828 Spencer Extensions\", \"59509 Mellie Mountain\"), cell_number (\"1-739-421-2225x38148\", \"633.455.3045x85484\", \"633.455.3045x85484\"), owner_id (11, 5, 8), city (\"Lake Valentin\", \"East Hillardberg\", \"Lake Tia\"), email_address (\"kturner@example.net\", \"fschoen@example.net\", \"fschoen@example.net\"), state (\"Washington\", \"NewYork\", \"Arizona\"), zip_code (\"02647\", \"25609\", \"35747\"), first_name (\"Orlando\", \"Adelle\", \"Lorenz\"), last_name (\"Rippin\", \"Mertz\", \"Nicolas\") | dogs : owner_id (7, 3, 1), date_adopted (\"2018-03-18 15:12:50\", \"2018-03-10 15:06:43\", \"2018-03-14 08:05:18\"), date_of_birth (\"2008-10-09 22:38:53\", \"2013-02-20 14:50:56\", \"2012-05-03 21:42:25\"), age (\"4\", \"6\", \"6\"), date_departed (\"2018-03-25 10:25:46\", \"2018-03-25 05:07:47\", \"2018-03-25 04:50:22\"), size_code (\"LGE\", \"MED\", \"SML\"), appellation (\"Holden\", \"Lyric\", \"George\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), moniker (\"Holden\", \"Lyric\", \"George\"), date_arrived (\"2018-01-17 11:44:16\", \"2017-05-06 08:03:52\", \"2017-10-16 20:06:21\"), weight (\"1.72\", \"8.16\", \"1.39\"), abandoned_yn (\"1\", \"0\"), gender (\"1\", \"0\"), dog_id (7, 1, 15) | professionals : home_phone (\"1-138-287-3775\", \"1-138-287-3775\", \"022.529.0550x1319\"), state (\"Wyoming\", \"Hawaii\", \"Utah\"), cell_number (\"609-405-2990\", \"011.193.9081x3186\", \"880-659-7577x736\"), professional_id (11, 12, 6), email_address (\"west.eula@example.net\", \"uboehm@example.org\", \"cole.margarita@example.org\"), first_name (\"Ruben\", \"Ericka\", \"Winfield\"), zip_code (\"67980\", \"17902\", \"17902\"), street (\"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\"), city (\"Baileymouth\", \"Jaceton\", \"South Rockyport\"), role_code (\"Employee\", \"Veterenarian\"), last_name (\"Considine\", \"Considine\", \"Kshlerin\") | treatments : treatment_id (10, 1, 1), date_of_treatment (\"2018-02-26 09:08:53\", \"2018-03-13 12:22:58\", \"2018-03-01 04:14:46\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (15, 7, 12), cost_of_treatment (266, 407, 313), professional_id (7, 4, 9)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_amount , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : home_phone 563-0260x454\", \"1-346-655-5842x768\", \"085.557.0379x84348\", street , cell_number , owner_id , city , email_address , state , zip_code , first_name , last_name | dogs : owner_id , date_adopted , date_of_birth , age , date_departed , size_code , appellation , breed_code , moniker , date_arrived , weight , abandoned_yn , gender , dog_id | professionals : home_phone , state , cell_number , professional_id , email_address , first_name , zip_code , street , city , role_code , last_name | treatments : treatment_id , date_of_treatment , treatment_type_code , dog_id , cost_of_treatment , professional_id", "extra_map": { "dogs": { "name": [ "appellation", "moniker" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "appellation", "moniker" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "dog name": "Dogs.name", "age": "Dogs.age", "eight of the dogs": "Dogs", "abandoned": "Dogs.abandoned_yn", "weight": "Dogs.weight" } }, { "question": "what are the #dog name# , #age# and w #eight of the dogs# that were #abandoned# ? note that 1 stands for yes, and 0 stands for no in the tables.", "db_id": "dog_kennels", "orig_query": "select name, age, weight from dogs where abandoned_yn = 1", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : city (\"Barrettburgh\", \"Lake Carleyborough\", \"Barrettburgh\"), home_phone (\"066.264.7885\", \"(544)034-1670\", \"(094)747-5094x8134\"), street (\"2635 Caitlyn Plains\", \"1858 Jan Park\", \"89011 Kertzmann Spring Suite 642\"), owner_id (4, 13, 6), last_name (\"Rippin\", \"Funk\", \"Fisher\"), first_name (\"Cindy\", \"Lorenz\", \"Gay\"), zip_code (\"86010\", \"86010\", \"02647\"), state (\"Indiana\", \"SouthDakota\", \"Wisconsin\"), email_address (\"kturner@example.net\", \"edythe62@example.org\", \"hudson.favian@example.com\"), cell_number (\"+70(4)9217952551\", \"1-626-264-7659x1697\", \"(783)271-6744x4507\") | dogs : heaviness (\"9.48\", \"4.01\", \"9.8\"), dog_id (11, 9, 8), mass (\"9.48\", \"4.01\", \"9.8\"), date_arrived (\"2017-04-15 09:25:31\", \"2018-01-02 03:15:29\", \"2018-01-02 03:15:29\"), size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-25 04:42:14\", \"2018-03-25 06:58:44\", \"2018-03-25 06:46:07\"), date_of_birth (\"2010-11-11 07:11:53\", \"2012-10-14 14:44:37\", \"2012-07-11 17:15:10\"), age (\"2\", \"2\", \"5\"), name (\"Jeffrey\", \"Betty\", \"Lyric\"), owner_id (2, 2, 10), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\"), date_adopted (\"2018-02-27 00:27:57\", \"2018-02-27 11:54:35\", \"2018-03-14 08:05:18\") | professionals : cell_number (\"461-801-2600\", \"139-321-7313\", \"(369)908-7311x065\"), city (\"Domenickton\", \"North Adelberttown\", \"West Heidi\"), zip_code (\"34041\", \"54312\", \"02281\"), professional_id (5, 12, 12), first_name (\"Karley\", \"Ericka\", \"Ericka\"), home_phone (\"891.475.2256\", \"(920)304-4499x59146\", \"(920)304-4499x59146\"), state (\"NorthCarolina\", \"Mississippi\", \"Wyoming\"), email_address (\"lambert62@example.org\", \"jerrod.bahringer@example.org\", \"delphine29@example.com\"), street (\"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\"), last_name (\"Braun\", \"Braun\", \"Frami\"), role_code (\"Employee\", \"Veterenarian\") | treatments : treatment_id (6, 2, 4), professional_id (7, 6, 6), dog_id (10, 13, 14), date_of_treatment (\"2018-03-16 10:27:36\", \"2018-03-01 04:14:46\", \"2018-03-08 05:26:23\"), cost_of_treatment (656, 313, 514), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_type , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : city , home_phone 034-1670\", \"747-5094x8134\", street , owner_id , last_name , first_name , zip_code , state , email_address , cell_number 9217952551\", \"1-626-264-7659x1697\", \"271-6744x4507\" | dogs : heaviness , dog_id , mass , date_arrived , size_code , date_departed , date_of_birth , age , name , owner_id , gender , breed_code , abandoned_yn , date_adopted | professionals : cell_number 908-7311x065\", city , zip_code , professional_id , first_name , home_phone 304-4499x59146\", \"304-4499x59146\", state , email_address , street , last_name , role_code | treatments : treatment_id , professional_id , dog_id , date_of_treatment , cost_of_treatment , treatment_type_code", "extra_map": { "dogs": { "weight": [ "mass", "heaviness" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "date_arrived", "date_adopted", "date_departed", "mass", "heaviness" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "dog name": "Dogs.name", "age": "Dogs.age", "eight of the dogs": "Dogs", "abandoned": "Dogs.abandoned_yn", "weight": "Dogs.weight" } }, { "question": "what is the #average age of all the dogs# ?", "db_id": "dog_kennels", "orig_query": "select avg(age) from dogs", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : street (\"59509 Mellie Mountain\", \"89011 Kertzmann Spring Suite 642\", \"51934 Treutel Harbor\"), home_phone (\"066.264.7885\", \"363.948.1090\", \"318-052-6573\"), email_address (\"edythe62@example.org\", \"pearlie18@example.com\", \"zboncak.madonna@example.net\"), first_name (\"Adelle\", \"Rachelle\", \"Heather\"), last_name (\"Price\", \"Price\", \"Haley\"), owner_id (12, 9, 14), state (\"Arkansas\", \"NorthDakota\", \"Wisconsin\"), cell_number (\"478.978.0729\", \"559.874.3011x989\", \"341.667.8085\"), zip_code (\"36871\", \"93165\", \"02647\"), city (\"Brakusfurt\", \"Lake Tia\", \"South Daisyfurt\") | dogs : name (\"Houston\", \"Jeffrey\", \"Holden\"), gender (\"1\", \"0\"), owner_id (8, 2, 1), dog_id (7, 14, 9), date_arrived (\"2018-01-17 11:44:16\", \"2017-12-22 05:02:02\", \"2017-12-29 23:24:13\"), lifespan (\"6\", \"3\", \"3\"), date_of_birth (\"2012-05-31 08:01:36\", \"2012-05-03 21:42:25\", \"2012-10-14 14:44:37\"), weight (\"1.39\", \"6.92\", \"5.16\"), date_departed (\"2018-03-25 06:58:44\", \"2018-03-25 06:46:07\", \"2018-03-25 14:15:41\"), years_old (\"6\", \"3\", \"3\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\"), date_adopted (\"2018-03-13 12:47:15\", \"2018-03-10 15:06:43\", \"2018-03-18 07:47:40\"), size_code (\"LGE\", \"MED\", \"SML\") | professionals : zip_code (\"43129\", \"80775\", \"07412\"), home_phone (\"346.594.3739\", \"1-609-566-2752x25197\", \"325-155-0801x7005\"), professional_id (15, 14, 2), cell_number (\"1-258-285-4707x8020\", \"1-185-137-1945x409\", \"889-940-2676\"), email_address (\"jeichmann@example.com\", \"west.eula@example.net\", \"jerrod.bahringer@example.org\"), city (\"West Heidi\", \"North Odellfurt\", \"Borisside\"), state (\"Wyoming\", \"Montana\", \"Hawaii\"), role_code (\"Employee\", \"Veterenarian\"), last_name (\"Ullrich\", \"Ullrich\", \"Considine\"), street (\"92912 Langworth Valleys Apt. 743\nThompsonborough, \", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \"), first_name (\"Jayson\", \"Olaf\", \"Monte\") | treatments : date_of_treatment (\"2018-03-13 12:22:58\", \"2018-02-26 09:08:53\", \"2018-03-23 13:52:10\"), dog_id (14, 1, 13), professional_id (5, 8, 4), cost_of_treatment (266, 349, 681), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (15, 13, 14)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : street , home_phone , email_address , first_name , last_name , owner_id , state , cell_number , zip_code , city | dogs : name , gender , owner_id , dog_id , date_arrived , lifespan , date_of_birth , weight , date_departed , years_old , breed_code , abandoned_yn , date_adopted , size_code | professionals : zip_code , home_phone , professional_id , cell_number , email_address , city , state , role_code , last_name , street , first_name | treatments : date_of_treatment , dog_id , professional_id , cost_of_treatment , treatment_type_code , treatment_id", "extra_map": { "dogs": { "age": [ "years_old", "lifespan" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "years_old", "lifespan" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "average age of all the dogs": "Dogs.age" } }, { "question": "compute the #average age of all the dogs# .", "db_id": "dog_kennels", "orig_query": "select avg(age) from dogs", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : city (\"South Afton\", \"Port Reannamouth\", \"Barrettburgh\"), zip_code (\"02647\", \"11990\", \"25609\"), home_phone (\"(058)997-7627\", \"1-682-845-0116x63235\", \"363.948.1090\"), email_address (\"lynn81@example.org\", \"edythe62@example.org\", \"kturner@example.net\"), cell_number (\"(257)399-3116\", \"121.381.3316x6535\", \"(722)768-5439x484\"), first_name (\"Heather\", \"Orlando\", \"Lorenz\"), state (\"NorthDakota\", \"Vermont\", \"Florida\"), owner_id (11, 4, 4), last_name (\"Stoltenberg\", \"Price\", \"Nicolas\"), street (\"2417 Keara Stravenue Apt. 146\", \"6950 Katherine Forges Apt. 630\", \"9212 Rosenbaum Lights\") | dogs : abandoned_yn (\"1\", \"0\"), name (\"Evangeline\", \"Kacey\", \"Troy\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_of_birth (\"2013-02-20 14:50:56\", \"2008-05-19 15:54:49\", \"2012-01-27 05:11:53\"), date_departed (\"2018-03-25 05:07:47\", \"2018-03-24 23:48:59\", \"2018-03-24 23:48:59\"), owner_id (12, 10, 3), size_code (\"LGE\", \"MED\", \"SML\"), date_adopted (\"2018-02-27 00:27:57\", \"2018-03-13 12:47:15\", \"2018-03-07 21:45:43\"), years_old (\"1\", \"2\", \"8\"), lifespan (\"1\", \"2\", \"8\"), gender (\"1\", \"0\"), dog_id (13, 1, 3), weight (\"3.52\", \"6.92\", \"9.48\"), date_arrived (\"2017-10-25 00:55:34\", \"2018-01-17 11:44:16\", \"2017-07-25 15:19:07\") | professionals : zip_code (\"84515\", \"06646\", \"41215\"), home_phone (\"(230)338-3342x585\", \"(230)338-3342x585\", \"246-951-0080x76716\"), professional_id (1, 11, 2), cell_number (\"328.842.3792\", \"461-801-2600\", \"328.842.3792\"), last_name (\"Hyatt\", \"Hyatt\", \"Pouros\"), role_code (\"Employee\", \"Veterenarian\"), street (\"92912 Langworth Valleys Apt. 743\nThompsonborough, \", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\", \"68589 Bradly Manor\nNew Audrey, IN 91497\"), email_address (\"jerrod.bahringer@example.org\", \"jerrod.bahringer@example.org\", \"deanna.schuster@example.com\"), state (\"Indiana\", \"Hawaii\", \"Wisconsin\"), city (\"North Adelberttown\", \"New Maryjane\", \"McLaughlinfort\"), first_name (\"Karley\", \"Brady\", \"Danny\") | treatments : professional_id (4, 4, 8), dog_id (14, 14, 12), date_of_treatment (\"2018-03-10 11:45:58\", \"2018-03-04 20:33:43\", \"2018-03-16 10:27:36\"), treatment_id (13, 9, 8), cost_of_treatment (429, 139, 139), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_amount , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : city , zip_code , home_phone 997-7627\", \"1-682-845-0116x63235\", \"363.948.1090\", email_address , cell_number 399-3116\", \"121.381.3316x6535\", \"768-5439x484\", first_name , state , owner_id , last_name , street | dogs : abandoned_yn , name , breed_code , date_of_birth , date_departed , owner_id , size_code , date_adopted , years_old , lifespan , gender , dog_id , weight , date_arrived | professionals : zip_code , home_phone 338-3342x585\", \"338-3342x585\", \"246-951-0080x76716\", professional_id , cell_number , last_name , role_code , street , email_address , state , city , first_name | treatments : professional_id , dog_id , date_of_treatment , treatment_id , cost_of_treatment , treatment_type_code", "extra_map": { "dogs": { "age": [ "years_old", "lifespan" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "years_old", "lifespan" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "average age of all the dogs": "Dogs.age" } }, { "question": "what is the #age of the oldest dog# ?", "db_id": "dog_kennels", "orig_query": "select max(age) from dogs", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : cell_number (\"481-483-9083x37986\", \"633.455.3045x85484\", \"1-626-264-7659x1697\"), state (\"Mississippi\", \"NorthDakota\", \"Maryland\"), zip_code (\"11990\", \"93165\", \"92406\"), email_address (\"lynn81@example.org\", \"ybergstrom@example.com\", \"ykris@example.com\"), street (\"59509 Mellie Mountain\", \"1204 Mae Highway Apt. 107\", \"59509 Mellie Mountain\"), home_phone (\"363.948.1090\", \"1-332-849-1908\", \"066.264.7885\"), last_name (\"Ondricka\", \"Feil\", \"Fisher\"), city (\"West Leonard\", \"Barrettburgh\", \"Lake Valentin\"), first_name (\"Melisa\", \"Adelle\", \"Rachelle\"), owner_id (12, 13, 11) | dogs : size_code (\"LGE\", \"MED\", \"SML\"), owner_id (2, 6, 2), weight (\"4.36\", \"1.72\", \"8.96\"), dog_id (9, 11, 11), date_departed (\"2018-03-25 04:42:14\", \"2018-03-24 23:48:59\", \"2018-03-25 04:50:22\"), years_old (\"3\", \"5\", \"9\"), date_adopted (\"2018-03-07 21:45:43\", \"2018-02-27 00:27:57\", \"2018-03-10 15:06:43\"), date_of_birth (\"2012-05-31 08:01:36\", \"2009-04-12 06:02:48\", \"2009-04-12 06:02:48\"), gender (\"1\", \"0\"), name (\"George\", \"Kacey\", \"Lyric\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), lifespan (\"3\", \"5\", \"9\"), date_arrived (\"2017-06-25 10:14:05\", \"2017-07-25 15:19:07\", \"2017-12-22 05:02:02\"), abandoned_yn (\"1\", \"0\") | professionals : first_name (\"Winfield\", \"Lesly\", \"Vernice\"), last_name (\"Hyatt\", \"Considine\", \"Murazik\"), cell_number (\"139-321-7313\", \"(275)939-2435x80863\", \"1-185-137-1945x409\"), role_code (\"Employee\", \"Veterenarian\"), email_address (\"lucile.shanahan@example.org\", \"cole.margarita@example.org\", \"deanna.schuster@example.com\"), city (\"New Maryjane\", \"Borisside\", \"West Heidi\"), home_phone (\"246-951-0080x76716\", \"346.594.3739\", \"(230)338-3342x585\"), state (\"Hawaii\", \"Mississippi\", \"Alabama\"), professional_id (12, 10, 13), zip_code (\"17902\", \"33020\", \"06646\"), street (\"68589 Bradly Manor\nNew Audrey, IN 91497\", \"72532 Hane Course\nLake Berylland, ND 95283\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\") | treatments : treatment_id (1, 10, 14), dog_id (10, 13, 7), professional_id (4, 14, 4), date_of_treatment (\"2018-03-16 10:27:36\", \"2018-02-26 09:08:53\", \"2018-03-11 04:23:15\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (567, 147, 852)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_type , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : cell_number , state , zip_code , email_address , street , home_phone , last_name , city , first_name , owner_id | dogs : size_code , owner_id , weight , dog_id , date_departed , years_old , date_adopted , date_of_birth , gender , name , breed_code , lifespan , date_arrived , abandoned_yn | professionals : first_name , last_name , cell_number 939-2435x80863\", \"1-185-137-1945x409\", role_code , email_address , city , home_phone 338-3342x585\", state , professional_id , zip_code , street | treatments : treatment_id , dog_id , professional_id , date_of_treatment , treatment_type_code , cost_of_treatment", "extra_map": { "dogs": { "age": [ "years_old", "lifespan" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "years_old", "lifespan" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "age of the oldest dog": "Dogs.age" } }, { "question": "tell me the #age of the oldest dog# .", "db_id": "dog_kennels", "orig_query": "select max(age) from dogs", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : home_phone (\"085.557.0379x84348\", \"1-682-845-0116x63235\", \"318-052-6573\"), zip_code (\"25609\", \"11990\", \"35747\"), email_address (\"ykris@example.com\", \"edythe62@example.org\", \"ymaggio@example.com\"), last_name (\"Mertz\", \"Price\", \"Stoltenberg\"), owner_id (8, 9, 14), cell_number (\"+00(2)4323592985\", \"481-483-9083x37986\", \"478.978.0729\"), state (\"Arkansas\", \"Washington\", \"Virginia\"), first_name (\"Adelle\", \"Kade\", \"Kade\"), street (\"57382 Yost Ridges\", \"2417 Keara Stravenue Apt. 146\", \"0647 Hintz Village Apt. 024\"), city (\"Lake Carleyborough\", \"East Maribelbury\", \"Lake Valentin\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), weight (\"8.96\", \"3.52\", \"9.48\"), date_adopted (\"2018-03-21 10:41:18\", \"2018-02-25 23:45:30\", \"2018-03-08 15:03:00\"), date_arrived (\"2017-06-25 10:14:05\", \"2017-12-29 06:08:26\", \"2017-12-29 06:08:26\"), dog_id (10, 5, 11), date_of_birth (\"2012-05-31 08:01:36\", \"2017-09-19 05:39:09\", \"2017-09-19 05:39:09\"), lifespan (\"8\", \"5\", \"3\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_departed (\"2018-03-25 06:29:10\", \"2018-03-25 13:07:04\", \"2018-03-25 13:07:04\"), owner_id (12, 2, 14), abandoned_yn (\"1\", \"0\"), years_old (\"8\", \"5\", \"3\"), gender (\"1\", \"0\"), name (\"Jeffrey\", \"Merritt\", \"Lyric\") | professionals : professional_id (2, 14, 11), street (\"92912 Langworth Valleys Apt. 743\nThompsonborough, \", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"7284 Torphy Flats Apt. 610\nDiannaburgh, SC 78560\"), cell_number (\"889-940-2676\", \"(275)939-2435x80863\", \"889-940-2676\"), role_code (\"Employee\", \"Veterenarian\"), city (\"North Odellfurt\", \"South Rockyport\", \"South Rockyport\"), first_name (\"Jayson\", \"Monte\", \"Danny\"), zip_code (\"02281\", \"17902\", \"98844\"), state (\"Wisconsin\", \"SouthCarolina\", \"Utah\"), home_phone (\"891.475.2256\", \"1-609-566-2752x25197\", \"+43(5)1132733868\"), email_address (\"jeichmann@example.com\", \"west.eula@example.net\", \"marquardt.furman@example.org\"), last_name (\"Kshlerin\", \"Walter\", \"Frami\") | treatments : professional_id (4, 10, 7), date_of_treatment (\"2018-03-04 20:33:43\", \"2018-03-13 12:22:58\", \"2018-03-08 05:26:23\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (10, 4, 10), cost_of_treatment (266, 945, 313), treatment_id (8, 13, 4)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_type , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : home_phone , zip_code , email_address , last_name , owner_id , cell_number 4323592985\", \"481-483-9083x37986\", \"478.978.0729\", state , first_name , street , city | dogs : size_code , weight , date_adopted , date_arrived , dog_id , date_of_birth , lifespan , breed_code , date_departed , owner_id , abandoned_yn , years_old , gender , name | professionals : professional_id , street , cell_number 939-2435x80863\", \"889-940-2676\", role_code , city , first_name , zip_code , state , home_phone 1132733868\", email_address , last_name | treatments : professional_id , date_of_treatment , treatment_type_code , dog_id , cost_of_treatment , treatment_id", "extra_map": { "dogs": { "age": [ "years_old", "lifespan" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "years_old", "lifespan" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "age of the oldest dog": "Dogs.age" } }, { "question": "how much does each #charge type# costs? list both charge type and #amount# .", "db_id": "dog_kennels", "orig_query": "select charge_type, charge_amount from charges", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), amount (98, 322, 640), fee (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : home_phone (\"130-796-4589x05454\", \"130-796-4589x05454\", \"363.948.1090\"), cell_number (\"478.978.0729\", \"478.978.0729\", \"739-136-7202\"), last_name (\"Hauck\", \"Prohaska\", \"Nicolas\"), email_address (\"edythe62@example.org\", \"pearlie18@example.com\", \"pearlie18@example.com\"), zip_code (\"92406\", \"35747\", \"86010\"), city (\"Beerton\", \"Beerton\", \"New Margaretteborough\"), first_name (\"Rolando\", \"Cindy\", \"Rolando\"), state (\"Arizona\", \"SouthDakota\", \"Maryland\"), owner_id (14, 2, 13), street (\"692 Jaskolski Forges\", \"60352 Kayleigh Crossing Suite 700\", \"57382 Yost Ridges\") | dogs : name (\"Narciso\", \"Evangeline\", \"Kacey\"), gender (\"1\", \"0\"), dog_id (2, 10, 1), age (\"9\", \"6\", \"9\"), date_departed (\"2018-03-25 02:47:40\", \"2018-03-25 10:25:46\", \"2018-03-25 10:25:46\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), weight (\"8.96\", \"4.01\", \"7.57\"), date_of_birth (\"2009-04-12 06:02:48\", \"2012-01-27 05:11:53\", \"2017-09-19 05:39:09\"), date_adopted (\"2018-03-08 15:03:00\", \"2018-02-27 11:54:35\", \"2018-03-10 15:06:43\"), owner_id (13, 11, 2), date_arrived (\"2017-10-24 04:45:13\", \"2017-06-18 19:45:38\", \"2017-10-16 20:06:21\"), abandoned_yn (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\") | professionals : zip_code (\"84515\", \"41215\", \"41215\"), street (\"390 Bryce Drive\nNorth Dock, LA 65357-7228\", \"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\"), professional_id (10, 1, 7), role_code (\"Employee\", \"Veterenarian\"), last_name (\"Braun\", \"Ullrich\", \"Hyatt\"), state (\"Montana\", \"Wisconsin\", \"Hawaii\"), cell_number (\"1-258-285-4707x8020\", \"609-405-2990\", \"880-659-7577x736\"), email_address (\"lourdes.lowe@example.net\", \"deanna.schuster@example.com\", \"delphine29@example.com\"), home_phone (\"(920)304-4499x59146\", \"022.529.0550x1319\", \"325-155-0801x7005\"), city (\"Kirastad\", \"Baileymouth\", \"West Heidi\"), first_name (\"Karley\", \"Monte\", \"Danny\") | treatments : cost_of_treatment (313, 681, 147), date_of_treatment (\"2018-02-26 09:08:53\", \"2018-03-24 22:25:58\", \"2018-02-26 09:08:53\"), treatment_id (10, 8, 2), professional_id (7, 6, 4), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (12, 12, 7)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_type , amount , fee | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : home_phone , cell_number , last_name , email_address , zip_code , city , first_name , state , owner_id , street | dogs : name , gender , dog_id , age , date_departed , breed_code , weight , date_of_birth , date_adopted , owner_id , date_arrived , abandoned_yn , size_code | professionals : zip_code , street , professional_id , role_code , last_name , state , cell_number , email_address , home_phone 304-4499x59146\", \"022.529.0550x1319\", \"325-155-0801x7005\", city , first_name | treatments : cost_of_treatment , date_of_treatment , treatment_id , professional_id , treatment_type_code , dog_id", "extra_map": { "charges": { "charge_amount": [ "amount", "fee" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "amount", "fee" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "charge type": "Charges.charge_type", "amount": "Charges.charge_amount" } }, { "question": "how much does each #charge type# costs? list both charge type and #amount# .", "db_id": "dog_kennels", "orig_query": "select charge_type, charge_amount from charges", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_amount (98, 322, 640), fee_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_category (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : owner_id (2, 7, 7), home_phone (\"1-346-655-5842x768\", \"363.948.1090\", \"1-682-845-0116x63235\"), city (\"East Hillardberg\", \"Lake Valentin\", \"Port Zackery\"), first_name (\"Nora\", \"Melisa\", \"Emelie\"), state (\"Arizona\", \"Mississippi\", \"Wisconsin\"), cell_number (\"1-626-264-7659x1697\", \"481-483-9083x37986\", \"+00(2)4323592985\"), zip_code (\"35747\", \"92406\", \"61019\"), email_address (\"lynn81@example.org\", \"angeline99@example.com\", \"wpfeffer@example.net\"), street (\"68118 Daniel Row\", \"0647 Hintz Village Apt. 024\", \"1858 Jan Park\"), last_name (\"Prohaska\", \"DuBuque\", \"Prohaska\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), gender (\"1\", \"0\"), date_departed (\"2018-03-25 06:46:07\", \"2018-03-25 13:07:04\", \"2018-03-24 19:12:22\"), name (\"Bessie\", \"George\", \"Troy\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), weight (\"1.39\", \"5.16\", \"8.95\"), owner_id (10, 12, 13), age (\"5\", \"1\", \"6\"), date_arrived (\"2017-04-15 09:25:31\", \"2017-04-20 00:58:55\", \"2018-01-02 03:15:29\"), date_adopted (\"2018-03-07 21:45:43\", \"2018-03-14 08:05:18\", \"2018-03-05 06:05:23\"), date_of_birth (\"2013-02-20 14:50:56\", \"2012-05-03 21:42:25\", \"2017-09-19 05:39:09\"), dog_id (9, 10, 3), abandoned_yn (\"1\", \"0\") | professionals : first_name (\"Jayson\", \"Velva\", \"Vernice\"), state (\"Utah\", \"Montana\", \"Utah\"), zip_code (\"80775\", \"07412\", \"77129\"), professional_id (15, 2, 14), street (\"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\"), cell_number (\"(275)939-2435x80863\", \"328.842.3792\", \"1-258-285-4707x8020\"), last_name (\"Hyatt\", \"Jacobs\", \"Considine\"), home_phone (\"320-508-6023\", \"320-508-6023\", \"+71(6)2898266914\"), city (\"North Adelberttown\", \"Juddton\", \"Borisside\"), email_address (\"uboehm@example.org\", \"uboehm@example.org\", \"cole.margarita@example.org\"), role_code (\"Employee\", \"Veterenarian\") | treatments : dog_id (1, 7, 1), cost_of_treatment (429, 313, 407), professional_id (5, 9, 9), date_of_treatment (\"2018-03-11 04:23:15\", \"2018-03-23 13:52:10\", \"2018-03-11 04:23:15\"), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (8, 11, 14)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_amount , fee_type , charge_id , charge_category | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : owner_id , home_phone , city , first_name , state , cell_number 4323592985\", zip_code , email_address , street , last_name | dogs : size_code , gender , date_departed , name , breed_code , weight , owner_id , age , date_arrived , date_adopted , date_of_birth , dog_id , abandoned_yn | professionals : first_name , state , zip_code , professional_id , street , cell_number 939-2435x80863\", \"328.842.3792\", \"1-258-285-4707x8020\", last_name , home_phone 2898266914\", city , email_address , role_code | treatments : dog_id , cost_of_treatment , professional_id , date_of_treatment , treatment_type_code , treatment_id", "extra_map": { "charges": { "charge_type": [ "fee_type", "charge_category" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_amount", "fee_type", "charge_category" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "charge type": "Charges.charge_type", "amount": "Charges.charge_amount" } }, { "question": "list each #charge type# and its #amount# .", "db_id": "dog_kennels", "orig_query": "select charge_type, charge_amount from charges", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : fee (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : email_address (\"pearlie18@example.com\", \"hudson.favian@example.com\", \"ykris@example.com\"), owner_id (14, 7, 3), cell_number (\"341.667.8085\", \"121.381.3316x6535\", \"341.667.8085\"), state (\"Indiana\", \"Florida\", \"Virginia\"), last_name (\"Rippin\", \"Haley\", \"Nicolas\"), city (\"South Daisyfurt\", \"West Leonard\", \"East Hillardberg\"), first_name (\"Tre\", \"Johann\", \"Melisa\"), home_phone (\"085.557.0379x84348\", \"(544)034-1670\", \"085.557.0379x84348\"), street (\"692 Jaskolski Forges\", \"1204 Mae Highway Apt. 107\", \"15828 Spencer Extensions\"), zip_code (\"36871\", \"25609\", \"86010\") | dogs : date_of_birth (\"2012-01-27 05:11:53\", \"2010-11-11 07:11:53\", \"2018-03-17 04:05:12\"), owner_id (3, 12, 2), gender (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), abandoned_yn (\"1\", \"0\"), name (\"Houston\", \"Merritt\", \"Jeffrey\"), date_adopted (\"2018-03-14 08:05:18\", \"2018-03-21 10:41:18\", \"2018-03-10 15:06:43\"), weight (\"9.8\", \"4.36\", \"6.92\"), date_arrived (\"2017-10-16 20:06:21\", \"2017-10-25 00:55:34\", \"2017-12-29 06:08:26\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), age (\"5\", \"3\", \"3\"), dog_id (11, 10, 3), date_departed (\"2018-03-25 04:42:14\", \"2018-03-25 15:05:16\", \"2018-03-25 10:25:46\") | professionals : state (\"California\", \"Montana\", \"Alabama\"), cell_number (\"1-181-670-9466\", \"962-983-8109x3509\", \"011.193.9081x3186\"), last_name (\"Frami\", \"Kshlerin\", \"Murazik\"), zip_code (\"33020\", \"77129\", \"41215\"), email_address (\"west.eula@example.net\", \"lourdes.lowe@example.net\", \"jacynthe.mclaughlin@example.net\"), city (\"Domenickton\", \"Domenickton\", \"East Ila\"), home_phone (\"320-508-6023\", \"971.048.3763x9404\", \"320-508-6023\"), role_code (\"Employee\", \"Veterenarian\"), professional_id (6, 3, 11), first_name (\"Olaf\", \"Taryn\", \"Brady\"), street (\"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"36895 Eli Ferry\nPort Marcelle, FL 45712\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\") | treatments : treatment_id (9, 5, 5), professional_id (7, 10, 4), cost_of_treatment (681, 656, 313), date_of_treatment (\"2018-03-16 10:27:36\", \"2018-03-11 04:23:15\", \"2018-03-16 10:27:36\"), dog_id (1, 4, 4), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_name , breed_code | charges : fee , charge_type , amount , charge_id | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : email_address , owner_id , cell_number , state , last_name , city , first_name , home_phone 034-1670\", \"085.557.0379x84348\", street , zip_code | dogs : date_of_birth , owner_id , gender , size_code , abandoned_yn , name , date_adopted , weight , date_arrived , breed_code , age , dog_id , date_departed | professionals : state , cell_number , last_name , zip_code , email_address , city , home_phone , role_code , professional_id , first_name , street | treatments : treatment_id , professional_id , cost_of_treatment , date_of_treatment , dog_id , treatment_type_code", "extra_map": { "charges": { "charge_amount": [ "amount", "fee" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "amount", "fee" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "charge type": "Charges.charge_type", "amount": "Charges.charge_amount" } }, { "question": "list each #charge type# and its #amount# .", "db_id": "dog_kennels", "orig_query": "select charge_type, charge_amount from charges", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : fee_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_category (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : last_name (\"Fisher\", \"Hamill\", \"Hamill\"), street (\"9212 Rosenbaum Lights\", \"59509 Mellie Mountain\", \"2417 Keara Stravenue Apt. 146\"), owner_id (9, 3, 8), first_name (\"Rolando\", \"Emelie\", \"Orlando\"), city (\"West Leonard\", \"Port Zackery\", \"Lake Valentin\"), zip_code (\"35747\", \"35747\", \"87304\"), state (\"Maryland\", \"SouthDakota\", \"Pennsylvania\"), home_phone (\"(094)747-5094x8134\", \"085.557.0379x84348\", \"1-346-655-5842x768\"), email_address (\"christy49@example.org\", \"edythe62@example.org\", \"marks.gail@example.org\"), cell_number (\"341.667.8085\", \"121.381.3316x6535\", \"478.978.0729\") | dogs : breed_code (\"ESK\", \"BUL\", \"HUS\"), date_of_birth (\"2008-05-30 12:51:34\", \"2017-09-19 05:39:09\", \"2012-01-27 05:11:53\"), age (\"1\", \"5\", \"3\"), date_arrived (\"2017-09-08 20:10:13\", \"2018-01-02 03:15:29\", \"2017-12-29 06:08:26\"), abandoned_yn (\"1\", \"0\"), gender (\"1\", \"0\"), owner_id (11, 13, 10), date_adopted (\"2018-03-18 15:12:50\", \"2018-03-13 12:47:15\", \"2018-03-07 21:45:43\"), weight (\"7.57\", \"6.92\", \"1.72\"), dog_id (15, 8, 6), name (\"Evangeline\", \"Betty\", \"Mavis\"), size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-25 05:07:47\", \"2018-03-25 05:07:47\", \"2018-03-25 13:07:04\") | professionals : city (\"North Adelberttown\", \"Kirastad\", \"Kirastad\"), street (\"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"68589 Bradly Manor\nNew Audrey, IN 91497\", \"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\"), home_phone (\"022.529.0550x1319\", \"+71(6)2898266914\", \"346.594.3739\"), professional_id (15, 11, 11), role_code (\"Employee\", \"Veterenarian\"), state (\"Utah\", \"SouthCarolina\", \"SouthCarolina\"), email_address (\"schneider.kathryne@example.org\", \"jerrod.bahringer@example.org\", \"uboehm@example.org\"), zip_code (\"80775\", \"17902\", \"17902\"), first_name (\"Karley\", \"Ericka\", \"Olaf\"), last_name (\"Hayes\", \"Jacobs\", \"Jacobs\"), cell_number (\"139-321-7313\", \"139-321-7313\", \"(369)908-7311x065\") | treatments : cost_of_treatment (681, 681, 567), dog_id (7, 10, 15), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (9, 14, 9), date_of_treatment (\"2018-03-14 19:10:40\", \"2018-03-23 13:52:10\", \"2018-02-28 17:09:43\"), treatment_id (6, 13, 15)", "schema_without_content": "breeds : breed_code , breed_name | charges : fee_type , charge_id , charge_amount , charge_category | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : last_name , street , owner_id , first_name , city , zip_code , state , home_phone 747-5094x8134\", \"085.557.0379x84348\", \"1-346-655-5842x768\", email_address , cell_number | dogs : breed_code , date_of_birth , age , date_arrived , abandoned_yn , gender , owner_id , date_adopted , weight , dog_id , name , size_code , date_departed | professionals : city , street , home_phone 2898266914\", \"346.594.3739\", professional_id , role_code , state , email_address , zip_code , first_name , last_name , cell_number 908-7311x065\" | treatments : cost_of_treatment , dog_id , treatment_type_code , professional_id , date_of_treatment , treatment_id", "extra_map": { "charges": { "charge_type": [ "fee_type", "charge_category" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_amount", "fee_type", "charge_category" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "charge type": "Charges.charge_type", "amount": "Charges.charge_amount" } }, { "question": "how much does the #most expensive charge type costs# ?", "db_id": "dog_kennels", "orig_query": "select max(charge_amount) from charges", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), amount (98, 322, 640), fee (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : owner_id (14, 14, 15), street (\"59509 Mellie Mountain\", \"68118 Daniel Row\", \"68118 Daniel Row\"), email_address (\"fschoen@example.net\", \"ymaggio@example.com\", \"hudson.favian@example.com\"), last_name (\"Ondricka\", \"Nicolas\", \"Funk\"), city (\"Barrettburgh\", \"East Hillardberg\", \"South Daisyfurt\"), home_phone (\"318-052-6573\", \"(544)034-1670\", \"1-682-845-0116x63235\"), cell_number (\"(722)768-5439x484\", \"739-136-7202\", \"633.455.3045x85484\"), zip_code (\"61019\", \"35747\", \"61019\"), state (\"Florida\", \"NewYork\", \"Vermont\"), first_name (\"Tre\", \"Rachelle\", \"Lorenz\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), age (\"3\", \"6\", \"6\"), abandoned_yn (\"1\", \"0\"), dog_id (12, 9, 15), gender (\"1\", \"0\"), date_arrived (\"2017-06-18 19:45:38\", \"2017-06-25 10:14:05\", \"2017-12-29 23:24:13\"), date_departed (\"2018-03-25 15:05:16\", \"2018-03-25 02:47:40\", \"2018-03-24 23:48:59\"), name (\"Holden\", \"Houston\", \"Mavis\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), weight (\"1.72\", \"9.48\", \"4.01\"), date_of_birth (\"2009-04-12 06:02:48\", \"2008-05-30 12:51:34\", \"2012-10-14 14:44:37\"), date_adopted (\"2018-03-06 16:32:11\", \"2018-02-27 11:54:35\", \"2018-03-08 15:03:00\"), owner_id (1, 10, 10) | professionals : home_phone (\"320-508-6023\", \"320-508-6023\", \"+71(6)2898266914\"), first_name (\"Vernice\", \"Lesly\", \"Danny\"), zip_code (\"80775\", \"98844\", \"06646\"), state (\"Hawaii\", \"NewMexico\", \"Alabama\"), city (\"Borisside\", \"Jaceton\", \"Raynorfort\"), email_address (\"west.eula@example.net\", \"uboehm@example.org\", \"jacynthe.mclaughlin@example.net\"), professional_id (3, 3, 12), street (\"68589 Bradly Manor\nNew Audrey, IN 91497\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\"), cell_number (\"889-940-2676\", \"1-181-670-9466\", \"889-940-2676\"), role_code (\"Employee\", \"Veterenarian\"), last_name (\"Hyatt\", \"Tillman\", \"Murazik\") | treatments : professional_id (9, 7, 8), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (5, 12, 1), cost_of_treatment (313, 407, 428), dog_id (12, 12, 1), date_of_treatment (\"2018-03-19 04:39:54\", \"2018-03-11 04:23:15\", \"2018-03-08 05:26:23\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_type , amount , fee | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : owner_id , street , email_address , last_name , city , home_phone 034-1670\", \"1-682-845-0116x63235\", cell_number 768-5439x484\", \"739-136-7202\", \"633.455.3045x85484\", zip_code , state , first_name | dogs : size_code , age , abandoned_yn , dog_id , gender , date_arrived , date_departed , name , breed_code , weight , date_of_birth , date_adopted , owner_id | professionals : home_phone 2898266914\", first_name , zip_code , state , city , email_address , professional_id , street , cell_number , role_code , last_name | treatments : professional_id , treatment_type_code , treatment_id , cost_of_treatment , dog_id , date_of_treatment", "extra_map": { "charges": { "charge_amount": [ "amount", "fee" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "amount", "fee" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "most expensive charge type costs": "Charges.charge_amount" } }, { "question": "what is the #charge amount# of the most expensive #charge type# ?", "db_id": "dog_kennels", "orig_query": "select max(charge_amount) from charges", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), fee (98, 322, 640), amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : cell_number (\"(722)768-5439x484\", \"1-626-264-7659x1697\", \"121.381.3316x6535\"), home_phone (\"(058)997-7627\", \"066.264.7885\", \"(058)997-7627\"), email_address (\"edythe62@example.org\", \"zboncak.madonna@example.net\", \"christy49@example.org\"), city (\"Brakusfurt\", \"Barrettburgh\", \"New Margaretteborough\"), street (\"0647 Hintz Village Apt. 024\", \"1204 Mae Highway Apt. 107\", \"60352 Kayleigh Crossing Suite 700\"), state (\"Pennsylvania\", \"Washington\", \"Arkansas\"), zip_code (\"22693\", \"78297\", \"11990\"), last_name (\"Mertz\", \"Stoltenberg\", \"DuBuque\"), owner_id (6, 7, 13), first_name (\"Rolando\", \"Melisa\", \"Cindy\") | dogs : name (\"George\", \"Narciso\", \"Jeffrey\"), dog_id (14, 5, 8), owner_id (12, 12, 11), weight (\"9.8\", \"8.96\", \"1.72\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\"), date_departed (\"2018-03-25 04:42:14\", \"2018-03-25 02:11:32\", \"2018-03-25 06:29:10\"), age (\"8\", \"2\", \"8\"), gender (\"1\", \"0\"), date_of_birth (\"2017-09-19 05:39:09\", \"2008-10-09 22:38:53\", \"2012-01-27 05:11:53\"), size_code (\"LGE\", \"MED\", \"SML\"), date_arrived (\"2017-07-25 15:19:07\", \"2017-05-06 08:03:52\", \"2017-04-20 00:58:55\"), date_adopted (\"2018-03-18 15:12:50\", \"2018-03-06 16:32:11\", \"2018-02-25 23:45:30\") | professionals : state (\"Alabama\", \"Hawaii\", \"Utah\"), professional_id (4, 13, 8), last_name (\"Walter\", \"Murazik\", \"Jacobs\"), cell_number (\"461-801-2600\", \"609-405-2990\", \"889-940-2676\"), first_name (\"Velva\", \"Velva\", \"Brady\"), street (\"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \"), role_code (\"Employee\", \"Veterenarian\"), zip_code (\"06646\", \"34041\", \"80775\"), home_phone (\"(230)338-3342x585\", \"022.529.0550x1319\", \"346.594.3739\"), email_address (\"jeichmann@example.com\", \"deanna.schuster@example.com\", \"west.eula@example.net\"), city (\"Baileymouth\", \"New Laurytown\", \"North Adelberttown\") | treatments : professional_id (14, 7, 7), date_of_treatment (\"2018-03-10 11:45:58\", \"2018-03-24 22:25:58\", \"2018-03-14 19:10:40\"), treatment_id (11, 5, 6), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (681, 681, 313), dog_id (14, 4, 13)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , fee , amount | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : cell_number 768-5439x484\", \"1-626-264-7659x1697\", \"121.381.3316x6535\", home_phone 997-7627\", \"066.264.7885\", \"997-7627\", email_address , city , street , state , zip_code , last_name , owner_id , first_name | dogs : name , dog_id , owner_id , weight , breed_code , abandoned_yn , date_departed , age , gender , date_of_birth , size_code , date_arrived , date_adopted | professionals : state , professional_id , last_name , cell_number , first_name , street , role_code , zip_code , home_phone 338-3342x585\", \"022.529.0550x1319\", \"346.594.3739\", email_address , city | treatments : professional_id , date_of_treatment , treatment_id , treatment_type_code , cost_of_treatment , dog_id", "extra_map": { "charges": { "charge_amount": [ "amount", "fee" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "amount", "fee" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "charge amount": "Charges.charge_amount", "charge type": "Charges.charge_type" } }, { "question": "list the #email# , #cell phone# and h #ome phone of all the professionals.# ", "db_id": "dog_kennels", "orig_query": "select email_address, cell_number, home_phone from professionals", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : zip_code (\"93165\", \"22693\", \"11990\"), city (\"East Maribelbury\", \"Brakusfurt\", \"New Margaretteborough\"), street (\"89011 Kertzmann Spring Suite 642\", \"15828 Spencer Extensions\", \"89011 Kertzmann Spring Suite 642\"), first_name (\"Cindy\", \"Rolando\", \"Johann\"), owner_id (1, 3, 11), state (\"Washington\", \"Mississippi\", \"Pennsylvania\"), last_name (\"Haley\", \"Mertz\", \"Price\"), home_phone (\"(799)563-0260x454\", \"(544)034-1670\", \"1-346-655-5842x768\"), email_address (\"ymaggio@example.com\", \"zboncak.madonna@example.net\", \"lynn81@example.org\"), cell_number (\"481-483-9083x37986\", \"(722)768-5439x484\", \"(783)271-6744x4507\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), weight (\"4.36\", \"1.72\", \"6.92\"), date_adopted (\"2018-03-13 12:47:15\", \"2018-02-27 11:54:35\", \"2018-03-08 15:03:00\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_of_birth (\"2015-02-26 21:31:22\", \"2012-07-11 17:15:10\", \"2008-05-30 12:51:34\"), owner_id (2, 7, 8), age (\"1\", \"4\", \"3\"), abandoned_yn (\"1\", \"0\"), date_arrived (\"2017-06-18 19:45:38\", \"2017-06-25 10:14:05\", \"2017-10-24 04:45:13\"), dog_id (8, 4, 13), date_departed (\"2018-03-24 19:12:22\", \"2018-03-24 23:48:59\", \"2018-03-24 19:12:22\"), gender (\"1\", \"0\"), name (\"Jeffrey\", \"Jesus\", \"Betty\") | professionals : cell_number (\"011.193.9081x3186\", \"461-801-2600\", \"1-185-137-1945x409\"), professional_id (7, 15, 13), state (\"NorthCarolina\", \"Wisconsin\", \"Connecticut\"), zip_code (\"67980\", \"67980\", \"43129\"), last_name (\"Tillman\", \"Christiansen\", \"Frami\"), landline (\"+71(6)2898266914\", \"+71(6)2898266914\", \"022.529.0550x1319\"), residence_phone (\"+71(6)2898266914\", \"+71(6)2898266914\", \"022.529.0550x1319\"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Ruben\", \"Olaf\", \"Brady\"), city (\"New Laurytown\", \"Domenickton\", \"East Ila\"), email_address (\"jeichmann@example.com\", \"west.eula@example.net\", \"jacynthe.mclaughlin@example.net\"), street (\"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\") | treatments : dog_id (1, 2, 14), professional_id (5, 14, 8), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (2, 10, 2), date_of_treatment (\"2018-03-04 20:33:43\", \"2018-02-26 09:08:53\", \"2018-03-08 05:26:23\"), cost_of_treatment (656, 349, 139)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_type , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : zip_code , city , street , first_name , owner_id , state , last_name , home_phone 563-0260x454\", \"034-1670\", \"1-346-655-5842x768\", email_address , cell_number 768-5439x484\", \"271-6744x4507\" | dogs : size_code , weight , date_adopted , breed_code , date_of_birth , owner_id , age , abandoned_yn , date_arrived , dog_id , date_departed , gender , name | professionals : cell_number , professional_id , state , zip_code , last_name , landline 2898266914\", \"+712898266914\", \"022.529.0550x1319\", residence_phone 2898266914\", \"+712898266914\", \"022.529.0550x1319\", role_code , first_name , city , email_address , street | treatments : dog_id , professional_id , treatment_type_code , treatment_id , date_of_treatment , cost_of_treatment", "extra_map": { "professionals": { "home_phone": [ "landline", "residence_phone" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "cell_number", "landline", "residence_phone" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "email": "professionals.email_address", "cell phone": "professionals.cell_number", "ome phone of all the professionals.": "professionals", "home phone": "professionals.home_phone" } }, { "question": "list the #email# , #cell phone# and h #ome phone of all the professionals.# ", "db_id": "dog_kennels", "orig_query": "select email_address, cell_number, home_phone from professionals", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : last_name (\"Prohaska\", \"Fisher\", \"Rippin\"), city (\"Port Zackery\", \"Lake Valentin\", \"Barrettburgh\"), street (\"1204 Mae Highway Apt. 107\", \"2635 Caitlyn Plains\", \"1204 Mae Highway Apt. 107\"), cell_number (\"(257)399-3116\", \"+70(4)9217952551\", \"739-136-7202\"), owner_id (12, 15, 8), email_address (\"lynn81@example.org\", \"pearlie18@example.com\", \"marks.gail@example.org\"), home_phone (\"1-346-655-5842x768\", \"(799)563-0260x454\", \"(799)563-0260x454\"), first_name (\"Johann\", \"Tre\", \"Jaclyn\"), state (\"Vermont\", \"Pennsylvania\", \"Arizona\"), zip_code (\"78297\", \"02647\", \"86010\") | dogs : owner_id (8, 8, 5), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_adopted (\"2018-03-21 10:41:18\", \"2018-02-27 00:27:57\", \"2018-03-07 21:45:43\"), abandoned_yn (\"1\", \"0\"), date_departed (\"2018-03-25 15:05:16\", \"2018-03-25 04:42:14\", \"2018-03-24 23:48:59\"), age (\"5\", \"6\", \"3\"), date_arrived (\"2017-10-16 20:06:21\", \"2017-06-18 19:45:38\", \"2017-12-29 06:08:26\"), size_code (\"LGE\", \"MED\", \"SML\"), dog_id (14, 11, 9), date_of_birth (\"2009-04-12 06:02:48\", \"2015-02-26 21:31:22\", \"2012-05-03 21:42:25\"), gender (\"1\", \"0\"), weight (\"8.96\", \"5.16\", \"8.04\"), name (\"Narciso\", \"George\", \"Jesus\") | professionals : state (\"Mississippi\", \"Hawaii\", \"Wyoming\"), electronic_address (\"delphine29@example.com\", \"lambert62@example.org\", \"cole.margarita@example.org\"), zip_code (\"43129\", \"77129\", \"98844\"), e-mail (\"delphine29@example.com\", \"lambert62@example.org\", \"cole.margarita@example.org\"), first_name (\"Winfield\", \"Jayson\", \"Lesly\"), role_code (\"Employee\", \"Veterenarian\"), city (\"Borisside\", \"New Laurytown\", \"West Heidi\"), home_phone (\"971.048.3763x9404\", \"971.048.3763x9404\", \"1-138-287-3775\"), cell_number (\"461-801-2600\", \"011.193.9081x3186\", \"880-659-7577x736\"), street (\"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"72532 Hane Course\nLake Berylland, ND 95283\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \"), last_name (\"O'Reilly\", \"Hayes\", \"Considine\"), professional_id (15, 3, 2) | treatments : dog_id (15, 10, 10), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-15 19:10:02\", \"2018-03-14 19:10:40\", \"2018-03-14 19:10:40\"), treatment_id (13, 10, 5), cost_of_treatment (945, 668, 567), professional_id (4, 14, 7)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_amount , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : last_name , city , street , cell_number 399-3116\", \"+709217952551\", \"739-136-7202\", owner_id , email_address , home_phone 563-0260x454\", \"563-0260x454\", first_name , state , zip_code | dogs : owner_id , breed_code , date_adopted , abandoned_yn , date_departed , age , date_arrived , size_code , dog_id , date_of_birth , gender , weight , name | professionals : state , electronic_address , zip_code , e-mail , first_name , role_code , city , home_phone , cell_number , street , last_name , professional_id | treatments : dog_id , treatment_type_code , date_of_treatment , treatment_id , cost_of_treatment , professional_id", "extra_map": { "professionals": { "email_address": [ "e-mail", "electronic_address" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "home_phone", "cell_number", "e-mail", "electronic_address" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "email": "professionals.email_address", "cell phone": "professionals.cell_number", "ome phone of all the professionals.": "professionals", "home phone": "professionals.home_phone" } }, { "question": "list the #email# , #cell phone# and h #ome phone of all the professionals.# ", "db_id": "dog_kennels", "orig_query": "select email_address, cell_number, home_phone from professionals", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : state (\"Vermont\", \"Arkansas\", \"NorthDakota\"), zip_code (\"78297\", \"45244\", \"36871\"), owner_id (12, 13, 15), home_phone (\"1-346-655-5842x768\", \"1-682-845-0116x63235\", \"066.264.7885\"), city (\"South Daisyfurt\", \"Lake Valentin\", \"Port Zackery\"), cell_number (\"(257)399-3116\", \"1-626-264-7659x1697\", \"481-483-9083x37986\"), email_address (\"christy49@example.org\", \"hudson.favian@example.com\", \"pearlie18@example.com\"), street (\"68118 Daniel Row\", \"68118 Daniel Row\", \"0647 Hintz Village Apt. 024\"), first_name (\"Emelie\", \"Emelie\", \"Nora\"), last_name (\"DuBuque\", \"Hamill\", \"Fisher\") | dogs : dog_id (12, 12, 7), date_of_birth (\"2012-05-31 08:01:36\", \"2009-04-12 06:02:48\", \"2008-05-30 12:51:34\"), abandoned_yn (\"1\", \"0\"), weight (\"8.95\", \"9.48\", \"4.01\"), date_departed (\"2018-03-24 19:12:22\", \"2018-03-25 14:15:41\", \"2018-03-24 19:36:59\"), date_adopted (\"2018-03-18 15:12:50\", \"2018-03-07 21:45:43\", \"2018-03-18 07:47:40\"), size_code (\"LGE\", \"MED\", \"SML\"), owner_id (3, 1, 14), date_arrived (\"2017-07-25 15:19:07\", \"2017-10-16 20:06:21\", \"2017-09-08 20:10:13\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), age (\"1\", \"6\", \"6\"), gender (\"1\", \"0\"), name (\"Evangeline\", \"Troy\", \"Jeffrey\") | professionals : home_phone (\"022.529.0550x1319\", \"+02(1)0259033559\", \"+71(6)2898266914\"), state (\"Hawaii\", \"Mississippi\", \"California\"), last_name (\"Watsica\", \"Christiansen\", \"Christiansen\"), phone_number (\"499-434-0215x1628\", \"1-185-137-1945x409\", \"139-321-7313\"), zip_code (\"33020\", \"98844\", \"67980\"), professional_id (7, 14, 3), email_address (\"goyette.roosevelt@example.net\", \"lourdes.lowe@example.net\", \"jeichmann@example.com\"), city (\"Baileymouth\", \"South Rockyport\", \"North Odellfurt\"), mobile_number (\"499-434-0215x1628\", \"1-185-137-1945x409\", \"139-321-7313\"), first_name (\"Ruben\", \"Jayson\", \"Taryn\"), street (\"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"7783 Abraham Alley\nPort Madelynhaven, KY 59172-273\"), role_code (\"Employee\", \"Veterenarian\") | treatments : dog_id (13, 13, 4), treatment_id (7, 13, 6), date_of_treatment (\"2018-03-11 04:23:15\", \"2018-03-14 19:10:40\", \"2018-03-16 10:27:36\"), professional_id (5, 8, 10), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (147, 656, 945)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : state , zip_code , owner_id , home_phone , city , cell_number 399-3116\", \"1-626-264-7659x1697\", \"481-483-9083x37986\", email_address , street , first_name , last_name | dogs : dog_id , date_of_birth , abandoned_yn , weight , date_departed , date_adopted , size_code , owner_id , date_arrived , breed_code , age , gender , name | professionals : home_phone 0259033559\", \"+712898266914\", state , last_name , phone_number , zip_code , professional_id , email_address , city , mobile_number , first_name , street , role_code | treatments : dog_id , treatment_id , date_of_treatment , professional_id , treatment_type_code , cost_of_treatment", "extra_map": { "professionals": { "cell_number": [ "mobile_number", "phone_number" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "mobile_number", "phone_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "email": "professionals.email_address", "cell phone": "professionals.cell_number", "ome phone of all the professionals.": "professionals", "home phone": "professionals.home_phone" } }, { "question": "what are the #email# , #cell phone# and h #ome phone of each professional?# ", "db_id": "dog_kennels", "orig_query": "select email_address, cell_number, home_phone from professionals", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : last_name (\"Schmitt\", \"Ondricka\", \"Haley\"), first_name (\"Rachelle\", \"Tre\", \"Adelle\"), zip_code (\"78297\", \"25609\", \"45244\"), home_phone (\"(799)563-0260x454\", \"318-052-6573\", \"130-796-4589x05454\"), owner_id (9, 10, 10), city (\"Lake Jennyferfort\", \"Beerton\", \"West Leonard\"), cell_number (\"481-483-9083x37986\", \"633.455.3045x85484\", \"739-136-7202\"), email_address (\"christy49@example.org\", \"fschoen@example.net\", \"margaretta.runte@example.net\"), street (\"6950 Katherine Forges Apt. 630\", \"1204 Mae Highway Apt. 107\", \"15828 Spencer Extensions\"), state (\"Indiana\", \"Vermont\", \"Vermont\") | dogs : date_arrived (\"2017-12-29 06:08:26\", \"2017-09-08 20:10:13\", \"2017-12-29 23:24:13\"), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_of_birth (\"2012-01-27 05:11:53\", \"2017-09-19 05:39:09\", \"2008-10-09 22:38:53\"), abandoned_yn (\"1\", \"0\"), age (\"4\", \"6\", \"4\"), owner_id (10, 1, 14), date_departed (\"2018-03-25 13:07:04\", \"2018-03-25 06:58:44\", \"2018-03-25 02:47:40\"), date_adopted (\"2018-03-18 15:12:50\", \"2018-03-23 16:02:04\", \"2018-03-07 21:45:43\"), name (\"Lyric\", \"Troy\", \"George\"), dog_id (15, 1, 4), weight (\"2.18\", \"6.92\", \"9.48\"), size_code (\"LGE\", \"MED\", \"SML\") | professionals : last_name (\"Christiansen\", \"Braun\", \"Jacobs\"), role_code (\"Employee\", \"Veterenarian\"), cell_number (\"499-434-0215x1628\", \"1-185-137-1945x409\", \"139-321-7313\"), landline (\"246-951-0080x76716\", \"325-155-0801x7005\", \"325-155-0801x7005\"), first_name (\"Ericka\", \"Taryn\", \"Ericka\"), city (\"South Rockyport\", \"Raynorfort\", \"New Maryjane\"), professional_id (4, 6, 3), state (\"Mississippi\", \"Montana\", \"SouthCarolina\"), email_address (\"cole.margarita@example.org\", \"uboehm@example.org\", \"lucile.shanahan@example.org\"), street (\"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"68589 Bradly Manor\nNew Audrey, IN 91497\"), residence_phone (\"246-951-0080x76716\", \"325-155-0801x7005\", \"325-155-0801x7005\"), zip_code (\"84515\", \"33020\", \"41215\") | treatments : date_of_treatment (\"2018-03-24 22:25:58\", \"2018-03-24 22:25:58\", \"2018-02-28 17:09:43\"), cost_of_treatment (681, 852, 567), treatment_id (10, 8, 2), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (2, 4, 10), professional_id (10, 7, 6)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : last_name , first_name , zip_code , home_phone 563-0260x454\", \"318-052-6573\", \"130-796-4589x05454\", owner_id , city , cell_number , email_address , street , state | dogs : date_arrived , gender , breed_code , date_of_birth , abandoned_yn , age , owner_id , date_departed , date_adopted , name , dog_id , weight , size_code | professionals : last_name , role_code , cell_number , landline , first_name , city , professional_id , state , email_address , street , residence_phone , zip_code | treatments : date_of_treatment , cost_of_treatment , treatment_id , treatment_type_code , dog_id , professional_id", "extra_map": { "professionals": { "home_phone": [ "landline", "residence_phone" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "cell_number", "landline", "residence_phone" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "email": "professionals.email_address", "cell phone": "professionals.cell_number", "ome phone of each professional?": "professionals", "home phone": "professionals.home_phone" } }, { "question": "what are the #email# , #cell phone# and h #ome phone of each professional?# ", "db_id": "dog_kennels", "orig_query": "select email_address, cell_number, home_phone from professionals", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : owner_id (11, 7, 7), home_phone (\"318-052-6573\", \"(544)034-1670\", \"(058)997-7627\"), zip_code (\"61019\", \"00589\", \"78297\"), city (\"Barrettburgh\", \"Barrettburgh\", \"New Margaretteborough\"), last_name (\"Rippin\", \"Ondricka\", \"Ondricka\"), first_name (\"Nora\", \"Melisa\", \"Tre\"), state (\"Wisconsin\", \"Mississippi\", \"Florida\"), cell_number (\"+00(2)4323592985\", \"1-739-421-2225x38148\", \"739-136-7202\"), street (\"68118 Daniel Row\", \"1858 Jan Park\", \"1204 Mae Highway Apt. 107\"), email_address (\"ykris@example.com\", \"kturner@example.net\", \"edythe62@example.org\") | dogs : date_arrived (\"2018-01-17 11:44:16\", \"2017-12-22 05:02:02\", \"2017-10-16 20:06:21\"), date_adopted (\"2018-03-18 15:12:50\", \"2018-03-23 16:02:04\", \"2018-03-18 15:12:50\"), dog_id (3, 9, 4), owner_id (6, 1, 12), breed_code (\"ESK\", \"BUL\", \"HUS\"), name (\"Jeffrey\", \"Hipolito\", \"Houston\"), age (\"9\", \"2\", \"1\"), size_code (\"LGE\", \"MED\", \"SML\"), abandoned_yn (\"1\", \"0\"), date_of_birth (\"2012-05-03 21:42:25\", \"2008-05-19 15:54:49\", \"2013-02-13 05:15:21\"), date_departed (\"2018-03-25 13:07:04\", \"2018-03-25 02:47:40\", \"2018-03-25 13:07:04\"), gender (\"1\", \"0\"), weight (\"1.39\", \"8.96\", \"7.57\") | professionals : role_code (\"Employee\", \"Veterenarian\"), street (\"390 Bryce Drive\nNorth Dock, LA 65357-7228\", \"92912 Langworth Valleys Apt. 743\nThompsonborough, \", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \"), zip_code (\"06646\", \"33020\", \"06646\"), last_name (\"Ullrich\", \"Hayes\", \"Tillman\"), first_name (\"Brady\", \"Brady\", \"Jayson\"), professional_id (10, 7, 6), state (\"Wisconsin\", \"Wyoming\", \"Wisconsin\"), e-mail (\"west.eula@example.net\", \"goyette.roosevelt@example.net\", \"schneider.kathryne@example.org\"), electronic_address (\"west.eula@example.net\", \"goyette.roosevelt@example.net\", \"schneider.kathryne@example.org\"), home_phone (\"246-951-0080x76716\", \"1-609-566-2752x25197\", \"320-508-6023\"), city (\"East Ila\", \"New Laurytown\", \"Jaceton\"), cell_number (\"889-940-2676\", \"1-181-670-9466\", \"889-940-2676\") | treatments : cost_of_treatment (407, 567, 139), dog_id (7, 15, 4), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-24 22:25:58\", \"2018-03-13 12:22:58\", \"2018-03-14 19:10:40\"), treatment_id (12, 9, 9), professional_id (7, 10, 8)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_amount , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : owner_id , home_phone 034-1670\", \"997-7627\", zip_code , city , last_name , first_name , state , cell_number 4323592985\", \"1-739-421-2225x38148\", \"739-136-7202\", street , email_address | dogs : date_arrived , date_adopted , dog_id , owner_id , breed_code , name , age , size_code , abandoned_yn , date_of_birth , date_departed , gender , weight | professionals : role_code , street , zip_code , last_name , first_name , professional_id , state , e-mail , electronic_address , home_phone , city , cell_number | treatments : cost_of_treatment , dog_id , treatment_type_code , date_of_treatment , treatment_id , professional_id", "extra_map": { "professionals": { "email_address": [ "e-mail", "electronic_address" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "home_phone", "cell_number", "e-mail", "electronic_address" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "email": "professionals.email_address", "cell phone": "professionals.cell_number", "ome phone of each professional?": "professionals", "home phone": "professionals.home_phone" } }, { "question": "what are the #email# , #cell phone# and h #ome phone of each professional?# ", "db_id": "dog_kennels", "orig_query": "select email_address, cell_number, home_phone from professionals", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : zip_code (\"02647\", \"22693\", \"92406\"), cell_number (\"(257)399-3116\", \"633.455.3045x85484\", \"+70(4)9217952551\"), state (\"Maryland\", \"Maryland\", \"Virginia\"), street (\"89011 Kertzmann Spring Suite 642\", \"68118 Daniel Row\", \"15828 Spencer Extensions\"), email_address (\"marks.gail@example.org\", \"kturner@example.net\", \"ykris@example.com\"), owner_id (11, 10, 6), home_phone (\"130-796-4589x05454\", \"318-052-6573\", \"893-862-5295x61709\"), last_name (\"Schmitt\", \"Nicolas\", \"Fisher\"), city (\"Beerton\", \"Lake Tia\", \"New Margaretteborough\"), first_name (\"Kade\", \"Gay\", \"Cindy\") | dogs : name (\"George\", \"Merritt\", \"Jesus\"), gender (\"1\", \"0\"), dog_id (12, 4, 1), date_adopted (\"2018-03-23 16:02:04\", \"2018-03-14 08:05:18\", \"2018-03-23 16:02:04\"), date_of_birth (\"2012-05-31 08:01:36\", \"2012-07-11 17:15:10\", \"2015-02-26 21:31:22\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_arrived (\"2017-09-08 20:10:13\", \"2017-09-08 20:10:13\", \"2017-06-18 19:45:38\"), age (\"1\", \"6\", \"6\"), date_departed (\"2018-03-25 06:29:10\", \"2018-03-25 15:05:16\", \"2018-03-25 05:07:47\"), abandoned_yn (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), weight (\"3.52\", \"8.95\", \"5.16\"), owner_id (2, 13, 14) | professionals : role_code (\"Employee\", \"Veterenarian\"), zip_code (\"17902\", \"67980\", \"77129\"), state (\"Connecticut\", \"Connecticut\", \"Utah\"), street (\"6915 Oberbrunner Point Suite 491\nGleasonville, LA \", \"68589 Bradly Manor\nNew Audrey, IN 91497\", \"36895 Eli Ferry\nPort Marcelle, FL 45712\"), phone_number (\"(275)939-2435x80863\", \"(275)939-2435x80863\", \"(275)939-2435x80863\"), last_name (\"Walter\", \"Murazik\", \"Tillman\"), email_address (\"jeichmann@example.com\", \"mekhi.little@example.org\", \"lucile.shanahan@example.org\"), professional_id (4, 11, 13), first_name (\"Lesly\", \"Olaf\", \"Ericka\"), home_phone (\"+43(5)1132733868\", \"(230)338-3342x585\", \"1-609-566-2752x25197\"), city (\"Baileymouth\", \"Juddton\", \"Raynorfort\"), mobile_number (\"(275)939-2435x80863\", \"(275)939-2435x80863\", \"(275)939-2435x80863\") | treatments : professional_id (8, 4, 4), treatment_id (12, 14, 2), cost_of_treatment (147, 514, 147), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), date_of_treatment (\"2018-03-01 04:14:46\", \"2018-03-01 04:14:46\", \"2018-03-15 20:25:34\"), dog_id (7, 15, 10)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : zip_code , cell_number 399-3116\", \"633.455.3045x85484\", \"+709217952551\", state , street , email_address , owner_id , home_phone , last_name , city , first_name | dogs : name , gender , dog_id , date_adopted , date_of_birth , breed_code , date_arrived , age , date_departed , abandoned_yn , size_code , weight , owner_id | professionals : role_code , zip_code , state , street , phone_number 939-2435x80863\", \"939-2435x80863\", \"939-2435x80863\", last_name , email_address , professional_id , first_name , home_phone 1132733868\", \"338-3342x585\", \"1-609-566-2752x25197\", city , mobile_number 939-2435x80863\", \"939-2435x80863\", \"939-2435x80863\" | treatments : professional_id , treatment_id , cost_of_treatment , treatment_type_code , date_of_treatment , dog_id", "extra_map": { "professionals": { "cell_number": [ "mobile_number", "phone_number" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "mobile_number", "phone_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "email": "professionals.email_address", "cell phone": "professionals.cell_number", "ome phone of each professional?": "professionals", "home phone": "professionals.home_phone" } }, { "question": "what are all the possible #breed type# and #size type# combinations?", "db_id": "dog_kennels", "orig_query": "select distinct breed_code, size_code from dogs", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : cell_number (\"341.667.8085\", \"1-626-264-7659x1697\", \"478.978.0729\"), zip_code (\"22693\", \"93165\", \"35747\"), owner_id (7, 12, 9), email_address (\"zboncak.madonna@example.net\", \"zboncak.madonna@example.net\", \"edythe62@example.org\"), state (\"Arkansas\", \"Vermont\", \"Arizona\"), city (\"South Afton\", \"Lake Jennyferfort\", \"Brakusfurt\"), last_name (\"Nicolas\", \"Haley\", \"Schmitt\"), home_phone (\"318-052-6573\", \"916.976.9480x13851\", \"(544)034-1670\"), first_name (\"Emelie\", \"Melisa\", \"Gay\"), street (\"60352 Kayleigh Crossing Suite 700\", \"6950 Katherine Forges Apt. 630\", \"9212 Rosenbaum Lights\") | dogs : age (\"6\", \"5\", \"5\"), dog_id (9, 2, 14), abandoned_yn (\"1\", \"0\"), date_of_birth (\"2012-05-31 08:01:36\", \"2012-05-03 21:42:25\", \"2012-05-31 08:01:36\"), owner_id (14, 14, 2), dimension_code (\"LGE\", \"MED\", \"SML\"), proportions_code (\"LGE\", \"MED\", \"SML\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), name (\"Betty\", \"Bessie\", \"Narciso\"), date_departed (\"2018-03-25 02:11:32\", \"2018-03-24 19:12:22\", \"2018-03-25 04:50:22\"), date_arrived (\"2018-01-17 11:44:16\", \"2017-04-20 00:58:55\", \"2017-05-06 08:03:52\"), date_adopted (\"2018-02-25 23:45:30\", \"2018-02-27 11:54:35\", \"2018-03-25 08:12:51\"), weight (\"1.39\", \"8.16\", \"4.01\"), gender (\"1\", \"0\") | professionals : email_address (\"lucile.shanahan@example.org\", \"cole.margarita@example.org\", \"mekhi.little@example.org\"), cell_number (\"1-181-670-9466\", \"609-405-2990\", \"609-405-2990\"), professional_id (5, 13, 12), home_phone (\"891.475.2256\", \"320-508-6023\", \"1-609-566-2752x25197\"), city (\"New Laurytown\", \"New Laurytown\", \"North Odellfurt\"), role_code (\"Employee\", \"Veterenarian\"), first_name (\"Karley\", \"Velva\", \"Lesly\"), last_name (\"Walter\", \"Ullrich\", \"Pouros\"), state (\"California\", \"NorthCarolina\", \"Wyoming\"), zip_code (\"06646\", \"98844\", \"34041\"), street (\"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\") | treatments : date_of_treatment (\"2018-03-16 10:27:36\", \"2018-03-15 19:10:02\", \"2018-02-26 09:08:53\"), cost_of_treatment (349, 514, 313), professional_id (6, 8, 10), treatment_id (7, 14, 12), dog_id (4, 15, 2), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_id , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : cell_number , zip_code , owner_id , email_address , state , city , last_name , home_phone 034-1670\", first_name , street | dogs : age , dog_id , abandoned_yn , date_of_birth , owner_id , dimension_code , proportions_code , breed_code , name , date_departed , date_arrived , date_adopted , weight , gender | professionals : email_address , cell_number , professional_id , home_phone , city , role_code , first_name , last_name , state , zip_code , street | treatments : date_of_treatment , cost_of_treatment , professional_id , treatment_id , dog_id , treatment_type_code", "extra_map": { "dogs": { "size_code": [ "dimension_code", "proportions_code" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "dimension_code", "proportions_code" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "breed type": "Dogs.breed_code", "size type": "Dogs.size_code" } }, { "question": "what are all the possible #breed type# and #size type# combinations?", "db_id": "dog_kennels", "orig_query": "select distinct breed_code, size_code from dogs", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : owner_id (8, 1, 4), cell_number (\"341.667.8085\", \"478.978.0729\", \"478.978.0729\"), zip_code (\"92406\", \"25609\", \"45244\"), email_address (\"zboncak.madonna@example.net\", \"kturner@example.net\", \"kturner@example.net\"), home_phone (\"01802479758\", \"1-682-845-0116x63235\", \"(058)997-7627\"), street (\"692 Jaskolski Forges\", \"57382 Yost Ridges\", \"6950 Katherine Forges Apt. 630\"), state (\"NorthDakota\", \"Florida\", \"NewYork\"), first_name (\"Rachelle\", \"Emelie\", \"Gay\"), last_name (\"Schmitt\", \"Fisher\", \"Nicolas\"), city (\"Brakusfurt\", \"Barrettburgh\", \"East Maribelbury\") | dogs : pedigree_code (\"ESK\", \"BUL\", \"HUS\"), date_adopted (\"2018-02-25 23:45:30\", \"2018-03-21 10:41:18\", \"2018-03-05 06:05:23\"), gender (\"1\", \"0\"), abandoned_yn (\"1\", \"0\"), dog_id (7, 1, 14), weight (\"9.48\", \"1.72\", \"8.16\"), name (\"Mavis\", \"Jesus\", \"Evangeline\"), date_arrived (\"2018-01-17 11:44:16\", \"2018-01-02 03:15:29\", \"2018-01-17 11:44:16\"), race_code (\"ESK\", \"BUL\", \"HUS\"), size_code (\"LGE\", \"MED\", \"SML\"), date_of_birth (\"2012-07-11 17:15:10\", \"2013-02-20 14:50:56\", \"2017-09-19 05:39:09\"), date_departed (\"2018-03-25 04:50:22\", \"2018-03-25 14:15:41\", \"2018-03-24 23:48:59\"), owner_id (2, 5, 8), age (\"6\", \"3\", \"3\") | professionals : email_address (\"west.eula@example.net\", \"lucile.shanahan@example.org\", \"jerrod.bahringer@example.org\"), professional_id (1, 14, 8), first_name (\"Karley\", \"Olaf\", \"Domenica\"), role_code (\"Employee\", \"Veterenarian\"), zip_code (\"54312\", \"06646\", \"43129\"), state (\"Hawaii\", \"SouthCarolina\", \"NewMexico\"), street (\"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"72532 Hane Course\nLake Berylland, ND 95283\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\"), last_name (\"Tillman\", \"Jacobs\", \"Pouros\"), home_phone (\"312.216.3352\", \"320-508-6023\", \"+71(6)2898266914\"), cell_number (\"(369)908-7311x065\", \"1-258-285-4707x8020\", \"461-801-2600\"), city (\"Baileymouth\", \"New Laurytown\", \"North Adelberttown\") | treatments : date_of_treatment (\"2018-02-28 17:09:43\", \"2018-03-01 04:14:46\", \"2018-03-15 19:10:02\"), treatment_id (10, 1, 11), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), professional_id (5, 9, 14), cost_of_treatment (349, 139, 656), dog_id (4, 10, 1)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_id , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : owner_id , cell_number , zip_code , email_address , home_phone 997-7627\", street , state , first_name , last_name , city | dogs : pedigree_code , date_adopted , gender , abandoned_yn , dog_id , weight , name , date_arrived , race_code , size_code , date_of_birth , date_departed , owner_id , age | professionals : email_address , professional_id , first_name , role_code , zip_code , state , street , last_name , home_phone 2898266914\", cell_number 908-7311x065\", \"1-258-285-4707x8020\", \"461-801-2600\", city | treatments : date_of_treatment , treatment_id , treatment_type_code , professional_id , cost_of_treatment , dog_id", "extra_map": { "dogs": { "breed_code": [ "race_code", "pedigree_code" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "race_code", "pedigree_code" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "breed type": "Dogs.breed_code", "size type": "Dogs.size_code" } }, { "question": "find the distinct #breed type# and #size type# combinations for #dogs# .", "db_id": "dog_kennels", "orig_query": "select distinct breed_code, size_code from dogs", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : cell_number (\"481-483-9083x37986\", \"762.589.6117x1328\", \"121.381.3316x6535\"), city (\"Barrettburgh\", \"Barrettburgh\", \"New Margaretteborough\"), last_name (\"Haley\", \"Hamill\", \"Fisher\"), home_phone (\"(544)034-1670\", \"893-862-5295x61709\", \"916.976.9480x13851\"), email_address (\"wpfeffer@example.net\", \"angeline99@example.com\", \"ybergstrom@example.com\"), owner_id (14, 12, 4), first_name (\"Jaclyn\", \"Rolando\", \"Nora\"), zip_code (\"35747\", \"78297\", \"02647\"), street (\"15828 Spencer Extensions\", \"9212 Rosenbaum Lights\", \"9212 Rosenbaum Lights\"), state (\"Wisconsin\", \"Pennsylvania\", \"Indiana\") | dogs : weight (\"8.95\", \"8.95\", \"8.16\"), date_adopted (\"2018-03-21 10:41:18\", \"2018-03-13 12:47:15\", \"2018-03-07 21:45:43\"), dog_id (2, 11, 5), abandoned_yn (\"1\", \"0\"), owner_id (8, 1, 14), breed_code (\"ESK\", \"BUL\", \"HUS\"), gender (\"1\", \"0\"), dimension_code (\"LGE\", \"MED\", \"SML\"), name (\"Narciso\", \"Jeffrey\", \"Jesus\"), date_of_birth (\"2008-05-19 15:54:49\", \"2012-10-14 14:44:37\", \"2012-10-14 14:44:37\"), proportions_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-25 14:15:41\", \"2018-03-25 05:07:47\", \"2018-03-24 19:12:22\"), date_arrived (\"2017-12-22 05:02:02\", \"2017-06-18 19:45:38\", \"2017-06-25 10:14:05\"), age (\"2\", \"3\", \"8\") | professionals : city (\"Domenickton\", \"North Odellfurt\", \"Kirastad\"), cell_number (\"00230569697\", \"1-185-137-1945x409\", \"1-185-137-1945x409\"), first_name (\"Sigurd\", \"Ericka\", \"Vernice\"), role_code (\"Employee\", \"Veterenarian\"), last_name (\"Hyatt\", \"Pouros\", \"Considine\"), home_phone (\"891.475.2256\", \"325-155-0801x7005\", \"1-609-566-2752x25197\"), state (\"Hawaii\", \"NorthCarolina\", \"SouthCarolina\"), email_address (\"uboehm@example.org\", \"marquardt.furman@example.org\", \"lambert62@example.org\"), zip_code (\"41215\", \"34041\", \"84515\"), professional_id (7, 15, 15), street (\"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\", \"17286 Waters Green\nEast Bernadinefort, CA 89573\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\") | treatments : professional_id (5, 9, 4), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (12, 1, 14), date_of_treatment (\"2018-03-15 20:25:34\", \"2018-03-19 04:39:54\", \"2018-03-13 12:22:58\"), treatment_id (2, 7, 11), cost_of_treatment (147, 428, 139)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_description , treatment_type_code | owners : cell_number , city , last_name , home_phone 034-1670\", \"893-862-5295x61709\", \"916.976.9480x13851\", email_address , owner_id , first_name , zip_code , street , state | dogs : weight , date_adopted , dog_id , abandoned_yn , owner_id , breed_code , gender , dimension_code , name , date_of_birth , proportions_code , date_departed , date_arrived , age | professionals : city , cell_number , first_name , role_code , last_name , home_phone , state , email_address , zip_code , professional_id , street | treatments : professional_id , treatment_type_code , dog_id , date_of_treatment , treatment_id , cost_of_treatment", "extra_map": { "dogs": { "size_code": [ "dimension_code", "proportions_code" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "dimension_code", "proportions_code" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "breed type": "Dogs.breed_code", "size type": "Dogs.size_code", "dogs": "Dogs" } }, { "question": "find the distinct #breed type# and #size type# combinations for #dogs# .", "db_id": "dog_kennels", "orig_query": "select distinct breed_code, size_code from dogs", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : city (\"East Maribelbury\", \"Lake Carleyborough\", \"South Daisyfurt\"), first_name (\"Adelle\", \"Gay\", \"Jaclyn\"), cell_number (\"481-483-9083x37986\", \"1-739-421-2225x38148\", \"121.381.3316x6535\"), home_phone (\"916.976.9480x13851\", \"1-682-845-0116x63235\", \"01802479758\"), street (\"89011 Kertzmann Spring Suite 642\", \"692 Jaskolski Forges\", \"6950 Katherine Forges Apt. 630\"), email_address (\"ykris@example.com\", \"wpfeffer@example.net\", \"zboncak.madonna@example.net\"), owner_id (12, 6, 2), zip_code (\"02647\", \"11990\", \"93165\"), state (\"Arkansas\", \"Arizona\", \"Maryland\"), last_name (\"Stoltenberg\", \"Nicolas\", \"Funk\") | dogs : abandoned_yn (\"1\", \"0\"), age (\"6\", \"3\", \"3\"), race_code (\"ESK\", \"BUL\", \"HUS\"), name (\"Troy\", \"Evangeline\", \"Lyric\"), owner_id (7, 8, 5), gender (\"1\", \"0\"), weight (\"3.52\", \"4.36\", \"9.8\"), date_departed (\"2018-03-25 15:05:16\", \"2018-03-25 02:47:40\", \"2018-03-25 02:47:40\"), pedigree_code (\"ESK\", \"BUL\", \"HUS\"), dog_id (9, 10, 11), date_arrived (\"2018-01-17 11:44:16\", \"2017-06-18 19:45:38\", \"2017-04-20 00:58:55\"), size_code (\"LGE\", \"MED\", \"SML\"), date_of_birth (\"2008-05-19 15:54:49\", \"2012-05-31 08:01:36\", \"2012-05-03 21:42:25\"), date_adopted (\"2018-03-21 10:41:18\", \"2018-03-18 15:12:50\", \"2018-03-23 16:02:04\") | professionals : professional_id (14, 15, 5), state (\"SouthCarolina\", \"Montana\", \"Hawaii\"), role_code (\"Employee\", \"Veterenarian\"), email_address (\"marquardt.furman@example.org\", \"uboehm@example.org\", \"cole.margarita@example.org\"), street (\"390 Bryce Drive\nNorth Dock, LA 65357-7228\", \"88665 Terence Lodge Apt. 904\nCorneliusfort, NC 194\", \"36895 Eli Ferry\nPort Marcelle, FL 45712\"), home_phone (\"325-155-0801x7005\", \"325-155-0801x7005\", \"(920)304-4499x59146\"), cell_number (\"609-405-2990\", \"011.193.9081x3186\", \"962-983-8109x3509\"), last_name (\"Kshlerin\", \"Pouros\", \"Christiansen\"), city (\"Borisside\", \"South Rockyport\", \"Borisside\"), zip_code (\"43129\", \"52476\", \"98844\"), first_name (\"Domenica\", \"Velva\", \"Velva\") | treatments : cost_of_treatment (147, 428, 407), professional_id (8, 9, 7), date_of_treatment (\"2018-03-23 13:52:10\", \"2018-03-13 12:22:58\", \"2018-03-24 22:25:58\"), dog_id (7, 4, 2), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), treatment_id (14, 3, 8)", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_id , charge_amount , charge_type | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : city , first_name , cell_number , home_phone , street , email_address , owner_id , zip_code , state , last_name | dogs : abandoned_yn , age , race_code , name , owner_id , gender , weight , date_departed , pedigree_code , dog_id , date_arrived , size_code , date_of_birth , date_adopted | professionals : professional_id , state , role_code , email_address , street , home_phone 304-4499x59146\", cell_number , last_name , city , zip_code , first_name | treatments : cost_of_treatment , professional_id , date_of_treatment , dog_id , treatment_type_code , treatment_id", "extra_map": { "dogs": { "breed_code": [ "race_code", "pedigree_code" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed", "race_code", "pedigree_code" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "breed type": "Dogs.breed_code", "size type": "Dogs.size_code", "dogs": "Dogs" } }, { "question": "list the #first name of all the professionals# along with the #description of the treatment# they have done.", "db_id": "dog_kennels", "orig_query": "select distinct t1.first_name, t3.treatment_type_description from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id join treatment_types as t3 on t2.treatment_type_code = t3.treatment_type_code", "schema_with_content": "breeds : breed_code (\"BUL\", \"ESK\", \"HUS\"), breed_name (\"Eskimo\", \"Husky\", \"Bulldog\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_amount (98, 322, 640), charge_id (1, 2, 3) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : home_phone (\"(094)747-5094x8134\", \"(058)997-7627\", \"1-332-849-1908\"), street (\"89011 Kertzmann Spring Suite 642\", \"2417 Keara Stravenue Apt. 146\", \"89011 Kertzmann Spring Suite 642\"), email_address (\"lynn81@example.org\", \"ymaggio@example.com\", \"pearlie18@example.com\"), zip_code (\"87304\", \"35747\", \"35747\"), first_name (\"Jaclyn\", \"Gay\", \"Gay\"), cell_number (\"739-136-7202\", \"559.874.3011x989\", \"1-739-421-2225x38148\"), owner_id (7, 13, 9), state (\"SouthDakota\", \"Arkansas\", \"NewYork\"), city (\"Brakusfurt\", \"Barrettburgh\", \"Lake Valentin\"), last_name (\"Haley\", \"Stoltenberg\", \"Ondricka\") | dogs : abandoned_yn (\"1\", \"0\"), dog_id (1, 7, 15), date_adopted (\"2018-03-21 10:41:18\", \"2018-03-13 12:47:15\", \"2018-03-25 08:12:51\"), size_code (\"LGE\", \"MED\", \"SML\"), age (\"5\", \"9\", \"6\"), owner_id (8, 2, 12), name (\"Kacey\", \"Mavis\", \"Bessie\"), date_departed (\"2018-03-25 02:11:32\", \"2018-03-25 06:46:07\", \"2018-03-25 15:05:16\"), date_arrived (\"2018-01-17 11:44:16\", \"2017-04-15 09:25:31\", \"2017-07-25 15:19:07\"), gender (\"1\", \"0\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), weight (\"8.16\", \"4.01\", \"2.18\"), date_of_birth (\"2008-05-19 15:54:49\", \"2012-01-27 05:11:53\", \"2012-07-11 17:15:10\") | professionals : role_code (\"Employee\", \"Veterenarian\"), home_phone (\"312.216.3352\", \"891.475.2256\", \"1-138-287-3775\"), city (\"North Odellfurt\", \"Raynorfort\", \"Juddton\"), state (\"Mississippi\", \"Alabama\", \"California\"), zip_code (\"43129\", \"41215\", \"52476\"), professional_id (4, 10, 11), street (\"63949 Keeling Landing Apt. 502\nJohnsview, SD 06780\", \"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\", \"92912 Langworth Valleys Apt. 743\nThompsonborough, \"), last_name (\"Hayes\", \"Tillman\", \"Hyatt\"), cell_number (\"499-434-0215x1628\", \"1-181-670-9466\", \"461-801-2600\"), email_address (\"lucile.shanahan@example.org\", \"cole.margarita@example.org\", \"deanna.schuster@example.com\"), first_name (\"Danny\", \"Olaf\", \"Lesly\") | treatments : dog_id (1, 12, 1), treatment_id (10, 6, 15), professional_id (10, 8, 4), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), cost_of_treatment (407, 429, 313), date_of_treatment (\"2018-03-13 12:22:58\", \"2018-03-11 04:23:15\", \"2018-03-16 10:27:36\")", "schema_without_content": "breeds : breed_code , breed_name | charges : charge_type , charge_amount , charge_id | sizes : size_description , size_code | treatment_types : treatment_type_code , type_description , treatment_description | owners : home_phone 747-5094x8134\", \"997-7627\", \"1-332-849-1908\", street , email_address , zip_code , first_name , cell_number , owner_id , state , city , last_name | dogs : abandoned_yn , dog_id , date_adopted , size_code , age , owner_id , name , date_departed , date_arrived , gender , breed_code , weight , date_of_birth | professionals : role_code , home_phone , city , state , zip_code , professional_id , street , last_name , cell_number , email_address , first_name | treatments : dog_id , treatment_id , professional_id , treatment_type_code , cost_of_treatment , date_of_treatment", "extra_map": { "treatment_types": { "treatment_type_description": [ "treatment_description", "type_description" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_description", "type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "first name of all the professionals": "Professionals.first_name", "description of the treatment": "Treatment_Types.treatment_type_description" } }, { "question": "list the #first name of all the professionals# along with the #description of the treatment# they have done.", "db_id": "dog_kennels", "orig_query": "select distinct t1.first_name, t3.treatment_type_description from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id join treatment_types as t3 on t2.treatment_type_code = t3.treatment_type_code", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\"), charge_id (1, 2, 3), charge_amount (98, 322, 640) | sizes : size_description (\"Small\", \"Medium\", \"Large\"), size_code (\"LGE\", \"MED\", \"SML\") | treatment_types : treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\") | owners : owner_id (1, 14, 6), email_address (\"hudson.favian@example.com\", \"lynn81@example.org\", \"margaretta.runte@example.net\"), last_name (\"Hamill\", \"Funk\", \"Hauck\"), cell_number (\"(257)399-3116\", \"1-739-421-2225x38148\", \"633.455.3045x85484\"), home_phone (\"01802479758\", \"(058)997-7627\", \"(094)747-5094x8134\"), street (\"15828 Spencer Extensions\", \"2635 Caitlyn Plains\", \"89011 Kertzmann Spring Suite 642\"), state (\"Mississippi\", \"Indiana\", \"SouthDakota\"), city (\"South Afton\", \"Lake Jennyferfort\", \"Beerton\"), zip_code (\"78297\", \"92406\", \"45244\"), first_name (\"Lorenz\", \"Emelie\", \"Orlando\") | dogs : breed_code (\"ESK\", \"BUL\", \"HUS\"), abandoned_yn (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), name (\"Narciso\", \"Hipolito\", \"Houston\"), date_of_birth (\"2012-01-27 05:11:53\", \"2017-09-19 05:39:09\", \"2008-05-19 15:54:49\"), date_adopted (\"2018-03-08 15:03:00\", \"2018-03-18 15:12:50\", \"2018-03-07 21:45:43\"), gender (\"1\", \"0\"), age (\"9\", \"8\", \"4\"), date_departed (\"2018-03-25 06:29:10\", \"2018-03-25 14:15:41\", \"2018-03-24 19:36:59\"), date_arrived (\"2017-10-24 04:45:13\", \"2017-12-29 06:08:26\", \"2018-01-02 03:15:29\"), weight (\"8.04\", \"5.16\", \"7.57\"), dog_id (3, 10, 11), owner_id (1, 8, 1) | professionals : street (\"07073 Brenna Ways Suite 089\nLowehaven, KY 93275-96\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \"), state (\"NewMexico\", \"California\", \"Connecticut\"), professional_id (6, 1, 9), zip_code (\"80775\", \"80775\", \"54312\"), home_phone (\"(920)304-4499x59146\", \"(920)304-4499x59146\", \"1-609-566-2752x25197\"), cell_number (\"00230569697\", \"328.842.3792\", \"328.842.3792\"), city (\"Jaceton\", \"New Laurytown\", \"Kirastad\"), role_code (\"Employee\", \"Veterenarian\"), forename (\"Ericka\", \"Karley\", \"Jayson\"), given_name (\"Ericka\", \"Karley\", \"Jayson\"), email_address (\"marquardt.furman@example.org\", \"lambert62@example.org\", \"deanna.schuster@example.com\"), last_name (\"Considine\", \"O'Reilly\", \"Watsica\") | treatments : treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (10, 12, 14), professional_id (10, 9, 14), date_of_treatment (\"2018-03-01 04:14:46\", \"2018-03-15 19:10:02\", \"2018-03-04 20:33:43\"), cost_of_treatment (429, 668, 139), treatment_id (6, 15, 11)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_type , charge_id , charge_amount | sizes : size_description , size_code | treatment_types : treatment_type_description , treatment_type_code | owners : owner_id , email_address , last_name , cell_number 399-3116\", \"1-739-421-2225x38148\", \"633.455.3045x85484\", home_phone 997-7627\", \"747-5094x8134\", street , state , city , zip_code , first_name | dogs : breed_code , abandoned_yn , size_code , name , date_of_birth , date_adopted , gender , age , date_departed , date_arrived , weight , dog_id , owner_id | professionals : street , state , professional_id , zip_code , home_phone 304-4499x59146\", \"304-4499x59146\", \"1-609-566-2752x25197\", cell_number , city , role_code , forename , given_name , email_address , last_name | treatments : treatment_type_code , dog_id , professional_id , date_of_treatment , cost_of_treatment , treatment_id", "extra_map": { "professionals": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "forename", "given_name" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "first name of all the professionals": "Professionals.first_name", "description of the treatment": "Treatment_Types.treatment_type_description" } }, { "question": "what are each #professional's first name# and #description of the treatment# they have performed?", "db_id": "dog_kennels", "orig_query": "select distinct t1.first_name, t3.treatment_type_description from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id join treatment_types as t3 on t2.treatment_type_code = t3.treatment_type_code", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_id (1, 2, 3), charge_amount (98, 322, 640), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\"), treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : state (\"NewYork\", \"NewYork\", \"Mississippi\"), cell_number (\"478.978.0729\", \"(783)271-6744x4507\", \"341.667.8085\"), city (\"Lake Valentin\", \"Lake Tia\", \"West Leonard\"), last_name (\"Rippin\", \"Rippin\", \"Haley\"), email_address (\"ykris@example.com\", \"christy49@example.org\", \"zboncak.madonna@example.net\"), first_name (\"Rachelle\", \"Heather\", \"Nora\"), home_phone (\"066.264.7885\", \"066.264.7885\", \"318-052-6573\"), zip_code (\"36871\", \"11990\", \"00589\"), street (\"57382 Yost Ridges\", \"89011 Kertzmann Spring Suite 642\", \"57382 Yost Ridges\"), owner_id (1, 5, 5) | dogs : abandoned_yn (\"1\", \"0\"), name (\"Merritt\", \"Narciso\", \"Narciso\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_adopted (\"2018-03-06 16:32:11\", \"2018-02-27 00:27:57\", \"2018-03-14 08:05:18\"), dog_id (8, 14, 8), weight (\"9.48\", \"8.04\", \"2.18\"), owner_id (1, 6, 13), age (\"9\", \"5\", \"9\"), date_arrived (\"2017-12-22 05:02:02\", \"2017-06-18 19:45:38\", \"2017-07-25 15:19:07\"), date_departed (\"2018-03-25 06:58:44\", \"2018-03-25 10:25:46\", \"2018-03-25 15:05:16\"), gender (\"1\", \"0\"), size_code (\"LGE\", \"MED\", \"SML\"), date_of_birth (\"2018-03-17 04:05:12\", \"2012-10-14 14:44:37\", \"2012-10-14 14:44:37\") | professionals : last_name (\"Christiansen\", \"Hyatt\", \"Pouros\"), email_address (\"jeichmann@example.com\", \"lucile.shanahan@example.org\", \"lucile.shanahan@example.org\"), zip_code (\"43129\", \"52476\", \"07412\"), city (\"Kirastad\", \"Borisside\", \"North Adelberttown\"), professional_id (13, 6, 1), home_phone (\"022.529.0550x1319\", \"891.475.2256\", \"+02(1)0259033559\"), state (\"Utah\", \"NewMexico\", \"NewMexico\"), street (\"44234 Marvin Shoals Suite 659\nNorth Frances, AL 23\", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \", \"188 VonRueden Tunnel Suite 630\nNorth Macibury, NV \"), first_name (\"Taryn\", \"Winfield\", \"Karley\"), role_code (\"Employee\", \"Veterenarian\"), cell_number (\"00230569697\", \"609-405-2990\", \"962-983-8109x3509\") | treatments : treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (7, 2, 7), date_of_treatment (\"2018-03-15 19:10:02\", \"2018-03-15 19:10:02\", \"2018-02-26 09:08:53\"), professional_id (6, 6, 8), treatment_id (6, 8, 9), cost_of_treatment (428, 945, 313)", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_id , charge_amount , charge_type | sizes : size_code , size_description | treatment_types : type_description , treatment_type_code , treatment_description | owners : state , cell_number 271-6744x4507\", \"341.667.8085\", city , last_name , email_address , first_name , home_phone , zip_code , street , owner_id | dogs : abandoned_yn , name , breed_code , date_adopted , dog_id , weight , owner_id , age , date_arrived , date_departed , gender , size_code , date_of_birth | professionals : last_name , email_address , zip_code , city , professional_id , home_phone 0259033559\", state , street , first_name , role_code , cell_number | treatments : treatment_type_code , dog_id , date_of_treatment , professional_id , treatment_id , cost_of_treatment", "extra_map": { "treatment_types": { "treatment_type_description": [ "treatment_description", "type_description" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_description", "type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "first_name", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "description of the treatment": "Treatment_Types.treatment_type_description", "professional's first name": "Professionals.first_name" } }, { "question": "what are each #professional's first name# and #description of the treatment# they have performed?", "db_id": "dog_kennels", "orig_query": "select distinct t1.first_name, t3.treatment_type_description from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id join treatment_types as t3 on t2.treatment_type_code = t3.treatment_type_code", "schema_with_content": "breeds : breed_name (\"Eskimo\", \"Husky\", \"Bulldog\"), breed_code (\"BUL\", \"ESK\", \"HUS\") | charges : charge_amount (98, 322, 640), charge_id (1, 2, 3), charge_type (\"Daily Accommodation\", \"Drugs\", \"Health Check\") | sizes : size_code (\"LGE\", \"MED\", \"SML\"), size_description (\"Small\", \"Medium\", \"Large\") | treatment_types : treatment_type_code (\"EXAM\", \"VAC\", \"WALK\"), treatment_type_description (\"Physical examination\", \"Vaccination\", \"Take for a Walk\") | owners : state (\"Arkansas\", \"Virginia\", \"SouthDakota\"), zip_code (\"36871\", \"22731\", \"00589\"), home_phone (\"363.948.1090\", \"(799)563-0260x454\", \"066.264.7885\"), first_name (\"Jaclyn\", \"Melisa\", \"Melisa\"), city (\"Port Zackery\", \"Lake Jennyferfort\", \"East Maribelbury\"), email_address (\"fschoen@example.net\", \"marks.gail@example.org\", \"angeline99@example.com\"), last_name (\"Stoltenberg\", \"DuBuque\", \"DuBuque\"), owner_id (5, 8, 12), cell_number (\"633.455.3045x85484\", \"121.381.3316x6535\", \"739-136-7202\"), street (\"0647 Hintz Village Apt. 024\", \"1858 Jan Park\", \"68118 Daniel Row\") | dogs : size_code (\"LGE\", \"MED\", \"SML\"), date_departed (\"2018-03-25 04:50:22\", \"2018-03-24 19:12:22\", \"2018-03-25 06:46:07\"), breed_code (\"ESK\", \"BUL\", \"HUS\"), date_arrived (\"2017-06-18 19:45:38\", \"2017-06-18 19:45:38\", \"2017-06-25 10:14:05\"), weight (\"7.57\", \"6.92\", \"9.48\"), name (\"Holden\", \"Troy\", \"Troy\"), owner_id (12, 14, 12), date_of_birth (\"2012-01-27 05:11:53\", \"2012-07-11 17:15:10\", \"2008-10-09 22:38:53\"), dog_id (15, 4, 9), date_adopted (\"2018-03-06 16:32:11\", \"2018-03-21 10:41:18\", \"2018-03-18 15:12:50\"), abandoned_yn (\"1\", \"0\"), age (\"9\", \"2\", \"6\"), gender (\"1\", \"0\") | professionals : cell_number (\"962-983-8109x3509\", \"889-940-2676\", \"328.842.3792\"), last_name (\"Hayes\", \"Jacobs\", \"Considine\"), street (\"390 Bryce Drive\nNorth Dock, LA 65357-7228\", \"09615 McKenzie Stravenue Apt. 128\nWest Elliottview\", \"6915 Oberbrunner Point Suite 491\nGleasonville, LA \"), role_code (\"Employee\", \"Veterenarian\"), zip_code (\"17902\", \"34041\", \"77129\"), home_phone (\"(230)338-3342x585\", \"312.216.3352\", \"+02(1)0259033559\"), state (\"SouthCarolina\", \"Wyoming\", \"Indiana\"), given_name (\"Monte\", \"Ruben\", \"Domenica\"), forename (\"Monte\", \"Ruben\", \"Domenica\"), professional_id (6, 5, 8), city (\"Kirastad\", \"Juddton\", \"North Odellfurt\"), email_address (\"mekhi.little@example.org\", \"jerrod.bahringer@example.org\", \"marquardt.furman@example.org\") | treatments : treatment_id (5, 15, 12), cost_of_treatment (428, 313, 349), professional_id (8, 7, 5), treatment_type_code (\"WALK\", \"VAC\", \"EXAM\"), dog_id (12, 10, 2), date_of_treatment (\"2018-03-15 20:25:34\", \"2018-03-13 12:22:58\", \"2018-03-19 04:39:54\")", "schema_without_content": "breeds : breed_name , breed_code | charges : charge_amount , charge_id , charge_type | sizes : size_code , size_description | treatment_types : treatment_type_code , treatment_type_description | owners : state , zip_code , home_phone 563-0260x454\", \"066.264.7885\", first_name , city , email_address , last_name , owner_id , cell_number , street | dogs : size_code , date_departed , breed_code , date_arrived , weight , name , owner_id , date_of_birth , dog_id , date_adopted , abandoned_yn , age , gender | professionals : cell_number , last_name , street , role_code , zip_code , home_phone 338-3342x585\", \"312.216.3352\", \"+020259033559\", state , given_name , forename , professional_id , city , email_address | treatments : treatment_id , cost_of_treatment , professional_id , treatment_type_code , dog_id , date_of_treatment", "extra_map": { "professionals": { "first_name": [ "forename", "given_name" ] } }, "extra_table_map": null, "db_schema": { "breeds": [ "breed_code", "breed_name" ], "charges": [ "charge_id", "charge_type", "charge_amount" ], "sizes": [ "size_code", "size_description" ], "treatment_types": [ "treatment_type_code", "treatment_type_description" ], "owners": [ "owner_id", "first_name", "last_name", "street", "city", "state", "zip_code", "email_address", "home_phone", "cell_number" ], "dogs": [ "dog_id", "owner_id", "abandoned_yn", "breed_code", "size_code", "name", "age", "date_of_birth", "gender", "weight", "date_arrived", "date_adopted", "date_departed" ], "professionals": [ "professional_id", "role_code", "street", "city", "state", "zip_code", "last_name", "email_address", "home_phone", "cell_number", "forename", "given_name" ], "treatments": [ "treatment_id", "dog_id", "professional_id", "treatment_type_code", "date_of_treatment", "cost_of_treatment" ] }, "column_linking_gt": { "description of the treatment": "Treatment_Types.treatment_type_description", "professional's first name": "Professionals.first_name" } }, { "question": "list the #name of singers# in ascending order of #net worth# .", "db_id": "singer", "orig_query": "select name from singer order by net_worth_millions asc", "schema_with_content": "singer : singer_id (6, 7, 1), stage_name (\"Liliane Bettencourt\", \"Iris Fontbona\", \"Alice Walton\"), citizenship (\"Australia\", \"Chile\", \"Australia\"), net_worth_millions (12.7, 17.4, 17.8), artist_name (\"Liliane Bettencourt\", \"Iris Fontbona\", \"Alice Walton\"), birth_year (1949.0, 1962.0, 1944.0) | song : highest_position (1.0, 3.0), song_id (6, 2, 7), singer_id (1, 6, 7), sales (292000.0, 1094000.0, 552407.0), title (\"F**k It (I Don't Want You Back)\", \"F**k It (I Don't Want You Back)\", \"Cha Cha Slide\")", "schema_without_content": "singer : singer_id , stage_name , citizenship , net_worth_millions , artist_name , birth_year | song : highest_position , song_id , singer_id , sales , title \", \"F**k It \", \"Cha Cha Slide\"", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "name of singers": "singer.Name", "net worth": "singer.Net_Worth_Millions" } }, { "question": "what are the #names of singers# ordered by ascending #net worth# ?", "db_id": "singer", "orig_query": "select name from singer order by net_worth_millions asc", "schema_with_content": "singer : singer_id (8, 4, 8), citizenship (\"United States\", \"Germany\", \"Germany\"), net_worth_millions (14.3, 30.0, 26.3), birth_year (1944.0, 1949.0, 1949.0), artist_name (\"Christy Walton\", \"Gina Rinehart\", \"Alice Walton\"), stage_name (\"Christy Walton\", \"Gina Rinehart\", \"Alice Walton\") | song : sales (335000.0, 275000.0, 552407.0), highest_position (1.0, 3.0), singer_id (6, 2, 2), title (\"Call on Me\", \"Cha Cha Slide\", \"F**k It (I Don't Want You Back)\"), song_id (8, 8, 1)", "schema_without_content": "singer : singer_id , citizenship , net_worth_millions , birth_year , artist_name , stage_name | song : sales , highest_position , singer_id , title \", song_id", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "names of singers": "singer.Name", "net worth": "singer.Net_Worth_Millions" } }, { "question": "what are the #birth year# and #citizenship of singers# ?", "db_id": "singer", "orig_query": "select birth_year, citizenship from singer", "schema_with_content": "singer : country_of_origin (\"Germany\", \"Australia\", \"Australia\"), singer_id (3, 8, 7), nationality (\"Germany\", \"Australia\", \"Australia\"), name (\"Alice Walton\", \"Susanne Klatten\", \"Abigail Johnson\"), net_worth_millions (14.3, 17.0, 28.8), birth_year (1949.0, 1961.0, 1953.0) | song : song_id (5, 3, 8), singer_id (1, 5, 1), highest_position (1.0, 3.0), sales (1094000.0, 275000.0, 335000.0), title (\"Cha Cha Slide\", \"Call on Me\", \"Mysterious Girl\")", "schema_without_content": "singer : country_of_origin , singer_id , nationality , name , net_worth_millions , birth_year | song : song_id , singer_id , highest_position , sales , title", "extra_map": { "singer": { "citizenship": [ "nationality", "country_of_origin" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "net_worth_millions", "nationality", "country_of_origin" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "birth year": "singer.Birth_Year", "citizenship of singers": "singer.Citizenship" } }, { "question": "what are the #birth year# and #citizenship of singers# ?", "db_id": "singer", "orig_query": "select birth_year, citizenship from singer", "schema_with_content": "singer : date_of_birth (1940.0, 1942.0, 1962.0), year_of_birth (1940.0, 1942.0, 1962.0), singer_id (1, 4, 7), net_worth_millions (17.0, 17.4, 17.4), citizenship (\"Germany\", \"Australia\", \"Chile\"), name (\"Iris Fontbona\", \"Liliane Bettencourt\", \"Jacqueline Mars\") | song : singer_id (2, 6, 7), song_id (4, 6, 3), sales (275000.0, 292000.0, 275000.0), highest_position (1.0, 3.0), title (\"Yeah\", \"Cha Cha Slide\", \"Mysterious Girl\")", "schema_without_content": "singer : date_of_birth , year_of_birth , singer_id , net_worth_millions , citizenship , name | song : singer_id , song_id , sales , highest_position , title", "extra_map": { "singer": { "birth_year": [ "date_of_birth", "year_of_birth" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "net_worth_millions", "citizenship", "date_of_birth", "year_of_birth" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "birth year": "singer.Birth_Year", "citizenship of singers": "singer.Citizenship" } }, { "question": "what are the #birth years# and #citizenships of the singers# ?", "db_id": "singer", "orig_query": "select birth_year, citizenship from singer", "schema_with_content": "singer : net_worth_millions (28.8, 12.7, 17.0), singer_id (8, 6, 5), nationality (\"United States\", \"Chile\", \"France\"), country_of_origin (\"United States\", \"Chile\", \"France\"), birth_year (1953.0, 1940.0, 1944.0), name (\"Iris Fontbona\", \"Liliane Bettencourt\", \"Jacqueline Mars\") | song : song_id (5, 2, 6), sales (261000.0, 261000.0, 275000.0), singer_id (1, 6, 5), title (\"Do They Know It's Christmas\", \"Yeah\", \"Yeah\"), highest_position (1.0, 3.0)", "schema_without_content": "singer : net_worth_millions , singer_id , nationality , country_of_origin , birth_year , name | song : song_id , sales , singer_id , title , highest_position", "extra_map": { "singer": { "citizenship": [ "nationality", "country_of_origin" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "net_worth_millions", "nationality", "country_of_origin" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "birth years": "singer.Birth_Year", "citizenships of the singers": "singer.Citizenship" } }, { "question": "what are the #birth years# and #citizenships of the singers# ?", "db_id": "singer", "orig_query": "select birth_year, citizenship from singer", "schema_with_content": "singer : year_of_birth (1948.0, 1949.0, 1949.0), citizenship (\"United States\", \"France\", \"Australia\"), name (\"Iris Fontbona\", \"Alice Walton\", \"Christy Walton\"), net_worth_millions (30.0, 12.7, 26.3), singer_id (2, 1, 7), date_of_birth (1948.0, 1949.0, 1949.0) | song : singer_id (2, 7, 1), song_id (8, 1, 4), sales (351421.0, 261000.0, 261000.0), highest_position (1.0, 3.0), title (\"Do They Know It's Christmas\", \"F**k It (I Don't Want You Back)\", \"All This Time\")", "schema_without_content": "singer : year_of_birth , citizenship , name , net_worth_millions , singer_id , date_of_birth | song : singer_id , song_id , sales , highest_position , title \", \"All This Time\"", "extra_map": { "singer": { "birth_year": [ "date_of_birth", "year_of_birth" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "net_worth_millions", "citizenship", "date_of_birth", "year_of_birth" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "birth years": "singer.Birth_Year", "citizenships of the singers": "singer.Citizenship" } }, { "question": "list the #name of singers# whose #citizenship# is not \"france\".", "db_id": "singer", "orig_query": "select name from singer where citizenship != \"France\"", "schema_with_content": "singer : net_worth_millions (17.0, 17.4, 17.4), artist_name (\"Gina Rinehart\", \"Iris Fontbona\", \"Gina Rinehart\"), birth_year (1962.0, 1961.0, 1944.0), stage_name (\"Gina Rinehart\", \"Iris Fontbona\", \"Gina Rinehart\"), citizenship (\"Germany\", \"Chile\", \"Germany\"), singer_id (6, 4, 6) | song : sales (1094000.0, 300000.0, 335000.0), title (\"All This Time\", \"All This Time\", \"F**k It (I Don't Want You Back)\"), singer_id (6, 6, 7), highest_position (1.0, 3.0), song_id (6, 6, 2)", "schema_without_content": "singer : net_worth_millions , artist_name , birth_year , stage_name , citizenship , singer_id | song : sales , title \", singer_id , highest_position , song_id", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "name of singers": "singer.Name", "citizenship": "singer.Citizenship" } }, { "question": "what are the #names of the singers# who are not #french citizens# ?", "db_id": "singer", "orig_query": "select name from singer where citizenship != \"France\"", "schema_with_content": "singer : net_worth_millions (26.3, 17.8, 30.0), stage_name (\"Gina Rinehart\", \"Susanne Klatten\", \"Gina Rinehart\"), artist_name (\"Gina Rinehart\", \"Susanne Klatten\", \"Gina Rinehart\"), birth_year (1948.0, 1942.0, 1953.0), citizenship (\"Germany\", \"Chile\", \"France\"), singer_id (6, 7, 7) | song : sales (1094000.0, 292000.0, 292000.0), singer_id (4, 1, 5), song_id (2, 4, 6), highest_position (1.0, 3.0), title (\"All This Time\", \"All This Time\", \"Yeah\")", "schema_without_content": "singer : net_worth_millions , stage_name , artist_name , birth_year , citizenship , singer_id | song : sales , singer_id , song_id , highest_position , title", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "names of the singers": "singer.Name", "French citizens": "singer.Citizenship" } }, { "question": "show the #name of singers# whose #birth year# is either 1948 or 1949?", "db_id": "singer", "orig_query": "select name from singer where birth_year = 1948 or birth_year = 1949", "schema_with_content": "singer : net_worth_millions (17.0, 26.3, 17.4), birth_year (1940.0, 1961.0, 1962.0), singer_id (5, 7, 3), citizenship (\"Australia\", \"Germany\", \"Australia\"), stage_name (\"Gina Rinehart\", \"Iris Fontbona\", \"Gina Rinehart\"), artist_name (\"Gina Rinehart\", \"Iris Fontbona\", \"Gina Rinehart\") | song : highest_position (1.0, 3.0), song_id (1, 8, 2), singer_id (6, 5, 4), title (\"Do They Know It's Christmas\", \"F**k It (I Don't Want You Back)\", \"Left Outside Alone\"), sales (351421.0, 335000.0, 351421.0)", "schema_without_content": "singer : net_worth_millions , birth_year , singer_id , citizenship , stage_name , artist_name | song : highest_position , song_id , singer_id , title \", \"Left Outside Alone\", sales", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "name of singers": "singer.Name", "birth year": "singer.Birth_Year" } }, { "question": "what are the #names of the singers# whose #birth years# are either 1948 or 1949?", "db_id": "singer", "orig_query": "select name from singer where birth_year = 1948 or birth_year = 1949", "schema_with_content": "singer : artist_name (\"Jacqueline Mars\", \"Alice Walton\", \"Abigail Johnson\"), stage_name (\"Jacqueline Mars\", \"Alice Walton\", \"Abigail Johnson\"), net_worth_millions (17.8, 12.7, 12.7), citizenship (\"France\", \"Germany\", \"France\"), singer_id (7, 6, 6), birth_year (1948.0, 1942.0, 1944.0) | song : sales (292000.0, 1094000.0, 1094000.0), singer_id (7, 2, 5), highest_position (1.0, 3.0), song_id (7, 5, 7), title (\"Call on Me\", \"Cha Cha Slide\", \"Call on Me\")", "schema_without_content": "singer : artist_name , stage_name , net_worth_millions , citizenship , singer_id , birth_year | song : sales , singer_id , highest_position , song_id , title", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "names of the singers": "singer.Name", "birth years": "singer.Birth_Year" } }, { "question": "what is the #name of the singer# with the largest #net worth# ?", "db_id": "singer", "orig_query": "select name from singer order by net_worth_millions desc limit 1", "schema_with_content": "singer : citizenship (\"Chile\", \"United States\", \"Germany\"), artist_name (\"Alice Walton\", \"Gina Rinehart\", \"Alice Walton\"), net_worth_millions (12.7, 26.3, 17.4), stage_name (\"Alice Walton\", \"Gina Rinehart\", \"Alice Walton\"), birth_year (1944.0, 1940.0, 1953.0), singer_id (4, 5, 4) | song : highest_position (1.0, 3.0), singer_id (5, 4, 1), song_id (7, 2, 1), sales (300000.0, 300000.0, 552407.0), title (\"Call on Me\", \"Yeah\", \"Yeah\")", "schema_without_content": "singer : citizenship , artist_name , net_worth_millions , stage_name , birth_year , singer_id | song : highest_position , singer_id , song_id , sales , title", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "name of the singer": "singer.Name", "net worth": "singer.Net_Worth_Millions" } }, { "question": "what is the #name of the singer# who is #worth# the most?", "db_id": "singer", "orig_query": "select name from singer order by net_worth_millions desc limit 1", "schema_with_content": "singer : net_worth_millions (17.0, 17.0, 30.0), birth_year (1961.0, 1953.0, 1944.0), artist_name (\"Christy Walton\", \"Gina Rinehart\", \"Susanne Klatten\"), stage_name (\"Christy Walton\", \"Gina Rinehart\", \"Susanne Klatten\"), citizenship (\"United States\", \"United States\", \"Germany\"), singer_id (5, 3, 5) | song : sales (261000.0, 275000.0, 351421.0), singer_id (4, 5, 6), highest_position (1.0, 3.0), song_id (3, 5, 1), title (\"F**k It (I Don't Want You Back)\", \"Call on Me\", \"Left Outside Alone\")", "schema_without_content": "singer : net_worth_millions , birth_year , artist_name , stage_name , citizenship , singer_id | song : sales , singer_id , highest_position , song_id , title \", \"Call on Me\", \"Left Outside Alone\"", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "name of the singer": "singer.Name", "worth": "singer.Net_Worth_Millions" } }, { "question": "show different #citizenship of singers# and the number of #singers of each citizenship# .", "db_id": "singer", "orig_query": "select citizenship, count(*) from singer group by citizenship", "schema_with_content": "singer : nationality (\"Chile\", \"Germany\", \"Germany\"), singer_id (7, 7, 2), birth_year (1953.0, 1944.0, 1961.0), country_of_origin (\"Chile\", \"Germany\", \"Germany\"), net_worth_millions (12.7, 26.3, 17.4), name (\"Gina Rinehart\", \"Abigail Johnson\", \"Iris Fontbona\") | song : title (\"Cha Cha Slide\", \"Call on Me\", \"Left Outside Alone\"), singer_id (7, 2, 2), sales (261000.0, 292000.0, 1094000.0), song_id (7, 3, 3), highest_position (1.0, 3.0)", "schema_without_content": "singer : nationality , singer_id , birth_year , country_of_origin , net_worth_millions , name | song : title , singer_id , sales , song_id , highest_position", "extra_map": { "singer": { "citizenship": [ "nationality", "country_of_origin" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "net_worth_millions", "nationality", "country_of_origin" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "citizenship of singers": "singer.Citizenship", "singers of each citizenship": "singer.Citizenship" } }, { "question": "for each #citizenship# , how many #singers# are from that country?", "db_id": "singer", "orig_query": "select citizenship, count(*) from singer group by citizenship", "schema_with_content": "singer : singer_id (3, 7, 1), nationality (\"Australia\", \"Germany\", \"United States\"), name (\"Liliane Bettencourt\", \"Christy Walton\", \"Liliane Bettencourt\"), net_worth_millions (17.4, 17.4, 12.7), country_of_origin (\"Australia\", \"Germany\", \"United States\"), birth_year (1949.0, 1949.0, 1940.0) | song : title (\"Mysterious Girl\", \"Call on Me\", \"F**k It (I Don't Want You Back)\"), sales (351421.0, 351421.0, 261000.0), singer_id (2, 2, 6), highest_position (1.0, 3.0), song_id (7, 1, 5)", "schema_without_content": "singer : singer_id , nationality , name , net_worth_millions , country_of_origin , birth_year | song : title \", sales , singer_id , highest_position , song_id", "extra_map": { "singer": { "citizenship": [ "nationality", "country_of_origin" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "net_worth_millions", "nationality", "country_of_origin" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "citizenship": "singer.Citizenship", "singers": "singer" } }, { "question": "please show the most common #citizenship of singers# .", "db_id": "singer", "orig_query": "select citizenship from singer group by citizenship order by count(*) desc limit 1", "schema_with_content": "singer : country_of_origin (\"Australia\", \"Chile\", \"Chile\"), name (\"Jacqueline Mars\", \"Iris Fontbona\", \"Abigail Johnson\"), singer_id (7, 8, 1), net_worth_millions (14.3, 28.8, 17.8), birth_year (1942.0, 1961.0, 1948.0), nationality (\"Australia\", \"Chile\", \"Chile\") | song : highest_position (1.0, 3.0), title (\"Left Outside Alone\", \"F**k It (I Don't Want You Back)\", \"Cha Cha Slide\"), singer_id (5, 4, 4), sales (261000.0, 351421.0, 351421.0), song_id (7, 6, 2)", "schema_without_content": "singer : country_of_origin , name , singer_id , net_worth_millions , birth_year , nationality | song : highest_position , title \", \"Cha Cha Slide\", singer_id , sales , song_id", "extra_map": { "singer": { "citizenship": [ "nationality", "country_of_origin" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "net_worth_millions", "nationality", "country_of_origin" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "citizenship of singers": "singer.Citizenship" } }, { "question": "show different #citizenships# and the #maximum net worth of singers# of each citizenship.", "db_id": "singer", "orig_query": "select citizenship, max(net_worth_millions) from singer group by citizenship", "schema_with_content": "singer : name (\"Gina Rinehart\", \"Jacqueline Mars\", \"Christy Walton\"), nationality (\"Germany\", \"United States\", \"Germany\"), net_worth_millions (28.8, 28.8, 17.8), country_of_origin (\"Germany\", \"United States\", \"Germany\"), singer_id (3, 4, 3), birth_year (1940.0, 1948.0, 1961.0) | song : singer_id (2, 1, 7), title (\"Mysterious Girl\", \"Cha Cha Slide\", \"Call on Me\"), highest_position (1.0, 3.0), song_id (2, 7, 3), sales (335000.0, 261000.0, 1094000.0)", "schema_without_content": "singer : name , nationality , net_worth_millions , country_of_origin , singer_id , birth_year | song : singer_id , title , highest_position , song_id , sales", "extra_map": { "singer": { "citizenship": [ "nationality", "country_of_origin" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "net_worth_millions", "nationality", "country_of_origin" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "citizenships": "singer.Citizenship", "maximum net worth of singers": "singer.Net_Worth_Millions" } }, { "question": "show different #citizenships# and the #maximum net worth of singers# of each citizenship.", "db_id": "singer", "orig_query": "select citizenship, max(net_worth_millions) from singer group by citizenship", "schema_with_content": "singer : singer_id (7, 5, 2), name (\"Liliane Bettencourt\", \"Liliane Bettencourt\", \"Liliane Bettencourt\"), income_millions (30.0, 26.3, 17.0), birth_year (1962.0, 1944.0, 1948.0), citizenship (\"France\", \"France\", \"Chile\"), earnings_millions (30.0, 26.3, 17.0) | song : song_id (2, 7, 4), singer_id (5, 4, 4), sales (1094000.0, 261000.0, 335000.0), title (\"Do They Know It's Christmas\", \"All This Time\", \"Do They Know It's Christmas\"), highest_position (1.0, 3.0)", "schema_without_content": "singer : singer_id , name , income_millions , birth_year , citizenship , earnings_millions | song : song_id , singer_id , sales , title , highest_position", "extra_map": { "singer": { "net_worth_millions": [ "earnings_millions", "income_millions" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "citizenship", "earnings_millions", "income_millions" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "citizenships": "singer.Citizenship", "maximum net worth of singers": "singer.Net_Worth_Millions" } }, { "question": "for each #citizenship# , what is the #maximum net worth# ?", "db_id": "singer", "orig_query": "select citizenship, max(net_worth_millions) from singer group by citizenship", "schema_with_content": "singer : country_of_origin (\"Australia\", \"Chile\", \"Chile\"), nationality (\"Australia\", \"Chile\", \"Chile\"), singer_id (3, 2, 3), birth_year (1944.0, 1949.0, 1961.0), name (\"Alice Walton\", \"Susanne Klatten\", \"Alice Walton\"), net_worth_millions (26.3, 28.8, 26.3) | song : singer_id (1, 6, 2), song_id (1, 2, 8), sales (292000.0, 292000.0, 552407.0), title (\"Cha Cha Slide\", \"Left Outside Alone\", \"Cha Cha Slide\"), highest_position (1.0, 3.0)", "schema_without_content": "singer : country_of_origin , nationality , singer_id , birth_year , name , net_worth_millions | song : singer_id , song_id , sales , title , highest_position", "extra_map": { "singer": { "citizenship": [ "nationality", "country_of_origin" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "net_worth_millions", "nationality", "country_of_origin" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "citizenship": "singer.Citizenship", "maximum net worth": "singer.Net_Worth_Millions" } }, { "question": "for each #citizenship# , what is the #maximum net worth# ?", "db_id": "singer", "orig_query": "select citizenship, max(net_worth_millions) from singer group by citizenship", "schema_with_content": "singer : name (\"Alice Walton\", \"Liliane Bettencourt\", \"Liliane Bettencourt\"), earnings_millions (17.8, 17.8, 17.4), citizenship (\"Chile\", \"France\", \"United States\"), income_millions (17.8, 17.8, 17.4), singer_id (6, 5, 3), birth_year (1949.0, 1962.0, 1953.0) | song : title (\"Do They Know It's Christmas\", \"All This Time\", \"Mysterious Girl\"), highest_position (1.0, 3.0), singer_id (7, 6, 1), song_id (4, 4, 7), sales (351421.0, 1094000.0, 292000.0)", "schema_without_content": "singer : name , earnings_millions , citizenship , income_millions , singer_id , birth_year | song : title , highest_position , singer_id , song_id , sales", "extra_map": { "singer": { "net_worth_millions": [ "earnings_millions", "income_millions" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "citizenship", "earnings_millions", "income_millions" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "citizenship": "singer.Citizenship", "maximum net worth": "singer.Net_Worth_Millions" } }, { "question": "show #titles of songs# and #names of singers# .", "db_id": "singer", "orig_query": "select t2.title, t1.name from singer as t1 join song as t2 on t1.singer_id = t2.singer_id", "schema_with_content": "singer : citizenship (\"Australia\", \"Chile\", \"Australia\"), birth_year (1948.0, 1949.0, 1953.0), net_worth_millions (12.7, 17.8, 14.3), stage_name (\"Alice Walton\", \"Abigail Johnson\", \"Gina Rinehart\"), artist_name (\"Alice Walton\", \"Abigail Johnson\", \"Gina Rinehart\"), singer_id (8, 4, 1) | song : singer_id (2, 6, 7), song_id (4, 3, 8), title (\"All This Time\", \"Mysterious Girl\", \"Mysterious Girl\"), highest_position (1.0, 3.0), sales (1094000.0, 261000.0, 552407.0)", "schema_without_content": "singer : citizenship , birth_year , net_worth_millions , stage_name , artist_name , singer_id | song : singer_id , song_id , title , highest_position , sales", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "titles of songs": "song.Title", "names of singers": "singer.Name" } }, { "question": "show #titles of songs# and #names of singers# .", "db_id": "singer", "orig_query": "select t2.title, t1.name from singer as t1 join song as t2 on t1.singer_id = t2.singer_id", "schema_with_content": "singer : singer_id (7, 7, 7), citizenship (\"Australia\", \"Germany\", \"Chile\"), name (\"Gina Rinehart\", \"Christy Walton\", \"Liliane Bettencourt\"), birth_year (1961.0, 1953.0, 1962.0), net_worth_millions (14.3, 17.8, 12.7) | song : highest_position (1.0, 3.0), composition_title (\"Mysterious Girl\", \"F**k It (I Don't Want You Back)\", \"Do They Know It's Christmas\"), singer_id (7, 6, 4), name (\"Mysterious Girl\", \"F**k It (I Don't Want You Back)\", \"Do They Know It's Christmas\"), song_id (3, 4, 2), sales (351421.0, 351421.0, 261000.0)", "schema_without_content": "singer : singer_id , citizenship , name , birth_year , net_worth_millions | song : highest_position , composition_title \", \"Do They Know It's Christmas\", singer_id , name \", \"Do They Know It's Christmas\", song_id , sales", "extra_map": { "song": { "title": [ "name", "composition_title" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "net_worth_millions", "citizenship" ], "song": [ "song_id", "singer_id", "sales", "highest_position", "name", "composition_title" ] }, "column_linking_gt": { "titles of songs": "song.Title", "names of singers": "singer.Name" } }, { "question": "what are the #song titles# and #singer names# ?", "db_id": "singer", "orig_query": "select t2.title, t1.name from singer as t1 join song as t2 on t1.singer_id = t2.singer_id", "schema_with_content": "singer : singer_id (6, 7, 8), artist_name (\"Alice Walton\", \"Abigail Johnson\", \"Susanne Klatten\"), citizenship (\"United States\", \"Australia\", \"United States\"), net_worth_millions (17.8, 14.3, 17.8), stage_name (\"Alice Walton\", \"Abigail Johnson\", \"Susanne Klatten\"), birth_year (1942.0, 1961.0, 1953.0) | song : highest_position (1.0, 3.0), sales (335000.0, 292000.0, 300000.0), song_id (3, 2, 4), singer_id (2, 6, 2), title (\"Call on Me\", \"All This Time\", \"Call on Me\")", "schema_without_content": "singer : singer_id , artist_name , citizenship , net_worth_millions , stage_name , birth_year | song : highest_position , sales , song_id , singer_id , title", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "song titles": "song.Title", "singer names": "singer.Name" } }, { "question": "what are the #song titles# and #singer names# ?", "db_id": "singer", "orig_query": "select t2.title, t1.name from singer as t1 join song as t2 on t1.singer_id = t2.singer_id", "schema_with_content": "singer : net_worth_millions (30.0, 28.8, 14.3), name (\"Jacqueline Mars\", \"Alice Walton\", \"Christy Walton\"), citizenship (\"United States\", \"Australia\", \"Germany\"), birth_year (1948.0, 1953.0, 1953.0), singer_id (3, 2, 8) | song : singer_id (7, 2, 2), highest_position (1.0, 3.0), song_id (6, 3, 1), name (\"Left Outside Alone\", \"Left Outside Alone\", \"Do They Know It's Christmas\"), composition_title (\"Left Outside Alone\", \"Left Outside Alone\", \"Do They Know It's Christmas\"), sales (552407.0, 1094000.0, 335000.0)", "schema_without_content": "singer : net_worth_millions , name , citizenship , birth_year , singer_id | song : singer_id , highest_position , song_id , name , composition_title , sales", "extra_map": { "song": { "title": [ "name", "composition_title" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "net_worth_millions", "citizenship" ], "song": [ "song_id", "singer_id", "sales", "highest_position", "name", "composition_title" ] }, "column_linking_gt": { "song titles": "song.Title", "singer names": "singer.Name" } }, { "question": "show distinct #names of singers# that have #songs with sales# more than 300000.", "db_id": "singer", "orig_query": "select distinct t1.name from singer as t1 join song as t2 on t1.singer_id = t2.singer_id where t2.sales > 300000", "schema_with_content": "singer : artist_name (\"Christy Walton\", \"Gina Rinehart\", \"Gina Rinehart\"), citizenship (\"United States\", \"Australia\", \"Australia\"), net_worth_millions (12.7, 12.7, 26.3), singer_id (6, 5, 8), stage_name (\"Christy Walton\", \"Gina Rinehart\", \"Gina Rinehart\"), birth_year (1948.0, 1953.0, 1948.0) | song : sales (351421.0, 300000.0, 351421.0), title (\"All This Time\", \"F**k It (I Don't Want You Back)\", \"Do They Know It's Christmas\"), song_id (7, 2, 3), highest_position (1.0, 3.0), singer_id (7, 2, 6)", "schema_without_content": "singer : artist_name , citizenship , net_worth_millions , singer_id , stage_name , birth_year | song : sales , title \", \"Do They Know It's Christmas\", song_id , highest_position , singer_id", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "names of singers": "singer.Name", "songs with sales": "song.Sales" } }, { "question": "what are the different #names of the singers# that have #sales# more than 300000?", "db_id": "singer", "orig_query": "select distinct t1.name from singer as t1 join song as t2 on t1.singer_id = t2.singer_id where t2.sales > 300000", "schema_with_content": "singer : stage_name (\"Iris Fontbona\", \"Liliane Bettencourt\", \"Jacqueline Mars\"), net_worth_millions (17.4, 17.8, 26.3), citizenship (\"Australia\", \"France\", \"Germany\"), singer_id (6, 3, 5), artist_name (\"Iris Fontbona\", \"Liliane Bettencourt\", \"Jacqueline Mars\"), birth_year (1948.0, 1962.0, 1961.0) | song : song_id (5, 3, 2), sales (335000.0, 261000.0, 275000.0), highest_position (1.0, 3.0), singer_id (1, 4, 5), title (\"Left Outside Alone\", \"Call on Me\", \"Call on Me\")", "schema_without_content": "singer : stage_name , net_worth_millions , citizenship , singer_id , artist_name , birth_year | song : song_id , sales , highest_position , singer_id , title", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "names of the singers": "singer.Name", "sales": "song.Sales" } }, { "question": "show the #names of singers# that have more than one #song# .", "db_id": "singer", "orig_query": "select t1.name from singer as t1 join song as t2 on t1.singer_id = t2.singer_id group by t1.name having count(*) > 1", "schema_with_content": "singer : singer_id (7, 6, 8), citizenship (\"United States\", \"Germany\", \"Germany\"), birth_year (1961.0, 1942.0, 1940.0), artist_name (\"Jacqueline Mars\", \"Gina Rinehart\", \"Christy Walton\"), stage_name (\"Jacqueline Mars\", \"Gina Rinehart\", \"Christy Walton\"), net_worth_millions (17.4, 17.8, 17.0) | song : song_id (1, 1, 5), highest_position (1.0, 3.0), title (\"Do They Know It's Christmas\", \"All This Time\", \"Mysterious Girl\"), singer_id (6, 4, 1), sales (300000.0, 275000.0, 275000.0)", "schema_without_content": "singer : singer_id , citizenship , birth_year , artist_name , stage_name , net_worth_millions | song : song_id , highest_position , title , singer_id , sales", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "names of singers": "singer.Name", "song": "song" } }, { "question": "what are the #names of the singers# that have more than one #songs# ?", "db_id": "singer", "orig_query": "select t1.name from singer as t1 join song as t2 on t1.singer_id = t2.singer_id group by t1.name having count(*) > 1", "schema_with_content": "singer : net_worth_millions (14.3, 17.8, 17.4), artist_name (\"Liliane Bettencourt\", \"Liliane Bettencourt\", \"Susanne Klatten\"), stage_name (\"Liliane Bettencourt\", \"Liliane Bettencourt\", \"Susanne Klatten\"), birth_year (1944.0, 1942.0, 1944.0), citizenship (\"Germany\", \"Australia\", \"Germany\"), singer_id (2, 2, 6) | song : song_id (8, 3, 8), highest_position (1.0, 3.0), singer_id (4, 6, 1), sales (1094000.0, 351421.0, 351421.0), title (\"Cha Cha Slide\", \"Call on Me\", \"F**k It (I Don't Want You Back)\")", "schema_without_content": "singer : net_worth_millions , artist_name , stage_name , birth_year , citizenship , singer_id | song : song_id , highest_position , singer_id , sales , title \"", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "names of the singers": "singer.Name", "songs": "song" } }, { "question": "show the #names of singers# and the #total sales of their songs# .", "db_id": "singer", "orig_query": "select t1.name, sum(t2.sales) from singer as t1 join song as t2 on t1.singer_id = t2.singer_id group by t1.name", "schema_with_content": "singer : citizenship (\"Chile\", \"France\", \"Chile\"), stage_name (\"Gina Rinehart\", \"Liliane Bettencourt\", \"Alice Walton\"), net_worth_millions (17.0, 17.8, 26.3), artist_name (\"Gina Rinehart\", \"Liliane Bettencourt\", \"Alice Walton\"), birth_year (1953.0, 1944.0, 1948.0), singer_id (1, 8, 8) | song : song_id (1, 8, 6), title (\"All This Time\", \"All This Time\", \"Call on Me\"), singer_id (6, 6, 6), highest_position (1.0, 3.0), sales (261000.0, 275000.0, 552407.0)", "schema_without_content": "singer : citizenship , stage_name , net_worth_millions , artist_name , birth_year , singer_id | song : song_id , title , singer_id , highest_position , sales", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "names of singers": "singer.Name", "total sales of their songs": "song.Sales" } }, { "question": "show the #names of singers# and the #total sales of their songs# .", "db_id": "singer", "orig_query": "select t1.name, sum(t2.sales) from singer as t1 join song as t2 on t1.singer_id = t2.singer_id group by t1.name", "schema_with_content": "singer : citizenship (\"France\", \"Australia\", \"Chile\"), singer_id (8, 8, 1), net_worth_millions (26.3, 12.7, 17.4), birth_year (1944.0, 1948.0, 1944.0), name (\"Iris Fontbona\", \"Iris Fontbona\", \"Christy Walton\") | song : title (\"Yeah\", \"Cha Cha Slide\", \"Mysterious Girl\"), song_id (5, 4, 6), revenue (1094000.0, 552407.0, 292000.0), singer_id (6, 1, 5), highest_position (1.0, 3.0), income (1094000.0, 552407.0, 292000.0)", "schema_without_content": "singer : citizenship , singer_id , net_worth_millions , birth_year , name | song : title , song_id , revenue , singer_id , highest_position , income", "extra_map": { "song": { "sales": [ "revenue", "income" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "net_worth_millions", "citizenship" ], "song": [ "song_id", "title", "singer_id", "highest_position", "revenue", "income" ] }, "column_linking_gt": { "names of singers": "singer.Name", "total sales of their songs": "song.Sales" } }, { "question": "for each #singer name# , what is the #total sales# for their #songs# ?", "db_id": "singer", "orig_query": "select t1.name, sum(t2.sales) from singer as t1 join song as t2 on t1.singer_id = t2.singer_id group by t1.name", "schema_with_content": "singer : stage_name (\"Abigail Johnson\", \"Iris Fontbona\", \"Jacqueline Mars\"), birth_year (1942.0, 1942.0, 1949.0), citizenship (\"Australia\", \"France\", \"Australia\"), artist_name (\"Abigail Johnson\", \"Iris Fontbona\", \"Jacqueline Mars\"), net_worth_millions (14.3, 28.8, 17.0), singer_id (1, 6, 4) | song : song_id (8, 3, 4), singer_id (7, 2, 5), sales (300000.0, 335000.0, 292000.0), highest_position (1.0, 3.0), title (\"Yeah\", \"Mysterious Girl\", \"F**k It (I Don't Want You Back)\")", "schema_without_content": "singer : stage_name , birth_year , citizenship , artist_name , net_worth_millions , singer_id | song : song_id , singer_id , sales , highest_position , title \"", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "singer name": "singer.Name", "total sales": "song.Sales", "songs": "song" } }, { "question": "for each #singer name# , what is the #total sales# for their #songs# ?", "db_id": "singer", "orig_query": "select t1.name, sum(t2.sales) from singer as t1 join song as t2 on t1.singer_id = t2.singer_id group by t1.name", "schema_with_content": "singer : citizenship (\"United States\", \"France\", \"France\"), name (\"Abigail Johnson\", \"Gina Rinehart\", \"Abigail Johnson\"), net_worth_millions (17.8, 17.8, 30.0), singer_id (5, 6, 6), birth_year (1948.0, 1953.0, 1944.0) | song : title (\"Call on Me\", \"F**k It (I Don't Want You Back)\", \"Yeah\"), highest_position (1.0, 3.0), revenue (292000.0, 351421.0, 1094000.0), singer_id (7, 4, 2), song_id (5, 4, 7), income (292000.0, 351421.0, 1094000.0)", "schema_without_content": "singer : citizenship , name , net_worth_millions , singer_id , birth_year | song : title \", \"Yeah\", highest_position , revenue , singer_id , song_id , income", "extra_map": { "song": { "sales": [ "revenue", "income" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "net_worth_millions", "citizenship" ], "song": [ "song_id", "title", "singer_id", "highest_position", "revenue", "income" ] }, "column_linking_gt": { "singer name": "singer.Name", "total sales": "song.Sales", "songs": "song" } }, { "question": "list the #name of singers# that do not have any #song# .", "db_id": "singer", "orig_query": "select name from singer where singer_id not in (select singer_id from song)", "schema_with_content": "singer : birth_year (1961.0, 1948.0, 1962.0), stage_name (\"Christy Walton\", \"Liliane Bettencourt\", \"Susanne Klatten\"), net_worth_millions (17.4, 17.8, 17.0), citizenship (\"Germany\", \"United States\", \"Germany\"), singer_id (2, 8, 7), artist_name (\"Christy Walton\", \"Liliane Bettencourt\", \"Susanne Klatten\") | song : singer_id (2, 1, 1), song_id (6, 1, 8), highest_position (1.0, 3.0), title (\"Cha Cha Slide\", \"F**k It (I Don't Want You Back)\", \"Call on Me\"), sales (292000.0, 351421.0, 275000.0)", "schema_without_content": "singer : birth_year , stage_name , net_worth_millions , citizenship , singer_id , artist_name | song : singer_id , song_id , highest_position , title \", \"Call on Me\", sales", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "name of singers": "singer.Name", "song": "song" } }, { "question": "what is the #sname# of every #sing# that does not have any #song# ?", "db_id": "singer", "orig_query": "select name from singer where singer_id not in (select singer_id from song)", "schema_with_content": "singer : citizenship (\"United States\", \"United States\", \"United States\"), birth_year (1949.0, 1944.0, 1948.0), artist_name (\"Iris Fontbona\", \"Gina Rinehart\", \"Christy Walton\"), stage_name (\"Iris Fontbona\", \"Gina Rinehart\", \"Christy Walton\"), singer_id (5, 7, 7), net_worth_millions (17.0, 28.8, 30.0) | song : highest_position (1.0, 3.0), singer_id (4, 4, 4), sales (261000.0, 552407.0, 275000.0), title (\"Cha Cha Slide\", \"Mysterious Girl\", \"Yeah\"), song_id (2, 3, 4)", "schema_without_content": "singer : citizenship , birth_year , artist_name , stage_name , singer_id , net_worth_millions | song : highest_position , singer_id , sales , title , song_id", "extra_map": { "singer": { "name": [ "stage_name", "artist_name" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "birth_year", "net_worth_millions", "citizenship", "stage_name", "artist_name" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "sname": "singer.Name", "sing": "singer", "song": "song" } }, { "question": "show the #citizenship# shared by #singers with birth year# before 1945 and after 1955.", "db_id": "singer", "orig_query": "select citizenship from singer where birth_year < 1945 intersect select citizenship from singer where birth_year > 1955", "schema_with_content": "singer : singer_id (8, 4, 1), country_of_origin (\"United States\", \"Germany\", \"United States\"), birth_year (1942.0, 1948.0, 1962.0), net_worth_millions (17.4, 30.0, 30.0), name (\"Gina Rinehart\", \"Gina Rinehart\", \"Alice Walton\"), nationality (\"United States\", \"Germany\", \"United States\") | song : singer_id (7, 1, 7), song_id (8, 7, 2), sales (275000.0, 1094000.0, 335000.0), highest_position (1.0, 3.0), title (\"Call on Me\", \"All This Time\", \"Mysterious Girl\")", "schema_without_content": "singer : singer_id , country_of_origin , birth_year , net_worth_millions , name , nationality | song : singer_id , song_id , sales , highest_position , title", "extra_map": { "singer": { "citizenship": [ "nationality", "country_of_origin" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "net_worth_millions", "nationality", "country_of_origin" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "citizenship": "singer.Citizenship", "singers with birth year": "singer.Birth_Year" } }, { "question": "what are the #citizenships# that are shared by #singers with a birth year# before 1945 and after 1955?", "db_id": "singer", "orig_query": "select citizenship from singer where birth_year < 1945 intersect select citizenship from singer where birth_year > 1955", "schema_with_content": "singer : name (\"Alice Walton\", \"Liliane Bettencourt\", \"Christy Walton\"), nationality (\"United States\", \"Australia\", \"Australia\"), country_of_origin (\"United States\", \"Australia\", \"Australia\"), singer_id (6, 4, 6), birth_year (1944.0, 1961.0, 1953.0), net_worth_millions (26.3, 17.4, 12.7) | song : title (\"Mysterious Girl\", \"Do They Know It's Christmas\", \"Yeah\"), singer_id (1, 4, 6), highest_position (1.0, 3.0), song_id (7, 8, 8), sales (292000.0, 275000.0, 292000.0)", "schema_without_content": "singer : name , nationality , country_of_origin , singer_id , birth_year , net_worth_millions | song : title , singer_id , highest_position , song_id , sales", "extra_map": { "singer": { "citizenship": [ "nationality", "country_of_origin" ] } }, "extra_table_map": null, "db_schema": { "singer": [ "singer_id", "name", "birth_year", "net_worth_millions", "nationality", "country_of_origin" ], "song": [ "song_id", "title", "singer_id", "sales", "highest_position" ] }, "column_linking_gt": { "citizenships": "singer.Citizenship", "singers with a birth year": "singer.Birth_Year" } }, { "question": "what is the #feature# type name of feature aircon?", "db_id": "real_estate_properties", "orig_query": "select t2.feature_type_name from other_available_features as t1 join ref_feature_types as t2 on t1.feature_type_code = t2.feature_type_code where t1.feature_name = \"AirCon\"", "schema_with_content": "ref_feature_types : type_name (\"Amenity, eg Pool.\", \"Securiyt, eg Burglar Alarm.\"), category_name (\"Amenity, eg Pool.\", \"Securiyt, eg Burglar Alarm.\"), feature_type_code (\"Amenity\", \"Security\") | ref_property_types : property_type_code (\"Other\", \"Apartment\", \"Shop\"), property_type_description (\"Shop, Retail Outlet.\", \"Shop, Retail Outlet.\", \"House, Bungalow, etc.\") | other_available_features : feature_type_code (\"Amenity\", \"Security\"), feature_description (\"Air Conditioning.\", \"Swimming Pool.\", \"Burglar Alarm\"), feature_name (\"AirCon\", \"Pool\", \"BurglarAlarm\"), feature_id (2, 3, 4) | properties : fld_feature_2 (None), buyer_offered_price (15.17, 296733, 2), hse_feature_1 (None), oth_feature_1 (None), property_name (\"riverside\", \"high line\", \"vogue\"), fld_feature_3 (None), agreed_selling_price (0, 1.0012, 0), shp_feature_3 (None), room_count (8, 8, 2), property_id (7, 5, 4), property_address (\"60845 Else Highway Apt. 826\nSouth Dougfort, CO 43200-4258\", \"084 Lakin Vista Apt. 394\nFishertown, MA 16876\", \"062 Micaela Court Apt. 707\nMargretville, WV 51628-3617\"), date_sold (\"1980-07-08 16:13:17\", \"1990-11-14 19:16:38\", \"1981-06-26 21:28:28\"), hse_feature_2 (None), oth_feature_2 (None), shp_feature_1 (None), shp_feature_2 (None), apt_feature_1 (\"qui\", \"quos\", \"ut\"), hse_feature_3 (None), vendor_requested_price (331, 13.4715, 372652.2909), fld_feature_1 (None), apt_feature_3 (None), other_property_details (None), oth_feature_3 (None), apt_feature_2 (\"culpa\", \"vero\", \"aut\"), property_type_code (\"House\", \"Shop\", \"House\"), date_on_market (\"1978-05-15 10:53:37\", \"1994-02-14 02:27:13\", \"1991-06-21 23:52:10\") | other_property_features : property_id (4, 13, 12), property_feature_description (\"cumque\", \"autem\", \"autem\"), feature_id (3, 4, 2)", "schema_without_content": "ref_feature_types : type_name , category_name , feature_type_code | ref_property_types : property_type_code , property_type_description | other_available_features : feature_type_code , feature_description , feature_name , feature_id | properties : fld_feature_2 , buyer_offered_price , hse_feature_1 , oth_feature_1 , property_name , fld_feature_3 , agreed_selling_price , shp_feature_3 , room_count , property_id , property_address , date_sold , hse_feature_2 , oth_feature_2 , shp_feature_1 , shp_feature_2 , apt_feature_1 , hse_feature_3 , vendor_requested_price , fld_feature_1 , apt_feature_3 , other_property_details , oth_feature_3 , apt_feature_2 , property_type_code , date_on_market | other_property_features : property_id , property_feature_description , feature_id", "extra_map": { "ref_feature_types": { "feature_type_name": [ "type_name", "category_name" ] } }, "extra_table_map": null, "db_schema": { "ref_feature_types": [ "feature_type_code", "type_name", "category_name" ], "ref_property_types": [ "property_type_code", "property_type_description" ], "other_available_features": [ "feature_id", "feature_type_code", "feature_name", "feature_description" ], "properties": [ "property_id", "property_type_code", "date_on_market", "date_sold", "property_name", "property_address", "room_count", "vendor_requested_price", "buyer_offered_price", "agreed_selling_price", "apt_feature_1", "apt_feature_2", "apt_feature_3", "fld_feature_1", "fld_feature_2", "fld_feature_3", "hse_feature_1", "hse_feature_2", "hse_feature_3", "oth_feature_1", "oth_feature_2", "oth_feature_3", "shp_feature_1", "shp_feature_2", "shp_feature_3", "other_property_details" ], "other_property_features": [ "property_id", "feature_id", "property_feature_description" ] }, "column_linking_gt": { "feature": "Other_Available_Features.feature_name", "feature type name": "Ref_Feature_Types.feature_type_name" } }, { "question": "show the #property type descriptions of properties# belonging to that #code# .", "db_id": "real_estate_properties", "orig_query": "select t2.property_type_description from properties as t1 join ref_property_types as t2 on t1.property_type_code = t2.property_type_code group by t1.property_type_code", "schema_with_content": "ref_feature_types : feature_type_name (\"Amenity, eg Pool.\", \"Securiyt, eg Burglar Alarm.\"), feature_type_code (\"Amenity\", \"Security\") | ref_property_types : type_description (\"Field, Meadow.\", \"Other, to be determined.\", \"Field, Meadow.\"), property_type_code (\"Shop\", \"Apartment\", \"Field\"), category_description (\"Field, Meadow.\", \"Other, to be determined.\", \"Field, Meadow.\") | other_available_features : feature_type_code (\"Amenity\", \"Security\"), feature_id (2, 3, 4), feature_description (\"Air Conditioning.\", \"Swimming Pool.\", \"Burglar Alarm\"), feature_name (\"AirCon\", \"Pool\", \"BurglarAlarm\") | properties : apt_feature_3 (None), apt_feature_1 (\"enim\", \"consequatur\", \"et\"), date_sold (\"2012-08-19 07:36:57\", \"1981-06-26 21:28:28\", \"1980-07-08 16:13:17\"), property_address (\"24365 Ulices Run\nHomenicktown, MD 88485-6198\", \"24365 Ulices Run\nHomenicktown, MD 88485-6198\", \"6837 Darien Views Apt. 475\nSouth Maraview, KS 77770\"), room_count (8, 2, 3), hse_feature_2 (None), shp_feature_2 (None), oth_feature_3 (None), oth_feature_1 (None), shp_feature_1 (None), buyer_offered_price (1.5509, 15.17, 2), date_on_market (\"2003-12-25 16:13:19\", \"1991-06-21 23:52:10\", \"1990-05-25 23:01:51\"), property_id (11, 8, 4), hse_feature_3 (None), fld_feature_3 (None), fld_feature_1 (None), vendor_requested_price (661536468.4429, 2573, 2219.6778), other_property_details (None), apt_feature_2 (\"sit\", \"vero\", \"et\"), hse_feature_1 (None), property_name (\"parc east\", \"murray hill\", \"parc east\"), agreed_selling_price (44132.4621, 44132.4621, 2574), fld_feature_2 (None), oth_feature_2 (None), shp_feature_3 (None), property_type_code (\"Field\", \"Apartment\", \"Shop\") | other_property_features : property_id (1, 6, 14), feature_id (3, 4, 2), property_feature_description (\"autem\", \"odio\", \"cumque\")", "schema_without_content": "ref_feature_types : feature_type_name , feature_type_code | ref_property_types : type_description , property_type_code , category_description | other_available_features : feature_type_code , feature_id , feature_description , feature_name | properties : apt_feature_3 , apt_feature_1 , date_sold , property_address , room_count , hse_feature_2 , shp_feature_2 , oth_feature_3 , oth_feature_1 , shp_feature_1 , buyer_offered_price , date_on_market , property_id , hse_feature_3 , fld_feature_3 , fld_feature_1 , vendor_requested_price , other_property_details , apt_feature_2 , hse_feature_1 , property_name , agreed_selling_price , fld_feature_2 , oth_feature_2 , shp_feature_3 , property_type_code | other_property_features : property_id , feature_id , property_feature_description", "extra_map": { "ref_property_types": { "property_type_description": [ "type_description", "category_description" ] } }, "extra_table_map": null, "db_schema": { "ref_feature_types": [ "feature_type_code", "feature_type_name" ], "ref_property_types": [ "property_type_code", "type_description", "category_description" ], "other_available_features": [ "feature_id", "feature_type_code", "feature_name", "feature_description" ], "properties": [ "property_id", "property_type_code", "date_on_market", "date_sold", "property_name", "property_address", "room_count", "vendor_requested_price", "buyer_offered_price", "agreed_selling_price", "apt_feature_1", "apt_feature_2", "apt_feature_3", "fld_feature_1", "fld_feature_2", "fld_feature_3", "hse_feature_1", "hse_feature_2", "hse_feature_3", "oth_feature_1", "oth_feature_2", "oth_feature_3", "shp_feature_1", "shp_feature_2", "shp_feature_3", "other_property_details" ], "other_property_features": [ "property_id", "feature_id", "property_feature_description" ] }, "column_linking_gt": { "property type descriptions of properties": "Ref_Property_Types.property_type_description", "code": "Properties.property_type_code" } }, { "question": "what are the #names of properties# that are either #houses# or #apartments with more than 1 room# ?", "db_id": "real_estate_properties", "orig_query": "select property_name from properties where property_type_code = \"House\" union select property_name from properties where property_type_code = \"Apartment\" and room_count > 1", "schema_with_content": "ref_feature_types : feature_type_code (\"Amenity\", \"Security\"), feature_type_name (\"Amenity, eg Pool.\", \"Securiyt, eg Burglar Alarm.\") | ref_property_types : property_type_code (\"House\", \"Apartment\", \"Shop\"), property_type_description (\"Shop, Retail Outlet.\", \"Field, Meadow.\", \"Apartment, Flat, Condo, etc.\") | other_available_features : feature_type_code (\"Amenity\", \"Security\"), feature_name (\"AirCon\", \"Pool\", \"BurglarAlarm\"), feature_id (2, 3, 4), feature_description (\"Air Conditioning.\", \"Swimming Pool.\", \"Burglar Alarm\") | properties : room_count (6, 3, 6), oth_feature_3 (None), property_id (2, 3, 13), vendor_requested_price (983.8596, 2198735.095, 6713620.9), fld_feature_2 (None), shp_feature_3 (None), agreed_selling_price (4201.8, 244353758.1824, 3344706.5755), hse_feature_2 (None), oth_feature_2 (None), buyer_offered_price (3520911.5258, 13991131.434, 2), apt_feature_2 (\"odio\", \"autem\", \"autem\"), date_sold (\"1997-11-07 20:22:05\", \"1979-05-13 16:58:06\", \"1979-05-13 16:58:06\"), title (\"wall street\", \"renoir\", \"renoir\"), apt_feature_1 (\"fuga\", \"et\", \"fuga\"), hse_feature_3 (None), fld_feature_3 (None), oth_feature_1 (None), name (\"wall street\", \"renoir\", \"renoir\"), shp_feature_1 (None), other_property_details (None), property_address (\"2088 Bashirian Fork Suite 337\nFaustinoport, MT 16771-9320\", \"743 Ephraim Greens\nAnniemouth, HI 47084-3853\", \"092 Paucek Highway Apt. 772\nEast Erika, IA 61358\"), property_type_code (\"Shop\", \"Other\", \"Apartment\"), date_on_market (\"1986-12-31 10:05:32\", \"1994-02-14 02:27:13\", \"1981-08-23 05:40:38\"), hse_feature_1 (None), fld_feature_1 (None), apt_feature_3 (None), shp_feature_2 (None) | other_property_features : feature_id (3, 4, 2), property_id (4, 7, 12), property_feature_description (\"odio\", \"ad\", \"et\")", "schema_without_content": "ref_feature_types : feature_type_code , feature_type_name | ref_property_types : property_type_code , property_type_description | other_available_features : feature_type_code , feature_name , feature_id , feature_description | properties : room_count , oth_feature_3 , property_id , vendor_requested_price , fld_feature_2 , shp_feature_3 , agreed_selling_price , hse_feature_2 , oth_feature_2 , buyer_offered_price , apt_feature_2 , date_sold , title , apt_feature_1 , hse_feature_3 , fld_feature_3 , oth_feature_1 , name , shp_feature_1 , other_property_details , property_address , property_type_code , date_on_market , hse_feature_1 , fld_feature_1 , apt_feature_3 , shp_feature_2 | other_property_features : feature_id , property_id , property_feature_description", "extra_map": { "properties": { "property_name": [ "name", "title" ] } }, "extra_table_map": null, "db_schema": { "ref_feature_types": [ "feature_type_code", "feature_type_name" ], "ref_property_types": [ "property_type_code", "property_type_description" ], "other_available_features": [ "feature_id", "feature_type_code", "feature_name", "feature_description" ], "properties": [ "property_id", "property_type_code", "date_on_market", "date_sold", "property_address", "room_count", "vendor_requested_price", "buyer_offered_price", "agreed_selling_price", "apt_feature_1", "apt_feature_2", "apt_feature_3", "fld_feature_1", "fld_feature_2", "fld_feature_3", "hse_feature_1", "hse_feature_2", "hse_feature_3", "oth_feature_1", "oth_feature_2", "oth_feature_3", "shp_feature_1", "shp_feature_2", "shp_feature_3", "other_property_details", "name", "title" ], "other_property_features": [ "property_id", "feature_id", "property_feature_description" ] }, "column_linking_gt": { "names of properties": "Properties.property_name", "houses": "Properties.property_type_code", "apartments with more than 1 room": "Properties.property_type_code" } } ]