conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (date VARCHAR, region VARCHAR, format VARCHAR)"
},
{
"from": "human",
"value": "When did the United Kingdom format a stereo LP?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_29 WHERE region = \"united kingdom\" AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (region VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What region goes along with January 1974?"
},
{
"from": "gpt",
"value": "SELECT region FROM table_name_93 WHERE date = \"january 1974\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (label VARCHAR, date VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "What is the label from 1973 that has a catalog number of l 35023?"
},
{
"from": "gpt",
"value": "SELECT label FROM table_name_98 WHERE date = \"197... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (wins VARCHAR, second VARCHAR, races VARCHAR)"
},
{
"from": "human",
"value": "How many wins did the driver with 1 second and more than 12 races have?"
},
{
"from": "gpt",
"value": "SELECT wins FROM table_name_98 WHERE second =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (loss INTEGER, gain VARCHAR, avg_g VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Loss number when the Gain is less than 61 and the Avg/G is 6?"
},
{
"from": "gpt",
"value": "SELECT MIN(loss) FROM table_name_94 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (avg_g INTEGER, gain VARCHAR, loss VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of Avg/G for Dan Dierking when the Loss is 0 and the Gain is more than 34?"
},
{
"from": "gpt",
"value": "SELECT SUM(avg... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (visitor VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the visiting team on April 6?"
},
{
"from": "gpt",
"value": "SELECT visitor FROM table_name_27 WHERE date = \"april 6\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (date VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the game that led to a 4-3 record?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_64 WHERE record = \"4-3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (home VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Who was the home team in the game that led to a 2-3 series record?"
},
{
"from": "gpt",
"value": "SELECT home FROM table_name_10 WHERE record = \"2-3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (home_team VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which home team had a score of 100-86?"
},
{
"from": "gpt",
"value": "SELECT home_team FROM table_name_29 WHERE score = \"100-86\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (report VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Which report corresponds to the State Sports Centre?"
},
{
"from": "gpt",
"value": "SELECT report FROM table_name_89 WHERE venue = \"state sports centre\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Who was the away team at the Win Entertainment Centre?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_31 WHERE venue = \"win entertainment cen... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (gain VARCHAR, name VARCHAR, loss VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the total number of Gain that has the Name of williams, jonathan, and the Loss larger than 3?"
},
{
"from": "gpt",
"value": "SELECT COU... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (loss INTEGER, gain VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the sum of Loss that has the Gain of 2646?"
},
{
"from": "gpt",
"value": "SELECT SUM(loss) FROM table_name_82 WHERE gain = 2646"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (gain INTEGER, name VARCHAR, avg_g VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the sum of Gain that has the Name of kass, rob, and the Avg/g smaller than 1.9?"
},
{
"from": "gpt",
"value": "SELECT SUM(gain) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (long INTEGER, gain VARCHAR, loss VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0?"
},
{
"from": "gpt",
"value": "SELECT MIN(long) FROM table_name_1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (erp_w INTEGER, call_sign VARCHAR)"
},
{
"from": "human",
"value": "What is the highest ERP W with a w216bo call sign?"
},
{
"from": "gpt",
"value": "SELECT MAX(erp_w) FROM table_name_10 WHERE call_sign = \"w216bo\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (crowd INTEGER, ground VARCHAR)"
},
{
"from": "human",
"value": "What kind of Crowd has a Ground of subiaco oval?"
},
{
"from": "gpt",
"value": "SELECT SUM(crowd) FROM table_name_41 WHERE ground = \"subiaco oval\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (crowd INTEGER, date VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "How many Crowd that has a Date on saturday, 29 january and an Away team of collingwood?"
},
{
"from": "gpt",
"value": "SELECT AVG(crowd) FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (date VARCHAR, week VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "On which date after week 11 was the opponent the arizona cardinals?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_88 WHERE week > 11 A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (lead VARCHAR, alternate VARCHAR)"
},
{
"from": "human",
"value": "What was the lead with an alternate of li dongyan?"
},
{
"from": "gpt",
"value": "SELECT lead FROM table_name_78 WHERE alternate = \"li dongyan\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (lead VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "Which lead had a season of 2007-08?"
},
{
"from": "gpt",
"value": "SELECT lead FROM table_name_18 WHERE season = \"2007-08\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (lead VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "Which lead had a season of 2009-10?"
},
{
"from": "gpt",
"value": "SELECT lead FROM table_name_40 WHERE season = \"2009-10\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (name VARCHAR, saturday VARCHAR, evening VARCHAR)"
},
{
"from": "human",
"value": "Which Name has a Yes Saturday and a Yes Evening?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_49 WHERE saturday = \"yes\" AND even... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (daytime VARCHAR, saturday VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Name the Daytime which has Saturday of yes and a Name of exmouth?"
},
{
"from": "gpt",
"value": "SELECT daytime FROM table_name_5 WHERE saturday ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (evening VARCHAR, sunday VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express?"
},
{
"from": "gpt",
"value": "SELECT evening FROM table_name_18 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (daytime VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Name the Daytime which has a Name of exmouth?"
},
{
"from": "gpt",
"value": "SELECT daytime FROM table_name_22 WHERE name = \"exmouth\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (saturday VARCHAR, sunday VARCHAR, evening VARCHAR)"
},
{
"from": "human",
"value": "Which Saturday has a Sunday of yes and a Evening of yes?"
},
{
"from": "gpt",
"value": "SELECT saturday FROM table_name_80 WHERE sunday = \"ye... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (saturday VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which Saturday has a Name of confederation?"
},
{
"from": "gpt",
"value": "SELECT saturday FROM table_name_68 WHERE name = \"confederation\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (gp_gs VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What was the GP-GS for the 2009 season?"
},
{
"from": "gpt",
"value": "SELECT gp_gs FROM table_name_52 WHERE season = \"2009\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (gp_gs VARCHAR, long VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "Which GP-GS had a long of 17 and a season of total?"
},
{
"from": "gpt",
"value": "SELECT gp_gs FROM table_name_13 WHERE long = \"17\" AND season = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (long VARCHAR, avg_g VARCHAR)"
},
{
"from": "human",
"value": "Which Long has redshirt for its Avg/G?"
},
{
"from": "gpt",
"value": "SELECT long FROM table_name_97 WHERE avg_g = \"redshirt\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (avg_g VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What was the Av/G of the 2009 season?"
},
{
"from": "gpt",
"value": "SELECT avg_g FROM table_name_74 WHERE season = \"2009\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (long VARCHAR, avg_g VARCHAR)"
},
{
"from": "human",
"value": "For the Avg/G of 5.9, what was the long?"
},
{
"from": "gpt",
"value": "SELECT long FROM table_name_56 WHERE avg_g = \"5.9\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (location_attendance VARCHAR, high_points VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Location Attendance, when High Points is \"D. McKey (24)\", and when Score is \"L 96-105\"?"
},
{
"from": "gpt",
"va... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (high_rebounds VARCHAR, game VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is High Rebounds, when Game is greater than 33, and when Score is \"W 132-101\"?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (team VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is Team, when Game is \"32\"?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_96 WHERE game = 32"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (game INTEGER, high_points VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of Game, when High Points is \"D. McKey (24)\", and when Team is \"@ Dallas Mavericks\"?"
},
{
"from": "gpt",
"value": "SELECT S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (tournament VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "Which Tournament has Opponents of marc lópez santiago ventura?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_16 WHERE opponents = \"mar... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (opponents VARCHAR, partnering VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which Opponents have a Partnering of alessandro motti, and a Date of 12 september 2005?"
},
{
"from": "gpt",
"value": "SELECT opponents FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (opponents VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which Opponents have a Score of 6–4, 6–3?"
},
{
"from": "gpt",
"value": "SELECT opponents FROM table_name_59 WHERE score = \"6–4, 6–3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (tournament VARCHAR, surface VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which Tournament has a Surface of hard, and a Date of 24 september 2011?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_40 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (round INTEGER, event VARCHAR)"
},
{
"from": "human",
"value": "How many rounds did the match at GCF: Strength and Honor last?"
},
{
"from": "gpt",
"value": "SELECT AVG(round) FROM table_name_49 WHERE event = \"gcf: strength an... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR)"
},
{
"from": "human",
"value": "What is the total population for Saint-Antoine with an area squared of 6.43?"
},
{
"from": "gpt",
"value": "SELECT SUM(population) ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (status VARCHAR, population VARCHAR, census_ranking VARCHAR)"
},
{
"from": "human",
"value": "What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (february INTEGER, record VARCHAR)"
},
{
"from": "human",
"value": "How many games in February have a record of 40-15-5?"
},
{
"from": "gpt",
"value": "SELECT SUM(february) FROM table_name_8 WHERE record = \"40-15-5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (game INTEGER, opponent VARCHAR, february VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest numbered game with an opponent of Minnesota North Stars earlier than February 25?"
},
{
"from": "gpt",
"value": "SELECT MIN(... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (game INTEGER, opponent VARCHAR, february VARCHAR)"
},
{
"from": "human",
"value": "How many games have the New York Islanders as an opponent before February 7?"
},
{
"from": "gpt",
"value": "SELECT SUM(game) FROM table_name_63... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (february INTEGER, record VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the earliest February date with a record of 37-13-4 in a game earlier than 54?"
},
{
"from": "gpt",
"value": "SELECT MIN(february) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (date VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the game when the record is 2-0?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_53 WHERE record = \"2-0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (game INTEGER, record VARCHAR)"
},
{
"from": "human",
"value": "What is the average game number when the record is 4-1?"
},
{
"from": "gpt",
"value": "SELECT AVG(game) FROM table_name_18 WHERE record = \"4-1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (location_attendance VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the location and attendance of game 1?"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM table_name_95 WHERE game = 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (date VARCHAR, team VARCHAR, location_attendance VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the game located in Madison Square Garden, when the team is Seattle and the game number is less than 6?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (location_attendance VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the location and attendance of the game when the score is 125-100?"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (winning_driver VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Who was the winning driver in 1956?"
},
{
"from": "gpt",
"value": "SELECT winning_driver FROM table_name_93 WHERE year = \"1956\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (circuit VARCHAR, winning_driver VARCHAR)"
},
{
"from": "human",
"value": "Which circuit did Peter Whitehead win?"
},
{
"from": "gpt",
"value": "SELECT circuit FROM table_name_43 WHERE winning_driver = \"peter whitehead\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (report VARCHAR, winning_driver VARCHAR)"
},
{
"from": "human",
"value": "What report did Jack Brabham win?"
},
{
"from": "gpt",
"value": "SELECT report FROM table_name_21 WHERE winning_driver = \"jack brabham\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (year VARCHAR, circuit VARCHAR, winning_constructor VARCHAR)"
},
{
"from": "human",
"value": "What year did Ferrari win the Kyalami circuit?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_16 WHERE circuit = \"kyalam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (circuit VARCHAR, winning_driver VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Which circuit did Jim Clark win in 1962?"
},
{
"from": "gpt",
"value": "SELECT circuit FROM table_name_38 WHERE winning_driver = \"jim cla... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (date VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "On what Date was the 2011 LG Cup Competittion?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_46 WHERE competition = \"2011 lg cup\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (pick VARCHAR, previous_team VARCHAR, nba_years_ VARCHAR, a_ VARCHAR)"
},
{
"from": "human",
"value": "What is the pick for the player with 2 years in the NBA and who plays for the Utah Jazz?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (score VARCHAR, high_points VARCHAR)"
},
{
"from": "human",
"value": "What was the final score for the game in which Carmelo Anthony (26) was the high points scorer?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_7... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (game VARCHAR, high_rebounds VARCHAR)"
},
{
"from": "human",
"value": "In which game number was Chris Andersen (12) the high rebounds scorer?"
},
{
"from": "gpt",
"value": "SELECT game FROM table_name_48 WHERE high_rebounds = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (score VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What was the final score for the game played against @ Milwaukee?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_39 WHERE team = \"@ milwaukee\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (location_attendance VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "For the game played against the L.A. Lakers, where was the match played and what was the attendance level?"
},
{
"from": "gpt",
"value": "SELECT locat... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (name VARCHAR, time_retired VARCHAR, team VARCHAR, laps VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "What is Name, when Laps is \"50\", when Grid is greater than 9, when Team is \"Jim Beam Racing\", and when Time/Retired is \"+ ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (laps INTEGER, grid VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Laps, when Grid is greater than 7, and when Name is \"Fabian Coulthard\"?"
},
{
"from": "gpt",
"value": "SELECT MIN(laps) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (time_retired VARCHAR, laps VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is Time/Retired, when Laps is less than 49, and when Name is \"Michael Caruso\"?"
},
{
"from": "gpt",
"value": "SELECT time_retired FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (time_retired VARCHAR, team VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "What is Time/Retired, when Team is \"Team Vodafone\", and when Grid is greater than 4?"
},
{
"from": "gpt",
"value": "SELECT time_retired FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (draw VARCHAR, artist VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "What is the draw number of the Artist Dav Mcnamara and a place bigger than 4?"
},
{
"from": "gpt",
"value": "SELECT COUNT(draw) FROM table_name_75 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (stadium VARCHAR, runs VARCHAR)"
},
{
"from": "human",
"value": "What is the stadium name that has 144 as the runs?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_name_86 WHERE runs = \"144\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (year VARCHAR, runs VARCHAR)"
},
{
"from": "human",
"value": "For what year was 100* runs happen?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_45 WHERE runs = \"100*\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (runs VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "How many runs happened in 2013?"
},
{
"from": "gpt",
"value": "SELECT runs FROM table_name_18 WHERE year = \"2013\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (runs VARCHAR, match VARCHAR)"
},
{
"from": "human",
"value": "With 42 as the match what are the runs?"
},
{
"from": "gpt",
"value": "SELECT runs FROM table_name_42 WHERE match = \"42\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (match VARCHAR, year VARCHAR, runs VARCHAR)"
},
{
"from": "human",
"value": "In 2009 with 100* runs, what is the match?"
},
{
"from": "gpt",
"value": "SELECT match FROM table_name_8 WHERE year = \"2009\" AND runs = \"100*\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (match VARCHAR)"
},
{
"from": "human",
"value": "When the game was played in the stadium called stadium what was the match?"
},
{
"from": "gpt",
"value": "SELECT match FROM table_name_90 WHERE \"stadium\" = \"stadium\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (score VARCHAR, team_1 VARCHAR)"
},
{
"from": "human",
"value": "What is the 2nd round with a score of 3 - 3, and a team 1 fc gueugnon (d2)?"
},
{
"from": "gpt",
"value": "SELECT 2 AS nd_round FROM table_name_86 WHERE score = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (score VARCHAR, team_2 VARCHAR)"
},
{
"from": "human",
"value": "What is the 2nd round with a score of 3 - 3, and a team 2 fc lorient (d2)?"
},
{
"from": "gpt",
"value": "SELECT 2 AS nd_round FROM table_name_60 WHERE score = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (team_2 VARCHAR)"
},
{
"from": "human",
"value": "What is the 1st round with a team 2 paris sg (d1)?"
},
{
"from": "gpt",
"value": "SELECT 1 AS st_round FROM table_name_91 WHERE team_2 = \"paris sg (d1)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (name VARCHAR, transfer_window VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE NAME WITH A SUMMER TRANSFER WINDOW, AND COUNTRY SEN?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_39 WHERE tran... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (country VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE COUNTRY WITH NAME OF KANU?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_48 WHERE name = \"kanu\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (moving_to VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY?"
},
{
"from": "gpt",
"value": "SELECT moving_to FROM table_name_27 WHERE country = \"bel\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (country VARCHAR, transfer_window VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE COUNTRY WITH SUMMER TRANSFER WINDOW?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_93 WHERE transfer_window = \"summer\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (transfer_window VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE TRANSFER WINDOW FOR THE COUNTRY OF BRA?"
},
{
"from": "gpt",
"value": "SELECT transfer_window FROM table_name_12 WHERE country = \"bra\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (opponent_number VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What opponent had an attendance of 63,659?"
},
{
"from": "gpt",
"value": "SELECT opponent_number FROM table_name_78 WHERE attendance = \"63,659\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (result VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the result of 10/18/1947?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_84 WHERE date = \"10/18/1947\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the result for 10/04/1947?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_75 WHERE date = \"10/04/1947\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (competition VARCHAR, report VARCHAR)"
},
{
"from": "human",
"value": "Which competition has a report of AIFF?"
},
{
"from": "gpt",
"value": "SELECT competition FROM table_name_91 WHERE report = \"aiff\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (score VARCHAR, report VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the score for a report of AFC on April 4, 2008?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_18 WHERE report = \"afc\" AND da... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (attendance VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was the attendance for the game against the Houston Oilers?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_9 WHERE opponent = \"houst... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (attendance VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "How many people attended round f?"
},
{
"from": "gpt",
"value": "SELECT COUNT(attendance) FROM table_name_72 WHERE round = \"f\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (attendance INTEGER, round VARCHAR)"
},
{
"from": "human",
"value": "How many people on average attend round f?"
},
{
"from": "gpt",
"value": "SELECT AVG(attendance) FROM table_name_28 WHERE round = \"f\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (result VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What was the result in round qf?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_56 WHERE round = \"qf\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (away_team VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "Who played Blackpool when Blackpool was at home?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_2 WHERE home_team = \"blackpool\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (tie_no VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "How many times did Arsenal tie when they were away?"
},
{
"from": "gpt",
"value": "SELECT tie_no FROM table_name_2 WHERE away_team = \"arsenal\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (score VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game when Blackpool was away?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_77 WHERE away_team = \"blackpool\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (result VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What result had a time of 1:02?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_14 WHERE time = \"1:02\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (time VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "What time was the event k-1 the challenge 1999?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_1 WHERE event = \"k-1 the challenge 1999\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (location VARCHAR, method VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "Where was the decision draw before round 5?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_13 WHERE method = \"decision draw\" A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (career_win_loss VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What is Career Win-Loss, when Tournament is \"Hamburg\"?"
},
{
"from": "gpt",
"value": "SELECT career_win_loss FROM table_name_11 WHERE tournament =... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.