conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (label VARCHAR, format VARCHAR)"
},
{
"from": "human",
"value": "What is the Label of the release in CD Maxi Format?"
},
{
"from": "gpt",
"value": "SELECT label FROM table_name_65 WHERE format = \"cd maxi\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (catalog VARCHAR, format VARCHAR)"
},
{
"from": "human",
"value": "What is the Catalog number of the CD Single?"
},
{
"from": "gpt",
"value": "SELECT catalog FROM table_name_13 WHERE format = \"cd single\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (make VARCHAR, pos INTEGER)"
},
{
"from": "human",
"value": "Which Make has a Pos larger than 9?"
},
{
"from": "gpt",
"value": "SELECT make FROM table_name_33 WHERE pos > 9"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (pos INTEGER, driver VARCHAR)"
},
{
"from": "human",
"value": "Which Pos has a Driver of brian scott (r)?"
},
{
"from": "gpt",
"value": "SELECT SUM(pos) FROM table_name_23 WHERE driver = \"brian scott (r)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (pos VARCHAR, driver VARCHAR, car__number VARCHAR)"
},
{
"from": "human",
"value": "How many Pos have a Driver of todd bodine, and a Car # larger than 30?"
},
{
"from": "gpt",
"value": "SELECT COUNT(pos) FROM table_name_49 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (car__number INTEGER, make VARCHAR, pos VARCHAR)"
},
{
"from": "human",
"value": "Which Car # has a Make of toyota, and a Pos of 7?"
},
{
"from": "gpt",
"value": "SELECT MAX(car__number) FROM table_name_98 WHERE make = \"toyota... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (track_number VARCHAR, recording_date VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "How many track numbers were recorded on November 16, 1959 for the title of I Couldn't Hear Nobody Pray?"
},
{
"from": "gpt",
"value"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (recording_date VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "On what date was My Lord What a Mornin' recorded?"
},
{
"from": "gpt",
"value": "SELECT recording_date FROM table_name_55 WHERE title = \"my lord what a m... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (track_number INTEGER, time VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "What is the average track number 3:25 long and a title of Great Getting up Mornin'?"
},
{
"from": "gpt",
"value": "SELECT AVG(track_number) FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (date VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "WHich Date has a Record of 2–7–0–1?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_73 WHERE record = \"2–7–0–1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (visitor VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who is the Visitor on march 16?"
},
{
"from": "gpt",
"value": "SELECT visitor FROM table_name_59 WHERE date = \"march 16\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which Record is on november 16?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_51 WHERE date = \"november 16\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (home VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Home on december 10?"
},
{
"from": "gpt",
"value": "SELECT home FROM table_name_33 WHERE date = \"december 10\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "WHich Score has a Date on november 11?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_30 WHERE date = \"november 11\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which Record has a Date on december 18?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_55 WHERE date = \"december 18\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (visitor VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What visitor has march 26 as the date?"
},
{
"from": "gpt",
"value": "SELECT visitor FROM table_name_17 WHERE date = \"march 26\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (visitor VARCHAR, home VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What visitor has detroit red wings as the home, and march 30 as the date?"
},
{
"from": "gpt",
"value": "SELECT visitor FROM table_name_79 WHERE hom... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (record VARCHAR, visitor VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What record has chicago black hawks as the visitor and march 23 as the date?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_15 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What record has march 30 as the date?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_1 WHERE date = \"march 30\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (unanimous VARCHAR, school VARCHAR)"
},
{
"from": "human",
"value": "What is the unanimous result of the player from Michigan Dartmouth?"
},
{
"from": "gpt",
"value": "SELECT unanimous FROM table_name_78 WHERE school = \"michig... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (position VARCHAR, unanimous VARCHAR, college_hall_of_fame VARCHAR)"
},
{
"from": "human",
"value": "What is the position of the player with a unanimous no result without a college hall of fame?"
},
{
"from": "gpt",
"value": "S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (school VARCHAR, college_hall_of_fame VARCHAR)"
},
{
"from": "human",
"value": "What is the school of the player with a college hall of fame nevers hof profile?"
},
{
"from": "gpt",
"value": "SELECT school FROM table_name_50 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (school VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What is the school of the player who plays ends?"
},
{
"from": "gpt",
"value": "SELECT school FROM table_name_31 WHERE position = \"ends\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (college_hall_of_fame VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What is the college hall of fame of the player who plays fullback?"
},
{
"from": "gpt",
"value": "SELECT college_hall_of_fame FROM table_name_83 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (position VARCHAR, school VARCHAR)"
},
{
"from": "human",
"value": "What is the position of the player from Dartmouth Ohio State?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_55 WHERE school = \"dartmouth ohio... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (english_title VARCHAR, director VARCHAR)"
},
{
"from": "human",
"value": "What is the English title of the film Directed by Jayme Monjardim?"
},
{
"from": "gpt",
"value": "SELECT english_title FROM table_name_21 WHERE director... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (director VARCHAR, year__ceremony_ VARCHAR)"
},
{
"from": "human",
"value": "What was the Director with a Ceremony of 2001?"
},
{
"from": "gpt",
"value": "SELECT director FROM table_name_93 WHERE year__ceremony_ = 2001"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (date VARCHAR, save VARCHAR)"
},
{
"from": "human",
"value": "When have a Save of ||20,599||32-37?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_90 WHERE save = \"||20,599||32-37\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (save VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which Save is on June 15?"
},
{
"from": "gpt",
"value": "SELECT save FROM table_name_55 WHERE date = \"june 15\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (score VARCHAR, opponent VARCHAR, save VARCHAR)"
},
{
"from": "human",
"value": "Which Score has a Opponent of Boston red sox and a Save of sager?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_8 WHERE opponent = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "When has an Opponent of at Seattle mariners?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_75 WHERE opponent = \"at seattle mariners\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (date VARCHAR, save VARCHAR, loss VARCHAR)"
},
{
"from": "human",
"value": "When is the Save of Ayala and a Loss of Olivares"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_70 WHERE save = \"ayala\" AND loss = \"oliv... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (tournament VARCHAR, partner VARCHAR)"
},
{
"from": "human",
"value": "Which Tournament has a Partner of martín rodríguez?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_19 WHERE partner = \"martín rodríguez\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (touchdowns VARCHAR, field_goals INTEGER)"
},
{
"from": "human",
"value": "How many Touchdowns have Field goals larger than 0?"
},
{
"from": "gpt",
"value": "SELECT COUNT(touchdowns) FROM table_name_73 WHERE field_goals > 0"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (extra_points INTEGER, player VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Which Extra points is the highest one that has a Player of herrnstein, and Points smaller than 30?"
},
{
"from": "gpt",
"value": "SELECT MAX... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (touchdowns INTEGER, points VARCHAR, extra_points VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which Touchdowns is the lowest one that has Extra points smaller than 14, and a Player of white, and Points smaller than 5?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (touchdowns INTEGER, points VARCHAR, field_goals VARCHAR)"
},
{
"from": "human",
"value": "Which Touchdowns is the lowest one that has Points of 5, and a Field goals larger than 0?"
},
{
"from": "gpt",
"value": "SELECT MIN(touc... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (points INTEGER, touchdowns INTEGER)"
},
{
"from": "human",
"value": "Which Points is the lowest one that has Touchdowns smaller than 1?"
},
{
"from": "gpt",
"value": "SELECT MAX(points) FROM table_name_51 WHERE touchdowns < 1"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (location VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What is the Location of the Bowl in 2006?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_50 WHERE season = 2006"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (location VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "At what Location was the Attendance 70,283?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_48 WHERE attendance = \"70,283\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (bowl_game VARCHAR, season VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What was the Bowl game in San Francisco, CA after 1968?"
},
{
"from": "gpt",
"value": "SELECT bowl_game FROM table_name_42 WHERE season > 19... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (team VARCHAR, rounds VARCHAR, constructor VARCHAR)"
},
{
"from": "human",
"value": "What team has a yamaha constructor with all rounds?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_60 WHERE rounds = \"all\" AND c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (rounds VARCHAR, constructor VARCHAR, rider VARCHAR)"
},
{
"from": "human",
"value": "What rounds did rider Mika Kallio with a Ducati constructor have?"
},
{
"from": "gpt",
"value": "SELECT rounds FROM table_name_63 WHERE const... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (rider VARCHAR, rounds VARCHAR, constructor VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Who is the rider of Scot Racing team with a Honda constructor and rounds 6-17?"
},
{
"from": "gpt",
"value": "SELECT rider FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (rounds VARCHAR, team VARCHAR, rider VARCHAR)"
},
{
"from": "human",
"value": "What is the rounds of rider Mika Kallio 1 of the Ducati Marlboro team?"
},
{
"from": "gpt",
"value": "SELECT rounds FROM table_name_67 WHERE team = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (opponent VARCHAR, week VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent for the game taht was before week 5 on October 10, 1954?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_87 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (attendance INTEGER, week VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the average attendance for the game that was after week 4 and on November 14, 1954?"
},
{
"from": "gpt",
"value": "SELECT AVG(attendance)... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (game VARCHAR, record VARCHAR, december VARCHAR)"
},
{
"from": "human",
"value": "After December 19, what is the Game number with a Record of 21–4–7?"
},
{
"from": "gpt",
"value": "SELECT COUNT(game) FROM table_name_17 WHERE re... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (points INTEGER, score VARCHAR)"
},
{
"from": "human",
"value": "What were the Points in the game with a Score of 2–7?"
},
{
"from": "gpt",
"value": "SELECT SUM(points) FROM table_name_67 WHERE score = \"2–7\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (bronze INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What's the lowest bronze with a 6 rank, smaller than 5 gold, and a total of more than 1?"
},
{
"from": "gpt",
"value": "SELECT MIN(bro... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (bronze INTEGER, gold INTEGER)"
},
{
"from": "human",
"value": "What's the Bronze cumulative number for less than 0 gold?"
},
{
"from": "gpt",
"value": "SELECT SUM(bronze) FROM table_name_27 WHERE gold < 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (lost INTEGER, against VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "Which average Lost has an Against larger than 19, and a Drawn smaller than 1?"
},
{
"from": "gpt",
"value": "SELECT AVG(lost) FROM table_name_70 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (against INTEGER, team VARCHAR, drawn VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Which average Against has Drawn of 3, and Points larger than 9, and a Team of portuguesa?"
},
{
"from": "gpt",
"value": "SELECT AVG... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (against INTEGER, points VARCHAR, played VARCHAR)"
},
{
"from": "human",
"value": "Which average Against has Points of 6, and a Played smaller than 9?"
},
{
"from": "gpt",
"value": "SELECT AVG(against) FROM table_name_65 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (points INTEGER, position VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "Which average Points have a Position of 7, and a Lost smaller than 4?"
},
{
"from": "gpt",
"value": "SELECT AVG(points) FROM table_name_34 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (points INTEGER, difference VARCHAR, lost VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "Which average Points have a Lost larger than 2, and Drawn larger than 2, and a Difference of 0?"
},
{
"from": "gpt",
"value": "S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (touchdowns INTEGER, player VARCHAR, extra_points VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Which Touchdowns have an Extra points of 0, and Points larger than 5, and a Player of curtis redden?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (extra_points INTEGER, points VARCHAR, touchdowns VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "How many Extra points have Touchdowns of 1, and a Player of ross kidston, and Points smaller than 5?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (points INTEGER, touchdowns VARCHAR, extra_points VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which Points is the lowest one that has an Extra points of 0, and a Player of curtis redden, and Touchdowns smaller than 2?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (extra_points INTEGER, player VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Which Extra points is the lowest one that has a Player of ross kidston, and Points smaller than 5?"
},
{
"from": "gpt",
"value": "SELECT MI... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (points INTEGER, touchdowns VARCHAR, field_goals VARCHAR)"
},
{
"from": "human",
"value": "Which Points have Touchdowns of 1, and a Field goals smaller than 0?"
},
{
"from": "gpt",
"value": "SELECT AVG(points) FROM table_name_9 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (poll VARCHAR, wk_13 VARCHAR, wk_10 VARCHAR, wk_2 VARCHAR)"
},
{
"from": "human",
"value": "Which poll had a week 10 larger than 2, a week 2 of exactly 12, and a week 13 of 8?"
},
{
"from": "gpt",
"value": "SELECT poll FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (wk_9 INTEGER, wk_11 VARCHAR, wk_7 VARCHAR, wk_6 VARCHAR, wk_10 VARCHAR)"
},
{
"from": "human",
"value": "What is the highest week 9 that had a week 6 of 7, a week 10 of greater than 2, a week 7 of 5, and a week 11 less than 2?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (week_5_sept_28 VARCHAR, week_10_nov_2 VARCHAR)"
},
{
"from": "human",
"value": "What was the week 5 opponent for the year with a week 10 opponent of Maryland (6-2)?"
},
{
"from": "gpt",
"value": "SELECT week_5_sept_28 FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (week_14_nov_30 VARCHAR, week_10_nov_2 VARCHAR)"
},
{
"from": "human",
"value": "What was the week 14 opponent for the year with a week 10 opponent of Michigan State (8-2)?"
},
{
"from": "gpt",
"value": "SELECT week_14_nov_30 F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (week_4_sept_21 VARCHAR, week_10_nov_2 VARCHAR)"
},
{
"from": "human",
"value": "What is the week 4 opponent for the year with a week 10 opponent of Michigan State (8-2)?"
},
{
"from": "gpt",
"value": "SELECT week_4_sept_21 FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (week_12_nov_16 VARCHAR, week_3_sept_14 VARCHAR)"
},
{
"from": "human",
"value": "What is the week 12 opponent for the year that had a week 3 opponent of South Florida (3-0)?"
},
{
"from": "gpt",
"value": "SELECT week_12_nov_16 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (week_7_oct_12 VARCHAR, week_12_nov_16 VARCHAR)"
},
{
"from": "human",
"value": "What was the week 7 opponent for the year that had a week 12 opponent of Oregon State (7-3)?"
},
{
"from": "gpt",
"value": "SELECT week_7_oct_12 F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (week_3_sept_14 VARCHAR, week_7_oct_12 VARCHAR)"
},
{
"from": "human",
"value": "What was the week 3 opponent for the year that had a week 7 opponent of Georgia (5-1)?"
},
{
"from": "gpt",
"value": "SELECT week_3_sept_14 FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (week_14_nov_24 VARCHAR, week_11_nov_3 VARCHAR)"
},
{
"from": "human",
"value": "What is Week 14 Nov 24, that has Week 11 Nov 3 of USC (6-2)?"
},
{
"from": "gpt",
"value": "SELECT week_14_nov_24 FROM table_name_44 WHERE week_11... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (week_9_oct_20 VARCHAR, week_17__final__jan_4 VARCHAR)"
},
{
"from": "human",
"value": "What is listed for the Week 9 Oct 20 that has a Week 17 (Final) Jan 4 of Michigan (10-3)?"
},
{
"from": "gpt",
"value": "SELECT week_9_oct_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (week_1_aug_26 VARCHAR, week_7_oct_6 VARCHAR)"
},
{
"from": "human",
"value": "What is listed for the Week 1 Aug 26 that has a Week 7 Oct 6 of USC (3-2)?"
},
{
"from": "gpt",
"value": "SELECT week_1_aug_26 FROM table_name_36 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (week_3_sept_8 VARCHAR, week_2_sept_2 VARCHAR)"
},
{
"from": "human",
"value": "What is listed for the Week 3 Sept 8 that has a Week 2 Sept 2 of Florida State (2-0) (4)?"
},
{
"from": "gpt",
"value": "SELECT week_3_sept_8 FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (december VARCHAR, score VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "How much December has a Score of 5–2, and a Game smaller than 27?"
},
{
"from": "gpt",
"value": "SELECT COUNT(december) FROM table_name_81 WHERE s... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (game INTEGER, opponent VARCHAR)"
},
{
"from": "human",
"value": "Which Game has an Opponent of @ pittsburgh penguins?"
},
{
"from": "gpt",
"value": "SELECT MAX(game) FROM table_name_14 WHERE opponent = \"@ pittsburgh penguins\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (december INTEGER, record VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "Which December has a Record of 21–7–2, and a Game larger than 30?"
},
{
"from": "gpt",
"value": "SELECT MAX(december) FROM table_name_59 WHERE re... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (december INTEGER, points VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Which December has Points of 38, and a Record of 18–6–2?"
},
{
"from": "gpt",
"value": "SELECT AVG(december) FROM table_name_49 WHERE points = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (score VARCHAR, result VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Score that has a Result of 2–1 on 5 july 2007?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_47 WHERE result = \"2–1\" AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (competition VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Which Competition has a Venue of hong kong?"
},
{
"from": "gpt",
"value": "SELECT competition FROM table_name_53 WHERE venue = \"hong kong\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (date VARCHAR, competition VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "When is the Competition of friendly match with a Result of 2–1?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_47 WHERE competitio... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "Which Venue has a Result of 2–0?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_2 WHERE result = \"2–0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (score VARCHAR, competition VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What is the Score of 2007 afc asian cup qualification with a Result of 8–0?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_81 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (competition VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "Which Competition has a Result of 3–1?"
},
{
"from": "gpt",
"value": "SELECT competition FROM table_name_54 WHERE result = \"3–1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (record VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What was the Indians' record during the game that had 31,467 in attendance?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_82 WHERE attendance ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (year VARCHAR, length VARCHAR)"
},
{
"from": "human",
"value": "what year is 4:00 long"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_name_16 WHERE length = \"4:00\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (round INTEGER, position VARCHAR)"
},
{
"from": "human",
"value": "What round on average was a defensive tackle selected?"
},
{
"from": "gpt",
"value": "SELECT AVG(round) FROM table_name_87 WHERE position = \"defensive tackle\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (total INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest total for the silver less than 1, and a rank more than 5, more than 1 bronze?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (gold VARCHAR, bronze VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "Who ha the gold and 1 bronze, and more than 0 silver?"
},
{
"from": "gpt",
"value": "SELECT gold FROM table_name_58 WHERE bronze = 1 AND silver > 0... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (bronze INTEGER, silver VARCHAR, total VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "Who has a total of the Bronze less than 4, gold more than 0, and no silver?"
},
{
"from": "gpt",
"value": "SELECT SUM(bronze) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (points INTEGER, lost VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What's the Points average with a Lost of 21, and Position of 22?"
},
{
"from": "gpt",
"value": "SELECT AVG(points) FROM table_name_36 WHERE lost ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (lost INTEGER, played INTEGER)"
},
{
"from": "human",
"value": "What's the total Lost that has a Played that's larger than 42?"
},
{
"from": "gpt",
"value": "SELECT SUM(lost) FROM table_name_35 WHERE played > 42"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (relative_value VARCHAR, jyutping VARCHAR)"
},
{
"from": "human",
"value": "what's the relative value that contains a jyutping of daam3?"
},
{
"from": "gpt",
"value": "SELECT relative_value FROM table_name_72 WHERE jyutping = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (metric_value VARCHAR, jyutping VARCHAR)"
},
{
"from": "human",
"value": "What metric value has a jyutping of lei4?"
},
{
"from": "gpt",
"value": "SELECT metric_value FROM table_name_11 WHERE jyutping = \"lei4\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (imperial_value VARCHAR, jyutping VARCHAR)"
},
{
"from": "human",
"value": "what's the imperial that contains a jyutping of cin4?"
},
{
"from": "gpt",
"value": "SELECT imperial_value FROM table_name_51 WHERE jyutping = \"cin4\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (location VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the location that led to a record of 9-0-0?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_95 WHERE record = \"9-0-0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (bronze INTEGER, nation VARCHAR, silver VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest number of bronze medals with less than 2 silver medals and more than 1 medal in total for Uzbekistan?"
},
{
"from":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (round INTEGER, position VARCHAR, pick__number VARCHAR, overall VARCHAR)"
},
{
"from": "human",
"value": "What is the highest round with a pick# of 11, a position of offensive tackle, and overall less than 414?"
},
{
"from": "gpt",... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What is the highest round with a pick# of 9, overll less than 468, and position of defensive back?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (round INTEGER, position VARCHAR, overall VARCHAR)"
},
{
"from": "human",
"value": "What is the highest round with a guard position and an overall greater than 71?"
},
{
"from": "gpt",
"value": "SELECT MAX(round) FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (name VARCHAR, overall VARCHAR, pick__number VARCHAR)"
},
{
"from": "human",
"value": "Who has an overall greater than 414 with a pick# bigger than 9?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_81 WHERE overall ... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.