conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (player VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "Which player is from South Africa?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_79 WHERE country = \"south africa\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (country VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What country is the player with a score of 72-72=144 from?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_97 WHERE score = 72 - 72 = 144"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (geelong_dfl VARCHAR, wins VARCHAR, losses VARCHAR)"
},
{
"from": "human",
"value": "Which Geelong DFL has 8 losses and more than 4 wins?"
},
{
"from": "gpt",
"value": "SELECT geelong_dfl FROM table_name_87 WHERE wins > 4 AND l... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (number_of_examinees VARCHAR, number_of_passed_students VARCHAR, year VARCHAR, pass_percentage VARCHAR)"
},
{
"from": "human",
"value": "What number of examines after 2005 has a pass percentage of 78.35% with less than 297 students?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (venue VARCHAR, founded VARCHAR, league VARCHAR)"
},
{
"from": "human",
"value": "Which venue was founded after 1967 and had the league North American Soccer League?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_9... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (venue VARCHAR, founded VARCHAR, sport VARCHAR)"
},
{
"from": "human",
"value": "Which venue was fouded before 2000 for basketball?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_31 WHERE founded < 2000 AND sport =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (club VARCHAR, sport VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Which club had football at Mitchel Athletic Field?"
},
{
"from": "gpt",
"value": "SELECT club FROM table_name_43 WHERE sport = \"football\" AND venue... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (club VARCHAR, founded VARCHAR)"
},
{
"from": "human",
"value": "Which club was founded in 1962?"
},
{
"from": "gpt",
"value": "SELECT club FROM table_name_25 WHERE founded = 1962"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (total INTEGER, country VARCHAR, year_s__won VARCHAR)"
},
{
"from": "human",
"value": "What is the total sum of the player from the United States who won in 1986?"
},
{
"from": "gpt",
"value": "SELECT SUM(total) FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (year_s__won VARCHAR, total VARCHAR, to_par VARCHAR)"
},
{
"from": "human",
"value": "What year did the player with a total less than 300 and a to par of 9 have a win?"
},
{
"from": "gpt",
"value": "SELECT year_s__won FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is total number of the to par of player john mahaffey, who has a total less than 298?"
},
{
"from": "gpt",
"value": "SELECT COUNT(to_par) FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (total INTEGER, year_s__won VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of the total of the player who won in 1979?"
},
{
"from": "gpt",
"value": "SELECT SUM(total) FROM table_name_90 WHERE year_s__won = \"1979\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (country VARCHAR, total INTEGER)"
},
{
"from": "human",
"value": "What is the country of the player who has a total larger than 300?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_70 WHERE total > 300"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (shropshire_senior_cup VARCHAR, points VARCHAR, fa_cup VARCHAR)"
},
{
"from": "human",
"value": "What is the Shropshire Senior Cup when points are greater than 78 and FA Cup is pre?"
},
{
"from": "gpt",
"value": "SELECT shropsh... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (season VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What season had 78 points?"
},
{
"from": "gpt",
"value": "SELECT season FROM table_name_17 WHERE points = 78"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (score VARCHAR, result VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "For the match against Arema Malang that ended in a draw, what was the final score?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_6... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the final score for the match held on April 11, 2007?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_68 WHERE date = \"april 11, 2007\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (venue VARCHAR, score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the location for the match held on April 11, 2007, which ended with a score of 0-0?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (venue VARCHAR, score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the location for the match held on March 7, 2007, which ended with a score of 0-0?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (constituency_number VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Amritpur has what constituency number?"
},
{
"from": "gpt",
"value": "SELECT constituency_number FROM table_name_87 WHERE name = \"amritpur\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Kaimganj has what reserved for (SC / ST /None)?"
},
{
"from": "gpt",
"value": "SELECT reserved_for___sc___st__none_ FROM table_name_87 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which country is bob tway from?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_30 WHERE player = \"bob tway\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (country VARCHAR, year_s__won VARCHAR)"
},
{
"from": "human",
"value": "Which country won in 1986?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_59 WHERE year_s__won = \"1986\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (total INTEGER, country VARCHAR)"
},
{
"from": "human",
"value": "What is Fiji's lowest total?"
},
{
"from": "gpt",
"value": "SELECT MIN(total) FROM table_name_63 WHERE country = \"fiji\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (country VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What Country had a Player with a Score of 72-66-72=210?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_17 WHERE score = 72 - 66 - 72 = 210"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (place VARCHAR, to_par VARCHAR)"
},
{
"from": "human",
"value": "What is the Place of the Player with a To par of –6?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_96 WHERE to_par = \"–6\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Place of the Player with a Score of 68-73-76=217?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_86 WHERE score = 68 - 73 - 76 = 217"
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is Justin Leonard's To par?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_59 WHERE player = \"justin leonard\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (architecture_version VARCHAR, model VARCHAR)"
},
{
"from": "human",
"value": "What is the architecture version of Model 1b?"
},
{
"from": "gpt",
"value": "SELECT architecture_version FROM table_name_10 WHERE model = \"1b\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (name___generation VARCHAR, architecture_version VARCHAR, model VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the architecture version of the MIPS-III 64-bit, and model 2b?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (event VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What is the event with a 2:08 time?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_1 WHERE time = \"2:08\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (wheels VARCHAR, builder VARCHAR)"
},
{
"from": "human",
"value": "What type of wheels did the locomotive have that was built by Baldwin Locomotive Works?"
},
{
"from": "gpt",
"value": "SELECT wheels FROM table_name_99 WHERE bu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (venue VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "Which Venue has Against of 25?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_89 WHERE against = 25"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (venue VARCHAR, against INTEGER)"
},
{
"from": "human",
"value": "Which Venue has Against smaller than 6?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_82 WHERE against < 6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (utah VARCHAR, colorado VARCHAR, new_mexico VARCHAR)"
},
{
"from": "human",
"value": "What's the value for utah when colorado and new mexico are bush?"
},
{
"from": "gpt",
"value": "SELECT utah FROM table_name_7 WHERE colorado =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (oklahoma VARCHAR, texas VARCHAR)"
},
{
"from": "human",
"value": "What's the value for oklahoma when texas is kennedy?"
},
{
"from": "gpt",
"value": "SELECT oklahoma FROM table_name_6 WHERE texas = \"kennedy\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (utah VARCHAR, texas VARCHAR)"
},
{
"from": "human",
"value": "What's the value for utah when texas is humphrey?"
},
{
"from": "gpt",
"value": "SELECT utah FROM table_name_80 WHERE texas = \"humphrey\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (arizona VARCHAR, texas VARCHAR, colorado VARCHAR, nevada VARCHAR)"
},
{
"from": "human",
"value": "What's the value for arizona when colorado and nevada are nixon, and texas is humphrey?"
},
{
"from": "gpt",
"value": "SELECT a... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (oklahoma VARCHAR, nevada VARCHAR, colorado VARCHAR)"
},
{
"from": "human",
"value": "What's the value for oklahoma when nevada and colorado are clinton?"
},
{
"from": "gpt",
"value": "SELECT oklahoma FROM table_name_94 WHERE n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (arizona VARCHAR, utah VARCHAR)"
},
{
"from": "human",
"value": "What's the value for arizona when utah is eisenhower?"
},
{
"from": "gpt",
"value": "SELECT arizona FROM table_name_50 WHERE utah = \"eisenhower\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (ad_freq VARCHAR, show_name VARCHAR)"
},
{
"from": "human",
"value": "How often are there ads during American Top 40?"
},
{
"from": "gpt",
"value": "SELECT ad_freq FROM table_name_84 WHERE show_name = \"american top 40\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (time VARCHAR, show_name VARCHAR)"
},
{
"from": "human",
"value": "When does Classic Hits air?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_94 WHERE show_name = \"classic hits\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (role VARCHAR, pick__number VARCHAR)"
},
{
"from": "human",
"value": "What is Pick #18's Role?"
},
{
"from": "gpt",
"value": "SELECT role FROM table_name_4 WHERE pick__number = 18"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (foundation VARCHAR, name_in_english VARCHAR)"
},
{
"from": "human",
"value": "What is the foundation for the institution whose name in English is tanjung puteri technical secondary school?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (location VARCHAR, name_in_malay VARCHAR)"
},
{
"from": "human",
"value": "What is the location of the institution whose name in Malay is kolej kemahiran belia nasional, pontian?"
},
{
"from": "gpt",
"value": "SELECT location F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (money___ INTEGER, score VARCHAR)"
},
{
"from": "human",
"value": "What was the average money when the score was 68-69-68-72=277?"
},
{
"from": "gpt",
"value": "SELECT AVG(money___) AS $__ FROM table_name_97 WHERE score = 68 - ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (money___ INTEGER, score VARCHAR)"
},
{
"from": "human",
"value": "What was the highest money when the score was 69-68-67-69=273?"
},
{
"from": "gpt",
"value": "SELECT MAX(money___) AS $__ FROM table_name_37 WHERE score = 69 - ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (place VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What did South Africa place?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_89 WHERE country = \"south africa\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (country VARCHAR, place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What county placed t2 and scored 68-69-68-72=277?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_95 WHERE place = \"t2\" AND score ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (milan___san_remo VARCHAR, liège_bastogne_liège VARCHAR)"
},
{
"from": "human",
"value": "Name the Milan – San Remo which has a Liège–Bastogne–Liège of danilo di luca ( ita )?"
},
{
"from": "gpt",
"value": "SELECT milan___san_r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (giro_di_lombardia VARCHAR, paris_roubaix VARCHAR)"
},
{
"from": "human",
"value": "Which Giro di Lombardia has a Paris–Roubaix of servais knaven ( ned )?"
},
{
"from": "gpt",
"value": "SELECT giro_di_lombardia FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (giro_di_lombardia VARCHAR, tour_of_flanders VARCHAR, paris_roubaix VARCHAR)"
},
{
"from": "human",
"value": "what kind of Giro di Lombardiahas a Tour of Flanders of tom boonen ( bel ), and a Paris–Roubaix of fabian cancellara ( sui )?"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (cargo__tonnes_ VARCHAR, international__non_cis_ VARCHAR)"
},
{
"from": "human",
"value": "What are the cargo tonnes when the international (non-CIS) is 297 421?"
},
{
"from": "gpt",
"value": "SELECT cargo__tonnes_ FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (aircraft_landings VARCHAR, cargo__tonnes_ VARCHAR)"
},
{
"from": "human",
"value": "How manu aircraft landings when the cargo tonnes are 18 344?"
},
{
"from": "gpt",
"value": "SELECT aircraft_landings FROM table_name_27 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (domestic VARCHAR, cargo__tonnes_ VARCHAR)"
},
{
"from": "human",
"value": "What is the domestic figure when cargo tonnes equal 25 866?"
},
{
"from": "gpt",
"value": "SELECT domestic FROM table_name_61 WHERE cargo__tonnes_ = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (year VARCHAR, passenger_change VARCHAR)"
},
{
"from": "human",
"value": "What is the year that saw a passenger change of +32,9%?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_name_53 WHERE passenger_change = \"+... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (year INTEGER, cargo__tonnes_ VARCHAR)"
},
{
"from": "human",
"value": "What year had cargo tonnes of 13 585?"
},
{
"from": "gpt",
"value": "SELECT AVG(year) FROM table_name_32 WHERE cargo__tonnes_ = \"13 585\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (round VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "What round did the event UFC 86 take place?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_31 WHERE event = \"ufc 86\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (method VARCHAR, round VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What method was there in round 1 when the location was Aruba?"
},
{
"from": "gpt",
"value": "SELECT method FROM table_name_25 WHERE round = \"1\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (location VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "What location was the event ufc: fight for the troops?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_91 WHERE event = \"ufc: fight for the troo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (date VARCHAR, visiting_team VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "When was the game that had the St. Louis Rams as visiting team and resulted in a score of 26-0?"
},
{
"from": "gpt",
"value": "SELECT date F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (date VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What date(s) was the game(s) at Candlestick Park?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_30 WHERE venue = \"candlestick park\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (year VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "What year was the opponent in the final john higgins category:articles with hcards?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_45 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (church_name VARCHAR, year_built VARCHAR)"
},
{
"from": "human",
"value": "Which church was built in 1600?"
},
{
"from": "gpt",
"value": "SELECT church_name FROM table_name_38 WHERE year_built = 1600"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (location_of_the_church VARCHAR, year_built VARCHAR)"
},
{
"from": "human",
"value": "What is the Location of the Church that was built in the year 1914?"
},
{
"from": "gpt",
"value": "SELECT location_of_the_church FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (location_of_the_church VARCHAR, sub_parish__sokn_ VARCHAR)"
},
{
"from": "human",
"value": "Where is the Church that has a Sub-Parish (Sokn) of rugsund?"
},
{
"from": "gpt",
"value": "SELECT location_of_the_church FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (year_built INTEGER, parish___prestegjeld__ VARCHAR, location_of_the_church VARCHAR)"
},
{
"from": "human",
"value": "Which Year Built has a Parish (Prestegjeld) of bremanger parish, and a Location of the Church of bremanger?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (actor_required VARCHAR, actor_in_original_production VARCHAR)"
},
{
"from": "human",
"value": "Who is the required actor when Robert Austin was the actor in the original production?"
},
{
"from": "gpt",
"value": "SELECT actor_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (actor_in_original_production VARCHAR, gameplan VARCHAR)"
},
{
"from": "human",
"value": "Who is the actor in the original production when Troy Stephens is the GamePlan?"
},
{
"from": "gpt",
"value": "SELECT actor_in_original_p... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (gameplan VARCHAR, actor_in_original_production VARCHAR)"
},
{
"from": "human",
"value": "Who is the GamePlan when Jacqueline King is the actor in the original production?"
},
{
"from": "gpt",
"value": "SELECT gameplan FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (gameplan VARCHAR, roleplay VARCHAR)"
},
{
"from": "human",
"value": "Who is the GamePlan when Arabella Lazenby is the RolePlay actor?"
},
{
"from": "gpt",
"value": "SELECT gameplan FROM table_name_29 WHERE roleplay = \"arabell... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (actor_required VARCHAR, flatspin VARCHAR)"
},
{
"from": "human",
"value": "Who is the actor required when Edna Stricken is the FlatSpin actor?"
},
{
"from": "gpt",
"value": "SELECT actor_required FROM table_name_24 WHERE flats... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (team_1 VARCHAR)"
},
{
"from": "human",
"value": "What shows for the 1st round when the team 1 was Lb Châteauroux (d2)?"
},
{
"from": "gpt",
"value": "SELECT 1 AS st_round FROM table_name_33 WHERE team_1 = \"lb châteauroux (d2)... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (team_1 VARCHAR)"
},
{
"from": "human",
"value": "What shows for 2nd round when the team 1 was Rc Strasbourg (d1)?"
},
{
"from": "gpt",
"value": "SELECT 2 AS nd_round FROM table_name_63 WHERE team_1 = \"rc strasbourg (d1)\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (home_team VARCHAR, tie_no VARCHAR)"
},
{
"from": "human",
"value": "Who was the Home team in Tie #23?"
},
{
"from": "gpt",
"value": "SELECT home_team FROM table_name_80 WHERE tie_no = 23"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (score VARCHAR, tie_no VARCHAR)"
},
{
"from": "human",
"value": "What was the final score in Tie #28?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_90 WHERE tie_no = 28"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (score VARCHAR, player VARCHAR, to_par VARCHAR, money___$__ VARCHAR)"
},
{
"from": "human",
"value": "What score has a to par greater than 15, money ($) greater than 116, with billy burke as the player?"
},
{
"from": "gpt",
"va... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What player has t3 as the place, with england united states as the country?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_57 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (money___ INTEGER, place VARCHAR, to_par VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest money ($) that has t8 as the place, with a to par greater than 19?"
},
{
"from": "gpt",
"value": "SELECT MIN(money___) AS $__... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (score VARCHAR, money___$__ VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What score has money ($) greater than 400, with gene sarazen as the player?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_99 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (country VARCHAR, to_par VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "Which Country has a To par smaller than 7, and a Total of 148?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_38 WHERE to_par < 7 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (player VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "Which player is from south africa?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_93 WHERE country = \"south africa\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (year_s__won VARCHAR, country VARCHAR, total VARCHAR, to_par VARCHAR)"
},
{
"from": "human",
"value": "Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a Country of new zealand?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (event VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "In what Event did Dorcus Inzikuru compete?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_86 WHERE name = \"dorcus inzikuru\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (games VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "In what Games did Patrick Etolu compete?"
},
{
"from": "gpt",
"value": "SELECT games FROM table_name_60 WHERE name = \"patrick etolu\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (medal VARCHAR, name VARCHAR, sport VARCHAR, games VARCHAR)"
},
{
"from": "human",
"value": "What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games?"
},
{
"from": "gpt",
"value": "SELECT medal FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (medal VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "What is the Medal for the Player in the Light Heavyweight event?"
},
{
"from": "gpt",
"value": "SELECT medal FROM table_name_25 WHERE event = \"light heavyweight\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (games VARCHAR, medal VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "At what Games did the competitor win a Silver medal in the light heavyweight event?"
},
{
"from": "gpt",
"value": "SELECT games FROM table_name_54 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (tie_no VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What is the Tie no for Away Team Ipswich Town?"
},
{
"from": "gpt",
"value": "SELECT tie_no FROM table_name_26 WHERE away_team = \"ipswich town\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (date VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What is the Date of the Middlesbrough Home game?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_42 WHERE home_team = \"middlesbrough\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (home_team VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Home team in the Game with a Score of 1–0?"
},
{
"from": "gpt",
"value": "SELECT home_team FROM table_name_40 WHERE score = \"1–0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What is the Date of the Everton Away game?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_95 WHERE away_team = \"everton\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (to_par VARCHAR, finish VARCHAR)"
},
{
"from": "human",
"value": "When the finish was t31 what was the To par?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_28 WHERE finish = \"t31\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (player VARCHAR, finish VARCHAR)"
},
{
"from": "human",
"value": "Who had a finish of t15?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_67 WHERE finish = \"t15\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (to_par VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "When the total was 290 what was the To par?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_59 WHERE total = 290"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (total INTEGER, player VARCHAR)"
},
{
"from": "human",
"value": "What is the Total for Seve Ballesteros?"
},
{
"from": "gpt",
"value": "SELECT SUM(total) FROM table_name_47 WHERE player = \"seve ballesteros\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (result VARCHAR, nominee VARCHAR)"
},
{
"from": "human",
"value": "What was the result of Declan Donnellan's nomination?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_23 WHERE nominee = \"declan donnellan\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (result VARCHAR, category VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the Best Actor in a Musical category?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_81 WHERE category = \"best actor in a... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (player VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE PLAYER WITH 287?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_26 WHERE total = 287"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "WHAT COUNTRY HAS A PLAYER NAMED JACK NICKLAUS?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_25 WHERE player = \"jack nicklaus\""
}
] | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.