question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What segment d is associated with an episode number above 16 and a segment c of laser eye surgery?
CREATE TABLE "season_2_2002" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_d" FROM "season_2_2002" WHERE "episode">16 AND "segment_c"='laser eye surgery';
2-15187735-2
What team had less than 291 total points whole having 76 bronze and over 21 gold?
CREATE TABLE "top_ten_medals" ( "rank" real, "province" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("silver") FROM "top_ten_medals" WHERE "gold">21 AND "bronze"=76 AND "total"<291;
2-14892957-1
What was the average rank for team with more than 44 gold, more and 76 bronze and a higher total than 73?
CREATE TABLE "top_ten_medals" ( "rank" real, "province" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("rank") FROM "top_ten_medals" WHERE "total">73 AND "gold">44 AND "bronze">76;
2-14892957-1
On what date was the team's record 61-66?
CREATE TABLE "game_log" ( "date" text, "time" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='61-66';
2-14013236-8
At what time was the game when they played the White Sox and had a record of 63-70?
CREATE TABLE "game_log" ( "date" text, "time" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "time" FROM "game_log" WHERE "opponent"='white sox' AND "record"='63-70';
2-14013236-8
What shows for gold when bronze is 1?
CREATE TABLE "medals" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "gold" FROM "medals" WHERE "bronze"=1;
2-1461487-1
What is the gold number when the total is less than 8, silver less than 1 and the rank is more than 7?
CREATE TABLE "medals" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("gold") FROM "medals" WHERE "total"<8 AND "silver"<1 AND "rank">7;
2-1461487-1
What is the average Total for the Rank of 6, when Silver is smaller than 0?
CREATE TABLE "medals" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("total") FROM "medals" WHERE "rank"=6 AND "silver"<0;
2-1461487-1
Which Team wins has an Individual winner smaller than 1 and Total win larger than 1?
CREATE TABLE "national_summary" ( "nation" text, "total_wins" real, "team_wins" real, "individual_wins" real, "individual_winners" real );
SELECT SUM("team_wins") FROM "national_summary" WHERE "individual_winners"<1 AND "total_wins">1;
2-1458666-4
Which Team Win is from sweden and has a Individual win smaller than 1
CREATE TABLE "national_summary" ( "nation" text, "total_wins" real, "team_wins" real, "individual_wins" real, "individual_winners" real );
SELECT MAX("team_wins") FROM "national_summary" WHERE "nation"='sweden' AND "individual_wins"<1;
2-1458666-4
Which channel did Going for Gold air on?
CREATE TABLE "returning_this_year_after_a_break_of_one" ( "programme" text, "date_s_of_original_removal" text, "original_channel" text, "date_s_of_return" text, "new_channel_s" text );
SELECT "original_channel" FROM "returning_this_year_after_a_break_of_one" WHERE "programme"='going for gold';
2-13549921-18
What channel is Gladiators on?
CREATE TABLE "returning_this_year_after_a_break_of_one" ( "programme" text, "date_s_of_original_removal" text, "original_channel" text, "date_s_of_return" text, "new_channel_s" text );
SELECT "new_channel_s" FROM "returning_this_year_after_a_break_of_one" WHERE "programme"='gladiators';
2-13549921-18
When did Going for Gold return in BBC One?
CREATE TABLE "returning_this_year_after_a_break_of_one" ( "programme" text, "date_s_of_original_removal" text, "original_channel" text, "date_s_of_return" text, "new_channel_s" text );
SELECT "date_s_of_return" FROM "returning_this_year_after_a_break_of_one" WHERE "original_channel"='bbc one' AND "programme"='going for gold';
2-13549921-18
Which faith has a name of Belswains?
CREATE TABLE "south_east" ( "name" text, "faith" text, "type" text, "dcsf_number" real, "ofsted_number" real );
SELECT "faith" FROM "south_east" WHERE "name"='belswains';
2-15089329-1
Which school is a primary school with DCSF number 2045?
CREATE TABLE "south_east" ( "name" text, "faith" text, "type" text, "dcsf_number" real, "ofsted_number" real );
SELECT "name" FROM "south_east" WHERE "type"='primary' AND "dcsf_number"=2045;
2-15089329-1
Which position had fewer rounds than 3, and an overall of less than 48?
CREATE TABLE "jacksonville_jaguars_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "position" FROM "jacksonville_jaguars_draft_history" WHERE "round"<3 AND "overall"<48;
2-15100419-13
Which highest pick number's name was Adam Podlesh, when the overall was less than 101?
CREATE TABLE "jacksonville_jaguars_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MAX("pick_num") FROM "jacksonville_jaguars_draft_history" WHERE "name"='adam podlesh' AND "overall"<101;
2-15100419-13
What is the IHSAA class in Batesville?
CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "city" text, "team_name" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "county" text );
SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "city"='batesville';
2-13986492-7
Which city is Lawrenceburg school, with an IHSAA football class of aaa and less than 676 enrollments, located in?
CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "city" text, "team_name" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "county" text );
SELECT "city" FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_football_class"='aaa' AND "enrollment"<676 AND "school"='lawrenceburg';
2-13986492-7
What school is in Brookville?
CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "city" text, "team_name" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "county" text );
SELECT "school" FROM "indiana_high_school_athletics_conference" WHERE "city"='brookville';
2-13986492-7
Which Score has a Record of 36–61?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "score" FROM "game_log" WHERE "record"='36–61';
2-14271118-7
Which Attendance has a Record of 34–51?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT MIN("attendance") FROM "game_log" WHERE "record"='34–51';
2-14271118-7
Which Loss has a Date of july 2?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "loss" FROM "game_log" WHERE "date"='july 2';
2-14271118-7
Which tournament's 2001 and 2008 were a when 2010 was qf?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text );
SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2001"='a' AND "2008"='a' AND "2010"='qf';
2-15271684-5
Which tournament's 2001 and 2006s were a?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text );
SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2001"='a' AND "2006"='a';
2-15271684-5
Which 2007 had a 2009 taht was qf when its 2000 was a?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text );
SELECT "2007" FROM "doubles_performance_timeline" WHERE "2009"='qf' AND "2000"='a';
2-15271684-5
Which 2008 had a 1998 and 2006 that were a when 2009 was sf?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text );
SELECT "2008" FROM "doubles_performance_timeline" WHERE "1998"='a' AND "2009"='sf' AND "2006"='a';
2-15271684-5
What is the number of floors for the Citic Square?
CREATE TABLE "tallest_buildings" ( "rank" text, "name" text, "height_m_ft" text, "floors" real, "year" real );
SELECT AVG("floors") FROM "tallest_buildings" WHERE "name"='citic square';
2-15039040-1
What is the height for the Shanghai World Plaza?
CREATE TABLE "tallest_buildings" ( "rank" text, "name" text, "height_m_ft" text, "floors" real, "year" real );
SELECT "height_m_ft" FROM "tallest_buildings" WHERE "name"='shanghai world plaza';
2-15039040-1
What week had a lower attendance than 51,423 but was still higher than the other weeks?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" real );
SELECT MAX("week") FROM "schedule" WHERE "attendance"<'51,423';
2-13963364-1
Which Vertices have a Dual Archimedean solid of truncated dodecahedron?
CREATE TABLE "achiral_catalan_solids" ( "picture" text, "dual_archimedean_solid" text, "faces" real, "edges" real, "vertices" real, "face_polygon" text );
SELECT MAX("vertices") FROM "achiral_catalan_solids" WHERE "dual_archimedean_solid"='truncated dodecahedron';
2-13727381-6
Which Edges have a Dual Archimedean solid of truncated icosidodecahedron, and Vertices larger than 62?
CREATE TABLE "achiral_catalan_solids" ( "picture" text, "dual_archimedean_solid" text, "faces" real, "edges" real, "vertices" real, "face_polygon" text );
SELECT MIN("edges") FROM "achiral_catalan_solids" WHERE "dual_archimedean_solid"='truncated icosidodecahedron' AND "vertices">62;
2-13727381-6
Which Faces have a Dual Archimedean solid of truncated icosahedron, and Vertices larger than 32?
CREATE TABLE "achiral_catalan_solids" ( "picture" text, "dual_archimedean_solid" text, "faces" real, "edges" real, "vertices" real, "face_polygon" text );
SELECT AVG("faces") FROM "achiral_catalan_solids" WHERE "dual_archimedean_solid"='truncated icosahedron' AND "vertices">32;
2-13727381-6
Which Set 2 has a Set 3 of 20–25?
CREATE TABLE "pool_a" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text );
SELECT "set_2" FROM "pool_a" WHERE "set_3"='20–25';
2-14922002-3
Which Total has a Set 2 of 20–25, and a Score of 1–3?
CREATE TABLE "pool_a" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text );
SELECT "total" FROM "pool_a" WHERE "set_2"='20–25' AND "score"='1–3';
2-14922002-3
Which Set 3 has a Score of 3–2, and a Set 2 of 25–23, and a Time of 19:00?
CREATE TABLE "pool_a" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text );
SELECT "set_3" FROM "pool_a" WHERE "score"='3–2' AND "set_2"='25–23' AND "time"='19:00';
2-14922002-3
Which Total has a Score of 1–3, and a Set 1 of 29–31?
CREATE TABLE "pool_a" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text );
SELECT "total" FROM "pool_a" WHERE "score"='1–3' AND "set_1"='29–31';
2-14922002-3
Which Date has a Time of 11:00, and a Set 3 of 25–18?
CREATE TABLE "pool_a" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text );
SELECT "date" FROM "pool_a" WHERE "time"='11:00' AND "set_3"='25–18';
2-14922002-3
Which Total has a Set 3 of 13–25?
CREATE TABLE "pool_a" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text );
SELECT "total" FROM "pool_a" WHERE "set_3"='13–25';
2-14922002-3
What was the result for the best musical revival category?
CREATE TABLE "original_london_production" ( "year" real, "award" text, "category" text, "nominee" text, "result" text );
SELECT "result" FROM "original_london_production" WHERE "category"='best musical revival';
2-1423416-4
Name the area served for on-air ID of abc canberra
CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text );
SELECT "area_served" FROM "defunct_callsigns" WHERE "on_air_id"='abc canberra';
2-14191400-1
Name the frequency with on-air ID of 1way fm
CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text );
SELECT "frequency" FROM "defunct_callsigns" WHERE "on_air_id"='1way fm';
2-14191400-1
Name the purpose for on-air ID of 2xx
CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text );
SELECT "purpose" FROM "defunct_callsigns" WHERE "on_air_id"='2xx';
2-14191400-1
Name the frequency for community purpose and callsign of 1vfm
CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text );
SELECT "frequency" FROM "defunct_callsigns" WHERE "purpose"='community' AND "callsign"='1vfm';
2-14191400-1
Name the band with frequency of 102.3
CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text );
SELECT "band" FROM "defunct_callsigns" WHERE "frequency"='102.3';
2-14191400-1
What was the loss of the game against with LA New Bears with a save of Mac Suzuki?
CREATE TABLE "regular_season" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );
SELECT "loss" FROM "regular_season" WHERE "opponent"='la new bears' AND "save"='mac suzuki';
2-13990653-9
What was the date of the game with a save of ||3,073?
CREATE TABLE "regular_season" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );
SELECT "date" FROM "regular_season" WHERE "save"='||3,073';
2-13990653-9
Which 2004 has a Tournament of french open?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2011" text, "2012" text, "2013" text, "career_sr" text, "career_win_loss" text );
SELECT "2004" FROM "doubles_performance_timeline" WHERE "tournament"='french open';
2-14926150-9
Which 2003 has a 2013 of 1r, and a 2007 of 2r?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2011" text, "2012" text, "2013" text, "career_sr" text, "career_win_loss" text );
SELECT "2003" FROM "doubles_performance_timeline" WHERE "2013"='1r' AND "2007"='2r';
2-14926150-9
Which 2007 has a Tournament of grand slam sr?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2011" text, "2012" text, "2013" text, "career_sr" text, "career_win_loss" text );
SELECT "2007" FROM "doubles_performance_timeline" WHERE "tournament"='grand slam sr';
2-14926150-9
Which 2008 has a Career Win-Loss of 25–40?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2011" text, "2012" text, "2013" text, "career_sr" text, "career_win_loss" text );
SELECT "2008" FROM "doubles_performance_timeline" WHERE "career_win_loss"='25–40';
2-14926150-9
Which Career Win-Loss has a 2001 of 1–1?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2011" text, "2012" text, "2013" text, "career_sr" text, "career_win_loss" text );
SELECT "career_win_loss" FROM "doubles_performance_timeline" WHERE "2001"='1–1';
2-14926150-9
Which 2012 has a 2007 of 1r, and a 2008 of 1r, and a 2013 of 2r?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2011" text, "2012" text, "2013" text, "career_sr" text, "career_win_loss" text );
SELECT "2012" FROM "doubles_performance_timeline" WHERE "2007"='1r' AND "2008"='1r' AND "2013"='2r';
2-14926150-9
What college or club did the round 9 draft pick from Canada come from?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "round"=9 AND "nationality"='canada';
2-14344807-14
Who is the player who was from Dynamo-2 moscow (rus) and was picked after round 5?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "player" FROM "draft_picks" WHERE "round">5 AND "college_junior_club_team_league"='dynamo-2 moscow (rus)';
2-14344807-14
What position does the draft pick from Finland play?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "position" FROM "draft_picks" WHERE "nationality"='finland';
2-14344807-14
What is the lowest round number that Ian Forbes was picked in the draft?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT MIN("round") FROM "draft_picks" WHERE "player"='ian forbes';
2-14344807-14
Who was the coach in 1953?
CREATE TABLE "conference_championships" ( "year" text, "conference" text, "overall_record" text, "conference_record" text, "coach" text );
SELECT "coach" FROM "conference_championships" WHERE "year"='1953';
2-14565148-5
What is the Time of the game at Arrowhead Stadium with an NFL Recap of recap?
CREATE TABLE "regular_season" ( "week" real, "date" text, "time" text, "opponent" text, "result" text, "game_site" text, "nfl_recap" text, "record" text );
SELECT "time" FROM "regular_season" WHERE "nfl_recap"='recap' AND "game_site"='arrowhead stadium';
2-15155827-2
What was the Opponent at Arrowhead Stadium?
CREATE TABLE "regular_season" ( "week" real, "date" text, "time" text, "opponent" text, "result" text, "game_site" text, "nfl_recap" text, "record" text );
SELECT "opponent" FROM "regular_season" WHERE "game_site"='arrowhead stadium';
2-15155827-2
What was the Result of the game after Week 4 with a Time of 5:15 p.m. and a Record of 4–7?
CREATE TABLE "regular_season" ( "week" real, "date" text, "time" text, "opponent" text, "result" text, "game_site" text, "nfl_recap" text, "record" text );
SELECT "result" FROM "regular_season" WHERE "week">4 AND "time"='5:15 p.m.' AND "record"='4–7';
2-15155827-2
When in November were they 11-7-3 with over 21 games?
CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "record" text );
SELECT MAX("november") FROM "schedule_and_results" WHERE "record"='11-7-3' AND "game">21;
2-13912739-3
Who was the opponent after week 9 with over 49,221 attending, and a Result of w 38-20?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "week">9 AND "attendance">'49,221' AND "result"='w 38-20';
2-14877928-2
DId the school with an enrollment of 50 have football?
CREATE TABLE "list_of_member_schools" ( "school" text, "team_name" text, "town" text, "county" text, "school_enrollment_2008_10" real, "football" text );
SELECT "football" FROM "list_of_member_schools" WHERE "school_enrollment_2008_10"=50;
2-13971270-1
What is the highest number of school enrollment for Union Star High School in De Kalb county?
CREATE TABLE "list_of_member_schools" ( "school" text, "team_name" text, "town" text, "county" text, "school_enrollment_2008_10" real, "football" text );
SELECT MAX("school_enrollment_2008_10") FROM "list_of_member_schools" WHERE "county"='de kalb' AND "school"='union star high school';
2-13971270-1
What school had a team name of the Trojans?
CREATE TABLE "list_of_member_schools" ( "school" text, "team_name" text, "town" text, "county" text, "school_enrollment_2008_10" real, "football" text );
SELECT "school" FROM "list_of_member_schools" WHERE "team_name"='trojans';
2-13971270-1
What date was the Site michigan stadium • ann arbor, mi?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "site"='michigan stadium • ann arbor, mi';
2-14725662-1
What is the site of the game with a Result of l7-33?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "site" FROM "schedule" WHERE "result"='l7-33';
2-14725662-1
What is the name of the Opponent when the Result was w48-0?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "result"='w48-0';
2-14725662-1
What is the Date at memorial stadium • minneapolis, mn, and an Opponent of northwestern?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "site"='memorial stadium • minneapolis, mn' AND "opponent"='northwestern';
2-14725662-1
What is the Result of the game on 10/11/1930?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "date"='10/11/1930';
2-14725662-1
What is the total number of games played against the Buffalo Sabres?
CREATE TABLE "schedule_and_results" ( "game" real, "march" real, "opponent" text, "score" text, "record" text );
SELECT COUNT("game") FROM "schedule_and_results" WHERE "opponent"='buffalo sabres';
2-13912864-7
Which April has Points of 95, and a Record of 41–25–10–3, and a Game smaller than 79?
CREATE TABLE "regular_season" ( "game" real, "april" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT SUM("april") FROM "regular_season" WHERE "points"=95 AND "record"='41–25–10–3' AND "game"<79;
2-14347256-9
How many Points have a Score of 1–3, and a Game larger than 82?
CREATE TABLE "regular_season" ( "game" real, "april" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT COUNT("points") FROM "regular_season" WHERE "score"='1–3' AND "game">82;
2-14347256-9
Which Game is the lowest one that has Points smaller than 92?
CREATE TABLE "regular_season" ( "game" real, "april" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT MIN("game") FROM "regular_season" WHERE "points"<92;
2-14347256-9
Which April is the smallest one that has a Score of 2–4, and a Game smaller than 76?
CREATE TABLE "regular_season" ( "game" real, "april" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT MAX("april") FROM "regular_season" WHERE "score"='2–4' AND "game"<76;
2-14347256-9
What is the high point total associated with a difference of 1 and 0 draws?
CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MAX("points") FROM "torneio_rio_s_o_paulo" WHERE "difference"='1' AND "drawn"=0;
2-15303343-1
What position did the team finish in with a Difference of - 6, 3 losses, and over 4 draws?
CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT COUNT("position") FROM "torneio_rio_s_o_paulo" WHERE "difference"='- 6' AND "lost"=3 AND "drawn">4;
2-15303343-1
Which round has the scorer of Di Matteo?
CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text );
SELECT "round" FROM "fa_cup" WHERE "scorers"='di matteo';
2-14768726-2
What is the lowest attendance of a game that has the result of 2-0?
CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text );
SELECT MIN("attendance") FROM "fa_cup" WHERE "result"='2-0';
2-14768726-2
What Metric value has a Unit of dolia?
CREATE TABLE "ordinary_system" ( "unit" text, "russian" text, "ratio" text, "metric_value" text, "avoirdupois_value" text );
SELECT "metric_value" FROM "ordinary_system" WHERE "unit"='dolia';
2-1375378-4
What Russian has a Ratio of 40?
CREATE TABLE "ordinary_system" ( "unit" text, "russian" text, "ratio" text, "metric_value" text, "avoirdupois_value" text );
SELECT "russian" FROM "ordinary_system" WHERE "ratio"='40';
2-1375378-4
What Avoirdupois value has a Russian of берковец?
CREATE TABLE "ordinary_system" ( "unit" text, "russian" text, "ratio" text, "metric_value" text, "avoirdupois_value" text );
SELECT "avoirdupois_value" FROM "ordinary_system" WHERE "russian"='берковец';
2-1375378-4
What Russian has an Avoirdupois value of 0.686 gr?
CREATE TABLE "ordinary_system" ( "unit" text, "russian" text, "ratio" text, "metric_value" text, "avoirdupois_value" text );
SELECT "russian" FROM "ordinary_system" WHERE "avoirdupois_value"='0.686 gr';
2-1375378-4
What Unit has a Ratio of 1/32?
CREATE TABLE "ordinary_system" ( "unit" text, "russian" text, "ratio" text, "metric_value" text, "avoirdupois_value" text );
SELECT "unit" FROM "ordinary_system" WHERE "ratio"='1/32';
2-1375378-4
What Ratio has a Unit of zolotnik?
CREATE TABLE "ordinary_system" ( "unit" text, "russian" text, "ratio" text, "metric_value" text, "avoirdupois_value" text );
SELECT "ratio" FROM "ordinary_system" WHERE "unit"='zolotnik';
2-1375378-4
What player from New Mexico plays the WR position?
CREATE TABLE "2008_nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT "player" FROM "2008_nfl_draft" WHERE "position"='wr' AND "school_club_team"='new mexico';
2-15013564-2
What's the Uni# of Timms, who has bats of R?
CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "uninum" real, "bats" text, "throws" text, "position" text );
SELECT "uninum" FROM "player_roster" WHERE "bats"='r' AND "surname"='timms';
2-14431362-1
What team were the Opponent in Game 29?
CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "opponent" FROM "regular_season" WHERE "game"=29;
2-14208855-4
When did the woman who died at 31 first contact Hitlers?
CREATE TABLE "relationships_with_women" ( "name" text, "life" text, "age_at_death" text, "first_contact_with_hitler" text, "relationship" text );
SELECT "first_contact_with_hitler" FROM "relationships_with_women" WHERE "age_at_death"='31';
2-13941408-1
What is the relationship of the woman who died at 96?
CREATE TABLE "relationships_with_women" ( "name" text, "life" text, "age_at_death" text, "first_contact_with_hitler" text, "relationship" text );
SELECT "relationship" FROM "relationships_with_women" WHERE "age_at_death"='96';
2-13941408-1
What is the lifespan of Stefanie Rabatsch?
CREATE TABLE "relationships_with_women" ( "name" text, "life" text, "age_at_death" text, "first_contact_with_hitler" text, "relationship" text );
SELECT "life" FROM "relationships_with_women" WHERE "name"='stefanie rabatsch';
2-13941408-1
What is Brendan Gaughan's Car #?
CREATE TABLE "power_stroke_diesel_200" ( "pos" real, "car_num" real, "driver" text, "make" text, "team" text );
SELECT "car_num" FROM "power_stroke_diesel_200" WHERE "driver"='brendan gaughan';
2-14292964-17
What is Mike Skinner's Chevrolet's Car #?
CREATE TABLE "power_stroke_diesel_200" ( "pos" real, "car_num" real, "driver" text, "make" text, "team" text );
SELECT COUNT("car_num") FROM "power_stroke_diesel_200" WHERE "make"='chevrolet' AND "driver"='mike skinner';
2-14292964-17
What is Driver Brendan Gaughan's Pos?
CREATE TABLE "power_stroke_diesel_200" ( "pos" real, "car_num" real, "driver" text, "make" text, "team" text );
SELECT "pos" FROM "power_stroke_diesel_200" WHERE "driver"='brendan gaughan';
2-14292964-17
What was the 2009 value for a total over 1 and 4th on 2010?
CREATE TABLE "grand_prix_de_futsal" ( "2005" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2013" text, "total" real );
SELECT "2009" FROM "grand_prix_de_futsal" WHERE "total">1 AND "2010"='4th';
2-13802189-3
What is the number of laps for the Time/Retired of +16.445?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text );
SELECT "laps" FROM "race" WHERE "time_retired"='+16.445';
2-14270746-2
What is the number of laps for the honda vehicle, with a grid of 13?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text );
SELECT "laps" FROM "race" WHERE "constructor"='honda' AND "grid"='13';
2-14270746-2
What is the name of the company that constructed the vehicle for Timo Glock?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text );
SELECT "constructor" FROM "race" WHERE "driver"='timo glock';
2-14270746-2
What is the Grid for Rubens Barrichello?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text );
SELECT "grid" FROM "race" WHERE "driver"='rubens barrichello';
2-14270746-2