question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which Player has a Team from of south shore kings? | CREATE TABLE "round_one" (
"pick_num" real,
"player" text,
"nationality" text,
"position" text,
"nhl_team" text,
"team_from" text,
"league_from" text
); | SELECT "player" FROM "round_one" WHERE "team_from"='south shore kings'; | 2-18026409-3 |
Which NHL team has a League from of western hockey league and a Pick # smaller than 23 and a Team from of prince george cougars? | CREATE TABLE "round_one" (
"pick_num" real,
"player" text,
"nationality" text,
"position" text,
"nhl_team" text,
"team_from" text,
"league_from" text
); | SELECT "nhl_team" FROM "round_one" WHERE "league_from"='western hockey league' AND "pick_num"<23 AND "team_from"='prince george cougars'; | 2-18026409-3 |
Which Position has a Pick # smaller than 26 and a Player of jack campbell? | CREATE TABLE "round_one" (
"pick_num" real,
"player" text,
"nationality" text,
"position" text,
"nhl_team" text,
"team_from" text,
"league_from" text
); | SELECT "position" FROM "round_one" WHERE "pick_num"<26 AND "player"='jack campbell'; | 2-18026409-3 |
How much money did Willie Klein take home from the game in which he had a to par score larger than 13? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
); | SELECT SUM("money") FROM "final_leaderboard" WHERE "player"='willie klein' AND "to_par">13; | 2-18007085-1 |
What week had an attendance more than 63,268 and Kansas City Chiefs as the opponent? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "attendance">'63,268' AND "opponent"='kansas city chiefs'; | 2-17990432-1 |
What was the attendance on September 11, 1988? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT AVG("attendance") FROM "schedule" WHERE "date"='september 11, 1988'; | 2-17990432-1 |
What was the attendance on week 1? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "attendance" FROM "schedule" WHERE "week"=1; | 2-17990432-1 |
What was the lowest win when there were 34 points and more than 13 draws? | CREATE TABLE "a_lyga" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MIN("wins") FROM "a_lyga" WHERE "points"=34 AND "draws">13; | 2-18018214-1 |
What was the highest win when there were more than 64 goals scored and a position smaller than 2? | CREATE TABLE "a_lyga" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MAX("wins") FROM "a_lyga" WHERE "goals_scored">64 AND "position"<2; | 2-18018214-1 |
Who is the Outgoing Manager replaced by Sandy Clark? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
); | SELECT "outgoing_manager" FROM "managerial_changes" WHERE "replaced_by"='sandy clark'; | 2-17748654-5 |
What is the Date of vacancy for Tommy McLean? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text
); | SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "outgoing_manager"='tommy mclean'; | 2-17748654-5 |
What is the total number of Goals scored that has more than 45 Points? | CREATE TABLE "2_lyga_zone_west" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT COUNT("goals_scored") FROM "2_lyga_zone_west" WHERE "points">45; | 2-18018214-5 |
What was the total number of Goals conceded when there were more than 4 losses, less than 5 draws, and more than 9 wins? | CREATE TABLE "2_lyga_zone_west" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT COUNT("goals_conceded") FROM "2_lyga_zone_west" WHERE "draws"<5 AND "loses">4 AND "wins">9; | 2-18018214-5 |
What is the sum of Goals scored when there was less than 20 Games played? | CREATE TABLE "2_lyga_zone_west" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT SUM("goals_scored") FROM "2_lyga_zone_west" WHERE "games_played"<20; | 2-18018214-5 |
Which Country has a To par of –2, and a Player of jim thorpe? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_leaderboard" WHERE "to_par"='–2' AND "player"='jim thorpe'; | 2-18150398-4 |
Name the Place which has To par of –5, in united states? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_leaderboard" WHERE "country"='united states' AND "to_par"='–5'; | 2-18150398-4 |
Name the To par of payne stewart? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "to_par" FROM "final_leaderboard" WHERE "player"='payne stewart'; | 2-18150398-4 |
WHo has a Country of united states and a To par of –3? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "player" FROM "final_leaderboard" WHERE "country"='united states' AND "to_par"='–3'; | 2-18150398-4 |
What is the sum of cents that has 53ET cents less than 113.21, and a harmonic more than 1? | CREATE TABLE "see_also" (
"harmonic" real,
"ratio" text,
"cents" real,
"12_et_cents" text,
"53_et_commas" real,
"53_et_cents" real
); | SELECT SUM("cents") FROM "see_also" WHERE "53_et_cents"<113.21 AND "harmonic">1; | 2-18102569-2 |
What is the sum of cents that has 12ET cents of 100, and less than 17 harmonic? | CREATE TABLE "see_also" (
"harmonic" real,
"ratio" text,
"cents" real,
"12_et_cents" text,
"53_et_commas" real,
"53_et_cents" real
); | SELECT SUM("cents") FROM "see_also" WHERE "12_et_cents"='100' AND "harmonic"<17; | 2-18102569-2 |
What power plant was commissioned in 2008? | CREATE TABLE "hydro_power_stations" (
"s_no" real,
"power_plant" text,
"state" text,
"commissioned_capacity_mw" real,
"year_of_commission" real
); | SELECT "power_plant" FROM "hydro_power_stations" WHERE "year_of_commission"=2008; | 2-18145877-1 |
What is the Nominated work of popularity award (actor in a motion picture)? | CREATE TABLE "awards_and_nominations" (
"year" real,
"event" text,
"category" text,
"nominated_work" text,
"result" text
); | SELECT "nominated_work" FROM "awards_and_nominations" WHERE "category"='popularity award (actor in a motion picture)'; | 2-18180883-6 |
What is the game site of the game with the san diego chargers as the opponent? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "game_site" FROM "schedule" WHERE "opponent"='san diego chargers'; | 2-17928444-1 |
What is the first round when team 1 was toulouse fc (d1)? | 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"='toulouse fc (d1)'; | 2-17747000-1 |
What is Shahar Pe'er's record? | CREATE TABLE "record_against_other_players" (
"player" text,
"ranking" real,
"record" text,
"hardcourt" text,
"clay" text,
"grass" text,
"carpet" text
); | SELECT "record" FROM "record_against_other_players" WHERE "player"='shahar pe''er'; | 2-18183850-14 |
Which country placed t3 and had the player Fred Couples? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "second_round" WHERE "place"='t3' AND "player"='fred couples'; | 2-18116595-5 |
What is the to par for Fred Couples when the score is 68-66=134? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "score"='68-66=134' AND "player"='fred couples'; | 2-18116595-5 |
Which country scored 66-68=134? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "second_round" WHERE "score"='66-68=134'; | 2-18116595-5 |
What did Fred Couples place? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "player"='fred couples'; | 2-18116595-5 |
What player scored 68-66=134? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "second_round" WHERE "score"='68-66=134'; | 2-18116595-5 |
What Player has a To par of +5 with a Score of 70-70-71-74=285? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "player" FROM "final_leaderboard" WHERE "to_par"='+5' AND "score"='70-70-71-74=285'; | 2-17807292-6 |
What is the Place of the Player with a Score of 73-67-74-71=285? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_leaderboard" WHERE "score"='73-67-74-71=285'; | 2-17807292-6 |
What T9 Place Player had a Score of 73-67-74-71=285? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "player" FROM "final_leaderboard" WHERE "place"='t9' AND "score"='73-67-74-71=285'; | 2-17807292-6 |
Who is the player with a t8 place? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "player" FROM "final_round" WHERE "place"='t8'; | 2-18096431-7 |
What is the average amount of money of players in t8 place with a 68-71-69-72=280 score? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT AVG("money") FROM "final_round" WHERE "place"='t8' AND "score"='68-71-69-72=280'; | 2-18096431-7 |
What is the country of player vijay singh? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_round" WHERE "player"='vijay singh'; | 2-18096431-7 |
What is the Result F-A that was the quarter-final first leg round with a H/A of h? | CREATE TABLE "knockout_phase" (
"date" text,
"round" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT "result_f_a" FROM "knockout_phase" WHERE "h_a"='h' AND "round"='quarter-final first leg'; | 2-17626681-10 |
What was the score when the decision was Raycroft, with attendance larger than 18,277, on February 11? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "decision"='raycroft' AND "attendance">'18,277' AND "date"='february 11'; | 2-17798269-7 |
What was the opponent when the score was 3 - 2, and the decision was Raycroft, with a record of 25-29-1? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "score"='3 - 2' AND "decision"='raycroft' AND "record"='25-29-1'; | 2-17798269-7 |
Which Position has a League from of western hockey league, and a Team from of everett silvertips? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"nationality" text,
"position" text,
"team_from" text,
"league_from" text
); | SELECT "position" FROM "round_two" WHERE "league_from"='western hockey league' AND "team_from"='everett silvertips'; | 2-18026409-4 |
Which Player has a Position of rw, and a League from of western hockey league? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"nationality" text,
"position" text,
"team_from" text,
"league_from" text
); | SELECT "player" FROM "round_two" WHERE "position"='rw' AND "league_from"='western hockey league'; | 2-18026409-4 |
Which Pick # has a Nationality of canada, and a Team from of sudbury wolves? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"nationality" text,
"position" text,
"team_from" text,
"league_from" text
); | SELECT MIN("pick_num") FROM "round_two" WHERE "nationality"='canada' AND "team_from"='sudbury wolves'; | 2-18026409-4 |
Which Pick # has a League from of ontario hockey league, a Nationality of united states, and a Team from of brampton battalion? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"nationality" text,
"position" text,
"team_from" text,
"league_from" text
); | SELECT COUNT("pick_num") FROM "round_two" WHERE "league_from"='ontario hockey league' AND "nationality"='united states' AND "team_from"='brampton battalion'; | 2-18026409-4 |
Which League from has a Position of lw, a Pick # larger than 34, and a Player of bradley ross? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"nationality" text,
"position" text,
"team_from" text,
"league_from" text
); | SELECT "league_from" FROM "round_two" WHERE "position"='lw' AND "pick_num">34 AND "player"='bradley ross'; | 2-18026409-4 |
Which Position has a Team from of ottawa 67's, and a Pick # smaller than 47? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"nationality" text,
"position" text,
"team_from" text,
"league_from" text
); | SELECT "position" FROM "round_two" WHERE "team_from"='ottawa 67''s' AND "pick_num"<47; | 2-18026409-4 |
Who is the republican Incumbent for Pennsylvania 9? | CREATE TABLE "pennsylvania" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text
); | SELECT "incumbent" FROM "pennsylvania" WHERE "party"='republican' AND "district"='pennsylvania 9'; | 2-1805191-39 |
What are the results for Bill Shuster? | CREATE TABLE "pennsylvania" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text
); | SELECT "results" FROM "pennsylvania" WHERE "incumbent"='bill shuster'; | 2-1805191-39 |
What is the greatest first elected for Pennsylvania 10? | CREATE TABLE "pennsylvania" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text
); | SELECT MAX("first_elected") FROM "pennsylvania" WHERE "district"='pennsylvania 10'; | 2-1805191-39 |
What country had a Finish of t8? | 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 "finish"='t8'; | 2-18100823-1 |
What Player had a To Par of +2? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "player" FROM "made_the_cut" WHERE "to_par"='+2'; | 2-18100823-1 |
What is the To Par of the player with a t8 Finish? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "to_par" FROM "made_the_cut" WHERE "finish"='t8'; | 2-18100823-1 |
How tall is the building built in 1985 with 22 floors? | CREATE TABLE "tallest_buildings" (
"rank" text,
"name" text,
"height_ft_m" text,
"floors" real,
"year" real
); | SELECT "height_ft_m" FROM "tallest_buildings" WHERE "floors"=22 AND "year"=1985; | 2-17983290-1 |
How many floors are in the building built after 2007, and ranked #10=? | CREATE TABLE "tallest_buildings" (
"rank" text,
"name" text,
"height_ft_m" text,
"floors" real,
"year" real
); | SELECT AVG("floors") FROM "tallest_buildings" WHERE "rank"='10=' AND "year">2007; | 2-17983290-1 |
How tall is the building ranked #13? | CREATE TABLE "tallest_buildings" (
"rank" text,
"name" text,
"height_ft_m" text,
"floors" real,
"year" real
); | SELECT "height_ft_m" FROM "tallest_buildings" WHERE "rank"='13'; | 2-17983290-1 |
Who won Miss Universe Philippines when the first runner-up was Danielle Castaño and Janina San Miguel won Binibining Pilipinas-World? | CREATE TABLE "title_holders_from_2000_until_2010" (
"year" real,
"miss_universe_philippines" text,
"binibining_pilipinas_world" text,
"binibining_pilipinas_international" text,
"binibining_pilipinas_tourism" text,
"first_runner_up" text,
"second_runner_up" text
); | SELECT "miss_universe_philippines" FROM "title_holders_from_2000_until_2010" WHERE "first_runner_up"='danielle castaño' AND "binibining_pilipinas_world"='janina san miguel'; | 2-1825751-4 |
Who won Miss Universe Philippines when Regina Hahn was second runner-up? | CREATE TABLE "title_holders_from_2000_until_2010" (
"year" real,
"miss_universe_philippines" text,
"binibining_pilipinas_world" text,
"binibining_pilipinas_international" text,
"binibining_pilipinas_tourism" text,
"first_runner_up" text,
"second_runner_up" text
); | SELECT "miss_universe_philippines" FROM "title_holders_from_2000_until_2010" WHERE "second_runner_up"='regina hahn'; | 2-1825751-4 |
When Bianca Manalo won Miss Universe Philippines who was the second runner-up? | CREATE TABLE "title_holders_from_2000_until_2010" (
"year" real,
"miss_universe_philippines" text,
"binibining_pilipinas_world" text,
"binibining_pilipinas_international" text,
"binibining_pilipinas_tourism" text,
"first_runner_up" text,
"second_runner_up" text
); | SELECT "second_runner_up" FROM "title_holders_from_2000_until_2010" WHERE "miss_universe_philippines"='bianca manalo'; | 2-1825751-4 |
What order has the title Deacon of SS. Cosma E Damiano? | CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"order" text,
"title" text,
"elevated" text,
"elevator" text
); | SELECT "order" FROM "cardinal_electors" WHERE "title"='deacon of ss. cosma e damiano'; | 2-18256800-1 |
What is # Eng., when Outside Diameter, Main Passenger Deck is "inches (m)", and when Maximum Metric MTOW is "231.3 tons"? | CREATE TABLE "widebody_specifications" (
"model" text,
"eis_final_prod_year" text,
"num_eng" real,
"maximum_metric_mtow" text,
"outside_diameter_main_passenger_deck" text
); | SELECT "num_eng" FROM "widebody_specifications" WHERE "outside_diameter_main_passenger_deck"='inches (m)' AND "maximum_metric_mtow"='231.3 tons'; | 2-181206-1 |
What is 2009, when 2008 is "A", when 2011 is "A", and when Tournament is "Paris Masters"? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2009" FROM "singles_performance_timeline" WHERE "2008"='a' AND "2011"='a' AND "tournament"='paris masters'; | 2-18087075-3 |
What is 2008, when 2009 is "A", and when Tournament is "Madrid Masters"? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2008" FROM "singles_performance_timeline" WHERE "2009"='a' AND "tournament"='madrid masters'; | 2-18087075-3 |
What is Tournament, when 2012 is "A", when 2011 is "A", and when 2008 is "A"? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "singles_performance_timeline" WHERE "2012"='a' AND "2011"='a' AND "2008"='a'; | 2-18087075-3 |
What is 2009, when 2011 is "Q2"? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2009" FROM "singles_performance_timeline" WHERE "2011"='q2'; | 2-18087075-3 |
What is 2011, when Tournament is "Year-End Ranking"? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2011" FROM "singles_performance_timeline" WHERE "tournament"='year-end ranking'; | 2-18087075-3 |
What was Mark O'Meara's total? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" text,
"to_par" text
); | SELECT "total" FROM "missed_the_cut" WHERE "player"='mark o''meara'; | 2-17974840-2 |
What year did Tom Watson win? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" text,
"to_par" text
); | SELECT "year_s_won" FROM "missed_the_cut" WHERE "player"='tom watson'; | 2-17974840-2 |
Who was the 1st member elected in 1511/12? | CREATE TABLE "parliaments_of_king_henry_viii" (
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "1st_member" FROM "parliaments_of_king_henry_viii" WHERE "elected"='1511/12'; | 2-1827690-7 |
Who was the 1st member of the parliament that was dissolved 23 february 1510? | CREATE TABLE "parliaments_of_king_henry_viii" (
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "1st_member" FROM "parliaments_of_king_henry_viii" WHERE "dissolved"='23 february 1510'; | 2-1827690-7 |
When was the parliament that was elected in 1509/10, and had an unknown second member, dissolved? | CREATE TABLE "parliaments_of_king_henry_viii" (
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "dissolved" FROM "parliaments_of_king_henry_viii" WHERE "2nd_member"='unknown' AND "elected"='1509/10'; | 2-1827690-7 |
Who was the 1st member that was elected in 1541/42? | CREATE TABLE "parliaments_of_king_henry_viii" (
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "1st_member" FROM "parliaments_of_king_henry_viii" WHERE "elected"='1541/42'; | 2-1827690-7 |
Who was the 2nd member of the parliament that was assembled on 3 november 1529? | CREATE TABLE "parliaments_of_king_henry_viii" (
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "2nd_member" FROM "parliaments_of_king_henry_viii" WHERE "assembled"='3 november 1529'; | 2-1827690-7 |
Who was the 2nd member of the parliament that was assembled on 3 november 1529? | CREATE TABLE "parliaments_of_king_henry_viii" (
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "2nd_member" FROM "parliaments_of_king_henry_viii" WHERE "assembled"='3 november 1529'; | 2-1827690-7 |
What date was the competition of the Emerging Nations Tournament and a result of Scotland 34-9 Russia? | CREATE TABLE "1990s" (
"date" text,
"result" text,
"competition" text,
"venue" text,
"attendance" real
); | SELECT "date" FROM "1990s" WHERE "competition"='emerging nations tournament' AND "result"='scotland 34-9 russia'; | 2-18304748-1 |
What number was manufactured 1 in 1841? | CREATE TABLE "locomotives_of_the_early_period_for_all_" (
"class" text,
"number_s" text,
"quantity" text,
"year_s_of_manufacture" text,
"type" text
); | SELECT "number_s" FROM "locomotives_of_the_early_period_for_all_" WHERE "quantity"='1' AND "year_s_of_manufacture"='1841'; | 2-17941795-2 |
What is the quantity of class B V? | CREATE TABLE "locomotives_of_the_early_period_for_all_" (
"class" text,
"number_s" text,
"quantity" text,
"year_s_of_manufacture" text,
"type" text
); | SELECT "quantity" FROM "locomotives_of_the_early_period_for_all_" WHERE "class"='b v'; | 2-17941795-2 |
What number corresponds to the quantity of 24? | CREATE TABLE "locomotives_of_the_early_period_for_all_" (
"class" text,
"number_s" text,
"quantity" text,
"year_s_of_manufacture" text,
"type" text
); | SELECT "number_s" FROM "locomotives_of_the_early_period_for_all_" WHERE "quantity"='24'; | 2-17941795-2 |
What is Tim Wollthan's Date of Birth? | CREATE TABLE "germany" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
); | SELECT "date_of_birth" FROM "germany" WHERE "name"='tim wollthan'; | 2-17759945-5 |
What D Player with a Height of m (ft 4in) is in the Spandau 04 Club? | CREATE TABLE "germany" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
); | SELECT "name" FROM "germany" WHERE "club"='spandau 04' AND "height"='m (ft 4in)' AND "pos"='d'; | 2-17759945-5 |
What is the Club of the Player with a Date of Birth of 1979-01-29? | CREATE TABLE "germany" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
); | SELECT "club" FROM "germany" WHERE "date_of_birth"='1979-01-29'; | 2-17759945-5 |
What is the Weight of the Spandau 04 Player with a Height of m (ft 5in)? | CREATE TABLE "germany" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
); | SELECT "weight" FROM "germany" WHERE "club"='spandau 04' AND "height"='m (ft 5in)'; | 2-17759945-5 |
What is Spandau 04 Player Jens Pohlmann's Pos.? | CREATE TABLE "germany" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
); | SELECT "pos" FROM "germany" WHERE "club"='spandau 04' AND "name"='jens pohlmann'; | 2-17759945-5 |
Which play is from Ireland? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "player" FROM "first_round" WHERE "country"='ireland'; | 2-18116595-4 |
Which country is Howard Clark from? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "country" FROM "first_round" WHERE "player"='howard clark'; | 2-18116595-4 |
What is the most silver medals won among nations that won more than 40 medals total, less than 25 of them being gold, and more than 15 of them being bronze? | CREATE TABLE "medals_by_country" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medals_by_country" WHERE "total">40 AND "gold"<25 AND "bronze">15; | 2-178730-1 |
Of the 1978 winners, who had finish totals smaller than 292? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "finish" FROM "made_the_cut" WHERE "total"<292 AND "year_s_won"='1978'; | 2-18170407-1 |
What were the finishes by David Graham with totals lower than 292? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "finish" FROM "made_the_cut" WHERE "total"=292 AND "player"='david graham'; | 2-18170407-1 |
What is Australia´s finish? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "finish" FROM "made_the_cut" WHERE "country"='australia'; | 2-18170407-1 |
What is the name of the church that is located in florø? | CREATE TABLE "churches_in_flora" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
); | SELECT "church_name" FROM "churches_in_flora" WHERE "location_of_the_church"='florø'; | 2-178381-1 |
What is the name of the church that is located in eikefjord? | CREATE TABLE "churches_in_flora" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
); | SELECT "church_name" FROM "churches_in_flora" WHERE "location_of_the_church"='eikefjord'; | 2-178381-1 |
In which Parish (Prestegjeld) is the church called Stavang Kyrkje? | CREATE TABLE "churches_in_flora" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
); | SELECT "parish_prestegjeld" FROM "churches_in_flora" WHERE "church_name"='stavang kyrkje'; | 2-178381-1 |
What is the Sub-Parish (Sokn) that was built in 1957 in the location of Stavang? | CREATE TABLE "churches_in_flora" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
); | SELECT "sub_parish_sokn" FROM "churches_in_flora" WHERE "year_built"='1957' AND "location_of_the_church"='stavang'; | 2-178381-1 |
In what year was the church located in florø built? | CREATE TABLE "churches_in_flora" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
); | SELECT "year_built" FROM "churches_in_flora" WHERE "location_of_the_church"='florø'; | 2-178381-1 |
Which Parish (Prestegjeld) was built in 1907? | CREATE TABLE "churches_in_flora" (
"parish_prestegjeld" text,
"sub_parish_sokn" text,
"church_name" text,
"year_built" text,
"location_of_the_church" text
); | SELECT "parish_prestegjeld" FROM "churches_in_flora" WHERE "year_built"='1907'; | 2-178381-1 |
What's the height in feet of Mount Queen Bess with a height in metres less than 3298 and a prominence in feet of more than 7,126? | CREATE TABLE "high_prominence_peaks" (
"mountain_peak" text,
"height_metres" real,
"prominence_metres" real,
"height_feet" real,
"prominence_feet" real
); | SELECT MAX("height_feet") FROM "high_prominence_peaks" WHERE "prominence_feet">'7,126' AND "mountain_peak"='mount queen bess' AND "height_metres"<3298; | 2-177715-1 |
What's the total number of prominence in metres when the prominence is 7,356 ft and less than 2692 metres in height? | CREATE TABLE "high_prominence_peaks" (
"mountain_peak" text,
"height_metres" real,
"prominence_metres" real,
"height_feet" real,
"prominence_feet" real
); | SELECT COUNT("prominence_metres") FROM "high_prominence_peaks" WHERE "prominence_feet"='7,356' AND "height_metres"<2692; | 2-177715-1 |
What's the total number of prominence in metres of Otter Mountain with a height of less than 2692 metres and taller than 11,663 ft? | CREATE TABLE "high_prominence_peaks" (
"mountain_peak" text,
"height_metres" real,
"prominence_metres" real,
"height_feet" real,
"prominence_feet" real
); | SELECT COUNT("prominence_metres") FROM "high_prominence_peaks" WHERE "height_feet">'11,663' AND "mountain_peak"='otter mountain' AND "height_metres"<2692; | 2-177715-1 |
What's the average year that sara orlesky and farhan lalji are the sideline reporters? | CREATE TABLE "2000s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"sideline_reporters" text,
"pregame_host" text,
"pregame_analysts" text
); | SELECT AVG("year") FROM "2000s" WHERE "sideline_reporters"='sara orlesky and farhan lalji'; | 2-17628022-2 |
What was the attendance on september 29? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT MAX("attendance") FROM "schedule" WHERE "date"='september 29'; | 2-17972193-1 |
What was the attendance on september 8? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT AVG("attendance") FROM "schedule" WHERE "date"='september 8'; | 2-17972193-1 |
Which Week has a Result of l 10–30, and an Attendance larger than 57,312? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT AVG("week") FROM "schedule" WHERE "result"='l 10–30' AND "attendance">'57,312'; | 2-17972193-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.