conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_21109892_1 (rank VARCHAR, production__mt_ VARCHAR)"
},
{
"from": "human",
"value": "When the production (mt) is 650000, what is the total number of rank?"
},
{
"from": "gpt",
"value": "SELECT COUNT(rank) FROM table_21109892_1 WHERE pro... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21109892_1 (value_world_rank VARCHAR, production__mt_ VARCHAR)"
},
{
"from": "human",
"value": "When the production (mt) is 446424, what is the value world rank ?"
},
{
"from": "gpt",
"value": "SELECT value_world_rank FROM table_211098... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21109892_1 (quantity_world_rank VARCHAR, value_world_rank VARCHAR)"
},
{
"from": "human",
"value": "where value world rank is 12, what is the quantity world rank?"
},
{
"from": "gpt",
"value": "SELECT quantity_world_rank FROM table_211... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21100348_15 (rank VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is the rank of Tim Paine?"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_21100348_15 WHERE player = \"Tim Paine\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21100348_15 (rank INTEGER, player VARCHAR)"
},
{
"from": "human",
"value": "What rank does Rodney Marsh have?"
},
{
"from": "gpt",
"value": "SELECT MAX(rank) FROM table_21100348_15 WHERE player = \"Rodney Marsh\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21100348_11 (rank INTEGER, strike_rate VARCHAR)"
},
{
"from": "human",
"value": "What is the rank for a strike rate of 91.67?"
},
{
"from": "gpt",
"value": "SELECT MAX(rank) FROM table_21100348_11 WHERE strike_rate = \"91.67\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21100348_11 (player VARCHAR, runs VARCHAR)"
},
{
"from": "human",
"value": "What player has 477 runs?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_21100348_11 WHERE runs = 477"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21100348_11 (innings INTEGER, rank VARCHAR)"
},
{
"from": "human",
"value": "How many innings does rank 3 have?"
},
{
"from": "gpt",
"value": "SELECT MAX(innings) FROM table_21100348_11 WHERE rank = 3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2110959_1 (goals_for INTEGER, pct__percentage VARCHAR)"
},
{
"from": "human",
"value": "What was the goals for in the season that the pct % was 0.604?"
},
{
"from": "gpt",
"value": "SELECT MAX(goals_for) FROM table_2110959_1 WHERE pct_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2110959_1 (season VARCHAR, pct__percentage VARCHAR)"
},
{
"from": "human",
"value": "In what season was the pct % 0.552? "
},
{
"from": "gpt",
"value": "SELECT season FROM table_2110959_1 WHERE pct__percentage = \"0.552\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2110959_1 (standing VARCHAR, pct__percentage VARCHAR)"
},
{
"from": "human",
"value": "What was the standing in the season that the pct% was 0.769? "
},
{
"from": "gpt",
"value": "SELECT standing FROM table_2110959_1 WHERE pct__percent... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2110959_1 (points VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What were the points in the 1958-59 season? "
},
{
"from": "gpt",
"value": "SELECT points FROM table_2110959_1 WHERE season = \"1958-59\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2112025_3 (opponents_in_the_final VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Who were Dürr's opponents in the final on year 1968?"
},
{
"from": "gpt",
"value": "SELECT opponents_in_the_final FROM table_2112025_3 WHERE year... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2112025_3 (surface VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What was the court surface on year 1971?"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_2112025_3 WHERE year = 1971"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2112220_6 (top_10s INTEGER, best_finish VARCHAR)"
},
{
"from": "human",
"value": "Name the most top 10s for 2 best finish"
},
{
"from": "gpt",
"value": "SELECT MAX(top_10s) FROM table_2112220_6 WHERE best_finish = \"2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2112220_6 (tournaments_played INTEGER, year VARCHAR)"
},
{
"from": "human",
"value": "Name the tournaments played for 2004"
},
{
"from": "gpt",
"value": "SELECT MIN(tournaments_played) FROM table_2112220_6 WHERE year = 2004"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21114902_1 (submissions_of_the_night INTEGER, fighter VARCHAR)"
},
{
"from": "human",
"value": "How many submission of the night occurred when the fighter was matt wiman?"
},
{
"from": "gpt",
"value": "SELECT MAX(submissions_of_the_nig... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21114902_1 (knockouts_of_the_night VARCHAR, fighter VARCHAR)"
},
{
"from": "human",
"value": "How many knockout of the night occurred when joe lauzon fought. "
},
{
"from": "gpt",
"value": "SELECT knockouts_of_the_night FROM table_2111... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2113721_7 (episodes INTEGER)"
},
{
"from": "human",
"value": "What is the smallest number of episodes in a season?"
},
{
"from": "gpt",
"value": "SELECT MIN(episodes) FROM table_2113721_7"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2113721_7 (region_2 VARCHAR, dvd_name VARCHAR)"
},
{
"from": "human",
"value": "When was Season Three premiered in region 2?"
},
{
"from": "gpt",
"value": "SELECT region_2 FROM table_2113721_7 WHERE dvd_name = \"Season Three\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2112260_1 (location VARCHAR, specialization VARCHAR)"
},
{
"from": "human",
"value": "Where is every location with specialization of textile engineering?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_2112260_1 WHERE special... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2112260_1 (website VARCHAR, specialization VARCHAR, division VARCHAR)"
},
{
"from": "human",
"value": "What is every website with specialization of engineering and division of dhaka division?"
},
{
"from": "gpt",
"value": "SELECT websi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2112260_1 (location VARCHAR, nick VARCHAR)"
},
{
"from": "human",
"value": "Where is every location where Nick is Bru?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_2112260_1 WHERE nick = \"BRU\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2112260_1 (specialization VARCHAR, website VARCHAR)"
},
{
"from": "human",
"value": "What is every specialization with the website Jstu.edu.bd"
},
{
"from": "gpt",
"value": "SELECT specialization FROM table_2112260_1 WHERE website = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21133193_1 (languages VARCHAR, member_countries VARCHAR)"
},
{
"from": "human",
"value": "Name the languages for cyprus"
},
{
"from": "gpt",
"value": "SELECT languages FROM table_21133193_1 WHERE member_countries = \"Cyprus\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21133193_1 (languages VARCHAR, member_countries VARCHAR)"
},
{
"from": "human",
"value": "Name the languages for estonia"
},
{
"from": "gpt",
"value": "SELECT languages FROM table_21133193_1 WHERE member_countries = \"Estonia\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21133193_1 (gdp_per_capita__us INTEGER, languages VARCHAR)"
},
{
"from": "human",
"value": "Name the most gdp per capita latvian"
},
{
"from": "gpt",
"value": "SELECT MAX(gdp_per_capita__us) AS $_ FROM table_21133193_1 WHERE languages ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2112766_1 (archive VARCHAR, run_time VARCHAR)"
},
{
"from": "human",
"value": "how many archive were when run time is 24:34"
},
{
"from": "gpt",
"value": "SELECT archive FROM table_2112766_1 WHERE run_time = \"24:34\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2112766_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)"
},
{
"from": "human",
"value": "what is all the broadcast date when viewers were 8.4 millions"
},
{
"from": "gpt",
"value": "SELECT COUNT(broadcast_date) FROM table_21... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2112766_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)"
},
{
"from": "human",
"value": "how many episode have 8.4 millions viewer."
},
{
"from": "gpt",
"value": "SELECT COUNT(episode) FROM table_2112766_1 WHERE viewers__in_million... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21146729_6 (title VARCHAR, season__number VARCHAR)"
},
{
"from": "human",
"value": "What was the title in season #8?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_21146729_6 WHERE season__number = 8"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21146729_6 (director VARCHAR, writer_s_ VARCHAR)"
},
{
"from": "human",
"value": "Who was the director when the writer(s) was John W. Bloch?"
},
{
"from": "gpt",
"value": "SELECT director FROM table_21146729_6 WHERE writer_s_ = \"John ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21146729_6 (series__number INTEGER, original_airdate VARCHAR)"
},
{
"from": "human",
"value": "What was the series# with the original airdate of october 23, 1967?"
},
{
"from": "gpt",
"value": "SELECT MAX(series__number) FROM table_211... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21146729_6 (title VARCHAR, writer_s_ VARCHAR)"
},
{
"from": "human",
"value": "what is the title when the writer(s) is jack turley?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_21146729_6 WHERE writer_s_ = \"Jack Turley\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21146729_6 (series__number VARCHAR, original_airdate VARCHAR)"
},
{
"from": "human",
"value": "How many of the series # when the original airdate is september 25, 1967?"
},
{
"from": "gpt",
"value": "SELECT COUNT(series__number) FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2114308_1 (episode VARCHAR, run_time VARCHAR)"
},
{
"from": "human",
"value": "Name the episode for run time of 22:50"
},
{
"from": "gpt",
"value": "SELECT episode FROM table_2114308_1 WHERE run_time = \"22:50\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2114308_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)"
},
{
"from": "human",
"value": "Name the broadcast date of 6.9 million viewers"
},
{
"from": "gpt",
"value": "SELECT broadcast_date FROM table_2114308_1 WHERE viewers__... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2114308_1 (broadcast_date VARCHAR, run_time VARCHAR)"
},
{
"from": "human",
"value": "Name the broadcast date of run time being 24:14"
},
{
"from": "gpt",
"value": "SELECT broadcast_date FROM table_2114308_1 WHERE run_time = \"24:14\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2114238_1 (archive VARCHAR, run_time VARCHAR)"
},
{
"from": "human",
"value": "Which archive has a run time of 23:48?"
},
{
"from": "gpt",
"value": "SELECT archive FROM table_2114238_1 WHERE run_time = \"23:48\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2114238_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)"
},
{
"from": "human",
"value": "Which broadcast date has 6.8 million viewers?"
},
{
"from": "gpt",
"value": "SELECT broadcast_date FROM table_2114238_1 WHERE viewers__i... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21154679_1 (model VARCHAR, max_power VARCHAR)"
},
{
"from": "human",
"value": "What Petrol engine has total power of ps (kw; bhp)@5400-6500?"
},
{
"from": "gpt",
"value": "SELECT model FROM table_21154679_1 WHERE max_power = \"PS (kW; ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21154679_1 (top_speed VARCHAR, max_power VARCHAR)"
},
{
"from": "human",
"value": "What is top speed of a petrol engine at ps (kw; bhp)@5250-6250?"
},
{
"from": "gpt",
"value": "SELECT top_speed FROM table_21154679_1 WHERE max_power = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21154679_1 (top_speed VARCHAR, max_power VARCHAR)"
},
{
"from": "human",
"value": "What is the maximum speed for total power of ps (kw; bhp)?"
},
{
"from": "gpt",
"value": "SELECT top_speed FROM table_21154679_1 WHERE max_power = \"PS ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21154679_1 (torque VARCHAR, model VARCHAR)"
},
{
"from": "human",
"value": "What is the s7 4.0 tfsi quattro engine torque?"
},
{
"from": "gpt",
"value": "SELECT torque FROM table_21154679_1 WHERE model = \"S7 4.0 TFSI quattro\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21165255_1 (no_in_season INTEGER, production_code VARCHAR)"
},
{
"from": "human",
"value": "Name the number in season for 4300062"
},
{
"from": "gpt",
"value": "SELECT MAX(no_in_season) FROM table_21165255_1 WHERE production_code = 430... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_211615_2 (cancelled VARCHAR, station VARCHAR)"
},
{
"from": "human",
"value": "Name the number of cancelled for turnham green"
},
{
"from": "gpt",
"value": "SELECT COUNT(cancelled) FROM table_211615_2 WHERE station = \"Turnham Green\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_211615_2 (details VARCHAR, station VARCHAR)"
},
{
"from": "human",
"value": "Name the number of details for emlyn road"
},
{
"from": "gpt",
"value": "SELECT COUNT(details) FROM table_211615_2 WHERE station = \"Emlyn Road\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21164557_1 (no_in_series INTEGER, directed_by VARCHAR)"
},
{
"from": "human",
"value": "What episode number in the series was directed by John Behring?"
},
{
"from": "gpt",
"value": "SELECT MAX(no_in_series) FROM table_21164557_1 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21164557_1 (original_air_date VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "How many original air dates were there for episodes with a production code of 4398016?"
},
{
"from": "gpt",
"value": "SELECT COUNT(origina... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_211714_2 (rank VARCHAR, viewers__in_millions_ VARCHAR)"
},
{
"from": "human",
"value": "Name the rank for 14.80 viewers"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_211714_2 WHERE viewers__in_millions_ = \"14.80\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_211714_2 (rank VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "Name the number of rank for season 6"
},
{
"from": "gpt",
"value": "SELECT COUNT(rank) FROM table_211714_2 WHERE season = 6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21172539_1 (original_air_date VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "What date did the episode with a production code of 4301085 originally air?"
},
{
"from": "gpt",
"value": "SELECT original_air_date FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21172539_1 (original_air_date VARCHAR, no_in_season VARCHAR)"
},
{
"from": "human",
"value": "What date did episode 15 of the season originally air?"
},
{
"from": "gpt",
"value": "SELECT original_air_date FROM table_21172539_1 WHERE no... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_211791_1 (remarks VARCHAR, nato_reporting_name VARCHAR)"
},
{
"from": "human",
"value": "Name the remarks for sawhouse"
},
{
"from": "gpt",
"value": "SELECT remarks FROM table_211791_1 WHERE nato_reporting_name = \"SAWHOUSE\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_211791_1 (nato_us_dod_code VARCHAR, nato_reporting_name VARCHAR)"
},
{
"from": "human",
"value": "Name the nato/ us dod code for sabbot"
},
{
"from": "gpt",
"value": "SELECT nato_us_dod_code FROM table_211791_1 WHERE nato_reporting_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21191496_1 (report VARCHAR, circuit VARCHAR)"
},
{
"from": "human",
"value": "When autodromo nazionale monza is the circuit what is the report?"
},
{
"from": "gpt",
"value": "SELECT report FROM table_21191496_1 WHERE circuit = \"Autodr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21191496_1 (date VARCHAR, pole_position VARCHAR)"
},
{
"from": "human",
"value": "When michele pirro is the pole position what is the date?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_21191496_1 WHERE pole_position = \"Michel... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21191496_1 (report VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "When Netherlands is the country what is the report? "
},
{
"from": "gpt",
"value": "SELECT report FROM table_21191496_1 WHERE country = \"Netherlands\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21191496_1 (winning_team VARCHAR, circuit VARCHAR)"
},
{
"from": "human",
"value": "When circuit ricardo tormo is the circuit who is the winning team?"
},
{
"from": "gpt",
"value": "SELECT winning_team FROM table_21191496_1 WHERE circu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21191496_1 (round VARCHAR, circuit VARCHAR)"
},
{
"from": "human",
"value": "When circuit ricardo tormo is the circuit what is the round?"
},
{
"from": "gpt",
"value": "SELECT COUNT(round) FROM table_21191496_1 WHERE circuit = \"circui... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21197135_1 (opponent VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "How many opponents were there when the record was 6-0?"
},
{
"from": "gpt",
"value": "SELECT COUNT(opponent) FROM table_21197135_1 WHERE record = \"6-0\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21197135_1 (date VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "How many opponents were there when the record was 6-0?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_21197135_1 WHERE record = \"6-0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21197135_1 (record VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was the team record when the team played @ Utah?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_21197135_1 WHERE opponent = \"@ Utah\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21197135_1 (cowboys_points VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "How many points did the Cowboys have when they had a 7-0 record?"
},
{
"from": "gpt",
"value": "SELECT cowboys_points FROM table_21197135_1 WHERE reco... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21234111_6 (scoreboard VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "Name the scoreboard for total being 23.5"
},
{
"from": "gpt",
"value": "SELECT scoreboard FROM table_21234111_6 WHERE total = \"23.5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21234111_6 (jason VARCHAR, public_vote__percentage VARCHAR)"
},
{
"from": "human",
"value": "Name the jason for public vote being 19.20%"
},
{
"from": "gpt",
"value": "SELECT jason FROM table_21234111_6 WHERE public_vote__percentage = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21234111_6 (song VARCHAR, scoreboard VARCHAR)"
},
{
"from": "human",
"value": "Name the number of song for scoreboard being 3rd"
},
{
"from": "gpt",
"value": "SELECT COUNT(song) FROM table_21234111_6 WHERE scoreboard = \"3rd\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21256068_3 (opponent VARCHAR, venue VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "state the opponent on halliwell jones stadium in super league xiv"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_21256068_3 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21256068_3 (venue VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "how many venues were played on in round 1"
},
{
"from": "gpt",
"value": "SELECT COUNT(venue) FROM table_21256068_3 WHERE round = \"1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21256068_3 (round VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "state the round that had a game score 50-10"
},
{
"from": "gpt",
"value": "SELECT round FROM table_21256068_3 WHERE score = \"50-10\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21256068_3 (round VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "state the round that had a game attended attended by 9359 people"
},
{
"from": "gpt",
"value": "SELECT round FROM table_21256068_3 WHERE attendance = 9359"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21256068_3 (round VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "how many rounds had the score 44-22"
},
{
"from": "gpt",
"value": "SELECT COUNT(round) FROM table_21256068_3 WHERE score = \"44-22\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21256068_3 (score VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "what's the score against crusaders"
},
{
"from": "gpt",
"value": "SELECT score FROM table_21256068_3 WHERE opponent = \"Crusaders\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21249915_1 (small__100ha_ VARCHAR, medium__500ha_ VARCHAR)"
},
{
"from": "human",
"value": "How many Small catagories are there for the department that has a medium of 17101? "
},
{
"from": "gpt",
"value": "SELECT COUNT(small__100ha_) ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21249915_1 (total VARCHAR, department VARCHAR)"
},
{
"from": "human",
"value": "What is the total for Chuquisaca?"
},
{
"from": "gpt",
"value": "SELECT total FROM table_21249915_1 WHERE department = \"Chuquisaca\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21249915_1 (department VARCHAR, small__100ha_ VARCHAR)"
},
{
"from": "human",
"value": "Which department has a small of 11370? "
},
{
"from": "gpt",
"value": "SELECT department FROM table_21249915_1 WHERE small__100ha_ = 11370"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21249915_1 (total VARCHAR, department VARCHAR)"
},
{
"from": "human",
"value": "How many total catagories are there for La Paz? "
},
{
"from": "gpt",
"value": "SELECT COUNT(total) FROM table_21249915_1 WHERE department = \"La Paz\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2126093_3 (to_par VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "How many points under par was the winner of the Miyagi TV Cup Dunlop Ladies Open?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_2126093_3 WHERE t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2126093_3 (winning_score VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What was the winning score of the Vernal Ladies tournament?"
},
{
"from": "gpt",
"value": "SELECT winning_score FROM table_2126093_3 WHERE tournamen... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21276428_21 (athlete VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "Name the athlete for 3"
},
{
"from": "gpt",
"value": "SELECT athlete FROM table_21276428_21 WHERE place = 3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21269143_1 (result VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "Name the result for round 13"
},
{
"from": "gpt",
"value": "SELECT result FROM table_21269143_1 WHERE round = \"13\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21269143_1 (attendance VARCHAR, result VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "Name the attendance for loss result and salford city reds"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_21269143_1 WHERE r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21269143_1 (date VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "Name the total number of date for round 26"
},
{
"from": "gpt",
"value": "SELECT COUNT(date) FROM table_21269143_1 WHERE round = \"26\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21269143_1 (attendance VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "Name the attendace for 23 round"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_21269143_1 WHERE round = \"23\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21269143_1 (opponent VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the total number of opponets for 05/09/2009"
},
{
"from": "gpt",
"value": "SELECT COUNT(opponent) FROM table_21269143_1 WHERE date = \"05/09/2009\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21284653_1 (name VARCHAR, population_density VARCHAR)"
},
{
"from": "human",
"value": "What is the only city name with a population density of 200?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_21284653_1 WHERE population_densi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21284653_1 (census_division VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the census division for the name Stratford?"
},
{
"from": "gpt",
"value": "SELECT census_division FROM table_21284653_1 WHERE name = \"Stratfor... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21284653_1 (change___percentage_ VARCHAR, area__km²_ VARCHAR)"
},
{
"from": "human",
"value": "What is the change (%) when the area size (km2) is 247.21?"
},
{
"from": "gpt",
"value": "SELECT change___percentage_ FROM table_21284653_1 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21284653_1 (municipal_status VARCHAR, population_density VARCHAR)"
},
{
"from": "human",
"value": "What is the municipal status where the population density is 895.5?"
},
{
"from": "gpt",
"value": "SELECT municipal_status FROM table_21... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21284653_1 (census_division VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the census division for the city named Kenora?"
},
{
"from": "gpt",
"value": "SELECT census_division FROM table_21284653_1 WHERE name = \"Kenor... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21302_1 (area___ha__ INTEGER, no_of_villages VARCHAR)"
},
{
"from": "human",
"value": "If there are 18 villages, what is the minimum area ?"
},
{
"from": "gpt",
"value": "SELECT MIN(area___ha__) FROM table_21302_1 WHERE no_of_villages ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21302_1 (former_name VARCHAR, population__2005_ VARCHAR)"
},
{
"from": "human",
"value": "With the population in 2005 of 572, what is the former name?"
},
{
"from": "gpt",
"value": "SELECT former_name FROM table_21302_1 WHERE populatio... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21302_1 (no_of_villages VARCHAR, density_persons___ha VARCHAR)"
},
{
"from": "human",
"value": "How many villages have a density persons/ha of 5.5?"
},
{
"from": "gpt",
"value": "SELECT COUNT(no_of_villages) FROM table_21302_1 WHERE de... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2127933_3 (score VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "What were the scores for matches with irving wright hazel hotchkiss wightman?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_2127933_3 WHERE opponent... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2127933_3 (year VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "How many years had scores of 10–12, 6–1, 6–3?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_2127933_3 WHERE score = \"10–12, 6–1, 6–3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2127933_3 (partner VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "Who were the partners during times that harry johnson hazel hotchkiss wightman was the opponent?"
},
{
"from": "gpt",
"value": "SELECT partner FROM table_2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2127933_3 (outcome VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "What were the outcomes of matches with bill tilden florence ballin as opponents?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_2127933_3 WHERE o... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2127933_3 (year INTEGER)"
},
{
"from": "human",
"value": "What is the earliest year?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM table_2127933_3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21304131_2 (survivor_count VARCHAR, directed_by VARCHAR)"
},
{
"from": "human",
"value": "What was the survivor count for the episode directed by Gwyneth Horder-Payton?"
},
{
"from": "gpt",
"value": "SELECT survivor_count FROM table_21... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21304131_2 (original_air_date VARCHAR, no_in_series VARCHAR)"
},
{
"from": "human",
"value": "When did series number 65 originally air?"
},
{
"from": "gpt",
"value": "SELECT original_air_date FROM table_21304131_2 WHERE no_in_series = ... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.