question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which service does the network of atn urdu offer?
CREATE TABLE "canada" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text );
SELECT "service" FROM "canada" WHERE "network"='atn urdu';
2-10503963-2
Whose origin of Programming offers a general genre, a network of ntv bangla and a service of cogeco cable?
CREATE TABLE "canada" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text );
SELECT "origin_of_programming" FROM "canada" WHERE "genre"='general' AND "network"='ntv bangla' AND "service"='cogeco cable';
2-10503963-2
Which service has a hindi language, general genre and zee tv network?
CREATE TABLE "canada" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text );
SELECT "service" FROM "canada" WHERE "language"='hindi' AND "genre"='general' AND "network"='zee tv';
2-10503963-2
Which network has an origina of Programming in India, a general genre, a service of bell fibe tv, and tamil as its language?
CREATE TABLE "canada" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text );
SELECT "network" FROM "canada" WHERE "origin_of_programming"='india' AND "genre"='general' AND "service"='bell fibe tv' AND "language"='tamil';
2-10503963-2
Which language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service?
CREATE TABLE "canada" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text );
SELECT "language" FROM "canada" WHERE "origin_of_programming"='india' AND "genre"='general' AND "network"='ptc punjabi' AND "service"='bell fibe tv';
2-10503963-2
What is the average number of bronzes when the rank is below 11 for trinidad and tobago with less than 1 total medal?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("bronze") FROM "medal_table" WHERE "rank"<11 AND "nation"='trinidad and tobago' AND "total"<1;
2-10648465-3
What is the sum of gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("gold") FROM "medal_table" WHERE "silver"=1 AND "bronze"<2 AND "total"=1 AND "rank"<10;
2-10648465-3
Who did Winfield Scott have an allegiance with?
CREATE TABLE "line_officers" ( "name" text, "date_of_birth" text, "actual_rank" text, "appointment_date" text, "allegiance" text );
SELECT "allegiance" FROM "line_officers" WHERE "name"='winfield scott';
2-10648080-1
What was the July 2013 population estimate of the location which had a population density larger than 14.1?
CREATE TABLE "listing" ( "rank" real, "name" text, "population_2011_census" real, "percent_of_national_population" text, "pct_growth_2006_11" text, "land_area_km" real, "population_density_km_2" real, "house_of_commons_seats" real, "house_of_commons_seats_pct" text, "2013_population_july_est" real )...
SELECT COUNT("2013_population_july_est") FROM "listing" WHERE "population_density_km_2">14.1;
2-106104-1
What was the lowest rank of an area with a 2011 Census population larger than 3,645,257, a House of Commons seat percentage of 11.7% and a July 2013 population estimate over 4,581,978?
CREATE TABLE "listing" ( "rank" real, "name" text, "population_2011_census" real, "percent_of_national_population" text, "pct_growth_2006_11" text, "land_area_km" real, "population_density_km_2" real, "house_of_commons_seats" real, "house_of_commons_seats_pct" text, "2013_population_july_est" real )...
SELECT MIN("rank") FROM "listing" WHERE "population_2011_census">'3,645,257' AND "house_of_commons_seats_pct"='11.7%' AND "2013_population_july_est">'4,581,978';
2-106104-1
What was the highest rank of an area with a population density larger than 5.7 and a 2006–2011 percentage growth of 5.7%?
CREATE TABLE "listing" ( "rank" real, "name" text, "population_2011_census" real, "percent_of_national_population" text, "pct_growth_2006_11" text, "land_area_km" real, "population_density_km_2" real, "house_of_commons_seats" real, "house_of_commons_seats_pct" text, "2013_population_july_est" real )...
SELECT MAX("rank") FROM "listing" WHERE "population_density_km_2">5.7 AND "pct_growth_2006_11"='5.7%';
2-106104-1
What was the lowest 2011 Census population of an area with a land area larger than 908,607.67 km²?
CREATE TABLE "listing" ( "rank" real, "name" text, "population_2011_census" real, "percent_of_national_population" text, "pct_growth_2006_11" text, "land_area_km" real, "population_density_km_2" real, "house_of_commons_seats" real, "house_of_commons_seats_pct" text, "2013_population_july_est" real )...
SELECT MIN("population_2011_census") FROM "listing" WHERE "land_area_km">'908,607.67';
2-106104-1
Which rider from the 1971 Isle of Man Junior TT 250cc final standings had a speed equal to 86.15mph?
CREATE TABLE "1971_isle_of_man_junior_tt_350cc_final_s" ( "place" real, "rider" text, "country" text, "machine" text, "speed" text, "time" text, "points" real );
SELECT "rider" FROM "1971_isle_of_man_junior_tt_350cc_final_s" WHERE "speed"='86.15mph';
2-10638654-3
Which rider had a points score equal to 10?
CREATE TABLE "1971_isle_of_man_junior_tt_350cc_final_s" ( "place" real, "rider" text, "country" text, "machine" text, "speed" text, "time" text, "points" real );
SELECT "rider" FROM "1971_isle_of_man_junior_tt_350cc_final_s" WHERE "points"=10;
2-10638654-3
Which Start has a 0 Conv, 0 Pens and 8 Tries?
CREATE TABLE "most_tries" ( "player" text, "span" text, "start" text, "tries" text, "conv" text, "pens" text, "drop" text );
SELECT "start" FROM "most_tries" WHERE "conv"='0' AND "pens"='0' AND "tries"='8';
2-1074629-6
Which Player has 0 Pens and 12 Starts?
CREATE TABLE "most_tries" ( "player" text, "span" text, "start" text, "tries" text, "conv" text, "pens" text, "drop" text );
SELECT "player" FROM "most_tries" WHERE "pens"='0' AND "start"='12';
2-1074629-6
Which Start has 8 Tries and 0 Convs?
CREATE TABLE "most_tries" ( "player" text, "span" text, "start" text, "tries" text, "conv" text, "pens" text, "drop" text );
SELECT "start" FROM "most_tries" WHERE "tries"='8' AND "conv"='0';
2-1074629-6
Who was the away team for the game at Victoria Park?
CREATE TABLE "round_12" ( "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_12" WHERE "venue"='victoria park';
2-10640687-12
What was round 7's lowest overall?
CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text );
SELECT MIN("overall") FROM "nfl_draft" WHERE "round"=7;
2-10651935-1
Who had the smallest overall under 22?
CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text );
SELECT "player" FROM "nfl_draft" WHERE "overall"<22;
2-10651935-1
What was Cal State-Los Angeles' position with an Overall above 22?
CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text );
SELECT "position" FROM "nfl_draft" WHERE "overall">22 AND "school_club_team"='cal state-los angeles';
2-10651935-1
Who played for Memphis State?
CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text );
SELECT "player" FROM "nfl_draft" WHERE "school_club_team"='memphis state';
2-10651935-1
What is the largest crowd for the St Kilda as the away team?
CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT MAX("crowd") FROM "round_17" WHERE "away_team"='st kilda';
2-10746200-17
What was the crowd size when Essendon was the home team?
CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "crowd" FROM "round_17" WHERE "home_team"='essendon';
2-10746200-17
Which venue had a crowd larger than 20,000?
CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_17" WHERE "crowd">'20,000';
2-10746200-17
Which away team played at Lake Oval?
CREATE TABLE "round_17" ( "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_17" WHERE "venue"='lake oval';
2-10746200-17
On what date was the crowd more numerous than 10,800 when the home team score was 7.13 (55)?
CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_17" WHERE "crowd">'10,800' AND "home_team_score"='7.13 (55)';
2-10746200-17
What is the total number of the crowd at Glenferrie Oval?
CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT COUNT("crowd") FROM "round_17" WHERE "venue"='glenferrie oval';
2-10746200-17
The Western Oval venue has what date?
CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_6" WHERE "venue"='western oval';
2-10774891-6
What is the kickoff time for the Miami Dolphins?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "kickoff" text, "attendance" text );
SELECT "kickoff" FROM "regular_season" WHERE "opponent"='miami dolphins';
2-10769447-2
What was the final of the New England Patriots game?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "kickoff" text, "attendance" text );
SELECT "result" FROM "regular_season" WHERE "opponent"='new england patriots';
2-10769447-2
What is the largest attendance on august 10, 1963, and a week larger than 1?
CREATE TABLE "exhibition_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("attendance") FROM "exhibition_schedule" WHERE "date"='august 10, 1963' AND "week">1;
2-10651843-1
What date was the game when the away team scored 9.5 (59)?
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 "date" FROM "round_8" WHERE "away_team_score"='9.5 (59)';
2-10746808-8
Where was the game played when the home team scored 17.7 (109)?
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 "venue" FROM "round_8" WHERE "home_team_score"='17.7 (109)';
2-10746808-8
What was the score of the away team when the home team was south melbourne?
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_score" FROM "round_8" WHERE "home_team"='south melbourne';
2-10746808-8
What is the smallest crowd at princes park?
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 "venue"='princes park';
2-10746808-8
What is the highest ranked nation with 15 silver medals and no more than 47 total?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("rank") FROM "medal_table" WHERE "silver"=15 AND "total"<47;
2-10648331-3
What was the highest rank by average of a couple who had an average of 25.3 and had more than 10 dances?
CREATE TABLE "average" ( "rank_by_average" real, "place" real, "couple" text, "total" real, "number_of_dances" real, "average" real );
SELECT MAX("rank_by_average") FROM "average" WHERE "average"=25.3 AND "number_of_dances">10;
2-10535525-4
What is the example with the associative type?
CREATE TABLE "verb_derivations_using_the_root_qet_the_" ( "type" text, "suffix" text, "valency_change" text, "example" text, "meaning" text );
SELECT "example" FROM "verb_derivations_using_the_root_qet_the_" WHERE "type"='associative';
2-10746235-1
What is the Suffix of the intensive and valency change of 0?
CREATE TABLE "verb_derivations_using_the_root_qet_the_" ( "type" text, "suffix" text, "valency_change" text, "example" text, "meaning" text );
SELECT "suffix" FROM "verb_derivations_using_the_root_qet_the_" WHERE "valency_change"='0' AND "type"='intensive';
2-10746235-1
WHat is the Valency change of associative type?
CREATE TABLE "verb_derivations_using_the_root_qet_the_" ( "type" text, "suffix" text, "valency_change" text, "example" text, "meaning" text );
SELECT "valency_change" FROM "verb_derivations_using_the_root_qet_the_" WHERE "type"='associative';
2-10746235-1
Who is the home team when hawthorn is the away side?
CREATE TABLE "round_6" ( "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_6" WHERE "away_team"='hawthorn';
2-10775890-6
Who is the away side that scores 9.8 (62)?
CREATE TABLE "round_6" ( "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_6" WHERE "away_team_score"='9.8 (62)';
2-10775890-6
What is the largest crowd that has the away side scoring 10.14 (74)?
CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT MAX("crowd") FROM "round_6" WHERE "away_team_score"='10.14 (74)';
2-10775890-6
What was the away team that played at Windy Hill?
CREATE TABLE "round_3" ( "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_3" WHERE "venue"='windy hill';
2-10746808-3
What was the home team at the match when the away team scored 6.14 (50)?
CREATE TABLE "round_3" ( "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_3" WHERE "away_team_score"='6.14 (50)';
2-10746808-3
What was the away team at the match where the crowd was larger than 30,000?
CREATE TABLE "round_3" ( "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_3" WHERE "crowd">'30,000';
2-10746808-3
What is the venue when the away side scores 11.20 (86)?
CREATE TABLE "round_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_9" WHERE "away_team_score"='11.20 (86)';
2-10773753-9
What is the smallest crowd when richmond is away?
CREATE TABLE "round_9" ( "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_9" WHERE "away_team"='richmond';
2-10773753-9
What is melbourne's home team score?
CREATE TABLE "round_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_9" WHERE "home_team"='melbourne';
2-10773753-9
Who is the color commentator in 2008?
CREATE TABLE "television_broadcasters" ( "year" real, "network" text, "host" text, "pre_race_analyst" text, "lap_by_lap" text, "color_commentator_s" text, "pit_reporters" text );
SELECT "color_commentator_s" FROM "television_broadcasters" WHERE "year"=2008;
2-10716893-3
Which member of the National Party is from the Hinkler electorate?
CREATE TABLE "see_also" ( "member" text, "party" text, "electorate" text, "state" text, "in_office" text );
SELECT "member" FROM "see_also" WHERE "party"='national' AND "electorate"='hinkler';
2-1059323-1
Which member is from the state of SA and the grey electorate?
CREATE TABLE "see_also" ( "member" text, "party" text, "electorate" text, "state" text, "in_office" text );
SELECT "member" FROM "see_also" WHERE "state"='sa' AND "electorate"='grey';
2-1059323-1
In which state is the Petrie electorate?
CREATE TABLE "see_also" ( "member" text, "party" text, "electorate" text, "state" text, "in_office" text );
SELECT "state" FROM "see_also" WHERE "electorate"='petrie';
2-1059323-1
What round was the draft pick of tight end with an Overall larger than 21?
CREATE TABLE "2002_new_england_patriots_draft_selectio" ( "round" real, "overall" real, "player" text, "position" text, "college" text );
SELECT COUNT("round") FROM "2002_new_england_patriots_draft_selectio" WHERE "position"='tight end' AND "overall">21;
2-10716117-1
Which player is a wide receiver picked in round 7?
CREATE TABLE "2002_new_england_patriots_draft_selectio" ( "round" real, "overall" real, "player" text, "position" text, "college" text );
SELECT "player" FROM "2002_new_england_patriots_draft_selectio" WHERE "position"='wide receiver' AND "round"=7;
2-10716117-1
What is the name of the running back pick?
CREATE TABLE "2002_new_england_patriots_draft_selectio" ( "round" real, "overall" real, "player" text, "position" text, "college" text );
SELECT "player" FROM "2002_new_england_patriots_draft_selectio" WHERE "position"='running back';
2-10716117-1
When did the VFL pay at Victoria Park?
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 "date" FROM "round_4" WHERE "venue"='victoria park';
2-10774891-4
When did South Melbourne play as the away team?
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 "date" FROM "round_4" WHERE "away_team"='south melbourne';
2-10774891-4
What was home team Essendon's opponents score?
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_score" FROM "round_4" WHERE "home_team"='essendon';
2-10774891-4
What date did the home team have a score of 9.18 (72)?
CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_15" WHERE "home_team_score"='9.18 (72)';
2-10773753-15
What did the away team score when the home team scored 9.18 (72)?
CREATE TABLE "round_15" ( "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_15" WHERE "home_team_score"='9.18 (72)';
2-10773753-15
When was The Love Eterne released?
CREATE TABLE "best_100_chinese_motion_pictures" ( "rank" real, "title" text, "year" real, "region" text, "director_s" text );
SELECT "year" FROM "best_100_chinese_motion_pictures" WHERE "title"='the love eterne';
2-1067692-1
How many heats had 5 lanes and a rank less than 110 for the nationality of Honduras?
CREATE TABLE "heats" ( "rank" real, "heat" real, "lane" real, "name" text, "nationality" text );
SELECT COUNT("heat") FROM "heats" WHERE "lane"=5 AND "rank">110 AND "nationality"='honduras';
2-10557471-2
How many heats had 2 lanes, a rank above 75, and nationality of Madagascar?
CREATE TABLE "heats" ( "rank" real, "heat" real, "lane" real, "name" text, "nationality" text );
SELECT COUNT("heat") FROM "heats" WHERE "lane"=2 AND "rank">75 AND "nationality"='madagascar';
2-10557471-2
What is the sum of every heat for the nationality of Macedonia with a rank less than 114?
CREATE TABLE "heats" ( "rank" real, "heat" real, "lane" real, "name" text, "nationality" text );
SELECT SUM("heat") FROM "heats" WHERE "nationality"='macedonia' AND "rank"<114;
2-10557471-2
What was the least number of heats with more than 8 lanes for the Nationality of Germany?
CREATE TABLE "heats" ( "rank" real, "heat" real, "lane" real, "name" text, "nationality" text );
SELECT MIN("heat") FROM "heats" WHERE "nationality"='germany' AND "lane">8;
2-10557471-2
When the VFL played Victoria Park what was the home team score?
CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_12" WHERE "venue"='victoria park';
2-10776330-12
What driver has over 19 points and a grid of over 2?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );
SELECT "driver" FROM "race" WHERE "points">19 AND "grid">2;
2-10566303-2
What was the score for the away team when geelong was the home team?
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 "home_team"='geelong';
2-10701914-14
What was the score of the home team when they played footscray?
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 "home_team_score" FROM "round_14" WHERE "away_team"='footscray';
2-10701914-14
Where was the game played when the away team scored 9.14 (68)?
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 "venue" FROM "round_14" WHERE "away_team_score"='9.14 (68)';
2-10701914-14
What was the score for the home team of essendon?
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 "home_team_score" FROM "round_14" WHERE "home_team"='essendon';
2-10701914-14
What was the score for the Essendon home team?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_16" WHERE "home_team"='essendon';
2-10776868-16
What was the smallest crowd for the Richmond home team?
CREATE TABLE "round_16" ( "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_16" WHERE "home_team"='richmond';
2-10776868-16
What was the largest crowd at the Brunswick Street Oval?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT MAX("crowd") FROM "round_16" WHERE "venue"='brunswick street oval';
2-10776868-16
Who was the home team when VFL played at Windy Hill?
CREATE TABLE "round_15" ( "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_15" WHERE "venue"='windy hill';
2-10750694-15
What was the attendance when the VFL played Glenferrie Oval?
CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT SUM("crowd") FROM "round_15" WHERE "venue"='glenferrie oval';
2-10750694-15
What was the attendance when North Melbourne was the away team?
CREATE TABLE "round_15" ( "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_15" WHERE "away_team"='north melbourne';
2-10750694-15
When did Essendon play as the home team?
CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_15" WHERE "home_team"='essendon';
2-10750694-15
Can you give me the age of the Virtues of Wisdom?
CREATE TABLE "the_stages" ( "approximate_age" text, "virtues" text, "psycho_social_crisis" text, "significant_relationship" text, "existential_question_not_in_citation_given" text, "examples" text );
SELECT "approximate_age" FROM "the_stages" WHERE "virtues"='wisdom';
2-1058787-1
What Virtue looks at the intimacy vs. isolation crisis?
CREATE TABLE "the_stages" ( "approximate_age" text, "virtues" text, "psycho_social_crisis" text, "significant_relationship" text, "existential_question_not_in_citation_given" text, "examples" text );
SELECT "virtues" FROM "the_stages" WHERE "psycho_social_crisis"='intimacy vs. isolation';
2-1058787-1
Can you give me the age of the Significant Relationship of Family?
CREATE TABLE "the_stages" ( "approximate_age" text, "virtues" text, "psycho_social_crisis" text, "significant_relationship" text, "existential_question_not_in_citation_given" text, "examples" text );
SELECT "approximate_age" FROM "the_stages" WHERE "significant_relationship"='family';
2-1058787-1
The Significant Relationship of Parents belongs with what Virtue?
CREATE TABLE "the_stages" ( "approximate_age" text, "virtues" text, "psycho_social_crisis" text, "significant_relationship" text, "existential_question_not_in_citation_given" text, "examples" text );
SELECT "virtues" FROM "the_stages" WHERE "significant_relationship"='parents';
2-1058787-1
Who is the away side at windy hill?
CREATE TABLE "round_18" ( "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_18" WHERE "venue"='windy hill';
2-10776330-18
Who is the home side when the away side scores 11.15 (81)?
CREATE TABLE "round_18" ( "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_18" WHERE "away_team_score"='11.15 (81)';
2-10776330-18
How many drafts featured fred hoaglin?
CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text );
SELECT COUNT("overall") FROM "nfl_draft" WHERE "player"='fred hoaglin';
2-10651967-1
What round did the player from delta st. get picked?
CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text );
SELECT "round" FROM "nfl_draft" WHERE "school_club_team"='delta st.';
2-10651967-1
What is the highest overall number for someone from round 16?
CREATE TABLE "nfl_draft" ( "round" real, "overall" real, "player" text, "position" text, "school_club_team" text );
SELECT MAX("overall") FROM "nfl_draft" WHERE "round"=16;
2-10651967-1
What was the average crowd size when Melbourne was the home team?
CREATE TABLE "round_15" ( "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_15" WHERE "home_team"='melbourne';
2-10767118-15
What was North Melbourne's score when they were the home team?
CREATE TABLE "round_15" ( "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_15" WHERE "away_team"='north melbourne';
2-10767118-15
What is in the ninth position where the tenth position is rabat ajax?
CREATE TABLE "history" ( "year" text, "1st_position" text, "2nd_position" text, "9th_position" text, "10th_position" text );
SELECT "9th_position" FROM "history" WHERE "10th_position"='rabat ajax';
2-10645859-2
In what year is the tenth position xghajra?
CREATE TABLE "history" ( "year" text, "1st_position" text, "2nd_position" text, "9th_position" text, "10th_position" text );
SELECT "year" FROM "history" WHERE "10th_position"='xghajra';
2-10645859-2
In what year is the 9th position balzan?
CREATE TABLE "history" ( "year" text, "1st_position" text, "2nd_position" text, "9th_position" text, "10th_position" text );
SELECT "year" FROM "history" WHERE "9th_position"='balzan';
2-10645859-2
Where there is a tenth position of gozo, what is the first position?
CREATE TABLE "history" ( "year" text, "1st_position" text, "2nd_position" text, "9th_position" text, "10th_position" text );
SELECT "1st_position" FROM "history" WHERE "10th_position"='gozo';
2-10645859-2
In what year is the 9th position rabat ajax?
CREATE TABLE "history" ( "year" text, "1st_position" text, "2nd_position" text, "9th_position" text, "10th_position" text );
SELECT "year" FROM "history" WHERE "9th_position"='rabat ajax';
2-10645859-2
What was Hawthorn's score as the away team?
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 "away_team"='hawthorn';
2-10747009-10
Who was the away team that scored 7.6 (48)?
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" FROM "round_10" WHERE "away_team_score"='7.6 (48)';
2-10747009-10
Who was the away team at the game at Lake Oval?
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 "venue"='lake oval';
2-10747009-10
Who was the home team that scored 8.7 (55)?
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 "home_team" FROM "round_10" WHERE "home_team_score"='8.7 (55)';
2-10747009-10