question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What number of Points are shown for Team Paulistano where the Drawn is less than 2 and the Against is less than 15?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT COUNT("points") FROM "campeonato_paulista" WHERE "drawn"<2 AND "team"='paulistano' AND "against"<15;
2-15418319-1
What is the Lowest lost for Team Ypiranga-SP where the games Played is more than 10 and the goals Against is greater than 50?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MIN("lost") FROM "campeonato_paulista" WHERE "played">10 AND "team"='ypiranga-sp' AND "against">50;
2-15418319-1
What is the highest number of Played games with a Position smaller than 2 and Drawn games less than 4?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MAX("played") FROM "campeonato_paulista" WHERE "position"<2 AND "drawn"<4;
2-15418319-1
What is the average number of runner-up that National University, which has more than 2 total championships, has?
CREATE TABLE "number_of_championships_by_school" ( "university" text, "men_s" real, "women_s" real, "runner_up" real, "total_championships" real );
SELECT AVG("runner_up") FROM "number_of_championships_by_school" WHERE "university"='national university' AND "total_championships">2;
2-16086143-3
What is the lowest number of total championships of the university with 2 men's and more than 2 women's?
CREATE TABLE "number_of_championships_by_school" ( "university" text, "men_s" real, "women_s" real, "runner_up" real, "total_championships" real );
SELECT MIN("total_championships") FROM "number_of_championships_by_school" WHERE "men_s"=2 AND "women_s">2;
2-16086143-3
How many runner-ups does the university with more than 0 men's and less than 4 total championships have?
CREATE TABLE "number_of_championships_by_school" ( "university" text, "men_s" real, "women_s" real, "runner_up" real, "total_championships" real );
SELECT "runner_up" FROM "number_of_championships_by_school" WHERE "men_s">0 AND "total_championships"<4;
2-16086143-3
What is the average total championships of the university with more than 0 women's, less than 4 runner-ups, and less than 0 men's?
CREATE TABLE "number_of_championships_by_school" ( "university" text, "men_s" real, "women_s" real, "runner_up" real, "total_championships" real );
SELECT AVG("total_championships") FROM "number_of_championships_by_school" WHERE "women_s">0 AND "runner_up"<4 AND "men_s"<0;
2-16086143-3
What is the lowest number of total championships of the University of Santo Tomas, which has less than 2 men's?
CREATE TABLE "number_of_championships_by_school" ( "university" text, "men_s" real, "women_s" real, "runner_up" real, "total_championships" real );
SELECT MIN("total_championships") FROM "number_of_championships_by_school" WHERE "university"='university of santo tomas' AND "men_s"<2;
2-16086143-3
Who was on the Progressive ticket when John T. Norton was on the Democratic ticket?
CREATE TABLE "1916_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_ticket" text, "prohibition_ticket" text, "progressive_ticket" text, "independence_league_ticket" text );
SELECT "progressive_ticket" FROM "1916_state_election_results" WHERE "democratic_ticket"='john t. norton';
2-15563550-6
What name is under the Socialist ticket when Thomas J. Kreuzer was on the Democratic ticket?
CREATE TABLE "1916_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_ticket" text, "prohibition_ticket" text, "progressive_ticket" text, "independence_league_ticket" text );
SELECT "socialist_ticket" FROM "1916_state_election_results" WHERE "democratic_ticket"='thomas j. kreuzer';
2-15563550-6
Who ran under the Republican ticket when Frank H. Hiscock ran under the Progressive ticket?
CREATE TABLE "1916_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_ticket" text, "prohibition_ticket" text, "progressive_ticket" text, "independence_league_ticket" text );
SELECT "republican_ticket" FROM "1916_state_election_results" WHERE "progressive_ticket"='frank h. hiscock';
2-15563550-6
What name ran for the Prohibition ticket when the Progressive ticket was Eugene M. Travis?
CREATE TABLE "1916_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_ticket" text, "prohibition_ticket" text, "progressive_ticket" text, "independence_league_ticket" text );
SELECT "prohibition_ticket" FROM "1916_state_election_results" WHERE "progressive_ticket"='eugene m. travis';
2-15563550-6
When Coleridge A. Hart ran under the Prohibition ticket who ran under the Independence League ticket?
CREATE TABLE "1916_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_ticket" text, "prohibition_ticket" text, "progressive_ticket" text, "independence_league_ticket" text );
SELECT "independence_league_ticket" FROM "1916_state_election_results" WHERE "prohibition_ticket"='coleridge a. hart';
2-15563550-6
With the Republican ticket of Frank M. Williams who was the Progressive ticket?
CREATE TABLE "1916_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_ticket" text, "prohibition_ticket" text, "progressive_ticket" text, "independence_league_ticket" text );
SELECT "progressive_ticket" FROM "1916_state_election_results" WHERE "republican_ticket"='frank m. williams';
2-15563550-6
What kind of Prohibition ticket that has a Office of lieutenant governor?
CREATE TABLE "1898_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_labor_ticket" text, "prohibition_ticket" text, "independent_citizens_ticket" text );
SELECT "prohibition_ticket" FROM "1898_state_election_results" WHERE "office"='lieutenant governor';
2-15563905-1
Which Socialist Labor ticket has a Office of secretary of state?
CREATE TABLE "1898_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_labor_ticket" text, "prohibition_ticket" text, "independent_citizens_ticket" text );
SELECT "socialist_labor_ticket" FROM "1898_state_election_results" WHERE "office"='secretary of state';
2-15563905-1
What kind of Independent Citizens' ticket that has a Republican ticket of william j. morgan?
CREATE TABLE "1898_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_labor_ticket" text, "prohibition_ticket" text, "independent_citizens_ticket" text );
SELECT "independent_citizens_ticket" FROM "1898_state_election_results" WHERE "republican_ticket"='william j. morgan';
2-15563905-1
What kind of Republican ticket has a Prohibition ticket of stephen mead wing?
CREATE TABLE "1898_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_labor_ticket" text, "prohibition_ticket" text, "independent_citizens_ticket" text );
SELECT "republican_ticket" FROM "1898_state_election_results" WHERE "prohibition_ticket"='stephen mead wing';
2-15563905-1
What is the kind of Democratic ticket has a Office of comptroller?
CREATE TABLE "1898_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_labor_ticket" text, "prohibition_ticket" text, "independent_citizens_ticket" text );
SELECT "democratic_ticket" FROM "1898_state_election_results" WHERE "office"='comptroller';
2-15563905-1
Which Prohibition ticket has a Socialist Labor ticket of joseph smith?
CREATE TABLE "1898_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_labor_ticket" text, "prohibition_ticket" text, "independent_citizens_ticket" text );
SELECT "prohibition_ticket" FROM "1898_state_election_results" WHERE "socialist_labor_ticket"='joseph smith';
2-15563905-1
What is the lowest grid number when Colin Edwards is the rider?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT MIN("grid") FROM "moto_gp_classification" WHERE "rider"='colin edwards';
2-16175675-1
What is the time/retired when there are less than 22 laps and honda is the manufacturer?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "moto_gp_classification" WHERE "laps"<22 AND "manufacturer"='honda';
2-16175675-1
What is the average number of laps when the grid number is 9?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("laps") FROM "moto_gp_classification" WHERE "grid"=9;
2-16175675-1
What is the highest number of laps when honda is the manufacturer and the grid number is 12?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT MAX("laps") FROM "moto_gp_classification" WHERE "manufacturer"='honda' AND "grid"=12;
2-16175675-1
Who is the rider when the grid number is 3?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT "rider" FROM "moto_gp_classification" WHERE "grid"=3;
2-16175675-1
How many laps were driven when the time/retired is +44.284?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("laps") FROM "moto_gp_classification" WHERE "time_retired"='+44.284';
2-16175675-1
What is the value of the coin weighing 10.5 g and made of cupronickel?
CREATE TABLE "coins" ( "value" text, "equiv" text, "diameter" text, "weight" text, "composition" text );
SELECT "value" FROM "coins" WHERE "composition"='cupronickel' AND "weight"='10.5 g';
2-158806-3
What is the coin with a € equivalency of 0.30 made of?
CREATE TABLE "coins" ( "value" text, "equiv" text, "diameter" text, "weight" text, "composition" text );
SELECT "composition" FROM "coins" WHERE "equiv"='0.30';
2-158806-3
What is the coin that weighs 3 g made of?
CREATE TABLE "coins" ( "value" text, "equiv" text, "diameter" text, "weight" text, "composition" text );
SELECT "composition" FROM "coins" WHERE "weight"='3 g';
2-158806-3
What is the diameter of the coin with a € equivalence of 0.60?
CREATE TABLE "coins" ( "value" text, "equiv" text, "diameter" text, "weight" text, "composition" text );
SELECT "diameter" FROM "coins" WHERE "equiv"='0.60';
2-158806-3
How much does the coin with a 14mm diameter weigh?
CREATE TABLE "coins" ( "value" text, "equiv" text, "diameter" text, "weight" text, "composition" text );
SELECT "weight" FROM "coins" WHERE "diameter"='14mm';
2-158806-3
What is the coverage for the 99.5mhz frequency?
CREATE TABLE "monster_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text );
SELECT "coverage" FROM "monster_radio_stations" WHERE "frequency"='99.5mhz';
2-15945060-1
What is the power in kW corresponding to the station that covers General Santos?
CREATE TABLE "monster_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text );
SELECT "power_k_w" FROM "monster_radio_stations" WHERE "coverage"='general santos';
2-15945060-1
What is the branding for the station with a frequency of 93.1mhz and a coverage of Zamboanga?
CREATE TABLE "monster_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text );
SELECT "branding" FROM "monster_radio_stations" WHERE "frequency"='93.1mhz' AND "coverage"='zamboanga';
2-15945060-1
What is the frequency for the 10kw station with DXEZ as its callsign?
CREATE TABLE "monster_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text );
SELECT "frequency" FROM "monster_radio_stations" WHERE "power_k_w"='10kw' AND "callsign"='dxez';
2-15945060-1
What is the frequency for the station with DYBT as its callsign?
CREATE TABLE "monster_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text );
SELECT "frequency" FROM "monster_radio_stations" WHERE "callsign"='dybt';
2-15945060-1
What is the branding for the station with a frequency of 93.1mhz and a callsign of DWRX?
CREATE TABLE "monster_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text );
SELECT "branding" FROM "monster_radio_stations" WHERE "frequency"='93.1mhz' AND "callsign"='dwrx';
2-15945060-1
What is Women's Doubles, when Year is 2007?
CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "women_s_doubles" FROM "past_winners" WHERE "year"=2007;
2-15740721-1
Can you tell me lowest Rank that has the Capacity in use of 93.6%, and the Total Passengers larger than 4,679,457?
CREATE TABLE "brazil_s_15_busiest_airports_by_passenge" ( "rank" real, "location" text, "total_passengers" real, "annual_change" text, "capacity_in_use" text );
SELECT MIN("rank") FROM "brazil_s_15_busiest_airports_by_passenge" WHERE "capacity_in_use"='93.6%' AND "total_passengers">'4,679,457';
2-15494883-14
Can you tell me the lowest Total Passengers than has the Location of salvador, and the Rank larger than 5?
CREATE TABLE "brazil_s_15_busiest_airports_by_passenge" ( "rank" real, "location" text, "total_passengers" real, "annual_change" text, "capacity_in_use" text );
SELECT MIN("total_passengers") FROM "brazil_s_15_busiest_airports_by_passenge" WHERE "location"='salvador' AND "rank">5;
2-15494883-14
Can you tell me the Annual change that has the Location of manaus?
CREATE TABLE "brazil_s_15_busiest_airports_by_passenge" ( "rank" real, "location" text, "total_passengers" real, "annual_change" text, "capacity_in_use" text );
SELECT "annual_change" FROM "brazil_s_15_busiest_airports_by_passenge" WHERE "location"='manaus';
2-15494883-14
What is the average number of cuts made when there were more than 2 tournaments played in 2011?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "best_finish" text, "earnings" text, "scoring_average" real );
SELECT AVG("cuts_made") FROM "lpga_tour_career_summary" WHERE "tournaments_played">2 AND "year"=2011;
2-15870501-2
What is the total number of wins with 10 cuts made and a score average under 74.09?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "best_finish" text, "earnings" text, "scoring_average" real );
SELECT COUNT("wins") FROM "lpga_tour_career_summary" WHERE "cuts_made"=10 AND "scoring_average"<74.09;
2-15870501-2
What is Madeleine Dupont's shot pct.?
CREATE TABLE "standings" ( "locale" text, "skip" text, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text );
SELECT "shot_pct" FROM "standings" WHERE "skip"='madeleine dupont';
2-1554808-2
Can you tell me the Score that has the High assists of rafer alston (8)?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "high_assists"='rafer alston (8)';
2-15872814-8
Can you tell me the High points that has the High rebounds of rafer alston (9)?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_points" FROM "game_log" WHERE "high_rebounds"='rafer alston (9)';
2-15872814-8
Can you tell me the Score that has the Date of april 8?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='april 8';
2-15872814-8
Which boys' school wears Royal Blue and Gold and entered the competition in 1929?
CREATE TABLE "member_schools" ( "school" text, "location" text, "enrolment" real, "founded" real, "denomination" text, "boys_girls" text, "day_boarding" text, "year_entered_competition" real, "school_colors" text );
SELECT "school" FROM "member_schools" WHERE "boys_girls"='boys' AND "year_entered_competition"=1929 AND "school_colors"='royal blue and gold';
2-1553749-1
What's the highest attendance for a game the Texan's played at Arrowhead Stadium?
CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real );
SELECT MAX("attendance") FROM "preseason" WHERE "game_site"='arrowhead stadium';
2-15399928-3
Who did the Texan's play on Week 4?
CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real );
SELECT "opponent" FROM "preseason" WHERE "week"='4';
2-15399928-3
What's the date for HOF week?
CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real );
SELECT "date" FROM "preseason" WHERE "week"='hof';
2-15399928-3
What is Total, when FA Cup is 1 0 (3)?
CREATE TABLE "top_goalscorers" ( "name" text, "league" text, "fa_cup" text, "league_cup" text, "football_league_trophy" text, "watney_cup" text, "welsh_cup" text, "total" text );
SELECT "total" FROM "top_goalscorers" WHERE "fa_cup"='1 0 (3)';
2-15929315-3
What is the lowest number of delegates when John McCain was the candidate with less than 45 candidates?
CREATE TABLE "results" ( "candidate" text, "votes" real, "percentage" text, "counties" real, "delegates" real );
SELECT MIN("delegates") FROM "results" WHERE "candidate"='john mccain' AND "counties"<45;
2-15315799-1
What is the sum of Counties when there were 701,761 votes and less than 57 delegates?
CREATE TABLE "results" ( "candidate" text, "votes" real, "percentage" text, "counties" real, "delegates" real );
SELECT SUM("counties") FROM "results" WHERE "votes"='701,761' AND "delegates"<57;
2-15315799-1
What is the highest Counties when Mitt Romney was the candidate with less than 0 delegates?
CREATE TABLE "results" ( "candidate" text, "votes" real, "percentage" text, "counties" real, "delegates" real );
SELECT MAX("counties") FROM "results" WHERE "candidate"='mitt romney' AND "delegates"<0;
2-15315799-1
What is the name of the candidate with more than 4,060 votes and more than 0 delegates?
CREATE TABLE "results" ( "candidate" text, "votes" real, "percentage" text, "counties" real, "delegates" real );
SELECT "candidate" FROM "results" WHERE "votes">'4,060' AND "delegates">0;
2-15315799-1
What is the number of votes when Ron Paul is the candidate with less than 0 counties?
CREATE TABLE "results" ( "candidate" text, "votes" real, "percentage" text, "counties" real, "delegates" real );
SELECT COUNT("votes") FROM "results" WHERE "candidate"='ron paul' AND "counties"<0;
2-15315799-1
What is the sum of totals associated with a UEFA Cup score of 4?
CREATE TABLE "top_scorers" ( "player" text, "position" text, "premier_league" real, "fa_cup" real, "league_cup" real, "uefa_cup" real, "total" real );
SELECT SUM("total") FROM "top_scorers" WHERE "uefa_cup"=4;
2-15610848-4
What is the sum of totals for FA Cup values of 0?
CREATE TABLE "top_scorers" ( "player" text, "position" text, "premier_league" real, "fa_cup" real, "league_cup" real, "uefa_cup" real, "total" real );
SELECT SUM("total") FROM "top_scorers" WHERE "fa_cup"<0;
2-15610848-4
What is the Hometown of the person with a height of 5'8"?
CREATE TABLE "roster" ( "name" text, "pos" text, "height" text, "weight" real, "year" text, "hometown_previous_school" text );
SELECT "hometown_previous_school" FROM "roster" WHERE "height"='5''8\"';
2-15748977-1
What is the average Weight of the person who is 6'9"?
CREATE TABLE "roster" ( "name" text, "pos" text, "height" text, "weight" real, "year" text, "hometown_previous_school" text );
SELECT AVG("weight") FROM "roster" WHERE "height"='6''9\"';
2-15748977-1
What is the Hometown of Tim Williams?
CREATE TABLE "roster" ( "name" text, "pos" text, "height" text, "weight" real, "year" text, "hometown_previous_school" text );
SELECT "hometown_previous_school" FROM "roster" WHERE "name"='tim williams';
2-15748977-1
What is the Year of the person who is 6'1", and weighs more than 165?
CREATE TABLE "roster" ( "name" text, "pos" text, "height" text, "weight" real, "year" text, "hometown_previous_school" text );
SELECT "year" FROM "roster" WHERE "height"='6''1\"' AND "weight">165;
2-15748977-1
What player has a rating greater than 2746, with a prev less than 4, and +4 as the chng?
CREATE TABLE "fide_april_2008_top_ten" ( "rank" real, "prev" real, "player" text, "rating" real, "chng" text );
SELECT "player" FROM "fide_april_2008_top_ten" WHERE "rating">2746 AND "prev"<4 AND "chng"='+4';
2-15330472-2
What chng has a rank greater than 6, with 12 as a prev?
CREATE TABLE "fide_april_2008_top_ten" ( "rank" real, "prev" real, "player" text, "rating" real, "chng" text );
SELECT "chng" FROM "fide_april_2008_top_ten" WHERE "rank">6 AND "prev"=12;
2-15330472-2
What is the highest prev that has 9 as the rank, with a rating less than 2746?
CREATE TABLE "fide_april_2008_top_ten" ( "rank" real, "prev" real, "player" text, "rating" real, "chng" text );
SELECT MAX("prev") FROM "fide_april_2008_top_ten" WHERE "rank"=9 AND "rating"<2746;
2-15330472-2
How many blocks have a weight greater than 82, and a height less than 199?
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" ( "name" text, "date_of_birth" text, "height" real, "weight" real, "spike" real, "block" real );
SELECT SUM("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "weight">82 AND "height"<199;
2-15859432-11
What is the lowest block that has 328 as the spike, and a height less than 186?
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" ( "name" text, "date_of_birth" text, "height" real, "weight" real, "spike" real, "block" real );
SELECT MIN("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "spike"=328 AND "height"<186;
2-15859432-11
What is the lowest block that has a height less than 202, 19.06.1980 as the date of birth, and a weight greater than 76?
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" ( "name" text, "date_of_birth" text, "height" real, "weight" real, "spike" real, "block" real );
SELECT MIN("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "height"<202 AND "date_of_birth"='19.06.1980' AND "weight">76;
2-15859432-11
What is the highest block that has 15.09.1981 as the date, and a height greater than 202?
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" ( "name" text, "date_of_birth" text, "height" real, "weight" real, "spike" real, "block" real );
SELECT MAX("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "date_of_birth"='15.09.1981' AND "height">202;
2-15859432-11
Which City has a Stadium of estadio san cristóbal?
CREATE TABLE "2010_11_teams" ( "club" text, "city" text, "stadium" text, "2009_season" text, "group" text );
SELECT "city" FROM "2010_11_teams" WHERE "stadium"='estadio san cristóbal';
2-15494187-1
When in 2009 season has a Group of group b, and cancha del mystic with a Club of el tecal?
CREATE TABLE "2010_11_teams" ( "club" text, "city" text, "stadium" text, "2009_season" text, "group" text );
SELECT "2009_season" FROM "2010_11_teams" WHERE "group"='group b' AND "stadium"='cancha del mystic' AND "club"='el tecal';
2-15494187-1
WHich Club has a City of colón?
CREATE TABLE "2010_11_teams" ( "club" text, "city" text, "stadium" text, "2009_season" text, "group" text );
SELECT "club" FROM "2010_11_teams" WHERE "city"='colón';
2-15494187-1
WHat kind of 2009 season has a City of panama city, and a Group of group b?
CREATE TABLE "2010_11_teams" ( "club" text, "city" text, "stadium" text, "2009_season" text, "group" text );
SELECT "2009_season" FROM "2010_11_teams" WHERE "city"='panama city' AND "group"='group b';
2-15494187-1
Which City has a Club of suntracs f.c.?
CREATE TABLE "2010_11_teams" ( "club" text, "city" text, "stadium" text, "2009_season" text, "group" text );
SELECT "city" FROM "2010_11_teams" WHERE "club"='suntracs f.c.';
2-15494187-1
Which Stadium has a City of panama city, and a Group of group a, and a 2009 season of 1st in lna (champion)?
CREATE TABLE "2010_11_teams" ( "club" text, "city" text, "stadium" text, "2009_season" text, "group" text );
SELECT "stadium" FROM "2010_11_teams" WHERE "city"='panama city' AND "group"='group a' AND "2009_season"='1st in lna (champion)';
2-15494187-1
What is the highest Matches, when Prize Money is £5,000?
CREATE TABLE "calendar" ( "round" text, "date" text, "matches" real, "clubs" text, "prize_money" text );
SELECT MAX("matches") FROM "calendar" WHERE "prize_money"='£5,000';
2-15786635-1
What is Date, when Matches is less than 32, and when Round is Fifth Round Proper?
CREATE TABLE "calendar" ( "round" text, "date" text, "matches" real, "clubs" text, "prize_money" text );
SELECT "date" FROM "calendar" WHERE "matches"<32 AND "round"='fifth round proper';
2-15786635-1
What is the average Matches, when Round is Third Qualifying Round?
CREATE TABLE "calendar" ( "round" text, "date" text, "matches" real, "clubs" text, "prize_money" text );
SELECT AVG("matches") FROM "calendar" WHERE "round"='third qualifying round';
2-15786635-1
What is the total number of Matches, when Clubs is 588 → 406?
CREATE TABLE "calendar" ( "round" text, "date" text, "matches" real, "clubs" text, "prize_money" text );
SELECT COUNT("matches") FROM "calendar" WHERE "clubs"='588 → 406';
2-15786635-1
What is Prize Money, when Matches is less than 73, and when Round is Third Round Proper?
CREATE TABLE "calendar" ( "round" text, "date" text, "matches" real, "clubs" text, "prize_money" text );
SELECT "prize_money" FROM "calendar" WHERE "matches"<73 AND "round"='third round proper';
2-15786635-1
For the tournament played on a hard surface and ending with a score of Walkover, who was the Finals opponent?
CREATE TABLE "singles_wins_5" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "opponent_in_the_final" FROM "singles_wins_5" WHERE "surface"='hard' AND "score"='walkover';
2-15442936-2
For the tournament played on September 25, 1995, who was the Finals opponent?
CREATE TABLE "singles_wins_5" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "opponent_in_the_final" FROM "singles_wins_5" WHERE "date"='september 25, 1995';
2-15442936-2
Which tournament was played on September 25, 1995?
CREATE TABLE "singles_wins_5" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "tournament" FROM "singles_wins_5" WHERE "date"='september 25, 1995';
2-15442936-2
What was the time for the bout against Amanda Lavoy, which went under 3 rounds?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "time" FROM "mixed_martial_arts_record" WHERE "round"<3 AND "opponent"='amanda lavoy';
2-16182887-2
What is Notes, when App(L/C/E) is 13 (7/2/4)?
CREATE TABLE "players_out_on_loan" ( "nat" text, "name" text, "since" real, "app_l_c_e" text, "goals_l_c_e" text, "ends" real, "transfer_fee" text, "notes" text );
SELECT "notes" FROM "players_out_on_loan" WHERE "app_l_c_e"='13 (7/2/4)';
2-15956066-1
What is Nat., when Ends is greater than 2010, when Since is 2006, and when Name is Paligeorgos?
CREATE TABLE "players_out_on_loan" ( "nat" text, "name" text, "since" real, "app_l_c_e" text, "goals_l_c_e" text, "ends" real, "transfer_fee" text, "notes" text );
SELECT "nat" FROM "players_out_on_loan" WHERE "ends">2010 AND "since"=2006 AND "name"='paligeorgos';
2-15956066-1
What is the lowest Since, when Notes is To Anagennisi Karditsa, and when App(L/C/E) is 0 (0/0/0)?
CREATE TABLE "players_out_on_loan" ( "nat" text, "name" text, "since" real, "app_l_c_e" text, "goals_l_c_e" text, "ends" real, "transfer_fee" text, "notes" text );
SELECT MIN("since") FROM "players_out_on_loan" WHERE "notes"='to anagennisi karditsa' AND "app_l_c_e"='0 (0/0/0)';
2-15956066-1
What is the Time/Retired of the Newman-Haas Racing team in under 51 laps?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "race" WHERE "laps"<51 AND "team"='newman-haas racing';
2-15595035-2
What are the lowest laps Alex Tagliani did for the Forsythe Racing team?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real );
SELECT MIN("laps") FROM "race" WHERE "team"='forsythe racing' AND "driver"='alex tagliani';
2-15595035-2
What is the Event when DNP shows for 2007–08?
CREATE TABLE "grand_slam_record" ( "event" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text );
SELECT "event" FROM "grand_slam_record" WHERE "2007_08"='dnp';
2-15789917-1
What is the 2008–09 when the 2009–10 shows q?
CREATE TABLE "grand_slam_record" ( "event" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text );
SELECT "2008_09" FROM "grand_slam_record" WHERE "2009_10"='q';
2-15789917-1
What is the 2009–10 when the 2007–08 shows n/a, and an Event of colonial square ladies classic?
CREATE TABLE "grand_slam_record" ( "event" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text );
SELECT "2009_10" FROM "grand_slam_record" WHERE "2007_08"='n/a' AND "event"='colonial square ladies classic';
2-15789917-1
What is the Event when the 2008–09 is sf?
CREATE TABLE "grand_slam_record" ( "event" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text );
SELECT "event" FROM "grand_slam_record" WHERE "2008_09"='sf';
2-15789917-1
What is the 2010–11 when the Event is colonial square ladies classic?
CREATE TABLE "grand_slam_record" ( "event" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text );
SELECT "2010_11" FROM "grand_slam_record" WHERE "event"='colonial square ladies classic';
2-15789917-1
What is the 2007–08 when the event was autumn gold?
CREATE TABLE "grand_slam_record" ( "event" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text );
SELECT "2007_08" FROM "grand_slam_record" WHERE "event"='autumn gold';
2-15789917-1
Which Cultural and Educational Panel has a Labour Panel larger than 5, and an Industrial and Commercial Panel larger than 9?
CREATE TABLE "composition_of_the_15th_seanad" ( "administrative_panel" real, "agricultural_panel" real, "cultural_and_educational_panel" real, "industrial_and_commercial_panel" real, "labour_panel" real, "national_university_of_ireland" real, "university_of_dublin" real, "nominated_by_the_taoiseach" real, "total" real );
SELECT COUNT("cultural_and_educational_panel") FROM "composition_of_the_15th_seanad" WHERE "labour_panel">5 AND "industrial_and_commercial_panel">9;
2-15547150-1
Which Administrative Panel has a Nominated by the Taoiseach smaller than 0?
CREATE TABLE "composition_of_the_15th_seanad" ( "administrative_panel" real, "agricultural_panel" real, "cultural_and_educational_panel" real, "industrial_and_commercial_panel" real, "labour_panel" real, "national_university_of_ireland" real, "university_of_dublin" real, "nominated_by_the_taoiseach" real, "total" real );
SELECT MIN("administrative_panel") FROM "composition_of_the_15th_seanad" WHERE "nominated_by_the_taoiseach"<0;
2-15547150-1
Which Labour Panel has an Industrial and Commercial Panel of 9, and a University of Dublin smaller than 3?
CREATE TABLE "composition_of_the_15th_seanad" ( "administrative_panel" real, "agricultural_panel" real, "cultural_and_educational_panel" real, "industrial_and_commercial_panel" real, "labour_panel" real, "national_university_of_ireland" real, "university_of_dublin" real, "nominated_by_the_taoiseach" real, "total" real );
SELECT AVG("labour_panel") FROM "composition_of_the_15th_seanad" WHERE "industrial_and_commercial_panel"=9 AND "university_of_dublin"<3;
2-15547150-1
Which Total has a Labour Panel smaller than 5, an Administrative Panel smaller than 1, and a National University of Ireland smaller than 2?
CREATE TABLE "composition_of_the_15th_seanad" ( "administrative_panel" real, "agricultural_panel" real, "cultural_and_educational_panel" real, "industrial_and_commercial_panel" real, "labour_panel" real, "national_university_of_ireland" real, "university_of_dublin" real, "nominated_by_the_taoiseach" real, "total" real );
SELECT COUNT("total") FROM "composition_of_the_15th_seanad" WHERE "labour_panel"<5 AND "administrative_panel"<1 AND "national_university_of_ireland"<2;
2-15547150-1