conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_46 (winning_team VARCHAR, winning_pitcher VARCHAR, location VARCHAR)" }, { "from": "human", "value": "Which winning team has a winning pitcher of Chris Young and was played in Arlington?" }, { "from": "gpt", "value": "SELECT winni...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (winning_team VARCHAR, losing_pitcher VARCHAR)" }, { "from": "human", "value": "What winning team has a losing pitcher of Juan Dominguez?" }, { "from": "gpt", "value": "SELECT winning_team FROM table_name_31 WHERE losing_pitche...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (opponent VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who was the opponent on August 14?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_91 WHERE date = \"august 14\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (loss VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Which loss had a record of 79-49?" }, { "from": "gpt", "value": "SELECT loss FROM table_name_7 WHERE record = \"79-49\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (semi_final_dual_television_commentator VARCHAR, grand_final_television_commentator VARCHAR, spokesperson VARCHAR)" }, { "from": "human", "value": "What is the semi-final dual television commentator status of the year with Pierre Tchernia ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (semi_final_television_commentator VARCHAR, spokesperson VARCHAR, year_s_ VARCHAR)" }, { "from": "human", "value": "What is the semi-final television commentator status in 1962 with an unknown spokesperson?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (grand_final_television_commentator VARCHAR, spokesperson VARCHAR, year_s_ VARCHAR, grand_final_dual_television_commentator VARCHAR)" }, { "from": "human", "value": "What is the grand final television commentator status after 1959 when Dav...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (grand_final_dual_television_commentator VARCHAR, spokesperson VARCHAR)" }, { "from": "human", "value": "What is the grand final dual television commentator status of the year when Amaury Vassili was the spokesperson?" }, { "from":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (state VARCHAR, hometown VARCHAR)" }, { "from": "human", "value": "What state has lincoln, de as the hometown?" }, { "from": "gpt", "value": "SELECT state FROM table_name_73 WHERE hometown = \"lincoln, de\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (ship VARCHAR, hull_no VARCHAR)" }, { "from": "human", "value": "Name the ship with hull number of aor-6" }, { "from": "gpt", "value": "SELECT ship FROM table_name_89 WHERE hull_no = \"aor-6\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (hull_no VARCHAR, commissioned__decommissioned VARCHAR)" }, { "from": "human", "value": "Name the hull number of Commissioned– Decommissioned of 1973–1996" }, { "from": "gpt", "value": "SELECT hull_no FROM table_name_29 WHERE c...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (commissioned__decommissioned VARCHAR, home_port VARCHAR, nvr_page VARCHAR)" }, { "from": "human", "value": "Name the commissioned-decommissioned for oakland and NVR page of aor-1" }, { "from": "gpt", "value": "SELECT commissio...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (home_port VARCHAR, ship VARCHAR)" }, { "from": "human", "value": "Name the home port for kansas city" }, { "from": "gpt", "value": "SELECT home_port FROM table_name_15 WHERE ship = \"kansas city\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (commissioned__decommissioned VARCHAR, nvr_page VARCHAR)" }, { "from": "human", "value": "Name the commissioned-decommissioned for NVR page of aor-7" }, { "from": "gpt", "value": "SELECT commissioned__decommissioned FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (ship VARCHAR, home_port VARCHAR, nvr_page VARCHAR)" }, { "from": "human", "value": "Name the ship for oakland home port and NVR page of aor-3" }, { "from": "gpt", "value": "SELECT ship FROM table_name_28 WHERE home_port = \"oa...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (name VARCHAR, entered_service VARCHAR, location VARCHAR, type VARCHAR)" }, { "from": "human", "value": "What is the name of the location and ship type in the Gulf of Mexico that entered service in 1999?" }, { "from": "gpt", "v...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (water_depth VARCHAR, entered_service VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What was the water depth that entered service in 2001 named Cajun Express?" }, { "from": "gpt", "value": "SELECT water_depth FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (water_depth VARCHAR, location VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What was the water depth in the Gulf of Mexico named Discoverer Clear Leader?" }, { "from": "gpt", "value": "SELECT water_depth FROM table_n...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (name VARCHAR, location VARCHAR)" }, { "from": "human", "value": "What is the name of a location in Nigeria?" }, { "from": "gpt", "value": "SELECT name FROM table_name_28 WHERE location = \"nigeria\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (location VARCHAR, entered_service VARCHAR, customer VARCHAR)" }, { "from": "human", "value": "What location entered service in 1999 and had a customer of Anadarko?" }, { "from": "gpt", "value": "SELECT location FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the Score on January 30?" }, { "from": "gpt", "value": "SELECT score FROM table_name_93 WHERE date = \"january 30\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (visitor VARCHAR, home VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who were the Visitor of the Toronto Maple Leafs Home game on December 22?" }, { "from": "gpt", "value": "SELECT visitor FROM table_name_11 WHERE hom...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR)" }, { "from": "human", "value": "On what Date was the Record 9–6–4?" }, { "from": "gpt", "value": "SELECT date FROM table_name_62 WHERE record = \"9–6–4\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the Score on March 1?" }, { "from": "gpt", "value": "SELECT score FROM table_name_18 WHERE date = \"march 1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (primary_conference VARCHAR, founded VARCHAR, affiliation VARCHAR)" }, { "from": "human", "value": "What is the primary conference that was founded before 1866 and has an affiliation of private/catholic?" }, { "from": "gpt", "v...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR)" }, { "from": "human", "value": "What is the total enrollment for an affiliation of public, and was founded before 1866?" }, { "from": "gpt", "value": "SELECT COUNT(enr...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (affiliation VARCHAR, location VARCHAR)" }, { "from": "human", "value": "What is the affiliation for towson, md?" }, { "from": "gpt", "value": "SELECT affiliation FROM table_name_37 WHERE location = \"towson, md\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR)" }, { "from": "human", "value": "What is the total enrollment for a private/catholic affiliation and founded after 1842?" }, { "from": "gpt", "value": "SELECT COUNT(enro...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (founded VARCHAR, nickname VARCHAR)" }, { "from": "human", "value": "What is the number founded for the nickname mountain hawks?" }, { "from": "gpt", "value": "SELECT COUNT(founded) FROM table_name_68 WHERE nickname = \"mountai...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (score VARCHAR, host_city VARCHAR)" }, { "from": "human", "value": "What is the score of the season in the host city kėdainiai?" }, { "from": "gpt", "value": "SELECT score FROM table_name_59 WHERE host_city = \"kėdainiai\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (winner VARCHAR, finalist VARCHAR, season VARCHAR)" }, { "from": "human", "value": "Who was the winner of the season before 2010 with Lietuvos Rytas as a finalist?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_39...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (finalist VARCHAR, host_city VARCHAR, season VARCHAR)" }, { "from": "human", "value": "Who was the finalist in the 2010 season in the host city tartu?" }, { "from": "gpt", "value": "SELECT finalist FROM table_name_57 WHERE host...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (winner VARCHAR, season VARCHAR)" }, { "from": "human", "value": "Who was the winner during the 2009 season?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_42 WHERE season = 2009" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (host_city VARCHAR, season VARCHAR)" }, { "from": "human", "value": "What is the host city during the 2012 season?" }, { "from": "gpt", "value": "SELECT host_city FROM table_name_47 WHERE season = 2012" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (tournament VARCHAR, score VARCHAR)" }, { "from": "human", "value": "what game had a score of 4–6, 6–3, 7–6(10)?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_54 WHERE score = \"4–6, 6–3, 7–6(10)\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (became_duchess VARCHAR, name VARCHAR)" }, { "from": "human", "value": "When did eleonor magdalene of the palatinate-neuburg become duchess?" }, { "from": "gpt", "value": "SELECT became_duchess FROM table_name_77 WHERE name = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (marriage VARCHAR, became_duchess VARCHAR)" }, { "from": "human", "value": "Which Marriage has a Became Duchess of 12 december 1666?" }, { "from": "gpt", "value": "SELECT marriage FROM table_name_68 WHERE became_duchess = \"12 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (death VARCHAR, birth VARCHAR)" }, { "from": "human", "value": "When did the person die who was born on 18 november 1630?" }, { "from": "gpt", "value": "SELECT death FROM table_name_3 WHERE birth = \"18 november 1630\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (birth VARCHAR, became_duchess VARCHAR)" }, { "from": "human", "value": "Which Birth has a Became Duchess of 17 april 1711 husband's ascension?" }, { "from": "gpt", "value": "SELECT birth FROM table_name_65 WHERE became_duchess...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (spouse VARCHAR, birth VARCHAR)" }, { "from": "human", "value": "Which Spouse has a Birth of 30 may 1653?" }, { "from": "gpt", "value": "SELECT spouse FROM table_name_38 WHERE birth = \"30 may 1653\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (death VARCHAR, birth VARCHAR)" }, { "from": "human", "value": "When did the person born on 6 january 1655 die?" }, { "from": "gpt", "value": "SELECT death FROM table_name_34 WHERE birth = \"6 january 1655\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (club_province VARCHAR, caps VARCHAR, player VARCHAR)" }, { "from": "human", "value": "Which Club or province has a caps larger than 15 and has Chris Cusiter playing for them?" }, { "from": "gpt", "value": "SELECT club_province...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (date_of_birth__age_ VARCHAR, club_province VARCHAR, position VARCHAR)" }, { "from": "human", "value": "What is the date of birth for the player from Ulster and plays at Centre position?" }, { "from": "gpt", "value": "SELECT da...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (type VARCHAR, location VARCHAR, disaster VARCHAR)" }, { "from": "human", "value": "What type of disaster is rms atlantic categorized in that was located in Nova Scotia?" }, { "from": "gpt", "value": "SELECT type FROM table_nam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (type VARCHAR, disaster VARCHAR)" }, { "from": "human", "value": "What is the type of disaster that the Arrow Air Flight 1285 categorized in?" }, { "from": "gpt", "value": "SELECT type FROM table_name_55 WHERE disaster = \"arro...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (disaster VARCHAR, location VARCHAR, deaths VARCHAR)" }, { "from": "human", "value": "What is the disaster that was located in Ontario with 223 deaths?" }, { "from": "gpt", "value": "SELECT disaster FROM table_name_39 WHERE loc...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (deaths VARCHAR, type VARCHAR, date VARCHAR)" }, { "from": "human", "value": "How many deaths were there during the shipwreck in 1873?" }, { "from": "gpt", "value": "SELECT deaths FROM table_name_56 WHERE type = \"shipwreck\" A...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (location VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Where was the disaster located that took place on 1916?" }, { "from": "gpt", "value": "SELECT location FROM table_name_49 WHERE date = \"1916\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (laps INTEGER, time_retired VARCHAR)" }, { "from": "human", "value": "Which Laps is the highest one that has a Time/Retired of +3.370 secs?" }, { "from": "gpt", "value": "SELECT MAX(laps) FROM table_name_52 WHERE time_retired =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (grid INTEGER, team VARCHAR, laps VARCHAR)" }, { "from": "human", "value": "Which Grid has a Team of rusport, and Laps larger than 221?" }, { "from": "gpt", "value": "SELECT SUM(grid) FROM table_name_62 WHERE team = \"rusport\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (title VARCHAR, producer VARCHAR, role VARCHAR)" }, { "from": "human", "value": "What title has a producer of MAQ and Anna as a role?" }, { "from": "gpt", "value": "SELECT title FROM table_name_18 WHERE producer = \"maq\" AND r...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (year VARCHAR, title VARCHAR, producer VARCHAR, director VARCHAR)" }, { "from": "human", "value": "How many years was Kay Tagal Kang Hinintay directed by Rory Quintos and produced by Star Cinema?" }, { "from": "gpt", "value": "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (title VARCHAR, director VARCHAR)" }, { "from": "human", "value": "Which title was directed by Joyce Bernal?" }, { "from": "gpt", "value": "SELECT title FROM table_name_76 WHERE director = \"joyce bernal\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (song VARCHAR, points VARCHAR, artist VARCHAR)" }, { "from": "human", "value": "What song is it that artist morena camilleri does and has more than 38 points" }, { "from": "gpt", "value": "SELECT song FROM table_name_46 WHERE p...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (points INTEGER, lyricist VARCHAR)" }, { "from": "human", "value": "What is the total number of points for ray agius" }, { "from": "gpt", "value": "SELECT SUM(points) FROM table_name_15 WHERE lyricist = \"ray agius\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (place VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What play did henry s. uber / betty uber (eng) finish in?" }, { "from": "gpt", "value": "SELECT COUNT(place) FROM table_name_99 WHERE name = \"henry s. uber / betty...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (first_elected INTEGER, counties_represented VARCHAR, committee VARCHAR)" }, { "from": "human", "value": "When Baltimore County, Howard are represented, what's the first elected when the committee is environmental matters (vice-chair)?" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (party VARCHAR, counties_represented VARCHAR, delegate VARCHAR)" }, { "from": "human", "value": "What party is the delegate of Turner, Frank S. Frank S. Turner of Howard County?" }, { "from": "gpt", "value": "SELECT party FROM ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (damage__millions_usd__ VARCHAR, storm_name VARCHAR)" }, { "from": "human", "value": "What is the damage of storm three?" }, { "from": "gpt", "value": "SELECT damage__millions_usd__ FROM table_name_58 WHERE storm_name = \"three...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (round INTEGER, circuit VARCHAR)" }, { "from": "human", "value": "Which Round is the lowest one that has a Circuit of donington?" }, { "from": "gpt", "value": "SELECT MIN(round) FROM table_name_18 WHERE circuit = \"donington\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (round VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which 250cc winner has a Round larger than 6, and a Date of 26 july?" }, { "from": "gpt", "value": "SELECT 250 AS cc_winner FROM table_name_5 WHERE round > 6 AND dat...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (week INTEGER, attendance VARCHAR)" }, { "from": "human", "value": "Attendance of 48,510 had what highest week?" }, { "from": "gpt", "value": "SELECT MAX(week) FROM table_name_30 WHERE attendance = 48 OFFSET 510" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (week INTEGER, opponent VARCHAR)" }, { "from": "human", "value": "Opponent of at san francisco 49ers had what lowest week?" }, { "from": "gpt", "value": "SELECT MIN(week) FROM table_name_43 WHERE opponent = \"at san francisco 4...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (date VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "On what Date is the Minnesota Vikings the Opponent?" }, { "from": "gpt", "value": "SELECT date FROM table_name_71 WHERE opponent = \"minnesota vikings\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (date VARCHAR, week VARCHAR)" }, { "from": "human", "value": "What is the Date of Week 5?" }, { "from": "gpt", "value": "SELECT date FROM table_name_3 WHERE week = 5" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (date VARCHAR, week VARCHAR)" }, { "from": "human", "value": "What is the Date of Week 2?" }, { "from": "gpt", "value": "SELECT date FROM table_name_47 WHERE week = 2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (score VARCHAR, loss VARCHAR)" }, { "from": "human", "value": "What was the score when the game has a loss of Lary (10-12)?" }, { "from": "gpt", "value": "SELECT score FROM table_name_18 WHERE loss = \"lary (10-12)\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (result VARCHAR, competition VARCHAR)" }, { "from": "human", "value": "What is the result of the friendly match?" }, { "from": "gpt", "value": "SELECT result FROM table_name_37 WHERE competition = \"friendly\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the score of the match on June 4, 2008?" }, { "from": "gpt", "value": "SELECT score FROM table_name_76 WHERE date = \"june 4, 2008\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (year INTEGER, length VARCHAR)" }, { "from": "human", "value": "Which Year is the lowest one that has a Length of 3:50?" }, { "from": "gpt", "value": "SELECT MIN(year) FROM table_name_17 WHERE length = \"3:50\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (length VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Which Length has a Year of 2000?" }, { "from": "gpt", "value": "SELECT length FROM table_name_13 WHERE year = 2000" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (place VARCHAR, artist VARCHAR, draw VARCHAR, points VARCHAR)" }, { "from": "human", "value": "In what place is the artist Midnight Band with a draw larger than 2 and less than 139 points." }, { "from": "gpt", "value": "SELECT p...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (player VARCHAR, matches VARCHAR)" }, { "from": "human", "value": "what player matched up with 9" }, { "from": "gpt", "value": "SELECT player FROM table_name_78 WHERE matches = \"9\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (team_1 VARCHAR)" }, { "from": "human", "value": "What is the 2nd leg of the Internacional Team 1?" }, { "from": "gpt", "value": "SELECT 2 AS nd_leg FROM table_name_48 WHERE team_1 = \"internacional\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (city VARCHAR, country VARCHAR, stadium VARCHAR)" }, { "from": "human", "value": "Which City has a Country of spain, and a Stadium of palacio de deportes de santander?" }, { "from": "gpt", "value": "SELECT city FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (capacity INTEGER, rank VARCHAR, city VARCHAR)" }, { "from": "human", "value": "Which Capacity is the lowest one that has a Rank smaller than 15, and a City of belgrade?" }, { "from": "gpt", "value": "SELECT MIN(capacity) FROM ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (capacity INTEGER, city VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Which Capacity is the lowest one that has a City of brisbane, and a Rank smaller than 1?" }, { "from": "gpt", "value": "SELECT MIN(capacity) FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (total_points VARCHAR, match_points VARCHAR, games VARCHAR, bonus_points VARCHAR)" }, { "from": "human", "value": "What are the total points that had 68 match points, 9 bonus points and 30 games?" }, { "from": "gpt", "value": "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (length__km_ INTEGER, name VARCHAR, length__mi_ VARCHAR)" }, { "from": "human", "value": "What's the shortest length from north klondike highway that has a length less than 326?" }, { "from": "gpt", "value": "SELECT MIN(length_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (opponent VARCHAR, score VARCHAR)" }, { "from": "human", "value": "what team had a score of 2-1" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_92 WHERE score = \"2-1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (opponent VARCHAR, date VARCHAR)" }, { "from": "human", "value": "what team played on may 11" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_1 WHERE date = \"may 11\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (away VARCHAR, club VARCHAR)" }, { "from": "human", "value": "what place has the club of sevilla" }, { "from": "gpt", "value": "SELECT away FROM table_name_76 WHERE club = \"sevilla\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (new_conference VARCHAR, location VARCHAR)" }, { "from": "human", "value": "Which new conference is located in Greentown?" }, { "from": "gpt", "value": "SELECT new_conference FROM table_name_64 WHERE location = \"greentown\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (year_joined INTEGER, previous_conference VARCHAR, location VARCHAR)" }, { "from": "human", "value": "What is the most current year with a previous conference of Mid-Indiana in Converse?" }, { "from": "gpt", "value": "SELECT MA...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (year_left INTEGER, location VARCHAR)" }, { "from": "human", "value": "What year did Culver leave?" }, { "from": "gpt", "value": "SELECT SUM(year_left) FROM table_name_71 WHERE location = \"culver\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (mascot VARCHAR, _number___county VARCHAR)" }, { "from": "human", "value": "What is the mascot with a #/County of 34 Howard?" }, { "from": "gpt", "value": "SELECT mascot FROM table_name_41 WHERE _number___county = \"34 howard\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (date VARCHAR, type_of_game VARCHAR, results¹ VARCHAR)" }, { "from": "human", "value": "What day was a friendly game held that had a score of 2:3?" }, { "from": "gpt", "value": "SELECT date FROM table_name_87 WHERE type_of_game...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (type_of_game VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What type of game was held on December 22?" }, { "from": "gpt", "value": "SELECT type_of_game FROM table_name_57 WHERE date = \"december 22\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (mixed_doubles VARCHAR, year VARCHAR)" }, { "from": "human", "value": "what game had a doubles round in 1979" }, { "from": "gpt", "value": "SELECT mixed_doubles FROM table_name_92 WHERE year = 1979" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (venue VARCHAR, goals VARCHAR, assists VARCHAR)" }, { "from": "human", "value": "Where were less than 72 goals made and more than 40 assists made?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_74 WHERE goals < 72 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (name VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Which opponent plays against the Pohang Steelers?" }, { "from": "gpt", "value": "SELECT name FROM table_name_58 WHERE opponent = \"pohang steelers\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (competition VARCHAR, assists INTEGER)" }, { "from": "human", "value": "What competition had more than 40 assists?" }, { "from": "gpt", "value": "SELECT competition FROM table_name_19 WHERE assists > 40" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (nation VARCHAR, places VARCHAR)" }, { "from": "human", "value": "What Nation Placed 122.5?" }, { "from": "gpt", "value": "SELECT nation FROM table_name_22 WHERE places = 122.5" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (places INTEGER, nation VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "What is the Places amount of the United States Ranking 8?" }, { "from": "gpt", "value": "SELECT AVG(places) FROM table_name_71 WHERE nation = \"uni...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (episode INTEGER, performer_4 VARCHAR)" }, { "from": "human", "value": "What is the average episode number where jimmy mulville was the 4th performer?" }, { "from": "gpt", "value": "SELECT AVG(episode) FROM table_name_35 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (episode VARCHAR, performer_3 VARCHAR)" }, { "from": "human", "value": "What is the total number of episodes where hugh laurie was the 3rd performer?" }, { "from": "gpt", "value": "SELECT COUNT(episode) FROM table_name_70 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (episode INTEGER, performer_4 VARCHAR)" }, { "from": "human", "value": "What is the lowest episode number where john bird was the 4th performer?" }, { "from": "gpt", "value": "SELECT MIN(episode) FROM table_name_48 WHERE perfor...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (performer_3 VARCHAR, performer_4 VARCHAR)" }, { "from": "human", "value": "Who was the 3rd performer when Rory Bremner was the 4th performer?" }, { "from": "gpt", "value": "SELECT performer_3 FROM table_name_11 WHERE performer...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (time___et__ VARCHAR, location VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What time did the game featuring the Detroit Lions at Three Rivers Stadium occur?" }, { "from": "gpt", "value": "SELECT time___et__ FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (successes INTEGER, launches VARCHAR, failures VARCHAR)" }, { "from": "human", "value": "What is the highest number of successful launches associated with over 1 launch and under 0 fails?" }, { "from": "gpt", "value": "SELECT M...
know_sql
chosen