question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which television service has programmi per adulti 24h/24 content and no HDTV? | CREATE TABLE "conto_tv_teleitalia" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "television_service" FROM "conto_tv_teleitalia" WHERE "content"='programmi per adulti 24h/24' AND "hdtv"='no'; | 2-15887683-19 |
Which television service has a qualsiasi package/option? | CREATE TABLE "conto_tv_teleitalia" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "television_service" FROM "conto_tv_teleitalia" WHERE "package_option"='qualsiasi'; | 2-15887683-19 |
What is the total number of wins for Darley of Ballarat FL against larger than 1055? | CREATE TABLE "2009_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT COUNT("wins") FROM "2009_ladder" WHERE "ballarat_fl"='darley' AND "against">1055; | 2-1552908-19 |
What is the lowest draw that has less than 4 wins, 14 losses, and against more than 1836? | CREATE TABLE "2009_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MIN("draws") FROM "2009_ladder" WHERE "wins"<4 AND "losses"=14 AND "against">1836; | 2-1552908-19 |
What is the average Byes that has Ballarat FL of Sunbury against more than 1167? | CREATE TABLE "2009_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT AVG("byes") FROM "2009_ladder" WHERE "ballarat_fl"='sunbury' AND "against">1167; | 2-1552908-19 |
What is the average draws with more than 1 win, 14 losses, and against less than 1836? | CREATE TABLE "2009_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT AVG("draws") FROM "2009_ladder" WHERE "wins">1 AND "losses"=14 AND "against"<1836; | 2-1552908-19 |
What was the lowest draw from Ballarat FL of sunbury, and byes larger than 2? | CREATE TABLE "2009_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MIN("draws") FROM "2009_ladder" WHERE "ballarat_fl"='sunbury' AND "byes">2; | 2-1552908-19 |
What is the highest medium Gallup March 2008 value for a Strategic Marking value under 17 and Medium Gallup May 2008 value over 10? | CREATE TABLE "opinion_polls" (
"party" text,
"medium_gallup_march_2008" real,
"strategic_marketing_march_2008" real,
"ce_sid_may_2008" real,
"medium_gallup_may_2008" real
); | SELECT MAX("medium_gallup_march_2008") FROM "opinion_polls" WHERE "strategic_marketing_march_2008"<17 AND "medium_gallup_may_2008">10; | 2-16185816-2 |
What is the sum of Medium Gallup, March 2008 values where the Medium Gallup, May 2008 values are under 10? | CREATE TABLE "opinion_polls" (
"party" text,
"medium_gallup_march_2008" real,
"strategic_marketing_march_2008" real,
"ce_sid_may_2008" real,
"medium_gallup_may_2008" real
); | SELECT SUM("medium_gallup_march_2008") FROM "opinion_polls" WHERE "medium_gallup_may_2008"<10; | 2-16185816-2 |
What show is on at 9:30 when Dating in the Dark is on at 10:00? | CREATE TABLE "monday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "9_30" FROM "monday" WHERE "10_00"='dating in the dark'; | 2-15708593-16 |
What show is on at 9:00 when Law & Order: Criminal Intent is on at 9:30 and The Great American Road Trip is on at 8:00? | CREATE TABLE "monday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "9_00" FROM "monday" WHERE "9_30"='law & order: criminal intent' AND "8_00"='the great american road trip'; | 2-15708593-16 |
What show is on at 9:00 when The Bachelorette is on at 8:30? | CREATE TABLE "monday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "9_00" FROM "monday" WHERE "8_30"='the bachelorette'; | 2-15708593-16 |
Which away has apoel as the club? | CREATE TABLE "european_record" (
"season" text,
"competition" text,
"round" text,
"club" text,
"home" text,
"away" text
); | SELECT "away" FROM "european_record" WHERE "club"='apoel'; | 2-1564966-1 |
Which away has uefa cup as the competition, group f as the round, with espanyol as the club? | CREATE TABLE "european_record" (
"season" text,
"competition" text,
"round" text,
"club" text,
"home" text,
"away" text
); | SELECT "away" FROM "european_record" WHERE "competition"='uefa cup' AND "round"='group f' AND "club"='espanyol'; | 2-1564966-1 |
In what location were the fatalities unknown for the Ju-52 aircraft? | CREATE TABLE "accidents_and_incidents" (
"location" text,
"aircraft" text,
"tail_number" text,
"aircraft_damage" text,
"fatalities" text
); | SELECT "location" FROM "accidents_and_incidents" WHERE "fatalities"='unknown' AND "aircraft"='ju-52'; | 2-1591561-1 |
In what location was the tail number ZS-SPF? | CREATE TABLE "accidents_and_incidents" (
"location" text,
"aircraft" text,
"tail_number" text,
"aircraft_damage" text,
"fatalities" text
); | SELECT "location" FROM "accidents_and_incidents" WHERE "tail_number"='zs-spf'; | 2-1591561-1 |
What was the location of the Ju-52 aircraft? | CREATE TABLE "accidents_and_incidents" (
"location" text,
"aircraft" text,
"tail_number" text,
"aircraft_damage" text,
"fatalities" text
); | SELECT "location" FROM "accidents_and_incidents" WHERE "aircraft"='ju-52'; | 2-1591561-1 |
How many fatalities occurred for an unknown tail number? | CREATE TABLE "accidents_and_incidents" (
"location" text,
"aircraft" text,
"tail_number" text,
"aircraft_damage" text,
"fatalities" text
); | SELECT "fatalities" FROM "accidents_and_incidents" WHERE "tail_number"='unknown'; | 2-1591561-1 |
What was the tail number with 3/3 fatalities? | CREATE TABLE "accidents_and_incidents" (
"location" text,
"aircraft" text,
"tail_number" text,
"aircraft_damage" text,
"fatalities" text
); | SELECT "tail_number" FROM "accidents_and_incidents" WHERE "fatalities"='3/3'; | 2-1591561-1 |
How many fatalities occurred for the Ju-52 aircraft? | CREATE TABLE "accidents_and_incidents" (
"location" text,
"aircraft" text,
"tail_number" text,
"aircraft_damage" text,
"fatalities" text
); | SELECT "fatalities" FROM "accidents_and_incidents" WHERE "aircraft"='ju-52'; | 2-1591561-1 |
What was the score for a goal of 6? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "goal"=6; | 2-15316394-1 |
Where was the match held on July 17, 1999? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "date"='july 17, 1999'; | 2-15316394-1 |
Who was on the Democratic ticket for the Office of Attorney General? | CREATE TABLE "1910_state_election_results" (
"office" text,
"democratic_ticket" text,
"republican_ticket" text,
"socialist_ticket" text,
"independence_league_ticket" text,
"prohibition_ticket" text,
"socialist_labor_ticket" text
); | SELECT "democratic_ticket" FROM "1910_state_election_results" WHERE "office"='attorney general'; | 2-15563642-1 |
What name has gen et sp nov as the novelty? | CREATE TABLE "angiosperms" (
"name" text,
"novelty" text,
"status" text,
"authors" text,
"unit" text,
"location" text
); | SELECT "name" FROM "angiosperms" WHERE "novelty"='gen et sp nov'; | 2-15313333-2 |
What authors have clarno formation as the unit, actinidia oregonensis as the name? | CREATE TABLE "angiosperms" (
"name" text,
"novelty" text,
"status" text,
"authors" text,
"unit" text,
"location" text
); | SELECT "authors" FROM "angiosperms" WHERE "unit"='clarno formation' AND "name"='actinidia oregonensis'; | 2-15313333-2 |
What novelty has USA as the location, and coryloides as the name? | CREATE TABLE "angiosperms" (
"name" text,
"novelty" text,
"status" text,
"authors" text,
"unit" text,
"location" text
); | SELECT "novelty" FROM "angiosperms" WHERE "location"='usa' AND "name"='coryloides'; | 2-15313333-2 |
What status has paleopanax as the name? | CREATE TABLE "angiosperms" (
"name" text,
"novelty" text,
"status" text,
"authors" text,
"unit" text,
"location" text
); | SELECT "status" FROM "angiosperms" WHERE "name"='paleopanax'; | 2-15313333-2 |
What unit has gen et sp nov as the novelty? | CREATE TABLE "angiosperms" (
"name" text,
"novelty" text,
"status" text,
"authors" text,
"unit" text,
"location" text
); | SELECT "unit" FROM "angiosperms" WHERE "novelty"='gen et sp nov'; | 2-15313333-2 |
Which date was the Memorial Tournament held on, when Payne Stewart was runner-up? | CREATE TABLE "pga_tour_wins_20" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "pga_tour_wins_20" WHERE "tournament"='memorial tournament' AND "runner_s_up"='payne stewart'; | 2-157447-2 |
What grand slam event has a 2011-12 of q? | CREATE TABLE "grand_slam_record" (
"event" text,
"2006_07" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text,
"2011_12" text,
"2012_13" text
); | SELECT "event" FROM "grand_slam_record" WHERE "2011_12"='q'; | 2-1534617-2 |
What is the 2009-10 result that has a 2006-07 result of n/a? | CREATE TABLE "grand_slam_record" (
"event" text,
"2006_07" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text,
"2011_12" text,
"2012_13" text
); | SELECT "2009_10" FROM "grand_slam_record" WHERE "2006_07"='n/a'; | 2-1534617-2 |
What is the 2007-08 result when the event was Colonial Square? | CREATE TABLE "grand_slam_record" (
"event" text,
"2006_07" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text,
"2011_12" text,
"2012_13" text
); | SELECT "2007_08" FROM "grand_slam_record" WHERE "event"='colonial square'; | 2-1534617-2 |
What is the result in 2008-09 that has a 2011-12 result of qf? | CREATE TABLE "grand_slam_record" (
"event" text,
"2006_07" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text,
"2011_12" text,
"2012_13" text
); | SELECT "2008_09" FROM "grand_slam_record" WHERE "2011_12"='qf'; | 2-1534617-2 |
What result in 2006-07 has a result in 2010-11 of n/a, and the event is Colonial Square? | CREATE TABLE "grand_slam_record" (
"event" text,
"2006_07" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text,
"2011_12" text,
"2012_13" text
); | SELECT "2006_07" FROM "grand_slam_record" WHERE "2010_11"='n/a' AND "event"='colonial square'; | 2-1534617-2 |
What is the 2008-09 result has Masters as the event? | CREATE TABLE "grand_slam_record" (
"event" text,
"2006_07" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text,
"2011_12" text,
"2012_13" text
); | SELECT "2008_09" FROM "grand_slam_record" WHERE "event"='masters'; | 2-1534617-2 |
What year gave a nominated result for the room 222 series? | CREATE TABLE "women" (
"year" real,
"actor" text,
"award" text,
"series" text,
"result" text
); | SELECT COUNT("year") FROM "women" WHERE "result"='nominated' AND "series"='room 222'; | 2-16045118-22 |
What was actor Teresa Graves's series before the year 1993? | CREATE TABLE "women" (
"year" real,
"actor" text,
"award" text,
"series" text,
"result" text
); | SELECT "series" FROM "women" WHERE "year"<1993 AND "actor"='teresa graves'; | 2-16045118-22 |
Which motor's quantity was more than 8, and a class of bs 1915? | CREATE TABLE "trams" (
"class" text,
"quantity" real,
"manufacturer" text,
"motor" text,
"seats" real
); | SELECT "motor" FROM "trams" WHERE "quantity">8 AND "class"='bs 1915'; | 2-15546197-1 |
Which motor's class was bs 1910? | CREATE TABLE "trams" (
"class" text,
"quantity" real,
"manufacturer" text,
"motor" text,
"seats" real
); | SELECT "motor" FROM "trams" WHERE "class"='bs 1910'; | 2-15546197-1 |
What is the quantity when the seats number was 16 and the class was kss 1913? | CREATE TABLE "trams" (
"class" text,
"quantity" real,
"manufacturer" text,
"motor" text,
"seats" real
); | SELECT "quantity" FROM "trams" WHERE "seats"=16 AND "class"='kss 1913'; | 2-15546197-1 |
What is the Root of All Evil with an Original air date that is september 3, 2008? | CREATE TABLE "season_2_2008" (
"advocate_num_1" text,
"advocate_num_2" text,
"root_of_all_evil" text,
"poll_winner" text,
"original_air_date" text
); | SELECT "root_of_all_evil" FROM "season_2_2008" WHERE "original_air_date"='september 3, 2008'; | 2-15781170-3 |
Goals Conceded (GC) that has a Draw (PE) larger than 2, and a Goals Scored (GF) larger than 19? | CREATE TABLE "group_b" (
"place_posici_n" real,
"team_equipo" text,
"played_pj" real,
"won_pg" real,
"draw_pe" real,
"lost_pp" real,
"goals_scored_gf" real,
"goals_conceded_gc" real,
"dif" real,
"points_pts" real
); | SELECT MAX("goals_conceded_gc") FROM "group_b" WHERE "draw_pe">2 AND "goals_scored_gf">19; | 2-15682637-4 |
What is the number for the University of Dublin with their Cultural and Educational Panel of 5, and an Industrial and Commercial Panel with less than 9? | CREATE TABLE "composition_of_the_6th_seanad" (
"administrative_panel" real,
"agricultural_panel" real,
"cultural_and_educational_panel" real,
"industrial_and_commercial_panel" real,
"labour_panel" real,
"national_university_of_ireland" real,
"university_of_dublin" real,
"nominated_by_the_taoiseach" real,
"total" real
); | SELECT COUNT("university_of_dublin") FROM "composition_of_the_6th_seanad" WHERE "cultural_and_educational_panel"=5 AND "industrial_and_commercial_panel"<9; | 2-15547664-1 |
Which Rank has a Losing Semi- finalist larger than 1, and a Winner smaller than 5? | CREATE TABLE "top_countries" (
"rank" real,
"country" text,
"winner" real,
"runner_up" real,
"losing_semi_finalist" real
); | SELECT "rank" FROM "top_countries" WHERE "losing_semi_finalist">1 AND "winner"<5; | 2-15577036-5 |
Which Rank has a Country of costa rica, and a Losing Semi- finalist larger than 1? | CREATE TABLE "top_countries" (
"rank" real,
"country" text,
"winner" real,
"runner_up" real,
"losing_semi_finalist" real
); | SELECT AVG("rank") FROM "top_countries" WHERE "country"='costa rica' AND "losing_semi_finalist">1; | 2-15577036-5 |
Which Rank has a Runner -up smaller than 0? | CREATE TABLE "top_countries" (
"rank" real,
"country" text,
"winner" real,
"runner_up" real,
"losing_semi_finalist" real
); | SELECT MAX("rank") FROM "top_countries" WHERE "runner_up"<0; | 2-15577036-5 |
What is the Winner's share in 2007? | CREATE TABLE "winners" (
"year" text,
"dates" text,
"champion" text,
"country" text,
"score" text,
"tournament_location" text,
"purse" real,
"winner_s_share" real
); | SELECT COUNT("winner_s_share") FROM "winners" WHERE "year"='2007'; | 2-15315816-1 |
What Year was the United States the country for aug 3–5? | CREATE TABLE "winners" (
"year" text,
"dates" text,
"champion" text,
"country" text,
"score" text,
"tournament_location" text,
"purse" real,
"winner_s_share" real
); | SELECT "year" FROM "winners" WHERE "country"='united states' AND "dates"='aug 3–5'; | 2-15315816-1 |
What is the highest Purse for aug 3–5? | CREATE TABLE "winners" (
"year" text,
"dates" text,
"champion" text,
"country" text,
"score" text,
"tournament_location" text,
"purse" real,
"winner_s_share" real
); | SELECT MAX("purse") FROM "winners" WHERE "dates"='aug 3–5'; | 2-15315816-1 |
Which country has a qualsiasi tranne sky hd package/option? | CREATE TABLE "football_wrestling" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "country" FROM "football_wrestling" WHERE "package_option"='qualsiasi tranne sky hd'; | 2-15887683-4 |
Which package/option has sky wwe 24/7 television service? | CREATE TABLE "football_wrestling" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "package_option" FROM "football_wrestling" WHERE "television_service"='sky wwe 24/7'; | 2-15887683-4 |
What is the package/option for the calcio content? | CREATE TABLE "football_wrestling" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "package_option" FROM "football_wrestling" WHERE "content"='calcio'; | 2-15887683-4 |
What is the language of the television service cartello promozionale sky hd? | CREATE TABLE "football_wrestling" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "language" FROM "football_wrestling" WHERE "television_service"='cartello promozionale sky hd'; | 2-15887683-4 |
What kind of bike had a grid less than 23, an accident under time, and Graeme Gowland as a rider? | CREATE TABLE "supersport_race_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "bike" FROM "supersport_race_classification" WHERE "grid"<23 AND "time"='accident' AND "rider"='graeme gowland'; | 2-16159039-3 |
Who was the rider with more than 5 laps on a grid bigger than 29 on a Honda CBR600RR and time at +1:27.385? | CREATE TABLE "supersport_race_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "rider" FROM "supersport_race_classification" WHERE "laps">5 AND "grid">29 AND "bike"='honda cbr600rr' AND "time"='+1:27.385'; | 2-16159039-3 |
Who was the rider with a grid of 36? | CREATE TABLE "supersport_race_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "rider" FROM "supersport_race_classification" WHERE "grid"=36; | 2-16159039-3 |
Which bike had a grid less than 35 and time at 37:58.607? | CREATE TABLE "supersport_race_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "bike" FROM "supersport_race_classification" WHERE "grid"<35 AND "time"='37:58.607'; | 2-16159039-3 |
What is Result, when Director is Veljko Bulajić category:articles with hcards, and when Original title is Sarajevski Atentat? | CREATE TABLE "yugoslavia" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "result" FROM "yugoslavia" WHERE "director"='veljko bulajić category:articles with hcards' AND "original_title"='sarajevski atentat'; | 2-16080300-1 |
What is Result, when Director is Mirza Idrizović category:articles with hcards? | CREATE TABLE "yugoslavia" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "result" FROM "yugoslavia" WHERE "director"='mirza idrizović category:articles with hcards'; | 2-16080300-1 |
What is Original title, when Film title used in nomination is Train Without A Timetable? | CREATE TABLE "yugoslavia" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "original_title" FROM "yugoslavia" WHERE "film_title_used_in_nomination"='train without a timetable'; | 2-16080300-1 |
What is Original title, when Director is Veljko Bulajić category:articles with hcards, and when Film title used in nomination is Train Without A Timetable? | CREATE TABLE "yugoslavia" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "original_title" FROM "yugoslavia" WHERE "director"='veljko bulajić category:articles with hcards' AND "film_title_used_in_nomination"='train without a timetable'; | 2-16080300-1 |
What is Film title used in nomination, when Year (Ceremony) is 1968 (41st)? | CREATE TABLE "yugoslavia" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "film_title_used_in_nomination" FROM "yugoslavia" WHERE "year_ceremony"='1968 (41st)'; | 2-16080300-1 |
What is Director, when Result is nominee, and when Year (Ceremony) is 1969 (42nd)? | CREATE TABLE "yugoslavia" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "director" FROM "yugoslavia" WHERE "result"='nominee' AND "year_ceremony"='1969 (42nd)'; | 2-16080300-1 |
Which name's height in centimeters is 178 when its weight in kilograms is less than 91? | 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,
"previous_club_team" text
); | SELECT "name" FROM "list_of_united_states_national_ice_hocke" WHERE "height_cm"=178 AND "weight_kg"<91; | 2-15715109-38 |
What is the name of the player with the High points when there was a Record of 31–48? | 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_points" FROM "game_log" WHERE "record"='31–48'; | 2-15869204-9 |
What is the name of the player with the High rebounds when there was a Score of l 108–114 (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 "high_rebounds" FROM "game_log" WHERE "score"='l 108–114 (ot)'; | 2-15869204-9 |
What is the Lead for the 1999–00 season? | CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "lead" FROM "teams" WHERE "season"='1999–00'; | 2-1535093-3 |
What is the Second when the third is don walchuk? | CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "second" FROM "teams" WHERE "third"='don walchuk'; | 2-1535093-3 |
What is the Season when the Lead was don bartlett, and the third was don walchuk, and a Second of carter rycroft? | CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "season" FROM "teams" WHERE "lead"='don bartlett' AND "third"='don walchuk' AND "second"='carter rycroft'; | 2-1535093-3 |
What is the Skip when the Third was john morris? | CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "skip" FROM "teams" WHERE "third"='john morris'; | 2-1535093-3 |
What is the Third when the Lead was don bartlett, the Second was carter rycroft, and a Season of 2003–04? | CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "third" FROM "teams" WHERE "lead"='don bartlett' AND "second"='carter rycroft' AND "season"='2003–04'; | 2-1535093-3 |
What is the Lead when the Second was marc kennedy, in the 2012–13 season? | CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "lead" FROM "teams" WHERE "second"='marc kennedy' AND "season"='2012–13'; | 2-1535093-3 |
What is the name of the city with a capacity of 41,311? | CREATE TABLE "clubs_stadiums_and_locations" (
"team" text,
"city" text,
"state" text,
"home_venue" text,
"capacity" text
); | SELECT "city" FROM "clubs_stadiums_and_locations" WHERE "capacity"='41,311'; | 2-15795426-1 |
What is the State with Suwon as the city | CREATE TABLE "clubs_stadiums_and_locations" (
"team" text,
"city" text,
"state" text,
"home_venue" text,
"capacity" text
); | SELECT "state" FROM "clubs_stadiums_and_locations" WHERE "city"='suwon'; | 2-15795426-1 |
What is the State with a home venue of suwon sports complex? | CREATE TABLE "clubs_stadiums_and_locations" (
"team" text,
"city" text,
"state" text,
"home_venue" text,
"capacity" text
); | SELECT "state" FROM "clubs_stadiums_and_locations" WHERE "home_venue"='suwon sports complex'; | 2-15795426-1 |
What is the team name for Chungju? | CREATE TABLE "clubs_stadiums_and_locations" (
"team" text,
"city" text,
"state" text,
"home_venue" text,
"capacity" text
); | SELECT "team" FROM "clubs_stadiums_and_locations" WHERE "city"='chungju'; | 2-15795426-1 |
What is the Team with a venue of Anyang Stadium? | CREATE TABLE "clubs_stadiums_and_locations" (
"team" text,
"city" text,
"state" text,
"home_venue" text,
"capacity" text
); | SELECT "team" FROM "clubs_stadiums_and_locations" WHERE "home_venue"='anyang stadium'; | 2-15795426-1 |
What is the State with Gwangju Fc as the team? | CREATE TABLE "clubs_stadiums_and_locations" (
"team" text,
"city" text,
"state" text,
"home_venue" text,
"capacity" text
); | SELECT "state" FROM "clubs_stadiums_and_locations" WHERE "team"='gwangju fc'; | 2-15795426-1 |
What is the To par, when the Player is Loren Roberts? | CREATE TABLE "third_round_saturday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "third_round_saturday" WHERE "player"='loren roberts'; | 2-16092658-6 |
What is the To par, when the Score is 68-71-69=208? | CREATE TABLE "third_round_saturday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "third_round_saturday" WHERE "score"='68-71-69=208'; | 2-16092658-6 |
What is the Place, when the Score is 68-70-71=209? | CREATE TABLE "third_round_saturday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round_saturday" WHERE "score"='68-70-71=209'; | 2-16092658-6 |
What is the Place, when the Player is Chris Dimarco? | CREATE TABLE "third_round_saturday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round_saturday" WHERE "player"='chris dimarco'; | 2-16092658-6 |
What is the Score, when the Country is United States, when the Place is T3, and when the Player is Chris Riley? | CREATE TABLE "third_round_saturday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "third_round_saturday" WHERE "country"='united states' AND "place"='t3' AND "player"='chris riley'; | 2-16092658-6 |
What is the score where the opponent was Mardy Fish? | CREATE TABLE "singles_10_2_titles_8_runners_up" (
"outcome" text,
"date" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "singles_10_2_titles_8_runners_up" WHERE "opponent"='mardy fish'; | 2-1554464-3 |
What surface was played on with a score of 6–4, 6–3 and on 4 May 1992? | CREATE TABLE "doubles_champion_9" (
"date" text,
"tournament" text,
"surface" text,
"partnering" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "surface" FROM "doubles_champion_9" WHERE "score"='6–4, 6–3' AND "date"='4 may 1992'; | 2-15335011-3 |
What is the name of the tournament played 13 November 2000? | CREATE TABLE "doubles_champion_9" (
"date" text,
"tournament" text,
"surface" text,
"partnering" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "tournament" FROM "doubles_champion_9" WHERE "date"='13 november 2000'; | 2-15335011-3 |
Which tournament was played on 12 February 2001? | CREATE TABLE "doubles_champion_9" (
"date" text,
"tournament" text,
"surface" text,
"partnering" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "tournament" FROM "doubles_champion_9" WHERE "date"='12 february 2001'; | 2-15335011-3 |
What is the average round number with wide receiver as position and Clark University as the college and the pick number is bigger than 166? | CREATE TABLE "nfl_draft" (
"round_num" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
); | SELECT AVG("round_num") FROM "nfl_draft" WHERE "position"='wide receiver' AND "college"='clark university' AND "pick_num">166; | 2-15353123-1 |
Which team had a year entering the league under 2009, located in Bath? | CREATE TABLE "british_universities_and_colleges_sport" (
"team" text,
"university" text,
"location" text,
"year_entered_league" real,
"2013_14_division" text
); | SELECT "team" FROM "british_universities_and_colleges_sport" WHERE "year_entered_league"<2009 AND "location"='bath'; | 2-16135522-4 |
What is the year of entry for the University of Essex? | CREATE TABLE "british_universities_and_colleges_sport" (
"team" text,
"university" text,
"location" text,
"year_entered_league" real,
"2013_14_division" text
); | SELECT "year_entered_league" FROM "british_universities_and_colleges_sport" WHERE "university"='university of essex'; | 2-16135522-4 |
What is the 2013-2014 division for the Wolverhampton Wildcats? | CREATE TABLE "british_universities_and_colleges_sport" (
"team" text,
"university" text,
"location" text,
"year_entered_league" real,
"2013_14_division" text
); | SELECT "2013_14_division" FROM "british_universities_and_colleges_sport" WHERE "team"='wolverhampton wildcats'; | 2-16135522-4 |
Which university was in the Western division in 2013-14, located in Bath, and named the Bath Spa Bulldogs? | CREATE TABLE "british_universities_and_colleges_sport" (
"team" text,
"university" text,
"location" text,
"year_entered_league" real,
"2013_14_division" text
); | SELECT "university" FROM "british_universities_and_colleges_sport" WHERE "2013_14_division"='western' AND "location"='bath' AND "team"='bath spa bulldogs'; | 2-16135522-4 |
What is the least amount of draws with an against of 1261? | CREATE TABLE "2008_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MIN("draws") FROM "2008_ladder" WHERE "against"=1261; | 2-1552908-17 |
What label shows an Album of cover version v? | CREATE TABLE "cover_version" (
"album" text,
"release_date" text,
"label" text,
"format" text,
"covered_song" text,
"original_song" text
); | SELECT "label" FROM "cover_version" WHERE "album"='cover version v'; | 2-15767923-7 |
What is the Label for the Covered Song named " sign o' the times " by prince .? | CREATE TABLE "cover_version" (
"album" text,
"release_date" text,
"label" text,
"format" text,
"covered_song" text,
"original_song" text
); | SELECT "label" FROM "cover_version" WHERE "covered_song"='\" sign o'' the times \" by prince .'; | 2-15767923-7 |
What is the Label when the album shows cover version vi? | CREATE TABLE "cover_version" (
"album" text,
"release_date" text,
"label" text,
"format" text,
"covered_song" text,
"original_song" text
); | SELECT "label" FROM "cover_version" WHERE "album"='cover version vi'; | 2-15767923-7 |
What is the Release date for the Covered Song named " sign o' the times " by prince .? | CREATE TABLE "cover_version" (
"album" text,
"release_date" text,
"label" text,
"format" text,
"covered_song" text,
"original_song" text
); | SELECT "release_date" FROM "cover_version" WHERE "covered_song"='\" sign o'' the times \" by prince .'; | 2-15767923-7 |
What shows as the Original Song when the Covered Song was " sign o' the times " by prince .? | CREATE TABLE "cover_version" (
"album" text,
"release_date" text,
"label" text,
"format" text,
"covered_song" text,
"original_song" text
); | SELECT "original_song" FROM "cover_version" WHERE "covered_song"='\" sign o'' the times \" by prince .'; | 2-15767923-7 |
What is the name of the Covered Song when the Album shows cover version iii? | CREATE TABLE "cover_version" (
"album" text,
"release_date" text,
"label" text,
"format" text,
"covered_song" text,
"original_song" text
); | SELECT "covered_song" FROM "cover_version" WHERE "album"='cover version iii'; | 2-15767923-7 |
What is the sum of Week when there were 67,968 people in attendance? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT SUM("week") FROM "schedule" WHERE "attendance"='67,968'; | 2-15331575-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.