question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Where was the disaster located that took place on 1916? | CREATE TABLE "200_or_more_deaths" (
"disaster" text,
"type" text,
"location" text,
"deaths" text,
"date" text
); | SELECT "location" FROM "200_or_more_deaths" WHERE "date"='1916'; | 2-14416011-1 |
Which Laps is the highest one that has a Time/Retired of +3.370 secs? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT MAX("laps") FROM "race" WHERE "time_retired"='+3.370 secs'; | 2-14446103-2 |
Which Grid has a Team of rusport, and Laps larger than 221? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT SUM("grid") FROM "race" WHERE "team"='rusport' AND "laps">221; | 2-14446103-2 |
What title has a producer of MAQ and Anna as a role? | CREATE TABLE "1996_to_1999" (
"year" real,
"title" text,
"role" text,
"producer" text,
"director" text
); | SELECT "title" FROM "1996_to_1999" WHERE "producer"='maq' AND "role"='anna'; | 2-15236220-2 |
How many years was Kay Tagal Kang Hinintay directed by Rory Quintos and produced by Star Cinema? | CREATE TABLE "1996_to_1999" (
"year" real,
"title" text,
"role" text,
"producer" text,
"director" text
); | SELECT COUNT("year") FROM "1996_to_1999" WHERE "producer"='star cinema' AND "director"='rory quintos' AND "title"='kay tagal kang hinintay'; | 2-15236220-2 |
Which title was directed by Joyce Bernal? | CREATE TABLE "1996_to_1999" (
"year" real,
"title" text,
"role" text,
"producer" text,
"director" text
); | SELECT "title" FROM "1996_to_1999" WHERE "director"='joyce bernal'; | 2-15236220-2 |
What song is it that artist morena camilleri does and has more than 38 points | CREATE TABLE "results" (
"draw" real,
"artist" text,
"song" text,
"composer" text,
"lyricist" text,
"place" real,
"points" real
); | SELECT "song" FROM "results" WHERE "points">38 AND "artist"='morena camilleri'; | 2-15050746-1 |
What is the total number of points for ray agius | CREATE TABLE "results" (
"draw" real,
"artist" text,
"song" text,
"composer" text,
"lyricist" text,
"place" real,
"points" real
); | SELECT SUM("points") FROM "results" WHERE "lyricist"='ray agius'; | 2-15050746-1 |
What play did henry s. uber / betty uber (eng) finish in? | CREATE TABLE "wins" (
"season" real,
"challenge" text,
"class" text,
"place" real,
"name" text
); | SELECT COUNT("place") FROM "wins" WHERE "name"='henry s. uber / betty uber (eng)'; | 2-14691331-1 |
When Baltimore County, Howard are represented, what's the first elected when the committee is environmental matters (vice-chair)? | CREATE TABLE "current_members_of_the_howard_county_del" (
"district" text,
"counties_represented" text,
"delegate" text,
"party" text,
"first_elected" real,
"committee" text
); | SELECT MAX("first_elected") FROM "current_members_of_the_howard_county_del" WHERE "counties_represented"='baltimore county, howard' AND "committee"='environmental matters (vice-chair)'; | 2-14009909-1 |
What party is the delegate of Turner, Frank S. Frank S. Turner of Howard County? | CREATE TABLE "current_members_of_the_howard_county_del" (
"district" text,
"counties_represented" text,
"delegate" text,
"party" text,
"first_elected" real,
"committee" text
); | SELECT "party" FROM "current_members_of_the_howard_county_del" WHERE "counties_represented"='howard' AND "delegate"='turner, frank s. frank s. turner'; | 2-14009909-1 |
What is the damage of storm three? | CREATE TABLE "1932_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 "1932_north_atlantic_tropical_cyclone_sta" WHERE "storm_name"='three'; | 2-1458309-1 |
Which Date has a MotoGP winner of casey stoner, and a 250cc winner of hiroshi aoyama? | CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"125cc_winner" text,
"250cc_winner" text,
"moto_gp_winner" text,
"report" text
); | SELECT "date" FROM "grands_prix" WHERE "moto_gp_winner"='casey stoner' AND "250cc_winner"='hiroshi aoyama'; | 2-15299235-1 |
Which 250cc winner has a 125cc winner of bradley smith, and a MotoGP winner of casey stoner? | CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"125cc_winner" text,
"250cc_winner" text,
"moto_gp_winner" text,
"report" text
); | SELECT "250cc_winner" FROM "grands_prix" WHERE "125cc_winner"='bradley smith' AND "moto_gp_winner"='casey stoner'; | 2-15299235-1 |
Which Round is the lowest one that has a Circuit of donington? | CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"125cc_winner" text,
"250cc_winner" text,
"moto_gp_winner" text,
"report" text
); | SELECT MIN("round") FROM "grands_prix" WHERE "circuit"='donington'; | 2-15299235-1 |
Which MotoGP winner has a 250cc winner of marco simoncelli, and a Round of 15? | CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"125cc_winner" text,
"250cc_winner" text,
"moto_gp_winner" text,
"report" text
); | SELECT "moto_gp_winner" FROM "grands_prix" WHERE "250cc_winner"='marco simoncelli' AND "round"=15; | 2-15299235-1 |
Which 250cc winner has a 125cc winner of bradley smith, and a Circuit of mugello? | CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"125cc_winner" text,
"250cc_winner" text,
"moto_gp_winner" text,
"report" text
); | SELECT "250cc_winner" FROM "grands_prix" WHERE "125cc_winner"='bradley smith' AND "circuit"='mugello'; | 2-15299235-1 |
Which 250cc winner has a Round larger than 6, and a Date of 26 july? | CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"125cc_winner" text,
"250cc_winner" text,
"moto_gp_winner" text,
"report" text
); | SELECT "250cc_winner" FROM "grands_prix" WHERE "round">6 AND "date"='26 july'; | 2-15299235-1 |
Attendance of 48,510 had what highest week? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"venue" text,
"attendance" real
); | SELECT MAX("week") FROM "schedule" WHERE "attendance"='48,510'; | 2-14876918-2 |
Opponent of at san francisco 49ers had what lowest week? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"venue" text,
"attendance" real
); | SELECT MIN("week") FROM "schedule" WHERE "opponent"='at san francisco 49ers'; | 2-14876918-2 |
On what Date is the Minnesota Vikings the Opponent? | CREATE TABLE "preseason" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text
); | SELECT "date" FROM "preseason" WHERE "opponent"='minnesota vikings'; | 2-14202514-1 |
What is the Date of Week 5? | CREATE TABLE "preseason" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text
); | SELECT "date" FROM "preseason" WHERE "week"=5; | 2-14202514-1 |
What is the Date of Week 2? | CREATE TABLE "preseason" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text
); | SELECT "date" FROM "preseason" WHERE "week"=2; | 2-14202514-1 |
What was the score when the game has a loss of Lary (10-12)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "loss"='lary (10-12)'; | 2-13955773-6 |
What is the result of the friendly match? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "competition"='friendly'; | 2-1388708-1 |
What is the score of the match on June 4, 2008? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "date"='june 4, 2008'; | 2-1388708-1 |
Which Year is the lowest one that has a Length of 3:50? | CREATE TABLE "official_versions" (
"version" text,
"length" text,
"album" text,
"remixed_by" text,
"year" real
); | SELECT MIN("year") FROM "official_versions" WHERE "length"='3:50'; | 2-15188879-2 |
Which Length has a Year of 2000? | CREATE TABLE "official_versions" (
"version" text,
"length" text,
"album" text,
"remixed_by" text,
"year" real
); | SELECT "length" FROM "official_versions" WHERE "year"=2000; | 2-15188879-2 |
In what place is the artist Midnight Band with a draw larger than 2 and less than 139 points. | CREATE TABLE "melodifestivalen_2000" (
"draw" real,
"artist" text,
"song" text,
"points" real,
"place" text
); | SELECT "place" FROM "melodifestivalen_2000" WHERE "draw">2 AND "points"<139 AND "artist"='midnight band'; | 2-13598632-1 |
what player matched up with 9 | CREATE TABLE "most_wickets_in_a_season" (
"rank" text,
"s_wicket" text,
"player" text,
"matches" text,
"season" text
); | SELECT "player" FROM "most_wickets_in_a_season" WHERE "matches"='9'; | 2-14412861-17 |
What is the 2nd leg of the Internacional Team 1? | CREATE TABLE "first_stage" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "first_stage" WHERE "team_1"='internacional'; | 2-14076287-3 |
Which Rank has a Capacity smaller than 12,000, and a Country of united states? | CREATE TABLE "davis_cup_and_federation_cup_venues" (
"rank" real,
"stadium" text,
"capacity" real,
"city" text,
"country" text
); | SELECT SUM("rank") FROM "davis_cup_and_federation_cup_venues" WHERE "capacity"<'12,000' AND "country"='united states'; | 2-14476860-3 |
Which City has a Country of spain, and a Stadium of palacio de deportes de santander? | CREATE TABLE "davis_cup_and_federation_cup_venues" (
"rank" real,
"stadium" text,
"capacity" real,
"city" text,
"country" text
); | SELECT "city" FROM "davis_cup_and_federation_cup_venues" WHERE "country"='spain' AND "stadium"='palacio de deportes de santander'; | 2-14476860-3 |
Which Capacity is the lowest one that has a Rank smaller than 15, and a City of belgrade? | CREATE TABLE "davis_cup_and_federation_cup_venues" (
"rank" real,
"stadium" text,
"capacity" real,
"city" text,
"country" text
); | SELECT MIN("capacity") FROM "davis_cup_and_federation_cup_venues" WHERE "rank"<15 AND "city"='belgrade'; | 2-14476860-3 |
Which Capacity is the lowest one that has a City of brisbane, and a Rank smaller than 1? | CREATE TABLE "davis_cup_and_federation_cup_venues" (
"rank" real,
"stadium" text,
"capacity" real,
"city" text,
"country" text
); | SELECT MIN("capacity") FROM "davis_cup_and_federation_cup_venues" WHERE "city"='brisbane' AND "rank"<1; | 2-14476860-3 |
What are the total points that had 68 match points, 9 bonus points and 30 games? | CREATE TABLE "season_table" (
"club" text,
"total_points" text,
"bonus_points" text,
"match_points" text,
"games" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"diff" text
); | SELECT "total_points" FROM "season_table" WHERE "games"='30' AND "bonus_points"='9' AND "match_points"='68'; | 2-13768045-1 |
What's the shortest length from north klondike highway that has a length less than 326? | CREATE TABLE "see_also" (
"name" text,
"number" real,
"from" text,
"length_km" real,
"length_mi" real
); | SELECT MIN("length_km") FROM "see_also" WHERE "name"='north klondike highway' AND "length_mi"<326; | 2-1360044-1 |
what team had a score of 2-1 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"save" text
); | SELECT "opponent" FROM "game_log" WHERE "score"='2-1'; | 2-14337005-3 |
what team played on may 11 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"save" text
); | SELECT "opponent" FROM "game_log" WHERE "date"='may 11'; | 2-14337005-3 |
what place has the club of sevilla | CREATE TABLE "matches" (
"season" text,
"competition" text,
"round" text,
"club" text,
"home" text,
"away" text
); | SELECT "away" FROM "matches" WHERE "club"='sevilla'; | 2-1438835-1 |
Which new conference is located in Greentown? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"num_county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"new_conference" text
); | SELECT "new_conference" FROM "former_members" WHERE "location"='greentown'; | 2-15176211-2 |
What is the most current year with a previous conference of Mid-Indiana in Converse? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"num_county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"new_conference" text
); | SELECT MAX("year_joined") FROM "former_members" WHERE "previous_conference"='mid-indiana' AND "location"='converse'; | 2-15176211-2 |
What year did Culver leave? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"num_county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"new_conference" text
); | SELECT SUM("year_left") FROM "former_members" WHERE "location"='culver'; | 2-15176211-2 |
What is the mascot with a #/County of 34 Howard? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"num_county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"new_conference" text
); | SELECT "mascot" FROM "former_members" WHERE "num_county"='34 howard'; | 2-15176211-2 |
What day was a friendly game held that had a score of 2:3? | CREATE TABLE "1968" (
"date" text,
"city" text,
"opponent" text,
"results" text,
"type_of_game" text
); | SELECT "date" FROM "1968" WHERE "type_of_game"='friendly' AND "results"='2:3'; | 2-14305653-46 |
What type of game was held on December 22? | CREATE TABLE "1968" (
"date" text,
"city" text,
"opponent" text,
"results" text,
"type_of_game" text
); | SELECT "type_of_game" FROM "1968" WHERE "date"='december 22'; | 2-14305653-46 |
what game had a doubles round in 1979 | CREATE TABLE "past_winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "mixed_doubles" FROM "past_winners" WHERE "year"=1979; | 2-13857590-1 |
Where were less than 72 goals made and more than 40 assists made? | CREATE TABLE "members" (
"name" text,
"date" text,
"goals" real,
"assists" real,
"team" text,
"venue" text,
"opponent" text,
"competition" text,
"total_goals" real,
"total_assists" real
); | SELECT "venue" FROM "members" WHERE "goals"<72 AND "assists">40; | 2-14904515-1 |
Which opponent plays against the Pohang Steelers? | CREATE TABLE "members" (
"name" text,
"date" text,
"goals" real,
"assists" real,
"team" text,
"venue" text,
"opponent" text,
"competition" text,
"total_goals" real,
"total_assists" real
); | SELECT "name" FROM "members" WHERE "opponent"='pohang steelers'; | 2-14904515-1 |
What competition had more than 40 assists? | CREATE TABLE "members" (
"name" text,
"date" text,
"goals" real,
"assists" real,
"team" text,
"venue" text,
"opponent" text,
"competition" text,
"total_goals" real,
"total_assists" real
); | SELECT "competition" FROM "members" WHERE "assists">40; | 2-14904515-1 |
What Nation Placed 122.5? | CREATE TABLE "pairs" (
"rank" real,
"name" text,
"nation" text,
"points" real,
"places" real
); | SELECT "nation" FROM "pairs" WHERE "places"=122.5; | 2-1473118-4 |
What is the Places amount of the United States Ranking 8? | CREATE TABLE "pairs" (
"rank" real,
"name" text,
"nation" text,
"points" real,
"places" real
); | SELECT AVG("places") FROM "pairs" WHERE "nation"='united states' AND "rank"=8; | 2-1473118-4 |
What is the average episode number where jimmy mulville was the 4th performer? | CREATE TABLE "radio_series" (
"date" text,
"episode" real,
"performer_1" text,
"performer_2" text,
"performer_3" text,
"performer_4" text
); | SELECT AVG("episode") FROM "radio_series" WHERE "performer_4"='jimmy mulville'; | 2-14934885-1 |
What is the total number of episodes where hugh laurie was the 3rd performer? | CREATE TABLE "radio_series" (
"date" text,
"episode" real,
"performer_1" text,
"performer_2" text,
"performer_3" text,
"performer_4" text
); | SELECT COUNT("episode") FROM "radio_series" WHERE "performer_3"='hugh laurie'; | 2-14934885-1 |
What is the lowest episode number where john bird was the 4th performer? | CREATE TABLE "radio_series" (
"date" text,
"episode" real,
"performer_1" text,
"performer_2" text,
"performer_3" text,
"performer_4" text
); | SELECT MIN("episode") FROM "radio_series" WHERE "performer_4"='john bird'; | 2-14934885-1 |
Who was the 3rd performer when Rory Bremner was the 4th performer? | CREATE TABLE "radio_series" (
"date" text,
"episode" real,
"performer_1" text,
"performer_2" text,
"performer_3" text,
"performer_4" text
); | SELECT "performer_3" FROM "radio_series" WHERE "performer_4"='rory bremner'; | 2-14934885-1 |
What time did the game featuring the Detroit Lions at Three Rivers Stadium occur? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"time_et" text,
"result" text,
"record" text
); | SELECT "time_et" FROM "schedule" WHERE "location"='three rivers stadium' AND "opponent"='detroit lions'; | 2-14636280-1 |
What is the highest number of successful launches associated with over 1 launch and under 0 fails? | CREATE TABLE "by_configuration" (
"rocket" text,
"country" text,
"type" text,
"launches" real,
"successes" real,
"failures" real,
"partial_failures" real
); | SELECT MAX("successes") FROM "by_configuration" WHERE "launches">1 AND "failures"<0; | 2-13894411-8 |
What are the fewest partial failures associated with 1 launch, India, gslv type, and a Rocket of gslv mk ii? | CREATE TABLE "by_configuration" (
"rocket" text,
"country" text,
"type" text,
"launches" real,
"successes" real,
"failures" real,
"partial_failures" real
); | SELECT MIN("partial_failures") FROM "by_configuration" WHERE "launches"=1 AND "country"='india' AND "type"='gslv' AND "rocket"='gslv mk ii'; | 2-13894411-8 |
What kind of locomotive is Winston Churchill? | CREATE TABLE "locomotives_in_service" (
"name" text,
"locomotive_type" text,
"wheel_arr" text,
"builder" text,
"year_built" real,
"whistle" text,
"in_traffic" text
); | SELECT "locomotive_type" FROM "locomotives_in_service" WHERE "name"='winston churchill'; | 2-142178-1 |
How many draws were there when there were points less than 23, 6 losses, and more than 21 against? | CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT COUNT("drawn") FROM "campeonato_brasileiro_s_rie_a" WHERE "points"<23 AND "lost"=6 AND "against">21; | 2-15087697-3 |
What is the smallest amount of draws when the position is less than 7 and the against is 19? | CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MIN("drawn") FROM "campeonato_brasileiro_s_rie_a" WHERE "position"<7 AND "against"=19; | 2-15087697-3 |
What is the highest amount of plays for fluminense? | 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("played") FROM "campeonato_brasileiro_s_rie_a" WHERE "team"='fluminense'; | 2-15087697-3 |
What is the least amount of points when there were less than 4 losses and less than 16 against? | CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MIN("points") FROM "campeonato_brasileiro_s_rie_a" WHERE "lost"<4 AND "against"<16; | 2-15087697-3 |
Who does Rockstar Games use as a developer? | CREATE TABLE "available_games" (
"title" text,
"publisher" text,
"developer" text,
"release_date" text,
"esrb" text
); | SELECT "developer" FROM "available_games" WHERE "publisher"='rockstar games'; | 2-15145039-1 |
When Did Microsoft Game Studios release Amped: Freestyle Snowboarding? | CREATE TABLE "available_games" (
"title" text,
"publisher" text,
"developer" text,
"release_date" text,
"esrb" text
); | SELECT "release_date" FROM "available_games" WHERE "publisher"='microsoft game studios' AND "title"='amped: freestyle snowboarding'; | 2-15145039-1 |
Which 10:30 has an 8:30 of la soirée du hockey? | CREATE TABLE "saturday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"10_00" text,
"10_30" text
); | SELECT "10_30" FROM "saturday" WHERE "8_30"='la soirée du hockey'; | 2-15184672-7 |
Which 7:30 has an 8:00 of movies & specials? | CREATE TABLE "saturday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"10_00" text,
"10_30" text
); | SELECT "7_30" FROM "saturday" WHERE "8_00"='movies & specials'; | 2-15184672-7 |
Which 10:30 has an 7:30 of earth: final conflict? | CREATE TABLE "saturday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"10_00" text,
"10_30" text
); | SELECT "10_30" FROM "saturday" WHERE "7_30"='earth: final conflict'; | 2-15184672-7 |
Which 8:00 has a 10:00 of movies & specials? | CREATE TABLE "saturday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"10_00" text,
"10_30" text
); | SELECT "8_00" FROM "saturday" WHERE "10_00"='movies & specials'; | 2-15184672-7 |
Which 7:30 has a 10:30 of le grand journal? | CREATE TABLE "saturday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"10_00" text,
"10_30" text
); | SELECT "7_30" FROM "saturday" WHERE "10_30"='le grand journal'; | 2-15184672-7 |
Which 7:00 has an 8:00 of la soirée du hockey? | CREATE TABLE "saturday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"10_00" text,
"10_30" text
); | SELECT "7_00" FROM "saturday" WHERE "8_00"='la soirée du hockey'; | 2-15184672-7 |
Which Score has a Home of quebec nordiques, and a Visitor of vancouver blazers on february 28? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "home"='quebec nordiques' AND "visitor"='vancouver blazers' AND "date"='february 28'; | 2-14175787-2 |
When has a Visitor of new england whalers, and a Record of 9–9–1? Question 2 | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "visitor"='new england whalers' AND "record"='9–9–1'; | 2-14175787-2 |
Which Home has a Visitor of quebec nordiques, and a Score of 3–4, and a Record of 8–8–1? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "home" FROM "game_log" WHERE "visitor"='quebec nordiques' AND "score"='3–4' AND "record"='8–8–1'; | 2-14175787-2 |
WHich Score has a Record of 31–28–3? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "record"='31–28–3'; | 2-14175787-2 |
When has Score of 4–5, and a Record of 21–21–3? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "score"='4–5' AND "record"='21–21–3'; | 2-14175787-2 |
What is the Score of a Record 24–23–3? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "record"='24–23–3'; | 2-14175787-2 |
During which games did Tunisia win gold in the men's 5000 m? | CREATE TABLE "medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "games" FROM "medalists" WHERE "event"='men''s 5000 m' AND "medal"='gold'; | 2-14786523-1 |
What medal was won in the men's light welterweight event at the 1996 Atlanta games? | CREATE TABLE "medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "medal" FROM "medalists" WHERE "event"='men''s light welterweight' AND "games"='1996 atlanta'; | 2-14786523-1 |
At which games did Tunisia win a bronze in the men's 1500 m freestyle? | CREATE TABLE "medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "games" FROM "medalists" WHERE "medal"='bronze' AND "event"='men''s 1500 m freestyle'; | 2-14786523-1 |
What medal was won in the men's 5000 m event? | CREATE TABLE "medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "medal" FROM "medalists" WHERE "event"='men''s 5000 m'; | 2-14786523-1 |
What is on the at 8:00 on the same channel that has Costello on at 8:30? | CREATE TABLE "tuesday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
); | SELECT "8_00" FROM "tuesday" WHERE "8_30"='costello'; | 2-15184672-3 |
What is on at 7:30 on the same channel as Wheel of Fortune at 7:00? | CREATE TABLE "tuesday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
); | SELECT "7_30" FROM "tuesday" WHERE "7_00"='wheel of fortune'; | 2-15184672-3 |
What is on at 8:00 on the same change as W-Five at 10:00? | CREATE TABLE "tuesday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
); | SELECT "8_00" FROM "tuesday" WHERE "10_00"='w-five'; | 2-15184672-3 |
What is on at 9:30 on the same channel as Fin du Monde at 10:00? | CREATE TABLE "tuesday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
); | SELECT "9_30" FROM "tuesday" WHERE "10_00"='fin du monde'; | 2-15184672-3 |
What is on at 8:30 on the same channel as Les Machos at 9:00? | CREATE TABLE "tuesday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
); | SELECT "8_30" FROM "tuesday" WHERE "9_00"='les machos'; | 2-15184672-3 |
What is the draw with less than 107 points by the artist Jan Johansen? | CREATE TABLE "melodifestivalen_2001" (
"draw" real,
"artist" text,
"song" text,
"points" real,
"place" text
); | SELECT COUNT("draw") FROM "melodifestivalen_2001" WHERE "artist"='jan johansen' AND "points"<107; | 2-13598796-1 |
In what Year did the Norton Team have 0 Points and 350cc Class? | CREATE TABLE "motorcycle_grand_prix_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"wins" real
); | SELECT AVG("year") FROM "motorcycle_grand_prix_results" WHERE "class"='350cc' AND "team"='norton' AND "points"<0; | 2-15194193-3 |
What is the Wins before 1960 with less than 2 Points? | CREATE TABLE "motorcycle_grand_prix_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"wins" real
); | SELECT SUM("wins") FROM "motorcycle_grand_prix_results" WHERE "year"<1960 AND "points"<2; | 2-15194193-3 |
What was the earliest Year the Linto Team had less than 15 Points with more than 0 Wins? | CREATE TABLE "motorcycle_grand_prix_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"wins" real
); | SELECT MIN("year") FROM "motorcycle_grand_prix_results" WHERE "wins">0 AND "team"='linto' AND "points"<15; | 2-15194193-3 |
What were the points for a team that 414 points against? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "points_for" FROM "2008_2009_table" WHERE "points_against"='414'; | 2-13564637-4 |
Who was the player that had drawn 1 and tried for 20? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "played" FROM "2008_2009_table" WHERE "drawn"='1' AND "tries_for"='20'; | 2-13564637-4 |
What were the points for that had a game where there was 678 against? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "points_for" FROM "2008_2009_table" WHERE "points_against"='678'; | 2-13564637-4 |
What were the points against in a game that was played correct as of 2009-05-16? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "points_against" FROM "2008_2009_table" WHERE "played"='correct as of 2009-05-16'; | 2-13564637-4 |
What was the tries again llanishen rfc? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "tries_against" FROM "2008_2009_table" WHERE "club"='llanishen rfc'; | 2-13564637-4 |
What was drawn for llanishen rfc? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "drawn" FROM "2008_2009_table" WHERE "club"='llanishen rfc'; | 2-13564637-4 |
Which District has a 2008 Status of re-election, and a Democratic david price? | CREATE TABLE "summary" (
"district" real,
"incumbent" text,
"2008_status" text,
"democratic" text,
"republican" text
); | SELECT AVG("district") FROM "summary" WHERE "2008_status"='re-election' AND "democratic"='david price'; | 2-14393234-1 |
Which District has a Republican of dan mansell? | CREATE TABLE "summary" (
"district" real,
"incumbent" text,
"2008_status" text,
"democratic" text,
"republican" text
); | SELECT AVG("district") FROM "summary" WHERE "republican"='dan mansell'; | 2-14393234-1 |
Which Republican has a District of 10? | CREATE TABLE "summary" (
"district" real,
"incumbent" text,
"2008_status" text,
"democratic" text,
"republican" text
); | SELECT "republican" FROM "summary" WHERE "district"=10; | 2-14393234-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.