question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many Laps have Rider of olivier jacque, and a Grid larger than 7? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT SUM("laps") FROM "moto_gp_classification" WHERE "rider"='olivier jacque' AND "grid">7; | 2-17050986-1 |
Which Laps have a Manufacturer of suzuki, and a Grid smaller than 16? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MAX("laps") FROM "moto_gp_classification" WHERE "manufacturer"='suzuki' AND "grid"<16; | 2-17050986-1 |
How many Laps have a Grid larger than 9, and a Time/Retired of +32.354? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("laps") FROM "moto_gp_classification" WHERE "grid">9 AND "time_retired"='+32.354'; | 2-17050986-1 |
What is Record, when Date is Oct 19? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"score" text,
"result" text,
"attendance" text,
"record" text
); | SELECT "record" FROM "season_schedule" WHERE "date"='oct 19'; | 2-16912076-4 |
What is Attendance, when Opponent is Montreal Alouettes, and when Date is Oct 4? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"score" text,
"result" text,
"attendance" text,
"record" text
); | SELECT "attendance" FROM "season_schedule" WHERE "opponent"='montreal alouettes' AND "date"='oct 4'; | 2-16912076-4 |
What is Opponent, when Result is Win, and when Date is Aug 7? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"score" text,
"result" text,
"attendance" text,
"record" text
); | SELECT "opponent" FROM "season_schedule" WHERE "result"='win' AND "date"='aug 7'; | 2-16912076-4 |
what is the date when the score is 115-93? | CREATE TABLE "round_9" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"crowd" real,
"box_score" text,
"report" text
); | SELECT "date" FROM "round_9" WHERE "score"='115-93'; | 2-16653153-16 |
what is the average crowd when the away team is new zealand breakers and the venue is cairns convention centre? | CREATE TABLE "round_9" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"crowd" real,
"box_score" text,
"report" text
); | SELECT AVG("crowd") FROM "round_9" WHERE "away_team"='new zealand breakers' AND "venue"='cairns convention centre'; | 2-16653153-16 |
how many times is the home team wollongong hawks? | CREATE TABLE "round_9" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"crowd" real,
"box_score" text,
"report" text
); | SELECT COUNT("crowd") FROM "round_9" WHERE "home_team"='wollongong hawks'; | 2-16653153-16 |
what is the date when the venue is gold coast convention centre? | CREATE TABLE "round_9" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"crowd" real,
"box_score" text,
"report" text
); | SELECT "date" FROM "round_9" WHERE "venue"='gold coast convention centre'; | 2-16653153-16 |
Which Score has Points smaller than 67, and a Home of calgary flames? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "score" FROM "game_log" WHERE "points"<67 AND "home"='calgary flames'; | 2-17206737-8 |
Whic Date has a Score of 4–2? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "date" FROM "game_log" WHERE "score"='4–2'; | 2-17206737-8 |
Which Decision has a Record of 29–18–6? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "decision" FROM "game_log" WHERE "record"='29–18–6'; | 2-17206737-8 |
Which Date has a Score of 4–2? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "date" FROM "game_log" WHERE "score"='4–2'; | 2-17206737-8 |
How many losses did the coach who served under 1 season and in 1975 have? | CREATE TABLE "head_coaches" (
"name" text,
"years" text,
"seasons" real,
"lost" real,
"pct" real
); | SELECT COUNT("lost") FROM "head_coaches" WHERE "years"='1975' AND "seasons"<1; | 2-16647560-1 |
What is the number of seasons coached by Kathy Graham? | CREATE TABLE "head_coaches" (
"name" text,
"years" text,
"seasons" real,
"lost" real,
"pct" real
); | SELECT MIN("seasons") FROM "head_coaches" WHERE "name"='kathy graham'; | 2-16647560-1 |
What is the result on September 25, 1966? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "date"='september 25, 1966'; | 2-17407001-2 |
What is the attendance of the game on November 20, 1966 after week 10? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "week">10 AND "date"='november 20, 1966'; | 2-17407001-2 |
Who is the opponent on week 2? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "week"=2; | 2-17407001-2 |
Who is the opponent on November 20, 1966? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "date"='november 20, 1966'; | 2-17407001-2 |
What is the attendance of the game with the NY Islanders as home team? | CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT COUNT("attendance") FROM "regular_season" WHERE "home"='ny islanders'; | 2-17511295-4 |
What was the date of the game against seattle? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "regular_season" WHERE "opponent"='seattle'; | 2-17118657-10 |
Who were the opponents during game 30? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "opponent" FROM "regular_season" WHERE "game"=30; | 2-17118657-10 |
What was the record during the game with a score of 78-59? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "regular_season" WHERE "score"='78-59'; | 2-17118657-10 |
Which mlb team is located in maryland? | CREATE TABLE "teams" (
"team" text,
"city" text,
"state_province" text,
"league" text,
"est" text
); | SELECT "team" FROM "teams" WHERE "state_province"='maryland' AND "league"='mlb'; | 2-16786195-1 |
What team is located in brooklyn? | CREATE TABLE "teams" (
"team" text,
"city" text,
"state_province" text,
"league" text,
"est" text
); | SELECT "team" FROM "teams" WHERE "city"='brooklyn'; | 2-16786195-1 |
In what year was the cfl team in edmonton, alberta established? | CREATE TABLE "teams" (
"team" text,
"city" text,
"state_province" text,
"league" text,
"est" text
); | SELECT "est" FROM "teams" WHERE "state_province"='alberta' AND "league"='cfl' AND "city"='edmonton'; | 2-16786195-1 |
In what year was the NFL team in chicago illinois established? | CREATE TABLE "teams" (
"team" text,
"city" text,
"state_province" text,
"league" text,
"est" text
); | SELECT "est" FROM "teams" WHERE "state_province"='illinois' AND "city"='chicago' AND "league"='nfl'; | 2-16786195-1 |
Which team is located in missouri and was established in 1963? | CREATE TABLE "teams" (
"team" text,
"city" text,
"state_province" text,
"league" text,
"est" text
); | SELECT "team" FROM "teams" WHERE "state_province"='missouri' AND "est"='1963'; | 2-16786195-1 |
Which event was Ye Shiwen in? | CREATE TABLE "women" (
"event" text,
"date" text,
"round" text,
"name" text,
"nationality" text,
"time" text,
"record" text
); | SELECT "event" FROM "women" WHERE "name"='ye shiwen'; | 2-16913465-7 |
Who had a time of 26.11? | CREATE TABLE "women" (
"event" text,
"date" text,
"round" text,
"name" text,
"nationality" text,
"time" text,
"record" text
); | SELECT "name" FROM "women" WHERE "time"='26.11'; | 2-16913465-7 |
What was the date in which the time was 2:16.08? | CREATE TABLE "women" (
"event" text,
"date" text,
"round" text,
"name" text,
"nationality" text,
"time" text,
"record" text
); | SELECT "date" FROM "women" WHERE "time"='2:16.08'; | 2-16913465-7 |
Who was in the women's 200m medley? | CREATE TABLE "women" (
"event" text,
"date" text,
"round" text,
"name" text,
"nationality" text,
"time" text,
"record" text
); | SELECT "name" FROM "women" WHERE "event"='women''s 200m medley'; | 2-16913465-7 |
What was the nationality of the swimmer in the semifinal with a time of 29.51? | CREATE TABLE "women" (
"event" text,
"date" text,
"round" text,
"name" text,
"nationality" text,
"time" text,
"record" text
); | SELECT "nationality" FROM "women" WHERE "round"='semifinal' AND "time"='29.51'; | 2-16913465-7 |
What country scored 67? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "country" FROM "first_round" WHERE "score"=67; | 2-16225902-4 |
What was the to par for Tino Schuster? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "to_par" FROM "first_round" WHERE "player"='tino schuster'; | 2-16225902-4 |
What country has player Scott Verplank? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "country" FROM "first_round" WHERE "player"='scott verplank'; | 2-16225902-4 |
What is the type of glycosylase that has an E. coli of Muty? | CREATE TABLE "glycosylases_in_bacteria_yeast_and_human" (
"e_coli" text,
"yeast_s_cerevisiae" text,
"human" text,
"type" text,
"substrates" text
); | SELECT "type" FROM "glycosylases_in_bacteria_yeast_and_human" WHERE "e_coli"='muty'; | 2-1699467-1 |
Which E. coli has a human value of HNEIL1? | CREATE TABLE "glycosylases_in_bacteria_yeast_and_human" (
"e_coli" text,
"yeast_s_cerevisiae" text,
"human" text,
"type" text,
"substrates" text
); | SELECT "e_coli" FROM "glycosylases_in_bacteria_yeast_and_human" WHERE "human"='hneil1'; | 2-1699467-1 |
Which E. coli has a substrate of uracil? | CREATE TABLE "glycosylases_in_bacteria_yeast_and_human" (
"e_coli" text,
"yeast_s_cerevisiae" text,
"human" text,
"type" text,
"substrates" text
); | SELECT "e_coli" FROM "glycosylases_in_bacteria_yeast_and_human" WHERE "substrates"='uracil'; | 2-1699467-1 |
The tko (doctor stoppage) method was used in a loss against which opponent? | 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 "method"='tko (doctor stoppage)' AND "res"='loss'; | 2-1724395-2 |
How many total rounds used the submission (choke) method? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT SUM("round") FROM "mixed_martial_arts_record" WHERE "method"='submission (choke)'; | 2-1724395-2 |
What was the time of the match with a record of 9-0 and used the tko (doctor stoppage) method? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "time" FROM "mixed_martial_arts_record" WHERE "method"='tko (doctor stoppage)' AND "record"='9-0'; | 2-1724395-2 |
What was the lowest round number at the UFC 16 event with a record of 19-1-1? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "event"='ufc 16' AND "record"='19-1-1'; | 2-1724395-2 |
What was the highest number of oppenents points recorded for game 9 when the attendance was less than 60,091? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"eagles_points" real,
"opponents" real,
"record" text,
"attendance" real
); | SELECT MAX("opponents") FROM "schedule" WHERE "game"=9 AND "attendance"<'60,091'; | 2-16678052-2 |
What event did tedd williams fight bill parker? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "opponent"='bill parker'; | 2-17445700-2 |
What round did the fight against travis fulton last? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text
); | SELECT "round" FROM "mixed_martial_arts_record" WHERE "opponent"='travis fulton'; | 2-17445700-2 |
How many times is the player scott deibert? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT COUNT("pick_num") FROM "round_three" WHERE "player"='scott deibert'; | 2-16441561-3 |
what is the pick # for william loftus? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "pick_num" FROM "round_three" WHERE "player"='william loftus'; | 2-16441561-3 |
what is the cfl team for position d? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "cfl_team" FROM "round_three" WHERE "position"='d'; | 2-16441561-3 |
what was the total for the Wolverhampton Wanderers? | CREATE TABLE "first_division" (
"scorer" text,
"club" text,
"league_goals" text,
"fa_cup_goals" real,
"league_cup_goals" real,
"euro_competitions" text,
"total" real
); | SELECT "league_goals" FROM "first_division" WHERE "club"='wolverhampton wanderers'; | 2-16454472-13 |
How many were in attendance when the result was l 20-17? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "attendance" FROM "schedule" WHERE "result"='l 20-17'; | 2-16712687-2 |
Which Third/Vice skip has a Second of éric sylvain? | CREATE TABLE "men_s" (
"skip" text,
"third_vice_skip" text,
"second" text,
"lead" text,
"city" text
); | SELECT "third_vice_skip" FROM "men_s" WHERE "second"='éric sylvain'; | 2-17012578-2 |
Which Lead has a Skip of mike mcewen? | CREATE TABLE "men_s" (
"skip" text,
"third_vice_skip" text,
"second" text,
"lead" text,
"city" text
); | SELECT "lead" FROM "men_s" WHERE "skip"='mike mcewen'; | 2-17012578-2 |
Which City has a Lead of steve gould? | CREATE TABLE "men_s" (
"skip" text,
"third_vice_skip" text,
"second" text,
"lead" text,
"city" text
); | SELECT "city" FROM "men_s" WHERE "lead"='steve gould'; | 2-17012578-2 |
Which Lead has a City of winnipeg, and a Third/Vice skip of kevin park? | CREATE TABLE "men_s" (
"skip" text,
"third_vice_skip" text,
"second" text,
"lead" text,
"city" text
); | SELECT "lead" FROM "men_s" WHERE "city"='winnipeg' AND "third_vice_skip"='kevin park'; | 2-17012578-2 |
Which City has a Lead of tyler forrest? | CREATE TABLE "men_s" (
"skip" text,
"third_vice_skip" text,
"second" text,
"lead" text,
"city" text
); | SELECT "city" FROM "men_s" WHERE "lead"='tyler forrest'; | 2-17012578-2 |
Which Lead has a Skip of ted appelman? | CREATE TABLE "men_s" (
"skip" text,
"third_vice_skip" text,
"second" text,
"lead" text,
"city" text
); | SELECT "lead" FROM "men_s" WHERE "skip"='ted appelman'; | 2-17012578-2 |
Which album is #10? | CREATE TABLE "highest_first_week_sales" (
"number" real,
"artist" text,
"album" text,
"1st_week_sales" real,
"1st_week_position" text
); | SELECT "album" FROM "highest_first_week_sales" WHERE "number"=10; | 2-16444986-2 |
What is Ben Hogan's Place? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "player"='ben hogan'; | 2-17198476-5 |
What is Jerry Barber's To par? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "third_round" WHERE "player"='jerry barber'; | 2-17198476-5 |
What is the Score of T2 Place Player Dow Finsterwald? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "third_round" WHERE "place"='t2' AND "player"='dow finsterwald'; | 2-17198476-5 |
What's the to par of the United States with the score of 71-71=142? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "country"='united states' AND "score"='71-71=142'; | 2-17290135-2 |
What place had a score of 71-70=141? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "score"='71-70=141'; | 2-17290135-2 |
Which player had a score of 72-69=141? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "second_round" WHERE "score"='72-69=141'; | 2-17290135-2 |
What is the score of T7 place? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "place"='t7'; | 2-17290135-2 |
What place is Ben Hogan? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "player"='ben hogan'; | 2-17290135-2 |
What place has a to par of E? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "to_par"='e'; | 2-17290135-2 |
What pick was J.D. Hill? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT MIN("pick") FROM "nfl_draft" WHERE "player"='j.d. hill'; | 2-17386060-1 |
What pick was used to select a Defensive End in round 8? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT SUM("pick") FROM "nfl_draft" WHERE "position"='defensive end' AND "round"=8; | 2-17386060-1 |
which winner has a jockery containing jerry bailey and the owner of overbrook farm? | CREATE TABLE "kentucky_derby_winners" (
"year" text,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
); | SELECT "winner" FROM "kentucky_derby_winners" WHERE "jockey"='jerry bailey' AND "owner"='overbrook farm'; | 2-17135-1 |
What time contains the owner of maine chance farm? | CREATE TABLE "kentucky_derby_winners" (
"year" text,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
); | SELECT "time" FROM "kentucky_derby_winners" WHERE "owner"='maine chance farm'; | 2-17135-1 |
Which time contains the jockery of isaac murphy as well as the winner of kingman? | CREATE TABLE "kentucky_derby_winners" (
"year" text,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
); | SELECT "time" FROM "kentucky_derby_winners" WHERE "jockey"='isaac murphy' AND "winner"='kingman'; | 2-17135-1 |
Which owner has the time of 2:02.20 and the year of 1957? | CREATE TABLE "kentucky_derby_winners" (
"year" text,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
); | SELECT "owner" FROM "kentucky_derby_winners" WHERE "time"='2:02.20' AND "year"='1957'; | 2-17135-1 |
Which owner has the time 2:03.00 and the year of 1991 kd? | CREATE TABLE "kentucky_derby_winners" (
"year" text,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
); | SELECT "owner" FROM "kentucky_derby_winners" WHERE "time"='2:03.00' AND "year"='1991 kd'; | 2-17135-1 |
What is the sum of the number played with more than 5 losses, more than 1 draw, and a position under 8? | CREATE TABLE "main_round" (
"position" real,
"name" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
); | SELECT SUM("played") FROM "main_round" WHERE "lost">5 AND "position"<8 AND "drawn">1; | 2-16501954-22 |
What is the average number of points with less than 1 draw and more than 11 losses for Ev Aich? | CREATE TABLE "main_round" (
"position" real,
"name" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
); | SELECT AVG("points") FROM "main_round" WHERE "drawn"<1 AND "name"='ev aich' AND "lost">11; | 2-16501954-22 |
What is the sum of points for a position over 5 with more than 2 draws? | CREATE TABLE "main_round" (
"position" real,
"name" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
); | SELECT SUM("points") FROM "main_round" WHERE "drawn">2 AND "position">5; | 2-16501954-22 |
Which nation won no bronze medals and a 1 medal total? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "nation" FROM "medal_table" WHERE "total"=1 AND "bronze"<1; | 2-17084661-3 |
What was the result of the game in week 4? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "week"=4; | 2-17386094-2 |
What party has more than 241,310 inhabitants after 2012? | CREATE TABLE "municipalities" (
"municipality" text,
"inhabitants" real,
"mayor" text,
"party" text,
"election" real
); | SELECT "party" FROM "municipalities" WHERE "election">2012 AND "inhabitants">'241,310'; | 2-16841178-2 |
Highest inhabitants from gela? | CREATE TABLE "municipalities" (
"municipality" text,
"inhabitants" real,
"mayor" text,
"party" text,
"election" real
); | SELECT MAX("inhabitants") FROM "municipalities" WHERE "municipality"='gela'; | 2-16841178-2 |
What is the average number of casualties for the convoy with a number of U-844? | CREATE TABLE "tables" (
"date" text,
"number" text,
"type" text,
"captain" text,
"casualties" real
); | SELECT AVG("casualties") FROM "tables" WHERE "number"='u-844'; | 2-17419532-2 |
On what Surface was the match against Ilija Bozoljac played? | CREATE TABLE "runners_up" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "runners_up" WHERE "opponent"='ilija bozoljac'; | 2-16965329-5 |
What Tournament was against Daniel Elsner? | CREATE TABLE "runners_up" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "tournament" FROM "runners_up" WHERE "opponent"='daniel elsner'; | 2-16965329-5 |
What is the Date of the Tournament with a Score of 3–6, 7–6(6), 5–7? | CREATE TABLE "runners_up" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "date" FROM "runners_up" WHERE "score"='3–6, 7–6(6), 5–7'; | 2-16965329-5 |
What is the Opponent of the Banja Luka Tournament with a Score of 4–6, 4–6? | CREATE TABLE "runners_up" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "opponent" FROM "runners_up" WHERE "score"='4–6, 4–6' AND "tournament"='banja luka'; | 2-16965329-5 |
On what date was the record set with a time of 1:07.18? | CREATE TABLE "men_s_records" (
"event" text,
"time" text,
"name" text,
"nation" text,
"games" text,
"date" text
); | SELECT "date" FROM "men_s_records" WHERE "time"='1:07.18'; | 2-16625915-1 |
On what date was a record set in the team pursuit (8 laps) event? | CREATE TABLE "men_s_records" (
"event" text,
"time" text,
"name" text,
"nation" text,
"games" text,
"date" text
); | SELECT "date" FROM "men_s_records" WHERE "event"='team pursuit (8 laps)'; | 2-16625915-1 |
What nation did the speed skater that set a record in the 1000 metres event represent? | CREATE TABLE "men_s_records" (
"event" text,
"time" text,
"name" text,
"nation" text,
"games" text,
"date" text
); | SELECT "nation" FROM "men_s_records" WHERE "event"='1000 metres'; | 2-16625915-1 |
What was the record setting time in the team pursuit (8 laps) event? | CREATE TABLE "men_s_records" (
"event" text,
"time" text,
"name" text,
"nation" text,
"games" text,
"date" text
); | SELECT "time" FROM "men_s_records" WHERE "event"='team pursuit (8 laps)'; | 2-16625915-1 |
What is the total for the draw with 0 points, and less than 14 lost? | CREATE TABLE "second_league" (
"team" text,
"match" real,
"points" real,
"draw" real,
"lost" real
); | SELECT SUM("draw") FROM "second_league" WHERE "points"=0 AND "lost"<14; | 2-17543955-3 |
What date has @ new orleans as the team? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "team"='@ new orleans'; | 2-17325937-8 |
What is the sum of the game with the boston bruins as the opponent? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
); | SELECT SUM("game") FROM "game_log" WHERE "opponent"='boston bruins'; | 2-17040191-7 |
What is the total number of games at Toronto with less than 31 points? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
); | SELECT COUNT("game") FROM "game_log" WHERE "location"='toronto' AND "points"<31; | 2-17040191-7 |
What is the record of the game with a game number greater than 36 on January 20 at scotiabank place with an attendance greater than 19,029? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "record" FROM "game_log" WHERE "game">36 AND "location"='scotiabank place' AND "attendance">'19,029' AND "date"='january 20'; | 2-17040191-7 |
What is the nationality of the PG position from VCU? | CREATE TABLE "h" (
"player" text,
"nationality" text,
"jersey_number_s" text,
"position" text,
"years" text,
"from" text
); | SELECT "nationality" FROM "h" WHERE "position"='pg' AND "from"='vcu'; | 2-16772687-9 |
What years did jersey number 55 play? | CREATE TABLE "h" (
"player" text,
"nationality" text,
"jersey_number_s" text,
"position" text,
"years" text,
"from" text
); | SELECT "years" FROM "h" WHERE "jersey_number_s"='55'; | 2-16772687-9 |
What are the Jersey numbers for Notre Dame? | CREATE TABLE "h" (
"player" text,
"nationality" text,
"jersey_number_s" text,
"position" text,
"years" text,
"from" text
); | SELECT "jersey_number_s" FROM "h" WHERE "from"='notre dame'; | 2-16772687-9 |
Before 2007, what was the avg start that had a pole of 0 and in 65th position? | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" real,
"avg_finish" real,
"winnings" text,
"position" text
); | SELECT AVG("starts") FROM "nascar_sprint_cup_series" WHERE "poles"=0 AND "position"='65th' AND "year"<2007; | 2-1640715-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.