conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (manufacturer VARCHAR, fuel_type VARCHAR)"
},
{
"from": "human",
"value": "What is the Manufacturer with a Fuel Type that is diesel?"
},
{
"from": "gpt",
"value": "SELECT manufacturer FROM table_name_9 WHERE fuel_type = \"diesel... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (higgins VARCHAR, scallon VARCHAR)"
},
{
"from": "human",
"value": "What is the Higgins with a Scallon that is 2%?"
},
{
"from": "gpt",
"value": "SELECT higgins FROM table_name_35 WHERE scallon = \"2%\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (higgins VARCHAR, davis VARCHAR)"
},
{
"from": "human",
"value": "What is the Higgins with a Davis that is 9%?"
},
{
"from": "gpt",
"value": "SELECT higgins FROM table_name_90 WHERE davis = \"9%\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (source VARCHAR, norris VARCHAR)"
},
{
"from": "human",
"value": "What is the Source with a Norris that is 7%?"
},
{
"from": "gpt",
"value": "SELECT source FROM table_name_45 WHERE norris = \"7%\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (game_2 INTEGER, total VARCHAR)"
},
{
"from": "human",
"value": "What is the game 2 sum attendance of the team with a total attendance of 759,997?"
},
{
"from": "gpt",
"value": "SELECT SUM(game_2) FROM table_name_67 WHERE total... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (position VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What position does Barry Rose play?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_55 WHERE player = \"barry rose\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (jersey__number VARCHAR, weight__kg_ VARCHAR, height__cm_ VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which Jersey # has a Height (cm) of 183, a Name of paul stastny, and a Weight (kg) smaller than 93?"
},
{
"from": "gp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (captain VARCHAR, year VARCHAR, runner_up VARCHAR)"
},
{
"from": "human",
"value": "When the Runner-up was Angaston, and the Year was less than 1927, who was the Captain?"
},
{
"from": "gpt",
"value": "SELECT captain FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (runner_up VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "When the Score was kapunda 7-7-49 angaston 6-8-44, who was the Runner-up?"
},
{
"from": "gpt",
"value": "SELECT runner_up FROM table_name_14 WHERE score = \"ka... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (year INTEGER, score VARCHAR)"
},
{
"from": "human",
"value": "Which year had a Score of kapunda 14-13-97 tanunda 5-14-44?"
},
{
"from": "gpt",
"value": "SELECT SUM(year) FROM table_name_53 WHERE score = \"kapunda 14-13-97 tanu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (captain VARCHAR, runner_up VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "When the year is later than 1939 and the Runner-up is Tanunda, who is the Captain?"
},
{
"from": "gpt",
"value": "SELECT captain FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (tournament VARCHAR)"
},
{
"from": "human",
"value": "What's the tournamnet name that has a 2001 of 1r and 2011?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_25 WHERE 2001 = \"1r\" AND 2011 = \"a\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the 2001 tournament with a 2005 4r?"
},
{
"from": "gpt",
"value": "SELECT 2001 FROM table_name_83 WHERE 2005 = \"4r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (tournament VARCHAR)"
},
{
"from": "human",
"value": "What french open tournament happened in 2010 and has a 2004 1r?"
},
{
"from": "gpt",
"value": "SELECT 2010 FROM table_name_58 WHERE 2004 = \"1r\" AND tournament = \"french o... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (Id VARCHAR)"
},
{
"from": "human",
"value": "What 2002 tournament has 2008 career statistics?"
},
{
"from": "gpt",
"value": "SELECT 2002 FROM table_name_21 WHERE 2008 = \"career statistics\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (season VARCHAR, staffel_e VARCHAR)"
},
{
"from": "human",
"value": "Which season has a Staffel E of Stahl Riesa?"
},
{
"from": "gpt",
"value": "SELECT season FROM table_name_21 WHERE staffel_e = \"stahl riesa\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (staffel_d VARCHAR, staffel_e VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What is the Staffel D in the season 1983-84 with a Staffel E of Motor Suhl?"
},
{
"from": "gpt",
"value": "SELECT staffel_d FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (staffel_a VARCHAR, staffel_b VARCHAR, staffel_d VARCHAR, staffel_c VARCHAR)"
},
{
"from": "human",
"value": "What is the Staffel A that has a Staffel D of Energie Cottbus and a Staffel C of Chemie Leipzig and a Staffel B of 1. FC Union Be... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (staffel_b VARCHAR, staffel_c VARCHAR)"
},
{
"from": "human",
"value": "What is the Staffel B that has Hallescher Fc Chemie as Staffel C?"
},
{
"from": "gpt",
"value": "SELECT staffel_b FROM table_name_97 WHERE staffel_c = \"ha... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (week VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which week's date was September 27, 1953?"
},
{
"from": "gpt",
"value": "SELECT week FROM table_name_8 WHERE date = \"september 27, 1953\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (attendance INTEGER, opponent VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "What is the largest attendance number when the Chicago Cardinals were the opponent and the week was less than 4?"
},
{
"from": "gpt",
"value"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (runner_up VARCHAR, tier VARCHAR, winner VARCHAR)"
},
{
"from": "human",
"value": "When Gigi Fernández Natalia Zvereva 6–2, 6–1 won, who was the Tier II Runner-up?"
},
{
"from": "gpt",
"value": "SELECT runner_up FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (semi_finalists VARCHAR, runner_up VARCHAR)"
},
{
"from": "human",
"value": "Who were the semi finalists when Alexia Dechaume-Balleret Sandrine testud was the runner-up?"
},
{
"from": "gpt",
"value": "SELECT semi_finalists FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (tier VARCHAR, semi_finalists VARCHAR, runner_up VARCHAR)"
},
{
"from": "human",
"value": "What tier had a runner-up of Lisa Raymond and a semifinalist of Sandrine Testud Mary Pierce?"
},
{
"from": "gpt",
"value": "SELECT tier ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (semi_finalists VARCHAR, runner_up VARCHAR)"
},
{
"from": "human",
"value": "Who were the semi finalists when the runner-up was Alexandra Fusai Wiltrud Probst?"
},
{
"from": "gpt",
"value": "SELECT semi_finalists FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (label VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Label that shows on april 7, 1967?"
},
{
"from": "gpt",
"value": "SELECT label FROM table_name_77 WHERE date = \"april 7, 1967\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (date VARCHAR, catalog VARCHAR, country VARCHAR, format VARCHAR)"
},
{
"from": "human",
"value": "What is the Date when the Country shows uk, the Format is cd, and the Catalog of edcd 227?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (date VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "What is the Date for Catalog of lp 5060?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_65 WHERE catalog = \"lp 5060\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (date VARCHAR, country VARCHAR, label VARCHAR)"
},
{
"from": "human",
"value": "What Date was the Country of japan, and a Label of sony?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_75 WHERE country = \"japan\" AN... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (catalog VARCHAR, date VARCHAR, label VARCHAR, format VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is the Catalog with a Format of lp, a Country of us, a Label of sundazed, and a Date of 2006?"
},
{
"from": "gpt"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (label VARCHAR, country VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "What is the Label name that has a Country of uk and the Catalog is bpg 62988?"
},
{
"from": "gpt",
"value": "SELECT label FROM table_name_73 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (lyrics__l____music__m_ VARCHAR, position VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "What were the Lyrics (l) and Music (m) for the Artist who was in a Position higher than 3 and who earned 1st Place?"
},
{
"from": "g... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (rank INTEGER, silver VARCHAR, bronze VARCHAR)"
},
{
"from": "human",
"value": "What is the Rank of the Nation with 0 Silver and more than 1 Bronze?"
},
{
"from": "gpt",
"value": "SELECT MAX(rank) FROM table_name_24 WHERE silve... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (total VARCHAR, silver VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "What is the Total medals for the Nation with 1 Silver and 0 Golds?"
},
{
"from": "gpt",
"value": "SELECT COUNT(total) FROM table_name_89 WHERE silve... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (potential VARCHAR, period VARCHAR, element VARCHAR)"
},
{
"from": "human",
"value": "Which potential's period 5 is 4 and has an element of antimony?"
},
{
"from": "gpt",
"value": "SELECT potential FROM table_name_81 WHERE peri... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (period INTEGER, element VARCHAR)"
},
{
"from": "human",
"value": "Which lowest period's element is ruthenium?"
},
{
"from": "gpt",
"value": "SELECT MIN(period) FROM table_name_28 WHERE element = \"ruthenium\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (period INTEGER, element VARCHAR)"
},
{
"from": "human",
"value": "Which highest period's element is platinum?"
},
{
"from": "gpt",
"value": "SELECT MAX(period) FROM table_name_19 WHERE element = \"platinum\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (venue VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What is the Venue with a Result that is lost?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_40 WHERE result = \"lost\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR)"
},
{
"from": "human",
"value": "What is the highest administrative panel with a cultural and educational panel of 2 plus an in... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (national_university_of_ireland VARCHAR, industrial_and_commercial_panel VARCHAR, cultural_and_educational_panel VARCHAR)"
},
{
"from": "human",
"value": "What is the total for National University of Ireland with an industrial and commerci... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR)"
},
{
"from": "human",
"value": "What is the administrative panel average when the cultural and educational panel is greater th... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, agricultural_panel VARCHAR)"
},
{
"from": "human",
"value": "What is the biggest administrative panel with a nominated by the Taoise... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (cultural_and_educational_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the smallest cultural and educational panel with a nominated by the Taoiseach less than 5 and the total gr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (industrial_and_commercial_panel INTEGER, cultural_and_educational_panel INTEGER)"
},
{
"from": "human",
"value": "With the cultural and educational panel less than 0 what is the average industrial and commercial panel?"
},
{
"from... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (silver VARCHAR, total VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of silver medals for nations with 5 total medals and more than 3 gold medals?"
},
{
"from": "gpt",
"value": "SELECT COUNT(s... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (label VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the label in 1969?"
},
{
"from": "gpt",
"value": "SELECT label FROM table_name_18 WHERE date = 1969"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (commissioned VARCHAR, nvr_page VARCHAR)"
},
{
"from": "human",
"value": "What is the Commissioned date of the ship in NVR Page MCM02?"
},
{
"from": "gpt",
"value": "SELECT commissioned FROM table_name_29 WHERE nvr_page = \"mcm... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (nvr_page VARCHAR, home_port VARCHAR)"
},
{
"from": "human",
"value": "What is the NVR Page of the ship with a Home Port of Sasebo, Japan?"
},
{
"from": "gpt",
"value": "SELECT nvr_page FROM table_name_6 WHERE home_port = \"sase... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (week VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "Which week's game was attended by 54,015 people?"
},
{
"from": "gpt",
"value": "SELECT COUNT(week) FROM table_name_34 WHERE attendance = 54 OFFSET 015"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (date VARCHAR, week VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What date was the game that was before week 4 and was attended by over 54,015 people ?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (venue VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "In what venues was the match with a final result of Eng by 4 wkts?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_19 WHERE result = \"eng by 4 wkts\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (Running VARCHAR, channel VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the running time of the transmission on bbc four channels on 23 March 2008?"
},
{
"from": "gpt",
"value": "SELECT Running AS time FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (notes VARCHAR, channel VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What is the notes of the transmission on channel bbc four and a time of 22:30?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_15 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (channel VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which channel was on 28 December 2008?"
},
{
"from": "gpt",
"value": "SELECT channel FROM table_name_74 WHERE date = \"28 december 2008\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (channel VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What is the channel with a 03:40 time?"
},
{
"from": "gpt",
"value": "SELECT channel FROM table_name_51 WHERE time = \"03:40\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (other_b VARCHAR, fa_cup VARCHAR)"
},
{
"from": "human",
"value": "What is the Other b when the FA Cup shows 3 (17)?"
},
{
"from": "gpt",
"value": "SELECT other_b FROM table_name_96 WHERE fa_cup = \"3 (17)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (total VARCHAR, league_a VARCHAR)"
},
{
"from": "human",
"value": "What is the Total when the league shows 79 (221)?"
},
{
"from": "gpt",
"value": "SELECT total FROM table_name_39 WHERE league_a = \"79 (221)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (name VARCHAR, league_cup VARCHAR, fa_cup VARCHAR)"
},
{
"from": "human",
"value": "What is the Name when the League Cup shows 0 (0), and the FA Cup is 12 (14)?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_40 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (league_a VARCHAR, years VARCHAR)"
},
{
"from": "human",
"value": "What is the League for 1952–1960?"
},
{
"from": "gpt",
"value": "SELECT league_a FROM table_name_2 WHERE years = \"1952–1960\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (league_a VARCHAR, fa_cup VARCHAR)"
},
{
"from": "human",
"value": "What shows for the League when the FA Cup is 6 (20)?"
},
{
"from": "gpt",
"value": "SELECT league_a FROM table_name_47 WHERE fa_cup = \"6 (20)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (club VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What club wast he player hristo stoitchkov from?"
},
{
"from": "gpt",
"value": "SELECT club FROM table_name_97 WHERE player = \"hristo stoitchkov\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (content VARCHAR, television_service VARCHAR)"
},
{
"from": "human",
"value": "What is the content for la sorgente sat 3?"
},
{
"from": "gpt",
"value": "SELECT content FROM table_name_20 WHERE television_service = \"la sorgente... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (language VARCHAR, television_service VARCHAR)"
},
{
"from": "human",
"value": "What language is telemarket for you?"
},
{
"from": "gpt",
"value": "SELECT language FROM table_name_3 WHERE television_service = \"telemarket for yo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (language VARCHAR, content VARCHAR, television_service VARCHAR)"
},
{
"from": "human",
"value": "What language is telemarket for you with a content of televendita?"
},
{
"from": "gpt",
"value": "SELECT language FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (team VARCHAR, points VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Which team has points less than 6 in a year after 1969?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_81 WHERE points < 6 AND year > 196... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (wins VARCHAR, points VARCHAR, class VARCHAR)"
},
{
"from": "human",
"value": "How many wins for the team with points less than 6 and a 350cc class?"
},
{
"from": "gpt",
"value": "SELECT wins FROM table_name_35 WHERE points < 6... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (points INTEGER, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest points for 36th rank?"
},
{
"from": "gpt",
"value": "SELECT MIN(points) FROM table_name_18 WHERE rank = \"36th\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (rank VARCHAR, team VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What is team Yamaha with 3 points ranked?"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_name_8 WHERE team = \"yamaha\" AND points = 3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (years VARCHAR, rank VARCHAR, matches VARCHAR)"
},
{
"from": "human",
"value": "What years did the player ranked less than 8 and had 447 matches play?"
},
{
"from": "gpt",
"value": "SELECT years FROM table_name_83 WHERE rank < ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (time VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What is the Time with a Record that is 15-7?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_98 WHERE record = \"15-7\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (event VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What is the Event with a Time that is 3:06?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_85 WHERE time = \"3:06\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (silver VARCHAR, nation VARCHAR)"
},
{
"from": "human",
"value": "How many silvers did Turkey get?"
},
{
"from": "gpt",
"value": "SELECT silver FROM table_name_78 WHERE nation = \"turkey\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (position VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What position does Denard Walker play?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_98 WHERE player = \"denard walker\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (pick__number VARCHAR, position VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "What was the pick number for the wide receiver drafted from Michigan State?"
},
{
"from": "gpt",
"value": "SELECT pick__number FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (player VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "Which player came from Kent State?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_38 WHERE college = \"kent state\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (bronze VARCHAR, silver VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of bronze medals, and 4 silver medals, and 2 gold medals?"
},
{
"from": "gpt",
"value": "SELECT COUNT(bronze) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (tournament VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which Tournament has a score of 2–6 6–4 [10–8]?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_9 WHERE score = \"2–6 6–4 [10–8]\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (tournament VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which Tournament has a Score of 6(4)–7 2–6?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_73 WHERE score = \"6(4)–7 2–6\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (score VARCHAR, opponents_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "What is the Score of the match where Opponents in the Final was Vitalia Diatchenko Irena Pavlovic?"
},
{
"from": "gpt",
"value": "SELECT score FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (high_rebounds VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the High rebounds with a Game that is 62?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_name_71 WHERE game = 62"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (team VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Team with a Score that is l 79–92 (ot)?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_35 WHERE score = \"l 79–92 (ot)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (coach VARCHAR, details VARCHAR)"
},
{
"from": "human",
"value": "Who is the coach of the 2012 Gold Coast Titans season?"
},
{
"from": "gpt",
"value": "SELECT coach FROM table_name_4 WHERE details = \"2012 gold coast titans seas... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (coach VARCHAR, details VARCHAR)"
},
{
"from": "human",
"value": "Who is the coach of the 2010 Gold Coast Titans season?"
},
{
"from": "gpt",
"value": "SELECT coach FROM table_name_8 WHERE details = \"2010 gold coast titans seas... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (captain_s_ VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "Who is the captain of the 2012 NRL season competition?"
},
{
"from": "gpt",
"value": "SELECT captain_s_ FROM table_name_75 WHERE competition = \"2012 nr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (wins VARCHAR, tournament VARCHAR, events VARCHAR)"
},
{
"from": "human",
"value": "How many wins were in the PGA Championship when there were more than 10 events?"
},
{
"from": "gpt",
"value": "SELECT COUNT(wins) FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (cuts_made INTEGER, wins INTEGER)"
},
{
"from": "human",
"value": "What is the smallest number of cuts when there were more than 0 wins?"
},
{
"from": "gpt",
"value": "SELECT MIN(cuts_made) FROM table_name_59 WHERE wins > 0"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (rank VARCHAR, years VARCHAR, goals VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Rank for 1996–2007, when there are more than 108 goals?"
},
{
"from": "gpt",
"value": "SELECT COUNT(rank) FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (rank INTEGER, goals VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Rank when the goals are less than 124 for Jeff Cunningham?"
},
{
"from": "gpt",
"value": "SELECT MIN(rank) FROM table_name_50 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (rank VARCHAR, goals VARCHAR, matches VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Rank with 100 goals, and less than 300 matches?"
},
{
"from": "gpt",
"value": "SELECT COUNT(rank) FROM table_name_3 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (rank INTEGER, name VARCHAR, matches VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Rank for Jason Kreis, with less than 305 matches?"
},
{
"from": "gpt",
"value": "SELECT MAX(rank) FROM table_name_67 WHERE name ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (wins INTEGER, top_10 INTEGER)"
},
{
"from": "human",
"value": "What is the least number of wins when the top 10 is more than 8?"
},
{
"from": "gpt",
"value": "SELECT MIN(wins) FROM table_name_41 WHERE top_10 > 8"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (cuts_made VARCHAR, top_5 VARCHAR, events VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of cuts made when the top-5 is 2, and there are 12 events?"
},
{
"from": "gpt",
"value": "SELECT COUNT(cuts_made) FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (top_5 INTEGER, top_25 VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "What is the mean number in the top 5 when the top 25 is 1 and there's fewer than 0 wins?"
},
{
"from": "gpt",
"value": "SELECT AVG(top_5) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (events INTEGER, top_5 VARCHAR)"
},
{
"from": "human",
"value": "What is the mean number of events when top-5 is 1?"
},
{
"from": "gpt",
"value": "SELECT AVG(events) FROM table_name_51 WHERE top_5 = 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (top_25 INTEGER, events INTEGER)"
},
{
"from": "human",
"value": "How many top-25s are associated with more than 91 events?"
},
{
"from": "gpt",
"value": "SELECT SUM(top_25) FROM table_name_24 WHERE events > 91"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (wins INTEGER, top_10 INTEGER)"
},
{
"from": "human",
"value": "What is the lowest Wins with a Top-10 that is larger than 9?"
},
{
"from": "gpt",
"value": "SELECT MIN(wins) FROM table_name_40 WHERE top_10 > 9"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (cuts_made INTEGER, top_10 INTEGER)"
},
{
"from": "human",
"value": "What is the average Cuts that were made with a Top-10 that is larger than 9?"
},
{
"from": "gpt",
"value": "SELECT AVG(cuts_made) FROM table_name_15 WHERE top... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (record VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "Which record has 64,053 as the attendance?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_51 WHERE attendance = \"64,053\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (date VARCHAR, game_site VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "Which date has rich stadium as the game site for week 1?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_13 WHERE game_site = \"rich st... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (date VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "Which date has 1 as the week?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_22 WHERE week = 1"
}
] | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.