question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What team was the away team when they played at lake oval?
CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_5" WHERE "venue"='lake oval';
2-10808089-5
How many people were in the crowd when North Melbourne was the home team?
CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "crowd" FROM "round_5" WHERE "home_team"='north melbourne';
2-10808089-5
What is Mark Grieb's average when his TDs are smaller than 2?
CREATE TABLE "running_backs" ( "player" text, "car" real, "yards" real, "avg" real, "td_s" real, "long" real );
SELECT SUM("avg") FROM "running_backs" WHERE "player"='mark grieb' AND "td_s"<2;
2-11786687-3
What is Craig Whelihan's average when his yards are smaller than 0?
CREATE TABLE "running_backs" ( "player" text, "car" real, "yards" real, "avg" real, "td_s" real, "long" real );
SELECT SUM("avg") FROM "running_backs" WHERE "player"='craig whelihan' AND "yards"<0;
2-11786687-3
Which largest average had 1229 yards?
CREATE TABLE "touchdowns" ( "player" text, "rec" real, "yards" real, "avg" real, "td_s" real, "long" real );
SELECT MAX("avg") FROM "touchdowns" WHERE "yards"=1229;
2-11786754-5
What is the constructor where the circuit is Silverstone?
CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "constructor" FROM "non_championship_race_results" WHERE "circuit"='silverstone';
2-1140110-6
Who is the Winning Driver in the race viii gran premio di siracusa?
CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "winning_driver" FROM "non_championship_race_results" WHERE "race_name"='viii gran premio di siracusa';
2-1140110-6
What is the date that the winner driver is Stirling Moss in the race named vi grand prix de caen?
CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "date" FROM "non_championship_race_results" WHERE "winning_driver"='stirling moss' AND "race_name"='vi grand prix de caen';
2-1140110-6
Which state is the location of 39.1178°n 106.4454°w in?
CREATE TABLE "the_easternmost_high_summits_of_the_rock" ( "rank" real, "mountain_peak" text, "state" text, "mountain_range" text, "location" text );
SELECT "state" FROM "the_easternmost_high_summits_of_the_rock" WHERE "location"='39.1178°n 106.4454°w';
2-11976313-5
What is the highest rank Mount Elbert has?
CREATE TABLE "the_easternmost_high_summits_of_the_rock" ( "rank" real, "mountain_peak" text, "state" text, "mountain_range" text, "location" text );
SELECT MAX("rank") FROM "the_easternmost_high_summits_of_the_rock" WHERE "mountain_peak"='mount elbert';
2-11976313-5
What is the mountain range at 37.3934°n 104.9201°w?
CREATE TABLE "the_easternmost_high_summits_of_the_rock" ( "rank" real, "mountain_peak" text, "state" text, "mountain_range" text, "location" text );
SELECT "mountain_range" FROM "the_easternmost_high_summits_of_the_rock" WHERE "location"='37.3934°n 104.9201°w';
2-11976313-5
What is the location of Blanca Peak?
CREATE TABLE "the_easternmost_high_summits_of_the_rock" ( "rank" real, "mountain_peak" text, "state" text, "mountain_range" text, "location" text );
SELECT "location" FROM "the_easternmost_high_summits_of_the_rock" WHERE "mountain_peak"='blanca peak';
2-11976313-5
Which state is West Spanish Peak in?
CREATE TABLE "the_easternmost_high_summits_of_the_rock" ( "rank" real, "mountain_peak" text, "state" text, "mountain_range" text, "location" text );
SELECT "state" FROM "the_easternmost_high_summits_of_the_rock" WHERE "mountain_peak"='west spanish peak';
2-11976313-5
What is the ranked 5 mountain range?
CREATE TABLE "the_easternmost_high_summits_of_the_rock" ( "rank" real, "mountain_peak" text, "state" text, "mountain_range" text, "location" text );
SELECT "mountain_range" FROM "the_easternmost_high_summits_of_the_rock" WHERE "rank"=5;
2-11976313-5
Name of choice b. Randell is the name of which District Residence?
CREATE TABLE "list_of_representatives" ( "name" text, "took_office" text, "left_office" text, "party" text, "district_residence" text );
SELECT "district_residence" FROM "list_of_representatives" WHERE "name"='choice b. randell';
2-1140249-1
Who has a Took Office of march 4, 1903?
CREATE TABLE "list_of_representatives" ( "name" text, "took_office" text, "left_office" text, "party" text, "district_residence" text );
SELECT "name" FROM "list_of_representatives" WHERE "took_office"='march 4, 1903';
2-1140249-1
Which Took Office that has a Party of democrat, under the name of John Hancock
CREATE TABLE "list_of_representatives" ( "name" text, "took_office" text, "left_office" text, "party" text, "district_residence" text );
SELECT "took_office" FROM "list_of_representatives" WHERE "party"='democrat' AND "name"='john hancock';
2-1140249-1
Who has Took Office of march 4, 1875?
CREATE TABLE "list_of_representatives" ( "name" text, "took_office" text, "left_office" text, "party" text, "district_residence" text );
SELECT "name" FROM "list_of_representatives" WHERE "took_office"='march 4, 1875';
2-1140249-1
Name the record on june 22
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "record" FROM "game_log" WHERE "date"='june 22';
2-11513685-4
Name the total number in attendance for when the bulls visited
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT COUNT("attendance") FROM "april" WHERE "visitor"='bulls';
2-11961849-9
Name the most swimsuit for interview less than 8.46
CREATE TABLE "preliminary_competition" ( "state" text, "interview" real, "swimsuit" real, "evening_gown" real, "average" real );
SELECT MAX("swimsuit") FROM "preliminary_competition" WHERE "interview"<8.46;
2-12015401-1
Name the most evening gown for average less than 8.793 with interview of 8.51 and swimsuit less than 8.12
CREATE TABLE "preliminary_competition" ( "state" text, "interview" real, "swimsuit" real, "evening_gown" real, "average" real );
SELECT MAX("evening_gown") FROM "preliminary_competition" WHERE "average"<8.793 AND "swimsuit"<8.12 AND "interview"=8.51;
2-12015401-1
On average, how many Starts have Wins that are smaller than 0?
CREATE TABLE "results_timeline" ( "tournament" text, "starts" real, "top_10s" real, "wins" real, "earnings" text );
SELECT AVG("starts") FROM "results_timeline" WHERE "wins"<0;
2-11570261-4
Which of the top-10s has a starts value of 14?
CREATE TABLE "results_timeline" ( "tournament" text, "starts" real, "top_10s" real, "wins" real, "earnings" text );
SELECT MAX("top_10s") FROM "results_timeline" WHERE "starts"=14;
2-11570261-4
In the tournament of HSBC Champions, what was the sum of the Starts with Wins lower than 0?
CREATE TABLE "results_timeline" ( "tournament" text, "starts" real, "top_10s" real, "wins" real, "earnings" text );
SELECT SUM("starts") FROM "results_timeline" WHERE "tournament"='hsbc champions' AND "wins"<0;
2-11570261-4
Who trained the horse on post 11 with over 36 odds?
CREATE TABLE "full_results" ( "finished" text, "post" real, "horse" text, "jockey" text, "trainer" text, "odds" real );
SELECT "trainer" FROM "full_results" WHERE "odds">36 AND "post"=11;
2-11074128-2
What is the lowest post number for calvin borel?
CREATE TABLE "full_results" ( "finished" text, "post" real, "horse" text, "jockey" text, "trainer" text, "odds" real );
SELECT MIN("post") FROM "full_results" WHERE "jockey"='calvin borel';
2-11074128-2
What horse for jara?
CREATE TABLE "full_results" ( "finished" text, "post" real, "horse" text, "jockey" text, "trainer" text, "odds" real );
SELECT "horse" FROM "full_results" WHERE "jockey"='jara';
2-11074128-2
What is the date when Lebron James (25) was the lead scorer?
CREATE TABLE "february" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "date" FROM "february" WHERE "leading_scorer"='lebron james (25)';
2-11960713-4
Which Total has a Gold smaller than 0?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("total") FROM "medal_table" WHERE "gold"<0;
2-11155038-4
Which Bronze has a Gold smaller than 0?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("bronze") FROM "medal_table" WHERE "gold"<0;
2-11155038-4
Which T.C. has a Win of 1, and a Race of 21?
CREATE TABLE "campos_racing" ( "year" real, "team_name" text, "drivers" text, "races" real, "wins" real, "poles" real, "f_laps" real, "points" real, "d_c" text, "t_c" text );
SELECT "t_c" FROM "campos_racing" WHERE "wins"=1 AND "races"=21;
2-10793848-1
How many years have Drivers of ben hanley, and Flaps smaller than 0?
CREATE TABLE "campos_racing" ( "year" real, "team_name" text, "drivers" text, "races" real, "wins" real, "poles" real, "f_laps" real, "points" real, "d_c" text, "t_c" text );
SELECT COUNT("year") FROM "campos_racing" WHERE "drivers"='ben hanley' AND "f_laps"<0;
2-10793848-1
How many Points have Drivers of adrián vallés, and a Year larger than 2006?
CREATE TABLE "campos_racing" ( "year" real, "team_name" text, "drivers" text, "races" real, "wins" real, "poles" real, "f_laps" real, "points" real, "d_c" text, "t_c" text );
SELECT AVG("points") FROM "campos_racing" WHERE "drivers"='adrián vallés' AND "year">2006;
2-10793848-1
How many Poles have Drivers of juan cruz álvarez, and FLaps larger than 0?
CREATE TABLE "campos_racing" ( "year" real, "team_name" text, "drivers" text, "races" real, "wins" real, "poles" real, "f_laps" real, "points" real, "d_c" text, "t_c" text );
SELECT SUM("poles") FROM "campos_racing" WHERE "drivers"='juan cruz álvarez' AND "f_laps">0;
2-10793848-1
Who was the away team at Victoria Park?
CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team" FROM "round_15" WHERE "venue"='victoria park';
2-10809157-15
What is the name of the train numbered less than 6 before 1993?
CREATE TABLE "locomotives" ( "number" real, "name" text, "builder" text, "type" text, "date" real );
SELECT "name" FROM "locomotives" WHERE "number"<6 AND "date"<1993;
2-1160735-1
What is the name of the bo-bodh train with a number less than 5?
CREATE TABLE "locomotives" ( "number" real, "name" text, "builder" text, "type" text, "date" real );
SELECT "name" FROM "locomotives" WHERE "number"<5 AND "type"='bo-bodh';
2-1160735-1
Name the record when the visitor is st. louis
CREATE TABLE "february" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "record" FROM "february" WHERE "visitor"='st. louis';
2-11801912-7
What was the scory when calgary was visiting?
CREATE TABLE "february" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "score" FROM "february" WHERE "visitor"='calgary';
2-11801912-7
Name the home when the visitor was dallas on february 2
CREATE TABLE "february" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "home" FROM "february" WHERE "visitor"='dallas' AND "date"='february 2';
2-11801912-7
Name the date for turco decision and home of st. louis
CREATE TABLE "february" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "date" FROM "february" WHERE "decision"='turco' AND "home"='st. louis';
2-11801912-7
Which rider had a speed of 104.630mph?
CREATE TABLE "ultra_lightweight_manx_grand_prix_provis" ( "rank" real, "rider" text, "team" text, "speed" text, "time" text );
SELECT "rider" FROM "ultra_lightweight_manx_grand_prix_provis" WHERE "speed"='104.630mph';
2-11972799-9
What is the best rank with a time of 1:05.14.10?
CREATE TABLE "ultra_lightweight_manx_grand_prix_provis" ( "rank" real, "rider" text, "team" text, "speed" text, "time" text );
SELECT MAX("rank") FROM "ultra_lightweight_manx_grand_prix_provis" WHERE "time"='1:05.14.10';
2-11972799-9
Where was the game played when the final score was 35-62?
CREATE TABLE "2012" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text );
SELECT "stadium" FROM "2012" WHERE "final_score"='35-62';
2-10944289-8
During the game at Candlestick Park, who was the visiting team?
CREATE TABLE "2012" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text );
SELECT "visiting_team" FROM "2012" WHERE "stadium"='candlestick park';
2-10944289-8
Which visiting team had a final score of 14-34?
CREATE TABLE "2012" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text );
SELECT "visiting_team" FROM "2012" WHERE "final_score"='14-34';
2-10944289-8
What was the final score in the game against the Cincinnati Bengals?
CREATE TABLE "2012" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text );
SELECT "final_score" FROM "2012" WHERE "visiting_team"='cincinnati bengals';
2-10944289-8
Who was the visiting team in the game against the Dallas Cowboys?
CREATE TABLE "2012" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text );
SELECT "visiting_team" FROM "2012" WHERE "host_team"='dallas cowboys';
2-10944289-8
Which tournament has an Outcome of runner-up, and an Opponent of maša zec peškirič?
CREATE TABLE "singles_7_3_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_7_3_4" WHERE "outcome"='runner-up' AND "opponent"='maša zec peškirič';
2-11739415-8
Which surface has a Score of 6–4, 6–2?
CREATE TABLE "singles_7_3_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "surface" FROM "singles_7_3_4" WHERE "score"='6–4, 6–2';
2-11739415-8
Which surface has a Date of 22 august 2006?
CREATE TABLE "singles_7_3_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "surface" FROM "singles_7_3_4" WHERE "date"='22 august 2006';
2-11739415-8
Which tournament has an Outcome of runner-up, a Surface of hard, and a Score of 6–4, 6–2?
CREATE TABLE "singles_7_3_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_7_3_4" WHERE "outcome"='runner-up' AND "surface"='hard' AND "score"='6–4, 6–2';
2-11739415-8
What is the outcome with marina erakovic as opponent?
CREATE TABLE "singles_7_3_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "outcome" FROM "singles_7_3_4" WHERE "opponent"='marina erakovic';
2-11739415-8
Which tournament has an Outcome of winner, and a Opponent of dia evtimova?
CREATE TABLE "singles_7_3_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_7_3_4" WHERE "outcome"='winner' AND "opponent"='dia evtimova';
2-11739415-8
What title runs for 3:22?
CREATE TABLE "unreleased_songs" ( "title" text, "author_s" text, "recorded" text, "location_s" text, "time" text );
SELECT "title" FROM "unreleased_songs" WHERE "time"='3:22';
2-11614163-2
Who wrote the song that runs for 2:22?
CREATE TABLE "unreleased_songs" ( "title" text, "author_s" text, "recorded" text, "location_s" text, "time" text );
SELECT "author_s" FROM "unreleased_songs" WHERE "time"='2:22';
2-11614163-2
What Constructor had 66 Laps?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "constructor" FROM "classification" WHERE "laps"=66;
2-1122689-1
With Laps greater than 78, what is the lowest Grid?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MIN("grid") FROM "classification" WHERE "laps">78;
2-1122689-1
How many Laps with a Grid smaller than 11 did John Watson have?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("laps") FROM "classification" WHERE "driver"='john watson' AND "grid"<11;
2-1122689-1
How many Laps with a Grid smaller than 3 did Driver NIki Lauda have?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("laps") FROM "classification" WHERE "driver"='niki lauda' AND "grid"<3;
2-1122689-1
What is the low grid total for a retired due to steering in under 15 laps?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MIN("grid") FROM "race" WHERE "time_retired"='steering' AND "laps"<15;
2-1123420-2
What is the average laps that had a time/retired of +5 laps?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("laps") FROM "race" WHERE "time_retired"='+5 laps';
2-1123420-2
Which Opponent has Location Wonju Chiak Indoor Gym, South Korea?
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 "location"='wonju chiak indoor gym, south korea';
2-11330258-3
Which is the lowest Round with the Opponent, Paul Cahoon and Location, Amsterdam, Netherlands?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "opponent"='paul cahoon' AND "location"='amsterdam, netherlands';
2-11330258-3
Which Event has the Opponent, Bernard Ackah?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "opponent"='bernard ackah';
2-11330258-3
when was the destroyer launched when it was laid down on 14 august 1942?
CREATE TABLE "ca_or_11th_emergency_flotilla" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text );
SELECT "launched" FROM "ca_or_11th_emergency_flotilla" WHERE "laid_down"='14 august 1942';
2-1206583-1
what is the launched date when the builder is john brown, clydebank?
CREATE TABLE "ca_or_11th_emergency_flotilla" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text );
SELECT "launched" FROM "ca_or_11th_emergency_flotilla" WHERE "builder"='john brown, clydebank';
2-1206583-1
what is the pennant when the builder is yarrow, scotstoun?
CREATE TABLE "ca_or_11th_emergency_flotilla" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text );
SELECT "pennant" FROM "ca_or_11th_emergency_flotilla" WHERE "builder"='yarrow, scotstoun';
2-1206583-1
what is the name when the laid down is 28 february 1943?
CREATE TABLE "ca_or_11th_emergency_flotilla" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text );
SELECT "name" FROM "ca_or_11th_emergency_flotilla" WHERE "laid_down"='28 february 1943';
2-1206583-1
when was it commissioned when the destroyer was built by scotts, greenock?
CREATE TABLE "ca_or_11th_emergency_flotilla" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text );
SELECT "commissioned" FROM "ca_or_11th_emergency_flotilla" WHERE "builder"='scotts, greenock';
2-1206583-1
when was the launched date when the laid down date is 14 august 1942?
CREATE TABLE "ca_or_11th_emergency_flotilla" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text );
SELECT "launched" FROM "ca_or_11th_emergency_flotilla" WHERE "laid_down"='14 august 1942';
2-1206583-1
What was the record for a week below 13 on July 12?
CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "location" text, "final_score" text, "attendance" text, "record" text );
SELECT "record" FROM "season_schedule" WHERE "week"<13 AND "date"='july 12';
2-11916798-4
What location had a final score of W 30 – 5?
CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "location" text, "final_score" text, "attendance" text, "record" text );
SELECT "location" FROM "season_schedule" WHERE "final_score"='w 30 – 5';
2-11916798-4
Which label had a catalog designation of ch-9196?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "label" FROM "release_history" WHERE "catalog"='ch-9196';
2-11151247-2
Which format's catalog designation was 21-382a?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "format" FROM "release_history" WHERE "catalog"='21-382a';
2-11151247-2
Which catalog had a date year of 1984?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "catalog" FROM "release_history" WHERE "date"='1984';
2-11151247-2
Which format was under the London Records label?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "format" FROM "release_history" WHERE "label"='london records';
2-11151247-2
Which label was in the United Kingdom region?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "label" FROM "release_history" WHERE "region"='united kingdom';
2-11151247-2
Which date had the catalog designation of ha-m 2230?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "catalog"='ha-m 2230';
2-11151247-2
What is the maximum goals conceded for a team with 2 draws, more than 29 goals and a diff larger than 15?
CREATE TABLE "clausura_2006_standings" ( "place_posici_n" real, "team_equipo" text, "played_pj" real, "won_pg" real, "draw_pe" real, "lost_pp" real, "goals_scored_gf" real, "goals_conceded_gc" real, "dif" real, "points_pts" real );
SELECT MAX("goals_conceded_gc") FROM "clausura_2006_standings" WHERE "draw_pe"=2 AND "goals_scored_gf">29 AND "dif">15;
2-11442591-4
What is the points for a team with more than 9 wins and more than 40 goals?
CREATE TABLE "clausura_2006_standings" ( "place_posici_n" real, "team_equipo" text, "played_pj" real, "won_pg" real, "draw_pe" real, "lost_pp" real, "goals_scored_gf" real, "goals_conceded_gc" real, "dif" real, "points_pts" real );
SELECT SUM("points_pts") FROM "clausura_2006_standings" WHERE "won_pg">9 AND "goals_scored_gf">40;
2-11442591-4
What was the score of the game played in the 2012 Africa Cup of Nations?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "competition"='2012 africa cup of nations';
2-11888977-1
What is the score of the friendly competition?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "competition"='friendly';
2-11888977-1
What venue was the game played on 9 February 2011 played at?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "date"='9 february 2011';
2-11888977-1
What date did NY Rangers play at home?
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "date" FROM "november" WHERE "home"='ny rangers';
2-11801912-4
What is the score of Colorado when they were a visitor and had a Smith decision?
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "score" FROM "november" WHERE "decision"='smith' AND "visitor"='colorado';
2-11801912-4
Who is the runner up when the score was 3–6, 6–3, [10–4]?
CREATE TABLE "2010" ( "tournament" text, "winner" text, "runner_up" text, "score" text, "third_place" text );
SELECT "runner_up" FROM "2010" WHERE "score"='3–6, 6–3, [10–4]';
2-11346282-12
What is the name of the runner up in the Tournament of são paulo?
CREATE TABLE "2010" ( "tournament" text, "winner" text, "runner_up" text, "score" text, "third_place" text );
SELECT "runner_up" FROM "2010" WHERE "tournament"='são paulo';
2-11346282-12
What person is in the third place when Thomas Enqvist won and a Runner-up was guy forget?
CREATE TABLE "2010" ( "tournament" text, "winner" text, "runner_up" text, "score" text, "third_place" text );
SELECT "third_place" FROM "2010" WHERE "winner"='thomas enqvist' AND "runner_up"='guy forget';
2-11346282-12
What tournament was Thomas Enqvist runner up?
CREATE TABLE "2010" ( "tournament" text, "winner" text, "runner_up" text, "score" text, "third_place" text );
SELECT "tournament" FROM "2010" WHERE "runner_up"='thomas enqvist';
2-11346282-12
What is the name of the runner up when yevgeny kafelnikov was third place and the score was 3–6, 6–4, [10–3]?
CREATE TABLE "2010" ( "tournament" text, "winner" text, "runner_up" text, "score" text, "third_place" text );
SELECT "runner_up" FROM "2010" WHERE "third_place"='yevgeny kafelnikov' AND "score"='3–6, 6–4, [10–3]';
2-11346282-12
What is the name of the winner when Goran Ivanišević was in third place?
CREATE TABLE "2010" ( "tournament" text, "winner" text, "runner_up" text, "score" text, "third_place" text );
SELECT "winner" FROM "2010" WHERE "third_place"='goran ivanišević';
2-11346282-12
Which analog channel has a digital channel of 4.1?
CREATE TABLE "television" ( "analog_channel" text, "digital_channel" text, "call_sign" text, "name" text, "network" text );
SELECT "analog_channel" FROM "television" WHERE "digital_channel"='4.1';
2-11527967-2
Which digital channel is named Storm Tracker?
CREATE TABLE "television" ( "analog_channel" text, "digital_channel" text, "call_sign" text, "name" text, "network" text );
SELECT "digital_channel" FROM "television" WHERE "name"='storm tracker';
2-11527967-2
Which analog channel is Fox on?
CREATE TABLE "television" ( "analog_channel" text, "digital_channel" text, "call_sign" text, "name" text, "network" text );
SELECT "analog_channel" FROM "television" WHERE "network"='fox';
2-11527967-2
Name the area president when the area name is south america south
CREATE TABLE "list" ( "area_name" text, "area_headquarters" text, "area_president_quorum" text, "first_counselor_quorum" text, "second_counselor_quorum" text );
SELECT "area_president_quorum" FROM "list" WHERE "area_name"='south america south';
2-12054839-1
Tell me the total number of Grid for Time/Retired of +2 Laps and Laps less than 70
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("grid") FROM "race" WHERE "time_retired"='+2 laps' AND "laps"<70;
2-1123291-2
What year did Shelley Winters win?
CREATE TABLE "list_of_superlative_academy_award_winner" ( "superlative" text, "actress" text, "record_set" text, "year" real, "notes" text );
SELECT "year" FROM "list_of_superlative_academy_award_winner" WHERE "actress"='shelley winters';
2-10966872-7
Which award was won by Gloria Stuart after 1984?
CREATE TABLE "list_of_superlative_academy_award_winner" ( "superlative" text, "actress" text, "record_set" text, "year" real, "notes" text );
SELECT "superlative" FROM "list_of_superlative_academy_award_winner" WHERE "year">1984 AND "actress"='gloria stuart';
2-10966872-7