question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
Name the Qual 2 of a Team of american spirit team johansson and a Best of 59.073?
|
CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
);
|
SELECT "qual_2" FROM "qualifying_results" WHERE "team"='american spirit team johansson' AND "best"='59.073';
|
2-18943126-1
|
Name the Best which has a Qual 2 of 58.700?
|
CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
);
|
SELECT "best" FROM "qualifying_results" WHERE "qual_2"='58.700';
|
2-18943126-1
|
Which Qual 1 has a Qual 2 of 58.861?
|
CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
);
|
SELECT "qual_1" FROM "qualifying_results" WHERE "qual_2"='58.861';
|
2-18943126-1
|
Which Qual 1 has a Qual 2 of 59.822?
|
CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
);
|
SELECT "qual_1" FROM "qualifying_results" WHERE "qual_2"='59.822';
|
2-18943126-1
|
Which Qual 1 has a Team of team player's, and a Best of 58.405?
|
CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
);
|
SELECT "qual_1" FROM "qualifying_results" WHERE "team"='team player''s' AND "best"='58.405';
|
2-18943126-1
|
what is the height (m) when the nation is sweden (swe) and the weight (kg) is 102?
|
CREATE TABLE "sortable_list_of_competitors_with_s_kipp" (
"nation" text,
"birth_date" text,
"height_m" text,
"weight_kg" text,
"world_rank" text
);
|
SELECT "height_m" FROM "sortable_list_of_competitors_with_s_kipp" WHERE "nation"='sweden (swe)' AND "weight_kg"='102';
|
2-18674932-1
|
what is the nation when the world rank is 2 and the birth date is 1976-12-20?
|
CREATE TABLE "sortable_list_of_competitors_with_s_kipp" (
"nation" text,
"birth_date" text,
"height_m" text,
"weight_kg" text,
"world_rank" text
);
|
SELECT "nation" FROM "sortable_list_of_competitors_with_s_kipp" WHERE "world_rank"='2' AND "birth_date"='1976-12-20';
|
2-18674932-1
|
what is the nation when the world rank is 6 and the birth date is 1971-07-31?
|
CREATE TABLE "sortable_list_of_competitors_with_s_kipp" (
"nation" text,
"birth_date" text,
"height_m" text,
"weight_kg" text,
"world_rank" text
);
|
SELECT "nation" FROM "sortable_list_of_competitors_with_s_kipp" WHERE "world_rank"='6' AND "birth_date"='1971-07-31';
|
2-18674932-1
|
what is the birth date when the weight (kg) is 100 and the world rank is 2?
|
CREATE TABLE "sortable_list_of_competitors_with_s_kipp" (
"nation" text,
"birth_date" text,
"height_m" text,
"weight_kg" text,
"world_rank" text
);
|
SELECT "birth_date" FROM "sortable_list_of_competitors_with_s_kipp" WHERE "weight_kg"='100' AND "world_rank"='2';
|
2-18674932-1
|
what is the nation when the height (m) is 1.91 and the weight (kg) is 99?
|
CREATE TABLE "sortable_list_of_competitors_with_s_kipp" (
"nation" text,
"birth_date" text,
"height_m" text,
"weight_kg" text,
"world_rank" text
);
|
SELECT "nation" FROM "sortable_list_of_competitors_with_s_kipp" WHERE "height_m"='1.91' AND "weight_kg"='99';
|
2-18674932-1
|
what is the height (m) when the birth date is 1968-07-01?
|
CREATE TABLE "sortable_list_of_competitors_with_s_kipp" (
"nation" text,
"birth_date" text,
"height_m" text,
"weight_kg" text,
"world_rank" text
);
|
SELECT "height_m" FROM "sortable_list_of_competitors_with_s_kipp" WHERE "birth_date"='1968-07-01';
|
2-18674932-1
|
How many Total Positions have a 2002 Position smaller than 3, and a Team of shandong luneng?
|
CREATE TABLE "relegation" (
"team" text,
"2002_position" real,
"2003_position" real,
"total_position" real,
"qualification" text
);
|
SELECT COUNT("total_position") FROM "relegation" WHERE "2002_position"<3 AND "team"='shandong luneng';
|
2-18983113-2
|
Which Team has a Qualification of entry to the 2004 chinese super league, and a 2002 Position smaller than 6, and a 2003 Position smaller than 9, and a Total Position larger than 3.5?
|
CREATE TABLE "relegation" (
"team" text,
"2002_position" real,
"2003_position" real,
"total_position" real,
"qualification" text
);
|
SELECT "team" FROM "relegation" WHERE "qualification"='entry to the 2004 chinese super league' AND "2002_position"<6 AND "2003_position"<9 AND "total_position">3.5;
|
2-18983113-2
|
What is the nationality of the athlete with a time of 2:12.56?
|
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT "nationality" FROM "heats" WHERE "time"='2:12.56';
|
2-18625598-3
|
What time did Sara Nordenstam get?
|
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT "time" FROM "heats" WHERE "name"='sara nordenstam';
|
2-18625598-3
|
What nationality is Jessica Pengelly?
|
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT "nationality" FROM "heats" WHERE "name"='jessica pengelly';
|
2-18625598-3
|
What league apps with 1 flt apps, 0 goals, and more than 1 league goals?
|
CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" text,
"fa_cup_goals" real,
"league_cup_apps" text,
"league_cup_goals" real,
"flt_apps" text,
"flt_goals" real,
"total_apps" text,
"total_goals" real
);
|
SELECT "league_apps" FROM "appearances_and_goals" WHERE "flt_apps"='1' AND "total_goals">0 AND "league_goals">1;
|
2-18384980-1
|
What is the total number of league goals for Simon Charlton?
|
CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" text,
"fa_cup_goals" real,
"league_cup_apps" text,
"league_cup_goals" real,
"flt_apps" text,
"flt_goals" real,
"total_apps" text,
"total_goals" real
);
|
SELECT COUNT("league_goals") FROM "appearances_and_goals" WHERE "name"='simon charlton';
|
2-18384980-1
|
What was the place when the score was 65-70-72=207?
|
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
|
SELECT "place" FROM "third_round" WHERE "score"='65-70-72=207';
|
2-18812411-7
|
What was the score for place 4?
|
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
|
SELECT "score" FROM "third_round" WHERE "place"='4';
|
2-18812411-7
|
Who scored 67-73-70=210?
|
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
|
SELECT "player" FROM "third_round" WHERE "score"='67-73-70=210';
|
2-18812411-7
|
What is the lowest poles that have 0 as a win, 0 as the top 5, with 66th as the postion?
|
CREATE TABLE "nascar_nationwide_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("poles") FROM "nascar_nationwide_series" WHERE "wins"=0 AND "top_5"=0 AND "position"='66th';
|
2-1875157-2
|
Who was the music director in 1971 for the movie Kalyani?
|
CREATE TABLE "see_also" (
"year" real,
"movie_in_kannada" text,
"director" text,
"cast" text,
"music_director" text
);
|
SELECT "music_director" FROM "see_also" WHERE "year"=1971 AND "movie_in_kannada"='kalyani';
|
2-18634217-1
|
What movie had the music director G.K. Venkatesh and director B. Dorairaj?
|
CREATE TABLE "see_also" (
"year" real,
"movie_in_kannada" text,
"director" text,
"cast" text,
"music_director" text
);
|
SELECT "movie_in_kannada" FROM "see_also" WHERE "music_director"='g.k. venkatesh' AND "director"='b. dorairaj';
|
2-18634217-1
|
What movie had the music director G.K. Venkatesh and director Siddalingaiah?
|
CREATE TABLE "see_also" (
"year" real,
"movie_in_kannada" text,
"director" text,
"cast" text,
"music_director" text
);
|
SELECT "movie_in_kannada" FROM "see_also" WHERE "music_director"='g.k. venkatesh' AND "director"='siddalingaiah';
|
2-18634217-1
|
Which county has a median family income of $50,227?
|
CREATE TABLE "ohio_counties_ranked_by_per_capita_incom" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real
);
|
SELECT "county" FROM "ohio_counties_ranked_by_per_capita_incom" WHERE "median_family_income"='$50,227';
|
2-1840495-1
|
What is the tournament when 2010 is not held?
|
CREATE TABLE "single_performance_statistics" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
|
SELECT "tournament" FROM "single_performance_statistics" WHERE "2010"='not held';
|
2-18586543-7
|
What shows for 2009 when 2008 is A, 2012 is 1r, 2010 is q2, and 2011 is 2r?
|
CREATE TABLE "single_performance_statistics" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
|
SELECT "2009" FROM "single_performance_statistics" WHERE "2008"='a' AND "2012"='1r' AND "2010"='q2' AND "2011"='2r';
|
2-18586543-7
|
What is the tournament when 2010 is q2, and 2009 is 1r?
|
CREATE TABLE "single_performance_statistics" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
|
SELECT "tournament" FROM "single_performance_statistics" WHERE "2010"='q2' AND "2009"='1r';
|
2-18586543-7
|
What is the tournament when 2007 is WTA Premier 5 tournaments?
|
CREATE TABLE "single_performance_statistics" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
|
SELECT "tournament" FROM "single_performance_statistics" WHERE "2007"='wta premier 5 tournaments';
|
2-18586543-7
|
What is the tournament when 2012 is q2?
|
CREATE TABLE "single_performance_statistics" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
|
SELECT "tournament" FROM "single_performance_statistics" WHERE "2012"='q2';
|
2-18586543-7
|
What shows for 2008 when 2010 is 138?
|
CREATE TABLE "single_performance_statistics" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
|
SELECT "2008" FROM "single_performance_statistics" WHERE "2010"='138';
|
2-18586543-7
|
Which country timed at 7:03.91?
|
CREATE TABLE "semifinal_a_b_1" (
"rank" real,
"rowers" text,
"country" text,
"time" text,
"notes" text
);
|
SELECT "country" FROM "semifinal_a_b_1" WHERE "time"='7:03.91';
|
2-18662704-8
|
What did Denmark time at?
|
CREATE TABLE "semifinal_a_b_1" (
"rank" real,
"rowers" text,
"country" text,
"time" text,
"notes" text
);
|
SELECT "time" FROM "semifinal_a_b_1" WHERE "country"='denmark';
|
2-18662704-8
|
What was the internet explorer % when firefox was 24.98%?
|
CREATE TABLE "global_desktop_and_mobile_stats_combined" (
"date" text,
"internet_explorer" text,
"chrome" text,
"firefox" text,
"safari" text
);
|
SELECT "internet_explorer" FROM "global_desktop_and_mobile_stats_combined" WHERE "firefox"='24.98%';
|
2-1876262-2
|
What was the percentage of firefox was chrome was 23.90%
|
CREATE TABLE "global_desktop_and_mobile_stats_combined" (
"date" text,
"internet_explorer" text,
"chrome" text,
"firefox" text,
"safari" text
);
|
SELECT "firefox" FROM "global_desktop_and_mobile_stats_combined" WHERE "chrome"='23.90%';
|
2-1876262-2
|
What was the percentage of safari when internet explorer was 20.27%?
|
CREATE TABLE "global_desktop_and_mobile_stats_combined" (
"date" text,
"internet_explorer" text,
"chrome" text,
"firefox" text,
"safari" text
);
|
SELECT "safari" FROM "global_desktop_and_mobile_stats_combined" WHERE "internet_explorer"='20.27%';
|
2-1876262-2
|
What was the firefox % was chrome was 25.08%?
|
CREATE TABLE "global_desktop_and_mobile_stats_combined" (
"date" text,
"internet_explorer" text,
"chrome" text,
"firefox" text,
"safari" text
);
|
SELECT "firefox" FROM "global_desktop_and_mobile_stats_combined" WHERE "chrome"='25.08%';
|
2-1876262-2
|
What was the percentage of safari when firefox was 24.66%
|
CREATE TABLE "global_desktop_and_mobile_stats_combined" (
"date" text,
"internet_explorer" text,
"chrome" text,
"firefox" text,
"safari" text
);
|
SELECT "safari" FROM "global_desktop_and_mobile_stats_combined" WHERE "firefox"='24.66%';
|
2-1876262-2
|
Which label released on February 18, 2009?
|
CREATE TABLE "release_history" (
"region" text,
"date" text,
"format" text,
"label" text,
"edition" text
);
|
SELECT "label" FROM "release_history" WHERE "date"='february 18, 2009';
|
2-18767391-4
|
When did Avex Entertainment release a CD?
|
CREATE TABLE "release_history" (
"region" text,
"date" text,
"format" text,
"label" text,
"edition" text
);
|
SELECT "date" FROM "release_history" WHERE "format"='cd' AND "label"='avex entertainment';
|
2-18767391-4
|
When did Hollywood Records release a digital download?
|
CREATE TABLE "release_history" (
"region" text,
"date" text,
"format" text,
"label" text,
"edition" text
);
|
SELECT "date" FROM "release_history" WHERE "label"='hollywood records' AND "format"='digital download';
|
2-18767391-4
|
What kind of edition was released September 23, 2008 from the United States?
|
CREATE TABLE "release_history" (
"region" text,
"date" text,
"format" text,
"label" text,
"edition" text
);
|
SELECT "edition" FROM "release_history" WHERE "date"='september 23, 2008' AND "region"='united states';
|
2-18767391-4
|
What format was released April 16, 2009?
|
CREATE TABLE "release_history" (
"region" text,
"date" text,
"format" text,
"label" text,
"edition" text
);
|
SELECT "format" FROM "release_history" WHERE "date"='april 16, 2009';
|
2-18767391-4
|
What's the call sign if the branding is 1062 DXKI Koronadal?
|
CREATE TABLE "febc_stations_in_the_philippines" (
"branding" text,
"call_sign" text,
"frequency" text,
"power_kw" text,
"location" text
);
|
SELECT "call_sign" FROM "febc_stations_in_the_philippines" WHERE "branding"='1062 dxki koronadal';
|
2-18762300-1
|
What's the branding for frequency 1233khz?
|
CREATE TABLE "febc_stations_in_the_philippines" (
"branding" text,
"call_sign" text,
"frequency" text,
"power_kw" text,
"location" text
);
|
SELECT "branding" FROM "febc_stations_in_the_philippines" WHERE "frequency"='1233khz';
|
2-18762300-1
|
What's the call sign that has 20kw of power?
|
CREATE TABLE "febc_stations_in_the_philippines" (
"branding" text,
"call_sign" text,
"frequency" text,
"power_kw" text,
"location" text
);
|
SELECT "call_sign" FROM "febc_stations_in_the_philippines" WHERE "power_kw"='20kw';
|
2-18762300-1
|
What's the location when the branding is 1116 DXAS Zamboanga?
|
CREATE TABLE "febc_stations_in_the_philippines" (
"branding" text,
"call_sign" text,
"frequency" text,
"power_kw" text,
"location" text
);
|
SELECT "location" FROM "febc_stations_in_the_philippines" WHERE "branding"='1116 dxas zamboanga';
|
2-18762300-1
|
What's the location of the 1197khz frequency?
|
CREATE TABLE "febc_stations_in_the_philippines" (
"branding" text,
"call_sign" text,
"frequency" text,
"power_kw" text,
"location" text
);
|
SELECT "location" FROM "febc_stations_in_the_philippines" WHERE "frequency"='1197khz';
|
2-18762300-1
|
What's the frequency of the call sign DYFR with 10KW of power?
|
CREATE TABLE "febc_stations_in_the_philippines" (
"branding" text,
"call_sign" text,
"frequency" text,
"power_kw" text,
"location" text
);
|
SELECT "frequency" FROM "febc_stations_in_the_philippines" WHERE "power_kw"='10kw' AND "call_sign"='dyfr';
|
2-18762300-1
|
What is Hungary's highest Rank?
|
CREATE TABLE "heat_3" (
"rank" real,
"rowers" text,
"country" text,
"time" text,
"notes" text
);
|
SELECT MAX("rank") FROM "heat_3" WHERE "country"='hungary';
|
2-18662685-5
|
What is the Notes of the Country with a Rank of 4?
|
CREATE TABLE "heat_3" (
"rank" real,
"rowers" text,
"country" text,
"time" text,
"notes" text
);
|
SELECT "notes" FROM "heat_3" WHERE "rank"=4;
|
2-18662685-5
|
What country had a Time of 6:14.84?
|
CREATE TABLE "heat_3" (
"rank" real,
"rowers" text,
"country" text,
"time" text,
"notes" text
);
|
SELECT "country" FROM "heat_3" WHERE "time"='6:14.84';
|
2-18662685-5
|
Which Nationality has a Lane of 5, and a Time of 7:08.04?
|
CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"nationality" text,
"time" text
);
|
SELECT "nationality" FROM "heats" WHERE "lane"=5 AND "time"='7:08.04';
|
2-18454179-3
|
Which Heat has a Rank of 8?
|
CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"nationality" text,
"time" text
);
|
SELECT MAX("heat") FROM "heats" WHERE "rank"=8;
|
2-18454179-3
|
WHICH 2nd round has a 3rd round of involuntary suspension of season.?
|
CREATE TABLE "playoffs" (
"season" text,
"1st_round" text,
"2nd_round" text,
"3rd_round" text,
"finals" text
);
|
SELECT "2nd_round" FROM "playoffs" WHERE "3rd_round"='involuntary suspension of season.';
|
2-1888192-2
|
NAME THE Finals which has a 1st round of w, 3–1, mis?
|
CREATE TABLE "playoffs" (
"season" text,
"1st_round" text,
"2nd_round" text,
"3rd_round" text,
"finals" text
);
|
SELECT "finals" FROM "playoffs" WHERE "1st_round"='w, 3–1, mis';
|
2-1888192-2
|
Which Season has Finals of out of playoffs.?
|
CREATE TABLE "playoffs" (
"season" text,
"1st_round" text,
"2nd_round" text,
"3rd_round" text,
"finals" text
);
|
SELECT "season" FROM "playoffs" WHERE "finals"='out of playoffs.';
|
2-1888192-2
|
Which 3rd round has a 1st round of —?
|
CREATE TABLE "playoffs" (
"season" text,
"1st_round" text,
"2nd_round" text,
"3rd_round" text,
"finals" text
);
|
SELECT "3rd_round" FROM "playoffs" WHERE "1st_round"='—';
|
2-1888192-2
|
Which Finals has a 1st round of —?
|
CREATE TABLE "playoffs" (
"season" text,
"1st_round" text,
"2nd_round" text,
"3rd_round" text,
"finals" text
);
|
SELECT "finals" FROM "playoffs" WHERE "1st_round"='—';
|
2-1888192-2
|
What's Albufeira's assist/pass?
|
CREATE TABLE "international_goals" (
"date" text,
"location" text,
"lineup" text,
"assist_pass" text,
"score" text,
"result" text,
"competition" text
);
|
SELECT "assist_pass" FROM "international_goals" WHERE "location"='albufeira';
|
2-18744968-2
|
What's the lineup when the assist/pass was Unassisted?
|
CREATE TABLE "international_goals" (
"date" text,
"location" text,
"lineup" text,
"assist_pass" text,
"score" text,
"result" text,
"competition" text
);
|
SELECT "lineup" FROM "international_goals" WHERE "assist_pass"='unassisted';
|
2-18744968-2
|
What date was the result 3-1 in Hague?
|
CREATE TABLE "international_goals" (
"date" text,
"location" text,
"lineup" text,
"assist_pass" text,
"score" text,
"result" text,
"competition" text
);
|
SELECT "date" FROM "international_goals" WHERE "result"='3-1' AND "location"='hague';
|
2-18744968-2
|
what is the total when the rank is total and the silver is less than 10?
|
CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT SUM("total") FROM "medal_table" WHERE "rank"='total' AND "silver"<10;
|
2-18403663-1
|
what is the least silver when gold is 0?
|
CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT MIN("silver") FROM "medal_table" WHERE "gold"<0;
|
2-18403663-1
|
what is the total silver when total is 30 and bronze is more than 10?
|
CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT COUNT("silver") FROM "medal_table" WHERE "total"=30 AND "bronze">10;
|
2-18403663-1
|
what is the total when bronze is more than 1, nation is hong kong (hkg) and gold is less than 3?
|
CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
|
SELECT SUM("total") FROM "medal_table" WHERE "bronze">1 AND "nation"='hong kong (hkg)' AND "gold"<3;
|
2-18403663-1
|
The driver in class A with 125 laps is in what position?
|
CREATE TABLE "results" (
"position" text,
"drivers" text,
"entrant" text,
"class" text,
"laps" real
);
|
SELECT "position" FROM "results" WHERE "class"='a' AND "laps"=125;
|
2-18712428-1
|
Peter Hopwood has how many laps in all?
|
CREATE TABLE "results" (
"position" text,
"drivers" text,
"entrant" text,
"class" text,
"laps" real
);
|
SELECT COUNT("laps") FROM "results" WHERE "entrant"='peter hopwood';
|
2-18712428-1
|
For what class is the laps 66?
|
CREATE TABLE "results" (
"position" text,
"drivers" text,
"entrant" text,
"class" text,
"laps" real
);
|
SELECT "class" FROM "results" WHERE "laps"=66;
|
2-18712428-1
|
What is the number of matches with an average larger than 6.33, with a rank of 1?
|
CREATE TABLE "season" (
"rank" real,
"player" text,
"county" text,
"tally" text,
"total" real,
"matches" real,
"average" real
);
|
SELECT SUM("matches") FROM "season" WHERE "average">6.33 AND "rank"=1;
|
2-18936845-1
|
What is the total when matches is less than 3, and rank is smaller than 2?
|
CREATE TABLE "season" (
"rank" real,
"player" text,
"county" text,
"tally" text,
"total" real,
"matches" real,
"average" real
);
|
SELECT MIN("total") FROM "season" WHERE "matches"<3 AND "rank"<2;
|
2-18936845-1
|
What is the average when the tally is 3–11, with more than 4 matches??
|
CREATE TABLE "season" (
"rank" real,
"player" text,
"county" text,
"tally" text,
"total" real,
"matches" real,
"average" real
);
|
SELECT COUNT("average") FROM "season" WHERE "tally"='3–11' AND "matches">4;
|
2-18936845-1
|
What rank has an average of 6.33?
|
CREATE TABLE "season" (
"rank" real,
"player" text,
"county" text,
"tally" text,
"total" real,
"matches" real,
"average" real
);
|
SELECT AVG("rank") FROM "season" WHERE "average"=6.33;
|
2-18936845-1
|
What is the average number of laps with a dnf pos.?
|
CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
);
|
SELECT AVG("laps") FROM "24_hours_of_le_mans_results" WHERE "pos"='dnf';
|
2-18864385-1
|
What is the lowest Rank for a Guam Player?
|
CREATE TABLE "heat_3" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
);
|
SELECT MIN("rank") FROM "heat_3" WHERE "country"='guam';
|
2-18646639-5
|
What is the Rank of the Guam Player?
|
CREATE TABLE "heat_3" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
);
|
SELECT AVG("rank") FROM "heat_3" WHERE "country"='guam';
|
2-18646639-5
|
Which Week has a Result of l 20–13, and an Attendance larger than 49,598?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
|
SELECT MAX("week") FROM "schedule" WHERE "result"='l 20–13' AND "attendance">'49,598';
|
2-18908447-2
|
How many weeks have an Opponent of at san francisco 49ers, and an Attendance smaller than 34,354?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
|
SELECT COUNT("week") FROM "schedule" WHERE "opponent"='at san francisco 49ers' AND "attendance"<'34,354';
|
2-18908447-2
|
Which Result has an Opponent of washington redskins?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
|
SELECT "result" FROM "schedule" WHERE "opponent"='washington redskins';
|
2-18908447-2
|
What week did the dallas cowboys play?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
|
SELECT SUM("week") FROM "schedule" WHERE "opponent"='dallas cowboys';
|
2-18908447-2
|
Name the average React of the Time smaller than 20.05 in jamaica with a Lane larger than 5?
|
CREATE TABLE "final" (
"lane" real,
"name" text,
"nationality" text,
"react" real,
"time" real
);
|
SELECT AVG("react") FROM "final" WHERE "time"<20.05 AND "nationality"='jamaica' AND "lane">5;
|
2-18912995-9
|
Which Fencing Victories (pts) has a Shooting Score (pts) of 187 (1180) and a Total smaller than 5640? Question 1
|
CREATE TABLE "results" (
"athlete" text,
"shooting_score_pts" text,
"fencing_victories_pts" text,
"swimming_time_pts" text,
"equestrian_time_pts" text,
"running_time_pts" text,
"total" real
);
|
SELECT "fencing_victories_pts" FROM "results" WHERE "shooting_score_pts"='187 (1180)' AND "total"<5640;
|
2-18830959-2
|
Which Equestrian Time (pts) has an Athlete of omnia fakhry ( egy )?
|
CREATE TABLE "results" (
"athlete" text,
"shooting_score_pts" text,
"fencing_victories_pts" text,
"swimming_time_pts" text,
"equestrian_time_pts" text,
"running_time_pts" text,
"total" real
);
|
SELECT "equestrian_time_pts" FROM "results" WHERE "athlete"='omnia fakhry ( egy )';
|
2-18830959-2
|
Which Shooting Score (pts) has a Total larger than 5464 and a Athlete of heather fell ( gbr )?
|
CREATE TABLE "results" (
"athlete" text,
"shooting_score_pts" text,
"fencing_victories_pts" text,
"swimming_time_pts" text,
"equestrian_time_pts" text,
"running_time_pts" text,
"total" real
);
|
SELECT "shooting_score_pts" FROM "results" WHERE "total">5464 AND "athlete"='heather fell ( gbr )';
|
2-18830959-2
|
Which Fencing Victories (pts) that has a Equestrian Time (pts) of 67.88 (1144)?
|
CREATE TABLE "results" (
"athlete" text,
"shooting_score_pts" text,
"fencing_victories_pts" text,
"swimming_time_pts" text,
"equestrian_time_pts" text,
"running_time_pts" text,
"total" real
);
|
SELECT "fencing_victories_pts" FROM "results" WHERE "equestrian_time_pts"='67.88 (1144)';
|
2-18830959-2
|
Which Fencing Victories (pts) has a Total of 5640?
|
CREATE TABLE "results" (
"athlete" text,
"shooting_score_pts" text,
"fencing_victories_pts" text,
"swimming_time_pts" text,
"equestrian_time_pts" text,
"running_time_pts" text,
"total" real
);
|
SELECT "fencing_victories_pts" FROM "results" WHERE "total"=5640;
|
2-18830959-2
|
What position did the player from Rice College play who was picked under 15?
|
CREATE TABLE "second_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "position" FROM "second_round" WHERE "pick"<15 AND "college"='rice';
|
2-18652198-2
|
What position did pick 14 play?
|
CREATE TABLE "second_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "position" FROM "second_round" WHERE "pick"=14;
|
2-18652198-2
|
What pick number did the linebacker from the denver broncos get?
|
CREATE TABLE "second_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "pick" FROM "second_round" WHERE "position"='linebacker' AND "team"='denver broncos';
|
2-18652198-2
|
What college was the quarterback from?
|
CREATE TABLE "second_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "college" FROM "second_round" WHERE "position"='quarterback';
|
2-18652198-2
|
What is the lowest number pick from san diego chargers?
|
CREATE TABLE "second_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT MIN("pick") FROM "second_round" WHERE "team"='san diego chargers';
|
2-18652198-2
|
Which Type/code has a Torque@rpm of n·m (lb·ft) @1900–3500? Question 1
|
CREATE TABLE "engines" (
"model" text,
"years" text,
"type_code" text,
"power_rpm" text,
"torque_rpm" text
);
|
SELECT "type_code" FROM "engines" WHERE "torque_rpm"='n·m (lb·ft) @1900–3500';
|
2-1867831-2
|
Which Torque@rpm has a Power@rpm of ps (kw; hp)@6100?
|
CREATE TABLE "engines" (
"model" text,
"years" text,
"type_code" text,
"power_rpm" text,
"torque_rpm" text
);
|
SELECT "torque_rpm" FROM "engines" WHERE "power_rpm"='ps (kw; hp)@6100';
|
2-1867831-2
|
Name Model which has a Years of 2006–2008 and a Torque@rpm of n·m (lb·ft) @1900–3500?
|
CREATE TABLE "engines" (
"model" text,
"years" text,
"type_code" text,
"power_rpm" text,
"torque_rpm" text
);
|
SELECT "model" FROM "engines" WHERE "years"='2006–2008' AND "torque_rpm"='n·m (lb·ft) @1900–3500';
|
2-1867831-2
|
Which Torque@rpm has a Power@rpm of ps (kw; hp)@4800–5100?
|
CREATE TABLE "engines" (
"model" text,
"years" text,
"type_code" text,
"power_rpm" text,
"torque_rpm" text
);
|
SELECT "torque_rpm" FROM "engines" WHERE "power_rpm"='ps (kw; hp)@4800–5100';
|
2-1867831-2
|
Which Years has a Type/code of cubic centimetres (cuin) v8 ( m273 )?
|
CREATE TABLE "engines" (
"model" text,
"years" text,
"type_code" text,
"power_rpm" text,
"torque_rpm" text
);
|
SELECT "years" FROM "engines" WHERE "type_code"='cubic centimetres (cuin) v8 ( m273 )';
|
2-1867831-2
|
What is the total heat number of sun yang, who has a lane less than 2?
|
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT COUNT("heat") FROM "heats" WHERE "name"='sun yang' AND "lane"<2;
|
2-18624662-2
|
Who has a time of 3:50.90?
|
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT "name" FROM "heats" WHERE "time"='3:50.90';
|
2-18624662-2
|
What is the time of lane 3 in heat 5?
|
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
|
SELECT "time" FROM "heats" WHERE "heat"=5 AND "lane"=3;
|
2-18624662-2
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.