output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "date" FROM "championship_review" WHERE "circuit"='interlagos';
## Task Generate a SQL query to answer the following question: `Name the date for circuit of interlagos` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "championship_review" ( "race" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "tyre" text, "report" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the date for circuit of interlagos`: ```sql
SELECT "event" FROM "submission_grappling_record" WHERE "opponent"='vinny magalhรฃes';
## Task Generate a SQL query to answer the following question: `What was the event for vinny magalhรฃes?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "submission_grappling_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the event for vinny magalhรฃes?`: ```sql
SELECT "date" FROM "submission_grappling_record" WHERE "opponent"='renato ferreira';
## Task Generate a SQL query to answer the following question: `What was the date for renato ferreira?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "submission_grappling_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the date for renato ferreira?`: ```sql
SELECT "event" FROM "submission_grappling_record" WHERE "date"=2009 AND "opponent"='leonardo chocolate';
## Task Generate a SQL query to answer the following question: `What was the event with leonardo chocolate in 2009?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "submission_grappling_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the event with leonardo chocolate in 2009?`: ```sql
SELECT "result" FROM "submission_grappling_record" WHERE "date"=2009 AND "opponent"='gerardi rinaldi';
## Task Generate a SQL query to answer the following question: `What was the result for the opponent being gerardi rinaldi in 2009?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "submission_grappling_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the result for the opponent being gerardi rinaldi in 2009?`: ```sql
SELECT "away_team" FROM "round_5" WHERE "away_team_score"='10.9 (69)';
## Task Generate a SQL query to answer the following question: `What is the away team that has a score of 10.9 (69)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the away team that has a score of 10.9 (69)?`: ```sql
SELECT "away_team_score" FROM "round_5" WHERE "home_team_score"='12.9 (81)';
## Task Generate a SQL query to answer the following question: `The home team has a score of 12.9 (81) what is the score of the away team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `The home team has a score of 12.9 (81) what is the score of the away team?`: ```sql
SELECT "eastern_num1" FROM "division_races" WHERE "week"=5;
## Task Generate a SQL query to answer the following question: `Tell me the eastern #1 for week of 5` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "division_races" ( "week" real, "eastern_num1" text, "eastern_num2" text, "western_num1" text, "western_num2" text ); ### SQL Given the database schema, here is the SQL query that answers `Tell me the eastern #1 for week of 5`: ```sql
SELECT "eastern_num2" FROM "division_races" WHERE "western_num2"='oakland';
## Task Generate a SQL query to answer the following question: `Tell me the eastern #2 for western #2 of oakland` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "division_races" ( "week" real, "eastern_num1" text, "eastern_num2" text, "western_num1" text, "western_num2" text ); ### SQL Given the database schema, here is the SQL query that answers `Tell me the eastern #2 for western #2 of oakland`: ```sql
SELECT "week" FROM "division_races" WHERE "eastern_num2"='houston';
## Task Generate a SQL query to answer the following question: `Tell me the wekk for eastern #2 of houston` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "division_races" ( "week" real, "eastern_num1" text, "eastern_num2" text, "western_num1" text, "western_num2" text ); ### SQL Given the database schema, here is the SQL query that answers `Tell me the wekk for eastern #2 of houston`: ```sql
SELECT SUM("crowd") FROM "round_8" WHERE "away_team_score"='10.11 (71)';
## Task Generate a SQL query to answer the following question: `How many people attended the game when the away team scored 10.11 (71)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `How many people attended the game when the away team scored 10.11 (71)?`: ```sql
SELECT "home_team" FROM "round_8" WHERE "crowd">'20,822' AND "venue"='vfl park';
## Task Generate a SQL query to answer the following question: `Which home team had a crowd larger than 20,822 at VFL Park?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Which home team had a crowd larger than 20,822 at VFL Park?`: ```sql
SELECT "home_team" FROM "round_8" WHERE "away_team"='carlton';
## Task Generate a SQL query to answer the following question: `Which home team played against the away team Carlton?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Which home team played against the away team Carlton?`: ```sql
SELECT "venue" FROM "round_8" WHERE "home_team"='collingwood';
## Task Generate a SQL query to answer the following question: `Where was the game played where the home team was Collingwood?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Where was the game played where the home team was Collingwood?`: ```sql
SELECT "home_team_score" FROM "round_8" WHERE "crowd">'25,603';
## Task Generate a SQL query to answer the following question: `What is the home score with a crowd larger than 25,603?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the home score with a crowd larger than 25,603?`: ```sql
SELECT "date" FROM "round_6" WHERE "home_team"='south melbourne';
## Task Generate a SQL query to answer the following question: `What is the date of the home team from South Melbourne?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the date of the home team from South Melbourne?`: ```sql
SELECT "away_team_score" FROM "round_6" WHERE "home_team"='fitzroy';
## Task Generate a SQL query to answer the following question: `What is the score of the away team with the home team Fitzroy?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the score of the away team with the home team Fitzroy?`: ```sql
SELECT "venue" FROM "round_13" WHERE "away_team"='footscray';
## Task Generate a SQL query to answer the following question: `What venue did the away team footscray play at?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What venue did the away team footscray play at?`: ```sql
SELECT "away_team" FROM "round_13" WHERE "home_team_score"='8.8 (56)';
## Task Generate a SQL query to answer the following question: `When the home team scored 8.8 (56), what team were they playing?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `When the home team scored 8.8 (56), what team were they playing?`: ```sql
SELECT MIN("crowd") FROM "round_13" WHERE "away_team"='melbourne';
## Task Generate a SQL query to answer the following question: `When melbourne was the away team, what was the lowest crowd turnout they had?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `When melbourne was the away team, what was the lowest crowd turnout they had?`: ```sql
SELECT "away_team" FROM "round_13" WHERE "venue"='glenferrie oval';
## Task Generate a SQL query to answer the following question: `Which away team plays at the venue glenferrie oval?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Which away team plays at the venue glenferrie oval?`: ```sql
SELECT "away_team_score" FROM "round_13" WHERE "home_team_score"='11.15 (81)';
## Task Generate a SQL query to answer the following question: `When the home team scored 11.15 (81), what did the Away team score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `When the home team scored 11.15 (81), what did the Away team score?`: ```sql
SELECT MIN("2005") FROM "ranking_of_chinese_provinces_by_gdp_per_" WHERE "2009"=19 AND "2010"<21;
## Task Generate a SQL query to answer the following question: `Tell me the lowest 2005 for 2010 less than 21 for 2009 being 19` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ranking_of_chinese_provinces_by_gdp_per_" ( "year" text, "2010" real, "2009" real, "2008" real, "2005" real, "2000" real ); ### SQL Given the database schema, here is the SQL query that answers `Tell me the lowest 2005 for 2010 less than 21 for 2009 being 19`: ```sql
SELECT COUNT("2010") FROM "ranking_of_chinese_provinces_by_gdp_per_" WHERE "2009"<14 AND "2008"<15 AND "2005"=3;
## Task Generate a SQL query to answer the following question: `Name the total number of 2010 for when 2009 is less than 14, 2008 is less than 15 and 2005 is 3` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ranking_of_chinese_provinces_by_gdp_per_" ( "year" text, "2010" real, "2009" real, "2008" real, "2005" real, "2000" real ); ### SQL Given the database schema, here is the SQL query that answers `Name the total number of 2010 for when 2009 is less than 14, 2008 is less than 15 and 2005 is 3`: ```sql
SELECT AVG("2008") FROM "ranking_of_chinese_provinces_by_gdp_per_" WHERE "year"='beijing' AND "2005">2;
## Task Generate a SQL query to answer the following question: `Name the average 2008 for beijing and 2005 more than 2` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ranking_of_chinese_provinces_by_gdp_per_" ( "year" text, "2010" real, "2009" real, "2008" real, "2005" real, "2000" real ); ### SQL Given the database schema, here is the SQL query that answers `Name the average 2008 for beijing and 2005 more than 2`: ```sql
SELECT MIN("2008") FROM "ranking_of_chinese_provinces_by_gdp_per_" WHERE "year"='guizhou' AND "2005"<31;
## Task Generate a SQL query to answer the following question: `Name the lowest 2008 for guizhou when 2005 is less than 31` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ranking_of_chinese_provinces_by_gdp_per_" ( "year" text, "2010" real, "2009" real, "2008" real, "2005" real, "2000" real ); ### SQL Given the database schema, here is the SQL query that answers `Name the lowest 2008 for guizhou when 2005 is less than 31`: ```sql
SELECT SUM("2010") FROM "ranking_of_chinese_provinces_by_gdp_per_" WHERE "2000"=17 AND "2005">16;
## Task Generate a SQL query to answer the following question: `Name the sum of 2010 for 2000 of 17 and 2005 more than 16` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ranking_of_chinese_provinces_by_gdp_per_" ( "year" text, "2010" real, "2009" real, "2008" real, "2005" real, "2000" real ); ### SQL Given the database schema, here is the SQL query that answers `Name the sum of 2010 for 2000 of 17 and 2005 more than 16`: ```sql
SELECT SUM("crowd") FROM "round_3" WHERE "venue"='mcg';
## Task Generate a SQL query to answer the following question: `What is the total of crowd at Venue of mcg?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the total of crowd at Venue of mcg?`: ```sql
SELECT MIN("crowd") FROM "round_3" WHERE "home_team_score"='7.10 (52)';
## Task Generate a SQL query to answer the following question: `What is the smallest crowd with a Home team score of 7.10 (52)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the smallest crowd with a Home team score of 7.10 (52)?`: ```sql
SELECT "date" FROM "round_3" WHERE "home_team_score"='6.12 (48)';
## Task Generate a SQL query to answer the following question: `Which date has a Home team score of 6.12 (48)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Which date has a Home team score of 6.12 (48)?`: ```sql
SELECT "away_team" FROM "round_3" WHERE "away_team_score"='11.17 (83)';
## Task Generate a SQL query to answer the following question: `Which away team has a score of 11.17 (83)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Which away team has a score of 11.17 (83)?`: ```sql
SELECT COUNT("region") FROM "list_of_municipalities_in_quebec" WHERE "area_km_2"=58.81;
## Task Generate a SQL query to answer the following question: `Tell me the number of regions with an area of 58.81` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_municipalities_in_quebec" ( "code" real, "type" text, "name" text, "area_km_2" real, "population" real, "regional_county_municipality" text, "region" real ); ### SQL Given the database schema, here is the SQL query that answers `Tell me the number of regions with an area of 58.81`: ```sql
SELECT COUNT("rank") FROM "medal_table" WHERE "bronze"<0;
## Task Generate a SQL query to answer the following question: `what is the rank when the bronze is less than 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); ### SQL Given the database schema, here is the SQL query that answers `what is the rank when the bronze is less than 0?`: ```sql
SELECT MAX("rank") FROM "medal_table" WHERE "bronze"<1 AND "total"<1;
## Task Generate a SQL query to answer the following question: `what is the highest rank when the bronze is less than 1 and the total is less than 1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); ### SQL Given the database schema, here is the SQL query that answers `what is the highest rank when the bronze is less than 1 and the total is less than 1?`: ```sql
SELECT MIN("silver") FROM "medal_table" WHERE "gold"<0;
## Task Generate a SQL query to answer the following question: `what is the lowest amount of silver when the gold is less than 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); ### SQL Given the database schema, here is the SQL query that answers `what is the lowest amount of silver when the gold is less than 0?`: ```sql
SELECT AVG("gold") FROM "medal_table" WHERE "rank">5;
## Task Generate a SQL query to answer the following question: `what is the average number of gold when the rank is more than 5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); ### SQL Given the database schema, here is the SQL query that answers `what is the average number of gold when the rank is more than 5?`: ```sql
SELECT MAX("silver") FROM "medal_table" WHERE "gold"=0 AND "nation"='soviet union';
## Task Generate a SQL query to answer the following question: `what is the highest amount of silver when gold is 0 for soviet union?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); ### SQL Given the database schema, here is the SQL query that answers `what is the highest amount of silver when gold is 0 for soviet union?`: ```sql
SELECT "position" FROM "1990s" WHERE "player"='adam rachel';
## Task Generate a SQL query to answer the following question: `What position does adam rachel play?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1990s" ( "player" text, "position" text, "first_team_debut" text, "first_team_appearances" real, "first_team_goals" real, "current_club" text ); ### SQL Given the database schema, here is the SQL query that answers `What position does adam rachel play?`: ```sql
SELECT "player" FROM "1990s" WHERE "first_team_appearances">1 AND "first_team_goals"=32;
## Task Generate a SQL query to answer the following question: `What player has over 1 first apperance and over 32 first team goals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1990s" ( "player" text, "position" text, "first_team_debut" text, "first_team_appearances" real, "first_team_goals" real, "current_club" text ); ### SQL Given the database schema, here is the SQL query that answers `What player has over 1 first apperance and over 32 first team goals?`: ```sql
SELECT AVG("speed") FROM "ro_ro_passenger_ships" WHERE "year"<1974 AND "passengers">1.73;
## Task Generate a SQL query to answer the following question: `What is the average speed for ships before 1974 with over 1.73 passengers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ro_ro_passenger_ships" ( "ship_name" text, "year" real, "length" text, "width" text, "passengers" real, "vessels" real, "speed" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the average speed for ships before 1974 with over 1.73 passengers?`: ```sql
SELECT COUNT("vessels") FROM "ro_ro_passenger_ships" WHERE "ship_name"='aqua jewel';
## Task Generate a SQL query to answer the following question: `How many vessels are named aqua jewel?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ro_ro_passenger_ships" ( "ship_name" text, "year" real, "length" text, "width" text, "passengers" real, "vessels" real, "speed" real ); ### SQL Given the database schema, here is the SQL query that answers `How many vessels are named aqua jewel?`: ```sql
SELECT COUNT("district") FROM "current_members_of_the_baltimore_city_de" WHERE "place_of_birth"='baltimore city' AND "delegate"='cheryl glenn';
## Task Generate a SQL query to answer the following question: `How many districts in Baltimore City does Cheryl Glenn dictate?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members_of_the_baltimore_city_de" ( "district" real, "place_of_birth" text, "delegate" text, "party" text, "took_office" real, "committee" text ); ### SQL Given the database schema, here is the SQL query that answers `How many districts in Baltimore City does Cheryl Glenn dictate?`: ```sql
SELECT "party" FROM "current_members_of_the_baltimore_city_de" WHERE "district"=41 AND "delegate"='jill p. carter';
## Task Generate a SQL query to answer the following question: `Which party belongs to district 41, and is delegated by Jill P. Carter?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members_of_the_baltimore_city_de" ( "district" real, "place_of_birth" text, "delegate" text, "party" text, "took_office" real, "committee" text ); ### SQL Given the database schema, here is the SQL query that answers `Which party belongs to district 41, and is delegated by Jill P. Carter?`: ```sql
SELECT "place_of_birth" FROM "current_members_of_the_baltimore_city_de" WHERE "took_office">1982 AND "district"<43 AND "committee"='health and government operations';
## Task Generate a SQL query to answer the following question: `Where was the place of birth for the delegate who took office after 1982, delegates a district smaller than 43 and belongs to a Health and Government operations committee?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members_of_the_baltimore_city_de" ( "district" real, "place_of_birth" text, "delegate" text, "party" text, "took_office" real, "committee" text ); ### SQL Given the database schema, here is the SQL query that answers `Where was the place of birth for the delegate who took office after 1982, delegates a district smaller than 43 and belongs to a Health and Government operations committee?`: ```sql
SELECT "place_of_birth" FROM "current_members_of_the_baltimore_city_de" WHERE "committee"='judiciary' AND "district"=43;
## Task Generate a SQL query to answer the following question: `Where was the delegate belonging to the Judiciary committee of district 43 born?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members_of_the_baltimore_city_de" ( "district" real, "place_of_birth" text, "delegate" text, "party" text, "took_office" real, "committee" text ); ### SQL Given the database schema, here is the SQL query that answers `Where was the delegate belonging to the Judiciary committee of district 43 born?`: ```sql
SELECT MAX("district") FROM "current_members_of_the_baltimore_city_de" WHERE "delegate"='cheryl glenn' AND "took_office">2006;
## Task Generate a SQL query to answer the following question: `What is the largest district for delegate Cheryl Glenn, that she had taken after 2006?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members_of_the_baltimore_city_de" ( "district" real, "place_of_birth" text, "delegate" text, "party" text, "took_office" real, "committee" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the largest district for delegate Cheryl Glenn, that she had taken after 2006?`: ```sql
SELECT AVG("viewers_m") FROM "u_s_nielsen_weekly_ratings" WHERE "episode"='\"aka\"' AND "rating">3.3;
## Task Generate a SQL query to answer the following question: `What is the average Viewers (m) for "aka", with a Rating larger than 3.3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "u_s_nielsen_weekly_ratings" ( "episode" text, "rating" real, "share" real, "18_49_rating_share" text, "viewers_m" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the average Viewers (m) for "aka", with a Rating larger than 3.3?`: ```sql
SELECT MAX("placings") FROM "ice_dancing" WHERE "name"='marie mcneil / robert mccall' AND "points"<168.58;
## Task Generate a SQL query to answer the following question: `What is the highest placing for marie mcneil / robert mccall, with less than 168.58?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ice_dancing" ( "rank" real, "name" text, "nation" text, "points" real, "placings" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest placing for marie mcneil / robert mccall, with less than 168.58?`: ```sql
SELECT "date" FROM "december" WHERE "home"='mavericks';
## Task Generate a SQL query to answer the following question: `What was the date of the Mavericks home game?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the date of the Mavericks home game?`: ```sql
SELECT MAX("displacement_cc") FROM "first_generation_models" WHERE "model"='r fwd auto phase1';
## Task Generate a SQL query to answer the following question: `What is the highest displacement value for the R Fwd Auto Phase1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "first_generation_models" ( "model" text, "power" text, "torque_rpm" text, "displacement_cc" real, "engine" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest displacement value for the R Fwd Auto Phase1?`: ```sql
SELECT MAX("crowd") FROM "round_11" WHERE "home_team_score"='12.15 (87)';
## Task Generate a SQL query to answer the following question: `What was the top crowd when the team scored 12.15 (87) at home?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the top crowd when the team scored 12.15 (87) at home?`: ```sql
SELECT "away_team" FROM "round_11" WHERE "venue"='lake oval';
## Task Generate a SQL query to answer the following question: `What team played at lake oval while away?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What team played at lake oval while away?`: ```sql
SELECT SUM("crowd") FROM "round_11" WHERE "home_team_score"='12.15 (87)';
## Task Generate a SQL query to answer the following question: `What is the combined of Crowd that has a Home team which scored 12.15 (87)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the combined of Crowd that has a Home team which scored 12.15 (87)?`: ```sql
SELECT SUM("crowd") FROM "round_11" WHERE "away_team_score"='19.15 (129)';
## Task Generate a SQL query to answer the following question: `What is the combined of Crowd that has an away team which scored 19.15 (129)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the combined of Crowd that has an away team which scored 19.15 (129)?`: ```sql
SELECT COUNT("silver") FROM "top_athletes" WHERE "gold"<1 AND "bronze"=0 AND "total"<2;
## Task Generate a SQL query to answer the following question: `Name the number of silver when gold is less than 1 and bronze is 0 when total is less than 2` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "top_athletes" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); ### SQL Given the database schema, here is the SQL query that answers `Name the number of silver when gold is less than 1 and bronze is 0 when total is less than 2`: ```sql
SELECT "traffic_direction" FROM "streets" WHERE "street"='70th street';
## Task Generate a SQL query to answer the following question: `What is the traffic direction of 70th street?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "streets" ( "street" text, "west" text, "east" text, "num_of_lanes" text, "traffic_direction" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the traffic direction of 70th street?`: ```sql
SELECT "traffic_direction" FROM "streets" WHERE "west"='2nd avenue' AND "num_of_lanes"='1' AND "street"='64th street';
## Task Generate a SQL query to answer the following question: `What is the traffic direction of 64th street with 2nd avenue to the west and 1 lane?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "streets" ( "street" text, "west" text, "east" text, "num_of_lanes" text, "traffic_direction" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the traffic direction of 64th street with 2nd avenue to the west and 1 lane?`: ```sql
SELECT "traffic_direction" FROM "streets" WHERE "street"='97th street';
## Task Generate a SQL query to answer the following question: `What is the traffic direction of 97th street?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "streets" ( "street" text, "west" text, "east" text, "num_of_lanes" text, "traffic_direction" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the traffic direction of 97th street?`: ```sql
SELECT "num_of_lanes" FROM "streets" WHERE "street"='20th street';
## Task Generate a SQL query to answer the following question: `What is the # of lanes on 20th street?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "streets" ( "street" text, "west" text, "east" text, "num_of_lanes" text, "traffic_direction" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the # of lanes on 20th street?`: ```sql
SELECT SUM("long") FROM "running_backs" WHERE "yards"='16' AND "td_s"<1;
## Task Generate a SQL query to answer the following question: `What is the long of the player with 16 yards and less than 1 TD?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "running_backs" ( "place" real, "player_name" text, "yards" text, "td_s" real, "long" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the long of the player with 16 yards and less than 1 TD?`: ```sql
SELECT MIN("place") FROM "running_backs" WHERE "long"=4 AND "td_s"<2;
## Task Generate a SQL query to answer the following question: `What is the highest place a player with 4 long and less than 2 TDs has?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "running_backs" ( "place" real, "player_name" text, "yards" text, "td_s" real, "long" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest place a player with 4 long and less than 2 TDs has?`: ```sql
SELECT "driver" FROM "drivers_and_constructors" WHERE "entrant"='marlboro mclaren peugeot';
## Task Generate a SQL query to answer the following question: `Who drove the Marlboro Mclaren Peugeot?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "tyre" text, "driver" text, "rounds" text ); ### SQL Given the database schema, here is the SQL query that answers `Who drove the Marlboro Mclaren Peugeot?`: ```sql
SELECT "tyre" FROM "drivers_and_constructors" WHERE "entrant"='team lotus' AND "driver"='mika salo';
## Task Generate a SQL query to answer the following question: `What tyre did Mika Salo use for team Lotus?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "tyre" text, "driver" text, "rounds" text ); ### SQL Given the database schema, here is the SQL query that answers `What tyre did Mika Salo use for team Lotus?`: ```sql
SELECT "driver" FROM "drivers_and_constructors" WHERE "entrant"='tourtel larrousse f1';
## Task Generate a SQL query to answer the following question: `Which driver drove the Tourtel Larrousse F1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "tyre" text, "driver" text, "rounds" text ); ### SQL Given the database schema, here is the SQL query that answers `Which driver drove the Tourtel Larrousse F1?`: ```sql
SELECT "constructor" FROM "drivers_and_constructors" WHERE "rounds"='all' AND "driver"='gerhard berger';
## Task Generate a SQL query to answer the following question: `Who constructed Gerhard Berger car that went all rounds?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "tyre" text, "driver" text, "rounds" text ); ### SQL Given the database schema, here is the SQL query that answers `Who constructed Gerhard Berger car that went all rounds?`: ```sql
SELECT "visitor" FROM "october" WHERE "home"='phoenix' AND "record"='2โ€“5โ€“0';
## Task Generate a SQL query to answer the following question: `Who visited phoenix with a Record of 2โ€“5โ€“0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "october" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Who visited phoenix with a Record of 2โ€“5โ€“0?`: ```sql
SELECT "decision" FROM "october" WHERE "record"='3โ€“5โ€“0';
## Task Generate a SQL query to answer the following question: `What decision had a Record of 3โ€“5โ€“0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "october" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What decision had a Record of 3โ€“5โ€“0?`: ```sql
SELECT MIN("attendance") FROM "october" WHERE "home"='phoenix' AND "record"='1โ€“0โ€“0';
## Task Generate a SQL query to answer the following question: `What is the low attendance was based in phoenix with a Record of 1โ€“0โ€“0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "october" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the low attendance was based in phoenix with a Record of 1โ€“0โ€“0?`: ```sql
SELECT "score" FROM "october" WHERE "home"='phoenix' AND "record"='3โ€“6โ€“0';
## Task Generate a SQL query to answer the following question: `What was the score did phoenix have with a Record of 3โ€“6โ€“0 at home?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "october" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the score did phoenix have with a Record of 3โ€“6โ€“0 at home?`: ```sql
SELECT "record" FROM "october" WHERE "home"='anaheim';
## Task Generate a SQL query to answer the following question: `What was the record while at home in Anaheim?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "october" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the record while at home in Anaheim?`: ```sql
SELECT "inning" FROM "roger_maris_61_home_runs" WHERE "team"='minnesota twins' AND "date"='06-07-1961';
## Task Generate a SQL query to answer the following question: `Which inning were the Minnesota Twins in on 06-07-1961?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "roger_maris_61_home_runs" ( "number" real, "game" real, "date" text, "pitcher" text, "team" text, "inning" text ); ### SQL Given the database schema, here is the SQL query that answers `Which inning were the Minnesota Twins in on 06-07-1961?`: ```sql
SELECT MAX("crowd") FROM "round_7" WHERE "home_team_score"='8.10 (58)';
## Task Generate a SQL query to answer the following question: `How many people attended the game where the home team scored 8.10 (58)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `How many people attended the game where the home team scored 8.10 (58)?`: ```sql
SELECT "away_team" FROM "round_7" WHERE "venue"='arden street oval';
## Task Generate a SQL query to answer the following question: `Who was the away team at the game held at Arden Street Oval?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the away team at the game held at Arden Street Oval?`: ```sql
SELECT "venue" FROM "round_12" WHERE "away_team"='footscray';
## Task Generate a SQL query to answer the following question: `What is the name of the venue that away team footscray played at?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the name of the venue that away team footscray played at?`: ```sql
SELECT "venue" FROM "round_12" WHERE "away_team_score"='10.11 (71)';
## Task Generate a SQL query to answer the following question: `What is the name of the venue where the away team scored 10.11 (71)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the name of the venue where the away team scored 10.11 (71)?`: ```sql
SELECT "date" FROM "round_12" WHERE "venue"='princes park';
## Task Generate a SQL query to answer the following question: `What date was the game played at princes park?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What date was the game played at princes park?`: ```sql
SELECT "away_team" FROM "round_12" WHERE "crowd">'17,000' AND "venue"='punt road oval';
## Task Generate a SQL query to answer the following question: `Who is the away team that played at punt road oval where the crowd was larger than 17,000?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Who is the away team that played at punt road oval where the crowd was larger than 17,000?`: ```sql
SELECT COUNT("track") FROM "track_listing" WHERE "recorded"='1964-01-08';
## Task Generate a SQL query to answer the following question: `How many tracks were Recorded 1964-01-08?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "track" real, "title" text, "translation" text, "composer" text, "recorded" text ); ### SQL Given the database schema, here is the SQL query that answers `How many tracks were Recorded 1964-01-08?`: ```sql
SELECT "translation" FROM "track_listing" WHERE "composer"='jacques brel, rod mckuen';
## Task Generate a SQL query to answer the following question: `WhatTranslation has a Composer of jacques brel, rod mckuen?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "track" real, "title" text, "translation" text, "composer" text, "recorded" text ); ### SQL Given the database schema, here is the SQL query that answers `WhatTranslation has a Composer of jacques brel, rod mckuen?`: ```sql
SELECT "recorded" FROM "track_listing" WHERE "track">2 AND "translation"='the last meal';
## Task Generate a SQL query to answer the following question: `Which recording has a Track larger than 2, and a Translation of the last meal?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "track" real, "title" text, "translation" text, "composer" text, "recorded" text ); ### SQL Given the database schema, here is the SQL query that answers `Which recording has a Track larger than 2, and a Translation of the last meal?`: ```sql
SELECT "title" FROM "track_listing" WHERE "track"=3;
## Task Generate a SQL query to answer the following question: `Which title has a Track of 3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "track" real, "title" text, "translation" text, "composer" text, "recorded" text ); ### SQL Given the database schema, here is the SQL query that answers `Which title has a Track of 3?`: ```sql
SELECT "date" FROM "december" WHERE "home"='new jersey' AND "record"='7-23-7';
## Task Generate a SQL query to answer the following question: `When was the home game when the New Jersey team's record became 7-23-7?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `When was the home game when the New Jersey team's record became 7-23-7?`: ```sql
SELECT "college" FROM "nfl_draft" WHERE "pick"=11;
## Task Generate a SQL query to answer the following question: `What college has a pick of 11?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player_drafted_or_traded_for" text, "position" text, "college" text ); ### SQL Given the database schema, here is the SQL query that answers `What college has a pick of 11?`: ```sql
SELECT AVG("pick") FROM "nfl_draft" WHERE "college"='florida state';
## Task Generate a SQL query to answer the following question: `What is the average pick of Florida State?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player_drafted_or_traded_for" text, "position" text, "college" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the average pick of Florida State?`: ```sql
SELECT AVG("pick") FROM "nfl_draft" WHERE "college"='san diego state';
## Task Generate a SQL query to answer the following question: `What is the average pick of San Diego State?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player_drafted_or_traded_for" text, "position" text, "college" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the average pick of San Diego State?`: ```sql
SELECT MIN("sp_fs") FROM "men" WHERE "name"='miljan begovic' AND "placings">189;
## Task Generate a SQL query to answer the following question: `What is the lowest value for SP+FS for Miljan Begovic with a greater than 189 place?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "men" ( "rank" real, "name" text, "nation" text, "sp_fs" real, "points" real, "placings" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the lowest value for SP+FS for Miljan Begovic with a greater than 189 place?`: ```sql
SELECT AVG("points") FROM "men" WHERE "rank"<12 AND "name"='david santee';
## Task Generate a SQL query to answer the following question: `What is the average points value for a rank less than 12 for David Santee?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "men" ( "rank" real, "name" text, "nation" text, "sp_fs" real, "points" real, "placings" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the average points value for a rank less than 12 for David Santee?`: ```sql
SELECT COUNT("rank") FROM "men" WHERE "points"=185.16 AND "sp_fs">5;
## Task Generate a SQL query to answer the following question: `What is the total number for Rank with 185.16 points and a SP+FS value greater than 5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "men" ( "rank" real, "name" text, "nation" text, "sp_fs" real, "points" real, "placings" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the total number for Rank with 185.16 points and a SP+FS value greater than 5?`: ```sql
SELECT MAX("sp_fs") FROM "men" WHERE "points">164.56 AND "rank">1 AND "name"='mitsuru matsumura';
## Task Generate a SQL query to answer the following question: `What is the largest value for SP+FS with more than 164.56 points for Mitsuru Matsumura in a Rank greater than 1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "men" ( "rank" real, "name" text, "nation" text, "sp_fs" real, "points" real, "placings" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the largest value for SP+FS with more than 164.56 points for Mitsuru Matsumura in a Rank greater than 1?`: ```sql
SELECT "variant_with_niqqud" FROM "pronunciation_in_modern_hebrew" WHERE "phonetic_realisation"='[[[|u]]]';
## Task Generate a SQL query to answer the following question: `When phonetic realisation is [[[|u]]], what is the variant with niqqud?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pronunciation_in_modern_hebrew" ( "variant_with_niqqud" text, "without_niqqud" text, "phonemic_value" text, "phonetic_realisation" text, "english_example" text ); ### SQL Given the database schema, here is the SQL query that answers `When phonetic realisation is [[[|u]]], what is the variant with niqqud?`: ```sql
SELECT "variant_with_niqqud" FROM "pronunciation_in_modern_hebrew" WHERE "phonemic_value"='/v/' AND "without_niqqud"='as middle letter: ื•ื•';
## Task Generate a SQL query to answer the following question: `When a variant without niqqud is as middle letter: ื•ื• with a phonemic value of /v/, what is the variant with niqqud?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pronunciation_in_modern_hebrew" ( "variant_with_niqqud" text, "without_niqqud" text, "phonemic_value" text, "phonetic_realisation" text, "english_example" text ); ### SQL Given the database schema, here is the SQL query that answers `When a variant without niqqud is as middle letter: ื•ื• with a phonemic value of /v/, what is the variant with niqqud?`: ```sql
SELECT "phonetic_realisation" FROM "pronunciation_in_modern_hebrew" WHERE "phonemic_value"='/v/' AND "without_niqqud"='as initial letter: ื•';
## Task Generate a SQL query to answer the following question: `What is the phonetic realisation if the phonemic value is /v/ and the without niqqud is as initial letter: ื•?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pronunciation_in_modern_hebrew" ( "variant_with_niqqud" text, "without_niqqud" text, "phonemic_value" text, "phonetic_realisation" text, "english_example" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the phonetic realisation if the phonemic value is /v/ and the without niqqud is as initial letter: ื•?`: ```sql
SELECT "english_example" FROM "pronunciation_in_modern_hebrew" WHERE "variant_with_niqqud"='ื•ึน';
## Task Generate a SQL query to answer the following question: `Give me an english example of a variant with niqqud of ื•ึน?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pronunciation_in_modern_hebrew" ( "variant_with_niqqud" text, "without_niqqud" text, "phonemic_value" text, "phonetic_realisation" text, "english_example" text ); ### SQL Given the database schema, here is the SQL query that answers `Give me an english example of a variant with niqqud of ื•ึน?`: ```sql
SELECT "variant_with_niqqud" FROM "pronunciation_in_modern_hebrew" WHERE "phonetic_realisation"='[[[|v]]]';
## Task Generate a SQL query to answer the following question: `What is the variant with niqqud for a phonetic realisation of [[[|v]]]?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pronunciation_in_modern_hebrew" ( "variant_with_niqqud" text, "without_niqqud" text, "phonemic_value" text, "phonetic_realisation" text, "english_example" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the variant with niqqud for a phonetic realisation of [[[|v]]]?`: ```sql
SELECT "phonetic_realisation" FROM "pronunciation_in_modern_hebrew" WHERE "without_niqqud"='as final letter: ื• or ื™ื•';
## Task Generate a SQL query to answer the following question: `If a variant without niqqud is as final letter: ื• or ื™ื•, what is the phonetic realisation?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pronunciation_in_modern_hebrew" ( "variant_with_niqqud" text, "without_niqqud" text, "phonemic_value" text, "phonetic_realisation" text, "english_example" text ); ### SQL Given the database schema, here is the SQL query that answers `If a variant without niqqud is as final letter: ื• or ื™ื•, what is the phonetic realisation?`: ```sql
SELECT "position" FROM "nfl_draft" WHERE "pick"=113;
## Task Generate a SQL query to answer the following question: `What position does pick 113 play?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nfl_draft" ( "pick" real, "round" text, "player" text, "position" text, "school" text ); ### SQL Given the database schema, here is the SQL query that answers `What position does pick 113 play?`: ```sql
SELECT "school" FROM "nfl_draft" WHERE "pick">225 AND "player"='victor jones';
## Task Generate a SQL query to answer the following question: `What is the school of Victor Jones, who was picked further than number 225?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nfl_draft" ( "pick" real, "round" text, "player" text, "position" text, "school" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the school of Victor Jones, who was picked further than number 225?`: ```sql
SELECT COUNT("pick") FROM "nfl_draft" WHERE "school"='virginia tech';
## Task Generate a SQL query to answer the following question: `What is the total pick number of Virginia Tech?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nfl_draft" ( "pick" real, "round" text, "player" text, "position" text, "school" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the total pick number of Virginia Tech?`: ```sql
SELECT "position" FROM "nfl_draft" WHERE "school"='north carolina';
## Task Generate a SQL query to answer the following question: `What is the position of a player from North Carolina?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nfl_draft" ( "pick" real, "round" text, "player" text, "position" text, "school" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the position of a player from North Carolina?`: ```sql
SELECT "home_team_score" FROM "round_19" WHERE "home_team"='st kilda';
## Task Generate a SQL query to answer the following question: `What is the home team score of St Kilda?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_19" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the home team score of St Kilda?`: ```sql