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 Time/Retired for the BMW Sauber, and Nick Heidfeld?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text );
SELECT "time_retired" FROM "race" WHERE "constructor"='bmw sauber' AND "driver"='nick heidfeld';
2-14270746-2
What were the total number of games in April greater than 83?
CREATE TABLE "schedule_and_results" ( "game" real, "april" real, "opponent" text, "score" text, "record" text );
SELECT COUNT("april") FROM "schedule_and_results" WHERE "game">83;
2-13909382-8
Which Games↑ is the lowest one that has a Position of wlb?
CREATE TABLE "defense" ( "position" text, "number" real, "name" text, "height" text, "weight" text, "class" text, "hometown" text, "games" real );
SELECT MIN("games") FROM "defense" WHERE "position"='wlb';
2-15257210-4
Which Games↑ is the lowest one that has a Number of 98?
CREATE TABLE "defense" ( "position" text, "number" real, "name" text, "height" text, "weight" text, "class" text, "hometown" text, "games" real );
SELECT MIN("games") FROM "defense" WHERE "number"=98;
2-15257210-4
What is the height of Josh Tabb?
CREATE TABLE "roster_and_rotation" ( "name" text, "number" real, "team_position" real, "height" text, "year" text );
SELECT "height" FROM "roster_and_rotation" WHERE "name"='josh tabb';
2-14290955-1
What series episode has stetson hats (part 1) under segment C?
CREATE TABLE "season_11_2008" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "series_ep" FROM "season_11_2008" WHERE "segment_c"='stetson hats (part 1)';
2-15187735-11
What is under segment C when s cuckoo clock is under segment B?
CREATE TABLE "season_11_2008" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_c" FROM "season_11_2008" WHERE "segment_b"='s cuckoo clock';
2-15187735-11
When segment B is s pineapple, what is the segment C?
CREATE TABLE "season_11_2008" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_c" FROM "season_11_2008" WHERE "segment_b"='s pineapple';
2-15187735-11
What series episode has jukeboxes as segment B?
CREATE TABLE "season_11_2008" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "series_ep" FROM "season_11_2008" WHERE "segment_b"='jukeboxes';
2-15187735-11
What week ended in a result of w 30-3, and had an attendance less than 62,795?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MIN("week") FROM "schedule" WHERE "result"='w 30-3' AND "attendance"<'62,795';
2-15093626-2
Which Format has a Catalog of 61298, and a Date of september 1984?
CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" real );
SELECT "format" FROM "release_history" WHERE "catalog"=61298 AND "date"='september 1984';
2-14935943-2
Which Catalog has a Format of 7" single (second cover)?
CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" real );
SELECT "catalog" FROM "release_history" WHERE "format"='7\" single (second cover)';
2-14935943-2
Which Region has a Label of rca, and a Catalog of 61298, and a Format of 7" single (first cover)?
CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" real );
SELECT "region" FROM "release_history" WHERE "label"='rca' AND "catalog"=61298 AND "format"='7\" single (first cover)';
2-14935943-2
Which Format has a Catalog smaller than 61298?
CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" real );
SELECT "format" FROM "release_history" WHERE "catalog"<61298;
2-14935943-2
What was the score of the game with 96 points?
CREATE TABLE "game_log" ( "game" real, "march" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "score" FROM "game_log" WHERE "points"=96;
2-14347546-8
What was the score of the game with a record of 34–17–11–2?
CREATE TABLE "game_log" ( "game" real, "march" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "score" FROM "game_log" WHERE "record"='34–17–11–2';
2-14347546-8
What was the record after the game at Rich Stadium?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );
SELECT "record" FROM "schedule" WHERE "game_site"='rich stadium';
2-14945112-1
When was the first cap associated with 74 caps?
CREATE TABLE "top_goalscorers" ( "name" text, "goals" real, "caps" real, "first_cap" text, "latest_cap" text );
SELECT "first_cap" FROM "top_goalscorers" WHERE "caps"=74;
2-149286-10
How many goals are associated with over 97 caps and a Latest cap of april 24, 2013?
CREATE TABLE "top_goalscorers" ( "name" text, "goals" real, "caps" real, "first_cap" text, "latest_cap" text );
SELECT AVG("goals") FROM "top_goalscorers" WHERE "latest_cap"='april 24, 2013' AND "caps">97;
2-149286-10
When was the first cap associated with 39 caps and under 33 goals?
CREATE TABLE "top_goalscorers" ( "name" text, "goals" real, "caps" real, "first_cap" text, "latest_cap" text );
SELECT "first_cap" FROM "top_goalscorers" WHERE "goals"<33 AND "caps"=39;
2-149286-10
What is the highest number of goals associated with 39 caps?
CREATE TABLE "top_goalscorers" ( "name" text, "goals" real, "caps" real, "first_cap" text, "latest_cap" text );
SELECT MAX("goals") FROM "top_goalscorers" WHERE "caps"=39;
2-149286-10
How many days in April has a record of 42–22–12–3, and less than 99 points?
CREATE TABLE "regular_season" ( "game" real, "april" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT COUNT("april") FROM "regular_season" WHERE "record"='42–22–12–3' AND "points"<99;
2-14173105-9
Name the total number of points for 44 game and january more than 15
CREATE TABLE "regular_season" ( "game" real, "january" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT COUNT("points") FROM "regular_season" WHERE "game"=44 AND "january">15;
2-14208857-5
Men's singles of kęstutis navickas, and a Women's singles of ugnė urbonaitė, and a Year larger than 2004 involved which mens double?
CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "men_s_doubles" FROM "past_winners" WHERE "men_s_singles"='kęstutis navickas' AND "women_s_singles"='ugnė urbonaitė' AND "year">2004;
2-15001753-1
Women's singles of akvilė stapušaitytė, and a Year of 2010 had what mixed doubles?
CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "mixed_doubles" FROM "past_winners" WHERE "women_s_singles"='akvilė stapušaitytė' AND "year"=2010;
2-15001753-1
Year smaller than 1993, and a Women's singles of jūratė markaitytė, and a Men's singles of arūnas petkevičius involved which women's doubles?
CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "women_s_doubles" FROM "past_winners" WHERE "year"<1993 AND "women_s_singles"='jūratė markaitytė' AND "men_s_singles"='arūnas petkevičius';
2-15001753-1
Which Date had a Result of 7–20?
CREATE TABLE "preseason" ( "week" text, "date" text, "kickoff" text, "opponent" text, "result" text, "record" text, "game_site" text, "nfl_recap" text );
SELECT "date" FROM "preseason" WHERE "result"='7–20';
2-14999879-3
Which Date had an Opponent of buffalo bills?
CREATE TABLE "preseason" ( "week" text, "date" text, "kickoff" text, "opponent" text, "result" text, "record" text, "game_site" text, "nfl_recap" text );
SELECT "date" FROM "preseason" WHERE "opponent"='buffalo bills';
2-14999879-3
Which Kickoff had a Game Site of bank of america stadium?
CREATE TABLE "preseason" ( "week" text, "date" text, "kickoff" text, "opponent" text, "result" text, "record" text, "game_site" text, "nfl_recap" text );
SELECT "kickoff" FROM "preseason" WHERE "game_site"='bank of america stadium';
2-14999879-3
Which Kickoff had a Game Site of fawcett stadium?
CREATE TABLE "preseason" ( "week" text, "date" text, "kickoff" text, "opponent" text, "result" text, "record" text, "game_site" text, "nfl_recap" text );
SELECT "kickoff" FROM "preseason" WHERE "game_site"='fawcett stadium';
2-14999879-3
Which NFL Recap had a Kickoff of 7:00pm edt?
CREATE TABLE "preseason" ( "week" text, "date" text, "kickoff" text, "opponent" text, "result" text, "record" text, "game_site" text, "nfl_recap" text );
SELECT "nfl_recap" FROM "preseason" WHERE "kickoff"='7:00pm edt';
2-14999879-3
Which NFL Recap had a Record of 1–3?
CREATE TABLE "preseason" ( "week" text, "date" text, "kickoff" text, "opponent" text, "result" text, "record" text, "game_site" text, "nfl_recap" text );
SELECT "nfl_recap" FROM "preseason" WHERE "record"='1–3';
2-14999879-3
What was the Record on Game 50?
CREATE TABLE "schedule_and_results" ( "game" real, "january" real, "opponent" text, "score" text, "record" text );
SELECT "record" FROM "schedule_and_results" WHERE "game"=50;
2-14034807-6
what player score is higher than 17
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT "player" FROM "nfl_draft" WHERE "round"=17;
2-14877531-1
What is the lowest population associated with a Regional Percentage of Population of 2.95?
CREATE TABLE "distribution" ( "region" text, "total_population" real, "manchu" real, "percentage_in_manchu_population" text, "regional_percentage_of_population" real );
SELECT MIN("total_population") FROM "distribution" WHERE "regional_percentage_of_population"=2.95;
2-153021-1
Which opponent has an attendance of 17,015?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "attendance"='17,015';
2-13573373-9
Which Frequency MHz is the highest one that has a Call sign of k241an?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT MAX("frequency_m_hz") FROM "translators" WHERE "call_sign"='k241an';
2-14993404-1
Which ERP W is the highest one that has a Frequency MHz larger than 88.3, and a City of license of lewis, kansas?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT MAX("erp_w") FROM "translators" WHERE "frequency_m_hz">88.3 AND "city_of_license"='lewis, kansas';
2-14993404-1
Which FCC info has a ERP W smaller than 222, and a Call sign of k297ai?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "fcc_info" FROM "translators" WHERE "erp_w"<222 AND "call_sign"='k297ai';
2-14993404-1
Which City of license has a Call sign of k241an?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "city_of_license" FROM "translators" WHERE "call_sign"='k241an';
2-14993404-1
Which Class has an ERP W of 222?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "class" FROM "translators" WHERE "erp_w"=222;
2-14993404-1
What was the score on a clay surface in a year later than 2006 with David Ferrer as an opponent?
CREATE TABLE "grand_slam_tournament_performance_timeli" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent" text, "score" text );
SELECT "score" FROM "grand_slam_tournament_performance_timeli" WHERE "surface"='clay' AND "year">2006 AND "opponent"='david ferrer';
2-1439517-2
Which championship is in a year later than 2010 on a grass surface?
CREATE TABLE "grand_slam_tournament_performance_timeli" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent" text, "score" text );
SELECT "championship" FROM "grand_slam_tournament_performance_timeli" WHERE "year">2010 AND "surface"='grass';
2-1439517-2
Which championship has Roger Federer as an opponent on a clay surface in a year earlier than 2007?
CREATE TABLE "grand_slam_tournament_performance_timeli" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent" text, "score" text );
SELECT "championship" FROM "grand_slam_tournament_performance_timeli" WHERE "opponent"='roger federer' AND "surface"='clay' AND "year"<2007;
2-1439517-2
How many weeks have an attendance greater than 21,231, with l 38-10 as the result?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT COUNT("week") FROM "schedule" WHERE "attendance">'21,231' AND "result"='l 38-10';
2-15122771-2
Which opponent has an attendance greater than 57,491, with october 28, 1962 as the date?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "attendance">'57,491' AND "date"='october 28, 1962';
2-15122771-2
What is the largest attendance that has December 16, 1962 as the date?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("attendance") FROM "schedule" WHERE "date"='december 16, 1962';
2-15122771-2
What is the largest week that has t 35-35 as the result?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("week") FROM "schedule" WHERE "result"='t 35-35';
2-15122771-2
Name the total number of no result for losses more than 1 and played of 38 and wins less than 19
CREATE TABLE "summary_of_results_by_season" ( "played" real, "wins" real, "losses" real, "no_result" real, "pct_win" text );
SELECT COUNT("no_result") FROM "summary_of_results_by_season" WHERE "losses">1 AND "played"=38 AND "wins"<19;
2-15023048-1
Name the sum of played with wins more than 19
CREATE TABLE "summary_of_results_by_season" ( "played" real, "wins" real, "losses" real, "no_result" real, "pct_win" text );
SELECT SUM("played") FROM "summary_of_results_by_season" WHERE "wins">19;
2-15023048-1
Name the total number of losses with number result less than 0
CREATE TABLE "summary_of_results_by_season" ( "played" real, "wins" real, "losses" real, "no_result" real, "pct_win" text );
SELECT COUNT("losses") FROM "summary_of_results_by_season" WHERE "no_result"<0;
2-15023048-1
Which Rank has Goals larger than 4, and a Scorer of oh seok-jae?
CREATE TABLE "top_scorers" ( "rank" text, "scorer" text, "club" text, "goals" real, "matches" text );
SELECT "rank" FROM "top_scorers" WHERE "goals">4 AND "scorer"='oh seok-jae';
2-14415844-4
Which Goals is the lowest one that has Matches of 16, and a Scorer of park sang-in?
CREATE TABLE "top_scorers" ( "rank" text, "scorer" text, "club" text, "goals" real, "matches" text );
SELECT MIN("goals") FROM "top_scorers" WHERE "matches"='16' AND "scorer"='park sang-in';
2-14415844-4
Which Club has a Rank of 1?
CREATE TABLE "top_scorers" ( "rank" text, "scorer" text, "club" text, "goals" real, "matches" text );
SELECT "club" FROM "top_scorers" WHERE "rank"='1';
2-14415844-4
Which Goals have a Club of hallelujah fc, and a Rank of 7?
CREATE TABLE "top_scorers" ( "rank" text, "scorer" text, "club" text, "goals" real, "matches" text );
SELECT SUM("goals") FROM "top_scorers" WHERE "club"='hallelujah fc' AND "rank"='7';
2-14415844-4
How many Extra points have Touchdowns larger than 2, and Field goals larger than 0?
CREATE TABLE "michigan_86_ohio_state_0" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );
SELECT COUNT("extra_points") FROM "michigan_86_ohio_state_0" WHERE "touchdowns">2 AND "field_goals">0;
2-14342367-7
Which Field goals is the highest one that has Touchdowns of 0, and Points larger than 4?
CREATE TABLE "michigan_86_ohio_state_0" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real );
SELECT MAX("field_goals") FROM "michigan_86_ohio_state_0" WHERE "touchdowns"=0 AND "points">4;
2-14342367-7
How many Totals have a High Game Tackles of 19 (purdue), and Interceptions smaller than 3?
CREATE TABLE "statistics_at_michigan" ( "year" text, "tackles" real, "assists" real, "totals" real, "interceptions" real, "high_game_tackles" text );
SELECT COUNT("totals") FROM "statistics_at_michigan" WHERE "high_game_tackles"='19 (purdue)' AND "interceptions"<3;
2-15307039-1
What is the grid number of Sandro Cortese, who has Aprilia as the manufacturer and less than 19 laps?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT SUM("grid") FROM "125cc_classification" WHERE "manufacturer"='aprilia' AND "laps"<19 AND "rider"='sandro cortese';
2-13913978-3
Which Rank has a Lost smaller than 12, and a Played larger than 20, and an Avg Points larger than 1.73?
CREATE TABLE "all_time_ranking_in_the_championship_pla" ( "rank" real, "club" text, "seasons" real, "played" real, "drew" real, "lost" real, "points" real, "avg_points" real, "goals_for" real, "goals_against" real, "goal_diff" real );
SELECT MAX("rank") FROM "all_time_ranking_in_the_championship_pla" WHERE "lost"<12 AND "played">20 AND "avg_points">1.73;
2-1430677-1
Which Drew has a Rank of 5, and a Played larger than 30?
CREATE TABLE "all_time_ranking_in_the_championship_pla" ( "rank" real, "club" text, "seasons" real, "played" real, "drew" real, "lost" real, "points" real, "avg_points" real, "goals_for" real, "goals_against" real, "goal_diff" real );
SELECT COUNT("drew") FROM "all_time_ranking_in_the_championship_pla" WHERE "rank"=5 AND "played">30;
2-1430677-1
Which Rank has a Club of zulte waregem, and Points larger than 22?
CREATE TABLE "all_time_ranking_in_the_championship_pla" ( "rank" real, "club" text, "seasons" real, "played" real, "drew" real, "lost" real, "points" real, "avg_points" real, "goals_for" real, "goals_against" real, "goal_diff" real );
SELECT COUNT("rank") FROM "all_time_ranking_in_the_championship_pla" WHERE "club"='zulte waregem' AND "points">22;
2-1430677-1
Which Lost has Seasons of 2, and Goals against larger than 43?
CREATE TABLE "all_time_ranking_in_the_championship_pla" ( "rank" real, "club" text, "seasons" real, "played" real, "drew" real, "lost" real, "points" real, "avg_points" real, "goals_for" real, "goals_against" real, "goal_diff" real );
SELECT MAX("lost") FROM "all_time_ranking_in_the_championship_pla" WHERE "seasons"=2 AND "goals_against">43;
2-1430677-1
Which Drew has a Lost larger than 14?
CREATE TABLE "all_time_ranking_in_the_championship_pla" ( "rank" real, "club" text, "seasons" real, "played" real, "drew" real, "lost" real, "points" real, "avg_points" real, "goals_for" real, "goals_against" real, "goal_diff" real );
SELECT SUM("drew") FROM "all_time_ranking_in_the_championship_pla" WHERE "lost">14;
2-1430677-1
Which Record has a Week smaller than 15, and an Opponent of at new york jets?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "time_et" text, "result" text, "record" text );
SELECT "record" FROM "schedule" WHERE "week"<15 AND "opponent"='at new york jets';
2-14493999-1
Which Result has a Record of 5–4?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "time_et" text, "result" text, "record" text );
SELECT "result" FROM "schedule" WHERE "record"='5–4';
2-14493999-1
Which Record has a Time (ET) of 1:00pm, and an Opponent of kansas city chiefs?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "time_et" text, "result" text, "record" text );
SELECT "record" FROM "schedule" WHERE "time_et"='1:00pm' AND "opponent"='kansas city chiefs';
2-14493999-1
What is the 7:30 feature with an 8:30 feature Melrose Place?
CREATE TABLE "monday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );
SELECT "7_30" FROM "monday" WHERE "8_30"='melrose place';
2-15184672-2
What is the 8:30 feature with a 7:00 feature Loft Story?
CREATE TABLE "monday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );
SELECT "8_30" FROM "monday" WHERE "7_00"='loft story';
2-15184672-2
What is the 8:00 feature with a 7:00 feature Air Farce?
CREATE TABLE "monday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );
SELECT "8_00" FROM "monday" WHERE "7_00"='air farce';
2-15184672-2
What is the 10:30 feature with Hercule as the 7:30 feature?
CREATE TABLE "monday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );
SELECT "10_30" FROM "monday" WHERE "7_30"='hercule';
2-15184672-2
What is the 8:00 feature with Mad About You as the 8:30 feature?
CREATE TABLE "monday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );
SELECT "8_00" FROM "monday" WHERE "8_30"='mad about you';
2-15184672-2
What is the 7:30 feature with an 8:00 feature of Cosby?
CREATE TABLE "monday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );
SELECT "7_30" FROM "monday" WHERE "8_00"='cosby';
2-15184672-2
What is the Hindi associated with a Domari of tærən?
CREATE TABLE "classification" ( "hindi" text, "romani" text, "domari" text, "lomavren" text, "persian" text );
SELECT "hindi" FROM "classification" WHERE "domari"='tærən';
2-146609-1
What is the Lomavren associated with a Persian of se?
CREATE TABLE "classification" ( "hindi" text, "romani" text, "domari" text, "lomavren" text, "persian" text );
SELECT "lomavren" FROM "classification" WHERE "persian"='se';
2-146609-1
What is the Romani associated with a Domari of na?
CREATE TABLE "classification" ( "hindi" text, "romani" text, "domari" text, "lomavren" text, "persian" text );
SELECT "romani" FROM "classification" WHERE "domari"='na';
2-146609-1
What is the Domari associated with a Persian of yak, yek?
CREATE TABLE "classification" ( "hindi" text, "romani" text, "domari" text, "lomavren" text, "persian" text );
SELECT "domari" FROM "classification" WHERE "persian"='yak, yek';
2-146609-1
What is the Lomavren associated with a Hindi of sāt?
CREATE TABLE "classification" ( "hindi" text, "romani" text, "domari" text, "lomavren" text, "persian" text );
SELECT "lomavren" FROM "classification" WHERE "hindi"='sāt';
2-146609-1
What is the Version before 2001 with a Length of 7:42?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "version" FROM "official_versions" WHERE "year"<2001 AND "length"='7:42';
2-15146625-2
In what Year is the length of the Song 7:42?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT AVG("year") FROM "official_versions" WHERE "length"='7:42';
2-15146625-2
Which College/Junior/Club Team (League) has a Position of right wing, and a Round smaller than 3?
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 "position"='right wing' AND "round"<3;
2-14346882-16
What is the orbital regime of launches greater than 4 and failures less than 2?
CREATE TABLE "by_orbit" ( "orbital_regime" text, "launches" real, "successes" real, "failures" real, "accidentally_achieved" real );
SELECT "orbital_regime" FROM "by_orbit" WHERE "launches">4 AND "failures"<2;
2-13894411-10
What is the total of medium earth orbital regime, accidentally achieved and successes greater than 3?
CREATE TABLE "by_orbit" ( "orbital_regime" text, "launches" real, "successes" real, "failures" real, "accidentally_achieved" real );
SELECT SUM("accidentally_achieved") FROM "by_orbit" WHERE "orbital_regime"='medium earth' AND "successes">3;
2-13894411-10
What is the greatest successes that have failures greater than 1 and launches less than 28?
CREATE TABLE "by_orbit" ( "orbital_regime" text, "launches" real, "successes" real, "failures" real, "accidentally_achieved" real );
SELECT MAX("successes") FROM "by_orbit" WHERE "failures">1 AND "launches"<28;
2-13894411-10
What is the total failures of heliocentric orbit orbital regimes and launches less than 1?
CREATE TABLE "by_orbit" ( "orbital_regime" text, "launches" real, "successes" real, "failures" real, "accidentally_achieved" real );
SELECT SUM("failures") FROM "by_orbit" WHERE "orbital_regime"='heliocentric orbit' AND "launches"<1;
2-13894411-10
What was the rank of tris speaker when BB/SO was 7?
CREATE TABLE "see_also" ( "rank" real, "player" text, "team" text, "year" real, "bb_so" real );
SELECT "rank" FROM "see_also" WHERE "player"='tris speaker' AND "bb_so"=7;
2-1398006-1
What is the average rank for team cle when the BB/SO is 10.89?
CREATE TABLE "see_also" ( "rank" real, "player" text, "team" text, "year" real, "bb_so" real );
SELECT AVG("rank") FROM "see_also" WHERE "team"='cle' AND "bb_so"=10.89;
2-1398006-1
What is the name of a partner that played on a hard surface on 18 April 2011?
CREATE TABLE "futures_titles" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text );
SELECT "partner" FROM "futures_titles" WHERE "surface"='hard' AND "date"='18 april 2011';
2-15162099-8
What was the score for the final played on 2 July 2012?
CREATE TABLE "futures_titles" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text );
SELECT "score" FROM "futures_titles" WHERE "date"='2 july 2012';
2-15162099-8
What was the Score on February 18, 2008?
CREATE TABLE "doubles_15_10_5" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text );
SELECT "score" FROM "doubles_15_10_5" WHERE "date"='february 18, 2008';
2-13930679-3
What was the Opponent on the game played on a Hard Surface with a Score of 3–6, 6–3, [7–10]?
CREATE TABLE "doubles_15_10_5" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text );
SELECT "opponent_in_the_final" FROM "doubles_15_10_5" WHERE "surface"='hard' AND "score"='3–6, 6–3, [7–10]';
2-13930679-3
On what Surface was the game with Partner David Martin played Scoring 4–6, 6–7 (4-7)?
CREATE TABLE "doubles_15_10_5" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text );
SELECT "surface" FROM "doubles_15_10_5" WHERE "partner"='david martin' AND "score"='4–6, 6–7 (4-7)';
2-13930679-3
What was the Outcome of the game with a Score of 3–6, 4–6?
CREATE TABLE "doubles_15_10_5" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text );
SELECT "outcome" FROM "doubles_15_10_5" WHERE "score"='3–6, 4–6';
2-13930679-3
What was the Partner on June 17, 2012?
CREATE TABLE "doubles_15_10_5" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text );
SELECT "partner" FROM "doubles_15_10_5" WHERE "date"='june 17, 2012';
2-13930679-3
What record has Glenn Robinson (16) as the leading scorer?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text );
SELECT "record" FROM "april" WHERE "leading_scorer"='glenn robinson (16)';
2-13759275-8
What date has 136-134 as the score?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text );
SELECT "date" FROM "april" WHERE "score"='136-134';
2-13759275-8
What home has 136-134 as the score?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text );
SELECT "home" FROM "april" WHERE "score"='136-134';
2-13759275-8
What is the most recent year that China won a bronze?
CREATE TABLE "team" ( "year" real, "location" text, "gold" text, "silver" text, "bronze" text );
SELECT MAX("year") FROM "team" WHERE "bronze"='china';
2-14662246-5
What is the oldest year that the location was at Guangzhou?
CREATE TABLE "team" ( "year" real, "location" text, "gold" text, "silver" text, "bronze" text );
SELECT MIN("year") FROM "team" WHERE "location"='guangzhou';
2-14662246-5
For how many years was the location at Beijing?
CREATE TABLE "team" ( "year" real, "location" text, "gold" text, "silver" text, "bronze" text );
SELECT SUM("year") FROM "team" WHERE "location"='beijing';
2-14662246-5