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 Week number with a result of l 31–28? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT COUNT("week") FROM "schedule" WHERE "result"='l 31–28'; | 2-15331575-1 |
What was the score at the Tie no. 1 game? | CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" real
); | SELECT "score" FROM "fifth_round_proper" WHERE "tie_no"='1'; | 2-15828727-6 |
What was the attendance at the West Ham United home game? | CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" real
); | SELECT "attendance" FROM "fifth_round_proper" WHERE "home_team"='west ham united'; | 2-15828727-6 |
What is the Sport with a Name that is gustav larsson? | CREATE TABLE "medalists" (
"medal" text,
"name" text,
"sport" text,
"event" text,
"date" text
); | SELECT "sport" FROM "medalists" WHERE "name"='gustav larsson'; | 2-15767260-1 |
What is the Name with an Event that is men's time trial? | CREATE TABLE "medalists" (
"medal" text,
"name" text,
"sport" text,
"event" text,
"date" text
); | SELECT "name" FROM "medalists" WHERE "event"='men''s time trial'; | 2-15767260-1 |
At which venue did the event held on 15 November 2010 occur? | CREATE TABLE "under_23_international_career" (
"date" text,
"venue" text,
"result" text,
"goals" real,
"competition" text
); | SELECT "venue" FROM "under_23_international_career" WHERE "date"='15 november 2010'; | 2-15426861-2 |
Which Points has a Performer of rob burke band and a Draw larger than 1? | CREATE TABLE "references" (
"draw" real,
"song" text,
"performer" text,
"points" real,
"rank" text
); | SELECT AVG("points") FROM "references" WHERE "performer"='rob burke band' AND "draw">1; | 2-15690519-1 |
What Points have a Song of "this time" and a Draw smaller than 5? | CREATE TABLE "references" (
"draw" real,
"song" text,
"performer" text,
"points" real,
"rank" text
); | SELECT COUNT("points") FROM "references" WHERE "song"='\"this time\"' AND "draw"<5; | 2-15690519-1 |
Which Points have a Performer of seán monaghan and a Draw smaller than 7? | CREATE TABLE "references" (
"draw" real,
"song" text,
"performer" text,
"points" real,
"rank" text
); | SELECT MIN("points") FROM "references" WHERE "performer"='seán monaghan' AND "draw"<7; | 2-15690519-1 |
Which Points has a Performer of rob burke band? | CREATE TABLE "references" (
"draw" real,
"song" text,
"performer" text,
"points" real,
"rank" text
); | SELECT COUNT("points") FROM "references" WHERE "performer"='rob burke band'; | 2-15690519-1 |
What is the Finish of 28 Wins? | CREATE TABLE "season_by_season" (
"season" text,
"division" text,
"finish" text,
"wins" text,
"losses" text,
"pct" text
); | SELECT "finish" FROM "season_by_season" WHERE "wins"='28'; | 2-16029980-1 |
What is the Finish of the Reno Bighorns Wins? | CREATE TABLE "season_by_season" (
"season" text,
"division" text,
"finish" text,
"wins" text,
"losses" text,
"pct" text
); | SELECT "finish" FROM "season_by_season" WHERE "wins"='reno bighorns'; | 2-16029980-1 |
What is the Finish of 28 Wins? | CREATE TABLE "season_by_season" (
"season" text,
"division" text,
"finish" text,
"wins" text,
"losses" text,
"pct" text
); | SELECT "finish" FROM "season_by_season" WHERE "wins"='28'; | 2-16029980-1 |
What is the Western Division of Wins with a 4th Finish? | CREATE TABLE "season_by_season" (
"season" text,
"division" text,
"finish" text,
"wins" text,
"losses" text,
"pct" text
); | SELECT "wins" FROM "season_by_season" WHERE "division"='western' AND "finish"='4th'; | 2-16029980-1 |
What are the losses of the playoffs season? | CREATE TABLE "season_by_season" (
"season" text,
"division" text,
"finish" text,
"wins" text,
"losses" text,
"pct" text
); | SELECT "losses" FROM "season_by_season" WHERE "season"='playoffs'; | 2-16029980-1 |
What is Team 1, when Team 2 is Saint Louis? | CREATE TABLE "preliminary_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_1" FROM "preliminary_round" WHERE "team_2"='saint louis'; | 2-16163549-1 |
What is Agg., when Team 2 is Mukungwa? | CREATE TABLE "preliminary_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "agg" FROM "preliminary_round" WHERE "team_2"='mukungwa'; | 2-16163549-1 |
What is the Round with an Opponent that is torpedo moscow? | CREATE TABLE "1980s_hat_tricks" (
"season" text,
"competition" text,
"round" text,
"opponent" text,
"home" text,
"away" text,
"series" text
); | SELECT "round" FROM "1980s_hat_tricks" WHERE "opponent"='torpedo moscow'; | 2-1573615-4 |
Can you tell me the sum of Matches that has the Goals of 103, and the Rank larger than 9? | CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" real,
"goals" real
); | SELECT SUM("matches") FROM "list_of_top_association_football_goal_sc" WHERE "goals"=103 AND "rank">9; | 2-1590321-9 |
Can you tell me the Name that has the Goals larger than 98, and the Rank of 7? | CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" real,
"goals" real
); | SELECT "name" FROM "list_of_top_association_football_goal_sc" WHERE "goals">98 AND "rank"=7; | 2-1590321-9 |
How many laps had a time stat of accident for the rider carmelo morales when the grid was more than 25? | CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT SUM("laps") FROM "superbike_race_1_classification" WHERE "time"='accident' AND "rider"='carmelo morales' AND "grid">25; | 2-16159039-1 |
How many laps had a time of +2.987? | CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT COUNT("laps") FROM "superbike_race_1_classification" WHERE "time"='+2.987'; | 2-16159039-1 |
Which bike had fewer than 23 laps and a grid number of 4? | CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "bike" FROM "superbike_race_1_classification" WHERE "laps"<23 AND "grid"=4; | 2-16159039-1 |
What is the Record for week 14? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"time" text,
"opponent" text,
"result" text,
"game_site" text,
"nfl_recap" text,
"record" text
); | SELECT "record" FROM "regular_season" WHERE "week"=14; | 2-15626917-17 |
What is the Result with an NFL Recap, played at bank of america stadium? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"time" text,
"opponent" text,
"result" text,
"game_site" text,
"nfl_recap" text,
"record" text
); | SELECT "result" FROM "regular_season" WHERE "nfl_recap"='recap' AND "game_site"='bank of america stadium'; | 2-15626917-17 |
What is the Record for week 12? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"time" text,
"opponent" text,
"result" text,
"game_site" text,
"nfl_recap" text,
"record" text
); | SELECT "record" FROM "regular_season" WHERE "week"=12; | 2-15626917-17 |
What is the Opponent with a time of 2:05 p.m., and the results were w 26–20? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"time" text,
"opponent" text,
"result" text,
"game_site" text,
"nfl_recap" text,
"record" text
); | SELECT "opponent" FROM "regular_season" WHERE "time"='2:05 p.m.' AND "result"='w 26–20'; | 2-15626917-17 |
What is the highest Week for october 12, 2008? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"time" text,
"opponent" text,
"result" text,
"game_site" text,
"nfl_recap" text,
"record" text
); | SELECT MAX("week") FROM "regular_season" WHERE "date"='october 12, 2008'; | 2-15626917-17 |
Which team has 1 as the drawn, with 2 as the lost? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT "team" FROM "campeonato_paulista" WHERE "drawn"=1 AND "lost"=2; | 2-15367861-2 |
How many drawns have 7 for the lost? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT SUM("drawn") FROM "campeonato_paulista" WHERE "lost"=7; | 2-15367861-2 |
What is the average played that has a drawn greater than 1, with an against greater than 16? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("played") FROM "campeonato_paulista" WHERE "drawn">1 AND "against">16; | 2-15367861-2 |
What is the sum of Maidens with a number of Matches that is 2? | CREATE TABLE "first_class_bowling_statistics" (
"player" text,
"matches" real,
"overs" real,
"maidens" real,
"runs" real,
"wickets" real,
"average" text,
"economy" real,
"best_bowling" text
); | SELECT SUM("maidens") FROM "first_class_bowling_statistics" WHERE "matches"=2; | 2-15893020-2 |
Ranking higher than 2, what Team has Player Paolo Maldini? | CREATE TABLE "men" (
"rank" real,
"name" text,
"team" text,
"country" text,
"points" real
); | SELECT "team" FROM "men" WHERE "rank">2 AND "name"='paolo maldini'; | 2-16040505-1 |
What Country is in Rank 2? | CREATE TABLE "men" (
"rank" real,
"name" text,
"team" text,
"country" text,
"points" real
); | SELECT "country" FROM "men" WHERE "rank"=2; | 2-16040505-1 |
What date was Leo Mainoldi (24) the leading scorer? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "date" FROM "march" WHERE "leading_scorer"='leo mainoldi (24)'; | 2-15993717-7 |
Who is the visitor with the 14-10 record? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "visitor" FROM "march" WHERE "record"='14-10'; | 2-15993717-7 |
What is the record of the 73-82 score? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "record" FROM "march" WHERE "score"='73-82'; | 2-15993717-7 |
Who is the leading scorer of the Villa De Los Barrios visitor? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "leading_scorer" FROM "march" WHERE "visitor"='villa de los barrios'; | 2-15993717-7 |
Who is the visitor with a 14-10 record? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "visitor" FROM "march" WHERE "record"='14-10'; | 2-15993717-7 |
What is the score of the team with the 14-9 record? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "score" FROM "march" WHERE "record"='14-9'; | 2-15993717-7 |
What was the date of the game with 6 goals? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "goal"=6; | 2-1557567-1 |
What was the highest number of goals for a game held at Hannover? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"result" text,
"competition" text
); | SELECT MAX("goal") FROM "international_goals" WHERE "venue"='hannover'; | 2-1557567-1 |
What was the result of the game with more than 12 goals at Pasadena? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "goal">12 AND "venue"='pasadena'; | 2-1557567-1 |
What round was Andre Fluellen drafted as a Defensive Tackle? | CREATE TABLE "2008_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"team" text
); | SELECT COUNT("round") FROM "2008_draft" WHERE "position"='defensive tackle' AND "player"='andre fluellen'; | 2-15347746-1 |
After Round 5, which player was drafted for Defensive Tackle? | CREATE TABLE "2008_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"team" text
); | SELECT "player" FROM "2008_draft" WHERE "round">5 AND "position"='defensive tackle'; | 2-15347746-1 |
What was the earliest Round for Central Florida? | CREATE TABLE "2008_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"team" text
); | SELECT MIN("round") FROM "2008_draft" WHERE "team"='central florida'; | 2-15347746-1 |
What is the date of the label Dos or Die Recordings? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "date" FROM "release_history" WHERE "label"='dos or die recordings'; | 2-15322722-2 |
What is the label for 2002, in Germany, Catalog Dos 195? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "label" FROM "release_history" WHERE "date"='2002' AND "region"='germany' AND "catalog"='dos 195'; | 2-15322722-2 |
What region has a 2002 date, and a Catalog dos 195? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "region" FROM "release_history" WHERE "date"='2002' AND "catalog"='dos 195'; | 2-15322722-2 |
What is the Winners when the United States is the runner-up at st. germain golf club? | CREATE TABLE "results" (
"year" real,
"venue" text,
"location" text,
"winners" text,
"runners_up" text
); | SELECT "winners" FROM "results" WHERE "runners_up"='united states' AND "venue"='st. germain golf club'; | 2-1551027-1 |
What is the average Year when Australia was the runner-up at victoria golf club? | CREATE TABLE "results" (
"year" real,
"venue" text,
"location" text,
"winners" text,
"runners_up" text
); | SELECT AVG("year") FROM "results" WHERE "runners_up"='australia' AND "venue"='victoria golf club'; | 2-1551027-1 |
What is the Location when France was the runner-up at club de campo? | CREATE TABLE "results" (
"year" real,
"venue" text,
"location" text,
"winners" text,
"runners_up" text
); | SELECT "location" FROM "results" WHERE "runners_up"='france' AND "venue"='club de campo'; | 2-1551027-1 |
What is the Location when Canada was the runner-up and Australia was the winner? | CREATE TABLE "results" (
"year" real,
"venue" text,
"location" text,
"winners" text,
"runners_up" text
); | SELECT "location" FROM "results" WHERE "runners_up"='canada' AND "winners"='australia'; | 2-1551027-1 |
What is the Name of the Space Telescope Terminated on March 1993? | CREATE TABLE "visible" (
"name" text,
"space_agency" text,
"launch_date" text,
"terminated" text,
"location" text
); | SELECT "name" FROM "visible" WHERE "terminated"='march 1993'; | 2-15951109-4 |
What is Party, when Opinion Research Centre (OPC) is 1.5%? | CREATE TABLE "opinion_poll_summary" (
"party" text,
"marplan" text,
"gallup" text,
"national_opinion_polls_nop" text,
"opinion_research_centre_opc" text,
"harris" text
); | SELECT "party" FROM "opinion_poll_summary" WHERE "opinion_research_centre_opc"='1.5%'; | 2-159614-2 |
What is Marplan, when Gallup is 1.5% | CREATE TABLE "opinion_poll_summary" (
"party" text,
"marplan" text,
"gallup" text,
"national_opinion_polls_nop" text,
"opinion_research_centre_opc" text,
"harris" text
); | SELECT "marplan" FROM "opinion_poll_summary" WHERE "gallup"='1.5%'; | 2-159614-2 |
What is Opinion Research Centre (OPC), when Party is Conservative? | CREATE TABLE "opinion_poll_summary" (
"party" text,
"marplan" text,
"gallup" text,
"national_opinion_polls_nop" text,
"opinion_research_centre_opc" text,
"harris" text
); | SELECT "opinion_research_centre_opc" FROM "opinion_poll_summary" WHERE "party"='conservative'; | 2-159614-2 |
What is Harris, when Marplan is 1.3% | CREATE TABLE "opinion_poll_summary" (
"party" text,
"marplan" text,
"gallup" text,
"national_opinion_polls_nop" text,
"opinion_research_centre_opc" text,
"harris" text
); | SELECT "harris" FROM "opinion_poll_summary" WHERE "marplan"='1.3%'; | 2-159614-2 |
What are the fewest points that Roger Dutton/Tony Wright have received? | CREATE TABLE "1972_isle_of_man_sidecar_500cc_tt_final_" (
"place" real,
"rider" text,
"country" text,
"machine" text,
"speed" text,
"time" text,
"points" real
); | SELECT MIN("points") FROM "1972_isle_of_man_sidecar_500cc_tt_final_" WHERE "rider"='roger dutton/tony wright'; | 2-15753390-2 |
How fast does the BMW with 6 points go? | CREATE TABLE "1972_isle_of_man_sidecar_500cc_tt_final_" (
"place" real,
"rider" text,
"country" text,
"machine" text,
"speed" text,
"time" text,
"points" real
); | SELECT "speed" FROM "1972_isle_of_man_sidecar_500cc_tt_final_" WHERE "machine"='bmw' AND "points"=6; | 2-15753390-2 |
What is the average draw for Desi Dobreva, was it less than 6? | CREATE TABLE "final_wildcards" (
"draw" real,
"artist" text,
"song" text,
"televote" text,
"place" real
); | SELECT AVG("draw") FROM "final_wildcards" WHERE "artist"='desi dobreva' AND "place"<6; | 2-15460014-13 |
What was the first leg score for the match that had AS Police as team 2? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "second_round" WHERE "team_2"='as police'; | 2-16003508-3 |
Who were the team 2 when team 1 was Iwuanyanwu Nationale and the 1st leg score was 2-0? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_2" FROM "second_round" WHERE "1st_leg"='2-0' AND "team_1"='iwuanyanwu nationale'; | 2-16003508-3 |
What was the 2nd leg score for the tie that had a 5-0 first leg score? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "second_round" WHERE "1st_leg"='5-0'; | 2-16003508-3 |
What was the team 1 for the tie that had a first leg score of 2-3? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_1" FROM "second_round" WHERE "1st_leg"='2-3'; | 2-16003508-3 |
Who was the team 1 in the match that had a 1st leg score of 3-0 and a 2nd leg of 1-2? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_1" FROM "second_round" WHERE "2nd_leg"='1-2' AND "1st_leg"='3-0'; | 2-16003508-3 |
What was the first leg score for the match that had a 0-2 2nd leg score? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "second_round" WHERE "2nd_leg"='0-2'; | 2-16003508-3 |
What was the result for the Outstanding director of a musical category? | CREATE TABLE "2000_broadway_revival" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "result" FROM "2000_broadway_revival" WHERE "category"='outstanding director of a musical'; | 2-157320-3 |
What was the result of the Award of Drama desk award nominee Tom Hewitt. | CREATE TABLE "2000_broadway_revival" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "result" FROM "2000_broadway_revival" WHERE "award"='drama desk award' AND "nominee"='tom hewitt'; | 2-157320-3 |
What year was best costume design the award category? | CREATE TABLE "2000_broadway_revival" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "year" FROM "2000_broadway_revival" WHERE "category"='best costume design'; | 2-157320-3 |
Which accolade has USA as the country, with a year less than 2009? | CREATE TABLE "accolades" (
"publication" text,
"country" text,
"accolade" text,
"year" real,
"rank" text
); | SELECT "accolade" FROM "accolades" WHERE "country"='usa' AND "year"<2009; | 2-15588439-3 |
How many years have an accolade of 50 best albums of the year, with #3 as the rank? | CREATE TABLE "accolades" (
"publication" text,
"country" text,
"accolade" text,
"year" real,
"rank" text
); | SELECT SUM("year") FROM "accolades" WHERE "accolade"='50 best albums of the year' AND "rank"='#3'; | 2-15588439-3 |
Which rank has canada as the country? | CREATE TABLE "accolades" (
"publication" text,
"country" text,
"accolade" text,
"year" real,
"rank" text
); | SELECT "rank" FROM "accolades" WHERE "country"='canada'; | 2-15588439-3 |
What is the name of the Guest Host for Episode Number of 5? | CREATE TABLE "series_7" (
"episode_number" real,
"air_date" text,
"guest_host" text,
"musical_guest_song_performed" text,
"coat_of_cash_wearing_celebrity" text
); | SELECT "guest_host" FROM "series_7" WHERE "episode_number"=5; | 2-1590967-7 |
What is the Guest Host for the episode on 8 june 2008? | CREATE TABLE "series_7" (
"episode_number" real,
"air_date" text,
"guest_host" text,
"musical_guest_song_performed" text,
"coat_of_cash_wearing_celebrity" text
); | SELECT "guest_host" FROM "series_7" WHERE "air_date"='8 june 2008'; | 2-1590967-7 |
What is the Musical Guest (Song performed) for the episode aired on 13 july 2008? | CREATE TABLE "series_7" (
"episode_number" real,
"air_date" text,
"guest_host" text,
"musical_guest_song_performed" text,
"coat_of_cash_wearing_celebrity" text
); | SELECT "musical_guest_song_performed" FROM "series_7" WHERE "air_date"='13 july 2008'; | 2-1590967-7 |
What was the score for the 2014 FIFA World Cup Qualification (UEFA)? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "competition"='2014 fifa world cup qualification (uefa)'; | 2-16022252-1 |
What was the kickoff time for week 11's game? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"kickoff_time" text,
"attendance" text
); | SELECT "kickoff_time" FROM "schedule" WHERE "week"=11; | 2-15331481-1 |
When Mark O'meara was the senior player champion in a year greater than 1998, who was the tradition? | CREATE TABLE "senior_major_winners" (
"year" real,
"senior_pga_championship" text,
"the_tradition" text,
"senior_players_championship" text,
"u_s_senior_open" text,
"senior_british_open" text
); | SELECT "the_tradition" FROM "senior_major_winners" WHERE "year">1998 AND "senior_players_championship"='mark o''meara'; | 2-1555178-1 |
Who was the tradition when Roberto Devicenzo won the U.S. Senior Open and the Senior British Open was founded in 1987? | CREATE TABLE "senior_major_winners" (
"year" real,
"senior_pga_championship" text,
"the_tradition" text,
"senior_players_championship" text,
"u_s_senior_open" text,
"senior_british_open" text
); | SELECT "the_tradition" FROM "senior_major_winners" WHERE "senior_british_open"='founded in 1987' AND "u_s_senior_open"='roberto devicenzo'; | 2-1555178-1 |
Who won the Senior British Open when Hale Irwin (3/7) won the Senior PGA Championship? | CREATE TABLE "senior_major_winners" (
"year" real,
"senior_pga_championship" text,
"the_tradition" text,
"senior_players_championship" text,
"u_s_senior_open" text,
"senior_british_open" text
); | SELECT "senior_british_open" FROM "senior_major_winners" WHERE "senior_pga_championship"='hale irwin (3/7)'; | 2-1555178-1 |
When Tom Watson (5/6) won the Senior British Open who won the Senior PGA Championship? | CREATE TABLE "senior_major_winners" (
"year" real,
"senior_pga_championship" text,
"the_tradition" text,
"senior_players_championship" text,
"u_s_senior_open" text,
"senior_british_open" text
); | SELECT "senior_pga_championship" FROM "senior_major_winners" WHERE "senior_british_open"='tom watson (5/6)'; | 2-1555178-1 |
Which Week has Points For larger than 19, and an Opponent of philadelphia eagles, and Points Against larger than 7? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"result" text,
"record" text,
"opponent" text,
"points_for" real,
"points_against" real,
"first_downs" real,
"attendance" real
); | SELECT MAX("week") FROM "schedule" WHERE "points_for">19 AND "opponent"='philadelphia eagles' AND "points_against">7; | 2-15607589-2 |
Which Attendance has a First Downs smaller than 26, an Opponent of los angeles rams, and Points For larger than 28? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"result" text,
"record" text,
"opponent" text,
"points_for" real,
"points_against" real,
"first_downs" real,
"attendance" real
); | SELECT SUM("attendance") FROM "schedule" WHERE "first_downs"<26 AND "opponent"='los angeles rams' AND "points_for">28; | 2-15607589-2 |
Which League Cup has a FA Cup of 5, and a Club of boston united, and a League smaller than 16? | CREATE TABLE "top_scorers_in_order_of_league_goals" (
"player" text,
"club" text,
"league" real,
"fa_cup" real,
"fa_trophy" real,
"league_cup" real,
"total" real
); | SELECT MAX("league_cup") FROM "top_scorers_in_order_of_league_goals" WHERE "fa_cup"=5 AND "club"='boston united' AND "league"<16; | 2-15568845-4 |
How many Total that has a FA Trophy of 0 and a Player of charlie butler? | CREATE TABLE "top_scorers_in_order_of_league_goals" (
"player" text,
"club" text,
"league" real,
"fa_cup" real,
"fa_trophy" real,
"league_cup" real,
"total" real
); | SELECT COUNT("total") FROM "top_scorers_in_order_of_league_goals" WHERE "fa_trophy"=0 AND "player"='charlie butler'; | 2-15568845-4 |
How many FA Trophy has a Player of mario walsh and a League larger than 17? | CREATE TABLE "top_scorers_in_order_of_league_goals" (
"player" text,
"club" text,
"league" real,
"fa_cup" real,
"fa_trophy" real,
"league_cup" real,
"total" real
); | SELECT AVG("fa_trophy") FROM "top_scorers_in_order_of_league_goals" WHERE "player"='mario walsh' AND "league">17; | 2-15568845-4 |
What was the score of the winning match on Oct 28, 1962? | 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 "date"='oct 28, 1962'; | 2-1570274-1 |
By how many strokes did Lema beat Jack Nicklaus? | CREATE TABLE "pga_tour_wins_12" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "pga_tour_wins_12" WHERE "runner_s_up"='jack nicklaus'; | 2-1570274-1 |
Who was the runner-up on Jan 19, 1964? | 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 "date"='jan 19, 1964'; | 2-1570274-1 |
How many Rebounds did Maccabi Tel Aviv Team get after Game 6? | CREATE TABLE "rebounds" (
"rank" real,
"name" text,
"team" text,
"games" real,
"rebounds" real
); | SELECT COUNT("rebounds") FROM "rebounds" WHERE "team"='maccabi tel aviv' AND "games">6; | 2-16050349-5 |
How many Games for the player with Rebounds from Efes Pilsen? | CREATE TABLE "rebounds" (
"rank" real,
"name" text,
"team" text,
"games" real,
"rebounds" real
); | SELECT "games" FROM "rebounds" WHERE "team"='efes pilsen'; | 2-16050349-5 |
How many Games for the Player from Lietuvos Rytas Vilnius with less the 43 Rebounds? | CREATE TABLE "rebounds" (
"rank" real,
"name" text,
"team" text,
"games" real,
"rebounds" real
); | SELECT SUM("games") FROM "rebounds" WHERE "team"='lietuvos rytas vilnius' AND "rebounds"<43; | 2-16050349-5 |
Who is The Author of zhou clarke zhang? | CREATE TABLE "newly_named_birds" (
"name" text,
"status" text,
"authors" text,
"location" text,
"notes" text
); | SELECT "name" FROM "newly_named_birds" WHERE "authors"='zhou clarke zhang'; | 2-15688561-8 |
What is the Status of primitive confuciusornithid .? | CREATE TABLE "newly_named_birds" (
"name" text,
"status" text,
"authors" text,
"location" text,
"notes" text
); | SELECT "status" FROM "newly_named_birds" WHERE "notes"='primitive confuciusornithid .'; | 2-15688561-8 |
What is the name of gao chiappe meng o'connor wang cheng liu? | CREATE TABLE "newly_named_birds" (
"name" text,
"status" text,
"authors" text,
"location" text,
"notes" text
); | SELECT "name" FROM "newly_named_birds" WHERE "authors"='gao chiappe meng o''connor wang cheng liu'; | 2-15688561-8 |
Where has a Name of zhongornis? | CREATE TABLE "newly_named_birds" (
"name" text,
"status" text,
"authors" text,
"location" text,
"notes" text
); | SELECT "location" FROM "newly_named_birds" WHERE "name"='zhongornis'; | 2-15688561-8 |
Which Notes has Authors of zhou clarke zhang? | CREATE TABLE "newly_named_birds" (
"name" text,
"status" text,
"authors" text,
"location" text,
"notes" text
); | SELECT "notes" FROM "newly_named_birds" WHERE "authors"='zhou clarke zhang'; | 2-15688561-8 |
Which First season of current spell is the lowest one that has a First season larger than 2005, and a Number of seasons in Superettan smaller than 8, and a Club of syrianska fc? | CREATE TABLE "current_clubs_2014_season" (
"club" text,
"position_in_2013" text,
"first_season" real,
"first_season_of_current_spell" real,
"number_of_seasons_in_superettan" real,
"number_of_seasons_in_second_tier" real
); | SELECT MIN("first_season_of_current_spell") FROM "current_clubs_2014_season" WHERE "first_season">2005 AND "number_of_seasons_in_superettan"<8 AND "club"='syrianska fc'; | 2-1560673-1 |
Which Number of seasons in second tier has a First season of 2000, and a First season of current spell of 2014? | CREATE TABLE "current_clubs_2014_season" (
"club" text,
"position_in_2013" text,
"first_season" real,
"first_season_of_current_spell" real,
"number_of_seasons_in_superettan" real,
"number_of_seasons_in_second_tier" real
); | SELECT "number_of_seasons_in_second_tier" FROM "current_clubs_2014_season" WHERE "first_season"=2000 AND "first_season_of_current_spell"=2014; | 2-1560673-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.