question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which DOB has Bats of s, and a Position of inf?
CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "bats" text, "throws" text, "position" text );
SELECT "d_o_b" FROM "player_roster" WHERE "bats"='s' AND "position"='inf';
2-15273269-3
What is the Lap Length of the race with a Grand Prix Fia Category?
CREATE TABLE "geneva_race_track_switzerland" ( "date" text, "race" text, "race_track" text, "category" text, "lap_length" text );
SELECT "lap_length" FROM "geneva_race_track_switzerland" WHERE "category"='grand prix fia';
2-15179545-1
What is the Race on July 30, 1950 with a Formula 2 Fia, non-championship?
CREATE TABLE "geneva_race_track_switzerland" ( "date" text, "race" text, "race_track" text, "category" text, "lap_length" text );
SELECT "race" FROM "geneva_race_track_switzerland" WHERE "category"='formula 2 fia, non-championship' AND "date"='july 30, 1950';
2-15179545-1
What was his record when the match went for 3:05?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "time"='3:05';
2-13620593-2
How many rounds did the match go for the Bellator 72 event?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT SUM("round") FROM "mixed_martial_arts_record" WHERE "event"='bellator 72';
2-13620593-2
What is the rating that has live viewers over 3.06 and DVR viewers of 5.36?
CREATE TABLE "ratings" ( "air_date" text, "rating" real, "share" real, "18_49" text, "viewers_live_m" real, "viewers_dvr_7_m" text );
SELECT "rating" FROM "ratings" WHERE "viewers_live_m">3.06 AND "viewers_dvr_7_m"='5.36';
2-15149563-12
What is the sum of the live viewers for episodes with share over 5?
CREATE TABLE "ratings" ( "air_date" text, "rating" real, "share" real, "18_49" text, "viewers_live_m" real, "viewers_dvr_7_m" text );
SELECT SUM("viewers_live_m") FROM "ratings" WHERE "share">5;
2-15149563-12
What is the sum of the ratings for episodes with live viewers of 2.96?
CREATE TABLE "ratings" ( "air_date" text, "rating" real, "share" real, "18_49" text, "viewers_live_m" real, "viewers_dvr_7_m" text );
SELECT SUM("rating") FROM "ratings" WHERE "viewers_live_m"=2.96;
2-15149563-12
Which Callsign includes a frequency under 1210, Newsradio 740 KTRH, and webcasts with listen live?
CREATE TABLE "long_range_am_stations" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "website" text, "webcast" text );
SELECT "callsign" FROM "long_range_am_stations" WHERE "webcast"='listen live' AND "frequency"<1210 AND "brand"='newsradio 740 ktrh';
2-136773-10
Which website includes a webcast of listen live, a frequency under 1050, and is licensed in the city of Monterrey?
CREATE TABLE "long_range_am_stations" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "website" text, "webcast" text );
SELECT "website" FROM "long_range_am_stations" WHERE "city_of_license"='monterrey' AND "webcast"='listen live' AND "frequency"<1050;
2-136773-10
The KTRH.com website includes which type of webcast?
CREATE TABLE "long_range_am_stations" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "website" text, "webcast" text );
SELECT "webcast" FROM "long_range_am_stations" WHERE "website"='ktrh.com';
2-136773-10
Which website includes a webcast of listen live, a frequency under 680, and was licensed in the city of San Antonio.
CREATE TABLE "long_range_am_stations" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "website" text, "webcast" text );
SELECT "website" FROM "long_range_am_stations" WHERE "city_of_license"='san antonio' AND "webcast"='listen live' AND "frequency"=680;
2-136773-10
Which long range AM station has the lowest frequency and includes a webcast of listen live, was licensed in the city of Monterrey, and uses the Callsign of xet?
CREATE TABLE "long_range_am_stations" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "website" text, "webcast" text );
SELECT MIN("frequency") FROM "long_range_am_stations" WHERE "webcast"='listen live' AND "city_of_license"='monterrey' AND "callsign"='xet';
2-136773-10
Which Games is the highest one that has a Drawn smaller than 0?
CREATE TABLE "group_1" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT MAX("games") FROM "group_1" WHERE "drawn"<0;
2-14077084-9
What is the score for game 6?
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 "game"=6;
2-13619027-5
Which Position in 2000 has a Capacity larger than 10,080, and a Venue of central, rechytsa?
CREATE TABLE "teams_and_venues" ( "team" text, "location" text, "venue" text, "capacity" real, "position_in_2000" text );
SELECT "position_in_2000" FROM "teams_and_venues" WHERE "capacity">'10,080' AND "venue"='central, rechytsa';
2-14747610-1
Which Capacity has a Location of mogilev?
CREATE TABLE "teams_and_venues" ( "team" text, "location" text, "venue" text, "capacity" real, "position_in_2000" text );
SELECT SUM("capacity") FROM "teams_and_venues" WHERE "location"='mogilev';
2-14747610-1
What was the District of California 2 result?
CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text );
SELECT "result" FROM "california" WHERE "district"='california 2';
2-1365780-4
What was the district Incumbent Julius Kahn was in that was smaller than 1906?
CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text );
SELECT "district" FROM "california" WHERE "first_elected"<1906 AND "incumbent"='julius kahn';
2-1365780-4
What was the lowest re-elected result for Sylvester C. Smith?
CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text );
SELECT MIN("first_elected") FROM "california" WHERE "result"='re-elected' AND "incumbent"='sylvester c. smith';
2-1365780-4
What was the result for Julius Kahn's first election of 1898?
CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text );
SELECT "result" FROM "california" WHERE "first_elected"=1898 AND "incumbent"='julius kahn';
2-1365780-4
Which party had a result of retired democratic hold and a first elected earlier than 1884 with an incumbent of samuel dibble?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text );
SELECT "party" FROM "south_carolina" WHERE "result"='retired democratic hold' AND "first_elected"<1884 AND "incumbent"='samuel dibble';
2-1431450-5
Which district had a first elected in 1882 with a result of re-elected?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text );
SELECT "district" FROM "south_carolina" WHERE "first_elected"=1882 AND "result"='re-elected';
2-1431450-5
Which Average is the lowest one that has a Total smaller than 134, and a Number of dances smaller than 3, and a Rank by average smaller than 12?
CREATE TABLE "average_chart" ( "rank_by_average" real, "place" real, "couple" text, "total" real, "number_of_dances" real, "average" real );
SELECT MIN("average") FROM "average_chart" WHERE "total"<134 AND "number_of_dances"<3 AND "rank_by_average"<12;
2-15116785-3
Which Couple has a Rank by average larger than 3, and an Average larger than 16.5, and a Total smaller than 195, and a Number of dances larger than 3?
CREATE TABLE "average_chart" ( "rank_by_average" real, "place" real, "couple" text, "total" real, "number_of_dances" real, "average" real );
SELECT "couple" FROM "average_chart" WHERE "rank_by_average">3 AND "average">16.5 AND "total"<195 AND "number_of_dances">3;
2-15116785-3
Which Rank by average is the lowest one that has a Total of 425, and a Place larger than 1?
CREATE TABLE "average_chart" ( "rank_by_average" real, "place" real, "couple" text, "total" real, "number_of_dances" real, "average" real );
SELECT MIN("rank_by_average") FROM "average_chart" WHERE "total"=425 AND "place">1;
2-15116785-3
What nation are carolina hermann / daniel hermann from?
CREATE TABLE "ice_dancing" ( "rank" real, "name" text, "club" text, "nation" text, "points" real );
SELECT "nation" FROM "ice_dancing" WHERE "name"='carolina hermann / daniel hermann';
2-14959598-9
What is the rank associated with 141.48 points?
CREATE TABLE "ice_dancing" ( "rank" real, "name" text, "club" text, "nation" text, "points" real );
SELECT "rank" FROM "ice_dancing" WHERE "points"=141.48;
2-14959598-9
What competitors are scored 124.51 points?
CREATE TABLE "ice_dancing" ( "rank" real, "name" text, "club" text, "nation" text, "points" real );
SELECT "name" FROM "ice_dancing" WHERE "points"=124.51;
2-14959598-9
At what percent was Pat Robertson when George H.W. Bush had 76%?
CREATE TABLE "statewide" ( "date" text, "state" text, "george_h_w_bush" text, "bob_dole" text, "pat_robertson" text, "jack_kemp" text, "pete_du_pont" text );
SELECT "pat_robertson" FROM "statewide" WHERE "george_h_w_bush"='76%';
2-15016509-1
When George H.W. Bush had 81%, and Pat Robertson had 9%, what did Bob Dole have?
CREATE TABLE "statewide" ( "date" text, "state" text, "george_h_w_bush" text, "bob_dole" text, "pat_robertson" text, "jack_kemp" text, "pete_du_pont" text );
SELECT "bob_dole" FROM "statewide" WHERE "george_h_w_bush"='81%' AND "pat_robertson"='9%';
2-15016509-1
When Pat Robertson was at 16%, what did Pete du Pont have?
CREATE TABLE "statewide" ( "date" text, "state" text, "george_h_w_bush" text, "bob_dole" text, "pat_robertson" text, "jack_kemp" text, "pete_du_pont" text );
SELECT "pete_du_pont" FROM "statewide" WHERE "pat_robertson"='16%';
2-15016509-1
When Bob Dole had 26%, and George H.W. Bush had 47%, what did Pat Robertson have?
CREATE TABLE "statewide" ( "date" text, "state" text, "george_h_w_bush" text, "bob_dole" text, "pat_robertson" text, "jack_kemp" text, "pete_du_pont" text );
SELECT "pat_robertson" FROM "statewide" WHERE "bob_dole"='26%' AND "george_h_w_bush"='47%';
2-15016509-1
When Bob Dole had 26%, and Pete du Pont had 0%, what did Pat Robertson have?
CREATE TABLE "statewide" ( "date" text, "state" text, "george_h_w_bush" text, "bob_dole" text, "pat_robertson" text, "jack_kemp" text, "pete_du_pont" text );
SELECT "pat_robertson" FROM "statewide" WHERE "bob_dole"='26%' AND "pete_du_pont"='0%';
2-15016509-1
When Pat Robertson had 19%, and Bob Dole had 26%, what did George H.W. Bush have?
CREATE TABLE "statewide" ( "date" text, "state" text, "george_h_w_bush" text, "bob_dole" text, "pat_robertson" text, "jack_kemp" text, "pete_du_pont" text );
SELECT "george_h_w_bush" FROM "statewide" WHERE "pat_robertson"='19%' AND "bob_dole"='26%';
2-15016509-1
Attendance larger than 45,710, and a Venue of metropolitan stadium had what highest week?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real );
SELECT MAX("week") FROM "schedule" WHERE "attendance">'45,710' AND "venue"='metropolitan stadium';
2-14887333-1
Date of october 10, 1965 had what lowest attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real );
SELECT MIN("attendance") FROM "schedule" WHERE "date"='october 10, 1965';
2-14887333-1
Opponent of chicago bears involved what date?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real );
SELECT "date" FROM "schedule" WHERE "opponent"='chicago bears';
2-14887333-1
Performer 2 of compilation 2 is what performer 1?
CREATE TABLE "series_7" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text );
SELECT "performer_1" FROM "series_7" WHERE "performer_2"='compilation 2';
2-14934885-8
Performer 1 of greg proops, and a Date of 25 august 1995 is what performer 4?
CREATE TABLE "series_7" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text );
SELECT "performer_4" FROM "series_7" WHERE "performer_1"='greg proops' AND "date"='25 august 1995';
2-14934885-8
Performer 1 of greg proops, and a Performer 3 of ryan stiles, and a Date of 25 august 1995 is which average episode?
CREATE TABLE "series_7" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text );
SELECT AVG("episode") FROM "series_7" WHERE "performer_1"='greg proops' AND "performer_3"='ryan stiles' AND "date"='25 august 1995';
2-14934885-8
Performer 1 of Stephen Frost, and a Performer 2 of Josie Lawrence, and a Date of 15 September 1995 is what performer 3?
CREATE TABLE "series_7" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text );
SELECT "performer_3" FROM "series_7" WHERE "performer_1"='stephen frost' AND "performer_2"='josie lawrence' AND "date"='15 september 1995';
2-14934885-8
WHich Mountains classification has an Asian team classification of seoul cycling team, and a Winner of alexandre usov?
CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text, "team_classification" text, "asian_team_classification" text );
SELECT "mountains_classification" FROM "classification_leadership" WHERE "asian_team_classification"='seoul cycling team' AND "winner"='alexandre usov';
2-14780022-2
WHo is the Asian rider classification that has ruslan ivanov on the Stage of 9?
CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text, "team_classification" text, "asian_team_classification" text );
SELECT "asian_rider_classification" FROM "classification_leadership" WHERE "general_classification"='ruslan ivanov' AND "stage"='9';
2-14780022-2
WHich General classification has an Asian rider classification of shinichi fukushima, and a Winner of jeremy hunt?
CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text, "team_classification" text, "asian_team_classification" text );
SELECT "general_classification" FROM "classification_leadership" WHERE "asian_rider_classification"='shinichi fukushima' AND "winner"='jeremy hunt';
2-14780022-2
Which Stage has a Mountains classification of filippo savini?
CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text, "team_classification" text, "asian_team_classification" text );
SELECT "stage" FROM "classification_leadership" WHERE "mountains_classification"='filippo savini';
2-14780022-2
Which Stage has a Winner of jeremy hunt?
CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text, "team_classification" text, "asian_team_classification" text );
SELECT "stage" FROM "classification_leadership" WHERE "winner"='jeremy hunt';
2-14780022-2
Which winning team has Iowa city as the site, and december 3, 2006 as the date?
CREATE TABLE "2006_2007" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text );
SELECT "winning_team" FROM "2006_2007" WHERE "site"='iowa city' AND "date"='december 3, 2006';
2-14175075-4
What site has november 30, 2006 as the date?
CREATE TABLE "2006_2007" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text );
SELECT "site" FROM "2006_2007" WHERE "date"='november 30, 2006';
2-14175075-4
What winning team has volleyball as the sport?
CREATE TABLE "2006_2007" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text );
SELECT "winning_team" FROM "2006_2007" WHERE "sport"='volleyball';
2-14175075-4
What is the total number in January when the St. Louis Blues had a game smaller than 42?
CREATE TABLE "schedule_and_results" ( "game" real, "january" real, "opponent" text, "score" text, "record" text );
SELECT COUNT("january") FROM "schedule_and_results" WHERE "opponent"='st. louis blues' AND "game"<42;
2-14056076-5
What is the January sum with the record of 17-20-2 with a game smaller than 39?
CREATE TABLE "schedule_and_results" ( "game" real, "january" real, "opponent" text, "score" text, "record" text );
SELECT SUM("january") FROM "schedule_and_results" WHERE "record"='17-20-2' AND "game"<39;
2-14056076-5
What was the record when the New York Knicks played at the Boston Garden?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT "record" FROM "game_log" WHERE "location"='boston garden' AND "opponent"='new york knicks';
2-13821868-4
When the record was 7-2, what was the score for the game?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT "score" FROM "game_log" WHERE "record"='7-2';
2-13821868-4
On what date was the record 4-2?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='4-2';
2-13821868-4
Which Females Rank is the highest one that has Females (%) larger than 53, and an HIV awareness (males%) smaller than 89, and a State of odisha?
CREATE TABLE "references" ( "males_rank" real, "females_rank" real, "state" text, "hiv_awareness_malespct" real, "females_pct" real );
SELECT MAX("females_rank") FROM "references" WHERE "females_pct">53 AND "hiv_awareness_malespct"<89 AND "state"='odisha';
2-14768306-1
How many Females (%) have Females Rank smaller than 21, and a State of kerala, and Males Rank larger than 1?
CREATE TABLE "references" ( "males_rank" real, "females_rank" real, "state" text, "hiv_awareness_malespct" real, "females_pct" real );
SELECT COUNT("females_pct") FROM "references" WHERE "females_rank"<21 AND "state"='kerala' AND "males_rank">1;
2-14768306-1
How many Females (%) have a State of karnataka, and Males Rank larger than 16?
CREATE TABLE "references" ( "males_rank" real, "females_rank" real, "state" text, "hiv_awareness_malespct" real, "females_pct" real );
SELECT COUNT("females_pct") FROM "references" WHERE "state"='karnataka' AND "males_rank">16;
2-14768306-1
Which Males Rank is the highest one that has Females (%) smaller than 40, and Females Rank smaller than 22?
CREATE TABLE "references" ( "males_rank" real, "females_rank" real, "state" text, "hiv_awareness_malespct" real, "females_pct" real );
SELECT MAX("males_rank") FROM "references" WHERE "females_pct"<40 AND "females_rank"<22;
2-14768306-1
Which Females (%) has an HIV awareness (males%) larger than 92, and Females Rank larger than 2, and Males Rank smaller than 3?
CREATE TABLE "references" ( "males_rank" real, "females_rank" real, "state" text, "hiv_awareness_malespct" real, "females_pct" real );
SELECT SUM("females_pct") FROM "references" WHERE "hiv_awareness_malespct">92 AND "females_rank">2 AND "males_rank"<3;
2-14768306-1
League Cup smaller than 0 is what sum of the total?
CREATE TABLE "top_scorers" ( "name" text, "championship" real, "fa_cup" real, "league_cup" real, "total" real );
SELECT SUM("total") FROM "top_scorers" WHERE "league_cup"<0;
2-13650971-8
Championship larger than 3, and a FA Cup smaller than 3, and a Total smaller than 6 involves what highest league cup?
CREATE TABLE "top_scorers" ( "name" text, "championship" real, "fa_cup" real, "league_cup" real, "total" real );
SELECT MAX("league_cup") FROM "top_scorers" WHERE "championship">3 AND "fa_cup"<3 AND "total"<6;
2-13650971-8
Which Opponent has a Surface of hard on 28 august 1993?
CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "opponent" FROM "singles_5_4_1" WHERE "surface"='hard' AND "date"='28 august 1993';
2-15097334-2
WHICH Outcome IS ON 18 july 1993?
CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "outcome" FROM "singles_5_4_1" WHERE "date"='18 july 1993';
2-15097334-2
WHICH Outcome has aN Opponent of pascale paradis-mangon?
CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "outcome" FROM "singles_5_4_1" WHERE "opponent"='pascale paradis-mangon';
2-15097334-2
Which Score has aN Outcome of winner on 4 november 1990?
CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "score" FROM "singles_5_4_1" WHERE "outcome"='winner' AND "date"='4 november 1990';
2-15097334-2
Which Tournament has an Opponent of susan sloane?
CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_5_4_1" WHERE "opponent"='susan sloane';
2-15097334-2
Which Tournament has an Opponent of meike babel?
CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_5_4_1" WHERE "opponent"='meike babel';
2-15097334-2
Which Game has a November of 29?
CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT SUM("game") FROM "regular_season" WHERE "november"=29;
2-14347797-4
Which Points have a Record of 12–2–4–1, and a November larger than 22?
CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT AVG("points") FROM "regular_season" WHERE "record"='12–2–4–1' AND "november">22;
2-14347797-4
Which Record has a Game of 19?
CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "record" FROM "regular_season" WHERE "game"=19;
2-14347797-4
How many Novembers have a Game larger than 14, and an Opponent of minnesota wild?
CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT COUNT("november") FROM "regular_season" WHERE "game">14 AND "opponent"='minnesota wild';
2-14347797-4
Which November is the lowest one that has a Record of 12–2–4–1?
CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT MIN("november") FROM "regular_season" WHERE "record"='12–2–4–1';
2-14347797-4
What day has a record of 25–30–13 and less than 63 points?
CREATE TABLE "regular_season" ( "game" real, "march" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT AVG("march") FROM "regular_season" WHERE "record"='25–30–13' AND "points"<63;
2-14291300-7
Which opponent has 63 points?
CREATE TABLE "regular_season" ( "game" real, "march" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "opponent" FROM "regular_season" WHERE "points"=63;
2-14291300-7
Which Alpha contains ia64 with discontinued 3.5-3.8 4.1-4.7?
CREATE TABLE "architecture_support" ( "distribution" text, "x86_64" text, "ia64" text, "ppc64" text, "sparc32" text, "hppa" text, "mips" text, "s390" text, "s390x" text, "alpha" text, "m68k" text );
SELECT "alpha" FROM "architecture_support" WHERE "ia64"='discontinued 3.5-3.8 4.1-4.7';
2-1357052-3
Which s390x contains a yes ia64 and a no for alpha?
CREATE TABLE "architecture_support" ( "distribution" text, "x86_64" text, "ia64" text, "ppc64" text, "sparc32" text, "hppa" text, "mips" text, "s390" text, "s390x" text, "alpha" text, "m68k" text );
SELECT "s390x" FROM "architecture_support" WHERE "ia64"='yes' AND "alpha"='no';
2-1357052-3
Which hppa contains a ppc64 of yes 3+, no for mips and no for alpha?
CREATE TABLE "architecture_support" ( "distribution" text, "x86_64" text, "ia64" text, "ppc64" text, "sparc32" text, "hppa" text, "mips" text, "s390" text, "s390x" text, "alpha" text, "m68k" text );
SELECT "hppa" FROM "architecture_support" WHERE "mips"='no' AND "alpha"='no' AND "ppc64"='yes 3+';
2-1357052-3
Who is the runner-up of the season with Tanel Sokk as the finals MVP and Alar Varrak as the champion's coach?
CREATE TABLE "korvpalli_meistriliiga_finals" ( "season" text, "winner" text, "result" text, "runner_up" text, "1st_of_regular_season" text, "record" text, "champion_s_coach" text, "finals_mvp" text );
SELECT "runner_up" FROM "korvpalli_meistriliiga_finals" WHERE "finals_mvp"='tanel sokk' AND "champion_s_coach"='alar varrak';
2-14612844-4
Which 1991 has an A 1993 ?
CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text );
SELECT "1991" FROM "women_s_doubles_performance_timeline" WHERE "1993"='a';
2-14979526-9
Which 992 has a 1–2 of 1989 ?
CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text );
SELECT "1992" FROM "women_s_doubles_performance_timeline" WHERE "1989"='1–2';
2-14979526-9
WHICH 1990 has a 1993 of 1r?
CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text );
SELECT "1990" FROM "women_s_doubles_performance_timeline" WHERE "1993"='1r';
2-14979526-9
Which 1994 has a 1998 of 0–1?
CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text );
SELECT "1994" FROM "women_s_doubles_performance_timeline" WHERE "1998"='0–1';
2-14979526-9
Which 1995 has a 1993 of 3r?
CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text );
SELECT "1995" FROM "women_s_doubles_performance_timeline" WHERE "1993"='3r';
2-14979526-9
Which 1992 has a 1996 of sf and a 1993 of a?
CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text );
SELECT "1992" FROM "women_s_doubles_performance_timeline" WHERE "1996"='sf' AND "1993"='a';
2-14979526-9
Which school picked a back in round 16, after pick 89?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school" text );
SELECT "school" FROM "nfl_draft" WHERE "pick">89 AND "position"='back' AND "round"=16;
2-14887186-1
Who was the visitor in the game that had Ottawa as the home team?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" text, "record" text );
SELECT "visitor" FROM "regular_season" WHERE "home"='ottawa';
2-14159731-3
What was the score in the game where Carolina was the home team and Niittymaki received the decision?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" text, "record" text );
SELECT "score" FROM "regular_season" WHERE "decision"='niittymaki' AND "home"='carolina';
2-14159731-3
What was the date of the game that had a loss of Johnson (9-8)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "loss"='johnson (9-8)';
2-14255774-7
Who had a Run 1 smaller than 51.96, a Run 2 larger than 51.13, and a Run 3 of 52.53?
CREATE TABLE "men" ( "athlete" text, "country" text, "run_1" real, "run_2" real, "run_3" real );
SELECT "athlete" FROM "men" WHERE "run_1"<51.96 AND "run_2">51.13 AND "run_3"=52.53;
2-13581979-4
Who had a run 2 of 50.67?
CREATE TABLE "men" ( "athlete" text, "country" text, "run_1" real, "run_2" real, "run_3" real );
SELECT "athlete" FROM "men" WHERE "run_2"=50.67;
2-13581979-4
What was john farrow's run 2 associated with a run 1 of greater than 52.25?
CREATE TABLE "men" ( "athlete" text, "country" text, "run_1" real, "run_2" real, "run_3" real );
SELECT MAX("run_2") FROM "men" WHERE "run_1">52.25 AND "athlete"='john farrow';
2-13581979-4
What was the Score in the game against the Buffalo Sabres?
CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "score" FROM "regular_season" WHERE "opponent"='buffalo sabres';
2-14306821-3
Rank smaller than 4, and a Name of dalma iványi involved which lowest game?
CREATE TABLE "assists" ( "rank" real, "name" text, "team" text, "games" real, "assists" real );
SELECT MIN("games") FROM "assists" WHERE "rank"<4 AND "name"='dalma iványi';
2-14121260-9
Name of sue bird that involves what team?
CREATE TABLE "assists" ( "rank" real, "name" text, "team" text, "games" real, "assists" real );
SELECT "team" FROM "assists" WHERE "name"='sue bird';
2-14121260-9
Which episode was directed by Bob Anderson with a production code of KABF16 and a season before than 25?
CREATE TABLE "episodes" ( "episode" text, "season" real, "production_code" text, "original_air_date" text, "directed_by" text );
SELECT "episode" FROM "episodes" WHERE "season"<25 AND "directed_by"='bob anderson' AND "production_code"='kabf16';
2-14104750-1
Who was the director of the episode with a season after 8 and an episode of XVI?
CREATE TABLE "episodes" ( "episode" text, "season" real, "production_code" text, "original_air_date" text, "directed_by" text );
SELECT "directed_by" FROM "episodes" WHERE "season">8 AND "episode"='xvi';
2-14104750-1
Date of 7 september 1996 includes which highest rank athlete?
CREATE TABLE "top_5_jamaican_100_m_athletes_women" ( "rank" real, "time" real, "athlete" text, "nation" text, "date" text, "location" text );
SELECT MAX("rank") FROM "top_5_jamaican_100_m_athletes_women" WHERE "date"='7 september 1996';
2-15166232-1
Time of 10.82 has what location?
CREATE TABLE "top_5_jamaican_100_m_athletes_women" ( "rank" real, "time" real, "athlete" text, "nation" text, "date" text, "location" text );
SELECT "location" FROM "top_5_jamaican_100_m_athletes_women" WHERE "time"=10.82;
2-15166232-1
Date of 10 july 2009 includes what athlete?
CREATE TABLE "top_5_jamaican_100_m_athletes_women" ( "rank" real, "time" real, "athlete" text, "nation" text, "date" text, "location" text );
SELECT "athlete" FROM "top_5_jamaican_100_m_athletes_women" WHERE "date"='10 july 2009';
2-15166232-1