question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many Games have a Drawn larger than 0, and a Lost of 1? | CREATE TABLE "first_round" (
"games" real,
"drawn" real,
"lost" real,
"points_difference" text,
"points" real
); | SELECT COUNT("games") FROM "first_round" WHERE "drawn">0 AND "lost"=1; | 2-14113017-1 |
Which Points have a Drawn larger than 0, and a Lost larger than 1? | CREATE TABLE "first_round" (
"games" real,
"drawn" real,
"lost" real,
"points_difference" text,
"points" real
); | SELECT AVG("points") FROM "first_round" WHERE "drawn">0 AND "lost">1; | 2-14113017-1 |
Which Drawn has a Lost larger than 0, and Points smaller than 11, and Games smaller than 7? | CREATE TABLE "first_round" (
"games" real,
"drawn" real,
"lost" real,
"points_difference" text,
"points" real
); | SELECT AVG("drawn") FROM "first_round" WHERE "lost">0 AND "points"<11 AND "games"<7; | 2-14113017-1 |
What is the percentage of the liberal party with less than 25 percent of seats? | CREATE TABLE "electoral_effect" (
"party" text,
"votes_cast" real,
"percentage" real,
"seats_won" real,
"percent_of_seats" real
); | SELECT COUNT("percentage") FROM "electoral_effect" WHERE "party"='liberal' AND "percent_of_seats"<25; | 2-1366134-1 |
Which party won less than 21 seats, has 0 percent of seats, and 69757 votes cast? | CREATE TABLE "electoral_effect" (
"party" text,
"votes_cast" real,
"percentage" real,
"seats_won" real,
"percent_of_seats" real
); | SELECT "party" FROM "electoral_effect" WHERE "seats_won"<21 AND "percent_of_seats"=0 AND "votes_cast"=69757; | 2-1366134-1 |
Can you tell me the Date that has the Game of 2? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"series" text
); | SELECT "date" FROM "playoffs" WHERE "game"=2; | 2-14302613-9 |
When the date is July 8, and the score is 8-12, who is the opponent? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "date"='july 8' AND "score"='8-12'; | 2-13711033-5 |
When the Loss is Johnson (4-12), what is the date? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "game_log" WHERE "loss"='johnson (4-12)'; | 2-13711033-5 |
What date is associated with the Loss of Farrell (6-13)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "game_log" WHERE "loss"='farrell (6-13)'; | 2-13711033-5 |
Which opponent has the score of 0-3? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "score"='0-3'; | 2-13711033-5 |
What is the Total of kyrgyzstan with a Silver smaller than 0? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("total") FROM "medals_table" WHERE "nation"='kyrgyzstan' AND "silver"<0; | 2-14172437-3 |
What is the Total that has a number of Nation and a Gold smaller than 16? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("total") FROM "medals_table" WHERE "nation"='total' AND "gold"<16; | 2-14172437-3 |
Which Rank has a Silver larger than 1 and a Total larger than 13? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "rank" FROM "medals_table" WHERE "silver">1 AND "total">13; | 2-14172437-3 |
How many Silvers that have a Rank of 2? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("silver") FROM "medals_table" WHERE "rank"='2'; | 2-14172437-3 |
What was the previous conference for the school that joined in 2000 with a millers mascot? | CREATE TABLE "member_schools" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"2013_2014_size" real,
"year_joined" real,
"previous_conference" text
); | SELECT "previous_conference" FROM "member_schools" WHERE "year_joined"=2000 AND "mascot"='millers'; | 2-14872943-1 |
What is the name of the college that is from a round greater than 3 with Gillis Wilson playing? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "nfl_draft" WHERE "round">3 AND "player"='gillis wilson'; | 2-14094220-1 |
What is average round of Auburn College? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"college" text
); | SELECT AVG("round") FROM "nfl_draft" WHERE "college"='auburn'; | 2-14094220-1 |
Which Top 10 is the lowest one that has Winnings of $405,300, and an Avg Start smaller than 30? | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" real,
"avg_finish" real,
"winnings" text,
"position" text
); | SELECT MIN("top_10") FROM "nascar_sprint_cup_series" WHERE "winnings"='$405,300' AND "avg_start"<30; | 2-1507423-4 |
How many Wins have a Top 5 smaller than 0? | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" real,
"avg_finish" real,
"winnings" text,
"position" text
); | SELECT SUM("wins") FROM "nascar_sprint_cup_series" WHERE "top_5"<0; | 2-1507423-4 |
Which Top 10 has a Top 5 larger than 1, and a Year of 2003, and Poles larger than 0? | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" real,
"avg_finish" real,
"winnings" text,
"position" text
); | SELECT AVG("top_10") FROM "nascar_sprint_cup_series" WHERE "top_5">1 AND "year"=2003 AND "poles">0; | 2-1507423-4 |
How many Top 10s have Wins larger than 0, and Poles larger than 0? | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" real,
"avg_finish" real,
"winnings" text,
"position" text
); | SELECT COUNT("top_10") FROM "nascar_sprint_cup_series" WHERE "wins">0 AND "poles">0; | 2-1507423-4 |
What is the Established date of the Ontario Provincial Junior A Hockey League with more than 1 Championship? | CREATE TABLE "amateur_and_junior_clubs" (
"club" text,
"league" text,
"venue" text,
"established" real,
"championships" real
); | SELECT COUNT("established") FROM "amateur_and_junior_clubs" WHERE "league"='ontario provincial junior a hockey' AND "championships">1; | 2-14288-9 |
What Venue has more than 1 Championship and was Established after 1957? | CREATE TABLE "amateur_and_junior_clubs" (
"club" text,
"league" text,
"venue" text,
"established" real,
"championships" real
); | SELECT "venue" FROM "amateur_and_junior_clubs" WHERE "championships"=1 AND "established">1957; | 2-14288-9 |
With less than 1 Championship, what es the Established date of the Niagara Rugby Union League? | CREATE TABLE "amateur_and_junior_clubs" (
"club" text,
"league" text,
"venue" text,
"established" real,
"championships" real
); | SELECT SUM("established") FROM "amateur_and_junior_clubs" WHERE "championships"<1 AND "league"='niagara rugby union'; | 2-14288-9 |
What is the Established date of the Brian Timmis Stadium? | CREATE TABLE "amateur_and_junior_clubs" (
"club" text,
"league" text,
"venue" text,
"established" real,
"championships" real
); | SELECT COUNT("established") FROM "amateur_and_junior_clubs" WHERE "venue"='brian timmis stadium'; | 2-14288-9 |
What is the junior type with an intake of 60 and a DCSF number less than 3386 with the smallest Ofsted number? | CREATE TABLE "west" (
"name" text,
"faith" text,
"type" text,
"intake" real,
"dcsf_number" real,
"ofsted_number" real
); | SELECT MIN("ofsted_number") FROM "west" WHERE "intake"=60 AND "type"='junior' AND "dcsf_number"<3386; | 2-15089329-3 |
Which Record has a Game smaller than 19, and Points smaller than 19, and a Score of 4–6? | CREATE TABLE "regular_season" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT "record" FROM "regular_season" WHERE "game"<19 AND "points"<19 AND "score"='4–6'; | 2-14303579-3 |
How many games have a Record of 7–6–3, and Points smaller than 17? | CREATE TABLE "regular_season" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT COUNT("game") FROM "regular_season" WHERE "record"='7–6–3' AND "points"<17; | 2-14303579-3 |
Which Points have an Opponent of vancouver canucks, and a November smaller than 11? | CREATE TABLE "regular_season" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT AVG("points") FROM "regular_season" WHERE "opponent"='vancouver canucks' AND "november"<11; | 2-14303579-3 |
which Record is on March of 12 | CREATE TABLE "schedule_and_results" (
"game" real,
"march" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "record" FROM "schedule_and_results" WHERE "march"=12; | 2-14473419-6 |
What is the number of March that has 25-10-9 record and a Game more than 44? | CREATE TABLE "schedule_and_results" (
"game" real,
"march" real,
"opponent" text,
"score" text,
"record" text
); | SELECT COUNT("march") FROM "schedule_and_results" WHERE "record"='25-10-9' AND "game">44; | 2-14473419-6 |
Which Game has a Record of 27-11-10? | CREATE TABLE "schedule_and_results" (
"game" real,
"march" real,
"opponent" text,
"score" text,
"record" text
); | SELECT AVG("game") FROM "schedule_and_results" WHERE "record"='27-11-10'; | 2-14473419-6 |
What is the Speed when Construction begun in 2010, and an Expected start of revenue services of 2015? | CREATE TABLE "bulgaria" (
"line" text,
"speed" text,
"length" text,
"construction_begun" text,
"expected_start_of_revenue_services" real
); | SELECT "speed" FROM "bulgaria" WHERE "construction_begun"='2010' AND "expected_start_of_revenue_services"=2015; | 2-14227171-10 |
What is the length when the expected start of revenue is more than 2017? | CREATE TABLE "bulgaria" (
"line" text,
"speed" text,
"length" text,
"construction_begun" text,
"expected_start_of_revenue_services" real
); | SELECT "length" FROM "bulgaria" WHERE "expected_start_of_revenue_services">2017; | 2-14227171-10 |
What was the undecided with Roy Barnes at 47%? | CREATE TABLE "democratic_primary" (
"poll_source" text,
"dates_administered" text,
"roy_barnes" text,
"thurbert_baker" text,
"du_bose_porter" text,
"david_poythress" text,
"undecided" text
); | SELECT "undecided" FROM "democratic_primary" WHERE "roy_barnes"='47%'; | 2-13774007-1 |
What is the DuBose Porter with Roy Barnes at 54%? | CREATE TABLE "democratic_primary" (
"poll_source" text,
"dates_administered" text,
"roy_barnes" text,
"thurbert_baker" text,
"du_bose_porter" text,
"david_poythress" text,
"undecided" text
); | SELECT "du_bose_porter" FROM "democratic_primary" WHERE "roy_barnes"='54%'; | 2-13774007-1 |
What series episode has deli meats under segment B? | CREATE TABLE "season_12_2008_2009" (
"series_ep" text,
"episode" real,
"netflix" text,
"segment_a" text,
"segment_b" text,
"segment_c" text,
"segment_d" text
); | SELECT "series_ep" FROM "season_12_2008_2009" WHERE "segment_b"='deli meats'; | 2-15187735-12 |
Which After 1 year has an After 3 years of 80%? | CREATE TABLE "comparison_table" (
"model" text,
"min_capacity_m_ah" text,
"typ_capacity_m_ah" text,
"capacity_after_first_day" text,
"after_1_year" text,
"after_2_years" text,
"after_3_years" text,
"after_5_years" text
); | SELECT "after_1_year" FROM "comparison_table" WHERE "after_3_years"='80%'; | 2-14839379-1 |
What position does Alexei Lazarenko have? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "position" FROM "draft_picks" WHERE "player"='alexei lazarenko'; | 2-14229231-11 |
What college did Jamie Butt go to? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "player"='jamie butt'; | 2-14229231-11 |
What school did Alexander Korobolin go to? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "player"='alexander korobolin'; | 2-14229231-11 |
Who has a round less than 9 and a position of G? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "player" FROM "draft_picks" WHERE "position"='g' AND "round"<9; | 2-14229231-11 |
Name the sum of cuts with wins less than 2, top-25 more than 7 and top-10 less than 2 | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT SUM("cuts_made") FROM "summary" WHERE "wins"<2 AND "top_25">7 AND "top_10"<2; | 2-1519481-6 |
What was the score that led to an 11-16 record? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "record"='11-16'; | 2-14337020-3 |
Who took the loss on May 20? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" text,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "date"='may 20'; | 2-14337020-3 |
What was the attendance of the game that lasted 3:55? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" text,
"record" text
); | SELECT "att" FROM "game_log" WHERE "time"='3:55'; | 2-14337020-3 |
What was the date of the game in which Holt (4-4) took the loss? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "loss"='holt (4-4)'; | 2-14337020-3 |
What was the date when the pitcher was Jason Marquis and the length was 410'? | CREATE TABLE "barry_bonds_73_home_runs" (
"number" text,
"date" text,
"pitcher" text,
"team" text,
"inning" text,
"length" text
); | SELECT "date" FROM "barry_bonds_73_home_runs" WHERE "pitcher"='jason marquis' AND "length"='410'''; | 2-13725695-7 |
What number home run was in the 8th inning and went 410'? | CREATE TABLE "barry_bonds_73_home_runs" (
"number" text,
"date" text,
"pitcher" text,
"team" text,
"inning" text,
"length" text
); | SELECT "number" FROM "barry_bonds_73_home_runs" WHERE "inning"='8th' AND "length"='410'''; | 2-13725695-7 |
Which Max 1-min wind mph (km/h) that has Dates active on september22– september28? | CREATE TABLE "1940_north_atlantic_tropical_cyclone_sta" (
"storm_name" text,
"dates_active" text,
"max_1_min_wind_mph_km_h" text,
"min_press_mbar" text,
"damage_millions_usd" text,
"deaths" text
); | SELECT "max_1_min_wind_mph_km_h" FROM "1940_north_atlantic_tropical_cyclone_sta" WHERE "dates_active"='september22– september28'; | 2-1402465-1 |
Which Min press has none Death and seven Storm names? | CREATE TABLE "1940_north_atlantic_tropical_cyclone_sta" (
"storm_name" text,
"dates_active" text,
"max_1_min_wind_mph_km_h" text,
"min_press_mbar" text,
"damage_millions_usd" text,
"deaths" text
); | SELECT "min_press_mbar" FROM "1940_north_atlantic_tropical_cyclone_sta" WHERE "deaths"='none' AND "storm_name"='seven'; | 2-1402465-1 |
What is the cost of 972 Min Press caused 52 death? | CREATE TABLE "1940_north_atlantic_tropical_cyclone_sta" (
"storm_name" text,
"dates_active" text,
"max_1_min_wind_mph_km_h" text,
"min_press_mbar" text,
"damage_millions_usd" text,
"deaths" text
); | SELECT "damage_millions_usd" FROM "1940_north_atlantic_tropical_cyclone_sta" WHERE "min_press_mbar"='972' AND "deaths"='52'; | 2-1402465-1 |
What is the active Date that has a 65 (100) Max 1-min wind? | CREATE TABLE "1940_north_atlantic_tropical_cyclone_sta" (
"storm_name" text,
"dates_active" text,
"max_1_min_wind_mph_km_h" text,
"min_press_mbar" text,
"damage_millions_usd" text,
"deaths" text
); | SELECT "dates_active" FROM "1940_north_atlantic_tropical_cyclone_sta" WHERE "max_1_min_wind_mph_km_h"='65 (100)'; | 2-1402465-1 |
What is the Class AA with a Class AAAA of Sulphur Springs and Duncanville as the class AAAAA? | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aa" FROM "team" WHERE "class_aaaa"='sulphur springs' AND "class_aaaaa"='duncanville'; | 2-14630796-2 |
What is the Class AA in the 2010-11 school year with a class AAA of Giddings? | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aa" FROM "team" WHERE "class_aaa"='giddings' AND "school_year"='2010-11'; | 2-14630796-2 |
What is the Class AA of the school year 2009-10 with a class AAA of Giddings? | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aa" FROM "team" WHERE "class_aaa"='giddings' AND "school_year"='2009-10'; | 2-14630796-2 |
What is the class AAAAA of the school year 1993-94 with a class AAA of Mont Belvieu Barbers Hill? | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aaaaa" FROM "team" WHERE "class_aaa"='mont belvieu barbers hill' AND "school_year"='1993-94'; | 2-14630796-2 |
What is the school year with a class AA of Rosebud-Lott, a class AAAAA of Duncanville, and a class AAA of Mont Belvieu Barbers Hill? | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "school_year" FROM "team" WHERE "class_aa"='rosebud-lott' AND "class_aaaaa"='duncanville' AND "class_aaa"='mont belvieu barbers hill'; | 2-14630796-2 |
What is the class AAA of the 1993-94 school year with a class AAAAA of Duncanville? | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aaa" FROM "team" WHERE "class_aaaaa"='duncanville' AND "school_year"='1993-94'; | 2-14630796-2 |
Who was the visiting team on May 7? | CREATE TABLE "pittsburgh_penguins_4_boston_bruins_2" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "visitor" FROM "pittsburgh_penguins_4_boston_bruins_2" WHERE "date"='may 7'; | 2-14057447-9 |
what year has 13,426,901 passengers and more than 10,726,551 international passengers? | CREATE TABLE "annual_passenger_statistics_for_helsinki" (
"year" real,
"domestic_passengers" real,
"international_passengers" real,
"total_passengers" real,
"change" text
); | SELECT SUM("year") FROM "annual_passenger_statistics_for_helsinki" WHERE "total_passengers"='13,426,901' AND "international_passengers">'10,726,551'; | 2-141541-4 |
what total number of passengers is domestic and larger than 2,803,907 and a year after 1999? | CREATE TABLE "annual_passenger_statistics_for_helsinki" (
"year" real,
"domestic_passengers" real,
"international_passengers" real,
"total_passengers" real,
"change" text
); | SELECT COUNT("total_passengers") FROM "annual_passenger_statistics_for_helsinki" WHERE "domestic_passengers"='2,803,907' AND "year">1999; | 2-141541-4 |
Who had a Qualifying 2 time over 58.669 for Team Australia? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" real,
"best" real
); | SELECT "name" FROM "qualifying_results" WHERE "qual_2">58.669 AND "team"='team australia'; | 2-14522314-1 |
Which qualifying 1 time has a best under 58.669 and a qualifying 2 time under 57.897? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" real,
"best" real
); | SELECT "qual_1" FROM "qualifying_results" WHERE "best"<58.669 AND "qual_2"<57.897; | 2-14522314-1 |
Which team has a qualifying 2 time under 59.612 and a best of 59.14? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" real,
"best" real
); | SELECT "team" FROM "qualifying_results" WHERE "qual_2"<59.612 AND "best"=59.14; | 2-14522314-1 |
Which Lungchang has a Halang of ʒɯ², and a Rera of ʒo²? | CREATE TABLE "language" (
"gloss" text,
"cholim" text,
"lungchang" text,
"rera" text,
"tikhak" text,
"yonguk" text,
"muklom" text,
"hakhun" text,
"halang" text
); | SELECT "lungchang" FROM "language" WHERE "halang"='ʒɯ²' AND "rera"='ʒo²'; | 2-1483664-1 |
Which Tikhak has a Yonguk of wu¹ti¹? | CREATE TABLE "language" (
"gloss" text,
"cholim" text,
"lungchang" text,
"rera" text,
"tikhak" text,
"yonguk" text,
"muklom" text,
"hakhun" text,
"halang" text
); | SELECT "tikhak" FROM "language" WHERE "yonguk"='wu¹ti¹'; | 2-1483664-1 |
Which Yonguk has a Halang of ran¹? | CREATE TABLE "language" (
"gloss" text,
"cholim" text,
"lungchang" text,
"rera" text,
"tikhak" text,
"yonguk" text,
"muklom" text,
"hakhun" text,
"halang" text
); | SELECT "yonguk" FROM "language" WHERE "halang"='ran¹'; | 2-1483664-1 |
Which Halang has a Rera of ʒo²? | CREATE TABLE "language" (
"gloss" text,
"cholim" text,
"lungchang" text,
"rera" text,
"tikhak" text,
"yonguk" text,
"muklom" text,
"hakhun" text,
"halang" text
); | SELECT "halang" FROM "language" WHERE "rera"='ʒo²'; | 2-1483664-1 |
Which Muklom has a Halang of wɯ¹cʰi¹? | CREATE TABLE "language" (
"gloss" text,
"cholim" text,
"lungchang" text,
"rera" text,
"tikhak" text,
"yonguk" text,
"muklom" text,
"hakhun" text,
"halang" text
); | SELECT "muklom" FROM "language" WHERE "halang"='wɯ¹cʰi¹'; | 2-1483664-1 |
Which Hakhun has a Tikhak of ʒu²? | CREATE TABLE "language" (
"gloss" text,
"cholim" text,
"lungchang" text,
"rera" text,
"tikhak" text,
"yonguk" text,
"muklom" text,
"hakhun" text,
"halang" text
); | SELECT "hakhun" FROM "language" WHERE "tikhak"='ʒu²'; | 2-1483664-1 |
What is the location of Tamagaki station with an l stop? | CREATE TABLE "stations" (
"number" real,
"station" text,
"japanese" text,
"distance_km" real,
"stop" text,
"location" text
); | SELECT "location" FROM "stations" WHERE "stop"='l' AND "station"='tamagaki'; | 2-13779303-1 |
What is the station with a number greater than 9 and a distance of 16.4 km? | CREATE TABLE "stations" (
"number" real,
"station" text,
"japanese" text,
"distance_km" real,
"stop" text,
"location" text
); | SELECT "station" FROM "stations" WHERE "number">9 AND "distance_km"=16.4; | 2-13779303-1 |
What is the Japanese name of the station with a number 3? | CREATE TABLE "stations" (
"number" real,
"station" text,
"japanese" text,
"distance_km" real,
"stop" text,
"location" text
); | SELECT "japanese" FROM "stations" WHERE "number"=3; | 2-13779303-1 |
What is the number of the station in Suzuka that is smaller than 11.1 km and has an l stop? | CREATE TABLE "stations" (
"number" real,
"station" text,
"japanese" text,
"distance_km" real,
"stop" text,
"location" text
); | SELECT SUM("number") FROM "stations" WHERE "location"='suzuka' AND "distance_km"<11.1 AND "stop"='l'; | 2-13779303-1 |
What is the distance of Kawage station? | CREATE TABLE "stations" (
"number" real,
"station" text,
"japanese" text,
"distance_km" real,
"stop" text,
"location" text
); | SELECT SUM("distance_km") FROM "stations" WHERE "station"='kawage'; | 2-13779303-1 |
Which station has a number less than 5 and an l stop? | CREATE TABLE "stations" (
"number" real,
"station" text,
"japanese" text,
"distance_km" real,
"stop" text,
"location" text
); | SELECT "station" FROM "stations" WHERE "number"<5 AND "stop"='l'; | 2-13779303-1 |
Name the visitor for detroit on february 24 | CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "visitor" FROM "february" WHERE "home"='detroit' AND "date"='february 24'; | 2-14163678-6 |
What is the highest listed year for the partner of Marcel Granollers and a hard surface? | CREATE TABLE "doubles_5_3_titles_2_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT MAX("year") FROM "doubles_5_3_titles_2_runners_up" WHERE "partner"='marcel granollers' AND "surface"='hard'; | 2-13978560-2 |
What is the listed surface for the Championship of Toronto that had a runner-up outcome? | CREATE TABLE "doubles_5_3_titles_2_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "surface" FROM "doubles_5_3_titles_2_runners_up" WHERE "outcome"='runner-up' AND "championship"='toronto'; | 2-13978560-2 |
What time was the game during week 5? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"time_et" text,
"result" text,
"record" text
); | SELECT "time_et" FROM "schedule" WHERE "week"=5; | 2-14699896-11 |
Which City has a Series of Tamra's oc wedding? | CREATE TABLE "spin_offs" (
"series" text,
"premiere_date" text,
"no_of_seasons" real,
"city" text,
"starring" text
); | SELECT "city" FROM "spin_offs" WHERE "series"='tamra''s oc wedding'; | 2-14425652-5 |
What is the average number of borough councilors from Brompton? | CREATE TABLE "list_of_sherbrooke_boroughs" (
"borough" text,
"components" text,
"population" real,
"number_of_borough_councilors" real,
"number_of_municipal_councilors" real
); | SELECT AVG("number_of_borough_councilors") FROM "list_of_sherbrooke_boroughs" WHERE "borough"='brompton'; | 2-14927794-1 |
Which components have a borough of Lennoxville and borough councilors under 4? | CREATE TABLE "list_of_sherbrooke_boroughs" (
"borough" text,
"components" text,
"population" real,
"number_of_borough_councilors" real,
"number_of_municipal_councilors" real
); | SELECT "components" FROM "list_of_sherbrooke_boroughs" WHERE "number_of_borough_councilors"<4 AND "borough"='lennoxville'; | 2-14927794-1 |
5 November 2010 of dragon oil 4.02% has what average Date? | CREATE TABLE "constituents" (
"date" real,
"2_january_2007" text,
"19_october_2009" text,
"5_november_2010" text,
"16_december_2011" text,
"30_march_2012" text
); | SELECT AVG("date") FROM "constituents" WHERE "5_november_2010"='dragon oil 4.02%'; | 2-13975210-1 |
What is the average number of points for a difference of 55 and an against less than 47? | CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("points") FROM "campeonato_brasileiro_s_rie_a" WHERE "difference"='55' AND "against"<47; | 2-14924851-1 |
What is the highest lost that has an against greater than 60, points less than 61 and an 18 drawn? | CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("lost") FROM "campeonato_brasileiro_s_rie_a" WHERE "against">60 AND "points"<61 AND "drawn">18; | 2-14924851-1 |
What is the Name of the Historic House of the 18th Century? | CREATE TABLE "midlothian" (
"name" text,
"type" text,
"date" text,
"condition" text,
"ownership" text
); | SELECT "name" FROM "midlothian" WHERE "type"='historic house' AND "date"='18th century'; | 2-142936-17 |
What is the Type of castle from the 14th Century which Condition is preserved? | CREATE TABLE "midlothian" (
"name" text,
"type" text,
"date" text,
"condition" text,
"ownership" text
); | SELECT "type" FROM "midlothian" WHERE "date"='14th century' AND "condition"='preserved'; | 2-142936-17 |
What is the Name of the private Castle of the 16th century which is occupied? | CREATE TABLE "midlothian" (
"name" text,
"type" text,
"date" text,
"condition" text,
"ownership" text
); | SELECT "name" FROM "midlothian" WHERE "ownership"='private' AND "condition"='occupied' AND "date"='16th century'; | 2-142936-17 |
What is the Date of the castle with a Historic Scotland Ownership? | CREATE TABLE "midlothian" (
"name" text,
"type" text,
"date" text,
"condition" text,
"ownership" text
); | SELECT "date" FROM "midlothian" WHERE "ownership"='historic scotland'; | 2-142936-17 |
What is the Date of the Fortified House? | CREATE TABLE "midlothian" (
"name" text,
"type" text,
"date" text,
"condition" text,
"ownership" text
); | SELECT "date" FROM "midlothian" WHERE "type"='fortified house'; | 2-142936-17 |
What is the Date of the Courtyard Castle? | CREATE TABLE "midlothian" (
"name" text,
"type" text,
"date" text,
"condition" text,
"ownership" text
); | SELECT "date" FROM "midlothian" WHERE "type"='courtyard castle'; | 2-142936-17 |
What is the highest lost that has 6 for points? | CREATE TABLE "group_1" (
"games" real,
"drawn" real,
"lost" real,
"goal_difference" text,
"points" real
); | SELECT MAX("lost") FROM "group_1" WHERE "points"=6; | 2-14076898-1 |
How many losses have points less than 3, with a drawn greater than 0? | CREATE TABLE "group_1" (
"games" real,
"drawn" real,
"lost" real,
"goal_difference" text,
"points" real
); | SELECT SUM("lost") FROM "group_1" WHERE "points"<3 AND "drawn">0; | 2-14076898-1 |
Which Margin of victory has a Runner(s)-up of buddy gardner? | CREATE TABLE "pga_tour_wins_15" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "pga_tour_wins_15" WHERE "runner_s_up"='buddy gardner'; | 2-1530024-1 |
Which Date has a Winning score of –14 (66-64-68-68=266)? | CREATE TABLE "pga_tour_wins_15" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "pga_tour_wins_15" WHERE "winning_score"='–14 (66-64-68-68=266)'; | 2-1530024-1 |
Which Tournament has a Winning score of e (72-69-71-68=280)? | CREATE TABLE "pga_tour_wins_15" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "pga_tour_wins_15" WHERE "winning_score"='e (72-69-71-68=280)'; | 2-1530024-1 |
Which Margin of victory has a Runner(s)-up of dave barr? | CREATE TABLE "pga_tour_wins_15" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "pga_tour_wins_15" WHERE "runner_s_up"='dave barr'; | 2-1530024-1 |
Which Margin of victory has a Runner(s)-up of mark o'meara? | CREATE TABLE "pga_tour_wins_15" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "pga_tour_wins_15" WHERE "runner_s_up"='mark o''meara'; | 2-1530024-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.