question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which Score has a Set 1 of 25–16?
CREATE TABLE "pool_f" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text );
SELECT "score" FROM "pool_f" WHERE "set_1"='25–16';
2-16571273-13
Which Date has a Score of 2–3, a Time of 20:30, and a Set 3 of 16–25?
CREATE TABLE "pool_f" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text );
SELECT "date" FROM "pool_f" WHERE "score"='2–3' AND "time"='20:30' AND "set_3"='16–25';
2-16571273-13
Which Back has a Supplier of Kooga and a Year of 2006-2008?
CREATE TABLE "kit" ( "year" text, "supplier" text, "chest" text, "sleeves" text, "back" text );
SELECT "back" FROM "kit" WHERE "supplier"='kooga' AND "year"='2006-2008';
2-1620305-1
Which Supplier has a Year of 2006-2008?
CREATE TABLE "kit" ( "year" text, "supplier" text, "chest" text, "sleeves" text, "back" text );
SELECT "supplier" FROM "kit" WHERE "year"='2006-2008';
2-1620305-1
Which Sleeves have a Back of Unknown?
CREATE TABLE "kit" ( "year" text, "supplier" text, "chest" text, "sleeves" text, "back" text );
SELECT "sleeves" FROM "kit" WHERE "back"='unknown';
2-1620305-1
What is the Year for Supplier Kooga?
CREATE TABLE "kit" ( "year" text, "supplier" text, "chest" text, "sleeves" text, "back" text );
SELECT "year" FROM "kit" WHERE "supplier"='kooga';
2-1620305-1
Which Sleeves have a Year of 2006-2008?
CREATE TABLE "kit" ( "year" text, "supplier" text, "chest" text, "sleeves" text, "back" text );
SELECT "sleeves" FROM "kit" WHERE "year"='2006-2008';
2-1620305-1
Which Chest is Supplied by Gilbert?
CREATE TABLE "kit" ( "year" text, "supplier" text, "chest" text, "sleeves" text, "back" text );
SELECT "chest" FROM "kit" WHERE "supplier"='gilbert';
2-1620305-1
Which website was started in 2008?
CREATE TABLE "canada" ( "year_started" real, "number_of_cars" real, "current_car" text, "car_num" text, "website" text );
SELECT "website" FROM "canada" WHERE "year_started"=2008;
2-1688640-4
Which Year started is the highest one that has a Current car of arctic sun, and a Number of cars smaller than 1?
CREATE TABLE "canada" ( "year_started" real, "number_of_cars" real, "current_car" text, "car_num" text, "website" text );
SELECT MAX("year_started") FROM "canada" WHERE "current_car"='arctic sun' AND "number_of_cars"<1;
2-1688640-4
Which Current car has a Number of cars of 1, and a Year started of 1999?
CREATE TABLE "canada" ( "year_started" real, "number_of_cars" real, "current_car" text, "car_num" text, "website" text );
SELECT "current_car" FROM "canada" WHERE "number_of_cars"=1 AND "year_started"=1999;
2-1688640-4
Which Year started is the lowest one that has a Number of cars larger than 7, and a Car # of 100?
CREATE TABLE "canada" ( "year_started" real, "number_of_cars" real, "current_car" text, "car_num" text, "website" text );
SELECT MIN("year_started") FROM "canada" WHERE "number_of_cars">7 AND "car_num"='100';
2-1688640-4
What is the total number of Round, when Position is "D", and when Player is "Andrew Campbell"?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT COUNT("round") FROM "draft_picks" WHERE "position"='d' AND "player"='andrew campbell';
2-17361043-15
What is Nationality, when College/Junior/Club Team (League) is "Guelph Storm ( OHL )"?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "nationality" FROM "draft_picks" WHERE "college_junior_club_team_league"='guelph storm ( ohl )';
2-17361043-15
What is Nationality, when Player is "Andrew Campbell"?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "nationality" FROM "draft_picks" WHERE "player"='andrew campbell';
2-17361043-15
Which Power has a Name of 9 nc?
CREATE TABLE "salmson_post_world_war_one_engines" ( "name" text, "cyl" text, "bore" text, "capacity" text, "power" text, "weight" text );
SELECT "power" FROM "salmson_post_world_war_one_engines" WHERE "name"='9 nc';
2-16876516-2
Which Weight has a Power of kw (hp) at 1,800rpm, and a Name of 9 nc?
CREATE TABLE "salmson_post_world_war_one_engines" ( "name" text, "cyl" text, "bore" text, "capacity" text, "power" text, "weight" text );
SELECT "weight" FROM "salmson_post_world_war_one_engines" WHERE "power"='kw (hp) at 1,800rpm' AND "name"='9 nc';
2-16876516-2
Which Bore has a Name of 9 adr?
CREATE TABLE "salmson_post_world_war_one_engines" ( "name" text, "cyl" text, "bore" text, "capacity" text, "power" text, "weight" text );
SELECT "bore" FROM "salmson_post_world_war_one_engines" WHERE "name"='9 adr';
2-16876516-2
Which Power has a Name of 9 ad?
CREATE TABLE "salmson_post_world_war_one_engines" ( "name" text, "cyl" text, "bore" text, "capacity" text, "power" text, "weight" text );
SELECT "power" FROM "salmson_post_world_war_one_engines" WHERE "name"='9 ad';
2-16876516-2
When the pick was below 42 and the player was Chris Horton, what's the highest Overall pick found?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MAX("overall") FROM "washington_redskins_draft_history" WHERE "name"='chris horton' AND "pick"<42;
2-17100961-79
When Kansas State had a pick of over 35, what's the highest Overall pick found?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MAX("overall") FROM "washington_redskins_draft_history" WHERE "college"='kansas state' AND "pick">35;
2-17100961-79
Total points with 114 played and average of 0.982?
CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1991_92" text, "1992_93" text, "1993_94" real );
SELECT SUM("points") FROM "relegation" WHERE "played"=114 AND "average"=0.982;
2-16940409-1
Team with average of 1.035?
CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1991_92" text, "1992_93" text, "1993_94" real );
SELECT "team" FROM "relegation" WHERE "average"=1.035;
2-16940409-1
Total average with less than 105 points, 1993-1994 less than 30, and the team of gimnasia y tiro?
CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1991_92" text, "1992_93" text, "1993_94" real );
SELECT SUM("average") FROM "relegation" WHERE "points"<105 AND "team"='gimnasia y tiro' AND "1993_94"<30;
2-16940409-1
What was Chris Hanburger's position?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "position" FROM "washington_redskins_draft_history" WHERE "name"='chris hanburger';
2-17100961-35
What was John Strohmeyer's average pick before round 12?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT AVG("pick") FROM "washington_redskins_draft_history" WHERE "name"='john strohmeyer' AND "round"<12;
2-17100961-35
what is the average points when position is more than 5 and played is less than 10?
CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT AVG("points") FROM "relegation_round" WHERE "position">5 AND "played"<10;
2-16501954-16
what is the average points when drawn is 0, lost is 5 and played is more than 10?
CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT AVG("points") FROM "relegation_round" WHERE "drawn"=0 AND "lost"=5 AND "played">10;
2-16501954-16
what is the average number lost when points is 14 and position is more than 1?
CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT AVG("lost") FROM "relegation_round" WHERE "points"=14 AND "position">1;
2-16501954-16
what is the average points when played is 9, name is ev pegnitz and position is larger than 1?
CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT AVG("points") FROM "relegation_round" WHERE "played"=9 AND "name"='ev pegnitz' AND "position">1;
2-16501954-16
What is Place, when Score is 72-72=144, when Country is United States, and when Player is Scott McCarron?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "score"='72-72=144' AND "country"='united states' AND "player"='scott mccarron';
2-16299790-5
What is Country, when Score is 70-73=143?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "score"='70-73=143';
2-16299790-5
What is Player, when Place is 2?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "place"='2';
2-16299790-5
What is Country, when Player is Billy Mayfair?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "player"='billy mayfair';
2-16299790-5
What is To Par, when Player is K. J. Choi?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "second_round" WHERE "player"='k. j. choi';
2-16299790-5
What is Score, when Player is Billy Mayfair?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "second_round" WHERE "player"='billy mayfair';
2-16299790-5
What place did Don Whitt finish?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "player"='don whitt';
2-17277219-5
What did Phil Rodgers score?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "second_round" WHERE "player"='phil rodgers';
2-17277219-5
What place was Gary Player after two rounds?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "player"='gary player';
2-17277219-5
What is 1993, when Tournament is "Cincinnati"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text );
SELECT "1993" FROM "singles_performance_timeline" WHERE "tournament"='cincinnati';
2-1727962-2
What is 1994, when 1996 is "Grand Slams"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text );
SELECT "1994" FROM "singles_performance_timeline" WHERE "1996"='grand slams';
2-1727962-2
What is Tournament, when 1996 is "1R", and when 1990 is "SF"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text );
SELECT "tournament" FROM "singles_performance_timeline" WHERE "1996"='1r' AND "1990"='sf';
2-1727962-2
What is 1993, when 1992 is "SF", and when Tournament is "Paris"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text );
SELECT "1993" FROM "singles_performance_timeline" WHERE "1992"='sf' AND "tournament"='paris';
2-1727962-2
What country has a 70-73-70=213 score?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "score"='70-73-70=213';
2-17231267-5
What place is player johnny miller, who has a to par of +2?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "to_par"='+2' AND "player"='johnny miller';
2-17231267-5
What country is player mike sullivan from?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "player"='mike sullivan';
2-17231267-5
What is the place with a 71-72-70=213 score?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "score"='71-72-70=213';
2-17231267-5
What was the record after the game on May 1, 2004?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text );
SELECT "record" FROM "regular_season" WHERE "date"='may 1, 2004';
2-17334617-1
What was the record after the game with the Manchester Wolves on July 30, 2004?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text );
SELECT "record" FROM "regular_season" WHERE "opponent"='manchester wolves' AND "date"='july 30, 2004';
2-17334617-1
Which game site hosted a match on April 10, 2004?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text );
SELECT "game_site" FROM "regular_season" WHERE "date"='april 10, 2004';
2-17334617-1
Does Green Bay have a golf team?
CREATE TABLE "women_s" ( "school" text, "bask" text, "golf" text, "soccer" text, "soft" text, "swimming" text, "tennis" text, "indoor_track" text, "volleyball" text );
SELECT "golf" FROM "women_s" WHERE "school"='green bay';
2-16645083-2
Does Detroit have a soccer team?
CREATE TABLE "women_s" ( "school" text, "bask" text, "golf" text, "soccer" text, "soft" text, "swimming" text, "tennis" text, "indoor_track" text, "volleyball" text );
SELECT "soccer" FROM "women_s" WHERE "school"='detroit';
2-16645083-2
What is Poll Source, when Democrat: Carl Levin is 61%?
CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_carl_levin" text, "republican_jack_hoogendyk" text, "lead_margin" real );
SELECT "poll_source" FROM "opinion_polling_for_the_united_states_se" WHERE "democrat_carl_levin"='61%';
2-16751596-6
What is Democrat: Carl Levin, when Lead Margin is 22?
CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_carl_levin" text, "republican_jack_hoogendyk" text, "lead_margin" real );
SELECT "democrat_carl_levin" FROM "opinion_polling_for_the_united_states_se" WHERE "lead_margin"=22;
2-16751596-6
What is Dates Administered, when Poll Source is Rasmussen Reports, when Lead Margin is greater than 18, when Republican: Jack Hoogendyk is 36%, and when Democrat: Carl Levin is 59%?
CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_carl_levin" text, "republican_jack_hoogendyk" text, "lead_margin" real );
SELECT "dates_administered" FROM "opinion_polling_for_the_united_states_se" WHERE "poll_source"='rasmussen reports' AND "lead_margin">18 AND "republican_jack_hoogendyk"='36%' AND "democrat_carl_levin"='59%';
2-16751596-6
What is Dates Administered, when Democrat: Carl Levin is 61%?
CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_carl_levin" text, "republican_jack_hoogendyk" text, "lead_margin" real );
SELECT "dates_administered" FROM "opinion_polling_for_the_united_states_se" WHERE "democrat_carl_levin"='61%';
2-16751596-6
What is Win %, when Conference Titles is 0, and when Win-Loss is 20-10?
CREATE TABLE "all_time_head_coaches" ( "coach" text, "years" text, "win_loss" text, "win_pct" text, "conference_titles" text );
SELECT "win_pct" FROM "all_time_head_coaches" WHERE "conference_titles"='0' AND "win_loss"='20-10';
2-16835332-1
What is Conference Titles, when Win % is .667?
CREATE TABLE "all_time_head_coaches" ( "coach" text, "years" text, "win_loss" text, "win_pct" text, "conference_titles" text );
SELECT "conference_titles" FROM "all_time_head_coaches" WHERE "win_pct"='.667';
2-16835332-1
What is Coach, when Win % is .352?
CREATE TABLE "all_time_head_coaches" ( "coach" text, "years" text, "win_loss" text, "win_pct" text, "conference_titles" text );
SELECT "coach" FROM "all_time_head_coaches" WHERE "win_pct"='.352';
2-16835332-1
What is Win-Loss, when Win % is .456?
CREATE TABLE "all_time_head_coaches" ( "coach" text, "years" text, "win_loss" text, "win_pct" text, "conference_titles" text );
SELECT "win_loss" FROM "all_time_head_coaches" WHERE "win_pct"='.456';
2-16835332-1
What is Years, when Win-Loss is 11-60?
CREATE TABLE "all_time_head_coaches" ( "coach" text, "years" text, "win_loss" text, "win_pct" text, "conference_titles" text );
SELECT "years" FROM "all_time_head_coaches" WHERE "win_loss"='11-60';
2-16835332-1
What is the Date that has a Record of 33.952?
CREATE TABLE "women_s_records" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text, "meet" text, "place" text );
SELECT "date" FROM "women_s_records" WHERE "record"='33.952';
2-16611328-2
What is the Place that has a Date of 4 august 2012?
CREATE TABLE "women_s_records" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text, "meet" text, "place" text );
SELECT "place" FROM "women_s_records" WHERE "date"='4 august 2012';
2-16611328-2
What is the Place that has a Date of 22 august 2004?
CREATE TABLE "women_s_records" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text, "meet" text, "place" text );
SELECT "place" FROM "women_s_records" WHERE "date"='22 august 2004';
2-16611328-2
What is the Record that has a Nationality of new zealand?
CREATE TABLE "women_s_records" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text, "meet" text, "place" text );
SELECT "record" FROM "women_s_records" WHERE "nationality"='new zealand';
2-16611328-2
WHAT IS THE SKIP WITH A THIRD OF DEANNA DOIG?
CREATE TABLE "women_s" ( "skip" text, "third" text, "second" text, "lead" text, "city" text );
SELECT "skip" FROM "women_s" WHERE "third"='deanna doig';
2-17012578-3
WHAT IS THE THIRD WITH LEAD CINDY SIMMONS?
CREATE TABLE "women_s" ( "skip" text, "third" text, "second" text, "lead" text, "city" text );
SELECT "third" FROM "women_s" WHERE "lead"='cindy simmons';
2-17012578-3
WHAT IS THE LEAD WITH THIRD AS JEANNA SCHRAEDER?
CREATE TABLE "women_s" ( "skip" text, "third" text, "second" text, "lead" text, "city" text );
SELECT "lead" FROM "women_s" WHERE "third"='jeanna schraeder';
2-17012578-3
WHAT IS THE LEAD WITH THIRD AS TARA GEORGE?
CREATE TABLE "women_s" ( "skip" text, "third" text, "second" text, "lead" text, "city" text );
SELECT "lead" FROM "women_s" WHERE "third"='tara george';
2-17012578-3
WHAT IS TEH SECOND WITH REGINA AS CITY AND SKIP OF MICHELLE ENGLOT?
CREATE TABLE "women_s" ( "skip" text, "third" text, "second" text, "lead" text, "city" text );
SELECT "second" FROM "women_s" WHERE "city"='regina' AND "skip"='michelle englot';
2-17012578-3
WHAT IS THE CITY WITH THIRD AS LORI OLSON-JOHNS?
CREATE TABLE "women_s" ( "skip" text, "third" text, "second" text, "lead" text, "city" text );
SELECT "city" FROM "women_s" WHERE "third"='lori olson-johns';
2-17012578-3
What event has a 0:49 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"='0:49';
2-1753067-4
What is the record with a 3:56 time?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "time"='3:56';
2-1753067-4
Which Champion has a Third of blaho blahoyeve, and a Season of 1995-96?
CREATE TABLE "kfk_competition_of_ukraine" ( "season" text, "zone" real, "champion" text, "second" text, "third" text, "top_scorer" text );
SELECT "champion" FROM "kfk_competition_of_ukraine" WHERE "third"='blaho blahoyeve' AND "season"='1995-96';
2-17252382-2
Which Zone has a Champion of surozh sudak?
CREATE TABLE "kfk_competition_of_ukraine" ( "season" text, "zone" real, "champion" text, "second" text, "third" text, "top_scorer" text );
SELECT SUM("zone") FROM "kfk_competition_of_ukraine" WHERE "champion"='surozh sudak';
2-17252382-2
Which Third has a Champion of metalurh novomoskovsk?
CREATE TABLE "kfk_competition_of_ukraine" ( "season" text, "zone" real, "champion" text, "second" text, "third" text, "top_scorer" text );
SELECT "third" FROM "kfk_competition_of_ukraine" WHERE "champion"='metalurh novomoskovsk';
2-17252382-2
What is the census ranking for the parish with an area larger than 243.31 square km?
CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT "census_ranking" FROM "parishes" WHERE "area_km_2">243.31;
2-170961-2
What is the verb meaning for Saugen in part 1?
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "verb_meaning" FROM "german" WHERE "part_1"='saugen';
2-1745843-9
What is the verb meaning for Gaben in part 3?
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "verb_meaning" FROM "german" WHERE "part_3"='gaben';
2-1745843-9
What is the class for Geholfen Gedroschen in part 4?
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "class" FROM "german" WHERE "part_4"='geholfen gedroschen';
2-1745843-9
What is the class for trafen in part 3?
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "class" FROM "german" WHERE "part_3"='trafen';
2-1745843-9
What is the verb meaning for class 4?
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "verb_meaning" FROM "german" WHERE "class"='4';
2-1745843-9
Who is the prime minister that had a term that ended on 5 March 1930?
CREATE TABLE "1928_1939" ( "name" text, "born_died" text, "term_start" text, "term_end" text, "political_party" text );
SELECT "name" FROM "1928_1939" WHERE "term_end"='5 march 1930';
2-167235-4
What are the Poles for Season 2006
CREATE TABLE "career_summary" ( "season" real, "series" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text );
SELECT "poles" FROM "career_summary" WHERE "season"=2006;
2-1628331-1
If Podiums is 2 and F/Laps are 2, what are the wins?
CREATE TABLE "career_summary" ( "season" real, "series" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text );
SELECT "wins" FROM "career_summary" WHERE "podiums"='2' AND "f_laps"='2';
2-1628331-1
If the Races is Test Driver what is the Position?
CREATE TABLE "career_summary" ( "season" real, "series" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text );
SELECT "position" FROM "career_summary" WHERE "races"='test driver';
2-1628331-1
Can you tell me the lowest Races that has the Team Name of piquet gp, and the Points larger than 24?
CREATE TABLE "career_summary" ( "season" text, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "points" real, "final_placing" text );
SELECT MIN("races") FROM "career_summary" WHERE "team_name"='piquet gp' AND "points">24;
2-17289224-1
Can you tell me the sum of Poles that has the Season of 2005, and the Series of formula three sudamericana?
CREATE TABLE "career_summary" ( "season" text, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "points" real, "final_placing" text );
SELECT SUM("poles") FROM "career_summary" WHERE "season"='2005' AND "series"='formula three sudamericana';
2-17289224-1
Can you tell me the Series that has the Wins of 0, and the Season of a 2002?
CREATE TABLE "career_summary" ( "season" text, "series" text, "team_name" text, "races" real, "poles" real, "wins" real, "points" real, "final_placing" text );
SELECT "series" FROM "career_summary" WHERE "wins"=0 AND "season"='2002';
2-17289224-1
What is Venue, when Game is greater than 18, and when Opponent is Morecambe?
CREATE TABLE "football_league_two" ( "game" real, "date" text, "opponent" text, "venue" text, "result" text, "attendance" real );
SELECT "venue" FROM "football_league_two" WHERE "game">18 AND "opponent"='morecambe';
2-16344789-2
What is the sum of Game, when Date is 29 January 2008?
CREATE TABLE "football_league_two" ( "game" real, "date" text, "opponent" text, "venue" text, "result" text, "attendance" real );
SELECT SUM("game") FROM "football_league_two" WHERE "date"='29 january 2008';
2-16344789-2
What date had a catalog of kicp-1321?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "catalog" text, "format" text );
SELECT "date" FROM "release_history" WHERE "catalog"='kicp-1321';
2-17298372-4
What was the catalog when the label was frontiers records?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "catalog" text, "format" text );
SELECT "catalog" FROM "release_history" WHERE "label"='frontiers records';
2-17298372-4
What was the format for the region of europe?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "catalog" text, "format" text );
SELECT "format" FROM "release_history" WHERE "region"='europe';
2-17298372-4
What was the region when the label was the universal music group?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "catalog" text, "format" text );
SELECT "region" FROM "release_history" WHERE "label"='universal music group';
2-17298372-4
What was the format when the label was loen entertainment?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "catalog" text, "format" text );
SELECT "format" FROM "release_history" WHERE "label"='loen entertainment';
2-17298372-4
With a works number of 40864 for the builder of Baldwin Locomotive Works, the number listed is?
CREATE TABLE "locomotives" ( "number" text, "builder" text, "type" text, "date" text, "works_number" real );
SELECT "number" FROM "locomotives" WHERE "builder"='baldwin locomotive works' AND "works_number"=40864;
2-1653640-1
Builder H. K. Porter, inc who had a type of 0-4-4 Forney locomotive, has what works number?
CREATE TABLE "locomotives" ( "number" text, "builder" text, "type" text, "date" text, "works_number" real );
SELECT "works_number" FROM "locomotives" WHERE "type"='0-4-4 forney locomotive' AND "builder"='h. k. porter, inc';
2-1653640-1
Baldwin Locomotive Works, also with works number 40864, is listed as what number?
CREATE TABLE "locomotives" ( "number" text, "builder" text, "type" text, "date" text, "works_number" real );
SELECT "number" FROM "locomotives" WHERE "builder"='baldwin locomotive works' AND "works_number"=40864;
2-1653640-1
Hinkley Locomotive Works is listed as what number as it has a works number smaller than 1563?
CREATE TABLE "locomotives" ( "number" text, "builder" text, "type" text, "date" text, "works_number" real );
SELECT "number" FROM "locomotives" WHERE "works_number"<1563 AND "builder"='hinkley locomotive works';
2-1653640-1