question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many people attended the September 14, 1968 game? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("attendance") FROM "season_schedule" WHERE "date"='september 14, 1968'; | 2-18907895-1 |
Who is the director of the production number 9368? | CREATE TABLE "1940" (
"title" text,
"series" text,
"director" text,
"production_number" text,
"release_date" text
); | SELECT "director" FROM "1940" WHERE "production_number"='9368'; | 2-18792945-1 |
What is the title with chuck jones as the director and the production number 9537? | CREATE TABLE "1940" (
"title" text,
"series" text,
"director" text,
"production_number" text,
"release_date" text
); | SELECT "title" FROM "1940" WHERE "director"='chuck jones' AND "production_number"='9537'; | 2-18792945-1 |
What is the release date of the mm series, which has the title tom thumb in trouble? | CREATE TABLE "1940" (
"title" text,
"series" text,
"director" text,
"production_number" text,
"release_date" text
); | SELECT "release_date" FROM "1940" WHERE "series"='mm' AND "title"='tom thumb in trouble'; | 2-18792945-1 |
What is the release date of the mm series which has the title confederate honey? | CREATE TABLE "1940" (
"title" text,
"series" text,
"director" text,
"production_number" text,
"release_date" text
); | SELECT "release_date" FROM "1940" WHERE "series"='mm' AND "title"='confederate honey'; | 2-18792945-1 |
What is the start of the Team of Andretti Green Racing with a finish higher than 3 in a year before 2007? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"team" text
); | SELECT AVG("start") FROM "indianapolis_500" WHERE "team"='andretti green racing' AND "finish">3 AND "year"<2007; | 2-1886352-7 |
What is the lowest start in a year after 2008? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"team" text
); | SELECT MIN("start") FROM "indianapolis_500" WHERE "year">2008; | 2-1886352-7 |
What finish has a start smaller than 25? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"team" text
); | SELECT "finish" FROM "indianapolis_500" WHERE "start"<25; | 2-1886352-7 |
Where did the team of Rahal Letterman in 2006 start? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"team" text
); | SELECT COUNT("start") FROM "indianapolis_500" WHERE "team"='rahal letterman' AND "year"=2006; | 2-1886352-7 |
What year did Team of Andretti Green Racing have a finish smaller than 8 with a Dallara chassis? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"team" text
); | SELECT "year" FROM "indianapolis_500" WHERE "chassis"='dallara' AND "team"='andretti green racing' AND "finish"<8; | 2-1886352-7 |
What director has 2004-03-31 as the release date, with daffy (as duck dodgers) as the character? | CREATE TABLE "planned_for_theatrical_release_but_never" (
"title" text,
"series" text,
"director" text,
"characters" text,
"release_date" text
); | SELECT "director" FROM "planned_for_theatrical_release_but_never" WHERE "release_date"='2004-03-31' AND "characters"='daffy (as duck dodgers)'; | 2-18792952-6 |
What title has daffy (as duck dodgers) as the character? | CREATE TABLE "planned_for_theatrical_release_but_never" (
"title" text,
"series" text,
"director" text,
"characters" text,
"release_date" text
); | SELECT "title" FROM "planned_for_theatrical_release_but_never" WHERE "characters"='daffy (as duck dodgers)'; | 2-18792952-6 |
What series has dan povenmire as the director, with museum scream as the title? | CREATE TABLE "planned_for_theatrical_release_but_never" (
"title" text,
"series" text,
"director" text,
"characters" text,
"release_date" text
); | SELECT "series" FROM "planned_for_theatrical_release_but_never" WHERE "director"='dan povenmire' AND "title"='museum scream'; | 2-18792952-6 |
What was the highest number of 2009 electorates for Raisen when the consituency number was 142? | CREATE TABLE "assembly_segments" (
"constituency_number" text,
"name" text,
"reserved_for_sc_st_none" text,
"district" text,
"number_of_electorates_2009" real
); | SELECT MAX("number_of_electorates_2009") FROM "assembly_segments" WHERE "district"='raisen' AND "constituency_number"='142'; | 2-18517163-1 |
How much Population density (per km²) has a Name of total northern villages, and a Population (2006) larger than 11414? | CREATE TABLE "northern_villages" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" real,
"land_area_km" real,
"population_density_per_km" real
); | SELECT COUNT("population_density_per_km") FROM "northern_villages" WHERE "name"='total northern villages' AND "population_2006">11414; | 2-189598-7 |
Which Population density (per km²) has a Change (%) larger than 4.9, and a Land area (km²) smaller than 15.59, and a Population (2011) larger than 790? | CREATE TABLE "northern_villages" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" real,
"land_area_km" real,
"population_density_per_km" real
); | SELECT MAX("population_density_per_km") FROM "northern_villages" WHERE "change_pct">4.9 AND "land_area_km"<15.59 AND "population_2011">790; | 2-189598-7 |
How much Population (2011) has a Land area (km²) larger than 15.69, and a Population density (per km²) larger than 57.3? | CREATE TABLE "northern_villages" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" real,
"land_area_km" real,
"population_density_per_km" real
); | SELECT SUM("population_2011") FROM "northern_villages" WHERE "land_area_km">15.69 AND "population_density_per_km">57.3; | 2-189598-7 |
Which Land area (km²) has a Population density (per km²) larger than 112.6, and a Population (2006) larger than 785, and a Name of pinehouse? | CREATE TABLE "northern_villages" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" real,
"land_area_km" real,
"population_density_per_km" real
); | SELECT MAX("land_area_km") FROM "northern_villages" WHERE "population_density_per_km">112.6 AND "population_2006">785 AND "name"='pinehouse'; | 2-189598-7 |
With a number of 30, what would be listed for previous number(s)? | CREATE TABLE "great_northern_section" (
"number" text,
"previous_number_s" real,
"previous_class" text,
"converted" real,
"withdrawn" real,
"disposal" text
); | SELECT "previous_number_s" FROM "great_northern_section" WHERE "number"='30'; | 2-1895522-2 |
With a previous number of 68165, what is the oldest converted date? | CREATE TABLE "great_northern_section" (
"number" text,
"previous_number_s" real,
"previous_class" text,
"converted" real,
"withdrawn" real,
"disposal" text
); | SELECT MAX("converted") FROM "great_northern_section" WHERE "previous_number_s"=68165; | 2-1895522-2 |
With a converted less than 1966 and a number of 32 (2nd), what is the largest number listed for withdrawn? | CREATE TABLE "great_northern_section" (
"number" text,
"previous_number_s" real,
"previous_class" text,
"converted" real,
"withdrawn" real,
"disposal" text
); | SELECT MAX("withdrawn") FROM "great_northern_section" WHERE "number"='32 (2nd)' AND "converted"<1966; | 2-1895522-2 |
What is the average when the matches are 11? | CREATE TABLE "most_wickets" (
"player" text,
"matches" text,
"overs" text,
"wickets" text,
"economy_rate" text,
"average" text,
"strike_rate" text
); | SELECT "average" FROM "most_wickets" WHERE "matches"='11'; | 2-18574677-4 |
What is the overs when the matches are 10? | CREATE TABLE "most_wickets" (
"player" text,
"matches" text,
"overs" text,
"wickets" text,
"economy_rate" text,
"average" text,
"strike_rate" text
); | SELECT "overs" FROM "most_wickets" WHERE "matches"='10'; | 2-18574677-4 |
Which Car # has a Driver of ryan newman, and a Position larger than 10? | CREATE TABLE "chevy_rock_roll_400" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT MIN("car_num") FROM "chevy_rock_roll_400" WHERE "driver"='ryan newman' AND "pos">10; | 2-18436335-34 |
Which Car # has a Team of hendrick motorsports, and a Driver of mark martin, and a Position larger than 4? | CREATE TABLE "chevy_rock_roll_400" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT AVG("car_num") FROM "chevy_rock_roll_400" WHERE "team"='hendrick motorsports' AND "driver"='mark martin' AND "pos">4; | 2-18436335-34 |
Which time has a local/networked value of Local, ad frequency of every 20 minutes, and news frequency of n/a after 7PM news? | CREATE TABLE "saturday_and_sundays_programming_as_of_s" (
"time" text,
"show_name" text,
"local_networked" text,
"ad_freq" text,
"news_freq" text
); | SELECT "time" FROM "saturday_and_sundays_programming_as_of_s" WHERE "local_networked"='local' AND "ad_freq"='20 minutes' AND "news_freq"='n/a after 7pm news'; | 2-18992167-2 |
Which time has a news frequency of 1 hour and show name of Best Mix Overnight? | CREATE TABLE "saturday_and_sundays_programming_as_of_s" (
"time" text,
"show_name" text,
"local_networked" text,
"ad_freq" text,
"news_freq" text
); | SELECT "time" FROM "saturday_and_sundays_programming_as_of_s" WHERE "news_freq"='1 hour' AND "show_name"='best mix overnight'; | 2-18992167-2 |
What is the ad frequency for the show named Health Matters? | CREATE TABLE "saturday_and_sundays_programming_as_of_s" (
"time" text,
"show_name" text,
"local_networked" text,
"ad_freq" text,
"news_freq" text
); | SELECT "ad_freq" FROM "saturday_and_sundays_programming_as_of_s" WHERE "show_name"='health matters'; | 2-18992167-2 |
What is the news frequency for the show Locker Room? | CREATE TABLE "saturday_and_sundays_programming_as_of_s" (
"time" text,
"show_name" text,
"local_networked" text,
"ad_freq" text,
"news_freq" text
); | SELECT "news_freq" FROM "saturday_and_sundays_programming_as_of_s" WHERE "show_name"='locker room'; | 2-18992167-2 |
What is the local/networked value for the show with an ad frequency of N/A? | CREATE TABLE "saturday_and_sundays_programming_as_of_s" (
"time" text,
"show_name" text,
"local_networked" text,
"ad_freq" text,
"news_freq" text
); | SELECT "local_networked" FROM "saturday_and_sundays_programming_as_of_s" WHERE "ad_freq"='n/a'; | 2-18992167-2 |
When france had a rank larger than 2, what was their time? | CREATE TABLE "heat_2" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
); | SELECT "time" FROM "heat_2" WHERE "rank">2 AND "country"='france'; | 2-18646660-4 |
What was the time for the country of kazakhstan? | CREATE TABLE "heat_2" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
); | SELECT "time" FROM "heat_2" WHERE "country"='kazakhstan'; | 2-18646660-4 |
What athletes represented the country of germany? | CREATE TABLE "heat_2" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
); | SELECT "athletes" FROM "heat_2" WHERE "country"='germany'; | 2-18646660-4 |
What was the rank for the finish time of 1:42.054? | CREATE TABLE "heat_2" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
); | SELECT AVG("rank") FROM "heat_2" WHERE "time"='1:42.054'; | 2-18646660-4 |
Which country had a rank smaller than 7 and a time of 1:43.189? | CREATE TABLE "heat_2" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
); | SELECT "country" FROM "heat_2" WHERE "rank"<7 AND "time"='1:43.189'; | 2-18646660-4 |
what is the club when the runners-up is 1 and the last final won is 1999? | CREATE TABLE "results_by_team" (
"club" text,
"winners" real,
"last_final_won" text,
"runners_up" real,
"last_final_lost" text
); | SELECT "club" FROM "results_by_team" WHERE "runners_up"=1 AND "last_final_won"='1999'; | 2-1878567-3 |
what is the last final won when runners-up is 1 and club is rijeka? | CREATE TABLE "results_by_team" (
"club" text,
"winners" real,
"last_final_won" text,
"runners_up" real,
"last_final_lost" text
); | SELECT "last_final_won" FROM "results_by_team" WHERE "runners_up"=1 AND "club"='rijeka'; | 2-1878567-3 |
How many times is runners-up less than 0? | CREATE TABLE "results_by_team" (
"club" text,
"winners" real,
"last_final_won" text,
"runners_up" real,
"last_final_lost" text
); | SELECT COUNT("winners") FROM "results_by_team" WHERE "runners_up"<0; | 2-1878567-3 |
How many games have a Result of 4–0, and an Attendance larger than 12,256? | CREATE TABLE "football_league_division_two" (
"game" real,
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT COUNT("game") FROM "football_league_division_two" WHERE "result"='4–0' AND "attendance">'12,256'; | 2-18998832-2 |
Which Result has a Game larger than 6, and an Attendance larger than 12,782, and a Date of 5 december 1987? | CREATE TABLE "football_league_division_two" (
"game" real,
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "result" FROM "football_league_division_two" WHERE "game">6 AND "attendance">'12,782' AND "date"='5 december 1987'; | 2-18998832-2 |
Which Result has a Venue of away, and a Game smaller than 43, and an Opponent of bournemouth? | CREATE TABLE "football_league_division_two" (
"game" real,
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "result" FROM "football_league_division_two" WHERE "venue"='away' AND "game"<43 AND "opponent"='bournemouth'; | 2-18998832-2 |
Which Result has a Venue of home, and a Date of 3 october 1987? | CREATE TABLE "football_league_division_two" (
"game" real,
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "result" FROM "football_league_division_two" WHERE "venue"='home' AND "date"='3 october 1987'; | 2-18998832-2 |
What is the score of 1993? | CREATE TABLE "doubles" (
"location" text,
"year" text,
"champion" text,
"runner_up" text,
"score" text,
"name" text
); | SELECT "score" FROM "doubles" WHERE "year"='1993'; | 2-1871974-4 |
What is the Name when the runner-up was Sania Mirza Elena Vesnina? | CREATE TABLE "doubles" (
"location" text,
"year" text,
"champion" text,
"runner_up" text,
"score" text,
"name" text
); | SELECT "name" FROM "doubles" WHERE "runner_up"='sania mirza elena vesnina'; | 2-1871974-4 |
What is the name with a Score of 6–3, 6–3? | CREATE TABLE "doubles" (
"location" text,
"year" text,
"champion" text,
"runner_up" text,
"score" text,
"name" text
); | SELECT "name" FROM "doubles" WHERE "score"='6–3, 6–3'; | 2-1871974-4 |
What was the location in 2009? | CREATE TABLE "doubles" (
"location" text,
"year" text,
"champion" text,
"runner_up" text,
"score" text,
"name" text
); | SELECT "location" FROM "doubles" WHERE "year"='2009'; | 2-1871974-4 |
What's the railway number of a D(rebuild) class? | CREATE TABLE "first_conversion_period_1867_1887" (
"class" text,
"railway_number_s" text,
"quantity_rebuilt" real,
"rebuild_year_s" text,
"type" text
); | SELECT "railway_number_s" FROM "first_conversion_period_1867_1887" WHERE "class"='d(rebuild)'; | 2-18934662-6 |
What the least quantity having a T2A class? | CREATE TABLE "first_conversion_period_1867_1887" (
"class" text,
"railway_number_s" text,
"quantity_rebuilt" real,
"rebuild_year_s" text,
"type" text
); | SELECT MIN("quantity_rebuilt") FROM "first_conversion_period_1867_1887" WHERE "class"='t2a'; | 2-18934662-6 |
Which lane did the swimmer who had a Reaction time of 0.185 and a time of 20.9 swim in? | CREATE TABLE "heat_3" (
"rank" real,
"lane" real,
"athlete" text,
"nationality" text,
"time" real,
"react" real
); | SELECT SUM("lane") FROM "heat_3" WHERE "react"=0.185 AND "time"<20.9; | 2-18569011-5 |
What was the 200-metre time for the swimmer from Slovenia in lane 9? | CREATE TABLE "heat_3" (
"rank" real,
"lane" real,
"athlete" text,
"nationality" text,
"time" real,
"react" real
); | SELECT COUNT("time") FROM "heat_3" WHERE "nationality"='slovenia' AND "lane"<9; | 2-18569011-5 |
Who was the swimmer from Dominica who had a time of 21.2 and swam in lane 7? | CREATE TABLE "heat_3" (
"rank" real,
"lane" real,
"athlete" text,
"nationality" text,
"time" real,
"react" real
); | SELECT "athlete" FROM "heat_3" WHERE "time"<21.2 AND "lane"<7 AND "nationality"='dominica'; | 2-18569011-5 |
What player had a pick higher than 53, and a position of defensive tackle? | CREATE TABLE "seventh_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "seventh_round" WHERE "pick">53 AND "position"='defensive tackle'; | 2-18652198-7 |
What team is Jim Garcia category:Articles with Hcards on? | CREATE TABLE "seventh_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
); | SELECT "team" FROM "seventh_round" WHERE "player"='jim garcia category:articles with hcards'; | 2-18652198-7 |
Who is the pick from the Purdue College? | CREATE TABLE "seventh_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
); | SELECT "pick" FROM "seventh_round" WHERE "college"='purdue'; | 2-18652198-7 |
What shows for Marcin Dołęga ( POL )when the world record shows olympic record, and a Snatch of total? | CREATE TABLE "records" (
"world_record" text,
"snatch" text,
"marcin_do_ga_pol" text,
"199kg" text,
"w_adys_awowo_poland" text
); | SELECT "marcin_do_ga_pol" FROM "records" WHERE "world_record"='olympic record' AND "snatch"='total'; | 2-18534152-2 |
What is the snatch when Marcin Dołęga ( POL ) was 430kg? | CREATE TABLE "records" (
"world_record" text,
"snatch" text,
"marcin_do_ga_pol" text,
"199kg" text,
"w_adys_awowo_poland" text
); | SELECT "snatch" FROM "records" WHERE "marcin_do_ga_pol"='430kg'; | 2-18534152-2 |
What shows for Władysławowo, Poland when the world record was clean & jerk? | CREATE TABLE "records" (
"world_record" text,
"snatch" text,
"marcin_do_ga_pol" text,
"199kg" text,
"w_adys_awowo_poland" text
); | SELECT "w_adys_awowo_poland" FROM "records" WHERE "world_record"='clean & jerk'; | 2-18534152-2 |
What shows for Władysławowo, Poland when the world record shows olympic record, a Marcin Dołęga (POL) is olympic standard, and Snatch is clean & jerk? | CREATE TABLE "records" (
"world_record" text,
"snatch" text,
"marcin_do_ga_pol" text,
"199kg" text,
"w_adys_awowo_poland" text
); | SELECT "w_adys_awowo_poland" FROM "records" WHERE "world_record"='olympic record' AND "marcin_do_ga_pol"='olympic standard' AND "snatch"='clean & jerk'; | 2-18534152-2 |
What date has 0-6700-30838-2-9 for a catalog? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "date" FROM "release_history" WHERE "catalog"='0-6700-30838-2-9'; | 2-18908421-5 |
What's the date in the United Kingdom having a catalog of reveal50cd/lp? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "date" FROM "release_history" WHERE "catalog"='reveal50cd/lp' AND "region"='united kingdom'; | 2-18908421-5 |
What day was king's cup 1996? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "competition"='king''s cup 1996'; | 2-18458106-1 |
What was the score for king's cup 1996? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "competition"='king''s cup 1996'; | 2-18458106-1 |
What was the result when the score was 5-1? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "score"='5-1'; | 2-18458106-1 |
What tournament had an A in 2012 and Q2 in 2010? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "singles_performance_timeline" WHERE "2012"='a' AND "2010"='q2'; | 2-18621753-1 |
What's the 2010 when they had a Q2 in 2009? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2010" FROM "singles_performance_timeline" WHERE "2009"='q2'; | 2-18621753-1 |
What's the 2012 during Wimbledon and had a Q3 in 2008? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2012" FROM "singles_performance_timeline" WHERE "2008"='q3' AND "tournament"='wimbledon'; | 2-18621753-1 |
What's the tournament name when they had an A in 2011 & 2012? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "singles_performance_timeline" WHERE "2012"='a' AND "2011"='a'; | 2-18621753-1 |
What's the 2012 when 2009 was 205? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2012" FROM "singles_performance_timeline" WHERE "2009"='205'; | 2-18621753-1 |
How much Col (m) has a Prominence (m) of 2,344? | CREATE TABLE "and" (
"peak" text,
"country" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
); | SELECT COUNT("col_m") FROM "and" WHERE "prominence_m"='2,344'; | 2-18918776-9 |
Which Prominence (m) has a Col (m) of 350? | CREATE TABLE "and" (
"peak" text,
"country" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
); | SELECT AVG("prominence_m") FROM "and" WHERE "col_m"=350; | 2-18918776-9 |
Which Elevation (m) has a Prominence (m) smaller than 2,456, and a Peak of mount kyllini, and a Col (m) smaller than 506? | CREATE TABLE "and" (
"peak" text,
"country" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
); | SELECT MAX("elevation_m") FROM "and" WHERE "prominence_m"<'2,456' AND "peak"='mount kyllini' AND "col_m"<506; | 2-18918776-9 |
Who was the athlete from Lithuania? | CREATE TABLE "heat_4" (
"rank" real,
"athlete" text,
"country" text,
"time" text,
"notes" text
); | SELECT "athlete" FROM "heat_4" WHERE "country"='lithuania'; | 2-18662643-5 |
How many votes did Jeannemarie Devolites Davis get in 1995-Special? | CREATE TABLE "fairfax_county_board_of_supervisors_resu" (
"year" text,
"subject" text,
"party" text,
"votes" real,
"opponent" text
); | SELECT "votes" FROM "fairfax_county_board_of_supervisors_resu" WHERE "opponent"='jeannemarie devolites davis' AND "year"='1995-special'; | 2-18476935-1 |
Who was the subject for the year of 2007? | CREATE TABLE "fairfax_county_board_of_supervisors_resu" (
"year" text,
"subject" text,
"party" text,
"votes" real,
"opponent" text
); | SELECT "subject" FROM "fairfax_county_board_of_supervisors_resu" WHERE "year"='2007'; | 2-18476935-1 |
Which party has a voting total greater than 4,478? | CREATE TABLE "fairfax_county_board_of_supervisors_resu" (
"year" text,
"subject" text,
"party" text,
"votes" real,
"opponent" text
); | SELECT "party" FROM "fairfax_county_board_of_supervisors_resu" WHERE "votes">'4,478'; | 2-18476935-1 |
Which Type has a Nat of geo? | CREATE TABLE "in" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text
); | SELECT "type" FROM "in" WHERE "nat"='geo'; | 2-18887450-2 |
Which Moving from has a Nat of ned? | CREATE TABLE "in" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text
); | SELECT "moving_from" FROM "in" WHERE "nat"='ned'; | 2-18887450-2 |
Which Ends have a Name of zambrano? | CREATE TABLE "in" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text
); | SELECT MAX("ends") FROM "in" WHERE "name"='zambrano'; | 2-18887450-2 |
Which Transfer fee has a Moving from of youth system, and a Nat of mar? | CREATE TABLE "in" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text
); | SELECT "transfer_fee" FROM "in" WHERE "moving_from"='youth system' AND "nat"='mar'; | 2-18887450-2 |
Which Transfer fee has Ends larger than 2011, and a Moving from of psv? | CREATE TABLE "in" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text
); | SELECT "transfer_fee" FROM "in" WHERE "ends">2011 AND "moving_from"='psv'; | 2-18887450-2 |
What is the result for the Toscane Horse in the freestyle test? | CREATE TABLE "equestrian" (
"athlete" text,
"class" text,
"horse" text,
"event" text,
"result" text,
"rank" text
); | SELECT "result" FROM "equestrian" WHERE "horse"='toscane' AND "event"='freestyle test'; | 2-18602462-9 |
What horse has a 66.452 result? | CREATE TABLE "equestrian" (
"athlete" text,
"class" text,
"horse" text,
"event" text,
"result" text,
"rank" text
); | SELECT "horse" FROM "equestrian" WHERE "result"='66.452'; | 2-18602462-9 |
What event did Sjerstin Vermeulen receive a 66.452 result? | CREATE TABLE "equestrian" (
"athlete" text,
"class" text,
"horse" text,
"event" text,
"result" text,
"rank" text
); | SELECT "event" FROM "equestrian" WHERE "athlete"='sjerstin vermeulen' AND "result"='66.452'; | 2-18602462-9 |
What class had a Championship Test event with a 62.516 result? | CREATE TABLE "equestrian" (
"athlete" text,
"class" text,
"horse" text,
"event" text,
"result" text,
"rank" text
); | SELECT "class" FROM "equestrian" WHERE "event"='championship test' AND "result"='62.516'; | 2-18602462-9 |
What horse has a 65.863 result? | CREATE TABLE "equestrian" (
"athlete" text,
"class" text,
"horse" text,
"event" text,
"result" text,
"rank" text
); | SELECT "horse" FROM "equestrian" WHERE "result"='65.863'; | 2-18602462-9 |
What is the displacement for the model 1400? | CREATE TABLE "engines" (
"model" text,
"years" text,
"engine" text,
"displacement" text,
"power" text,
"fuel_system" text
); | SELECT "displacement" FROM "engines" WHERE "model"='1400'; | 2-1848560-1 |
What is the displacement when the fuel system is carburettor, and a power of ps (kw; hp), and also has a model of 2000? | CREATE TABLE "engines" (
"model" text,
"years" text,
"engine" text,
"displacement" text,
"power" text,
"fuel_system" text
); | SELECT "displacement" FROM "engines" WHERE "fuel_system"='carburettor' AND "power"='ps (kw; hp)' AND "model"='2000'; | 2-1848560-1 |
What engine with the years of 1975-84 has a model of 1600? | CREATE TABLE "engines" (
"model" text,
"years" text,
"engine" text,
"displacement" text,
"power" text,
"fuel_system" text
); | SELECT "engine" FROM "engines" WHERE "model"='1600' AND "years"='1975-84'; | 2-1848560-1 |
What displacement has a model of 2000? | CREATE TABLE "engines" (
"model" text,
"years" text,
"engine" text,
"displacement" text,
"power" text,
"fuel_system" text
); | SELECT "displacement" FROM "engines" WHERE "model"='2000'; | 2-1848560-1 |
What engine with years of 1975-84 has a displacement of 1585cc? | CREATE TABLE "engines" (
"model" text,
"years" text,
"engine" text,
"displacement" text,
"power" text,
"fuel_system" text
); | SELECT "engine" FROM "engines" WHERE "years"='1975-84' AND "displacement"='1585cc'; | 2-1848560-1 |
What is the power for the years 1975-84? | CREATE TABLE "engines" (
"model" text,
"years" text,
"engine" text,
"displacement" text,
"power" text,
"fuel_system" text
); | SELECT "power" FROM "engines" WHERE "years"='1975-84'; | 2-1848560-1 |
What is the 2nd leg in match with team 2 of Teram? | CREATE TABLE "al_ahly_results" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "al_ahly_results" WHERE "team_2"='teram'; | 2-18932773-3 |
What was the result of the December 15, 2002 game? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"tv_time" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "date"='december 15, 2002'; | 2-18925235-2 |
What date was the game that was attended by 69,024? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"tv_time" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "attendance"='69,024'; | 2-18925235-2 |
On what date was the week 17 game? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"tv_time" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week"=17; | 2-18925235-2 |
What is the name of the 2008 club for Istres Volleyball? | CREATE TABLE "volleyball_at_the_2008_summer_olympics_w" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
); | SELECT "name" FROM "volleyball_at_the_2008_summer_olympics_w" WHERE "2008_club"='istres volleyball'; | 2-18719696-7 |
What is the Model of the Engine with 29 Seats Built in 1941–1942? | CREATE TABLE "p_series_1939_1944" (
"model" text,
"built" text,
"quantity" real,
"seats" real,
"length" text,
"engine" text
); | SELECT "model" FROM "p_series_1939_1944" WHERE "seats"=29 AND "built"='1941–1942'; | 2-1838472-6 |
What is the Quantity of the engine Model PG-2901? | CREATE TABLE "p_series_1939_1944" (
"model" text,
"built" text,
"quantity" real,
"seats" real,
"length" text,
"engine" text
); | SELECT "quantity" FROM "p_series_1939_1944" WHERE "model"='pg-2901'; | 2-1838472-6 |
What is the % of draws with an against ratio of 0.67 and 1 win? | CREATE TABLE "by_clubs" (
"team" text,
"matches" real,
"wins" real,
"wins_pct" text,
"draws" real,
"draws_pct" text,
"losses" real,
"losses_pct" text,
"against" real,
"for_against_ratio" text
); | SELECT "draws_pct" FROM "by_clubs" WHERE "for_against_ratio"='0.67' AND "wins"=1; | 2-18420346-2 |
What are the matches with a 50% of draws for Team Milan? | CREATE TABLE "by_clubs" (
"team" text,
"matches" real,
"wins" real,
"wins_pct" text,
"draws" real,
"draws_pct" text,
"losses" real,
"losses_pct" text,
"against" real,
"for_against_ratio" text
); | SELECT "matches" FROM "by_clubs" WHERE "draws_pct"='50%' AND "team"='milan'; | 2-18420346-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.