conversations listlengths 3 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (losses INTEGER, manager VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "What was Jim Hoff's sum of losses and a wins smaller than 12?"
},
{
"from": "gpt",
"value": "SELECT SUM(losses) FROM table_name_9 WHERE manager = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (wins INTEGER, years VARCHAR, games VARCHAR)"
},
{
"from": "human",
"value": "What was the average of games that were one in 1978 that were smaller than 141?"
},
{
"from": "gpt",
"value": "SELECT AVG(wins) FROM table_name_42 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (games INTEGER, manager VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "What was the sum of Richie Hebner winning games that were smaller 34?"
},
{
"from": "gpt",
"value": "SELECT SUM(games) FROM table_name_80 WHERE man... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (wins INTEGER, losses VARCHAR, games VARCHAR, manager VARCHAR)"
},
{
"from": "human",
"value": "What was the average of wins with manager George Scherger smaller than 3 and losses smaller than 1?"
},
{
"from": "gpt",
"value": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (date VARCHAR, race VARCHAR)"
},
{
"from": "human",
"value": "When was the golden slipper race?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_53 WHERE race = \"golden slipper\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (race VARCHAR, weight__kg_ INTEGER)"
},
{
"from": "human",
"value": "In which races did the jockey weigh less than 55.5 kg?"
},
{
"from": "gpt",
"value": "SELECT race FROM table_name_78 WHERE weight__kg_ < 55.5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (result VARCHAR, venue VARCHAR, race VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the Todman stakes race at rosehill?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_28 WHERE venue = \"rosehill\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What Country has Player Ky Laffoon?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_80 WHERE player = \"ky laffoon\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (player VARCHAR, country VARCHAR, money___$__ VARCHAR)"
},
{
"from": "human",
"value": "What Player is from the Country United States and Money ($) of 356?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_24 WHERE c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (player VARCHAR, to_par VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What Player has a To par of +1 and the Score 75-70-71-73=289?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_10 WHERE to_par = \"+1\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (outcome VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What was the outcome for the Rome 2, Italy tournament?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_name_73 WHERE tournament = \"rome 2, italy\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (outcome VARCHAR, opponents_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "What was the outcome of the match opponents in the final of Marius Călugăru Ciprian Petre Porumb?"
},
{
"from": "gpt",
"value": "SELECT outcome ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (gold INTEGER, total VARCHAR, bronze VARCHAR)"
},
{
"from": "human",
"value": "How many golds have a Total of 11, and a Bronze smaller than 3?"
},
{
"from": "gpt",
"value": "SELECT SUM(gold) FROM table_name_81 WHERE total = 11 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (gold INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "How many golds have a Bronze of 0, a Total larger than 1, a Nation of chad, and a Silver larger than 0?"
},
{
"from": "g... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (silver INTEGER, gold VARCHAR, nation VARCHAR)"
},
{
"from": "human",
"value": "What is the smallest silver with a Gold of 1, and a Nation of lithuania?"
},
{
"from": "gpt",
"value": "SELECT MIN(silver) FROM table_name_7 WHERE g... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the total bronze with a Gold larger than 1, a Rank of 2, and a Silver smaller than 12?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which Visiting Team is on december 23?"
},
{
"from": "gpt",
"value": "SELECT visiting_team FROM table_name_59 WHERE date = \"december 23\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (host_team VARCHAR, final_score VARCHAR)"
},
{
"from": "human",
"value": "Which Host Team has Final Score of 42-23?"
},
{
"from": "gpt",
"value": "SELECT host_team FROM table_name_86 WHERE final_score = \"42-23\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (date VARCHAR, final_score VARCHAR)"
},
{
"from": "human",
"value": "When did Final Score of 31-7 happen?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_64 WHERE final_score = \"31-7\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (Id VARCHAR)"
},
{
"from": "human",
"value": "Which Tournament in 2010 also has Grand Slam tournaments in 2011"
},
{
"from": "gpt",
"value": "SELECT 2010 FROM table_name_74 WHERE 2011 = \"grand slam tournaments\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (attendance INTEGER, opponent VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the average attendance when the New York Mets were opponents with a record of 51-33?"
},
{
"from": "gpt",
"value": "SELECT AVG(att... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (visiting_team VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What visiting team played on October 18?"
},
{
"from": "gpt",
"value": "SELECT visiting_team FROM table_name_36 WHERE date = \"october 18\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (visiting_team VARCHAR, stadium VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What visiting team played at 3com park on October 7?"
},
{
"from": "gpt",
"value": "SELECT visiting_team FROM table_name_49 WHERE stadium =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (host_team VARCHAR, final_score VARCHAR)"
},
{
"from": "human",
"value": "Which host team won on a final scoreline of 13-10?"
},
{
"from": "gpt",
"value": "SELECT host_team FROM table_name_55 WHERE final_score = \"13-10\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (stadium VARCHAR, final_score VARCHAR)"
},
{
"from": "human",
"value": "In what stadium did a game result in a final scoreline reading 27-34?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_name_30 WHERE final_score = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (visiting_team VARCHAR, host_team VARCHAR)"
},
{
"from": "human",
"value": "In the game in which the Jacksonville Jaguars were hosts, what was the name of the visiting team?"
},
{
"from": "gpt",
"value": "SELECT visiting_team F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (visiting_team VARCHAR, final_score VARCHAR)"
},
{
"from": "human",
"value": "Which visiting team wound up with a final score of 18-40?"
},
{
"from": "gpt",
"value": "SELECT visiting_team FROM table_name_77 WHERE final_score = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (attendance INTEGER, week VARCHAR)"
},
{
"from": "human",
"value": "Name the sum of attendacne for 16 weeks"
},
{
"from": "gpt",
"value": "SELECT SUM(attendance) FROM table_name_30 WHERE week = 16"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (result VARCHAR, week VARCHAR, game_site VARCHAR)"
},
{
"from": "human",
"value": "Name the result for week less than 7 and game sites of los angeles memorial coliseum"
},
{
"from": "gpt",
"value": "SELECT result FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (result VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "Name the result for week 7"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_14 WHERE week = 7"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR)"
},
{
"from": "human",
"value": "How many yards lost by the player with more gained than 51 and average/g of 3.6?"
},
{
"from": "gpt",
"value": "SELECT COUNT(loss) FROM table_name_97 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (gain INTEGER, avg_g VARCHAR, loss VARCHAR)"
},
{
"from": "human",
"value": "What are the gains for the player with average of 26.8 and lost yard fewer than 13?"
},
{
"from": "gpt",
"value": "SELECT SUM(gain) FROM table_name_43... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "When did Mathieu play against Flavio Cipolla?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_60 WHERE opponent_in_the_final = \"flavio c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (tournament VARCHAR, score_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "Which tournament had a final score of 6–3, 6–2?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_65 WHERE score_in_the_final = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (surface VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "On which surface did Mathieu play against Antonio Veić?"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_name_84 WHERE opponent_in_the_fi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "When did Mathieu play against Antonio Veić?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_60 WHERE opponent_in_the_final = \"antonio ve... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (date VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "When did Mathieu play against Andrey Golubev?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_7 WHERE opponent_in_the_final = \"andrey gol... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (park VARCHAR, opened VARCHAR)"
},
{
"from": "human",
"value": "What park opened in 1999?"
},
{
"from": "gpt",
"value": "SELECT park FROM table_name_48 WHERE opened = \"1999\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (record VARCHAR, home VARCHAR, decision VARCHAR)"
},
{
"from": "human",
"value": "Name the record for detroit and decision of denis"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_39 WHERE home = \"detroit\" AND de... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (attendance INTEGER, visitor VARCHAR)"
},
{
"from": "human",
"value": "Name the average attendance with dallas visitor"
},
{
"from": "gpt",
"value": "SELECT AVG(attendance) FROM table_name_78 WHERE visitor = \"dallas\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "How close to par was Tom Kite when he played?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_29 WHERE player = \"tom kite\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (country VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which of the countries showed a score of 71-72=143?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_8 WHERE score = 71 - 72 = 143"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which country watch Tom Watson at t9 score 72-72=144?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_44 WHERE place... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (score VARCHAR, to_par VARCHAR)"
},
{
"from": "human",
"value": "What was the final score when the player was an e to par?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_97 WHERE to_par = \"e\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (team VARCHAR, attempts VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the team that has 307 attempts?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_7 WHERE attempts = \"307\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (team VARCHAR, attempts VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the team that has 1,317 attempts?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_8 WHERE attempts = \"1,317\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (year VARCHAR, yards VARCHAR)"
},
{
"from": "human",
"value": "What year was 2,242 yards achieved?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_68 WHERE yards = \"2,242\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (team VARCHAR, completion__percentage VARCHAR)"
},
{
"from": "human",
"value": "Which team has a 59.8% completion rate?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_16 WHERE completion__percentage = \"59.8%\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (year VARCHAR, engine VARCHAR)"
},
{
"from": "human",
"value": "Which year has has a Engine of maserati straight-6?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_name_31 WHERE engine = \"maserati straight-6\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (points VARCHAR, chassis VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the Point of Chassis of Lancia d50 in 1954"
},
{
"from": "gpt",
"value": "SELECT points FROM table_name_91 WHERE chassis = \"lancia d50\" ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (matches INTEGER, high_score VARCHAR, innings VARCHAR)"
},
{
"from": "human",
"value": "What is the match total for a score over 299 and under 412 innings?"
},
{
"from": "gpt",
"value": "SELECT SUM(matches) FROM table_name_26 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (runs INTEGER, high_score VARCHAR, innings VARCHAR)"
},
{
"from": "human",
"value": "What is the high run total associated with a high score of 385 and under 407 innings?"
},
{
"from": "gpt",
"value": "SELECT MAX(runs) FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (team_1 VARCHAR, team_2 VARCHAR)"
},
{
"from": "human",
"value": "What Team 1 has union douala as Team 2?"
},
{
"from": "gpt",
"value": "SELECT team_1 FROM table_name_46 WHERE team_2 = \"union douala\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (score VARCHAR, loss VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game that had a loss of Cerutti (0-1)?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_91 WHERE loss = \"cerutti (0-1)\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent at the game that had a record of 93-54?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_73 WHERE record = \"93-54\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (to_par VARCHAR, total INTEGER)"
},
{
"from": "human",
"value": "What was the score to par for 156 strokes?"
},
{
"from": "gpt",
"value": "SELECT COUNT(to_par) FROM table_name_37 WHERE total > 156"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (total INTEGER, to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "How many strokes for arnold palmer with a to par of greater than 9?"
},
{
"from": "gpt",
"value": "SELECT AVG(total) FROM table_name_69 WHERE to_p... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (to_par VARCHAR, year_s__won VARCHAR)"
},
{
"from": "human",
"value": "What was the score to par in 1960?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_74 WHERE year_s__won = \"1960\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (first_game INTEGER, lost VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "What is the earliest first game for a rugby team that has 7 lost games and 0 draws?"
},
{
"from": "gpt",
"value": "SELECT MIN(first_game) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (played INTEGER, percentage VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "How many games were played by a team that won 0.00% of their games and 0 draws?"
},
{
"from": "gpt",
"value": "SELECT SUM(played) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (team VARCHAR)"
},
{
"from": "human",
"value": "Name the 1st match for brisbane bears"
},
{
"from": "gpt",
"value": "SELECT 1 AS st_match FROM table_name_61 WHERE team = \"brisbane bears\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (lost VARCHAR, matches VARCHAR)"
},
{
"from": "human",
"value": "Name the lost for matches of 1 928"
},
{
"from": "gpt",
"value": "SELECT lost FROM table_name_66 WHERE matches = \"1 928\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (lost VARCHAR, _percentage_won VARCHAR)"
},
{
"from": "human",
"value": "Name the lost for % won of 55.37"
},
{
"from": "gpt",
"value": "SELECT lost FROM table_name_64 WHERE _percentage_won = \"55.37\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (matches VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Name the matches for gold coast"
},
{
"from": "gpt",
"value": "SELECT matches FROM table_name_11 WHERE team = \"gold coast\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (lost VARCHAR, _percentage_won VARCHAR)"
},
{
"from": "human",
"value": "Name the lost for % won of 55.37"
},
{
"from": "gpt",
"value": "SELECT lost FROM table_name_46 WHERE _percentage_won = \"55.37\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (year VARCHAR, cable VARCHAR)"
},
{
"from": "human",
"value": "What is the year when cable was 4.6%?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_99 WHERE cable = \"4.6%\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (other VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the other for 2012?"
},
{
"from": "gpt",
"value": "SELECT other FROM table_name_54 WHERE year = \"2012\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (xdsl VARCHAR, other VARCHAR, fttx VARCHAR)"
},
{
"from": "human",
"value": "What is the xDSL for the other of 0.6% and FTTx of 35.4%?"
},
{
"from": "gpt",
"value": "SELECT xdsl FROM table_name_1 WHERE other = \"0.6%\" AND fttx ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (other VARCHAR, xdsl VARCHAR)"
},
{
"from": "human",
"value": "What is the other for a 78.2% xDSL?"
},
{
"from": "gpt",
"value": "SELECT other FROM table_name_15 WHERE xdsl = \"78.2%\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (xdsl VARCHAR, other VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the xDSL in 2010 when the other was 0.6%?"
},
{
"from": "gpt",
"value": "SELECT xdsl FROM table_name_55 WHERE other = \"0.6%\" AND year = \"20... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (date VARCHAR, result VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which date has a Result of won, and a Score of 1-0?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_23 WHERE result = \"won\" AND score =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (result VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which result has a Date of november 2, 2007?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_86 WHERE date = \"november 2, 2007\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (competition VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which Competition has a Score of 2-0?"
},
{
"from": "gpt",
"value": "SELECT competition FROM table_name_7 WHERE score = \"2-0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (venue VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which Venue has a Date of january 9, 2011?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_51 WHERE date = \"january 9, 2011\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (termination_of_mission VARCHAR, presentation_of_credentials VARCHAR)"
},
{
"from": "human",
"value": "What is the termination of mission date of the representative with a presentation of credentials date on July 4, 1898?"
},
{
"fr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (presentation_of_credentials VARCHAR, title VARCHAR, representative VARCHAR)"
},
{
"from": "human",
"value": "What is the presentation of credentials date of raúl h. castro, who has a title of ambassador extraordinary and plenipotentiary?"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (representative VARCHAR, presentation_of_credentials VARCHAR)"
},
{
"from": "human",
"value": "Who is the representative with a presentation of credentials date on February 23, 1854?"
},
{
"from": "gpt",
"value": "SELECT repres... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (title VARCHAR, appointed_by VARCHAR)"
},
{
"from": "human",
"value": "What is the title of the representative appointed by James K. Polk?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_name_52 WHERE appointed_by = \"ja... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (termination_of_mission VARCHAR, appointed_by VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "What is the termination of mission date of the representative appointed by Franklin Pierce with a title of chargé d'affaires?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (stadium VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Stadium held on november 29?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_name_41 WHERE date = \"november 29\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (visiting_team VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who is the Visiting team on december 20?"
},
{
"from": "gpt",
"value": "SELECT visiting_team FROM table_name_99 WHERE date = \"december 20\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (stadium VARCHAR, visiting_team VARCHAR)"
},
{
"from": "human",
"value": "Which Stadium has a Visiting team of pittsburgh steelers?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_name_44 WHERE visiting_team = \"pittsb... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (host_team VARCHAR, visiting_team VARCHAR)"
},
{
"from": "human",
"value": "Who is the Host team that has a chicago bears as a visiting team?"
},
{
"from": "gpt",
"value": "SELECT host_team FROM table_name_61 WHERE visiting_tea... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (final_score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Final score on november 22?"
},
{
"from": "gpt",
"value": "SELECT final_score FROM table_name_48 WHERE date = \"november 22\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (host_team VARCHAR, visiting_team VARCHAR)"
},
{
"from": "human",
"value": "What is the Host team that has indianapolis colts as a Visiting team?"
},
{
"from": "gpt",
"value": "SELECT host_team FROM table_name_71 WHERE visiting... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (winners VARCHAR, runners_up VARCHAR)"
},
{
"from": "human",
"value": "Who won when np cooper av cooke was runner up?"
},
{
"from": "gpt",
"value": "SELECT winners FROM table_name_34 WHERE runners_up = \"np cooper av cooke\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (record VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What was the record of the match that had a time of 1:44?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_35 WHERE time = \"1:44\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (opponent VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent at GCM – D.O.G. 4?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_54 WHERE event = \"gcm – d.o.g. 4\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (location VARCHAR, round VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was the location of the match that ended before round 2, against Hikaru Sato?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (company_or_product_name VARCHAR, money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)"
},
{
"from": "human",
"value": "What was the Company or Product name where Entrepreneurs Geoff and Colette Bell requested £75,000?"
},
{
"from... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (investing_dragon_s_ VARCHAR, episode VARCHAR, entrepreneur_s_ VARCHAR)"
},
{
"from": "human",
"value": "Which Investing Dragon(s) belong to Episode 9 with the Entrepreneur Ashley Sayed?"
},
{
"from": "gpt",
"value": "SELECT in... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (episode VARCHAR, entrepreneur_s_ VARCHAR)"
},
{
"from": "human",
"value": "What Episode did Entrepreneur(s) Luke Booth and Christopher Eves take part?"
},
{
"from": "gpt",
"value": "SELECT episode FROM table_name_99 WHERE entr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (company_or_product_name VARCHAR, episode VARCHAR, money_requested__£_ VARCHAR)"
},
{
"from": "human",
"value": "Which Company or Product name requested £70,000 on Episode 11?"
},
{
"from": "gpt",
"value": "SELECT company_or_pr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (height INTEGER, player VARCHAR)"
},
{
"from": "human",
"value": "What is stephen arigbabu's height?"
},
{
"from": "gpt",
"value": "SELECT MIN(height) FROM table_name_52 WHERE player = \"stephen arigbabu\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (attendance INTEGER, visitor VARCHAR)"
},
{
"from": "human",
"value": "For all games with los angeles as visitor, what is the highest attendance of all?"
},
{
"from": "gpt",
"value": "SELECT MAX(attendance) FROM table_name_12 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (attendance INTEGER, home VARCHAR)"
},
{
"from": "human",
"value": "For all games with calgary as home, what is the average number of attendees?"
},
{
"from": "gpt",
"value": "SELECT AVG(attendance) FROM table_name_1 WHERE home ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (no5 VARCHAR, no1 VARCHAR, no2 VARCHAR)"
},
{
"from": "human",
"value": "Who is no. 5 when Lena Claudisabel is no. 1 and Lena Sylvie is no. 2?"
},
{
"from": "gpt",
"value": "SELECT no5 FROM table_name_29 WHERE no1 = \"lena clau... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (no3 VARCHAR, no1 VARCHAR)"
},
{
"from": "human",
"value": "Who is no.3 when Claudio Sylvie is no.1?"
},
{
"from": "gpt",
"value": "SELECT no3 FROM table_name_62 WHERE no1 = \"claudio sylvie\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game when the record was 18-20?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_77 WHERE record = \"18-20\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (partner VARCHAR, opponents_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "Who was the Partner for Flavio Cipolla Simone Vagnozzi Opponents in the final?"
},
{
"from": "gpt",
"value": "SELECT partner FROM table_name_7 WH... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.