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