conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (class VARCHAR, year VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "What engine class is associated with a year after 1985 and over 0 wins?"
},
{
"from": "gpt",
"value": "SELECT class FROM table_name_44 WHERE year > 19... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (opponent VARCHAR, loss VARCHAR)"
},
{
"from": "human",
"value": "Which opponent has a loss of trout (7-4)?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_53 WHERE loss = \"trout (7-4)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (opponent VARCHAR, save VARCHAR)"
},
{
"from": "human",
"value": "Which opponent has a save of smith (22)?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_65 WHERE save = \"smith (22)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (gold VARCHAR, bronze VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "How much Gold has a Bronze larger than 1, and a Silver larger than 2?"
},
{
"from": "gpt",
"value": "SELECT COUNT(gold) FROM table_name_38 WHERE br... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (total INTEGER, nation VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "Which Total has a Nation of japan (jpn), and a Silver smaller than 1?"
},
{
"from": "gpt",
"value": "SELECT AVG(total) FROM table_name_85 WHERE na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (margin_of_victory VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What is the margin of victory in WGC-Accenture Match Play Championship?"
},
{
"from": "gpt",
"value": "SELECT margin_of_victory FROM table_name_98... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (date VARCHAR, runner_s__up VARCHAR)"
},
{
"from": "human",
"value": "On what date was Nick Price the runner-up?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_7 WHERE runner_s__up = \"nick price\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (margin_of_victory VARCHAR, runner_s__up VARCHAR)"
},
{
"from": "human",
"value": "What is the margin of victory for Nick Price as a runner-up?"
},
{
"from": "gpt",
"value": "SELECT margin_of_victory FROM table_name_52 WHERE ru... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (margin_of_victory VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What is the margin of victory for PGA Championship?"
},
{
"from": "gpt",
"value": "SELECT margin_of_victory FROM table_name_25 WHERE tournament = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (date VARCHAR, winning_score VARCHAR)"
},
{
"from": "human",
"value": "On what date was the winning score –20 (68-67-65-64=264)?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_46 WHERE winning_score = –20(68 - 67 - ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (player VARCHAR, position VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "Which player was D past Round 3?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_88 WHERE position = \"d\" AND round > 3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (round VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "Which Round was F picked?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_5 WHERE position = \"f\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (position VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What Position is Ryan Russell?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_6 WHERE player = \"ryan russell\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (nationality VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What country does Round 4 come from?"
},
{
"from": "gpt",
"value": "SELECT nationality FROM table_name_12 WHERE round = 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (opponent VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which opponent was present on April 14?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_17 WHERE date = \"april 14\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (loss VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what team lost on april 15"
},
{
"from": "gpt",
"value": "SELECT loss FROM table_name_60 WHERE date = \"april 15\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what team played on april 21"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_93 WHERE date = \"april 21\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what team scored on april 10"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_81 WHERE date = \"april 10\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (loser VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "Who lost with a time of 0:58?"
},
{
"from": "gpt",
"value": "SELECT loser FROM table_name_44 WHERE time = \"0:58\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (round INTEGER, winner VARCHAR)"
},
{
"from": "human",
"value": "What is the average number of rounds for winner Rafael Cavalcante?"
},
{
"from": "gpt",
"value": "SELECT AVG(round) FROM table_name_37 WHERE winner = \"rafael cav... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (method VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What win method has a time of 2:32?"
},
{
"from": "gpt",
"value": "SELECT method FROM table_name_71 WHERE time = \"2:32\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, games VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of points values that are associated with 0 losses and more than 8 games?"
},
{
"from": "gpt",
"value": "SELECT SUM(points) FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (lost INTEGER, points VARCHAR, games VARCHAR)"
},
{
"from": "human",
"value": "What is the fewest losses associated with more than 13 points and fewer than 8 games?"
},
{
"from": "gpt",
"value": "SELECT MIN(lost) FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (points_difference VARCHAR, drawn VARCHAR, points VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "What is the difference associated with more than 2 points, fewer than 3 losses, and fewer than 1 draw?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (points INTEGER, games INTEGER)"
},
{
"from": "human",
"value": "What is the fewest number of points associated with more than 8 games?"
},
{
"from": "gpt",
"value": "SELECT MIN(points) FROM table_name_95 WHERE games > 8"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (title VARCHAR, role VARCHAR)"
},
{
"from": "human",
"value": "Which title did richard kolner play?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_name_33 WHERE role = \"richard kolner\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (title VARCHAR, director VARCHAR, dance_partner VARCHAR, lyrics VARCHAR)"
},
{
"from": "human",
"value": "Which Title has a Dance Partner of adele astaire, and Lyrics of ira gershwin, and a Director of felix edwardes?"
},
{
"from":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (role VARCHAR, theatre VARCHAR, music VARCHAR)"
},
{
"from": "human",
"value": "Which Role has a Theatre of globe, and a Music of jerome kern?"
},
{
"from": "gpt",
"value": "SELECT role FROM table_name_61 WHERE theatre = \"glob... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (name VARCHAR, year VARCHAR, __est_ VARCHAR)"
},
{
"from": "human",
"value": "what name was on the year 2012"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_22 WHERE year * __est_ = \"2012\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (name VARCHAR, spouse VARCHAR)"
},
{
"from": "human",
"value": "Which member of house of Habsburg-Lorraine had the spouse Charles II?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_40 WHERE spouse = \"charles ii\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (marriage VARCHAR, death VARCHAR)"
},
{
"from": "human",
"value": "What is the marriage date for the Habsburg-Lorraine house member who died 29 December 1829?"
},
{
"from": "gpt",
"value": "SELECT marriage FROM table_name_67 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (ceased_to_be_duchess VARCHAR, became_duchess VARCHAR)"
},
{
"from": "human",
"value": "When did the duchess who became duchess on 7/8 April 1766 cease to be duchess?"
},
{
"from": "gpt",
"value": "SELECT ceased_to_be_duchess FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (death VARCHAR, birth VARCHAR)"
},
{
"from": "human",
"value": "What is the date of death of the duchess born on 30 October 1797?"
},
{
"from": "gpt",
"value": "SELECT death FROM table_name_2 WHERE birth = \"30 october 1797\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (birth VARCHAR, marriage VARCHAR)"
},
{
"from": "human",
"value": "What is the birth date of the duchess who married on 1 May 1844?"
},
{
"from": "gpt",
"value": "SELECT birth FROM table_name_16 WHERE marriage = \"1 may 1844\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (pick INTEGER, round VARCHAR)"
},
{
"from": "human",
"value": "What is the highest numbered pick from round 7?"
},
{
"from": "gpt",
"value": "SELECT MAX(pick) FROM table_name_67 WHERE round = 7"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (played VARCHAR, position VARCHAR, against VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "How much Played has an Against larger than 11, and a Team of botafogo, and a Position smaller than 2?"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (drawn INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "Which average Drawn has Points smaller than 14, and a Lost smaller than 4, and a Played larger than 9?"
},
{
"from": "gpt",
"value":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (played INTEGER, team VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "Which Played is the lowest one that has a Team of vasco da gama, and an Against smaller than 11?"
},
{
"from": "gpt",
"value": "SELECT MIN(played)... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (played INTEGER, points VARCHAR, lost VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Which Played has a Lost larger than 4, and a Team of américa, and Points smaller than 5?"
},
{
"from": "gpt",
"value": "SELECT SUM(pla... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (lost INTEGER, position VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "Which Lost has a Position of 3, and a Drawn larger than 3?"
},
{
"from": "gpt",
"value": "SELECT SUM(lost) FROM table_name_76 WHERE position = 3 A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (lost VARCHAR, against VARCHAR, drawn VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "How much Lost has a Drawn larger than 1, and Points smaller than 14, and an Against larger than 10?"
},
{
"from": "gpt",
"value": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (tournament VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What tournament has yvonne vermaak as the opponent?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_5 WHERE opponent = \"yvonne vermaak\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (outcome VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What outcome has yvonne vermaak as the opponent?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_name_79 WHERE opponent = \"yvonne vermaak\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (outcome VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What is the outcome for the Hershey tournament?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_name_1 WHERE tournament = \"hershey\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (opponent VARCHAR, save VARCHAR)"
},
{
"from": "human",
"value": "Who played against Save Of Ni Fu-Deh?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_4 WHERE save = \"ni fu-deh\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (loss VARCHAR, opponent VARCHAR, save VARCHAR)"
},
{
"from": "human",
"value": "What's the loss of who has a Save of Miguel Saladin and played against Chinatrust Whales?"
},
{
"from": "gpt",
"value": "SELECT loss FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (opponent VARCHAR, loss VARCHAR)"
},
{
"from": "human",
"value": "Who's the opponent when Diegomar Markwell is the loss?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_80 WHERE loss = \"diegomar markwell\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (attendance VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "what game had a score of 86-71"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_8 WHERE record = \"86-71\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what game took place on september 14"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_34 WHERE date = \"september 14\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (record VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "what game had an attendance of 21,629"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_70 WHERE attendance = \"21,629\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (s_no INTEGER, opponent VARCHAR)"
},
{
"from": "human",
"value": "what is the number of people in sri lanka"
},
{
"from": "gpt",
"value": "SELECT AVG(s_no) FROM table_name_10 WHERE opponent = \"sri lanka\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (position_in_1998 VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What was the position of the Slavia team in 1998?"
},
{
"from": "gpt",
"value": "SELECT position_in_1998 FROM table_name_10 WHERE team = \"slavia\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (team VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "Which team is located in Lida?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_91 WHERE location = \"lida\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (episode_no VARCHAR, countries_visited VARCHAR)"
},
{
"from": "human",
"value": "Which episode number visited India?"
},
{
"from": "gpt",
"value": "SELECT episode_no FROM table_name_56 WHERE countries_visited = \"india\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (episode_title VARCHAR, countries_visited VARCHAR)"
},
{
"from": "human",
"value": "Which episode title featured a visit to the country of Cuba?"
},
{
"from": "gpt",
"value": "SELECT episode_title FROM table_name_26 WHERE count... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (position VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which position does Jesse Boulerice play?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_83 WHERE player = \"jesse boulerice\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (wins INTEGER, driver VARCHAR)"
},
{
"from": "human",
"value": "What is the fewest number of wins in the chart for Ayrton Senna?"
},
{
"from": "gpt",
"value": "SELECT MIN(wins) FROM table_name_1 WHERE driver = \"ayrton senna\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (entries VARCHAR, wins INTEGER)"
},
{
"from": "human",
"value": "What is the number of entries associated with more than 11 wins?"
},
{
"from": "gpt",
"value": "SELECT entries FROM table_name_51 WHERE wins > 11"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (points INTEGER, lost VARCHAR, games VARCHAR)"
},
{
"from": "human",
"value": "Name the most points with lost more than 1 and games less than 5"
},
{
"from": "gpt",
"value": "SELECT MAX(points) FROM table_name_96 WHERE lost > 1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (drawn INTEGER, lost VARCHAR, games VARCHAR)"
},
{
"from": "human",
"value": "Name the sum of drawn with lost more than 1 and games less than 5"
},
{
"from": "gpt",
"value": "SELECT SUM(drawn) FROM table_name_13 WHERE lost > 1 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (lost INTEGER, points VARCHAR, games VARCHAR)"
},
{
"from": "human",
"value": "Name the least lost with points more than 6 and games less than 5"
},
{
"from": "gpt",
"value": "SELECT MIN(lost) FROM table_name_4 WHERE points > 6 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (points INTEGER, games INTEGER)"
},
{
"from": "human",
"value": "Name the sum of points with games less than 5"
},
{
"from": "gpt",
"value": "SELECT SUM(points) FROM table_name_25 WHERE games < 5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (location VARCHAR, time VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the location of the bout that lasted 5:00 and led to a 6-2-1 record?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_17 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (record VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was the record after the bout with Alexis Vila?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_79 WHERE opponent = \"alexis vila\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (player_name VARCHAR, position VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "Who was a defensive end at California?"
},
{
"from": "gpt",
"value": "SELECT player_name FROM table_name_93 WHERE position = \"defensive ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (player_name VARCHAR, year_ VARCHAR, a_ VARCHAR)"
},
{
"from": "human",
"value": "Which players were selected after 2011?"
},
{
"from": "gpt",
"value": "SELECT player_name FROM table_name_53 WHERE year_[a_] > 2011"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (player_name VARCHAR, position VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "Who was a linebacker at Tennessee?"
},
{
"from": "gpt",
"value": "SELECT player_name FROM table_name_64 WHERE position = \"linebacker\" A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (wins INTEGER, events INTEGER)"
},
{
"from": "human",
"value": "Which Wins is the lowest one that has Events larger than 30?"
},
{
"from": "gpt",
"value": "SELECT MIN(wins) FROM table_name_70 WHERE events > 30"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (date VARCHAR, results¹ VARCHAR)"
},
{
"from": "human",
"value": "What day were the results 3:0?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_67 WHERE results¹ = \"3:0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (city VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What city played on april 29?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_32 WHERE date = \"april 29\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (city VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "Which city has an opponent of England?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_99 WHERE opponent = \"england\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What day was the opponent Austria?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_8 WHERE opponent = \"austria\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (population INTEGER, country_territory_entity VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Name the most population for seychelles and rank less than 13"
},
{
"from": "gpt",
"value": "SELECT MAX(population) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (frequency VARCHAR, owner VARCHAR, branding VARCHAR)"
},
{
"from": "human",
"value": "What is the frequency of the station owned by the Canadian Broadcasting Corporation and branded as CBC Radio One?"
},
{
"from": "gpt",
"value... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (frequency VARCHAR, format VARCHAR)"
},
{
"from": "human",
"value": "What is the frequency of the soft adult contemporary stations?"
},
{
"from": "gpt",
"value": "SELECT frequency FROM table_name_14 WHERE format = \"soft adult ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (owner VARCHAR, frequency VARCHAR)"
},
{
"from": "human",
"value": "Who owns the station with the frequency FM 92.1?"
},
{
"from": "gpt",
"value": "SELECT owner FROM table_name_65 WHERE frequency = \"fm 92.1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (branding VARCHAR, owner VARCHAR, frequency VARCHAR)"
},
{
"from": "human",
"value": "What is the branding of the FM 97.7 station owned by the Canadian Broadcasting Corporation?"
},
{
"from": "gpt",
"value": "SELECT branding FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (f_laps VARCHAR, final_placing VARCHAR, podiums VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "Which F/Laps has Podiums of 1, and a Season of 2000, and a Final Placing of nc?"
},
{
"from": "gpt",
"value": "SELECT f_l... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (series VARCHAR, poles VARCHAR, races VARCHAR)"
},
{
"from": "human",
"value": "Which Series has Poles of 0, and Races of 17?"
},
{
"from": "gpt",
"value": "SELECT series FROM table_name_72 WHERE poles = \"0\" AND races = \"17\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (team_name VARCHAR, poles VARCHAR, final_placing VARCHAR)"
},
{
"from": "human",
"value": "Which Team Name has Poles of 0, and a Final Placing of 29th?"
},
{
"from": "gpt",
"value": "SELECT team_name FROM table_name_25 WHERE po... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (series VARCHAR, final_placing VARCHAR, podiums VARCHAR)"
},
{
"from": "human",
"value": "Which Series has a Final Placing of 9th, and Podiums of 2?"
},
{
"from": "gpt",
"value": "SELECT series FROM table_name_31 WHERE final_pl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (series VARCHAR, team_name VARCHAR)"
},
{
"from": "human",
"value": "Which Series has a Team Name of sunred engineering?"
},
{
"from": "gpt",
"value": "SELECT series FROM table_name_34 WHERE team_name = \"sunred engineering\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (points VARCHAR, wins VARCHAR, final_placing VARCHAR)"
},
{
"from": "human",
"value": "Which Points have Wins of 0, and a Final Placing of 21st?"
},
{
"from": "gpt",
"value": "SELECT points FROM table_name_38 WHERE wins = \"0\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (bronze VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "Name the bronze for lahti"
},
{
"from": "gpt",
"value": "SELECT bronze FROM table_name_46 WHERE place = \"lahti\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (rank VARCHAR, goals VARCHAR, scorer VARCHAR)"
},
{
"from": "human",
"value": "Which Rank has Goals larger than 10, and a Scorer of choi sang-kuk?"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_name_35 WHERE goals > 10 A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (rank VARCHAR, scorer VARCHAR)"
},
{
"from": "human",
"value": "Which Rank has a Scorer of lee sang-cheol?"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_name_69 WHERE scorer = \"lee sang-cheol\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (club VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Which Club has a Rank of 5?"
},
{
"from": "gpt",
"value": "SELECT club FROM table_name_40 WHERE rank = \"5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (original_amendments_cosponsored INTEGER, all_bills_sponsored VARCHAR, bill_support_withdrawn VARCHAR)"
},
{
"from": "human",
"value": "How many original bills amendments cosponsored lower than 64,with the bill support withdrawn lower than... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (incumbent VARCHAR, status VARCHAR, party VARCHAR)"
},
{
"from": "human",
"value": "Who is the democratic incumbent that was re-elected?"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_name_55 WHERE status = \"re-ele... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (elected VARCHAR, incumbent VARCHAR, party VARCHAR, status VARCHAR)"
},
{
"from": "human",
"value": "What year was republican, re-elected incumbent John all barham elected?"
},
{
"from": "gpt",
"value": "SELECT elected FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (october VARCHAR, game VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What day in october was game number 4 with under 3 points?"
},
{
"from": "gpt",
"value": "SELECT COUNT(october) FROM table_name_18 WHERE game = 4 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (school VARCHAR, pick INTEGER)"
},
{
"from": "human",
"value": "Which school was the drafted player from in a pick larger than 181?"
},
{
"from": "gpt",
"value": "SELECT school FROM table_name_27 WHERE pick > 181"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (points_against VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "Which points against has 17 as the lost?"
},
{
"from": "gpt",
"value": "SELECT points_against FROM table_name_61 WHERE lost = \"17\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (lost VARCHAR, points_for VARCHAR)"
},
{
"from": "human",
"value": "What lost has 528 as the points?"
},
{
"from": "gpt",
"value": "SELECT lost FROM table_name_78 WHERE points_for = \"528\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (drawn VARCHAR, try_bonus VARCHAR)"
},
{
"from": "human",
"value": "What is the drawn that has 16 as the trys bonus?"
},
{
"from": "gpt",
"value": "SELECT drawn FROM table_name_31 WHERE try_bonus = \"16\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (club VARCHAR, tries_for VARCHAR)"
},
{
"from": "human",
"value": "What club has tries for in the category tries for?"
},
{
"from": "gpt",
"value": "SELECT club FROM table_name_64 WHERE tries_for = \"tries for\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (drawn VARCHAR, played VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What is the drawn that has 22 for played, and 96 for points?"
},
{
"from": "gpt",
"value": "SELECT drawn FROM table_name_96 WHERE played = \"22\" ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (points_for VARCHAR, drawn VARCHAR, try_bonus VARCHAR)"
},
{
"from": "human",
"value": "What points have 1 for drawn, and 16 as a try bonus?"
},
{
"from": "gpt",
"value": "SELECT points_for FROM table_name_22 WHERE drawn = \"1\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (team__number1 VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What is team 1 in group h?"
},
{
"from": "gpt",
"value": "SELECT team__number1 FROM table_name_45 WHERE round = \"group h\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the score on 15 march 2006?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_85 WHERE date = \"15 march 2006\""
}
] | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.