question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
In Round 19, where did Tony Lockett play? | CREATE TABLE "most_goals_in_a_game" (
"rank" text,
"score" text,
"player" text,
"club" text,
"opponent" text,
"year" text,
"round" text,
"venue" text
); | SELECT "venue" FROM "most_goals_in_a_game" WHERE "round"='19' AND "player"='tony lockett'; | 2-12161422-15 |
Who is the opponent in 1992? | CREATE TABLE "most_goals_in_a_game" (
"rank" text,
"score" text,
"player" text,
"club" text,
"opponent" text,
"year" text,
"round" text,
"venue" text
); | SELECT "opponent" FROM "most_goals_in_a_game" WHERE "year"='1992'; | 2-12161422-15 |
What club had a score of 18.1? | CREATE TABLE "most_goals_in_a_game" (
"rank" text,
"score" text,
"player" text,
"club" text,
"opponent" text,
"year" text,
"round" text,
"venue" text
); | SELECT "club" FROM "most_goals_in_a_game" WHERE "score"='18.1'; | 2-12161422-15 |
What is the number for year built of W27 that was withdrawn in 1967 with a To LoW year earlier than 1926? | CREATE TABLE "references" (
"br_sr_no" text,
"sr_name" text,
"lswr_no" real,
"builder" text,
"built" real,
"to_io_w" real,
"withdrawn" real
); | SELECT COUNT("built") FROM "references" WHERE "withdrawn"=1967 AND "br_sr_no"='w27' AND "to_io_w"<1926; | 2-12292738-1 |
What is the number of the year withdrawn for a LSWR number greater than 210 and a To LoW year of 1923? | CREATE TABLE "references" (
"br_sr_no" text,
"sr_name" text,
"lswr_no" real,
"builder" text,
"built" real,
"to_io_w" real,
"withdrawn" real
); | SELECT COUNT("withdrawn") FROM "references" WHERE "lswr_no">210 AND "to_io_w"=1923; | 2-12292738-1 |
What is the BR/SR number of Freshwater which was withdrawn in 1967 and built before 1892 with a To LoW year after 1927? | CREATE TABLE "references" (
"br_sr_no" text,
"sr_name" text,
"lswr_no" real,
"builder" text,
"built" real,
"to_io_w" real,
"withdrawn" real
); | SELECT "br_sr_no" FROM "references" WHERE "withdrawn"=1967 AND "built"<1892 AND "to_io_w">1927 AND "sr_name"='freshwater'; | 2-12292738-1 |
Name the engine for year less than 1977 | CREATE TABLE "indy_500_results" (
"year" real,
"chassis" text,
"engine" text,
"start" text,
"finish" text
); | SELECT "engine" FROM "indy_500_results" WHERE "year"<1977; | 2-1235700-2 |
Name the start for year less than 1977 | CREATE TABLE "indy_500_results" (
"year" real,
"chassis" text,
"engine" text,
"start" text,
"finish" text
); | SELECT "start" FROM "indy_500_results" WHERE "year"<1977; | 2-1235700-2 |
Name the least year for start of 17th | CREATE TABLE "indy_500_results" (
"year" real,
"chassis" text,
"engine" text,
"start" text,
"finish" text
); | SELECT MIN("year") FROM "indy_500_results" WHERE "start"='17th'; | 2-1235700-2 |
Name the start for finish being 21st | CREATE TABLE "indy_500_results" (
"year" real,
"chassis" text,
"engine" text,
"start" text,
"finish" text
); | SELECT "start" FROM "indy_500_results" WHERE "finish"='21st'; | 2-1235700-2 |
What is the Call sign of the Omni television network with a Digitial PSIP of 14.1? | CREATE TABLE "television" (
"digital_channel" text,
"digital_psip" real,
"rogers_cable_ottawa" real,
"vid_otron_gatineau" real,
"call_sign" text,
"network" text
); | SELECT "call_sign" FROM "television" WHERE "network"='omni television' AND "digital_psip"=14.1; | 2-1261940-2 |
What's the total number of Rogers Cable (Ottawa) channels that have a Digital PSIP greater than 9.1, and a Vidéotron (Gatineau) of channel 14? | CREATE TABLE "television" (
"digital_channel" text,
"digital_psip" real,
"rogers_cable_ottawa" real,
"vid_otron_gatineau" real,
"call_sign" text,
"network" text
); | SELECT COUNT("rogers_cable_ottawa") FROM "television" WHERE "digital_psip">9.1 AND "vid_otron_gatineau"=14; | 2-1261940-2 |
Which Network is on a Vidéotron (Gatineau) channel lower than 8 and a Rogers Cable (Ottawa) channel lower than 8 and has a Call Sign of cjoh-dt? | CREATE TABLE "television" (
"digital_channel" text,
"digital_psip" real,
"rogers_cable_ottawa" real,
"vid_otron_gatineau" real,
"call_sign" text,
"network" text
); | SELECT "network" FROM "television" WHERE "vid_otron_gatineau"<8 AND "rogers_cable_ottawa"<8 AND "call_sign"='cjoh-dt'; | 2-1261940-2 |
What was the record after the fight that lasted 8:17? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "record" FROM "mixed_martial_arts_record" WHERE "time"='8:17'; | 2-1216791-2 |
What was the result of the fight with Tony Halme? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "res" FROM "mixed_martial_arts_record" WHERE "opponent"='tony halme'; | 2-1216791-2 |
What was the score of the game when the record was 63-59 and the attendance was larger than 32,027? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "attendance">'32,027' AND "record"='63-59'; | 2-12205689-7 |
Who did they play on August 26? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "date"='august 26'; | 2-12205689-7 |
What was the attendance for the game on August 16? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT SUM("attendance") FROM "game_log" WHERE "date"='august 16'; | 2-12205689-7 |
What team did Johnson (11-7) play for? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "loss"='johnson (11-7)'; | 2-12205689-7 |
What is the highest number of points the cosworth straight-4 engine scored? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"pts" real
); | SELECT MAX("pts") FROM "complete_formula_one_world_championship_" WHERE "engine"='cosworth straight-4'; | 2-1226463-1 |
What is the latest year that shadow racing team scored more than 0 points? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"pts" real
); | SELECT MAX("year") FROM "complete_formula_one_world_championship_" WHERE "entrant"='shadow racing team' AND "pts">0; | 2-1226463-1 |
What round was held in palavas-les-flots , herault , france? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "round" FROM "mixed_martial_arts_record" WHERE "location"='palavas-les-flots , herault , france'; | 2-12574562-2 |
Who played in the men's singles during the tournament where Ragna Ingolfsdottir played in the 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 "men_s_singles" FROM "previous_winners" WHERE "women_s_singles"='ragna ingolfsdottir'; | 2-12185856-1 |
Who won the men's doubles in 1995? | 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 "men_s_doubles" FROM "previous_winners" WHERE "year"=1995; | 2-12185856-1 |
What is the second leg that Valencia was on? | CREATE TABLE "round_of_32" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "round_of_32" WHERE "team_2"='valencia'; | 2-12450336-18 |
Name the loss with record of 14-19 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "record"='14-19'; | 2-12205709-4 |
Name the score with record of 17-27 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "record"='17-27'; | 2-12205709-4 |
Name the opponent with record of 12-18 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "record"='12-18'; | 2-12205709-4 |
Who was the General classification when Pascal Richard was the winner? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"trofeo_fast_team" text
); | SELECT "general_classification" FROM "classification_leadership_by_stage" WHERE "winner"='pascal richard'; | 2-12261806-2 |
Who had the Points classification for Stage 13? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"trofeo_fast_team" text
); | SELECT "points_classification" FROM "classification_leadership_by_stage" WHERE "stage"='13'; | 2-12261806-2 |
What was the Stage when Pascal Richard had the Mountains classification and Vladimir Poulnikov won? | CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"trofeo_fast_team" text
); | SELECT "stage" FROM "classification_leadership_by_stage" WHERE "mountains_classification"='pascal richard' AND "winner"='vladimir poulnikov'; | 2-12261806-2 |
What's the total score of Danny Edwards? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT SUM("score") FROM "first_round" WHERE "player"='danny edwards'; | 2-12819742-3 |
Where was the place in Australia that had a score of 70? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "place" FROM "first_round" WHERE "score"=70 AND "country"='australia'; | 2-12819742-3 |
The entrepreneur Adam Weaver was featured in which episode? | CREATE TABLE "series_8" (
"episode" text,
"first_aired" text,
"entrepreneur_s" text,
"company_or_product_name" text,
"money_requested" text,
"investing_dragon_s" text
); | SELECT "episode" FROM "series_8" WHERE "entrepreneur_s"='adam weaver'; | 2-12617978-12 |
The entrepreneur Layla Bennett was featured in which episode? | CREATE TABLE "series_8" (
"episode" text,
"first_aired" text,
"entrepreneur_s" text,
"company_or_product_name" text,
"money_requested" text,
"investing_dragon_s" text
); | SELECT "episode" FROM "series_8" WHERE "entrepreneur_s"='layla bennett'; | 2-12617978-12 |
What is the lowest rank of the region with an area larger than 3,185,263 and a population of 16,760,000? | CREATE TABLE "with_population_above_10_million" (
"rank" real,
"country_region" text,
"population" real,
"area_km_2" real,
"density_pop_per_km_2" real
); | SELECT MIN("rank") FROM "with_population_above_10_million" WHERE "area_km_2">'3,185,263' AND "population"='16,760,000'; | 2-128608-2 |
What is the lowest area of the region with a population less than 22,955,395 in Bangladesh with a density less than 1034? | CREATE TABLE "with_population_above_10_million" (
"rank" real,
"country_region" text,
"population" real,
"area_km_2" real,
"density_pop_per_km_2" real
); | SELECT MIN("area_km_2") FROM "with_population_above_10_million" WHERE "population"<'22,955,395' AND "country_region"='bangladesh' AND "density_pop_per_km_2"<1034; | 2-128608-2 |
What is the highest population of the region with a rank bigger than 9? | CREATE TABLE "with_population_above_10_million" (
"rank" real,
"country_region" text,
"population" real,
"area_km_2" real,
"density_pop_per_km_2" real
); | SELECT MAX("population") FROM "with_population_above_10_million" WHERE "rank">9; | 2-128608-2 |
What is the average population of the region with a density less than 487, a rank of 9, and an area larger than 377,944? | CREATE TABLE "with_population_above_10_million" (
"rank" real,
"country_region" text,
"population" real,
"area_km_2" real,
"density_pop_per_km_2" real
); | SELECT AVG("population") FROM "with_population_above_10_million" WHERE "density_pop_per_km_2"<487 AND "rank"=9 AND "area_km_2">'377,944'; | 2-128608-2 |
What is the rank of the region with an area larger than 41,526, a density greater than 345, and a population larger than 48,456,369? | CREATE TABLE "with_population_above_10_million" (
"rank" real,
"country_region" text,
"population" real,
"area_km_2" real,
"density_pop_per_km_2" real
); | SELECT COUNT("rank") FROM "with_population_above_10_million" WHERE "area_km_2">'41,526' AND "density_pop_per_km_2">345 AND "population">'48,456,369'; | 2-128608-2 |
What is the TDP (w) of the chipset with a codename sb850? | CREATE TABLE "a_link_express" (
"model" text,
"codename" text,
"released" text,
"fab_nm" real,
"sata" text,
"usb_2_0_1_1" text,
"usb_3_0" text,
"parallel_ata_1" text,
"raid" real,
"gb_ethernet_mac" text,
"package" text,
"tdp_w" real
); | SELECT COUNT("tdp_w") FROM "a_link_express" WHERE "codename"='sb850'; | 2-12341355-5 |
What is the average Fab (nm) of the chipset released in q4 2008 with a RAID larger than 0,1,5,10? | CREATE TABLE "a_link_express" (
"model" text,
"codename" text,
"released" text,
"fab_nm" real,
"sata" text,
"usb_2_0_1_1" text,
"usb_3_0" text,
"parallel_ata_1" text,
"raid" real,
"gb_ethernet_mac" text,
"package" text,
"tdp_w" real
); | SELECT AVG("fab_nm") FROM "a_link_express" WHERE "released"='q4 2008' AND "raid">'0,1,5,10'; | 2-12341355-5 |
Which round is a lower score than 21.5? | CREATE TABLE "campus_superstar_2007" (
"round" text,
"name" text,
"song" text,
"score" real,
"status" text
); | SELECT "round" FROM "campus_superstar_2007" WHERE "score"<21.5; | 2-12985404-1 |
Which round status is in with this song: 叶良俊 - 爱你不是爱给别人看? | CREATE TABLE "campus_superstar_2007" (
"round" text,
"name" text,
"song" text,
"score" real,
"status" text
); | SELECT "round" FROM "campus_superstar_2007" WHERE "status"='in' AND "song"='叶良俊 - 爱你不是爱给别人看'; | 2-12985404-1 |
Which status accompanies the score 21.5? | CREATE TABLE "campus_superstar_2007" (
"round" text,
"name" text,
"song" text,
"score" real,
"status" text
); | SELECT "status" FROM "campus_superstar_2007" WHERE "score"=21.5; | 2-12985404-1 |
Wjat score is greater than 22 with this song: 林俊杰 - 木乃伊? | CREATE TABLE "campus_superstar_2007" (
"round" text,
"name" text,
"song" text,
"score" real,
"status" text
); | SELECT "name" FROM "campus_superstar_2007" WHERE "score">22 AND "song"='林俊杰 - 木乃伊'; | 2-12985404-1 |
What round has this song: 陶喆、蔡依林 - 今天你要嫁给我/曹格 - 世界唯一的你? | CREATE TABLE "campus_superstar_2007" (
"round" text,
"name" text,
"song" text,
"score" real,
"status" text
); | SELECT "round" FROM "campus_superstar_2007" WHERE "song"='陶喆、蔡依林 - 今天你要嫁给我/曹格 - 世界唯一的你'; | 2-12985404-1 |
What is the artist with less than a 2 draw? | CREATE TABLE "melodifestivalen_1959" (
"draw" real,
"artist" text,
"song" text,
"songwriters" text,
"points" real,
"place" text
); | SELECT "artist" FROM "melodifestivalen_1959" WHERE "draw"<2; | 2-12204536-1 |
What is the average issue price with from Toronto maple leafs gift set, and a Mintage of 3527? | CREATE TABLE "twenty_five_cents" (
"year" real,
"theme" text,
"artist" text,
"mintage" text,
"issue_price" real,
"special_notes" text
); | SELECT AVG("issue_price") FROM "twenty_five_cents" WHERE "special_notes"='from toronto maple leafs gift set' AND "mintage"='3527'; | 2-12991375-7 |
What theme has a mintage of 3527? | CREATE TABLE "twenty_five_cents" (
"year" real,
"theme" text,
"artist" text,
"mintage" text,
"issue_price" real,
"special_notes" text
); | SELECT "theme" FROM "twenty_five_cents" WHERE "mintage"='3527'; | 2-12991375-7 |
When was a mintage of 1264 with more than 24.95 issued? | CREATE TABLE "twenty_five_cents" (
"year" real,
"theme" text,
"artist" text,
"mintage" text,
"issue_price" real,
"special_notes" text
); | SELECT MAX("year") FROM "twenty_five_cents" WHERE "mintage"='1264' AND "issue_price">24.95; | 2-12991375-7 |
Name the most year for team motul brm and chassis of brm p201 and points less 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 "entrant"='team motul brm' AND "chassis"='brm p201' AND "points"<0; | 2-1228362-1 |
Name the entrant for 1975 and chassis of hill gh1 | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "year"=1975 AND "chassis"='hill gh1'; | 2-1228362-1 |
Name the chassis for engine of brm v12 | 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 "engine"='brm v12'; | 2-1228362-1 |
Name the most year for 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-1228362-1 |
Name the sum of points for chassis of brm p160e and year more than 1974 | 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 "chassis"='brm p160e' AND "year">1974; | 2-1228362-1 |
What is the chassis after 1991? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "chassis" FROM "complete_formula_one_results" WHERE "year">1991; | 2-1218386-1 |
What are the average points after 1992? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT AVG("points") FROM "complete_formula_one_results" WHERE "year">1992; | 2-1218386-1 |
What is the sum of points in 1991, for footwork a11c chassis? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT SUM("points") FROM "complete_formula_one_results" WHERE "year"=1991 AND "chassis"='footwork a11c'; | 2-1218386-1 |
How many points does an entrant of Martini Racing, the engine of an Alfa Romeo flat-12 a chassis of brabham bt45, and the year 1976 have? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT COUNT("points") FROM "complete_formula_one_world_championship_" WHERE "entrant"='martini racing' AND "engine"='alfa romeo flat-12' AND "chassis"='brabham bt45' AND "year"=1976; | 2-1219709-1 |
Which chassis is from 1974 and was an entrant of Goldie Hexagon racing? | 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"=1974 AND "entrant"='goldie hexagon racing'; | 2-1219709-1 |
What is the average points of a Cosworth v8 engine in 1973. | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT AVG("points") FROM "complete_formula_one_world_championship_" WHERE "engine"='cosworth v8' AND "year"=1973; | 2-1219709-1 |
Which chassis has an Alfa Romeo flat-12 engine. | 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 "engine"='alfa romeo flat-12'; | 2-1219709-1 |
What was the score of the game that had an attendance of 32,036? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "attendance"='32,036'; | 2-12206000-6 |
On what date did the result leave the team with a record of 46-34? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "record"='46-34'; | 2-12206000-6 |
Name the opponent with round of 1 and time of n/a | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
); | SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "round"='1' AND "time"='n/a'; | 2-13299682-2 |
Name the record with opponent of christian nielson | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
); | SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='christian nielson'; | 2-13299682-2 |
Name the opponent with decision | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
); | SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "method"='decision'; | 2-13299682-2 |
What was the 3rd place value in 2011? | CREATE TABLE "previous_winners" (
"year" text,
"venue" text,
"winners" text,
"runner_up" text,
"3rd_place" text
); | SELECT "3rd_place" FROM "previous_winners" WHERE "year"='2011'; | 2-12278719-2 |
Name the tries for points against of 583 | 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 "tries_for" FROM "2009_2010_table" WHERE "points_against"='583'; | 2-12792876-3 |
Nam the points for when tries for is 91 and played of 22 | 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_for" FROM "2009_2010_table" WHERE "played"='22' AND "tries_for"='91'; | 2-12792876-3 |
Name the drawn for tries for of 42 | 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 "tries_for"='42'; | 2-12792876-3 |
Name the Drawn for tries against of 36 and points of 66 | 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 "tries_against"='36' AND "points"='66'; | 2-12792876-3 |
Name the Try bonus with lost of 10 | 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 "try_bonus" FROM "2009_2010_table" WHERE "lost"='10'; | 2-12792876-3 |
Name the points for when points against is of 450 | 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_for" FROM "2009_2010_table" WHERE "points_against"='450'; | 2-12792876-3 |
who won the women's doubles at the same time the men's doubles had tijs creemers quinten van dalm? | CREATE TABLE "past_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "women_s_doubles" FROM "past_winners" WHERE "men_s_doubles"='tijs creemers quinten van dalm'; | 2-12266965-1 |
what year saw georgy trouerbach nicole van hooren win the women's doubles? | CREATE TABLE "past_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "year" FROM "past_winners" WHERE "women_s_doubles"='georgy trouerbach nicole van hooren'; | 2-12266965-1 |
who won the women's singles in 1992? | CREATE TABLE "past_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "women_s_singles" FROM "past_winners" WHERE "year"='1992'; | 2-12266965-1 |
who won the women's singles at the same time the men's doubles was won by seno the uun santosa? | CREATE TABLE "past_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "women_s_singles" FROM "past_winners" WHERE "men_s_doubles"='seno the uun santosa'; | 2-12266965-1 |
who won the men's doubles in 1933? | CREATE TABLE "past_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "men_s_doubles" FROM "past_winners" WHERE "year"='1933'; | 2-12266965-1 |
What was the 1st leg when Team 2 was Aurora? | CREATE TABLE "first_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "first_round" WHERE "team_2"='aurora'; | 2-12269075-1 |
What was the 2nd leg when Team 1 was Chicago Croatian? | CREATE TABLE "first_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "first_round" WHERE "team_1"='chicago croatian'; | 2-12269075-1 |
Who was Team 2 when Team 1 was América? | CREATE TABLE "first_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_2" FROM "first_round" WHERE "team_1"='américa'; | 2-12269075-1 |
Which nationality do the Montreal Canadiens belong to with a pick# of 25? | CREATE TABLE "round_two" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nationality" FROM "round_two" WHERE "nhl_team"='montreal canadiens' AND "pick_num"='25'; | 2-1213511-2 |
What is the pick# for the California Golden Seals? | CREATE TABLE "round_two" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "pick_num" FROM "round_two" WHERE "nhl_team"='california golden seals'; | 2-1213511-2 |
What was the Goal in Stade Roi Baudouin, Brussels? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT AVG("goal") FROM "international_goals" WHERE "venue"='stade roi baudouin, brussels'; | 2-12808936-1 |
What Venue had 2 or more Goals in a Friendly Competition? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "competition"='friendly' AND "goal">2; | 2-12808936-1 |
Which Site that has a Sex and other data of old male? | CREATE TABLE "table_2_data_from_all_known_specimens_of" (
"number_cmnh" real,
"number_pnm" text,
"date" text,
"site" real,
"altitude" text,
"sex_and_other_data" text
); | SELECT MAX("site") FROM "table_2_data_from_all_known_specimens_of" WHERE "sex_and_other_data"='old male'; | 2-12172082-2 |
What is the age group for figure skating? | CREATE TABLE "women" (
"sport" text,
"competition_name" text,
"competing_entities" text,
"age_groups" text,
"held_every" text
); | SELECT "age_groups" FROM "women" WHERE "sport"='figure skating'; | 2-13092576-2 |
what is the sport when the age group is 21 or younger and the competition name is world youth netball championships? | CREATE TABLE "women" (
"sport" text,
"competition_name" text,
"competing_entities" text,
"age_groups" text,
"held_every" text
); | SELECT "sport" FROM "women" WHERE "age_groups"='21 or younger' AND "competition_name"='world youth netball championships'; | 2-13092576-2 |
what is the competition name when the age group is 17 or younger for athletics? | CREATE TABLE "women" (
"sport" text,
"competition_name" text,
"competing_entities" text,
"age_groups" text,
"held_every" text
); | SELECT "competition_name" FROM "women" WHERE "age_groups"='17 or younger' AND "sport"='athletics'; | 2-13092576-2 |
what is the competing entities when the age group is 18 or younger, held every is one year and the sport is table tennis? | CREATE TABLE "women" (
"sport" text,
"competition_name" text,
"competing_entities" text,
"age_groups" text,
"held_every" text
); | SELECT "competing_entities" FROM "women" WHERE "age_groups"='18 or younger' AND "held_every"='one year' AND "sport"='table tennis'; | 2-13092576-2 |
What result did Janis Ian have in the episode of top 3? | CREATE TABLE "performances" (
"episode" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
); | SELECT "result" FROM "performances" WHERE "episode"='top 3' AND "original_artist"='janis ian'; | 2-12310814-1 |
What was the result of the singer with the top 8? | CREATE TABLE "performances" (
"episode" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
); | SELECT "result" FROM "performances" WHERE "episode"='top 8'; | 2-12310814-1 |
What song was chosen for the episode with the top 8? | CREATE TABLE "performances" (
"episode" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
); | SELECT "song_choice" FROM "performances" WHERE "episode"='top 8'; | 2-12310814-1 |
Which episode had Hoagy carmichael safe with an order of 5? | CREATE TABLE "performances" (
"episode" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
); | SELECT "episode" FROM "performances" WHERE "result"='safe' AND "order_num"='5' AND "original_artist"='hoagy carmichael'; | 2-12310814-1 |
In what order were the Bee Gees as the artist when it was a result of bottom 3? | CREATE TABLE "performances" (
"episode" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
); | SELECT "order_num" FROM "performances" WHERE "result"='bottom 3' AND "original_artist"='bee gees'; | 2-12310814-1 |
Name the total number of drawn for danish and mathias | CREATE TABLE "final" (
"draw" real,
"country" text,
"language" text,
"artist" text,
"song" text,
"english_translation" text,
"result" text
); | SELECT COUNT("draw") FROM "final" WHERE "language"='danish' AND "artist"='mathias'; | 2-12947652-1 |
Name the result for linn nygård | CREATE TABLE "final" (
"draw" real,
"country" text,
"language" text,
"artist" text,
"song" text,
"english_translation" text,
"result" text
); | SELECT "result" FROM "final" WHERE "artist"='linn nygård'; | 2-12947652-1 |
Name the song for draw less than 7 and artists of martin & johannes | CREATE TABLE "final" (
"draw" real,
"country" text,
"language" text,
"artist" text,
"song" text,
"english_translation" text,
"result" text
); | SELECT "song" FROM "final" WHERE "draw"<7 AND "artist"='martin & johannes'; | 2-12947652-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.