conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (player VARCHAR, country VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "What is Player, when Country is \"United States\", and when Place is \"6\"?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_41 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (money___ INTEGER, score VARCHAR)"
},
{
"from": "human",
"value": "What is the average Money ( $ ), when Score is \"69-69-76-69=283\"?"
},
{
"from": "gpt",
"value": "SELECT AVG(money___) AS $__ FROM table_name_74 WHERE score = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (country VARCHAR, to_par VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is Country, when To par is \"+1\", and when Score is \"72-71-70-72=285\"?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_98 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is Place, when Score is \"70-70-68-70=278\"?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_41 WHERE score = 70 - 70 - 68 - 70 = 278"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (network VARCHAR, year VARCHAR, colour_commentator_s_ VARCHAR)"
},
{
"from": "human",
"value": "For which network was Chris Walby the color commentator after 1990?"
},
{
"from": "gpt",
"value": "SELECT network FROM table_name_8... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (pregame_host VARCHAR, year VARCHAR, play_by_play VARCHAR)"
},
{
"from": "human",
"value": "Who was the pregame host before 1992 when there was a play by play of Bob Irving?"
},
{
"from": "gpt",
"value": "SELECT pregame_host FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (total VARCHAR, year_won VARCHAR, to_par VARCHAR)"
},
{
"from": "human",
"value": "What is the total of the player who won before 1991 and has a to par less than 14?"
},
{
"from": "gpt",
"value": "SELECT COUNT(total) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (to_par VARCHAR, total VARCHAR, year_won VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is the total to par of player jeff sluman, who won before 1993 and has a total greater than 154?"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (total INTEGER, player VARCHAR, to_par VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of the total of player rich beem, who has a to par greater than 17?"
},
{
"from": "gpt",
"value": "SELECT SUM(total) FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (away VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "Who was the away team in the semifinals?"
},
{
"from": "gpt",
"value": "SELECT away FROM table_name_34 WHERE round = \"semifinals\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (home VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "What is the home record for the Auxerre club?"
},
{
"from": "gpt",
"value": "SELECT home FROM table_name_34 WHERE club = \"auxerre\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (home VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "What is the home record for the Maccabi Tel-Aviv club?"
},
{
"from": "gpt",
"value": "SELECT home FROM table_name_85 WHERE club = \"maccabi tel-aviv\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (against VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Against, when Date is \"16/03/1996\"?"
},
{
"from": "gpt",
"value": "SELECT COUNT(against) FROM table_name_88 WHERE date = \"16/03/199... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (venue VARCHAR, against VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is Venue, when Against is greater than 9, and when Date is \"03/02/1996\"?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_58 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (status VARCHAR, opposing_teams VARCHAR)"
},
{
"from": "human",
"value": "What is Status, when Opposing Teams is \"Scotland\"?"
},
{
"from": "gpt",
"value": "SELECT status FROM table_name_16 WHERE opposing_teams = \"scotland\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (venue VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is Venue, when Date is \"14/12/1996\"?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_44 WHERE date = \"14/12/1996\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (against INTEGER, status VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the average Against, when Status is \"Five Nations\", and when Date is \"16/03/1996\"?"
},
{
"from": "gpt",
"value": "SELECT AVG(against) ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (year VARCHAR, team VARCHAR, pos VARCHAR)"
},
{
"from": "human",
"value": "In what year did the team of aston martin racing have a position of 6th?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_name_35 WHERE team... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (highest_rank VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which Rank is Highest for Yoshiazuma?"
},
{
"from": "gpt",
"value": "SELECT highest_rank FROM table_name_44 WHERE name = \"yoshiazuma\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (top_division_debut VARCHAR, tournaments VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which Top Division debut for Kitazakura has Tournaments less than 88?"
},
{
"from": "gpt",
"value": "SELECT top_division_debut FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (tournaments INTEGER, highest_rank VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Tournaments with Highest Rank of Maegashira 13?"
},
{
"from": "gpt",
"value": "SELECT MIN(tournaments) FROM table_name_46 WHERE hig... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (city VARCHAR, winner VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What was the city where Hallescher FC won in 2008?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_74 WHERE winner = \"hallescher fc\" AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (winner VARCHAR, finalist VARCHAR)"
},
{
"from": "human",
"value": "Who was the winner of fc grün-weiß wolfen?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_name_58 WHERE finalist = \"fc grün-weiß wolfen\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (stadium VARCHAR, year INTEGER)"
},
{
"from": "human",
"value": "What was the stadium past 2012?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_name_31 WHERE year > 2012"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (year INTEGER, country VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What is the average Year, when Country is \"U.S.\", and when Location is \"Edmond , OK\"?"
},
{
"from": "gpt",
"value": "SELECT AVG(year) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (killed INTEGER, perpetrator VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Killed, when Perpetrator is \"Sherrill, Patrick Henry , 44\"?"
},
{
"from": "gpt",
"value": "SELECT MIN(killed) FROM table_name_93 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (goals_for INTEGER, goal_difference VARCHAR, losses VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "What was the highest goals with fewer than 16 losses, fewer than 11 wins, and a goal difference greater than -9?"
},
{
"from... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (wins INTEGER, goal_difference VARCHAR, goals_against VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What is the highest wins entry with fewer than 51 goals, more than 39 points, and a goal difference smaller than 13?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (wins INTEGER, goals_for VARCHAR, goal_difference VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest wins entry that has a goal difference less than 33, position higher than 13, and 42 goals?"
},
{
"from... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (goals_for VARCHAR, losses VARCHAR, draws VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of goals for entries that have more than 7 draws, 8 wins, and more than 5 losses?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (city VARCHAR, stadium VARCHAR)"
},
{
"from": "human",
"value": "What city is the Stadium estádio dr. magalhães pessoa in?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_86 WHERE stadium = \"estádio dr. magalhães pe... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (city VARCHAR, stadium VARCHAR)"
},
{
"from": "human",
"value": "What city is the Stadium estádio cidade de barcelos in?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_93 WHERE stadium = \"estádio cidade de barcelos... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (club VARCHAR, head_coach VARCHAR)"
},
{
"from": "human",
"value": "Head Coach casemiro mior is at which Club?"
},
{
"from": "gpt",
"value": "SELECT club FROM table_name_36 WHERE head_coach = \"casemiro mior\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (city VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "What City is the Club braga in?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_79 WHERE club = \"braga\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (city VARCHAR)"
},
{
"from": "human",
"value": "What place is listed in the 2002-2003 season for the City of Aveiro?"
},
{
"from": "gpt",
"value": "SELECT 2002 AS _2003_season FROM table_name_20 WHERE city = \"aveiro\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (team_1 VARCHAR)"
},
{
"from": "human",
"value": "What is the 1st round with fc nantes (d1) as team 1?"
},
{
"from": "gpt",
"value": "SELECT 1 AS st_round FROM table_name_25 WHERE team_1 = \"fc nantes (d1)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (team_1 VARCHAR, team_2 VARCHAR)"
},
{
"from": "human",
"value": "What is the team 1 with nîmes olympique (d2) as team 2?"
},
{
"from": "gpt",
"value": "SELECT team_1 FROM table_name_66 WHERE team_2 = \"nîmes olympique (d2)\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (lyrics VARCHAR, date VARCHAR, catalog_number VARCHAR)"
},
{
"from": "human",
"value": "In what language is the Lyrics of the release on August 10, 2005 with Catalog number of TOCP-66427?"
},
{
"from": "gpt",
"value": "SELECT l... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (label VARCHAR, format VARCHAR, date VARCHAR, region VARCHAR)"
},
{
"from": "human",
"value": "What is the Label of the CD released in Germany on June 6, 2005?"
},
{
"from": "gpt",
"value": "SELECT label FROM table_name_8 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (region VARCHAR, catalog_number VARCHAR, label VARCHAR, format VARCHAR)"
},
{
"from": "human",
"value": "What is the Region of the EMI 4 x vinyl release bearing Catalog number 560 6111?"
},
{
"from": "gpt",
"value": "SELECT reg... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (lyrics VARCHAR, catalog_number VARCHAR)"
},
{
"from": "human",
"value": "What language is the Lyrics of the release with Catalog number 560 6111?"
},
{
"from": "gpt",
"value": "SELECT lyrics FROM table_name_59 WHERE catalog_nu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (region VARCHAR, catalog_number VARCHAR)"
},
{
"from": "human",
"value": "What is the Region of the release with Catalog number 3 12046 2?"
},
{
"from": "gpt",
"value": "SELECT region FROM table_name_77 WHERE catalog_number = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (label VARCHAR, date VARCHAR, region VARCHAR)"
},
{
"from": "human",
"value": "What is the Label of the September 19, 2008 release in Germany?"
},
{
"from": "gpt",
"value": "SELECT label FROM table_name_25 WHERE date = \"septem... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (edition_s_ VARCHAR, region VARCHAR)"
},
{
"from": "human",
"value": "What is the Edition of the release in Germany?"
},
{
"from": "gpt",
"value": "SELECT edition_s_ FROM table_name_82 WHERE region = \"germany\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (format_s_ VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Format(s) of the release on September 23, 2008?"
},
{
"from": "gpt",
"value": "SELECT format_s_ FROM table_name_40 WHERE date = \"september 23, 2008... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (label VARCHAR, region VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Label of the release on April 24, 2009 in Germany?"
},
{
"from": "gpt",
"value": "SELECT label FROM table_name_2 WHERE region = \"germany... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (l2_cache VARCHAR, idle_power VARCHAR, model_number VARCHAR)"
},
{
"from": "human",
"value": "What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?"
},
{
"from": "gpt",
"value": "SELECT l2_cache FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (cores VARCHAR, clock_speed VARCHAR)"
},
{
"from": "human",
"value": "What is the total Cores with a Clock Speed of 1.3ghz?"
},
{
"from": "gpt",
"value": "SELECT COUNT(cores) FROM table_name_33 WHERE clock_speed = \"1.3ghz\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (to_par VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What's the to par for the score of 68-74-71-77=290?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_5 WHERE score = 68 - 74 - 71 - 77 = 290"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (money___$__ VARCHAR, place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What's the money ($) for the t3 place and the score of 74-74-71-69=288?"
},
{
"from": "gpt",
"value": "SELECT money___$__ FROM table_name_87 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (score VARCHAR, money___$__ VARCHAR)"
},
{
"from": "human",
"value": "What's the score for $22,500?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_62 WHERE money___$__ = \"22,500\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (to_par VARCHAR, place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What's the to par for the t1 place with a score of 70-72-73-72=287?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_58 WHERE place = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (annual_interchanges__millions__2011_12 INTEGER, number_of_platforms VARCHAR, annual_entry_exit__millions__2011_12 VARCHAR, rank VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What's the average annual interchange for a rank o... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (annual_interchanges__millions__2011_12 INTEGER, railway_station VARCHAR)"
},
{
"from": "human",
"value": "What's the highest annual interchange for wimbledon railway station?"
},
{
"from": "gpt",
"value": "SELECT MAX(annual_in... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (total_passengers__millions__2011_12 INTEGER, annual_entry_exit__millions__2011_12 VARCHAR)"
},
{
"from": "human",
"value": "What's the lowest number of total passengers (millions) for an annual entry/exit of 36.609?"
},
{
"from": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (rank VARCHAR, total_passengers__millions__2011_12 VARCHAR, annual_interchanges__millions__2011_12 VARCHAR, annual_entry_exit__millions__2011_12 VARCHAR)"
},
{
"from": "human",
"value": "What rank has an annual interchange less than 1.99 m... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (rank VARCHAR, annual_interchanges__millions__2011_12 VARCHAR, location VARCHAR, number_of_platforms VARCHAR)"
},
{
"from": "human",
"value": "How many ranks are in liverpool with more than 3 platforms and an annual interchange less than 0... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (number_of_households INTEGER, per_capita_income VARCHAR, population VARCHAR)"
},
{
"from": "human",
"value": "Which Number of households has Per capita income of $21,571, and a Population smaller than 9,783?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (number_of_households INTEGER, county VARCHAR, population VARCHAR)"
},
{
"from": "human",
"value": "Which Number of households has a County of cook, and Population smaller than 5,176?"
},
{
"from": "gpt",
"value": "SELECT AVG(n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (per_capita_income VARCHAR, median_family_income VARCHAR)"
},
{
"from": "human",
"value": "What Per capita income has a Median family income of $50,755?"
},
{
"from": "gpt",
"value": "SELECT per_capita_income FROM table_name_38... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (number_of_households VARCHAR, median_family_income VARCHAR)"
},
{
"from": "human",
"value": "What Number of households have a Median family income of $58,491?"
},
{
"from": "gpt",
"value": "SELECT number_of_households FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (to_par VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What was the to par score of the golfer that had a score of 68-70=138?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_91 WHERE score = 68 - 70 = 138... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (player VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which golfer had a score of 69-71=140?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_63 WHERE score = 69 - 71 = 140"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (country VARCHAR, place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which country is t3 finisher billy mayfair from?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_37 WHERE place = \"t3\" AND player... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which Country has a Player of jodie mudd?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_62 WHERE player = \"jodie mudd\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (money___ VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which Money (£) has a Player of jodie mudd?"
},
{
"from": "gpt",
"value": "SELECT COUNT(money___) AS £__ FROM table_name_72 WHERE player = \"jodie mudd\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (money___ INTEGER, player VARCHAR)"
},
{
"from": "human",
"value": "What is the total Money (£) of Player of nick faldo?"
},
{
"from": "gpt",
"value": "SELECT SUM(money___) AS £__ FROM table_name_56 WHERE player = \"nick faldo\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (money___ VARCHAR, place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is the total Money (£) with a Place of t6, and a Player of ian baker-finch?"
},
{
"from": "gpt",
"value": "SELECT COUNT(money___) AS £__ FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (position INTEGER, goals_against VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "What position was the team who had less then 63 goals against and less than 6 losses?"
},
{
"from": "gpt",
"value": "SELECT AVG(position) ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (lost INTEGER, points_1 VARCHAR, goals_against VARCHAR)"
},
{
"from": "human",
"value": "How many times did the team lose who had 1 of 37 points and less than 60 goals against?"
},
{
"from": "gpt",
"value": "SELECT MIN(lost) FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (lost INTEGER, drawn VARCHAR, goal_difference VARCHAR, goals_for VARCHAR)"
},
{
"from": "human",
"value": "How many times did the team lose who had a goal difference of +2, 52 goals for, and less than 9 draws?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (drawn INTEGER, lost VARCHAR, position VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "How many draws did clitheroe have when their position was less than 12 and they lost less than 4 times?"
},
{
"from": "gpt",
"value"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the reserved for (ST/ST/None) when it was Uklana?"
},
{
"from": "gpt",
"value": "SELECT reserved_for___sc___st__none_ FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (constituency_number VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "Bhiwani district have what constituency number?"
},
{
"from": "gpt",
"value": "SELECT constituency_number FROM table_name_37 WHERE district = \"bh... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (constituency_number VARCHAR, number_of_electorates__2009_ INTEGER)"
},
{
"from": "human",
"value": "What is the constituency number with electorates (2009) number larger than 152,958?"
},
{
"from": "gpt",
"value": "SELECT cons... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (date_performed VARCHAR, main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the performance by Jatin Shah and co-contestant is Shalini Chandran?"
},
{
"from": "gpt",... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)"
},
{
"from": "human",
"value": "What are the scores when total score/week is 41/60 and co-contestant is Shalini Chandran?"
},
{... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (position VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR)"
},
{
"from": "human",
"value": "What position is there when the main contestant is Vishal Singh and the scores are 1 + 7 + 5 = 13?"
},
{
"from": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)"
},
{
"from": "human",
"value": "Who is the main contestant when the co-contestant (yaar vs. pyaar) is Shalini Chandran?"
},
{
"from": "gpt",
"value": "SELECT mai... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (main_contestant VARCHAR, status VARCHAR, scores_by_each_individual_judge VARCHAR)"
},
{
"from": "human",
"value": "Who is the main contestant eliminated with a score of 1 + 7 + 5 = 13?"
},
{
"from": "gpt",
"value": "SELECT mai... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (series_4 VARCHAR, seat VARCHAR)"
},
{
"from": "human",
"value": "What shows for series 4 when the seat shows 1?"
},
{
"from": "gpt",
"value": "SELECT series_4 FROM table_name_27 WHERE seat = 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (seat INTEGER, series_3 VARCHAR)"
},
{
"from": "human",
"value": "What is the seat number when Series 3 shows Dana Bérová?"
},
{
"from": "gpt",
"value": "SELECT AVG(seat) FROM table_name_81 WHERE series_3 = \"dana bérová\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (partner VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "Who was the Partner in the Algiers 2, Algeria Tournament?"
},
{
"from": "gpt",
"value": "SELECT partner FROM table_name_2 WHERE tournament = \"algiers 2, alg... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (opponents VARCHAR, partner VARCHAR)"
},
{
"from": "human",
"value": "Who were the Opponents in the Match with Partner Rushmi Chakravarthi?"
},
{
"from": "gpt",
"value": "SELECT opponents FROM table_name_80 WHERE partner = \"ru... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (date VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Date of the Match with a Score of 6–4, 7–5?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_27 WHERE score = \"6–4, 7–5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (loses INTEGER, position VARCHAR, games_played VARCHAR)"
},
{
"from": "human",
"value": "What is the fewest loses for the club that is below 8 in position, and had played less than 30 games?"
},
{
"from": "gpt",
"value": "SELEC... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (loses INTEGER, goals_scored VARCHAR, position VARCHAR, draws VARCHAR, goals_conceded VARCHAR)"
},
{
"from": "human",
"value": "What is the loses total when there is less than 4 draws, less than 105 conceded goals, less than 38 goals score... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (goals_conceded INTEGER, draws VARCHAR, points VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "How many total goals conceded are there when the points are greater than 58, less than 27 wins, and less than 1 draws?"
},
{
"fr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (goals_scored VARCHAR, games_played INTEGER)"
},
{
"from": "human",
"value": "How many total goals scored when less than 30 games have been played?"
},
{
"from": "gpt",
"value": "SELECT COUNT(goals_scored) FROM table_name_71 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (goals_scored INTEGER, games_played INTEGER)"
},
{
"from": "human",
"value": "When less than 30 games have been played what is the average goals scored?"
},
{
"from": "gpt",
"value": "SELECT AVG(goals_scored) FROM table_name_18... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (league_cup_apps VARCHAR, league_cup_goals INTEGER)"
},
{
"from": "human",
"value": "What is the league cup app with league cup goals more than 0?"
},
{
"from": "gpt",
"value": "SELECT league_cup_apps FROM table_name_76 WHERE l... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (fa_cup_apps VARCHAR, league_cup_goals VARCHAR, total_apps VARCHAR)"
},
{
"from": "human",
"value": "What is the fa cup apps with 0 league cup goals, and a total of 43 apps?"
},
{
"from": "gpt",
"value": "SELECT fa_cup_apps FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (flt_goals INTEGER, league_cup_apps VARCHAR, league_cup_goals VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What is the highest FLT goals with 0 league cup goals, a GK position, and 2 league cup apps?"
},
{
"from": "gp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "On what date is the venue Sam Nujoma Stadium, Windhoek, Namibia?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_87 WHERE venue = \"sam nujoma stadium, w... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (third_place VARCHAR, fourth_placed VARCHAR, number_of_clubs VARCHAR, winners VARCHAR)"
},
{
"from": "human",
"value": "Who was in third place when the Winner was Dalian Shide, Chongqing Longxin was 4th and 14 clubs?"
},
{
"from": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (season INTEGER, winners VARCHAR, fourth_placed VARCHAR)"
},
{
"from": "human",
"value": "What season had Dalian Wanda as the winner with Yanbian Aodong winning 4th?"
},
{
"from": "gpt",
"value": "SELECT SUM(season) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (number_of_clubs INTEGER, fourth_placed VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What is the number of clubs before 2003 with a 4th place winner of Shenzhen Jianlibao?"
},
{
"from": "gpt",
"value": "SELECT AVG(... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (number_of_clubs INTEGER, winners VARCHAR, fourth_placed VARCHAR)"
},
{
"from": "human",
"value": "What is the number of clubs when Dalian Shide won and Sichuan Quanxing won 4th?"
},
{
"from": "gpt",
"value": "SELECT AVG(number... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (winners VARCHAR, runners_up VARCHAR)"
},
{
"from": "human",
"value": "Who was the winner when the runner-up was Guangzhou Apollo?"
},
{
"from": "gpt",
"value": "SELECT winners FROM table_name_34 WHERE runners_up = \"guangzhou ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (byes INTEGER, against VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "How many Byes have an Against of 972, and more than 11 wins?"
},
{
"from": "gpt",
"value": "SELECT SUM(byes) FROM table_name_39 WHERE against = 972 ... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.