question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which college's pick was 14? | CREATE TABLE "nfl_draft" (
"round" text,
"pick" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "nfl_draft" WHERE "pick"='14'; | 2-15185487-1 |
Which Rec has an Average smaller than 32, and a Touchdown smaller than 3, and an Opponent of oregon state? | CREATE TABLE "michigan_single_game_reception_yardage" (
"player" text,
"rec" real,
"yards" real,
"average" real,
"s_touchdown" real,
"year" real,
"opponent" text
); | SELECT SUM("rec") FROM "michigan_single_game_reception_yardage" WHERE "average"<32 AND "s_touchdown"<3 AND "opponent"='oregon state'; | 2-14465186-2 |
Which rec has Yards of 192, and a Touchdown smaller than 1? | CREATE TABLE "michigan_single_game_reception_yardage" (
"player" text,
"rec" real,
"yards" real,
"average" real,
"s_touchdown" real,
"year" real,
"opponent" text
); | SELECT AVG("rec") FROM "michigan_single_game_reception_yardage" WHERE "yards"=192 AND "s_touchdown"<1; | 2-14465186-2 |
Which Opponent has Yards smaller than 197, and an Average smaller than 32, and a Year of 1966? | CREATE TABLE "michigan_single_game_reception_yardage" (
"player" text,
"rec" real,
"yards" real,
"average" real,
"s_touchdown" real,
"year" real,
"opponent" text
); | SELECT "opponent" FROM "michigan_single_game_reception_yardage" WHERE "yards"<197 AND "average"<32 AND "year"=1966; | 2-14465186-2 |
How many Touchdowns have a rec of 10, and an Opponent of oregon state, and an Average smaller than 19.7? | CREATE TABLE "michigan_single_game_reception_yardage" (
"player" text,
"rec" real,
"yards" real,
"average" real,
"s_touchdown" real,
"year" real,
"opponent" text
); | SELECT COUNT("s_touchdown") FROM "michigan_single_game_reception_yardage" WHERE "rec"=10 AND "opponent"='oregon state' AND "average"<19.7; | 2-14465186-2 |
Which Points have an Opponent of @ atlanta thrashers, and a Game smaller than 28? | CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT SUM("points") FROM "regular_season" WHERE "opponent"='@ atlanta thrashers' AND "game"<28; | 2-14347256-5 |
How many Points have a Game smaller than 37, and a Score of 2–3, and a December of 13? | CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT COUNT("points") FROM "regular_season" WHERE "game"<37 AND "score"='2–3' AND "december"=13; | 2-14347256-5 |
Which Game is the highest one that has a Score of 3–2? | CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT MAX("game") FROM "regular_season" WHERE "score"='3–2'; | 2-14347256-5 |
What spans were built in 1896? | CREATE TABLE "references" (
"name" text,
"county" text,
"location" text,
"built" text,
"length_ft" real,
"spans" text
); | SELECT "spans" FROM "references" WHERE "built"='1896'; | 2-14218015-1 |
Who has a length of 71 ft? | CREATE TABLE "references" (
"name" text,
"county" text,
"location" text,
"built" text,
"length_ft" real,
"spans" text
); | SELECT "name" FROM "references" WHERE "length_ft"=71; | 2-14218015-1 |
Where was the county of rockingham? | CREATE TABLE "references" (
"name" text,
"county" text,
"location" text,
"built" text,
"length_ft" real,
"spans" text
); | SELECT "location" FROM "references" WHERE "county"='rockingham'; | 2-14218015-1 |
What is the propulsion for the RB 04 earlier than 1962? | CREATE TABLE "comparison" (
"name" text,
"year" real,
"propulsion" text,
"launched_by" text,
"country" text
); | SELECT "propulsion" FROM "comparison" WHERE "year"<1962 AND "name"='rb 04'; | 2-140725-1 |
What is the name of the anti-ship missile that had a turbojet propulsion that was launched by a surface, sub after 1985? | CREATE TABLE "comparison" (
"name" text,
"year" real,
"propulsion" text,
"launched_by" text,
"country" text
); | SELECT "name" FROM "comparison" WHERE "propulsion"='turbojet' AND "year">1985 AND "launched_by"='surface, sub'; | 2-140725-1 |
What country had an anti-ship missile that had a solid rocket propulsion? | CREATE TABLE "comparison" (
"name" text,
"year" real,
"propulsion" text,
"launched_by" text,
"country" text
); | SELECT "country" FROM "comparison" WHERE "propulsion"='solid rocket'; | 2-140725-1 |
How many seats in 2001 with a quantity greater than 4? | CREATE TABLE "current_fleet" (
"length_feet" text,
"year" text,
"make_and_model" text,
"floor_type" text,
"number_of_seats" real,
"bicycle_capacity" real,
"fuel_propulsion" text,
"quantity" real
); | SELECT COUNT("number_of_seats") FROM "current_fleet" WHERE "year"='2001' AND "quantity">4; | 2-1524075-2 |
What make and model of the diesel vehicle with a high floor type, bike capacity less than 3, and a quantity of 4? | CREATE TABLE "current_fleet" (
"length_feet" text,
"year" text,
"make_and_model" text,
"floor_type" text,
"number_of_seats" real,
"bicycle_capacity" real,
"fuel_propulsion" text,
"quantity" real
); | SELECT "make_and_model" FROM "current_fleet" WHERE "fuel_propulsion"='diesel' AND "floor_type"='high' AND "bicycle_capacity"<3 AND "quantity"=4; | 2-1524075-2 |
What score has nashville predators as the opponent? | CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT "score" FROM "regular_season" WHERE "opponent"='nashville predators'; | 2-14173105-5 |
What are the average points that have december 27? | CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT AVG("points") FROM "regular_season" WHERE "december"=27; | 2-14173105-5 |
What record has points greater than 39, with 38 as the game? | CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT "record" FROM "regular_season" WHERE "points">39 AND "game"=38; | 2-14173105-5 |
What is the Stuffit ability that has a gzip of yes, ISO/CD images of no and LHA/LZH of no? | CREATE TABLE "writing" (
"gzip" text,
"bzip2" text,
"lha_lzh" text,
"stuff_it" text,
"stuff_it_x" text,
"iso_cd_image" text
); | SELECT "stuff_it" FROM "writing" WHERE "gzip"='yes' AND "iso_cd_image"='no' AND "lha_lzh"='no'; | 2-1504233-5 |
What is the gzip value associated with a stuffit of no, bzip2 of no, and LHA.LZH of no? | CREATE TABLE "writing" (
"gzip" text,
"bzip2" text,
"lha_lzh" text,
"stuff_it" text,
"stuff_it_x" text,
"iso_cd_image" text
); | SELECT "gzip" FROM "writing" WHERE "stuff_it"='no' AND "bzip2"='no' AND "lha_lzh"='no'; | 2-1504233-5 |
What is the bzip2 value associated with a gzip of yes, StuffitX of unknown, and ISO/CD image of unknown? | CREATE TABLE "writing" (
"gzip" text,
"bzip2" text,
"lha_lzh" text,
"stuff_it" text,
"stuff_it_x" text,
"iso_cd_image" text
); | SELECT "bzip2" FROM "writing" WHERE "gzip"='yes' AND "stuff_it_x"='unknown' AND "iso_cd_image"='unknown'; | 2-1504233-5 |
What is the StuffitX value that has a Stuffit of unknown, LHA/LZH of yes, and unknown ISO/CD image? | CREATE TABLE "writing" (
"gzip" text,
"bzip2" text,
"lha_lzh" text,
"stuff_it" text,
"stuff_it_x" text,
"iso_cd_image" text
); | SELECT "stuff_it_x" FROM "writing" WHERE "stuff_it"='unknown' AND "lha_lzh"='yes' AND "iso_cd_image"='unknown'; | 2-1504233-5 |
What is the stuffit that has bzip and LHA/LZH of no? | CREATE TABLE "writing" (
"gzip" text,
"bzip2" text,
"lha_lzh" text,
"stuff_it" text,
"stuff_it_x" text,
"iso_cd_image" text
); | SELECT "stuff_it" FROM "writing" WHERE "bzip2"='no' AND "lha_lzh"='no'; | 2-1504233-5 |
What is the ISO/CD image value associated with StuffitX of no, gzip of yes, and LHA/LZH of yes? | CREATE TABLE "writing" (
"gzip" text,
"bzip2" text,
"lha_lzh" text,
"stuff_it" text,
"stuff_it_x" text,
"iso_cd_image" text
); | SELECT "iso_cd_image" FROM "writing" WHERE "stuff_it_x"='no' AND "gzip"='yes' AND "lha_lzh"='yes'; | 2-1504233-5 |
Which round was Robert Deciantis taken in? | CREATE TABLE "nhl_entry_draft" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "round" FROM "nhl_entry_draft" WHERE "player"='robert deciantis'; | 2-14052745-12 |
Which round was Brian Elder taken in? | CREATE TABLE "nhl_entry_draft" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT MIN("round") FROM "nhl_entry_draft" WHERE "player"='brian elder'; | 2-14052745-12 |
what is the date of the tournament in michalovce | CREATE TABLE "singles_5_11" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "date" FROM "singles_5_11" WHERE "tournament"='michalovce'; | 2-14359057-2 |
What was the winning score of the Valero Texas Open? | CREATE TABLE "pga_tour_wins_12" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "pga_tour_wins_12" WHERE "tournament"='valero texas open'; | 2-1507170-1 |
When was the winning score –12 (69-66-72-65=272)? | CREATE TABLE "pga_tour_wins_12" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "pga_tour_wins_12" WHERE "winning_score"='–12 (69-66-72-65=272)'; | 2-1507170-1 |
Who was the runner-up when the winning score was –28 (66-67-68-64-67=332)? | CREATE TABLE "pga_tour_wins_12" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "pga_tour_wins_12" WHERE "winning_score"='–28 (66-67-68-64-67=332)'; | 2-1507170-1 |
Which party had a Retired Democratic hold? | CREATE TABLE "california" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text
); | SELECT "party" FROM "california" WHERE "result"='retired democratic hold'; | 2-1431467-2 |
What's the average year Charles N. Felton was re-elected? | CREATE TABLE "california" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text
); | SELECT AVG("first_elected") FROM "california" WHERE "result"='re-elected' AND "incumbent"='charles n. felton'; | 2-1431467-2 |
What year was Barclay Henley first elected? | CREATE TABLE "california" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text
); | SELECT COUNT("first_elected") FROM "california" WHERE "incumbent"='barclay henley'; | 2-1431467-2 |
what is the sponsor of motorola | CREATE TABLE "drivers_and_constructors" (
"team" text,
"chassis" text,
"engine" text,
"tires" text,
"drivers" text,
"sponsor" text
); | SELECT "team" FROM "drivers_and_constructors" WHERE "sponsor"='motorola'; | 2-14638077-1 |
Which Opponent has the Event of Sengoku 1? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "event"='sengoku 1'; | 2-14601654-2 |
What Record has an Event of Pride Shockwave 2004? | 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 "event"='pride shockwave 2004'; | 2-14601654-2 |
What's the average pole position for the driver that has a percentage of 44.81%? | CREATE TABLE "percentage_starts_from_front_row" (
"driver" text,
"front_row_starts" real,
"pole_positions" real,
"entries" real,
"percentage" text
); | SELECT AVG("pole_positions") FROM "percentage_starts_from_front_row" WHERE "percentage"='44.81%'; | 2-13599687-35 |
What's the average front row starts for drivers with less than 68 pole positions and entries lower than 52? | CREATE TABLE "percentage_starts_from_front_row" (
"driver" text,
"front_row_starts" real,
"pole_positions" real,
"entries" real,
"percentage" text
); | SELECT AVG("front_row_starts") FROM "percentage_starts_from_front_row" WHERE "pole_positions"<68 AND "entries"<52; | 2-13599687-35 |
Attendance larger than 53,769, and a Opponent of at philadelphia eagles had what result? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"venue" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "attendance">'53,769' AND "opponent"='at philadelphia eagles'; | 2-14887257-2 |
Attendance of 60,671 had what average week? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"venue" text,
"attendance" real
); | SELECT AVG("week") FROM "schedule" WHERE "attendance"='60,671'; | 2-14887257-2 |
Week of 7 had what average attendance? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"venue" text,
"attendance" real
); | SELECT AVG("attendance") FROM "schedule" WHERE "week"=7; | 2-14887257-2 |
How many legs were won when 6 legs were lost, the 180s was 0, and the 3-dart average was less than 69.72? | CREATE TABLE "women_s_statistics" (
"player" text,
"played" real,
"sets_won" real,
"sets_lost" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" real
); | SELECT COUNT("legs_won") FROM "women_s_statistics" WHERE "legs_lost"=6 AND "180s"=0 AND "3_dart_average"<69.72; | 2-13535824-2 |
What is the sum of all played when less than 4 sets were won and 3-dart average was 53.19? | CREATE TABLE "women_s_statistics" (
"player" text,
"played" real,
"sets_won" real,
"sets_lost" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" real
); | SELECT SUM("played") FROM "women_s_statistics" WHERE "sets_won"<4 AND "3_dart_average"=53.19; | 2-13535824-2 |
How many values for 100+ for Trina Gulliver with a 3-dart Average smaller than 75.02? | CREATE TABLE "women_s_statistics" (
"player" text,
"played" real,
"sets_won" real,
"sets_lost" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" real
); | SELECT COUNT("100") FROM "women_s_statistics" WHERE "player"='trina gulliver' AND "3_dart_average"<75.02; | 2-13535824-2 |
How many legs were lost for Trina Gulliver with more than 3 played? | CREATE TABLE "women_s_statistics" (
"player" text,
"played" real,
"sets_won" real,
"sets_lost" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" real
); | SELECT COUNT("legs_lost") FROM "women_s_statistics" WHERE "player"='trina gulliver' AND "played">3; | 2-13535824-2 |
What is the most sets won with less than 1 legs won? | CREATE TABLE "women_s_statistics" (
"player" text,
"played" real,
"sets_won" real,
"sets_lost" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" real
); | SELECT MAX("sets_won") FROM "women_s_statistics" WHERE "legs_won"<1; | 2-13535824-2 |
What is the largest value for 100+ when less than 1 set was won and more than 2 legs were won? | CREATE TABLE "women_s_statistics" (
"player" text,
"played" real,
"sets_won" real,
"sets_lost" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" real
); | SELECT MAX("100") FROM "women_s_statistics" WHERE "sets_won"<1 AND "legs_won">2; | 2-13535824-2 |
Yards of 45, and a Date of november 8, 1971 is what kicker? | CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" (
"date" text,
"kicker" text,
"kicking_team" text,
"opponent" text,
"yards" real,
"result" text,
"game_time" text
); | SELECT "kicker" FROM "list_of_known_fair_catch_kick_attempts_i" WHERE "yards"=45 AND "date"='november 8, 1971'; | 2-1489377-2 |
Game time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards? | CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" (
"date" text,
"kicker" text,
"kicking_team" text,
"opponent" text,
"yards" real,
"result" text,
"game_time" text
); | SELECT AVG("yards") FROM "list_of_known_fair_catch_kick_attempts_i" WHERE "game_time"='2nd quarter (0:00)' AND "date"='november 8, 1971'; | 2-1489377-2 |
Opponent of new york giants, and a Yards smaller than 68 is what kicker? | CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" (
"date" text,
"kicker" text,
"kicking_team" text,
"opponent" text,
"yards" real,
"result" text,
"game_time" text
); | SELECT "kicker" FROM "list_of_known_fair_catch_kick_attempts_i" WHERE "opponent"='new york giants' AND "yards"<68; | 2-1489377-2 |
Yards larger than 52, and a Opponent of san francisco 49ers is what kicker? | CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" (
"date" text,
"kicker" text,
"kicking_team" text,
"opponent" text,
"yards" real,
"result" text,
"game_time" text
); | SELECT "kicker" FROM "list_of_known_fair_catch_kick_attempts_i" WHERE "yards">52 AND "opponent"='san francisco 49ers'; | 2-1489377-2 |
Result of missed*, and a Game time of 2nd quarter (0:00), and a Kicker of mason crosby involves what date? | CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" (
"date" text,
"kicker" text,
"kicking_team" text,
"opponent" text,
"yards" real,
"result" text,
"game_time" text
); | SELECT "date" FROM "list_of_known_fair_catch_kick_attempts_i" WHERE "result"='missed*' AND "game_time"='2nd quarter (0:00)' AND "kicker"='mason crosby'; | 2-1489377-2 |
Opponent of houston texans had what result? | CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" (
"date" text,
"kicker" text,
"kicking_team" text,
"opponent" text,
"yards" real,
"result" text,
"game_time" text
); | SELECT "result" FROM "list_of_known_fair_catch_kick_attempts_i" WHERE "opponent"='houston texans'; | 2-1489377-2 |
Which Nationality of the person has a Position on left wing? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "nationality" FROM "draft_picks" WHERE "position"='left wing'; | 2-14173105-18 |
Which College/Junior/Club Team (League) are from sweden? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "nationality"='sweden'; | 2-14173105-18 |
WHich Position is from russia? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "position" FROM "draft_picks" WHERE "nationality"='russia'; | 2-14173105-18 |
Which venue is with Ukraine? | CREATE TABLE "women_outdoor" (
"pos" real,
"mark" text,
"athlete" text,
"nationality" text,
"venue" text,
"date" text
); | SELECT "venue" FROM "women_outdoor" WHERE "nationality"='ukraine'; | 2-13791-3 |
Which venue had a nationality of Belgium? | CREATE TABLE "women_outdoor" (
"pos" real,
"mark" text,
"athlete" text,
"nationality" text,
"venue" text,
"date" text
); | SELECT "venue" FROM "women_outdoor" WHERE "nationality"='belgium'; | 2-13791-3 |
Which Best Actor has a Best Film of mystery? | CREATE TABLE "major_award_winners" (
"year" text,
"best_film" text,
"best_director" text,
"best_actor" text,
"best_actress" text,
"best_supporting_actress" text
); | SELECT "best_actor" FROM "major_award_winners" WHERE "best_film"='mystery'; | 2-15301258-1 |
Which Year has a Best Film of mystery? | CREATE TABLE "major_award_winners" (
"year" text,
"best_film" text,
"best_director" text,
"best_actor" text,
"best_actress" text,
"best_supporting_actress" text
); | SELECT "year" FROM "major_award_winners" WHERE "best_film"='mystery'; | 2-15301258-1 |
Which Best Actress has a Year of 2012 6th? | CREATE TABLE "major_award_winners" (
"year" text,
"best_film" text,
"best_director" text,
"best_actor" text,
"best_actress" text,
"best_supporting_actress" text
); | SELECT "best_actress" FROM "major_award_winners" WHERE "year"='2012 6th'; | 2-15301258-1 |
Which Best Actor has a Best Director of takeshi kitano for outrage beyond? | CREATE TABLE "major_award_winners" (
"year" text,
"best_film" text,
"best_director" text,
"best_actor" text,
"best_actress" text,
"best_supporting_actress" text
); | SELECT "best_actor" FROM "major_award_winners" WHERE "best_director"='takeshi kitano for outrage beyond'; | 2-15301258-1 |
Which Best Film has a Best Supporting Actress of shamaine buencamino for niño? | CREATE TABLE "major_award_winners" (
"year" text,
"best_film" text,
"best_director" text,
"best_actor" text,
"best_actress" text,
"best_supporting_actress" text
); | SELECT "best_film" FROM "major_award_winners" WHERE "best_supporting_actress"='shamaine buencamino for niño'; | 2-15301258-1 |
Score of 0–0, and a Date of 02-jan-64 had what result? | CREATE TABLE "1960s" (
"date" text,
"result" text,
"score" text,
"venue" text,
"competition" text
); | SELECT "result" FROM "1960s" WHERE "score"='0–0' AND "date"='02-jan-64'; | 2-14960283-3 |
Result of l, and a Competition of 1966 asian games, and a Score of 0–1 had what date? | CREATE TABLE "1960s" (
"date" text,
"result" text,
"score" text,
"venue" text,
"competition" text
); | SELECT "date" FROM "1960s" WHERE "result"='l' AND "competition"='1966 asian games' AND "score"='0–1'; | 2-14960283-3 |
Competition of friendly, and a Date of 03-jun-62 had what score? | CREATE TABLE "1960s" (
"date" text,
"result" text,
"score" text,
"venue" text,
"competition" text
); | SELECT "score" FROM "1960s" WHERE "competition"='friendly' AND "date"='03-jun-62'; | 2-14960283-3 |
Result of w, and a Competition of 1968 asian cup happened on what date? | CREATE TABLE "1960s" (
"date" text,
"result" text,
"score" text,
"venue" text,
"competition" text
); | SELECT "date" FROM "1960s" WHERE "result"='w' AND "competition"='1968 asian cup'; | 2-14960283-3 |
Result of l, and a Date of 15-oct-64 had what score? | CREATE TABLE "1960s" (
"date" text,
"result" text,
"score" text,
"venue" text,
"competition" text
); | SELECT "score" FROM "1960s" WHERE "result"='l' AND "date"='15-oct-64'; | 2-14960283-3 |
What incumbent was re-elected in the district in california 3? | CREATE TABLE "california" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text
); | SELECT "incumbent" FROM "california" WHERE "result"='re-elected' AND "district"='california 3'; | 2-1431459-3 |
What is the district of the incumbent Thomas Larkin Thompson? | CREATE TABLE "california" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text
); | SELECT "district" FROM "california" WHERE "incumbent"='thomas larkin thompson'; | 2-1431459-3 |
What incumbent has a re-elected result and first elected larger than 1884? | CREATE TABLE "california" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text
); | SELECT "incumbent" FROM "california" WHERE "result"='re-elected' AND "first_elected">1884; | 2-1431459-3 |
Which Telugu తెలుగు has a Kannada ಕನ್ನಡ of chitra ಚಿತ್ತ? | CREATE TABLE "names_in_modern_languages" (
"sanskrit" text,
"tamil" text,
"telugu" text,
"kannada" text,
"malayalam" text,
"mongolian" text
); | SELECT "telugu" FROM "names_in_modern_languages" WHERE "kannada"='chitra ಚಿತ್ತ'; | 2-1408397-3 |
Which Telugu తెలుగు has a Tamil தமிழ் of pūrāṭam பூராடம்? | CREATE TABLE "names_in_modern_languages" (
"sanskrit" text,
"tamil" text,
"telugu" text,
"kannada" text,
"malayalam" text,
"mongolian" text
); | SELECT "telugu" FROM "names_in_modern_languages" WHERE "tamil"='pūrāṭam பூராடம்'; | 2-1408397-3 |
Which Telugu తెలుగు has a Tamil தமிழ் of pūsam பூசம்? | CREATE TABLE "names_in_modern_languages" (
"sanskrit" text,
"tamil" text,
"telugu" text,
"kannada" text,
"malayalam" text,
"mongolian" text
); | SELECT "telugu" FROM "names_in_modern_languages" WHERE "tamil"='pūsam பூசம்'; | 2-1408397-3 |
Which Mongolian has a Tamil தமிழ் of pūrāṭam பூராடம்? | CREATE TABLE "names_in_modern_languages" (
"sanskrit" text,
"tamil" text,
"telugu" text,
"kannada" text,
"malayalam" text,
"mongolian" text
); | SELECT "mongolian" FROM "names_in_modern_languages" WHERE "tamil"='pūrāṭam பூராடம்'; | 2-1408397-3 |
What kind of Sanskrit संस्कृतम् has a Kannada ಕನ್ನಡ of uttara ಉತ್ತರಾ? | CREATE TABLE "names_in_modern_languages" (
"sanskrit" text,
"tamil" text,
"telugu" text,
"kannada" text,
"malayalam" text,
"mongolian" text
); | SELECT "sanskrit" FROM "names_in_modern_languages" WHERE "kannada"='uttara ಉತ್ತರಾ'; | 2-1408397-3 |
What kind of Sanskrit संस्कृतम् has a Tamil தமிழ் of rōkiṇi ரோகிணி? | CREATE TABLE "names_in_modern_languages" (
"sanskrit" text,
"tamil" text,
"telugu" text,
"kannada" text,
"malayalam" text,
"mongolian" text
); | SELECT "sanskrit" FROM "names_in_modern_languages" WHERE "tamil"='rōkiṇi ரோகிணி'; | 2-1408397-3 |
What is the frequency for katherine? | CREATE TABLE "defunct_callsigns" (
"callsign" text,
"area_served" text,
"frequency" text,
"band" text,
"freq_currently" text,
"purpose" text
); | SELECT "frequency" FROM "defunct_callsigns" WHERE "area_served"='katherine'; | 2-14155573-2 |
Which band has a current freq of 8tab (hpon)? | CREATE TABLE "defunct_callsigns" (
"callsign" text,
"area_served" text,
"frequency" text,
"band" text,
"freq_currently" text,
"purpose" text
); | SELECT "band" FROM "defunct_callsigns" WHERE "freq_currently"='8tab (hpon)'; | 2-14155573-2 |
Which freq currently has 0 657? | CREATE TABLE "defunct_callsigns" (
"callsign" text,
"area_served" text,
"frequency" text,
"band" text,
"freq_currently" text,
"purpose" text
); | SELECT "freq_currently" FROM "defunct_callsigns" WHERE "frequency"='0 657'; | 2-14155573-2 |
What is the purpose for the katherine freq of 8rn? | CREATE TABLE "defunct_callsigns" (
"callsign" text,
"area_served" text,
"frequency" text,
"band" text,
"freq_currently" text,
"purpose" text
); | SELECT "purpose" FROM "defunct_callsigns" WHERE "freq_currently"='8rn' AND "area_served"='katherine'; | 2-14155573-2 |
Which freq currently has 0 684? | CREATE TABLE "defunct_callsigns" (
"callsign" text,
"area_served" text,
"frequency" text,
"band" text,
"freq_currently" text,
"purpose" text
); | SELECT "freq_currently" FROM "defunct_callsigns" WHERE "frequency"='0 684'; | 2-14155573-2 |
Which band serves darwin for commercial purpose? | CREATE TABLE "defunct_callsigns" (
"callsign" text,
"area_served" text,
"frequency" text,
"band" text,
"freq_currently" text,
"purpose" text
); | SELECT "band" FROM "defunct_callsigns" WHERE "area_served"='darwin' AND "purpose"='commercial'; | 2-14155573-2 |
What is the points difference for a loss less than 6, and points less than 11? | CREATE TABLE "world_championship_group_c_france" (
"games" real,
"drawn" real,
"lost" real,
"points_difference" text,
"points" real
); | SELECT "points_difference" FROM "world_championship_group_c_france" WHERE "lost"<6 AND "points"<11; | 2-14137714-5 |
Which Opponent has a Loss of báez (5-5)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "loss"='báez (5-5)'; | 2-14546523-5 |
Which Score has an Opponent of @ rockies, and a Record of 33-35? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "opponent"='@ rockies' AND "record"='33-35'; | 2-14546523-5 |
Which Attendance has an Opponent of phillies, and a Record of 30-33? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT SUM("attendance") FROM "game_log" WHERE "opponent"='phillies' AND "record"='30-33'; | 2-14546523-5 |
Which Attendance is the highest one that has a Loss of batista (4-5)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT MAX("attendance") FROM "game_log" WHERE "loss"='batista (4-5)'; | 2-14546523-5 |
What is the frequency MHz of the ERP W's greater than 250? | CREATE TABLE "broadcast_translators_of_kanz" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT AVG("frequency_m_hz") FROM "broadcast_translators_of_kanz" WHERE "erp_w">250; | 2-14203256-2 |
What is the call sign of the MHz Frequency less than 94.9 and an ERP W of 170? | CREATE TABLE "broadcast_translators_of_kanz" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "call_sign" FROM "broadcast_translators_of_kanz" WHERE "frequency_m_hz"<94.9 AND "erp_w"=170; | 2-14203256-2 |
What is the FCC info for the city of Tribune, Kansas? | CREATE TABLE "broadcast_translators_of_kanz" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "fcc_info" FROM "broadcast_translators_of_kanz" WHERE "city_of_license"='tribune, kansas'; | 2-14203256-2 |
What is the city of license with an ERP W less than 170? | CREATE TABLE "broadcast_translators_of_kanz" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "city_of_license" FROM "broadcast_translators_of_kanz" WHERE "erp_w"<170; | 2-14203256-2 |
What is the smallest ERP W with a frequency MHz of 94.9? | CREATE TABLE "broadcast_translators_of_kanz" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT MIN("erp_w") FROM "broadcast_translators_of_kanz" WHERE "frequency_m_hz"=94.9; | 2-14203256-2 |
What is the ERP W of a Frequency MHz greater than 89.5 in the city of Washburn, Texas? | CREATE TABLE "broadcast_translators_of_kanz" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "erp_w" FROM "broadcast_translators_of_kanz" WHERE "frequency_m_hz">89.5 AND "city_of_license"='washburn, texas'; | 2-14203256-2 |
What is the total number of bronze medals the U.S. Virgin Islands, which has less than 0 golds, has? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "medal_table" WHERE "nation"='u.s. virgin islands' AND "gold"<0; | 2-14420686-3 |
What is the rank of the team with 11 total medals and more than 4 silver medals has? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("rank") FROM "medal_table" WHERE "total"=11 AND "silver">4; | 2-14420686-3 |
What is the lowest total medals the team with more than 0 bronze, 6 silver, and a rank higher than 3 has? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("total") FROM "medal_table" WHERE "bronze">0 AND "silver"=6 AND "rank"<3; | 2-14420686-3 |
What is the highest rank of Venezuela, which has more than 9 bronze medals? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("rank") FROM "medal_table" WHERE "nation"='venezuela' AND "bronze">9; | 2-14420686-3 |
What is the lowest rank of the team with 0 bronze, 1 silver, and more than 0 gold? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("rank") FROM "medal_table" WHERE "bronze"=0 AND "silver"=1 AND "gold">0; | 2-14420686-3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.