question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
Name the sum of year for penrith panthers opponent | CREATE TABLE "biggest_wins" (
"margin" real,
"score" text,
"opponent" text,
"venue" text,
"year" real
); | SELECT SUM("year") FROM "biggest_wins" WHERE "opponent"='penrith panthers'; | 2-13274816-9 |
Name the opponent for 1996 at the mt smart stadium venue | CREATE TABLE "biggest_wins" (
"margin" real,
"score" text,
"opponent" text,
"venue" text,
"year" real
); | SELECT "opponent" FROM "biggest_wins" WHERE "venue"='mt smart stadium' AND "year"=1996; | 2-13274816-9 |
Name the average year for 46 margin | CREATE TABLE "biggest_wins" (
"margin" real,
"score" text,
"opponent" text,
"venue" text,
"year" real
); | SELECT AVG("year") FROM "biggest_wins" WHERE "margin"=46; | 2-13274816-9 |
Name the margin for 2002 | CREATE TABLE "biggest_wins" (
"margin" real,
"score" text,
"opponent" text,
"venue" text,
"year" real
); | SELECT "margin" FROM "biggest_wins" WHERE "year"=2002; | 2-13274816-9 |
Who participated in the Mixed Doubles when Tracey Hallam participated in the Women's Singles? | CREATE TABLE "past_winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "mixed_doubles" FROM "past_winners" WHERE "women_s_singles"='tracey hallam'; | 2-12209553-1 |
Who participated in the Mixed Doubles when Simon Santoso participated in the Men's Singles after 2008? | CREATE TABLE "past_winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "mixed_doubles" FROM "past_winners" WHERE "men_s_singles"='simon santoso' AND "year">2008; | 2-12209553-1 |
Which Affiliation has an Enrollement larger than 502? | CREATE TABLE "private_schools" (
"school" text,
"grades" text,
"affiliation" text,
"student_body" text,
"enrollment" real
); | SELECT "affiliation" FROM "private_schools" WHERE "enrollment">502; | 2-129118-2 |
What School has an Enrollement smaller than 301? | CREATE TABLE "private_schools" (
"school" text,
"grades" text,
"affiliation" text,
"student_body" text,
"enrollment" real
); | SELECT "school" FROM "private_schools" WHERE "enrollment"<301; | 2-129118-2 |
Which Grades has an Enrollment larger htan 443 with a Student body of Co-ed? | CREATE TABLE "private_schools" (
"school" text,
"grades" text,
"affiliation" text,
"student_body" text,
"enrollment" real
); | SELECT "grades" FROM "private_schools" WHERE "enrollment">443 AND "student_body"='co-ed'; | 2-129118-2 |
What's the Student Body with an Affiliation of Roman Catholic and has an Enrollment of 502? | CREATE TABLE "private_schools" (
"school" text,
"grades" text,
"affiliation" text,
"student_body" text,
"enrollment" real
); | SELECT "student_body" FROM "private_schools" WHERE "affiliation"='roman catholic' AND "enrollment"=502; | 2-129118-2 |
What is the average year that has a final Tour position of 54 and a final Vuelta position over 55? | CREATE TABLE "grand_tour_finishers" (
"rider" text,
"year" real,
"final_position_giro" real,
"final_position_tour" real,
"final_position_vuelta" real
); | SELECT AVG("year") FROM "grand_tour_finishers" WHERE "final_position_tour"=54 AND "final_position_vuelta">55; | 2-1286819-7 |
What is the final Vuelta position associated with a final Giro position over 39 and a final Tour position of 90? | CREATE TABLE "grand_tour_finishers" (
"rider" text,
"year" real,
"final_position_giro" real,
"final_position_tour" real,
"final_position_vuelta" real
); | SELECT "final_position_vuelta" FROM "grand_tour_finishers" WHERE "final_position_giro">39 AND "final_position_tour"=90; | 2-1286819-7 |
How many Giro positions are associated with the year 1971 and Tour final positions over 50? | CREATE TABLE "grand_tour_finishers" (
"rider" text,
"year" real,
"final_position_giro" real,
"final_position_tour" real,
"final_position_vuelta" real
); | SELECT COUNT("final_position_giro") FROM "grand_tour_finishers" WHERE "year"=1971 AND "final_position_tour">50; | 2-1286819-7 |
How many laps did the rider Alex Baldolini take? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT SUM("laps") FROM "250cc_classification" WHERE "rider"='alex baldolini'; | 2-13062122-2 |
How many laps were completed in the time of +7.213 with a grid number larger than 7? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("laps") FROM "250cc_classification" WHERE "time_retired"='+7.213' AND "grid">7; | 2-13062122-2 |
What is total number of laps for bikes manufactured by KTM with a time of +3.578 and a grid number larger than 4? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("laps") FROM "250cc_classification" WHERE "manufacturer"='ktm' AND "time_retired"='+3.578' AND "grid">4; | 2-13062122-2 |
What was the surface for the May 10, 2009 tournament? | CREATE TABLE "atp_challenger_tour_and_itf_futures_doub" (
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "surface" FROM "atp_challenger_tour_and_itf_futures_doub" WHERE "date"='may 10, 2009'; | 2-13181492-4 |
Which co-driver has fewer than 282 laps and type P tyres? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"class" text,
"tyres" text,
"team" text,
"co_drivers" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT "co_drivers" FROM "24_hours_of_le_mans_results" WHERE "laps"<282 AND "tyres"='p'; | 2-1219773-2 |
Which class more recent than 1988 has G tyres? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"class" text,
"tyres" text,
"team" text,
"co_drivers" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT "class" FROM "24_hours_of_le_mans_results" WHERE "tyres"='g' AND "year">1988; | 2-1219773-2 |
What is the greatest number of caps for Bruce Djite? | CREATE TABLE "internationally_capped_players" (
"player" text,
"country" text,
"caps" real,
"goals" text,
"years_active" text,
"years_at_club" text
); | SELECT MAX("caps") FROM "internationally_capped_players" WHERE "player"='bruce djite'; | 2-1257184-2 |
How many goals were scored by Eugene Galeković? | CREATE TABLE "internationally_capped_players" (
"player" text,
"country" text,
"caps" real,
"goals" text,
"years_active" text,
"years_at_club" text
); | SELECT "goals" FROM "internationally_capped_players" WHERE "player"='eugene galeković'; | 2-1257184-2 |
How many goals were scored by players with more than 16 caps? | CREATE TABLE "internationally_capped_players" (
"player" text,
"country" text,
"caps" real,
"goals" text,
"years_active" text,
"years_at_club" text
); | SELECT "goals" FROM "internationally_capped_players" WHERE "caps">16; | 2-1257184-2 |
What is the highest place of a swimmer from the Netherlands? | CREATE TABLE "semifinal_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT MAX("rank") FROM "semifinal_2" WHERE "nationality"='netherlands'; | 2-12383012-4 |
Name the authority for te akau with roll less than 254 and decile of 8 | CREATE TABLE "waikato_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" text,
"roll" real
); | SELECT "authority" FROM "waikato_district" WHERE "roll"<254 AND "decile"='8' AND "area"='te akau'; | 2-12146269-3 |
Tell me the name with decile of 6 and roll of 93 | CREATE TABLE "waikato_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" text,
"roll" real
); | SELECT "name" FROM "waikato_district" WHERE "decile"='6' AND "roll"=93; | 2-12146269-3 |
What is the result of the match on January 26, 2006? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "date"='january 26, 2006'; | 2-1257488-1 |
What was the status of Bluetooth for the model that launched after 2004 with a ROM (MiB) of 128 and a Wifi of 802.11b? | CREATE TABLE "specifications" (
"model" text,
"launch_year" real,
"ram_mi_b" real,
"rom_mi_b" real,
"slots" text,
"wi_fi" text,
"bluetooth" text
); | SELECT "bluetooth" FROM "specifications" WHERE "launch_year">2004 AND "rom_mi_b"=128 AND "wi_fi"='802.11b'; | 2-1217793-1 |
What is the RAM (MiB) value for the X30 Mid-Range model? | CREATE TABLE "specifications" (
"model" text,
"launch_year" real,
"ram_mi_b" real,
"rom_mi_b" real,
"slots" text,
"wi_fi" text,
"bluetooth" text
); | SELECT "ram_mi_b" FROM "specifications" WHERE "model"='x30 mid-range'; | 2-1217793-1 |
How many points did the team with more than 68 games, 4 ties, and more than 272 goals against have? | CREATE TABLE "regular_season" (
"season" text,
"games" real,
"lost" real,
"tied" text,
"points" real,
"goals_for" real,
"goals_against" real,
"standing" text
); | SELECT SUM("points") FROM "regular_season" WHERE "games">68 AND "tied"='4' AND "goals_against">272; | 2-1247713-1 |
Which event had the time 45.74? | CREATE TABLE "short_course_25_meter_pool" (
"event" text,
"time" text,
"venue" text,
"date" text,
"notes" text
); | SELECT "event" FROM "short_course_25_meter_pool" WHERE "time"='45.74'; | 2-12627202-2 |
What was the time of December 15, 2010? | CREATE TABLE "short_course_25_meter_pool" (
"event" text,
"time" text,
"venue" text,
"date" text,
"notes" text
); | SELECT "time" FROM "short_course_25_meter_pool" WHERE "date"='december 15, 2010'; | 2-12627202-2 |
What were the notes for the time 45.74? | CREATE TABLE "short_course_25_meter_pool" (
"event" text,
"time" text,
"venue" text,
"date" text,
"notes" text
); | SELECT "notes" FROM "short_course_25_meter_pool" WHERE "time"='45.74'; | 2-12627202-2 |
What Player has 23 Tries? | CREATE TABLE "2008_squad_statistics" (
"player" text,
"position" text,
"previous_club" text,
"apps" real,
"tries" real,
"goals" text,
"points" real
); | SELECT "player" FROM "2008_squad_statistics" WHERE "tries"=23; | 2-13018700-2 |
How many Goals did Matt Cook have? | CREATE TABLE "2008_squad_statistics" (
"player" text,
"position" text,
"previous_club" text,
"apps" real,
"tries" real,
"goals" text,
"points" real
); | SELECT "goals" FROM "2008_squad_statistics" WHERE "player"='matt cook'; | 2-13018700-2 |
What Full Back Player has 0 Apps? | CREATE TABLE "2008_squad_statistics" (
"player" text,
"position" text,
"previous_club" text,
"apps" real,
"tries" real,
"goals" text,
"points" real
); | SELECT "player" FROM "2008_squad_statistics" WHERE "position"='full back' AND "apps"=0; | 2-13018700-2 |
With 0 Goals and less than 1 Tries, what is Matt James position? | CREATE TABLE "2008_squad_statistics" (
"player" text,
"position" text,
"previous_club" text,
"apps" real,
"tries" real,
"goals" text,
"points" real
); | SELECT "position" FROM "2008_squad_statistics" WHERE "goals"='0' AND "tries"<1 AND "player"='matt james'; | 2-13018700-2 |
What is the earliest round drafted for a University of Southern California player? | CREATE TABLE "january_secondary_phase" (
"round" real,
"name" text,
"position" text,
"school" text,
"signed" text
); | SELECT MIN("round") FROM "january_secondary_phase" WHERE "school"='university of southern california'; | 2-12901325-10 |
What round drafted was the 1b and a Signed of no cardinals - 1969 june? | CREATE TABLE "january_secondary_phase" (
"round" real,
"name" text,
"position" text,
"school" text,
"signed" text
); | SELECT COUNT("round") FROM "january_secondary_phase" WHERE "position"='1b' AND "signed"='no cardinals - 1969 june'; | 2-12901325-10 |
Which event has an Opponent of akihiro gono, and a Method of decision? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "opponent"='akihiro gono' AND "method"='decision'; | 2-12302903-2 |
Which location has an Opponent of masanori suda? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "location" FROM "mixed_martial_arts_record" WHERE "opponent"='masanori suda'; | 2-12302903-2 |
Which opponent has a Time of 1:34? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "time"='1:34'; | 2-12302903-2 |
Which event resulted in loss with an Opponent of maurice smith? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "res"='loss' AND "opponent"='maurice smith'; | 2-12302903-2 |
What is the winner of gold that also has ↓ 1 in the sport of cycling? | CREATE TABLE "changes_in_medal_standings" (
"sport" text,
"event" text,
"nation" text,
"gold" text,
"silver" text,
"bronze" text,
"total" text
); | SELECT "gold" FROM "changes_in_medal_standings" WHERE "bronze"='↓ 1' AND "sport"='cycling'; | 2-12253523-3 |
What is the most recent year that Gulf Racing Middle East won? | CREATE TABLE "complete_24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"pos" text,
"class_pos" text
); | SELECT MAX("year") FROM "complete_24_hours_of_le_mans_results" WHERE "team"='gulf racing middle east'; | 2-1226329-3 |
What is the class of the co-driver emanuele pirro jj lehto? | CREATE TABLE "complete_24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"pos" text,
"class_pos" text
); | SELECT "class" FROM "complete_24_hours_of_le_mans_results" WHERE "co_drivers"='emanuele pirro jj lehto'; | 2-1226329-3 |
What was the final position of Arena Motorsports International? | CREATE TABLE "complete_24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"pos" text,
"class_pos" text
); | SELECT "pos" FROM "complete_24_hours_of_le_mans_results" WHERE "team"='arena motorsports international'; | 2-1226329-3 |
Who was the Co-Driver of the winner of 1992's race? | CREATE TABLE "complete_24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"pos" text,
"class_pos" text
); | SELECT "co_drivers" FROM "complete_24_hours_of_le_mans_results" WHERE "year"=1992; | 2-1226329-3 |
What is the score in the final with runner-up as the outcome and hard (i) as the surface? | CREATE TABLE "singles_5_3_titles_2_runner_ups" (
"outcome" text,
"date" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "score_in_the_final" FROM "singles_5_3_titles_2_runner_ups" WHERE "outcome"='runner-up' AND "surface"='hard (i)'; | 2-12299543-2 |
Who is team 1 when 2nd leg score is 1-3 and Asec Mimosas is Team 2? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_1" FROM "second_round" WHERE "2nd_leg"='1-3' AND "team_2"='asec mimosas'; | 2-12489760-2 |
What is the 1st leg score when 2nd leg score is 3-3? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "second_round" WHERE "2nd_leg"='3-3'; | 2-12489760-2 |
What is the 1st leg score when US Mbila Nzambi is team 1? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "second_round" WHERE "team_1"='us mbila nzambi'; | 2-12489760-2 |
Who was the opponent on May 20? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "date"='may 20'; | 2-12635188-2 |
Who took the loss on May 25? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "date"='may 25'; | 2-12635188-2 |
What was the record after the game that ended in a 2-3 loss? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "game_log" WHERE "score"='2-3'; | 2-12635188-2 |
What was the date of the game that had a loss of Politte (0-2)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "game_log" WHERE "loss"='politte (0-2)'; | 2-12206000-4 |
Who was the opponent at the game that had a loss of Hendrickson (0-1)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "loss"='hendrickson (0-1)'; | 2-12206000-4 |
What was the smallest attendance at a game when the record was 7-15? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT MIN("attendance") FROM "game_log" WHERE "record"='7-15'; | 2-12206000-4 |
What was the average attendance at a game when the record was 6-13? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT AVG("attendance") FROM "game_log" WHERE "record"='6-13'; | 2-12206000-4 |
What is the yield, neutrons per fission of the group with decay constants less than 0.301, a half-life of 22.72, and a group number larger than 2? | CREATE TABLE "principle" (
"group" real,
"half_life_s" real,
"decay_constant_s_1" real,
"yield_neutrons_per_fission" real,
"fraction" real
); | SELECT SUM("yield_neutrons_per_fission") FROM "principle" WHERE "decay_constant_s_1"<0.301 AND "half_life_s"=22.72 AND "group">2; | 2-1221457-1 |
What is the decay constant with a half-life less than 22.72, a yield, neutrons per fission of 0.0031000000000000003, and a group number less than 3? | CREATE TABLE "principle" (
"group" real,
"half_life_s" real,
"decay_constant_s_1" real,
"yield_neutrons_per_fission" real,
"fraction" real
); | SELECT COUNT("decay_constant_s_1") FROM "principle" WHERE "half_life_s"<22.72 AND "yield_neutrons_per_fission"=0.0031000000000000003 AND "group"<3; | 2-1221457-1 |
What is the lowest half-life with a yield, neutrons per fission bigger than 0.0031000000000000003 and a decay constant less than 0.030500000000000003? | CREATE TABLE "principle" (
"group" real,
"half_life_s" real,
"decay_constant_s_1" real,
"yield_neutrons_per_fission" real,
"fraction" real
); | SELECT MIN("half_life_s") FROM "principle" WHERE "yield_neutrons_per_fission">0.0031000000000000003 AND "decay_constant_s_1"<0.030500000000000003; | 2-1221457-1 |
With Round 3 and Pick # over 10, what is the higher Overall number? | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("overall") FROM "indianapolis_colts_draft_history" WHERE "round"=3 AND "pick_num">10; | 2-13312898-46 |
What is the highest round for College of Nebraska if the Overall is under 190? | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("round") FROM "indianapolis_colts_draft_history" WHERE "college"='nebraska' AND "overall"<190; | 2-13312898-46 |
Which college has a Pick # 1, Overall more than one, and Round is 7? | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "college" FROM "indianapolis_colts_draft_history" WHERE "pick_num"=1 AND "overall">1 AND "round"=7; | 2-13312898-46 |
What was the attendance on 21 August 2004? | CREATE TABLE "fa_premier_league" (
"date" text,
"opponents" text,
"result_f_a" text,
"attendance" real,
"league_position" text
); | SELECT SUM("attendance") FROM "fa_premier_league" WHERE "date"='21 august 2004'; | 2-13005521-3 |
What is the average rank of an athlete that holds a time higher than 53.38? | CREATE TABLE "semifinal_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" real
); | SELECT AVG("rank") FROM "semifinal_2" WHERE "time">53.38; | 2-12446342-5 |
What lane did the swimmer with a time of 52.84 have? | CREATE TABLE "semifinal_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" real
); | SELECT MAX("lane") FROM "semifinal_2" WHERE "time"=52.84; | 2-12446342-5 |
What lane did the rank 3 swimmer use? | CREATE TABLE "semifinal_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" real
); | SELECT MAX("lane") FROM "semifinal_2" WHERE "rank"=3; | 2-12446342-5 |
Which opponent played on July 15? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "date"='july 15'; | 2-12206319-5 |
What is the record for a game played on July 16 with attendance of more than 32,162? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "game_log" WHERE "attendance">'32,162' AND "date"='july 16'; | 2-12206319-5 |
Where has Jimmy Demaret as a player? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_leaderboard" WHERE "player"='jimmy demaret'; | 2-13059141-1 |
How much does it cost for United States and Byron nelson? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT COUNT("money") FROM "final_leaderboard" WHERE "country"='united states' AND "player"='byron nelson'; | 2-13059141-1 |
Which Country has a Place of t8 and byron nelson? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_leaderboard" WHERE "place"='t8' AND "player"='byron nelson'; | 2-13059141-1 |
Name the average pop for chūgoku and prefecture of okayama | CREATE TABLE "list_of_japanese_prefectural_capitals" (
"capital" text,
"prefecture" text,
"region" text,
"island" text,
"pop" real
); | SELECT AVG("pop") FROM "list_of_japanese_prefectural_capitals" WHERE "region"='chūgoku' AND "prefecture"='okayama'; | 2-12259974-1 |
Name the highest pop for tottori | CREATE TABLE "list_of_japanese_prefectural_capitals" (
"capital" text,
"prefecture" text,
"region" text,
"island" text,
"pop" real
); | SELECT MAX("pop") FROM "list_of_japanese_prefectural_capitals" WHERE "prefecture"='tottori'; | 2-12259974-1 |
Name the sum of pop for shizuoka | CREATE TABLE "list_of_japanese_prefectural_capitals" (
"capital" text,
"prefecture" text,
"region" text,
"island" text,
"pop" real
); | SELECT SUM("pop") FROM "list_of_japanese_prefectural_capitals" WHERE "prefecture"='shizuoka'; | 2-12259974-1 |
Name the total number of pop for ibaraki | CREATE TABLE "list_of_japanese_prefectural_capitals" (
"capital" text,
"prefecture" text,
"region" text,
"island" text,
"pop" real
); | SELECT COUNT("pop") FROM "list_of_japanese_prefectural_capitals" WHERE "prefecture"='ibaraki'; | 2-12259974-1 |
Who is the mascot for Mishawaka? | CREATE TABLE "current_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"enrollment_ihsaa_class" text,
"joined" real,
"previous_conference" text
); | SELECT "mascot" FROM "current_members" WHERE "location"='mishawaka'; | 2-12264570-1 |
Which previous conference is associated with Penn school? | CREATE TABLE "current_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"enrollment_ihsaa_class" text,
"joined" real,
"previous_conference" text
); | SELECT "previous_conference" FROM "current_members" WHERE "school"='penn'; | 2-12264570-1 |
Which location is in 71 St. Joseph county with South Bend Washington school? | CREATE TABLE "current_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"enrollment_ihsaa_class" text,
"joined" real,
"previous_conference" text
); | SELECT "location" FROM "current_members" WHERE "county"='71 st. joseph' AND "school"='south bend washington'; | 2-12264570-1 |
What is the mascot for South Bend Clay? | CREATE TABLE "current_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"enrollment_ihsaa_class" text,
"joined" real,
"previous_conference" text
); | SELECT "mascot" FROM "current_members" WHERE "school"='south bend clay'; | 2-12264570-1 |
What was the address of the building with architects Edmund Woolley and Andrew Hamilton? | CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_ft_m" text,
"floors" text,
"architect" text
); | SELECT "street_address" FROM "timeline_of_tallest_buildings" WHERE "architect"='edmund woolley and andrew hamilton'; | 2-12587248-3 |
How many years as tallest building was the Tenth Presbyterian Church? | CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_ft_m" text,
"floors" text,
"architect" text
); | SELECT "years_as_tallest" FROM "timeline_of_tallest_buildings" WHERE "name"='tenth presbyterian church'; | 2-12587248-3 |
How many years as tallest building was Independence Hall? | CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_ft_m" text,
"floors" text,
"architect" text
); | SELECT "years_as_tallest" FROM "timeline_of_tallest_buildings" WHERE "name"='independence hall'; | 2-12587248-3 |
What is the height of the Tenth Presbyterian Church? | CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_ft_m" text,
"floors" text,
"architect" text
); | SELECT "height_ft_m" FROM "timeline_of_tallest_buildings" WHERE "name"='tenth presbyterian church'; | 2-12587248-3 |
For the Loss of Plesac (1-5), what is the Record? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "game_log" WHERE "loss"='plesac (1-5)'; | 2-12206617-6 |
For the Loss of Plesac (1-5), what is the Record? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "game_log" WHERE "loss"='plesac (1-5)'; | 2-12206617-6 |
Name the entrant for year less than 1990 and chassis of eurobrun er189 | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "year"<1990 AND "chassis"='eurobrun er189'; | 2-1228429-1 |
Name the engine for years before 1990 and chassis of eurobrun er189 | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "year"<1990 AND "chassis"='eurobrun er189'; | 2-1228429-1 |
With games started smaller than 16 plus receptions of 51, what is the smallest amount of touchdowns listed? | CREATE TABLE "statistics" (
"year" text,
"games_played" real,
"games_started" real,
"attempts" real,
"yards" real,
"touchdowns" real,
"receptions" real,
"rec_yards" real,
"rec_touchdowns" real,
"fumbles" real
); | SELECT MIN("touchdowns") FROM "statistics" WHERE "receptions"=51 AND "games_started"<16; | 2-1306543-1 |
What are the highest number of games played that had game starts of 10, receptions of 6 and fumbles smaller than 3? | CREATE TABLE "statistics" (
"year" text,
"games_played" real,
"games_started" real,
"attempts" real,
"yards" real,
"touchdowns" real,
"receptions" real,
"rec_yards" real,
"rec_touchdowns" real,
"fumbles" real
); | SELECT MAX("games_played") FROM "statistics" WHERE "receptions"=6 AND "games_started"=10 AND "fumbles"<3; | 2-1306543-1 |
When was the location 15km NW of Pol-E Khomri, the circumstaances IED and the casualties of 1 WIA? | CREATE TABLE "2011" (
"date" text,
"location" text,
"nature_of_incident" text,
"circumstances" text,
"casualties" text
); | SELECT "date" FROM "2011" WHERE "casualties"='1 wia' AND "circumstances"='ied' AND "location"='15km nw of pol-e khomri'; | 2-12378453-10 |
When was the incident in Pol-E Khomri? | CREATE TABLE "2011" (
"date" text,
"location" text,
"nature_of_incident" text,
"circumstances" text,
"casualties" text
); | SELECT "date" FROM "2011" WHERE "location"='pol-e khomri'; | 2-12378453-10 |
What was the incident in imam sahib area, kunduz province? | CREATE TABLE "2011" (
"date" text,
"location" text,
"nature_of_incident" text,
"circumstances" text,
"casualties" text
); | SELECT "nature_of_incident" FROM "2011" WHERE "location"='imam sahib area, kunduz province'; | 2-12378453-10 |
What gender has Romanized name and kim yoon-yeong? | CREATE TABLE "list_of_hostages" (
"romanized_name" text,
"name_in_hangul" text,
"name_in_hanja" text,
"gender" text,
"birth_year" real
); | SELECT "gender" FROM "list_of_hostages" WHERE "romanized_name"='kim yoon-yeong'; | 2-12445847-1 |
What year did Willis McGahee play fewer than 15 games with the Baltimore Ravens? | CREATE TABLE "career_statistics" (
"year" real,
"team" text,
"games" real,
"attempts" real,
"yards" real
); | SELECT MIN("year") FROM "career_statistics" WHERE "team"='baltimore ravens' AND "games"<15; | 2-1241808-2 |
After the 2013 season, what was the fewest number of games that Willis McGahee played in a single season? | CREATE TABLE "career_statistics" (
"year" real,
"team" text,
"games" real,
"attempts" real,
"yards" real
); | SELECT MIN("games") FROM "career_statistics" WHERE "year">2013; | 2-1241808-2 |
What is the result when the competition was the 2006 fifa world cup qualifier, and a Venue of warner park sporting complex, bassaterre? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "competition"='2006 fifa world cup qualifier' AND "venue"='warner park sporting complex, bassaterre'; | 2-12506127-1 |
What is the name of the venue when the competition was friendly, with a Result of 2–3? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "competition"='friendly' AND "result"='2–3'; | 2-12506127-1 |
What is the name of the venue when the score was 5–0, and a Competition of 2007 caribbean cup qualifier? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "score"='5–0' AND "competition"='2007 caribbean cup qualifier'; | 2-12506127-1 |
Subsets and Splits