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 Country of the Player in Place 1? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "place"='1'; | 2-18017347-6 |
What is the Place of the Player with a To par of –10 and a Score of 67-67-66=200? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "to_par"='–10' AND "score"='67-67-66=200'; | 2-18017347-6 |
Can you tell me the total number of Rank that has the Points larger than 99, and the Club of barcelona? | CREATE TABLE "most_points_in_a_la_liga_season_at_least" (
"rank" real,
"club" text,
"season" text,
"points" real,
"apps" real
); | SELECT COUNT("rank") FROM "most_points_in_a_la_liga_season_at_least" WHERE "points">99 AND "club"='barcelona'; | 2-17937080-1 |
How many people on average attended when Eastwood Town was the away team, and the tie number was less than 8? | CREATE TABLE "replays" (
"tie_no" real,
"home_team" text,
"score" text,
"away_team" text,
"attendance" real
); | SELECT AVG("attendance") FROM "replays" WHERE "tie_no"<8 AND "away_team"='eastwood town'; | 2-18054397-16 |
The game with home team Crowborough Athletic, with an attendance less than 848 had what as the score? | CREATE TABLE "replays" (
"tie_no" real,
"home_team" text,
"score" text,
"away_team" text,
"attendance" real
); | SELECT "score" FROM "replays" WHERE "attendance"<848 AND "home_team"='crowborough athletic'; | 2-18054397-16 |
The game with Bashley as the home team had what maximum attendance? | CREATE TABLE "replays" (
"tie_no" real,
"home_team" text,
"score" text,
"away_team" text,
"attendance" real
); | SELECT MAX("attendance") FROM "replays" WHERE "home_team"='bashley'; | 2-18054397-16 |
What is the tie number total when Harlow Town is the away team? | CREATE TABLE "replays" (
"tie_no" real,
"home_team" text,
"score" text,
"away_team" text,
"attendance" real
); | SELECT COUNT("tie_no") FROM "replays" WHERE "away_team"='harlow town'; | 2-18054397-16 |
Which artist has a draw greater than 15? | CREATE TABLE "results" (
"draw" real,
"language" text,
"artist" text,
"song" text,
"english_translation" text,
"place" real,
"points" real
); | SELECT "artist" FROM "results" WHERE "draw">15; | 2-182845-1 |
What was the highest place a song by Jacques Raymond reached, with a draw over 14? | CREATE TABLE "results" (
"draw" real,
"language" text,
"artist" text,
"song" text,
"english_translation" text,
"place" real,
"points" real
); | SELECT MAX("place") FROM "results" WHERE "artist"='jacques raymond' AND "draw">14; | 2-182845-1 |
What is the Craft used at Coniston Water? | CREATE TABLE "donald_campbell_s_unlimited_world_water_" (
"speed" text,
"craft" text,
"pilot" text,
"location" text,
"date" text
); | SELECT "craft" FROM "donald_campbell_s_unlimited_world_water_" WHERE "location"='coniston water'; | 2-17829496-1 |
What is the Speed at Lake Mead? | CREATE TABLE "donald_campbell_s_unlimited_world_water_" (
"speed" text,
"craft" text,
"pilot" text,
"location" text,
"date" text
); | SELECT "speed" FROM "donald_campbell_s_unlimited_world_water_" WHERE "location"='lake mead'; | 2-17829496-1 |
Which Goals have a Ratio of 0.29? | CREATE TABLE "top_ten_goalscorers_still_active_primera" (
"rank" real,
"name" text,
"years" text,
"current_club" text,
"goals" real,
"apps" real,
"ratio" real
); | SELECT "goals" FROM "top_ten_goalscorers_still_active_primera" WHERE "ratio"=0.29; | 2-17937080-6 |
Which Goals have a Current Club of real madrid, and a Ratio smaller than 1.08, and a Rank smaller than 5? | CREATE TABLE "top_ten_goalscorers_still_active_primera" (
"rank" real,
"name" text,
"years" text,
"current_club" text,
"goals" real,
"apps" real,
"ratio" real
); | SELECT MAX("goals") FROM "top_ten_goalscorers_still_active_primera" WHERE "current_club"='real madrid' AND "ratio"<1.08 AND "rank"<5; | 2-17937080-6 |
Which Current Club has a Rank of 4? | CREATE TABLE "top_ten_goalscorers_still_active_primera" (
"rank" real,
"name" text,
"years" text,
"current_club" text,
"goals" real,
"apps" real,
"ratio" real
); | SELECT "current_club" FROM "top_ten_goalscorers_still_active_primera" WHERE "rank"=4; | 2-17937080-6 |
What is the second party that has a conservative first party in the 1834 election? | CREATE TABLE "m_ps_1832_1885" (
"election" text,
"first_member" text,
"first_party" text,
"second_member" text,
"second_party" text
); | SELECT "second_party" FROM "m_ps_1832_1885" WHERE "first_party"='conservative' AND "election"='1834'; | 2-1826099-1 |
Who is the second member with first member Sir Rowland Hill, BT, and a conservative second party? | CREATE TABLE "m_ps_1832_1885" (
"election" text,
"first_member" text,
"first_party" text,
"second_member" text,
"second_party" text
); | SELECT "second_member" FROM "m_ps_1832_1885" WHERE "first_member"='sir rowland hill, bt' AND "second_party"='conservative'; | 2-1826099-1 |
What is the first party with second member Hon. Rowland Hill, in the 1857 election? | CREATE TABLE "m_ps_1832_1885" (
"election" text,
"first_member" text,
"first_party" text,
"second_member" text,
"second_party" text
); | SELECT "first_party" FROM "m_ps_1832_1885" WHERE "second_member"='hon. rowland hill' AND "election"='1857'; | 2-1826099-1 |
Who is the second member that is a second party Whig in the 1834 election? | CREATE TABLE "m_ps_1832_1885" (
"election" text,
"first_member" text,
"first_party" text,
"second_member" text,
"second_party" text
); | SELECT "second_member" FROM "m_ps_1832_1885" WHERE "second_party"='whig' AND "election"='1834'; | 2-1826099-1 |
What is the second party that has a conservative first party and second member John Cotes? | CREATE TABLE "m_ps_1832_1885" (
"election" text,
"first_member" text,
"first_party" text,
"second_member" text,
"second_party" text
); | SELECT "second_party" FROM "m_ps_1832_1885" WHERE "first_party"='conservative' AND "second_member"='john cotes'; | 2-1826099-1 |
What place is the player with a score of 69-68=137? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "score"='69-68=137'; | 2-18148933-4 |
What's the score for the t10 player from zimbabwe? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "place"='t10' AND "country"='zimbabwe'; | 2-18148933-4 |
What's the score of the t10 player from australia? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "place"='t10' AND "country"='australia'; | 2-18148933-4 |
What's bob tway's score? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "player"='bob tway'; | 2-18148933-4 |
What Player has a Place of t10, a Country of united states, and a Score of 67-73=140? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "second_round" WHERE "place"='t10' AND "country"='united states' AND "score"='67-73=140'; | 2-18156085-5 |
What Place has a Player of seve ballesteros? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "player"='seve ballesteros'; | 2-18156085-5 |
What Country has a Player of nick faldo? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "second_round" WHERE "player"='nick faldo'; | 2-18156085-5 |
What To par has a Place of t10, and a Score of 67-73=140? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "place"='t10' AND "score"='67-73=140'; | 2-18156085-5 |
What Score has a Place of t6, a Country of united states, and a Player of fred couples? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "place"='t6' AND "country"='united states' AND "player"='fred couples'; | 2-18156085-5 |
What To par has a Score of 68-66=134? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "score"='68-66=134'; | 2-18156085-5 |
Name the Provider that has a pay in 2006–, and a Transmission of iptv and digital terrestrial? | CREATE TABLE "current_providers" (
"provider" text,
"years" text,
"free_or_pay" text,
"transmission" text,
"on_demand" text
); | SELECT "provider" FROM "current_providers" WHERE "free_or_pay"='pay' AND "years"='2006–' AND "transmission"='iptv and digital terrestrial'; | 2-182410-1 |
Name the Years which have Transmission of digital satellite, an On demand of no, and a Free or pay of free + ppv? | CREATE TABLE "current_providers" (
"provider" text,
"years" text,
"free_or_pay" text,
"transmission" text,
"on_demand" text
); | SELECT "years" FROM "current_providers" WHERE "transmission"='digital satellite' AND "on_demand"='no' AND "free_or_pay"='free + ppv'; | 2-182410-1 |
What kind of Free or pay has Years of 2006– and a Provider of bt tv (formerly bt vision)? | CREATE TABLE "current_providers" (
"provider" text,
"years" text,
"free_or_pay" text,
"transmission" text,
"on_demand" text
); | SELECT "free_or_pay" FROM "current_providers" WHERE "years"='2006–' AND "provider"='bt tv (formerly bt vision)'; | 2-182410-1 |
Name the Years that have a free + pay? | CREATE TABLE "current_providers" (
"provider" text,
"years" text,
"free_or_pay" text,
"transmission" text,
"on_demand" text
); | SELECT "years" FROM "current_providers" WHERE "free_or_pay"='free + pay'; | 2-182410-1 |
Which On demandhas a Free or pay of free and a Provider of freesat? | CREATE TABLE "current_providers" (
"provider" text,
"years" text,
"free_or_pay" text,
"transmission" text,
"on_demand" text
); | SELECT "on_demand" FROM "current_providers" WHERE "free_or_pay"='free' AND "provider"='freesat'; | 2-182410-1 |
Which On demand has a pay and a Provider of virgin media (formerly ntl:telewest)? | CREATE TABLE "current_providers" (
"provider" text,
"years" text,
"free_or_pay" text,
"transmission" text,
"on_demand" text
); | SELECT "on_demand" FROM "current_providers" WHERE "free_or_pay"='pay' AND "provider"='virgin media (formerly ntl:telewest)'; | 2-182410-1 |
What is the region for tv uskana? | CREATE TABLE "regional_free_to_air_dvb_t_television_ch" (
"name" text,
"region" text,
"programming" text,
"type" text,
"encryption" text
); | SELECT "region" FROM "regional_free_to_air_dvb_t_television_ch" WHERE "name"='tv uskana'; | 2-18287309-2 |
What is the region for tv vtv? | CREATE TABLE "regional_free_to_air_dvb_t_television_ch" (
"name" text,
"region" text,
"programming" text,
"type" text,
"encryption" text
); | SELECT "region" FROM "regional_free_to_air_dvb_t_television_ch" WHERE "name"='tv vtv'; | 2-18287309-2 |
What is the highest Week with the Opponent Buffalo Bills? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT MAX("week") FROM "regular_season" WHERE "opponent"='buffalo bills'; | 2-17781394-1 |
Which Opponent has an Attendance greater than 14,431 during Week 3 at Bears Stadium Game site? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "opponent" FROM "regular_season" WHERE "attendance">'14,431' AND "game_site"='bears stadium' AND "week"=3; | 2-17781394-1 |
Which Attendance is larger than 1,000, with a Competition of world cup, and a Venue of dublin? | CREATE TABLE "2000s" (
"date" text,
"result" text,
"competition" text,
"venue" text,
"attendance" real
); | SELECT "date" FROM "2000s" WHERE "attendance">'1,000' AND "competition"='world cup' AND "venue"='dublin'; | 2-18304748-2 |
Which Venue that has an Attendance larger than 1,000, and a Result of scotland 12-20 samoa? | CREATE TABLE "2000s" (
"date" text,
"result" text,
"competition" text,
"venue" text,
"attendance" real
); | SELECT "venue" FROM "2000s" WHERE "attendance">'1,000' AND "result"='scotland 12-20 samoa'; | 2-18304748-2 |
Which Competition has a Result of france 46-16 scotland? | CREATE TABLE "2000s" (
"date" text,
"result" text,
"competition" text,
"venue" text,
"attendance" real
); | SELECT "competition" FROM "2000s" WHERE "result"='france 46-16 scotland'; | 2-18304748-2 |
Which Percentage has a District larger than 2, and a Party of independent? | CREATE TABLE "results" (
"district" real,
"seat" text,
"candidate" text,
"party" text,
"vote" real,
"percentage" text
); | SELECT "percentage" FROM "results" WHERE "district">2 AND "party"='independent'; | 2-17867115-1 |
How many votes have a Seat of house A, and a Percentage of 75.44%, and a District smaller than 11? | CREATE TABLE "results" (
"district" real,
"seat" text,
"candidate" text,
"party" text,
"vote" real,
"percentage" text
); | SELECT COUNT("vote") FROM "results" WHERE "seat"='house a' AND "percentage"='75.44%' AND "district"<11; | 2-17867115-1 |
What nation has more than 1 bronze and less than 3 silver? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "nation" FROM "medal_table" WHERE "bronze">1 AND "silver"<3; | 2-18358072-2 |
What's the highest number of silver for 9 bronze and less than 27 total? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medal_table" WHERE "bronze"=9 AND "total"<27; | 2-18358072-2 |
What is the Market Share that has Assets of 25 Million and a rank of 23? | CREATE TABLE "tier_i_financial_institutions" (
"rank" text,
"bank" text,
"assets_usd_millions" real,
"market_share" text,
"number_of_branches" real
); | SELECT "market_share" FROM "tier_i_financial_institutions" WHERE "assets_usd_millions"=25 AND "rank"='23'; | 2-17925998-1 |
What is the highest Assets (USD) Millions from Equity Bank and less than 44 branches? | CREATE TABLE "tier_i_financial_institutions" (
"rank" text,
"bank" text,
"assets_usd_millions" real,
"market_share" text,
"number_of_branches" real
); | SELECT MAX("assets_usd_millions") FROM "tier_i_financial_institutions" WHERE "bank"='equity bank' AND "number_of_branches"<44; | 2-17925998-1 |
What is Score, when Attendance is "349"? | CREATE TABLE "replays" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "score" FROM "replays" WHERE "attendance"='349'; | 2-18054397-10 |
What is Score, when Away Team is "Newcastle Benfield"? | CREATE TABLE "replays" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "score" FROM "replays" WHERE "away_team"='newcastle benfield'; | 2-18054397-10 |
What is Score, when Tie No is "30"? | CREATE TABLE "replays" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "score" FROM "replays" WHERE "tie_no"='30'; | 2-18054397-10 |
What is Score, when Tie No is "109"? | CREATE TABLE "replays" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "score" FROM "replays" WHERE "tie_no"='109'; | 2-18054397-10 |
What is Away Team, when Tie No is "37"? | CREATE TABLE "replays" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "away_team" FROM "replays" WHERE "tie_no"='37'; | 2-18054397-10 |
What is the Australian for the American ɑ? | CREATE TABLE "vowel_plus_consonant_cluster" (
"letter" text,
"american" text,
"british" text,
"australian" text,
"examples" text
); | SELECT "australian" FROM "vowel_plus_consonant_cluster" WHERE "american"='ɑ'; | 2-17798093-19 |
What is the Australian equivalent to i /ɪ/? | CREATE TABLE "vowel_plus_consonant_cluster" (
"letter" text,
"american" text,
"british" text,
"australian" text,
"examples" text
); | SELECT "australian" FROM "vowel_plus_consonant_cluster" WHERE "letter"='i /ɪ/'; | 2-17798093-19 |
What is the British for the Australian ɔ? | CREATE TABLE "vowel_plus_consonant_cluster" (
"letter" text,
"american" text,
"british" text,
"australian" text,
"examples" text
); | SELECT "british" FROM "vowel_plus_consonant_cluster" WHERE "australian"='ɔ'; | 2-17798093-19 |
What is the American version of the British ə? | CREATE TABLE "vowel_plus_consonant_cluster" (
"letter" text,
"american" text,
"british" text,
"australian" text,
"examples" text
); | SELECT "american" FROM "vowel_plus_consonant_cluster" WHERE "british"='ə'; | 2-17798093-19 |
What are the examples for the Australian æ? | CREATE TABLE "vowel_plus_consonant_cluster" (
"letter" text,
"american" text,
"british" text,
"australian" text,
"examples" text
); | SELECT "examples" FROM "vowel_plus_consonant_cluster" WHERE "australian"='æ'; | 2-17798093-19 |
What is the letter for the Brisish ɒ? | CREATE TABLE "vowel_plus_consonant_cluster" (
"letter" text,
"american" text,
"british" text,
"australian" text,
"examples" text
); | SELECT "letter" FROM "vowel_plus_consonant_cluster" WHERE "british"='ɒ'; | 2-17798093-19 |
What's the 7am show that has local programs at 7:30am and 6:30pm? | CREATE TABLE "spring_2001" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "7_00_am" FROM "spring_2001" WHERE "6_30_pm"='local programs' AND "7_30_am"='local programs'; | 2-17887585-3 |
What is the 3pm show that has Men In Black (mon-thu) Pokémon (fri) at 7am? | CREATE TABLE "spring_2001" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "3_00_pm" FROM "spring_2001" WHERE "7_00_am"='men in black (mon-thu) pokémon (fri)'; | 2-17887585-3 |
What is the 7am show that has All My Children at 1:30pm? | CREATE TABLE "spring_2001" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "7_00_am" FROM "spring_2001" WHERE "1_30_pm"='all my children'; | 2-17887585-3 |
What is the 8am show that has Passions showing at 2pm? | CREATE TABLE "spring_2001" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "8_00_am" FROM "spring_2001" WHERE "2_00_pm"='passions'; | 2-17887585-3 |
What is the 6:30pm show that has The Early Show at 8am and Local Programs at 9am? | CREATE TABLE "spring_2001" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "6_30_pm" FROM "spring_2001" WHERE "9_00_am"='local programs' AND "8_00_am"='the early show'; | 2-17887585-3 |
What is the 1pm show that has Local Programs at 2pm and Digimon: Digital Monsters at 4:30pm? | CREATE TABLE "spring_2001" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "1_00_pm" FROM "spring_2001" WHERE "2_00_pm"='local programs' AND "4_30_pm"='digimon: digital monsters'; | 2-17887585-3 |
Who was the 1st member with 2nd member Thomas Leigh and was elected in 1557/58? | CREATE TABLE "parliaments_of_queen_mary_i" (
"summoned" text,
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "1st_member" FROM "parliaments_of_queen_mary_i" WHERE "2nd_member"='thomas leigh' AND "elected"='1557/58'; | 2-1827690-9 |
Who is the second member that was elected in 1555? | CREATE TABLE "parliaments_of_queen_mary_i" (
"summoned" text,
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "2nd_member" FROM "parliaments_of_queen_mary_i" WHERE "elected"='1555'; | 2-1827690-9 |
Who was dissolved that was elected in 1553? | CREATE TABLE "parliaments_of_queen_mary_i" (
"summoned" text,
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "dissolved" FROM "parliaments_of_queen_mary_i" WHERE "elected"='1553'; | 2-1827690-9 |
Which Pick has a Nationality of canada, and a Player of dennis maxwell? | CREATE TABLE "draft_picks" (
"draft" real,
"round" text,
"pick" real,
"player" text,
"nationality" text
); | SELECT COUNT("pick") FROM "draft_picks" WHERE "nationality"='canada' AND "player"='dennis maxwell'; | 2-18292108-4 |
Which Player has a Draft of 1994, a Pick larger than 8, a Round of 10, and a Nationality of canada? | CREATE TABLE "draft_picks" (
"draft" real,
"round" text,
"pick" real,
"player" text,
"nationality" text
); | SELECT "player" FROM "draft_picks" WHERE "draft"=1994 AND "pick">8 AND "round"='10' AND "nationality"='canada'; | 2-18292108-4 |
Which Player has a Round of 7, a Pick larger than 187, a Nationality of united states, and a Draft larger than 2000? | CREATE TABLE "draft_picks" (
"draft" real,
"round" text,
"pick" real,
"player" text,
"nationality" text
); | SELECT "player" FROM "draft_picks" WHERE "round"='7' AND "pick">187 AND "nationality"='united states' AND "draft">2000; | 2-18292108-4 |
Which Player has a Round of 9, and a Pick of 263? | CREATE TABLE "draft_picks" (
"draft" real,
"round" text,
"pick" real,
"player" text,
"nationality" text
); | SELECT "player" FROM "draft_picks" WHERE "round"='9' AND "pick"=263; | 2-18292108-4 |
Which Draft has a Round of 1, a Nationality of canada, a Pick of 1, and a Player of vincent lecavalier? | CREATE TABLE "draft_picks" (
"draft" real,
"round" text,
"pick" real,
"player" text,
"nationality" text
); | SELECT AVG("draft") FROM "draft_picks" WHERE "round"='1' AND "nationality"='canada' AND "pick"=1 AND "player"='vincent lecavalier'; | 2-18292108-4 |
What penalties has P.I.M. of 34.5? | CREATE TABLE "round_robin_results" (
"team" text,
"wins" text,
"losses" text,
"points" text,
"w_pct" text,
"g_f" text,
"g_a" text,
"assists" text,
"penalties" text,
"p_i_m" text
); | SELECT "penalties" FROM "round_robin_results" WHERE "p_i_m"='34.5'; | 2-18347755-1 |
What wins has WPct of 0.2? | CREATE TABLE "round_robin_results" (
"team" text,
"wins" text,
"losses" text,
"points" text,
"w_pct" text,
"g_f" text,
"g_a" text,
"assists" text,
"penalties" text,
"p_i_m" text
); | SELECT "wins" FROM "round_robin_results" WHERE "w_pct"='0.2'; | 2-18347755-1 |
What WPct has wins of wins? | CREATE TABLE "round_robin_results" (
"team" text,
"wins" text,
"losses" text,
"points" text,
"w_pct" text,
"g_f" text,
"g_a" text,
"assists" text,
"penalties" text,
"p_i_m" text
); | SELECT "w_pct" FROM "round_robin_results" WHERE "wins"='wins'; | 2-18347755-1 |
What assists has points of 10? | CREATE TABLE "round_robin_results" (
"team" text,
"wins" text,
"losses" text,
"points" text,
"w_pct" text,
"g_f" text,
"g_a" text,
"assists" text,
"penalties" text,
"p_i_m" text
); | SELECT "assists" FROM "round_robin_results" WHERE "points"='10'; | 2-18347755-1 |
What losses consist of the team of japan? | CREATE TABLE "round_robin_results" (
"team" text,
"wins" text,
"losses" text,
"points" text,
"w_pct" text,
"g_f" text,
"g_a" text,
"assists" text,
"penalties" text,
"p_i_m" text
); | SELECT "losses" FROM "round_robin_results" WHERE "team"='japan'; | 2-18347755-1 |
How many wins have more than 1 loss and a team of chiefs? | CREATE TABLE "starters_for_3_different_teams" (
"quarterback" text,
"games" real,
"teams" text,
"wins" real,
"losses" real,
"percent" real
); | SELECT SUM("wins") FROM "starters_for_3_different_teams" WHERE "teams"='chiefs' AND "losses">1; | 2-17788889-4 |
What was the total yards lost by antwon bailey when he gained 227? | CREATE TABLE "rushing" (
"name" text,
"gp_gs" text,
"gain" real,
"loss" real,
"long" text,
"avg_g" real
); | SELECT MIN("loss") FROM "rushing" WHERE "name"='antwon bailey' AND "gain">227; | 2-18045035-18 |
How many wins when points are more than 51, goals against are more than 23 and losses are 5? | CREATE TABLE "league_standings" (
"position" real,
"club" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"points" real,
"goal_difference" real
); | SELECT COUNT("wins") FROM "league_standings" WHERE "points">51 AND "goals_against">23 AND "losses"=5; | 2-18017970-2 |
How many wins when there are more than 19 points, place smaller than 12, and fewer than 30 played? | CREATE TABLE "league_standings" (
"position" real,
"club" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"points" real,
"goal_difference" real
); | SELECT SUM("wins") FROM "league_standings" WHERE "points">19 AND "position"<12 AND "played"<30; | 2-18017970-2 |
What is the number played by the team in place greater than 16? | CREATE TABLE "league_standings" (
"position" real,
"club" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"points" real,
"goal_difference" real
); | SELECT AVG("played") FROM "league_standings" WHERE "position">16; | 2-18017970-2 |
What are the 2nd round results for the match with Girondins de Bordeaux (d1) as Team 2? | CREATE TABLE "round_of_16" (
"team_1" text,
"score" text,
"team_2" text,
"1st_round" text,
"2nd_round" text
); | SELECT "2nd_round" FROM "round_of_16" WHERE "team_2"='girondins de bordeaux (d1)'; | 2-17905518-1 |
What was the 1st round result that had US Valenciennes (d1) as Team 2? | CREATE TABLE "round_of_16" (
"team_1" text,
"score" text,
"team_2" text,
"1st_round" text,
"2nd_round" text
); | SELECT "1st_round" FROM "round_of_16" WHERE "team_2"='us valenciennes (d1)'; | 2-17905518-1 |
What was the Score of the match with USL Dunkerque (d2) as Team 2? | CREATE TABLE "round_of_16" (
"team_1" text,
"score" text,
"team_2" text,
"1st_round" text,
"2nd_round" text
); | SELECT "score" FROM "round_of_16" WHERE "team_2"='usl dunkerque (d2)'; | 2-17905518-1 |
What club does Manuel Fernandes coach? | CREATE TABLE "team_summaries" (
"club" text,
"head_coach" text,
"city" text,
"stadium" text,
"2003_2004_season" text
); | SELECT "club" FROM "team_summaries" WHERE "head_coach"='manuel fernandes'; | 2-17933602-1 |
Who is the head coach for the club from Estoril? | CREATE TABLE "team_summaries" (
"club" text,
"head_coach" text,
"city" text,
"stadium" text,
"2003_2004_season" text
); | SELECT "head_coach" FROM "team_summaries" WHERE "city"='estoril'; | 2-17933602-1 |
Who is the head coach for the club from Aveiro? | CREATE TABLE "team_summaries" (
"club" text,
"head_coach" text,
"city" text,
"stadium" text,
"2003_2004_season" text
); | SELECT "head_coach" FROM "team_summaries" WHERE "city"='aveiro'; | 2-17933602-1 |
What is Team 1, when Team 2 is "Iskra Odintsovo"? | CREATE TABLE "1_8_finals" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_1" FROM "1_8_finals" WHERE "team_2"='iskra odintsovo'; | 2-18251604-44 |
What is 1st Leg, when Team 1 is "Portol Palma Mallorca"? | CREATE TABLE "1_8_finals" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "1_8_finals" WHERE "team_1"='portol palma mallorca'; | 2-18251604-44 |
What is Agg., when Team 1 is "Noliko Maaseik"? | CREATE TABLE "1_8_finals" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "agg" FROM "1_8_finals" WHERE "team_1"='noliko maaseik'; | 2-18251604-44 |
What is Jake Johnson's position? | CREATE TABLE "players" (
"players" text,
"position" text,
"year" text,
"ht_wt" text,
"bats_throws" text,
"hometown_last_school" text
); | SELECT "position" FROM "players" WHERE "players"='jake johnson'; | 2-18025024-2 |
What side does Clayton Allison Bat/Throw from? | CREATE TABLE "players" (
"players" text,
"position" text,
"year" text,
"ht_wt" text,
"bats_throws" text,
"hometown_last_school" text
); | SELECT "bats_throws" FROM "players" WHERE "players"='clayton allison'; | 2-18025024-2 |
What side does Ryan Overland Bat/Throws from? | CREATE TABLE "players" (
"players" text,
"position" text,
"year" text,
"ht_wt" text,
"bats_throws" text,
"hometown_last_school" text
); | SELECT "bats_throws" FROM "players" WHERE "players"='ryan overland'; | 2-18025024-2 |
What is the 2nd leg of pelister team 2? | CREATE TABLE "eighth_finals" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "eighth_finals" WHERE "team_2"='pelister'; | 2-17973973-2 |
What is the team 1 with cementarnica as team 2? | CREATE TABLE "eighth_finals" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_1" FROM "eighth_finals" WHERE "team_2"='cementarnica'; | 2-17973973-2 |
What is the team 2 with turnovo as team 1? | CREATE TABLE "eighth_finals" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_2" FROM "eighth_finals" WHERE "team_1"='turnovo'; | 2-17973973-2 |
What is the team 1 with tikveš as team 2? | CREATE TABLE "eighth_finals" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_1" FROM "eighth_finals" WHERE "team_2"='tikveš'; | 2-17973973-2 |
What is Place, when Score is "69-69=138", and when Country is "United States"? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "score"='69-69=138' AND "country"='united states'; | 2-18009462-5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.