conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (nominated_work VARCHAR, year INTEGER)"
},
{
"from": "human",
"value": "What was the Nominated Work earlier than 2003?"
},
{
"from": "gpt",
"value": "SELECT nominated_work FROM table_name_95 WHERE year < 2003"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (method VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "Which method's event was flawless fighting championship 1: the beginning?"
},
{
"from": "gpt",
"value": "SELECT method FROM table_name_42 WHERE event = \"flawless... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (method VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "Which method's opponent was chris clark?"
},
{
"from": "gpt",
"value": "SELECT method FROM table_name_11 WHERE opponent = \"chris clark\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (record VARCHAR, round VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "Which record's round was 3 when the event was fight festival 27?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_19 WHERE round = 3 AN... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (fourth_place VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the Fourth place with a Year that is 1978?"
},
{
"from": "gpt",
"value": "SELECT fourth_place FROM table_name_58 WHERE year = 1978"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (fourth_place VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the Fourth place with a Year that is 1966?"
},
{
"from": "gpt",
"value": "SELECT fourth_place FROM table_name_11 WHERE year = 1966"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (champion VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the Champion with a Year that is 2008?"
},
{
"from": "gpt",
"value": "SELECT champion FROM table_name_65 WHERE year = 2008"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (opponent VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent for the game played on September 19, 1994?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_15 WHERE date = \"september 19, 19... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (week VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "In which week was attendance at 50,814?"
},
{
"from": "gpt",
"value": "SELECT COUNT(week) FROM table_name_10 WHERE attendance = \"50,814\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (date VARCHAR, week VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What date after Week 6 was a Bye?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_34 WHERE week > 6 AND attendance = \"bye\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (subjunctive VARCHAR, inverse_subjunctive VARCHAR)"
},
{
"from": "human",
"value": "What subjunctive also has an inverse subjunctive of måchadns?"
},
{
"from": "gpt",
"value": "SELECT subjunctive FROM table_name_85 WHERE invers... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (imperative VARCHAR, måcha VARCHAR)"
},
{
"from": "human",
"value": "What imperative has måcha as 3.sg?"
},
{
"from": "gpt",
"value": "SELECT imperative FROM table_name_94 WHERE måcha = \"3.sg\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (inverse_subjunctive VARCHAR, indicative VARCHAR)"
},
{
"from": "human",
"value": "The indicative of si måchan has what as the inverse subjunctive?"
},
{
"from": "gpt",
"value": "SELECT inverse_subjunctive FROM table_name_8 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (inverse_subjunctive VARCHAR, imperative VARCHAR, subjunctive VARCHAR)"
},
{
"from": "human",
"value": "What inverse subjunctive has — as the imperative and a subjunctive of se måchadn?"
},
{
"from": "gpt",
"value": "SELECT inve... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (imperative VARCHAR, subjunctive VARCHAR)"
},
{
"from": "human",
"value": "With a subjunctive of du måchast what is the imperative?"
},
{
"from": "gpt",
"value": "SELECT imperative FROM table_name_37 WHERE subjunctive = \"du må... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (subjunctive VARCHAR, indicative VARCHAR)"
},
{
"from": "human",
"value": "What subjunctive has the indicative of se måchan(t)?"
},
{
"from": "gpt",
"value": "SELECT subjunctive FROM table_name_77 WHERE indicative = \"se måchan... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (win__percentage INTEGER, span VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "What is the Win % in the Span of 2011–2013 with a Lost of less than 1?"
},
{
"from": "gpt",
"value": "SELECT AVG(win__percentage) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (tied VARCHAR, span VARCHAR, win__percentage VARCHAR)"
},
{
"from": "human",
"value": "How many games were Tied during the Span of 2011–2013 with a less than 80% Win %?"
},
{
"from": "gpt",
"value": "SELECT COUNT(tied) FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (date_of_issue VARCHAR, place_of_issue VARCHAR)"
},
{
"from": "human",
"value": "On what date were sheets issued in Tallahassee, Florida?"
},
{
"from": "gpt",
"value": "SELECT date_of_issue FROM table_name_40 WHERE place_of_iss... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (printer VARCHAR, date_of_issue VARCHAR)"
},
{
"from": "human",
"value": "Which printer issued sheets on October 5, 2006?"
},
{
"from": "gpt",
"value": "SELECT printer FROM table_name_79 WHERE date_of_issue = \"october 5, 2006\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (silver INTEGER, bronze VARCHAR, nation VARCHAR)"
},
{
"from": "human",
"value": "What is the least amount of silver medals won by Total with more than 1 bronze and more than 18 total medals won?"
},
{
"from": "gpt",
"value": "S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (position VARCHAR, played VARCHAR, against VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "How many positions have points against less than 28, americano-sp as the team, with a played greater than 8?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (lost VARCHAR, against INTEGER)"
},
{
"from": "human",
"value": "How many losses have points against less than 15?"
},
{
"from": "gpt",
"value": "SELECT COUNT(lost) FROM table_name_1 WHERE against < 15"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (played INTEGER, against INTEGER)"
},
{
"from": "human",
"value": "What average played has an against less than 15?"
},
{
"from": "gpt",
"value": "SELECT AVG(played) FROM table_name_40 WHERE against < 15"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (lost VARCHAR, position VARCHAR, played VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "How many losses have a played greater than 8, ypiranga-sp as the team, with a position greater than 5?"
},
{
"from": "gpt",
"value"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (lost VARCHAR, against VARCHAR, position VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "What lost has a position greater than 2, a drawn greater than 0, with an against greater than 15?"
},
{
"from": "gpt",
"value": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (asian_or_amerindian___percentage_ INTEGER, state VARCHAR, brown___percentage_ VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of Asian or Amerindian (%), when State is Sergipe, and when Brown (%) is greater than 61,3?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (points VARCHAR, lost VARCHAR, match VARCHAR)"
},
{
"from": "human",
"value": "How many points were there when there more than 6 losses and less than 14 matches?"
},
{
"from": "gpt",
"value": "SELECT COUNT(points) FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (lost INTEGER, points INTEGER)"
},
{
"from": "human",
"value": "How few losses were the least number of losses and points higher than 23?"
},
{
"from": "gpt",
"value": "SELECT MIN(lost) FROM table_name_67 WHERE points > 23"
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (match INTEGER, points VARCHAR, draw VARCHAR)"
},
{
"from": "human",
"value": "What is the highest number of matches with more than 18 points and more than 1 draw?"
},
{
"from": "gpt",
"value": "SELECT MAX(match) FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (champion VARCHAR, runner_up VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Who was the champion in the game played at the St. Andrews Links with Dick Chapman as the runner-up?"
},
{
"from": "gpt",
"value": "SELECT ch... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (score VARCHAR, venue VARCHAR, champion VARCHAR)"
},
{
"from": "human",
"value": "What is the score of the match won by Willie Hunter at the Royal Liverpool Golf Club?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (runner_up VARCHAR, country VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What player from England was the runner-up at the match played at the Royal Porthcawl Golf Club?"
},
{
"from": "gpt",
"value": "SELECT runner_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (champion VARCHAR, runner_up VARCHAR)"
},
{
"from": "human",
"value": "Who was the champion in the match where C.A. Palmer was the runner-up?"
},
{
"from": "gpt",
"value": "SELECT champion FROM table_name_80 WHERE runner_up = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (champion VARCHAR, runner_up VARCHAR)"
},
{
"from": "human",
"value": "What player was the champion in the match where E.A. Lassen was the runner-up?"
},
{
"from": "gpt",
"value": "SELECT champion FROM table_name_60 WHERE runne... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (score VARCHAR, runner_up VARCHAR, country VARCHAR, champion VARCHAR)"
},
{
"from": "human",
"value": "What is the score of the match played in England where Peter McEvoy was the champion and Paul McKellar was runner-up?"
},
{
"fro... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (federal_state VARCHAR, representatives_of_national_average VARCHAR)"
},
{
"from": "human",
"value": "Which federal state has 6 representatives of national average?"
},
{
"from": "gpt",
"value": "SELECT federal_state FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (population__on_the_census_also_called_censo_2010_ VARCHAR, deputies_required_ignoring_the_limits INTEGER)"
},
{
"from": "human",
"value": "According to the 2010 census, what was the population for the federal state that had less than -6 d... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (block INTEGER, height VARCHAR, spike VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest number of blocks for players with height of 206 and more than 356 spikes?"
},
{
"from": "gpt",
"value": "SELECT MIN(block) FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (weight VARCHAR, block VARCHAR, spike VARCHAR)"
},
{
"from": "human",
"value": "What is the number of weight values associated with 340 blocks and more than 353 spikes?"
},
{
"from": "gpt",
"value": "SELECT COUNT(weight) FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (award VARCHAR, actor VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What award did Forest Whitaker win in 1989?"
},
{
"from": "gpt",
"value": "SELECT award FROM table_name_54 WHERE actor = \"forest whitaker\" AND year... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (motion_picture VARCHAR, year VARCHAR, award VARCHAR, actor VARCHAR)"
},
{
"from": "human",
"value": "For what motion picture did Samuel L. Jackson win the best supporting actor award before 1997?"
},
{
"from": "gpt",
"value": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (actor VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Which actor won in 1966?"
},
{
"from": "gpt",
"value": "SELECT actor FROM table_name_43 WHERE year = 1966"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (influence INTEGER, inhabitants_per_mep VARCHAR, population_millions VARCHAR, meps VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest influence with population in the millions less than 60.64, and MEPs less than 22, and 454,059 i... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (population_millions INTEGER, influence VARCHAR)"
},
{
"from": "human",
"value": "What is the highest population in the millions that has an influence of 1.02?"
},
{
"from": "gpt",
"value": "SELECT MAX(population_millions) FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (population_millions INTEGER, inhabitants_per_mep VARCHAR, member_state VARCHAR, influence VARCHAR, meps VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of the population in millions that has an influence less than 2.91, a MEP sm... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (inhabitants_per_mep INTEGER, population_millions VARCHAR, meps VARCHAR, member_state VARCHAR)"
},
{
"from": "human",
"value": "What is the highest number of inhabitants per MEP that has MEPs larger than 50, a member of Germany, and a popu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (world_rank VARCHAR, year VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "Which World Rank has a Year smaller than 1977, and a Location of eugene?"
},
{
"from": "gpt",
"value": "SELECT world_rank FROM table_name_81 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (year INTEGER, world_rank VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What's the lowest Year with a World Rank of 5th, with a Result greater than 20.31?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (year INTEGER, result VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "Which Year has a Result smaller than 20.26, and a Location of eugene?"
},
{
"from": "gpt",
"value": "SELECT SUM(year) FROM table_name_80 WHERE re... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (result VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What is the Result with a Location of brussels?"
},
{
"from": "gpt",
"value": "SELECT COUNT(result) FROM table_name_96 WHERE location = \"brussels\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (year INTEGER, result VARCHAR, world_rank VARCHAR)"
},
{
"from": "human",
"value": "What Year has a Result smaller than 20.31, and a World Rank of 5th?"
},
{
"from": "gpt",
"value": "SELECT AVG(year) FROM table_name_64 WHERE re... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (record VARCHAR, home VARCHAR)"
},
{
"from": "human",
"value": "What is the record when the Nuggets are the home team?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_33 WHERE home = \"nuggets\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (points INTEGER, races INTEGER)"
},
{
"from": "human",
"value": "What is the lowest number of points for Drivers that have raced in more than 16 Races?"
},
{
"from": "gpt",
"value": "SELECT MIN(points) FROM table_name_35 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (races INTEGER, points INTEGER)"
},
{
"from": "human",
"value": "What is the least number of Races for a Racer with less than 0 Points?"
},
{
"from": "gpt",
"value": "SELECT MIN(races) FROM table_name_31 WHERE points < 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (year INTEGER, drivers VARCHAR, poles VARCHAR, fast_laps VARCHAR)"
},
{
"from": "human",
"value": "What is the average Year during which the Driver Adrian Quaife-Hobbs has fewer than 2 Poles, and 0 Fast laps?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (city_of_license__market VARCHAR, station VARCHAR)"
},
{
"from": "human",
"value": "Which city contains the KPIX station?"
},
{
"from": "gpt",
"value": "SELECT city_of_license__market FROM table_name_96 WHERE station = \"kpix\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (station VARCHAR, channel_tv___dt__ VARCHAR)"
},
{
"from": "human",
"value": "Which station has channel TV (DT) of 3 (26)?"
},
{
"from": "gpt",
"value": "SELECT station FROM table_name_74 WHERE channel_tv___dt__ = \"3 (26)\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (current_affiliation VARCHAR, years_owned VARCHAR)"
},
{
"from": "human",
"value": "What is the current affiliation when the years owned is between 1955–1995?"
},
{
"from": "gpt",
"value": "SELECT current_affiliation FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (city_of_license__market VARCHAR, station VARCHAR)"
},
{
"from": "human",
"value": "What is the city containing the KDKA-TV station?"
},
{
"from": "gpt",
"value": "SELECT city_of_license__market FROM table_name_61 WHERE station... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR)"
},
{
"from": "human",
"value": "Which Channel TV is located in Baltimore?"
},
{
"from": "gpt",
"value": "SELECT channel_tv___dt__ FROM table_name_88 WHERE city_of_li... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (play_offs INTEGER, fa_cup VARCHAR)"
},
{
"from": "human",
"value": "What is the least number of goals scored in the play-offs among the players that have scored 2 in the FA Cup?"
},
{
"from": "gpt",
"value": "SELECT MIN(play_o... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (fa_cup INTEGER, league VARCHAR, total VARCHAR, fa_trophy VARCHAR)"
},
{
"from": "human",
"value": "What is the average number of goals scored in the FA Cup among players that have more than 20 total goals, less than 1 FA Trophy goals, and... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (lat___lon VARCHAR, us_mission VARCHAR)"
},
{
"from": "human",
"value": "What is the latitude and longitude for Surveyor 3?"
},
{
"from": "gpt",
"value": "SELECT lat___lon FROM table_name_87 WHERE us_mission = \"surveyor 3\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (mass__kg_ INTEGER, landing_zone VARCHAR)"
},
{
"from": "human",
"value": "What is the largest mass for Tycho Crater?"
},
{
"from": "gpt",
"value": "SELECT MAX(mass__kg_) FROM table_name_59 WHERE landing_zone = \"tycho crater\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (field VARCHAR, commissioned VARCHAR)"
},
{
"from": "human",
"value": "What Field was Commissioned in 1958, 2005?"
},
{
"from": "gpt",
"value": "SELECT field FROM table_name_24 WHERE commissioned = \"1958, 2005\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (annual_generation__average_gwh_ VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the Annual Generation at Kawerau (Bope)?"
},
{
"from": "gpt",
"value": "SELECT annual_generation__average_gwh_ FROM table_name_83 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (name VARCHAR, capacity__mw_ VARCHAR)"
},
{
"from": "human",
"value": "What is the Name of the power station with a Capacity of 25 MW?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_9 WHERE capacity__mw_ = 25"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (name VARCHAR, field VARCHAR)"
},
{
"from": "human",
"value": "What is the Name of the power station in the Field of Mokai?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_22 WHERE field = \"mokai\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (goals VARCHAR, gp_gs VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "How many goals were scored in 2004 when the gp/gs was \"did not play\"?"
},
{
"from": "gpt",
"value": "SELECT goals FROM table_name_25 WHERE gp_gs = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (assists VARCHAR, total_points VARCHAR)"
},
{
"from": "human",
"value": "How many assists were there when the total points was 2?"
},
{
"from": "gpt",
"value": "SELECT assists FROM table_name_36 WHERE total_points = \"2\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (total_points VARCHAR, assists VARCHAR)"
},
{
"from": "human",
"value": "What was the total number of points when there were 7 assists?"
},
{
"from": "gpt",
"value": "SELECT total_points FROM table_name_98 WHERE assists = \"7\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (gp_gs VARCHAR, assists VARCHAR)"
},
{
"from": "human",
"value": "What was the gp/gs when the assists was 1?"
},
{
"from": "gpt",
"value": "SELECT gp_gs FROM table_name_4 WHERE assists = \"1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (gp_gs VARCHAR, total_points VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "what was the gp/gs in 2003 when the total points was \"did not play\"?"
},
{
"from": "gpt",
"value": "SELECT gp_gs FROM table_name_96 WHERE to... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (outcome VARCHAR, partner VARCHAR)"
},
{
"from": "human",
"value": "What was the outcome for Jan Pisecky and his partner?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_name_32 WHERE partner = \"jan pisecky\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (player VARCHAR, weight VARCHAR)"
},
{
"from": "human",
"value": "What player weight 235?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_29 WHERE weight = 235"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (height VARCHAR, pos VARCHAR, weight VARCHAR)"
},
{
"from": "human",
"value": "What is the height of the F who weighs less than 195?"
},
{
"from": "gpt",
"value": "SELECT height FROM table_name_82 WHERE pos = \"f\" AND weight <... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (team VARCHAR, pos VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What team does F Trey Gilder play for?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_63 WHERE pos = \"f\" AND player = \"trey gilder\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (player VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What player plays for the Dakota Wizards?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_73 WHERE team = \"dakota wizards\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (player VARCHAR, weight VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Which player who weighs 210 plays for the Reno Bighorns?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_68 WHERE weight = 210 AND tea... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (pos VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What position does Brian Butch play?"
},
{
"from": "gpt",
"value": "SELECT pos FROM table_name_40 WHERE player = \"brian butch\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (position VARCHAR, player VARCHAR, years_in_orlando VARCHAR)"
},
{
"from": "human",
"value": "Which Position has a Player of tyronn lue, and a Years in Orlando of 2003–2004?"
},
{
"from": "gpt",
"value": "SELECT position FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (school_club_team VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which School/Club Team has a Player of deandre liggins?"
},
{
"from": "gpt",
"value": "SELECT school_club_team FROM table_name_34 WHERE player = \"dean... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (position VARCHAR, years_in_orlando VARCHAR)"
},
{
"from": "human",
"value": "Which Position has a Years in Orlando of 1997–1998?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_68 WHERE years_in_orlando = \"1997... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (position VARCHAR, school_club_team VARCHAR)"
},
{
"from": "human",
"value": "Which Position has a School/Club Team of stanford?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_15 WHERE school_club_team = \"stanf... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (school_club_team VARCHAR, years_in_orlando VARCHAR)"
},
{
"from": "human",
"value": "Which School/Club Team has a Years in Orlando of 1997–1998?"
},
{
"from": "gpt",
"value": "SELECT school_club_team FROM table_name_92 WHERE y... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (position VARCHAR, years_in_orlando VARCHAR)"
},
{
"from": "human",
"value": "Which Position has a Years in Orlando of 2003–2004?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_55 WHERE years_in_orlando = \"2003... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (high_assists VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the High assists with a Date that is february 27?"
},
{
"from": "gpt",
"value": "SELECT high_assists FROM table_name_42 WHERE date = \"february 27\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (high_points VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the High points with a Game that is 56?"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_name_31 WHERE game = 56"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (distance VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "In what Distance has a Venue of sale?"
},
{
"from": "gpt",
"value": "SELECT distance FROM table_name_36 WHERE venue = \"sale\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (winner_2nd VARCHAR, jockey VARCHAR)"
},
{
"from": "human",
"value": "WHo is Winner/2nd that has c. symons?"
},
{
"from": "gpt",
"value": "SELECT winner_2nd FROM table_name_84 WHERE jockey = \"c. symons\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (race VARCHAR, jockey VARCHAR)"
},
{
"from": "human",
"value": "Which Race that Jockey of d. nikolic is in?"
},
{
"from": "gpt",
"value": "SELECT race FROM table_name_78 WHERE jockey = \"d. nikolic\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (result VARCHAR, distance VARCHAR, weight__kg_ VARCHAR)"
},
{
"from": "human",
"value": "Name The Result that has a Distance of 1200m, and a Weight (kg) of 55.5?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_5 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (previous_team VARCHAR, pos VARCHAR, nationality VARCHAR, nba_years_ VARCHAR, a_ VARCHAR)"
},
{
"from": "human",
"value": "What is the previous team of the United States player who had 2 NBA years and played the F position?"
},
{
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (team VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which Team has a Score of 108-107?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_82 WHERE score = \"108-107\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which Record has a Date of may 31?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_55 WHERE date = \"may 31\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (game VARCHAR, team VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which Game has a Team of at phoenix, and a Score of 107-119?"
},
{
"from": "gpt",
"value": "SELECT COUNT(game) FROM table_name_54 WHERE team = \"at ph... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (location_attendance VARCHAR, game INTEGER)"
},
{
"from": "human",
"value": "Which Location Attendance has a Game larger than 5?"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM table_name_32 WHERE game > 5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (team VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which Team has a Score of 89-123?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_40 WHERE score = \"89-123\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (game INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "What is the average Game with a Date that is june 14?"
},
{
"from": "gpt",
"value": "SELECT AVG(game) FROM table_name_24 WHERE date = \"june 14\""
}
] | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.