answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
|---|---|---|
SELECT COUNT(rank) FROM table_21109892_1 WHERE production__mt_ = 650000
|
CREATE TABLE table_21109892_1 (rank VARCHAR, production__mt_ VARCHAR)
|
When the production (mt) is 650000, what is the total number of rank?
|
SELECT value_world_rank FROM table_21109892_1 WHERE production__mt_ = 446424
|
CREATE TABLE table_21109892_1 (value_world_rank VARCHAR, production__mt_ VARCHAR)
|
When the production (mt) is 446424, what is the value world rank ?
|
SELECT quantity_world_rank FROM table_21109892_1 WHERE value_world_rank = "12"
|
CREATE TABLE table_21109892_1 (quantity_world_rank VARCHAR, value_world_rank VARCHAR)
|
where value world rank is 12, what is the quantity world rank?
|
SELECT rank FROM table_21100348_15 WHERE player = "Tim Paine"
|
CREATE TABLE table_21100348_15 (rank VARCHAR, player VARCHAR)
|
What is the rank of Tim Paine?
|
SELECT MAX(rank) FROM table_21100348_15 WHERE player = "Rodney Marsh"
|
CREATE TABLE table_21100348_15 (rank INTEGER, player VARCHAR)
|
What rank does Rodney Marsh have?
|
SELECT MAX(rank) FROM table_21100348_11 WHERE strike_rate = "91.67"
|
CREATE TABLE table_21100348_11 (rank INTEGER, strike_rate VARCHAR)
|
What is the rank for a strike rate of 91.67?
|
SELECT player FROM table_21100348_11 WHERE runs = 477
|
CREATE TABLE table_21100348_11 (player VARCHAR, runs VARCHAR)
|
What player has 477 runs?
|
SELECT MAX(innings) FROM table_21100348_11 WHERE rank = 3
|
CREATE TABLE table_21100348_11 (innings INTEGER, rank VARCHAR)
|
How many innings does rank 3 have?
|
SELECT MAX(goals_for) FROM table_2110959_1 WHERE pct__percentage = "0.604"
|
CREATE TABLE table_2110959_1 (goals_for INTEGER, pct__percentage VARCHAR)
|
What was the goals for in the season that the pct % was 0.604?
|
SELECT season FROM table_2110959_1 WHERE pct__percentage = "0.552"
|
CREATE TABLE table_2110959_1 (season VARCHAR, pct__percentage VARCHAR)
|
In what season was the pct % 0.552?
|
SELECT standing FROM table_2110959_1 WHERE pct__percentage = "0.769"
|
CREATE TABLE table_2110959_1 (standing VARCHAR, pct__percentage VARCHAR)
|
What was the standing in the season that the pct% was 0.769?
|
SELECT points FROM table_2110959_1 WHERE season = "1958-59"
|
CREATE TABLE table_2110959_1 (points VARCHAR, season VARCHAR)
|
What were the points in the 1958-59 season?
|
SELECT opponents_in_the_final FROM table_2112025_3 WHERE year = 1968
|
CREATE TABLE table_2112025_3 (opponents_in_the_final VARCHAR, year VARCHAR)
|
Who were Dürr's opponents in the final on year 1968?
|
SELECT surface FROM table_2112025_3 WHERE year = 1971
|
CREATE TABLE table_2112025_3 (surface VARCHAR, year VARCHAR)
|
What was the court surface on year 1971?
|
SELECT MAX(top_10s) FROM table_2112220_6 WHERE best_finish = "2"
|
CREATE TABLE table_2112220_6 (top_10s INTEGER, best_finish VARCHAR)
|
Name the most top 10s for 2 best finish
|
SELECT MIN(tournaments_played) FROM table_2112220_6 WHERE year = 2004
|
CREATE TABLE table_2112220_6 (tournaments_played INTEGER, year VARCHAR)
|
Name the tournaments played for 2004
|
SELECT MAX(submissions_of_the_night) FROM table_21114902_1 WHERE fighter = "Matt Wiman"
|
CREATE TABLE table_21114902_1 (submissions_of_the_night INTEGER, fighter VARCHAR)
|
How many submission of the night occurred when the fighter was matt wiman?
|
SELECT knockouts_of_the_night FROM table_21114902_1 WHERE fighter = "Joe Lauzon"
|
CREATE TABLE table_21114902_1 (knockouts_of_the_night VARCHAR, fighter VARCHAR)
|
How many knockout of the night occurred when joe lauzon fought.
|
SELECT MIN(episodes) FROM table_2113721_7
|
CREATE TABLE table_2113721_7 (episodes INTEGER)
|
What is the smallest number of episodes in a season?
|
SELECT region_2 FROM table_2113721_7 WHERE dvd_name = "Season Three"
|
CREATE TABLE table_2113721_7 (region_2 VARCHAR, dvd_name VARCHAR)
|
When was Season Three premiered in region 2?
|
SELECT location FROM table_2112260_1 WHERE specialization = "Textile engineering"
|
CREATE TABLE table_2112260_1 (location VARCHAR, specialization VARCHAR)
|
Where is every location with specialization of textile engineering?
|
SELECT website FROM table_2112260_1 WHERE specialization = "Engineering" AND division = "Dhaka division"
|
CREATE TABLE table_2112260_1 (website VARCHAR, specialization VARCHAR, division VARCHAR)
|
What is every website with specialization of engineering and division of dhaka division?
|
SELECT location FROM table_2112260_1 WHERE nick = "BRU"
|
CREATE TABLE table_2112260_1 (location VARCHAR, nick VARCHAR)
|
Where is every location where Nick is Bru?
|
SELECT specialization FROM table_2112260_1 WHERE website = "jstu.edu.bd"
|
CREATE TABLE table_2112260_1 (specialization VARCHAR, website VARCHAR)
|
What is every specialization with the website Jstu.edu.bd
|
SELECT languages FROM table_21133193_1 WHERE member_countries = "Cyprus"
|
CREATE TABLE table_21133193_1 (languages VARCHAR, member_countries VARCHAR)
|
Name the languages for cyprus
|
SELECT languages FROM table_21133193_1 WHERE member_countries = "Estonia"
|
CREATE TABLE table_21133193_1 (languages VARCHAR, member_countries VARCHAR)
|
Name the languages for estonia
|
SELECT MAX(gdp_per_capita__us) AS $_ FROM table_21133193_1 WHERE languages = "Latvian"
|
CREATE TABLE table_21133193_1 (gdp_per_capita__us INTEGER, languages VARCHAR)
|
Name the most gdp per capita latvian
|
SELECT archive FROM table_2112766_1 WHERE run_time = "24:34"
|
CREATE TABLE table_2112766_1 (archive VARCHAR, run_time VARCHAR)
|
how many archive were when run time is 24:34
|
SELECT COUNT(broadcast_date) FROM table_2112766_1 WHERE viewers__in_millions_ = "8.4"
|
CREATE TABLE table_2112766_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)
|
what is all the broadcast date when viewers were 8.4 millions
|
SELECT COUNT(episode) FROM table_2112766_1 WHERE viewers__in_millions_ = "8.4"
|
CREATE TABLE table_2112766_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)
|
how many episode have 8.4 millions viewer.
|
SELECT title FROM table_21146729_6 WHERE season__number = 8
|
CREATE TABLE table_21146729_6 (title VARCHAR, season__number VARCHAR)
|
What was the title in season #8?
|
SELECT director FROM table_21146729_6 WHERE writer_s_ = "John W. Bloch"
|
CREATE TABLE table_21146729_6 (director VARCHAR, writer_s_ VARCHAR)
|
Who was the director when the writer(s) was John W. Bloch?
|
SELECT MAX(series__number) FROM table_21146729_6 WHERE original_airdate = "October 23, 1967"
|
CREATE TABLE table_21146729_6 (series__number INTEGER, original_airdate VARCHAR)
|
What was the series# with the original airdate of october 23, 1967?
|
SELECT title FROM table_21146729_6 WHERE writer_s_ = "Jack Turley"
|
CREATE TABLE table_21146729_6 (title VARCHAR, writer_s_ VARCHAR)
|
what is the title when the writer(s) is jack turley?
|
SELECT COUNT(series__number) FROM table_21146729_6 WHERE original_airdate = "September 25, 1967"
|
CREATE TABLE table_21146729_6 (series__number VARCHAR, original_airdate VARCHAR)
|
How many of the series # when the original airdate is september 25, 1967?
|
SELECT episode FROM table_2114308_1 WHERE run_time = "22:50"
|
CREATE TABLE table_2114308_1 (episode VARCHAR, run_time VARCHAR)
|
Name the episode for run time of 22:50
|
SELECT broadcast_date FROM table_2114308_1 WHERE viewers__in_millions_ = "6.9"
|
CREATE TABLE table_2114308_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)
|
Name the broadcast date of 6.9 million viewers
|
SELECT broadcast_date FROM table_2114308_1 WHERE run_time = "24:14"
|
CREATE TABLE table_2114308_1 (broadcast_date VARCHAR, run_time VARCHAR)
|
Name the broadcast date of run time being 24:14
|
SELECT archive FROM table_2114238_1 WHERE run_time = "23:48"
|
CREATE TABLE table_2114238_1 (archive VARCHAR, run_time VARCHAR)
|
Which archive has a run time of 23:48?
|
SELECT broadcast_date FROM table_2114238_1 WHERE viewers__in_millions_ = "6.8"
|
CREATE TABLE table_2114238_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)
|
Which broadcast date has 6.8 million viewers?
|
SELECT model FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)@5400-6500"
|
CREATE TABLE table_21154679_1 (model VARCHAR, max_power VARCHAR)
|
What Petrol engine has total power of ps (kw; bhp)@5400-6500?
|
SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)@5250-6250"
|
CREATE TABLE table_21154679_1 (top_speed VARCHAR, max_power VARCHAR)
|
What is top speed of a petrol engine at ps (kw; bhp)@5250-6250?
|
SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)"
|
CREATE TABLE table_21154679_1 (top_speed VARCHAR, max_power VARCHAR)
|
What is the maximum speed for total power of ps (kw; bhp)?
|
SELECT torque FROM table_21154679_1 WHERE model = "S7 4.0 TFSI quattro"
|
CREATE TABLE table_21154679_1 (torque VARCHAR, model VARCHAR)
|
What is the s7 4.0 tfsi quattro engine torque?
|
SELECT MAX(no_in_season) FROM table_21165255_1 WHERE production_code = 4300062
|
CREATE TABLE table_21165255_1 (no_in_season INTEGER, production_code VARCHAR)
|
Name the number in season for 4300062
|
SELECT COUNT(cancelled) FROM table_211615_2 WHERE station = "Turnham Green"
|
CREATE TABLE table_211615_2 (cancelled VARCHAR, station VARCHAR)
|
Name the number of cancelled for turnham green
|
SELECT COUNT(details) FROM table_211615_2 WHERE station = "Emlyn Road"
|
CREATE TABLE table_211615_2 (details VARCHAR, station VARCHAR)
|
Name the number of details for emlyn road
|
SELECT MAX(no_in_series) FROM table_21164557_1 WHERE directed_by = "John Behring"
|
CREATE TABLE table_21164557_1 (no_in_series INTEGER, directed_by VARCHAR)
|
What episode number in the series was directed by John Behring?
|
SELECT COUNT(original_air_date) FROM table_21164557_1 WHERE production_code = 4398016
|
CREATE TABLE table_21164557_1 (original_air_date VARCHAR, production_code VARCHAR)
|
How many original air dates were there for episodes with a production code of 4398016?
|
SELECT rank FROM table_211714_2 WHERE viewers__in_millions_ = "14.80"
|
CREATE TABLE table_211714_2 (rank VARCHAR, viewers__in_millions_ VARCHAR)
|
Name the rank for 14.80 viewers
|
SELECT COUNT(rank) FROM table_211714_2 WHERE season = 6
|
CREATE TABLE table_211714_2 (rank VARCHAR, season VARCHAR)
|
Name the number of rank for season 6
|
SELECT original_air_date FROM table_21172539_1 WHERE production_code = 4301085
|
CREATE TABLE table_21172539_1 (original_air_date VARCHAR, production_code VARCHAR)
|
What date did the episode with a production code of 4301085 originally air?
|
SELECT original_air_date FROM table_21172539_1 WHERE no_in_season = 15
|
CREATE TABLE table_21172539_1 (original_air_date VARCHAR, no_in_season VARCHAR)
|
What date did episode 15 of the season originally air?
|
SELECT remarks FROM table_211791_1 WHERE nato_reporting_name = "SAWHOUSE"
|
CREATE TABLE table_211791_1 (remarks VARCHAR, nato_reporting_name VARCHAR)
|
Name the remarks for sawhouse
|
SELECT nato_us_dod_code FROM table_211791_1 WHERE nato_reporting_name = "SABBOT"
|
CREATE TABLE table_211791_1 (nato_us_dod_code VARCHAR, nato_reporting_name VARCHAR)
|
Name the nato/ us dod code for sabbot
|
SELECT report FROM table_21191496_1 WHERE circuit = "Autodromo Nazionale Monza"
|
CREATE TABLE table_21191496_1 (report VARCHAR, circuit VARCHAR)
|
When autodromo nazionale monza is the circuit what is the report?
|
SELECT date FROM table_21191496_1 WHERE pole_position = "Michele Pirro"
|
CREATE TABLE table_21191496_1 (date VARCHAR, pole_position VARCHAR)
|
When michele pirro is the pole position what is the date?
|
SELECT report FROM table_21191496_1 WHERE country = "Netherlands"
|
CREATE TABLE table_21191496_1 (report VARCHAR, country VARCHAR)
|
When Netherlands is the country what is the report?
|
SELECT winning_team FROM table_21191496_1 WHERE circuit = "circuit Ricardo Tormo"
|
CREATE TABLE table_21191496_1 (winning_team VARCHAR, circuit VARCHAR)
|
When circuit ricardo tormo is the circuit who is the winning team?
|
SELECT COUNT(round) FROM table_21191496_1 WHERE circuit = "circuit Ricardo Tormo"
|
CREATE TABLE table_21191496_1 (round VARCHAR, circuit VARCHAR)
|
When circuit ricardo tormo is the circuit what is the round?
|
SELECT COUNT(opponent) FROM table_21197135_1 WHERE record = "6-0"
|
CREATE TABLE table_21197135_1 (opponent VARCHAR, record VARCHAR)
|
How many opponents were there when the record was 6-0?
|
SELECT date FROM table_21197135_1 WHERE record = "6-0"
|
CREATE TABLE table_21197135_1 (date VARCHAR, record VARCHAR)
|
How many opponents were there when the record was 6-0?
|
SELECT record FROM table_21197135_1 WHERE opponent = "@ Utah"
|
CREATE TABLE table_21197135_1 (record VARCHAR, opponent VARCHAR)
|
What was the team record when the team played @ Utah?
|
SELECT cowboys_points FROM table_21197135_1 WHERE record = "7-0"
|
CREATE TABLE table_21197135_1 (cowboys_points VARCHAR, record VARCHAR)
|
How many points did the Cowboys have when they had a 7-0 record?
|
SELECT scoreboard FROM table_21234111_6 WHERE total = "23.5"
|
CREATE TABLE table_21234111_6 (scoreboard VARCHAR, total VARCHAR)
|
Name the scoreboard for total being 23.5
|
SELECT jason FROM table_21234111_6 WHERE public_vote__percentage = "19.20%"
|
CREATE TABLE table_21234111_6 (jason VARCHAR, public_vote__percentage VARCHAR)
|
Name the jason for public vote being 19.20%
|
SELECT COUNT(song) FROM table_21234111_6 WHERE scoreboard = "3rd"
|
CREATE TABLE table_21234111_6 (song VARCHAR, scoreboard VARCHAR)
|
Name the number of song for scoreboard being 3rd
|
SELECT opponent FROM table_21256068_3 WHERE venue = "Halliwell Jones Stadium" AND competition = "Super League XIV"
|
CREATE TABLE table_21256068_3 (opponent VARCHAR, venue VARCHAR, competition VARCHAR)
|
state the opponent on halliwell jones stadium in super league xiv
|
SELECT COUNT(venue) FROM table_21256068_3 WHERE round = "1"
|
CREATE TABLE table_21256068_3 (venue VARCHAR, round VARCHAR)
|
how many venues were played on in round 1
|
SELECT round FROM table_21256068_3 WHERE score = "50-10"
|
CREATE TABLE table_21256068_3 (round VARCHAR, score VARCHAR)
|
state the round that had a game score 50-10
|
SELECT round FROM table_21256068_3 WHERE attendance = 9359
|
CREATE TABLE table_21256068_3 (round VARCHAR, attendance VARCHAR)
|
state the round that had a game attended attended by 9359 people
|
SELECT COUNT(round) FROM table_21256068_3 WHERE score = "44-22"
|
CREATE TABLE table_21256068_3 (round VARCHAR, score VARCHAR)
|
how many rounds had the score 44-22
|
SELECT score FROM table_21256068_3 WHERE opponent = "Crusaders"
|
CREATE TABLE table_21256068_3 (score VARCHAR, opponent VARCHAR)
|
what's the score against crusaders
|
SELECT COUNT(small__100ha_) FROM table_21249915_1 WHERE medium__500ha_ = 17101
|
CREATE TABLE table_21249915_1 (small__100ha_ VARCHAR, medium__500ha_ VARCHAR)
|
How many Small catagories are there for the department that has a medium of 17101?
|
SELECT total FROM table_21249915_1 WHERE department = "Chuquisaca"
|
CREATE TABLE table_21249915_1 (total VARCHAR, department VARCHAR)
|
What is the total for Chuquisaca?
|
SELECT department FROM table_21249915_1 WHERE small__100ha_ = 11370
|
CREATE TABLE table_21249915_1 (department VARCHAR, small__100ha_ VARCHAR)
|
Which department has a small of 11370?
|
SELECT COUNT(total) FROM table_21249915_1 WHERE department = "La Paz"
|
CREATE TABLE table_21249915_1 (total VARCHAR, department VARCHAR)
|
How many total catagories are there for La Paz?
|
SELECT to_par FROM table_2126093_3 WHERE tournament = "Miyagi TV Cup Dunlop Ladies Open"
|
CREATE TABLE table_2126093_3 (to_par VARCHAR, tournament VARCHAR)
|
How many points under par was the winner of the Miyagi TV Cup Dunlop Ladies Open?
|
SELECT winning_score FROM table_2126093_3 WHERE tournament = "Vernal Ladies"
|
CREATE TABLE table_2126093_3 (winning_score VARCHAR, tournament VARCHAR)
|
What was the winning score of the Vernal Ladies tournament?
|
SELECT athlete FROM table_21276428_21 WHERE place = 3
|
CREATE TABLE table_21276428_21 (athlete VARCHAR, place VARCHAR)
|
Name the athlete for 3
|
SELECT result FROM table_21269143_1 WHERE round = "13"
|
CREATE TABLE table_21269143_1 (result VARCHAR, round VARCHAR)
|
Name the result for round 13
|
SELECT attendance FROM table_21269143_1 WHERE result = "Loss" AND opponent = "Salford City Reds"
|
CREATE TABLE table_21269143_1 (attendance VARCHAR, result VARCHAR, opponent VARCHAR)
|
Name the attendance for loss result and salford city reds
|
SELECT COUNT(date) FROM table_21269143_1 WHERE round = "26"
|
CREATE TABLE table_21269143_1 (date VARCHAR, round VARCHAR)
|
Name the total number of date for round 26
|
SELECT attendance FROM table_21269143_1 WHERE round = "23"
|
CREATE TABLE table_21269143_1 (attendance VARCHAR, round VARCHAR)
|
Name the attendace for 23 round
|
SELECT COUNT(opponent) FROM table_21269143_1 WHERE date = "05/09/2009"
|
CREATE TABLE table_21269143_1 (opponent VARCHAR, date VARCHAR)
|
Name the total number of opponets for 05/09/2009
|
SELECT name FROM table_21284653_1 WHERE population_density = "200"
|
CREATE TABLE table_21284653_1 (name VARCHAR, population_density VARCHAR)
|
What is the only city name with a population density of 200?
|
SELECT census_division FROM table_21284653_1 WHERE name = "Stratford"
|
CREATE TABLE table_21284653_1 (census_division VARCHAR, name VARCHAR)
|
What is the census division for the name Stratford?
|
SELECT change___percentage_ FROM table_21284653_1 WHERE area__km²_ = "247.21"
|
CREATE TABLE table_21284653_1 (change___percentage_ VARCHAR, area__km²_ VARCHAR)
|
What is the change (%) when the area size (km2) is 247.21?
|
SELECT municipal_status FROM table_21284653_1 WHERE population_density = "895.5"
|
CREATE TABLE table_21284653_1 (municipal_status VARCHAR, population_density VARCHAR)
|
What is the municipal status where the population density is 895.5?
|
SELECT census_division FROM table_21284653_1 WHERE name = "Kenora"
|
CREATE TABLE table_21284653_1 (census_division VARCHAR, name VARCHAR)
|
What is the census division for the city named Kenora?
|
SELECT MIN(area___ha__) FROM table_21302_1 WHERE no_of_villages = 18
|
CREATE TABLE table_21302_1 (area___ha__ INTEGER, no_of_villages VARCHAR)
|
If there are 18 villages, what is the minimum area ?
|
SELECT former_name FROM table_21302_1 WHERE population__2005_ = 572
|
CREATE TABLE table_21302_1 (former_name VARCHAR, population__2005_ VARCHAR)
|
With the population in 2005 of 572, what is the former name?
|
SELECT COUNT(no_of_villages) FROM table_21302_1 WHERE density_persons___ha = "5.5"
|
CREATE TABLE table_21302_1 (no_of_villages VARCHAR, density_persons___ha VARCHAR)
|
How many villages have a density persons/ha of 5.5?
|
SELECT score FROM table_2127933_3 WHERE opponents = "Irving Wright Hazel Hotchkiss Wightman"
|
CREATE TABLE table_2127933_3 (score VARCHAR, opponents VARCHAR)
|
What were the scores for matches with irving wright hazel hotchkiss wightman?
|
SELECT COUNT(year) FROM table_2127933_3 WHERE score = "10–12, 6–1, 6–3"
|
CREATE TABLE table_2127933_3 (year VARCHAR, score VARCHAR)
|
How many years had scores of 10–12, 6–1, 6–3?
|
SELECT partner FROM table_2127933_3 WHERE opponents = "Harry Johnson Hazel Hotchkiss Wightman"
|
CREATE TABLE table_2127933_3 (partner VARCHAR, opponents VARCHAR)
|
Who were the partners during times that harry johnson hazel hotchkiss wightman was the opponent?
|
SELECT outcome FROM table_2127933_3 WHERE opponents = "Bill Tilden Florence Ballin"
|
CREATE TABLE table_2127933_3 (outcome VARCHAR, opponents VARCHAR)
|
What were the outcomes of matches with bill tilden florence ballin as opponents?
|
SELECT MIN(year) FROM table_2127933_3
|
CREATE TABLE table_2127933_3 (year INTEGER)
|
What is the earliest year?
|
SELECT survivor_count FROM table_21304131_2 WHERE directed_by = "Gwyneth Horder-Payton"
|
CREATE TABLE table_21304131_2 (survivor_count VARCHAR, directed_by VARCHAR)
|
What was the survivor count for the episode directed by Gwyneth Horder-Payton?
|
SELECT original_air_date FROM table_21304131_2 WHERE no_in_series = 65
|
CREATE TABLE table_21304131_2 (original_air_date VARCHAR, no_in_series VARCHAR)
|
When did series number 65 originally air?
|
Subsets and Splits
SQL Console for knowrohit07/know_sql
Finds questions in the dataset that contain the word 'god', providing a basic filtered view without much analytical insight.