conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (length VARCHAR, disc VARCHAR)"
},
{
"from": "human",
"value": "What is the length of disc 67?"
},
{
"from": "gpt",
"value": "SELECT length FROM table_name_13 WHERE disc = \"67\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (points VARCHAR, year VARCHAR, engine VARCHAR)"
},
{
"from": "human",
"value": "What points larger than 1950 has a maserati straight-6 engine?"
},
{
"from": "gpt",
"value": "SELECT points FROM table_name_68 WHERE year > 1950 AN... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (chassis VARCHAR, entrant VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the chassis for a 1952 officine alfieri maserati with an entrant?"
},
{
"from": "gpt",
"value": "SELECT chassis FROM table_name_92 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (engine VARCHAR, year VARCHAR, chassis VARCHAR)"
},
{
"from": "human",
"value": "What type of engine does a 1951 alfa romeo 159m chasis have?"
},
{
"from": "gpt",
"value": "SELECT engine FROM table_name_44 WHERE year = 1951 AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (entrant VARCHAR, engine VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What Entrant has a 1952 maserati straight-6 engine?"
},
{
"from": "gpt",
"value": "SELECT entrant FROM table_name_29 WHERE engine = \"maserati str... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (entrant VARCHAR, year VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What Entrant older than 1950 has points smaller than 7?"
},
{
"from": "gpt",
"value": "SELECT entrant FROM table_name_82 WHERE year > 1950 AND poi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (points INTEGER, entrant VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the total points that an 1951 Entrant alfa romeo spa have?"
},
{
"from": "gpt",
"value": "SELECT SUM(points) FROM table_name_70 WHERE entr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (co_driver VARCHAR, laps VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Who is the co-driver in 1999 with more than 32 laps?"
},
{
"from": "gpt",
"value": "SELECT co_driver FROM table_name_51 WHERE laps > 32 AND year =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (winning_constructor VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR)"
},
{
"from": "human",
"value": "Name the winning constructor for when the fastest lap was mark webber at the malaysian grand prix"
},
{
"from": "gpt",
"val... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (winning_constructor VARCHAR, grand_prix VARCHAR)"
},
{
"from": "human",
"value": "Name the winning constructor for abu dhabi grand prix"
},
{
"from": "gpt",
"value": "SELECT winning_constructor FROM table_name_22 WHERE grand_p... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (pole_position VARCHAR, grand_prix VARCHAR)"
},
{
"from": "human",
"value": "Name the pole position for belgian grand prix"
},
{
"from": "gpt",
"value": "SELECT pole_position FROM table_name_75 WHERE grand_prix = \"belgian gran... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (pole_position VARCHAR, grand_prix VARCHAR)"
},
{
"from": "human",
"value": "Name the pole positon for korean grand prix"
},
{
"from": "gpt",
"value": "SELECT pole_position FROM table_name_28 WHERE grand_prix = \"korean grand p... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (pole_position VARCHAR, grand_prix VARCHAR)"
},
{
"from": "human",
"value": "Name the pole position at the german grand prix"
},
{
"from": "gpt",
"value": "SELECT pole_position FROM table_name_3 WHERE grand_prix = \"german grand... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (code VARCHAR, currency VARCHAR)"
},
{
"from": "human",
"value": "What is the code for Latvian Lats?"
},
{
"from": "gpt",
"value": "SELECT code FROM table_name_21 WHERE currency = \"latvian lats\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (currency VARCHAR, central_rate VARCHAR)"
},
{
"from": "human",
"value": "Which currency has a central rate of 3.45280?"
},
{
"from": "gpt",
"value": "SELECT currency FROM table_name_45 WHERE central_rate = \"3.45280\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (currency VARCHAR, central_rate VARCHAR)"
},
{
"from": "human",
"value": "Which currency has a central rate of 0.702804?"
},
{
"from": "gpt",
"value": "SELECT currency FROM table_name_12 WHERE central_rate = \"0.702804\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (entry_erm_ii VARCHAR, currency VARCHAR)"
},
{
"from": "human",
"value": "What is the entry ERM II for the Hungarian Forint?"
},
{
"from": "gpt",
"value": "SELECT entry_erm_ii FROM table_name_56 WHERE currency = \"hungarian for... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (official_target_date VARCHAR, currency VARCHAR)"
},
{
"from": "human",
"value": "What is the official target date for the Swedish Krona?"
},
{
"from": "gpt",
"value": "SELECT official_target_date FROM table_name_34 WHERE curre... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (winner VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "The EPT German open was won by which listed winner?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_name_8 WHERE event = \"ept german open\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (event VARCHAR, winner VARCHAR)"
},
{
"from": "human",
"value": "What event did Will Fry win?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_72 WHERE winner = \"will fry\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (city VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "The EPT German Open took place in what city?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_25 WHERE event = \"ept german open\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (date VARCHAR, city VARCHAR)"
},
{
"from": "human",
"value": "When did an event take place in the City of Copenhagen?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_58 WHERE city = \"copenhagen\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (city VARCHAR, prize VARCHAR)"
},
{
"from": "human",
"value": "The prize of £1,000,000 was given by an event in what city?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_56 WHERE prize = \"£1,000,000\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (event VARCHAR, winner VARCHAR)"
},
{
"from": "human",
"value": "João Barbosa was the winner of which event?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_93 WHERE winner = \"joão barbosa\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (attendance VARCHAR, opponent VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What was the Attendance during the Home game where St. Johnstone was the Opponent?"
},
{
"from": "gpt",
"value": "SELECT COUNT(attendance) F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (class VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Which class has a Year of 1968?"
},
{
"from": "gpt",
"value": "SELECT class FROM table_name_36 WHERE year = 1968"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (class VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Which class has a Team of kouros racing team?"
},
{
"from": "gpt",
"value": "SELECT class FROM table_name_34 WHERE team = \"kouros racing team\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (winner VARCHAR, result VARCHAR, loser VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "Who is the Winner, when the Loser is the Baltimore Colts, when the Location is Schaefer Stadium, and when the Result is 42-3?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (location VARCHAR, result VARCHAR, winner VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the Location, when the Winner is the Baltimore Colts, when the Year is before 1972, and when the Result is 14-6?"
},
{
"from"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (date VARCHAR, year VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What is the Date, when the Year is after 1978, and when the Location is Memorial Stadium (Baltimore)?"
},
{
"from": "gpt",
"value": "SELECT date FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (engine VARCHAR, chassis VARCHAR)"
},
{
"from": "human",
"value": "Which engine has a Chassis of lotus 44 f2?"
},
{
"from": "gpt",
"value": "SELECT engine FROM table_name_24 WHERE chassis = \"lotus 44 f2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (entrant VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What entrant appeared in 1969?"
},
{
"from": "gpt",
"value": "SELECT entrant FROM table_name_24 WHERE year = 1969"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (engine VARCHAR, year INTEGER)"
},
{
"from": "human",
"value": "Which engine has a Year larger than 1969?"
},
{
"from": "gpt",
"value": "SELECT engine FROM table_name_7 WHERE year > 1969"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (year INTEGER, entrant VARCHAR)"
},
{
"from": "human",
"value": "What is the largest year with an Entrant of ron harris / team lotus?"
},
{
"from": "gpt",
"value": "SELECT MAX(year) FROM table_name_79 WHERE entrant = \"ron harr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (intergiro_classification VARCHAR, stage VARCHAR)"
},
{
"from": "human",
"value": "During stage 21, who held the Intergiro classification?"
},
{
"from": "gpt",
"value": "SELECT intergiro_classification FROM table_name_22 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (stage VARCHAR, trofeo_fast_team VARCHAR)"
},
{
"from": "human",
"value": "During which stage was gatorade the Trofeo Fast Team?"
},
{
"from": "gpt",
"value": "SELECT stage FROM table_name_35 WHERE trofeo_fast_team = \"gatorade... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (intergiro_classification VARCHAR, trofeo_fast_team VARCHAR)"
},
{
"from": "human",
"value": "Who held the Intergiro classificaiton when the Trofeo Fast Team is gb-mg maglificio?"
},
{
"from": "gpt",
"value": "SELECT intergiro_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (stage VARCHAR, young_rider_classification VARCHAR, intergiro_classification VARCHAR, points_classification VARCHAR)"
},
{
"from": "human",
"value": "During which stage was the Intergiro classification held by Miguel Indurain, the Points c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (winner VARCHAR, young_rider_classification VARCHAR, mountains_classification VARCHAR, general_classification VARCHAR, points_classification VARCHAR)"
},
{
"from": "human",
"value": "Who was the winner when the General classification was h... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (goals_against VARCHAR, minutes VARCHAR)"
},
{
"from": "human",
"value": "What is the goals against for the goalkeeper with 2520 minutes?"
},
{
"from": "gpt",
"value": "SELECT goals_against FROM table_name_75 WHERE minutes = 25... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (games_played INTEGER, minutes VARCHAR, loses VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is the average Games Played for Bo Oshoniyi, who had more than 1170 minutes and 10 loses?"
},
{
"from": "gpt",
"value":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (goals_against INTEGER, club VARCHAR, ga_average VARCHAR)"
},
{
"from": "human",
"value": "What is the highest goals against the goalkeeper of Dallas Burn, who had a GA average larger than 1.46, had?"
},
{
"from": "gpt",
"value... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (loses INTEGER, minutes INTEGER)"
},
{
"from": "human",
"value": "What is the lowest number of losses a goalkeeper with more than 2776 minutes had?"
},
{
"from": "gpt",
"value": "SELECT MIN(loses) FROM table_name_54 WHERE minut... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (minutes INTEGER, games_played VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest minutes a goalkeeper with 13 games played has?"
},
{
"from": "gpt",
"value": "SELECT MIN(minutes) FROM table_name_25 WHERE games_played... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (round VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which round resulted in 10-52?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_67 WHERE score = \"10-52\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (venue VARCHAR, opponent VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What venue did Melbourne Storm played in Rd 7, 2006?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_68 WHERE opponent = \"melbourne ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (venue VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "In which venue was the result a draw?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_67 WHERE result = \"draw\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (school_colors VARCHAR, founded VARCHAR, institution VARCHAR)"
},
{
"from": "human",
"value": "Which School Colors were Founded of 1969, with an Institution of barton community college?"
},
{
"from": "gpt",
"value": "SELECT sch... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (institution VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "Which Institution has a Mascot of broncbusters?"
},
{
"from": "gpt",
"value": "SELECT institution FROM table_name_43 WHERE mascot = \"broncbusters\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (founded INTEGER, institution VARCHAR)"
},
{
"from": "human",
"value": "What is the largest Founded with an Institution of cloud county community college?"
},
{
"from": "gpt",
"value": "SELECT MAX(founded) FROM table_name_67 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (founded VARCHAR, main_campus_location VARCHAR)"
},
{
"from": "human",
"value": "What is the total Founded with a Main Campus Location of liberal?"
},
{
"from": "gpt",
"value": "SELECT COUNT(founded) FROM table_name_29 WHERE ma... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (surface VARCHAR)"
},
{
"from": "human",
"value": "What is the 2-person dive that has 2 as the surface?"
},
{
"from": "gpt",
"value": "SELECT \"2\" AS _person_dive FROM table_name_86 WHERE surface = \"2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (surface VARCHAR, cage_dive VARCHAR)"
},
{
"from": "human",
"value": "What surface has 2 as a cage dive?"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_name_5 WHERE cage_dive = \"2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (remote_camera VARCHAR)"
},
{
"from": "human",
"value": "Which 3-person dive has 0 as a remote camera?"
},
{
"from": "gpt",
"value": "SELECT 3 AS _person_dive FROM table_name_29 WHERE remote_camera = \"0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (years VARCHAR, decile VARCHAR, area VARCHAR)"
},
{
"from": "human",
"value": "Which years have a Decile smaller than 2, and an Area of mohaka?"
},
{
"from": "gpt",
"value": "SELECT years FROM table_name_97 WHERE decile < 2 AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (gender VARCHAR, roll VARCHAR, decile VARCHAR, authority VARCHAR, years VARCHAR)"
},
{
"from": "human",
"value": "Which gender has an Authority of state, Years of 1–8, and a Decile smaller than 10, and a Roll of 36?"
},
{
"from": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (roll VARCHAR, area VARCHAR)"
},
{
"from": "human",
"value": "Which roll has an Area of mahia?"
},
{
"from": "gpt",
"value": "SELECT roll FROM table_name_2 WHERE area = \"mahia\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (decile VARCHAR, area VARCHAR, authority VARCHAR, roll VARCHAR)"
},
{
"from": "human",
"value": "Which Decile has an Authority of state, a Roll smaller than 61, and an Area of kotemaori?"
},
{
"from": "gpt",
"value": "SELECT de... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (league INTEGER, fa_cup INTEGER)"
},
{
"from": "human",
"value": "What's the highest League Cup with an FA Cup thats larger than 2?"
},
{
"from": "gpt",
"value": "SELECT MAX(league) AS Cup FROM table_name_95 WHERE fa_cup > 2"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (fa_cup VARCHAR, total VARCHAR, play_offs VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What's the total number of FA Cup with a Play-offs of 3, and the Name of Mitch Cook Category:Articles with hCards and has a Total thats less ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (fa_cup VARCHAR, league VARCHAR, play_offs VARCHAR)"
},
{
"from": "human",
"value": "What's the total of number of FA Cup that has a League small than 29 with Play-offs less than 0?"
},
{
"from": "gpt",
"value": "SELECT COUNT(f... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (play_offs INTEGER, league VARCHAR, fa_cup VARCHAR)"
},
{
"from": "human",
"value": "What's the lowest Play-offs with a League of 4 and FA Cup larger than 1?"
},
{
"from": "gpt",
"value": "SELECT MIN(play_offs) FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (league VARCHAR, play_offs VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What's the total number of League Cup with a Play-off larger than 2, and a Name of Mitch Cook Category:Articles with hCards?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (channel_4_weekly_rank_a INTEGER, viewers__millions_ VARCHAR, airdate VARCHAR)"
},
{
"from": "human",
"value": "What is the average Channel 4 weekly rank for less than 2.19 million viewers on December 7, 2007?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (viewers__millions_ VARCHAR, airdate VARCHAR, channel_4_weekly_rank_a VARCHAR)"
},
{
"from": "human",
"value": "What is the number of viewers in millions for the episode on October 10, 2008, and a Channel 4 weekly rank a smaller than 30?"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (duration VARCHAR, end_time VARCHAR)"
},
{
"from": "human",
"value": "What is the duration of the flight with end time of 21:06?"
},
{
"from": "gpt",
"value": "SELECT duration FROM table_name_61 WHERE end_time = \"21:06\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (spacecraft VARCHAR, end_time VARCHAR)"
},
{
"from": "human",
"value": "What is the spacecraft with end time of 4 September 04:51?"
},
{
"from": "gpt",
"value": "SELECT spacecraft FROM table_name_70 WHERE end_time = \"4 septemb... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (crew VARCHAR, end_time VARCHAR)"
},
{
"from": "human",
"value": "What is the crew with the end time of 21:11?"
},
{
"from": "gpt",
"value": "SELECT crew FROM table_name_73 WHERE end_time = \"21:11\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (duration VARCHAR, spacecraft VARCHAR)"
},
{
"from": "human",
"value": "What is the duration of the Expedition 20 ISS Zvezda?"
},
{
"from": "gpt",
"value": "SELECT duration FROM table_name_40 WHERE spacecraft = \"expedition 20 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (crew VARCHAR, duration VARCHAR)"
},
{
"from": "human",
"value": "Who was the crew for the duration of 12 minutes?"
},
{
"from": "gpt",
"value": "SELECT crew FROM table_name_4 WHERE duration = \"12 minutes\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (year INTEGER, entrant VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Name the sum of year for connaught engineering and points less than 0"
},
{
"from": "gpt",
"value": "SELECT SUM(year) FROM table_name_49 WHERE ent... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (win__percentage INTEGER, gb_ VARCHAR, d_ VARCHAR)"
},
{
"from": "human",
"value": "What is the average win percentage of a season with a GB of 5?"
},
{
"from": "gpt",
"value": "SELECT AVG(win__percentage) FROM table_name_76 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (start VARCHAR, laps INTEGER)"
},
{
"from": "human",
"value": "What was the starting position of Joie Chitwood when he finished more than 200 laps?"
},
{
"from": "gpt",
"value": "SELECT start FROM table_name_49 WHERE laps > 200... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (laps INTEGER, qual VARCHAR)"
},
{
"from": "human",
"value": "What is Chitwood's lowest completed number of laps with a qualifying time of 124.619?"
},
{
"from": "gpt",
"value": "SELECT MIN(laps) FROM table_name_72 WHERE qual =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (venue VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which venue was used on 12 September 1998?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_10 WHERE date = \"12 september 1998\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (score_ VARCHAR, a_ VARCHAR, venue VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the score [A] of the match at Vanuatu (n) on 5 September 1998?"
},
{
"from": "gpt",
"value": "SELECT score_[a_] FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (score_ VARCHAR, a_ VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the score [A] of the match on 19 September 1998?"
},
{
"from": "gpt",
"value": "SELECT score_[a_] FROM table_name_49 WHERE date = \"19 septembe... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game when the record was 32–19–7?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_40 WHERE record = \"32–19–7\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the game when the record was 9–5–2?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_78 WHERE record = \"9–5–2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (home VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Who was the home team when the record was 36–21–8?"
},
{
"from": "gpt",
"value": "SELECT home FROM table_name_23 WHERE record = \"36–21–8\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (date VARCHAR, visitor VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the game when the Calgary Flames were the visiting team and there was a record of 1–2–0?"
},
{
"from": "gpt",
"value": "SELEC... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (home VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Who was the home team when the record was 27–14–6?"
},
{
"from": "gpt",
"value": "SELECT home FROM table_name_15 WHERE record = \"27–14–6\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (lifespan VARCHAR, state VARCHAR, representative VARCHAR)"
},
{
"from": "human",
"value": "What was the lifespan of Representative Harry P. O'neill from the state of Pennsylvania?"
},
{
"from": "gpt",
"value": "SELECT lifespan ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (years VARCHAR, representative VARCHAR)"
},
{
"from": "human",
"value": "What years did Representative Frank A. Oliver serve?"
},
{
"from": "gpt",
"value": "SELECT years FROM table_name_70 WHERE representative = \"frank a. oliv... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the record for october 11"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_34 WHERE date = \"october 11\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (score VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Name the score with record of 68-66"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_69 WHERE record = \"68-66\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the record for august 28"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_24 WHERE date = \"august 28\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (score VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was the score for Leo Diegel?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_63 WHERE player = \"leo diegel\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the player with a To par of –4?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_41 WHERE to_par = \"–4\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (surface VARCHAR, partner VARCHAR)"
},
{
"from": "human",
"value": "What was the surface for the game that was played with partner Tiya Rolle?"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_name_35 WHERE partner = \"t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (score VARCHAR, partner VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the final score for the game played on January 10, 2011 with partner Mashona Washington?"
},
{
"from": "gpt",
"value": "SELECT score FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (outcome VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the outcome for the game that was played on 07-Jun-2010?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_name_8 WHERE date = \"07-jun-2010\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the score for the game that was played on 29-Jun-2009?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_93 WHERE date = \"29-jun-2009\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (surface VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the surface for the game that was played on 12-Apr-2005?"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_name_50 WHERE date = \"12-apr-2005\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (points VARCHAR, skipper VARCHAR)"
},
{
"from": "human",
"value": "What points has james allen as the skipper?"
},
{
"from": "gpt",
"value": "SELECT points FROM table_name_66 WHERE skipper = \"james allen\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (yacht_name VARCHAR, overall_place VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the yacht where 12 is the overall place?"
},
{
"from": "gpt",
"value": "SELECT yacht_name FROM table_name_28 WHERE overall_place =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (skipper VARCHAR, combined_elapsed_time VARCHAR)"
},
{
"from": "human",
"value": "Which skipper has a combine elapsed time of 174d 01h 11m 59s?"
},
{
"from": "gpt",
"value": "SELECT skipper FROM table_name_17 WHERE combined_ela... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (skipper VARCHAR, yacht_name VARCHAR)"
},
{
"from": "human",
"value": "Which skipper has barclays adventurer as the name of the yacht?"
},
{
"from": "gpt",
"value": "SELECT skipper FROM table_name_92 WHERE yacht_name = \"barcla... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (overall_place VARCHAR, combined_elapsed_time VARCHAR)"
},
{
"from": "human",
"value": "What is the overall place that has 170d 11h 31m 10s as the combined elapsed time?"
},
{
"from": "gpt",
"value": "SELECT overall_place FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (senior_status VARCHAR, reason_for_termination VARCHAR, chief_judge VARCHAR)"
},
{
"from": "human",
"value": "What was the senior status for the judge who was terminated because of death, with a Chief Judge entry of —?"
},
{
"from"... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.