answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MAX(year_premiered) FROM table_24224647_2 WHERE network = "TV2" AND main_presenter = "Øyvind Mund"
CREATE TABLE table_24224647_2 (year_premiered INTEGER, network VARCHAR, main_presenter VARCHAR)
What is the highest year premiered for the TV2 network when main present is øyvind mund?
SELECT COUNT(year_premiered) FROM table_24224647_2 WHERE main_presenter = "Sa Beining"
CREATE TABLE table_24224647_2 (year_premiered VARCHAR, main_presenter VARCHAR)
How many years premiered have Sa Beining as main presenter?
SELECT year_premiered FROM table_24224647_2 WHERE main_presenter = "Behzat Uighur"
CREATE TABLE table_24224647_2 (year_premiered VARCHAR, main_presenter VARCHAR)
What is every year premiered when Behzat Uighur is main presenter?
SELECT MAX(year_premiered) FROM table_24224647_2 WHERE main_presenter = "Benjamin Castaldi"
CREATE TABLE table_24224647_2 (year_premiered INTEGER, main_presenter VARCHAR)
What is the highest year premiered when Benjamin Castaldi is main presenter?
SELECT episode_number_production_number FROM table_24222929_4 WHERE title = "Tasers and Mind Erasers"
CREATE TABLE table_24222929_4 (episode_number_production_number VARCHAR, title VARCHAR)
Name the episode number for tasers and mind erasers
SELECT original_airdate FROM table_24222929_4 WHERE episode_number_production_number = "7 1-07"
CREATE TABLE table_24222929_4 (original_airdate VARCHAR, episode_number_production_number VARCHAR)
Name the original air date for 7 1-07
SELECT total_viewers_on_hallmark + 1 FROM table_24222929_4 WHERE title = "Pilot"
CREATE TABLE table_24222929_4 (total_viewers_on_hallmark VARCHAR, title VARCHAR)
Name the total viewers on hallmark for pilot
SELECT rank_on_channel FROM table_24222929_4 WHERE title = "Mooning and Crooning"
CREATE TABLE table_24222929_4 (rank_on_channel VARCHAR, title VARCHAR)
Name the rank on channel mooning and crooning
SELECT rank_on_channel FROM table_24222929_4 WHERE title = "Pilot"
CREATE TABLE table_24222929_4 (rank_on_channel VARCHAR, title VARCHAR)
Name the rank on channel for pilot
SELECT manner_of_departure FROM table_24231638_3 WHERE team = "Racing Santander"
CREATE TABLE table_24231638_3 (manner_of_departure VARCHAR, team VARCHAR)
What is the manner of departure for the team racing santander?
SELECT replaced_by FROM table_24231638_3 WHERE date_of_appointment = "2 November 2010"
CREATE TABLE table_24231638_3 (replaced_by VARCHAR, date_of_appointment VARCHAR)
Who replaced on the date of appointment 2 november 2010?
SELECT team FROM table_24231638_3 WHERE position_in_table = "19th"
CREATE TABLE table_24231638_3 (team VARCHAR, position_in_table VARCHAR)
What is the team for the position in table 19th?
SELECT team FROM table_24231638_3 WHERE replaced_by = "Miroslav Đukić"
CREATE TABLE table_24231638_3 (team VARCHAR, replaced_by VARCHAR)
What is the team that the replaced by is miroslav đukić?
SELECT COUNT(position_in_table) FROM table_24231638_3 WHERE date_of_vacancy = "14 February 2011"
CREATE TABLE table_24231638_3 (position_in_table VARCHAR, date_of_vacancy VARCHAR)
How many times was the date of vacancy 14 february 2011?
SELECT date_of_appointment FROM table_24231638_3 WHERE team = "Osasuna"
CREATE TABLE table_24231638_3 (date_of_appointment VARCHAR, team VARCHAR)
what is the date of appointment for the team osasuna?
SELECT MIN(l) FROM table_24224991_2
CREATE TABLE table_24224991_2 (l INTEGER)
What is the lowest amount of L in any season?
SELECT COUNT(vote) FROM table_24233848_2 WHERE finish = "3rd voted Out Day 9"
CREATE TABLE table_24233848_2 (vote VARCHAR, finish VARCHAR)
Name the total number of votes for 3rd voted out day 9
SELECT eliminated FROM table_24233848_2 WHERE finish = "7th voted Out Day 21"
CREATE TABLE table_24233848_2 (eliminated VARCHAR, finish VARCHAR)
Name the eliminated 7th voted out day 21
SELECT vote FROM table_24233848_2 WHERE eliminated = "Thiago"
CREATE TABLE table_24233848_2 (vote VARCHAR, eliminated VARCHAR)
Name the vote for thiago
SELECT vote FROM table_24233848_2 WHERE finish = "9th voted Out Day 22"
CREATE TABLE table_24233848_2 (vote VARCHAR, finish VARCHAR)
Name the vote for 9th voted out day 22
SELECT reward FROM table_24233848_2 WHERE eliminated = "Hilca"
CREATE TABLE table_24233848_2 (reward VARCHAR, eliminated VARCHAR)
Name the reward eliminated hilca
SELECT exports__us$_mil_ FROM table_24239748_2 WHERE county = "Vest"
CREATE TABLE table_24239748_2 (exports__us$_mil_ VARCHAR, county VARCHAR)
When the country is vest, what were the exports?
SELECT major_version FROM table_24257833_4 WHERE webkit_version = "528.17"
CREATE TABLE table_24257833_4 (major_version VARCHAR, webkit_version VARCHAR)
What was the major version when the webkit version was 528.17?
SELECT major_version FROM table_24257833_4 WHERE release_date = "May 12, 2009" AND minor_version = "3.2.3"
CREATE TABLE table_24257833_4 (major_version VARCHAR, release_date VARCHAR, minor_version VARCHAR)
List major versions released on May 12, 2009, that had a minor version of 3.2.3.
SELECT minor_version FROM table_24257833_4 WHERE release_date = "April 16, 2008"
CREATE TABLE table_24257833_4 (minor_version VARCHAR, release_date VARCHAR)
What was the minor version released on April 16, 2008?
SELECT webkit_version FROM table_24257833_4 WHERE major_version = "Safari 3" AND minor_version = "3.1.2"
CREATE TABLE table_24257833_4 (webkit_version VARCHAR, major_version VARCHAR, minor_version VARCHAR)
List all webkit versions when the major version was Safari 3, and the minor version was 3.1.2.
SELECT operating_system FROM table_24257833_4 WHERE webkit_version = "525.29.1"
CREATE TABLE table_24257833_4 (operating_system VARCHAR, webkit_version VARCHAR)
List all OS's with a webkit version of 525.29.1.
SELECT webkit_version FROM table_24257833_4 WHERE minor_version = "3.1.2"
CREATE TABLE table_24257833_4 (webkit_version VARCHAR, minor_version VARCHAR)
What is the webkit version when the minor version was 3.1.2.?
SELECT main_legion_base FROM table_242785_3 WHERE notes = "Primigenia goddess of Fate. XX in Batavi revolt"
CREATE TABLE table_242785_3 (main_legion_base VARCHAR, notes VARCHAR)
What was the main legion base for the Romans when the notes were "primigenia goddess of fate. xx in batavi revolt"?
SELECT notes FROM table_242785_3 WHERE date_founded__founder = "57 BC Caesar"
CREATE TABLE table_242785_3 (notes VARCHAR, date_founded__founder VARCHAR)
What are the notes during 57 bc caesar?
SELECT date_founded__founder FROM table_242785_3 WHERE emblem = "Hercules"
CREATE TABLE table_242785_3 (date_founded__founder VARCHAR, emblem VARCHAR)
What is the date founded/founder when the emblem was Hercules?
SELECT main_legion_base FROM table_242785_3 WHERE date_disband = "70 XX"
CREATE TABLE table_242785_3 (main_legion_base VARCHAR, date_disband VARCHAR)
What is the main legion base that disbanded 70 xx?
SELECT date_disband FROM table_242785_1 WHERE main_legionary_base = "Svishtov , Bulgaria"
CREATE TABLE table_242785_1 (date_disband VARCHAR, main_legionary_base VARCHAR)
When did svishtov , bulgaria disband?
SELECT date_founded__founder FROM table_242785_1 WHERE notes = "prima Italica:raised for aborted Caucasus war"
CREATE TABLE table_242785_1 (date_founded__founder VARCHAR, notes VARCHAR)
when notes are prima italica:raised for aborted caucasus war, when was that founded?
SELECT notes FROM table_242785_1 WHERE main_legionary_base = "Svishtov , Bulgaria"
CREATE TABLE table_242785_1 (notes VARCHAR, main_legionary_base VARCHAR)
What are the notes for svishtov , bulgaria?
SELECT COUNT(team) FROM table_242813_2 WHERE overall_rank = 4
CREATE TABLE table_242813_2 (team VARCHAR, overall_rank VARCHAR)
Name the team ranked 4
SELECT league FROM table_242813_2 WHERE strikeouts = 451
CREATE TABLE table_242813_2 (league VARCHAR, strikeouts VARCHAR)
Name the league for strikeouts being 451
SELECT MAX(overall_rank) FROM table_242813_2 WHERE league = "NL/UA"
CREATE TABLE table_242813_2 (overall_rank INTEGER, league VARCHAR)
Name the most overall rank for nl/ua league
SELECT COUNT(pitcher) FROM table_242813_2 WHERE overall_rank = 9
CREATE TABLE table_242813_2 (pitcher VARCHAR, overall_rank VARCHAR)
Name the total number of pitcher for 9 overall rank
SELECT MAX(season) FROM table_242813_2 WHERE pitcher = "Old Hoss Radbourn"
CREATE TABLE table_242813_2 (season INTEGER, pitcher VARCHAR)
Name the most season for old hoss radbourn
SELECT MAX(week) FROM table_24278858_2 WHERE opponent = "Amsterdam Admirals"
CREATE TABLE table_24278858_2 (week INTEGER, opponent VARCHAR)
What week did they play the amsterdam admirals?
SELECT date FROM table_24278858_2 WHERE week = 8
CREATE TABLE table_24278858_2 (date VARCHAR, week VARCHAR)
What date did the team play on week 8?
SELECT country_or_region FROM table_24285393_1 WHERE highest_point = "Northwestern peak of Rysy"
CREATE TABLE table_24285393_1 (country_or_region VARCHAR, highest_point VARCHAR)
What country has the most height in the northwestern peak of rysy?
SELECT highest_point FROM table_24285393_1 WHERE country_or_region = "Latvia"
CREATE TABLE table_24285393_1 (highest_point VARCHAR, country_or_region VARCHAR)
What are the highest point in latvia
SELECT maximum_elevation FROM table_24285393_1 WHERE country_or_region = "Netherlands"
CREATE TABLE table_24285393_1 (maximum_elevation VARCHAR, country_or_region VARCHAR)
What is the maximum elevation in netherlands?
SELECT country_or_region FROM table_24285393_1 WHERE highest_point = "Mont Sokbaro"
CREATE TABLE table_24285393_1 (country_or_region VARCHAR, highest_point VARCHAR)
In what country is mont sokbaro a highest point
SELECT COUNT(club) FROM table_2429942_2 WHERE third_place = "Drnovice"
CREATE TABLE table_2429942_2 (club VARCHAR, third_place VARCHAR)
how many times was third place held by drnovice?
SELECT top_goalscorer FROM table_2429942_2 WHERE season = "2010-11"
CREATE TABLE table_2429942_2 (top_goalscorer VARCHAR, season VARCHAR)
Who is the top goalscorer for the season 2010-11?
SELECT third_place FROM table_2429942_2 WHERE champions = "Baník Ostrava (1)"
CREATE TABLE table_2429942_2 (third_place VARCHAR, champions VARCHAR)
Who had third place when the champions is baník ostrava (1)?
SELECT top_goalscorer FROM table_2429942_2 WHERE season = "2001-02"
CREATE TABLE table_2429942_2 (top_goalscorer VARCHAR, season VARCHAR)
Who was the top goalscorer for season 2001-02?
SELECT runner_up FROM table_2429942_2 WHERE season = "2008-09"
CREATE TABLE table_2429942_2 (runner_up VARCHAR, season VARCHAR)
Who is the runner-up for the season 2008-09?
SELECT top_goalscorer FROM table_2429942_2 WHERE season = "1998-99"
CREATE TABLE table_2429942_2 (top_goalscorer VARCHAR, season VARCHAR)
Who is the top goalscorer for season 1998-99?
SELECT written_by FROM table_2430014_6 WHERE directed_by = "John Trefor"
CREATE TABLE table_2430014_6 (written_by VARCHAR, directed_by VARCHAR)
Name the written by for john trefor
SELECT COUNT(directed_by) FROM table_2430014_8 WHERE uk_ratings__bbc2_rank_ = "2.27m (5)"
CREATE TABLE table_2430014_8 (directed_by VARCHAR, uk_ratings__bbc2_rank_ VARCHAR)
How many directors worked on the episode with 2.27m (5) is the ratings?
SELECT title FROM table_2430014_8 WHERE episode_no = 2
CREATE TABLE table_2430014_8 (title VARCHAR, episode_no VARCHAR)
What is the title of episode 2?
SELECT written_by FROM table_2430014_8 WHERE uk_ratings__bbc2_rank_ = "2.27m (5)"
CREATE TABLE table_2430014_8 (written_by VARCHAR, uk_ratings__bbc2_rank_ VARCHAR)
Who wrote the episode what had the rating 2.27m (5)?
SELECT 2013 AS _profit__mil_usd__ FROM table_24307126_3 WHERE assets_2013__bil$_ = "11.2"
CREATE TABLE table_24307126_3 (assets_2013__bil$_ VARCHAR)
Name the 2013 profit for assets being 11.2
SELECT assets_2013__bil$_ FROM table_24307126_3 WHERE rank_2013 = 1435
CREATE TABLE table_24307126_3 (assets_2013__bil$_ VARCHAR, rank_2013 VARCHAR)
Name the assets when the rank is 1435
SELECT COUNT(april_2013_cum_rank) FROM table_24307126_3 WHERE rank_2012 = 225
CREATE TABLE table_24307126_3 (april_2013_cum_rank VARCHAR, rank_2012 VARCHAR)
Name the number of rank for april 2013 for 2012 ran kbeing 225
SELECT COUNT(assets_2013__bil) AS $_ FROM table_24307126_3 WHERE base = "Australia"
CREATE TABLE table_24307126_3 (assets_2013__bil VARCHAR, base VARCHAR)
Name the number of assets for australia
SELECT position FROM table_24302700_6 WHERE event_6_atlas_stones = "6 (4 in 34.49s)"
CREATE TABLE table_24302700_6 (position VARCHAR, event_6_atlas_stones VARCHAR)
What is the position of the player who got 6 (4 in 34.49s) in the 6 atlas stones event?
SELECT name FROM table_24302700_6 WHERE nationality = "United States"
CREATE TABLE table_24302700_6 (name VARCHAR, nationality VARCHAR)
Who are all the players from the united states?
SELECT COUNT(event_6_atlas_stones) FROM table_24302700_6 WHERE event_3_dead_lift = "2 (6 in 30.89s)"
CREATE TABLE table_24302700_6 (event_6_atlas_stones VARCHAR, event_3_dead_lift VARCHAR)
What is the score in the 6 atlas stones event of the player who got 2 (6 in 30.89s) in the 3 dead lift event?
SELECT position FROM table_24302700_6 WHERE event_6_atlas_stones = "5 (4 in 32.66s)"
CREATE TABLE table_24302700_6 (position VARCHAR, event_6_atlas_stones VARCHAR)
What is the position of the player with a 5 (4 in 32.66s) in the 6 atlas stones event?
SELECT event_2_truck_pull FROM table_24302700_6 WHERE event_4_fingals_fingers = "1 (5 in 33.84s)"
CREATE TABLE table_24302700_6 (event_2_truck_pull VARCHAR, event_4_fingals_fingers VARCHAR)
What is the score in the 2 truck pull of the player who got 1 (5 in 33.84s) in the 4 fingals fingers?
SELECT MAX(cuts_made) FROM table_24330912_1 WHERE top_10s = 0
CREATE TABLE table_24330912_1 (cuts_made INTEGER, top_10s VARCHAR)
When 0 is the top 10's what is the highest amount of cuts made?
SELECT MIN(3 AS rd) FROM table_24330912_1
CREATE TABLE table_24330912_1 (Id VARCHAR)
What is the lowest overall amount of times they've been in 3rd?
SELECT MIN(money_list_rank) FROM table_24330912_1 WHERE year = 2011
CREATE TABLE table_24330912_1 (money_list_rank INTEGER, year VARCHAR)
When 2011 is the year what is the lowest money list rank?
SELECT MIN(money_list_rank) FROM table_24330912_1
CREATE TABLE table_24330912_1 (money_list_rank INTEGER)
What is the lowest overall money list rank?
SELECT MIN(tournaments_played) FROM table_24330912_1 WHERE best_finish = "T3"
CREATE TABLE table_24330912_1 (tournaments_played INTEGER, best_finish VARCHAR)
When t3 is the best finish what is the lowest amount of tournaments played?
SELECT MAX(Winners) AS play_off_legs_won FROM table_24334163_1 WHERE total_money_won = "£2,350"
CREATE TABLE table_24334163_1 (Winners INTEGER, total_money_won VARCHAR)
What is the latest amount of won legs in the payoffs when the prize money was £2,350?
SELECT Winners AS group_legs_won FROM table_24334163_1 WHERE player = "Mark Dudbridge"
CREATE TABLE table_24334163_1 (Winners VARCHAR, player VARCHAR)
How many group legs were won with player Mark Dudbridge?
SELECT MAX(Winners) AS group_legs_won FROM table_24334163_1 WHERE total_money_won = "£21,850"
CREATE TABLE table_24334163_1 (Winners INTEGER, total_money_won VARCHAR)
What is the highest amount of group legs won when the prize money was £21,850?
SELECT COUNT(Winners) AS play_off_legs_won FROM table_24334163_1 WHERE total_money_won = "£10,300"
CREATE TABLE table_24334163_1 (Winners VARCHAR, total_money_won VARCHAR)
How many play-off legs were won when the prize money was £10,300?
SELECT MIN(Winners) AS play_off_legs_won FROM table_24334163_1
CREATE TABLE table_24334163_1 (Winners INTEGER)
What is the least amount of playoff legs won?
SELECT directed_by FROM table_24319661_5 WHERE no_in_series = 53
CREATE TABLE table_24319661_5 (directed_by VARCHAR, no_in_series VARCHAR)
Who directed episode 53 in the series?
SELECT production_code FROM table_24319661_5 WHERE directed_by = "Robert Duncan McNeill"
CREATE TABLE table_24319661_5 (production_code VARCHAR, directed_by VARCHAR)
What as the production code for the episode directed by Robert Duncan McNeill?
SELECT no_in_season FROM table_24319661_5 WHERE production_code = "BCW410"
CREATE TABLE table_24319661_5 (no_in_season VARCHAR, production_code VARCHAR)
What episode number of the season had BCW410 as a production code?
SELECT MAX(no_in_series) FROM table_24319661_5 WHERE us_viewers__million_ = "2.77"
CREATE TABLE table_24319661_5 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
What episode number in the series had 2.77 million U.S. viewers?
SELECT MAX(times_contested) FROM table_24329520_4 WHERE county = "Montgomeryshire"
CREATE TABLE table_24329520_4 (times_contested INTEGER, county VARCHAR)
Name the most times contested for montgomeryshire
SELECT fate_in_1832 FROM table_24329520_4 WHERE county = "Pembrokeshire"
CREATE TABLE table_24329520_4 (fate_in_1832 VARCHAR, county VARCHAR)
Name the fate in 1832 for pembrokeshire
SELECT MIN(podiums) FROM table_24330803_1 WHERE series = "Formula BMW Americas"
CREATE TABLE table_24330803_1 (podiums INTEGER, series VARCHAR)
what is the least number of podiums for a formula BMW Americas series?
SELECT MAX(wins) FROM table_24330803_1 WHERE series = "Formula 3 Euro series"
CREATE TABLE table_24330803_1 (wins INTEGER, series VARCHAR)
What is the maximum number of wins in the formula 3 euro series?
SELECT COUNT(position) FROM table_24330803_1 WHERE points = "30"
CREATE TABLE table_24330803_1 (position VARCHAR, points VARCHAR)
How many positions were given when 30 points were won?
SELECT MAX(poles) FROM table_24330803_1 WHERE season = 2011
CREATE TABLE table_24330803_1 (poles INTEGER, season VARCHAR)
How many pole positions were there for the 2011 season?
SELECT conference AS Tournament FROM table_24348134_3 WHERE tournament_winner = "Kent State"
CREATE TABLE table_24348134_3 (conference VARCHAR, tournament_winner VARCHAR)
List the tournament that kent state won?
SELECT regular_season_winner FROM table_24348134_3 WHERE tournament_winner = "Georgia State"
CREATE TABLE table_24348134_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR)
What team won the regular season when georgia state won the tournament?
SELECT tournament_venue__city_ FROM table_24348134_3 WHERE tournament_winner = "Oklahoma"
CREATE TABLE table_24348134_3 (tournament_venue__city_ VARCHAR, tournament_winner VARCHAR)
In what city did oklahoma win the tournament.
SELECT COUNT(tournament_winner) FROM table_24348134_3 WHERE regular_season_winner = "Iona , Siena & Niagara"
CREATE TABLE table_24348134_3 (tournament_winner VARCHAR, regular_season_winner VARCHAR)
List the number of tournament winners when iona , siena & niagara won in the regular season.
SELECT real_life_eventual_outcome FROM table_243664_1 WHERE currently¹_part_of = "Amtrak"
CREATE TABLE table_243664_1 (real_life_eventual_outcome VARCHAR, currently¹_part_of VARCHAR)
Name the real life for eventual outcome is amtrak
SELECT real_life_years_of_operation FROM table_243664_1 WHERE currently¹_part_of = "Amtrak"
CREATE TABLE table_243664_1 (real_life_years_of_operation VARCHAR, currently¹_part_of VARCHAR)
Name the real life years of operation for amtrak
SELECT game_cost FROM table_243664_1 WHERE railroad = "Chicago and North Western"
CREATE TABLE table_243664_1 (game_cost VARCHAR, railroad VARCHAR)
Name the game coast for chicago and north western
SELECT game_cost FROM table_243664_1 WHERE real_life_eventual_outcome = "Merged with New York Central to form Penn Central"
CREATE TABLE table_243664_1 (game_cost VARCHAR, real_life_eventual_outcome VARCHAR)
Name the game cost for merged with new york central to form penn central
SELECT MIN(2007 AS __usd_) FROM table_24364690_1 WHERE federal_subjects = "Kabardino-Balkaria"
CREATE TABLE table_24364690_1 (federal_subjects VARCHAR)
What is the minimum 2007 USD in Kabardino-Balkaria?
SELECT weight_lost__kg_ FROM table_24370270_10 WHERE starting_weight__kg_ = "97.4"
CREATE TABLE table_24370270_10 (weight_lost__kg_ VARCHAR, starting_weight__kg_ VARCHAR)
What is every amount for weight lost if the starting weight is 97.4?
SELECT starting_weight__kg_ FROM table_24370270_10 WHERE weight_lost__kg_ = "54.6"
CREATE TABLE table_24370270_10 (starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR)
What is the starting weight if weight lost is 54.6?
SELECT final_weight__kg_ FROM table_24370270_10 WHERE contestant = "Chris"
CREATE TABLE table_24370270_10 (final_weight__kg_ VARCHAR, contestant VARCHAR)
What is the final weight for contestant Chris?
SELECT COUNT(aux_in) FROM table_24384861_1 WHERE version = "SoundDock series II"
CREATE TABLE table_24384861_1 (aux_in VARCHAR, version VARCHAR)
How many times did the sounddock series II aux in?
SELECT iphone_certified FROM table_24384861_1 WHERE version = "SoundDock series I v2"
CREATE TABLE table_24384861_1 (iphone_certified VARCHAR, version VARCHAR)
Was the sounddock series I v2 iphone certified?
SELECT COUNT(aux_in) FROM table_24384861_1 WHERE dock_connection = "FireWire"
CREATE TABLE table_24384861_1 (aux_in VARCHAR, dock_connection VARCHAR)
How many connections aux in using FIrewire?