question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the score of game 43?
CREATE TABLE table_name_57 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_57 WHERE game = 43
Which Males Rank is the highest one that has Females (%) smaller than 40, and Females Rank smaller than 22?
CREATE TABLE table_name_93 (males_rank INTEGER, females___percentage_ VARCHAR, females_rank VARCHAR)
SELECT MAX(males_rank) FROM table_name_93 WHERE females___percentage_ < 40 AND females_rank < 22
Name the most year with start less than 2
CREATE TABLE table_name_9 (year INTEGER, start INTEGER)
SELECT MAX(year) FROM table_name_9 WHERE start < 2
What round was a player from Indiana picked?
CREATE TABLE table_name_71 (round VARCHAR, college VARCHAR)
SELECT round FROM table_name_71 WHERE college = "indiana"
How many entries have a HK viewers of 2.23 million, and a Rank below 2?
CREATE TABLE table_name_34 (peak VARCHAR, hk_viewers VARCHAR, rank VARCHAR)
SELECT COUNT(peak) FROM table_name_34 WHERE hk_viewers = "2.23 million" AND rank > 2
If first elected on 2003 (appt.), when was the term limited?
CREATE TABLE table_26131768_4 (term_limited INTEGER, first_elected VARCHAR)
SELECT MIN(term_limited) FROM table_26131768_4 WHERE first_elected = "2003 (Appt.)"
What is the number of wins for gp2 series for racing engineering?
CREATE TABLE table_10420426_1 (wins VARCHAR, series VARCHAR, team VARCHAR)
SELECT COUNT(wins) FROM table_10420426_1 WHERE series = "GP2 series" AND team = "Racing Engineering"
Which Pos has a Dutch Cup of winner, and a Tier larger than 1?
CREATE TABLE table_name_1 (pos INTEGER, dutch_cup VARCHAR, tier VARCHAR)
SELECT AVG(pos) FROM table_name_1 WHERE dutch_cup = "winner" AND tier > 1
What is the lowest viewership in millions of the episode broadcast on 7 September 2001?
CREATE TABLE table_name_54 (viewership__millions_ INTEGER, broadcast_date VARCHAR)
SELECT MIN(viewership__millions_) FROM table_name_54 WHERE broadcast_date = "7 september 2001"
how many total number of moto2/250cc when country is united states
CREATE TABLE table_2889810_2 (moto2_250cc VARCHAR, country VARCHAR)
SELECT COUNT(moto2_250cc) FROM table_2889810_2 WHERE country = "United States"
How tall is the player jones, major major jones?
CREATE TABLE table_11734041_9 (height_in_ft VARCHAR, player VARCHAR)
SELECT height_in_ft FROM table_11734041_9 WHERE player = "Jones, Major Major Jones"
Name the nato/ us dod code for sabbot
CREATE TABLE table_211791_1 (nato_us_dod_code VARCHAR, nato_reporting_name VARCHAR)
SELECT nato_us_dod_code FROM table_211791_1 WHERE nato_reporting_name = "SABBOT"
When the strike rate is 70.10, what is the balls?
CREATE TABLE table_name_36 (balls VARCHAR, strike_rate VARCHAR)
SELECT balls FROM table_name_36 WHERE strike_rate = "70.10"
What is the name of the episode written by Ross Brown?
CREATE TABLE table_2468961_2 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_2468961_2 WHERE written_by = "Ross Brown"
What is the season where Vasco da gama is the score?
CREATE TABLE table_name_87 (season VARCHAR, score VARCHAR)
SELECT season FROM table_name_87 WHERE score = "vasco da gama"
What is the Lead for the 1999–00 season?
CREATE TABLE table_name_87 (lead VARCHAR, season VARCHAR)
SELECT lead FROM table_name_87 WHERE season = "1999–00"
Name the runner-up for algarve tournament
CREATE TABLE table_name_40 (runner_up VARCHAR, tournament VARCHAR)
SELECT runner_up FROM table_name_40 WHERE tournament = "algarve"
which NHL team has a College/Junior/Club Team (League) of shattuck-saint mary's school (midget major aaa)?
CREATE TABLE table_name_63 (nhl_team VARCHAR, college_junior_club_team__league_ VARCHAR)
SELECT nhl_team FROM table_name_63 WHERE college_junior_club_team__league_ = "shattuck-saint mary's school (midget major aaa)"
on april 9 what was the attendance?
CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_40 WHERE date = "april 9"
What date of segment description red line mos-2 north open?
CREATE TABLE table_1817879_2 (date_opened VARCHAR, segment_description VARCHAR)
SELECT date_opened FROM table_1817879_2 WHERE segment_description = "Red Line MOS-2 North"
Im the match where the home team is Melbourne Victory, what was the crowd attendance?
CREATE TABLE table_name_97 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_97 WHERE home_team = "melbourne victory"
What event had a tko (punches) method and jason macdonald as the opponent?
CREATE TABLE table_name_74 (event VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_74 WHERE method = "tko (punches)" AND opponent = "jason macdonald"
what's the salmonella with escherichia being sepb (escn)
CREATE TABLE table_10321124_1 (salmonella VARCHAR, escherichia VARCHAR)
SELECT salmonella FROM table_10321124_1 WHERE escherichia = "SepB (EscN)"
What is the games played when the category is points per game?
CREATE TABLE table_28628309_8 (games_played INTEGER, category VARCHAR)
SELECT MIN(games_played) FROM table_28628309_8 WHERE category = "Points per game"
Name the total number of club worl cup for djibril cisse
CREATE TABLE table_19764939_1 (club_world_cup VARCHAR, player VARCHAR)
SELECT COUNT(club_world_cup) FROM table_19764939_1 WHERE player = "Djibril Cisse"
What team used the toyota rvx-07 2.4 v8 engine
CREATE TABLE table_name_79 (entrant VARCHAR, engine VARCHAR)
SELECT entrant FROM table_name_79 WHERE engine = "toyota rvx-07 2.4 v8"
Who is the partnering that had the opponents of Marcelo Melo André Sá?
CREATE TABLE table_name_29 (partnering VARCHAR, opponents_in_final VARCHAR)
SELECT partnering FROM table_name_29 WHERE opponents_in_final = "marcelo melo andré sá"
Which Circuit has a Winning Driver of hans-joachim stuck, and a Round of 3?
CREATE TABLE table_name_74 (circuit VARCHAR, winning_driver VARCHAR, round VARCHAR)
SELECT circuit FROM table_name_74 WHERE winning_driver = "hans-joachim stuck" AND round = 3
Which County has a School of bloomfield?
CREATE TABLE table_name_32 (county VARCHAR, school VARCHAR)
SELECT county FROM table_name_32 WHERE school = "bloomfield"
What was the home team's score at the game attended by more than 24,637?
CREATE TABLE table_name_81 (home_team VARCHAR, crowd INTEGER)
SELECT home_team AS score FROM table_name_81 WHERE crowd > 24 OFFSET 637
What is the Party of the council member for the Fifth District?
CREATE TABLE table_name_77 (party VARCHAR, constiuency VARCHAR)
SELECT party FROM table_name_77 WHERE constiuency = "council member for the fifth district"
When did Quvenzhané Wallis first win?
CREATE TABLE table_name_76 (year INTEGER, actress VARCHAR)
SELECT MIN(year) FROM table_name_76 WHERE actress = "quvenzhané wallis"
What are the results for Bill Shuster?
CREATE TABLE table_name_71 (results VARCHAR, incumbent VARCHAR)
SELECT results FROM table_name_71 WHERE incumbent = "bill shuster"
What is the first leg score when team 2 is Wagad Mogadishu?
CREATE TABLE table_name_61 (team_2 VARCHAR)
SELECT 1 AS st_leg FROM table_name_61 WHERE team_2 = "wagad mogadishu"
How many silvers are there with more than 2 golds in Germany?
CREATE TABLE table_name_81 (silver VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT COUNT(silver) FROM table_name_81 WHERE gold > 2 AND nation = "germany"
What position does Bobby Micho, who was picked later than 186 others, play on the Broncos team?
CREATE TABLE table_name_30 (position VARCHAR, pick__number VARCHAR, player VARCHAR)
SELECT position FROM table_name_30 WHERE pick__number > 186 AND player = "bobby micho"
What is the highest debut year for player Joe Youlden, with goals larger than 0?
CREATE TABLE table_name_56 (debut_year INTEGER, player VARCHAR, goals VARCHAR)
SELECT MAX(debut_year) FROM table_name_56 WHERE player = "joe youlden" AND goals > 0
Name the sum of played for position less than 9 and draws more than 19 with goals against more than 27
CREATE TABLE table_name_34 (played INTEGER, goals_against VARCHAR, position VARCHAR, draws VARCHAR)
SELECT SUM(played) FROM table_name_34 WHERE position < 9 AND draws > 19 AND goals_against > 27
WHAT IS THE TOTAL WITH WARD LARGER THAN 60?
CREATE TABLE table_name_96 (total INTEGER, ward INTEGER)
SELECT MIN(total) FROM table_name_96 WHERE ward > 60
What is the Term Start date of the Progressive Party Prime Minister?
CREATE TABLE table_name_45 (term_start VARCHAR, political_party VARCHAR)
SELECT term_start FROM table_name_45 WHERE political_party = "progressive party"
Which Spoofed title had Mort Drucker as the artist in issue 88?
CREATE TABLE table_name_97 (spoofed_title VARCHAR, artist VARCHAR, issue VARCHAR)
SELECT spoofed_title FROM table_name_97 WHERE artist = "mort drucker" AND issue = 88
what kind of 2007 has a 1999 of —, and a Model of seat mii?
CREATE TABLE table_name_16 (model VARCHAR)
SELECT 2007 FROM table_name_16 WHERE 1999 = "—" AND model = "seat mii"
What was the losing bonus when the points against was 445?
CREATE TABLE table_12792876_3 (losing_bonus VARCHAR, points_against VARCHAR)
SELECT losing_bonus FROM table_12792876_3 WHERE points_against = "445"
What is the Pole Position of the Brazilian Grand Prix race?
CREATE TABLE table_name_28 (pole_position VARCHAR, race VARCHAR)
SELECT pole_position FROM table_name_28 WHERE race = "brazilian grand prix"
How many people were watching when Livingston was the runner-up?
CREATE TABLE table_name_95 (attendance VARCHAR, runner_up VARCHAR)
SELECT attendance FROM table_name_95 WHERE runner_up = "livingston"
What is the sum of the ranks for india?
CREATE TABLE table_name_59 (rank INTEGER, country VARCHAR)
SELECT SUM(rank) FROM table_name_59 WHERE country = "india"
What's the 1991 when 1999 is 14?
CREATE TABLE table_name_25 (Id VARCHAR)
SELECT 1991 FROM table_name_25 WHERE 1999 = "14"
What is the sum of Against when the drawn is less than 2, the position is more than 8, and the lost is more than 6.
CREATE TABLE table_name_35 (against INTEGER, lost VARCHAR, drawn VARCHAR, position VARCHAR)
SELECT SUM(against) FROM table_name_35 WHERE drawn < 2 AND position > 8 AND lost > 6
What is the maximum points against when team's points are 10?
CREATE TABLE table_16770037_3 (points INTEGER, pts VARCHAR)
SELECT MAX(points) AS against FROM table_16770037_3 WHERE pts = 10
GT Force of yes, and a G27 Racing Wheel of 16 involves which driving force ex?
CREATE TABLE table_name_87 (driving_force_ex VARCHAR, gt_force VARCHAR, g27_racing_wheel VARCHAR)
SELECT driving_force_ex FROM table_name_87 WHERE gt_force = "yes" AND g27_racing_wheel = "16"
How many different brief descriptions are there for crashes with 0/161 fatalities?
CREATE TABLE table_229917_2 (brief_description VARCHAR, fatalities VARCHAR)
SELECT COUNT(brief_description) FROM table_229917_2 WHERE fatalities = "0/161"
Which chasis was in the year 1954?
CREATE TABLE table_name_76 (chassis VARCHAR, year VARCHAR)
SELECT chassis FROM table_name_76 WHERE year = 1954
Which SECR numbers have a class of b1?
CREATE TABLE table_name_36 (secr_numbers VARCHAR, class VARCHAR)
SELECT secr_numbers FROM table_name_36 WHERE class = "b1"
Who is the champion with a ¥200,000,000 purse?
CREATE TABLE table_name_96 (champion VARCHAR, purse VARCHAR)
SELECT champion FROM table_name_96 WHERE purse = "¥200,000,000"
How many different Heights (cm) did Mark Fusco have, when his Jersey # was less than 16?
CREATE TABLE table_name_19 (height__cm_ VARCHAR, jersey__number VARCHAR, name VARCHAR)
SELECT COUNT(height__cm_) FROM table_name_19 WHERE jersey__number < 16 AND name = "mark fusco"
What is the highest loss before game 14?
CREATE TABLE table_name_31 (loss INTEGER, game INTEGER)
SELECT MAX(loss) FROM table_name_31 WHERE game < 14
Who was the Class A winner in 2006-07?
CREATE TABLE table_14603057_2 (class_a VARCHAR, school_year VARCHAR)
SELECT class_a FROM table_14603057_2 WHERE school_year = "2006-07"
Who is the home captain of the match that resulted [[|]] by 151 runs?
CREATE TABLE table_name_70 (home_captain VARCHAR, result VARCHAR)
SELECT home_captain FROM table_name_70 WHERE result = "[[|]] by 151 runs"
Amal McCaskill who plays forward-center played for what school/club team?
CREATE TABLE table_name_55 (school_club_team VARCHAR, position VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_55 WHERE position = "forward-center" AND player = "amal mccaskill"
Which NFL Club has a Player of sam tidmore, and a Pick of 81?
CREATE TABLE table_name_43 (nfl_club VARCHAR, player VARCHAR, pick VARCHAR)
SELECT nfl_club FROM table_name_43 WHERE player = "sam tidmore" AND pick = 81
What hometown is Kyle love from?
CREATE TABLE table_name_47 (hometown VARCHAR, name VARCHAR)
SELECT hometown FROM table_name_47 WHERE name = "kyle love"
Who is the writer for Red Rose Chain LTD?
CREATE TABLE table_name_4 (writer_s_ VARCHAR, recipient VARCHAR)
SELECT writer_s_ FROM table_name_4 WHERE recipient = "red rose chain ltd"
What is the name of the golfer that has the score of 73-65=138?
CREATE TABLE table_name_81 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_81 WHERE score = 73 - 65 = 138
Round 1 of 71 has how many highest money?
CREATE TABLE table_name_33 (money__ INTEGER, round_1 VARCHAR)
SELECT MAX(money__) AS $_ FROM table_name_33 WHERE round_1 = "71"
What was Footscray's score as an away team?
CREATE TABLE table_name_45 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_45 WHERE away_team = "footscray"
Find the name and capacity of products with price greater than 700 (in USD).
CREATE TABLE Catalog_Contents (catalog_entry_name VARCHAR, capacity VARCHAR, price_in_dollars INTEGER)
SELECT catalog_entry_name, capacity FROM Catalog_Contents WHERE price_in_dollars > 700
What is the total number of years won by Justin Leonard with a to par under 9?
CREATE TABLE table_name_95 (year_s__won VARCHAR, player VARCHAR, to_par VARCHAR)
SELECT COUNT(year_s__won) FROM table_name_95 WHERE player = "justin leonard" AND to_par < 9
Name the Silver which has a Bronze of 19, and a Total larger than 58?
CREATE TABLE table_name_1 (silver INTEGER, bronze VARCHAR, total VARCHAR)
SELECT MIN(silver) FROM table_name_1 WHERE bronze = 19 AND total > 58
What is the district with the result mac collins (r) unopposed?
CREATE TABLE table_27021001_1 (district VARCHAR, result VARCHAR)
SELECT district FROM table_27021001_1 WHERE result = "Mac Collins (R) unopposed"
What is the result/score that has 6-5 as the record?
CREATE TABLE table_name_45 (result_score VARCHAR, record VARCHAR)
SELECT result_score FROM table_name_45 WHERE record = "6-5"
Find the package choice and series name of the TV channel that has high definition TV.
CREATE TABLE TV_Channel (package_option VARCHAR, series_name VARCHAR, hight_definition_TV VARCHAR)
SELECT package_option, series_name FROM TV_Channel WHERE hight_definition_TV = "yes"
What home team played when there was an attendance of 568?
CREATE TABLE table_name_53 (home_team VARCHAR, attendance VARCHAR)
SELECT home_team FROM table_name_53 WHERE attendance = "568"
In 1987, what is the Runners-up when Stefan Edberg is Champion?
CREATE TABLE table_name_95 (runners_up VARCHAR, champions VARCHAR, year VARCHAR)
SELECT runners_up FROM table_name_95 WHERE champions = "stefan edberg" AND year = 1987
Who played in the semi finals matches at the Buick WCT finals?
CREATE TABLE table_2413292_1 (semifinal_matches VARCHAR, commercial_name VARCHAR)
SELECT semifinal_matches FROM table_2413292_1 WHERE commercial_name = "Buick WCT Finals"
In what nation is Bordeaux?
CREATE TABLE table_name_50 (nat VARCHAR, moving_from VARCHAR)
SELECT nat FROM table_name_50 WHERE moving_from = "bordeaux"
What's the gloss with Castitas(Latin)?
CREATE TABLE table_name_79 (gloss VARCHAR, latin VARCHAR)
SELECT gloss FROM table_name_79 WHERE latin = "castitas"
What score has tim duncan (14) as the high rebounds?
CREATE TABLE table_name_17 (score VARCHAR, high_rebounds VARCHAR)
SELECT score FROM table_name_17 WHERE high_rebounds = "tim duncan (14)"
What are the names and buying prices of all the products?
CREATE TABLE products (product_name VARCHAR, typical_buying_price VARCHAR)
SELECT product_name, typical_buying_price FROM products
What is Score, when Edition is 2011, and when Surface is Hard (i)?
CREATE TABLE table_name_37 (score VARCHAR, edition VARCHAR, surface VARCHAR)
SELECT score FROM table_name_37 WHERE edition = 2011 AND surface = "hard (i)"
What was the score on January 23?
CREATE TABLE table_name_51 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_51 WHERE date = "january 23"
list the local authorities and services provided by all stations.
CREATE TABLE station (local_authority VARCHAR, services VARCHAR)
SELECT local_authority, services FROM station
What was the Score on 25 May 2007?
CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_79 WHERE date = "25 may 2007"
What is the highest number of byes when draws are larger than 0?
CREATE TABLE table_name_37 (byes INTEGER, draws INTEGER)
SELECT MAX(byes) FROM table_name_37 WHERE draws > 0
Which Record has a Round larger than 2, and an Event of bellator 38?
CREATE TABLE table_name_62 (record VARCHAR, round VARCHAR, event VARCHAR)
SELECT record FROM table_name_62 WHERE round > 2 AND event = "bellator 38"
Who had the high rebounds, and how many did he have, for the game played on April 9?
CREATE TABLE table_name_24 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_name_24 WHERE date = "april 9"
Who was the opponent on July 27?
CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_44 WHERE date = "july 27"
How many overs did Oliver Hannon-Dalby have?
CREATE TABLE table_15893020_2 (overs VARCHAR, player VARCHAR)
SELECT overs FROM table_15893020_2 WHERE player = "Oliver Hannon-Dalby"
What is Second Vice President, when Third Vice President is "Gen. Juan Alonso", and when Inaugurated is "15 March 1940"?
CREATE TABLE table_name_74 (second_vice_president VARCHAR, third_vice_president VARCHAR, inaugurated VARCHAR)
SELECT second_vice_president FROM table_name_74 WHERE third_vice_president = "gen. juan alonso" AND inaugurated = "15 march 1940"
What is Darrius Heyward-Bey's average with more than 20 yards and less than 80 long?
CREATE TABLE table_name_89 (avg VARCHAR, long VARCHAR, yards VARCHAR, player VARCHAR)
SELECT COUNT(avg) FROM table_name_89 WHERE yards > 20 AND player = "darrius heyward-bey" AND long < 80
What is the Attendance of Game 24?
CREATE TABLE table_name_94 (attendance INTEGER, game VARCHAR)
SELECT SUM(attendance) FROM table_name_94 WHERE game = 24
Which circuit is on July 24?
CREATE TABLE table_name_77 (circuit VARCHAR, date VARCHAR)
SELECT circuit FROM table_name_77 WHERE date = "july 24"
How many weeks had an attendance at 69,149?
CREATE TABLE table_name_12 (week VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_12 WHERE attendance = "69,149"
Who is the visiting team when Dipietro received a decision on October 27?
CREATE TABLE table_name_50 (visitor VARCHAR, decision VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_50 WHERE decision = "dipietro" AND date = "october 27"
What is the prize money for the second round qualifying that is listed?
CREATE TABLE table_name_60 (prize_money VARCHAR, round VARCHAR)
SELECT prize_money FROM table_name_60 WHERE round = "second round qualifying"
Which Pick # is the highest one that has a Name of william middleton, and a Round larger than 5?
CREATE TABLE table_name_32 (pick__number INTEGER, name VARCHAR, round VARCHAR)
SELECT MAX(pick__number) FROM table_name_32 WHERE name = "william middleton" AND round > 5
What's the number of the episode seen by 2.99 millions of people in the US, where performer 2 was Heather Anne Campbell?
CREATE TABLE table_23294081_11 (_number INTEGER, performer_2 VARCHAR, us_viewers__millions_ VARCHAR)
SELECT MIN(_number) FROM table_23294081_11 WHERE performer_2 = "Heather Anne Campbell" AND us_viewers__millions_ = "2.99"
What is the number of results for james shannon?
CREATE TABLE table_1341598_22 (result VARCHAR, incumbent VARCHAR)
SELECT COUNT(result) FROM table_1341598_22 WHERE incumbent = "James Shannon"
Which Chart peak has a Time of 3:11?
CREATE TABLE table_name_30 (chart_peak VARCHAR, time VARCHAR)
SELECT chart_peak FROM table_name_30 WHERE time = "3:11"
how many lands with longitude of -100.895783 are?
CREATE TABLE table_18600760_19 (land___sqmi__ VARCHAR, longitude VARCHAR)
SELECT COUNT(land___sqmi__) FROM table_18600760_19 WHERE longitude = "-100.895783"
Who was the winning driver on 13 August?
CREATE TABLE table_1137718_2 (winning_driver VARCHAR, date VARCHAR)
SELECT winning_driver FROM table_1137718_2 WHERE date = "13 August"