question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What race did Meo Constantini win at the circuit of monza ? | CREATE TABLE "other_grands_prix" (
"name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "name" FROM "other_grands_prix" WHERE "winning_driver"='meo constantini' AND "circuit"='monza'; | 2-12615783-2 |
On what date did Aymo Maggi win the Rome Grand Prix ? | CREATE TABLE "other_grands_prix" (
"name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "date" FROM "other_grands_prix" WHERE "winning_driver"='aymo maggi' AND "name"='rome grand prix'; | 2-12615783-2 |
Name the season outcome for smyrna | CREATE TABLE "2011_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
); | SELECT "season_outcome" FROM "2011_regular_season_football_standings" WHERE "school"='smyrna'; | 2-13054553-17 |
Name the school for eagles | CREATE TABLE "2011_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
); | SELECT "school" FROM "2011_regular_season_football_standings" WHERE "team"='eagles'; | 2-13054553-17 |
Name the school for Season Outcome of loss in first round of div. i playoffs | CREATE TABLE "2011_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
); | SELECT "school" FROM "2011_regular_season_football_standings" WHERE "season_outcome"='loss in first round of div. i playoffs'; | 2-13054553-17 |
Name the division record for riders | CREATE TABLE "2011_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
); | SELECT "division_record" FROM "2011_regular_season_football_standings" WHERE "team"='riders'; | 2-13054553-17 |
Name the team for school of milford | CREATE TABLE "2011_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
); | SELECT "team" FROM "2011_regular_season_football_standings" WHERE "school"='milford'; | 2-13054553-17 |
Name the average points for chassis of stevens and year less than 1950 | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT AVG("points") FROM "complete_formula_one_world_championship_" WHERE "chassis"='stevens' AND "year"<1950; | 2-1235984-3 |
Name the least points for chassis of kurtis kraft 500a | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT MIN("points") FROM "complete_formula_one_world_championship_" WHERE "chassis"='kurtis kraft 500a'; | 2-1235984-3 |
Name the total number of year for chassis of kurtis kraft 4000 and points more than 2 | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT COUNT("year") FROM "complete_formula_one_world_championship_" WHERE "chassis"='kurtis kraft 4000' AND "points">2; | 2-1235984-3 |
Who was the visiting team on weeks under 12 and at Sports Authority Field at Mile High? | CREATE TABLE "2011_season" (
"week" real,
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
); | SELECT "visiting_team" FROM "2011_season" WHERE "week"<12 AND "stadium"='sports authority field at mile high'; | 2-12771946-6 |
Who was the visiting team at Raymond James Stadium? | CREATE TABLE "2011_season" (
"week" real,
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
); | SELECT "visiting_team" FROM "2011_season" WHERE "stadium"='raymond james stadium'; | 2-12771946-6 |
What date had the Houston Texans as visitors? | CREATE TABLE "2011_season" (
"week" real,
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
); | SELECT "date" FROM "2011_season" WHERE "visiting_team"='houston texans'; | 2-12771946-6 |
Name the year with percentage of 9.66% | CREATE TABLE "results_in_minnesota_state_elections" (
"year" real,
"office" text,
"candidate" text,
"popular_votes" real,
"percentage" text
); | SELECT "year" FROM "results_in_minnesota_state_elections" WHERE "percentage"='9.66%'; | 2-1238577-2 |
Name the total number of popular votes for mn attorney general in 1994 | CREATE TABLE "results_in_minnesota_state_elections" (
"year" real,
"office" text,
"candidate" text,
"popular_votes" real,
"percentage" text
); | SELECT COUNT("popular_votes") FROM "results_in_minnesota_state_elections" WHERE "office"='mn attorney general' AND "year"=1994; | 2-1238577-2 |
Name the average popular votes in years after 1990 with percentage of 4.94% | CREATE TABLE "results_in_minnesota_state_elections" (
"year" real,
"office" text,
"candidate" text,
"popular_votes" real,
"percentage" text
); | SELECT AVG("popular_votes") FROM "results_in_minnesota_state_elections" WHERE "percentage"='4.94%' AND "year">1990; | 2-1238577-2 |
Name the least popular votes for year less than 1994 and percentage of 0.96% | CREATE TABLE "results_in_minnesota_state_elections" (
"year" real,
"office" text,
"candidate" text,
"popular_votes" real,
"percentage" text
); | SELECT MIN("popular_votes") FROM "results_in_minnesota_state_elections" WHERE "year"<1994 AND "percentage"='0.96%'; | 2-1238577-2 |
What United States player holds the place of t8?` | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "player" FROM "first_round" WHERE "place"='t8' AND "country"='united states'; | 2-12278571-4 |
What country of argentina has the To par of 68? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "to_par" FROM "first_round" WHERE "score"=68 AND "country"='argentina'; | 2-12278571-4 |
What is the To par and holds the t8 place of the United States player Tiger Woods? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "to_par" FROM "first_round" WHERE "country"='united states' AND "place"='t8' AND "player"='tiger woods'; | 2-12278571-4 |
What country does miguel ángel jiménez player for and has a score of 69? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "country" FROM "first_round" WHERE "score"=69 AND "player"='miguel ángel jiménez'; | 2-12278571-4 |
What is the date of the race at Truro? | CREATE TABLE "racelines" (
"date" text,
"track" text,
"race" text,
"purse" text,
"finish" text,
"time" text,
"last_1_4" real,
"odds" text,
"driver" text,
"trainer" text
); | SELECT "date" FROM "racelines" WHERE "track"='truro'; | 2-13287099-1 |
Which Year has a nominated outstanding actor in a musical? | CREATE TABLE "1998_broadway_revival" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "year" FROM "1998_broadway_revival" WHERE "result"='nominated' AND "category"='outstanding actor in a musical'; | 2-13076596-3 |
Which Award has a nominated, and outstanding choreography? | CREATE TABLE "1998_broadway_revival" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "award" FROM "1998_broadway_revival" WHERE "result"='nominated' AND "category"='outstanding choreography'; | 2-13076596-3 |
Which Award has best performance by a leading actor in a musical | CREATE TABLE "1998_broadway_revival" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "award" FROM "1998_broadway_revival" WHERE "category"='best performance by a leading actor in a musical'; | 2-13076596-3 |
What was the club career for players in positions of DF, fewer than 18 total goals, fewer than 129 league appearances, and more than 7 league goals? | CREATE TABLE "players_with_100_or_more_competitive_app" (
"name" text,
"position" text,
"club_career" text,
"league_apps" real,
"league_goals" real,
"total_apps" real,
"total_goals" real
); | SELECT "club_career" FROM "players_with_100_or_more_competitive_app" WHERE "position"='df' AND "total_goals"<18 AND "league_apps"<129 AND "league_goals">7; | 2-12808119-2 |
What is the fewest total goals scored for players with under 171 league appearances, 151 total appearances, and the DF position? | CREATE TABLE "players_with_100_or_more_competitive_app" (
"name" text,
"position" text,
"club_career" text,
"league_apps" real,
"league_goals" real,
"total_apps" real,
"total_goals" real
); | SELECT MIN("total_goals") FROM "players_with_100_or_more_competitive_app" WHERE "league_apps"<171 AND "total_apps"=151 AND "position"='df'; | 2-12808119-2 |
What is the total number of Years that has the Group, Method Fest Independent Film Festival? | CREATE TABLE "awards_and_nominations" (
"year" real,
"group" text,
"award" text,
"film_show" text,
"result" text
); | SELECT COUNT("year") FROM "awards_and_nominations" WHERE "group"='method fest independent film festival'; | 2-13003923-1 |
What is the average Year that has the Group, Logie Award, the Award, Most Outstanding Actor, and the Result, nominated? | CREATE TABLE "awards_and_nominations" (
"year" real,
"group" text,
"award" text,
"film_show" text,
"result" text
); | SELECT AVG("year") FROM "awards_and_nominations" WHERE "group"='logie award' AND "award"='most outstanding actor' AND "result"='nominated'; | 2-13003923-1 |
Before 2012, which Group has the Result, nominated, the Film/Show, East West 101, and the Award, Best Lead Actor in A Television Drama? | CREATE TABLE "awards_and_nominations" (
"year" real,
"group" text,
"award" text,
"film_show" text,
"result" text
); | SELECT "group" FROM "awards_and_nominations" WHERE "result"='nominated' AND "year"<2012 AND "film_show"='east west 101' AND "award"='best lead actor in a television drama'; | 2-13003923-1 |
After 2008, which Group has the Result, nominated, and the Award, Best Lead Actor in a Television Drama? | CREATE TABLE "awards_and_nominations" (
"year" real,
"group" text,
"award" text,
"film_show" text,
"result" text
); | SELECT "group" FROM "awards_and_nominations" WHERE "result"='nominated' AND "year">2008 AND "award"='best lead actor in a television drama'; | 2-13003923-1 |
What is the Award, when the Film/Show is East West 101, and when the year is before 2009, and when the Group is Logie Award? | CREATE TABLE "awards_and_nominations" (
"year" real,
"group" text,
"award" text,
"film_show" text,
"result" text
); | SELECT "award" FROM "awards_and_nominations" WHERE "film_show"='east west 101' AND "year"<2009 AND "group"='logie award'; | 2-13003923-1 |
What is the Film/Show, when the Year is 2010? | CREATE TABLE "awards_and_nominations" (
"year" real,
"group" text,
"award" text,
"film_show" text,
"result" text
); | SELECT "film_show" FROM "awards_and_nominations" WHERE "year"=2010; | 2-13003923-1 |
Which year is that has a Entrant of belond equa-flow / calif. muffler? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "year" FROM "complete_formula_one_world_championship_" WHERE "entrant"='belond equa-flow / calif. muffler'; | 2-1252116-3 |
which election year has henry wyndham as the 2nd member and walter barttelot as 1st member? | CREATE TABLE "members_of_parliament" (
"election" text,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "election" FROM "members_of_parliament" WHERE "2nd_member"='henry wyndham' AND "1st_member"='walter barttelot'; | 2-12261613-1 |
what election year has 2nd party conservative with 2nd member henry wyndham and 1st member walter barttelot? | CREATE TABLE "members_of_parliament" (
"election" text,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "election" FROM "members_of_parliament" WHERE "2nd_party"='conservative' AND "2nd_member"='henry wyndham' AND "1st_member"='walter barttelot'; | 2-12261613-1 |
what is the 1st pary when the second is whig? | CREATE TABLE "members_of_parliament" (
"election" text,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "1st_party" FROM "members_of_parliament" WHERE "2nd_party"='whig'; | 2-12261613-1 |
what is the election year with henry wyndham as 2nd member and walter barttelot as 1st? | CREATE TABLE "members_of_parliament" (
"election" text,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "election" FROM "members_of_parliament" WHERE "2nd_member"='henry wyndham' AND "1st_member"='walter barttelot'; | 2-12261613-1 |
If the Ovrs is less than 2, what's the average in Wkts? | CREATE TABLE "twenty20_internationals" (
"player" text,
"wkts" real,
"runs" real,
"econ" real,
"ovrs" real
); | SELECT AVG("wkts") FROM "twenty20_internationals" WHERE "ovrs"<2; | 2-13136868-10 |
If Adam Voges had less than 28.5 Ovrs, what are his highest Wkts? | CREATE TABLE "twenty20_internationals" (
"player" text,
"wkts" real,
"runs" real,
"econ" real,
"ovrs" real
); | SELECT MAX("wkts") FROM "twenty20_internationals" WHERE "ovrs"<28.5 AND "player"='adam voges'; | 2-13136868-10 |
How many sacks have 2006 as the year, and a solo less than 62? | CREATE TABLE "professional_statistics" (
"year" text,
"team" text,
"t_tkl" real,
"solo" real,
"sacks" real,
"pass_def" real
); | SELECT SUM("sacks") FROM "professional_statistics" WHERE "year"='2006' AND "solo"<62; | 2-1266500-2 |
What is the average pass def that has green bay packers as the team, 62 as the solo and sacks less than 2? | CREATE TABLE "professional_statistics" (
"year" text,
"team" text,
"t_tkl" real,
"solo" real,
"sacks" real,
"pass_def" real
); | SELECT AVG("pass_def") FROM "professional_statistics" WHERE "team"='green bay packers' AND "solo"=62 AND "sacks"<2; | 2-1266500-2 |
How many sacks have 72 as the solo and a TTkl less than 112? | CREATE TABLE "professional_statistics" (
"year" text,
"team" text,
"t_tkl" real,
"solo" real,
"sacks" real,
"pass_def" real
); | SELECT COUNT("sacks") FROM "professional_statistics" WHERE "solo"=72 AND "t_tkl"<112; | 2-1266500-2 |
How many TTkl have 2004 as the year, and a pass def greater than 5? | CREATE TABLE "professional_statistics" (
"year" text,
"team" text,
"t_tkl" real,
"solo" real,
"sacks" real,
"pass_def" real
); | SELECT SUM("t_tkl") FROM "professional_statistics" WHERE "year"='2004' AND "pass_def">5; | 2-1266500-2 |
What is the highest decile of Tarras school, which had a state authority? | CREATE TABLE "central_otago_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT MAX("decile") FROM "central_otago_district" WHERE "authority"='state' AND "name"='tarras school'; | 2-12303251-2 |
What is the decile of the school with a roll larger than 513? | CREATE TABLE "central_otago_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT SUM("decile") FROM "central_otago_district" WHERE "roll">513; | 2-12303251-2 |
What is the area of Cromwell Primary school, which has a state authority? | CREATE TABLE "central_otago_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT "area" FROM "central_otago_district" WHERE "authority"='state' AND "name"='cromwell primary school'; | 2-12303251-2 |
Which player has figures of 4/14? | CREATE TABLE "best_bowling_figures" (
"player" text,
"overs" real,
"figures" text,
"opponent" text,
"ground" text
); | SELECT "player" FROM "best_bowling_figures" WHERE "figures"='4/14'; | 2-12562212-7 |
How many overs occurred at Waca Ground against Queensland? | CREATE TABLE "best_bowling_figures" (
"player" text,
"overs" real,
"figures" text,
"opponent" text,
"ground" text
); | SELECT "overs" FROM "best_bowling_figures" WHERE "ground"='waca ground' AND "opponent"='queensland'; | 2-12562212-7 |
At which ground did Dirk Nannes have a figure of 4/23? | CREATE TABLE "best_bowling_figures" (
"player" text,
"overs" real,
"figures" text,
"opponent" text,
"ground" text
); | SELECT "ground" FROM "best_bowling_figures" WHERE "figures"='4/23'; | 2-12562212-7 |
Who was the opponent when Steven Smith had 3.3 overs? | CREATE TABLE "best_bowling_figures" (
"player" text,
"overs" real,
"figures" text,
"opponent" text,
"ground" text
); | SELECT "opponent" FROM "best_bowling_figures" WHERE "overs"=3.3; | 2-12562212-7 |
Name the average year for brookvale oval and margin more than 46 | CREATE TABLE "biggest_losses" (
"margin" real,
"score" text,
"opponent" text,
"venue" text,
"year" real
); | SELECT AVG("year") FROM "biggest_losses" WHERE "venue"='brookvale oval' AND "margin">46; | 2-13274816-10 |
Name the most year for brookvale oval | CREATE TABLE "biggest_losses" (
"margin" real,
"score" text,
"opponent" text,
"venue" text,
"year" real
); | SELECT MAX("year") FROM "biggest_losses" WHERE "venue"='brookvale oval'; | 2-13274816-10 |
Name the average year for manly-warringah sea eagles | CREATE TABLE "biggest_losses" (
"margin" real,
"score" text,
"opponent" text,
"venue" text,
"year" real
); | SELECT AVG("year") FROM "biggest_losses" WHERE "opponent"='manly-warringah sea eagles'; | 2-13274816-10 |
Who is the partner with a score of 6–1, 6–4? | CREATE TABLE "doubles_19_10_9" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "partner" FROM "doubles_19_10_9" WHERE "score"='6–1, 6–4'; | 2-12582470-5 |
what is the best supported club with a 25 Goal and a per game larger than 1,156? | CREATE TABLE "league_statistics" (
"season" text,
"overall_spectators" real,
"per_game" real,
"best_supported_club" text,
"spectators_game" real,
"top_goal_scorer" text,
"goals" real
); | SELECT "best_supported_club" FROM "league_statistics" WHERE "goals"=25 AND "per_game">'1,156'; | 2-12272590-2 |
What are the age groups for the Big League World Series? | CREATE TABLE "men" (
"sport" text,
"competition_name" text,
"competing_entities" text,
"age_groups" text,
"held_every" text
); | SELECT "age_groups" FROM "men" WHERE "competition_name"='big league world series'; | 2-13092576-1 |
How often is the table tennis competition held? | CREATE TABLE "men" (
"sport" text,
"competition_name" text,
"competing_entities" text,
"age_groups" text,
"held_every" text
); | SELECT "held_every" FROM "men" WHERE "sport"='table tennis'; | 2-13092576-1 |
How often is the cricket competition held? | CREATE TABLE "men" (
"sport" text,
"competition_name" text,
"competing_entities" text,
"age_groups" text,
"held_every" text
); | SELECT "held_every" FROM "men" WHERE "sport"='cricket'; | 2-13092576-1 |
What was the attendance of the Blue Jays' game when their record was 47-43? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT SUM("attendance") FROM "game_log" WHERE "record"='47-43'; | 2-12206211-5 |
Which year had a Cosworth V8 engine and 12 points? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "year" FROM "complete_formula_one_world_championship_" WHERE "points"=12 AND "engine"='cosworth v8'; | 2-1217995-2 |
How many points did the ATS Wheels entrant with an ATS D2 chassis have? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "points" FROM "complete_formula_one_world_championship_" WHERE "entrant"='ats wheels' AND "chassis"='ats d2'; | 2-1217995-2 |
How many races have less than 2 podiums and 19th position before 2009? | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
); | SELECT AVG("races") FROM "career_summary" WHERE "podiums"<2 AND "position"='19th' AND "season"<2009; | 2-13090865-1 |
Which co drivers are 3rd in Joest racing? | CREATE TABLE "complete_24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT "co_drivers" FROM "complete_24_hours_of_le_mans_results" WHERE "pos"='3rd' AND "team"='joest racing'; | 2-1217995-3 |
When was radek necas with less than 2.04 height born? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"player" text,
"height" real,
"position" text,
"year_born" real,
"current_club" text
); | SELECT AVG("year_born") FROM "fiba_euro_basket_2007_squads" WHERE "player"='radek necas' AND "height"<2.04; | 2-12962773-12 |
How tall was the member of Nymburk, who was born in 1982? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"player" text,
"height" real,
"position" text,
"year_born" real,
"current_club" text
); | SELECT MAX("height") FROM "fiba_euro_basket_2007_squads" WHERE "year_born"=1982 AND "current_club"='nymburk'; | 2-12962773-12 |
What Kerry number does Taylor county have with more than 65 others#? | CREATE TABLE "by_county" (
"county" text,
"kerrypct" text,
"kerrynum" real,
"bushpct" text,
"bushnum" real,
"otherspct" text,
"othersnum" real
); | SELECT COUNT("kerrynum") FROM "by_county" WHERE "county"='taylor' AND "othersnum">65; | 2-1304316-1 |
What is the smallest bush# with 66.0% bush and less than 65 others#? | CREATE TABLE "by_county" (
"county" text,
"kerrypct" text,
"kerrynum" real,
"bushpct" text,
"bushnum" real,
"otherspct" text,
"othersnum" real
); | SELECT MIN("bushnum") FROM "by_county" WHERE "bushpct"='66.0%' AND "othersnum"<65; | 2-1304316-1 |
Who was the captain of the away team at Adelaide Oval? | CREATE TABLE "west_indies_in_australia" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "away_captain" FROM "west_indies_in_australia" WHERE "venue"='adelaide oval'; | 2-12410929-70 |
What is the final score at Melbourne Cricket Ground? | CREATE TABLE "west_indies_in_australia" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "result" FROM "west_indies_in_australia" WHERE "venue"='melbourne cricket ground'; | 2-12410929-70 |
Name the score for april 28 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "date"='april 28'; | 2-12195635-2 |
What is the average Heat for anjelika solovieva? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT AVG("heat") FROM "heats" WHERE "name"='anjelika solovieva'; | 2-12427181-3 |
What is the average lane with Netherlands Antilles Nationality? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT AVG("lane") FROM "heats" WHERE "nationality"='netherlands antilles'; | 2-12427181-3 |
What is the finish of the year with start 5? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "finish" FROM "indy_500_results" WHERE "start"='5'; | 2-1252148-1 |
What is the rank in 1940? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "rank" FROM "indy_500_results" WHERE "year"='1940'; | 2-1252148-1 |
What is the highest laps of the year when the rank was 14? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT MAX("laps") FROM "indy_500_results" WHERE "rank"='14'; | 2-1252148-1 |
What year had 134 laps? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "year" FROM "indy_500_results" WHERE "laps"=134; | 2-1252148-1 |
What is the finish when there was more than 192 laps and a qual of 135.736? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "finish" FROM "indy_500_results" WHERE "laps">192 AND "qual"='135.736'; | 2-1252148-1 |
Witch opponent has a loss of Glynn (0-2)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "loss"='glynn (0-2)'; | 2-12635188-3 |
Who was the previous champion of the title won on July 7, 2010? | CREATE TABLE "current_iwa_champions" (
"championship" text,
"champion_s" text,
"previous_champion_s" text,
"date_won" text,
"location" text
); | SELECT "previous_champion_s" FROM "current_iwa_champions" WHERE "date_won"='july 7, 2010'; | 2-1272033-1 |
When did Bonecrusher win the championship at Bayamón, Puerto Rico? | CREATE TABLE "current_iwa_champions" (
"championship" text,
"champion_s" text,
"previous_champion_s" text,
"date_won" text,
"location" text
); | SELECT "date_won" FROM "current_iwa_champions" WHERE "location"='bayamón, puerto rico' AND "champion_s"='bonecrusher'; | 2-1272033-1 |
Who is the champion of the title previously held by Lash? | CREATE TABLE "current_iwa_champions" (
"championship" text,
"champion_s" text,
"previous_champion_s" text,
"date_won" text,
"location" text
); | SELECT "champion_s" FROM "current_iwa_champions" WHERE "previous_champion_s"='lash'; | 2-1272033-1 |
Which championship was won on July 7, 2010? | CREATE TABLE "current_iwa_champions" (
"championship" text,
"champion_s" text,
"previous_champion_s" text,
"date_won" text,
"location" text
); | SELECT "championship" FROM "current_iwa_champions" WHERE "date_won"='july 7, 2010'; | 2-1272033-1 |
Who has 6/1 odds? | CREATE TABLE "race_record" (
"race" text,
"dist_f" real,
"course" text,
"class" text,
"prize_k" real,
"odds" text,
"runners" real,
"placing" real,
"margin" real,
"time" text,
"jockey" text,
"trainer" text
); | SELECT "trainer" FROM "race_record" WHERE "odds"='6/1'; | 2-12927663-1 |
What is the total dist with Johnny Murtagh and less than 26 runners? | CREATE TABLE "race_record" (
"race" text,
"dist_f" real,
"course" text,
"class" text,
"prize_k" real,
"odds" text,
"runners" real,
"placing" real,
"margin" real,
"time" text,
"jockey" text,
"trainer" text
); | SELECT SUM("dist_f") FROM "race_record" WHERE "jockey"='johnny murtagh' AND "runners"<26; | 2-12927663-1 |
Who has 5/1 odds? | CREATE TABLE "race_record" (
"race" text,
"dist_f" real,
"course" text,
"class" text,
"prize_k" real,
"odds" text,
"runners" real,
"placing" real,
"margin" real,
"time" text,
"jockey" text,
"trainer" text
); | SELECT "jockey" FROM "race_record" WHERE "odds"='5/1'; | 2-12927663-1 |
What course did Fergal Lynch end up with 5/1 odds? | CREATE TABLE "race_record" (
"race" text,
"dist_f" real,
"course" text,
"class" text,
"prize_k" real,
"odds" text,
"runners" real,
"placing" real,
"margin" real,
"time" text,
"jockey" text,
"trainer" text
); | SELECT "course" FROM "race_record" WHERE "jockey"='fergal lynch' AND "odds"='5/1'; | 2-12927663-1 |
What place has a To par of +4 and a score of 74-70-74-74=292? | CREATE TABLE "final_round" (
"place" text,
"name" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_round" WHERE "to_par"='+4' AND "score"='74-70-74-74=292'; | 2-12572213-5 |
What place in the United States has a To par of e? | CREATE TABLE "final_round" (
"place" text,
"name" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_round" WHERE "country"='united states' AND "to_par"='e'; | 2-12572213-5 |
What is the To par for the place in the United States and a score of 74-69-71-74=288? | CREATE TABLE "final_round" (
"place" text,
"name" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "to_par" FROM "final_round" WHERE "country"='united states' AND "score"='74-69-71-74=288'; | 2-12572213-5 |
What Venue is listed that has a Year smaller than 2005 and a Position of 10th (sf)? | CREATE TABLE "competition_record" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "venue" FROM "competition_record" WHERE "year"<2005 AND "position"='10th (sf)'; | 2-12946006-1 |
What's the average Year for the Position of 7th (sf)? | CREATE TABLE "competition_record" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT AVG("year") FROM "competition_record" WHERE "position"='7th (sf)'; | 2-12946006-1 |
What's the highest Year for the Venue of Santiago De Chile and the Event of 800 m? | CREATE TABLE "competition_record" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT MAX("year") FROM "competition_record" WHERE "event"='800 m' AND "venue"='santiago de chile'; | 2-12946006-1 |
What Venue has a Position of 12th (sf)? | CREATE TABLE "competition_record" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "venue" FROM "competition_record" WHERE "position"='12th (sf)'; | 2-12946006-1 |
Which engine has an Entrant of team lotus, and a Year larger than 1962? | CREATE TABLE "complete_world_championship_formula_one_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "engine" FROM "complete_world_championship_formula_one_" WHERE "entrant"='team lotus' AND "year">1962; | 2-1226576-1 |
How many points have a Year larger than 1966? | CREATE TABLE "complete_world_championship_formula_one_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT COUNT("points") FROM "complete_world_championship_formula_one_" WHERE "year">1966; | 2-1226576-1 |
What is the smallest number of points with an Engine of climax v8, and a Year of 1966? | CREATE TABLE "complete_world_championship_formula_one_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT MIN("points") FROM "complete_world_championship_formula_one_" WHERE "engine"='climax v8' AND "year"=1966; | 2-1226576-1 |
How many points did Team Rothmans International have after 1975 when their Chassis was a March 771? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "points" FROM "complete_formula_one_world_championship_" WHERE "year">1975 AND "entrant"='team rothmans international' AND "chassis"='march 771'; | 2-1233850-1 |
What Nationality of the person who has a Rank of 4 | CREATE TABLE "semifinal_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" real
); | SELECT "nationality" FROM "semifinal_2" WHERE "lane"<4 AND "rank"=4; | 2-12385343-6 |
Name the score on october 14 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"stadium" text
); | SELECT "score" FROM "game_log" WHERE "date"='october 14'; | 2-12238001-8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.