question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many Years have an Iron Man Award of kyal horsley? | CREATE TABLE "honour_board" (
"year" real,
"coach" text,
"captain" text,
"club_champion" text,
"leading_goalkicker" text,
"player_s_player" text,
"iron_man_award" text,
"community_award" text,
"most_professional" text,
"most_improved" text,
"neafl_player_of_the_year" text
); | SELECT COUNT("year") FROM "honour_board" WHERE "iron_man_award"='kyal horsley'; | 2-16286349-13 |
Which Coach has a Most Improved of rory thompson? | CREATE TABLE "honour_board" (
"year" real,
"coach" text,
"captain" text,
"club_champion" text,
"leading_goalkicker" text,
"player_s_player" text,
"iron_man_award" text,
"community_award" text,
"most_professional" text,
"most_improved" text,
"neafl_player_of_the_year" text
); | SELECT "coach" FROM "honour_board" WHERE "most_improved"='rory thompson'; | 2-16286349-13 |
Which Year has a Community Award of jarrod harbrow? | CREATE TABLE "honour_board" (
"year" real,
"coach" text,
"captain" text,
"club_champion" text,
"leading_goalkicker" text,
"player_s_player" text,
"iron_man_award" text,
"community_award" text,
"most_professional" text,
"most_improved" text,
"neafl_player_of_the_year" text
); | SELECT SUM("year") FROM "honour_board" WHERE "community_award"='jarrod harbrow'; | 2-16286349-13 |
what is the capacity for the team šibenik? | CREATE TABLE "summaries" (
"team" text,
"manager" text,
"home_city" text,
"stadium" text,
"capacity" real
); | SELECT MIN("capacity") FROM "summaries" WHERE "team"='šibenik'; | 2-17573981-1 |
what is the stadium for čakovec? | CREATE TABLE "summaries" (
"team" text,
"manager" text,
"home_city" text,
"stadium" text,
"capacity" real
); | SELECT "stadium" FROM "summaries" WHERE "team"='čakovec'; | 2-17573981-1 |
what is the capacity when the home city is zagreb and the manager is zlatko kranjčar? | CREATE TABLE "summaries" (
"team" text,
"manager" text,
"home_city" text,
"stadium" text,
"capacity" real
); | SELECT AVG("capacity") FROM "summaries" WHERE "home_city"='zagreb' AND "manager"='zlatko kranjčar'; | 2-17573981-1 |
what is the home city for the stadion src mladost? | CREATE TABLE "summaries" (
"team" text,
"manager" text,
"home_city" text,
"stadium" text,
"capacity" real
); | SELECT "home_city" FROM "summaries" WHERE "stadium"='stadion src mladost'; | 2-17573981-1 |
What is the grid for the driver with an electrical time/retired and 51 laps? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "grid" FROM "race" WHERE "time_retired"='electrical' AND "laps"=51; | 2-17093118-2 |
Who is the driver with 1 grid? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "race" WHERE "grid"=1; | 2-17093118-2 |
What place was Mark Carnevale in? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "place" FROM "first_round" WHERE "player"='mark carnevale'; | 2-17162166-4 |
What was the highest attendance against Real Juventud? | CREATE TABLE "round_4" (
"date" text,
"home" text,
"score" text,
"away" text,
"attendance" real
); | SELECT MAX("attendance") FROM "round_4" WHERE "away"='real juventud'; | 2-17026847-6 |
Who is the away captain for the matches dated 7,8,10,11 feb 1908? | CREATE TABLE "test_matches" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "away_captain" FROM "test_matches" WHERE "date"='7,8,10,11 feb 1908'; | 2-17470908-1 |
Who is the home captain at the Adelaide Oval? | CREATE TABLE "test_matches" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "home_captain" FROM "test_matches" WHERE "venue"='adelaide oval'; | 2-17470908-1 |
Who is the home captain that won AUS by 245 runs? | CREATE TABLE "test_matches" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "home_captain" FROM "test_matches" WHERE "result"='aus by 245 runs'; | 2-17470908-1 |
What was the venue for the dates 1,2,3,4,6,7 jan 1908? | CREATE TABLE "test_matches" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "venue" FROM "test_matches" WHERE "date"='1,2,3,4,6,7 jan 1908'; | 2-17470908-1 |
What was the venue for the dates 7,8,10,11 Feb 1908? | CREATE TABLE "test_matches" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "venue" FROM "test_matches" WHERE "date"='7,8,10,11 feb 1908'; | 2-17470908-1 |
What's the production if the technology is sodium-sulfur batteries and yes to toxic materials? | CREATE TABLE "technology_comparison_for_grid_level_app" (
"technology" text,
"moving_parts" text,
"room_temperature" text,
"flammable" text,
"toxic_materials" text,
"in_production" text,
"rare_metals" text
); | SELECT "in_production" FROM "technology_comparison_for_grid_level_app" WHERE "toxic_materials"='yes' AND "technology"='sodium-sulfur batteries'; | 2-1646838-1 |
What are the moving parts of lead-acid? | CREATE TABLE "technology_comparison_for_grid_level_app" (
"technology" text,
"moving_parts" text,
"room_temperature" text,
"flammable" text,
"toxic_materials" text,
"in_production" text,
"rare_metals" text
); | SELECT "moving_parts" FROM "technology_comparison_for_grid_level_app" WHERE "technology"='lead-acid'; | 2-1646838-1 |
What's the room temperature with no toxic materials and no ln production? | CREATE TABLE "technology_comparison_for_grid_level_app" (
"technology" text,
"moving_parts" text,
"room_temperature" text,
"flammable" text,
"toxic_materials" text,
"in_production" text,
"rare_metals" text
); | SELECT "room_temperature" FROM "technology_comparison_for_grid_level_app" WHERE "in_production"='no' AND "toxic_materials"='no'; | 2-1646838-1 |
What's the technology when there are no moving parts but yes to toxic materials? | CREATE TABLE "technology_comparison_for_grid_level_app" (
"technology" text,
"moving_parts" text,
"room_temperature" text,
"flammable" text,
"toxic_materials" text,
"in_production" text,
"rare_metals" text
); | SELECT "technology" FROM "technology_comparison_for_grid_level_app" WHERE "toxic_materials"='yes' AND "moving_parts"='no'; | 2-1646838-1 |
What was the Score for T9 United States Player Kirk Triplett? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "place"='t9' AND "country"='united states' AND "player"='kirk triplett'; | 2-16514667-3 |
What country is Tiger Woods from? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "second_round" WHERE "player"='tiger woods'; | 2-16514667-3 |
what is the assists when the club is chicago fire and goals is more than 2? | CREATE TABLE "statistics" (
"season" text,
"club" text,
"country" text,
"apps" real,
"goals" real,
"assists" real
); | SELECT SUM("assists") FROM "statistics" WHERE "club"='chicago fire' AND "goals">2; | 2-16524964-1 |
what is the most assists when the goals is less than 0? | CREATE TABLE "statistics" (
"season" text,
"club" text,
"country" text,
"apps" real,
"goals" real,
"assists" real
); | SELECT MAX("assists") FROM "statistics" WHERE "goals"<0; | 2-16524964-1 |
What is Score in The Final, when Date is "1981"? | CREATE TABLE "singles_finals_5_0_5" (
"outcome" text,
"date" real,
"championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "score_in_the_final" FROM "singles_finals_5_0_5" WHERE "date"=1981; | 2-17262467-1 |
What is Opponent in The Final, when Date is "1976"? | CREATE TABLE "singles_finals_5_0_5" (
"outcome" text,
"date" real,
"championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "opponent_in_the_final" FROM "singles_finals_5_0_5" WHERE "date"=1976; | 2-17262467-1 |
What is Location Attendance, when Date is "December 30"? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "date"='december 30'; | 2-17340355-6 |
What is Date, when High Rebounds is "Amar'e Stoudemire (13)"? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "high_rebounds"='amar''e stoudemire (13)'; | 2-17340355-6 |
What is Score, when Location Attendance is "US Airways Center 18,422", and when Game is less than 22? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "location_attendance"='us airways center 18,422' AND "game"<22; | 2-17340355-6 |
What is Score, when Game is "19"? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "game"=19; | 2-17340355-6 |
What is Location Attendance, when Team is "Orlando"? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "team"='orlando'; | 2-17340355-6 |
What is Record, when Date is "December 30"? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "date"='december 30'; | 2-17340355-6 |
Name the Theaters that has a Rank larger than 7? | CREATE TABLE "box_office_charts" (
"date" text,
"rank" real,
"weekend_gross" text,
"theaters" real,
"gross_to_date" text
); | SELECT MAX("theaters") FROM "box_office_charts" WHERE "rank">7; | 2-1625624-1 |
Name the Gross-to-date which has a Date of august 23–25? | CREATE TABLE "box_office_charts" (
"date" text,
"rank" real,
"weekend_gross" text,
"theaters" real,
"gross_to_date" text
); | SELECT "gross_to_date" FROM "box_office_charts" WHERE "date"='august 23–25'; | 2-1625624-1 |
Name the Round which has a Position of defensive back and a Pick of 226? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT MIN("round") FROM "nfl_draft" WHERE "position"='defensive back' AND "pick"=226; | 2-16433861-1 |
Name the Round which has a Player of zack walz? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "round" FROM "nfl_draft" WHERE "player"='zack walz'; | 2-16433861-1 |
Name the Round which has a Position of defensive back and corey chavous? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT MIN("round") FROM "nfl_draft" WHERE "position"='defensive back' AND "player"='corey chavous'; | 2-16433861-1 |
Name all Pick that has a Round of 7, and a School/Club Team of arizona st.? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT COUNT("pick") FROM "nfl_draft" WHERE "round"=7 AND "school_club_team"='arizona st.'; | 2-16433861-1 |
Which Year has a Regular Season of 7th? | CREATE TABLE "year_by_year" (
"the_year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text
); | SELECT MAX("the_year") FROM "year_by_year" WHERE "regular_season"='7th'; | 2-16799803-1 |
Which Year has a Division larger than 3? | CREATE TABLE "year_by_year" (
"the_year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text
); | SELECT MAX("the_year") FROM "year_by_year" WHERE "division">3; | 2-16799803-1 |
Which Year did not qualify for Playoffs, and had a Division smaller than 3? | CREATE TABLE "year_by_year" (
"the_year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text
); | SELECT SUM("the_year") FROM "year_by_year" WHERE "playoffs"='did not qualify' AND "division"<3; | 2-16799803-1 |
Which league did not qualify for the Playoffs, and had a Year larger than 2008? | CREATE TABLE "year_by_year" (
"the_year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text
); | SELECT "league" FROM "year_by_year" WHERE "playoffs"='did not qualify' AND "the_year">2008; | 2-16799803-1 |
What is Home Team, when Away Team Score is 10.8 (64)? | CREATE TABLE "group_a" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "group_a" WHERE "away_team_score"='10.8 (64)'; | 2-16388398-1 |
What is Lowest Crowd, when Home Team is Brisbane Lions? | CREATE TABLE "group_a" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
); | SELECT MIN("crowd") FROM "group_a" WHERE "home_team"='brisbane lions'; | 2-16388398-1 |
What is Date, when Away Team is Kangaroos? | CREATE TABLE "group_a" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "group_a" WHERE "away_team"='kangaroos'; | 2-16388398-1 |
What is Ground, when Home Team Score is 12.14 (86)? | CREATE TABLE "group_a" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
); | SELECT "ground" FROM "group_a" WHERE "home_team_score"='12.14 (86)'; | 2-16388398-1 |
What is Away Team, when Home Team is Kangaroos, and when Away Team Score is 9.11 (65)? | CREATE TABLE "group_a" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "group_a" WHERE "home_team"='kangaroos' AND "away_team_score"='9.11 (65)'; | 2-16388398-1 |
What is the smallest round with a time of 1:12? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "time"='1:12'; | 2-16515624-2 |
How long was the time for the Legacy Fighting Championship 12? | 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 "event"='legacy fighting championship 12'; | 2-16515624-2 |
WHAT COUNTRY HAS A TO PAR OF +1, WITH WOODY AUSTIN? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "to_par"='+1' AND "player"='woody austin'; | 2-17162199-5 |
WHAT IS THE TO PAR FOR ERNIE ELS? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "third_round" WHERE "player"='ernie els'; | 2-17162199-5 |
WHAT PLACE DOES TOM LEHMAN HAVE? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "player"='tom lehman'; | 2-17162199-5 |
WHAT IS THE TO PAR FOR NUMBER 1? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "third_round" WHERE "place"='1'; | 2-17162199-5 |
WHAT IS TEH PLAYER WITH A TO PAR OF +1 FOR SCOTLAND? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "third_round" WHERE "to_par"='+1' AND "country"='scotland'; | 2-17162199-5 |
Who won the Paris-Roubaix in 2006? | CREATE TABLE "see_also" (
"year" real,
"e3_harelbeke_bel" text,
"gent_wevelgem_bel" text,
"tour_of_flanders_bel" text,
"paris_roubaix_fra" text
); | SELECT "paris_roubaix_fra" FROM "see_also" WHERE "year"=2006; | 2-17542964-1 |
Who built the conant creek pegram truss railroad bridge? | CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "built" FROM "references" WHERE "name"='conant creek pegram truss railroad bridge'; | 2-17239214-1 |
Where is the historic place that was built in 1910? | CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "location" FROM "references" WHERE "built"='1910'; | 2-17239214-1 |
What is the list date of the historic place that was built 1896, 1914? | CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "listed" FROM "references" WHERE "built"='1896, 1914'; | 2-17239214-1 |
When was the historic place listed that's in canyon county? | CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "listed" FROM "references" WHERE "county"='canyon'; | 2-17239214-1 |
what is the averaging time when the regulatory citation is 40 cfr 50.4(b)? | CREATE TABLE "standards" (
"pollutant" text,
"type" text,
"standard" text,
"averaging_time" text,
"regulatory_citation" text
); | SELECT "averaging_time" FROM "standards" WHERE "regulatory_citation"='40 cfr 50.4(b)'; | 2-1621705-1 |
what is the regulatory citation when the standard is 15 μg/m³? | CREATE TABLE "standards" (
"pollutant" text,
"type" text,
"standard" text,
"averaging_time" text,
"regulatory_citation" text
); | SELECT "regulatory_citation" FROM "standards" WHERE "standard"='15 μg/m³'; | 2-1621705-1 |
what is the standard when the pollutant is o 3 and averaging time is 8-hour? | CREATE TABLE "standards" (
"pollutant" text,
"type" text,
"standard" text,
"averaging_time" text,
"regulatory_citation" text
); | SELECT "standard" FROM "standards" WHERE "pollutant"='o 3' AND "averaging_time"='8-hour'; | 2-1621705-1 |
what is the polluntant when the regulatory citation is 40 cfr 50.7(a) and the type is primary? | CREATE TABLE "standards" (
"pollutant" text,
"type" text,
"standard" text,
"averaging_time" text,
"regulatory_citation" text
); | SELECT "pollutant" FROM "standards" WHERE "regulatory_citation"='40 cfr 50.7(a)' AND "type"='primary'; | 2-1621705-1 |
what is the type when the averaging time is 1-hour and the standard is 0.12 ppm (235 μg/m³)? | CREATE TABLE "standards" (
"pollutant" text,
"type" text,
"standard" text,
"averaging_time" text,
"regulatory_citation" text
); | SELECT "type" FROM "standards" WHERE "averaging_time"='1-hour' AND "standard"='0.12 ppm (235 μg/m³)'; | 2-1621705-1 |
what is the type when the regulatory citation is 40 cfr 50.9(a)? | CREATE TABLE "standards" (
"pollutant" text,
"type" text,
"standard" text,
"averaging_time" text,
"regulatory_citation" text
); | SELECT "type" FROM "standards" WHERE "regulatory_citation"='40 cfr 50.9(a)'; | 2-1621705-1 |
What is the highest League, when Title Playoff is greater than 0? | CREATE TABLE "per_competition" (
"player" text,
"league" real,
"title_playoff" real,
"super_cup" real,
"total" real
); | SELECT MAX("league") FROM "per_competition" WHERE "title_playoff">0; | 2-17200019-10 |
What is the lowest Title Playoff, when Total is less than 3, and when League is greater than "2"? | CREATE TABLE "per_competition" (
"player" text,
"league" real,
"title_playoff" real,
"super_cup" real,
"total" real
); | SELECT MIN("title_playoff") FROM "per_competition" WHERE "total"<3 AND "league">2; | 2-17200019-10 |
What is the lowest Title Playoff, when League is greater than 3, and when Super Cup is less than 0? | CREATE TABLE "per_competition" (
"player" text,
"league" real,
"title_playoff" real,
"super_cup" real,
"total" real
); | SELECT MIN("title_playoff") FROM "per_competition" WHERE "league">3 AND "super_cup"<0; | 2-17200019-10 |
What is the total number of Super Cup, when Title Playoff is "0", when Total is greater than 9, and when League is less than 11? | CREATE TABLE "per_competition" (
"player" text,
"league" real,
"title_playoff" real,
"super_cup" real,
"total" real
); | SELECT COUNT("super_cup") FROM "per_competition" WHERE "title_playoff"=0 AND "total">9 AND "league"<11; | 2-17200019-10 |
What was the score when the jazz played against toronto? | 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 "score" FROM "game_log" WHERE "team"='toronto'; | 2-17355716-6 |
What is the date of the game against miami? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "team"='miami'; | 2-17355716-6 |
Who was the Opponent in Week 7? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "week"=7; | 2-16713182-1 |
What was the Attendance on November 7, 1999? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "date"='november 7, 1999'; | 2-16713182-1 |
Who was the Opponent of the Game with a Result of l 23-41? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "result"='l 23-41'; | 2-16713182-1 |
What was the Attendance in Week 1? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "week"=1; | 2-16713182-1 |
How much average Finish has Starts of 9, and a Top 10 smaller than 0? | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" real,
"avg_finish" real,
"winnings" text,
"position" text
); | SELECT SUM("avg_finish") FROM "nascar_sprint_cup_series" WHERE "starts"=9 AND "top_10"<0; | 2-1708014-1 |
Which Winnings have Starts larger than 34, and Poles smaller than 1, and a Top 10 of 5? | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" real,
"avg_finish" real,
"winnings" text,
"position" text
); | SELECT "winnings" FROM "nascar_sprint_cup_series" WHERE "starts">34 AND "poles"<1 AND "top_10"=5; | 2-1708014-1 |
Which Diameter (km) has a Name of alma-merghen planitia, and a Year named smaller than 1997? | CREATE TABLE "planitia" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" real,
"year_named" real
); | SELECT MAX("diameter_km") FROM "planitia" WHERE "name"='alma-merghen planitia' AND "year_named"<1997; | 2-16799784-7 |
Which Longitude has a Latitude of 73.0s, and a Name of aibarchin planitia? | CREATE TABLE "planitia" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" real,
"year_named" real
); | SELECT "longitude" FROM "planitia" WHERE "latitude"='73.0s' AND "name"='aibarchin planitia'; | 2-16799784-7 |
Which Year named has a Name of nuptadi planitia, and a Diameter (km) larger than 1,200.0? | CREATE TABLE "planitia" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" real,
"year_named" real
); | SELECT MIN("year_named") FROM "planitia" WHERE "name"='nuptadi planitia' AND "diameter_km">'1,200.0'; | 2-16799784-7 |
Which Latitude has a Year named smaller than 1997, and a Name of aino planitia? | CREATE TABLE "planitia" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" real,
"year_named" real
); | SELECT "latitude" FROM "planitia" WHERE "year_named"<1997 AND "name"='aino planitia'; | 2-16799784-7 |
In what tournament did Cipolla face Sergio Roitman? | CREATE TABLE "singles_7" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "tournament" FROM "singles_7" WHERE "opponent"='sergio roitman'; | 2-16474033-9 |
What is the Rating/Share (18-49) that also has a Share greater than 10 and 12.42 million Viewers? | CREATE TABLE "us_nielsen_ratings" (
"rating" real,
"share" real,
"rating_share_18_49" text,
"viewers_millions" real,
"rank_overall" text
); | SELECT "rating_share_18_49" FROM "us_nielsen_ratings" WHERE "share">10 AND "viewers_millions"=12.42; | 2-17138681-2 |
Which Week has a Record of 2-9? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"attendance" real
); | SELECT MIN("week") FROM "schedule" WHERE "record"='2-9'; | 2-17131202-1 |
Which Week has an Attendance smaller than 70,056, and an Opponent of at minnesota vikings? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "attendance"<'70,056' AND "opponent"='at minnesota vikings'; | 2-17131202-1 |
What is the 1993 finish for the event that had a 1990 of QF and 1995 of 2R? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"career_sr" text,
"career_win_loss" text
); | SELECT "1993" FROM "doubles_performance_timeline" WHERE "1990"='qf' AND "1995"='2r'; | 2-1723582-11 |
What is the 1994 finish for the Miami tournament? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"career_sr" text,
"career_win_loss" text
); | SELECT "1994" FROM "doubles_performance_timeline" WHERE "tournament"='miami'; | 2-1723582-11 |
What is the to par score from Brad Faxon of the United States with a score of 73-68=141? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "country"='united states' AND "score"='73-68=141' AND "player"='brad faxon'; | 2-17162166-5 |
What's the to par score in T8 place from Zimbabwe and has a score of 73-68=141? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "place"='t8' AND "score"='73-68=141' AND "country"='zimbabwe'; | 2-17162166-5 |
What's the score of Lee Janzen in T4 place? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "place"='t4' AND "player"='lee janzen'; | 2-17162166-5 |
What's the score of Jeff Maggert in T2 place? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "place"='t2' AND "player"='jeff maggert'; | 2-17162166-5 |
What's the to par when the score was 68-73=141? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "score"='68-73=141'; | 2-17162166-5 |
What's the total number of game that has 377 points? | CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT SUM("games") FROM "points" WHERE "points"=377; | 2-17273336-11 |
What's the total number of points that the rank is less than 5 and has Tiago Splitter? | CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT COUNT("points") FROM "points" WHERE "name"='tiago splitter' AND "rank"<5; | 2-17273336-11 |
What is the total number of games that has Juan Carlos Navarro and more than 266 points? | CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT SUM("games") FROM "points" WHERE "points">266 AND "name"='juan carlos navarro'; | 2-17273336-11 |
What's the rank of Igor Rakočević of Tau Cerámica with more than 377 points? | CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT SUM("rank") FROM "points" WHERE "team"='tau cerámica' AND "name"='igor rakočević' AND "points">377; | 2-17273336-11 |
What's the rank of the Tau Cerámica that has 377 points and more than 21 games? | CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT COUNT("rank") FROM "points" WHERE "team"='tau cerámica' AND "points"=377 AND "games">21; | 2-17273336-11 |
What are the dates of squadron 33? | CREATE TABLE "aircraft" (
"aircraft" text,
"origin" text,
"squadron" text,
"display_aircraft" real,
"dates" text
); | SELECT "dates" FROM "aircraft" WHERE "squadron"='squadron 33'; | 2-16965464-1 |
What institution won 2nd more recently than 2007 with Peter Agre as Chief Judge? | CREATE TABLE "list_of_a_star_talent_search_winners" (
"year" real,
"award" text,
"name" text,
"institution" text,
"chief_judge" text
); | SELECT "institution" FROM "list_of_a_star_talent_search_winners" WHERE "year">2007 AND "award"='2nd' AND "chief_judge"='peter agre'; | 2-17524713-1 |
What student won 3rd with Peter Agre as Chief Judge? | CREATE TABLE "list_of_a_star_talent_search_winners" (
"year" real,
"award" text,
"name" text,
"institution" text,
"chief_judge" text
); | SELECT "name" FROM "list_of_a_star_talent_search_winners" WHERE "chief_judge"='peter agre' AND "award"='3rd'; | 2-17524713-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.