question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Who is the coach of the team from Port Pirie?
CREATE TABLE "south_australia" ( "team" text, "coach" text, "home_ground" text, "location" text, "founded" text );
SELECT "coach" FROM "south_australia" WHERE "location"='port pirie';
2-1742186-16
Who is the coach of the team with home ground at Club Cove?
CREATE TABLE "south_australia" ( "team" text, "coach" text, "home_ground" text, "location" text, "founded" text );
SELECT "coach" FROM "south_australia" WHERE "home_ground"='club cove';
2-1742186-16
Which team was founded in 1970?
CREATE TABLE "south_australia" ( "team" text, "coach" text, "home_ground" text, "location" text, "founded" text );
SELECT "team" FROM "south_australia" WHERE "founded"='1970';
2-1742186-16
When did acharya shree koshalendraprasadji maharaj become acharya?
CREATE TABLE "acharyas" ( "acharya_number" real, "name_of_acharya" text, "born_on" text, "became_acharya_on" text, "death" text, "term" text );
SELECT "became_acharya_on" FROM "acharyas" WHERE "name_of_acharya"='acharya shree koshalendraprasadji maharaj';
2-17141425-1
What is the term of acharya shree vasudevprasadji maharaj?
CREATE TABLE "acharyas" ( "acharya_number" real, "name_of_acharya" text, "born_on" text, "became_acharya_on" text, "death" text, "term" text );
SELECT "term" FROM "acharyas" WHERE "name_of_acharya"='acharya shree vasudevprasadji maharaj';
2-17141425-1
What was the event where justin robbins had a record of 9-4-1?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "record"='9-4-1';
2-17624425-2
Where was the location where justin robbins fought against billy kidd?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "opponent"='billy kidd';
2-17624425-2
What was the method of resolution for the fight at cage warriors 39?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "event"='cage warriors 39';
2-17624425-2
A total larger than 302 and playoffs of 35 also list the total of regular seasons as what?
CREATE TABLE "top_goalscorers" ( "name" text, "years" text, "regular_season" real, "playoffs" real, "total" real );
SELECT SUM("regular_season") FROM "top_goalscorers" WHERE "playoffs"=35 AND "total">302;
2-16366700-2
What is the college/junior/club team (league) of lw position player mark miller, from a round greater than 4?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "round">4 AND "position"='lw' AND "player"='mark miller';
2-17310913-13
Who is the lw position player from a round greater than 10?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "player" FROM "draft_picks" WHERE "position"='lw' AND "round">10;
2-17310913-13
Who is the player from round 8?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "player" FROM "draft_picks" WHERE "round"=8;
2-17310913-13
What is the nationality of the player from round 7?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "nationality" FROM "draft_picks" WHERE "round"=7;
2-17310913-13
What is the nationality of the player from round 5?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "nationality" FROM "draft_picks" WHERE "round"=5;
2-17310913-13
What state had an elected/assumed office in 2013?
CREATE TABLE "list_of_current_northeast_governors" ( "governor" text, "state" text, "past" text, "party" text, "elected_assumed_office" real, "seat_up" real );
SELECT "state" FROM "list_of_current_northeast_governors" WHERE "elected_assumed_office"=2013;
2-17241257-1
What was the air date of the episode that has an 18-49 of 2.2/7?
CREATE TABLE "season_2_2009_2010_weekly_ratings" ( "episode" text, "air_date" text, "timeslot" text, "18_49" text, "viewers" real );
SELECT "air_date" FROM "season_2_2009_2010_weekly_ratings" WHERE "18_49"='2.2/7';
2-17443121-3
What was the air date of 'Gary tries to do it all'?
CREATE TABLE "season_2_2009_2010_weekly_ratings" ( "episode" text, "air_date" text, "timeslot" text, "18_49" text, "viewers" real );
SELECT "air_date" FROM "season_2_2009_2010_weekly_ratings" WHERE "episode"='gary tries to do it all';
2-17443121-3
What is the highest number of viewers for the episode that has an 18-49 of 1.8/6?
CREATE TABLE "season_2_2009_2010_weekly_ratings" ( "episode" text, "air_date" text, "timeslot" text, "18_49" text, "viewers" real );
SELECT MAX("viewers") FROM "season_2_2009_2010_weekly_ratings" WHERE "18_49"='1.8/6';
2-17443121-3
What was the timeslot for the episode with less than 6.76 viewers and an 18-49 of 1.9/5?
CREATE TABLE "season_2_2009_2010_weekly_ratings" ( "episode" text, "air_date" text, "timeslot" text, "18_49" text, "viewers" real );
SELECT "timeslot" FROM "season_2_2009_2010_weekly_ratings" WHERE "viewers"<6.76 AND "18_49"='1.9/5';
2-17443121-3
What is the timeslot for the episode with an 18-49 of 2.2/7?
CREATE TABLE "season_2_2009_2010_weekly_ratings" ( "episode" text, "air_date" text, "timeslot" text, "18_49" text, "viewers" real );
SELECT "timeslot" FROM "season_2_2009_2010_weekly_ratings" WHERE "18_49"='2.2/7';
2-17443121-3
What is the timeslot for 'gary has to choose' with an 18-49 of 1.8/5?
CREATE TABLE "season_2_2009_2010_weekly_ratings" ( "episode" text, "air_date" text, "timeslot" text, "18_49" text, "viewers" real );
SELECT "timeslot" FROM "season_2_2009_2010_weekly_ratings" WHERE "18_49"='1.8/5' AND "episode"='gary has to choose';
2-17443121-3
What is the location of the university that was established in 2000?
CREATE TABLE "current_women_s_teams" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real );
SELECT "location" FROM "current_women_s_teams" WHERE "established"=2000;
2-16432543-3
What year was the team with the nickname pride established?
CREATE TABLE "current_women_s_teams" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real );
SELECT COUNT("established") FROM "current_women_s_teams" WHERE "nickname"='pride';
2-16432543-3
What is the enrollment of the university established in or after 2011?
CREATE TABLE "current_women_s_teams" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real );
SELECT "enrollment" FROM "current_women_s_teams" WHERE "established">2011;
2-16432543-3
What country was ole ellefsæter from?
CREATE TABLE "men_s_50_km" ( "winner" text, "country" text, "winter_olympics" real, "fis_nordic_world_ski_championships" text, "holmenkollen" text );
SELECT "country" FROM "men_s_50_km" WHERE "winner"='ole ellefsæter';
2-174491-3
Who won the FIS Nordic World Ski Championships in 1972?
CREATE TABLE "men_s_50_km" ( "winner" text, "country" text, "winter_olympics" real, "fis_nordic_world_ski_championships" text, "holmenkollen" text );
SELECT "winner" FROM "men_s_50_km" WHERE "fis_nordic_world_ski_championships"='1972';
2-174491-3
For a country of Spain, place of t6, what is the Money ($)?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "money" FROM "final_round" WHERE "place"='t6' AND "country"='spain';
2-16881908-7
Which country has a to par of e?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "country" FROM "final_round" WHERE "to_par"='e';
2-16881908-7
Which player is from Australia, and has a place of t9?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "player" FROM "final_round" WHERE "place"='t9' AND "country"='australia';
2-16881908-7
What was the place for player John Merrick?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "place" FROM "final_round" WHERE "player"='john merrick';
2-16881908-7
Which country had a place of t1, as well as a score of 72-68-70-73=283?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "country" FROM "final_round" WHERE "place"='t1' AND "score"='72-68-70-73=283';
2-16881908-7
What place has jack renner as the player?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "place" FROM "first_round" WHERE "player"='jack renner';
2-17231331-4
What to par has The United States as the country, t8 as the place, and tommy valentine as the player?
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"='tommy valentine';
2-17231331-4
What to par has 66 as the score?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "to_par" FROM "first_round" WHERE "score"=66;
2-17231331-4
Mean of played with smaller than 7 conceded?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT AVG("played") FROM "torneo_clausura" WHERE "conceded"<7;
2-16788123-5
The highest position with more than 16 points and less than 7 concedes?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT MAX("position") FROM "torneo_clausura" WHERE "points">16 AND "conceded"<7;
2-16788123-5
The highest draws with smaller than 9 played?
CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real );
SELECT MAX("draws") FROM "torneo_clausura" WHERE "played"<9;
2-16788123-5
Which Home Town has a Took Office of 1983, and a District larger than 15?
CREATE TABLE "senate" ( "senator" text, "party" text, "district" real, "home_town" text, "took_office" real );
SELECT "home_town" FROM "senate" WHERE "took_office"=1983 AND "district">15;
2-17313426-3
Which Senator has a Party of republican, a Home Town of houston, and a District of 7?
CREATE TABLE "senate" ( "senator" text, "party" text, "district" real, "home_town" text, "took_office" real );
SELECT "senator" FROM "senate" WHERE "party"='republican' AND "home_town"='houston' AND "district"=7;
2-17313426-3
Which Home Town has a Senator of dan shelley?
CREATE TABLE "senate" ( "senator" text, "party" text, "district" real, "home_town" text, "took_office" real );
SELECT "home_town" FROM "senate" WHERE "senator"='dan shelley';
2-17313426-3
Which Took Office has a Party of democratic, a Home Town of victoria, and a District smaller than 18?
CREATE TABLE "senate" ( "senator" text, "party" text, "district" real, "home_town" text, "took_office" real );
SELECT COUNT("took_office") FROM "senate" WHERE "party"='democratic' AND "home_town"='victoria' AND "district"<18;
2-17313426-3
Which Took Office has a District of 29?
CREATE TABLE "senate" ( "senator" text, "party" text, "district" real, "home_town" text, "took_office" real );
SELECT AVG("took_office") FROM "senate" WHERE "district"=29;
2-17313426-3
What are the average Laps on Grid 15?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT AVG("laps") FROM "125cc_classification" WHERE "grid"=15;
2-16212245-3
What is the lowest number of Laps that have a Time of +24.440, and a Grid higher than 18?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT MIN("laps") FROM "125cc_classification" WHERE "time"='+24.440' AND "grid">18;
2-16212245-3
What is the highest number of Laps that have a Time of +18.366, and a Grid lower than 13?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT MAX("laps") FROM "125cc_classification" WHERE "grid"<13 AND "time"='+18.366';
2-16212245-3
What is the lowest Wins, when Season is 2011, when Podiums is 1, and when Poles is less than 0?
CREATE TABLE "career_summary" ( "season" text, "series" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text );
SELECT MIN("wins") FROM "career_summary" WHERE "season"='2011' AND "podiums"=1 AND "poles"<0;
2-16536958-1
What is Position, when Points is greater than 7, and when Series is Toyota Racing Series?
CREATE TABLE "career_summary" ( "season" text, "series" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text );
SELECT "position" FROM "career_summary" WHERE "points">7 AND "series"='toyota racing series';
2-16536958-1
What is the sum of Races, when Series is Toyota Racing Series, and when Podiums is greater than 3?
CREATE TABLE "career_summary" ( "season" text, "series" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text );
SELECT SUM("races") FROM "career_summary" WHERE "series"='toyota racing series' AND "podiums">3;
2-16536958-1
What is the average Podiums, when Wins is greater than 1, when Races is 2, and when Points is greater than 150?
CREATE TABLE "career_summary" ( "season" text, "series" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text );
SELECT AVG("podiums") FROM "career_summary" WHERE "wins">1 AND "races"=2 AND "points">150;
2-16536958-1
What is the total number of Poles, when Position is 6th, and when Points is less than 164?
CREATE TABLE "career_summary" ( "season" text, "series" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text );
SELECT COUNT("poles") FROM "career_summary" WHERE "position"='6th' AND "points"<164;
2-16536958-1
Which boys/girls school is a day school with an anglican denomination?
CREATE TABLE "current_member_schools" ( "school" text, "location" text, "enrolment" real, "founded" real, "denomination" text, "boys_girls" text, "day_boarding" text, "year_entered_competition" real );
SELECT "boys_girls" FROM "current_member_schools" WHERE "denomination"='anglican' AND "day_boarding"='day';
2-1717663-1
Which is the earliest founded day school to have entered the competition after 1958?
CREATE TABLE "current_member_schools" ( "school" text, "location" text, "enrolment" real, "founded" real, "denomination" text, "boys_girls" text, "day_boarding" text, "year_entered_competition" real );
SELECT MIN("founded") FROM "current_member_schools" WHERE "day_boarding"='day' AND "year_entered_competition">1958;
2-1717663-1
How many to par in England?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "second_round" WHERE "country"='england';
2-16514480-3
Where is David Frost from?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "player"='david frost';
2-16514480-3
Which country earned place T3 with a score of 70-68=138?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "place"='t3' AND "score"='70-68=138';
2-16514480-3
Which country had a score of 69-67=136?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "score"='69-67=136';
2-16514480-3
How many to par for Greg Norman?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "second_round" WHERE "player"='greg norman';
2-16514480-3
What was the high rebounds after game 14 for Denver?
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 "high_rebounds" FROM "game_log" WHERE "game">14 AND "team"='denver';
2-17323529-5
What was the latest game that Sacramento played?
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 MAX("game") FROM "game_log" WHERE "team"='sacramento';
2-17323529-5
What was the record of Utah?
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 "record" FROM "game_log" WHERE "team"='utah';
2-17323529-5
What is the parent magazine of Dengeki g's festival! deluxe?
CREATE TABLE "special_editions" ( "title" text, "parent_magazine" text, "magazine_type" text, "frequency" text, "magazine_run" text );
SELECT "parent_magazine" FROM "special_editions" WHERE "title"='dengeki g''s festival! deluxe';
2-16704362-4
How often does Dengeki girl's style come out?
CREATE TABLE "special_editions" ( "title" text, "parent_magazine" text, "magazine_type" text, "frequency" text, "magazine_run" text );
SELECT "frequency" FROM "special_editions" WHERE "parent_magazine"='dengeki girl''s style';
2-16704362-4
What titles come out monthly?
CREATE TABLE "special_editions" ( "title" text, "parent_magazine" text, "magazine_type" text, "frequency" text, "magazine_run" text );
SELECT "title" FROM "special_editions" WHERE "frequency"='monthly';
2-16704362-4
What is the parent magazine for Dengeki 5pb.?
CREATE TABLE "special_editions" ( "title" text, "parent_magazine" text, "magazine_type" text, "frequency" text, "magazine_run" text );
SELECT "parent_magazine" FROM "special_editions" WHERE "title"='dengeki 5pb.';
2-16704362-4
What is the magazine type that ran from March 3, 2009–February 5, 2010?
CREATE TABLE "special_editions" ( "title" text, "parent_magazine" text, "magazine_type" text, "frequency" text, "magazine_run" text );
SELECT "magazine_type" FROM "special_editions" WHERE "magazine_run"='march 3, 2009–february 5, 2010';
2-16704362-4
What is the frequency for the magazine that runs September 2, 2010?
CREATE TABLE "special_editions" ( "title" text, "parent_magazine" text, "magazine_type" text, "frequency" text, "magazine_run" text );
SELECT "frequency" FROM "special_editions" WHERE "magazine_run"='september 2, 2010';
2-16704362-4
What is the highest number of laps with a +1:23.297 time/retired and a grid larger than 4?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MAX("laps") FROM "race" WHERE "time_retired"='+1:23.297' AND "grid">4;
2-1706942-2
What is the time/retired with a toyota constructor and a 5 grid?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "race" WHERE "constructor"='toyota' AND "grid"=5;
2-1706942-2
What is the average number of laps with 16 grids?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("laps") FROM "race" WHERE "grid"=16;
2-1706942-2
What is the Kiplinger's Top 100 value of the university that was established in 1851?
CREATE TABLE "university_location_date_established" ( "university" text, "location" text, "established" real, "endowment_as_of_2008" text, "campus_area_acres" real, "kiplinger_s_top_100_values" text, "enrollment_as_of_2008" real );
SELECT "kiplinger_s_top_100_values" FROM "university_location_date_established" WHERE "established"=1851;
2-1641054-2
What was the endowment in 2008 of the college that was established in 1961?
CREATE TABLE "university_location_date_established" ( "university" text, "location" text, "established" real, "endowment_as_of_2008" text, "campus_area_acres" real, "kiplinger_s_top_100_values" text, "enrollment_as_of_2008" real );
SELECT "endowment_as_of_2008" FROM "university_location_date_established" WHERE "established"=1961;
2-1641054-2
On what day was the attendance that had a Tie value of 40?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "attendance" FROM "first_round_proper" WHERE "tie_no"='40';
2-16351829-1
Who was the home team for the away game that Canvey Island played?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "home_team" FROM "first_round_proper" WHERE "away_team"='canvey island';
2-16351829-1
On what day was there a Home game for Gillingham?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "attendance" FROM "first_round_proper" WHERE "home_team"='gillingham';
2-16351829-1
Which Pick has an Overall larger than 308, and a Position of rb?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MAX("pick") FROM "washington_redskins_draft_history" WHERE "overall">308 AND "position"='rb';
2-17100961-46
How much Overall has a Position of wr, and a College of alberta?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT SUM("overall") FROM "washington_redskins_draft_history" WHERE "position"='wr' AND "college"='alberta';
2-17100961-46
What is indiana college's average pick?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT AVG("pick") FROM "washington_redskins_draft_history" WHERE "college"='indiana';
2-17100961-46
Which College has an Overall of 308?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "college" FROM "washington_redskins_draft_history" WHERE "overall"=308;
2-17100961-46
What was the surface for the opponent Marcos Baghdatis?
CREATE TABLE "singles_20_10_10" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent" text, "score" text );
SELECT "surface" FROM "singles_20_10_10" WHERE "opponent"='marcos baghdatis';
2-1750635-8
WHAT IS THE 8TH THAT HAS A 7TH OF AUDIO BULLYS?
CREATE TABLE "2003_2009" ( "poll_year" text, "winner" text, "second" text, "third" text, "fourth" text, "fifth" text, "sixth" text, "seventh" text, "eighth" text, "ninth" text, "tenth" text );
SELECT "eighth" FROM "2003_2009" WHERE "seventh"='audio bullys';
2-17111812-1
WHAT IS THE POLL YEAR WITH A THIRD OF THE TING TINGS?
CREATE TABLE "2003_2009" ( "poll_year" text, "winner" text, "second" text, "third" text, "fourth" text, "fifth" text, "sixth" text, "seventh" text, "eighth" text, "ninth" text, "tenth" text );
SELECT "poll_year" FROM "2003_2009" WHERE "third"='the ting tings';
2-17111812-1
WHAT IS THE SIXTH WITH A SECOND OF WHITE LIES?
CREATE TABLE "2003_2009" ( "poll_year" text, "winner" text, "second" text, "third" text, "fourth" text, "fifth" text, "sixth" text, "seventh" text, "eighth" text, "ninth" text, "tenth" text );
SELECT "sixth" FROM "2003_2009" WHERE "second"='white lies';
2-17111812-1
WHAT IS THE WINNER WITH A FIFTH OF JOSS STONE?
CREATE TABLE "2003_2009" ( "poll_year" text, "winner" text, "second" text, "third" text, "fourth" text, "fifth" text, "sixth" text, "seventh" text, "eighth" text, "ninth" text, "tenth" text );
SELECT "winner" FROM "2003_2009" WHERE "fifth"='joss stone';
2-17111812-1
WHAT IS THE SECOND WITH A TENTH OF DAN BLACK?
CREATE TABLE "2003_2009" ( "poll_year" text, "winner" text, "second" text, "third" text, "fourth" text, "fifth" text, "sixth" text, "seventh" text, "eighth" text, "ninth" text, "tenth" text );
SELECT "second" FROM "2003_2009" WHERE "tenth"='dan black';
2-17111812-1
What average game has January 30 as the date?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT AVG("game") FROM "game_log" WHERE "date"='january 30';
2-17326036-7
What score has january 19 as the date?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='january 19';
2-17326036-7
What is the loaction attendance that has a game greater than 35, with January 30 as the date?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "game_log" WHERE "game">35 AND "date"='january 30';
2-17326036-7
What is the highest game that has January 5 as the date?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT MAX("game") FROM "game_log" WHERE "date"='january 5';
2-17326036-7
What is the highest rebounds that has conseco fieldhouse 11,964 as the location attendance?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "high_rebounds" FROM "game_log" WHERE "location_attendance"='conseco fieldhouse 11,964';
2-17326036-7
What is the highest lane value for a mark of 2:02.27 NR, with heats under 2?
CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text );
SELECT MAX("lane") FROM "semifinals" WHERE "mark"='2:02.27 nr' AND "heat"<2;
2-16936794-3
What is the mark for the runner from Mozambique?
CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text );
SELECT "mark" FROM "semifinals" WHERE "country"='mozambique';
2-16936794-3
Who was in lane 6 with a mark of 2:05.58 SB?
CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text );
SELECT "name" FROM "semifinals" WHERE "lane"=6 AND "mark"='2:05.58 sb';
2-16936794-3
What is the non-truncating vowel final stem for the example of k'ats-ma?
CREATE TABLE "nouns" ( "consonant_final_stem" text, "example_k_ats_man" text, "vowel_final_stem_truncating" text, "example_mama_father" text, "vowel_final_stem_non_truncating" text, "example_sakartvelo_georgia" text );
SELECT "vowel_final_stem_non_truncating" FROM "nouns" WHERE "example_k_ats_man"='k''ats-ma';
2-1730774-1
What is the truncating vowel final stem that has an example of mama-s?
CREATE TABLE "nouns" ( "consonant_final_stem" text, "example_k_ats_man" text, "vowel_final_stem_truncating" text, "example_mama_father" text, "vowel_final_stem_non_truncating" text, "example_sakartvelo_georgia" text );
SELECT "vowel_final_stem_truncating" FROM "nouns" WHERE "example_mama_father"='mama-s';
2-1730774-1
What is the example for "man" that has a truncating vowel final stem of -ø and a consonant final stem of -o?
CREATE TABLE "nouns" ( "consonant_final_stem" text, "example_k_ats_man" text, "vowel_final_stem_truncating" text, "example_mama_father" text, "vowel_final_stem_non_truncating" text, "example_sakartvelo_georgia" text );
SELECT "example_k_ats_man" FROM "nouns" WHERE "vowel_final_stem_truncating"='-ø' AND "consonant_final_stem"='-o';
2-1730774-1
What is the non-truncating vowel final stem that has an example of k'ats-s?
CREATE TABLE "nouns" ( "consonant_final_stem" text, "example_k_ats_man" text, "vowel_final_stem_truncating" text, "example_mama_father" text, "vowel_final_stem_non_truncating" text, "example_sakartvelo_georgia" text );
SELECT "vowel_final_stem_non_truncating" FROM "nouns" WHERE "example_k_ats_man"='k''ats-s';
2-1730774-1
What is the example for "man" that has an example for "father" of mam-is?
CREATE TABLE "nouns" ( "consonant_final_stem" text, "example_k_ats_man" text, "vowel_final_stem_truncating" text, "example_mama_father" text, "vowel_final_stem_non_truncating" text, "example_sakartvelo_georgia" text );
SELECT "example_k_ats_man" FROM "nouns" WHERE "example_mama_father"='mam-is';
2-1730774-1
What is the example for "father" that has a consonant final stem of -is?
CREATE TABLE "nouns" ( "consonant_final_stem" text, "example_k_ats_man" text, "vowel_final_stem_truncating" text, "example_mama_father" text, "vowel_final_stem_non_truncating" text, "example_sakartvelo_georgia" text );
SELECT "example_mama_father" FROM "nouns" WHERE "consonant_final_stem"='-is';
2-1730774-1
What round was Ken Irvin drafted?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT MAX("round") FROM "nfl_draft" WHERE "player"='ken irvin';
2-17386115-1
In what round was a player from Michigan selected?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT MAX("round") FROM "nfl_draft" WHERE "school_club_team"='michigan';
2-17386115-1