question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is team Yamaha with 3 points ranked? | CREATE TABLE "grand_prix_motorcycle_racing_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"rank" text,
"wins" real
); | SELECT "rank" FROM "grand_prix_motorcycle_racing_results" WHERE "team"='yamaha' AND "points"=3; | 2-15875778-2 |
What years did the player ranked less than 8 and had 447 matches play? | CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" real,
"goals" real
); | SELECT "years" FROM "list_of_top_association_football_goal_sc" WHERE "rank"<8 AND "matches"=447; | 2-1590321-10 |
What is the Time with a Record that is 15-7? | 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 "record"='15-7'; | 2-15985025-2 |
What is the Event with a Time that is 3:06? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "time"='3:06'; | 2-15985025-2 |
How many silvers did Turkey get? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "silver" FROM "medal_table" WHERE "nation"='turkey'; | 2-15455376-1 |
What position does Denard Walker play? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "nfl_draft" WHERE "player"='denard walker'; | 2-15986484-1 |
What was the pick number for the wide receiver drafted from Michigan State? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "pick_num" FROM "nfl_draft" WHERE "position"='wide receiver' AND "college"='michigan state'; | 2-15986484-1 |
Which player came from Kent State? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "nfl_draft" WHERE "college"='kent state'; | 2-15986484-1 |
What is the total number of bronze medals, and 4 silver medals, and 2 gold medals? | CREATE TABLE "men" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "men" WHERE "silver"=4 AND "gold">2; | 2-15409851-1 |
Which Tournament has a score of 2–6 6–4 [10–8]? | CREATE TABLE "doubles_11_3_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "tournament" FROM "doubles_11_3_8" WHERE "score"='2–6 6–4 [10–8]'; | 2-15639710-7 |
Which Tournament has a Score of 6(4)–7 2–6? | CREATE TABLE "doubles_11_3_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "tournament" FROM "doubles_11_3_8" WHERE "score"='6(4)–7 2–6'; | 2-15639710-7 |
What is the Score of the match where Opponents in the Final was Vitalia Diatchenko Irena Pavlovic? | CREATE TABLE "doubles_11_3_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "score" FROM "doubles_11_3_8" WHERE "opponents_in_the_final"='vitalia diatchenko irena pavlovic'; | 2-15639710-7 |
What is the High rebounds with a Game that is 62? | 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 "high_rebounds" FROM "game_log" WHERE "game"=62; | 2-15780049-8 |
What is the Team with a Score that is l 79–92 (ot)? | 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 "team" FROM "game_log" WHERE "score"='l 79–92 (ot)'; | 2-15780049-8 |
Who is the coach of the 2012 Gold Coast Titans season? | CREATE TABLE "p_premier_r_runner_up_m_minor_premier_f_" (
"competition" text,
"ladder_position" text,
"coach" text,
"captain_s" text,
"details" text
); | SELECT "coach" FROM "p_premier_r_runner_up_m_minor_premier_f_" WHERE "details"='2012 gold coast titans season'; | 2-1613020-1 |
Who is the coach of the 2010 Gold Coast Titans season? | CREATE TABLE "p_premier_r_runner_up_m_minor_premier_f_" (
"competition" text,
"ladder_position" text,
"coach" text,
"captain_s" text,
"details" text
); | SELECT "coach" FROM "p_premier_r_runner_up_m_minor_premier_f_" WHERE "details"='2010 gold coast titans season'; | 2-1613020-1 |
Who is the captain of the 2012 NRL season competition? | CREATE TABLE "p_premier_r_runner_up_m_minor_premier_f_" (
"competition" text,
"ladder_position" text,
"coach" text,
"captain_s" text,
"details" text
); | SELECT "captain_s" FROM "p_premier_r_runner_up_m_minor_premier_f_" WHERE "competition"='2012 nrl season'; | 2-1613020-1 |
How many wins were in the PGA Championship when there were more than 10 events? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT COUNT("wins") FROM "summary" WHERE "tournament"='pga championship' AND "events">10; | 2-1590652-7 |
What is the smallest number of cuts when there were more than 0 wins? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MIN("cuts_made") FROM "summary" WHERE "wins">0; | 2-1590652-7 |
What is the total number of Rank for 1996–2007, when there are more than 108 goals? | CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" real,
"goals" real
); | SELECT COUNT("rank") FROM "list_of_top_association_football_goal_sc" WHERE "years"='1996–2007' AND "goals">108; | 2-1590321-74 |
What is the lowest Rank when the goals are less than 124 for Jeff Cunningham? | CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" real,
"goals" real
); | SELECT MIN("rank") FROM "list_of_top_association_football_goal_sc" WHERE "goals">124 AND "name"='jeff cunningham'; | 2-1590321-74 |
What is the total number of Rank with 100 goals, and less than 300 matches? | CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" real,
"goals" real
); | SELECT COUNT("rank") FROM "list_of_top_association_football_goal_sc" WHERE "goals"=100 AND "matches"<300; | 2-1590321-74 |
What is the highest Rank for Jason Kreis, with less than 305 matches? | CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" real,
"goals" real
); | SELECT MAX("rank") FROM "list_of_top_association_football_goal_sc" WHERE "name"='jason kreis' AND "matches"<305; | 2-1590321-74 |
What is the least number of wins when the top 10 is more than 8? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MIN("wins") FROM "summary" WHERE "top_10">8; | 2-1586876-6 |
What is the sum of cuts made when the top-5 is 2, and there are 12 events? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT COUNT("cuts_made") FROM "summary" WHERE "top_5"=2 AND "events"=12; | 2-1586876-6 |
What is the mean number in the top 5 when the top 25 is 1 and there's fewer than 0 wins? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("top_5") FROM "summary" WHERE "top_25"=1 AND "wins"<0; | 2-1586876-6 |
What is the mean number of events when top-5 is 1? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("events") FROM "summary" WHERE "top_5"=1; | 2-1586876-6 |
How many top-25s are associated with more than 91 events? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT SUM("top_25") FROM "summary" WHERE "events">91; | 2-157447-7 |
What is the lowest Wins with a Top-10 that is larger than 9? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MIN("wins") FROM "summary" WHERE "top_10">9; | 2-1580725-6 |
What is the average Cuts that were made with a Top-10 that is larger than 9? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("cuts_made") FROM "summary" WHERE "top_10">9; | 2-1580725-6 |
Which record has 64,053 as the attendance? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"game_site" text,
"final_score" text,
"record" text,
"attendance" text
); | SELECT "record" FROM "schedule" WHERE "attendance"='64,053'; | 2-15353223-2 |
Which date has rich stadium as the game site for week 1? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"game_site" text,
"final_score" text,
"record" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "game_site"='rich stadium' AND "week"=1; | 2-15353223-2 |
Which date has 1 as the week? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"game_site" text,
"final_score" text,
"record" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week"=1; | 2-15353223-2 |
Which Title was awarded the gold RIAA Sales Certification? | CREATE TABLE "studio_albums" (
"year" real,
"title" text,
"label" text,
"riaa_sales_certification" text,
"billboard_200_peak" real
); | SELECT "title" FROM "studio_albums" WHERE "riaa_sales_certification"='gold'; | 2-154691-1 |
For how many years did the song "Lost Without Your Love" win the gold RIAA Sales Certification, and have a Billboard 200 Peak greater than 26? | CREATE TABLE "studio_albums" (
"year" real,
"title" text,
"label" text,
"riaa_sales_certification" text,
"billboard_200_peak" real
); | SELECT SUM("year") FROM "studio_albums" WHERE "riaa_sales_certification"='gold' AND "title"='lost without your love' AND "billboard_200_peak">26; | 2-154691-1 |
Before the Year 1972, what RIAA Sales Certification was awarded to the song that had a Billboard 200 Peak less than 18? | CREATE TABLE "studio_albums" (
"year" real,
"title" text,
"label" text,
"riaa_sales_certification" text,
"billboard_200_peak" real
); | SELECT "riaa_sales_certification" FROM "studio_albums" WHERE "billboard_200_peak"<18 AND "year"<1972; | 2-154691-1 |
What RIAA Sales Certification was awarded to the song that had a Billboard 200 Peak of 21? | CREATE TABLE "studio_albums" (
"year" real,
"title" text,
"label" text,
"riaa_sales_certification" text,
"billboard_200_peak" real
); | SELECT "riaa_sales_certification" FROM "studio_albums" WHERE "billboard_200_peak"=21; | 2-154691-1 |
What is the sum of the Billboard 200 Peak scores after the Year 1971? | CREATE TABLE "studio_albums" (
"year" real,
"title" text,
"label" text,
"riaa_sales_certification" text,
"billboard_200_peak" real
); | SELECT SUM("billboard_200_peak") FROM "studio_albums" WHERE "year">1971; | 2-154691-1 |
What is the sum of the Billboard 200 Peak scores given to the song with the Title Bread? | CREATE TABLE "studio_albums" (
"year" real,
"title" text,
"label" text,
"riaa_sales_certification" text,
"billboard_200_peak" real
); | SELECT SUM("billboard_200_peak") FROM "studio_albums" WHERE "title"='bread'; | 2-154691-1 |
What is the number of gold when the silver is 1, bronze is 1, and the nation is Austria? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("gold") FROM "medals_table" WHERE "silver"=1 AND "bronze"=1 AND "nation"='austria'; | 2-15826191-2 |
What nation has 2 bronze and a rank of 9? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "nation" FROM "medals_table" WHERE "bronze"=2 AND "rank"=9; | 2-15826191-2 |
What is the highest gold when bronze is 1, and rank is 5? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("gold") FROM "medals_table" WHERE "bronze"=1 AND "rank"=5; | 2-15826191-2 |
What is the lowest gold when there are 0 bronze and the total is less than 2, and silver is less than 0? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("gold") FROM "medals_table" WHERE "bronze"=0 AND "total"<2 AND "silver"<0; | 2-15826191-2 |
What is the sum of rank when total is 3 and the nation is Australia? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("rank") FROM "medals_table" WHERE "total"=3 AND "nation"='australia'; | 2-15826191-2 |
What is the Rank with a Goal number smaller than 66? | CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" real,
"goals" real
); | SELECT "rank" FROM "list_of_top_association_football_goal_sc" WHERE "goals"<66; | 2-1590321-18 |
What is the spoofed title for Parks and Recreation with an issue larger than 509? | CREATE TABLE "2010s" (
"spoofed_title" text,
"actual_title" text,
"writer" text,
"artist" text,
"issue" real
); | SELECT "spoofed_title" FROM "2010s" WHERE "issue">509 AND "actual_title"='parks and recreation'; | 2-15860633-10 |
What was the actual title of the show that had an issue number less than 508, was written by Desmond Devlin, and for which Tom Richmond was the artist? | CREATE TABLE "2010s" (
"spoofed_title" text,
"actual_title" text,
"writer" text,
"artist" text,
"issue" real
); | SELECT "actual_title" FROM "2010s" WHERE "artist"='tom richmond' AND "issue"<508 AND "writer"='desmond devlin'; | 2-15860633-10 |
What issue was the spoofed title Ho-Hum land? | CREATE TABLE "2010s" (
"spoofed_title" text,
"actual_title" text,
"writer" text,
"artist" text,
"issue" real
); | SELECT SUM("issue") FROM "2010s" WHERE "spoofed_title"='ho-hum land'; | 2-15860633-10 |
Game of Thrones was done by which artist? | CREATE TABLE "2010s" (
"spoofed_title" text,
"actual_title" text,
"writer" text,
"artist" text,
"issue" real
); | SELECT "artist" FROM "2010s" WHERE "actual_title"='game of thrones'; | 2-15860633-10 |
What is the Surface when Todd Woodbridge was the runner-up, and a Date of 24 february 1997? | CREATE TABLE "singles_9_2_7" (
"outcome" text,
"date" text,
"championship" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "singles_9_2_7" WHERE "outcome"='runner-up' AND "date"='24 february 1997'; | 2-1547951-4 |
What is the Opponent when Todd Woodbridge was the runner-up, and a Date of 26 august 1996? | CREATE TABLE "singles_9_2_7" (
"outcome" text,
"date" text,
"championship" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "opponent" FROM "singles_9_2_7" WHERE "outcome"='runner-up' AND "date"='26 august 1996'; | 2-1547951-4 |
What is the Surface when the score was 4–6, 6–3, 6–7 (5–7)? | CREATE TABLE "singles_9_2_7" (
"outcome" text,
"date" text,
"championship" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "singles_9_2_7" WHERE "score"='4–6, 6–3, 6–7 (5–7)'; | 2-1547951-4 |
What is the Score when there was a hard surface and the Championship is new haven , usa? | CREATE TABLE "singles_9_2_7" (
"outcome" text,
"date" text,
"championship" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "singles_9_2_7" WHERE "surface"='hard' AND "championship"='new haven , usa'; | 2-1547951-4 |
Which Position player was born June 30, 1981? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"2005_2006_team" text
); | SELECT "position" FROM "list_of_united_states_national_ice_hocke" WHERE "birthdate"='june 30, 1981'; | 2-15715109-30 |
What is the 2005-2006 team for player Phil Kessel? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"2005_2006_team" text
); | SELECT "2005_2006_team" FROM "list_of_united_states_national_ice_hocke" WHERE "name"='phil kessel'; | 2-15715109-30 |
What is the total sum of the goals at competitions with more than 10 draws? | CREATE TABLE "european_records" (
"competition" text,
"appearances" real,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real
); | SELECT SUM("goals_for") FROM "european_records" WHERE "drawn">10; | 2-157294-1 |
For the teams that had more than 2 Byes, what was the highest number of Wins? | CREATE TABLE "2003_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MAX("wins") FROM "2003_ladder" WHERE "byes">2; | 2-1552908-7 |
For the teams that had fewer than 4 Losses, and less than 16 Wins, what was the total number of Draws? | CREATE TABLE "2003_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT COUNT("draws") FROM "2003_ladder" WHERE "losses"<4 AND "wins"<16; | 2-1552908-7 |
For the teams that had less than 1 loss, what was the average number of Wins? | CREATE TABLE "2003_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT AVG("wins") FROM "2003_ladder" WHERE "losses"<1; | 2-1552908-7 |
For the teams that had fewer than 1 Byes, what was the lowest number of Draws? | CREATE TABLE "2003_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MIN("draws") FROM "2003_ladder" WHERE "byes"<1; | 2-1552908-7 |
What was the highest number of Draws scored by Sebastapol when the value for Against was less than 1802? | CREATE TABLE "2003_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MAX("draws") FROM "2003_ladder" WHERE "ballarat_fl"='sebastapol' AND "against"<1802; | 2-1552908-7 |
What is the Season when the Opponent was zenit st. petersburg? | CREATE TABLE "2000s_incorporation" (
"season" text,
"competition" text,
"round" text,
"opponent" text,
"series" text
); | SELECT "season" FROM "2000s_incorporation" WHERE "opponent"='zenit st. petersburg'; | 2-1573615-5 |
What is the Opponent with a Round of q2, in the 2005–06 season? | CREATE TABLE "2000s_incorporation" (
"season" text,
"competition" text,
"round" text,
"opponent" text,
"series" text
); | SELECT "opponent" FROM "2000s_incorporation" WHERE "round"='q2' AND "season"='2005–06'; | 2-1573615-5 |
What is the Competition for Season 2002–03, and the Opponent was zenit st. petersburg? | CREATE TABLE "2000s_incorporation" (
"season" text,
"competition" text,
"round" text,
"opponent" text,
"series" text
); | SELECT "competition" FROM "2000s_incorporation" WHERE "season"='2002–03' AND "opponent"='zenit st. petersburg'; | 2-1573615-5 |
What is the Round when the series shows 5th place, and a Season of 2006–07? | CREATE TABLE "2000s_incorporation" (
"season" text,
"competition" text,
"round" text,
"opponent" text,
"series" text
); | SELECT "round" FROM "2000s_incorporation" WHERE "series"='5th place' AND "season"='2006–07'; | 2-1573615-5 |
What is the Series for the uefa cup, in the 2006–07 season, and a Round of group, and an opponent of az? | CREATE TABLE "2000s_incorporation" (
"season" text,
"competition" text,
"round" text,
"opponent" text,
"series" text
); | SELECT "series" FROM "2000s_incorporation" WHERE "competition"='uefa cup' AND "season"='2006–07' AND "round"='group' AND "opponent"='az'; | 2-1573615-5 |
Which Flag did the Ship Aidavita have? | CREATE TABLE "current_fleet" (
"ship" text,
"built" real,
"builder" text,
"entered_service_for_aida" text,
"gross_tonnage" text,
"flag" text
); | SELECT "flag" FROM "current_fleet" WHERE "ship"='aidavita'; | 2-15369171-1 |
What shows for Set 5 when the Total was 77 - 65? | CREATE TABLE "results_pool_a" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "set_5" FROM "results_pool_a" WHERE "total"='77 - 65'; | 2-15925889-3 |
What is the Set 3 when the Total was 98 - 92? | CREATE TABLE "results_pool_a" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "set_3" FROM "results_pool_a" WHERE "total"='98 - 92'; | 2-15925889-3 |
What is the Total when the Set 3 was 25-15? | CREATE TABLE "results_pool_a" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "total" FROM "results_pool_a" WHERE "set_3"='25-15'; | 2-15925889-3 |
What is the Set 3 when the Total was 62 - 75? | CREATE TABLE "results_pool_a" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "set_3" FROM "results_pool_a" WHERE "total"='62 - 75'; | 2-15925889-3 |
What is the Score when Set 2 shows 25-20, and a Total of 75 - 49? | CREATE TABLE "results_pool_a" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "score" FROM "results_pool_a" WHERE "set_2"='25-20' AND "total"='75 - 49'; | 2-15925889-3 |
What is the ethernet ports of the m1500 appliance? | CREATE TABLE "appliances" (
"name" text,
"processor" text,
"hard_drive" text,
"ethernet_ports" text,
"dimensions" text
); | SELECT "ethernet_ports" FROM "appliances" WHERE "name"='m1500'; | 2-16090722-1 |
What is the ethernet ports of the u150 appliance? | CREATE TABLE "appliances" (
"name" text,
"processor" text,
"hard_drive" text,
"ethernet_ports" text,
"dimensions" text
); | SELECT "ethernet_ports" FROM "appliances" WHERE "name"='u150'; | 2-16090722-1 |
What is the dimensions of the u50 appliance? | CREATE TABLE "appliances" (
"name" text,
"processor" text,
"hard_drive" text,
"ethernet_ports" text,
"dimensions" text
); | SELECT "dimensions" FROM "appliances" WHERE "name"='u50'; | 2-16090722-1 |
What is the ethernet ports of the u10 appliance? | CREATE TABLE "appliances" (
"name" text,
"processor" text,
"hard_drive" text,
"ethernet_ports" text,
"dimensions" text
); | SELECT "ethernet_ports" FROM "appliances" WHERE "name"='u10'; | 2-16090722-1 |
What is the total number of Silver medals for the Nation with less than 1 Bronze? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("silver") FROM "medals_table" WHERE "bronze"<1; | 2-15807880-2 |
What is the total number of Gold medals for the Nation with more than 1 Bronze and more the 4 Total medals? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("gold") FROM "medals_table" WHERE "bronze">1 AND "total">4; | 2-15807880-2 |
What is the total number of Gold medals for the Nation with more than 3 Bronze? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("gold") FROM "medals_table" WHERE "bronze">3; | 2-15807880-2 |
How many Gold medals did Great Britain with a Total of more than 2 medals receive? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("gold") FROM "medals_table" WHERE "nation"='great britain' AND "total">2; | 2-15807880-2 |
How many Silver medals did the Nation with a Rank of less than 1 receive? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("silver") FROM "medals_table" WHERE "rank"<1; | 2-15807880-2 |
What is the average total with 1 FA cup and more than 0 FA trophies? | CREATE TABLE "topscorers" (
"player" text,
"club" text,
"league" real,
"fa_cup" real,
"fa_trophy" real,
"league_cup" real,
"total" real
); | SELECT AVG("total") FROM "topscorers" WHERE "fa_cup"=1 AND "fa_trophy">0; | 2-15559220-4 |
Which club had more than 2 FA trophies and more than 2 FA cups? | CREATE TABLE "topscorers" (
"player" text,
"club" text,
"league" real,
"fa_cup" real,
"fa_trophy" real,
"league_cup" real,
"total" real
); | SELECT "club" FROM "topscorers" WHERE "fa_trophy">2 AND "fa_cup">2; | 2-15559220-4 |
Who was the opponent when the Maroons record was 11–4–1? | CREATE TABLE "game_log" (
"number" real,
"result" text,
"date" text,
"score" text,
"opponent" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "record"='11–4–1'; | 2-15374691-2 |
What was the result of the game on January 5, 1926? | CREATE TABLE "game_log" (
"number" real,
"result" text,
"date" text,
"score" text,
"opponent" text,
"record" text
); | SELECT "result" FROM "game_log" WHERE "date"='january 5, 1926'; | 2-15374691-2 |
What date had a margin victory of 2 strokes? | CREATE TABLE "lpga_tour_8" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "lpga_tour_8" WHERE "margin_of_victory"='2 strokes'; | 2-154097-1 |
What is the margin of victory in a semgroup championship? | CREATE TABLE "lpga_tour_8" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "lpga_tour_8" WHERE "tournament"='semgroup championship'; | 2-154097-1 |
What was the winning score with a margin victory of 2 strokes? | CREATE TABLE "lpga_tour_8" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "lpga_tour_8" WHERE "margin_of_victory"='2 strokes'; | 2-154097-1 |
What is the highest Pct %, when Goals Against is less than 229? | CREATE TABLE "season_by_season_results" (
"season" text,
"games" real,
"lost" real,
"points" real,
"pct_pct" real,
"goals_for" real,
"goals_against" real,
"playoffs" text
); | SELECT MAX("pct_pct") FROM "season_by_season_results" WHERE "goals_against"<229; | 2-15722146-1 |
What is the average Goals, when Playoffs is Lost in Round 2, and when Games is less than 81? | CREATE TABLE "season_by_season_results" (
"season" text,
"games" real,
"lost" real,
"points" real,
"pct_pct" real,
"goals_for" real,
"goals_against" real,
"playoffs" text
); | SELECT AVG("goals_for") FROM "season_by_season_results" WHERE "playoffs"='lost in round 2' AND "games"<81; | 2-15722146-1 |
What is the sum of Goals Against, when Lost is 45, and when Points is greater than 68? | CREATE TABLE "season_by_season_results" (
"season" text,
"games" real,
"lost" real,
"points" real,
"pct_pct" real,
"goals_for" real,
"goals_against" real,
"playoffs" text
); | SELECT SUM("goals_against") FROM "season_by_season_results" WHERE "lost"=45 AND "points">68; | 2-15722146-1 |
What is the average Lost, when Games is less than 82, when Points is less than 95, and when Pct % is less than 0.506? | CREATE TABLE "season_by_season_results" (
"season" text,
"games" real,
"lost" real,
"points" real,
"pct_pct" real,
"goals_for" real,
"goals_against" real,
"playoffs" text
); | SELECT AVG("lost") FROM "season_by_season_results" WHERE "games"<82 AND "points"<95 AND "pct_pct"<0.506; | 2-15722146-1 |
What is the Class when Wessex Trains Pink is the Livery? | CREATE TABLE "fleet" (
"number" real,
"class" real,
"name" text,
"livery" text,
"notes" text
); | SELECT "class" FROM "fleet" WHERE "livery"='wessex trains pink'; | 2-15805928-1 |
What is the Livery when the Number is 31468? | CREATE TABLE "fleet" (
"number" real,
"class" real,
"name" text,
"livery" text,
"notes" text
); | SELECT "livery" FROM "fleet" WHERE "number"=31468; | 2-15805928-1 |
What was the Skip for Germany? | CREATE TABLE "teams" (
"nation" text,
"skip" text,
"third" text,
"second" text,
"lead" text,
"alternate" text,
"club" text
); | SELECT "skip" FROM "teams" WHERE "nation"='germany'; | 2-1543845-62 |
What was the club for Great Britain? | CREATE TABLE "teams" (
"nation" text,
"skip" text,
"third" text,
"second" text,
"lead" text,
"alternate" text,
"club" text
); | SELECT "club" FROM "teams" WHERE "nation"='great britain'; | 2-1543845-62 |
Who is the alternate for Magnus Swartling as Second? | CREATE TABLE "teams" (
"nation" text,
"skip" text,
"third" text,
"second" text,
"lead" text,
"alternate" text,
"club" text
); | SELECT "alternate" FROM "teams" WHERE "second"='magnus swartling'; | 2-1543845-62 |
Which club has Jamie Korab as Lead? | CREATE TABLE "teams" (
"nation" text,
"skip" text,
"third" text,
"second" text,
"lead" text,
"alternate" text,
"club" text
); | SELECT "club" FROM "teams" WHERE "lead"='jamie korab'; | 2-1543845-62 |
Which Lead has Hans Frauenlob as a Third? | CREATE TABLE "teams" (
"nation" text,
"skip" text,
"third" text,
"second" text,
"lead" text,
"alternate" text,
"club" text
); | SELECT "lead" FROM "teams" WHERE "third"='hans frauenlob'; | 2-1543845-62 |
Who was the Home captain when the Result was Aus by 218 runs? | CREATE TABLE "england_in_australia_1903_4" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "home_captain" FROM "england_in_australia_1903_4" WHERE "result"='aus by 218 runs'; | 2-1598207-4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.