question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which version B-58 aircraft model originated in the United States has 2 in service? | CREATE TABLE "aircraft_inventory" (
"aircraft" text,
"origin" text,
"type" text,
"versions" text,
"in_service" text
); | SELECT "aircraft" FROM "aircraft_inventory" WHERE "in_service"='2' AND "origin"='united states' AND "versions"='b-58'; | 2-1015521-1 |
What aircraft type is the Casa C-212 Aviocar? | CREATE TABLE "aircraft_inventory" (
"aircraft" text,
"origin" text,
"type" text,
"versions" text,
"in_service" text
); | SELECT "type" FROM "aircraft_inventory" WHERE "aircraft"='casa c-212 aviocar'; | 2-1015521-1 |
How many T-260 EU aircrafts are currently in service? | CREATE TABLE "aircraft_inventory" (
"aircraft" text,
"origin" text,
"type" text,
"versions" text,
"in_service" text
); | SELECT "in_service" FROM "aircraft_inventory" WHERE "versions"='t-260 eu'; | 2-1015521-1 |
How many C-95 aircrafts originating in Brazil are currently in service? | CREATE TABLE "aircraft_inventory" (
"aircraft" text,
"origin" text,
"type" text,
"versions" text,
"in_service" text
); | SELECT "in_service" FROM "aircraft_inventory" WHERE "origin"='brazil' AND "versions"='c-95'; | 2-1015521-1 |
Tell me the lowest other for albanians more than 8793 and Roma less than 1030 | CREATE TABLE "demographics" (
"census_year" real,
"total" real,
"macedonians" real,
"albanians" real,
"turks" real,
"roma" real,
"vlachs" real,
"serbs" real,
"bosniaks" real,
"other" real
); | SELECT MIN("other") FROM "demographics" WHERE "albanians">8793 AND "roma"<1030; | 2-10040344-1 |
Tell me the highest bosniaks for year more than 2002 | CREATE TABLE "demographics" (
"census_year" real,
"total" real,
"macedonians" real,
"albanians" real,
"turks" real,
"roma" real,
"vlachs" real,
"serbs" real,
"bosniaks" real,
"other" real
); | SELECT MAX("bosniaks") FROM "demographics" WHERE "census_year">2002; | 2-10040344-1 |
Name the lowest ERP W with a frequency mhz less than 103.1 | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT MIN("erp_w") FROM "translators" WHERE "frequency_m_hz"<103.1; | 2-10044708-2 |
Name the city with 103.1 frequency and ERP W less than 80 | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "city_of_license" FROM "translators" WHERE "frequency_m_hz"=103.1 AND "erp_w"<80; | 2-10044708-2 |
Tell me the affiliation for pick number less than 59 and position of gk | CREATE TABLE "round_six" (
"pick_num" real,
"mls_team" text,
"player" text,
"position" text,
"affiliation" text
); | SELECT "affiliation" FROM "round_six" WHERE "pick_num"<59 AND "position"='gk'; | 2-1004125-6 |
What Tournament of canada happened in 1998? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"1987" text,
"1988" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text... | SELECT "1998" FROM "doubles_performance_timeline" WHERE "tournament"='canada'; | 2-10250905-5 |
Who had 1990 of 2–2 in 1993? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"1987" text,
"1988" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text... | SELECT "1993" FROM "doubles_performance_timeline" WHERE "1990"='2–2'; | 2-10250905-5 |
What Tournament of monte carlo had 1996 and a 1987 of nme? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"1987" text,
"1988" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text... | SELECT "1996" FROM "doubles_performance_timeline" WHERE "1987"='nme' AND "tournament"='monte carlo'; | 2-10250905-5 |
What Tournament of the french open had 2004 that has a 1998 of 2r? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"1987" text,
"1988" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text... | SELECT "2004" FROM "doubles_performance_timeline" WHERE "1998"='2r' AND "tournament"='french open'; | 2-10250905-5 |
What is the margin at the Nabisco Championship? | CREATE TABLE "wins_7" (
"year" real,
"championship" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "margin" FROM "wins_7" WHERE "championship"='nabisco championship'; | 2-1036386-2 |
What was the margin in 2001 at the McDonald's LPGA Championship? | CREATE TABLE "wins_7" (
"year" real,
"championship" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "margin" FROM "wins_7" WHERE "year"=2001 AND "championship"='mcdonald''s lpga championship'; | 2-1036386-2 |
Tell me the date of goal 5 | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "goal"=5; | 2-1007636-2 |
Tell me the date for goal of 5 | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "goal"=5; | 2-1007636-2 |
What was the result of Sopot (pol)? | CREATE TABLE "1990s" (
"year" real,
"competition" text,
"date" text,
"location" text,
"score" text,
"result" text
); | SELECT "result" FROM "1990s" WHERE "location"='sopot (pol)'; | 2-10153810-4 |
Which division was the Rampage in when they were in the 2nd round in the Open Cup? | CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "division" FROM "year_by_year" WHERE "open_cup"='2nd round'; | 2-1009527-1 |
What was the Rampage's regular season in 1997? | CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "reg_season" FROM "year_by_year" WHERE "year"=1997; | 2-1009527-1 |
What was the Rampage's status in the Open Cup in the year that they made it to the 2nd round of the playoffs? | CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "open_cup" FROM "year_by_year" WHERE "playoffs"='2nd round'; | 2-1009527-1 |
What was the Rampage's result in the playoffs in the year that their regular season resulted in 4th, central? | CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "playoffs" FROM "year_by_year" WHERE "reg_season"='4th, central'; | 2-1009527-1 |
Which method resulting in a win against Ed Mahone? | CREATE TABLE "professional_boxing_record" (
"date" text,
"result" text,
"opponent" text,
"method" text,
"round" real
); | SELECT "method" FROM "professional_boxing_record" WHERE "result"='win' AND "opponent"='ed mahone'; | 2-10250479-2 |
When did the technical knockout against Fatu Tuimanono happen? | CREATE TABLE "professional_boxing_record" (
"date" text,
"result" text,
"opponent" text,
"method" text,
"round" real
); | SELECT "date" FROM "professional_boxing_record" WHERE "method"='technical knockout' AND "opponent"='fatu tuimanono'; | 2-10250479-2 |
When did the opponent knockout Barry Prior in more than 2 rounds? | CREATE TABLE "professional_boxing_record" (
"date" text,
"result" text,
"opponent" text,
"method" text,
"round" real
); | SELECT "date" FROM "professional_boxing_record" WHERE "method"='knockout' AND "round">2 AND "opponent"='barry prior'; | 2-10250479-2 |
What resulted after 4 rounds with Ed Mahone? | CREATE TABLE "professional_boxing_record" (
"date" text,
"result" text,
"opponent" text,
"method" text,
"round" real
); | SELECT "result" FROM "professional_boxing_record" WHERE "round">4 AND "opponent"='ed mahone'; | 2-10250479-2 |
Tell me the region for georgia | CREATE TABLE "round_1_venues" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "region" FROM "round_1_venues" WHERE "state"='georgia'; | 2-10373048-5 |
Tell me the host for midwest thomas assembly center | CREATE TABLE "round_1_venues" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "host" FROM "round_1_venues" WHERE "region"='midwest' AND "venue"='thomas assembly center'; | 2-10373048-5 |
Tell me the region for frank erwin center | CREATE TABLE "round_1_venues" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "region" FROM "round_1_venues" WHERE "venue"='frank erwin center'; | 2-10373048-5 |
In 1971 at MCG, what was the score of the VFL Reserves? | CREATE TABLE "reserves_team" (
"year" text,
"competition" text,
"opponent" text,
"score" text,
"venue" text
); | SELECT "score" FROM "reserves_team" WHERE "competition"='vfl reserves' AND "venue"='mcg' AND "year"='1971'; | 2-10257-5 |
What was the score when Richmond was the opponent? | CREATE TABLE "reserves_team" (
"year" text,
"competition" text,
"opponent" text,
"score" text,
"venue" text
); | SELECT "score" FROM "reserves_team" WHERE "opponent"='richmond'; | 2-10257-5 |
Where was the match with a score of 18.6 (114) - 21.14 (140)? | CREATE TABLE "reserves_team" (
"year" text,
"competition" text,
"opponent" text,
"score" text,
"venue" text
); | SELECT "venue" FROM "reserves_team" WHERE "score"='18.6 (114) - 21.14 (140)'; | 2-10257-5 |
At the VFL Reserves, who was the opponent when the score was 18.6 (114) - 21.14 (140)? | CREATE TABLE "reserves_team" (
"year" text,
"competition" text,
"opponent" text,
"score" text,
"venue" text
); | SELECT "opponent" FROM "reserves_team" WHERE "competition"='vfl reserves' AND "score"='18.6 (114) - 21.14 (140)'; | 2-10257-5 |
Where was the match with a score of 4.10 (34) - 8.12 (60)? | CREATE TABLE "reserves_team" (
"year" text,
"competition" text,
"opponent" text,
"score" text,
"venue" text
); | SELECT "venue" FROM "reserves_team" WHERE "score"='4.10 (34) - 8.12 (60)'; | 2-10257-5 |
How much is the total BBC 2 viewing in 1999? | CREATE TABLE "tv_ratings" (
"year" text,
"broadcast_date" text,
"bbc_one_total_viewing" text,
"bbc_one_rank" text,
"bbc_two_total_viewing" text,
"bbc_two_rank" text
); | SELECT "bbc_two_total_viewing" FROM "tv_ratings" WHERE "year"='1999'; | 2-103084-4 |
What was the rank of BBC 2 in 2005? | CREATE TABLE "tv_ratings" (
"year" text,
"broadcast_date" text,
"bbc_one_total_viewing" text,
"bbc_one_rank" text,
"bbc_two_total_viewing" text,
"bbc_two_rank" text
); | SELECT "bbc_two_rank" FROM "tv_ratings" WHERE "year"='2005'; | 2-103084-4 |
What is the BBC 2 rank when BBC 1 is 1st rank and the total viewing is 9,840,000? | CREATE TABLE "tv_ratings" (
"year" text,
"broadcast_date" text,
"bbc_one_total_viewing" text,
"bbc_one_rank" text,
"bbc_two_total_viewing" text,
"bbc_two_rank" text
); | SELECT "bbc_two_rank" FROM "tv_ratings" WHERE "bbc_one_rank"='1st' AND "bbc_one_total_viewing"='9,840,000'; | 2-103084-4 |
In what year was BBC 2 13th in rank? | CREATE TABLE "tv_ratings" (
"year" text,
"broadcast_date" text,
"bbc_one_total_viewing" text,
"bbc_one_rank" text,
"bbc_two_total_viewing" text,
"bbc_two_rank" text
); | SELECT "year" FROM "tv_ratings" WHERE "bbc_two_rank"='13th'; | 2-103084-4 |
How many goals occurred for Stein Huysegems when the caps value is more than 8? | CREATE TABLE "players" (
"player" text,
"country" text,
"caps" real,
"goals" text,
"years_active" text
); | SELECT "goals" FROM "players" WHERE "caps">8 AND "player"='stein huysegems'; | 2-10157505-1 |
What is the largest caps value for Glen Moss? | CREATE TABLE "players" (
"player" text,
"country" text,
"caps" real,
"goals" text,
"years_active" text
); | SELECT MAX("caps") FROM "players" WHERE "player"='glen moss'; | 2-10157505-1 |
What is the oldest year that the Royal Philharmonic Orchestra released a record with Decca Records? | CREATE TABLE "recordings" (
"cellist" text,
"orchestra" text,
"conductor" text,
"record_company" text,
"year_of_recording" real,
"format" text
); | SELECT MIN("year_of_recording") FROM "recordings" WHERE "orchestra"='royal philharmonic orchestra' AND "record_company"='decca records'; | 2-1029530-2 |
What format was conductor Erich Leinsdorf's album released on? | CREATE TABLE "recordings" (
"cellist" text,
"orchestra" text,
"conductor" text,
"record_company" text,
"year_of_recording" real,
"format" text
); | SELECT "format" FROM "recordings" WHERE "conductor"='erich leinsdorf'; | 2-1029530-2 |
What record company released a CD in 1964? | CREATE TABLE "recordings" (
"cellist" text,
"orchestra" text,
"conductor" text,
"record_company" text,
"year_of_recording" real,
"format" text
); | SELECT "record_company" FROM "recordings" WHERE "year_of_recording"=1964 AND "format"='cd'; | 2-1029530-2 |
What division has finalist playoffs and was 3rd round Open Cup? | CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text,
"avg_attendance" text
); | SELECT "division" FROM "year_by_year" WHERE "playoffs"='finalist' AND "open_cup"='3rd round'; | 2-1032084-2 |
What year was the team 8th in the season and made it to the 3rd round in Open Cup? | CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text,
"avg_attendance" text
); | SELECT "year" FROM "year_by_year" WHERE "reg_season"='8th' AND "open_cup"='3rd round'; | 2-1032084-2 |
Tell me the launch date/time for payload of gsat-4 | CREATE TABLE "launch_history" (
"flight" text,
"launch_date_time_utc" text,
"variant" text,
"launch_pad" text,
"payload" text,
"payload_mass" text
); | SELECT "launch_date_time_utc" FROM "launch_history" WHERE "payload"='gsat-4'; | 2-1005861-1 |
Tell me the launch pad for 25 december 2010 10:34 | CREATE TABLE "launch_history" (
"flight" text,
"launch_date_time_utc" text,
"variant" text,
"launch_pad" text,
"payload" text,
"payload_mass" text
); | SELECT "launch_pad" FROM "launch_history" WHERE "launch_date_time_utc"='25 december 2010 10:34'; | 2-1005861-1 |
Who had a rank more than 48, and a last in 2005? | CREATE TABLE "women" (
"rank" real,
"name" text,
"confederation" text,
"caps" real,
"last" real
); | SELECT "name" FROM "women" WHERE "rank">48 AND "last"=2005; | 2-10205078-4 |
Which UEFA confederation member had a rank more than 17 and caps of 114? | CREATE TABLE "women" (
"rank" real,
"name" text,
"confederation" text,
"caps" real,
"last" real
); | SELECT "name" FROM "women" WHERE "rank">17 AND "confederation"='uefa' AND "caps"=114; | 2-10205078-4 |
Tell me the result of july 16, 2000 | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "date"='july 16, 2000'; | 2-1004078-1 |
What is the maximum cap number where 0 goals were scored with a rank of 15? | CREATE TABLE "most_caps_for_estonia" (
"rank" real,
"player" text,
"career" text,
"caps" real,
"goals" real
); | SELECT MAX("caps") FROM "most_caps_for_estonia" WHERE "goals"=0 AND "rank"=15; | 2-1006164-2 |
What were the fewest amount of guns possessed by a frigate that served in 1815? | CREATE TABLE "ships_served_in_by_adam_bolitho" (
"ship" text,
"guns" real,
"class" text,
"captain" text,
"rank" text,
"year" text
); | SELECT MIN("guns") FROM "ships_served_in_by_adam_bolitho" WHERE "class"='frigate' AND "year"='1815'; | 2-1023875-4 |
Of the games that sold 321,000 units in the UK, what is their average place? | CREATE TABLE "other" (
"place" real,
"title" text,
"units_sold_in_japan" text,
"units_sold_in_the_uk" text,
"units_sold_in_the_us" text,
"total_units_sold" real
); | SELECT AVG("place") FROM "other" WHERE "units_sold_in_the_uk"='321,000'; | 2-10060114-12 |
How many units were sold in the US of the game that sold 346,000 units in japan? | CREATE TABLE "other" (
"place" real,
"title" text,
"units_sold_in_japan" text,
"units_sold_in_the_uk" text,
"units_sold_in_the_us" text,
"total_units_sold" real
); | SELECT "units_sold_in_the_us" FROM "other" WHERE "units_sold_in_japan"='346,000'; | 2-10060114-12 |
Tell me the player from dallas burn | CREATE TABLE "round_four" (
"pick_num" real,
"mls_team" text,
"player" text,
"position" text,
"affiliation" text
); | SELECT "player" FROM "round_four" WHERE "mls_team"='dallas burn'; | 2-1014145-4 |
Tell me the sum of pick number for kenny arena | CREATE TABLE "round_four" (
"pick_num" real,
"mls_team" text,
"player" text,
"position" text,
"affiliation" text
); | SELECT SUM("pick_num") FROM "round_four" WHERE "player"='kenny arena'; | 2-1014145-4 |
What city is the Northeast Louisiana University located in? | CREATE TABLE "first_round" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "city" FROM "first_round" WHERE "host"='northeast louisiana university'; | 2-10349289-5 |
What region is the city of Philadelphia located in? | CREATE TABLE "first_round" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "region" FROM "first_round" WHERE "city"='philadelphia'; | 2-10349289-5 |
What venue is in Long Beach? | CREATE TABLE "first_round" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "venue" FROM "first_round" WHERE "city"='long beach'; | 2-10349289-5 |
What state is Knoxville and the mideast region located in? | CREATE TABLE "first_round" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "state" FROM "first_round" WHERE "region"='mideast' AND "city"='knoxville'; | 2-10349289-5 |
What is the host in Georgia? | CREATE TABLE "first_round" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "host" FROM "first_round" WHERE "state"='georgia'; | 2-10349289-5 |
What state is the University of Tennessee located in? | CREATE TABLE "first_round" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "state" FROM "first_round" WHERE "host"='university of tennessee'; | 2-10349289-5 |
Tell me the date that has a week larger than 3 and a result of w 28-27 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "week">3 AND "result"='w 28-27'; | 2-10362070-3 |
Tell me the sum of attendane for a result of w 12-3 and week more than 12 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT SUM("attendance") FROM "schedule" WHERE "result"='w 12-3' AND "week">12; | 2-10362070-3 |
Tell me the total number of attendance for result of l 18-6 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("attendance") FROM "schedule" WHERE "result"='l 18-6'; | 2-10362070-3 |
Tell me the total number of attendance for week of 16 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("attendance") FROM "schedule" WHERE "week"=16; | 2-10362070-3 |
How many bronzes were held by those with a total of 4 and less than 3 silvers. | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("bronze") FROM "medal_table" WHERE "total"=4 AND "silver"<3; | 2-10139127-3 |
How many rounds did the IFL: Oakland event have? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"location" text
); | SELECT SUM("round") FROM "mixed_martial_arts_record" WHERE "event"='ifl: oakland'; | 2-10220225-2 |
Which opponent has a record of 3-0? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"location" text
); | SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "record"='3-0'; | 2-10220225-2 |
Tell me the constructor for david coulthard | CREATE TABLE "qualifying" (
"pos" text,
"driver" text,
"constructor" text,
"part_1" text,
"grid" text
); | SELECT "constructor" FROM "qualifying" WHERE "driver"='david coulthard'; | 2-10106668-1 |
Tell me the pos for adrian sutil | CREATE TABLE "qualifying" (
"pos" text,
"driver" text,
"constructor" text,
"part_1" text,
"grid" text
); | SELECT "pos" FROM "qualifying" WHERE "driver"='adrian sutil'; | 2-10106668-1 |
Tell me the part 1 of grid of 1 | CREATE TABLE "qualifying" (
"pos" text,
"driver" text,
"constructor" text,
"part_1" text,
"grid" text
); | SELECT "part_1" FROM "qualifying" WHERE "grid"='1'; | 2-10106668-1 |
Name the city of license for call sign of k215es | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" text,
"class" text,
"fcc_info" text
); | SELECT "city_of_license" FROM "translators" WHERE "call_sign"='k215es'; | 2-10214752-1 |
Name the FCC info for call sign of k208eq | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" text,
"class" text,
"fcc_info" text
); | SELECT "fcc_info" FROM "translators" WHERE "call_sign"='k208eq'; | 2-10214752-1 |
Tell me the total number of date for carpet | CREATE TABLE "open_era_singles_finals_3_2" (
"outcome" text,
"date" real,
"championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT COUNT("date") FROM "open_era_singles_finals_3_2" WHERE "surface"='carpet'; | 2-10325248-1 |
Tell me the opponent for 6–2, 3–6, 4–6 | CREATE TABLE "open_era_singles_finals_3_2" (
"outcome" text,
"date" real,
"championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "opponent_in_the_final" FROM "open_era_singles_finals_3_2" WHERE "score_in_the_final"='6–2, 3–6, 4–6'; | 2-10325248-1 |
What is the nationality of Martin Lewis? | CREATE TABLE "l" (
"player" text,
"nationality" text,
"position" text,
"years_in_toronto" text,
"school_club_team" text
); | SELECT "nationality" FROM "l" WHERE "player"='martin lewis'; | 2-10015132-11 |
Tell me the opponent of week 14 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "week"=14; | 2-10361889-2 |
Tell me the average attendance for week of 11 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT AVG("attendance") FROM "schedule" WHERE "week"=11; | 2-10361889-2 |
Tell me opponent for result of w 33-31 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "result"='w 33-31'; | 2-10361889-2 |
What Name is administered by oral or iv, and is being investigated for thyroid imaging thyroid metastases imaging? | CREATE TABLE "iodine_123" (
"name" text,
"investigation" text,
"route_of_administration" text,
"in_vitro_in_vivo" text,
"imaging_non_imaging" text
); | SELECT "name" FROM "iodine_123" WHERE "route_of_administration"='oral or iv' AND "investigation"='thyroid imaging thyroid metastases imaging'; | 2-1035507-13 |
Who is the owner with a call sign of cjgx? | CREATE TABLE "media" (
"frequency" text,
"call_sign" text,
"branding" text,
"format" text,
"owner" text
); | SELECT "owner" FROM "media" WHERE "call_sign"='cjgx'; | 2-1034685-1 |
Who is the owner of the branding gx94? | CREATE TABLE "media" (
"frequency" text,
"call_sign" text,
"branding" text,
"format" text,
"owner" text
); | SELECT "owner" FROM "media" WHERE "branding"='gx94'; | 2-1034685-1 |
What is the call frequency sign of cjjc-fm? | CREATE TABLE "media" (
"frequency" text,
"call_sign" text,
"branding" text,
"format" text,
"owner" text
); | SELECT "frequency" FROM "media" WHERE "call_sign"='cjjc-fm'; | 2-1034685-1 |
Who is the owner with the branding fox fm? | CREATE TABLE "media" (
"frequency" text,
"call_sign" text,
"branding" text,
"format" text,
"owner" text
); | SELECT "owner" FROM "media" WHERE "branding"='fox fm'; | 2-1034685-1 |
What is the branding frequency of cbc radio 2? | CREATE TABLE "media" (
"frequency" text,
"call_sign" text,
"branding" text,
"format" text,
"owner" text
); | SELECT "frequency" FROM "media" WHERE "branding"='cbc radio 2'; | 2-1034685-1 |
Tell me the location for altitude being less thaan 6102 | CREATE TABLE "himalayan_peaks_of_uttarakhand" (
"name" text,
"location" text,
"district" text,
"altitude_metres" real,
"region" text
); | SELECT "location" FROM "himalayan_peaks_of_uttarakhand" WHERE "altitude_metres"<6102; | 2-10156254-1 |
Say the region for 6854 altitudes | CREATE TABLE "himalayan_peaks_of_uttarakhand" (
"name" text,
"location" text,
"district" text,
"altitude_metres" real,
"region" text
); | SELECT "region" FROM "himalayan_peaks_of_uttarakhand" WHERE "altitude_metres"=6854; | 2-10156254-1 |
What is the frequency of number 161? | CREATE TABLE "buses" (
"number" real,
"origin" text,
"final_destination" text,
"frequency" text,
"distance" text
); | SELECT "frequency" FROM "buses" WHERE "number"=161; | 2-1020101-1 |
What is the frequency of number 3 with a bus station origin? | CREATE TABLE "buses" (
"number" real,
"origin" text,
"final_destination" text,
"frequency" text,
"distance" text
); | SELECT "frequency" FROM "buses" WHERE "origin"='bus station' AND "number"=3; | 2-1020101-1 |
What is the origin of the one with a number larger than 161? | CREATE TABLE "buses" (
"number" real,
"origin" text,
"final_destination" text,
"frequency" text,
"distance" text
); | SELECT "origin" FROM "buses" WHERE "number">161; | 2-1020101-1 |
What is the origin of the one whose final destination is Brandholmen? | CREATE TABLE "buses" (
"number" real,
"origin" text,
"final_destination" text,
"frequency" text,
"distance" text
); | SELECT "origin" FROM "buses" WHERE "final_destination"='brandholmen'; | 2-1020101-1 |
What is the highest rank of a rider whose time was 1:19.02.8? | CREATE TABLE "1970_isle_of_man_lightweight_tt_125cc_fi" (
"place" real,
"rider" text,
"country" text,
"machine" text,
"speed" text,
"time" text,
"points" real
); | SELECT MAX("place") FROM "1970_isle_of_man_lightweight_tt_125cc_fi" WHERE "time"='1:19.02.8'; | 2-10301911-8 |
Tell me the revised of mccune reischauer of yŏn (s) ryŏn (n) | CREATE TABLE "notes" (
"hangul" text,
"hanja" text,
"revised" text,
"mc_cune_reischauer" text,
"estimated_distribution_2000" real
); | SELECT "revised" FROM "notes" WHERE "mc_cune_reischauer"='yŏn (s) ryŏn (n)'; | 2-10174660-1 |
Name the hanja for hangul of 주 | CREATE TABLE "notes" (
"hangul" text,
"hanja" text,
"revised" text,
"mc_cune_reischauer" text,
"estimated_distribution_2000" real
); | SELECT "hanja" FROM "notes" WHERE "hangul"='주'; | 2-10174660-1 |
Tell me the hanja of eum | CREATE TABLE "notes" (
"hangul" text,
"hanja" text,
"revised" text,
"mc_cune_reischauer" text,
"estimated_distribution_2000" real
); | SELECT "hanja" FROM "notes" WHERE "revised"='eum'; | 2-10174660-1 |
What model was released in 2005? | CREATE TABLE "track_ir_model_comparison" (
"model" text,
"sensor_resolution" text,
"angle" real,
"released" real,
"latest_software" text
); | SELECT "model" FROM "track_ir_model_comparison" WHERE "released"=2005; | 2-10358417-1 |
Tell me the score for 9 may 2001 | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "date"='9 may 2001'; | 2-10358163-1 |
Tell me the competition for 25 march 2001 | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "date"='25 march 2001'; | 2-10358163-1 |
Who was the Race Winner of the Southern Illinois 100? | CREATE TABLE "schedule_and_results" (
"date" text,
"track" text,
"event_name" text,
"pole_winner" text,
"race_winner" text
); | SELECT "race_winner" FROM "schedule_and_results" WHERE "event_name"='southern illinois 100'; | 2-10354017-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.