question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Name the score for when the opponent in the final is shiho hisamatsu | CREATE TABLE "singles_titles_5" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "score" FROM "singles_titles_5" WHERE "opponent_in_the_final"='shiho hisamatsu'; | 2-11695454-2 |
Name the tournament for april 3, 2005 | CREATE TABLE "singles_titles_5" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "tournament" FROM "singles_titles_5" WHERE "date"='april 3, 2005'; | 2-11695454-2 |
Name th score for may 11, 2003 | CREATE TABLE "singles_titles_5" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "score" FROM "singles_titles_5" WHERE "date"='may 11, 2003'; | 2-11695454-2 |
Who constructed pedro diniz's car? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "race" WHERE "driver"='pedro diniz'; | 2-1123357-2 |
What is the grid total for david coulthard with over 45 laps? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("grid") FROM "race" WHERE "driver"='david coulthard' AND "laps">45; | 2-1123357-2 |
What is the average for the gymnast with a 9.9 start value and a total of 9.612? | CREATE TABLE "final" (
"gymnast" text,
"start_value" real,
"penalty" text,
"average" real,
"total" real
); | SELECT AVG("average") FROM "final" WHERE "start_value"=9.9 AND "total"=9.612; | 2-11506128-1 |
What was the penalty for the gymnast with average above 9.662 and total is more than 9.706? | CREATE TABLE "final" (
"gymnast" text,
"start_value" real,
"penalty" text,
"average" real,
"total" real
); | SELECT "penalty" FROM "final" WHERE "average">9.662 AND "total">9.706; | 2-11506128-1 |
What category was Kasautii Zindagii Kay nominated for after 2005? | CREATE TABLE "indian_telly_awards" (
"year" real,
"category" text,
"character" text,
"for_the_show" text,
"result" text
); | SELECT "category" FROM "indian_telly_awards" WHERE "year">2005 AND "for_the_show"='kasautii zindagii kay'; | 2-11097204-6 |
What show had a nomination for best actor in a lead role – female (popular) in 2006? | CREATE TABLE "indian_telly_awards" (
"year" real,
"category" text,
"character" text,
"for_the_show" text,
"result" text
); | SELECT "for_the_show" FROM "indian_telly_awards" WHERE "category"='best actor in a lead role – female (popular)' AND "year"=2006; | 2-11097204-6 |
In what week was the Result L 15-13? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT AVG("week") FROM "schedule" WHERE "result"='l 15-13'; | 2-11159588-2 |
What is the Attendance with Opponent Dallas Cowboys in a Week greater than 5? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT SUM("attendance") FROM "schedule" WHERE "opponent"='dallas cowboys' AND "week">5; | 2-11159588-2 |
How many points for maserati v12 engines in 1968? | CREATE TABLE "complete_world_championship_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT COUNT("points") FROM "complete_world_championship_results" WHERE "engine"='maserati v12' AND "year"=1968; | 2-1152185-1 |
What entrant had less than 3 points before 1963? | CREATE TABLE "complete_world_championship_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "entrant" FROM "complete_world_championship_results" WHERE "year"<1963 AND "points"<3; | 2-1152185-1 |
Who had the pole at the French Grand Prix? | CREATE TABLE "grands_prix" (
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
); | SELECT "pole_position" FROM "grands_prix" WHERE "grand_prix"='french grand prix'; | 2-1132588-3 |
Who constructed the car that won the Canadian Grand Prix? | CREATE TABLE "grands_prix" (
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
); | SELECT "constructor" FROM "grands_prix" WHERE "grand_prix"='canadian grand prix'; | 2-1132588-3 |
When Michael Schumacher won the race, who had the fastest lap? | CREATE TABLE "grands_prix" (
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
); | SELECT "fastest_lap" FROM "grands_prix" WHERE "winning_driver"='michael schumacher'; | 2-1132588-3 |
For the Player playing for the College of Kentucky and a Height of 6-7 what was their corresponding School? | CREATE TABLE "2010_boys_team" (
"player" text,
"height" text,
"school" text,
"hometown" text,
"college" text,
"nba_draft" text
); | SELECT "school" FROM "2010_boys_team" WHERE "college"='kentucky' AND "height"='6-7'; | 2-11677760-27 |
What School did Terrence Jones play for? | CREATE TABLE "2010_boys_team" (
"player" text,
"height" text,
"school" text,
"hometown" text,
"college" text,
"nba_draft" text
); | SELECT "school" FROM "2010_boys_team" WHERE "player"='terrence jones'; | 2-11677760-27 |
What Player(s) have a Height of 6-3? | CREATE TABLE "2010_boys_team" (
"player" text,
"height" text,
"school" text,
"hometown" text,
"college" text,
"nba_draft" text
); | SELECT "player" FROM "2010_boys_team" WHERE "height"='6-3'; | 2-11677760-27 |
For the player with a Height of 6-9 and College of Kentucky what was their NBA Draft? | CREATE TABLE "2010_boys_team" (
"player" text,
"height" text,
"school" text,
"hometown" text,
"college" text,
"nba_draft" text
); | SELECT "nba_draft" FROM "2010_boys_team" WHERE "height"='6-9' AND "college"='kentucky'; | 2-11677760-27 |
What was the score on February 9? | 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 "date"='february 9'; | 2-11960610-9 |
What is the average point total for arrows racing team before 1983? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT AVG("points") FROM "complete_formula_one_results" WHERE "team"='arrows racing team' AND "year"<1983; | 2-1114709-2 |
What team has jordan 193 chassis after 1990? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "team" FROM "complete_formula_one_results" WHERE "year">1990 AND "chassis"='jordan 193'; | 2-1114709-2 |
How many points for the cosworth v8 engine after 1985? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "points" FROM "complete_formula_one_results" WHERE "year">1985 AND "engine"='cosworth v8'; | 2-1114709-2 |
What is the constructor for the driver with grid less than 2? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "race" WHERE "grid"<2; | 2-1123425-2 |
What Position did Aaron Williams play? | CREATE TABLE "w" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "position" FROM "w" WHERE "player"='aaron williams'; | 2-11545282-21 |
At Position of guard, from the School/Club Team Notre Dame, how many Years for Jazz did that person play? | CREATE TABLE "w" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "years_for_jazz" FROM "w" WHERE "position"='guard' AND "school_club_team"='notre dame'; | 2-11545282-21 |
Which School/Club Team did Andre Wakefield play for? | CREATE TABLE "w" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "w" WHERE "player"='andre wakefield'; | 2-11545282-21 |
What is the Nationality of the player who had Position of guard from School/Club Team Notre Dame? | CREATE TABLE "w" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "nationality" FROM "w" WHERE "position"='guard' AND "school_club_team"='notre dame'; | 2-11545282-21 |
What School/Club Team is Player Howard Wood from? | CREATE TABLE "w" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "w" WHERE "player"='howard wood'; | 2-11545282-21 |
What School/Club Team is Player Aaron Williams from? | CREATE TABLE "w" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "w" WHERE "player"='aaron williams'; | 2-11545282-21 |
What is the street address of the building with 5 floors? | CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_ft_m" text,
"floors" text
); | SELECT "street_address" FROM "timeline_of_tallest_buildings" WHERE "floors"='5'; | 2-11980267-2 |
What is the street address of the building with 40 floors? | CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_ft_m" text,
"floors" text
); | SELECT "street_address" FROM "timeline_of_tallest_buildings" WHERE "floors"='40'; | 2-11980267-2 |
What were the years the building with 44 floors was tallest? | CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_ft_m" text,
"floors" text
); | SELECT "years_as_tallest" FROM "timeline_of_tallest_buildings" WHERE "floors"='44'; | 2-11980267-2 |
What is the street address of Oliver Building? | CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_ft_m" text,
"floors" text
); | SELECT "street_address" FROM "timeline_of_tallest_buildings" WHERE "name"='oliver building'; | 2-11980267-2 |
Can you tell me the Winning party of 2003 that has the Constituency of aberdeen north? | CREATE TABLE "labour_targets" (
"rank" real,
"constituency" text,
"winning_party_2003" text,
"swing_to_gain" real,
"labour_s_place_2003" text,
"result" text
); | SELECT "winning_party_2003" FROM "labour_targets" WHERE "constituency"='aberdeen north'; | 2-11105214-1 |
Can you tell me the lowest Rank that has the Constituency of strathkelvin and bearsden? | CREATE TABLE "labour_targets" (
"rank" real,
"constituency" text,
"winning_party_2003" text,
"swing_to_gain" real,
"labour_s_place_2003" text,
"result" text
); | SELECT MIN("rank") FROM "labour_targets" WHERE "constituency"='strathkelvin and bearsden'; | 2-11105214-1 |
Can you tell me the sum of Swing to gain that has Constituency of caithness, sutherland and easter ross? | CREATE TABLE "labour_targets" (
"rank" real,
"constituency" text,
"winning_party_2003" text,
"swing_to_gain" real,
"labour_s_place_2003" text,
"result" text
); | SELECT SUM("swing_to_gain") FROM "labour_targets" WHERE "constituency"='caithness, sutherland and easter ross'; | 2-11105214-1 |
Can you tell me Labour's place 2003 that has the Result of con hold, and the Constituency of ayr? | CREATE TABLE "labour_targets" (
"rank" real,
"constituency" text,
"winning_party_2003" text,
"swing_to_gain" real,
"labour_s_place_2003" text,
"result" text
); | SELECT "labour_s_place_2003" FROM "labour_targets" WHERE "result"='con hold' AND "constituency"='ayr'; | 2-11105214-1 |
What's the Time/Retired of Laps of 75? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "race" WHERE "laps"=75; | 2-1122485-2 |
Which Driver has Laps larger than 78, and a Time/Retired of + 1:09.4? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "race" WHERE "laps">78 AND "time_retired"='+ 1:09.4'; | 2-1122485-2 |
Hows many Laps are in a Grid of 4? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("laps") FROM "race" WHERE "grid"=4; | 2-1122485-2 |
On what date did the away team score 13.13 (91) in front of a crowd larger than 15,601? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_20" WHERE "crowd">'15,601' AND "away_team_score"='13.13 (91)'; | 2-10883333-20 |
What is the score of the away team where the home team scored 13.20 (98)? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_20" WHERE "home_team_score"='13.20 (98)'; | 2-10883333-20 |
How much did the away team score that played St Kilda? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_20" WHERE "home_team"='st kilda'; | 2-10883333-20 |
What venue did the away team Collingwood play at? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_20" WHERE "away_team"='collingwood'; | 2-10883333-20 |
What is the score of the away team that played at Kardinia Park? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_20" WHERE "venue"='kardinia park'; | 2-10883333-20 |
What is the name of the away team that played at Kardinia Park? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_20" WHERE "venue"='kardinia park'; | 2-10883333-20 |
What is the attendance in the bye week after week 5? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "week">5 AND "opponent"='bye'; | 2-11171288-1 |
What location had 1:59:12 in time? | CREATE TABLE "women_s_winners" (
"year" real,
"athlete" text,
"nation" text,
"time" text,
"location" text
); | SELECT "location" FROM "women_s_winners" WHERE "time"='1:59:12'; | 2-12014430-2 |
What is the score for the away team of north melbourne? | CREATE TABLE "round_14" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_14" WHERE "away_team"='north melbourne'; | 2-10885968-14 |
If the away team scored 8.7 (55), what venue did the play at? | CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_19" WHERE "away_team_score"='8.7 (55)'; | 2-10883333-19 |
When the home team scored 25.23 (173), what date did they play/ | CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_19" WHERE "home_team_score"='25.23 (173)'; | 2-10883333-19 |
Which home team scored 25.23 (173)? | CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_19" WHERE "home_team_score"='25.23 (173)'; | 2-10883333-19 |
When the away team scored 7.9 (51), what was the smallest crowd that turned out? | CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT MIN("crowd") FROM "round_19" WHERE "away_team_score"='7.9 (51)'; | 2-10883333-19 |
Which home team plays at victoria park? | CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_19" WHERE "venue"='victoria park'; | 2-10883333-19 |
what is the competition for the event team all-round in the year before 1913? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "competition" FROM "achievements" WHERE "event"='team all-round' AND "year"<1913; | 2-11138928-1 |
what is the event for the year less than 1913 with the position of 2nd? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "event" FROM "achievements" WHERE "year"<1913 AND "position"='2nd'; | 2-11138928-1 |
what is the competition in paris for the parallel bars with a position of 1st? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "competition" FROM "achievements" WHERE "venue"='paris' AND "position"='1st' AND "event"='parallel bars'; | 2-11138928-1 |
what is the competition in a year after 1911 with the position of 1st for the rings? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "competition" FROM "achievements" WHERE "year">1911 AND "position"='1st' AND "event"='rings'; | 2-11138928-1 |
what is the year that the position was 1st in paris? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "year" FROM "achievements" WHERE "position"='1st' AND "venue"='paris'; | 2-11138928-1 |
Which team plays their home matches at the mcg Venue? | CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_19" WHERE "venue"='mcg'; | 2-10809529-19 |
What host has an original air date of june 11, 2007? | CREATE TABLE "season_1" (
"production_no" text,
"episode_no" real,
"original_airdate" text,
"episode_title" text,
"host" text
); | SELECT "host" FROM "season_1" WHERE "original_airdate"='june 11, 2007'; | 2-10926568-1 |
Where is the location of a team with a 3-2 record? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"location" text
); | SELECT "location" FROM "mixed_martial_arts_record" WHERE "record"='3-2'; | 2-11014275-4 |
What is the result of the team with the 4-2 record? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"location" text
); | SELECT "res" FROM "mixed_martial_arts_record" WHERE "record"='4-2'; | 2-11014275-4 |
What day was played in SCG with the attendance more than 24,824? | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_10" WHERE "crowd">'24,824' AND "venue"='scg'; | 2-10823719-10 |
What was St Kilda's away team score? | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_10" WHERE "home_team"='st kilda'; | 2-10823719-10 |
What was the attendance at Moorabbin Oval? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT AVG("crowd") FROM "round_4" WHERE "venue"='moorabbin oval'; | 2-10826072-4 |
Who was Melbourne's away team opponent? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_4" WHERE "home_team"='melbourne'; | 2-10826072-4 |
What was the attendance at the Footscray away game? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "crowd" FROM "round_4" WHERE "away_team"='footscray'; | 2-10826072-4 |
Tell me the competition that happened on 14 june 2008 | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "date"='14 june 2008'; | 2-1123413-1 |
Tell me the score for Venue of tanteen recreation ground, st. george's | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "venue"='tanteen recreation ground, st. george''s'; | 2-1123413-1 |
How many weeks are associated with Season 3 – spring 2008? | CREATE TABLE "seasons" (
"season" text,
"num_of_stars" real,
"num_of_weeks" real,
"season_premiere_date" text,
"season_finale_date" text,
"winner" text,
"runner_up" text,
"third_place" text
); | SELECT COUNT("num_of_weeks") FROM "seasons" WHERE "season"='3 – spring 2008'; | 2-11680517-4 |
Who won when robert kudelski finished with under 13 weeks? | CREATE TABLE "seasons" (
"season" text,
"num_of_stars" real,
"num_of_weeks" real,
"season_premiere_date" text,
"season_finale_date" text,
"winner" text,
"runner_up" text,
"third_place" text
); | SELECT "winner" FROM "seasons" WHERE "num_of_weeks"<13 AND "third_place"='robert kudelski'; | 2-11680517-4 |
What is the average attendance when Brewers are the opponent with a score of 6–3? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT AVG("attendance") FROM "game_log" WHERE "opponent"='brewers' AND "score"='6–3'; | 2-11513998-4 |
What loss occurred on June 10? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "date"='june 10'; | 2-11513998-4 |
Who is the opponent with a score of 5–4? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "score"='5–4'; | 2-11513998-4 |
What is the week for Result of w 28-17? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "week" FROM "schedule" WHERE "result"='w 28-17'; | 2-11172791-1 |
What is the avarage Attendance for the Date of october 26, 1947? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT AVG("attendance") FROM "schedule" WHERE "date"='october 26, 1947'; | 2-11172791-1 |
Can you tell me the Years that has the Name of arapohue school? | CREATE TABLE "kaipara" (
"name" text,
"years" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT "years" FROM "kaipara" WHERE "name"='arapohue school'; | 2-12016691-3 |
Can you tell me the lowest Decile that has the Area of matakohe, and the Roll larger than 86? | CREATE TABLE "kaipara" (
"name" text,
"years" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT MIN("decile") FROM "kaipara" WHERE "area"='matakohe' AND "roll">86; | 2-12016691-3 |
Can you tell me the total number of Roll that has the Area of aranga? | CREATE TABLE "kaipara" (
"name" text,
"years" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT COUNT("roll") FROM "kaipara" WHERE "area"='aranga'; | 2-12016691-3 |
Can you tell me the Name that has the Roll larger than 419? | CREATE TABLE "kaipara" (
"name" text,
"years" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT "name" FROM "kaipara" WHERE "roll">419; | 2-12016691-3 |
Which total number of Week has an Opponent of at new orleans saints, and an Attendance larger than 53,448? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "opponent"='at new orleans saints' AND "attendance">'53,448'; | 2-11157290-2 |
Which Attendance has a Result of w 51-21? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "attendance" FROM "schedule" WHERE "result"='w 51-21'; | 2-11157290-2 |
Who was the Away team at Arden Street Oval? | CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_8" WHERE "venue"='arden street oval'; | 2-10807990-8 |
What is the smallest crowd size for a game when the away team scored 17.16 (118)? | CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT MIN("crowd") FROM "round_8" WHERE "away_team_score"='17.16 (118)'; | 2-10807990-8 |
What is the average top-25 value for majors that have more than 0 wins? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("top_25") FROM "summary" WHERE "wins">0; | 2-1175904-4 |
What is the most number of cuts made that had more than 7 events played and more than 2 top-25s? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MAX("cuts_made") FROM "summary" WHERE "events"=7 AND "top_25">2; | 2-1175904-4 |
For top-25 values under 2, what is the average number of cuts made? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("cuts_made") FROM "summary" WHERE "top_25"<2; | 2-1175904-4 |
With a dail of 24th and more than 57 seats, what is the election? | CREATE TABLE "general_election_results" (
"election" text,
"d_il" text,
"share_of_votes" text,
"seats" real,
"total_seats" real
); | SELECT "election" FROM "general_election_results" WHERE "seats">57 AND "d_il"='24th'; | 2-11536-1 |
with shares of 45.3% and total seats less than 166. what is the greatest number of seat? | CREATE TABLE "general_election_results" (
"election" text,
"d_il" text,
"share_of_votes" text,
"seats" real,
"total_seats" real
); | SELECT MAX("seats") FROM "general_election_results" WHERE "share_of_votes"='45.3%' AND "total_seats"<166; | 2-11536-1 |
with a share of 44.2% and 77 seats, what is the greatest seat total? | CREATE TABLE "general_election_results" (
"election" text,
"d_il" text,
"share_of_votes" text,
"seats" real,
"total_seats" real
); | SELECT MAX("total_seats") FROM "general_election_results" WHERE "seats"=77 AND "share_of_votes"='44.2%'; | 2-11536-1 |
What is the long in 1994? | CREATE TABLE "regular_season" (
"year" text,
"team" text,
"comp" text,
"long" text,
"rate" text,
"r_att" text,
"r_yds" text,
"r_avg" text
); | SELECT "long" FROM "regular_season" WHERE "year"='1994'; | 2-11983460-1 |
Which team has a long of 67? | CREATE TABLE "regular_season" (
"year" text,
"team" text,
"comp" text,
"long" text,
"rate" text,
"r_att" text,
"r_yds" text,
"r_avg" text
); | SELECT "team" FROM "regular_season" WHERE "long"='67'; | 2-11983460-1 |
What is the RAvg of the year with Ratt of 9? | CREATE TABLE "regular_season" (
"year" text,
"team" text,
"comp" text,
"long" text,
"rate" text,
"r_att" text,
"r_yds" text,
"r_avg" text
); | SELECT "r_avg" FROM "regular_season" WHERE "r_att"='9'; | 2-11983460-1 |
What is the Ratt of the year with a 78 long? | CREATE TABLE "regular_season" (
"year" text,
"team" text,
"comp" text,
"long" text,
"rate" text,
"r_att" text,
"r_yds" text,
"r_avg" text
); | SELECT "r_att" FROM "regular_season" WHERE "long"='78'; | 2-11983460-1 |
Which team has a Ravg of 1.3? | CREATE TABLE "regular_season" (
"year" text,
"team" text,
"comp" text,
"long" text,
"rate" text,
"r_att" text,
"r_yds" text,
"r_avg" text
); | SELECT "team" FROM "regular_season" WHERE "r_avg"='1.3'; | 2-11983460-1 |
What is the rate of 17 years? | CREATE TABLE "regular_season" (
"year" text,
"team" text,
"comp" text,
"long" text,
"rate" text,
"r_att" text,
"r_yds" text,
"r_avg" text
); | SELECT "rate" FROM "regular_season" WHERE "year"='17 years'; | 2-11983460-1 |
Name the samurai for stampede of t. mask | CREATE TABLE "2005" (
"block_a" text,
"goto" text,
"jado" text,
"kakihara" text,
"kanemoto" text,
"minoru" text,
"samurai" text,
"stampede" text
); | SELECT "samurai" FROM "2005" WHERE "stampede"='t. mask'; | 2-10979732-25 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.