question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
What Nationality is Dave Hynes?
|
CREATE TABLE "round_four" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
|
SELECT "nationality" FROM "round_four" WHERE "player"='dave hynes';
|
2-1213511-4
|
The Estevan Bruins (WCHL) are affiliated with what NHL team?
|
CREATE TABLE "round_four" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
|
SELECT "nhl_team" FROM "round_four" WHERE "college_junior_club_team"='estevan bruins (wchl)';
|
2-1213511-4
|
what's the number of games with a Goals Against smaller than 14, and a Wins larger than 1, and a Draws smaller than 2, and a Goals For of 3?
|
CREATE TABLE "head_to_head_records_against_other_count" (
"games" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_differential" text
);
|
SELECT MAX("games") FROM "head_to_head_records_against_other_count" WHERE "goals_against"<14 AND "wins">1 AND "draws"<2 AND "goals_for"=3;
|
2-1238866-1
|
what's the total win count for Games smaller than 7, and a Goals For larger than 2, and a Goals Against smaller than 6, and Draws of 1
|
CREATE TABLE "head_to_head_records_against_other_count" (
"games" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_differential" text
);
|
SELECT COUNT("wins") FROM "head_to_head_records_against_other_count" WHERE "games"<7 AND "goals_for">2 AND "goals_against"<6 AND "draws"=1;
|
2-1238866-1
|
for a Goals Against smaller than 9, and a Goal Differential of 0, and a Draws smaller than 2, and a Wins of 1, what's the goal total?
|
CREATE TABLE "head_to_head_records_against_other_count" (
"games" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_differential" text
);
|
SELECT SUM("goals_for") FROM "head_to_head_records_against_other_count" WHERE "goals_against"<9 AND "goal_differential"='0' AND "draws"<2 AND "wins"=1;
|
2-1238866-1
|
What tournament happened on 12 november 2006?
|
CREATE TABLE "singles_9_8_1" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
|
SELECT "tournament" FROM "singles_9_8_1" WHERE "date"='12 november 2006';
|
2-12397961-11
|
what was the score on 6 june 2010?
|
CREATE TABLE "singles_9_8_1" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
|
SELECT "score" FROM "singles_9_8_1" WHERE "date"='6 june 2010';
|
2-12397961-11
|
When was the railmotor made?
|
CREATE TABLE "belfast_and_county_down_railway" (
"type" text,
"fleet_numbers" text,
"quantity_made" text,
"manufacturer" text,
"date_made" text
);
|
SELECT "date_made" FROM "belfast_and_county_down_railway" WHERE "type"='railmotor';
|
2-1290024-1
|
What are the fleet number for the 4-6-4t locomotive?
|
CREATE TABLE "belfast_and_county_down_railway" (
"type" text,
"fleet_numbers" text,
"quantity_made" text,
"manufacturer" text,
"date_made" text
);
|
SELECT "fleet_numbers" FROM "belfast_and_county_down_railway" WHERE "type"='4-6-4t';
|
2-1290024-1
|
How many fast laps have 0 points in the World Series by Nissan?
|
CREATE TABLE "career_results" (
"season" text,
"series" text,
"team" text,
"races" text,
"wins" text,
"fast_laps" text,
"points" text,
"pos" text
);
|
SELECT "fast_laps" FROM "career_results" WHERE "points"='0' AND "series"='world series by nissan';
|
2-12734682-1
|
How many fast laps are in 6 races with 30 points in the World Series by Nissan?
|
CREATE TABLE "career_results" (
"season" text,
"series" text,
"team" text,
"races" text,
"wins" text,
"fast_laps" text,
"points" text,
"pos" text
);
|
SELECT "fast_laps" FROM "career_results" WHERE "series"='world series by nissan' AND "races"='6' AND "points"='30';
|
2-12734682-1
|
Which team has the points category of test driver?
|
CREATE TABLE "career_results" (
"season" text,
"series" text,
"team" text,
"races" text,
"wins" text,
"fast_laps" text,
"points" text,
"pos" text
);
|
SELECT "team" FROM "career_results" WHERE "points"='test driver';
|
2-12734682-1
|
What is the position with 0 points in Season of 2007–08?
|
CREATE TABLE "career_results" (
"season" text,
"series" text,
"team" text,
"races" text,
"wins" text,
"fast_laps" text,
"points" text,
"pos" text
);
|
SELECT "pos" FROM "career_results" WHERE "points"='0' AND "season"='2007–08';
|
2-12734682-1
|
tell me the Dates administered that sees a Steve Westly* of ––, an Antonio Villaraigosa* of ––, and 47% for jerry brown.
|
CREATE TABLE "democratic_primary" (
"poll_source" text,
"dates_administered" text,
"dianne_feinstein" text,
"jerry_brown" text,
"antonio_villaraigosa" text,
"gavin_newsom" text,
"john_garamendi" text,
"jack_o_connell" text,
"steve_westly" text,
"bill_lockyer" text
);
|
SELECT "dates_administered" FROM "democratic_primary" WHERE "steve_westly"='––' AND "antonio_villaraigosa"='––' AND "jerry_brown"='47%';
|
2-12299351-1
|
tell me the Antonio Villaraigosa* that has a Steve Westly* of ––, and 47% for jerry brown.
|
CREATE TABLE "democratic_primary" (
"poll_source" text,
"dates_administered" text,
"dianne_feinstein" text,
"jerry_brown" text,
"antonio_villaraigosa" text,
"gavin_newsom" text,
"john_garamendi" text,
"jack_o_connell" text,
"steve_westly" text,
"bill_lockyer" text
);
|
SELECT "antonio_villaraigosa" FROM "democratic_primary" WHERE "steve_westly"='––' AND "jerry_brown"='47%';
|
2-12299351-1
|
Name the least year for wins more than 0
|
CREATE TABLE "motorcycle_grand_prix_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"rank" text,
"wins" real
);
|
SELECT MIN("year") FROM "motorcycle_grand_prix_results" WHERE "wins">0;
|
2-1226341-2
|
Name the least wins for 6 points
|
CREATE TABLE "motorcycle_grand_prix_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"rank" text,
"wins" real
);
|
SELECT MIN("wins") FROM "motorcycle_grand_prix_results" WHERE "points"=6;
|
2-1226341-2
|
Name the wins for 1963 bultaco
|
CREATE TABLE "motorcycle_grand_prix_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"rank" text,
"wins" real
);
|
SELECT "wins" FROM "motorcycle_grand_prix_results" WHERE "year"=1963 AND "team"='bultaco';
|
2-1226341-2
|
Year larger than 2008, and a Nationality of director of lebanon is what director?
|
CREATE TABLE "prize_winners" (
"year" real,
"film" text,
"director" text,
"nationality_of_director" text,
"award" text
);
|
SELECT "director" FROM "prize_winners" WHERE "year">2008 AND "nationality_of_director"='lebanon';
|
2-13237753-1
|
ilm of taukukauppiaat has how many total number of years?
|
CREATE TABLE "prize_winners" (
"year" real,
"film" text,
"director" text,
"nationality_of_director" text,
"award" text
);
|
SELECT COUNT("year") FROM "prize_winners" WHERE "film"='taukukauppiaat';
|
2-13237753-1
|
Award of troisième prix, and a Year smaller than 2010, and a Director of jan komasa is what film?
|
CREATE TABLE "prize_winners" (
"year" real,
"film" text,
"director" text,
"nationality_of_director" text,
"award" text
);
|
SELECT "film" FROM "prize_winners" WHERE "award"='troisième prix' AND "year"<2010 AND "director"='jan komasa';
|
2-13237753-1
|
Film of um sol alaranjado director is what nationality?
|
CREATE TABLE "prize_winners" (
"year" real,
"film" text,
"director" text,
"nationality_of_director" text,
"award" text
);
|
SELECT "nationality_of_director" FROM "prize_winners" WHERE "film"='um sol alaranjado';
|
2-13237753-1
|
What is the position for round 5 from alabama state?
|
CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
|
SELECT "position" FROM "indianapolis_colts_draft_history" WHERE "round"=5 AND "college"='alabama state';
|
2-13312898-55
|
what is the pick # when overall is more than 131, position is wide receiver and the round is less than 5?
|
CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
|
SELECT COUNT("pick_num") FROM "indianapolis_colts_draft_history" WHERE "overall">131 AND "position"='wide receiver' AND "round"<5;
|
2-13312898-55
|
what is the highest round for anthony gonzalez?
|
CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
|
SELECT MAX("round") FROM "indianapolis_colts_draft_history" WHERE "name"='anthony gonzalez';
|
2-13312898-55
|
How many times is brannon condren with and overall more than 131 drafted?
|
CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
|
SELECT COUNT("round") FROM "indianapolis_colts_draft_history" WHERE "name"='brannon condren' AND "overall">131;
|
2-13312898-55
|
Which rider has the time of +31.426?
|
CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
);
|
SELECT "rider" FROM "moto_gp_classification" WHERE "time_retired"='+31.426';
|
2-12262589-1
|
What is the grid for the rider who rides a Suzuki and has the time of +1:01.894?
|
CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
);
|
SELECT MAX("grid") FROM "moto_gp_classification" WHERE "manufacturer"='suzuki' AND "time_retired"='+1:01.894';
|
2-12262589-1
|
What is the score for Australia with a place of 4?
|
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
|
SELECT "score" FROM "third_round" WHERE "country"='australia' AND "place"='4';
|
2-12333215-6
|
What is the place of To par of e when Arron Oberholser was the player ?
|
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
|
SELECT "place" FROM "third_round" WHERE "to_par"='e' AND "player"='arron oberholser';
|
2-12333215-6
|
What is the score with a place of t6 for the player k.j. choi?
|
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
|
SELECT "score" FROM "third_round" WHERE "place"='t6' AND "player"='k.j. choi';
|
2-12333215-6
|
What is the country for the player Tiger Woods?
|
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
|
SELECT "country" FROM "third_round" WHERE "player"='tiger woods';
|
2-12333215-6
|
What is the name of the player with a score of 72-68-70=210?
|
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
|
SELECT "player" FROM "third_round" WHERE "score"='72-68-70=210';
|
2-12333215-6
|
What is the name of the player with t6 as his place and a country of United states?
|
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
|
SELECT "player" FROM "third_round" WHERE "place"='t6' AND "country"='united states';
|
2-12333215-6
|
What is the fineness of the 2008 chinese cuju sport Reverse?
|
CREATE TABLE "150_yuan" (
"year" real,
"denomination" text,
"reverse" text,
"weight" text,
"diameter" text,
"fineness" text,
"series" text
);
|
SELECT "fineness" FROM "150_yuan" WHERE "year"=2008 AND "reverse"='chinese cuju sport';
|
2-12284476-10
|
What's the diameter of the 2006 equestrian Reverse?
|
CREATE TABLE "150_yuan" (
"year" real,
"denomination" text,
"reverse" text,
"weight" text,
"diameter" text,
"fineness" text,
"series" text
);
|
SELECT "diameter" FROM "150_yuan" WHERE "year"=2006 AND "reverse"='equestrian';
|
2-12284476-10
|
What denomination was produced in 2006?
|
CREATE TABLE "150_yuan" (
"year" real,
"denomination" text,
"reverse" text,
"weight" text,
"diameter" text,
"fineness" text,
"series" text
);
|
SELECT "denomination" FROM "150_yuan" WHERE "year"=2006;
|
2-12284476-10
|
What was the fineness prior to 2007?
|
CREATE TABLE "150_yuan" (
"year" real,
"denomination" text,
"reverse" text,
"weight" text,
"diameter" text,
"fineness" text,
"series" text
);
|
SELECT "fineness" FROM "150_yuan" WHERE "year"<2007;
|
2-12284476-10
|
What does the ii Series weigh?
|
CREATE TABLE "150_yuan" (
"year" real,
"denomination" text,
"reverse" text,
"weight" text,
"diameter" text,
"fineness" text,
"series" text
);
|
SELECT "weight" FROM "150_yuan" WHERE "series"='ii series';
|
2-12284476-10
|
What loss has 10-16 as the record?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "loss" FROM "game_log" WHERE "record"='10-16';
|
2-12206234-2
|
What is the least attendance that has 3-5 as a record?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT MIN("attendance") FROM "game_log" WHERE "record"='3-5';
|
2-12206234-2
|
What is the average attendance for the date of april 4?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT AVG("attendance") FROM "game_log" WHERE "date"='april 4';
|
2-12206234-2
|
Which opponent has april 2 as the date?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "opponent" FROM "game_log" WHERE "date"='april 2';
|
2-12206234-2
|
What is the Remark of Airline of Dutch Antilles Express?
|
CREATE TABLE "current_fleet_size" (
"rank" real,
"airline" text,
"country" text,
"fleet_size" real,
"remarks" text
);
|
SELECT "remarks" FROM "current_fleet_size" WHERE "airline"='dutch antilles express';
|
2-12430348-1
|
What Category has a Year that's smaller than 2006, has Result of Nominated, and a Title of Cold Feet?
|
CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"title" text,
"result" text
);
|
SELECT "category" FROM "awards_and_nominations" WHERE "year"<2006 AND "result"='nominated' AND "title"='cold feet';
|
2-13002275-2
|
What is recorded as the lowest Year that has the Title of Cold Feet?
|
CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"title" text,
"result" text
);
|
SELECT MIN("year") FROM "awards_and_nominations" WHERE "title"='cold feet';
|
2-13002275-2
|
What Category has a Result of Nominated, Year of 2006, and the Title of Pierrepoint?
|
CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"title" text,
"result" text
);
|
SELECT "category" FROM "awards_and_nominations" WHERE "result"='nominated' AND "year"=2006 AND "title"='pierrepoint';
|
2-13002275-2
|
What Title is listed for the Year of 1999?
|
CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"title" text,
"result" text
);
|
SELECT "title" FROM "awards_and_nominations" WHERE "year"=1999;
|
2-13002275-2
|
What is the total number of Year for the Title of The Queen, has an Award of British Academy Film Award, and has a Result of Won?
|
CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"title" text,
"result" text
);
|
SELECT COUNT("year") FROM "awards_and_nominations" WHERE "title"='the queen' AND "award"='british academy film award' AND "result"='won';
|
2-13002275-2
|
What was the date of the game against Northwestern?
|
CREATE TABLE "1942" (
"date" text,
"opponent" text,
"city" text,
"result" text,
"score" text
);
|
SELECT "date" FROM "1942" WHERE "opponent"='northwestern';
|
2-12261783-1
|
Who was the opponent when the city was Louisville?
|
CREATE TABLE "1942" (
"date" text,
"opponent" text,
"city" text,
"result" text,
"score" text
);
|
SELECT "opponent" FROM "1942" WHERE "city"='louisville';
|
2-12261783-1
|
What was the score of the game against Minnesota?
|
CREATE TABLE "1942" (
"date" text,
"opponent" text,
"city" text,
"result" text,
"score" text
);
|
SELECT "score" FROM "1942" WHERE "opponent"='minnesota';
|
2-12261783-1
|
On what date was a friendly competition and a result of 3–0?
|
CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
|
SELECT "date" FROM "international_goals" WHERE "competition"='friendly' AND "result"='3–0';
|
2-12726056-3
|
When was the score 1–0, and the result 4–0?
|
CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
|
SELECT "date" FROM "international_goals" WHERE "score"='1–0' AND "result"='4–0';
|
2-12726056-3
|
What was the result at dakar , senegal, on 3 september 2011, and with a Score of 2–0?
|
CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
|
SELECT "result" FROM "international_goals" WHERE "venue"='dakar , senegal' AND "date"='3 september 2011' AND "score"='2–0';
|
2-12726056-3
|
Which time has a Rank larger than 3, and a Name of andrey kapralov?
|
CREATE TABLE "semifinal_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT "time" FROM "semifinal_2" WHERE "rank">3 AND "name"='andrey kapralov';
|
2-12386295-5
|
Which Nationality has a Name of igor koleda?
|
CREATE TABLE "semifinal_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT "nationality" FROM "semifinal_2" WHERE "name"='igor koleda';
|
2-12386295-5
|
Where is the headquarters of the getinge group located?
|
CREATE TABLE "largest_nordic_companies_according_to_fo" (
"rank" text,
"company" text,
"headquarters" text,
"industry" text,
"revenue_billion" real,
"profits_billion" real,
"s_asset_billion" real,
"market_value_billion" real
);
|
SELECT "headquarters" FROM "largest_nordic_companies_according_to_fo" WHERE "company"='getinge group';
|
2-12794433-1
|
How much is the total assets of a company based in Stockholm, Sweden with a market capitalization smaller than 39.8 with revenues greater than 5.8 and profit of 1.1?
|
CREATE TABLE "largest_nordic_companies_according_to_fo" (
"rank" text,
"company" text,
"headquarters" text,
"industry" text,
"revenue_billion" real,
"profits_billion" real,
"s_asset_billion" real,
"market_value_billion" real
);
|
SELECT COUNT("s_asset_billion") FROM "largest_nordic_companies_according_to_fo" WHERE "headquarters"='stockholm, sweden' AND "market_value_billion"<39.8 AND "revenue_billion">5.8 AND "profits_billion"=1.1;
|
2-12794433-1
|
Name the date for zi yan jie zheng opponent
|
CREATE TABLE "doubles_15_8_7" (
"outcome" text,
"date" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
|
SELECT "date" FROM "doubles_15_8_7" WHERE "opponents"='zi yan jie zheng';
|
2-12537744-4
|
Name the partner for 14 october 2007
|
CREATE TABLE "doubles_15_8_7" (
"outcome" text,
"date" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
|
SELECT "partner" FROM "doubles_15_8_7" WHERE "date"='14 october 2007';
|
2-12537744-4
|
Name the partner for opponents of alexandra dulgheru magdaléna rybáriková
|
CREATE TABLE "doubles_15_8_7" (
"outcome" text,
"date" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
|
SELECT "partner" FROM "doubles_15_8_7" WHERE "opponents"='alexandra dulgheru magdaléna rybáriková';
|
2-12537744-4
|
Name the opponents for 24 july 2011
|
CREATE TABLE "doubles_15_8_7" (
"outcome" text,
"date" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
|
SELECT "opponents" FROM "doubles_15_8_7" WHERE "date"='24 july 2011';
|
2-12537744-4
|
What is Ken Walter's lowest pick number with an overall pick number larger than 195?
|
CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
|
SELECT MIN("pick_num") FROM "indianapolis_colts_draft_history" WHERE "name"='ken walter' AND "overall">195;
|
2-13312898-28
|
What does Polyphenyl Ether of 3- and 4-ring oxythio look like?
|
CREATE TABLE "table_2_physical_properties_of_polypheny" (
"polyphenyl_ether" text,
"appearance" text,
"thermal_stability_f_c" text,
"viscosity_c_st_at_100_f_38_c" real,
"viscosity_c_st_at_210_f_99_c" real
);
|
SELECT "appearance" FROM "table_2_physical_properties_of_polypheny" WHERE "polyphenyl_ether"='3- and 4-ring oxythio';
|
2-12269011-2
|
How long was the course from Naples to Foggia?
|
CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"winner" text,
"race_leader" text
);
|
SELECT "distance" FROM "stage_results" WHERE "course"='naples to foggia';
|
2-12546630-1
|
Name the score with opponent of milos raonic
|
CREATE TABLE "singles_17_14_titles_3_runners_up" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
|
SELECT "score" FROM "singles_17_14_titles_3_runners_up" WHERE "opponent"='milos raonic';
|
2-13181492-2
|
Name the date with a hard surface and tournament of usa f5, brownsville
|
CREATE TABLE "singles_17_14_titles_3_runners_up" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
|
SELECT "date" FROM "singles_17_14_titles_3_runners_up" WHERE "surface"='hard' AND "tournament"='usa f5, brownsville';
|
2-13181492-2
|
Name the outcome with tournament of mexico f12, obregón
|
CREATE TABLE "singles_17_14_titles_3_runners_up" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
|
SELECT "outcome" FROM "singles_17_14_titles_3_runners_up" WHERE "tournament"='mexico f12, obregón';
|
2-13181492-2
|
Name the tournament for march 25, 2012
|
CREATE TABLE "singles_17_14_titles_3_runners_up" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
|
SELECT "tournament" FROM "singles_17_14_titles_3_runners_up" WHERE "date"='march 25, 2012';
|
2-13181492-2
|
What was the final score for the August 25, 1996 match?
|
CREATE TABLE "singles_12_7_5" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
|
SELECT "score_in_the_final" FROM "singles_12_7_5" WHERE "date"='august 25, 1996';
|
2-12878201-6
|
What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine?
|
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
|
SELECT AVG("year") FROM "complete_formula_one_world_championship_" WHERE "points"<6 AND "engine"='maserati straight-6';
|
2-1235995-1
|
What entrant had a Maserati 250F chassis and fewer than 6 points before 1957?
|
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
|
SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "chassis"='maserati 250f' AND "year"<1957 AND "points"<6;
|
2-1235995-1
|
What chassis has a year of 1951?
|
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
|
SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "year"=1951;
|
2-1235995-1
|
What is the chassis of Officine Alfieri Maserati with a Maserati Straight-6 engine and fewer than 6 points?
|
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
|
SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "engine"='maserati straight-6' AND "entrant"='officine alfieri maserati' AND "points"<6;
|
2-1235995-1
|
Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank?
|
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" real
);
|
SELECT MAX("lane") FROM "semifinal_1" WHERE "time"<49.67 AND "name"='michael klim' AND "rank"<1;
|
2-12386222-4
|
What is the lowest lane with Lorenzo Vismara and a time higher than 49.67?
|
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" real
);
|
SELECT MIN("lane") FROM "semifinal_1" WHERE "name"='lorenzo vismara' AND "time">49.67;
|
2-12386222-4
|
Who was the visitor on January 24?
|
CREATE TABLE "january" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
);
|
SELECT "visitor" FROM "january" WHERE "date"='january 24';
|
2-13034488-6
|
Who was the home team on January 8?
|
CREATE TABLE "january" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
);
|
SELECT "home" FROM "january" WHERE "date"='january 8';
|
2-13034488-6
|
Who was the Opponent when the Attendance was 38,150?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
);
|
SELECT "opponent" FROM "game_log" WHERE "attendance"='38,150';
|
2-12206344-4
|
Where is NCAA division ii Franklin Pierce University located at?
|
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"nickname" text,
"current_conference" text,
"classification" text
);
|
SELECT "location" FROM "former_members" WHERE "classification"='ncaa division ii' AND "institution"='franklin pierce university';
|
2-12936521-2
|
Post University has what nickname?
|
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"nickname" text,
"current_conference" text,
"classification" text
);
|
SELECT "nickname" FROM "former_members" WHERE "institution"='post university';
|
2-12936521-2
|
The River Hawks belonged to what current conference?
|
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"nickname" text,
"current_conference" text,
"classification" text
);
|
SELECT "current_conference" FROM "former_members" WHERE "nickname"='river hawks';
|
2-12936521-2
|
What is the nickname of the school located in Manchester, New Hampshire?
|
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"nickname" text,
"current_conference" text,
"classification" text
);
|
SELECT "nickname" FROM "former_members" WHERE "location"='manchester, new hampshire';
|
2-12936521-2
|
What is the classification for the school in the NEC Conference located in New Britain, Connecticut?
|
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"nickname" text,
"current_conference" text,
"classification" text
);
|
SELECT "classification" FROM "former_members" WHERE "current_conference"='nec' AND "location"='new britain, connecticut';
|
2-12936521-2
|
What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils?
|
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"nickname" text,
"current_conference" text,
"classification" text
);
|
SELECT "institution" FROM "former_members" WHERE "classification"='ncaa division i' AND "current_conference"='nec' AND "nickname"='blue devils';
|
2-12936521-2
|
What was the record at the home of the Montreal Maroons
|
CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
|
SELECT "record" FROM "game_log" WHERE "home"='montreal maroons';
|
2-12782174-2
|
which school shows #/county of 29 hamilton?
|
CREATE TABLE "membership" (
"school" text,
"location" text,
"mascot" text,
"num_county" text,
"enrollment_08_09" real,
"ihsaa_class" text,
"year_joined" real,
"previous_conference" text
);
|
SELECT "school" FROM "membership" WHERE "num_county"='29 hamilton';
|
2-12378787-1
|
what is the mascot for the enrollment 08-09 of 320?
|
CREATE TABLE "membership" (
"school" text,
"location" text,
"mascot" text,
"num_county" text,
"enrollment_08_09" real,
"ihsaa_class" text,
"year_joined" real,
"previous_conference" text
);
|
SELECT "mascot" FROM "membership" WHERE "enrollment_08_09"=320;
|
2-12378787-1
|
what is the school in michigantown?
|
CREATE TABLE "membership" (
"school" text,
"location" text,
"mascot" text,
"num_county" text,
"enrollment_08_09" real,
"ihsaa_class" text,
"year_joined" real,
"previous_conference" text
);
|
SELECT "school" FROM "membership" WHERE "location"='michigantown';
|
2-12378787-1
|
Which episode number was associated with Vibhav Gautam?
|
CREATE TABLE "contestants" (
"name" text,
"city_state" text,
"country" text,
"status" text,
"status_date" text,
"episode_number" text
);
|
SELECT "episode_number" FROM "contestants" WHERE "name"='vibhav gautam';
|
2-12747441-1
|
Which city/state was associated with a contestant whose status was 2nd runner-up?
|
CREATE TABLE "contestants" (
"name" text,
"city_state" text,
"country" text,
"status" text,
"status_date" text,
"episode_number" text
);
|
SELECT "city_state" FROM "contestants" WHERE "status"='2nd runner-up';
|
2-12747441-1
|
Which contestant was associated with episode 34?
|
CREATE TABLE "contestants" (
"name" text,
"city_state" text,
"country" text,
"status" text,
"status_date" text,
"episode_number" text
);
|
SELECT "name" FROM "contestants" WHERE "episode_number"='episode 34';
|
2-12747441-1
|
What is the status of the city/state of Indor, Madhya Pradesh?
|
CREATE TABLE "contestants" (
"name" text,
"city_state" text,
"country" text,
"status" text,
"status_date" text,
"episode_number" text
);
|
SELECT "status_date" FROM "contestants" WHERE "city_state"='indor, madhya pradesh';
|
2-12747441-1
|
What role did John Wayne play in The Trail Beyond, directed by R.N. Bradbury?
|
CREATE TABLE "1934" (
"title" text,
"studio" text,
"role" text,
"leading_lady" text,
"director" text
);
|
SELECT "role" FROM "1934" WHERE "director"='r.n. bradbury' AND "title"='the trail beyond';
|
2-12379832-9
|
Who directed the movie The Star Packer?
|
CREATE TABLE "1934" (
"title" text,
"studio" text,
"role" text,
"leading_lady" text,
"director" text
);
|
SELECT "director" FROM "1934" WHERE "title"='the star packer';
|
2-12379832-9
|
What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady?
|
CREATE TABLE "1934" (
"title" text,
"studio" text,
"role" text,
"leading_lady" text,
"director" text
);
|
SELECT "role" FROM "1934" WHERE "leading_lady"='sheila terry' AND "title"='the lawless frontier';
|
2-12379832-9
|
In what movie did John Wayne play the role of Chris Morrell?
|
CREATE TABLE "1934" (
"title" text,
"studio" text,
"role" text,
"leading_lady" text,
"director" text
);
|
SELECT "title" FROM "1934" WHERE "role"='chris morrell';
|
2-12379832-9
|
What role did John Wayne play with Verna Hillie as the leading lady?
|
CREATE TABLE "1934" (
"title" text,
"studio" text,
"role" text,
"leading_lady" text,
"director" text
);
|
SELECT "role" FROM "1934" WHERE "leading_lady"='verna hillie';
|
2-12379832-9
|
Who directed the movie when John Wayne played the role of John Travers?
|
CREATE TABLE "1934" (
"title" text,
"studio" text,
"role" text,
"leading_lady" text,
"director" text
);
|
SELECT "director" FROM "1934" WHERE "role"='john travers';
|
2-12379832-9
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.