question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
Name the team for co-drivers of david brabham mario andretti
|
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 "team" FROM "24_hours_of_le_mans_results" WHERE "co_drivers"='david brabham mario andretti';
|
2-1235891-4
|
Name the highest year with points more than 0
|
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
|
SELECT MAX("year") FROM "complete_formula_one_world_championship_" WHERE "points">0;
|
2-1236164-3
|
Name the highest points when year is more than 1953
|
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
|
SELECT MAX("points") FROM "complete_formula_one_world_championship_" WHERE "year">1953;
|
2-1236164-3
|
Name the engine when points are 0 and chassis is kuzma indy roadster for 1954
|
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 "points"=0 AND "chassis"='kuzma indy roadster' AND "year"=1954;
|
2-1236164-3
|
Name the least points with chassis of kurtis kraft 3000 and year before 1951
|
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
|
SELECT MIN("points") FROM "complete_formula_one_world_championship_" WHERE "chassis"='kurtis kraft 3000' AND "year"<1951;
|
2-1236164-3
|
What is the total region population with a Mirani population of 5,220 and a Mackay population less than 75,020?
|
CREATE TABLE "population" (
"year" real,
"total_region" real,
"mackay" real,
"pioneer" real,
"mirani" real,
"sarina" real
);
|
SELECT COUNT("total_region") FROM "population" WHERE "mirani"='5,220' AND "mackay"<'75,020';
|
2-12575949-1
|
What is the Pioneer population with a Sarina population less than 3,268 and a Mirani population less than 4,412?
|
CREATE TABLE "population" (
"year" real,
"total_region" real,
"mackay" real,
"pioneer" real,
"mirani" real,
"sarina" real
);
|
SELECT SUM("pioneer") FROM "population" WHERE "sarina"<'3,268' AND "mirani"<'4,412';
|
2-12575949-1
|
What is the Mirani population with a total region population less than 48,530, a Mackay population less than 13,486, and a Pioneer population larger than 9,926?
|
CREATE TABLE "population" (
"year" real,
"total_region" real,
"mackay" real,
"pioneer" real,
"mirani" real,
"sarina" real
);
|
SELECT SUM("mirani") FROM "population" WHERE "total_region"<'48,530' AND "mackay"<'13,486' AND "pioneer">'9,926';
|
2-12575949-1
|
What is the lowest Pioneer population in 1966 with a Sarina population greater than 4,611?
|
CREATE TABLE "population" (
"year" real,
"total_region" real,
"mackay" real,
"pioneer" real,
"mirani" real,
"sarina" real
);
|
SELECT MIN("pioneer") FROM "population" WHERE "year"=1966 AND "sarina">'4,611';
|
2-12575949-1
|
What is the lowest Pioneer population with a Sarina population less than 7,537 and a Mirani population less than 5,379 in 1966?
|
CREATE TABLE "population" (
"year" real,
"total_region" real,
"mackay" real,
"pioneer" real,
"mirani" real,
"sarina" real
);
|
SELECT MIN("pioneer") FROM "population" WHERE "sarina"<'7,537' AND "year"=1966 AND "mirani"<'5,379';
|
2-12575949-1
|
What is the year of the TV series directed by Soroush Sehat?
|
CREATE TABLE "tv_series" (
"year" text,
"title" text,
"title_in_english" text,
"director" text,
"character" text
);
|
SELECT "year" FROM "tv_series" WHERE "director"='soroush sehat';
|
2-13012513-1
|
What is the title of the TV series with a character of Sheyda/Ashraf?
|
CREATE TABLE "tv_series" (
"year" text,
"title" text,
"title_in_english" text,
"director" text,
"character" text
);
|
SELECT "title" FROM "tv_series" WHERE "character"='sheyda/ashraf';
|
2-13012513-1
|
What is the year of the TV series that has a character of Leiloon Bala Barareh?
|
CREATE TABLE "tv_series" (
"year" text,
"title" text,
"title_in_english" text,
"director" text,
"character" text
);
|
SELECT "year" FROM "tv_series" WHERE "character"='leiloon bala barareh';
|
2-13012513-1
|
What is the title of the TV series in 2012?
|
CREATE TABLE "tv_series" (
"year" text,
"title" text,
"title_in_english" text,
"director" text,
"character" text
);
|
SELECT "title" FROM "tv_series" WHERE "year"='2012';
|
2-13012513-1
|
Who published Star Citizen in 2014?
|
CREATE TABLE "cry_engine" (
"title" text,
"year" text,
"developer" text,
"publisher" text,
"platform" text
);
|
SELECT "publisher" FROM "cry_engine" WHERE "year"='2014' AND "title"='star citizen';
|
2-1241866-4
|
Which title was developed by Battlecry Studios?
|
CREATE TABLE "cry_engine" (
"title" text,
"year" text,
"developer" text,
"publisher" text,
"platform" text
);
|
SELECT "title" FROM "cry_engine" WHERE "developer"='battlecry studios';
|
2-1241866-4
|
How many people were at the match on July 13/
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "attendance" FROM "game_log" WHERE "date"='july 13';
|
2-12206178-5
|
Who was the opponent on July 27?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "opponent" FROM "game_log" WHERE "date"='july 27';
|
2-12206178-5
|
For Ynysybwl RFC, what was the losing bonus for 416 points?
|
CREATE TABLE "2009_2010_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "losing_bonus" FROM "2009_2010_table" WHERE "points_for"='416' AND "club"='ynysybwl rfc';
|
2-12807904-3
|
For the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn?
|
CREATE TABLE "2009_2010_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "drawn" FROM "2009_2010_table" WHERE "played"='22' AND "points_against"='453' AND "losing_bonus"='5';
|
2-12807904-3
|
For the club that had tries of 50 and drawn of 0, what were the points?
|
CREATE TABLE "2009_2010_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points_against" FROM "2009_2010_table" WHERE "drawn"='0' AND "tries_for"='50';
|
2-12807904-3
|
The club that had 546 points against, what was the losing bonus?
|
CREATE TABLE "2009_2010_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "losing_bonus" FROM "2009_2010_table" WHERE "points_against"='546';
|
2-12807904-3
|
What is the lost of Ynysybwl RFC?
|
CREATE TABLE "2009_2010_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "lost" FROM "2009_2010_table" WHERE "club"='ynysybwl rfc';
|
2-12807904-3
|
How many points does Club have?
|
CREATE TABLE "2009_2010_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points" FROM "2009_2010_table" WHERE "club"='club';
|
2-12807904-3
|
When is Part 6, when Part 4 is on March 2, 2008?
|
CREATE TABLE "online_episodes" (
"episode_num" real,
"title" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"part_5" text,
"part_6" text
);
|
SELECT "part_6" FROM "online_episodes" WHERE "part_4"='march 2, 2008';
|
2-13241993-3
|
What is the Title, when the Episode # is after 2, and when Part 6 is on January 6, 2008?
|
CREATE TABLE "online_episodes" (
"episode_num" real,
"title" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"part_5" text,
"part_6" text
);
|
SELECT "title" FROM "online_episodes" WHERE "episode_num">2 AND "part_6"='january 6, 2008';
|
2-13241993-3
|
When is Part 2, when Part 4 is on December 9, 2007?
|
CREATE TABLE "online_episodes" (
"episode_num" real,
"title" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"part_5" text,
"part_6" text
);
|
SELECT "part_2" FROM "online_episodes" WHERE "part_4"='december 9, 2007';
|
2-13241993-3
|
When is Part 1, when Part 4 is on February 10, 2008?
|
CREATE TABLE "online_episodes" (
"episode_num" real,
"title" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"part_5" text,
"part_6" text
);
|
SELECT "part_1" FROM "online_episodes" WHERE "part_4"='february 10, 2008';
|
2-13241993-3
|
When is Part 2, when Part 5 is on January 24, 2008?
|
CREATE TABLE "online_episodes" (
"episode_num" real,
"title" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"part_5" text,
"part_6" text
);
|
SELECT "part_2" FROM "online_episodes" WHERE "part_5"='january 24, 2008';
|
2-13241993-3
|
Who was the finals opponent on the hard surface tournament?
|
CREATE TABLE "singles_5" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
|
SELECT "opponent_in_the_final" FROM "singles_5" WHERE "surface"='hard';
|
2-13141391-2
|
Which surface was played during Curitiba tournament?
|
CREATE TABLE "singles_5" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
|
SELECT "surface" FROM "singles_5" WHERE "tournament"='curitiba';
|
2-13141391-2
|
What is the highest round for UFC 109?
|
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"location" text
);
|
SELECT MAX("round") FROM "mixed_martial_arts_record" WHERE "event"='ufc 109';
|
2-12614827-2
|
What round was the opponent Manny Gamburyan?
|
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"location" text
);
|
SELECT "round" FROM "mixed_martial_arts_record" WHERE "opponent"='manny gamburyan';
|
2-12614827-2
|
What was the earliest week that had an attendance of less than 16,375, for a game played on November 22, 1964?
|
CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
|
SELECT MIN("week") FROM "season_schedule" WHERE "attendance"<'16,375' AND "date"='november 22, 1964';
|
2-12828281-1
|
What was the week of the game played December 6, 1964?
|
CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
|
SELECT SUM("week") FROM "season_schedule" WHERE "date"='december 6, 1964';
|
2-12828281-1
|
What is the fewest losses that had an against score of 2190 and more than 0 draws?
|
CREATE TABLE "2010_ladder" (
"bellarine_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
|
SELECT MIN("losses") FROM "2010_ladder" WHERE "against"=2190 AND "draws">0;
|
2-13152565-6
|
What is the fewest number of draws for teams with more than 0 byes?
|
CREATE TABLE "2010_ladder" (
"bellarine_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
|
SELECT MIN("draws") FROM "2010_ladder" WHERE "byes">0;
|
2-13152565-6
|
What is the sum of losses for Geelong Amateur, with 0 byes?
|
CREATE TABLE "2010_ladder" (
"bellarine_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
|
SELECT SUM("losses") FROM "2010_ladder" WHERE "bellarine_fl"='geelong amateur' AND "byes"<0;
|
2-13152565-6
|
What is the sum of the number of wins for teams with more than 0 draws?
|
CREATE TABLE "2010_ladder" (
"bellarine_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
|
SELECT SUM("wins") FROM "2010_ladder" WHERE "draws">0;
|
2-13152565-6
|
What is the Stadium that hosts the team Jacksonville Jaguars?
|
CREATE TABLE "2008_season" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
|
SELECT "stadium" FROM "2008_season" WHERE "host_team"='jacksonville jaguars';
|
2-12771946-3
|
What stadium was used on November 13?
|
CREATE TABLE "2008_season" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
|
SELECT "stadium" FROM "2008_season" WHERE "date"='november 13';
|
2-12771946-3
|
What is the host team with the stadium Lincoln Financial Field?
|
CREATE TABLE "2008_season" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
|
SELECT "host_team" FROM "2008_season" WHERE "stadium"='lincoln financial field';
|
2-12771946-3
|
What team visited the Cleveland Browns Stadium?
|
CREATE TABLE "2008_season" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
|
SELECT "visiting_team" FROM "2008_season" WHERE "stadium"='cleveland browns stadium';
|
2-12771946-3
|
What stadium did the Denver Broncos visit?
|
CREATE TABLE "2008_season" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
|
SELECT "stadium" FROM "2008_season" WHERE "visiting_team"='denver broncos';
|
2-12771946-3
|
What team visited the Jacksonville Municipal Stadium?
|
CREATE TABLE "2008_season" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
|
SELECT "visiting_team" FROM "2008_season" WHERE "stadium"='jacksonville municipal stadium';
|
2-12771946-3
|
How many people boarded and de-boarded the Amtrak in Linthicum?
|
CREATE TABLE "list" (
"rank" real,
"station" text,
"city" text,
"state" text,
"boardings_and_deboardings" real
);
|
SELECT COUNT("boardings_and_deboardings") FROM "list" WHERE "city"='linthicum';
|
2-12515908-1
|
In California what was the total rank at Irvine station when the number of boarding and deboardings was less than 683,626?
|
CREATE TABLE "list" (
"rank" real,
"station" text,
"city" text,
"state" text,
"boardings_and_deboardings" real
);
|
SELECT SUM("rank") FROM "list" WHERE "boardings_and_deboardings"<'683,626' AND "state"='california' AND "station"='irvine station';
|
2-12515908-1
|
At south station what was the total rank when boarding and deboardings were smaller than 1,360,162?
|
CREATE TABLE "list" (
"rank" real,
"station" text,
"city" text,
"state" text,
"boardings_and_deboardings" real
);
|
SELECT SUM("rank") FROM "list" WHERE "station"='south station' AND "boardings_and_deboardings"<'1,360,162';
|
2-12515908-1
|
Which is the highest rank that has 8,995,551 boardings and deboardings?
|
CREATE TABLE "list" (
"rank" real,
"station" text,
"city" text,
"state" text,
"boardings_and_deboardings" real
);
|
SELECT MAX("rank") FROM "list" WHERE "boardings_and_deboardings"='8,995,551';
|
2-12515908-1
|
The Europe listing of 00 0 0 (0) also has what listed as the total?
|
CREATE TABLE "most_appearances" (
"name" text,
"years" text,
"league" text,
"fa_cup" text,
"league_cup" text,
"europe" text,
"other_c" text,
"total" text
);
|
SELECT "total" FROM "most_appearances" WHERE "europe"='00 0 0 (0)';
|
2-12783587-1
|
The league of 400 (21) has what years listed?
|
CREATE TABLE "most_appearances" (
"name" text,
"years" text,
"league" text,
"fa_cup" text,
"league_cup" text,
"europe" text,
"other_c" text,
"total" text
);
|
SELECT "years" FROM "most_appearances" WHERE "league"='400 (21)';
|
2-12783587-1
|
With a FA Cup of 0 44 0 (0), the other [C] is listed as what?
|
CREATE TABLE "most_appearances" (
"name" text,
"years" text,
"league" text,
"fa_cup" text,
"league_cup" text,
"europe" text,
"other_c" text,
"total" text
);
|
SELECT "other_c" FROM "most_appearances" WHERE "fa_cup"='0 44 0 (0)';
|
2-12783587-1
|
The Europe listing of 117 0 (8) belongs to what league?
|
CREATE TABLE "most_appearances" (
"name" text,
"years" text,
"league" text,
"fa_cup" text,
"league_cup" text,
"europe" text,
"other_c" text,
"total" text
);
|
SELECT "league" FROM "most_appearances" WHERE "europe"='117 0 (8)';
|
2-12783587-1
|
The League Cup of 0 40 0 (6) also has what listed in the Europe column?
|
CREATE TABLE "most_appearances" (
"name" text,
"years" text,
"league" text,
"fa_cup" text,
"league_cup" text,
"europe" text,
"other_c" text,
"total" text
);
|
SELECT "europe" FROM "most_appearances" WHERE "league_cup"='0 40 0 (6)';
|
2-12783587-1
|
The other [C] of 0 12 0 (0) belongs to what FA Cup?
|
CREATE TABLE "most_appearances" (
"name" text,
"years" text,
"league" text,
"fa_cup" text,
"league_cup" text,
"europe" text,
"other_c" text,
"total" text
);
|
SELECT "fa_cup" FROM "most_appearances" WHERE "other_c"='0 12 0 (0)';
|
2-12783587-1
|
What is the lowest VIII Edition Gold with a Silver of 4?
|
CREATE TABLE "summer" (
"year" text,
"edition" text,
"host_city" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT MIN("gold") FROM "summer" WHERE "silver"=4 AND "edition"='viii';
|
2-12449312-2
|
What is the highest Edition I Bronze with a Gold higher than 9 and a Silver higher than 10?
|
CREATE TABLE "summer" (
"year" text,
"edition" text,
"host_city" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT MAX("bronze") FROM "summer" WHERE "silver">10 AND "edition"='i' AND "gold">9;
|
2-12449312-2
|
What's the Total for a Mexico City game with a Gold of less than 4 and a Bronze of less than 2?
|
CREATE TABLE "summer" (
"year" text,
"edition" text,
"host_city" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT COUNT("total") FROM "summer" WHERE "host_city"='mexico city' AND "gold"<4 AND "bronze"<2;
|
2-12449312-2
|
Which Host City has more than 6 Silver and a Total of 22?
|
CREATE TABLE "summer" (
"year" text,
"edition" text,
"host_city" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT "host_city" FROM "summer" WHERE "silver">6 AND "total"=22;
|
2-12449312-2
|
What was the time for tracks before 19 on 8/26/69?
|
CREATE TABLE "disc_four" (
"track" real,
"recorded" text,
"catalogue" text,
"release_date" text,
"song_title" text,
"writer_s" text,
"time" text
);
|
SELECT "time" FROM "disc_four" WHERE "release_date"='8/26/69' AND "track"<19;
|
2-12378355-5
|
Which venue has a note of AM?
|
CREATE TABLE "long_course_50_meter_pool" (
"event" text,
"time" text,
"venue" text,
"date" text,
"notes" text
);
|
SELECT "venue" FROM "long_course_50_meter_pool" WHERE "notes"='am';
|
2-12627202-1
|
What is the time associated with August 16, 2008?
|
CREATE TABLE "long_course_50_meter_pool" (
"event" text,
"time" text,
"venue" text,
"date" text,
"notes" text
);
|
SELECT "time" FROM "long_course_50_meter_pool" WHERE "date"='august 16, 2008';
|
2-12627202-1
|
Which event was held in Beijing?
|
CREATE TABLE "long_course_50_meter_pool" (
"event" text,
"time" text,
"venue" text,
"date" text,
"notes" text
);
|
SELECT "event" FROM "long_course_50_meter_pool" WHERE "venue"='beijing';
|
2-12627202-1
|
For a venue of Rome on July 30, 2009, what are the notes?
|
CREATE TABLE "long_course_50_meter_pool" (
"event" text,
"time" text,
"venue" text,
"date" text,
"notes" text
);
|
SELECT "notes" FROM "long_course_50_meter_pool" WHERE "venue"='rome' AND "date"='july 30, 2009';
|
2-12627202-1
|
Name the score for october 9
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"series" text
);
|
SELECT "score" FROM "game_log" WHERE "date"='october 9';
|
2-12206431-8
|
Name the loss for series 2-2
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"series" text
);
|
SELECT "loss" FROM "game_log" WHERE "series"='2-2';
|
2-12206431-8
|
Name the total number of attendance for october 8
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"series" text
);
|
SELECT COUNT("attendance") FROM "game_log" WHERE "date"='october 8';
|
2-12206431-8
|
Which engine did Élie Bayol use when they earned 0 points?
|
CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
|
SELECT "engine" FROM "complete_formula_one_results" WHERE "points"=0 AND "entrant"='élie bayol';
|
2-1228323-1
|
What season had the highest attendance/g than 3,289?
|
CREATE TABLE "record_as_j_league_member" (
"season" real,
"div" text,
"tms" real,
"pos" real,
"attendance_g" real,
"j_league_cup" text,
"emperor_s_cup" text
);
|
SELECT MAX("season") FROM "record_as_j_league_member" WHERE "attendance_g"<'3,289';
|
2-1276456-1
|
What year had 13 points?
|
CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"pts" real
);
|
SELECT "year" FROM "complete_formula_one_results" WHERE "pts"=13;
|
2-1226505-3
|
Which chassis has a year later than 1964, a Ford engine, and 13 points?
|
CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"pts" real
);
|
SELECT "chassis" FROM "complete_formula_one_results" WHERE "year">1964 AND "engine"='ford' AND "pts"=13;
|
2-1226505-3
|
Which entrant has fewer than 12 points, a Climax engine, and a Lotus 24 chassis?
|
CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"pts" real
);
|
SELECT "entrant" FROM "complete_formula_one_results" WHERE "pts"<12 AND "engine"='climax' AND "chassis"='lotus 24';
|
2-1226505-3
|
In 1972, what was the highest number of points with a Ford engine and an entrant of Brooke Bond Oxo Team Surtees?
|
CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"pts" real
);
|
SELECT MAX("pts") FROM "complete_formula_one_results" WHERE "engine"='ford' AND "entrant"='brooke bond oxo team surtees' AND "year"=1972;
|
2-1226505-3
|
What year had a Ford engine and 13 points?
|
CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"pts" real
);
|
SELECT "year" FROM "complete_formula_one_results" WHERE "engine"='ford' AND "pts"=13;
|
2-1226505-3
|
What is the ERP for the Rockhampton region?
|
CREATE TABLE "main_transmitters" (
"region_served" text,
"city" text,
"channels_analog_digital" text,
"first_air_date" text,
"erp_analog_digital" text,
"haat_analog_digital_1" text,
"transmitter_location" text
);
|
SELECT "erp_analog_digital" FROM "main_transmitters" WHERE "region_served"='rockhampton';
|
2-12112313-1
|
What channels first aired on 31 December 1990 in the Southern Downs region?
|
CREATE TABLE "main_transmitters" (
"region_served" text,
"city" text,
"channels_analog_digital" text,
"first_air_date" text,
"erp_analog_digital" text,
"haat_analog_digital_1" text,
"transmitter_location" text
);
|
SELECT "channels_analog_digital" FROM "main_transmitters" WHERE "first_air_date"='31 december 1990' AND "region_served"='southern downs';
|
2-12112313-1
|
What is the transmitter location for city of Maryborough?
|
CREATE TABLE "main_transmitters" (
"region_served" text,
"city" text,
"channels_analog_digital" text,
"first_air_date" text,
"erp_analog_digital" text,
"haat_analog_digital_1" text,
"transmitter_location" text
);
|
SELECT "transmitter_location" FROM "main_transmitters" WHERE "city"='maryborough';
|
2-12112313-1
|
What is the ERP for the Mount Goonaneman transmitter?
|
CREATE TABLE "main_transmitters" (
"region_served" text,
"city" text,
"channels_analog_digital" text,
"first_air_date" text,
"erp_analog_digital" text,
"haat_analog_digital_1" text,
"transmitter_location" text
);
|
SELECT "erp_analog_digital" FROM "main_transmitters" WHERE "transmitter_location"='mount goonaneman';
|
2-12112313-1
|
Which number has 11 males?
|
CREATE TABLE "language" (
"language" text,
"number" text,
"percentage_pct" text,
"males" text,
"females" text
);
|
SELECT "number" FROM "language" WHERE "males"='11';
|
2-12334207-1
|
What is the time for a lane less than 6, and a heat less than 4 for Joanne Malar?
|
CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT "time" FROM "heats" WHERE "lane"<6 AND "heat"<4 AND "name"='joanne malar';
|
2-12446587-3
|
What is the largest heat with a time of 4:57.90, and a Rank larger than 22?
|
CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT MAX("heat") FROM "heats" WHERE "time"='4:57.90' AND "rank">22;
|
2-12446587-3
|
What is the time for Adi Bichman?
|
CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT "time" FROM "heats" WHERE "name"='adi bichman';
|
2-12446587-3
|
What is the total attendance at games against the New York Mets with a record of 18-18?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT COUNT("attendance") FROM "game_log" WHERE "opponent"='new york mets' AND "record"='18-18';
|
2-13041545-4
|
What is the total attendance at games with a score of 4-2?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT COUNT("attendance") FROM "game_log" WHERE "score"='4-2';
|
2-13041545-4
|
On what date did the New York Giants host a game?
|
CREATE TABLE "1987" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
|
SELECT "date" FROM "1987" WHERE "host_team"='new york giants';
|
2-13193466-2
|
Who was the host team for the game on December 27?
|
CREATE TABLE "1987" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
|
SELECT "host_team" FROM "1987" WHERE "date"='december 27';
|
2-13193466-2
|
What was the final score of the game at Texas Stadium?
|
CREATE TABLE "1987" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
|
SELECT "final_score" FROM "1987" WHERE "stadium"='texas stadium';
|
2-13193466-2
|
Who was the visiting team who played at the hubert h. humphrey metrodome stadium?
|
CREATE TABLE "1987" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
|
SELECT "visiting_team" FROM "1987" WHERE "stadium"='hubert h. humphrey metrodome';
|
2-13193466-2
|
When did the New England Patriots play as the visiting team?
|
CREATE TABLE "1987" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
|
SELECT "date" FROM "1987" WHERE "visiting_team"='new england patriots';
|
2-13193466-2
|
At which stadium did the Los Angeles Raiders play as the visiting team?
|
CREATE TABLE "1987" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
|
SELECT "stadium" FROM "1987" WHERE "visiting_team"='los angeles raiders';
|
2-13193466-2
|
Who is 1.92 m tall and a current club member of Montepaschi Siena
|
CREATE TABLE "fiba_euro_basket_2007_squads" (
"player" text,
"height" real,
"position" text,
"year_born" real,
"current_club" text
);
|
SELECT "player" FROM "fiba_euro_basket_2007_squads" WHERE "height"=1.92 AND "current_club"='montepaschi siena';
|
2-12962773-10
|
Which date has a Tournament of la quinta?
|
CREATE TABLE "singles_finals_2_titles_4_runner_ups" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
|
SELECT "date" FROM "singles_finals_2_titles_4_runner_ups" WHERE "tournament"='la quinta';
|
2-12213761-2
|
Which date has a Surface of carpet (i)?
|
CREATE TABLE "singles_finals_2_titles_4_runner_ups" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
|
SELECT "date" FROM "singles_finals_2_titles_4_runner_ups" WHERE "surface"='carpet (i)';
|
2-12213761-2
|
Which tournament has a Date of april 20, 1987?
|
CREATE TABLE "singles_finals_2_titles_4_runner_ups" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
|
SELECT "tournament" FROM "singles_finals_2_titles_4_runner_ups" WHERE "date"='april 20, 1987';
|
2-12213761-2
|
Which Opponent has a Surface of hardcourt, an Outcome of runner-up, and a Tournament of honolulu?
|
CREATE TABLE "singles_finals_2_titles_4_runner_ups" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
|
SELECT "opponent" FROM "singles_finals_2_titles_4_runner_ups" WHERE "surface"='hardcourt' AND "outcome"='runner-up' AND "tournament"='honolulu';
|
2-12213761-2
|
Which Tournament has a Score of 6–4, 6–4?
|
CREATE TABLE "singles_finals_2_titles_4_runner_ups" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
|
SELECT "tournament" FROM "singles_finals_2_titles_4_runner_ups" WHERE "score"='6–4, 6–4';
|
2-12213761-2
|
Which score has a Surface of hardcourt, and a Date of september 30, 1984?
|
CREATE TABLE "singles_finals_2_titles_4_runner_ups" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
|
SELECT "score" FROM "singles_finals_2_titles_4_runner_ups" WHERE "surface"='hardcourt' AND "date"='september 30, 1984';
|
2-12213761-2
|
What is the lowest group number that has a Fraction less than 0.000748, a Half-Life of 55.72 and a Decay Constant larger than 0.012400000000000001?
|
CREATE TABLE "principle" (
"group" real,
"half_life_s" real,
"decay_constant_s_1" real,
"yield_neutrons_per_fission" real,
"fraction" real
);
|
SELECT MIN("group") FROM "principle" WHERE "fraction"<0.000748 AND "half_life_s"=55.72 AND "decay_constant_s_1">0.012400000000000001;
|
2-1221448-1
|
What is the lowest Half-Life with a Yield, Neutrons per Fission greater than 0.0054600000000000004 and a Fraction less than 0.002568?
|
CREATE TABLE "principle" (
"group" real,
"half_life_s" real,
"decay_constant_s_1" real,
"yield_neutrons_per_fission" real,
"fraction" real
);
|
SELECT MIN("half_life_s") FROM "principle" WHERE "yield_neutrons_per_fission">0.0054600000000000004 AND "fraction"<0.002568;
|
2-1221448-1
|
What was the date of the game with a loss of Wakefield (5-2)?
|
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
|
SELECT "date" FROM "game_log" WHERE "loss"='wakefield (5-2)';
|
2-12206127-4
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.