question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What title has a Label of warp records / paper bag records?
CREATE TABLE "singles" ( "year" real, "title" text, "label" text, "format" text, "album" text );
SELECT "title" FROM "singles" WHERE "label"='warp records / paper bag records';
2-13592743-3
What's the highest Average that has a 1987-88 of 55 and a Played that's larger than 114?
CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1986_87" text, "1987_88" text, "1988_89" real );
SELECT MAX("average") FROM "relegation" WHERE "1987_88"='55' AND "played">114;
2-14489821-1
What's the lowest Points for the Team of San Martín De Tucumán, and a Played that's smaller than 38?
CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1986_87" text, "1987_88" text, "1988_89" real );
SELECT MIN("points") FROM "relegation" WHERE "team"='san martín de tucumán' AND "played"<38;
2-14489821-1
What's the 1986-87 that's got a 1988-89 that's larger than 42, and Points of 109?
CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1986_87" text, "1987_88" text, "1988_89" real );
SELECT "1986_87" FROM "relegation" WHERE "1988_89">42 AND "points"=109;
2-14489821-1
What's the total of 1988-89 that has a 1986-87 of 38, and Points that's smaller than 109?
CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1986_87" text, "1987_88" text, "1988_89" real );
SELECT SUM("1988_89") FROM "relegation" WHERE "1986_87"='38' AND "points"<109;
2-14489821-1
What nation has a total more than 3, with more than 5 for bronze, and less than 4 for the silver?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "nation" FROM "medal_table" WHERE "total">3 AND "bronze">5 AND "silver"<4;
2-14800580-1
What is the largest number for bronze with a rank of 19?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("bronze") FROM "medal_table" WHERE "rank"='19';
2-14800580-1
what season had a score of 1:0
CREATE TABLE "last_encounters_since_2006" ( "season" text, "home" text, "score" text, "away" text, "date" text );
SELECT "season" FROM "last_encounters_since_2006" WHERE "score"='1:0';
2-13688489-3
indoor year is 1978, what is the record?
CREATE TABLE "nasl_indoor_soccer" ( "indoor_year" text, "record" text, "regular_season_finish" text, "playoffs" text, "avg_attend" real );
SELECT "record" FROM "nasl_indoor_soccer" WHERE "indoor_year"='1978';
2-1428018-3
Record of 11-10-3 is what sum of game #?
CREATE TABLE "december" ( "game_num" real, "date" text, "visitor" text, "score" text, "home" text, "record" text, "points" real );
SELECT SUM("game_num") FROM "december" WHERE "record"='11-10-3';
2-13913477-5
Points of 31, and a Score of 1 - 5 is what home?
CREATE TABLE "december" ( "game_num" real, "date" text, "visitor" text, "score" text, "home" text, "record" text, "points" real );
SELECT "home" FROM "december" WHERE "points"=31 AND "score"='1 - 5';
2-13913477-5
Visitor of calgary has what record?
CREATE TABLE "december" ( "game_num" real, "date" text, "visitor" text, "score" text, "home" text, "record" text, "points" real );
SELECT "record" FROM "december" WHERE "visitor"='calgary';
2-13913477-5
Score of 2 - 2 had what points?
CREATE TABLE "december" ( "game_num" real, "date" text, "visitor" text, "score" text, "home" text, "record" text, "points" real );
SELECT "points" FROM "december" WHERE "score"='2 - 2';
2-13913477-5
On what Date was Gainsborough Trinity the Opponents with H/A of H?
CREATE TABLE "second_division" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real );
SELECT "date" FROM "second_division" WHERE "opponents"='gainsborough trinity' AND "h_a"='h';
2-15080761-1
What H/A had more than 15,000 in Attendance and Blackpool as Opponents?
CREATE TABLE "second_division" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real );
SELECT "h_a" FROM "second_division" WHERE "attendance">'15,000' AND "opponents"='blackpool';
2-15080761-1
What was the Attendance when Lincoln City was the Opponents with H/A of A?
CREATE TABLE "second_division" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real );
SELECT COUNT("attendance") FROM "second_division" WHERE "opponents"='lincoln city' AND "h_a"='a';
2-15080761-1
what Area has the frequency of 100.3 and an On-air ID of yass fm?
CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text );
SELECT "area_served" FROM "defunct_callsigns" WHERE "frequency"='100.3' AND "on_air_id"='yass fm';
2-14155087-1
What is the Callsign with an Area of tamworth and frequency of 0 88.9?
CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text );
SELECT "callsign" FROM "defunct_callsigns" WHERE "area_served"='tamworth' AND "frequency"='0 88.9';
2-14155087-1
What is the Purpose of the Area Braidwood?
CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text );
SELECT "purpose" FROM "defunct_callsigns" WHERE "area_served"='braidwood';
2-14155087-1
What Band has a Frequency of 0 99.7 in the Area of Newcastle?
CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text );
SELECT "band" FROM "defunct_callsigns" WHERE "frequency"='0 99.7' AND "area_served"='newcastle';
2-14155087-1
What is the Frequency of Gosford when the Callsign of 2cfm?
CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text );
SELECT "frequency" FROM "defunct_callsigns" WHERE "area_served"='gosford' AND "callsign"='2cfm';
2-14155087-1
What is the On-air ID with the frequency of 105.9, and purpose of commercial?
CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text );
SELECT "on_air_id" FROM "defunct_callsigns" WHERE "frequency"='105.9' AND "purpose"='commercial';
2-14155087-1
What Time/Retired has a Points that's smaller than 11 and has a Laps of 74?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );
SELECT "time_retired" FROM "race" WHERE "points"<11 AND "laps"=74;
2-14876144-2
What Time/Retired has a Laps of 86 and the Team of HVM Racing?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );
SELECT "time_retired" FROM "race" WHERE "laps"=86 AND "team"='hvm racing';
2-14876144-2
What is the Catalog number in France?
CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" text );
SELECT "catalog" FROM "release_history" WHERE "region"='france';
2-15154382-1
What is the Format o Catalog F4 87199?
CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" text );
SELECT "format" FROM "release_history" WHERE "catalog"='f4 87199';
2-15154382-1
What is the Region of Catalog 885 973-4?
CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" text );
SELECT "region" FROM "release_history" WHERE "catalog"='885 973-4';
2-15154382-1
What is the Catalog number in the Region of France?
CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" text );
SELECT "catalog" FROM "release_history" WHERE "region"='france';
2-15154382-1
What Label has a Catalog number of 885 572-7 in 7" single Format?
CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" text );
SELECT "label" FROM "release_history" WHERE "format"='7\" single' AND "catalog"='885 572-7';
2-15154382-1
How many people in total attended the game on 1 november 1997?
CREATE TABLE "march_may" ( "date" text, "opponents" text, "result_f_a" text, "attendance" real, "league_position" text );
SELECT COUNT("attendance") FROM "march_may" WHERE "date"='1 november 1997';
2-13599021-3
Wins of 3, and a Pos. larger than 3 is what average loses?
CREATE TABLE "group_b_b_blingen" ( "pos" real, "matches" real, "wins" real, "loses" real, "results" text, "points" real, "diff" text );
SELECT AVG("loses") FROM "group_b_b_blingen" WHERE "wins"=3 AND "pos">3;
2-13844614-5
Matches larger than 5 is the sum of what position?
CREATE TABLE "group_b_b_blingen" ( "pos" real, "matches" real, "wins" real, "loses" real, "results" text, "points" real, "diff" text );
SELECT SUM("pos") FROM "group_b_b_blingen" WHERE "matches">5;
2-13844614-5
What years did Dwane Morrison had a pct less than 0.389 and losses less than 12?
CREATE TABLE "head_coaches_results" ( "name" text, "years" text, "seasons" real, "lost" real, "pct" real );
SELECT "years" FROM "head_coaches_results" WHERE "pct"<0.389 AND "lost"<12 AND "name"='dwane morrison';
2-14013485-3
How many seasons did Charles C. Farrell coach?
CREATE TABLE "head_coaches_results" ( "name" text, "years" text, "seasons" real, "lost" real, "pct" real );
SELECT COUNT("seasons") FROM "head_coaches_results" WHERE "name"='charles c. farrell';
2-14013485-3
What's the average pct for George Felton when he had losses greater than 7?
CREATE TABLE "head_coaches_results" ( "name" text, "years" text, "seasons" real, "lost" real, "pct" real );
SELECT AVG("pct") FROM "head_coaches_results" WHERE "lost">7 AND "name"='george felton';
2-14013485-3
Which Margin of victory has a Runner(s)-up of josé maria cañizares?
CREATE TABLE "european_tour_wins_8" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "margin_of_victory" FROM "european_tour_wins_8" WHERE "runner_s_up"='josé maria cañizares';
2-1520730-1
Which Tournament has a Runner(s)-up of bob charles?
CREATE TABLE "european_tour_wins_8" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "tournament" FROM "european_tour_wins_8" WHERE "runner_s_up"='bob charles';
2-1520730-1
What was the winning score on 7 jun 1976?
CREATE TABLE "european_tour_wins_8" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "winning_score" FROM "european_tour_wins_8" WHERE "date"='7 jun 1976';
2-1520730-1
Which Winning score has a Margin of victory of 1 stroke, and a Date of 21 jun 1981?
CREATE TABLE "european_tour_wins_8" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "winning_score" FROM "european_tour_wins_8" WHERE "margin_of_victory"='1 stroke' AND "date"='21 jun 1981';
2-1520730-1
On which date was the Winning score –5 (70-65-69-75=279)?
CREATE TABLE "european_tour_wins_8" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "date" FROM "european_tour_wins_8" WHERE "winning_score"='–5 (70-65-69-75=279)';
2-1520730-1
Which Runner(s)-up has a Winning score of –9 (71-68-72-68=279)?
CREATE TABLE "european_tour_wins_8" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "runner_s_up" FROM "european_tour_wins_8" WHERE "winning_score"='–9 (71-68-72-68=279)';
2-1520730-1
What is the leading scorer of the game with an attendance of 14,096?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text );
SELECT "leading_scorer" FROM "december" WHERE "attendance"='14,096';
2-14677944-4
What is the leading scorer of the game with the Celtics as the visiting team?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text );
SELECT "leading_scorer" FROM "december" WHERE "visitor"='celtics';
2-14677944-4
What is the date of the game with an attendance of 19,183?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text );
SELECT "date" FROM "december" WHERE "attendance"='19,183';
2-14677944-4
Name the time with track number less than 4 for you're my everything
CREATE TABLE "track_listing" ( "track_number" real, "song_title" text, "songwriter_s" text, "orchestra" text, "time" text );
SELECT "time" FROM "track_listing" WHERE "track_number"<4 AND "song_title"='you''re my everything';
2-14926260-1
Name the orchestra for ted varnick
CREATE TABLE "track_listing" ( "track_number" real, "song_title" text, "songwriter_s" text, "orchestra" text, "time" text );
SELECT "orchestra" FROM "track_listing" WHERE "songwriter_s"='ted varnick';
2-14926260-1
Name the songwriter for track number 12
CREATE TABLE "track_listing" ( "track_number" real, "song_title" text, "songwriter_s" text, "orchestra" text, "time" text );
SELECT "songwriter_s" FROM "track_listing" WHERE "track_number"=12;
2-14926260-1
Player of dan federman, and a Pick larger than 114 involves which highest round?
CREATE TABLE "nba_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text );
SELECT MAX("round") FROM "nba_draft" WHERE "player"='dan federman' AND "pick">114;
2-14828562-1
College of villanova has what round?
CREATE TABLE "nba_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text );
SELECT "round" FROM "nba_draft" WHERE "college"='villanova';
2-14828562-1
College of boston college has what pick?
CREATE TABLE "nba_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text );
SELECT "pick" FROM "nba_draft" WHERE "college"='boston college';
2-14828562-1
How many finalists were there when the years won was 2008 and the won % was greater than 33?
CREATE TABLE "performance_by_nation" ( "nation" text, "finalists" real, "winners" real, "runners_up" real, "pct_won" real, "years_won" text );
SELECT SUM("finalists") FROM "performance_by_nation" WHERE "years_won"='2008' AND "pct_won">33;
2-15234969-14
Where was the game site for the game that had a packers record of 2-2?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "time_time_zone" text, "game_site" text, "final_score" text, "record" text, "match_report" text );
SELECT "game_site" FROM "regular_season" WHERE "record"='2-2';
2-15047640-5
What is the final score of the game that was at raymond james stadium?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "time_time_zone" text, "game_site" text, "final_score" text, "record" text, "match_report" text );
SELECT "final_score" FROM "regular_season" WHERE "game_site"='raymond james stadium';
2-15047640-5
What is the match report for the game that was against Houston?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "time_time_zone" text, "game_site" text, "final_score" text, "record" text, "match_report" text );
SELECT "match_report" FROM "regular_season" WHERE "opponent"='houston';
2-15047640-5
Where is the game site for the game that had a packers record of 2-3?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "time_time_zone" text, "game_site" text, "final_score" text, "record" text, "match_report" text );
SELECT "game_site" FROM "regular_season" WHERE "record"='2-3';
2-15047640-5
What was the Record of the game with a Score of 118–105?
CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text );
SELECT "record" FROM "season_schedule" WHERE "score"='118–105';
2-13797388-6
What is the Record of the game with a Score of 107–108?
CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text );
SELECT "record" FROM "season_schedule" WHERE "score"='107–108';
2-13797388-6
What was the Record during the game with a Score of 113–103?
CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text );
SELECT "record" FROM "season_schedule" WHERE "score"='113–103';
2-13797388-6
How many points have a percentage of possible points of 67.22%?
CREATE TABLE "most_championship_points_in_a_season_up_" ( "driver" text, "points" real, "season" real, "races" real, "percentage_of_possible_points" text );
SELECT SUM("points") FROM "most_championship_points_in_a_season_up_" WHERE "percentage_of_possible_points"='67.22%';
2-13599687-60
Which races have points greater than 123, fernando alonso as the driver and a percentage of possible points of 74.44%?
CREATE TABLE "most_championship_points_in_a_season_up_" ( "driver" text, "points" real, "season" real, "races" real, "percentage_of_possible_points" text );
SELECT "races" FROM "most_championship_points_in_a_season_up_" WHERE "points">123 AND "driver"='fernando alonso' AND "percentage_of_possible_points"='74.44%';
2-13599687-60
How many seasons have fernando alonso as the driver, and a percentage of possible points of 64.12% and points less than 109?
CREATE TABLE "most_championship_points_in_a_season_up_" ( "driver" text, "points" real, "season" real, "races" real, "percentage_of_possible_points" text );
SELECT SUM("season") FROM "most_championship_points_in_a_season_up_" WHERE "driver"='fernando alonso' AND "percentage_of_possible_points"='64.12%' AND "points"<109;
2-13599687-60
Who remixed the version after 1999?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "remixed_by" FROM "official_versions" WHERE "year">1999;
2-14871719-2
Who remixed the version with a length of 3:58?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "remixed_by" FROM "official_versions" WHERE "length"='3:58';
2-14871719-2
Which album is the royal g's club mix version, which is remixed by royal garden sound, from?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "album" FROM "official_versions" WHERE "remixed_by"='royal garden sound' AND "version"='royal g''s club mix';
2-14871719-2
How many were in attendance in a week less than 4 with a record of 2–1?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "week"<4 AND "record"='2–1';
2-14608759-1
How many were in attendance at Griffith Stadium with Philadelphia Eagles as an opponent?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "game_site"='griffith stadium' AND "opponent"='philadelphia eagles';
2-14608759-1
In what week was the attendance 25,000?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" text );
SELECT "week" FROM "schedule" WHERE "attendance"='25,000';
2-14608759-1
What game site had a result at l 21–13?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" text );
SELECT "game_site" FROM "schedule" WHERE "result"='l 21–13';
2-14608759-1
What score has 34-19-6 as the record?
CREATE TABLE "schedule_and_results" ( "game" real, "february" real, "opponent" text, "score" text, "record" text );
SELECT "score" FROM "schedule_and_results" WHERE "record"='34-19-6';
2-14056030-6
What is the average February that has 56 as the game?
CREATE TABLE "schedule_and_results" ( "game" real, "february" real, "opponent" text, "score" text, "record" text );
SELECT AVG("february") FROM "schedule_and_results" WHERE "game"=56;
2-14056030-6
What is the sum of team impul with the date of 8 july
CREATE TABLE "race_calendar_and_results" ( "round" real, "track" text, "date" text, "pole_position" text, "fastest_race_lap" text, "winner" text, "team" text );
SELECT SUM("round") FROM "race_calendar_and_results" WHERE "team"='team impul' AND "date"='8 july';
2-14330477-2
what is the pole position of Round 9
CREATE TABLE "race_calendar_and_results" ( "round" real, "track" text, "date" text, "pole_position" text, "fastest_race_lap" text, "winner" text, "team" text );
SELECT "pole_position" FROM "race_calendar_and_results" WHERE "round"=9;
2-14330477-2
what is the lowest round pole position of satoshi motoyama
CREATE TABLE "race_calendar_and_results" ( "round" real, "track" text, "date" text, "pole_position" text, "fastest_race_lap" text, "winner" text, "team" text );
SELECT MIN("round") FROM "race_calendar_and_results" WHERE "pole_position"='satoshi motoyama';
2-14330477-2
What was the home team with the away team of rushden & diamonds?
CREATE TABLE "third_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "home_team" FROM "third_round" WHERE "away_team"='rushden & diamonds';
2-15154539-4
For the attendance of 2 january 1999 with a home team of plymouth argyle what is the tie no. ?
CREATE TABLE "third_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "tie_no" FROM "third_round" WHERE "attendance"='2 january 1999' AND "home_team"='plymouth argyle';
2-15154539-4
Which Lost has a Drawn larger than 1, and Games smaller than 7?
CREATE TABLE "world_championship_group_b_austria" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT MIN("lost") FROM "world_championship_group_b_austria" WHERE "drawn">1 AND "games"<7;
2-14155555-4
Which Drawn has Games smaller than 7?
CREATE TABLE "world_championship_group_b_austria" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT SUM("drawn") FROM "world_championship_group_b_austria" WHERE "games"<7;
2-14155555-4
How many Games have a Drawn smaller than 1, and a Lost larger than 4?
CREATE TABLE "world_championship_group_b_austria" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT COUNT("games") FROM "world_championship_group_b_austria" WHERE "drawn"<1 AND "lost">4;
2-14155555-4
what is the winning driver in taunus
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "winning_driver" FROM "other_grands_prix" WHERE "circuit"='taunus';
2-13793279-2
Which Record has a Home of Montreal Canadiens and a Date of April 22?
CREATE TABLE "montreal_canadiens_4_quebec_nordiques_2" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "montreal_canadiens_4_quebec_nordiques_2" WHERE "home"='montreal canadiens' AND "date"='april 22';
2-13907579-3
What Score has a Home of Montreal Canadiens and a Date of April 22?
CREATE TABLE "montreal_canadiens_4_quebec_nordiques_2" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "montreal_canadiens_4_quebec_nordiques_2" WHERE "home"='montreal canadiens' AND "date"='april 22';
2-13907579-3
What is the lowest number of bronze medals received by a nation with fewer than 0 gold medals?
CREATE TABLE "medallists_by_nation" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("bronze") FROM "medallists_by_nation" WHERE "gold"<0;
2-14890430-2
What is the lowest number of silver medals for a nation with fewer than 1 total medals?
CREATE TABLE "medallists_by_nation" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("silver") FROM "medallists_by_nation" WHERE "total"<1;
2-14890430-2
Which Rank has a Total larger than 17, and a Silver smaller than 13?
CREATE TABLE "total_all_around_medals_by_country_1963_" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "rank" FROM "total_all_around_medals_by_country_1963_" WHERE "total">17 AND "silver"<13;
2-14523619-4
Which Total is the highest one that has a Gold of 1, and a Nation of czechoslovakia?
CREATE TABLE "total_all_around_medals_by_country_1963_" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("total") FROM "total_all_around_medals_by_country_1963_" WHERE "gold"=1 AND "nation"='czechoslovakia';
2-14523619-4
How much Total has a Silver smaller than 0?
CREATE TABLE "total_all_around_medals_by_country_1963_" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "total_all_around_medals_by_country_1963_" WHERE "silver"<0;
2-14523619-4
Which Total has a Rank of 4, and a Silver smaller than 4?
CREATE TABLE "total_all_around_medals_by_country_1963_" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("total") FROM "total_all_around_medals_by_country_1963_" WHERE "rank"='4' AND "silver"<4;
2-14523619-4
Which Silver is the lowest one that has a Bronze smaller than 1, and a Gold larger than 0?
CREATE TABLE "total_all_around_medals_by_country_1963_" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("silver") FROM "total_all_around_medals_by_country_1963_" WHERE "bronze"<1 AND "gold">0;
2-14523619-4
WHich Year has a Music director(s) of anu malik?
CREATE TABLE "filmfare_awards" ( "year" real, "song" text, "film" text, "music_director_s" text, "lyricist" text );
SELECT SUM("year") FROM "filmfare_awards" WHERE "music_director_s"='anu malik';
2-1368369-1
Which Year has a Film of baazigar?
CREATE TABLE "filmfare_awards" ( "year" real, "song" text, "film" text, "music_director_s" text, "lyricist" text );
SELECT MAX("year") FROM "filmfare_awards" WHERE "film"='baazigar';
2-1368369-1
Which Film has a Song of "ek ladki ko dekha"?
CREATE TABLE "filmfare_awards" ( "year" real, "song" text, "film" text, "music_director_s" text, "lyricist" text );
SELECT "film" FROM "filmfare_awards" WHERE "song"='\"ek ladki ko dekha\"';
2-1368369-1
Which Record has an Opponent score smaller than 100, and a Date of december 6?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "bulls_score" real, "opponent_score" real, "record" text, "streak" text );
SELECT "record" FROM "schedule" WHERE "opponent_score"<100 AND "date"='december 6';
2-14575756-2
Which Record has an Opponent of detroit, and an Opponent score smaller than 87?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "bulls_score" real, "opponent_score" real, "record" text, "streak" text );
SELECT "record" FROM "schedule" WHERE "opponent"='detroit' AND "opponent_score"<87;
2-14575756-2
Which Opponent has a Streak of lost 1, and a Date of april 30?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "bulls_score" real, "opponent_score" real, "record" text, "streak" text );
SELECT "opponent" FROM "schedule" WHERE "streak"='lost 1' AND "date"='april 30';
2-14575756-2
What is the number of sequences for the name Alifoldz?
CREATE TABLE "nc_rna_gene_prediction_software" ( "name" text, "number_of_sequences_number_of_sequences" text, "alignment_alignment_predicts_an_alignment" text, "structure_structure_predicts_structure" text, "link" text );
SELECT "number_of_sequences_number_of_sequences" FROM "nc_rna_gene_prediction_software" WHERE "name"='alifoldz';
2-15308316-6
What is the link with an alignment input and any number of sequences?
CREATE TABLE "nc_rna_gene_prediction_software" ( "name" text, "number_of_sequences_number_of_sequences" text, "alignment_alignment_predicts_an_alignment" text, "structure_structure_predicts_structure" text, "link" text );
SELECT "link" FROM "nc_rna_gene_prediction_software" WHERE "alignment_alignment_predicts_an_alignment"='input' AND "number_of_sequences_number_of_sequences"='any';
2-15308316-6
What is the alignment that predicts an alignment of the linuxbinary link?
CREATE TABLE "nc_rna_gene_prediction_software" ( "name" text, "number_of_sequences_number_of_sequences" text, "alignment_alignment_predicts_an_alignment" text, "structure_structure_predicts_structure" text, "link" text );
SELECT "alignment_alignment_predicts_an_alignment" FROM "nc_rna_gene_prediction_software" WHERE "link"='linuxbinary';
2-15308316-6
What is the link of rnaz that predicts an alignment of input?
CREATE TABLE "nc_rna_gene_prediction_software" ( "name" text, "number_of_sequences_number_of_sequences" text, "alignment_alignment_predicts_an_alignment" text, "structure_structure_predicts_structure" text, "link" text );
SELECT "link" FROM "nc_rna_gene_prediction_software" WHERE "alignment_alignment_predicts_an_alignment"='input' AND "name"='rnaz';
2-15308316-6
Which Playoffs have a Year smaller than 2012, and an Open Cup of did not enter?
CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );
SELECT "playoffs" FROM "year_by_year" WHERE "year"<2012 AND "open_cup"='did not enter';
2-15056103-1
Which Year is the lowest one that has a Regular Season of 5th, atlantic, and a Division larger than 4?
CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text );
SELECT MIN("year") FROM "year_by_year" WHERE "regular_season"='5th, atlantic' AND "division">4;
2-15056103-1