question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Who was the visitor when the score was 136–120?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "december" WHERE "score"='136–120';
2-16386910-4
Who was the home when the visitor was New York Knicks?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "december" WHERE "visitor"='new york knicks';
2-16386910-4
When was the home Los Angeles Lakers?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "date" FROM "december" WHERE "home"='los angeles lakers';
2-16386910-4
Who was the visitor on december 15, 1976?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "december" WHERE "date"='december 15, 1976';
2-16386910-4
At Time Warner Cable Arena 12,096, what was the high points?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "high_points" FROM "game_log" WHERE "location_attendance"='time warner cable arena 12,096';
2-17058116-5
On November 2 what was the record of the team?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "date"='november 2';
2-17058116-5
Average frequency with ERP W of 62?
CREATE TABLE "texas" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" text, "fcc_info" text );
SELECT AVG("frequency_m_hz") FROM "texas" WHERE "erp_w"='62';
2-17101015-10
Total frequency with ERP W of 62?
CREATE TABLE "texas" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" text, "fcc_info" text );
SELECT COUNT("frequency_m_hz") FROM "texas" WHERE "erp_w"='62';
2-17101015-10
Frequency for kamy?
CREATE TABLE "texas" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" text, "fcc_info" text );
SELECT "frequency_m_hz" FROM "texas" WHERE "call_sign"='kamy';
2-17101015-10
What was the method of resolution when LaVerne Clark's record was 23-16-1?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='23-16-1';
2-17445697-2
how many subdivisions have an English Name of jiyang?
CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" real, "density" text );
SELECT COUNT("population") FROM "subdivisions" WHERE "english_name"='jiyang';
2-1638437-2
What is the Population of the subdivision with the English Name of nanbin farm?
CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" real, "density" text );
SELECT MIN("population") FROM "subdivisions" WHERE "english_name"='nanbin farm';
2-1638437-2
What is the Traditional when the Pinyin is hédōng qū?
CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" real, "density" text );
SELECT "traditional" FROM "subdivisions" WHERE "pinyin"='hédōng qū';
2-1638437-2
What is the Traditional for area 35?
CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" real, "density" text );
SELECT "traditional" FROM "subdivisions" WHERE "area"='35';
2-1638437-2
Which class has the verb meaning of to run?
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "class" FROM "german" WHERE "verb_meaning"='to run';
2-1745843-8
What is the entry for Part 1 for class 7d?
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "part_1" FROM "german" WHERE "class"='7d';
2-1745843-8
What is the part 3 entry that has a part 4 entry of giboran?
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "part_3" FROM "german" WHERE "part_4"='giboran';
2-1745843-8
What is the part 2 entry for class 3a?
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "part_2" FROM "german" WHERE "class"='3a';
2-1745843-8
What is the part 4 entry for class 7b?
CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "part_4" FROM "german" WHERE "class"='7b';
2-1745843-8
On what date was the result a draw?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "result"='draw';
2-17110962-1
What is the score at the 2010 FIFA World Cup Qualification that results in a win?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "competition"='2010 fifa world cup qualification' AND "result"='win';
2-17110962-1
What is the Power (kW) for the station located in Cebu?
CREATE TABLE "fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );
SELECT "power_k_w" FROM "fm_stations" WHERE "location"='cebu';
2-16588532-2
What is the Power (kW) for the station with a frequency of 95.1mhz?
CREATE TABLE "fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );
SELECT "power_k_w" FROM "fm_stations" WHERE "frequency"='95.1mhz';
2-16588532-2
What is the Callsign for the station with the branding 93dot5 home radio Cagayan De Oro?
CREATE TABLE "fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );
SELECT "callsign" FROM "fm_stations" WHERE "branding"='93dot5 home radio cagayan de oro';
2-16588532-2
What is the frequency for the station with the branding of 94dot3 home radio Palawan?
CREATE TABLE "fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );
SELECT "frequency" FROM "fm_stations" WHERE "branding"='94dot3 home radio palawan';
2-16588532-2
What is the Branding for the station located in Zamboanga?
CREATE TABLE "fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );
SELECT "branding" FROM "fm_stations" WHERE "location"='zamboanga';
2-16588532-2
What is the Power (kW) for the station with the frequency of 98.7mhz?
CREATE TABLE "fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text );
SELECT "power_k_w" FROM "fm_stations" WHERE "frequency"='98.7mhz';
2-16588532-2
What is the medal total of Denmark?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "medal_table" WHERE "nation"='denmark';
2-17278693-3
What is the record of the game with a game number greater than 24 on December 19?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "game">24 AND "date"='december 19';
2-17102076-6
What is the record of game 26 with beno udrih (4) as the highest assists?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "high_assists"='beno udrih (4)' AND "game"=26;
2-17102076-6
What is the score of game 25?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "game"=25;
2-17102076-6
WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87?
CREATE TABLE "result_of_national_final" ( "draw" real, "song" text, "performer" text, "points" real, "rank" text );
SELECT MAX("draw") FROM "result_of_national_final" WHERE "song"='u ritmu ljubavi' AND "points">87;
2-16792344-1
WHAT IS THE DRAW FOR PERFORMER ANDREA CUBRIC?
CREATE TABLE "result_of_national_final" ( "draw" real, "song" text, "performer" text, "points" real, "rank" text );
SELECT "draw" FROM "result_of_national_final" WHERE "performer"='andrea cubric';
2-16792344-1
What is the game number when the record is 30-22?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT AVG("game") FROM "game_log" WHERE "record"='30-22';
2-17621978-8
At what location was the score W 82-76?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT "location" FROM "game_log" WHERE "score"='w 82-76';
2-17621978-8
What was the record when the game was at the Rose Garden?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT "record" FROM "game_log" WHERE "location"='rose garden';
2-17621978-8
What is the highest number of games with more than 0 draws and 11 losses?
CREATE TABLE "managers_test_games_only" ( "name" text, "period" text, "games" real, "wins" real, "draws" real, "lost" real, "win_ratio" text );
SELECT MAX("games") FROM "managers_test_games_only" WHERE "draws">0 AND "lost"=11;
2-16643326-4
What is the 1994 finish in the event that had a 1998 finish of 2R?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "career_sr" text, "career_win_loss" text );
SELECT "1994" FROM "singles_performance_timeline" WHERE "1998"='2r';
2-1728009-4
Which tournament had a 1994 finish of RR and 1996 and 1998 finishes of A?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "career_sr" text, "career_win_loss" text );
SELECT "tournament" FROM "singles_performance_timeline" WHERE "1996"='a' AND "1998"='a' AND "1994"='rr';
2-1728009-4
What is the 1994 finish associated with a 1995 finish of 3R and 1997 of QF?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "career_sr" text, "career_win_loss" text );
SELECT "1994" FROM "singles_performance_timeline" WHERE "1997"='qf' AND "1995"='3r';
2-1728009-4
What is the 1999 finish for the tournament in Rome?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "career_sr" text, "career_win_loss" text );
SELECT "1999" FROM "singles_performance_timeline" WHERE "tournament"='rome';
2-1728009-4
What is the 1991 finish for the 1993 Grand Slams?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "career_sr" text, "career_win_loss" text );
SELECT "1991" FROM "singles_performance_timeline" WHERE "1993"='grand slams';
2-1728009-4
What was the playoff apps for Thomas Heary, that had the position df?
CREATE TABLE "appearances_and_goals" ( "squad_no" real, "name" text, "position" text, "league_apps" text, "league_goals" real, "fa_cup_apps" text, "fa_cup_goals" real, "league_cup_apps" text, "league_cup_goals" real, "flt_apps" text, "flt_goals" real, "playoff_apps" text, "playoff_goals" real, "total_apps" text, "total_goals" real );
SELECT "playoff_apps" FROM "appearances_and_goals" WHERE "position"='df' AND "name"='thomas heary';
2-17264613-1
What's the lowest squad number with more than 6 goals, fewer than 8 league goals, and more than 0 playoff goals?
CREATE TABLE "appearances_and_goals" ( "squad_no" real, "name" text, "position" text, "league_apps" text, "league_goals" real, "fa_cup_apps" text, "fa_cup_goals" real, "league_cup_apps" text, "league_cup_goals" real, "flt_apps" text, "flt_goals" real, "playoff_apps" text, "playoff_goals" real, "total_apps" text, "total_goals" real );
SELECT MIN("squad_no") FROM "appearances_and_goals" WHERE "total_goals">6 AND "league_goals"<8 AND "playoff_goals">0;
2-17264613-1
How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 League Cup goals get?
CREATE TABLE "appearances_and_goals" ( "squad_no" real, "name" text, "position" text, "league_apps" text, "league_goals" real, "fa_cup_apps" text, "fa_cup_goals" real, "league_cup_apps" text, "league_cup_goals" real, "flt_apps" text, "flt_goals" real, "playoff_apps" text, "playoff_goals" real, "total_apps" text, "total_goals" real );
SELECT SUM("total_goals") FROM "appearances_and_goals" WHERE "playoff_apps"='2' AND "fa_cup_apps"='2' AND "league_cup_goals"<0;
2-17264613-1
Which title had rank 9?
CREATE TABLE "highest_grossing_films_of_1999" ( "rank" real, "title" text, "studio" text, "director_s" text, "worldwide_gross" text );
SELECT "title" FROM "highest_grossing_films_of_1999" WHERE "rank"=9;
2-169577-1
Which title placed in rank 7?
CREATE TABLE "highest_grossing_films_of_1999" ( "rank" real, "title" text, "studio" text, "director_s" text, "worldwide_gross" text );
SELECT "title" FROM "highest_grossing_films_of_1999" WHERE "rank"=7;
2-169577-1
shows for the artist Santana featuring the product g&b?
CREATE TABLE "rpm_singles_chart_january_2000_november_" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" text, "song" text, "artist" text );
SELECT "volume_issue" FROM "rpm_singles_chart_january_2000_november_" WHERE "artist"='santana featuring the product g&b';
2-17507197-1
What volume 3 weeks on top for Third Eye Blind?
CREATE TABLE "rpm_singles_chart_january_2000_november_" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" text, "song" text, "artist" text );
SELECT "volume_issue" FROM "rpm_singles_chart_january_2000_november_" WHERE "weeks_on_top"='3' AND "artist"='third eye blind';
2-17507197-1
What is the name of the artist of " bang bang boom "?
CREATE TABLE "rpm_singles_chart_january_2000_november_" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" text, "song" text, "artist" text );
SELECT "artist" FROM "rpm_singles_chart_january_2000_november_" WHERE "song"='\" bang bang boom \"';
2-17507197-1
What is the song name with a Volume:Issue was 70:8-9?
CREATE TABLE "rpm_singles_chart_january_2000_november_" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" text, "song" text, "artist" text );
SELECT "song" FROM "rpm_singles_chart_january_2000_november_" WHERE "volume_issue"='70:8-9';
2-17507197-1
What was the music video that was from the album High Society, with a length of 3:50?
CREATE TABLE "music_videos" ( "year" real, "music_video" text, "length" text, "album" text, "official_mv_on_you_tube" text );
SELECT "music_video" FROM "music_videos" WHERE "album"='high society' AND "length"='3:50';
2-17201619-10
Which music video was from the album Map of the Human Soul?
CREATE TABLE "music_videos" ( "year" real, "music_video" text, "length" text, "album" text, "official_mv_on_you_tube" text );
SELECT "music_video" FROM "music_videos" WHERE "album"='map of the human soul';
2-17201619-10
What is the agg when team 2 was Cementarnica?
CREATE TABLE "eighth_finals" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "agg" FROM "eighth_finals" WHERE "team_2"='cementarnica';
2-17614198-2
What are the total number of podiums for more than 4 laps, and less than 149 races?
CREATE TABLE "by_seasons_and_teams" ( "season" text, "races" real, "wins" real, "podiums" real, "poles" real, "fastest_laps" real );
SELECT COUNT("podiums") FROM "by_seasons_and_teams" WHERE "fastest_laps">4 AND "races"<149;
2-16710541-2
What was the score for the golfer from the country of fiji?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT COUNT("score") FROM "first_round" WHERE "country"='fiji';
2-16514630-4
What was the score of the golfer from the united states who had a To par of e?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT SUM("score") FROM "first_round" WHERE "to_par"='e' AND "country"='united states';
2-16514630-4
Which united states player finished with a place of t10?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "player" FROM "first_round" WHERE "country"='united states' AND "place"='t10';
2-16514630-4
What label uses the stereo LP for catalog scyl-934,623?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "label" FROM "release_history" WHERE "format"='stereo lp' AND "catalog"='scyl-934,623';
2-16247366-2
On what date was the catalog cy-24623 for New Zealand?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "region"='new zealand' AND "catalog"='cy-24623';
2-16247366-2
On what date was the catalog scyl-934,623 for Australia?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "catalog"='scyl-934,623' AND "region"='australia';
2-16247366-2
Which label has a catalog of y8hr 1006 in 1972?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "label" FROM "release_history" WHERE "catalog"='y8hr 1006' AND "date"='1972';
2-16247366-2
What catalog uses the stereo compact cassette format?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "catalog" FROM "release_history" WHERE "format"='stereo compact cassette';
2-16247366-2
What is the average game that has December 6 as the date?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT AVG("game") FROM "game_log" WHERE "date"='december 6';
2-17080868-6
What is the average game that has December 17 as the date?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT AVG("game") FROM "game_log" WHERE "date"='december 17';
2-17080868-6
Can you tell me the average Total that had the Silver of 0, and the Rank of 6, and the Gold smaller than 0?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("total") FROM "medal_table" WHERE "silver"=0 AND "rank"='6' AND "gold"<0;
2-16853558-1
Can you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than 24?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("gold") FROM "medal_table" WHERE "bronze">3 AND "total"<24;
2-16853558-1
Can you tell me the highest Gold that has the Bronze smaller than 1, and the Total larger than 4?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("gold") FROM "medal_table" WHERE "bronze"<1 AND "total">4;
2-16853558-1
What is the number of nurses in the region with an HO : Population Ratio of 1:16,791?
CREATE TABLE "table_3_total_number_of_available_human_" ( "region" text, "physician_gp_specialist" real, "physician_population_ratio" text, "health_officer" real, "ho_population_ratio" text, "all_nurses" real, "nurse_population_ratio" text, "mid_wives" text, "mid_wife_population_ratio" text, "hew" text );
SELECT AVG("all_nurses") FROM "table_3_total_number_of_available_human_" WHERE "ho_population_ratio"='1:16,791';
2-16539836-2
What is the number of physicians in the region with an all nurses number of 91?
CREATE TABLE "table_3_total_number_of_available_human_" ( "region" text, "physician_gp_specialist" real, "physician_population_ratio" text, "health_officer" real, "ho_population_ratio" text, "all_nurses" real, "nurse_population_ratio" text, "mid_wives" text, "mid_wife_population_ratio" text, "hew" text );
SELECT MIN("physician_gp_specialist") FROM "table_3_total_number_of_available_human_" WHERE "all_nurses"=91;
2-16539836-2
What is Moving, when Type is "Transfer", and when Name is "Andy Webster"?
CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text );
SELECT "moving_from" FROM "in" WHERE "type"='transfer' AND "name"='andy webster';
2-17438913-2
What is Moving From, when Ends is before 2011?
CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text );
SELECT "moving_from" FROM "in" WHERE "ends"<2011;
2-17438913-2
What was the category that sheridan smith was nominated for in 2011?
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text );
SELECT "category" FROM "awards_and_nominations" WHERE "year"=2011;
2-1644840-3
What ward was she nominated at for her work, Flare Path for the category of best featured actress in a play?
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text );
SELECT "award" FROM "awards_and_nominations" WHERE "nominated_work"='flare path' AND "category"='best featured actress in a play';
2-1644840-3
What is the result for the nomination at the Laurence Olivier award in 2009 for best actress in a musical?
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text );
SELECT "result" FROM "awards_and_nominations" WHERE "category"='best actress in a musical' AND "award"='laurence olivier award' AND "year"=2009;
2-1644840-3
What is the lowest attendance when the Atlanta Falcons were the opponent?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MIN("week") FROM "schedule" WHERE "opponent"='atlanta falcons';
2-16714751-1
What's the departed date for Grimsby Class Sloop?
CREATE TABLE "escorts" ( "name" text, "class" text, "navy" text, "date_joined" text, "date_departed" text );
SELECT "date_departed" FROM "escorts" WHERE "class"='grimsby class sloop';
2-16814676-2
What's the departed date that the HMS Leith of the Royal Navy?
CREATE TABLE "escorts" ( "name" text, "class" text, "navy" text, "date_joined" text, "date_departed" text );
SELECT "date_departed" FROM "escorts" WHERE "navy"='royal navy' AND "name"='hms leith';
2-16814676-2
What's the class of the HMS Fowey?
CREATE TABLE "escorts" ( "name" text, "class" text, "navy" text, "date_joined" text, "date_departed" text );
SELECT "class" FROM "escorts" WHERE "name"='hms fowey';
2-16814676-2
What's the class of the HMS Heartsease?
CREATE TABLE "escorts" ( "name" text, "class" text, "navy" text, "date_joined" text, "date_departed" text );
SELECT "class" FROM "escorts" WHERE "name"='hms heartsease';
2-16814676-2
Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oilers?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "record" text );
SELECT "record" FROM "game_log" WHERE "game">15 AND "opponent"='edmonton oilers';
2-17599495-4
Can you tell me the Score that has the Date of 11/17/1979?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='11/17/1979';
2-17599495-4
Can you tell me the Opponent that has the Record of 7-7-1?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "record"='7-7-1';
2-17599495-4
Can you tell me the Score that has the Opponent of at edmonton oilers?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "record" text );
SELECT "score" FROM "game_log" WHERE "opponent"='at edmonton oilers';
2-17599495-4
Can you tell me the Date thay has the Reocrd of 9-10-2?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='9-10-2';
2-17599495-4
What is the finishing position for the person who had a grid of 3?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "fin_pos" FROM "classification" WHERE "grid"='3';
2-17304308-1
Which team had car number 15?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "team" FROM "classification" WHERE "car_no"='15';
2-17304308-1
What is the number of laps completed by the car in grid 10?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "laps" FROM "classification" WHERE "grid"='10';
2-17304308-1
Which driver earned 32 points from the Andretti Green team?
CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text );
SELECT "driver" FROM "classification" WHERE "team"='andretti green' AND "points"='32';
2-17304308-1
What is the date for the 10b serial?
CREATE TABLE "launch_history" ( "date" text, "time_gmt" text, "serial" text, "apogee" text, "outcome" text );
SELECT "date" FROM "launch_history" WHERE "serial"='10b';
2-17608945-1
What team has less than 64 goals against, 101 goals for, and a Points 2 total of 63?
CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_average_1" real, "points_2" real );
SELECT "team" FROM "final_table" WHERE "goals_against"<64 AND "points_2"=63 AND "goals_for"=101;
2-17358515-1
What is the Points 2 average of teams that have played more than 46 games?
CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_average_1" real, "points_2" real );
SELECT AVG("points_2") FROM "final_table" WHERE "played">46;
2-17358515-1
What is the Mkhedruli symbol for the Asomtavruli ⴒ?
CREATE TABLE "georgian_alphabets" ( "asomtavruli" text, "nuskhuri" text, "mkhedruli" text, "letter_name" text, "phoneme" text );
SELECT "mkhedruli" FROM "georgian_alphabets" WHERE "asomtavruli"='ⴒ';
2-1697374-1
What is the letter name for the Asomtavruli ⴙ?
CREATE TABLE "georgian_alphabets" ( "asomtavruli" text, "nuskhuri" text, "mkhedruli" text, "letter_name" text, "phoneme" text );
SELECT "letter_name" FROM "georgian_alphabets" WHERE "asomtavruli"='ⴙ';
2-1697374-1
What is the Phoneme symbol for ⴥ in Nuskhuri?
CREATE TABLE "georgian_alphabets" ( "asomtavruli" text, "nuskhuri" text, "mkhedruli" text, "letter_name" text, "phoneme" text );
SELECT "phoneme" FROM "georgian_alphabets" WHERE "nuskhuri"='ⴥ';
2-1697374-1
What is the Phoneme symbol for the letter name zɛn?
CREATE TABLE "georgian_alphabets" ( "asomtavruli" text, "nuskhuri" text, "mkhedruli" text, "letter_name" text, "phoneme" text );
SELECT "phoneme" FROM "georgian_alphabets" WHERE "letter_name"='zɛn';
2-1697374-1
What is teh Nuskhuri symbol for ⴋ in Asomtavruli?
CREATE TABLE "georgian_alphabets" ( "asomtavruli" text, "nuskhuri" text, "mkhedruli" text, "letter_name" text, "phoneme" text );
SELECT "nuskhuri" FROM "georgian_alphabets" WHERE "asomtavruli"='ⴋ';
2-1697374-1
What is the average value for Pick #, when Position is Linebacker, when Player is Bob Bruenig, and when Round is less than 3?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT AVG("pick_num") FROM "nfl_draft" WHERE "position"='linebacker' AND "player"='bob bruenig' AND "round"<3;
2-16767061-1
What is the sum of Pick #, when Position is Guard, and when Round is greater than 2?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT SUM("pick_num") FROM "nfl_draft" WHERE "position"='guard' AND "round">2;
2-16767061-1
What is the average Round, when Pick # is greater than 70, and when Position is Tackle?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT AVG("round") FROM "nfl_draft" WHERE "pick_num">70 AND "position"='tackle';
2-16767061-1