question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What is the grid average with a +1 lap time and more than 27 laps?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("grid") FROM "moto_gp_classification" WHERE "time_retired"='+1 lap' AND "laps">27;
2-17040374-1
Which lap has more than 17 grids with tetsuya harada?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT "laps" FROM "moto_gp_classification" WHERE "grid">17 AND "rider"='tetsuya harada';
2-17040374-1
Prior to 1978, what is the Danish of the Film directed by Bent Christensen?
CREATE TABLE "submissions" ( "year" real, "english_title" text, "danish_title" text, "director" text, "result" text );
SELECT "danish_title" FROM "submissions" WHERE "year"<1978 AND "director"='bent christensen';
2-16334302-1
Who is the Director of the Olsen Gang Sees Red?
CREATE TABLE "submissions" ( "year" real, "english_title" text, "danish_title" text, "director" text, "result" text );
SELECT "director" FROM "submissions" WHERE "english_title"='the olsen gang sees red';
2-16334302-1
What is the submission Year of the Film The Dark Side of the Moon directed by Erik Clausen?
CREATE TABLE "submissions" ( "year" real, "english_title" text, "danish_title" text, "director" text, "result" text );
SELECT SUM("year") FROM "submissions" WHERE "director"='erik clausen' AND "english_title"='the dark side of the moon';
2-16334302-1
What is the Year of submission of the Film The Art of Crying?
CREATE TABLE "submissions" ( "year" real, "english_title" text, "danish_title" text, "director" text, "result" text );
SELECT MIN("year") FROM "submissions" WHERE "english_title"='the art of crying';
2-16334302-1
Which Home Town had the weight of 201?
CREATE TABLE "roster" ( "name" text, "position" text, "height" text, "weight" real, "year" text, "home_town" text );
SELECT "home_town" FROM "roster" WHERE "weight"=201;
2-16503541-2
What Position did the sophomore Darnell Jackson play?
CREATE TABLE "roster" ( "name" text, "position" text, "height" text, "weight" real, "year" text, "home_town" text );
SELECT "position" FROM "roster" WHERE "year"='sophomore' AND "name"='darnell jackson';
2-16503541-2
what kind of 2007 has a 1999 of —, and a Model of seat mii?
CREATE TABLE "sales_and_production_figures" ( "model" 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 "sales_and_production_figures" WHERE "1999"='—' AND "model"='seat mii';
2-166000-4
Which 2005 has a 2006 of 126,511?
CREATE TABLE "sales_and_production_figures" ( "model" 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 "2005" FROM "sales_and_production_figures" WHERE "2006"='126,511';
2-166000-4
Name the 2004 which has a 2003 of 36,026?
CREATE TABLE "sales_and_production_figures" ( "model" 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 "2004" FROM "sales_and_production_figures" WHERE "2003"='36,026';
2-166000-4
Name the 2007 which has a 2011 of 191,183? Question 4
CREATE TABLE "sales_and_production_figures" ( "model" 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 "sales_and_production_figures" WHERE "2011"='191,183';
2-166000-4
Name the 2011 which has a 2002 of —, and a Model of seat marbella?
CREATE TABLE "sales_and_production_figures" ( "model" 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 "2011" FROM "sales_and_production_figures" WHERE "2002"='—' AND "model"='seat marbella';
2-166000-4
Name the 2003 which has a 2000 of —, and a 2007 of —, and a 2010 of —?
CREATE TABLE "sales_and_production_figures" ( "model" 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 "2003" FROM "sales_and_production_figures" WHERE "2000"='—' AND "2007"='—' AND "2010"='—';
2-166000-4
Who is affiliated with the Dukes?
CREATE TABLE "2013_2014_teams" ( "school" text, "location" text, "founded" real, "affiliation" text, "nickname" text );
SELECT "affiliation" FROM "2013_2014_teams" WHERE "nickname"='dukes';
2-16404837-4
What school is in Radford, Va?
CREATE TABLE "2013_2014_teams" ( "school" text, "location" text, "founded" real, "affiliation" text, "nickname" text );
SELECT "school" FROM "2013_2014_teams" WHERE "location"='radford, va';
2-16404837-4
What school has a public nickname, founded after 1838 in Harrisonburg, Va?
CREATE TABLE "2013_2014_teams" ( "school" text, "location" text, "founded" real, "affiliation" text, "nickname" text );
SELECT "nickname" FROM "2013_2014_teams" WHERE "affiliation"='public' AND "founded">1838 AND "location"='harrisonburg, va';
2-16404837-4
Lowest pick for mike flater?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MIN("pick") FROM "washington_redskins_draft_history" WHERE "name"='mike flater';
2-17100961-44
Who was the home team on January 2 with 23 points?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real );
SELECT "home" FROM "game_log" WHERE "points"=23 AND "date"='january 2';
2-17301013-5
What is the record when St. Louis is the visitor?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real );
SELECT "record" FROM "game_log" WHERE "visitor"='st. louis';
2-17301013-5
What was the score for the game on November 1?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='november 1';
2-17340355-5
What were the location and attendance for the game against New Jersey?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "game_log" WHERE "team"='new jersey';
2-17340355-5
Where were the 2009 and 2011 Grand Slam Tournaments?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2011" text, "2012" text, "2013" text );
SELECT "2011" FROM "doubles_performance_timeline" WHERE "2009"='grand slam tournaments';
2-16949333-10
What is Second Vice President, when Third Vice President is "Gen. Juan Alonso", and when Inaugurated is "15 March 1940"?
CREATE TABLE "1928_1944" ( "first_vice_president" text, "second_vice_president" text, "third_vice_president" text, "inaugurated" text, "left_office" text );
SELECT "second_vice_president" FROM "1928_1944" WHERE "third_vice_president"='gen. juan alonso' AND "inaugurated"='15 march 1940';
2-17241067-4
What is Left Office, when Inaugurate is "15 March 1930"?
CREATE TABLE "1928_1944" ( "first_vice_president" text, "second_vice_president" text, "third_vice_president" text, "inaugurated" text, "left_office" text );
SELECT "left_office" FROM "1928_1944" WHERE "inaugurated"='15 march 1930';
2-17241067-4
What is Second Vice President, when Inaugurated is "26 March 1928"?
CREATE TABLE "1928_1944" ( "first_vice_president" text, "second_vice_president" text, "third_vice_president" text, "inaugurated" text, "left_office" text );
SELECT "second_vice_president" FROM "1928_1944" WHERE "inaugurated"='26 march 1928';
2-17241067-4
What is Second Vice President, when Inaugurated is "15 March 1935"?
CREATE TABLE "1928_1944" ( "first_vice_president" text, "second_vice_president" text, "third_vice_president" text, "inaugurated" text, "left_office" text );
SELECT "second_vice_president" FROM "1928_1944" WHERE "inaugurated"='15 march 1935';
2-17241067-4
What is Third Vice President, when Inaugurated is "15 March 1934"?
CREATE TABLE "1928_1944" ( "first_vice_president" text, "second_vice_president" text, "third_vice_president" text, "inaugurated" text, "left_office" text );
SELECT "third_vice_president" FROM "1928_1944" WHERE "inaugurated"='15 march 1934';
2-17241067-4
What is Third Vice President, when Second Vice President is "Baudelio Palma"?
CREATE TABLE "1928_1944" ( "first_vice_president" text, "second_vice_president" text, "third_vice_president" text, "inaugurated" text, "left_office" text );
SELECT "third_vice_president" FROM "1928_1944" WHERE "second_vice_president"='baudelio palma';
2-17241067-4
What was the score of the game from July 18?
CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "score" FROM "regular_season" WHERE "date"='july 18';
2-17103645-10
What was the Attendance on Week 9?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("attendance") FROM "regular_season" WHERE "week"=9;
2-16351892-4
What is the Opponent of the game with a Result of w 13–0?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "opponent" FROM "regular_season" WHERE "result"='w 13–0';
2-16351892-4
What was the score in January that was less than 4?
CREATE TABLE "schedule_and_results" ( "game" real, "january" real, "opponent" text, "score" text, "record" text );
SELECT "score" FROM "schedule_and_results" WHERE "january"<4;
2-17562956-5
Which date was the event that Yani won in a playoff over Yueh-Chyn Huang?
CREATE TABLE "other_wins_11" ( "date" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "date" FROM "other_wins_11" WHERE "margin_of_victory"='playoff' AND "runner_s_up"='yueh-chyn huang';
2-17335602-3
What is the latitude of the point with a longitude of 147.1w?
CREATE TABLE "faculae" ( "name" text, "latitude" text, "longitude" text, "diameter" real, "year_named" real );
SELECT "latitude" FROM "faculae" WHERE "longitude"='147.1w';
2-16768245-2
What is ISBN UK, when Author is "Dave Martin", and when ISBN US is "N/A"?
CREATE TABLE "game_books" ( "title" text, "author" text, "isbn_uk" text, "isbn_us" text, "tv_companions_featured" text );
SELECT "isbn_uk" FROM "game_books" WHERE "author"='dave martin' AND "isbn_us"='n/a';
2-1713215-1
What is ISBN US, when Title is "Crisis In Space"?
CREATE TABLE "game_books" ( "title" text, "author" text, "isbn_uk" text, "isbn_us" text, "tv_companions_featured" text );
SELECT "isbn_us" FROM "game_books" WHERE "title"='crisis in space';
2-1713215-1
What is Author, when TV Companions Featured is "Peri Brown", and when Title is "Race Against Time"?
CREATE TABLE "game_books" ( "title" text, "author" text, "isbn_uk" text, "isbn_us" text, "tv_companions_featured" text );
SELECT "author" FROM "game_books" WHERE "tv_companions_featured"='peri brown' AND "title"='race against time';
2-1713215-1
What is Title, when TV Companions Featured is "K-9"?
CREATE TABLE "game_books" ( "title" text, "author" text, "isbn_uk" text, "isbn_us" text, "tv_companions_featured" text );
SELECT "title" FROM "game_books" WHERE "tv_companions_featured"='k-9';
2-1713215-1
What is ISBN US, when Title is "Mission To Venus"?
CREATE TABLE "game_books" ( "title" text, "author" text, "isbn_uk" text, "isbn_us" text, "tv_companions_featured" text );
SELECT "isbn_us" FROM "game_books" WHERE "title"='mission to venus';
2-1713215-1
What is TV Companions Featured, when Author is "William Emms"?
CREATE TABLE "game_books" ( "title" text, "author" text, "isbn_uk" text, "isbn_us" text, "tv_companions_featured" text );
SELECT "tv_companions_featured" FROM "game_books" WHERE "author"='william emms';
2-1713215-1
Which Date has a Result of 2–2, and a Venue of H?
CREATE TABLE "uefa_champions_league" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real );
SELECT "date" FROM "uefa_champions_league" WHERE "result"='2–2' AND "venue"='h';
2-16649424-4
Which player had a to par score larger than 7 and a total score of 298?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text );
SELECT "player" FROM "made_the_cut" WHERE "to_par">7 AND "total"=298;
2-17162255-2
In which location did he win the Superbrawl 16 event?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "res"='win' AND "event"='superbrawl 16';
2-17442647-2
What was his record when the method was technical submission (forearm choke)?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "method"='technical submission (forearm choke)';
2-17442647-2
Who was the opponent in round 2 of the UFC 49 event?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "round"='2' AND "event"='ufc 49';
2-17442647-2
What was the round when he fought Joe Stevenson?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "round" FROM "mixed_martial_arts_record" WHERE "opponent"='joe stevenson';
2-17442647-2
On which date was the score 94-74 w?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "score"='94-74 w';
2-17382296-5
When they played at Chicago Bulls, what was the Location/Attendance?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "game_log" WHERE "opponent"='at chicago bulls';
2-17382296-5
Who was the opponent in Game 44?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "game"='44';
2-17382296-5
Who was the opponent when they played at Delta Center with a record of 27-13?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "location_attendance"='delta center' AND "record"='27-13';
2-17382296-5
What was the date for Game 41?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "game"='41';
2-17382296-5
Which Opposing Team has an Against of 3, and a Date of 11 february 1950?
CREATE TABLE "fa_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text );
SELECT "opposing_team" FROM "fa_cup" WHERE "against"=3 AND "date"='11 february 1950';
2-17215266-3
Which Venue has an Opposing Team of manchester united, and a Round of 5th round replay?
CREATE TABLE "fa_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text );
SELECT "venue" FROM "fa_cup" WHERE "opposing_team"='manchester united' AND "round"='5th round replay';
2-17215266-3
Which Against has a Date of 28 january 1950?
CREATE TABLE "fa_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text );
SELECT AVG("against") FROM "fa_cup" WHERE "date"='28 january 1950';
2-17215266-3
What is the total number of years wehre anna thompson had a 3rd place result at edinburgh, scotland?
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text );
SELECT COUNT("year") FROM "achievements" WHERE "result"='3rd' AND "venue"='edinburgh, scotland';
2-17218317-1
What year did anna thompson have a 7th place result?
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text );
SELECT "year" FROM "achievements" WHERE "result"='7th';
2-17218317-1
What is the average year that anna thompson had an 8th place result in team competition at the world cross country championships in st etienne, france with
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text );
SELECT AVG("year") FROM "achievements" WHERE "tournament"='world cross country championships' AND "venue"='st etienne, france' AND "extra"='team competition' AND "result"='8th';
2-17218317-1
What is the total matches in 2002 where points won is larger than 1.5 and the points % is smaller than 50?
CREATE TABLE "solheim_cup_record" ( "year" text, "total_matches" real, "total_w_l_h" text, "singles_w_l_h" text, "fourballs_w_l_h" text, "points_won" real, "points_pct" real );
SELECT MAX("total_matches") FROM "solheim_cup_record" WHERE "points_won">1.5 AND "year"='2002' AND "points_pct"<50;
2-1628607-5
WHAT IS THE LOSS WITH AN AVERAGE OF 89.9?
CREATE TABLE "rushing" ( "name" text, "gp_gs" text, "gain" real, "loss" real, "long" real, "avg_g" real );
SELECT SUM("loss") FROM "rushing" WHERE "avg_g"=89.9;
2-16981858-5
WHAT IS THE NUMBER OF LOSSES WITH A LONG SMALLER THAN 24, AND GAIN BIGGER THAN 116?
CREATE TABLE "rushing" ( "name" text, "gp_gs" text, "gain" real, "loss" real, "long" real, "avg_g" real );
SELECT COUNT("loss") FROM "rushing" WHERE "long"<24 AND "gain">116;
2-16981858-5
How many rounds did Brett go against Kevin Asplund?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "opponent"='kevin asplund';
2-17624351-2
How many rounds did Brett go for the Strikeforce: Shamrock vs. Diaz match?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "round" FROM "mixed_martial_arts_record" WHERE "event"='strikeforce: shamrock vs. diaz';
2-17624351-2
What is the Average relative annual growth (%) for the country that ranks 41 and has a July 1, 2013 projection larger than 2,204,000?
CREATE TABLE "table" ( "rank" text, "july_1_2013_projection" real, "pct_of_pop" real, "average_relative_annual_growth_pct" real, "average_absolute_annual_growth" real );
SELECT COUNT("average_relative_annual_growth_pct") FROM "table" WHERE "rank"='41' AND "july_1_2013_projection">'2,204,000';
2-1759677-1
Which Opponent has a Record of 22-10?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "result" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "record"='22-10';
2-17383528-2
Which Score has an Opponent of @ seattle?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "result" text, "record" text );
SELECT "score" FROM "game_log" WHERE "opponent"='@ seattle';
2-17383528-2
Which Record has a Result of loss, and an Opponent of @ la clippers?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "result" text, "record" text );
SELECT "record" FROM "game_log" WHERE "result"='loss' AND "opponent"='@ la clippers';
2-17383528-2
Which Score has an Opponent of @ la lakers, and a Record of 8-6?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "result" text, "record" text );
SELECT "score" FROM "game_log" WHERE "opponent"='@ la lakers' AND "record"='8-6';
2-17383528-2
Which Opponent has a Result of win, and a Date of march 17?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "result" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "result"='win' AND "date"='march 17';
2-17383528-2
Which Score has a Date of may 4?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "result" text, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='may 4';
2-17383528-2
Which PD per game has a Rank smaller than 4, a Winning % of 78.6%, a Streak of w1, and a PA per game smaller than 81.5?
CREATE TABLE "2009_nbl_ladder_championship_round" ( "rank" real, "team" text, "played" real, "loss" real, "last_5" text, "streak" text, "pf_per_game" real, "pa_per_game" real, "pd_per_game" real, "winning_pct" text );
SELECT MIN("pd_per_game") FROM "2009_nbl_ladder_championship_round" WHERE "rank"<4 AND "winning_pct"='78.6%' AND "streak"='w1' AND "pa_per_game"<81.5;
2-1711351-1
Which Loss has a Last 5 of 4-1, a Streak of w2, and a PA per game smaller than 88.43?
CREATE TABLE "2009_nbl_ladder_championship_round" ( "rank" real, "team" text, "played" real, "loss" real, "last_5" text, "streak" text, "pf_per_game" real, "pa_per_game" real, "pd_per_game" real, "winning_pct" text );
SELECT AVG("loss") FROM "2009_nbl_ladder_championship_round" WHERE "last_5"='4-1' AND "streak"='w2' AND "pa_per_game"<88.43;
2-1711351-1
Which Last 5 has a Rank of 7?
CREATE TABLE "2009_nbl_ladder_championship_round" ( "rank" real, "team" text, "played" real, "loss" real, "last_5" text, "streak" text, "pf_per_game" real, "pa_per_game" real, "pd_per_game" real, "winning_pct" text );
SELECT "last_5" FROM "2009_nbl_ladder_championship_round" WHERE "rank"=7;
2-1711351-1
Which Played has a PD per game larger than 6.28, and a Loss smaller than 4?
CREATE TABLE "2009_nbl_ladder_championship_round" ( "rank" real, "team" text, "played" real, "loss" real, "last_5" text, "streak" text, "pf_per_game" real, "pa_per_game" real, "pd_per_game" real, "winning_pct" text );
SELECT MIN("played") FROM "2009_nbl_ladder_championship_round" WHERE "pd_per_game">6.28 AND "loss"<4;
2-1711351-1
Which PF per game has a Rank of 5?
CREATE TABLE "2009_nbl_ladder_championship_round" ( "rank" real, "team" text, "played" real, "loss" real, "last_5" text, "streak" text, "pf_per_game" real, "pa_per_game" real, "pd_per_game" real, "winning_pct" text );
SELECT MIN("pf_per_game") FROM "2009_nbl_ladder_championship_round" WHERE "rank"=5;
2-1711351-1
What was the score in Round 3?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "round"='3';
2-17445415-2
What was the record for opponent Matt Serra?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='matt serra';
2-17445415-2
What was the event for round 1 against Lance Wipf?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "round"='1' AND "opponent"='lance wipf';
2-17445415-2
What is the total number of Area (km²), when Population (2007) is 6,176?
CREATE TABLE "political_subdivision" ( "barangay" text, "area_km" real, "population_2007" real, "population_2010" real, "pop_density_per_km" real );
SELECT COUNT("area_km") FROM "political_subdivision" WHERE "population_2007"='6,176';
2-1686313-1
What is the average Population (2010), when Population (2007) is 4,875, and when Area (km²) is greater than 1.456?
CREATE TABLE "political_subdivision" ( "barangay" text, "area_km" real, "population_2007" real, "population_2010" real, "pop_density_per_km" real );
SELECT AVG("population_2010") FROM "political_subdivision" WHERE "population_2007"='4,875' AND "area_km">1.456;
2-1686313-1
How many laps did car 23 do?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "laps" FROM "classification" WHERE "car_no"='23';
2-17319931-1
How many laps did the car do that had a final position of 17?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "laps" FROM "classification" WHERE "fin_pos"='17';
2-17319931-1
What grid did the team racing professionals race on?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "grid" FROM "classification" WHERE "team"='racing professionals';
2-17319931-1
What car number had a race time of +0.3844?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "car_no" FROM "classification" WHERE "time_retired"='+0.3844';
2-17319931-1
How many points were scored by car number 10 that ended with a collision?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "points" FROM "classification" WHERE "time_retired"='collision' AND "car_no"='10';
2-17319931-1
Who was the driver who had a final position of 14?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "driver" FROM "classification" WHERE "fin_pos"='14';
2-17319931-1
what is the money ($) for player justin leonard?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "money" FROM "final_leaderboard" WHERE "player"='justin leonard';
2-16514508-4
what is the place when the score is 76-69-71-70=286?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "place" FROM "final_leaderboard" WHERE "score"='76-69-71-70=286';
2-16514508-4
what is the place for costantino rocca?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "place" FROM "final_leaderboard" WHERE "player"='costantino rocca';
2-16514508-4
what is the highest money ($) for bernhard langer?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT MAX("money") FROM "final_leaderboard" WHERE "player"='bernhard langer';
2-16514508-4
What is the score of the FIFA report on October 13, 2007?
CREATE TABLE "men_s_national_team" ( "date" text, "venue" text, "score" text, "competition" text, "report" text );
SELECT "score" FROM "men_s_national_team" WHERE "report"='fifa' AND "date"='october 13, 2007';
2-17080033-2
What venue has a EAFF report on June 24, 2007?
CREATE TABLE "men_s_national_team" ( "date" text, "venue" text, "score" text, "competition" text, "report" text );
SELECT "venue" FROM "men_s_national_team" WHERE "report"='eaff' AND "date"='june 24, 2007';
2-17080033-2
What is the venue on October 13, 2007?
CREATE TABLE "men_s_national_team" ( "date" text, "venue" text, "score" text, "competition" text, "report" text );
SELECT "venue" FROM "men_s_national_team" WHERE "date"='october 13, 2007';
2-17080033-2
At what Site was the Result W13-7?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "site" FROM "schedule" WHERE "result"='w13-7';
2-16518708-12
What was the Attendance on 11/09/1946?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "date"='11/09/1946';
2-16518708-12
What Site had an Attendance of 45,000?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "site" FROM "schedule" WHERE "attendance"='45,000';
2-16518708-12
What was the Result on 11/02/1946?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "date"='11/02/1946';
2-16518708-12
What mark has over 813 points in the United States, and a 0.152 react?
CREATE TABLE "60_metres" ( "lane" real, "name" text, "country" text, "mark" text, "react" real, "points" real );
SELECT "mark" FROM "60_metres" WHERE "points">813 AND "country"='united states' AND "react">0.152;
2-16584956-2
What is the lowest Total, when Year(s) Won is "1968 , 1971", and when To Par is less than 11?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT MIN("total") FROM "missed_the_cut" WHERE "year_s_won"='1968 , 1971' AND "to_par"<11;
2-17231211-3
What is the lowest To Par, when Player is "Johnny Miller"?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT MIN("to_par") FROM "missed_the_cut" WHERE "player"='johnny miller';
2-17231211-3