conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (try_bonus VARCHAR, tries_against VARCHAR)"
},
{
"from": "human",
"value": "tries against is 55, what is the try bonus?"
},
{
"from": "gpt",
"value": "SELECT try_bonus FROM table_name_80 WHERE tries_against = \"55\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (points_against VARCHAR, tries_against VARCHAR)"
},
{
"from": "human",
"value": "tries against is 29, what is the points against?"
},
{
"from": "gpt",
"value": "SELECT points_against FROM table_name_97 WHERE tries_against = \"2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (tries_for VARCHAR, tries_against VARCHAR)"
},
{
"from": "human",
"value": "tries against correct as of 2007-10-15 has what tries for?"
},
{
"from": "gpt",
"value": "SELECT tries_for FROM table_name_54 WHERE tries_against = \"c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (tries_for VARCHAR, tries_against VARCHAR)"
},
{
"from": "human",
"value": "tries against correct as of 2007-10-15 has what tries for?"
},
{
"from": "gpt",
"value": "SELECT tries_for FROM table_name_31 WHERE tries_against = \"c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (lost VARCHAR, played VARCHAR, tries_against VARCHAR)"
},
{
"from": "human",
"value": "tries against is 88, played is 22, what is the lost?"
},
{
"from": "gpt",
"value": "SELECT lost FROM table_name_57 WHERE played = \"22\" AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (silver VARCHAR, year VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "Who won silver in the year before 2010, the year Chan Ming Shu won gold?"
},
{
"from": "gpt",
"value": "SELECT silver FROM table_name_21 WHERE year <... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (location VARCHAR, year VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "What is the location for the year under 2010 and the year Hei Zhi Hong won silver?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (location VARCHAR, year INTEGER)"
},
{
"from": "human",
"value": "Which location had a year over 2006?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_68 WHERE year > 2006"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (date VARCHAR, score_f_a VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "Score F–A of 2–0, and a Opponents of walsall has what date?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_49 WHERE score_f_a = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (opponents VARCHAR, score_f_a VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Score F–A of 3–0, and a Date of 31 july 2007 had what opponents?"
},
{
"from": "gpt",
"value": "SELECT opponents FROM table_name_13 WHERE sco... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (date VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "Opponents of sheffield wednesday had what date?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_81 WHERE opponents = \"sheffield wednesday\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (date VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "Opponents of sheffield wednesday had what date?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_63 WHERE opponents = \"sheffield wednesday\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (opponents VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Date of 4 august 2007 had what opponents?"
},
{
"from": "gpt",
"value": "SELECT opponents FROM table_name_17 WHERE date = \"4 august 2007\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (position VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "WHich Position has a Player of david laliberte?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_50 WHERE player = \"david laliberte\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (position VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which Position has a Player of gino pisellini?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_13 WHERE player = \"gino pisellini\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (winning_score VARCHAR, tournament VARCHAR, runner_s__up VARCHAR)"
},
{
"from": "human",
"value": "What is the winning score of standard register ping tournament, which has Kelly Robbins as the runner-up?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (winning_score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the winning score of the tournament on 16 May 1993?"
},
{
"from": "gpt",
"value": "SELECT winning_score FROM table_name_20 WHERE date = \"16 may 199... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (margin_of_victory VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the margin of victory of the tournament on 5 Jun 1988?"
},
{
"from": "gpt",
"value": "SELECT margin_of_victory FROM table_name_75 WHERE date = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (winning_score VARCHAR, runner_s__up VARCHAR)"
},
{
"from": "human",
"value": "What is the winning scor of the tournament with Robin Walton as the runner-up?"
},
{
"from": "gpt",
"value": "SELECT winning_score FROM table_name_8... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (nhl_team VARCHAR, college_junior_club_team__league_ VARCHAR)"
},
{
"from": "human",
"value": "which NHL team has a College/Junior/Club Team (League) of shattuck-saint mary's school (midget major aaa)?"
},
{
"from": "gpt",
"val... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (round VARCHAR, nationality VARCHAR, college_junior_club_team__league_ VARCHAR)"
},
{
"from": "human",
"value": "How many Rounds have a Nationality of canada, and a College/Junior/Club Team (League) of fort mcmurray oil barons (ajhl)?"
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (round INTEGER, nhl_team VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which Round has a NHL team of edmonton oilers and a Player of vyacheslav trukhno?"
},
{
"from": "gpt",
"value": "SELECT AVG(round) FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (round INTEGER, nationality VARCHAR, college_junior_club_team__league_ VARCHAR)"
},
{
"from": "human",
"value": "Which Round has a Nationality of united states, and a College/Junior/Club Team (League) of breck school (ushs)?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (max_1_min_wind_mph__km_h_ VARCHAR, min_press___mbar__ VARCHAR)"
},
{
"from": "human",
"value": "What is the max 1-min wind mph when the minimum press is 997?"
},
{
"from": "gpt",
"value": "SELECT max_1_min_wind_mph__km_h_ FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (deaths VARCHAR, storm_name VARCHAR)"
},
{
"from": "human",
"value": "How many deaths occurred during Darby?"
},
{
"from": "gpt",
"value": "SELECT deaths FROM table_name_64 WHERE storm_name = \"darby\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (distance_from_jaffa VARCHAR, name_location VARCHAR)"
},
{
"from": "human",
"value": "What is the distance from Jaffa of Jerusalem station?"
},
{
"from": "gpt",
"value": "SELECT distance_from_jaffa FROM table_name_1 WHERE name_l... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (visitor VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What visitor has February 11 as the date?"
},
{
"from": "gpt",
"value": "SELECT visitor FROM table_name_37 WHERE date = \"february 11\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (venue VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "Which venue is the friendly match in?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_7 WHERE competition = \"friendly match\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (result VARCHAR, competition VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What is the result of the friendly match in Seoul?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_47 WHERE competition = \"frie... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (result VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "What is the result of the 2007 AFC asian cup?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_19 WHERE competition = \"2007 afc asian cup\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (runner_s__up VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "Which Runner(s)-up has a Tournament of general foods pga seniors' championship?"
},
{
"from": "gpt",
"value": "SELECT runner_s__up FROM table_name_65 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)"
},
{
"from": "human",
"value": "Which Tournament has a Margin of victory of 2 strokes, and a Winning score of −14 (68-66-68=202)?"
},
{
"from": "gpt",
"val... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (date VARCHAR, winning_score VARCHAR)"
},
{
"from": "human",
"value": "Which Date has a Winning score of −9 (70-64-70=203)?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_19 WHERE winning_score = −9(70 - 64 - 70 = 2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (high_points VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the High points when date was February 11?"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_name_55 WHERE date = \"february 11\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (team VARCHAR, high_rebounds VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the team that has a High rebounds of popeye jones (14), and when the Record was 16-28?"
},
{
"from": "gpt",
"value": "SELECT team F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (location_attendance VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Location Attendance when the Date was February 27?"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM table_name_83 WHERE date... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (game INTEGER, record VARCHAR)"
},
{
"from": "human",
"value": "What is the score of the scores when Game had a Record of 17-29?"
},
{
"from": "gpt",
"value": "SELECT SUM(game) FROM table_name_27 WHERE record = \"17-29\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (skip VARCHAR, lead VARCHAR)"
},
{
"from": "human",
"value": "Who has the lead on Lisa Weagle?"
},
{
"from": "gpt",
"value": "SELECT skip FROM table_name_80 WHERE lead = \"lisa weagle\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (event VARCHAR, skip VARCHAR, second VARCHAR)"
},
{
"from": "human",
"value": "Which event shows Matt St. Louis in second and a skip of John Morris?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_24 WHERE skip = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (attempts INTEGER, net_yards VARCHAR, touchdowns VARCHAR)"
},
{
"from": "human",
"value": "What are the highest attempts that have net yards less than 631, and 2 for the touchdowns?"
},
{
"from": "gpt",
"value": "SELECT MAX(att... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (net_yards INTEGER, yards_per_attempt VARCHAR, touchdowns VARCHAR, attempts VARCHAR)"
},
{
"from": "human",
"value": "What are the average net yards that have 9 as the touchdowns, 145 as the attempts, and yards per attempt greater than 4.8... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (yards_per_attempt INTEGER, net_yards INTEGER)"
},
{
"from": "human",
"value": "How many yards per attempt have net yards greater than 631?"
},
{
"from": "gpt",
"value": "SELECT SUM(yards_per_attempt) FROM table_name_17 WHERE n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (touchdowns INTEGER, net_yards VARCHAR, attempts VARCHAR)"
},
{
"from": "human",
"value": "What are the highest touchdowns that have net yards greater than 631, with attempts less than 145?"
},
{
"from": "gpt",
"value": "SELECT... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (slalom VARCHAR, season VARCHAR, overall VARCHAR)"
},
{
"from": "human",
"value": "What is the value for Slalom in seasons later than 1994 and overall value greater than 22?"
},
{
"from": "gpt",
"value": "SELECT slalom FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (season VARCHAR, super_g VARCHAR, overall VARCHAR)"
},
{
"from": "human",
"value": "How many seasons had a Super G of 2 and overall of 3?"
},
{
"from": "gpt",
"value": "SELECT COUNT(season) FROM table_name_61 WHERE super_g = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (opponent VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "Who was the Opponent in the Auckland, New Zealand Tournament?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_50 WHERE tournament = \"auckla... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (date VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "On what Date was Rafael Nadal the Opponent?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_37 WHERE opponent = \"rafael nadal\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (opponent VARCHAR, surface VARCHAR)"
},
{
"from": "human",
"value": "Who was the Opponent on a Hard (i) Surface?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_5 WHERE surface = \"hard (i)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (score VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What was the Score at the Auckland, New Zealand Tournament?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_7 WHERE tournament = \"auckland, new ze... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (team VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What team plays in Dinamo, Brest?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_97 WHERE venue = \"dinamo, brest\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (team VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What team plays at Spartak, Mogilev?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_26 WHERE venue = \"spartak, mogilev\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (producer_director VARCHAR, film VARCHAR)"
},
{
"from": "human",
"value": "Who was the Producer/Director of Fear Beneath?"
},
{
"from": "gpt",
"value": "SELECT producer_director FROM table_name_40 WHERE film = \"fear beneath\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (film VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What film was released in 1996?"
},
{
"from": "gpt",
"value": "SELECT film FROM table_name_76 WHERE year = 1996"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (producer_director VARCHAR, film VARCHAR)"
},
{
"from": "human",
"value": "Who is the Producer/Director of Political Engagement?"
},
{
"from": "gpt",
"value": "SELECT producer_director FROM table_name_67 WHERE film = \"politica... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (original_airdate VARCHAR, writer_s_ VARCHAR, episode VARCHAR)"
},
{
"from": "human",
"value": "What is the original airdate for episode 7-17 (195) from writer Sidney Slon?"
},
{
"from": "gpt",
"value": "SELECT original_airdate ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (date VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the tournament played in Madrid, Spain?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_90 WHERE tournament = \"madrid, spain\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (opponent VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What opponent has final as the round?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_34 WHERE round = \"final\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (round VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What round has hereford united as the opponent?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_50 WHERE opponent = \"hereford united\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (location___state VARCHAR, winner VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which Location /State has a Winner of craig lowndes, and a Date of 29–31 may?"
},
{
"from": "gpt",
"value": "SELECT location___state FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (team VARCHAR, winner VARCHAR, circuit VARCHAR)"
},
{
"from": "human",
"value": "Which Team has a Winner of craig lowndes, and a Circuit of phillip island grand prix circuit?"
},
{
"from": "gpt",
"value": "SELECT team FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (location___state VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which Location/ State has a Date of 29–31 may?"
},
{
"from": "gpt",
"value": "SELECT location___state FROM table_name_36 WHERE date = \"29–31 may\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (winner VARCHAR, circuit VARCHAR)"
},
{
"from": "human",
"value": "Who won at the Circuit of lakeside international raceway?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_name_89 WHERE circuit = \"lakeside internation... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (service_charge VARCHAR, number_made VARCHAR)"
},
{
"from": "human",
"value": "What is the service charge of the boat howitzers with 456 made?"
},
{
"from": "gpt",
"value": "SELECT service_charge FROM table_name_38 WHERE number... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (service_charge VARCHAR, designation VARCHAR)"
},
{
"from": "human",
"value": "What is the service chage of the boat howitzers with a 12-pdr light destination?"
},
{
"from": "gpt",
"value": "SELECT service_charge FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (service_charge VARCHAR, number_made VARCHAR)"
},
{
"from": "human",
"value": "What is the service charge of the boat howitzers with 1009 made?"
},
{
"from": "gpt",
"value": "SELECT service_charge FROM table_name_9 WHERE number_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (bore VARCHAR, designation VARCHAR)"
},
{
"from": "human",
"value": "What is the bore of the boat howitzers with a 12-pdr heavy designation?"
},
{
"from": "gpt",
"value": "SELECT bore FROM table_name_8 WHERE designation = \"12-p... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (attendance VARCHAR, tie_no VARCHAR)"
},
{
"from": "human",
"value": "Which attendance has 9 as the tie no.?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_43 WHERE tie_no = 9"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (pick__number VARCHAR, position VARCHAR, overall VARCHAR)"
},
{
"from": "human",
"value": "How many Picks have a Position of defensive end, and an Overall smaller than 33?"
},
{
"from": "gpt",
"value": "SELECT COUNT(pick__numbe... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (overall INTEGER, name VARCHAR, pick__number VARCHAR)"
},
{
"from": "human",
"value": "Which Overall is the highest one that has a Name of gregory spann, and a Pick # larger than 19?"
},
{
"from": "gpt",
"value": "SELECT MAX(ove... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (pick__number INTEGER, overall VARCHAR, name VARCHAR, round VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "Which Pick # has a Round larger than 5, and a Position of wide receiver, and a Name of gregory spann, and an Overall la... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (score VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What is the score from the 21-27 Record?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_96 WHERE record = \"21-27\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (attendance VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "How many people attended the May 28 game?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_99 WHERE date = \"may 28\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (drawn INTEGER, points VARCHAR, played VARCHAR)"
},
{
"from": "human",
"value": "What is the average drawn number of the team with less than 70 points and less than 46 played?"
},
{
"from": "gpt",
"value": "SELECT AVG(drawn) FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (position INTEGER, lost VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "What is the highest position of the team with 24 lost and a drawn greater than 9?"
},
{
"from": "gpt",
"value": "SELECT MAX(position) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (points INTEGER, game VARCHAR, april VARCHAR)"
},
{
"from": "human",
"value": "How many Points has a Game of 82 and a April larger than 10?"
},
{
"from": "gpt",
"value": "SELECT AVG(points) FROM table_name_11 WHERE game = 82 AN... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (game VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "How many Games have a Score of 3–3 ot?"
},
{
"from": "gpt",
"value": "SELECT COUNT(game) FROM table_name_98 WHERE score = \"3–3 ot\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (april INTEGER, game VARCHAR)"
},
{
"from": "human",
"value": "Which April has a Game of 84"
},
{
"from": "gpt",
"value": "SELECT MAX(april) FROM table_name_54 WHERE game = 84"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (played VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "what's the played status when the club was banwen rfc?"
},
{
"from": "gpt",
"value": "SELECT played FROM table_name_88 WHERE club = \"banwen rfc\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (points_for VARCHAR, points_against VARCHAR)"
},
{
"from": "human",
"value": "what's the points total when points against was points against?"
},
{
"from": "gpt",
"value": "SELECT points_for FROM table_name_8 WHERE points_agains... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (lost VARCHAR, points VARCHAR, points_against VARCHAR)"
},
{
"from": "human",
"value": "when points were 36 and points against 489 what is the lost?"
},
{
"from": "gpt",
"value": "SELECT lost FROM table_name_58 WHERE points = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (lost VARCHAR, points_against VARCHAR)"
},
{
"from": "human",
"value": "when points against was 387 what was the lost?"
},
{
"from": "gpt",
"value": "SELECT lost FROM table_name_8 WHERE points_against = \"387\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (points VARCHAR, points_for VARCHAR)"
},
{
"from": "human",
"value": "when points for was points for what was the points?"
},
{
"from": "gpt",
"value": "SELECT points FROM table_name_86 WHERE points_for = \"points for\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (pick VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What was 1948's pick?"
},
{
"from": "gpt",
"value": "SELECT pick FROM table_name_72 WHERE year = 1948"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (pick VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What was the pick in 2004?"
},
{
"from": "gpt",
"value": "SELECT pick FROM table_name_24 WHERE year = 2004"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (year VARCHAR, college VARCHAR, pick VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "How many years have a Pick of 12, and a Position of dt, and a College of penn state?"
},
{
"from": "gpt",
"value": "SELECT COUNT(y... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (scoring_average VARCHAR, wins INTEGER)"
},
{
"from": "human",
"value": "What is the scoring average where the wins are 0?"
},
{
"from": "gpt",
"value": "SELECT COUNT(scoring_average) FROM table_name_56 WHERE wins < 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (year INTEGER, earnings__$_ VARCHAR)"
},
{
"from": "human",
"value": "What year has earnings of $557,158?"
},
{
"from": "gpt",
"value": "SELECT MAX(year) FROM table_name_25 WHERE earnings__$_ = \"557,158\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (points INTEGER, opponent VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "Which Points have an Opponent of @ florida panthers, and a Game larger than 58?"
},
{
"from": "gpt",
"value": "SELECT MIN(points) FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (february INTEGER, game VARCHAR)"
},
{
"from": "human",
"value": "Which February has a Game of 64?"
},
{
"from": "gpt",
"value": "SELECT AVG(february) FROM table_name_77 WHERE game = 64"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (points INTEGER, february VARCHAR, game VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which Points have a Game smaller than 60, and a Score of 2–0, and a February larger than 1?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (game INTEGER, february VARCHAR)"
},
{
"from": "human",
"value": "Which Game is the highest one that has a February of 25?"
},
{
"from": "gpt",
"value": "SELECT MAX(game) FROM table_name_96 WHERE february = 25"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (game INTEGER, score VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Which Game is the highest one that has a Score of 3–4 ot, and Points larger than 75?"
},
{
"from": "gpt",
"value": "SELECT MAX(game) FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (february VARCHAR, score VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "How much February has a Score of 5–2, and Points of 70?"
},
{
"from": "gpt",
"value": "SELECT COUNT(february) FROM table_name_44 WHERE score = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (result VARCHAR, week VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which result happened more recently than week 2, and had a date of November 30, 1958?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_98... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (album VARCHAR, length VARCHAR)"
},
{
"from": "human",
"value": "what album is 4:30 long"
},
{
"from": "gpt",
"value": "SELECT album FROM table_name_95 WHERE length = \"4:30\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (head_coach VARCHAR, town VARCHAR)"
},
{
"from": "human",
"value": "What is the Head Coach of Novy Urengoy?"
},
{
"from": "gpt",
"value": "SELECT head_coach FROM table_name_43 WHERE town = \"novy urengoy\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (arena__capacity_ VARCHAR, town VARCHAR)"
},
{
"from": "human",
"value": "What is the Arena o Kazan?"
},
{
"from": "gpt",
"value": "SELECT arena__capacity_ FROM table_name_19 WHERE town = \"kazan\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (website VARCHAR, head_coach VARCHAR)"
},
{
"from": "human",
"value": "What is the Website of Head Coach Yuriy Korotkevich?"
},
{
"from": "gpt",
"value": "SELECT website FROM table_name_49 WHERE head_coach = \"yuriy korotkevich... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (surface VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "Opponents of sebastián decoud santiago giraldo had what surface?"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_name_71 WHERE opponents = \"sebasti... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.