question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What is Date, when Tie no is "3"?
CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "date" FROM "sixth_round_proper" WHERE "tie_no"='3';
2-17751811-6
What is Date, when Away Team is "Brentford"?
CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "date" FROM "sixth_round_proper" WHERE "away_team"='brentford';
2-17751811-6
What is Date, when Home Team is "Everton"?
CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "date" FROM "sixth_round_proper" WHERE "home_team"='everton';
2-17751811-6
What is Away Team, when Home Team is "West Ham United"?
CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "away_team" FROM "sixth_round_proper" WHERE "home_team"='west ham united';
2-17751811-6
What is Venue, when Balls is "148"?
CREATE TABLE "list_of_centuries" ( "name" text, "score" text, "balls" real, "venue" text, "date" text );
SELECT "venue" FROM "list_of_centuries" WHERE "balls"=148;
2-180866-9
What is Name, when Score is "101"?
CREATE TABLE "list_of_centuries" ( "name" text, "score" text, "balls" real, "venue" text, "date" text );
SELECT "name" FROM "list_of_centuries" WHERE "score"='101';
2-180866-9
What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"?
CREATE TABLE "list_of_centuries" ( "name" text, "score" text, "balls" real, "venue" text, "date" text );
SELECT "date" FROM "list_of_centuries" WHERE "venue"='taunton' AND "name"='sc ganguly';
2-180866-9
What is Balls, when Venue is "Bristol", and when Score is "104*"?
CREATE TABLE "list_of_centuries" ( "name" text, "score" text, "balls" real, "venue" text, "date" text );
SELECT "balls" FROM "list_of_centuries" WHERE "venue"='bristol' AND "score"='104*';
2-180866-9
What is the number of silver when bronze is less than 0?
CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("silver") FROM "performances_by_nation" WHERE "bronze"<0;
2-17838113-5
What is the gold when silver is less than 1, rank is 12, and total is less than 3?
CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("gold") FROM "performances_by_nation" WHERE "silver"<1 AND "rank"=12 AND "total"<3;
2-17838113-5
What shows for gold when the rank is less than 3, and silver less than 1?
CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("gold") FROM "performances_by_nation" WHERE "rank"<3 AND "silver"<1;
2-17838113-5
What is the total when gold is 1, and rank is more than 4, and bronze is 0?
CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "performances_by_nation" WHERE "gold"=1 AND "rank">4 AND "bronze"=0;
2-17838113-5
What shows for bronze when silver is 1, rank is smaller than 4, and gold is larger than 1?
CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("bronze") FROM "performances_by_nation" WHERE "silver"=1 AND "rank"<4 AND "gold">1;
2-17838113-5
What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, bronze is smaller than 0?
CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("gold") FROM "performances_by_nation" WHERE "silver"=1 AND "rank">3 AND "total"<2 AND "bronze"<0;
2-17838113-5
What player is from France?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "country"='france';
2-17991748-5
What place is S.K. Ho in?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "player"='s.k. ho';
2-17991748-5
What player is from Scotland and has a score of 74-70=144?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "score"='74-70=144' AND "country"='scotland';
2-17991748-5
Which player is from South Africa?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "country"='south africa';
2-17991748-5
What country is the player with a score of 72-72=144 from?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "score"='72-72=144';
2-17991748-5
Which Geelong DFL has 8 losses and more than 4 wins?
CREATE TABLE "2010_ladder" ( "geelong_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT "geelong_dfl" FROM "2010_ladder" WHERE "wins">4 AND "losses"=8;
2-17982197-4
What number of examines after 2005 has a pass percentage of 78.35% with less than 297 students?
CREATE TABLE "academic_performance" ( "year" real, "number_of_examinees" real, "number_of_passed_students" real, "pass_percentage" text, "obtained_gpa_5" real );
SELECT COUNT("number_of_examinees") FROM "academic_performance" WHERE "year">2005 AND "pass_percentage"='78.35%' AND "number_of_passed_students"<297;
2-17836592-1
Which venue was founded after 1967 and had the league North American Soccer League?
CREATE TABLE "sports" ( "club" text, "sport" text, "founded" real, "league" text, "venue" text );
SELECT "venue" FROM "sports" WHERE "founded">1967 AND "league"='north american soccer league';
2-18315-3
Which venue was fouded before 2000 for basketball?
CREATE TABLE "sports" ( "club" text, "sport" text, "founded" real, "league" text, "venue" text );
SELECT "venue" FROM "sports" WHERE "founded"<2000 AND "sport"='basketball';
2-18315-3
Which club had football at Mitchel Athletic Field?
CREATE TABLE "sports" ( "club" text, "sport" text, "founded" real, "league" text, "venue" text );
SELECT "club" FROM "sports" WHERE "sport"='football' AND "venue"='mitchel athletic field';
2-18315-3
Which club was founded in 1962?
CREATE TABLE "sports" ( "club" text, "sport" text, "founded" real, "league" text, "venue" text );
SELECT "club" FROM "sports" WHERE "founded"=1962;
2-18315-3
What is the total sum of the player from the United States who won in 1986?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text );
SELECT SUM("total") FROM "made_the_cut" WHERE "country"='united states' AND "year_s_won"='1986';
2-18132874-2
What year did the player with a total less than 300 and a to par of 9 have a win?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text );
SELECT "year_s_won" FROM "made_the_cut" WHERE "total"<300 AND "to_par"=9;
2-18132874-2
What is total number of the to par of player john mahaffey, who has a total less than 298?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text );
SELECT COUNT("to_par") FROM "made_the_cut" WHERE "player"='john mahaffey' AND "total"<298;
2-18132874-2
What is the sum of the total of the player who won in 1979?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text );
SELECT SUM("total") FROM "made_the_cut" WHERE "year_s_won"='1979';
2-18132874-2
What is the country of the player who has a total larger than 300?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text );
SELECT "country" FROM "made_the_cut" WHERE "total">300;
2-18132874-2
What is the Shropshire Senior Cup when points are greater than 78 and FA Cup is pre?
CREATE TABLE "season_by_season_performance" ( "season" text, "division" text, "tier" real, "points" real, "fa_cup" text, "fa_trophy" text, "shropshire_senior_cup" text );
SELECT "shropshire_senior_cup" FROM "season_by_season_performance" WHERE "points">78 AND "fa_cup"='pre';
2-1820392-3
What season had 78 points?
CREATE TABLE "season_by_season_performance" ( "season" text, "division" text, "tier" real, "points" real, "fa_cup" text, "fa_trophy" text, "shropshire_senior_cup" text );
SELECT "season" FROM "season_by_season_performance" WHERE "points"=78;
2-1820392-3
For the match against Arema Malang that ended in a draw, what was the final score?
CREATE TABLE "asian_champions_league_appearances" ( "date" text, "venue" text, "opponent" text, "score" text, "result" text );
SELECT "score" FROM "asian_champions_league_appearances" WHERE "result"='draw' AND "opponent"='arema malang';
2-18046242-2
What was the final score for the match held on April 11, 2007?
CREATE TABLE "asian_champions_league_appearances" ( "date" text, "venue" text, "opponent" text, "score" text, "result" text );
SELECT "score" FROM "asian_champions_league_appearances" WHERE "date"='april 11, 2007';
2-18046242-2
What was the location for the match held on April 11, 2007, which ended with a score of 0-0?
CREATE TABLE "asian_champions_league_appearances" ( "date" text, "venue" text, "opponent" text, "score" text, "result" text );
SELECT "venue" FROM "asian_champions_league_appearances" WHERE "score"='0-0' AND "date"='april 11, 2007';
2-18046242-2
What was the location for the match held on March 7, 2007, which ended with a score of 0-0?
CREATE TABLE "asian_champions_league_appearances" ( "date" text, "venue" text, "opponent" text, "score" text, "result" text );
SELECT "venue" FROM "asian_champions_league_appearances" WHERE "score"='0-0' AND "date"='march 7, 2007';
2-18046242-2
What is on at 12:30pm when Local Programs are on at 8am?
CREATE TABLE "summer_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm" text, "4_00_pm" text, "5_00_pm" text, "6_30_pm" text );
SELECT "12_30_pm" FROM "summer_1998" WHERE "8_00_am"='local programs';
2-17871161-4
What is on at 1:30 if Pinky and the Brain is on a 4:00pm?
CREATE TABLE "summer_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm" text, "4_00_pm" text, "5_00_pm" text, "6_30_pm" text );
SELECT "1_30_pm" FROM "summer_1998" WHERE "4_00_pm"='pinky and the brain';
2-17871161-4
What is the 12:30 program of Good Morning America is on at 8:00am?
CREATE TABLE "summer_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm" text, "4_00_pm" text, "5_00_pm" text, "6_30_pm" text );
SELECT "12_30_pm" FROM "summer_1998" WHERE "8_00_am"='good morning america';
2-17871161-4
What is on at 8am if The Young and the Restless is on at 12:30?
CREATE TABLE "summer_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm" text, "4_00_pm" text, "5_00_pm" text, "6_30_pm" text );
SELECT "8_00_am" FROM "summer_1998" WHERE "12_30_pm"='the young and the restless';
2-17871161-4
What is on at 3:00pm if Port Charles is on at 12:30?
CREATE TABLE "summer_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm" text, "4_00_pm" text, "5_00_pm" text, "6_30_pm" text );
SELECT "3_00_pm" FROM "summer_1998" WHERE "12_30_pm"='port charles';
2-17871161-4
Amritpur has what constituency number?
CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real );
SELECT "constituency_number" FROM "assembly_segments" WHERE "name"='amritpur';
2-18124696-1
With the number of electorates (2009) greater than 272,902, and 192 as the constituency number, what is the reserved for (SC / ST /None)?
CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real );
SELECT "reserved_for_sc_st_none" FROM "assembly_segments" WHERE "number_of_electorates_2009">'272,902' AND "constituency_number"='192';
2-18124696-1
Kaimganj has what reserved for (SC / ST /None)?
CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real );
SELECT "reserved_for_sc_st_none" FROM "assembly_segments" WHERE "name"='kaimganj';
2-18124696-1
Which country is bob tway from?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "country" FROM "made_the_cut" WHERE "player"='bob tway';
2-18017347-2
Which country won in 1986?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "country" FROM "made_the_cut" WHERE "year_s_won"='1986';
2-18017347-2
What is Fiji's lowest total?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT MIN("total") FROM "made_the_cut" WHERE "country"='fiji';
2-18017347-2
What is the date with the local name, дан државности србије, dan državnosti srbije, and what is February 15, 2012?
CREATE TABLE "public_holidays" ( "date" text, "name" text, "local_name" text, "2012_date" text, "2013_date" text );
SELECT "date" FROM "public_holidays" WHERE "local_name"='дан државности србије, dan državnosti srbije' AND "2012_date"='february 15';
2-18012080-1
What is the local name for January 7, 2013?
CREATE TABLE "public_holidays" ( "date" text, "name" text, "local_name" text, "2012_date" text, "2013_date" text );
SELECT "local_name" FROM "public_holidays" WHERE "2013_date"='january 7';
2-18012080-1
What was on January 7, 2012?
CREATE TABLE "public_holidays" ( "date" text, "name" text, "local_name" text, "2012_date" text, "2013_date" text );
SELECT "date" FROM "public_holidays" WHERE "2012_date"='january 7';
2-18012080-1
What Country had a Player with a Score of 72-66-72=210?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "score"='72-66-72=210';
2-18009787-6
What is the Place of the Player with a To par of –6?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "to_par"='–6';
2-18009787-6
What is the Place of the Player with a Score of 68-73-76=217?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "score"='68-73-76=217';
2-18009787-6
What is Justin Leonard's To par?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "third_round" WHERE "player"='justin leonard';
2-18009787-6
What is the architecture version of Model 1b?
CREATE TABLE "godson_microprocessor_specifications" ( "name_generation" text, "model" text, "frequency_m_hz" text, "architecture_version" text, "cores" text, "process_nm" text );
SELECT "architecture_version" FROM "godson_microprocessor_specifications" WHERE "model"='1b';
2-1764207-1
What is the name of the architecture version of the MIPS-III 64-bit, and model 2b?
CREATE TABLE "godson_microprocessor_specifications" ( "name_generation" text, "model" text, "frequency_m_hz" text, "architecture_version" text, "cores" text, "process_nm" text );
SELECT "name_generation" FROM "godson_microprocessor_specifications" WHERE "architecture_version"='mips-iii 64-bit' AND "model"='2b';
2-1764207-1
What is the event with a 2:08 time?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "time"='2:08';
2-17944505-2
What type of wheels did the locomotive have that was built by Baldwin Locomotive Works?
CREATE TABLE "locomotives" ( "road_number" text, "traction" text, "builder" text, "built" text, "service" text, "wheels" text, "weight" text );
SELECT "wheels" FROM "locomotives" WHERE "builder"='baldwin locomotive works';
2-18115386-1
Which Venue has Against of 25?
CREATE TABLE "1973" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "venue" FROM "1973" WHERE "against"=25;
2-18178924-4
Which Venue has Against smaller than 6?
CREATE TABLE "1973" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "venue" FROM "1973" WHERE "against"<6;
2-18178924-4
What's the value for utah when colorado and new mexico are bush?
CREATE TABLE "politics_of_the_southwestern_states" ( "year" text, "arizona" text, "california" text, "colorado" text, "nevada" text, "new_mexico" text, "oklahoma" text, "texas" text, "utah" text );
SELECT "utah" FROM "politics_of_the_southwestern_states" WHERE "colorado"='bush' AND "new_mexico"='bush';
2-179571-2
What's the value for oklahoma when texas is kennedy?
CREATE TABLE "politics_of_the_southwestern_states" ( "year" text, "arizona" text, "california" text, "colorado" text, "nevada" text, "new_mexico" text, "oklahoma" text, "texas" text, "utah" text );
SELECT "oklahoma" FROM "politics_of_the_southwestern_states" WHERE "texas"='kennedy';
2-179571-2
What's the value for utah when texas is humphrey?
CREATE TABLE "politics_of_the_southwestern_states" ( "year" text, "arizona" text, "california" text, "colorado" text, "nevada" text, "new_mexico" text, "oklahoma" text, "texas" text, "utah" text );
SELECT "utah" FROM "politics_of_the_southwestern_states" WHERE "texas"='humphrey';
2-179571-2
What's the value for arizona when colorado and nevada are nixon, and texas is humphrey?
CREATE TABLE "politics_of_the_southwestern_states" ( "year" text, "arizona" text, "california" text, "colorado" text, "nevada" text, "new_mexico" text, "oklahoma" text, "texas" text, "utah" text );
SELECT "arizona" FROM "politics_of_the_southwestern_states" WHERE "colorado"='nixon' AND "nevada"='nixon' AND "texas"='humphrey';
2-179571-2
What's the value for oklahoma when nevada and colorado are clinton?
CREATE TABLE "politics_of_the_southwestern_states" ( "year" text, "arizona" text, "california" text, "colorado" text, "nevada" text, "new_mexico" text, "oklahoma" text, "texas" text, "utah" text );
SELECT "oklahoma" FROM "politics_of_the_southwestern_states" WHERE "nevada"='clinton' AND "colorado"='clinton';
2-179571-2
What's the value for arizona when utah is eisenhower?
CREATE TABLE "politics_of_the_southwestern_states" ( "year" text, "arizona" text, "california" text, "colorado" text, "nevada" text, "new_mexico" text, "oklahoma" text, "texas" text, "utah" text );
SELECT "arizona" FROM "politics_of_the_southwestern_states" WHERE "utah"='eisenhower';
2-179571-2
How often are there ads during American Top 40?
CREATE TABLE "sunday_schedule" ( "time" text, "show_name" text, "local_networked" text, "ad_freq" text, "news_freq" text );
SELECT "ad_freq" FROM "sunday_schedule" WHERE "show_name"='american top 40';
2-18223138-4
When does Classic Hits air?
CREATE TABLE "sunday_schedule" ( "time" text, "show_name" text, "local_networked" text, "ad_freq" text, "news_freq" text );
SELECT "time" FROM "sunday_schedule" WHERE "show_name"='classic hits';
2-18223138-4
What is Pick #18's Role?
CREATE TABLE "supplemental_draft" ( "pick_num" real, "brand_to" text, "employee_real_name" text, "role" text, "brand_from" text );
SELECT "role" FROM "supplemental_draft" WHERE "pick_num"=18;
2-17631598-3
What is the foundation for the institution whose name in English is tanjung puteri technical secondary school?
CREATE TABLE "department_of_skills_development" ( "name_in_english" text, "name_in_malay" text, "acronym" text, "foundation" text, "location" text );
SELECT "foundation" FROM "department_of_skills_development" WHERE "name_in_english"='tanjung puteri technical secondary school';
2-18144241-3
What is the location of the institution whose name in Malay is kolej kemahiran belia nasional, pontian?
CREATE TABLE "department_of_skills_development" ( "name_in_english" text, "name_in_malay" text, "acronym" text, "foundation" text, "location" text );
SELECT "location" FROM "department_of_skills_development" WHERE "name_in_malay"='kolej kemahiran belia nasional, pontian';
2-18144241-3
What was the average money when the score was 68-69-68-72=277?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT AVG("money") FROM "final_leaderboard" WHERE "score"='68-69-68-72=277';
2-18155811-3
What was the highest money when the score was 69-68-67-69=273?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT MAX("money") FROM "final_leaderboard" WHERE "score"='69-68-67-69=273';
2-18155811-3
What did South Africa place?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "place" FROM "final_leaderboard" WHERE "country"='south africa';
2-18155811-3
What county placed t2 and scored 68-69-68-72=277?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "country" FROM "final_leaderboard" WHERE "place"='t2' AND "score"='68-69-68-72=277';
2-18155811-3
Name the Milan – San Remo which has a Liège–Bastogne–Liège of danilo di luca ( ita )?
CREATE TABLE "monument_winners_since_1960" ( "year" real, "milan_san_remo" text, "tour_of_flanders" text, "paris_roubaix" text, "li_ge_bastogne_li_ge" text, "giro_di_lombardia" text );
SELECT "milan_san_remo" FROM "monument_winners_since_1960" WHERE "li_ge_bastogne_li_ge"='danilo di luca ( ita )';
2-1810761-2
Which Giro di Lombardia has a Paris–Roubaix of servais knaven ( ned )?
CREATE TABLE "monument_winners_since_1960" ( "year" real, "milan_san_remo" text, "tour_of_flanders" text, "paris_roubaix" text, "li_ge_bastogne_li_ge" text, "giro_di_lombardia" text );
SELECT "giro_di_lombardia" FROM "monument_winners_since_1960" WHERE "paris_roubaix"='servais knaven ( ned )';
2-1810761-2
what kind of Giro di Lombardiahas a Tour of Flanders of tom boonen ( bel ), and a Paris–Roubaix of fabian cancellara ( sui )?
CREATE TABLE "monument_winners_since_1960" ( "year" real, "milan_san_remo" text, "tour_of_flanders" text, "paris_roubaix" text, "li_ge_bastogne_li_ge" text, "giro_di_lombardia" text );
SELECT "giro_di_lombardia" FROM "monument_winners_since_1960" WHERE "tour_of_flanders"='tom boonen ( bel )' AND "paris_roubaix"='fabian cancellara ( sui )';
2-1810761-2
What are the cargo tonnes when the international (non-CIS) is 297 421?
CREATE TABLE "statistics_for_airport_koltsovo" ( "year" real, "total_passengers" text, "passenger_change" text, "domestic" text, "international_total" text, "international_non_cis" text, "aircraft_landings" text, "cargo_tonnes" text );
SELECT "cargo_tonnes" FROM "statistics_for_airport_koltsovo" WHERE "international_non_cis"='297 421';
2-1794033-4
How manu aircraft landings when the cargo tonnes are 18 344?
CREATE TABLE "statistics_for_airport_koltsovo" ( "year" real, "total_passengers" text, "passenger_change" text, "domestic" text, "international_total" text, "international_non_cis" text, "aircraft_landings" text, "cargo_tonnes" text );
SELECT "aircraft_landings" FROM "statistics_for_airport_koltsovo" WHERE "cargo_tonnes"='18 344';
2-1794033-4
What is the domestic figure when cargo tonnes equal 25 866?
CREATE TABLE "statistics_for_airport_koltsovo" ( "year" real, "total_passengers" text, "passenger_change" text, "domestic" text, "international_total" text, "international_non_cis" text, "aircraft_landings" text, "cargo_tonnes" text );
SELECT "domestic" FROM "statistics_for_airport_koltsovo" WHERE "cargo_tonnes"='25 866';
2-1794033-4
What is the year that saw a passenger change of +32,9%?
CREATE TABLE "statistics_for_airport_koltsovo" ( "year" real, "total_passengers" text, "passenger_change" text, "domestic" text, "international_total" text, "international_non_cis" text, "aircraft_landings" text, "cargo_tonnes" text );
SELECT COUNT("year") FROM "statistics_for_airport_koltsovo" WHERE "passenger_change"='+32,9%';
2-1794033-4
What year had cargo tonnes of 13 585?
CREATE TABLE "statistics_for_airport_koltsovo" ( "year" real, "total_passengers" text, "passenger_change" text, "domestic" text, "international_total" text, "international_non_cis" text, "aircraft_landings" text, "cargo_tonnes" text );
SELECT AVG("year") FROM "statistics_for_airport_koltsovo" WHERE "cargo_tonnes"='13 585';
2-1794033-4
What round did the event UFC 86 take place?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "round" FROM "mixed_martial_arts_record" WHERE "event"='ufc 86';
2-18152712-2
What method was there in round 1 when the location was Aruba?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "round"='1' AND "location"='aruba';
2-18152712-2
What location was the event ufc: fight for the troops?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "event"='ufc: fight for the troops';
2-18152712-2
When was the game that had the St. Louis Rams as visiting team and resulted in a score of 26-0?
CREATE TABLE "2010s_49ers_3_2_1" ( "year" real, "date" text, "home_team" text, "result" text, "visiting_team" text, "venue" text );
SELECT "date" FROM "2010s_49ers_3_2_1" WHERE "visiting_team"='st. louis rams' AND "result"='26-0';
2-18226024-8
What date(s) was the game(s) at Candlestick Park?
CREATE TABLE "2010s_49ers_3_2_1" ( "year" real, "date" text, "home_team" text, "result" text, "visiting_team" text, "venue" text );
SELECT "date" FROM "2010s_49ers_3_2_1" WHERE "venue"='candlestick park';
2-18226024-8
What year was the opponent in the final john higgins category:articles with hcards?
CREATE TABLE "ranking_event_finals_8_4_titles_4_runner" ( "outcome" text, "year" real, "championship" text, "opponent_in_the_final" text, "score" text );
SELECT "year" FROM "ranking_event_finals_8_4_titles_4_runner" WHERE "opponent_in_the_final"='john higgins category:articles with hcards';
2-1795208-5
Which church was built in 1600?
CREATE TABLE "churches_in_bremanger" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" real, "location_of_the_church" text );
SELECT "church_name" FROM "churches_in_bremanger" WHERE "year_built"=1600;
2-178408-1
What is the Location of the Church that was built in the year 1914?
CREATE TABLE "churches_in_bremanger" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" real, "location_of_the_church" text );
SELECT "location_of_the_church" FROM "churches_in_bremanger" WHERE "year_built"=1914;
2-178408-1
Where is the Church that has a Sub-Parish (Sokn) of rugsund?
CREATE TABLE "churches_in_bremanger" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" real, "location_of_the_church" text );
SELECT "location_of_the_church" FROM "churches_in_bremanger" WHERE "sub_parish_sokn"='rugsund';
2-178408-1
Which Year Built has a Parish (Prestegjeld) of bremanger parish, and a Location of the Church of bremanger?
CREATE TABLE "churches_in_bremanger" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" real, "location_of_the_church" text );
SELECT AVG("year_built") FROM "churches_in_bremanger" WHERE "parish_prestegjeld"='bremanger parish' AND "location_of_the_church"='bremanger';
2-178408-1
Who is the required actor when Robert Austin was the actor in the original production?
CREATE TABLE "characters" ( "actor_in_original_production" text, "actor_required" text, "game_plan" text, "flat_spin" text, "role_play" text );
SELECT "actor_required" FROM "characters" WHERE "actor_in_original_production"='robert austin';
2-17827271-1
Who is the actor in the original production when Troy Stephens is the GamePlan?
CREATE TABLE "characters" ( "actor_in_original_production" text, "actor_required" text, "game_plan" text, "flat_spin" text, "role_play" text );
SELECT "actor_in_original_production" FROM "characters" WHERE "game_plan"='troy stephens';
2-17827271-1
Who is the GamePlan when Jacqueline King is the actor in the original production?
CREATE TABLE "characters" ( "actor_in_original_production" text, "actor_required" text, "game_plan" text, "flat_spin" text, "role_play" text );
SELECT "game_plan" FROM "characters" WHERE "actor_in_original_production"='jacqueline king';
2-17827271-1
Who is the GamePlan when Arabella Lazenby is the RolePlay actor?
CREATE TABLE "characters" ( "actor_in_original_production" text, "actor_required" text, "game_plan" text, "flat_spin" text, "role_play" text );
SELECT "game_plan" FROM "characters" WHERE "role_play"='arabella lazenby';
2-17827271-1
Who is the actor required when Edna Stricken is the FlatSpin actor?
CREATE TABLE "characters" ( "actor_in_original_production" text, "actor_required" text, "game_plan" text, "flat_spin" text, "role_play" text );
SELECT "actor_required" FROM "characters" WHERE "flat_spin"='edna stricken';
2-17827271-1
What shows for the 1st round when the team 1 was Lb Châteauroux (d2)?
CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text );
SELECT "1st_round" FROM "round_of_16" WHERE "team_1"='lb châteauroux (d2)';
2-17826565-1
What shows for 2nd round when the team 1 was Rc Strasbourg (d1)?
CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text );
SELECT "2nd_round" FROM "round_of_16" WHERE "team_1"='rc strasbourg (d1)';
2-17826565-1