question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What is the Opponent with a Score that is 2–6, 6–4, 3–6?
CREATE TABLE "singles_5_5_runners_up" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "opponent" FROM "singles_5_5_runners_up" WHERE "score"='2–6, 6–4, 3–6';
2-15551996-3
What is the Outcome with a Date that is may 5, 2012?
CREATE TABLE "singles_5_5_runners_up" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "outcome" FROM "singles_5_5_runners_up" WHERE "date"='may 5, 2012';
2-15551996-3
What is the Outcome with an Opponent that is jelena janković?
CREATE TABLE "singles_5_5_runners_up" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "outcome" FROM "singles_5_5_runners_up" WHERE "opponent"='jelena janković';
2-15551996-3
What is the Tournament with a Score that is 2–6, 6–4, 3–6?
CREATE TABLE "singles_5_5_runners_up" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_5_5_runners_up" WHERE "score"='2–6, 6–4, 3–6';
2-15551996-3
Which week was on November 13, 1955 when the attendance was over 33,982?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT COUNT("week") FROM "schedule" WHERE "date"='november 13, 1955' AND "attendance">'33,982';
2-15765446-1
What is the Japanese name of the Province with a Korean name of Chungcheong-Bukdo?
CREATE TABLE "provinces_under_japanese_colonial_rule" ( "japanese_name" text, "kana" text, "hanja_kanji" text, "korean_name" text, "hangul" text );
SELECT "japanese_name" FROM "provinces_under_japanese_colonial_rule" WHERE "korean_name"='chungcheong-bukdo';
2-160510-4
What is the Hanja/Kanji of the Province with a Kana of ちゅうせいほくどう?
CREATE TABLE "provinces_under_japanese_colonial_rule" ( "japanese_name" text, "kana" text, "hanja_kanji" text, "korean_name" text, "hangul" text );
SELECT "hanja_kanji" FROM "provinces_under_japanese_colonial_rule" WHERE "kana"='ちゅうせいほくどう';
2-160510-4
What is the Kana of the Province with a Korean name of Chungcheong-Namdo?
CREATE TABLE "provinces_under_japanese_colonial_rule" ( "japanese_name" text, "kana" text, "hanja_kanji" text, "korean_name" text, "hangul" text );
SELECT "kana" FROM "provinces_under_japanese_colonial_rule" WHERE "korean_name"='chungcheong-namdo';
2-160510-4
What is the Hangul of the Province with a Kana of へいあんなんどう?
CREATE TABLE "provinces_under_japanese_colonial_rule" ( "japanese_name" text, "kana" text, "hanja_kanji" text, "korean_name" text, "hangul" text );
SELECT "hangul" FROM "provinces_under_japanese_colonial_rule" WHERE "kana"='へいあんなんどう';
2-160510-4
What is the Hangul of the Province with a Kana of ちゅうせいなんどう?
CREATE TABLE "provinces_under_japanese_colonial_rule" ( "japanese_name" text, "kana" text, "hanja_kanji" text, "korean_name" text, "hangul" text );
SELECT "hangul" FROM "provinces_under_japanese_colonial_rule" WHERE "kana"='ちゅうせいなんどう';
2-160510-4
What is the Hanja/Kanji of the Province with a Korean name of Chungcheong-Bukdo?
CREATE TABLE "provinces_under_japanese_colonial_rule" ( "japanese_name" text, "kana" text, "hanja_kanji" text, "korean_name" text, "hangul" text );
SELECT "hanja_kanji" FROM "provinces_under_japanese_colonial_rule" WHERE "korean_name"='chungcheong-bukdo';
2-160510-4
What were the Oct. temperatures for the city that had Nov. temperatures of 51/30?
CREATE TABLE "temperature" ( "city" text, "jan" text, "feb" text, "mar" text, "apr" text, "may" text, "jun" text, "jul" text, "aug" text, "sep" text, "oct" text, "nov" text, "dec" text );
SELECT "oct" FROM "temperature" WHERE "nov"='51/30';
2-15391055-1
What were the Feb temperatures in East Stroudsburg?
CREATE TABLE "temperature" ( "city" text, "jan" text, "feb" text, "mar" text, "apr" text, "may" text, "jun" text, "jul" text, "aug" text, "sep" text, "oct" text, "nov" text, "dec" text );
SELECT "feb" FROM "temperature" WHERE "city"='east stroudsburg';
2-15391055-1
What is the sum of completions that led to completion percentages of 65.4 and attempts under 451?
CREATE TABLE "statistics" ( "year" text, "comp" real, "att" real, "comppct" real, "yards" real, "td_s" real, "int_s" real, "rating" real );
SELECT SUM("comp") FROM "statistics" WHERE "comppct"=65.4 AND "att"<451;
2-1570558-1
What is the highest number of touchdowns that had yards of 574 and completions over 54?
CREATE TABLE "statistics" ( "year" text, "comp" real, "att" real, "comppct" real, "yards" real, "td_s" real, "int_s" real, "rating" real );
SELECT MAX("td_s") FROM "statistics" WHERE "yards"=574 AND "comp">54;
2-1570558-1
What regular season did the team reach the conference semifinals in the playoffs?
CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );
SELECT "regular_season" FROM "year_by_year" WHERE "playoffs"='conference semifinals';
2-15409403-1
When the regular season of 2nd, Northeast and the year was less than 2008 what was the total number of Division?
CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );
SELECT COUNT("division") FROM "year_by_year" WHERE "regular_season"='2nd, northeast' AND "year"<2008;
2-15409403-1
What division was the regular season 5th, Northeast?
CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );
SELECT "division" FROM "year_by_year" WHERE "regular_season"='5th, northeast';
2-15409403-1
What was the result when Jam Hsiao was nominated in 2012?
CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "nomination" text, "result" text );
SELECT "result" FROM "awards" WHERE "nomination"='jam hsiao' AND "year"=2012;
2-16069874-6
Which award is in the category of best music video?
CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "nomination" text, "result" text );
SELECT "award" FROM "awards" WHERE "category"='best music video';
2-16069874-6
Which Attendance has a Result of l 29–23?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "result"='l 29–23';
2-15345187-1
When has a Week of 1?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "week"=1;
2-15345187-1
Which Week has an Opponent of at seattle seahawks?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "week" FROM "schedule" WHERE "opponent"='at seattle seahawks';
2-15345187-1
Name the Result on october 15, 1995?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "date"='october 15, 1995';
2-15345187-1
Which Opponent has a Week larger than 2 on november 19, 1995?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "week">2 AND "date"='november 19, 1995';
2-15345187-1
What is the recorded conference that was a Wac Conference?
CREATE TABLE "automatic_bids" ( "school" text, "conference" text, "record_conf" text, "berth" text, "last_ncaa_appearance" text );
SELECT "record_conf" FROM "automatic_bids" WHERE "conference"='wac';
2-15925731-1
What conference has the Wichita State school?
CREATE TABLE "automatic_bids" ( "school" text, "conference" text, "record_conf" text, "berth" text, "last_ncaa_appearance" text );
SELECT "conference" FROM "automatic_bids" WHERE "school"='wichita state';
2-15925731-1
What is the rank for Burghley?
CREATE TABLE "achievements_competitions" ( "competition" text, "place" text, "year" real, "horse" text, "rank" text );
SELECT "rank" FROM "achievements_competitions" WHERE "place"='burghley';
2-16178073-1
What horse was at the Badminton Horse Trials?
CREATE TABLE "achievements_competitions" ( "competition" text, "place" text, "year" real, "horse" text, "rank" text );
SELECT "horse" FROM "achievements_competitions" WHERE "competition"='badminton horse trials';
2-16178073-1
What was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goals?
CREATE TABLE "list_of_top_association_football_goal_sc" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real );
SELECT MIN("rank") FROM "list_of_top_association_football_goal_sc" WHERE "matches"<285 AND "name"='des dickson' AND "goals"<219;
2-1590321-71
How many goals on average had 644 matches and a rank bigger than 3?
CREATE TABLE "list_of_top_association_football_goal_sc" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real );
SELECT AVG("goals") FROM "list_of_top_association_football_goal_sc" WHERE "matches"=644 AND "rank">3;
2-1590321-71
How many ranks had 205 matches?
CREATE TABLE "list_of_top_association_football_goal_sc" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real );
SELECT COUNT("rank") FROM "list_of_top_association_football_goal_sc" WHERE "matches"=205;
2-1590321-71
What was Jimmy Jones' rank when the matches were smaller than 285?
CREATE TABLE "list_of_top_association_football_goal_sc" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real );
SELECT MAX("rank") FROM "list_of_top_association_football_goal_sc" WHERE "name"='jimmy jones' AND "matches"<285;
2-1590321-71
Which date had the Hornets as the home team?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text );
SELECT "date" FROM "april" WHERE "home"='hornets';
2-16140345-9
What is the To par score corresponding to the winning score of 64-69-67-66=266?
CREATE TABLE "pga_tour_wins_8" ( "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "to_par" FROM "pga_tour_wins_8" WHERE "winning_score"='64-69-67-66=266';
2-1602858-1
What was the To par score for the tournament with a margin of victory of 1 stroke?
CREATE TABLE "pga_tour_wins_8" ( "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "to_par" FROM "pga_tour_wins_8" WHERE "margin_of_victory"='1 stroke';
2-1602858-1
What was the winning score for the tournament with a margin of victory of 7 strokes?
CREATE TABLE "pga_tour_wins_8" ( "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "winning_score" FROM "pga_tour_wins_8" WHERE "margin_of_victory"='7 strokes';
2-1602858-1
What day in December was the game that resulted in a record of 6-3-1?
CREATE TABLE "schedule_and_results" ( "game" real, "december" real, "opponent" text, "score" text, "record" text );
SELECT SUM("december") FROM "schedule_and_results" WHERE "record"='6-3-1';
2-15950317-3
How many were in attendance against the Oakland Raiders after week 7?
CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT SUM("attendance") FROM "season_schedule" WHERE "opponent"='oakland raiders' AND "week">7;
2-15412699-1
What is the average attendance for the New York Jets?
CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT AVG("attendance") FROM "season_schedule" WHERE "opponent"='new york jets';
2-15412699-1
On what week were there 26,243 in attendance on September 21, 1969?
CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT COUNT("week") FROM "season_schedule" WHERE "date"='september 21, 1969' AND "attendance"<'26,243';
2-15412699-1
Who was the opponent at Pasir Gudang, Malaysia with a match larger than 2?
CREATE TABLE "pre_season_friendlies" ( "match" real, "date" text, "tournament" text, "location" text, "opponent_team" text, "score" text );
SELECT "opponent_team" FROM "pre_season_friendlies" WHERE "match">2 AND "location"='pasir gudang, malaysia';
2-15841571-2
Who was the opponent at the match smaller than 3?
CREATE TABLE "pre_season_friendlies" ( "match" real, "date" text, "tournament" text, "location" text, "opponent_team" text, "score" text );
SELECT "opponent_team" FROM "pre_season_friendlies" WHERE "match"<3;
2-15841571-2
Where was the game when Police S.A. was the opponent?
CREATE TABLE "pre_season_friendlies" ( "match" real, "date" text, "tournament" text, "location" text, "opponent_team" text, "score" text );
SELECT "location" FROM "pre_season_friendlies" WHERE "opponent_team"='police s.a.';
2-15841571-2
Which League has a FA Cup larger than 0, and a Player of simon read, and a League Cup larger than 1?
CREATE TABLE "top_scorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "fa_cup" real, "fa_trophy" real, "league_cup" real, "total" real );
SELECT MIN("league") FROM "top_scorers_in_order_of_league_goals" WHERE "fa_cup">0 AND "player"='simon read' AND "league_cup">1;
2-15567240-4
What kind of Total that has a League Cup larger than 3, and a League smaller than 16?
CREATE TABLE "top_scorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "fa_cup" real, "fa_trophy" real, "league_cup" real, "total" real );
SELECT COUNT("total") FROM "top_scorers_in_order_of_league_goals" WHERE "league_cup">3 AND "league"<16;
2-15567240-4
Which League has a League Cup smaller than 0?
CREATE TABLE "top_scorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "fa_cup" real, "fa_trophy" real, "league_cup" real, "total" real );
SELECT MIN("league") FROM "top_scorers_in_order_of_league_goals" WHERE "league_cup"<0;
2-15567240-4
Which League has a Total smaller than 16, a Player of ken mckenna and a League Cup larger than 0?
CREATE TABLE "top_scorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "fa_cup" real, "fa_trophy" real, "league_cup" real, "total" real );
SELECT MAX("league") FROM "top_scorers_in_order_of_league_goals" WHERE "total"<16 AND "player"='ken mckenna' AND "league_cup">0;
2-15567240-4
Which FA Cup that has a League Cup larger than 3 and a League smaller than 16?
CREATE TABLE "top_scorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "fa_cup" real, "fa_trophy" real, "league_cup" real, "total" real );
SELECT AVG("fa_cup") FROM "top_scorers_in_order_of_league_goals" WHERE "league_cup">3 AND "league"<16;
2-15567240-4
How many list entry numbers are located in Platting Road, Lydgate?
CREATE TABLE "oldham" ( "name" text, "location" text, "type" text, "completed" text, "list_entry_number" real );
SELECT COUNT("list_entry_number") FROM "oldham" WHERE "location"='platting road, lydgate';
2-15906728-4
Which type has list entry number of 1356677?
CREATE TABLE "oldham" ( "name" text, "location" text, "type" text, "completed" text, "list_entry_number" real );
SELECT "type" FROM "oldham" WHERE "list_entry_number"=1356677;
2-15906728-4
What is the completed date of the church with list entry number 1068071?
CREATE TABLE "oldham" ( "name" text, "location" text, "type" text, "completed" text, "list_entry_number" real );
SELECT "completed" FROM "oldham" WHERE "type"='church' AND "list_entry_number"=1068071;
2-15906728-4
Who were the scorers in the game against neuchâtel xamax played on 10 December 1985?
CREATE TABLE "uefa_cup" ( "date" text, "opponent" text, "venue" text, "result" text, "scorers" text );
SELECT "scorers" FROM "uefa_cup" WHERE "opponent"='neuchâtel xamax' AND "date"='10 december 1985';
2-15767661-5
What date was the game played in where hegarty was the scorer?
CREATE TABLE "uefa_cup" ( "date" text, "opponent" text, "venue" text, "result" text, "scorers" text );
SELECT "date" FROM "uefa_cup" WHERE "scorers"='hegarty';
2-15767661-5
Who is the callsign that has ICAO of SCO?
CREATE TABLE "see_also" ( "airlines" text, "iata" text, "icao" text, "callsign" text, "commenced_operations" real );
SELECT "callsign" FROM "see_also" WHERE "icao"='sco';
2-15520072-1
Who is the commenced operations that has icao of slk?
CREATE TABLE "see_also" ( "airlines" text, "iata" text, "icao" text, "callsign" text, "commenced_operations" real );
SELECT "commenced_operations" FROM "see_also" WHERE "icao"='slk';
2-15520072-1
Who is the call sign that has a commenced operation before 1976?
CREATE TABLE "see_also" ( "airlines" text, "iata" text, "icao" text, "callsign" text, "commenced_operations" real );
SELECT "callsign" FROM "see_also" WHERE "commenced_operations"<1976;
2-15520072-1
What is the HDTV of the Music Content Channel?
CREATE TABLE "others" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text );
SELECT "hdtv" FROM "others" WHERE "content"='music';
2-15887683-17
What is the Television Service offering Cartomanzia?
CREATE TABLE "others" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text );
SELECT "television_service" FROM "others" WHERE "content"='cartomanzia';
2-15887683-17
What Country's content is Televendite?
CREATE TABLE "others" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text );
SELECT "country" FROM "others" WHERE "content"='televendite';
2-15887683-17
What Country's Content is TV Locale?
CREATE TABLE "others" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text );
SELECT "country" FROM "others" WHERE "content"='tv locale';
2-15887683-17
How many golds had a silver of more than 1, rank more than 1, total of more than 4 when the bronze was also more than 4?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("gold") FROM "medals_table" WHERE "silver">1 AND "rank">1 AND "total">4 AND "bronze">4;
2-15508225-3
What is the total of rank when gold is 2 and total is more than 4?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("rank") FROM "medals_table" WHERE "gold"=2 AND "total">4;
2-15508225-3
What is the total number of bronze when gold is less than 1 and silver is more than 1?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("bronze") FROM "medals_table" WHERE "gold"<1 AND "silver">1;
2-15508225-3
What is the total of rank when silver is more than 1, gold is 2, and total is more than 4?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("rank") FROM "medals_table" WHERE "silver">1 AND "gold"=2 AND "total">4;
2-15508225-3
What is the Wins with a Top-25 of 3, and a Top-5 larger than 1?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT AVG("wins") FROM "summary" WHERE "top_25"=3 AND "top_5">1;
2-1558607-6
Which Cuts made has a Top-5 smaller than 3, and a Top-25 smaller than 6, and an Events of 10?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT "cuts_made" FROM "summary" WHERE "top_5"<3 AND "top_25"<6 AND "events"=10;
2-1558607-6
Which Tournament has a Cuts made smaller than 9, and an Events of 10?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT "tournament" FROM "summary" WHERE "cuts_made"<9 AND "events"=10;
2-1558607-6
What is the sum of Points for 250cc class, ranked 13th, later than 1955?
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT SUM("points") FROM "motorcycle_grand_prix_results" WHERE "class"='250cc' AND "rank"='13th' AND "year">1955;
2-15892903-2
What is the Class for a year later than 1958, with 4 points?
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT "class" FROM "motorcycle_grand_prix_results" WHERE "year">1958 AND "points"=4;
2-15892903-2
What is the average Year when there were more than 3 points, for MV Agusta and ranked 10th?
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT AVG("year") FROM "motorcycle_grand_prix_results" WHERE "points">3 AND "team"='mv agusta' AND "rank"='10th';
2-15892903-2
What Team has a Class of 350cc, with less than 13 points in 1959?
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT "team" FROM "motorcycle_grand_prix_results" WHERE "class"='350cc' AND "points"<13 AND "year"=1959;
2-15892903-2
Which event was held at Manly Beach?
CREATE TABLE "tournaments" ( "date" text, "location" text, "country" text, "event" text, "winner" text, "runner_up" text );
SELECT "event" FROM "tournaments" WHERE "location"='manly beach';
2-16135024-3
What was the location of the Havaianas Beachley Classic, held in Australia?
CREATE TABLE "tournaments" ( "date" text, "location" text, "country" text, "event" text, "winner" text, "runner_up" text );
SELECT "location" FROM "tournaments" WHERE "country"='australia' AND "event"='havaianas beachley classic';
2-16135024-3
Which event was held in Brazil?
CREATE TABLE "tournaments" ( "date" text, "location" text, "country" text, "event" text, "winner" text, "runner_up" text );
SELECT "event" FROM "tournaments" WHERE "country"='brazil';
2-16135024-3
The University of Colorado hosted what region?
CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );
SELECT "region" FROM "first_and_second_rounds" WHERE "host"='university of colorado';
2-15480222-4
Peterson Gym is in what city?
CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );
SELECT "city" FROM "first_and_second_rounds" WHERE "venue"='peterson gym';
2-15480222-4
Mideast region host University of Tennessee is in what state?
CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );
SELECT "state" FROM "first_and_second_rounds" WHERE "region"='mideast' AND "host"='university of tennessee';
2-15480222-4
What city is east region venue University Hall (University of Virginia) in?
CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );
SELECT "city" FROM "first_and_second_rounds" WHERE "region"='east' AND "venue"='university hall (university of virginia)';
2-15480222-4
What is the venue at Stanford University?
CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );
SELECT "venue" FROM "first_and_second_rounds" WHERE "host"='stanford university';
2-15480222-4
What is the venue in Seattle?
CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );
SELECT "venue" FROM "first_and_second_rounds" WHERE "city"='seattle';
2-15480222-4
What team won the Tour de Santa Catarina?
CREATE TABLE "2007" ( "date" text, "race_name" text, "location" text, "uci_rating" real, "winner" text, "team" text );
SELECT "team" FROM "2007" WHERE "race_name"='tour de santa catarina';
2-15519312-1
What is Relax-Gam's average UCI Rating?
CREATE TABLE "2007" ( "date" text, "race_name" text, "location" text, "uci_rating" real, "winner" text, "team" text );
SELECT AVG("uci_rating") FROM "2007" WHERE "team"='relax-gam';
2-15519312-1
What is Vuelta a Ecuador's lowest UCI Rating?
CREATE TABLE "2007" ( "date" text, "race_name" text, "location" text, "uci_rating" real, "winner" text, "team" text );
SELECT MIN("uci_rating") FROM "2007" WHERE "race_name"='vuelta a ecuador';
2-15519312-1
What was the result of the game attended by 54,110?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "attendance"='54,110';
2-15345444-1
What was the date of the game attended by 45,122?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "attendance"='45,122';
2-15345444-1
What is the earliest week with a game attended by 60,233?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT MIN("week") FROM "schedule" WHERE "attendance"='60,233';
2-15345444-1
What is the latest week with a game with a result of l 12–7?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT MAX("week") FROM "schedule" WHERE "result"='l 12–7';
2-15345444-1
What is Runner(s)-up, when Tournament is MCI Classic?
CREATE TABLE "pga_tour_wins_6" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "runner_s_up" FROM "pga_tour_wins_6" WHERE "tournament"='mci classic';
2-1580725-2
What is Winning Score, when Date is Jul 27, 1997?
CREATE TABLE "pga_tour_wins_6" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "winning_score" FROM "pga_tour_wins_6" WHERE "date"='jul 27, 1997';
2-1580725-2
What is Winning Score, when Runner(s)-up is Ted Purdy?
CREATE TABLE "pga_tour_wins_6" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "winning_score" FROM "pga_tour_wins_6" WHERE "runner_s_up"='ted purdy';
2-1580725-2
With 10,894 students enrolled, in what year was this private RU/VH institution located in Troy, New York founded?
CREATE TABLE "institutions" ( "location" text, "control" text, "type" text, "enrollment" real, "founded" real );
SELECT AVG("founded") FROM "institutions" WHERE "type"='ru/vh' AND "control"='private' AND "enrollment">'10,894' AND "location"='troy, new york';
2-15851155-1
What is the enrollment number for the public institution in Golden, Colorado founded after 1874?
CREATE TABLE "institutions" ( "location" text, "control" text, "type" text, "enrollment" real, "founded" real );
SELECT AVG("enrollment") FROM "institutions" WHERE "control"='public' AND "location"='golden, colorado' AND "founded">1874;
2-15851155-1
Which Team has a Year smaller than 2007, and a Class of gts?
CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text );
SELECT "team" FROM "24_hours_of_le_mans_results" WHERE "year"<2007 AND "class"='gts';
2-1616581-4
In what year Year has a Co-Drivers of jérôme policand christopher campbell?
CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text );
SELECT SUM("year") FROM "24_hours_of_le_mans_results" WHERE "co_drivers"='jérôme policand christopher campbell';
2-1616581-4
What is Language, when Content is Monoscopio?
CREATE TABLE "tv_services_for_sky_italia_costumers" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text );
SELECT "language" FROM "tv_services_for_sky_italia_costumers" WHERE "content"='monoscopio';
2-15887683-20
What is Television Service, when Content is Presentazione?
CREATE TABLE "tv_services_for_sky_italia_costumers" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text );
SELECT "television_service" FROM "tv_services_for_sky_italia_costumers" WHERE "content"='presentazione';
2-15887683-20
What is Package/Option, when Television Service is Sky Inside?
CREATE TABLE "tv_services_for_sky_italia_costumers" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text );
SELECT "package_option" FROM "tv_services_for_sky_italia_costumers" WHERE "television_service"='sky inside';
2-15887683-20
What is Package/Option, when Television Service is Sky Inside?
CREATE TABLE "tv_services_for_sky_italia_costumers" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text );
SELECT "package_option" FROM "tv_services_for_sky_italia_costumers" WHERE "television_service"='sky inside';
2-15887683-20
What is the lowest Draw, when the Song is "The Innocent Days"?
CREATE TABLE "references" ( "draw" real, "song" text, "performer" text, "points" real, "rank" text );
SELECT MIN("draw") FROM "references" WHERE "song"='\"the innocent days\"';
2-15697106-1