question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which cornerback has the lowest overall and a pick number smaller than 16?
CREATE TABLE table_name_30 (overall INTEGER, position VARCHAR, pick__number VARCHAR)
SELECT MIN(overall) FROM table_name_30 WHERE position = "cornerback" AND pick__number < 16
Which Economic Class has a Barangay of imelda bliss village?
CREATE TABLE table_name_77 (economic_class VARCHAR, barangay VARCHAR)
SELECT economic_class FROM table_name_77 WHERE barangay = "imelda bliss village"
I want the total number of people in the crowd for essendon home team
CREATE TABLE table_name_31 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_31 WHERE home_team = "essendon"
How many different cities are represented by contestants whose height stands at 1.80?
CREATE TABLE table_22447251_2 (hometown VARCHAR, height VARCHAR)
SELECT COUNT(hometown) FROM table_22447251_2 WHERE height = "1.80"
What was the result of the game that was attended by 80,886 people?
CREATE TABLE table_name_38 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_38 WHERE attendance = "80,886"
What is the opponent for the tournament of rio de janeiro?
CREATE TABLE table_name_22 (opponent VARCHAR, tournament VARCHAR)
SELECT opponent FROM table_name_22 WHERE tournament = "rio de janeiro"
What is Speed, when Time is 1:24.23.0?
CREATE TABLE table_name_98 (speed VARCHAR, time VARCHAR)
SELECT speed FROM table_name_98 WHERE time = "1:24.23.0"
Which college is present in the hometown of Crete, Illinois?
CREATE TABLE table_11677691_9 (college VARCHAR, hometown VARCHAR)
SELECT college FROM table_11677691_9 WHERE hometown = "Crete, Illinois"
What is Score, when Player is "Vijay Singh"?
CREATE TABLE table_name_41 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_41 WHERE player = "vijay singh"
What was willie wood's to par?
CREATE TABLE table_name_15 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_15 WHERE player = "willie wood"
How many prizes were available in the competition where 696 people entered?
CREATE TABLE table_2715355_1 (winners VARCHAR, entrants VARCHAR)
SELECT COUNT(winners) AS Prize FROM table_2715355_1 WHERE entrants = 696
How many total gold medals did Australia receive?
CREATE TABLE table_name_80 (gold VARCHAR, nation VARCHAR)
SELECT COUNT(gold) FROM table_name_80 WHERE nation = "australia"
What is the number of distinct publication dates?
CREATE TABLE publication (Publication_Date VARCHAR)
SELECT COUNT(DISTINCT Publication_Date) FROM publication
How many players named Dean Kirkland were picked
CREATE TABLE table_15353123_1 (pick__number VARCHAR, player VARCHAR)
SELECT COUNT(pick__number) FROM table_15353123_1 WHERE player = "Dean Kirkland"
How many goal ratios have rank of 2 with more than 44 games?
CREATE TABLE table_name_46 (goal_ratio VARCHAR, rank VARCHAR, games VARCHAR)
SELECT COUNT(goal_ratio) FROM table_name_46 WHERE rank = 2 AND games > 44
What opposition do 31.1% of Social Democrats have?
CREATE TABLE table_name_70 (opposition VARCHAR, social_democrats__a_ VARCHAR)
SELECT opposition FROM table_name_70 WHERE social_democrats__a_ = "31.1%"
what is the declination (j2000) when the ngc number is higher than 3593?
CREATE TABLE table_name_90 (declination___j2000__ VARCHAR, ngc_number INTEGER)
SELECT declination___j2000__ FROM table_name_90 WHERE ngc_number > 3593
Who had the most assists agains New Orleans?
CREATE TABLE table_27755603_7 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_27755603_7 WHERE team = "New Orleans"
In what district was Tim Holden the incumbent?
CREATE TABLE table_1341453_40 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341453_40 WHERE incumbent = "Tim Holden"
What was spent per voter when total amount spent was 210,280,000?
CREATE TABLE table_22097588_9 (spent_per_voter___php__ VARCHAR, amount_spent___php__ VARCHAR)
SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE amount_spent___php__ = "210,280,000"
How many people were in attendance on may 2?
CREATE TABLE table_name_3 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_name_3 WHERE date = "may 2"
What was the score of the game against Minnesota?
CREATE TABLE table_name_55 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_55 WHERE opponent = "minnesota"
What was the loss of the game when the record was 16–15?
CREATE TABLE table_name_19 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_19 WHERE record = "16–15"
Name the winning driver for 20 april
CREATE TABLE table_25322130_3 (winning_driver VARCHAR, date VARCHAR)
SELECT winning_driver FROM table_25322130_3 WHERE date = "20 April"
What is the Edition of the release in Germany?
CREATE TABLE table_name_82 (edition_s_ VARCHAR, region VARCHAR)
SELECT edition_s_ FROM table_name_82 WHERE region = "germany"
What did Xavier Doherty (Tasmania) set as his highest Overs?
CREATE TABLE table_name_25 (overs INTEGER, player VARCHAR)
SELECT MAX(overs) FROM table_name_25 WHERE player = "xavier doherty (tasmania)"
WHO WAS THE SEMIFINALISTS FOR THE HAMBURG TOURNAMENT?
CREATE TABLE table_name_82 (semifinalists VARCHAR, tournament VARCHAR)
SELECT semifinalists FROM table_name_82 WHERE tournament = "hamburg"
What was the score in the match against Sanaz Marand?
CREATE TABLE table_name_54 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_54 WHERE opponent = "sanaz marand"
What are the High assists for February 2?
CREATE TABLE table_name_12 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_name_12 WHERE date = "february 2"
What was the final score of the Australian Open?
CREATE TABLE table_name_13 (score_in_the_final VARCHAR, championship VARCHAR)
SELECT score_in_the_final FROM table_name_13 WHERE championship = "australian open"
Which Win percentage has a Name of red kelly?
CREATE TABLE table_name_55 (win_percentage INTEGER, name VARCHAR)
SELECT SUM(win_percentage) FROM table_name_55 WHERE name = "red kelly"
Who did Edmonton Oilers get for their draft pick?
CREATE TABLE table_2886617_8 (player VARCHAR, nhl_team VARCHAR)
SELECT player FROM table_2886617_8 WHERE nhl_team = "Edmonton Oilers"
What is the smallest year when Ubisoft Montreal was the developer (s)?
CREATE TABLE table_name_38 (year INTEGER, developer_s_ VARCHAR)
SELECT MIN(year) FROM table_name_38 WHERE developer_s_ = "ubisoft montreal"
what is the greatest number of wins by japanese formula three?
CREATE TABLE table_10748727_1 (wins INTEGER, series VARCHAR)
SELECT MAX(wins) FROM table_10748727_1 WHERE series = "Japanese Formula Three"
What is the propulsion when the vessel is marianarray?
CREATE TABLE table_28132970_5 (propulsion VARCHAR, vessel VARCHAR)
SELECT propulsion FROM table_28132970_5 WHERE vessel = "Marianarray"
Name the rally base for rallye de france alsace
CREATE TABLE table_23385853_1 (rally_base VARCHAR, rally_name VARCHAR)
SELECT rally_base FROM table_23385853_1 WHERE rally_name = "Rallye de France Alsace"
What is the record of the game with 28,135 people in attendance?
CREATE TABLE table_name_30 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_30 WHERE attendance = "28,135"
For player is jamal mayers mention the minimum pick
CREATE TABLE table_2781227_4 (pick INTEGER, player VARCHAR)
SELECT MIN(pick) FROM table_2781227_4 WHERE player = "Jamal Mayers"
What is the smallest total score for the Pasodoble style?
CREATE TABLE table_28677723_9 (total INTEGER, style VARCHAR)
SELECT MIN(total) FROM table_28677723_9 WHERE style = "Pasodoble"
WHERE THE WEEK NUMBER WAS TOP 8, WHAT WAS THE THEME?
CREATE TABLE table_15778392_1 (theme VARCHAR, week__number VARCHAR)
SELECT theme FROM table_15778392_1 WHERE week__number = "Top 8"
What was the score when the home team was Stockport County?
CREATE TABLE table_name_73 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_73 WHERE home_team = "stockport county"
List the presbyterian members of the senate.
CREATE TABLE table_20803065_1 (senator VARCHAR, religion VARCHAR)
SELECT senator FROM table_20803065_1 WHERE religion = "Presbyterian"
Name the total number of popular votes for mn attorney general in 1994
CREATE TABLE table_name_74 (popular_votes VARCHAR, office VARCHAR, year VARCHAR)
SELECT COUNT(popular_votes) FROM table_name_74 WHERE office = "mn attorney general" AND year = 1994
Tell me the named for latitude of 6.4
CREATE TABLE table_name_61 (named VARCHAR, latitude VARCHAR)
SELECT named AS after FROM table_name_61 WHERE latitude = 6.4
List the names of pilots in ascending order of rank.
CREATE TABLE pilot (Pilot_name VARCHAR, Rank VARCHAR)
SELECT Pilot_name FROM pilot ORDER BY Rank
What is the highest number of 5w when there was a 21.33 average?
CREATE TABLE table_15893020_2 (average VARCHAR)
SELECT MAX(5 AS w) FROM table_15893020_2 WHERE average = "21.33"
What Tournament has a Date of 20 december 2010?
CREATE TABLE table_name_64 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_64 WHERE date = "20 december 2010"
Which date was the syracuse circuit?
CREATE TABLE table_name_67 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_67 WHERE circuit = "syracuse"
How many laps for alexander wurz with a grid under 12?
CREATE TABLE table_name_22 (laps VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT COUNT(laps) FROM table_name_22 WHERE grid < 12 AND driver = "alexander wurz"
Who has the smallest crowd in the Venue of Arden Street Oval?
CREATE TABLE table_name_56 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_56 WHERE venue = "arden street oval"
What are the Asian countries which have a population larger than that of any country in Africa?
CREATE TABLE country (Name VARCHAR, Continent VARCHAR, population INTEGER)
SELECT Name FROM country WHERE Continent = "Asia" AND population > (SELECT MIN(population) FROM country WHERE Continent = "Africa")
What score resulted in a winner after 2008?
CREATE TABLE table_name_18 (score VARCHAR, outcome VARCHAR, year VARCHAR)
SELECT score FROM table_name_18 WHERE outcome = "winner" AND year > 2008
How many opponents were there when the opponent was Arizona State?
CREATE TABLE table_22815265_1 (opponents INTEGER, opponent VARCHAR)
SELECT MIN(opponents) FROM table_22815265_1 WHERE opponent = "Arizona State"
who is the manufacturer for the order year 1998?
CREATE TABLE table_10007452_3 (manufacturer VARCHAR, order_year VARCHAR)
SELECT manufacturer FROM table_10007452_3 WHERE order_year = "1998"
what is the date when the venue is junction oval?
CREATE TABLE table_name_47 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_47 WHERE venue = "junction oval"
Which the Fastest Lap has a Season of 2009 and Poles smaller than 0?
CREATE TABLE table_name_65 (fastest_laps INTEGER, season VARCHAR, poles VARCHAR)
SELECT MAX(fastest_laps) FROM table_name_65 WHERE season = "2009" AND poles < 0
Who were the runners-up when the individual winner was Tiger Woods?
CREATE TABLE table_name_17 (runners_up VARCHAR, individual VARCHAR)
SELECT runners_up FROM table_name_17 WHERE individual = "tiger woods"
What genre has the game god of war?
CREATE TABLE table_name_91 (genre VARCHAR, game VARCHAR)
SELECT genre FROM table_name_91 WHERE game = "god of war"
What is the score for the game played on January 25?
CREATE TABLE table_17288825_7 (score VARCHAR, date VARCHAR)
SELECT score FROM table_17288825_7 WHERE date = "January 25"
What is the total number of Points 1, when Lost is less than 20, and when Goals For is greater than 92?
CREATE TABLE table_name_10 (points_1 VARCHAR, lost VARCHAR, goals_for VARCHAR)
SELECT COUNT(points_1) FROM table_name_10 WHERE lost < 20 AND goals_for > 92
What is the c (nf/km) when the r (ω/km) is 463.59?
CREATE TABLE table_261642_3 (c__nf_km_ VARCHAR, r__ω_km_ VARCHAR)
SELECT c__nf_km_ FROM table_261642_3 WHERE r__ω_km_ = "463.59"
What is the FCSL Team when the MLB Team is Toronto Blue Jays, in the 4th round?
CREATE TABLE table_name_22 (fcsl_team VARCHAR, mlb_team VARCHAR, round VARCHAR)
SELECT fcsl_team FROM table_name_22 WHERE mlb_team = "toronto blue jays" AND round = "4th"
Who is the independent regional force when democratic coalition is (r) jorge tarud ( ppd )?
CREATE TABLE table_2651755_1 (independent_regional_force VARCHAR, democratic_coalition VARCHAR)
SELECT independent_regional_force FROM table_2651755_1 WHERE democratic_coalition = "(R) Jorge Tarud ( PPD )"
What was the home team score when essendon was the away team?
CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_51 WHERE away_team = "essendon"
Find the number of routes that have destination John F Kennedy International Airport.
CREATE TABLE airports (apid VARCHAR, name VARCHAR); CREATE TABLE routes (dst_apid VARCHAR)
SELECT COUNT(*) FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid WHERE T1.name = 'John F Kennedy International Airport'
What is the highest Draws with less than 18 losses for north melbourne later than 1926?
CREATE TABLE table_name_45 (draws INTEGER, season VARCHAR, losses VARCHAR, team VARCHAR)
SELECT MAX(draws) FROM table_name_45 WHERE losses < 18 AND team = "north melbourne" AND season > 1926
What is the average Apr 2013 with a Jun 2011 less than 14?
CREATE TABLE table_name_76 (apr_2013 INTEGER, jun_2011 INTEGER)
SELECT AVG(apr_2013) FROM table_name_76 WHERE jun_2011 < 14
What's the participle when the verbal noun is i-bil-tze?
CREATE TABLE table_12784134_1 (participle VARCHAR, verbal_noun VARCHAR)
SELECT participle FROM table_12784134_1 WHERE verbal_noun = "i-bil-tze"
Which Ending has British of iz, and Examples of achilles, appendices, fæces?
CREATE TABLE table_name_49 (ending VARCHAR, british VARCHAR, examples VARCHAR)
SELECT ending FROM table_name_49 WHERE british = "iz" AND examples = "achilles, appendices, fæces"
What is the percentage of total area in the ecozone that the percentage protected is 8.06?
CREATE TABLE table_15555661_2 (percentage_of_total_area VARCHAR, percentage_protected VARCHAR)
SELECT percentage_of_total_area FROM table_15555661_2 WHERE percentage_protected = "8.06"
What is the total laps for grid 19?
CREATE TABLE table_name_24 (laps VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_24 WHERE grid = 19
What is the name of Rapid City's Adult Contemporary station?
CREATE TABLE table_134987_3 (name VARCHAR, city_of_license VARCHAR, format VARCHAR)
SELECT name FROM table_134987_3 WHERE city_of_license = "Rapid City" AND format = "Adult Contemporary"
Can you tell me the average Attendance that has the Scorers of steven, johnston, walters, mccoist, i.ferguson?
CREATE TABLE table_name_10 (attendance INTEGER, scorers VARCHAR)
SELECT AVG(attendance) FROM table_name_10 WHERE scorers = "steven, johnston, walters, mccoist, i.ferguson"
What place did player mark brooks take?
CREATE TABLE table_name_84 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_84 WHERE player = "mark brooks"
In total, how much did the United States player George Archer earn with Wins lower than 24 and a rank that was higher than 5?
CREATE TABLE table_name_28 (earnings__ VARCHAR, rank VARCHAR, player VARCHAR, country VARCHAR, wins VARCHAR)
SELECT COUNT(earnings__) AS $__ FROM table_name_28 WHERE country = "united states" AND wins < 24 AND player = "george archer" AND rank > 5
What was the score of the match in which Portsmouth was the Away team?
CREATE TABLE table_name_23 (score_1 VARCHAR, away_team VARCHAR)
SELECT score_1 FROM table_name_23 WHERE away_team = "portsmouth"
When does the El Canal de las Estrellas of pop tv show from Monday to Friday?
CREATE TABLE table_name_87 (monday_to_friday VARCHAR, el_canal_de_las_estrellas VARCHAR)
SELECT monday_to_friday FROM table_name_87 WHERE el_canal_de_las_estrellas = "pop tv"
What is the US AC of the label and cat# reprise 19466?
CREATE TABLE table_name_1 (us_ac VARCHAR, label_and_cat_number VARCHAR)
SELECT us_ac FROM table_name_1 WHERE label_and_cat_number = "reprise 19466"
Name the round for 2nd elimination final
CREATE TABLE table_name_36 (round VARCHAR, match VARCHAR)
SELECT round FROM table_name_36 WHERE match = "2nd elimination final"
What is the lowest 1971 number of the Macedonian population with a 2002 value greater than 133 and a 1991 value less than 171?
CREATE TABLE table_name_15 (number_1971 INTEGER)
SELECT MIN(number_1971) FROM table_name_15 WHERE 2002 > 133 AND 1991 < 171
What is the lowest number of bronze medals received by a nation with fewer than 0 gold medals?
CREATE TABLE table_name_68 (bronze INTEGER, gold INTEGER)
SELECT MIN(bronze) FROM table_name_68 WHERE gold < 0
What is the total with a 74 rank by average for 8th place?
CREATE TABLE table_name_70 (total VARCHAR, rank_by_average VARCHAR, place VARCHAR)
SELECT total FROM table_name_70 WHERE rank_by_average = "74" AND place = "8th"
What are the lowest points when poles were 0 and races were 10?
CREATE TABLE table_24405773_1 (points INTEGER, poles VARCHAR, races VARCHAR)
SELECT MIN(points) FROM table_24405773_1 WHERE poles = 0 AND races = 10
In which year were the points more than 0?
CREATE TABLE table_name_72 (year VARCHAR, points INTEGER)
SELECT year FROM table_name_72 WHERE points > 0
What is the played number when the tries against shows correct as of 18:13 26 May 2008?
CREATE TABLE table_name_1 (played VARCHAR, tries_against VARCHAR)
SELECT played FROM table_name_1 WHERE tries_against = "correct as of 18:13 26 may 2008"
FOR AUGUST 13 WHAT IS THE RND ?
CREATE TABLE table_16732659_2 (rnd INTEGER, date VARCHAR)
SELECT MAX(rnd) FROM table_16732659_2 WHERE date = "August 13"
Who was the Kit manufacturer that was has shirts sponsored by Walkers?
CREATE TABLE table_name_63 (kit_manufacturer VARCHAR, shirt_sponsor VARCHAR)
SELECT kit_manufacturer FROM table_name_63 WHERE shirt_sponsor = "walkers"
What was the score for the match with tie number 23?
CREATE TABLE table_name_76 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_76 WHERE tie_no = "23"
What team played on the road against the Buffalo Bills at home ?
CREATE TABLE table_name_21 (visiting_team VARCHAR, host_team VARCHAR)
SELECT visiting_team FROM table_name_21 WHERE host_team = "buffalo bills"
Who was the arranger for the track written by Nizar Francis ?
CREATE TABLE table_14778650_1 (arranger VARCHAR, writer VARCHAR)
SELECT arranger FROM table_14778650_1 WHERE writer = "Nizar Francis"
What is the lowest win percentage for when Perth Scorchers is the opposition?
CREATE TABLE table_name_20 (win__percentage INTEGER, opposition VARCHAR)
SELECT MIN(win__percentage) FROM table_name_20 WHERE opposition = "perth scorchers"
What was the result of the bout that led to a 4-4 record?
CREATE TABLE table_name_1 (res VARCHAR, record VARCHAR)
SELECT res FROM table_name_1 WHERE record = "4-4"
Who was the coach of the Pandas when their overall record was 20-6-2?
CREATE TABLE table_27069503_2 (coach VARCHAR, overall VARCHAR)
SELECT coach FROM table_27069503_2 WHERE overall = "20-6-2"
Who was the horse when the jockey was Peter Wells?
CREATE TABLE table_24915874_1 (horse VARCHAR, jockey VARCHAR)
SELECT horse FROM table_24915874_1 WHERE jockey = "Peter Wells"
What venue held the event in 2008 that has 2:13:10 in the notes?
CREATE TABLE table_name_12 (venue VARCHAR, year VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_12 WHERE year = 2008 AND notes = "2:13:10"
What is the average value for Top-5, when the value for Top-25 is 0, and the value for Wins is less than 0?
CREATE TABLE table_name_66 (top_5 INTEGER, top_25 VARCHAR, wins VARCHAR)
SELECT AVG(top_5) FROM table_name_66 WHERE top_25 = 0 AND wins < 0
Who drives for Newman-Haas Racing with a time of 1:51:47.260?
CREATE TABLE table_name_43 (driver VARCHAR, team VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_43 WHERE team = "newman-haas racing" AND time_retired = "1:51:47.260"
Which Couple has a Rank by average larger than 3, and an Average larger than 16.5, and a Total smaller than 195, and a Number of dances larger than 3?
CREATE TABLE table_name_20 (couple VARCHAR, number_of_dances VARCHAR, total VARCHAR, rank_by_average VARCHAR, average VARCHAR)
SELECT couple FROM table_name_20 WHERE rank_by_average > 3 AND average > 16.5 AND total < 195 AND number_of_dances > 3
What was the original title of the king's speech?
CREATE TABLE table_name_99 (original_title VARCHAR, winner_and_nominees VARCHAR)
SELECT original_title FROM table_name_99 WHERE winner_and_nominees = "the king's speech"
What is the number of Games for Partizan Belgrade player Nikola Peković with a Rank of more than 4?
CREATE TABLE table_name_25 (games INTEGER, rank VARCHAR, team VARCHAR, name VARCHAR)
SELECT MIN(games) FROM table_name_25 WHERE team = "partizan belgrade" AND name = "nikola peković" AND rank > 4