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