question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
In round 9 what was the nationality?
CREATE TABLE "draft_picks" ( "round" text, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "nationality" FROM "draft_picks" WHERE "round"='9';
2-14106667-14
In round 3 what was the position?
CREATE TABLE "draft_picks" ( "round" text, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "position" FROM "draft_picks" WHERE "round"='3';
2-14106667-14
Who has a nationality of Czech Republic and a position of right wing?
CREATE TABLE "draft_picks" ( "round" text, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "player" FROM "draft_picks" WHERE "position"='right wing' AND "nationality"='czech republic';
2-14106667-14
What is the highest winning pct from a team with wins less than 22, losses greater than 4, ties less than 2 and games started greater than 11?
CREATE TABLE "won_lost_records" ( "quarterback" text, "uniform_no_s" real, "games_started" real, "wins" real, "losses" real, "ties" real, "winning_pct" real );
SELECT MAX("winning_pct") FROM "won_lost_records" WHERE "losses">4 AND "ties"<2 AND "games_started">11 AND "wins"<22;
2-13932013-1
Gold that has a Rank of 6, and a Bronze larger than 0 had what total number of gold?
CREATE TABLE "titles_by_country" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("gold") FROM "titles_by_country" WHERE "rank"='6' AND "bronze">0;
2-14841421-2
Total of 5 had what bronze?
CREATE TABLE "titles_by_country" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "bronze" FROM "titles_by_country" WHERE "total"=5;
2-14841421-2
In which tournament did he place 20th?
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "event" text );
SELECT "tournament" FROM "achievements" WHERE "result"='20th';
2-15170292-1
What the result for the hypo-meeting tournament in 1994?
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "event" text );
SELECT "result" FROM "achievements" WHERE "year"=1994 AND "tournament"='hypo-meeting';
2-15170292-1
What was the result in 1995?
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "event" text );
SELECT "result" FROM "achievements" WHERE "year"=1995;
2-15170292-1
After March 19, what's the score of game 67?
CREATE TABLE "regular_season" ( "game" real, "march" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "score" FROM "regular_season" WHERE "march">19 AND "game"=67;
2-14344681-7
Who is the head linesman of the game on 1 February 2009?
CREATE TABLE "nfl_championships" ( "game" text, "date" text, "referee" text, "umpire" text, "head_linesman" text, "line_judge" text, "field_judge" text, "back_judge" text );
SELECT "head_linesman" FROM "nfl_championships" WHERE "date"='1 february 2009';
2-13602549-2
What is the date of the game where the line judge was Bob Beeks, the head linesman was Jerry Bergman, and Paul Baetz was the back judge?
CREATE TABLE "nfl_championships" ( "game" text, "date" text, "referee" text, "umpire" text, "head_linesman" text, "line_judge" text, "field_judge" text, "back_judge" text );
SELECT "date" FROM "nfl_championships" WHERE "line_judge"='bob beeks' AND "head_linesman"='jerry bergman' AND "back_judge"='paul baetz';
2-13602549-2
Which game was on 14 January 1973?
CREATE TABLE "nfl_championships" ( "game" text, "date" text, "referee" text, "umpire" text, "head_linesman" text, "line_judge" text, "field_judge" text, "back_judge" text );
SELECT "game" FROM "nfl_championships" WHERE "date"='14 january 1973';
2-13602549-2
Who was the line judge at the game where Scott Green was referee?
CREATE TABLE "nfl_championships" ( "game" text, "date" text, "referee" text, "umpire" text, "head_linesman" text, "line_judge" text, "field_judge" text, "back_judge" text );
SELECT "line_judge" FROM "nfl_championships" WHERE "referee"='scott green';
2-13602549-2
Who is the head linesman at game xxxv?
CREATE TABLE "nfl_championships" ( "game" text, "date" text, "referee" text, "umpire" text, "head_linesman" text, "line_judge" text, "field_judge" text, "back_judge" text );
SELECT "head_linesman" FROM "nfl_championships" WHERE "game"='xxxv';
2-13602549-2
What game had Al Jury as field judge?
CREATE TABLE "nfl_championships" ( "game" text, "date" text, "referee" text, "umpire" text, "head_linesman" text, "line_judge" text, "field_judge" text, "back_judge" text );
SELECT "game" FROM "nfl_championships" WHERE "field_judge"='al jury';
2-13602549-2
What's listed for Departure that has 1676 listed for the Kilometers?
CREATE TABLE "running_timetables" ( "station_code" text, "station" text, "arrival" text, "departure" text, "kilometers" real );
SELECT "departure" FROM "running_timetables" WHERE "kilometers"=1676;
2-14688744-1
What is the sum of Kilometers that has a Station Code of KGQ?
CREATE TABLE "running_timetables" ( "station_code" text, "station" text, "arrival" text, "departure" text, "kilometers" real );
SELECT COUNT("kilometers") FROM "running_timetables" WHERE "station_code"='kgq';
2-14688744-1
What's the Kilometers listed that also has the Station Code of Kuda?
CREATE TABLE "running_timetables" ( "station_code" text, "station" text, "arrival" text, "departure" text, "kilometers" real );
SELECT "kilometers" FROM "running_timetables" WHERE "station_code"='kuda';
2-14688744-1
What's listed for the Station Code that has the Arrival of 02:20?
CREATE TABLE "running_timetables" ( "station_code" text, "station" text, "arrival" text, "departure" text, "kilometers" real );
SELECT "station_code" FROM "running_timetables" WHERE "arrival"='02:20';
2-14688744-1
What is listede for Departure that also has a Station Code of CLT?
CREATE TABLE "running_timetables" ( "station_code" text, "station" text, "arrival" text, "departure" text, "kilometers" real );
SELECT "departure" FROM "running_timetables" WHERE "station_code"='clt';
2-14688744-1
What is the smallest area with 45 population?
CREATE TABLE "islands_under_square_miles_km" ( "island_s_name" text, "area_sq_mi" real, "area_km_2" real, "location" text, "population_2000" text );
SELECT MIN("area_km_2") FROM "islands_under_square_miles_km" WHERE "population_2000"='45';
2-13897690-3
What is the area located in Rhode Island with more than 38 sq mi area?
CREATE TABLE "islands_under_square_miles_km" ( "island_s_name" text, "area_sq_mi" real, "area_km_2" real, "location" text, "population_2000" text );
SELECT AVG("area_km_2") FROM "islands_under_square_miles_km" WHERE "location"='rhode island' AND "area_sq_mi">38;
2-13897690-3
What is the average area in New York that is larger than 55 sq mi?
CREATE TABLE "islands_under_square_miles_km" ( "island_s_name" text, "area_sq_mi" real, "area_km_2" real, "location" text, "population_2000" text );
SELECT AVG("area_km_2") FROM "islands_under_square_miles_km" WHERE "area_sq_mi">55 AND "location"='new york';
2-13897690-3
Which event was in Tokyo, Japan and had an opponent of rumina sato?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "location"='tokyo, japan' AND "opponent"='rumina sato';
2-1486444-3
Which round was 2:30?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text );
SELECT "round" FROM "mixed_martial_arts_record" WHERE "time"='2:30';
2-1486444-3
Which event had the opponent of shinya aoki and was at 4:56?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "opponent"='shinya aoki' AND "time"='4:56';
2-1486444-3
Which method did pride bushido 10 have ?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "event"='pride bushido 10';
2-1486444-3
Which 2008–09 has an Event of autumn gold?
CREATE TABLE "grand_slam_record" ( "event" text, "2006_07" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text, "2012_13" text );
SELECT "2008_09" FROM "grand_slam_record" WHERE "event"='autumn gold';
2-14230578-3
Which 2009–10 has a 2012–13 of r16?
CREATE TABLE "grand_slam_record" ( "event" text, "2006_07" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text, "2012_13" text );
SELECT "2009_10" FROM "grand_slam_record" WHERE "2012_13"='r16';
2-14230578-3
Which 2008–09 has a 2012–13 of q, and a 2006–07 of q, and a 2007–08 of qf?
CREATE TABLE "grand_slam_record" ( "event" text, "2006_07" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text, "2012_13" text );
SELECT "2008_09" FROM "grand_slam_record" WHERE "2012_13"='q' AND "2006_07"='q' AND "2007_08"='qf';
2-14230578-3
Which 2007–08 has a 2009–10 of dnp?
CREATE TABLE "grand_slam_record" ( "event" text, "2006_07" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text, "2012_13" text );
SELECT "2007_08" FROM "grand_slam_record" WHERE "2009_10"='dnp';
2-14230578-3
Which Drawn has a Team of internacional-sp?
CREATE TABLE "campeonato_brasileiro_s_rie_a" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT SUM("drawn") FROM "campeonato_brasileiro_s_rie_a" WHERE "team"='internacional-sp';
2-15087697-2
How much Lost has a Drawn larger than 5, and a Played larger than 18?
CREATE TABLE "campeonato_brasileiro_s_rie_a" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT SUM("lost") FROM "campeonato_brasileiro_s_rie_a" WHERE "drawn">5 AND "played">18;
2-15087697-2
Which Drawn is the highest one that has a Played smaller than 18?
CREATE TABLE "campeonato_brasileiro_s_rie_a" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MAX("drawn") FROM "campeonato_brasileiro_s_rie_a" WHERE "played"<18;
2-15087697-2
Which Drawn is the highest one that has an Against larger than 15, and Points smaller than 15, and a Lost smaller than 9?
CREATE TABLE "campeonato_brasileiro_s_rie_a" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MAX("drawn") FROM "campeonato_brasileiro_s_rie_a" WHERE "against">15 AND "points"<15 AND "lost"<9;
2-15087697-2
What's the least amount of floors at 921 sw sixth avenue?
CREATE TABLE "timeline_of_tallest_buildings" ( "name" text, "street_address" text, "years_as_tallest" text, "height_feet_m" text, "floors" real );
SELECT MIN("floors") FROM "timeline_of_tallest_buildings" WHERE "street_address"='921 sw sixth avenue';
2-13949437-2
What's the address of the union bank of California tower?
CREATE TABLE "timeline_of_tallest_buildings" ( "name" text, "street_address" text, "years_as_tallest" text, "height_feet_m" text, "floors" real );
SELECT "street_address" FROM "timeline_of_tallest_buildings" WHERE "name"='union bank of california tower';
2-13949437-2
What were the years that the building at 200 sw harrison was considered to be the tallest building?
CREATE TABLE "timeline_of_tallest_buildings" ( "name" text, "street_address" text, "years_as_tallest" text, "height_feet_m" text, "floors" real );
SELECT "years_as_tallest" FROM "timeline_of_tallest_buildings" WHERE "street_address"='200 sw harrison';
2-13949437-2
What is the smallest position with less than 7 points piloted by Didier Hauss?
CREATE TABLE "overall_results" ( "position" real, "pilot" text, "country" text, "glider" text, "points" real );
SELECT MIN("position") FROM "overall_results" WHERE "points"<7 AND "pilot"='didier hauss';
2-14091394-1
During what Season was the Final Venue at Sandy Lane with Kiveton Park as the Winner?
CREATE TABLE "list_of_finals" ( "season" text, "winner" text, "result" text, "runner_up" text, "final_venue" text );
SELECT "season" FROM "list_of_finals" WHERE "winner"='kiveton park' AND "final_venue"='sandy lane';
2-14909105-1
What was the Runner-up during the 2005-06 Season with Kiveton Park as the Winner?
CREATE TABLE "list_of_finals" ( "season" text, "winner" text, "result" text, "runner_up" text, "final_venue" text );
SELECT "runner_up" FROM "list_of_finals" WHERE "winner"='kiveton park' AND "season"='2005-06';
2-14909105-1
What was the Result in Green Lane with Kirkburton as the Runner-up?
CREATE TABLE "list_of_finals" ( "season" text, "winner" text, "result" text, "runner_up" text, "final_venue" text );
SELECT "result" FROM "list_of_finals" WHERE "runner_up"='kirkburton' AND "final_venue"='green lane';
2-14909105-1
What was the Result in the 2005-06 Season?
CREATE TABLE "list_of_finals" ( "season" text, "winner" text, "result" text, "runner_up" text, "final_venue" text );
SELECT "result" FROM "list_of_finals" WHERE "season"='2005-06';
2-14909105-1
What was the Final Venue having Sheffield Reserves as the Winner?
CREATE TABLE "list_of_finals" ( "season" text, "winner" text, "result" text, "runner_up" text, "final_venue" text );
SELECT "final_venue" FROM "list_of_finals" WHERE "winner"='sheffield reserves';
2-14909105-1
What is the total number of Round that has a Time of 6:04?
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 "time"='6:04';
2-1472898-2
What Round has the Method of Submission (Single Wing Choke)?
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 "method"='submission (single wing choke)';
2-1472898-2
Which Class has a Frequency MHz larger than 91.5, and a City of license of hyannis, nebraska?
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 "frequency_m_hz">91.5 AND "city_of_license"='hyannis, nebraska';
2-14993514-1
Which Class has a ERP W larger than 205, and a Frequency MHz smaller than 93.9, and a Call sign of k210cb?
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">205 AND "frequency_m_hz"<93.9 AND "call_sign"='k210cb';
2-14993514-1
Which Frequency MHz that has a ERP W larger than 205, and a Call sign of k230ap?
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 "erp_w">205 AND "call_sign"='k230ap';
2-14993514-1
Which Frequency MHz has a ERP W of 250?
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 "erp_w"=250;
2-14993514-1
What was the date of game 81?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT "date" FROM "game_log" WHERE "game"=81;
2-14827502-8
WHich Surface has an Opponent of gustavo kuerten?
CREATE TABLE "singles_13_6_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "surface" FROM "singles_13_6_7" WHERE "opponent"='gustavo kuerten';
2-1417467-6
Which Surface has a Tournament of st. petersburg , russia?
CREATE TABLE "singles_13_6_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "surface" FROM "singles_13_6_7" WHERE "tournament"='st. petersburg , russia';
2-1417467-6
When is the Surface of hard (i), and a Tournament of brighton , united kingdom taken?
CREATE TABLE "singles_13_6_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "date" FROM "singles_13_6_7" WHERE "surface"='hard (i)' AND "tournament"='brighton , united kingdom';
2-1417467-6
Which Opponent has a Score of 3–6, 5–7?
CREATE TABLE "singles_13_6_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "opponent" FROM "singles_13_6_7" WHERE "score"='3–6, 5–7';
2-1417467-6
When has a Tournament of palermo , italy?
CREATE TABLE "singles_13_6_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "date" FROM "singles_13_6_7" WHERE "tournament"='palermo , italy';
2-1417467-6
Which Opponent is on 29 september 1997?
CREATE TABLE "singles_13_6_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "opponent" FROM "singles_13_6_7" WHERE "date"='29 september 1997';
2-1417467-6
Which constellation has hd 75732 as a destignation HD?
CREATE TABLE "cosmic_call_messages" ( "designation_hd" text, "constellation" text, "date_sent" text, "arrival_date" text, "message" text );
SELECT "constellation" FROM "cosmic_call_messages" WHERE "designation_hd"='hd 75732';
2-1446835-2
What message has hd 186408 as a designation HD?
CREATE TABLE "cosmic_call_messages" ( "designation_hd" text, "constellation" text, "date_sent" text, "arrival_date" text, "message" text );
SELECT "message" FROM "cosmic_call_messages" WHERE "designation_hd"='hd 186408';
2-1446835-2
What date sent has cygnus as a constellation, and hd 190360 as a designation HD?
CREATE TABLE "cosmic_call_messages" ( "designation_hd" text, "constellation" text, "date_sent" text, "arrival_date" text, "message" text );
SELECT "date_sent" FROM "cosmic_call_messages" WHERE "constellation"='cygnus' AND "designation_hd"='hd 190360';
2-1446835-2
What date sent has orion as the constellation?
CREATE TABLE "cosmic_call_messages" ( "designation_hd" text, "constellation" text, "date_sent" text, "arrival_date" text, "message" text );
SELECT "date_sent" FROM "cosmic_call_messages" WHERE "constellation"='orion';
2-1446835-2
Which constellation has cosmic call 1 as the message, and an arrival date of october 2067?
CREATE TABLE "cosmic_call_messages" ( "designation_hd" text, "constellation" text, "date_sent" text, "arrival_date" text, "message" text );
SELECT "constellation" FROM "cosmic_call_messages" WHERE "message"='cosmic call 1' AND "arrival_date"='october 2067';
2-1446835-2
What date sent has cancer as the constellation?
CREATE TABLE "cosmic_call_messages" ( "designation_hd" text, "constellation" text, "date_sent" text, "arrival_date" text, "message" text );
SELECT "date_sent" FROM "cosmic_call_messages" WHERE "constellation"='cancer';
2-1446835-2
Which Conceded is the highest one that has Points larger than 17, and a Team of guaraní, and Losses smaller than 6?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT MAX("conceded") FROM "torneo_clausura" WHERE "points">17 AND "team"='guaraní' AND "losses"<6;
2-14997324-5
Which Conceded has Draws smaller than 5, and a Position larger than 6?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT SUM("conceded") FROM "torneo_clausura" WHERE "draws"<5 AND "position">6;
2-14997324-5
How many Points have a Played larger than 18?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT COUNT("points") FROM "torneo_clausura" WHERE "played">18;
2-14997324-5
Which Scored has a Team of recoleta?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT SUM("scored") FROM "torneo_clausura" WHERE "team"='recoleta';
2-14997324-5
Which Notes have a Date of 2008-01-27?
CREATE TABLE "personal_records" ( "distance" text, "time" text, "date" text, "location" text, "notes" text );
SELECT "notes" FROM "personal_records" WHERE "date"='2008-01-27';
2-15289953-1
Which Date has a Distance of 3,000 m?
CREATE TABLE "personal_records" ( "distance" text, "time" text, "date" text, "location" text, "notes" text );
SELECT "date" FROM "personal_records" WHERE "distance"='3,000 m';
2-15289953-1
Which Distance has a Time of men's speed skating?
CREATE TABLE "personal_records" ( "distance" text, "time" text, "date" text, "location" text, "notes" text );
SELECT "distance" FROM "personal_records" WHERE "time"='men''s speed skating';
2-15289953-1
Which Location has a Time of time?
CREATE TABLE "personal_records" ( "distance" text, "time" text, "date" text, "location" text, "notes" text );
SELECT "location" FROM "personal_records" WHERE "time"='time';
2-15289953-1
Which Location has a Distance of 10,000 m?
CREATE TABLE "personal_records" ( "distance" text, "time" text, "date" text, "location" text, "notes" text );
SELECT "location" FROM "personal_records" WHERE "distance"='10,000 m';
2-15289953-1
Which Date has a Distance of 500 m?
CREATE TABLE "personal_records" ( "distance" text, "time" text, "date" text, "location" text, "notes" text );
SELECT "date" FROM "personal_records" WHERE "distance"='500 m';
2-15289953-1
What was the score for the June 22 game with attendance 0?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='june 22' AND "attendance"=0;
2-13553341-4
What type of surface was used for the carthage tournament on august 14, 1994?
CREATE TABLE "singles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "surface" FROM "singles" WHERE "tournament"='carthage' AND "date"='august 14, 1994';
2-13604859-2
Which tournament has marielle bruens for the opponent in the final?
CREATE TABLE "singles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "tournament" FROM "singles" WHERE "opponent_in_the_final"='marielle bruens';
2-13604859-2
What surface was used on may 13, 2007?
CREATE TABLE "singles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "surface" FROM "singles" WHERE "date"='may 13, 2007';
2-13604859-2
Frequency MHz of 93.7 has what class?
CREATE TABLE "oklahoma" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "class" FROM "oklahoma" WHERE "frequency_m_hz"=93.7;
2-14993406-2
What is the average Entre Ríos Municipality with less than 9 Pojo Municipalities?
CREATE TABLE "languages" ( "language" text, "totora_municipality" real, "pojo_municipality" real, "pocona_municipality" real, "chimor_municipality" real, "puerto_villarroel_municipality" real, "entre_r_os_municipality" real );
SELECT AVG("entre_r_os_municipality") FROM "languages" WHERE "pojo_municipality"<9;
2-14279071-3
What is Pocona Municipalities with 72 Totora municipalities and more than 74 pojo municipalities?
CREATE TABLE "languages" ( "language" text, "totora_municipality" real, "pojo_municipality" real, "pocona_municipality" real, "chimor_municipality" real, "puerto_villarroel_municipality" real, "entre_r_os_municipality" real );
SELECT COUNT("pocona_municipality") FROM "languages" WHERE "totora_municipality"=72 AND "pojo_municipality">74;
2-14279071-3
What is the highest chimore municipalities with 9 pojo municipalities and less than 7 totora municipalities?
CREATE TABLE "languages" ( "language" text, "totora_municipality" real, "pojo_municipality" real, "pocona_municipality" real, "chimor_municipality" real, "puerto_villarroel_municipality" real, "entre_r_os_municipality" real );
SELECT MAX("chimor_municipality") FROM "languages" WHERE "pojo_municipality"=9 AND "totora_municipality"<7;
2-14279071-3
Which Copa Libertadores 1996 has a Team of estudiantes?
CREATE TABLE "argentine_clubs_in_international_competi" ( "team" text, "recopa_1995" text, "supercopa_1995" text, "conmebol_1995" text, "copa_libertadores_1996" text );
SELECT "copa_libertadores_1996" FROM "argentine_clubs_in_international_competi" WHERE "team"='estudiantes';
2-14310964-1
which CONMEBOL 1995 has a Supercopa 1995 of sf?
CREATE TABLE "argentine_clubs_in_international_competi" ( "team" text, "recopa_1995" text, "supercopa_1995" text, "conmebol_1995" text, "copa_libertadores_1996" text );
SELECT "conmebol_1995" FROM "argentine_clubs_in_international_competi" WHERE "supercopa_1995"='sf';
2-14310964-1
which Copa Libertadores 1996 has round 1 Supercopa 1995 and argentinos juniors team ?
CREATE TABLE "argentine_clubs_in_international_competi" ( "team" text, "recopa_1995" text, "supercopa_1995" text, "conmebol_1995" text, "copa_libertadores_1996" text );
SELECT "copa_libertadores_1996" FROM "argentine_clubs_in_international_competi" WHERE "supercopa_1995"='round 1' AND "team"='argentinos juniors';
2-14310964-1
Which CONMEBOL 1995 has river plate team?
CREATE TABLE "argentine_clubs_in_international_competi" ( "team" text, "recopa_1995" text, "supercopa_1995" text, "conmebol_1995" text, "copa_libertadores_1996" text );
SELECT "conmebol_1995" FROM "argentine_clubs_in_international_competi" WHERE "team"='river plate';
2-14310964-1
Which Team has a round 1 CONMEBOL 1995?
CREATE TABLE "argentine_clubs_in_international_competi" ( "team" text, "recopa_1995" text, "supercopa_1995" text, "conmebol_1995" text, "copa_libertadores_1996" text );
SELECT "team" FROM "argentine_clubs_in_international_competi" WHERE "conmebol_1995"='round 1';
2-14310964-1
Which Date has an Attendance of 57,013?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "tv_time" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "attendance"='57,013';
2-14901683-1
Which Date has a TV Time of cbs 1:00pm, and a Game Site of rca dome, and an Opponent of cincinnati bengals?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "tv_time" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "tv_time"='cbs 1:00pm' AND "game_site"='rca dome' AND "opponent"='cincinnati bengals';
2-14901683-1
Which TV Time has a Date of december 26, 1999?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "tv_time" text, "attendance" text );
SELECT "tv_time" FROM "schedule" WHERE "date"='december 26, 1999';
2-14901683-1
Which Game Site has a Date of october 17, 1999?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "tv_time" text, "attendance" text );
SELECT "game_site" FROM "schedule" WHERE "date"='october 17, 1999';
2-14901683-1
what's the result with streak of won 6?
CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text );
SELECT "result" FROM "season_schedule" WHERE "streak"='won 6';
2-13797388-7
What was the 2nd leg score having an aggregate score of 4-2?
CREATE TABLE "winners_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "2nd_leg" FROM "winners_knockout" WHERE "aggregate"='4-2';
2-14219514-1
What was the home team for the 2nd leg for the match having a 1st leg score of 2-1?
CREATE TABLE "winners_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "home_2nd_leg" FROM "winners_knockout" WHERE "1st_leg"='2-1';
2-14219514-1
What was the home team for the 2nd leg of the match having an aggregate of 2-3?
CREATE TABLE "winners_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "home_2nd_leg" FROM "winners_knockout" WHERE "aggregate"='2-3';
2-14219514-1
What is the lowest number of played games of the team with less than 12 drawns, 41 against, and less than 69 points?
CREATE TABLE "campeonato_brasileiro_s_rie_b" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MIN("played") FROM "campeonato_brasileiro_s_rie_b" WHERE "drawn"<12 AND "against"=41 AND "points"<69;
2-14886214-2
What is the highest number of played of the team with less than 11 losses and less than 12 drawns?
CREATE TABLE "campeonato_brasileiro_s_rie_b" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MAX("played") FROM "campeonato_brasileiro_s_rie_b" WHERE "lost"<11 AND "drawn"<12;
2-14886214-2
What is the sum of againsts the team with less than 38 played had?
CREATE TABLE "campeonato_brasileiro_s_rie_b" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT SUM("against") FROM "campeonato_brasileiro_s_rie_b" WHERE "played"<38;
2-14886214-2
What is the average drawn of the team with a difference of 4 and more than 13 losses?
CREATE TABLE "campeonato_brasileiro_s_rie_b" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT AVG("drawn") FROM "campeonato_brasileiro_s_rie_b" WHERE "difference"='4' AND "lost">13;
2-14886214-2
What is the position of the team with more than 16 losses and an against greater than 74?
CREATE TABLE "campeonato_brasileiro_s_rie_b" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT SUM("position") FROM "campeonato_brasileiro_s_rie_b" WHERE "lost">16 AND "against">74;
2-14886214-2