question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
What is the rd for the canadian grand prix?
|
CREATE TABLE "grands_prix" (
"rd" real,
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT "rd" FROM "grands_prix" WHERE "grand_prix"='Canadian Grand Prix';
|
1-1132588-3
|
What is the fastest lap for the european grand prix?
|
CREATE TABLE "grands_prix" (
"rd" real,
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT "fastest_lap" FROM "grands_prix" WHERE "grand_prix"='European Grand Prix';
|
1-1132588-3
|
What is the pole position for the ferrari at the austrian grand prix?
|
CREATE TABLE "grands_prix" (
"rd" real,
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT "pole_position" FROM "grands_prix" WHERE "constructor"='Ferrari' AND "grand_prix"='Austrian Grand Prix';
|
1-1132588-3
|
What was the result of round 2r?
|
CREATE TABLE "fed_cup_singles_performances_9" (
"edition" real,
"zone" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"outcome" text,
"result" text
);
|
SELECT "outcome" FROM "fed_cup_singles_performances_9" WHERE "round"='2R';
|
1-11326124-3
|
Who did Tina Pisnik verse?
|
CREATE TABLE "fed_cup_singles_performances_9" (
"edition" real,
"zone" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"outcome" text,
"result" text
);
|
SELECT "against" FROM "fed_cup_singles_performances_9" WHERE "opponent"='Tina Pisnik';
|
1-11326124-3
|
How many rounds were 2r?
|
CREATE TABLE "fed_cup_singles_performances_9" (
"edition" real,
"zone" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"outcome" text,
"result" text
);
|
SELECT COUNT("result") FROM "fed_cup_singles_performances_9" WHERE "round"='2R';
|
1-11326124-3
|
Name the outcome for round 2r
|
CREATE TABLE "fed_cup_singles_performances_9" (
"edition" real,
"zone" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"outcome" text,
"result" text
);
|
SELECT "outcome" FROM "fed_cup_singles_performances_9" WHERE "round"='2R';
|
1-11326124-3
|
what's the night rank with viewers (m) of 6.63
|
CREATE TABLE "weekly_ratings" (
"num" real,
"episode" text,
"air_date" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_m" text,
"timeslot_rank" real,
"night_rank" text,
"overall_rank" real
);
|
SELECT "night_rank" FROM "weekly_ratings" WHERE "viewers_m"='6.63';
|
1-11354111-3
|
what's the overall rank with viewers (m) of 7.44
|
CREATE TABLE "weekly_ratings" (
"num" real,
"episode" text,
"air_date" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_m" text,
"timeslot_rank" real,
"night_rank" text,
"overall_rank" real
);
|
SELECT "overall_rank" FROM "weekly_ratings" WHERE "viewers_m"='7.44';
|
1-11354111-3
|
what's the overall rank with rating/share 18–49 of 2.1/5
|
CREATE TABLE "weekly_ratings" (
"num" real,
"episode" text,
"air_date" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_m" text,
"timeslot_rank" real,
"night_rank" text,
"overall_rank" real
);
|
SELECT COUNT("overall_rank") FROM "weekly_ratings" WHERE "rating_share_18_49"='2.1/5';
|
1-11354111-3
|
what's the night rank with rating of 6.2
|
CREATE TABLE "weekly_ratings" (
"num" real,
"episode" text,
"air_date" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_m" text,
"timeslot_rank" real,
"night_rank" text,
"overall_rank" real
);
|
SELECT "night_rank" FROM "weekly_ratings" WHERE "rating"='6.2';
|
1-11354111-3
|
what's the viewers (m) with episode of "legacy"
|
CREATE TABLE "weekly_ratings" (
"num" real,
"episode" text,
"air_date" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_m" text,
"timeslot_rank" real,
"night_rank" text,
"overall_rank" real
);
|
SELECT "viewers_m" FROM "weekly_ratings" WHERE "episode"='\"Legacy\"';
|
1-11354111-3
|
What is the number of group b winner for francavilla?
|
CREATE TABLE "table1_1137142_1" (
"season" text,
"group_a_winner" text,
"group_b_winner" text,
"group_c_winner" text,
"group_d_winner" text
);
|
SELECT COUNT("group_b_winner") FROM "table1_1137142_1" WHERE "group_c_winner"='Francavilla';
|
1-1137142-1
|
What is the group a winner for modena?
|
CREATE TABLE "table1_1137142_1" (
"season" text,
"group_a_winner" text,
"group_b_winner" text,
"group_c_winner" text,
"group_d_winner" text
);
|
SELECT "group_a_winner" FROM "table1_1137142_1" WHERE "group_b_winner"='Modena';
|
1-1137142-1
|
What is the group a winner for vis pesaro?
|
CREATE TABLE "table1_1137142_1" (
"season" text,
"group_a_winner" text,
"group_b_winner" text,
"group_c_winner" text,
"group_d_winner" text
);
|
SELECT "group_a_winner" FROM "table1_1137142_1" WHERE "group_c_winner"='Vis Pesaro';
|
1-1137142-1
|
What group a winner was for nocerina?
|
CREATE TABLE "table1_1137142_1" (
"season" text,
"group_a_winner" text,
"group_b_winner" text,
"group_c_winner" text,
"group_d_winner" text
);
|
SELECT "group_a_winner" FROM "table1_1137142_1" WHERE "group_d_winner"='Nocerina';
|
1-1137142-1
|
What was the group d winner for modena?
|
CREATE TABLE "table1_1137142_1" (
"season" text,
"group_a_winner" text,
"group_b_winner" text,
"group_c_winner" text,
"group_d_winner" text
);
|
SELECT "group_d_winner" FROM "table1_1137142_1" WHERE "group_b_winner"='Modena';
|
1-1137142-1
|
Who had the fastest lap at the brazilian grand prix?
|
CREATE TABLE "grands_prix" (
"round" real,
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
|
SELECT "fastest_lap" FROM "grands_prix" WHERE "grand_prix"='Brazilian Grand Prix';
|
1-1137695-3
|
Who was on the pole position at the monaco grand prix?
|
CREATE TABLE "grands_prix" (
"round" real,
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
|
SELECT "pole_position" FROM "grands_prix" WHERE "grand_prix"='Monaco Grand Prix';
|
1-1137695-3
|
Who was the winning driver when Michael Schumacher had the pole and the fastest lap?
|
CREATE TABLE "grands_prix" (
"round" real,
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
|
SELECT "winning_driver" FROM "grands_prix" WHERE "fastest_lap"='Michael Schumacher' AND "pole_position"='Michael Schumacher';
|
1-1137695-3
|
what are all the location where date is 5 april
|
CREATE TABLE "grands_prix" (
"round" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
|
SELECT "location" FROM "grands_prix" WHERE "date"='5 April';
|
1-1137704-2
|
what are all the pole position where date is 26 july
|
CREATE TABLE "grands_prix" (
"round" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
|
SELECT "pole_position" FROM "grands_prix" WHERE "date"='26 July';
|
1-1137704-2
|
who are all the winning constructors where fastest lap is riccardo patrese and location is interlagos
|
CREATE TABLE "grands_prix" (
"round" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
|
SELECT "winning_constructor" FROM "grands_prix" WHERE "fastest_lap"='Riccardo Patrese' AND "location"='Interlagos';
|
1-1137704-2
|
what are all the report where winning constructor is williams - renault and grand prix is south african grand prix
|
CREATE TABLE "grands_prix" (
"round" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
|
SELECT "report" FROM "grands_prix" WHERE "winning_constructor"='Williams - Renault' AND "grand_prix"='South African Grand Prix';
|
1-1137704-2
|
whatthe minimum round where grand prix is german grand prix
|
CREATE TABLE "grands_prix" (
"round" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
|
SELECT MIN("round") FROM "grands_prix" WHERE "grand_prix"='German Grand Prix';
|
1-1137704-2
|
what of the total number of date where grand prix is portuguese grand prix
|
CREATE TABLE "grands_prix" (
"round" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
|
SELECT COUNT("date") FROM "grands_prix" WHERE "grand_prix"='Portuguese Grand Prix';
|
1-1137704-2
|
What is the number of pole position with a round of 15?
|
CREATE TABLE "season_review" (
"round" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
|
SELECT COUNT("pole_position") FROM "season_review" WHERE "round"=15;
|
1-1137707-2
|
What is the date of the circuit gilles villeneuve?
|
CREATE TABLE "season_review" (
"round" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
|
SELECT "date" FROM "season_review" WHERE "location"='Circuit Gilles Villeneuve';
|
1-1137707-2
|
What is the location of thierry boutsen?
|
CREATE TABLE "season_review" (
"round" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
|
SELECT "location" FROM "season_review" WHERE "fastest_lap"='Thierry Boutsen';
|
1-1137707-2
|
Who had the pole position at the German Grand Prix?
|
CREATE TABLE "season_review" (
"rd" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT "pole_position" FROM "season_review" WHERE "grand_prix"='German Grand Prix';
|
1-1137718-2
|
Which rd. occurred on 22 October?
|
CREATE TABLE "season_review" (
"rd" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT MIN("rd") FROM "season_review" WHERE "date"='22 October';
|
1-1137718-2
|
Who was the winning driver on 13 August?
|
CREATE TABLE "season_review" (
"rd" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT "winning_driver" FROM "season_review" WHERE "date"='13 August';
|
1-1137718-2
|
What was the fastest lap at the Mexican Grand Prix?
|
CREATE TABLE "season_review" (
"rd" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT "fastest_lap" FROM "season_review" WHERE "grand_prix"='Mexican Grand Prix';
|
1-1137718-2
|
Which rd. took place at Hockenheimring?
|
CREATE TABLE "season_review" (
"rd" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT MIN("rd") FROM "season_review" WHERE "location"='Hockenheimring';
|
1-1137718-2
|
How many drivers had the fastest lap at Silverstone?
|
CREATE TABLE "season_review" (
"rd" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT COUNT("fastest_lap") FROM "season_review" WHERE "location"='Silverstone';
|
1-1137718-2
|
What is the percentage of Android use when Windows is 1.15%?
|
CREATE TABLE "table1_11381701_3" (
"source" text,
"date" text,
"method" text,
"i_os" text,
"android" text,
"black_berry" text,
"symbian_series_40" text,
"bada" text,
"windows" text,
"other" text
);
|
SELECT "android" FROM "table1_11381701_3" WHERE "windows"='1.15%';
|
1-11381701-3
|
On which dates was the value of Bada 0.05%?
|
CREATE TABLE "table1_11381701_3" (
"source" text,
"date" text,
"method" text,
"i_os" text,
"android" text,
"black_berry" text,
"symbian_series_40" text,
"bada" text,
"windows" text,
"other" text
);
|
SELECT "date" FROM "table1_11381701_3" WHERE "bada"='0.05%';
|
1-11381701-3
|
When the value of "other" is 0.7%, what is the percentage for Windows?
|
CREATE TABLE "table1_11381701_3" (
"source" text,
"date" text,
"method" text,
"i_os" text,
"android" text,
"black_berry" text,
"symbian_series_40" text,
"bada" text,
"windows" text,
"other" text
);
|
SELECT "windows" FROM "table1_11381701_3" WHERE "other"='0.7%';
|
1-11381701-3
|
When Symbian/Series 40 is 0.40%, what is the percentage of "other"?
|
CREATE TABLE "table1_11381701_3" (
"source" text,
"date" text,
"method" text,
"i_os" text,
"android" text,
"black_berry" text,
"symbian_series_40" text,
"bada" text,
"windows" text,
"other" text
);
|
SELECT "other" FROM "table1_11381701_3" WHERE "symbian_series_40"='0.40%';
|
1-11381701-3
|
Which source shows Blackberry at 2.9%?
|
CREATE TABLE "table1_11381701_3" (
"source" text,
"date" text,
"method" text,
"i_os" text,
"android" text,
"black_berry" text,
"symbian_series_40" text,
"bada" text,
"windows" text,
"other" text
);
|
SELECT "source" FROM "table1_11381701_3" WHERE "black_berry"='2.9%';
|
1-11381701-3
|
Which colleges have the english abbreviation MTC?
|
CREATE TABLE "administered_by_independent_administrati" (
"english_name" text,
"japanese_orthography" text,
"pronouciation" text,
"abbreviation" text,
"provider_iai" text,
"foundation" real
);
|
SELECT "english_name" FROM "administered_by_independent_administrati" WHERE "abbreviation"='MTC';
|
1-11390711-4
|
What is the Japanese orthography for the English name National Farmers Academy?
|
CREATE TABLE "administered_by_independent_administrati" (
"english_name" text,
"japanese_orthography" text,
"pronouciation" text,
"abbreviation" text,
"provider_iai" text,
"foundation" real
);
|
SELECT "japanese_orthography" FROM "administered_by_independent_administrati" WHERE "english_name"='National Farmers Academy';
|
1-11390711-4
|
What is the abbreviation for the college pronounced "kōkū daigakkō"?
|
CREATE TABLE "administered_by_independent_administrati" (
"english_name" text,
"japanese_orthography" text,
"pronouciation" text,
"abbreviation" text,
"provider_iai" text,
"foundation" real
);
|
SELECT "abbreviation" FROM "administered_by_independent_administrati" WHERE "pronouciation"='Kōkū Daigakkō';
|
1-11390711-4
|
How many providers were founded in 1964?
|
CREATE TABLE "administered_by_independent_administrati" (
"english_name" text,
"japanese_orthography" text,
"pronouciation" text,
"abbreviation" text,
"provider_iai" text,
"foundation" real
);
|
SELECT COUNT("provider_iai") FROM "administered_by_independent_administrati" WHERE "foundation"=1964;
|
1-11390711-4
|
What is the Japanese orthography for National Fisheries University?
|
CREATE TABLE "administered_by_independent_administrati" (
"english_name" text,
"japanese_orthography" text,
"pronouciation" text,
"abbreviation" text,
"provider_iai" text,
"foundation" real
);
|
SELECT "japanese_orthography" FROM "administered_by_independent_administrati" WHERE "english_name"='National Fisheries University';
|
1-11390711-4
|
What is the minimum number for the half marathon (womens)?
|
CREATE TABLE "winners_by_country" (
"country" text,
"total" real,
"marathon_mens" real,
"marathon_womens" real,
"half_marathon_mens" real,
"half_marathon_womens" real
);
|
SELECT MIN("half_marathon_womens") FROM "winners_by_country";
|
1-11391954-3
|
Whatis the total number of half marathon (mens) that represented kazakhstan?
|
CREATE TABLE "winners_by_country" (
"country" text,
"total" real,
"marathon_mens" real,
"marathon_womens" real,
"half_marathon_mens" real,
"half_marathon_womens" real
);
|
SELECT COUNT("half_marathon_mens") FROM "winners_by_country" WHERE "country"='Kazakhstan';
|
1-11391954-3
|
What is amount of countries where half marathon (women) is larger than 1.0?
|
CREATE TABLE "winners_by_country" (
"country" text,
"total" real,
"marathon_mens" real,
"marathon_womens" real,
"half_marathon_mens" real,
"half_marathon_womens" real
);
|
SELECT COUNT("country") FROM "winners_by_country" WHERE "half_marathon_womens">1.0;
|
1-11391954-3
|
How many times is Moldova the winner of half marathon (womens)?
|
CREATE TABLE "winners_by_country" (
"country" text,
"total" real,
"marathon_mens" real,
"marathon_womens" real,
"half_marathon_mens" real,
"half_marathon_womens" real
);
|
SELECT COUNT("half_marathon_womens") FROM "winners_by_country" WHERE "country"='Moldova';
|
1-11391954-3
|
Which country has half marathon (womens) that is larger than 1.0?
|
CREATE TABLE "winners_by_country" (
"country" text,
"total" real,
"marathon_mens" real,
"marathon_womens" real,
"half_marathon_mens" real,
"half_marathon_womens" real
);
|
SELECT "country" FROM "winners_by_country" WHERE "half_marathon_womens">1.0;
|
1-11391954-3
|
What is the make of the car that won the brazilian grand prix?
|
CREATE TABLE "season_review" (
"rd" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT "constructor" FROM "season_review" WHERE "grand_prix"='Brazilian Grand Prix';
|
1-1139087-2
|
Who drove the fastest lap for round 8?
|
CREATE TABLE "season_review" (
"rd" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT "fastest_lap" FROM "season_review" WHERE "rd"=8;
|
1-1139087-2
|
What day was the grand prix in jerez?
|
CREATE TABLE "season_review" (
"rd" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT "date" FROM "season_review" WHERE "location"='Jerez';
|
1-1139087-2
|
What event was in detroit?
|
CREATE TABLE "season_review" (
"rd" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT "grand_prix" FROM "season_review" WHERE "location"='Detroit';
|
1-1139087-2
|
How many events did nigel mansell drive the fastest and a mclaren - honda win?
|
CREATE TABLE "season_review" (
"rd" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT COUNT("grand_prix") FROM "season_review" WHERE "constructor"='McLaren - Honda' AND "fastest_lap"='Nigel Mansell';
|
1-1139087-2
|
What day is the french grand prix
|
CREATE TABLE "season_review" (
"rd" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
);
|
SELECT "date" FROM "season_review" WHERE "grand_prix"='French Grand Prix';
|
1-1139087-2
|
who is the winners where season result is 7th
|
CREATE TABLE "night_series_winners_1977_1987" (
"year" real,
"winners" text,
"grand_finalist" text,
"scores" text,
"venue" text,
"crowd" real,
"margin" real,
"season_result" text
);
|
SELECT "winners" FROM "night_series_winners_1977_1987" WHERE "season_result"='7th';
|
1-1139835-3
|
who is the winners where season result is 9th
|
CREATE TABLE "night_series_winners_1977_1987" (
"year" real,
"winners" text,
"grand_finalist" text,
"scores" text,
"venue" text,
"crowd" real,
"margin" real,
"season_result" text
);
|
SELECT "winners" FROM "night_series_winners_1977_1987" WHERE "season_result"='9th';
|
1-1139835-3
|
what's the grand finalist where winners is collingwood
|
CREATE TABLE "night_series_winners_1977_1987" (
"year" real,
"winners" text,
"grand_finalist" text,
"scores" text,
"venue" text,
"crowd" real,
"margin" real,
"season_result" text
);
|
SELECT "grand_finalist" FROM "night_series_winners_1977_1987" WHERE "winners"='Collingwood';
|
1-1139835-3
|
who is the season result where margin is 51
|
CREATE TABLE "night_series_winners_1977_1987" (
"year" real,
"winners" text,
"grand_finalist" text,
"scores" text,
"venue" text,
"crowd" real,
"margin" real,
"season_result" text
);
|
SELECT "season_result" FROM "night_series_winners_1977_1987" WHERE "margin"=51;
|
1-1139835-3
|
who is the grand finalist where scores is 11.11 (77) – 10.8 (68)
|
CREATE TABLE "night_series_winners_1977_1987" (
"year" real,
"winners" text,
"grand_finalist" text,
"scores" text,
"venue" text,
"crowd" real,
"margin" real,
"season_result" text
);
|
SELECT "grand_finalist" FROM "night_series_winners_1977_1987" WHERE "scores"='11.11 (77) – 10.8 (68)';
|
1-1139835-3
|
who is the grand finalist where scores is 8.9 (57) – 7.12 (54)
|
CREATE TABLE "night_series_winners_1977_1987" (
"year" real,
"winners" text,
"grand_finalist" text,
"scores" text,
"venue" text,
"crowd" real,
"margin" real,
"season_result" text
);
|
SELECT "grand_finalist" FROM "night_series_winners_1977_1987" WHERE "scores"='8.9 (57) – 7.12 (54)';
|
1-1139835-3
|
what was the crowd when the scores are 10.12 (72) – 8.11 (59)?
|
CREATE TABLE "consolation_night_series_lake_oval_winne" (
"year" real,
"winners" text,
"grand_finalist" text,
"scores" text,
"venue" text,
"crowd" real,
"margin" real,
"season_result" text
);
|
SELECT MAX("crowd") FROM "consolation_night_series_lake_oval_winne" WHERE "scores"='10.12 (72) – 8.11 (59)';
|
1-1139835-1
|
what is the venue where the scores are 15.13 (103) – 8.4 (52)?
|
CREATE TABLE "consolation_night_series_lake_oval_winne" (
"year" real,
"winners" text,
"grand_finalist" text,
"scores" text,
"venue" text,
"crowd" real,
"margin" real,
"season_result" text
);
|
SELECT "venue" FROM "consolation_night_series_lake_oval_winne" WHERE "scores"='15.13 (103) – 8.4 (52)';
|
1-1139835-1
|
what is the venue where the margin is 4?
|
CREATE TABLE "consolation_night_series_lake_oval_winne" (
"year" real,
"winners" text,
"grand_finalist" text,
"scores" text,
"venue" text,
"crowd" real,
"margin" real,
"season_result" text
);
|
SELECT "venue" FROM "consolation_night_series_lake_oval_winne" WHERE "margin"=4;
|
1-1139835-1
|
what is the crowd when the grand finalist was south melbourne?
|
CREATE TABLE "consolation_night_series_lake_oval_winne" (
"year" real,
"winners" text,
"grand_finalist" text,
"scores" text,
"venue" text,
"crowd" real,
"margin" real,
"season_result" text
);
|
SELECT "crowd" FROM "consolation_night_series_lake_oval_winne" WHERE "grand_finalist"='South Melbourne';
|
1-1139835-1
|
What was the date for monaco grand prix?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "date" FROM "season_review" WHERE "race"='Monaco Grand Prix';
|
1-1140067-2
|
What was the date for the pole position of alain prost?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "date" FROM "season_review" WHERE "pole_position"='Alain Prost';
|
1-1140067-2
|
What is the race winer of the portuguese grand prix?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "race_winner" FROM "season_review" WHERE "race"='Portuguese Grand Prix';
|
1-1140067-2
|
what's the race winner with date being 12 june
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "race_winner" FROM "season_review" WHERE "date"='12 June';
|
1-1140074-2
|
what's the constructor with location being hockenheimring
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "constructor" FROM "season_review" WHERE "location"='Hockenheimring';
|
1-1140074-2
|
what's the race winner with location being jacarepaguá
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "race_winner" FROM "season_review" WHERE "location"='Jacarepaguá';
|
1-1140074-2
|
what's the total number of race winner with rnd being 10
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT COUNT("race_winner") FROM "season_review" WHERE "rnd"=10;
|
1-1140074-2
|
what's the pole position with location being hockenheimring
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "pole_position" FROM "season_review" WHERE "location"='Hockenheimring';
|
1-1140074-2
|
what's the report with rnd being 4
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "report" FROM "season_review" WHERE "rnd"=4;
|
1-1140074-2
|
What venue has an attendance of 30824 at Essendon in 1984?
|
CREATE TABLE "double_premiership_teams" (
"season" real,
"premier" text,
"runner_up" text,
"score" text,
"venue" text,
"attendance" real,
"premiership" text
);
|
SELECT "venue" FROM "double_premiership_teams" WHERE "premier"='Essendon' AND "attendance"=30824;
|
1-1139835-9
|
What other venue was a runner up to Hawthorn?
|
CREATE TABLE "double_premiership_teams" (
"season" real,
"premier" text,
"runner_up" text,
"score" text,
"venue" text,
"attendance" real,
"premiership" text
);
|
SELECT "venue" FROM "double_premiership_teams" WHERE "runner_up"='Hawthorn';
|
1-1139835-9
|
What is the other premiership when the runner up wis Geelong?
|
CREATE TABLE "double_premiership_teams" (
"season" real,
"premier" text,
"runner_up" text,
"score" text,
"venue" text,
"attendance" real,
"premiership" text
);
|
SELECT "premiership" FROM "double_premiership_teams" WHERE "runner_up"='Geelong';
|
1-1139835-9
|
Who are all the runner ups when the score is 9.12 (66) – 5.6 (36)?
|
CREATE TABLE "double_premiership_teams" (
"season" real,
"premier" text,
"runner_up" text,
"score" text,
"venue" text,
"attendance" real,
"premiership" text
);
|
SELECT "runner_up" FROM "double_premiership_teams" WHERE "score"='9.12 (66) – 5.6 (36)';
|
1-1139835-9
|
Who had the fastest lap in the race where Patrick Tambay was on the pole?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "fastest_lap" FROM "season_review" WHERE "pole_position"='Patrick Tambay';
|
1-1140073-2
|
What race had Nelson Piquet on the pole and was in Nürburgring?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "race" FROM "season_review" WHERE "pole_position"='Nelson Piquet' AND "location"='Nürburgring';
|
1-1140073-2
|
How many rounds did Patrick Tambay record the fastest lap?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT COUNT("rnd") FROM "season_review" WHERE "fastest_lap"='Patrick Tambay';
|
1-1140073-2
|
Which race is located in kyalami?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "race" FROM "season_review" WHERE "location"='Kyalami';
|
1-1140073-2
|
What is the fastest lap with pole position of gilles villeneuve?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "fastest_lap" FROM "season_review" WHERE "pole_position"='Gilles Villeneuve';
|
1-1140077-2
|
Who did the fastest lap in the dutch grand prix?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "fastest_lap" FROM "season_review" WHERE "race"='Dutch Grand Prix';
|
1-1140077-2
|
Who did the fastest lap with the race winner john watson?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "fastest_lap" FROM "season_review" WHERE "race_winner"='John Watson';
|
1-1140077-2
|
What is the constructor for 9 May?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "constructor" FROM "season_review" WHERE "date"='9 May';
|
1-1140076-2
|
What is the pole position for the race with the fastest lap by Nelson Piquet and the constructor is Ferrari?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "pole_position" FROM "season_review" WHERE "fastest_lap"='Nelson Piquet' AND "constructor"='Ferrari';
|
1-1140076-2
|
What is the report listed for the race in San Marino Grand Prix?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "report" FROM "season_review" WHERE "race"='San Marino Grand Prix';
|
1-1140076-2
|
Who was the constructor in the location Monza?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "constructor" FROM "season_review" WHERE "location"='Monza';
|
1-1140076-2
|
How many races had the pole position Alain Prost and the race winner Keke Rosberg?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT COUNT("race") FROM "season_review" WHERE "pole_position"='Alain Prost' AND "race_winner"='Keke Rosberg';
|
1-1140076-2
|
what's the report with location österreichring
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "report" FROM "season_review" WHERE "location"='Österreichring';
|
1-1140080-2
|
what's the report with race argentine grand prix
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "report" FROM "season_review" WHERE "race"='Argentine Grand Prix';
|
1-1140080-2
|
what's the minimum rnd with race italian grand prix
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT MIN("rnd") FROM "season_review" WHERE "race"='Italian Grand Prix';
|
1-1140080-2
|
what's the total number of report with date 29 april
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT COUNT("report") FROM "season_review" WHERE "date"='29 April';
|
1-1140080-2
|
what's the race winner with constructor renault
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "race_winner" FROM "season_review" WHERE "constructor"='Renault';
|
1-1140080-2
|
what's the date with rnd 1
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT "date" FROM "season_review" WHERE "rnd"=1;
|
1-1140080-2
|
How many days is the Monaco Grand Prix?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT COUNT("date") FROM "season_review" WHERE "race"='Monaco Grand Prix';
|
1-1140083-2
|
How many rounds were won with James Hunt as pole position and John Watson as fastest lap?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT COUNT("rnd") FROM "season_review" WHERE "pole_position"='James Hunt' AND "fastest_lap"='John Watson';
|
1-1140083-2
|
The Dijon-prenois had how many fastest laps?
|
CREATE TABLE "season_review" (
"rnd" real,
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
);
|
SELECT COUNT("fastest_lap") FROM "season_review" WHERE "location"='Dijon-Prenois';
|
1-1140083-2
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.