question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
Name the NP/NNP for ACDP of 1 and others of 1 and DP/DA of 5 | CREATE TABLE "election" (
"event" text,
"date" text,
"dp_da" real,
"np_nnp" text,
"cope" text,
"acdp" real,
"others" real
); | SELECT "np_nnp" FROM "election" WHERE "acdp"=1 AND "others"=1 AND "dp_da"=5; | 2-12531565-2 |
Which player won less than $335? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "player" FROM "final_leaderboard" WHERE "money"<335; | 2-12925436-1 |
What was the place ranking for the player from Australia? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_leaderboard" WHERE "country"='australia'; | 2-12925436-1 |
How much money did the player Ed Oliver win? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT SUM("money") FROM "final_leaderboard" WHERE "player"='ed oliver'; | 2-12925436-1 |
What competition did Parramatta Eels join after 1982? | CREATE TABLE "runner_ups_10_62" (
"year" real,
"opponent" text,
"competition" text,
"score" text,
"venue" text,
"attendance" real
); | SELECT "competition" FROM "runner_ups_10_62" WHERE "year">1982 AND "opponent"='parramatta eels'; | 2-12573519-8 |
When did nswrfl has a score of 8-21? | CREATE TABLE "runner_ups_10_62" (
"year" real,
"opponent" text,
"competition" text,
"score" text,
"venue" text,
"attendance" real
); | SELECT "year" FROM "runner_ups_10_62" WHERE "competition"='nswrfl' AND "score"='8-21'; | 2-12573519-8 |
How many years have less than 28,505 attendance? | CREATE TABLE "runner_ups_10_62" (
"year" real,
"opponent" text,
"competition" text,
"score" text,
"venue" text,
"attendance" real
); | SELECT AVG("year") FROM "runner_ups_10_62" WHERE "attendance"<'28,505'; | 2-12573519-8 |
What Date is listed for the Region of France and Catalog of 82876-70291-2? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "date" FROM "release_history" WHERE "region"='france' AND "catalog"='82876-70291-2'; | 2-1254205-10 |
Which Format is listed that has a Region of China? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "format" FROM "release_history" WHERE "region"='china'; | 2-1254205-10 |
What's the Date for the Label of Bertelsmann Music group and has a Region of Europe? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "date" FROM "release_history" WHERE "label"='bertelsmann music group' AND "region"='europe'; | 2-1254205-10 |
How many people attended the Royals game with a score of 17 - 6? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT SUM("attendance") FROM "game_log" WHERE "opponent"='royals' AND "score"='17 - 6'; | 2-12207149-2 |
What was the result of April 27's game? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "date"='april 27'; | 2-12207149-2 |
Which of the .308 Winchester cartridge type has a 100 m group of 14 and also a 300 m group of 0.63? | CREATE TABLE "design_details" (
"308_winchester_cartridge_type" text,
"100_m_group_mm" text,
"100_m_group_moa" text,
"300_m_group_mm" text,
"300_m_group_moa" text
); | SELECT "308_winchester_cartridge_type" FROM "design_details" WHERE "100_m_group_mm"='14' AND "300_m_group_moa"='0.63'; | 2-12162347-1 |
For the strategy game in 1992, how many players were allowed per console? | CREATE TABLE "licensed_titles" (
"title" text,
"year" real,
"developer" text,
"publisher" text,
"players_per_console" text,
"genre" text
); | SELECT "players_per_console" FROM "licensed_titles" WHERE "genre"='strategy' AND "year"=1992; | 2-1276205-1 |
Which Genre was published by Atari and developed by NuFX in 1991? | CREATE TABLE "licensed_titles" (
"title" text,
"year" real,
"developer" text,
"publisher" text,
"players_per_console" text,
"genre" text
); | SELECT "genre" FROM "licensed_titles" WHERE "publisher"='atari' AND "year"=1991 AND "developer"='nufx'; | 2-1276205-1 |
Which year was the game developed by Music Comp in? | CREATE TABLE "licensed_titles" (
"title" text,
"year" real,
"developer" text,
"publisher" text,
"players_per_console" text,
"genre" text
); | SELECT "year" FROM "licensed_titles" WHERE "developer"='music comp'; | 2-1276205-1 |
Name the record for august 31 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "date"='august 31'; | 2-12206243-9 |
Name the opponent for august 6 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "date"='august 6'; | 2-12206243-9 |
Name the opponent with record of 52-58 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "record"='52-58'; | 2-12206243-9 |
What Class has a Quantity made of 5? | CREATE TABLE "belfast_and_northern_counties_railway_18" (
"class" text,
"type" text,
"fleet_numbers" text,
"quantity_made" real,
"manufacturer" text,
"date_made" text,
"date_withdrawn" text
); | SELECT "class" FROM "belfast_and_northern_counties_railway_18" WHERE "quantity_made"=5; | 2-1290024-2 |
What is listed as the Date made with a Quantity made of 13? | CREATE TABLE "belfast_and_northern_counties_railway_18" (
"class" text,
"type" text,
"fleet_numbers" text,
"quantity_made" real,
"manufacturer" text,
"date_made" text,
"date_withdrawn" text
); | SELECT "date_made" FROM "belfast_and_northern_counties_railway_18" WHERE "quantity_made"=13; | 2-1290024-2 |
What year shows 4 points? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "year" FROM "complete_formula_one_results" WHERE "points"=4; | 2-1226513-3 |
What is the most points when the entrant was Jaguar racing earlier than 2001? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT MAX("points") FROM "complete_formula_one_results" WHERE "entrant"='jaguar racing' AND "year"<2001; | 2-1226513-3 |
What is the entrant in 1999? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "entrant" FROM "complete_formula_one_results" WHERE "year"=1999; | 2-1226513-3 |
What is the most points when the chassis was Jaguar R3 later than 2002? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT MAX("points") FROM "complete_formula_one_results" WHERE "chassis"='jaguar r3' AND "year">2002; | 2-1226513-3 |
What is the lowest relative permeability with a skin depth larger than 0.112 inches? | CREATE TABLE "skin_depth_at_24_k_hz" (
"material" text,
"resistivity_10_6_ohm_inches" real,
"relative_permeability" real,
"skin_depth_inches" real,
"surface_resistance_relative_to_copper" real
); | SELECT MIN("relative_permeability") FROM "skin_depth_at_24_k_hz" WHERE "skin_depth_inches">0.112; | 2-1255407-1 |
What is the average relative permeability with a resistivity smaller than 1.12 and a surface resistance relative to copper smaller than 1? | CREATE TABLE "skin_depth_at_24_k_hz" (
"material" text,
"resistivity_10_6_ohm_inches" real,
"relative_permeability" real,
"skin_depth_inches" real,
"surface_resistance_relative_to_copper" real
); | SELECT AVG("relative_permeability") FROM "skin_depth_at_24_k_hz" WHERE "resistivity_10_6_ohm_inches"<1.12 AND "surface_resistance_relative_to_copper"<1; | 2-1255407-1 |
What is the sum of skin depth with a resistivity of 1.12 and a relative permeability larger than 1? | CREATE TABLE "skin_depth_at_24_k_hz" (
"material" text,
"resistivity_10_6_ohm_inches" real,
"relative_permeability" real,
"skin_depth_inches" real,
"surface_resistance_relative_to_copper" real
); | SELECT SUM("skin_depth_inches") FROM "skin_depth_at_24_k_hz" WHERE "resistivity_10_6_ohm_inches"=1.12 AND "relative_permeability">1; | 2-1255407-1 |
How much does Jonathan Bender weigh? | CREATE TABLE "contestants" (
"pos" text,
"player" text,
"team" text,
"height" text,
"weight" real
); | SELECT "weight" FROM "contestants" WHERE "player"='jonathan bender'; | 2-12498087-5 |
Of those with a height of 7-0, who weighs the most? | CREATE TABLE "contestants" (
"pos" text,
"player" text,
"team" text,
"height" text,
"weight" real
); | SELECT MAX("weight") FROM "contestants" WHERE "height"='7-0'; | 2-12498087-5 |
What does DeShawn Stevenson weigh? | CREATE TABLE "contestants" (
"pos" text,
"player" text,
"team" text,
"height" text,
"weight" real
); | SELECT SUM("weight") FROM "contestants" WHERE "player"='deshawn stevenson'; | 2-12498087-5 |
Name the highest roll for coed and authority of state integrated with sacred heart school | CREATE TABLE "timaru_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT MAX("roll") FROM "timaru_district" WHERE "gender"='coed' AND "authority"='state integrated' AND "name"='sacred heart school'; | 2-12256602-6 |
What is the displacement of the engine that has a Redline rpm higher than 4750, from 2005? | CREATE TABLE "models" (
"engine_code" text,
"displacement" text,
"power_torque_rpm" text,
"redline_rpm" real,
"year" real
); | SELECT "displacement" FROM "models" WHERE "redline_rpm">4750 AND "year"=2005; | 2-1285510-1 |
From what year is the engine with engine code M57D30? | CREATE TABLE "models" (
"engine_code" text,
"displacement" text,
"power_torque_rpm" text,
"redline_rpm" real,
"year" real
); | SELECT "year" FROM "models" WHERE "engine_code"='m57d30'; | 2-1285510-1 |
What is the average Redline RPM of engines with engine code M57TUD30, made after 2002? | CREATE TABLE "models" (
"engine_code" text,
"displacement" text,
"power_torque_rpm" text,
"redline_rpm" real,
"year" real
); | SELECT AVG("redline_rpm") FROM "models" WHERE "engine_code"='m57tud30' AND "year">2002; | 2-1285510-1 |
What was the result against Beijing Hyundai? | CREATE TABLE "pre_season_and_friendlies" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT "result_f_a" FROM "pre_season_and_friendlies" WHERE "opponents"='beijing hyundai'; | 2-12817505-1 |
Was the game with Kashima antlers at home or away? | CREATE TABLE "pre_season_and_friendlies" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT "h_a" FROM "pre_season_and_friendlies" WHERE "opponents"='kashima antlers'; | 2-12817505-1 |
What date was the game against Royal Antwerp? | CREATE TABLE "pre_season_and_friendlies" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT "date" FROM "pre_season_and_friendlies" WHERE "opponents"='royal antwerp'; | 2-12817505-1 |
What Records Time is 3:38? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "time"='3:38'; | 2-12278769-5 |
What Country has a number smaller than 56 in 2005 and of 14 in 2006? | CREATE TABLE "list" (
"country" text,
"2006" real,
"2005" real,
"2004" real,
"2003" real
); | SELECT COUNT("2004") FROM "list" WHERE "2005"<56 AND "2006"=14; | 2-12660383-1 |
What Country has a number smaller than 3 in 2004 and larger than 1 in 2005? | CREATE TABLE "list" (
"country" text,
"2006" real,
"2005" real,
"2004" real,
"2003" real
); | SELECT COUNT("2006") FROM "list" WHERE "2004"<3 AND "2005">1; | 2-12660383-1 |
The building with 48 floors has an address in Las Vegas of what? | CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_ft_m" text,
"floors" real
); | SELECT "street_address" FROM "timeline_of_tallest_buildings" WHERE "floors"=48; | 2-13065408-4 |
The Palazzo's street address is listed as what? | CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_ft_m" text,
"floors" real
); | SELECT "street_address" FROM "timeline_of_tallest_buildings" WHERE "name"='the palazzo'; | 2-13065408-4 |
What's the title of the song by Winger? | CREATE TABLE "main_setlist" (
"year" real,
"song_title" text,
"artist" text,
"master_recording" text,
"tier" text
); | SELECT "song_title" FROM "main_setlist" WHERE "artist"='winger'; | 2-12755356-1 |
What shows for 3rd place when Runner-up shows as runner-up? | CREATE TABLE "winners" (
"year" text,
"venue" text,
"winners" text,
"runner_up" text,
"3rd_place" text
); | SELECT "3rd_place" FROM "winners" WHERE "runner_up"='runner-up'; | 2-12571465-1 |
What year shows as Runner-up of england (24 pts)? | CREATE TABLE "winners" (
"year" text,
"venue" text,
"winners" text,
"runner_up" text,
"3rd_place" text
); | SELECT "year" FROM "winners" WHERE "runner_up"='england (24 pts)'; | 2-12571465-1 |
What shows for Winners when it shows 3rd place of [[|]] (21 pts), and a Runner-up of united states (23 pts)? | CREATE TABLE "winners" (
"year" text,
"venue" text,
"winners" text,
"runner_up" text,
"3rd_place" text
); | SELECT "winners" FROM "winners" WHERE "3rd_place"='[[|]] (21 pts)' AND "runner_up"='united states (23 pts)'; | 2-12571465-1 |
What shows for 3rd place when the venue was Pardubice? | CREATE TABLE "winners" (
"year" text,
"venue" text,
"winners" text,
"runner_up" text,
"3rd_place" text
); | SELECT "3rd_place" FROM "winners" WHERE "venue"='pardubice'; | 2-12571465-1 |
what shows for 3rd place in 1990? | CREATE TABLE "winners" (
"year" text,
"venue" text,
"winners" text,
"runner_up" text,
"3rd_place" text
); | SELECT "3rd_place" FROM "winners" WHERE "year"='1990'; | 2-12571465-1 |
What year was the venue Landshut? | CREATE TABLE "winners" (
"year" text,
"venue" text,
"winners" text,
"runner_up" text,
"3rd_place" text
); | SELECT "year" FROM "winners" WHERE "venue"='landshut'; | 2-12571465-1 |
What is the record when Tampa Bay is the visitor? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "march" WHERE "visitor"='tampa bay'; | 2-13218650-7 |
What is the date when Joseph is the decision and San Jose is the home team? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "march" WHERE "decision"='joseph' AND "home"='san jose'; | 2-13218650-7 |
What is the date of the match when Detroit is the home team and Colorado is the visiting team? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "march" WHERE "home"='detroit' AND "visitor"='colorado'; | 2-13218650-7 |
Who is the opponent with attendance greater than 73,984 with a result of w 28–14? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "attendance">'73,984' AND "result"='w 28–14'; | 2-12536490-2 |
How many people were in attendance in a week over 4 on December 6, 1981? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("attendance") FROM "schedule" WHERE "week">4 AND "date"='december 6, 1981'; | 2-12536490-2 |
Name the least game for october 10 at shibe park | CREATE TABLE "summary" (
"game" real,
"date" text,
"location" text,
"time" text,
"attendance" real
); | SELECT MIN("game") FROM "summary" WHERE "location"='shibe park' AND "date"='october 10'; | 2-1332220-1 |
What is the lowest bronze total that has a rank of 1 and more than 34 total medals? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" text,
"silver" text,
"bronze" real,
"total" real
); | SELECT MIN("bronze") FROM "medal_table" WHERE "rank"='1' AND "total">34; | 2-13049944-3 |
What is the lowest bronze total that has a silver total of 13 medals? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" text,
"silver" text,
"bronze" real,
"total" real
); | SELECT MIN("bronze") FROM "medal_table" WHERE "silver"='13'; | 2-13049944-3 |
With Appearances larger than 1, what is the Wins for the Reno Aces Team? | CREATE TABLE "appearances_by_team" (
"appearances" real,
"team" text,
"wins" real,
"losses" real,
"winning_percentage" real,
"season_s" text
); | SELECT MIN("wins") FROM "appearances_by_team" WHERE "team"='reno aces' AND "appearances">1; | 2-13128203-2 |
For the Reno Aces, what are the Losses when they had 1 Appearances and a Winning Percentage of 1? | CREATE TABLE "appearances_by_team" (
"appearances" real,
"team" text,
"wins" real,
"losses" real,
"winning_percentage" real,
"season_s" text
); | SELECT SUM("losses") FROM "appearances_by_team" WHERE "appearances"=1 AND "winning_percentage"=1 AND "team"='reno aces'; | 2-13128203-2 |
In 2009, what Appearances had a Winning Percentage of less than 0? | CREATE TABLE "appearances_by_team" (
"appearances" real,
"team" text,
"wins" real,
"losses" real,
"winning_percentage" real,
"season_s" text
); | SELECT AVG("appearances") FROM "appearances_by_team" WHERE "season_s"='2009' AND "winning_percentage"<0; | 2-13128203-2 |
What is the chassis for the year of 1969? | CREATE TABLE "complete_world_championship_formula_one_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "chassis" FROM "complete_world_championship_formula_one_" WHERE "year"=1969; | 2-1228395-1 |
Which Occupation has a Rank of 5th, a Gender of M, with a Residence of orono? | CREATE TABLE "4_seats" (
"riding" text,
"candidate_s_name" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
); | SELECT "occupation" FROM "4_seats" WHERE "rank"='5th' AND "gender"='m' AND "residence"='orono'; | 2-12890254-7 |
Which Gender has a Residence of Haliburton? | CREATE TABLE "4_seats" (
"riding" text,
"candidate_s_name" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
); | SELECT "gender" FROM "4_seats" WHERE "residence"='haliburton'; | 2-12890254-7 |
What's the lowest in Votes with a Rank of 5th, has an Occupation of retired, along with a Riding of Brant? | CREATE TABLE "4_seats" (
"riding" text,
"candidate_s_name" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
); | SELECT MIN("votes") FROM "4_seats" WHERE "rank"='5th' AND "occupation"='retired' AND "riding"='brant'; | 2-12890254-7 |
What Occupation has the Rank of 5th and has a Candidate's Name of Henry Zekveld? | CREATE TABLE "4_seats" (
"riding" text,
"candidate_s_name" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
); | SELECT "occupation" FROM "4_seats" WHERE "rank"='5th' AND "candidate_s_name"='henry zekveld'; | 2-12890254-7 |
What is the sum of the people in attendance when there was a Loss of clement (5–7)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT SUM("attendance") FROM "game_log" WHERE "loss"='clement (5–7)'; | 2-12453290-5 |
What place was Corey Pavin in? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "player"='corey pavin'; | 2-12913985-5 |
What was the two-round score for Bob Tway? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "player"='bob tway'; | 2-12913985-5 |
How many people went to the game that lasted 2:37 after game 2? | CREATE TABLE "summary" (
"game" real,
"date" text,
"location" text,
"time" text,
"attendance" real
); | SELECT SUM("attendance") FROM "summary" WHERE "game">2 AND "time"='2:37'; | 2-1218070-1 |
What is the FCC info of the w214ba call sign with a frequency below 96.3? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "fcc_info" FROM "translators" WHERE "frequency_m_hz"<96.3 AND "call_sign"='w214ba'; | 2-12499852-1 |
What is the total number of the ERP W with a call sign of w242ak? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT COUNT("erp_w") FROM "translators" WHERE "call_sign"='w242ak'; | 2-12499852-1 |
What is the FCC info of the station with a frequency above 95.3 and an ERP W smaller than 27 in Ocala, Florida? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "fcc_info" FROM "translators" WHERE "frequency_m_hz">95.3 AND "erp_w"<27 AND "city_of_license"='ocala, florida'; | 2-12499852-1 |
What date has an outcome of runner-up, and a Score of 6–4, 6–2, and a Opponents of gisela dulko flavia pennetta? | CREATE TABLE "doubles_26_16_10" (
"outcome" text,
"date" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "date" FROM "doubles_26_16_10" WHERE "outcome"='runner-up' AND "score"='6–4, 6–2' AND "opponents"='gisela dulko flavia pennetta'; | 2-12485560-4 |
In Round 10, what was the Overall for Ed Tomlin? | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT AVG("overall") FROM "indianapolis_colts_draft_history" WHERE "round"=10 AND "name"='ed tomlin'; | 2-13312898-16 |
What was the Position of Pick #23 in a Round less than 5 with 23 Overall? | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "position" FROM "indianapolis_colts_draft_history" WHERE "round"<5 AND "pick_num"=23 AND "overall"=23; | 2-13312898-16 |
What Average Pick # has an Overall of 296? | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT AVG("pick_num") FROM "indianapolis_colts_draft_history" WHERE "overall"=296; | 2-13312898-16 |
In Round 13, what was the Pick # of the Guard Position with an Overall greater than 23? | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "pick_num" FROM "indianapolis_colts_draft_history" WHERE "overall">23 AND "position"='guard' AND "round"=13; | 2-13312898-16 |
With an Overall larger than 107, in what Round was Jim Duncan picked? | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT SUM("round") FROM "indianapolis_colts_draft_history" WHERE "name"='jim duncan' AND "overall">107; | 2-13312898-16 |
What is the highest Pick # for the College of Maryland-Eastern Shore? | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("pick_num") FROM "indianapolis_colts_draft_history" WHERE "college"='maryland-eastern shore'; | 2-13312898-16 |
What is Brown Motors best point total using the Offenhauser L4 engine since 1950? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT MAX("points") FROM "complete_formula_one_world_championship_" WHERE "year">1950 AND "engine"='offenhauser l4' AND "entrant"='brown motors'; | 2-1252068-3 |
Name the length for stage of ss6 | CREATE TABLE "special_stages" (
"stage" text,
"time_eest" text,
"name" text,
"length" text,
"winner" text,
"rally_leader" text
); | SELECT "length" FROM "special_stages" WHERE "stage"='ss6'; | 2-13121938-2 |
Name the stage for m. grönholm and winner of s.loeb with time of 17:57 | CREATE TABLE "special_stages" (
"stage" text,
"time_eest" text,
"name" text,
"length" text,
"winner" text,
"rally_leader" text
); | SELECT "stage" FROM "special_stages" WHERE "rally_leader"='m. grönholm' AND "winner"='s.loeb' AND "time_eest"='17:57'; | 2-13121938-2 |
Name the winner for schimatari 1 | CREATE TABLE "special_stages" (
"stage" text,
"time_eest" text,
"name" text,
"length" text,
"winner" text,
"rally_leader" text
); | SELECT "winner" FROM "special_stages" WHERE "name"='schimatari 1'; | 2-13121938-2 |
Name the stage for 08:46 | CREATE TABLE "special_stages" (
"stage" text,
"time_eest" text,
"name" text,
"length" text,
"winner" text,
"rally_leader" text
); | SELECT "stage" FROM "special_stages" WHERE "time_eest"='08:46'; | 2-13121938-2 |
Name the winner with rally leader of c. atkinson and name of agia sotira 1 | CREATE TABLE "special_stages" (
"stage" text,
"time_eest" text,
"name" text,
"length" text,
"winner" text,
"rally_leader" text
); | SELECT "winner" FROM "special_stages" WHERE "rally_leader"='c. atkinson' AND "name"='agia sotira 1'; | 2-13121938-2 |
Name the winner for ss14 | CREATE TABLE "special_stages" (
"stage" text,
"time_eest" text,
"name" text,
"length" text,
"winner" text,
"rally_leader" text
); | SELECT "winner" FROM "special_stages" WHERE "stage"='ss14'; | 2-13121938-2 |
Who won the mixed doubles the same year that Andrew Downes won the men's singles? | CREATE TABLE "previous_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "mixed_doubles" FROM "previous_winners" WHERE "men_s_singles"='andrew downes'; | 2-12236643-1 |
Who won the mixed doubles in the years that the men's doubles has no competition? | CREATE TABLE "previous_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "mixed_doubles" FROM "previous_winners" WHERE "men_s_doubles"='no competition'; | 2-12236643-1 |
Who lost when the mariners played on September 12? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "opponent"='mariners' AND "date"='september 12'; | 2-12207755-7 |
On September 7 what was the record? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "date"='september 7'; | 2-12207755-7 |
Who plays on the date september 29? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "date"='september 29'; | 2-12207755-7 |
Which city of license has a wriq Call sign? | CREATE TABLE "radio_iq_full_power_affiliates" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" text,
"class" text,
"fcc_info" text
); | SELECT "city_of_license" FROM "radio_iq_full_power_affiliates" WHERE "call_sign"='wriq'; | 2-12265526-1 |
What is the total of Frequency MHz with a Class of b1? | CREATE TABLE "radio_iq_full_power_affiliates" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" text,
"class" text,
"fcc_info" text
); | SELECT SUM("frequency_m_hz") FROM "radio_iq_full_power_affiliates" WHERE "class"='b1'; | 2-12265526-1 |
Which ERP W has a Class of A, and a Call sign of wffc? | CREATE TABLE "radio_iq_full_power_affiliates" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" text,
"class" text,
"fcc_info" text
); | SELECT "erp_w" FROM "radio_iq_full_power_affiliates" WHERE "class"='a' AND "call_sign"='wffc'; | 2-12265526-1 |
Which class City of license of ferrum, virginia? | CREATE TABLE "radio_iq_full_power_affiliates" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" text,
"class" text,
"fcc_info" text
); | SELECT "class" FROM "radio_iq_full_power_affiliates" WHERE "city_of_license"='ferrum, virginia'; | 2-12265526-1 |
Which call sign has a Class of A, and a Frequency MHz of 88.7? | CREATE TABLE "radio_iq_full_power_affiliates" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" text,
"class" text,
"fcc_info" text
); | SELECT "call_sign" FROM "radio_iq_full_power_affiliates" WHERE "class"='a' AND "frequency_m_hz"=88.7; | 2-12265526-1 |
what heat number had a time of 58.44? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT COUNT("heat") FROM "heats" WHERE "time"='58.44'; | 2-12382948-3 |
what lane was new zealand in? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "lane" FROM "heats" WHERE "nationality"='new zealand'; | 2-12382948-3 |
What stage of the race was held on the course Reggio Calabria to Catanzaro? | CREATE TABLE "stage_results" (
"stage" text,
"date" text,
"course" text,
"distance" text,
"winner" text,
"race_leader" text
); | SELECT "stage" FROM "stage_results" WHERE "course"='reggio calabria to catanzaro'; | 2-12606666-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.