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 quantity made of the locomotive with a Waterford class? | CREATE TABLE "sligo_leitrim_and_northern_counties_rail" (
"class" text,
"type" text,
"names" text,
"quantity_made" text,
"manufacturer" text,
"date_made" text
); | SELECT "quantity_made" FROM "sligo_leitrim_and_northern_counties_rail" WHERE "class"='waterford'; | 2-1290024-14 |
What is the class of the locomotive with a quantity made of 1 and a 0-6-0t type? | CREATE TABLE "sligo_leitrim_and_northern_counties_rail" (
"class" text,
"type" text,
"names" text,
"quantity_made" text,
"manufacturer" text,
"date_made" text
); | SELECT "class" FROM "sligo_leitrim_and_northern_counties_rail" WHERE "quantity_made"='1' AND "type"='0-6-0t'; | 2-1290024-14 |
What is the class of the locomotive with a 0-4-0st type? | CREATE TABLE "sligo_leitrim_and_northern_counties_rail" (
"class" text,
"type" text,
"names" text,
"quantity_made" text,
"manufacturer" text,
"date_made" text
); | SELECT "class" FROM "sligo_leitrim_and_northern_counties_rail" WHERE "type"='0-4-0st'; | 2-1290024-14 |
What is the name of the locomotive with a Glencar class? | CREATE TABLE "sligo_leitrim_and_northern_counties_rail" (
"class" text,
"type" text,
"names" text,
"quantity_made" text,
"manufacturer" text,
"date_made" text
); | SELECT "names" FROM "sligo_leitrim_and_northern_counties_rail" WHERE "class"='glencar'; | 2-1290024-14 |
What country has signed type moving from porto? | CREATE TABLE "in" (
"name" text,
"country" text,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT "country" FROM "in" WHERE "type"='signed' AND "moving_from"='porto'; | 2-12217273-5 |
Which transfer window was moving from borussia dortmund? | CREATE TABLE "in" (
"name" text,
"country" text,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT "transfer_window" FROM "in" WHERE "moving_from"='borussia dortmund'; | 2-12217273-5 |
What is moving from esp with transfer fee of youth system? | CREATE TABLE "in" (
"name" text,
"country" text,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT "moving_from" FROM "in" WHERE "country"='esp' AND "transfer_fee"='youth system'; | 2-12217273-5 |
What is the transfer window in esp with promoted type and more than 2010 ends? | CREATE TABLE "in" (
"name" text,
"country" text,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT "transfer_window" FROM "in" WHERE "country"='esp' AND "type"='promoted' AND "ends">2010; | 2-12217273-5 |
Who is the week 12 for the week 2 with Magda Tomek? | CREATE TABLE "nominations" (
"week_2" text,
"week_4" text,
"week_6" text,
"week_11" text,
"week_12" text,
"week_13" text,
"week_15" text
); | SELECT "week_12" FROM "nominations" WHERE "week_2"='magda tomek'; | 2-12564305-6 |
Who is the week 12 for the week 4 of Gerard Ewelina? | CREATE TABLE "nominations" (
"week_2" text,
"week_4" text,
"week_6" text,
"week_11" text,
"week_12" text,
"week_13" text,
"week_15" text
); | SELECT "week_12" FROM "nominations" WHERE "week_4"='gerard ewelina'; | 2-12564305-6 |
Who was the leader in Points when Al Jefferson (7) was the leader in Rebounds? | CREATE TABLE "usa" (
"year" real,
"points" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text
); | SELECT "points" FROM "usa" WHERE "rebounds"='al jefferson (7)'; | 2-13050003-2 |
Who was the leader in Steals when Travis Watson (9) was the leader in Rebounds? | CREATE TABLE "usa" (
"year" real,
"points" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text
); | SELECT "steals" FROM "usa" WHERE "rebounds"='travis watson (9)'; | 2-13050003-2 |
What was the 1st Year Al Harrington (9) the leader in Rebounds? | CREATE TABLE "usa" (
"year" real,
"points" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text
); | SELECT MIN("year") FROM "usa" WHERE "rebounds"='al harrington (9)'; | 2-13050003-2 |
Who was the leader in Points with Assists of 2 tied (5) and Steals of 3 tied (2)? | CREATE TABLE "usa" (
"year" real,
"points" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text
); | SELECT "points" FROM "usa" WHERE "steals"='3 tied (2)' AND "assists"='2 tied (5)'; | 2-13050003-2 |
Name the average with tally of 0-29 and total more than 29 | CREATE TABLE "top_scorers" (
"player" text,
"county" text,
"tally" text,
"total" real,
"matches" real,
"average" real
); | SELECT AVG("average") FROM "top_scorers" WHERE "tally"='0-29' AND "total">29; | 2-12889485-2 |
Name the tally with total less than 27 and average more than 3.41 | CREATE TABLE "top_scorers" (
"player" text,
"county" text,
"tally" text,
"total" real,
"matches" real,
"average" real
); | SELECT "tally" FROM "top_scorers" WHERE "total"<27 AND "average">3.41; | 2-12889485-2 |
For engines of Maserati Straight-6 and entrants of H H Gould, what is the latest year? | 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 "engine"='maserati straight-6' AND "entrant"='h h gould'; | 2-1235886-1 |
What is the fewest number of points scored by Goulds' Garage (Bristol), engines of Maserati Straight-6, in years before 1956? | 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 "entrant"='goulds'' garage (bristol)' AND "engine"='maserati straight-6' AND "year"<1956; | 2-1235886-1 |
Which chassis has fewer than 2 points, entrants of Goulds' Garage (Bristol), in 1954? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "points"<2 AND "entrant"='goulds'' garage (bristol)' AND "year"=1954; | 2-1235886-1 |
What is the most points that the Maserati 250F chassis scored in years after 1955? | 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 "chassis"='maserati 250f' AND "year">1955; | 2-1235886-1 |
Which engine has a year larger than 1956? | 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 "year">1956; | 2-1235886-1 |
What is the lowest age of an astronaut named Stu Roosa? | CREATE TABLE "apollo_astronauts_who_flew_to_the_moon_w" (
"name" text,
"born" text,
"age_on_mission" real,
"mission" text,
"mission_dates" text,
"service" text
); | SELECT MIN("age_on_mission") FROM "apollo_astronauts_who_flew_to_the_moon_w" WHERE "name"='stu roosa'; | 2-129540-2 |
What mission did the astronaut who 38 years old on the mission and who served in NASA serve on? | CREATE TABLE "apollo_astronauts_who_flew_to_the_moon_w" (
"name" text,
"born" text,
"age_on_mission" real,
"mission" text,
"mission_dates" text,
"service" text
); | SELECT "mission" FROM "apollo_astronauts_who_flew_to_the_moon_w" WHERE "service"='nasa' AND "age_on_mission"=38; | 2-129540-2 |
what is the type of lithium when rubidium is nabr (1.9)? | CREATE TABLE "properties" (
"lithium" text,
"sodium" text,
"potassium" text,
"rubidium" text,
"caesium" text
); | SELECT "lithium" FROM "properties" WHERE "rubidium"='nabr (1.9)'; | 2-12527791-1 |
what is the properties of sodium when rubidium is nacl (2.1)? | CREATE TABLE "properties" (
"lithium" text,
"sodium" text,
"potassium" text,
"rubidium" text,
"caesium" text
); | SELECT "sodium" FROM "properties" WHERE "rubidium"='nacl (2.1)'; | 2-12527791-1 |
what is the properties of potassium when lithium is h a l o g e n s and sodium is bromine? | CREATE TABLE "properties" (
"lithium" text,
"sodium" text,
"potassium" text,
"rubidium" text,
"caesium" text
); | SELECT "potassium" FROM "properties" WHERE "lithium"='h a l o g e n s' AND "sodium"='bromine'; | 2-12527791-1 |
what is the properties of lithium when caesium is ki (1.7)? | CREATE TABLE "properties" (
"lithium" text,
"sodium" text,
"potassium" text,
"rubidium" text,
"caesium" text
); | SELECT "lithium" FROM "properties" WHERE "caesium"='ki (1.7)'; | 2-12527791-1 |
what is the properties of sodium when lithium is h a l o g e n s and rubidium is nacl (2.1)? | CREATE TABLE "properties" (
"lithium" text,
"sodium" text,
"potassium" text,
"rubidium" text,
"caesium" text
); | SELECT "sodium" FROM "properties" WHERE "lithium"='h a l o g e n s' AND "rubidium"='nacl (2.1)'; | 2-12527791-1 |
what is the properties of sodium when potassium is lii (1.5)? | CREATE TABLE "properties" (
"lithium" text,
"sodium" text,
"potassium" text,
"rubidium" text,
"caesium" text
); | SELECT "sodium" FROM "properties" WHERE "potassium"='lii (1.5)'; | 2-12527791-1 |
Which prime mover had a Model of rs-18? | CREATE TABLE "rs_series_b_b" (
"model" text,
"specification" text,
"build_date" text,
"total_produced" real,
"wheel_arrangement" text,
"prime_mover" text,
"power_output" text
); | SELECT "prime_mover" FROM "rs_series_b_b" WHERE "model"='rs-18'; | 2-1257252-3 |
Which model had a Specification of dl-718? | CREATE TABLE "rs_series_b_b" (
"model" text,
"specification" text,
"build_date" text,
"total_produced" real,
"wheel_arrangement" text,
"prime_mover" text,
"power_output" text
); | SELECT "model" FROM "rs_series_b_b" WHERE "specification"='dl-718'; | 2-1257252-3 |
Which power output had a Build date of 1951–1956? | CREATE TABLE "rs_series_b_b" (
"model" text,
"specification" text,
"build_date" text,
"total_produced" real,
"wheel_arrangement" text,
"prime_mover" text,
"power_output" text
); | SELECT "power_output" FROM "rs_series_b_b" WHERE "build_date"='1951–1956'; | 2-1257252-3 |
Which wheel arrangement had a Specification of dl-700? | CREATE TABLE "rs_series_b_b" (
"model" text,
"specification" text,
"build_date" text,
"total_produced" real,
"wheel_arrangement" text,
"prime_mover" text,
"power_output" text
); | SELECT "wheel_arrangement" FROM "rs_series_b_b" WHERE "specification"='dl-700'; | 2-1257252-3 |
Who is the player born before 1985 who is less than 2.02 tall? | 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 "year_born"<1985 AND "height"<2.02; | 2-12962773-5 |
Who is the player who was born before 1980 who currently plays for the Toronto Raptors? | 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 "year_born"<1980 AND "current_club"='toronto raptors'; | 2-12962773-5 |
What position does Sergio Rodríguez, who is less than 1.96 tall and was born after 1980, play? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"player" text,
"height" real,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "position" FROM "fiba_euro_basket_2007_squads" WHERE "height"<1.96 AND "year_born">1980 AND "player"='sergio rodríguez'; | 2-12962773-5 |
What year was the Guard who currently plays for the Memphis Grizzlies born? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"player" text,
"height" real,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "year_born" FROM "fiba_euro_basket_2007_squads" WHERE "position"='guard' AND "current_club"='memphis grizzlies'; | 2-12962773-5 |
What is the height of the Forward who currently plays for the Toronto Raptors? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"player" text,
"height" real,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "height" FROM "fiba_euro_basket_2007_squads" WHERE "position"='forward' AND "current_club"='toronto raptors'; | 2-12962773-5 |
Date of 24 september 2002 is what group position? | CREATE TABLE "group_stage" (
"date" text,
"opponents" text,
"result_f_a" text,
"attendance" real,
"group_position" text
); | SELECT "group_position" FROM "group_stage" WHERE "date"='24 september 2002'; | 2-13167639-7 |
Attendance larger than 63,439, and an Opponent of bayer leverkusen had what result? | CREATE TABLE "group_stage" (
"date" text,
"opponents" text,
"result_f_a" text,
"attendance" real,
"group_position" text
); | SELECT "result_f_a" FROM "group_stage" WHERE "attendance">'63,439' AND "opponents"='bayer leverkusen'; | 2-13167639-7 |
Date of 24 september 2002 had what F-A result? | CREATE TABLE "group_stage" (
"date" text,
"opponents" text,
"result_f_a" text,
"attendance" real,
"group_position" text
); | SELECT "result_f_a" FROM "group_stage" WHERE "date"='24 september 2002'; | 2-13167639-7 |
Result F–A of 2–0 had what total number of attendance? | CREATE TABLE "group_stage" (
"date" text,
"opponents" text,
"result_f_a" text,
"attendance" real,
"group_position" text
); | SELECT COUNT("attendance") FROM "group_stage" WHERE "result_f_a"='2–0'; | 2-13167639-7 |
What was the score of the game with a loss of Myers (5-6)? | CREATE TABLE "july" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text
); | SELECT "score" FROM "july" WHERE "loss"='myers (5-6)'; | 2-12164513-4 |
What was the loss of the game attended by 41,212? | CREATE TABLE "july" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text
); | SELECT "loss" FROM "july" WHERE "attendance"='41,212'; | 2-12164513-4 |
What was the attendance of the game that had a loss of Wolf (3-4)? | CREATE TABLE "july" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text
); | SELECT "attendance" FROM "july" WHERE "loss"='wolf (3-4)'; | 2-12164513-4 |
what nation is bianca knight the answer for? | CREATE TABLE "junior_under_20_women" (
"rank" real,
"fastest_time_s" real,
"wind_m_s" real,
"athlete" text,
"nation" text,
"date" text,
"location" text
); | SELECT "nation" FROM "junior_under_20_women" WHERE "athlete"='bianca knight'; | 2-1231316-5 |
what is the wind speed when brenda morehead was in the united states? | CREATE TABLE "junior_under_20_women" (
"rank" real,
"fastest_time_s" real,
"wind_m_s" real,
"athlete" text,
"nation" text,
"date" text,
"location" text
); | SELECT MIN("wind_m_s") FROM "junior_under_20_women" WHERE "nation"='united states' AND "athlete"='brenda morehead'; | 2-1231316-5 |
what is the highest rank in dresden with a time faster than 10.88? | CREATE TABLE "junior_under_20_women" (
"rank" real,
"fastest_time_s" real,
"wind_m_s" real,
"athlete" text,
"nation" text,
"date" text,
"location" text
); | SELECT MAX("rank") FROM "junior_under_20_women" WHERE "location"='dresden' AND "fastest_time_s"<10.88; | 2-1231316-5 |
What is the course on 1 June? | CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"winner" text,
"race_leader" text
); | SELECT "course" FROM "stage_results" WHERE "date"='1 june'; | 2-12612688-1 |
Who is the winner of the Florence to Genoa course? | CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"winner" text,
"race_leader" text
); | SELECT "winner" FROM "stage_results" WHERE "course"='florence to genoa'; | 2-12612688-1 |
What is the date of the Rome to Florence course? | CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"winner" text,
"race_leader" text
); | SELECT "date" FROM "stage_results" WHERE "course"='rome to florence'; | 2-12612688-1 |
What is Assists that has a Blocks of 2 tied (1) with a Year larger than 1995 | CREATE TABLE "world" (
"year" real,
"points" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text
); | SELECT "assists" FROM "world" WHERE "blocks"='2 tied (1)' AND "year">1995; | 2-13050003-3 |
What is the highest lane for heat 6 with a time of dns? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT MAX("lane") FROM "heats" WHERE "heat"=6 AND "time"='dns'; | 2-12383012-2 |
What is the lowest lane with a time of 2:05.90, and a Heat larger than 3? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT MIN("lane") FROM "heats" WHERE "time"='2:05.90' AND "heat">3; | 2-12383012-2 |
What nationality has a lane larger than 4 and a Time of 2:00.37? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "nationality" FROM "heats" WHERE "lane">4 AND "time"='2:00.37'; | 2-12383012-2 |
What is the average Lane where Belarus is the nationality? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT AVG("lane") FROM "heats" WHERE "nationality"='belarus'; | 2-12383012-2 |
What is the highest lane for nisha millet? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT MAX("lane") FROM "heats" WHERE "name"='nisha millet'; | 2-12383012-2 |
On what date was the race course from Rome to Naples? | CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"type" text,
"winner" text,
"race_leader" text
); | SELECT "date" FROM "stage_results" WHERE "course"='rome to naples'; | 2-12590880-1 |
Name the Losing BP with 22 played and 9 Try BP. | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"try_bp" text,
"losing_bp" text
); | SELECT "losing_bp" FROM "2008_2009_table" WHERE "played"='22' AND "try_bp"='9'; | 2-12784856-4 |
Name the Losing BP with drawn of 1 and a Try BP of 6. | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"try_bp" text,
"losing_bp" text
); | SELECT "losing_bp" FROM "2008_2009_table" WHERE "drawn"='1' AND "try_bp"='6'; | 2-12784856-4 |
Name the Losing BP of Newport Saracens RFC and has a Lost of 19. | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"try_bp" text,
"losing_bp" text
); | SELECT "losing_bp" FROM "2008_2009_table" WHERE "lost"='19' AND "club"='newport saracens rfc'; | 2-12784856-4 |
Name the Drawn for Ystrad Rhondda RFC and has Played of 22. | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"try_bp" text,
"losing_bp" text
); | SELECT "drawn" FROM "2008_2009_table" WHERE "played"='22' AND "club"='ystrad rhondda rfc'; | 2-12784856-4 |
Can you name the drawn with a Lost of 1? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"try_bp" text,
"losing_bp" text
); | SELECT "drawn" FROM "2008_2009_table" WHERE "lost"='1'; | 2-12784856-4 |
With a Losing BP of 8, what is the drawn? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"try_bp" text,
"losing_bp" text
); | SELECT "drawn" FROM "2008_2009_table" WHERE "losing_bp"='8'; | 2-12784856-4 |
What is the number of disposals when marks is 134? | CREATE TABLE "player_list" (
"player" text,
"afl_debut" text,
"games" text,
"goals" text,
"behinds" text,
"kicks" text,
"handballs" text,
"disposals" text,
"marks" text,
"tackles" text
); | SELECT "disposals" FROM "player_list" WHERE "marks"='134'; | 2-12886301-1 |
What is the Score1 of Match 42? | CREATE TABLE "friendlies" (
"match" real,
"date" text,
"competition_or_tour" text,
"ground" text,
"opponent" text,
"score1" text
); | SELECT "score1" FROM "friendlies" WHERE "match"=42; | 2-12608427-16 |
On what date was the match higher than 8 on ground A against Guiseley? | CREATE TABLE "friendlies" (
"match" real,
"date" text,
"competition_or_tour" text,
"ground" text,
"opponent" text,
"score1" text
); | SELECT "date" FROM "friendlies" WHERE "match">8 AND "ground"='a' AND "opponent"='guiseley'; | 2-12608427-16 |
On what ground was the game on 31 Jul 2007? | CREATE TABLE "friendlies" (
"match" real,
"date" text,
"competition_or_tour" text,
"ground" text,
"opponent" text,
"score1" text
); | SELECT "ground" FROM "friendlies" WHERE "date"='31 jul 2007'; | 2-12608427-16 |
What is the total of David Toms? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT SUM("total") FROM "made_the_cut" WHERE "player"='david toms'; | 2-12512153-2 |
What is the average of Fiji with t10 Finish? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT AVG("total") FROM "made_the_cut" WHERE "finish"='t10' AND "country"='fiji'; | 2-12512153-2 |
Who won in 1983? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "player" FROM "made_the_cut" WHERE "year_s_won"='1983'; | 2-12512153-2 |
Which english website has a daily frequency ? | CREATE TABLE "newspapers" (
"name" text,
"frequency" text,
"language" text,
"city" text,
"website" text
); | SELECT "website" FROM "newspapers" WHERE "language"='english' AND "frequency"='daily'; | 2-12394513-4 |
What is the frequency of the newspaper, el diario de nuevo laredo in the city of nuevo laredo ? | CREATE TABLE "newspapers" (
"name" text,
"frequency" text,
"language" text,
"city" text,
"website" text
); | SELECT "frequency" FROM "newspapers" WHERE "city"='nuevo laredo' AND "name"='el diario de nuevo laredo'; | 2-12394513-4 |
What is the website of the Laredo Sun in the city of Laredo ? | CREATE TABLE "newspapers" (
"name" text,
"frequency" text,
"language" text,
"city" text,
"website" text
); | SELECT "website" FROM "newspapers" WHERE "city"='laredo' AND "name"='laredo sun'; | 2-12394513-4 |
What is the name of the newspaper with the website liderinformativo.com ? | CREATE TABLE "newspapers" (
"name" text,
"frequency" text,
"language" text,
"city" text,
"website" text
); | SELECT "name" FROM "newspapers" WHERE "website"='liderinformativo.com'; | 2-12394513-4 |
Which website is in english and has the frequency of an online newspaper ? | CREATE TABLE "newspapers" (
"name" text,
"frequency" text,
"language" text,
"city" text,
"website" text
); | SELECT "website" FROM "newspapers" WHERE "language"='english' AND "frequency"='online newspaper'; | 2-12394513-4 |
Which city has spanish news on the website ultimahora.com ? | CREATE TABLE "newspapers" (
"name" text,
"frequency" text,
"language" text,
"city" text,
"website" text
); | SELECT "city" FROM "newspapers" WHERE "language"='spanish' AND "website"='ultimahora.com'; | 2-12394513-4 |
Which line after 1959 had the highest amount of points? | 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">1959; | 2-1251953-3 |
Which line has the lowest amount of points and a year of 1954? | 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 "year"=1954; | 2-1251953-3 |
What is the total amount of points that Christy has in the years before 1954? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT SUM("points") FROM "complete_formula_one_world_championship_" WHERE "entrant"='christy' AND "year"<1954; | 2-1251953-3 |
Which is the latest year that has an engine of Offenhauser l4, a chassis of Kurtis Kraft 500c, and the entrant of Federal Engineering? | 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 "engine"='offenhauser l4' AND "chassis"='kurtis kraft 500c' AND "entrant"='federal engineering'; | 2-1251953-3 |
Which chasis was in the year 1954? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "year"=1954; | 2-1251953-3 |
What is the final score in 2007 for the world league in novi sad played against Italy? | CREATE TABLE "matches" (
"year" real,
"competition" text,
"town" text,
"opponent" text,
"final_score" text
); | SELECT "final_score" FROM "matches" WHERE "year"=2007 AND "competition"='world league' AND "town"='novi sad' AND "opponent"='italy'; | 2-13021723-2 |
what is the competition played in budva against italy? | CREATE TABLE "matches" (
"year" real,
"competition" text,
"town" text,
"opponent" text,
"final_score" text
); | SELECT "competition" FROM "matches" WHERE "town"='budva' AND "opponent"='italy'; | 2-13021723-2 |
what is the competition that had a final score of 6:5? | CREATE TABLE "matches" (
"year" real,
"competition" text,
"town" text,
"opponent" text,
"final_score" text
); | SELECT "competition" FROM "matches" WHERE "final_score"='6:5'; | 2-13021723-2 |
who is the opponent when played in trieste before 2007? | CREATE TABLE "matches" (
"year" real,
"competition" text,
"town" text,
"opponent" text,
"final_score" text
); | SELECT "opponent" FROM "matches" WHERE "year"<2007 AND "town"='trieste'; | 2-13021723-2 |
What was Bob Jameson's lowest bonus where he had less than 15 rides? | CREATE TABLE "1965_season_finished_5th_39pts_out_of_18" (
"rider" text,
"matches" real,
"rides" real,
"bonus_pts" real,
"total_points" real
); | SELECT MIN("bonus_pts") FROM "1965_season_finished_5th_39pts_out_of_18" WHERE "rider"='bob jameson' AND "rides"<15; | 2-12518301-1 |
How many rides did it take to get less than 3 bonus pts in no more than 7 matches? | CREATE TABLE "1965_season_finished_5th_39pts_out_of_18" (
"rider" text,
"matches" real,
"rides" real,
"bonus_pts" real,
"total_points" real
); | SELECT MIN("rides") FROM "1965_season_finished_5th_39pts_out_of_18" WHERE "bonus_pts"<3 AND "matches"<7; | 2-12518301-1 |
What is the total for 34 matches with 111 rides, but no more than 15 bonus points? | CREATE TABLE "1965_season_finished_5th_39pts_out_of_18" (
"rider" text,
"matches" real,
"rides" real,
"bonus_pts" real,
"total_points" real
); | SELECT AVG("total_points") FROM "1965_season_finished_5th_39pts_out_of_18" WHERE "matches"=34 AND "rides"=111 AND "bonus_pts">15; | 2-12518301-1 |
How many rides did it take Ray Day to get 274 points in total with less than 3 bonus points? | CREATE TABLE "1965_season_finished_5th_39pts_out_of_18" (
"rider" text,
"matches" real,
"rides" real,
"bonus_pts" real,
"total_points" real
); | SELECT COUNT("rides") FROM "1965_season_finished_5th_39pts_out_of_18" WHERE "total_points"<274 AND "rider"='ray day' AND "bonus_pts">3; | 2-12518301-1 |
Which rider had less than 342 points in no more than 76 rides in 7 matches with more than 2 bonus points? | CREATE TABLE "1965_season_finished_5th_39pts_out_of_18" (
"rider" text,
"matches" real,
"rides" real,
"bonus_pts" real,
"total_points" real
); | SELECT "rider" FROM "1965_season_finished_5th_39pts_out_of_18" WHERE "total_points"<342 AND "rides"<76 AND "matches"=7 AND "bonus_pts">2; | 2-12518301-1 |
What is the Margin of victory on aug 11, 2002? | CREATE TABLE "champions_tour_wins_45" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "champions_tour_wins_45" WHERE "date"='aug 11, 2002'; | 2-1307603-3 |
When has a Winning score of –16 (70-65-65=200)? | CREATE TABLE "champions_tour_wins_45" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "champions_tour_wins_45" WHERE "winning_score"='–16 (70-65-65=200)'; | 2-1307603-3 |
What is the Margin of victory on oct 5, 1997? | CREATE TABLE "champions_tour_wins_45" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "champions_tour_wins_45" WHERE "date"='oct 5, 1997'; | 2-1307603-3 |
What is the Winning score on oct 22, 2000? | CREATE TABLE "champions_tour_wins_45" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "champions_tour_wins_45" WHERE "date"='oct 22, 2000'; | 2-1307603-3 |
How many episodes have a share of 16.2% and an episode number of less than 1? | CREATE TABLE "series_2" (
"episode_no" real,
"airdate" text,
"total_viewers" real,
"share" text,
"bbc_one_weekly_ranking" text
); | SELECT COUNT("total_viewers") FROM "series_2" WHERE "share"='16.2%' AND "episode_no"<1; | 2-12890652-2 |
If the French Open tournament had 2r in 2012, what was it in 2010? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2010" FROM "singles_performance_timeline" WHERE "2012"='2r' AND "tournament"='french open'; | 2-13268827-8 |
Which 2012 tournament had 2r in 2010? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2012" FROM "singles_performance_timeline" WHERE "2010"='2r'; | 2-13268827-8 |
Which tournament had 2r in 2010? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "singles_performance_timeline" WHERE "2010"='2r'; | 2-13268827-8 |
If the French Open tournament had 2r in 2012, what was it in 2009? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2009" FROM "singles_performance_timeline" WHERE "2012"='2r' AND "tournament"='french open'; | 2-13268827-8 |
Subsets and Splits