conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_16255245_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)"
},
{
"from": "human",
"value": "Name the original title for the counterfeiters"
},
{
"from": "gpt",
"value": "SELECT original_title FROM table_16255245_1 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16255245_1 (year__ceremony_ VARCHAR, original_title VARCHAR)"
},
{
"from": "human",
"value": "Name the year for spiele leben"
},
{
"from": "gpt",
"value": "SELECT year__ceremony_ FROM table_16255245_1 WHERE original_title = \"Spiele Le... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16255245_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)"
},
{
"from": "human",
"value": "Name the film title for wohin und zurück - welcome in vienna"
},
{
"from": "gpt",
"value": "SELECT film_title_used_in_nominatio... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278349_1 (language VARCHAR, province VARCHAR)"
},
{
"from": "human",
"value": "Name the language for kunar"
},
{
"from": "gpt",
"value": "SELECT language FROM table_16278349_1 WHERE province = \"Kunar\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278349_1 (notes VARCHAR, province VARCHAR)"
},
{
"from": "human",
"value": "Name the notes for samangan"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_16278349_1 WHERE province = \"Samangan\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278349_1 (un_region VARCHAR, population VARCHAR)"
},
{
"from": "human",
"value": "Name the un region for 3314000 population"
},
{
"from": "gpt",
"value": "SELECT un_region FROM table_16278349_1 WHERE population = 3314000"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278349_1 (area__km²_ VARCHAR, map__number VARCHAR)"
},
{
"from": "human",
"value": "Name the area for map # 24"
},
{
"from": "gpt",
"value": "SELECT area__km²_ FROM table_16278349_1 WHERE map__number = 24"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278349_1 (un_region VARCHAR, population VARCHAR)"
},
{
"from": "human",
"value": "Name the un region for 378000 population"
},
{
"from": "gpt",
"value": "SELECT un_region FROM table_16278349_1 WHERE population = 378000"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278825_1 (population VARCHAR, towns__villages VARCHAR)"
},
{
"from": "human",
"value": "NJame the total number of population for towns/villages for 217"
},
{
"from": "gpt",
"value": "SELECT COUNT(population) FROM table_16278825_1 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278825_1 (towns__villages VARCHAR, county_seat VARCHAR)"
},
{
"from": "human",
"value": "Name the towns/villages for budapest"
},
{
"from": "gpt",
"value": "SELECT towns__villages FROM table_16278825_1 WHERE county_seat = \"Budapest\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278825_1 (area__km²_ INTEGER, name_of_county VARCHAR)"
},
{
"from": "human",
"value": "Name the least area for vas"
},
{
"from": "gpt",
"value": "SELECT MIN(area__km²_) FROM table_16278825_1 WHERE name_of_county = \"Vas\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1628607_5 (points_won VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "When the year was 1992, what were the points won?"
},
{
"from": "gpt",
"value": "SELECT points_won FROM table_1628607_5 WHERE year = \"1992\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1628607_5 (points__percentage VARCHAR, foursomes_w_l_h VARCHAR)"
},
{
"from": "human",
"value": "When the foursome was w-l-h is 1–0–0 won w/ p. creamer 3&2, what was the points %?"
},
{
"from": "gpt",
"value": "SELECT points__percentag... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1628607_5 (foursomes_w_l_h VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What was the foursome's record in 2002?"
},
{
"from": "gpt",
"value": "SELECT foursomes_w_l_h FROM table_1628607_5 WHERE year = \"2002\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16279520_1 (length VARCHAR, release VARCHAR)"
},
{
"from": "human",
"value": "What was the length time of the 3.5 release?"
},
{
"from": "gpt",
"value": "SELECT length FROM table_16279520_1 WHERE release = \"3.5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16279520_1 (title VARCHAR, release VARCHAR)"
},
{
"from": "human",
"value": "What is the title of the 1.1 realease?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_16279520_1 WHERE release = \"1.1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16279520_1 (series VARCHAR, release VARCHAR)"
},
{
"from": "human",
"value": "Under what series was the 3.5 release?"
},
{
"from": "gpt",
"value": "SELECT series FROM table_16279520_1 WHERE release = \"3.5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16279520_1 (release VARCHAR, timeline VARCHAR)"
},
{
"from": "human",
"value": "What is the releases number under Season 2?"
},
{
"from": "gpt",
"value": "SELECT release FROM table_16279520_1 WHERE timeline = \"Season 2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278894_1 (capital VARCHAR, county VARCHAR)"
},
{
"from": "human",
"value": "What is the capital of Bungoma county?"
},
{
"from": "gpt",
"value": "SELECT capital FROM table_16278894_1 WHERE county = \"Bungoma\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278894_1 (capital VARCHAR, county VARCHAR)"
},
{
"from": "human",
"value": "What is the capital of Uasin Gishu county?"
},
{
"from": "gpt",
"value": "SELECT capital FROM table_16278894_1 WHERE county = \"Uasin Gishu\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278894_1 (former_province VARCHAR, area__km_2__ VARCHAR)"
},
{
"from": "human",
"value": "In what former province was the area 694.9 kilometers squared?"
},
{
"from": "gpt",
"value": "SELECT former_province FROM table_16278894_1 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278894_1 (area__km_2__ VARCHAR, population_census_2009 VARCHAR)"
},
{
"from": "human",
"value": "How many numbers were listed under area with a population of 240075 as of 2009?"
},
{
"from": "gpt",
"value": "SELECT COUNT(area__km_2__... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278894_1 (population_census_2009 VARCHAR, county VARCHAR)"
},
{
"from": "human",
"value": "What was the population in Kisumu county as of 2009?"
},
{
"from": "gpt",
"value": "SELECT population_census_2009 FROM table_16278894_1 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278894_1 (capital VARCHAR, population_census_2009 VARCHAR)"
},
{
"from": "human",
"value": "What capital's county had a population of 730129 as of 2009?"
},
{
"from": "gpt",
"value": "SELECT capital FROM table_16278894_1 WHERE popula... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1628792_1 (dates VARCHAR, margin_of_victory VARCHAR)"
},
{
"from": "human",
"value": "Name the dates for margin of victory being 5 strokes"
},
{
"from": "gpt",
"value": "SELECT COUNT(dates) FROM table_1628792_1 WHERE margin_of_victory ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1628792_1 (champion VARCHAR, tournament_location VARCHAR)"
},
{
"from": "human",
"value": "Name the champion for london hunt and country club ( london , on )"
},
{
"from": "gpt",
"value": "SELECT champion FROM table_1628792_1 WHERE to... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16323766_3 (evening_gown VARCHAR, interview VARCHAR)"
},
{
"from": "human",
"value": "What was the evening gown score for the woman who scored 7.600 (9) in her interview?"
},
{
"from": "gpt",
"value": "SELECT evening_gown FROM table_16... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16323766_3 (swimsuit VARCHAR, semifinal_average VARCHAR)"
},
{
"from": "human",
"value": "What was the swimsuit score for the one who had a semifinal average of 8.759 (5)?"
},
{
"from": "gpt",
"value": "SELECT swimsuit FROM table_16323... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16323766_3 (evening_gown VARCHAR, preliminary_average VARCHAR)"
},
{
"from": "human",
"value": "What was the evening gown score for the one who had a preliminary average of 8.121 (8)?"
},
{
"from": "gpt",
"value": "SELECT evening_gown ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16323766_3 (preliminary_average VARCHAR, semifinal_average VARCHAR)"
},
{
"from": "human",
"value": "What was the preliminary average for the one who had a semifinal average of 8.966 (3)?"
},
{
"from": "gpt",
"value": "SELECT prelimina... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16323766_3 (preliminary_average VARCHAR, state VARCHAR)"
},
{
"from": "human",
"value": "What was the preliminary average for Miss Mississippi?"
},
{
"from": "gpt",
"value": "SELECT preliminary_average FROM table_16323766_3 WHERE state... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16323766_3 (preliminary_average VARCHAR, state VARCHAR)"
},
{
"from": "human",
"value": "What was the preliminary average for Miss Maryland?"
},
{
"from": "gpt",
"value": "SELECT preliminary_average FROM table_16323766_3 WHERE state = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16331025_2 (dates__mdy_ VARCHAR, gross_sales VARCHAR)"
},
{
"from": "human",
"value": "What day was the gross sales $1,271,451?"
},
{
"from": "gpt",
"value": "SELECT dates__mdy_ FROM table_16331025_2 WHERE gross_sales = \"$1,271,451\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16331025_2 (sellout___percentage_ VARCHAR, gross_sales VARCHAR)"
},
{
"from": "human",
"value": "What is the sellout % when the gross sales is $1,727,400?"
},
{
"from": "gpt",
"value": "SELECT sellout___percentage_ FROM table_16331025_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16331025_2 (dates__mdy_ VARCHAR, position VARCHAR, sellout___percentage_ VARCHAR)"
},
{
"from": "human",
"value": "Who many dates are in position 9 and the sellout is 81%?"
},
{
"from": "gpt",
"value": "SELECT COUNT(dates__mdy_) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16331025_2 (tickets_sold___available VARCHAR, sellout___percentage_ VARCHAR)"
},
{
"from": "human",
"value": "What is the position of tickets sold/available when the sellout is 82%?"
},
{
"from": "gpt",
"value": "SELECT COUNT(tickets_s... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16337329_5 (probable_future VARCHAR, imperative VARCHAR)"
},
{
"from": "human",
"value": "Name the probably futures for गरेस् gares 'may you do'"
},
{
"from": "gpt",
"value": "SELECT probable_future FROM table_16337329_5 WHERE imperati... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16337329_5 (imperative VARCHAR, past_habitual VARCHAR)"
},
{
"from": "human",
"value": "Name the imperative for गरिस् garis 'you did'"
},
{
"from": "gpt",
"value": "SELECT imperative FROM table_16337329_5 WHERE past_habitual = \"गरिस्... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16337329_5 (past_habitual VARCHAR, probable_future VARCHAR)"
},
{
"from": "human",
"value": "Name the past habitual for गर्छस् garchas 'you (will) do'"
},
{
"from": "gpt",
"value": "SELECT past_habitual FROM table_16337329_5 WHERE prob... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16337329_5 (past_habitual VARCHAR, probable_future VARCHAR)"
},
{
"from": "human",
"value": "Name the past habitual for गर्छ garcha 'he does'"
},
{
"from": "gpt",
"value": "SELECT past_habitual FROM table_16337329_5 WHERE probable_fut... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16337329_5 (injunctive VARCHAR, past_habitual VARCHAR)"
},
{
"from": "human",
"value": "Name the injunctive for गर्यो garyo 'he did'"
},
{
"from": "gpt",
"value": "SELECT injunctive FROM table_16337329_5 WHERE past_habitual = \"गर्यो g... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637041_2 (winnings VARCHAR, avg_finish VARCHAR)"
},
{
"from": "human",
"value": "How many years did he have an average finish of 29.2?"
},
{
"from": "gpt",
"value": "SELECT COUNT(winnings) FROM table_1637041_2 WHERE avg_finish = \"29.... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637041_2 (avg_start VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "How many years did he finish in 59th?"
},
{
"from": "gpt",
"value": "SELECT COUNT(avg_start) FROM table_1637041_2 WHERE position = \"59th\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637041_2 (starts VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "How many instances do you see the year 2003?"
},
{
"from": "gpt",
"value": "SELECT COUNT(starts) FROM table_1637041_2 WHERE year = 2003"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637041_2 (top_10 INTEGER, position VARCHAR)"
},
{
"from": "human",
"value": "What is the maximum number of top 10s when he finished in 63rd?"
},
{
"from": "gpt",
"value": "SELECT MAX(top_10) FROM table_1637041_2 WHERE position = \"63r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637041_2 (avg_start VARCHAR, winnings VARCHAR)"
},
{
"from": "human",
"value": "What are the average start(s) when he had $1,663,868?"
},
{
"from": "gpt",
"value": "SELECT avg_start FROM table_1637041_2 WHERE winnings = \"$1,663,868\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637041_6 (position VARCHAR, avg_start VARCHAR)"
},
{
"from": "human",
"value": "What was the position in the season when the average start is 9.2?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_1637041_6 WHERE avg_start = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637041_6 (avg_start VARCHAR, winnings VARCHAR)"
},
{
"from": "human",
"value": "What is the average start for the season with $7,220 in winnings?"
},
{
"from": "gpt",
"value": "SELECT avg_start FROM table_1637041_6 WHERE winnings = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637041_6 (winnings VARCHAR, avg_finish VARCHAR)"
},
{
"from": "human",
"value": "What are the winnings for the season where the average finish is 11.1?"
},
{
"from": "gpt",
"value": "SELECT winnings FROM table_1637041_6 WHERE avg_fini... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637041_6 (wins INTEGER, starts VARCHAR)"
},
{
"from": "human",
"value": "What is the maximum number of wins in the season with 22 starts?"
},
{
"from": "gpt",
"value": "SELECT MAX(wins) FROM table_1637041_6 WHERE starts = 22"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16372244_1 (all_games VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What is the all games for Maryland?"
},
{
"from": "gpt",
"value": "SELECT all_games FROM table_16372244_1 WHERE team = \"Maryland\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637981_7 (kalamazoo__azo_ VARCHAR, saginaw__mbs_ VARCHAR)"
},
{
"from": "human",
"value": "What is the fare to Kalamazoo during the time frame when Saginaw's was $481.39?"
},
{
"from": "gpt",
"value": "SELECT kalamazoo__azo_ FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637981_7 (detroit__dtw_ VARCHAR, lansing__lan_ VARCHAR)"
},
{
"from": "human",
"value": "When Lansing's fare is $433.59, what is the Detroit fare?"
},
{
"from": "gpt",
"value": "SELECT detroit__dtw_ FROM table_1637981_7 WHERE lansing_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637981_7 (lansing__lan_ VARCHAR, saginaw__mbs_ VARCHAR)"
},
{
"from": "human",
"value": "At a Saginaw fare of $470.47, what is the fare to Lansing?"
},
{
"from": "gpt",
"value": "SELECT lansing__lan_ FROM table_1637981_7 WHERE saginaw... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637981_7 (kalamazoo__azo_ VARCHAR, lansing__lan_ VARCHAR)"
},
{
"from": "human",
"value": "During the year when Lansing's fare is $433.59, what is the fare to Kalamazoo?"
},
{
"from": "gpt",
"value": "SELECT kalamazoo__azo_ FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637981_7 (grand_rapids__grr_ VARCHAR, saginaw__mbs_ VARCHAR)"
},
{
"from": "human",
"value": "When Saginaw's fare is $470.47, what was the fare to Grand Rapids?"
},
{
"from": "gpt",
"value": "SELECT grand_rapids__grr_ FROM table_16379... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1637981_7 (detroit__dtw_ VARCHAR, grand_rapids__grr_ VARCHAR)"
},
{
"from": "human",
"value": "When Grand Rapids's fare was $377.29, what is the fare to Detroit?"
},
{
"from": "gpt",
"value": "SELECT detroit__dtw_ FROM table_1637981_7 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16383772_1 (enrollment INTEGER, school VARCHAR)"
},
{
"from": "human",
"value": "Name the maximum enrollment for niagara university"
},
{
"from": "gpt",
"value": "SELECT MAX(enrollment) FROM table_16383772_1 WHERE school = \"Niagara Un... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16383772_1 (primary_conference VARCHAR, school VARCHAR)"
},
{
"from": "human",
"value": "Name the primary conference for st. bonaventure university"
},
{
"from": "gpt",
"value": "SELECT primary_conference FROM table_16383772_1 WHERE sc... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16383772_1 (nickname VARCHAR, school VARCHAR)"
},
{
"from": "human",
"value": "Name the total number of nicknames for st. bonaventure university"
},
{
"from": "gpt",
"value": "SELECT COUNT(nickname) FROM table_16383772_1 WHERE school =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16383772_1 (affiliation VARCHAR, enrollment VARCHAR)"
},
{
"from": "human",
"value": "Name the total number of affiliation for enrollment being 14898"
},
{
"from": "gpt",
"value": "SELECT COUNT(affiliation) FROM table_16383772_1 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16372911_1 (acc_home VARCHAR, acc__percentage VARCHAR)"
},
{
"from": "human",
"value": "what was the ACC home game record for the team who's ACC winning percentage was .813?"
},
{
"from": "gpt",
"value": "SELECT acc_home FROM table_163... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16384596_4 (written_by VARCHAR, broadcast_order VARCHAR)"
},
{
"from": "human",
"value": "Who wrote the episode for s02 e07?"
},
{
"from": "gpt",
"value": "SELECT written_by FROM table_16384596_4 WHERE broadcast_order = \"S02 E07\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16384596_4 (directed_by VARCHAR, broadcast_order VARCHAR)"
},
{
"from": "human",
"value": "Who directed the episode for s02 e08?"
},
{
"from": "gpt",
"value": "SELECT directed_by FROM table_16384596_4 WHERE broadcast_order = \"S02 E08\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16384596_4 (directed_by VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "Who directed the episode with the production code 209?"
},
{
"from": "gpt",
"value": "SELECT directed_by FROM table_16384596_4 WHERE production_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16384648_2 (institution VARCHAR, team_nickname VARCHAR)"
},
{
"from": "human",
"value": "How many schools have the team nickname bobcats? "
},
{
"from": "gpt",
"value": "SELECT COUNT(institution) FROM table_16384648_2 WHERE team_nickna... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16384648_2 (location VARCHAR, team_nickname VARCHAR)"
},
{
"from": "human",
"value": "Which city has the team nickname bearcats? "
},
{
"from": "gpt",
"value": "SELECT location FROM table_16384648_2 WHERE team_nickname = \"Bearcats\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16384648_2 (joined_tschl VARCHAR, institution VARCHAR)"
},
{
"from": "human",
"value": "What year did the university of Pittsburgh school join the hockey league? "
},
{
"from": "gpt",
"value": "SELECT joined_tschl FROM table_16384648_2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16384648_2 (joined_tschl INTEGER)"
},
{
"from": "human",
"value": "What's the earliest year anybody joined the hockey league? "
},
{
"from": "gpt",
"value": "SELECT MIN(joined_tschl) FROM table_16384648_2"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16384648_2 (location VARCHAR, team_website VARCHAR)"
},
{
"from": "human",
"value": "Which city has the cincinnati hockey website?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_16384648_2 WHERE team_website = \"Cincinnati H... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16384648_2 (capacity INTEGER, team_nickname VARCHAR)"
},
{
"from": "human",
"value": "For the flyers, what's the minimum capacity? "
},
{
"from": "gpt",
"value": "SELECT MIN(capacity) FROM table_16384648_2 WHERE team_nickname = \"Flyer... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1638437_2 (pinyin VARCHAR, simplified VARCHAR)"
},
{
"from": "human",
"value": "Name the number of pinyin where simplified is 河西区"
},
{
"from": "gpt",
"value": "SELECT COUNT(pinyin) FROM table_1638437_2 WHERE simplified = \"河西区\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1638437_2 (pinyin VARCHAR, population VARCHAR)"
},
{
"from": "human",
"value": "Name the pinyin for where population is 44617"
},
{
"from": "gpt",
"value": "SELECT pinyin FROM table_1638437_2 WHERE population = 44617"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1638437_2 (pinyin VARCHAR, area VARCHAR)"
},
{
"from": "human",
"value": "Name the pinyin for 487 area"
},
{
"from": "gpt",
"value": "SELECT pinyin FROM table_1638437_2 WHERE area = \"487\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1638437_2 (traditional VARCHAR, population VARCHAR)"
},
{
"from": "human",
"value": "Name the traditional for population 74779"
},
{
"from": "gpt",
"value": "SELECT traditional FROM table_1638437_2 WHERE population = 74779"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1638437_2 (english_name VARCHAR, simplified VARCHAR)"
},
{
"from": "human",
"value": "Name the english name for 崖城镇"
},
{
"from": "gpt",
"value": "SELECT english_name FROM table_1638437_2 WHERE simplified = \"崖城镇\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16387700_1 (date VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "Name the date for richmond"
},
{
"from": "gpt",
"value": "SELECT date FROM table_16387700_1 WHERE away_team = \"Richmond\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16387700_1 (crowd INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "Name the most crowd for saturday 16 february"
},
{
"from": "gpt",
"value": "SELECT MAX(crowd) FROM table_16387700_1 WHERE date = \"Saturday 16 February\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16388230_1 (home_team VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What home team played the West Coast away team?"
},
{
"from": "gpt",
"value": "SELECT home_team FROM table_16388230_1 WHERE away_team = \"West Coast\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16388230_1 (date VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "How many days did Hawthorn play as a home team?"
},
{
"from": "gpt",
"value": "SELECT COUNT(date) FROM table_16388230_1 WHERE home_team = \"Hawthorn\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16388230_1 (ground VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "The away team of Richmond played on what grounds?"
},
{
"from": "gpt",
"value": "SELECT ground FROM table_16388230_1 WHERE away_team = \"Richmond\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16387953_1 (away_team VARCHAR, ground VARCHAR)"
},
{
"from": "human",
"value": "What was the away team's score at the venue football park?"
},
{
"from": "gpt",
"value": "SELECT away_team AS score FROM table_16387953_1 WHERE ground = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16387953_1 (home_team VARCHAR)"
},
{
"from": "human",
"value": "What are the scores for games where the home team is Adelaide?"
},
{
"from": "gpt",
"value": "SELECT home_team AS score FROM table_16387953_1 WHERE home_team = \"Adelaide\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16387953_1 (date VARCHAR, ground VARCHAR)"
},
{
"from": "human",
"value": "On what dates where games played at Football Park?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_16387953_1 WHERE ground = \"Football Park\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16387653_1 (home_team VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What was the home team score against Collingwood?"
},
{
"from": "gpt",
"value": "SELECT home_team AS score FROM table_16387653_1 WHERE away_team = \"Col... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16387653_1 (away_team VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "Who was the away team playing at Carlton?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_16387653_1 WHERE home_team = \"Carlton\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16387653_1 (home_team VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What did the home team score against Richmond?"
},
{
"from": "gpt",
"value": "SELECT home_team AS score FROM table_16387653_1 WHERE away_team = \"Richmo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16387653_1 (crowd INTEGER, away_team VARCHAR)"
},
{
"from": "human",
"value": "What was the maximum crowd size against St Kilda?"
},
{
"from": "gpt",
"value": "SELECT MAX(crowd) FROM table_16387653_1 WHERE away_team = \"St Kilda\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16387653_1 (home_team VARCHAR)"
},
{
"from": "human",
"value": "What to Footscray score at home?"
},
{
"from": "gpt",
"value": "SELECT home_team AS score FROM table_16387653_1 WHERE home_team = \"Footscray\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16388439_3 (date VARCHAR, ground VARCHAR)"
},
{
"from": "human",
"value": "Name the date for bundaberg rum stadium"
},
{
"from": "gpt",
"value": "SELECT date FROM table_16388439_3 WHERE ground = \"Bundaberg Rum Stadium\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16388439_3 (home_team VARCHAR)"
},
{
"from": "human",
"value": "Name the home team score for brisbane lions"
},
{
"from": "gpt",
"value": "SELECT home_team AS score FROM table_16388439_3 WHERE home_team = \"Brisbane Lions\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16388439_3 (home_team VARCHAR, ground VARCHAR)"
},
{
"from": "human",
"value": "Name the home team for football park"
},
{
"from": "gpt",
"value": "SELECT home_team FROM table_16388439_3 WHERE ground = \"Football Park\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16388439_3 (away_team VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "Name the away team score for carlton"
},
{
"from": "gpt",
"value": "SELECT away_team AS score FROM table_16388439_3 WHERE home_team = \"Carlton\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16388439_3 (date VARCHAR, home_team VARCHAR, ground VARCHAR)"
},
{
"from": "human",
"value": "Name the date for adelaide for westpac stadium"
},
{
"from": "gpt",
"value": "SELECT date FROM table_16388439_3 WHERE home_team = \"Adelaide\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16388439_1 (ground VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "Name the total number of ground for essendon"
},
{
"from": "gpt",
"value": "SELECT COUNT(ground) FROM table_16388439_1 WHERE home_team = \"Essendon\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16388439_1 (crowd INTEGER, away_team VARCHAR)"
},
{
"from": "human",
"value": "Name the most crowd for essendon"
},
{
"from": "gpt",
"value": "SELECT MAX(crowd) FROM table_16388439_1 WHERE away_team = \"Essendon\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16388439_2 (home_team VARCHAR, ground VARCHAR)"
},
{
"from": "human",
"value": "When ground is manuka oval what is the home team score?"
},
{
"from": "gpt",
"value": "SELECT COUNT(home_team) AS score FROM table_16388439_2 WHERE ground ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16388439_2 (away_team VARCHAR, crowd VARCHAR)"
},
{
"from": "human",
"value": "When the crowd was 8642 what was the away team's score?"
},
{
"from": "gpt",
"value": "SELECT away_team AS score FROM table_16388439_2 WHERE crowd = 8642"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16388545_1 (ground VARCHAR, crowd VARCHAR)"
},
{
"from": "human",
"value": "Which location had an attendance of 22537?"
},
{
"from": "gpt",
"value": "SELECT ground FROM table_16388545_1 WHERE crowd = 22537"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16388545_1 (away_team VARCHAR, ground VARCHAR)"
},
{
"from": "human",
"value": "What was the away team's score of at the game of telstra stadium?"
},
{
"from": "gpt",
"value": "SELECT away_team AS score FROM table_16388545_1 WHERE grou... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.