output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT AVG("round") FROM "washington_redskins_draft_history" WHERE "college"='tulsa' AND "pick">61;
## Task Generate a SQL query to answer the following question: `Which Round has a College of tulsa, and a Pick larger than 61?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "name" ...
SELECT "position" FROM "washington_redskins_draft_history" WHERE "round"<5 AND "pick"=5;
## Task Generate a SQL query to answer the following question: `Which Position has a Round smaller than 5, and a Pick of 5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "name" tex...
SELECT "college" FROM "washington_redskins_draft_history" WHERE "name"='hardy brown';
## Task Generate a SQL query to answer the following question: `Which College has a Name of hardy brown?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "name" text, "position" tex...
SELECT "winner" FROM "race_calendar" WHERE "team"='peter jackson racing' AND "circuit"='mallala motor sport park';
## Task Generate a SQL query to answer the following question: `Who was the winner for Peter Jackson Racing at Mallala Motor Sport Park?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, ...
SELECT "city_state" FROM "race_calendar" WHERE "series"='atcc round 1';
## Task Generate a SQL query to answer the following question: `What city had a series of atcc round 1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" t...
SELECT "winner" FROM "race_calendar" WHERE "series"='astc round 8';
## Task Generate a SQL query to answer the following question: `Who was the winner for ASTC round 8?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" text...
SELECT "nationality" FROM "draft_picks" WHERE "college_junior_club_team_league"='swift current broncos (wchl)';
## Task Generate a SQL query to answer the following question: `Which Nationality has a College/Junior/Club Team (League) of swift current broncos (wchl)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "draft_picks" ( "round" real, "player" text, ...
SELECT AVG("round") FROM "draft_picks" WHERE "college_junior_club_team_league"='hamilton red wings (oha)' AND "position"='rw';
## Task Generate a SQL query to answer the following question: `Which Round has a College/Junior/Club Team (League) of hamilton red wings (oha), and a Position of rw?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "draft_picks" ( "round" real, "pla...
SELECT AVG("round") FROM "draft_picks" WHERE "position"='lw' AND "college_junior_club_team_league"='swift current broncos (wchl)';
## Task Generate a SQL query to answer the following question: `Which Round has a Position of lw, and a College/Junior/Club Team (League) of swift current broncos (wchl)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "draft_picks" ( "round" real, ...
SELECT "nationality" FROM "draft_picks" WHERE "round"=10;
## Task Generate a SQL query to answer the following question: `What is round 10's nationality?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_c...
SELECT "driver" FROM "teams_and_drivers" WHERE "chassis"='dallara f306' AND "rounds"='8';
## Task Generate a SQL query to answer the following question: `Which driver was in 8 rounds with a chassis of dallara f306?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "teams_and_drivers" ( "team" text, "driver" text, "class" text, "chassis...
SELECT "rounds" FROM "teams_and_drivers" WHERE "driver"='nil montserrat';
## Task Generate a SQL query to answer the following question: `How many rounds did Nil Montserrat drive in?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "teams_and_drivers" ( "team" text, "driver" text, "class" text, "chassis" text, "round...
SELECT "rounds" FROM "teams_and_drivers" WHERE "chassis"='dallara f308' AND "driver"='germán sánchez';
## Task Generate a SQL query to answer the following question: `How many rounds did germán sánchez drive in where the chassis was dallara f308?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "teams_and_drivers" ( "team" text, "driver" text, "clas...
SELECT "chassis" FROM "teams_and_drivers" WHERE "team"='rp motorsport' AND "driver"='augusto scalbi';
## Task Generate a SQL query to answer the following question: `What is the chassis for Augusto Scalbi on Team RP Motorsport?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "teams_and_drivers" ( "team" text, "driver" text, "class" text, "chassi...
SELECT MAX("week") FROM "schedule" WHERE "result"='w 24-17';
## Task Generate a SQL query to answer the following question: `In what Week was the Result W 24-17?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); ##...
SELECT SUM("week") FROM "schedule" WHERE "date"='november 20, 1977';
## Task Generate a SQL query to answer the following question: `What was the Week number on November 20, 1977?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" ...
SELECT "home" FROM "round_16" WHERE "score"='2:1';
## Task Generate a SQL query to answer the following question: `Who played hte home team when the score was 2:1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_16" ( "date" text, "home" text, "score" text, "away" text, "attendance" rea...
SELECT "home" FROM "round_16" WHERE "attendance">1189 AND "away"='real juventud';
## Task Generate a SQL query to answer the following question: `Who was the home team when real juventud was the away team when there were more than 1189 in attendance?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_16" ( "date" text, "home"...
SELECT AVG("attendance") FROM "round_16" WHERE "away"='marathon';
## Task Generate a SQL query to answer the following question: `What was the average attendance when marathon was the away team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_16" ( "date" text, "home" text, "score" text, "away" text, ...
SELECT "home" FROM "round_16" WHERE "score"='0:1';
## Task Generate a SQL query to answer the following question: `Who was the home team when the score was 0:1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_16" ( "date" text, "home" text, "score" text, "away" text, "attendance" real )...
SELECT AVG("profits_billion") FROM "2010_list" WHERE "assets_billion"<'2,355.83' AND "company"='general electric' AND "market_value_billion">169.65;
## Task Generate a SQL query to answer the following question: `How much are General Electric's profits who have assets (billion $) under 2,355.83 and a market value (billion $) larger than 169.65?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2010_l...
SELECT "company" FROM "2010_list" WHERE "assets_billion"<235.45 AND "sales_billion">159.29 AND "industry"='oil and gas' AND "profits_billion"=19.28;
## Task Generate a SQL query to answer the following question: `Which company in the oil and gas industry has assets (billion $) under 235.45, sales (billion $) larger than 159.29 and brings in profits (billion $) of 19.28?` ### Database Schema This query will run on a database whose schema is represented in this str...
SELECT SUM("profits_billion") FROM "2010_list" WHERE "headquarters"='usa' AND "industry"='banking' AND "sales_billion"<98.64;
## Task Generate a SQL query to answer the following question: `How many profits is the company that is headquartered in the USA, in the banking industry, and has sales (billion $) less than 98.64 bringing in?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE T...
SELECT "test" FROM "current_tests" WHERE "number_of_students"='49,608';
## Task Generate a SQL query to answer the following question: `What test had 49,608 students?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_tests" ( "test" text, "subject" text, "mean_score" text, "standard_deviation" text, "number...
SELECT "tie_no" FROM "quarterfinals" WHERE "home_team"='ramsgate';
## Task Generate a SQL query to answer the following question: `What was the Tie no when the Home team was Ramsgate?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "quarterfinals" ( "tie_no" text, "home_team" text, "score" text, "away_team" tex...
SELECT "tie_no" FROM "quarterfinals" WHERE "home_team"='carshalton athletic';
## Task Generate a SQL query to answer the following question: `What was the Tie no when the Home team was carshalton athletic?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "quarterfinals" ( "tie_no" text, "home_team" text, "score" text, "awa...
SELECT "away_team" FROM "quarterfinals" WHERE "home_team"='ramsgate';
## Task Generate a SQL query to answer the following question: `Who was the away team when the home team was Ramsgate?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "quarterfinals" ( "tie_no" text, "home_team" text, "score" text, "away_team" t...
SELECT "home_team" FROM "quarterfinals" WHERE "tie_no"='60';
## Task Generate a SQL query to answer the following question: `What was the home team when the Tie no was 60?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "quarterfinals" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "...
SELECT "tie_no" FROM "quarterfinals" WHERE "home_team"='wealdstone';
## Task Generate a SQL query to answer the following question: `What was the Tie no when the Home team was wealdstone?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "quarterfinals" ( "tie_no" text, "home_team" text, "score" text, "away_team" t...
SELECT "format" FROM "release_history" WHERE "date"='january 21, 2002';
## Task Generate a SQL query to answer the following question: `Which format has january 21, 2002 as the date?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalo...
SELECT "format" FROM "release_history" WHERE "region"='france' AND "label"='universal licensing music (ulm)';
## Task Generate a SQL query to answer the following question: `What format has France as the region, with Universal Licensing Music (ulm) as the label?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "release_history" ( "region" text, "date" text, ...
SELECT "label" FROM "release_history" WHERE "region"='netherlands' AND "catalog"='magik muzik 802-1';
## Task Generate a SQL query to answer the following question: `What label has the netherlands as the region, and magik muzik 802-1 as the catalog?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "release_history" ( "region" text, "date" text, "la...
SELECT "name" FROM "women_s_indoor_tournament" WHERE "2008_club"='venelle';
## Task Generate a SQL query to answer the following question: `What name has a 2008 club of Venelle?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "women_s_indoor_tournament" ( "name" text, "height" text, "weight" text, "spike" text, "2008_...
SELECT "name" FROM "women_s_indoor_tournament" WHERE "2008_club"='nc bejaia';
## Task Generate a SQL query to answer the following question: `What is the name of the person with a 2008 club of Nc Bejaia?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "women_s_indoor_tournament" ( "name" text, "height" text, "weight" text, ...
SELECT "record" FROM "mixed_martial_arts_record" WHERE "time"='3:00';
## Task Generate a SQL query to answer the following question: `What is the record at 3:00?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, ...
SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "method"='ko' AND "record"='6-0';
## Task Generate a SQL query to answer the following question: `What opponent used the Ko method, and a 6-0 record?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method...
SELECT "home_team" FROM "round_of_16" WHERE "away_team_score"='8.7 (55)';
## Task Generate a SQL query to answer the following question: `What is the home team with an 8.7 (55) away team score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "...
SELECT AVG("crowd") FROM "round_of_16" WHERE "home_team_score"='13.9 (87)';
## Task Generate a SQL query to answer the following question: `What is the average crowd of the 13.9 (87) Home Team Score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text,...
SELECT "ground" FROM "round_of_16" WHERE "home_team"='adelaide';
## Task Generate a SQL query to answer the following question: `What is the ground of the game where the home team was Adelaide?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" ...
SELECT "home_team" FROM "round_of_16" WHERE "away_team_score"='9.8 (62)';
## Task Generate a SQL query to answer the following question: `What is Home team of the game with an 9.8 (62) away team score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" t...
SELECT "manufacturer" FROM "class_c_4_4_0" WHERE "quantity_made"='2' AND "year_made"='1884';
## Task Generate a SQL query to answer the following question: `What is Manufacturer, when Quantity Made is 2, and when Year Made is 1884?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "class_c_4_4_0" ( "class" text, "wheel_arrangement" text, "m...
SELECT "quantity_made" FROM "class_c_4_4_0" WHERE "manufacturer"='baldwin';
## Task Generate a SQL query to answer the following question: `What is Quantity Made, when Manufacturer is "Baldwin"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "class_c_4_4_0" ( "class" text, "wheel_arrangement" text, "manufacturer" text, ...
SELECT "wheel_arrangement" FROM "class_c_4_4_0" WHERE "manufacturer"='baldwin' AND "quantity_made"='12';
## Task Generate a SQL query to answer the following question: `What is Wheel Arrangement, when Manufacturer is "Baldwin", and when Quantity Made is 12?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "class_c_4_4_0" ( "class" text, "wheel_arrangeme...
SELECT "quantity_made" FROM "class_c_4_4_0" WHERE "year_made"='4-4-0 — oooo — american';
## Task Generate a SQL query to answer the following question: `What is Quantity Made, when Year Made is "4-4-0 — oooo — american"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "class_c_4_4_0" ( "class" text, "wheel_arrangement" text, "manufact...
SELECT "wheel_arrangement" FROM "class_c_4_4_0" WHERE "quantity_made"='44';
## Task Generate a SQL query to answer the following question: `What is Wheel Arrangement, when Quantity Made is 44?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "class_c_4_4_0" ( "class" text, "wheel_arrangement" text, "manufacturer" text, "...
SELECT "quantity_made" FROM "class_c_4_4_0" WHERE "quantity_preserved"='4-4-0 — oooo — american';
## Task Generate a SQL query to answer the following question: `What is Quantitiy Made, when Quantity Preserved is "4-4-0 — oooo — american"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "class_c_4_4_0" ( "class" text, "wheel_arrangement" text, ...
SELECT MAX("game") FROM "regular_season" WHERE "record"='2-1';
## Task Generate a SQL query to answer the following question: `What's the highest game found when the record is 2-1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "...
SELECT "date" FROM "regular_season" WHERE "opponent"='houston';
## Task Generate a SQL query to answer the following question: `What was the game date when the opponent was Houston?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "...
SELECT MAX("season") FROM "results" WHERE "home_team"='chonburi' AND "away_team"='melbourne victory';
## Task Generate a SQL query to answer the following question: `Can you tell me the highest Season that has the Home Team of chonburi, and the Away Team of melbourne victory?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results" ( "season" real, ...
SELECT "season" FROM "results" WHERE "score"='1-0';
## Task Generate a SQL query to answer the following question: `Can you tell me the Season that has the Score of 1-0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results" ( "season" real, "home_team" text, "score" text, "away_team" text, ...
SELECT MIN("50_1_2_oz") FROM "non_proof_coins" WHERE "year"=1997 AND "25_1_4_oz">'27,100';
## Task Generate a SQL query to answer the following question: `WHAT IS THE LOWEST $50-1/2 OZ COIN WITH A 1997 YEAR AND $25-1/4 OZ LARGER THAN $27,100?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "non_proof_coins" ( "year" real, "10_1_10_oz" tex...
SELECT MIN("25_1_4_oz") FROM "non_proof_coins" WHERE "10_1_10_oz"='70,250';
## Task Generate a SQL query to answer the following question: `WHAT IS THE LOWEST $25-1/4 OZ COIN WITH A $10-1/10 OZ OF $70,250?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "non_proof_coins" ( "year" real, "10_1_10_oz" text, "25_1_4_oz" real,...
SELECT "model_number" FROM "45_nm" WHERE "gpu_frequency"='320 mhz';
## Task Generate a SQL query to answer the following question: `What is the model number for the GPU and 320 mhz?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "gpu_frequen...
SELECT "socket" FROM "45_nm" WHERE "model_number"='atom e680t';
## Task Generate a SQL query to answer the following question: `What is the socket of the model atom e680t?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "gpu_frequency" te...
SELECT "memory" FROM "45_nm" WHERE "part_number_s"='ct80618005844ab';
## Task Generate a SQL query to answer the following question: `What is the memory for ct80618005844ab?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "gpu_frequency" text, ...
SELECT MAX("average_cards_a_game") FROM "career_stats" WHERE "season"='1997/1998' AND "games">38;
## Task Generate a SQL query to answer the following question: `Which Average Cards a game has a Season of 1997/1998, and a Games larger than 38?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_stats" ( "season" text, "games" real, "yellow...
SELECT MIN("red_cards") FROM "career_stats" WHERE "season"='1998/1999' AND "games">41;
## Task Generate a SQL query to answer the following question: `Which Red Cards has a Season of 1998/1999, and a Games larger than 41?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_stats" ( "season" text, "games" real, "yellow_cards" rea...
SELECT AVG("games") FROM "career_stats" WHERE "season"='2003/2004' AND "red_cards"<5;
## Task Generate a SQL query to answer the following question: `Which Games has a Season of 2003/2004, and a Red Cards smaller than 5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_stats" ( "season" text, "games" real, "yellow_cards" rea...
SELECT MIN("average_cards_a_game") FROM "career_stats" WHERE "season"='2004/2005' AND "red_cards">3;
## Task Generate a SQL query to answer the following question: `Which Average Cards a game has a Season of 2004/2005, and a Red Cards larger than 3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_stats" ( "season" text, "games" real, "yel...
SELECT AVG("yellow_cards") FROM "career_stats" WHERE "season"='1999/2000';
## Task Generate a SQL query to answer the following question: `Which Yellow Cards has a Season of 1999/2000?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_stats" ( "season" text, "games" real, "yellow_cards" real, "red_cards" real, ...
SELECT "goals" FROM "squad_information" WHERE "ends"='30 june 2010' AND "since">2007;
## Task Generate a SQL query to answer the following question: `Which Goals have Ends of 30 june 2010, and Since larger than 2007?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" real, "goal...
SELECT "name" FROM "squad_information" WHERE "ends"='30 june 2010' AND "nat"='eng' AND "since">2007;
## Task Generate a SQL query to answer the following question: `Which Name has Ends of 30 june 2010, and a Nation of eng, and Since larger than 2007?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "squad_information" ( "nat" text, "name" text, "s...
SELECT MIN("react") FROM "60_metres_hurdles" WHERE "name"='bryan clay';
## Task Generate a SQL query to answer the following question: `What was Bryan Clay's react time?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "60_metres_hurdles" ( "lane" real, "name" text, "country" text, "mark" text, "react" real ); ### ...
SELECT "country" FROM "60_metres_hurdles" WHERE "name"='dmitriy karpov';
## Task Generate a SQL query to answer the following question: `What country did Dmitriy Karpov represent?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "60_metres_hurdles" ( "lane" real, "name" text, "country" text, "mark" text, "react" rea...
SELECT "plural" FROM "personal_pronouns_possessive_case" WHERE "singular"='tor (your)';
## Task Generate a SQL query to answer the following question: `What is Plural, when Singular is tor (your)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "personal_pronouns_possessive_case" ( "subject" real, "proximity" text, "honor" text, "s...
SELECT "proximity" FROM "personal_pronouns_possessive_case" WHERE "honor"='p' AND "singular"='ẽr (his/her/its)';
## Task Generate a SQL query to answer the following question: `What is Proximity, when Honor is P, and when Singular is ẽr (his/her/its)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "personal_pronouns_possessive_case" ( "subject" real, "proximi...
SELECT MIN("subject") FROM "personal_pronouns_possessive_case" WHERE "plural"='tãder (their)';
## Task Generate a SQL query to answer the following question: `What is the lowest Subject, when Plural is tãder (their)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "personal_pronouns_possessive_case" ( "subject" real, "proximity" text, "hono...
SELECT "proximity" FROM "personal_pronouns_possessive_case" WHERE "plural"='amader (our)';
## Task Generate a SQL query to answer the following question: `What is Proximity, when Plural is amader (our)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "personal_pronouns_possessive_case" ( "subject" real, "proximity" text, "honor" text, ...
SELECT "honor" FROM "personal_pronouns_possessive_case" WHERE "singular"='ẽr (his/her/its)';
## Task Generate a SQL query to answer the following question: `What is Honor, when Singular is ẽr (his/her/its)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "personal_pronouns_possessive_case" ( "subject" real, "proximity" text, "honor" text,...
SELECT "f_laps" FROM "career_summary" WHERE "season"='2011' AND "races"='18';
## Task Generate a SQL query to answer the following question: `what is the f/laps when the season is 2011 and races is 18?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" tex...
SELECT "wins" FROM "career_summary" WHERE "f_laps"='test driver' AND "team"='lotus racing';
## Task Generate a SQL query to answer the following question: `what is the wins when the f/laps is test driver and team is lotus racing?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text,...
SELECT "poles" FROM "career_summary" WHERE "wins"='0' AND "points"='0';
## Task Generate a SQL query to answer the following question: `what is the poles when the wins is 0 and points is 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" text, "...
SELECT "score" FROM "final_round" WHERE "money"='36,090';
## Task Generate a SQL query to answer the following question: `What score won $36,090?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );...
SELECT "score" FROM "final_round" WHERE "player"='larry nelson';
## Task Generate a SQL query to answer the following question: `What was Larry Nelson's final score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "m...
SELECT AVG("attendance") FROM "schedule" WHERE "opponents"=38 AND "falcons_points"<14;
## Task Generate a SQL query to answer the following question: `What is the average attendance of the game with 38 opponent and less than 14 Falcons points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" text, "date" text, "op...
SELECT COUNT("losses") FROM "see_also" WHERE "games"<14 AND "wins"<3 AND "conference"='maac' AND "school"='fairfield';
## Task Generate a SQL query to answer the following question: `What is the total number of losses of the team with games less than 14, wins less than 3, in the Maac Conference at Fairfield School?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_al...
SELECT "title" FROM "daughters" WHERE "number"=4;
## Task Generate a SQL query to answer the following question: `What is number 4's title?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "daughters" ( "number" real, "title" text, "born" text, "died" text, "date_married" text, "issue" text,...
SELECT COUNT("number") FROM "daughters" WHERE "born"='1368';
## Task Generate a SQL query to answer the following question: `How many people were born in 1368?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "daughters" ( "number" real, "title" text, "born" text, "died" text, "date_married" text, "iss...
SELECT "mother" FROM "daughters" WHERE "number"=12;
## Task Generate a SQL query to answer the following question: `Who was number 12's mother?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "daughters" ( "number" real, "title" text, "born" text, "died" text, "date_married" text, "issue" tex...
SELECT COUNT("week") FROM "schedule" WHERE "date"='dec. 19';
## Task Generate a SQL query to answer the following question: `What was the week number when they played on Dec. 19?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "recor...
SELECT AVG("founded") FROM "current_teams" WHERE "location"='east lansing, mi';
## Task Generate a SQL query to answer the following question: `What is the average number of students in East Lansing, MI?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_teams" ( "institution" text, "location" text, "founded" real, "a...
SELECT MIN("founded") FROM "current_teams" WHERE "affiliation"='community college';
## Task Generate a SQL query to answer the following question: `What is the lowest number of students at the community college?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_teams" ( "institution" text, "location" text, "founded" real, ...
SELECT AVG("score") FROM "winners" WHERE "champion"='joanne carner';
## Task Generate a SQL query to answer the following question: `What is Joanne Carner's average score in Canadian Women's Open games that she has won?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "winners" ( "year" real, "champion" text, "count...
SELECT "country" FROM "winners" WHERE "champion"='jocelyne bourassa';
## Task Generate a SQL query to answer the following question: `What country does jocelyne bourassa play for?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "winners" ( "year" real, "champion" text, "country" text, "score" real, "to_par" text...
SELECT "performance" FROM "filter_classes" WHERE "test_standard"='bs en779' AND "particulate_size_approaching_100pct_retention"='>2µm' AND "class"='f6';
## Task Generate a SQL query to answer the following question: `Which Performance has a Test Standard of bs en779, and a Particulate size approaching 100% retention of >2µm, and a Class of f6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "filter_cla...
SELECT "performance" FROM "filter_classes" WHERE "usage"='hepa' AND "class"='h14';
## Task Generate a SQL query to answer the following question: `Which Performance has a Usage of hepa and a Class of h14?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "filter_classes" ( "usage" text, "class" text, "performance" text, "perform...
SELECT "particulate_size_approaching_100pct_retention" FROM "filter_classes" WHERE "usage"='semi hepa' AND "class"='h12';
## Task Generate a SQL query to answer the following question: `Which Particulate size approaching 100% retention has a Usage of semi hepa and a Class of h12?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "filter_classes" ( "usage" text, "class" t...
SELECT "test_standard" FROM "filter_classes" WHERE "usage"='secondary filters' AND "class"='f5';
## Task Generate a SQL query to answer the following question: `Which Test Standard has a Usage of secondary filters, and a Class of f5? Question 4` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "filter_classes" ( "usage" text, "class" text, "per...
SELECT "performance" FROM "filter_classes" WHERE "performance_test"='average value' AND "class"='f6';
## Task Generate a SQL query to answer the following question: `Which Performance has a Performance test of average value, and a Class of f6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "filter_classes" ( "usage" text, "class" text, "performan...
SELECT "class" FROM "filter_classes" WHERE "performance_test"='minimum value' AND "usage"='semi hepa' AND "performance"='99.5%';
## Task Generate a SQL query to answer the following question: `Which Class has a Performance test of minimum value, and a Usage of semi hepa, and a Performance of 99.5%?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "filter_classes" ( "usage" text,...
SELECT "score" FROM "first_round" WHERE "to_par"='–1' AND "player"='mick soli';
## Task Generate a SQL query to answer the following question: `Which Score has a To par of –1, and a Player of mick soli?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real,...
SELECT AVG("score") FROM "first_round" WHERE "place"='t1' AND "player"='hubert green';
## Task Generate a SQL query to answer the following question: `Which Score has a Place of t1, and a Player of hubert green?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" rea...
SELECT "country" FROM "first_round" WHERE "score"=69 AND "player"='mick soli';
## Task Generate a SQL query to answer the following question: `Which Country has a Score of 69, and a Player of mick soli?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real...
SELECT "country" FROM "first_round" WHERE "place"='t1';
## Task Generate a SQL query to answer the following question: `Which Country has a Place of t1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); ### SQ...
SELECT "moving_from" FROM "squad_changes" WHERE "transfer_window"='summer' AND "source"='kerkida.net';
## Task Generate a SQL query to answer the following question: `Where is the moving from location with a transfer window of summer and the source kerkida.net?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "squad_changes" ( "nat" text, "name" text,...
SELECT "name" FROM "squad_changes" WHERE "source"='apoelfc.com.cy' AND "type"='transfer';
## Task Generate a SQL query to answer the following question: `Which name has the source apoelfc.com.cy and a type of transfer?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "squad_changes" ( "nat" text, "name" text, "moving_from" text, "type...
SELECT "fate" FROM "ships_attacked" WHERE "name"='san pablo';
## Task Generate a SQL query to answer the following question: `What is the Fate of the San Pablo ship?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ships_attacked" ( "date" text, "name" text, "nationality" text, "tonnage_grt" real, "fate"...
SELECT "date" FROM "ships_attacked" WHERE "name"='circe shell';
## Task Generate a SQL query to answer the following question: `What is the date of attack of the Circe Shell Ship?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ships_attacked" ( "date" text, "name" text, "nationality" text, "tonnage_grt" re...
SELECT "fuel_system" FROM "engines" WHERE "years"='1960-62';
## Task Generate a SQL query to answer the following question: `What fuel system was used in 1960-62?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "...
SELECT "power" FROM "engines" WHERE "model"='1500' AND "displacement"='1490cc';
## Task Generate a SQL query to answer the following question: `How much power does the 1500 model have with a displacement of 1490cc?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displa...