question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
who is the the mens singles with mens doubles being kaj lindfors kaj osterberg
|
CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
|
SELECT "mens_singles" FROM "past_winners" WHERE "mens_doubles"='Kaj Lindfors Kaj Osterberg';
|
1-13857700-1
|
How big (in sq mi) is the island that's 4065 km2?
|
CREATE TABLE "islands_over_square_miles_km" (
"rank" real,
"islands_name" text,
"area_sqmi" real,
"area_km_2" real,
"location" text,
"population_2000" text
);
|
SELECT "area_sqmi" FROM "islands_over_square_miles_km" WHERE "area_km_2"=4065;
|
1-13897690-1
|
What is the smallest rank number of those used to rank the islands?
|
CREATE TABLE "islands_over_square_miles_km" (
"rank" real,
"islands_name" text,
"area_sqmi" real,
"area_km_2" real,
"location" text,
"population_2000" text
);
|
SELECT MIN("rank") FROM "islands_over_square_miles_km";
|
1-13897690-1
|
What's the name is the island with a population of just 64?
|
CREATE TABLE "islands_over_square_miles_km" (
"rank" real,
"islands_name" text,
"area_sqmi" real,
"area_km_2" real,
"location" text,
"population_2000" text
);
|
SELECT "islands_name" FROM "islands_over_square_miles_km" WHERE "population_2000"='64';
|
1-13897690-1
|
what's the tries against with try bonus being 10
|
CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "tries_against" FROM "2007_2008_table" WHERE "try_bonus"='10';
|
1-13940275-5
|
what's the points with played being 22 and points against being 319
|
CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points" FROM "2007_2008_table" WHERE "played"='22' AND "points_against"='319';
|
1-13940275-5
|
what's the losing bonus with played being 22 and tries against being 38
|
CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "losing_bonus" FROM "2007_2008_table" WHERE "played"='22' AND "tries_against"='38';
|
1-13940275-5
|
what's the try bonus with club being abercwmboi rfc
|
CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "try_bonus" FROM "2007_2008_table" WHERE "club"='Abercwmboi RFC';
|
1-13940275-5
|
what's the points for with points against being 556
|
CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points_for" FROM "2007_2008_table" WHERE "points_against"='556';
|
1-13940275-5
|
what's the won with points against being 304
|
CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "won" FROM "2007_2008_table" WHERE "points_against"='304';
|
1-13940275-5
|
Where was held the ceremony for the 12th Pride of Britain Awards?
|
CREATE TABLE "award_ceremonies" (
"episode" text,
"original_air_date" text,
"viewers_millions" text,
"presenter" text,
"location" text
);
|
SELECT "location" FROM "award_ceremonies" WHERE "episode"='12th Pride of Britain Awards';
|
1-13943239-1
|
What episode of the Pride of Britain Awards had an audience of 6.06 million viewers?
|
CREATE TABLE "award_ceremonies" (
"episode" text,
"original_air_date" text,
"viewers_millions" text,
"presenter" text,
"location" text
);
|
SELECT "episode" FROM "award_ceremonies" WHERE "viewers_millions"='6.06';
|
1-13943239-1
|
How much audience did the 7th Pride of Britain Awards ceremony have?
|
CREATE TABLE "award_ceremonies" (
"episode" text,
"original_air_date" text,
"viewers_millions" text,
"presenter" text,
"location" text
);
|
SELECT COUNT("viewers_millions") FROM "award_ceremonies" WHERE "episode"='7th Pride of Britain Awards';
|
1-13943239-1
|
what's the vineyard surface (2010) with grand cru being bienvenues-bâtard-montrachet
|
CREATE TABLE "list_of_grand_crus" (
"grand_cru" text,
"region" text,
"village" text,
"wine_style" text,
"vineyard_surface_2010" text
);
|
SELECT "vineyard_surface_2010" FROM "list_of_grand_crus" WHERE "grand_cru"='Bienvenues-Bâtard-Montrachet';
|
1-13981938-1
|
what's the village with wine style being red wine and vineyard surface (2010) being hectares (acres)
|
CREATE TABLE "list_of_grand_crus" (
"grand_cru" text,
"region" text,
"village" text,
"wine_style" text,
"vineyard_surface_2010" text
);
|
SELECT "village" FROM "list_of_grand_crus" WHERE "wine_style"='Red wine' AND "vineyard_surface_2010"='hectares (acres)';
|
1-13981938-1
|
what's the village with wine style being red wine and vineyard surface (2010) being hectares (acres)
|
CREATE TABLE "list_of_grand_crus" (
"grand_cru" text,
"region" text,
"village" text,
"wine_style" text,
"vineyard_surface_2010" text
);
|
SELECT "village" FROM "list_of_grand_crus" WHERE "wine_style"='Red wine' AND "vineyard_surface_2010"='hectares (acres)';
|
1-13981938-1
|
what's the wine style with grand cru being romanée-conti
|
CREATE TABLE "list_of_grand_crus" (
"grand_cru" text,
"region" text,
"village" text,
"wine_style" text,
"vineyard_surface_2010" text
);
|
SELECT "wine_style" FROM "list_of_grand_crus" WHERE "grand_cru"='Romanée-Conti';
|
1-13981938-1
|
what's the wine style with grand cru being romanée-conti
|
CREATE TABLE "list_of_grand_crus" (
"grand_cru" text,
"region" text,
"village" text,
"wine_style" text,
"vineyard_surface_2010" text
);
|
SELECT "wine_style" FROM "list_of_grand_crus" WHERE "grand_cru"='Romanée-Conti';
|
1-13981938-1
|
what's the wine style with village being puligny-montrachet [d ]
|
CREATE TABLE "list_of_grand_crus" (
"grand_cru" text,
"region" text,
"village" text,
"wine_style" text,
"vineyard_surface_2010" text
);
|
SELECT "wine_style" FROM "list_of_grand_crus" WHERE "village"='Puligny-Montrachet [d ]';
|
1-13981938-1
|
How many classes between senior and junior year for world history
|
CREATE TABLE "table1_13967239_2" (
"subject" text,
"freshman_grade_7" text,
"sophomore_grade_8" text,
"junior_3rd_year" text,
"senior_4th_year" text
);
|
SELECT COUNT("senior_4th_year") FROM "table1_13967239_2" WHERE "junior_3rd_year"='World History';
|
1-13967239-2
|
What is after intermediate algebra
|
CREATE TABLE "table1_13967239_2" (
"subject" text,
"freshman_grade_7" text,
"sophomore_grade_8" text,
"junior_3rd_year" text,
"senior_4th_year" text
);
|
SELECT "senior_4th_year" FROM "table1_13967239_2" WHERE "sophomore_grade_8"='Intermediate Algebra';
|
1-13967239-2
|
what is the maximum # with original airdate being march 14, 2001
|
CREATE TABLE "season_2" (
"num" real,
"episode_title" text,
"writer_s" text,
"director" text,
"prod_code" text,
"original_airdate" text
);
|
SELECT MAX("num") FROM "season_2" WHERE "original_airdate"='March 14, 2001';
|
1-13956521-2
|
how many original airdate with writer(s) being becky hartman edwards and director being adam nimoy
|
CREATE TABLE "season_2" (
"num" real,
"episode_title" text,
"writer_s" text,
"director" text,
"prod_code" text,
"original_airdate" text
);
|
SELECT COUNT("original_airdate") FROM "season_2" WHERE "writer_s"='Becky Hartman Edwards' AND "director"='Adam Nimoy';
|
1-13956521-2
|
who is the the writer(s) with original airdate being february 7, 2001
|
CREATE TABLE "season_2" (
"num" real,
"episode_title" text,
"writer_s" text,
"director" text,
"prod_code" text,
"original_airdate" text
);
|
SELECT "writer_s" FROM "season_2" WHERE "original_airdate"='February 7, 2001';
|
1-13956521-2
|
what's the frequency mhz with city of license being chattanooga, tennessee
|
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"height_m_ft" text,
"fcc_info" text,
"notes" text
);
|
SELECT "frequency_m_hz" FROM "translators" WHERE "city_of_license"='Chattanooga, Tennessee';
|
1-13998897-1
|
how many height m ( ft ) with frequency mhz being 100.1
|
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"height_m_ft" text,
"fcc_info" text,
"notes" text
);
|
SELECT COUNT("height_m_ft") FROM "translators" WHERE "frequency_m_hz"='100.1';
|
1-13998897-1
|
what's the fcc info with call sign being w221aw
|
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"height_m_ft" text,
"fcc_info" text,
"notes" text
);
|
SELECT "fcc_info" FROM "translators" WHERE "call_sign"='W221AW';
|
1-13998897-1
|
how many height m ( ft ) with notes being via wccv; formerly w236aj
|
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"height_m_ft" text,
"fcc_info" text,
"notes" text
);
|
SELECT COUNT("height_m_ft") FROM "translators" WHERE "notes"='via WCCV; formerly W236AJ';
|
1-13998897-1
|
what's the fcc info with call sign being w265av
|
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"height_m_ft" text,
"fcc_info" text,
"notes" text
);
|
SELECT "fcc_info" FROM "translators" WHERE "call_sign"='W265AV';
|
1-13998897-1
|
what's the capacity with team being berwick rangers
|
CREATE TABLE "stadia_and_attendances" (
"team" text,
"stadium" text,
"capacity" real,
"highest" real,
"lowest" real,
"average" real
);
|
SELECT "capacity" FROM "stadia_and_attendances" WHERE "team"='Berwick Rangers';
|
1-14003108-1
|
what's the team with stadium being borough briggs
|
CREATE TABLE "stadia_and_attendances" (
"team" text,
"stadium" text,
"capacity" real,
"highest" real,
"lowest" real,
"average" real
);
|
SELECT "team" FROM "stadia_and_attendances" WHERE "stadium"='Borough Briggs';
|
1-14003108-1
|
what is the maximum lowest with average being 734
|
CREATE TABLE "stadia_and_attendances" (
"team" text,
"stadium" text,
"capacity" real,
"highest" real,
"lowest" real,
"average" real
);
|
SELECT MAX("lowest") FROM "stadia_and_attendances" WHERE "average"=734;
|
1-14003108-1
|
how many highest with team being forfar athletic
|
CREATE TABLE "stadia_and_attendances" (
"team" text,
"stadium" text,
"capacity" real,
"highest" real,
"lowest" real,
"average" real
);
|
SELECT COUNT("highest") FROM "stadia_and_attendances" WHERE "team"='Forfar Athletic';
|
1-14003108-1
|
what's the bleeding time with condition being factor v deficiency
|
CREATE TABLE "laboratory_findings_in_various_platelet_" (
"condition" text,
"prothrombin_time" text,
"partial_thromboplastin_time" text,
"bleeding_time" text,
"platelet_count" text
);
|
SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='Factor V deficiency';
|
1-14006-1
|
what's the bleeding time with condition being liver failure, end-stage
|
CREATE TABLE "laboratory_findings_in_various_platelet_" (
"condition" text,
"prothrombin_time" text,
"partial_thromboplastin_time" text,
"bleeding_time" text,
"platelet_count" text
);
|
SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='Liver failure, end-stage';
|
1-14006-1
|
what's the bleeding time with platelet count being decreased or unaffected
|
CREATE TABLE "laboratory_findings_in_various_platelet_" (
"condition" text,
"prothrombin_time" text,
"partial_thromboplastin_time" text,
"bleeding_time" text,
"platelet_count" text
);
|
SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "platelet_count"='Decreased or unaffected';
|
1-14006-1
|
what's the condition with bleeding time being unaffected and prothrombin time being prolonged
|
CREATE TABLE "laboratory_findings_in_various_platelet_" (
"condition" text,
"prothrombin_time" text,
"partial_thromboplastin_time" text,
"bleeding_time" text,
"platelet_count" text
);
|
SELECT "condition" FROM "laboratory_findings_in_various_platelet_" WHERE "bleeding_time"='Unaffected' AND "prothrombin_time"='Prolonged';
|
1-14006-1
|
what's the bleeding time with platelet count being decreased and prothrombin time being prolonged
|
CREATE TABLE "laboratory_findings_in_various_platelet_" (
"condition" text,
"prothrombin_time" text,
"partial_thromboplastin_time" text,
"bleeding_time" text,
"platelet_count" text
);
|
SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "platelet_count"='Decreased' AND "prothrombin_time"='Prolonged';
|
1-14006-1
|
what's the bleeding time with partial thromboplastin time being unaffected and condition being liver failure , early
|
CREATE TABLE "laboratory_findings_in_various_platelet_" (
"condition" text,
"prothrombin_time" text,
"partial_thromboplastin_time" text,
"bleeding_time" text,
"platelet_count" text
);
|
SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "partial_thromboplastin_time"='Unaffected' AND "condition"='Liver failure , early';
|
1-14006-1
|
How many of the elected officials are on the Economic Matters committee?
|
CREATE TABLE "current_members_of_the_howard_county_del" (
"district" text,
"counties_represented" text,
"delegate" text,
"party" text,
"first_elected" real,
"committee" text
);
|
SELECT COUNT("first_elected") FROM "current_members_of_the_howard_county_del" WHERE "committee"='Economic Matters';
|
1-14009909-1
|
Name the delegate first elected in 2003?
|
CREATE TABLE "current_members_of_the_howard_county_del" (
"district" text,
"counties_represented" text,
"delegate" text,
"party" text,
"first_elected" real,
"committee" text
);
|
SELECT "delegate" FROM "current_members_of_the_howard_county_del" WHERE "first_elected"=2003;
|
1-14009909-1
|
What are the counties represented in District 12.1 12a?
|
CREATE TABLE "current_members_of_the_howard_county_del" (
"district" text,
"counties_represented" text,
"delegate" text,
"party" text,
"first_elected" real,
"committee" text
);
|
SELECT "counties_represented" FROM "current_members_of_the_howard_county_del" WHERE "district"='12.1 12A';
|
1-14009909-1
|
Which country has a delegate who was first elected in 2006?
|
CREATE TABLE "current_members_of_the_howard_county_del" (
"district" text,
"counties_represented" text,
"delegate" text,
"party" text,
"first_elected" real,
"committee" text
);
|
SELECT "counties_represented" FROM "current_members_of_the_howard_county_del" WHERE "first_elected"=2006;
|
1-14009909-1
|
Who are the foreign players representing Ekaterinburg?
|
CREATE TABLE "teams" (
"previous_season" text,
"team" text,
"town" text,
"arena_capacity" text,
"website" text,
"head_coach" text,
"foreign_players_max_2" text
);
|
SELECT "foreign_players_max_2" FROM "teams" WHERE "town"='Ekaterinburg';
|
1-14015965-1
|
What town is Volleyball Sportiv Complex (3 500) located in?
|
CREATE TABLE "teams" (
"previous_season" text,
"team" text,
"town" text,
"arena_capacity" text,
"website" text,
"head_coach" text,
"foreign_players_max_2" text
);
|
SELECT "town" FROM "teams" WHERE "arena_capacity"='Volleyball Sportiv Complex (3 500)';
|
1-14015965-1
|
What arena was season 6 played at?
|
CREATE TABLE "teams" (
"previous_season" text,
"team" text,
"town" text,
"arena_capacity" text,
"website" text,
"head_coach" text,
"foreign_players_max_2" text
);
|
SELECT "arena_capacity" FROM "teams" WHERE "previous_season"='6';
|
1-14015965-1
|
Who was the head coach in season 2?
|
CREATE TABLE "teams" (
"previous_season" text,
"team" text,
"town" text,
"arena_capacity" text,
"website" text,
"head_coach" text,
"foreign_players_max_2" text
);
|
SELECT "head_coach" FROM "teams" WHERE "previous_season"='2';
|
1-14015965-1
|
On what circuit was the City of Ipswich 400 race held?
|
CREATE TABLE "race_calendar" (
"rd" real,
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text,
"report" text
);
|
SELECT "circuit" FROM "race_calendar" WHERE "race_title"='City of Ipswich 400';
|
1-14016079-1
|
Who was the winner on the Symmons Plains Raceway?
|
CREATE TABLE "race_calendar" (
"rd" real,
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text,
"report" text
);
|
SELECT "winner" FROM "race_calendar" WHERE "circuit"='Symmons Plains Raceway';
|
1-14016079-1
|
What were the dates for Round 8?
|
CREATE TABLE "race_calendar" (
"rd" real,
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text,
"report" text
);
|
SELECT "date" FROM "race_calendar" WHERE "rd"=8;
|
1-14016079-1
|
What was the number of rounds on the Hidden Valley Raceway?
|
CREATE TABLE "race_calendar" (
"rd" real,
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text,
"report" text
);
|
SELECT COUNT("rd") FROM "race_calendar" WHERE "circuit"='Hidden Valley Raceway';
|
1-14016079-1
|
What round was held at the Queensland Raceway?
|
CREATE TABLE "race_calendar" (
"rd" real,
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text,
"report" text
);
|
SELECT "rd" FROM "race_calendar" WHERE "circuit"='Queensland Raceway';
|
1-14016079-1
|
what the highest number for the opposite of offense for the green bay packers
|
CREATE TABLE "nfl_defensive_players_of_the_year" (
"year" real,
"player_name" text,
"nfl_team" text,
"position" text,
"team_defense_rank" real,
"team_performance" text
);
|
SELECT MAX("team_defense_rank") FROM "nfl_defensive_players_of_the_year" WHERE "nfl_team"='Green Bay Packers';
|
1-1402270-1
|
How many counties have an area of 1,205.4 km2?
|
CREATE TABLE "table1_1404414_2" (
"code" real,
"county" text,
"former_province" text,
"area_km_2" text,
"population_census_2009" real,
"capital" text
);
|
SELECT COUNT("code") FROM "table1_1404414_2" WHERE "area_km_2"='1,205.4';
|
1-1404414-2
|
What capital has a population of 596268?
|
CREATE TABLE "table1_1404414_2" (
"code" real,
"county" text,
"former_province" text,
"area_km_2" text,
"population_census_2009" real,
"capital" text
);
|
SELECT "capital" FROM "table1_1404414_2" WHERE "population_census_2009"=596268;
|
1-1404414-2
|
what's the capital with area (km 2 ) being 12,245.9
|
CREATE TABLE "table1_1404456_1" (
"code" real,
"county" text,
"former_province" text,
"area_km_2" text,
"population_census_2009" real,
"capital" text
);
|
SELECT "capital" FROM "table1_1404456_1" WHERE "area_km_2"='12,245.9';
|
1-1404456-1
|
what's the former province with area (km 2 ) being 12,245.9
|
CREATE TABLE "table1_1404456_1" (
"code" real,
"county" text,
"former_province" text,
"area_km_2" text,
"population_census_2009" real,
"capital" text
);
|
SELECT "former_province" FROM "table1_1404456_1" WHERE "area_km_2"='12,245.9';
|
1-1404456-1
|
how many capital with population census 2009 being 284657
|
CREATE TABLE "table1_1404456_1" (
"code" real,
"county" text,
"former_province" text,
"area_km_2" text,
"population_census_2009" real,
"capital" text
);
|
SELECT COUNT("capital") FROM "table1_1404456_1" WHERE "population_census_2009"=284657;
|
1-1404456-1
|
what's the area (km 2 ) with population census 2009 being 939370
|
CREATE TABLE "table1_1404456_1" (
"code" real,
"county" text,
"former_province" text,
"area_km_2" text,
"population_census_2009" real,
"capital" text
);
|
SELECT "area_km_2" FROM "table1_1404456_1" WHERE "population_census_2009"=939370;
|
1-1404456-1
|
what is the minimum code with area (km 2 ) being 12,245.9
|
CREATE TABLE "table1_1404456_1" (
"code" real,
"county" text,
"former_province" text,
"area_km_2" text,
"population_census_2009" real,
"capital" text
);
|
SELECT MIN("code") FROM "table1_1404456_1" WHERE "area_km_2"='12,245.9';
|
1-1404456-1
|
what's the county with code being 2
|
CREATE TABLE "table1_1404456_1" (
"code" real,
"county" text,
"former_province" text,
"area_km_2" text,
"population_census_2009" real,
"capital" text
);
|
SELECT "county" FROM "table1_1404456_1" WHERE "code"=2;
|
1-1404456-1
|
In what year did Tom Sneva win a race?
|
CREATE TABLE "table1_1405704_1" (
"season" real,
"race_name" text,
"winning_driver" text,
"chassis" text,
"engine" text,
"tires" text,
"team" text
);
|
SELECT "season" FROM "table1_1405704_1" WHERE "winning_driver"='Tom Sneva';
|
1-1405704-1
|
What kind of chassis did a winning car with a Foyt engine have in 1979?
|
CREATE TABLE "table1_1405704_1" (
"season" real,
"race_name" text,
"winning_driver" text,
"chassis" text,
"engine" text,
"tires" text,
"team" text
);
|
SELECT "chassis" FROM "table1_1405704_1" WHERE "season"=1979 AND "engine"='Foyt';
|
1-1405704-1
|
What team does Al Unser drive for?
|
CREATE TABLE "table1_1405704_1" (
"season" real,
"race_name" text,
"winning_driver" text,
"chassis" text,
"engine" text,
"tires" text,
"team" text
);
|
SELECT "team" FROM "table1_1405704_1" WHERE "winning_driver"='Al Unser';
|
1-1405704-1
|
What team has a vehicle with an Offenhauser engine and a McLaren chassis?
|
CREATE TABLE "table1_1405704_1" (
"season" real,
"race_name" text,
"winning_driver" text,
"chassis" text,
"engine" text,
"tires" text,
"team" text
);
|
SELECT "team" FROM "table1_1405704_1" WHERE "chassis"='McLaren' AND "engine"='Offenhauser';
|
1-1405704-1
|
What team raced with a Foyt engine in the Texas Grand Prix?
|
CREATE TABLE "table1_1405704_1" (
"season" real,
"race_name" text,
"winning_driver" text,
"chassis" text,
"engine" text,
"tires" text,
"team" text
);
|
SELECT "team" FROM "table1_1405704_1" WHERE "race_name"='Texas Grand Prix' AND "engine"='Foyt';
|
1-1405704-1
|
What network is virtual channel 9.1 linked to?
|
CREATE TABLE "broadcast" (
"call_sign" text,
"analog_channel" text,
"digital_channel" text,
"virtual_channel" text,
"network" text,
"station_ownership" text
);
|
SELECT "network" FROM "broadcast" WHERE "virtual_channel"='9.1';
|
1-1404984-1
|
Who owns the station on channel 33.3?
|
CREATE TABLE "broadcast" (
"call_sign" text,
"analog_channel" text,
"digital_channel" text,
"virtual_channel" text,
"network" text,
"station_ownership" text
);
|
SELECT "station_ownership" FROM "broadcast" WHERE "virtual_channel"='33.3';
|
1-1404984-1
|
What is JCTV's digital channel?
|
CREATE TABLE "broadcast" (
"call_sign" text,
"analog_channel" text,
"digital_channel" text,
"virtual_channel" text,
"network" text,
"station_ownership" text
);
|
SELECT "digital_channel" FROM "broadcast" WHERE "network"='JCTV';
|
1-1404984-1
|
What is channel 33.7's official call sign?
|
CREATE TABLE "broadcast" (
"call_sign" text,
"analog_channel" text,
"digital_channel" text,
"virtual_channel" text,
"network" text,
"station_ownership" text
);
|
SELECT "call_sign" FROM "broadcast" WHERE "virtual_channel"='33.7';
|
1-1404984-1
|
What is HSN's official virtual channel in Minneapolis-St. Paul?
|
CREATE TABLE "broadcast" (
"call_sign" text,
"analog_channel" text,
"digital_channel" text,
"virtual_channel" text,
"network" text,
"station_ownership" text
);
|
SELECT "virtual_channel" FROM "broadcast" WHERE "network"='HSN';
|
1-1404984-1
|
How many stations own Bounce TV?
|
CREATE TABLE "broadcast" (
"call_sign" text,
"analog_channel" text,
"digital_channel" text,
"virtual_channel" text,
"network" text,
"station_ownership" text
);
|
SELECT COUNT("station_ownership") FROM "broadcast" WHERE "network"='Bounce TV';
|
1-1404984-1
|
How many points were made when the tries for was 83?
|
CREATE TABLE "2009_2010_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points" FROM "2009_2010_table" WHERE "tries_for"='83';
|
1-14058433-3
|
How many points are there when the lost is 7?
|
CREATE TABLE "2009_2010_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points_for" FROM "2009_2010_table" WHERE "lost"='7';
|
1-14058433-3
|
What is the losing bonus when the points are 24?
|
CREATE TABLE "2009_2010_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "losing_bonus" FROM "2009_2010_table" WHERE "points"='24';
|
1-14058433-3
|
How many losing points does Llandudno RFC have?
|
CREATE TABLE "2009_2010_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "losing_bonus" FROM "2009_2010_table" WHERE "club"='Llandudno RFC';
|
1-14058433-3
|
What is the try bonus for Ruthin RFC?
|
CREATE TABLE "2009_2010_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "try_bonus" FROM "2009_2010_table" WHERE "club"='Ruthin RFC';
|
1-14058433-3
|
how many tries against with lost being 11
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT COUNT("tries_against") FROM "2008_2009_table" WHERE "lost"='11';
|
1-14058433-4
|
what's the won with try bonus being 12
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "won" FROM "2008_2009_table" WHERE "try_bonus"='12';
|
1-14058433-4
|
what's the drawn with lost being 4
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "drawn" FROM "2008_2009_table" WHERE "lost"='4';
|
1-14058433-4
|
what's the points against with lost being 13
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points_against" FROM "2008_2009_table" WHERE "lost"='13';
|
1-14058433-4
|
what's the points against with won being 11
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points_against" FROM "2008_2009_table" WHERE "won"='11';
|
1-14058433-4
|
what's the drawn with points for being 350
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "drawn" FROM "2008_2009_table" WHERE "points_for"='350';
|
1-14058433-4
|
how many points for with points against being 177
|
CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT COUNT("points_for") FROM "2007_2008_table" WHERE "points_against"='177';
|
1-14058433-5
|
what's the lost with club being colwyn bay rfc
|
CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "lost" FROM "2007_2008_table" WHERE "club"='Colwyn Bay RFC';
|
1-14058433-5
|
what's the won with tries for being 84
|
CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "won" FROM "2007_2008_table" WHERE "tries_for"='84';
|
1-14058433-5
|
what's the won with points for being 596
|
CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "won" FROM "2007_2008_table" WHERE "points_for"='596';
|
1-14058433-5
|
what's the points for with lost being 4
|
CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points_for" FROM "2007_2008_table" WHERE "lost"='4';
|
1-14058433-5
|
what's the won with points for being 643
|
CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "won" FROM "2007_2008_table" WHERE "points_for"='643';
|
1-14058433-5
|
What is the Telugu word for хонгорцог in Mongolian?
|
CREATE TABLE "names_in_modern_languages" (
"num" real,
"sanskrit" text,
"tamil" text,
"telugu" text,
"kannada" text,
"malayalam" text,
"mongolian" text
);
|
SELECT "telugu" FROM "names_in_modern_languages" WHERE "mongolian"='Хонгорцог';
|
1-1408397-3
|
What is the Malayalam word for punarvasu ಪುನರ್ವಸು in Kannada?
|
CREATE TABLE "names_in_modern_languages" (
"num" real,
"sanskrit" text,
"tamil" text,
"telugu" text,
"kannada" text,
"malayalam" text,
"mongolian" text
);
|
SELECT "malayalam" FROM "names_in_modern_languages" WHERE "kannada"='Punarvasu ಪುನರ್ವಸು';
|
1-1408397-3
|
What is the Malayalam word that is listed as #10 in the table?
|
CREATE TABLE "names_in_modern_languages" (
"num" real,
"sanskrit" text,
"tamil" text,
"telugu" text,
"kannada" text,
"malayalam" text,
"mongolian" text
);
|
SELECT "malayalam" FROM "names_in_modern_languages" WHERE "num"=10;
|
1-1408397-3
|
tell the score when the times gone was 75
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points_against" FROM "2008_2009_table" WHERE "tries_against"='75';
|
1-14070062-4
|
was the the score when the tries was 743
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points_against" FROM "2008_2009_table" WHERE "points_for"='743';
|
1-14070062-4
|
tell how many wins there was when the score was 490
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT COUNT("won") FROM "2008_2009_table" WHERE "points_for"='490';
|
1-14070062-4
|
how many extra points were there when the score was 48
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "try_bonus" FROM "2008_2009_table" WHERE "points"='48';
|
1-14070062-4
|
what was the extra score when the overall score was 52
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "losing_bonus" FROM "2008_2009_table" WHERE "tries_for"='52';
|
1-14070062-4
|
what was the score when the extras were 6
|
CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
);
|
SELECT "points" FROM "2008_2009_table" WHERE "try_bonus"='6';
|
1-14070062-4
|
What country's capital is buenos aires?
|
CREATE TABLE "table1_14098_1" (
"country_or_territory_with_flag" text,
"area_km_per_sqmi" text,
"population_july_2009_est" real,
"population_density_per_km" text,
"capital" text
);
|
SELECT "country_or_territory_with_flag" FROM "table1_14098_1" WHERE "capital"='Buenos Aires';
|
1-14098-1
|
What unit of measurement for uruguay?
|
CREATE TABLE "table1_14098_1" (
"country_or_territory_with_flag" text,
"area_km_per_sqmi" text,
"population_july_2009_est" real,
"population_density_per_km" text,
"capital" text
);
|
SELECT "area_km_per_sqmi" FROM "table1_14098_1" WHERE "country_or_territory_with_flag"='Uruguay';
|
1-14098-1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.