question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
At which track did the event Daytona Arca 200 take place?
CREATE TABLE "schedule_and_results" ( "date" text, "track" text, "event_name" text, "pole_winner" text, "race_winner" text );
SELECT "track" FROM "schedule_and_results" WHERE "event_name"='daytona arca 200';
2-10354017-1
At which event was Ken Schrader the Race Winner at the Toledo Speedway?
CREATE TABLE "schedule_and_results" ( "date" text, "track" text, "event_name" text, "pole_winner" text, "race_winner" text );
SELECT "event_name" FROM "schedule_and_results" WHERE "race_winner"='ken schrader' AND "track"='toledo speedway';
2-10354017-1
At which track was Frank Kimmel the Pole Winner of the Pennsylvania 200?
CREATE TABLE "schedule_and_results" ( "date" text, "track" text, "event_name" text, "pole_winner" text, "race_winner" text );
SELECT "track" FROM "schedule_and_results" WHERE "pole_winner"='frank kimmel' AND "event_name"='pennsylvania 200';
2-10354017-1
Steve Wallace was a Race Winner at the Kentucky Speedway on what date?
CREATE TABLE "schedule_and_results" ( "date" text, "track" text, "event_name" text, "pole_winner" text, "race_winner" text );
SELECT "date" FROM "schedule_and_results" WHERE "race_winner"='steve wallace' AND "track"='kentucky speedway';
2-10354017-1
What is the lowest number of silver owned by a nation that is not ranked number 1?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("silver") FROM "medal_table" WHERE "rank"<1;
2-1011383-2
What is Driver Kimi Räikkönen's number on the grid?
CREATE TABLE "qualifying" ( "pos" text, "driver" text, "constructor" text, "part_1" text, "grid" text );
SELECT "grid" FROM "qualifying" WHERE "driver"='kimi räikkönen';
2-10120514-1
Which driver had a Part 1 time of 1:13.306?
CREATE TABLE "qualifying" ( "pos" text, "driver" text, "constructor" text, "part_1" text, "grid" text );
SELECT "driver" FROM "qualifying" WHERE "part_1"='1:13.306';
2-10120514-1
What ride opened after 2011?
CREATE TABLE "current_roller_coasters" ( "current_name" text, "year_first_opened" real, "manufacturer" text, "location_in_park" text, "thrill_intensity_rating" text, "minimum_height_requirements" text );
SELECT "current_name" FROM "current_roller_coasters" WHERE "year_first_opened">2011;
2-1017230-2
Tell me the actor from russia for anastasiya slutskaya
CREATE TABLE "stozhary_2003_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "actor_s_name" FROM "stozhary_2003_prize_winners" WHERE "film_name"='anastasiya slutskaya' AND "country"='russia';
2-10236830-6
Rell mem the actor from ukraine for best actress in a leading role
CREATE TABLE "stozhary_2003_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "actor_s_name" FROM "stozhary_2003_prize_winners" WHERE "nomination"='best actress in a leading role' AND "country"='ukraine';
2-10236830-6
Tell me the director for the movie with svetlana zelenkovskaya
CREATE TABLE "stozhary_2003_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "director" FROM "stozhary_2003_prize_winners" WHERE "actor_s_name"='svetlana zelenkovskaya';
2-10236830-6
Tell me the actor's name for anastasiya slutskaya belarus
CREATE TABLE "stozhary_2003_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "actor_s_name" FROM "stozhary_2003_prize_winners" WHERE "film_name"='anastasiya slutskaya' AND "country"='belarus';
2-10236830-6
Tell me the nominator for piotr adamczyk
CREATE TABLE "stozhary_2003_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "nomination" FROM "stozhary_2003_prize_winners" WHERE "actor_s_name"='piotr adamczyk';
2-10236830-6
Which stadium can hold 63,443 people?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "attendance"='63,443';
2-10362209-2
Tell me the number of weeks for bye
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "start_time" text, "attendance" text );
SELECT COUNT("week") FROM "schedule" WHERE "date"='bye';
2-10312569-1
Tell me the number of weeks for december 5, 2005
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "start_time" text, "attendance" text );
SELECT COUNT("week") FROM "schedule" WHERE "date"='december 5, 2005';
2-10312569-1
Tell me the start time for december 24, 2005
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "start_time" text, "attendance" text );
SELECT "start_time" FROM "schedule" WHERE "date"='december 24, 2005';
2-10312569-1
Tell me the result for lincoln financial field december 11, 2005
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "start_time" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "venue"='lincoln financial field' AND "date"='december 11, 2005';
2-10312569-1
Tell me the total number of years for wins less than 2 and class of 50cc with points of 15
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT COUNT("year") FROM "motorcycle_grand_prix_results" WHERE "wins"<2 AND "class"='50cc' AND "points"=15;
2-10346040-2
Tell me the year for class of 125cc
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT "year" FROM "motorcycle_grand_prix_results" WHERE "class"='125cc';
2-10346040-2
Tell me the average wins for class of 50cc and rank of 8th
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT AVG("wins") FROM "motorcycle_grand_prix_results" WHERE "class"='50cc' AND "rank"='8th';
2-10346040-2
Tell me the lowest wins for class of 50cc and team of tomos for year less than 1969
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT MIN("wins") FROM "motorcycle_grand_prix_results" WHERE "class"='50cc' AND "team"='tomos' AND "year"<1969;
2-10346040-2
Which country has the highest bronze amount and a silver amount bigger than 41?
CREATE TABLE "medal_table" ( "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("bronze") FROM "medal_table" WHERE "silver">41;
2-10275106-3
What is the lowest amount of medals Russia has if they have more than 2 silver medals and less than 4 gold medals?
CREATE TABLE "medal_table" ( "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("total") FROM "medal_table" WHERE "silver">2 AND "nation"='russia' AND "gold"<4;
2-10275106-3
How many points did the 2005 1st place team receive?
CREATE TABLE "cart_champ_car" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" text );
SELECT "points" FROM "cart_champ_car" WHERE "year"=2005;
2-1019053-2
What engine was used by the teams that used a Lola b02/00 chassis and ranked 1st?
CREATE TABLE "cart_champ_car" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" text );
SELECT "engine" FROM "cart_champ_car" WHERE "chassis"='lola b02/00' AND "rank"='1st';
2-1019053-2
How many years did Team Newman/Haas Racing receive a 1st place ranking?
CREATE TABLE "cart_champ_car" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" text );
SELECT COUNT("year") FROM "cart_champ_car" WHERE "team"='newman/haas racing' AND "rank"='1st';
2-1019053-2
What is the aggregate of place for points being 35?
CREATE TABLE "national_final" ( "draw" real, "artist" text, "song" text, "place" real, "points" real );
SELECT SUM("place") FROM "national_final" WHERE "points"=35;
2-10128185-1
Name the fewest points of 5 place
CREATE TABLE "national_final" ( "draw" real, "artist" text, "song" text, "place" real, "points" real );
SELECT MIN("points") FROM "national_final" WHERE "place"=5;
2-10128185-1
Name the total number of places for vicky gordon and points more than 23
CREATE TABLE "national_final" ( "draw" real, "artist" text, "song" text, "place" real, "points" real );
SELECT COUNT("place") FROM "national_final" WHERE "artist"='vicky gordon' AND "points">23;
2-10128185-1
Tell me the opponent for attendance of 68,264
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "attendance"='68,264';
2-10362095-2
Tell me the sum of week for result of l 24–21
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT SUM("week") FROM "schedule" WHERE "result"='l 24–21';
2-10362095-2
Tell me the result for attendance of 54,462
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "attendance"='54,462';
2-10362095-2
Tell me the opponent for attendance of 53,899
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "attendance"='53,899';
2-10362095-2
What is the points that is more than 636 and has a value of 50?
CREATE TABLE "players" ( "nationality" text, "no_a" text, "pos_a" text, "from" text, "school_club" text, "pts_b" real, "reb_b" real, "ast_b" real );
SELECT "pts_b" FROM "players" WHERE "reb_b">636 AND "no_a"='50';
2-10015518-2
Which rebound was 8 and has and ast that was less than 57?
CREATE TABLE "players" ( "nationality" text, "no_a" text, "pos_a" text, "from" text, "school_club" text, "pts_b" real, "reb_b" real, "ast_b" real );
SELECT AVG("reb_b") FROM "players" WHERE "no_a"='8' AND "ast_b"<57;
2-10015518-2
Tell me the country for ICAO of tjig
CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "country" FROM "destinations" WHERE "icao"='tjig';
2-103422-2
Tell me the country for san juan
CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "country" FROM "destinations" WHERE "city"='san juan';
2-103422-2
Tell me the country for ICAO tjvq
CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "country" FROM "destinations" WHERE "icao"='tjvq';
2-103422-2
Tell me the iata for icao of tjrv
CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "iata" FROM "destinations" WHERE "icao"='tjrv';
2-103422-2
Tell me the icao of isla grande
CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "icao" FROM "destinations" WHERE "city"='isla grande';
2-103422-2
What position does the Colorado Rapids pick after 15 play?
CREATE TABLE "round_two" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT "position" FROM "round_two" WHERE "mls_team"='colorado rapids' AND "pick_num">15;
2-1004125-2
I want to know the events for 106 bands
CREATE TABLE "2000_s" ( "year" real, "date" text, "event" text, "days" text, "stages" text, "acts" text );
SELECT "event" FROM "2000_s" WHERE "acts"='106 bands';
2-10311801-3
Tell me the Actor's name for film name of sara
CREATE TABLE "stozhary_99_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "actor_s_name" FROM "stozhary_99_prize_winners" WHERE "film_name"='sara';
2-10236830-4
Tell me the nomination for ukraine
CREATE TABLE "stozhary_99_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "nomination" FROM "stozhary_99_prize_winners" WHERE "country"='ukraine';
2-10236830-4
Tell me the actors name for barhanov and his bodyguard
CREATE TABLE "stozhary_99_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "actor_s_name" FROM "stozhary_99_prize_winners" WHERE "film_name"='barhanov and his bodyguard';
2-10236830-4
Tell me the actors name for goran paskaljevic
CREATE TABLE "stozhary_99_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "actor_s_name" FROM "stozhary_99_prize_winners" WHERE "director"='goran paskaljevic';
2-10236830-4
Tell me the nomination for goran paskaljevic
CREATE TABLE "stozhary_99_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "nomination" FROM "stozhary_99_prize_winners" WHERE "director"='goran paskaljevic';
2-10236830-4
In what year did Stephan Wojcikiewicz play men's single and Anna Rice play women's single?
CREATE TABLE "individual" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "year" FROM "individual" WHERE "men_s_singles"='stephan wojcikiewicz' AND "women_s_singles"='anna rice';
2-10369628-2
Who played men's doubles in 2012?
CREATE TABLE "individual" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "men_s_doubles" FROM "individual" WHERE "year"='2012';
2-10369628-2
Which FA Cup apps has league goals of 1 with total goals less than 1?
CREATE TABLE "barnsley" ( "division" text, "league_apps" real, "league_goals" real, "fa_cup_apps" real, "fa_cup_goals" real, "total_apps" real, "total_goals" real );
SELECT AVG("fa_cup_apps") FROM "barnsley" WHERE "league_goals"=1 AND "total_goals"<1;
2-10240125-1
What is the highest apps total with FA cup apps of 26 with total number of goals larger than 9?
CREATE TABLE "barnsley" ( "division" text, "league_apps" real, "league_goals" real, "fa_cup_apps" real, "fa_cup_goals" real, "total_apps" real, "total_goals" real );
SELECT MAX("total_apps") FROM "barnsley" WHERE "fa_cup_apps"=26 AND "total_goals">9;
2-10240125-1
Which league goals has FA cup apps of 2?
CREATE TABLE "barnsley" ( "division" text, "league_apps" real, "league_goals" real, "fa_cup_apps" real, "fa_cup_goals" real, "total_apps" real, "total_goals" real );
SELECT "league_goals" FROM "barnsley" WHERE "fa_cup_apps"=2;
2-10240125-1
What FA cup apps has a total larger than 12 and league apps larger than 38, and FA Cup goals larger than 1?
CREATE TABLE "barnsley" ( "division" text, "league_apps" real, "league_goals" real, "fa_cup_apps" real, "fa_cup_goals" real, "total_apps" real, "total_goals" real );
SELECT COUNT("fa_cup_apps") FROM "barnsley" WHERE "total_apps">12 AND "league_apps">38 AND "fa_cup_goals">1;
2-10240125-1
What was the total attendance on December 14, 1975 after week 13?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT COUNT("attendance") FROM "schedule" WHERE "date"='december 14, 1975' AND "week">13;
2-10361480-2
What is the sum of all totals with a rank greater than 6, gold greater than 0, and silver greater than 2?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("total") FROM "medal_table" WHERE "rank">6 AND "gold">0 AND "silver"=2;
2-1011065-3
How many values for silver occur when gold is less than 1, the rank is 13, and bronze is greater than 2?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("silver") FROM "medal_table" WHERE "gold"<1 AND "rank"=13 AND "bronze">2;
2-1011065-3
What is the average value of Bronze when silver is 0 and the total is less than 1?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("bronze") FROM "medal_table" WHERE "silver"=0 AND "total"<1;
2-1011065-3
What is the lowest value for bronze with a total of 3 and a value for silver greater than 1 while the value of gold is smaller than 1?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("bronze") FROM "medal_table" WHERE "total"=3 AND "silver">1 AND "gold"<1;
2-1011065-3
How man values for bronze occur when gold is less than 1, rank is greater than 15, and total is greater than 1?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("bronze") FROM "medal_table" WHERE "gold"<1 AND "rank">15 AND "total">1;
2-1011065-3
Name the position of pick 234
CREATE TABLE "round_nine" ( "pick" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "position" FROM "round_nine" WHERE "pick"='234';
2-1013129-9
Name the team of vitali yeremeyev
CREATE TABLE "round_nine" ( "pick" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nhl_team" FROM "round_nine" WHERE "player"='vitali yeremeyev';
2-1013129-9
Tell me the result for 2007-09-29
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "date"='2007-09-29';
2-10261025-1
How many weeks have an attendance of 64,116?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" text );
SELECT COUNT("week") FROM "schedule" WHERE "attendance"='64,116';
2-10360945-2
Which date has a week larger than 14?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "week">14;
2-10360945-2
Which venue has a week smaller than 2?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" text );
SELECT "venue" FROM "schedule" WHERE "week"<2;
2-10360945-2
When was the Metallica: Escape from the Studio show?
CREATE TABLE "1990s" ( "year" real, "date" text, "event" text, "days" text, "stages" text, "acts" text );
SELECT "date" FROM "1990s" WHERE "event"='metallica: escape from the studio';
2-10311801-2
When is the Monsters of Rock show with 12 bands?
CREATE TABLE "1990s" ( "year" real, "date" text, "event" text, "days" text, "stages" text, "acts" text );
SELECT "date" FROM "1990s" WHERE "event"='monsters of rock' AND "acts"='12 bands';
2-10311801-2
Tell me the result for 15 july
CREATE TABLE "2000_2009" ( "year" real, "competition" text, "date" text, "surface" text, "location" text, "score" text, "result" text );
SELECT "result" FROM "2000_2009" WHERE "date"='15 july';
2-10295599-4
Tell me the number range for 1965-66
CREATE TABLE "fleet_details" ( "class" text, "type" text, "no_built_converted" text, "year_built_converted" text, "no_range" text, "withdrawn" real );
SELECT "no_range" FROM "fleet_details" WHERE "year_built_converted"='1965-66';
2-1028147-6
Tell me the year built for withdrawn of 1983
CREATE TABLE "fleet_details" ( "class" text, "type" text, "no_built_converted" text, "year_built_converted" text, "no_range" text, "withdrawn" real );
SELECT "year_built_converted" FROM "fleet_details" WHERE "withdrawn"=1983;
2-1028147-6
Tell me the year built for number built of 10
CREATE TABLE "fleet_details" ( "class" text, "type" text, "no_built_converted" text, "year_built_converted" text, "no_range" text, "withdrawn" real );
SELECT "year_built_converted" FROM "fleet_details" WHERE "no_built_converted"='10';
2-1028147-6
Tell me the result for 2008-12-23
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "date"='2008-12-23';
2-10258550-1
Tell me the director nominated for best actor in a leading role
CREATE TABLE "stozhary_2005_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "director" FROM "stozhary_2005_prize_winners" WHERE "nomination"='best actor in a leading role';
2-10236830-8
Tell me the nomination for peresohla zemlia
CREATE TABLE "stozhary_2005_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "nomination" FROM "stozhary_2005_prize_winners" WHERE "film_name"='peresohla zemlia';
2-10236830-8
Tell me the nomination for russia and svetlana hodchenkova
CREATE TABLE "stozhary_2005_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "nomination" FROM "stozhary_2005_prize_winners" WHERE "country"='russia' AND "actor_s_name"='svetlana hodchenkova';
2-10236830-8
Tell me the actor's name for nienasycenie (insatiability)
CREATE TABLE "stozhary_2005_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "actor_s_name" FROM "stozhary_2005_prize_winners" WHERE "film_name"='nienasycenie (insatiability)';
2-10236830-8
Tell me the actor's name for escho raz o voyne
CREATE TABLE "stozhary_2005_prize_winners" ( "nomination" text, "actor_s_name" text, "film_name" text, "director" text, "country" text );
SELECT "actor_s_name" FROM "stozhary_2005_prize_winners" WHERE "film_name"='escho raz o voyne';
2-10236830-8
What are the average laps driven in the GT class?
CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text );
SELECT AVG("laps") FROM "24_hours_of_le_mans_results" WHERE "class"='gt';
2-10251937-1
What classes have driven greater than 133 laps, placed above 18th position and have a class position of 1st?
CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text );
SELECT "class" FROM "24_hours_of_le_mans_results" WHERE "laps">133 AND "pos"='18th' AND "class_pos"='1st';
2-10251937-1
I want the tsongas of may 22, 2007
CREATE TABLE "democratic_primary" ( "source" text, "date" text, "donoghue_d" text, "eldridge_d" text, "finegold_d" text, "miceli_d" text, "tsongas_d" text );
SELECT "tsongas_d" FROM "democratic_primary" WHERE "date"='may 22, 2007';
2-10073937-1
Tell me the venue for winner of nevada and year more than 2004
CREATE TABLE "wac_men_s_basketball_tournament_results" ( "year" real, "winner" text, "score" text, "opponent" text, "venue" text );
SELECT "venue" FROM "wac_men_s_basketball_tournament_results" WHERE "winner"='nevada' AND "year">2004;
2-10326675-1
What date is the 1:00 pm game at arrowhead stadium?
CREATE TABLE "regular_season_schedule" ( "week" real, "date" text, "opponent" text, "time_et" text, "game_site" text, "final_score" text );
SELECT "date" FROM "regular_season_schedule" WHERE "time_et"='1:00 pm' AND "game_site"='arrowhead stadium';
2-10150210-5
Where will the game at (ET) of 7:00 pm be at?
CREATE TABLE "regular_season_schedule" ( "week" real, "date" text, "opponent" text, "time_et" text, "game_site" text, "final_score" text );
SELECT "game_site" FROM "regular_season_schedule" WHERE "time_et"='7:00 pm';
2-10150210-5
Who is the Driver that has a Laps smaller than 498, less than 58 points, a car number bigger than 22 and who has won $93,514?
CREATE TABLE "race_results" ( "driver" text, "car_num" real, "make" text, "points" real, "laps" real, "winnings" text );
SELECT "driver" FROM "race_results" WHERE "laps"<498 AND "points"<58 AND "car_num">22 AND "winnings"='$93,514';
2-10090488-1
At what location was there a loss on 20 jan?
CREATE TABLE "2000s" ( "year" real, "competition" text, "date" text, "location" text, "score" text, "result" text );
SELECT "location" FROM "2000s" WHERE "result"='loss' AND "date"='20 jan';
2-10153880-4
Tell me the venue for record of 2-7
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real, "record" text );
SELECT "venue" FROM "schedule" WHERE "record"='2-7';
2-10360730-2
Tell me the result for green bay packers
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real, "record" text );
SELECT "result" FROM "schedule" WHERE "opponent"='green bay packers';
2-10360730-2
Tell mem the opponent for result of w 31-21
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real, "record" text );
SELECT "opponent" FROM "schedule" WHERE "result"='w 31-21';
2-10360730-2
What is the average speed of rider Peter Williams?
CREATE TABLE "1970_isle_of_man_production_750_cc_tt_fi" ( "rank" real, "rider" text, "team" text, "speed" text, "time" text );
SELECT "speed" FROM "1970_isle_of_man_production_750_cc_tt_fi" WHERE "rider"='peter williams';
2-10301911-1
What is the time/s of team Triumph in those races in which Triumph ranked higher than 4?
CREATE TABLE "1970_isle_of_man_production_750_cc_tt_fi" ( "rank" real, "rider" text, "team" text, "speed" text, "time" text );
SELECT "time" FROM "1970_isle_of_man_production_750_cc_tt_fi" WHERE "team"='triumph' AND "rank"<4;
2-10301911-1
What was the score in 1969?
CREATE TABLE "history" ( "year" text, "zone" text, "final_round" text, "score" text, "result" text );
SELECT "score" FROM "history" WHERE "year"='1969';
2-10101099-1
In 1975, what was the final round?
CREATE TABLE "history" ( "year" text, "zone" text, "final_round" text, "score" text, "result" text );
SELECT "final_round" FROM "history" WHERE "year"='1975';
2-10101099-1
Where did someone run a 61:32
CREATE TABLE "men" ( "time" text, "name" text, "nationality" text, "date" text, "event_place" text, "source" text );
SELECT "event_place" FROM "men" WHERE "time"='61:32';
2-1019031-1
What was Derek Graham's time?
CREATE TABLE "men" ( "time" text, "name" text, "nationality" text, "date" text, "event_place" text, "source" text );
SELECT "time" FROM "men" WHERE "name"='derek graham';
2-1019031-1
Where did someone run a 58:33?
CREATE TABLE "men" ( "time" text, "name" text, "nationality" text, "date" text, "event_place" text, "source" text );
SELECT "event_place" FROM "men" WHERE "time"='58:33';
2-1019031-1
Tell me the player for pick number less than 29 and mls team of chicago fire
CREATE TABLE "round_three" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT "player" FROM "round_three" WHERE "pick_num"<29 AND "mls_team"='chicago fire';
2-1026919-3
Tell me the opponents for partner of yvonne meusburger
CREATE TABLE "doubles_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "opponents" FROM "doubles_2_4" WHERE "partner"='yvonne meusburger';
2-10168055-6
Tell me the date for opponents of raffaella bindi biljana pawlowa-dimitrova
CREATE TABLE "doubles_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "date" FROM "doubles_2_4" WHERE "opponents"='raffaella bindi biljana pawlowa-dimitrova';
2-10168055-6
Tell me the highest time for heat rank of 8 and lane more than 2
CREATE TABLE "heats" ( "heat_rank" real, "lane" real, "swimmer" text, "country" text, "time" real, "overall_rank" text );
SELECT MAX("time") FROM "heats" WHERE "heat_rank"=8 AND "lane">2;
2-10289926-17