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 smallest number of matches with Bonus Pts of 19 and Total Points greater than 421? | CREATE TABLE "1966_season_finished_1st_54pts_out_of_19" (
"rider" text,
"matches" real,
"rides" real,
"bonus_pts" real,
"total_points" real
); | SELECT MIN("matches") FROM "1966_season_finished_1st_54pts_out_of_19" WHERE "bonus_pts"=19 AND "total_points">421; | 2-12518301-2 |
Which category earlier than 2006 has Bart Brentjens as rider 2? | CREATE TABLE "winners_from_2004" (
"date" real,
"category" text,
"team" text,
"rider_1" text,
"rider_2" text
); | SELECT "category" FROM "winners_from_2004" WHERE "date"<2006 AND "rider_2"='bart brentjens'; | 2-12498437-2 |
How many dates does the ladies category correspond to Rothaus-Cube? | CREATE TABLE "winners_from_2004" (
"date" real,
"category" text,
"team" text,
"rider_1" text,
"rider_2" text
); | SELECT COUNT("date") FROM "winners_from_2004" WHERE "category"='ladies' AND "team"='rothaus-cube'; | 2-12498437-2 |
Which category has a team of Cannondale Vredestein? | CREATE TABLE "winners_from_2004" (
"date" real,
"category" text,
"team" text,
"rider_1" text,
"rider_2" text
); | SELECT "category" FROM "winners_from_2004" WHERE "team"='cannondale vredestein'; | 2-12498437-2 |
What is the qual with a rank 9? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "qual" FROM "indy_500_results" WHERE "rank"='9'; | 2-1252110-1 |
What is the finish in 1956? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "finish" FROM "indy_500_results" WHERE "year"='1956'; | 2-1252110-1 |
What is the finish with 200 laps and a start of 3? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "finish" FROM "indy_500_results" WHERE "laps"=200 AND "start"='3'; | 2-1252110-1 |
What is the qual with 200 laps and a rank of 27? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "qual" FROM "indy_500_results" WHERE "laps"=200 AND "rank"='27'; | 2-1252110-1 |
What is the rank with a 14 finish? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "rank" FROM "indy_500_results" WHERE "finish"='14'; | 2-1252110-1 |
When did Deng Xuan first win Women's singles? | CREATE TABLE "previous_winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT MIN("year") FROM "previous_winners" WHERE "women_s_singles"='deng xuan'; | 2-12275551-1 |
When did Julie Still first win Women's singles? | CREATE TABLE "previous_winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT MIN("year") FROM "previous_winners" WHERE "women_s_singles"='julie still'; | 2-12275551-1 |
What is the lowest cuts made of the Masters tournament, which had a top-25 less than 0? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MIN("cuts_made") FROM "summary" WHERE "tournament"='masters tournament' AND "top_25"<0; | 2-12884908-3 |
What is the highest number of wins a tournament with 1 cuts made, a top-25 less than 1, and less than 2 events has? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MAX("wins") FROM "summary" WHERE "cuts_made"=1 AND "top_25"<1 AND "events"<2; | 2-12884908-3 |
What is the average number of events the Masters tournament, which has more than 0 top-25, has? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("events") FROM "summary" WHERE "tournament"='masters tournament' AND "top_25">0; | 2-12884908-3 |
What is the total number of top-25 a tournament with less than 2 events has? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT COUNT("top_25") FROM "summary" WHERE "events"<2; | 2-12884908-3 |
Who won Women's doubles when Nikhil Kanetkar won Men's singles? | CREATE TABLE "previous_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 "previous_winners" WHERE "men_s_singles"='nikhil kanetkar'; | 2-12282998-1 |
Who won Women's doubles when Zen Yaqiong won Women's singles? | CREATE TABLE "previous_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 "previous_winners" WHERE "women_s_singles"='zen yaqiong'; | 2-12282998-1 |
What was the date of the game that had a loss of Gott (2-7)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "loss"='gott (2-7)'; | 2-12207717-6 |
Who was the opponent at the game when the record was 54-58? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "record"='54-58'; | 2-12207717-6 |
What was the score of the game when the record was 59-65? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "record"='59-65'; | 2-12207717-6 |
Who was the opponent at the game that had a loss of Caldwell (10-11)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "loss"='caldwell (10-11)'; | 2-12207717-6 |
Which opponent had a time of 1:26? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "time"='1:26'; | 2-1330308-2 |
What was the date of the game with the Kansas City Royals when the Blue Jays record was 18-12? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "opponent"='royals' AND "record"='18-12'; | 2-12207430-3 |
Which catalogue is from the UK region, and is on vinyl, and was dated in 1986? | CREATE TABLE "release_history_and_variations" (
"date" text,
"region" text,
"label" text,
"catalogue" text,
"format" text
); | SELECT "catalogue" FROM "release_history_and_variations" WHERE "region"='uk' AND "format"='vinyl' AND "date"='1986'; | 2-1235762-2 |
What region has a bronze label and a catalogue of 202 876-270? | CREATE TABLE "release_history_and_variations" (
"date" text,
"region" text,
"label" text,
"catalogue" text,
"format" text
); | SELECT "region" FROM "release_history_and_variations" WHERE "label"='bronze' AND "catalogue"='202 876-270'; | 2-1235762-2 |
Which label is from the Germany region? | CREATE TABLE "release_history_and_variations" (
"date" text,
"region" text,
"label" text,
"catalogue" text,
"format" text
); | SELECT "label" FROM "release_history_and_variations" WHERE "region"='germany'; | 2-1235762-2 |
What label has brol 34531 as it's catalogue? | CREATE TABLE "release_history_and_variations" (
"date" text,
"region" text,
"label" text,
"catalogue" text,
"format" text
); | SELECT "label" FROM "release_history_and_variations" WHERE "catalogue"='brol 34531'; | 2-1235762-2 |
Which label has UK for its region, is on a CD, and is dated from 1986? | CREATE TABLE "release_history_and_variations" (
"date" text,
"region" text,
"label" text,
"catalogue" text,
"format" text
); | SELECT "label" FROM "release_history_and_variations" WHERE "region"='uk' AND "date"='1986' AND "format"='cd'; | 2-1235762-2 |
Which catalogue has essential, castle music as it's label? | CREATE TABLE "release_history_and_variations" (
"date" text,
"region" text,
"label" text,
"catalogue" text,
"format" text
); | SELECT "catalogue" FROM "release_history_and_variations" WHERE "label"='essential, castle music'; | 2-1235762-2 |
What's the period of a rock album released in 1973? | CREATE TABLE "120_million_to_199_million_records" (
"artist" text,
"country_of_origin" text,
"period_active" text,
"release_year_of_first_charted_record" real,
"genre" text,
"claimed_sales" text
); | SELECT "period_active" FROM "120_million_to_199_million_records" WHERE "release_year_of_first_charted_record"=1973 AND "genre"='rock'; | 2-1291598-3 |
Name the pick number for bill atessis | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "pick_num" FROM "indianapolis_colts_draft_history" WHERE "name"='bill atessis'; | 2-13312898-19 |
Name the total number of overall for defensive tackle | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT COUNT("overall") FROM "indianapolis_colts_draft_history" WHERE "position"='defensive tackle'; | 2-13312898-19 |
What is the 2012-list rank of a country with the lowest 2012-list rank out of all the countries with a 2010-list rank better than 13, a 2009-list rank of 0, a 2008-list rank lower than 4? | CREATE TABLE "divided_in_countries" (
"country" text,
"2008_list" real,
"2009_list" real,
"2010_list" real,
"2011_list" real,
"2012_list" real
); | SELECT MAX("2012_list") FROM "divided_in_countries" WHERE "2010_list"<13 AND "2009_list"=0 AND "2008_list">4; | 2-12794433-2 |
Which engine has daimler benz ag as an entrant? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "entrant"='daimler benz ag'; | 2-1228210-1 |
In which years was the to par +6? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "year_s_won" FROM "made_the_cut" WHERE "to_par"='+6'; | 2-12333215-2 |
In 1991, what was the lowest total? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT MIN("total") FROM "made_the_cut" WHERE "year_s_won"='1991'; | 2-12333215-2 |
What are the total lanes that have a rank larger than 22? | CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT SUM("lane") FROM "heats" WHERE "rank">22; | 2-12594788-2 |
Which one has a rank bigger than 2, lane of 1, and is from Hong Kong? | CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "name" FROM "heats" WHERE "rank">2 AND "lane"=1 AND "nationality"='hong kong'; | 2-12594788-2 |
What rank is from Japan, has a lane smaller than 7 and a heat smaller than 3? | CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT SUM("rank") FROM "heats" WHERE "nationality"='japan' AND "lane"<7 AND "heat"<3; | 2-12594788-2 |
What was Jim Hoff's sum of losses and a wins smaller than 12? | CREATE TABLE "managers" (
"manager" text,
"years" text,
"games" real,
"wins" real,
"losses" real
); | SELECT SUM("losses") FROM "managers" WHERE "manager"='jim hoff' AND "wins"<12; | 2-12558310-2 |
What was the average of games that were one in 1978 that were smaller than 141? | CREATE TABLE "managers" (
"manager" text,
"years" text,
"games" real,
"wins" real,
"losses" real
); | SELECT AVG("wins") FROM "managers" WHERE "years"='1978' AND "games"<141; | 2-12558310-2 |
What was the sum of Richie Hebner winning games that were smaller 34? | CREATE TABLE "managers" (
"manager" text,
"years" text,
"games" real,
"wins" real,
"losses" real
); | SELECT SUM("games") FROM "managers" WHERE "manager"='richie hebner' AND "wins"<34; | 2-12558310-2 |
What was the average of wins with manager George Scherger smaller than 3 and losses smaller than 1? | CREATE TABLE "managers" (
"manager" text,
"years" text,
"games" real,
"wins" real,
"losses" real
); | SELECT AVG("wins") FROM "managers" WHERE "games"<3 AND "manager"='george scherger' AND "losses"<1; | 2-12558310-2 |
When was the golden slipper race? | CREATE TABLE "1994_95_season_as_a_two_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" real,
"jockey" text,
"winner_2nd" text
); | SELECT "date" FROM "1994_95_season_as_a_two_year_old" WHERE "race"='golden slipper'; | 2-1284347-1 |
In which races did the jockey weigh less than 55.5 kg? | CREATE TABLE "1994_95_season_as_a_two_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" real,
"jockey" text,
"winner_2nd" text
); | SELECT "race" FROM "1994_95_season_as_a_two_year_old" WHERE "weight_kg"<55.5; | 2-1284347-1 |
What was the result of the Todman stakes race at rosehill? | CREATE TABLE "1994_95_season_as_a_two_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" real,
"jockey" text,
"winner_2nd" text
); | SELECT "result" FROM "1994_95_season_as_a_two_year_old" WHERE "venue"='rosehill' AND "race"='todman stakes'; | 2-1284347-1 |
What Country has Player Ky Laffoon? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_leaderboard" WHERE "player"='ky laffoon'; | 2-12925308-1 |
What Player is from the Country United States and Money ($) of 356? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "player" FROM "final_leaderboard" WHERE "country"='united states' AND "money"=356; | 2-12925308-1 |
What Player has a To par of +1 and the Score 75-70-71-73=289? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "player" FROM "final_leaderboard" WHERE "to_par"='+1' AND "score"='75-70-71-73=289'; | 2-12925308-1 |
What was the outcome for the Rome 2, Italy tournament? | CREATE TABLE "doubles_finals_29_12_17" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "outcome" FROM "doubles_finals_29_12_17" WHERE "tournament"='rome 2, italy'; | 2-12259697-8 |
What was the outcome of the match opponents in the final of Marius Călugăru Ciprian Petre Porumb? | CREATE TABLE "doubles_finals_29_12_17" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "outcome" FROM "doubles_finals_29_12_17" WHERE "opponents_in_the_final"='marius călugăru ciprian petre porumb'; | 2-12259697-8 |
How many golds have a Total of 11, and a Bronze smaller than 3? | CREATE TABLE "total" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("gold") FROM "total" WHERE "total"=11 AND "bronze"<3; | 2-12402019-3 |
How many golds have a Bronze of 0, a Total larger than 1, a Nation of chad, and a Silver larger than 0? | CREATE TABLE "total" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("gold") FROM "total" WHERE "bronze"=0 AND "total">1 AND "nation"='chad' AND "silver">0; | 2-12402019-3 |
What is the smallest silver with a Gold of 1, and a Nation of lithuania? | CREATE TABLE "total" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("silver") FROM "total" WHERE "gold"=1 AND "nation"='lithuania'; | 2-12402019-3 |
What is the total bronze with a Gold larger than 1, a Rank of 2, and a Silver smaller than 12? | CREATE TABLE "total" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "total" WHERE "gold">1 AND "rank"=2 AND "silver"<12; | 2-12402019-3 |
Which Visiting Team is on december 23? | CREATE TABLE "2000" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
); | SELECT "visiting_team" FROM "2000" WHERE "date"='december 23'; | 2-13193466-15 |
Which Host Team has Final Score of 42-23? | CREATE TABLE "2000" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
); | SELECT "host_team" FROM "2000" WHERE "final_score"='42-23'; | 2-13193466-15 |
When did Final Score of 31-7 happen? | CREATE TABLE "2000" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
); | SELECT "date" FROM "2000" WHERE "final_score"='31-7'; | 2-13193466-15 |
What was the score of the Blue Jays game when their record was 75-68 and the attendance was larger than 33,736? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "attendance">'33,736' AND "record"='75-68'; | 2-12206211-7 |
Which Tournament in 2010 also has Grand Slam tournaments in 2011 | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2010" FROM "singles_performance_timeline" WHERE "2011"='grand slam tournaments'; | 2-12509095-13 |
What was the average attendance when the New York Mets were opponents with a record of 51-33? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT AVG("attendance") FROM "game_log" WHERE "opponent"='new york mets' AND "record"='51-33'; | 2-12635188-4 |
What visiting team played on October 18? | CREATE TABLE "2001" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
); | SELECT "visiting_team" FROM "2001" WHERE "date"='october 18'; | 2-13193466-16 |
What visiting team played at 3com park on October 7? | CREATE TABLE "2001" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
); | SELECT "visiting_team" FROM "2001" WHERE "stadium"='3com park' AND "date"='october 7'; | 2-13193466-16 |
Which host team won on a final scoreline of 13-10? | CREATE TABLE "2001" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
); | SELECT "host_team" FROM "2001" WHERE "final_score"='13-10'; | 2-13193466-16 |
In what stadium did a game result in a final scoreline reading 27-34? | CREATE TABLE "2001" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
); | SELECT "stadium" FROM "2001" WHERE "final_score"='27-34'; | 2-13193466-16 |
In the game in which the Jacksonville Jaguars were hosts, what was the name of the visiting team? | CREATE TABLE "2001" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
); | SELECT "visiting_team" FROM "2001" WHERE "host_team"='jacksonville jaguars'; | 2-13193466-16 |
Which visiting team wound up with a final score of 18-40? | CREATE TABLE "2001" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
); | SELECT "visiting_team" FROM "2001" WHERE "final_score"='18-40'; | 2-13193466-16 |
Name the sum of attendacne for 16 weeks | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT SUM("attendance") FROM "schedule" WHERE "week"=16; | 2-13258851-2 |
Name the result for week less than 7 and game sites of los angeles memorial coliseum | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "week"<7 AND "game_site"='los angeles memorial coliseum'; | 2-13258851-2 |
Name the result for week 7 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "week"=7; | 2-13258851-2 |
How many yards lost by the player with more gained than 51 and average/g of 3.6? | CREATE TABLE "rushing_sortable_options" (
"name" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" text
); | SELECT COUNT("loss") FROM "rushing_sortable_options" WHERE "avg_g"='3.6' AND "gain">51; | 2-13237088-24 |
What are the gains for the player with average of 26.8 and lost yard fewer than 13? | CREATE TABLE "rushing_sortable_options" (
"name" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" text
); | SELECT SUM("gain") FROM "rushing_sortable_options" WHERE "avg_g"='26.8' AND "loss"<13; | 2-13237088-24 |
When did Mathieu play against Flavio Cipolla? | CREATE TABLE "singles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "date" FROM "singles" WHERE "opponent_in_the_final"='flavio cipolla'; | 2-12824918-2 |
Which tournament had a final score of 6–3, 6–2? | CREATE TABLE "singles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "tournament" FROM "singles" WHERE "score_in_the_final"='6–3, 6–2'; | 2-12824918-2 |
On which surface did Mathieu play against Antonio Veić? | CREATE TABLE "singles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "surface" FROM "singles" WHERE "opponent_in_the_final"='antonio veić'; | 2-12824918-2 |
When did Mathieu play against Antonio Veić? | CREATE TABLE "singles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "date" FROM "singles" WHERE "opponent_in_the_final"='antonio veić'; | 2-12824918-2 |
When did Mathieu play against Andrey Golubev? | CREATE TABLE "singles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "date" FROM "singles" WHERE "opponent_in_the_final"='andrey golubev'; | 2-12824918-2 |
What opened with a drop height of 272feet? | CREATE TABLE "locations" (
"park" text,
"tower_height" text,
"drop_height" text,
"speed" text,
"model" text,
"opened" text,
"height_requirement" text
); | SELECT "opened" FROM "locations" WHERE "drop_height"='272feet'; | 2-12204442-1 |
What was the speed of 200feet Giant Drop attraction? | CREATE TABLE "locations" (
"park" text,
"tower_height" text,
"drop_height" text,
"speed" text,
"model" text,
"opened" text,
"height_requirement" text
); | SELECT "speed" FROM "locations" WHERE "model"='giant drop' AND "drop_height"='200feet'; | 2-12204442-1 |
What park opened in 1999? | CREATE TABLE "locations" (
"park" text,
"tower_height" text,
"drop_height" text,
"speed" text,
"model" text,
"opened" text,
"height_requirement" text
); | SELECT "park" FROM "locations" WHERE "opened"='1999'; | 2-12204442-1 |
Name the record for detroit and decision of denis | CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "december" WHERE "home"='detroit' AND "decision"='denis'; | 2-13242342-5 |
Name the average attendance with dallas visitor | CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT AVG("attendance") FROM "december" WHERE "visitor"='dallas'; | 2-13242342-5 |
How close to par was Tom Kite when he played? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "player"='tom kite'; | 2-12819742-4 |
Which of the countries showed a score of 71-72=143? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "second_round" WHERE "score"='71-72=143'; | 2-12819742-4 |
Which country watch Tom Watson at t9 score 72-72=144? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "second_round" WHERE "place"='t9' AND "score"='72-72=144' AND "player"='tom watson'; | 2-12819742-4 |
What was the final score when the player was an e to par? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "to_par"='e'; | 2-12819742-4 |
What is the name of the team that has 307 attempts? | CREATE TABLE "college_statistics" (
"year" text,
"team" text,
"attempts" text,
"completions" text,
"completion_pct" text,
"yards" text
); | SELECT "team" FROM "college_statistics" WHERE "attempts"='307'; | 2-12857517-1 |
What is the name of the team that has 1,317 attempts? | CREATE TABLE "college_statistics" (
"year" text,
"team" text,
"attempts" text,
"completions" text,
"completion_pct" text,
"yards" text
); | SELECT "team" FROM "college_statistics" WHERE "attempts"='1,317'; | 2-12857517-1 |
What year was 2,242 yards achieved? | CREATE TABLE "college_statistics" (
"year" text,
"team" text,
"attempts" text,
"completions" text,
"completion_pct" text,
"yards" text
); | SELECT "year" FROM "college_statistics" WHERE "yards"='2,242'; | 2-12857517-1 |
Which team has a 59.8% completion rate? | CREATE TABLE "college_statistics" (
"year" text,
"team" text,
"attempts" text,
"completions" text,
"completion_pct" text,
"yards" text
); | SELECT "team" FROM "college_statistics" WHERE "completion_pct"='59.8%'; | 2-12857517-1 |
Which year has has a Engine of maserati straight-6? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" text
); | SELECT COUNT("year") FROM "complete_formula_one_world_championship_" WHERE "engine"='maserati straight-6'; | 2-1226496-1 |
What is the Point of Chassis of Lancia d50 in 1954 | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" text
); | SELECT "points" FROM "complete_formula_one_world_championship_" WHERE "chassis"='lancia d50' AND "year"=1954; | 2-1226496-1 |
What is on at 8:00 before the 9:00 showing of Chuck? | CREATE TABLE "tuesday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "8_00" FROM "tuesday" WHERE "9_00"='chuck'; | 2-12280777-3 |
What show comes on at 9:00 on the channel that shows the Insider at 7:00? | CREATE TABLE "tuesday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "9_00" FROM "tuesday" WHERE "7_00"='the insider'; | 2-12280777-3 |
On the channel with The Biggest loser at 8:00, what's on at 7:30? | CREATE TABLE "tuesday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "7_30" FROM "tuesday" WHERE "8_00"='the biggest loser'; | 2-12280777-3 |
What's on at 7:30 before the 9:00 showing of the Tudors? | CREATE TABLE "tuesday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "7_30" FROM "tuesday" WHERE "9_00"='the tudors'; | 2-12280777-3 |
If Gossip Girl is on at 7:30, what shows at 9:00? | CREATE TABLE "tuesday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "9_00" FROM "tuesday" WHERE "7_30"='gossip girl'; | 2-12280777-3 |
What is the match total for a score over 299 and under 412 innings? | CREATE TABLE "best_average_in_a_career" (
"matches" real,
"innings" real,
"not_out" real,
"high_score" text,
"runs" real,
"average" real
); | SELECT SUM("matches") FROM "best_average_in_a_career" WHERE "high_score"='299' AND "innings"<412; | 2-12898654-11 |
What is the high run total associated with a high score of 385 and under 407 innings? | CREATE TABLE "best_average_in_a_career" (
"matches" real,
"innings" real,
"not_out" real,
"high_score" text,
"runs" real,
"average" real
); | SELECT MAX("runs") FROM "best_average_in_a_career" WHERE "high_score"='385' AND "innings"<407; | 2-12898654-11 |
Which 2nd leg has a 1st leg of 1-1 and is Team 1 djoliba ac? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "second_round" WHERE "1st_leg"='1-1' AND "team_1"='djoliba ac'; | 2-12483185-2 |
Subsets and Splits