conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (livery VARCHAR, wheel_arrangement VARCHAR, locomotive_type VARCHAR, year_built VARCHAR)"
},
{
"from": "human",
"value": "What is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2?"
},
{
"from": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (livery VARCHAR, year_built VARCHAR, locomotive_type VARCHAR)"
},
{
"from": "human",
"value": "What livery belongs to the steam Locomotive type builder that was building before 1989?"
},
{
"from": "gpt",
"value": "SELECT livery... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (total VARCHAR, gold VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of medals when the gold is more than 2 and silver more than 2?"
},
{
"from": "gpt",
"value": "SELECT COUNT(total) FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (silver INTEGER, total VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the most silver medals when the total is less than 4 and the rank is 12?"
},
{
"from": "gpt",
"value": "SELECT MAX(silver) FROM table_name_3... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (bronze INTEGER, silver VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of bronze medals when the silver is greater than 0, and the total medals 5?"
},
{
"from": "gpt",
"value": "SELECT SUM(bro... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of medals when the bronze is more than 1, and Germany is the nation, and gold medals less than 1?"
},
{
"from":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (rank INTEGER, name VARCHAR, goals VARCHAR)"
},
{
"from": "human",
"value": "When Oscar Míguez had over 107 goals, what was the lowest he ranked?"
},
{
"from": "gpt",
"value": "SELECT MIN(rank) FROM table_name_21 WHERE name = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (goals INTEGER, years VARCHAR)"
},
{
"from": "human",
"value": "What was the highest number of goals for 1922–1935?"
},
{
"from": "gpt",
"value": "SELECT MAX(goals) FROM table_name_18 WHERE years = \"1922–1935\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (pick__number VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which pick number was there for Jason French?"
},
{
"from": "gpt",
"value": "SELECT pick__number FROM table_name_20 WHERE player = \"jason french\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (cfl_team VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "Which cfl team was associated with the college of manitoba?"
},
{
"from": "gpt",
"value": "SELECT cfl_team FROM table_name_32 WHERE college = \"manitoba\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (college VARCHAR, cfl_team VARCHAR)"
},
{
"from": "human",
"value": "Which college's cfl team is the hamilton tiger-cats?"
},
{
"from": "gpt",
"value": "SELECT college FROM table_name_58 WHERE cfl_team = \"hamilton tiger-cats\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (position VARCHAR, cfl_team VARCHAR, pick__number VARCHAR)"
},
{
"from": "human",
"value": "Which position's cfl team was the Montreal Alouettes when the pick number was less than 15?"
},
{
"from": "gpt",
"value": "SELECT posit... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (player VARCHAR, cfl_team VARCHAR)"
},
{
"from": "human",
"value": "Which player was drafted by the Saskatchewan Roughriders?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_5 WHERE cfl_team = \"saskatchewan roughri... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (college VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What college did Ben Wearing play for?"
},
{
"from": "gpt",
"value": "SELECT college FROM table_name_37 WHERE player = \"ben wearing\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (fa_cup_goals INTEGER, league_goals VARCHAR, other_goals VARCHAR, fl_cup_goals VARCHAR)"
},
{
"from": "human",
"value": "What is the average FA Cup Goal value for players that have 0 Other goals, 0 FL Cup goals, and fewer than 39 League go... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (date VARCHAR, away VARCHAR)"
},
{
"from": "human",
"value": "On what date were the Ottawa Swans the away team?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_25 WHERE away = \"ottawa swans\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (score VARCHAR, home VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game with the Etobicoke Kangaroos as the home team?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_55 WHERE home = \"etobicok... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (score VARCHAR, home VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game with the Broadview Hawks as the home team?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_97 WHERE home = \"broadview ha... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (score VARCHAR, home VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the Broadview Hawks home game?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_69 WHERE home = \"broadview hawks\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (away VARCHAR, home VARCHAR)"
},
{
"from": "human",
"value": "Who was the away team for the Etobicoke Kangaroos home game?"
},
{
"from": "gpt",
"value": "SELECT away FROM table_name_81 WHERE home = \"etobicoke kangaroos\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (date VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What was the date for the 130-56 game?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_26 WHERE score = \"130-56\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (date VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What is the date with Cuba is Home team?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_20 WHERE home_team = \"cuba\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (location VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What is the location with Honduras is Home team?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_57 WHERE home_team = \"honduras\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (location VARCHAR, home_team VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the location of 11 April 2013 and Mexico Home team?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_8 WHERE home_team = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (date VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What is the date that is Away team is Honduras?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_25 WHERE away_team = \"honduras\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (date VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What is the date where Guatemala is the Away team?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_44 WHERE away_team = \"guatemala\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the score for 17 April 2013?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_33 WHERE date = \"17 april 2013\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (week INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "How many weeks have September 14, 2008 as the date?"
},
{
"from": "gpt",
"value": "SELECT SUM(week) FROM table_name_79 WHERE date = \"september 14, 2008\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (opponent VARCHAR, week VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What opponent has a week less than 16, with September 7, 2008 as the date?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_43 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (record VARCHAR, game_site VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What record has candlestick park as the game site, and october 12, 2008 as the date?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What date has new england patriots as the opponent?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_26 WHERE opponent = \"new england patriots\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (date VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "What date has 10 for the week?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_66 WHERE week = 10"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (game_site VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What game site has w 10-3 as the result?"
},
{
"from": "gpt",
"value": "SELECT game_site FROM table_name_50 WHERE result = \"w 10-3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (rank INTEGER, singapore_cup VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of Rank that when the Singapore Cup is 0 (1), and the Name is masrezwan masturi?"
},
{
"from": "gpt",
"value": "SELECT SUM(ran... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (name VARCHAR, total VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the Name of the person with a Total of 3 (15), and Rank of more than 3?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_87 WHERE to... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (singapore_cup VARCHAR, s_league VARCHAR)"
},
{
"from": "human",
"value": "What is the Singapore Cup when the S-League is 5 (14)?"
},
{
"from": "gpt",
"value": "SELECT singapore_cup FROM table_name_92 WHERE s_league = \"5 (14)\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (singapore_league_cup VARCHAR, rank VARCHAR, s_league VARCHAR)"
},
{
"from": "human",
"value": "What is the Singapore League Cup when rank is more than 4, and the S-League is 2 (12)?"
},
{
"from": "gpt",
"value": "SELECT singap... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (tournament VARCHAR, runner_s__up VARCHAR)"
},
{
"from": "human",
"value": "In which tournament did Al Geiberger finish runner-up?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_2 WHERE runner_s__up = \"al geib... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (season VARCHAR, acquisition_via VARCHAR, number VARCHAR)"
},
{
"from": "human",
"value": "What is the Season with an Acquisition via of rookie draft, and the number is 15?"
},
{
"from": "gpt",
"value": "SELECT season FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (acquisition_via VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the Acquisition via for Dennis Miranda?"
},
{
"from": "gpt",
"value": "SELECT acquisition_via FROM table_name_33 WHERE name = \"dennis miranda\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (school_club_team VARCHAR, name VARCHAR, acquisition_via VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What team acquired as a rookie draft in the position of guard Dennis Miranda?"
},
{
"from": "gpt",
"value": "S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (season VARCHAR, position VARCHAR, school_club_team VARCHAR)"
},
{
"from": "human",
"value": "What season was School/Club Team perpetual help in the guard position?"
},
{
"from": "gpt",
"value": "SELECT season FROM table_name_6 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (number VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What number was Rashad McCants?"
},
{
"from": "gpt",
"value": "SELECT number FROM table_name_82 WHERE name = \"rashad mccants\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (season VARCHAR, acquisition_via VARCHAR, school_club_team VARCHAR)"
},
{
"from": "human",
"value": "What season did School/Club Team, East have an Acquisition via of trade?"
},
{
"from": "gpt",
"value": "SELECT season FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (date VARCHAR, city___state VARCHAR)"
},
{
"from": "human",
"value": "What is the Date for the City/State of Sydney, New South Wales?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_61 WHERE city___state = \"sydney, ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (revenues VARCHAR, tenure VARCHAR)"
},
{
"from": "human",
"value": "What is the Revenues during Tenure 1854-1855?"
},
{
"from": "gpt",
"value": "SELECT revenues FROM table_name_43 WHERE tenure = \"1854-1855\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (revenues VARCHAR, courtesy_title VARCHAR)"
},
{
"from": "human",
"value": "What is the Revenues of Ukyo-Daiyu?"
},
{
"from": "gpt",
"value": "SELECT revenues FROM table_name_81 WHERE courtesy_title = \"ukyo-daiyu\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (country VARCHAR, place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What country was the player, rod pampling, from who placed t10?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_43 WHERE place = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (score VARCHAR, place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was the score that thomas levet got when he placed t10?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_36 WHERE place = \"t10\" A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (country VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What country did the player who scored 73-73-65=211 come from?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_6 WHERE score = 73 - 73 - 65 = 211"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (score VARCHAR, country VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "What is the score that the player who placed t4 from the united states get?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_80 WHERE c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What country is phil mickelson from?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_57 WHERE player = \"phil mickelson\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (team VARCHAR, machine VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What is the Team with a Machine that is nsr250 and has Points of 8?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_39 WHERE machine = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (lost INTEGER, position VARCHAR, points VARCHAR, difference VARCHAR)"
},
{
"from": "human",
"value": "What is the total lost that has points greater than 8 and a difference of - 8 and a position of greater than 5?"
},
{
"from": "gpt... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (points INTEGER, played VARCHAR, lost VARCHAR, difference VARCHAR)"
},
{
"from": "human",
"value": "What is the greatest number of points that has a lost bigger than 5, a difference of - 10 and a played bigger than 12?"
},
{
"from"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (name VARCHAR, average VARCHAR)"
},
{
"from": "human",
"value": "What is the Name with an Average that is 16.4?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_10 WHERE average = 16.4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (match VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What was the match number for Start Gniezno?"
},
{
"from": "gpt",
"value": "SELECT match FROM table_name_13 WHERE team = \"start gniezno\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (lost VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Who was the team that lost but had 10 points?"
},
{
"from": "gpt",
"value": "SELECT lost FROM table_name_48 WHERE points = \"10\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (draw VARCHAR, match VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What was the draw for Lpż Gdańsk with a match of 8?"
},
{
"from": "gpt",
"value": "SELECT draw FROM table_name_57 WHERE match = \"8\" AND team = \"lpż... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (team VARCHAR, draw VARCHAR)"
},
{
"from": "human",
"value": "What team had a draw of 0?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_29 WHERE draw = \"0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (match VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What match had 8 points?"
},
{
"from": "gpt",
"value": "SELECT match FROM table_name_91 WHERE points = \"8\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (draw VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What is the draw for a match that had 10 points?"
},
{
"from": "gpt",
"value": "SELECT draw FROM table_name_37 WHERE points = \"10\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (birthplace VARCHAR)"
},
{
"from": "human",
"value": "What was the 1980-1981 team of the player born in Warroad, Minnesota?"
},
{
"from": "gpt",
"value": "SELECT 1980 AS _1981_team FROM table_name_22 WHERE birthplace = \"warroa... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (lost INTEGER, draw INTEGER)"
},
{
"from": "human",
"value": "How many losses have a draw greater than 0?"
},
{
"from": "gpt",
"value": "SELECT SUM(lost) FROM table_name_99 WHERE draw > 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (match INTEGER, points INTEGER)"
},
{
"from": "human",
"value": "Which average match has points less than 6?"
},
{
"from": "gpt",
"value": "SELECT AVG(match) FROM table_name_33 WHERE points < 6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (draw INTEGER, points INTEGER)"
},
{
"from": "human",
"value": "Which average draw has points greater than 12?"
},
{
"from": "gpt",
"value": "SELECT AVG(draw) FROM table_name_52 WHERE points > 12"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (trainer VARCHAR, time VARCHAR, jockey VARCHAR)"
},
{
"from": "human",
"value": "What Trainer had Jockey William Jenkins in a race with Time of 1:44.80?"
},
{
"from": "gpt",
"value": "SELECT trainer FROM table_name_54 WHERE tim... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (year INTEGER, purse VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "In what Year was the Purse $150,000 with a Time of 1:49.00?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM table_name_6 WHERE purse = \"$150,000\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (owner VARCHAR, trainer VARCHAR)"
},
{
"from": "human",
"value": "What Owner's Trainer is Todd A. Pletcher?"
},
{
"from": "gpt",
"value": "SELECT owner FROM table_name_64 WHERE trainer = \"todd a. pletcher\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (purse VARCHAR, year VARCHAR, owner VARCHAR)"
},
{
"from": "human",
"value": "What was the Purse for Owner Harold A. Allen prior to 2009?"
},
{
"from": "gpt",
"value": "SELECT purse FROM table_name_41 WHERE year < 2009 AND owne... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (gdp__ppp__per_capita_2012_euro VARCHAR, population_in_millions VARCHAR, gdp__nominal__per_capita_2012_euro VARCHAR)"
},
{
"from": "human",
"value": "What is GDP (PPP) Per Capita 2012 Euro, when Population In Millions is greater than 10.8,... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (gdp_2012_millions_of_euro VARCHAR, population_in_millions VARCHAR, gdp__nominal__per_capita_2012_euro VARCHAR)"
},
{
"from": "human",
"value": "What is GDP 2012 Millions of Euro, when Population in Millions is less than 1.3, and when GDP ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (gdp__ppp__per_capita_2012_eu27_ VARCHAR, _100 VARCHAR, gdp_2012_millions_of_euro VARCHAR)"
},
{
"from": "human",
"value": "What is GDP (PPP) Per Capita 2012 EU27 = 100, when GDP 2012 Millions Of Euro is 309,900?"
},
{
"from": "gpt... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (population_in_millions VARCHAR, gdp_2012_millions_of_euro VARCHAR)"
},
{
"from": "human",
"value": "What is Population in Millions, when GDP 2012 Millions of Euro is 600,638?"
},
{
"from": "gpt",
"value": "SELECT population_in... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (money___$__ VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was the Money for Player Ernie Els?"
},
{
"from": "gpt",
"value": "SELECT money___$__ FROM table_name_22 WHERE player = \"ernie els\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (player VARCHAR, place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What T9 Player had a Score of 70-74-69-70=283?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_93 WHERE place = \"t9\" AND score = 70 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (money___$__ VARCHAR, place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Money for the T1 Player with a Score of 66-69-70-75=280?"
},
{
"from": "gpt",
"value": "SELECT money___$__ FROM table_name_90 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (money___$__ VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is Chris Riley's Money?"
},
{
"from": "gpt",
"value": "SELECT money___$__ FROM table_name_46 WHERE player = \"chris riley\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (span_metres INTEGER, span_feet VARCHAR, rank VARCHAR, year_opened VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest amount of Span metres when the year opened is 2007, the country is China, rank is less than 13... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (country VARCHAR, year_opened VARCHAR, span_feet VARCHAR, material VARCHAR, span_metres VARCHAR)"
},
{
"from": "human",
"value": "Which country's material was concrete when the span metres were less than 270, span feet is more than 837, an... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (country VARCHAR, year_s__won VARCHAR)"
},
{
"from": "human",
"value": "What country won in 1993?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_28 WHERE year_s__won = \"1993\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (finish VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR)"
},
{
"from": "human",
"value": "What was the finish with a total larger than 286, a to par of +4 and Bob Tway played?"
},
{
"from": "gpt",
"value": "SELECT finish... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What player in the United States had a total of 286 and won in 2003?"
},
{
"from": "gpt",
"value": "SELECT player FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (country VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What country has a total of 293?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_37 WHERE total = 293"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What player is from Fiji?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_67 WHERE country = \"fiji\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (method VARCHAR, weight_class VARCHAR, card VARCHAR)"
},
{
"from": "human",
"value": "Which method was used in the welterweight class with a preliminary card?"
},
{
"from": "gpt",
"value": "SELECT method FROM table_name_58 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (method VARCHAR, round INTEGER)"
},
{
"from": "human",
"value": "Which method was used in a round greater than 3?"
},
{
"from": "gpt",
"value": "SELECT method FROM table_name_15 WHERE round > 3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (weight_class VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "Which weight class had a time of 4:59?"
},
{
"from": "gpt",
"value": "SELECT weight_class FROM table_name_65 WHERE time = \"4:59\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (time VARCHAR, round INTEGER)"
},
{
"from": "human",
"value": "What was the time for a round less than 3?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_35 WHERE round < 3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (round INTEGER, weight_class VARCHAR, card VARCHAR)"
},
{
"from": "human",
"value": "What is the smallest round for the welterweight class with a preliminary card?"
},
{
"from": "gpt",
"value": "SELECT MIN(round) FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (bulletins_to_all_contacts VARCHAR, creator VARCHAR, transport_layer_security VARCHAR, license VARCHAR)"
},
{
"from": "human",
"value": "Were there Bulletins to all contacts of the proprietary license created by Microsoft with no transport... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (bulletins_to_all_contacts VARCHAR, creator VARCHAR)"
},
{
"from": "human",
"value": "Were there Bulletins to all contacts of the license created by GG Network?"
},
{
"from": "gpt",
"value": "SELECT bulletins_to_all_contacts FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (license VARCHAR, creator VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the license created by IETF?"
},
{
"from": "gpt",
"value": "SELECT license FROM table_name_72 WHERE creator = \"ietf\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (envelopment VARCHAR, family VARCHAR)"
},
{
"from": "human",
"value": "What is the envelopment for the rhabdoviridae family?"
},
{
"from": "gpt",
"value": "SELECT envelopment FROM table_name_83 WHERE family = \"rhabdoviridae\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (baltimore_group VARCHAR, family VARCHAR, replication_site VARCHAR, virion_shape VARCHAR, envelopment VARCHAR)"
},
{
"from": "human",
"value": "Which Baltimore group has a viron shape of icosahedral, replicates in the cytoplasm, is non-env... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (baltimore_group VARCHAR, family VARCHAR)"
},
{
"from": "human",
"value": "Which Baltimore group is of the retroviridae family?"
},
{
"from": "gpt",
"value": "SELECT baltimore_group FROM table_name_62 WHERE family = \"retroviri... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (baltimore_group VARCHAR, family VARCHAR)"
},
{
"from": "human",
"value": "Which Baltimore group is of the togaviridae family?"
},
{
"from": "gpt",
"value": "SELECT baltimore_group FROM table_name_27 WHERE family = \"togavirida... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (baltimore_group VARCHAR, envelopment VARCHAR, family VARCHAR)"
},
{
"from": "human",
"value": "Which Baltimore group is non-enveloped and is of the papillomaviridae family?"
},
{
"from": "gpt",
"value": "SELECT baltimore_group... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (replication_site VARCHAR, envelopment VARCHAR, family VARCHAR)"
},
{
"from": "human",
"value": "What is the replication site when the species is enveloped and is of the bunyaviridae family?"
},
{
"from": "gpt",
"value": "SELEC... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (league_cup INTEGER, player VARCHAR)"
},
{
"from": "human",
"value": "What is the highest League Cup with a Player that is steed malbranque?"
},
{
"from": "gpt",
"value": "SELECT MAX(league_cup) FROM table_name_95 WHERE player ... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.