answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT driver FROM table_name_66 WHERE team = "collé racing" AND points > 206
Who is the driver for team Collé Racing with more than 206 points?
CREATE TABLE table_name_66 (driver VARCHAR, team VARCHAR, points VARCHAR)
SELECT born___died FROM table_name_1 WHERE notable_for = "tennis"
The person notable for tennis died in what year?
CREATE TABLE table_name_1 (born___died VARCHAR, notable_for VARCHAR)
SELECT date FROM table_name_10 WHERE undecided = "42%"
Which date had the undecided percentage at 42%?
CREATE TABLE table_name_10 (date VARCHAR, undecided VARCHAR)
SELECT AVG(squad_no) FROM table_name_8 WHERE name = "martin smith" AND league_goals < 17
WHAT IS THE AVERAGE SQUAD NUMBER WITH MARTIN SMITH, AND LEAGUE GOALS LESS THAN 17?
CREATE TABLE table_name_8 (squad_no INTEGER, name VARCHAR, league_goals VARCHAR)
SELECT density FROM table_22916979_5 WHERE densest_incorporated_place = "Pennsbury Village"
Name the density for pennsbury village
CREATE TABLE table_22916979_5 (density VARCHAR, densest_incorporated_place VARCHAR)
SELECT SUM(rank) FROM table_name_29 WHERE name = "thomas morgenstern" AND points > 288.7
Which Rank that a Name of thomas morgenstern, and Points larger than 288.7?
CREATE TABLE table_name_29 (rank INTEGER, name VARCHAR, points VARCHAR)
SELECT COUNT(location_attendance) FROM table_23284271_9 WHERE record = "45-22"
List the stadium and number of people in attendance when the team record was 45-22.
CREATE TABLE table_23284271_9 (location_attendance VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_98 WHERE game = "44"
Who was the opponent in Game 44?
CREATE TABLE table_name_98 (opponent VARCHAR, game VARCHAR)
SELECT SUM(year_of_award) FROM table_name_35 WHERE date_s_ = "june 6, 2004–june 15, 2004"
What year were the awards given june 6, 2004–june 15, 2004?
CREATE TABLE table_name_35 (year_of_award INTEGER, date_s_ VARCHAR)
SELECT points FROM table_16034882_4 WHERE wins = 13
What is the amount of points for the team with 13 wins?
CREATE TABLE table_16034882_4 (points VARCHAR, wins VARCHAR)
SELECT series FROM table_name_57 WHERE points = "11"
Which series has 11 points?
CREATE TABLE table_name_57 (series VARCHAR, points VARCHAR)
SELECT score FROM table_name_82 WHERE record = "80-63"
What was the score of the game that led to an 80-63 record?
CREATE TABLE table_name_82 (score VARCHAR, record VARCHAR)
SELECT MAX(other_apps) FROM table_2979789_1 WHERE league_goals = 1
Name the most other apps for league goals being 1
CREATE TABLE table_2979789_1 (other_apps INTEGER, league_goals VARCHAR)
SELECT party FROM table_1341897_6 WHERE district = "Arkansas 5"
When party did the incumbent in the Arkansas 5 district belong to?
CREATE TABLE table_1341897_6 (party VARCHAR, district VARCHAR)
SELECT venue FROM table_name_51 WHERE outcome = "13" AND year = "2007"
Outcome of 13, and a Year of 2007 happened in what venue?
CREATE TABLE table_name_51 (venue VARCHAR, outcome VARCHAR, year VARCHAR)
SELECT rebounds FROM table_name_27 WHERE name = "pom baskets jena"
Can you tell me the Rebounds that has the Name of pom baskets jena?
CREATE TABLE table_name_27 (rebounds VARCHAR, name VARCHAR)
SELECT 1989 FROM table_name_22 WHERE 2002 = "4r" AND 2005 = "4r"
what 1989 has 2002 of 4r and 2005 of 4r?
CREATE TABLE table_name_22 (Id VARCHAR)
SELECT COUNT(partner) FROM table_2201541_3 WHERE championship__titles_finals_ = "French Open (0/1)"
How many different partners were played with during French Open (0/1)?
CREATE TABLE table_2201541_3 (partner VARCHAR, championship__titles_finals_ VARCHAR)
SELECT music FROM table_name_23 WHERE choreographer_s_ = "sabina dalfjäll"
What is the music for choreographer sabina dalfjäll?
CREATE TABLE table_name_23 (music VARCHAR, choreographer_s_ VARCHAR)
SELECT position FROM table_11545282_5 WHERE player = "Blue Edwards"
What is the position for player Blue Edwards?
CREATE TABLE table_11545282_5 (position VARCHAR, player VARCHAR)
SELECT COUNT(byes) FROM table_name_22 WHERE draws < 0
How many byes when the draws are less than 0?
CREATE TABLE table_name_22 (byes VARCHAR, draws INTEGER)
SELECT player FROM table_name_11 WHERE school_country = "west virginia"
Which player has West Virginia listed as their school/country?
CREATE TABLE table_name_11 (player VARCHAR, school_country VARCHAR)
SELECT battery___mah__ FROM table WHERE nfc = "Yes" AND weight = "126g"
If the weight is 126g and the NFC is yes, what is the battery (MAH)?
CREATE TABLE table (battery___mah__ VARCHAR, nfc VARCHAR, weight VARCHAR)
SELECT agg FROM table_name_81 WHERE team_1 = "celta"
What is Celta's Agg.?
CREATE TABLE table_name_81 (agg VARCHAR, team_1 VARCHAR)
SELECT to_par FROM table_name_62 WHERE player = "chris riley"
What is the To Par for Player Chris Riley?
CREATE TABLE table_name_62 (to_par VARCHAR, player VARCHAR)
SELECT original_title FROM table_name_36 WHERE director = "aigars grauba"
What is the Original Title of the movie directed by Aigars Grauba?
CREATE TABLE table_name_36 (original_title VARCHAR, director VARCHAR)
SELECT position FROM table_name_17 WHERE name = "john taft"
Which Position has a Name of john taft?
CREATE TABLE table_name_17 (position VARCHAR, name VARCHAR)
SELECT tie_no FROM table_name_30 WHERE away_team = "burnley"
What is the Tie no when the away team was Burnley?
CREATE TABLE table_name_30 (tie_no VARCHAR, away_team VARCHAR)
SELECT MAX(population), _august_15, _2002 FROM table_12496904_1
What is the highest population for the
CREATE TABLE table_12496904_1 (_august_15 VARCHAR, _2002 VARCHAR, population INTEGER)
SELECT record FROM table_name_95 WHERE home = "anaheim"
What was the record while at home in Anaheim?
CREATE TABLE table_name_95 (record VARCHAR, home VARCHAR)
SELECT stopping_pattern FROM table_name_92 WHERE platform = "4"
What is Stopping Pattern, when Platform is 4?
CREATE TABLE table_name_92 (stopping_pattern VARCHAR, platform VARCHAR)
SELECT place FROM table_name_33 WHERE performance = "14:11.15"
What place had 14:11.15 as the performance?
CREATE TABLE table_name_33 (place VARCHAR, performance VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_94 WHERE place = "t10" AND player = "andy north"
How much was paid to Andy North when he placed t10?
CREATE TABLE table_name_94 (money___ INTEGER, place VARCHAR, player VARCHAR)
SELECT COUNT(*) FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code WHERE T2.dept_name = 'Accounting' OR T2.dept_name = 'Biology'
How many professors who are from either Accounting or Biology department?
CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE professor (dept_code VARCHAR)
SELECT year_born FROM table_name_25 WHERE position = "guard" AND current_club = "memphis grizzlies"
What year was the Guard who currently plays for the Memphis Grizzlies born?
CREATE TABLE table_name_25 (year_born VARCHAR, position VARCHAR, current_club VARCHAR)
SELECT predecessor FROM table_name_54 WHERE district < 11 AND congress = "68th" AND date = "may 1, 1923"
What predecessor has a district less than 11, 68th as the Congress, and may 1, 1923 as the date?
CREATE TABLE table_name_54 (predecessor VARCHAR, date VARCHAR, district VARCHAR, congress VARCHAR)
SELECT try_bp FROM table_name_82 WHERE losing_bp = "4" AND club = "bargoed rfc"
What is the try BP when the losing BP is 4 and the club is Bargoed RFC?
CREATE TABLE table_name_82 (try_bp VARCHAR, losing_bp VARCHAR, club VARCHAR)
SELECT tournament FROM table_name_74 WHERE 2005 = "n/a" AND 2002 = "0 / 1"
What is Tournament, when 2005 is "N/A", and when 2002 is "0 / 1"?
CREATE TABLE table_name_74 (tournament VARCHAR)
SELECT result FROM table_name_98 WHERE week > 2 AND date = "november 30, 1958"
Which result happened more recently than week 2, and had a date of November 30, 1958?
CREATE TABLE table_name_98 (result VARCHAR, week VARCHAR, date VARCHAR)
SELECT DISTINCT Name FROM WINE WHERE Price > (SELECT MIN(Price) FROM wine WHERE Winery = "John Anthony")
Find the distinct names of all wines that have prices higher than some wines from John Anthony winery.
CREATE TABLE wine (Name VARCHAR, Price INTEGER, Winery VARCHAR); CREATE TABLE WINE (Name VARCHAR, Price INTEGER, Winery VARCHAR)
SELECT name FROM table_name_59 WHERE qual_1 = "1:26.056"
What was the Name of the person with a Qual 1 of 1:26.056?
CREATE TABLE table_name_59 (name VARCHAR, qual_1 VARCHAR)
SELECT callback_audition_date FROM table_27455867_1 WHERE episode_air_date = "February 9, 2011"
When were the callback auditions for the audition city in the episode aired on February 9, 2011?
CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, episode_air_date VARCHAR)
SELECT report FROM table_name_21 WHERE winning_driver = "jack brabham"
What report did Jack Brabham win?
CREATE TABLE table_name_21 (report VARCHAR, winning_driver VARCHAR)
SELECT COUNT(wickets) FROM table_15700367_2 WHERE name = "Yuvraj Singh"
Name the total number of wickets being yuvraj singh
CREATE TABLE table_15700367_2 (wickets VARCHAR, name VARCHAR)
SELECT opponents_in_the_final FROM table_name_77 WHERE date = 1984 AND score_in_the_final = "7–6, 6–1"
What Opponents in the final had a match in 1984 with a Score in the final of 7–6, 6–1?
CREATE TABLE table_name_77 (opponents_in_the_final VARCHAR, date VARCHAR, score_in_the_final VARCHAR)
SELECT MAX(pick) FROM table_name_60 WHERE school = "auburn"
What is the highest pick for a player from auburn?
CREATE TABLE table_name_60 (pick INTEGER, school VARCHAR)
SELECT director FROM table_22020724_1 WHERE film_title_used_in_nomination = "Steam of Life"
Who directed the film titled 'Steam of Life'?
CREATE TABLE table_22020724_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT brazil_scorers FROM table_name_41 WHERE score = "6-0"
Who is the Brazil scorer who scored 6-0?
CREATE TABLE table_name_41 (brazil_scorers VARCHAR, score VARCHAR)
SELECT MAX(touchdowns) FROM table_name_34 WHERE net_yards > 631 AND attempts < 145
What are the highest touchdowns that have net yards greater than 631, with attempts less than 145?
CREATE TABLE table_name_34 (touchdowns INTEGER, net_yards VARCHAR, attempts VARCHAR)
SELECT home_team FROM table_name_57 WHERE away_team = "everton"
Which Home team has an Away team of everton?
CREATE TABLE table_name_57 (home_team VARCHAR, away_team VARCHAR)
SELECT surface FROM table_name_67 WHERE date = "june 11, 2006"
What is the Surface of the Tournament on June 11, 2006?
CREATE TABLE table_name_67 (surface VARCHAR, date VARCHAR)
SELECT airdate FROM table_25721_3 WHERE dave_ja_vu_viewers = 106000
What was the airdate of the episode with 106000 dave ja vu viewers?
CREATE TABLE table_25721_3 (airdate VARCHAR, dave_ja_vu_viewers VARCHAR)
SELECT COUNT(average_weekly_rank) FROM table_15358729_6 WHERE average_nightly_rank = "No. 2"
How many were the show's average weekly ranking when it reached No. 2 in average nightly ranking?
CREATE TABLE table_15358729_6 (average_weekly_rank VARCHAR, average_nightly_rank VARCHAR)
SELECT winning_constructor FROM table_name_71 WHERE circuit = "parioli"
Who was the winning constructor at the circuit of parioli?
CREATE TABLE table_name_71 (winning_constructor VARCHAR, circuit VARCHAR)
SELECT SUM(pick) FROM table_name_78 WHERE name = "charley sanders" AND round > 22
How many picks have charley sanders as the name, with a round greater than 22?
CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, round VARCHAR)
SELECT points_for FROM table_name_33 WHERE drawn = "0" AND points = "88"
Name the points for with drawn of 0 and points of 88
CREATE TABLE table_name_33 (points_for VARCHAR, drawn VARCHAR, points VARCHAR)
SELECT phonetic FROM table_name_88 WHERE standard_thai = "ผ่า"
What is the phonetic when the standard thai is ผ่า?
CREATE TABLE table_name_88 (phonetic VARCHAR, standard_thai VARCHAR)
SELECT driver FROM table_name_27 WHERE chassis = "t45 t44" AND rounds = "7"
What was the driver with chassis of t45 t44 and rounds of 7?
CREATE TABLE table_name_27 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)
SELECT liberal_party FROM table_name_97 WHERE conservative_party = "16 (-1)" AND labour_party = "6 (+2)"
What was the Liberal Party result from the election having a Conservative Party result of 16 (-1) and Labour of 6 (+2)?
CREATE TABLE table_name_97 (liberal_party VARCHAR, conservative_party VARCHAR, labour_party VARCHAR)
SELECT player FROM table_name_94 WHERE round > 5 AND college_junior_club_team = "leningrad ska (russia)"
Who is the player from a round larger than 5 and the college/junior/club team of Leningrad SKA (russia)?
CREATE TABLE table_name_94 (player VARCHAR, round VARCHAR, college_junior_club_team VARCHAR)
SELECT canadian_airdate FROM table_10935205_1 WHERE us_airdate = "8 August 2008"
The U.S. airdate of 8 august 2008 also had canadian airdates of what?
CREATE TABLE table_10935205_1 (canadian_airdate VARCHAR, us_airdate VARCHAR)
SELECT record FROM table_23286223_8 WHERE high_assists = "Deron Williams (6)"
What was the record at the game where Deron Williams (6) did the high assists?
CREATE TABLE table_23286223_8 (record VARCHAR, high_assists VARCHAR)
SELECT county FROM table_25438110_5 WHERE casinos = 17
What county has exactly 17 casinos?
CREATE TABLE table_25438110_5 (county VARCHAR, casinos VARCHAR)
SELECT SUM(sr) FROM table_name_35 WHERE runs_scored = 161 AND average > 26.83
How many S.R. that has Runs Scored of 161 and an Average larger than 26.83?
CREATE TABLE table_name_35 (sr INTEGER, runs_scored VARCHAR, average VARCHAR)
SELECT written_by FROM table_22580855_1 WHERE series_no = 170
who are the writer of the series episode number 170?
CREATE TABLE table_22580855_1 (written_by VARCHAR, series_no VARCHAR)
SELECT prod_code FROM table_2623498_5 WHERE episode__number = "78"
What is the production code for episode #78?
CREATE TABLE table_2623498_5 (prod_code VARCHAR, episode__number VARCHAR)
SELECT country FROM table_name_97 WHERE notes = "r" AND rank = 3
What country has a rank of 3 and notes of r?
CREATE TABLE table_name_97 (country VARCHAR, notes VARCHAR, rank VARCHAR)
SELECT MIN(shot_pct) FROM table_name_2 WHERE blank_ends > 6
What is the lowest Shot Pct., when Blank Ends is greater than 6?
CREATE TABLE table_name_2 (shot_pct INTEGER, blank_ends INTEGER)
SELECT score_in_final FROM table_23197088_4 WHERE championship = "Rome"
what are all the score in conclusive where title is rome
CREATE TABLE table_23197088_4 (score_in_final VARCHAR, championship VARCHAR)
SELECT location FROM table_name_68 WHERE date = "feb 10"
What is the location of the tournament on Feb 10?
CREATE TABLE table_name_68 (location VARCHAR, date VARCHAR)
SELECT silver FROM table_name_9 WHERE nation = "mexico"
what is the silver for mexico?
CREATE TABLE table_name_9 (silver VARCHAR, nation VARCHAR)
SELECT date FROM table_name_90 WHERE tie_no = "26"
On what date was Tie #26 played?
CREATE TABLE table_name_90 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_95 WHERE winning_score = –8(69 - 72 - 70 - 69 = 280)
On what Date was the Winning score –8 (69-72-70-69=280)?
CREATE TABLE table_name_95 (date VARCHAR, winning_score VARCHAR)
SELECT AVG(2006) FROM table_name_47 WHERE 1970 < 9
What was the percentage in 2006 that had less than 9% in 1970?
CREATE TABLE table_name_47 (Id VARCHAR)
SELECT regular_season_winner FROM table_21091982_3 WHERE conference = "Ivy League"
Who is the regular season winner for the Ivy League conference?
CREATE TABLE table_21091982_3 (regular_season_winner VARCHAR, conference VARCHAR)
SELECT cfl_team FROM table_name_23 WHERE player = "peter hogarth"
which CFL team has a player called Peter Hogarth?
CREATE TABLE table_name_23 (cfl_team VARCHAR, player VARCHAR)
SELECT AVG(rank) FROM table_name_61 WHERE name = "stéphan perrot"
What was Stéphan Perrot rank average?
CREATE TABLE table_name_61 (rank INTEGER, name VARCHAR)
SELECT COUNT(f_laps) FROM table_25386974_1 WHERE position = "20th"
How many f/laps did Pedro Nunes have when he was in 20th position?
CREATE TABLE table_25386974_1 (f_laps VARCHAR, position VARCHAR)
SELECT COUNT(season_in_tamil) FROM table_1740431_3 WHERE season_in_sanskrit = "Grishma"
How many seasons in Tamil occur when the season in Sanskrit is Grishma?
CREATE TABLE table_1740431_3 (season_in_tamil VARCHAR, season_in_sanskrit VARCHAR)
SELECT born_died FROM table_name_27 WHERE name = "maliq bushati"
What is Born-Died, when Name is Maliq Bushati?
CREATE TABLE table_name_27 (born_died VARCHAR, name VARCHAR)
SELECT venue FROM table_name_95 WHERE away_team = "melbourne"
Where did Melbourne play as the away team?
CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR)
SELECT worldwide_gross FROM table_name_43 WHERE rank > 8 AND studio = "columbia pictures" AND director_s_ = "martin campbell"
For the movie directed by Martin Campbell at Columbia pictures with a ranking larger than 8, what is its worldwide gross?
CREATE TABLE table_name_43 (worldwide_gross VARCHAR, director_s_ VARCHAR, rank VARCHAR, studio VARCHAR)
SELECT position FROM table_name_21 WHERE round = 2 AND nationality = "sweden"
What is the position of the player from round 2 from Sweden?
CREATE TABLE table_name_21 (position VARCHAR, round VARCHAR, nationality VARCHAR)
SELECT venue FROM table_name_78 WHERE date = "15 november 2010"
At which venue did the event held on 15 November 2010 occur?
CREATE TABLE table_name_78 (venue VARCHAR, date VARCHAR)
SELECT country FROM table_name_12 WHERE language = "italian english" AND television_service = "disney xd +1"
What is the Country when the language is italian english, and the television service is disney xd +1?
CREATE TABLE table_name_12 (country VARCHAR, language VARCHAR, television_service VARCHAR)
SELECT type FROM table_name_6 WHERE rank = "13"
What is the type ranked 13?
CREATE TABLE table_name_6 (type VARCHAR, rank VARCHAR)
SELECT won FROM table_17369472_2 WHERE points = "49"
How many were won when there were 49 points?
CREATE TABLE table_17369472_2 (won VARCHAR, points VARCHAR)
SELECT MIN(laps) FROM table_name_2 WHERE rider = "andrea dovizioso"
Which Laps have a Rider of andrea dovizioso?
CREATE TABLE table_name_2 (laps INTEGER, rider VARCHAR)
SELECT understanding FROM table_19760_1 WHERE reason = "νοῦς Nous"
What is the understanding of the one that has νοῦς nous reasoning?
CREATE TABLE table_19760_1 (understanding VARCHAR, reason VARCHAR)
SELECT reactortype FROM table_name_64 WHERE gross_capacity = "417 mw" AND electricity_grid = "27.12.1971"
Which Reactortype has a gross capacity of 417 mw and an Electricity Grid of 27.12.1971?
CREATE TABLE table_name_64 (reactortype VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR)
SELECT party FROM table_1341423_40 WHERE incumbent = "Jim DeMint"
what is the party with the incumbent jim demint?
CREATE TABLE table_1341423_40 (party VARCHAR, incumbent VARCHAR)
SELECT ordinary_income_rate FROM table_name_42 WHERE short_term_capital_gain_rate = "28%"
What is the ordinary income rate when short-term capital gain rate is 28%?
CREATE TABLE table_name_42 (ordinary_income_rate VARCHAR, short_term_capital_gain_rate VARCHAR)
SELECT MIN(points) FROM table_name_67 WHERE lost = 2 AND position < 1
What is the smallest amount of points had a lost number of 2 when the position was less than 1?
CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, position VARCHAR)
SELECT set_5 FROM table_name_44 WHERE set_2 = "25-20"
What is the Set 5 if Set 2 is 25-20?
CREATE TABLE table_name_44 (set_5 VARCHAR, set_2 VARCHAR)
SELECT MAX(year) FROM table_name_64 WHERE album = "airwaves" AND us_hot_100 = "–"
Which Year has an Album of airwaves, and a US Hot 100 of –?
CREATE TABLE table_name_64 (year INTEGER, album VARCHAR, us_hot_100 VARCHAR)
SELECT region FROM table_name_71 WHERE japanese = "八尾"
What region has the symbol 八尾?
CREATE TABLE table_name_71 (region VARCHAR, japanese VARCHAR)
SELECT AVG(game) FROM table_name_4 WHERE october = 19
What is the average game number that was on october 19?
CREATE TABLE table_name_4 (game INTEGER, october VARCHAR)
SELECT COUNT(first_elected) FROM table_1341472_34 WHERE district = "New York 11"
Name the number of first elected for new york 11
CREATE TABLE table_1341472_34 (first_elected VARCHAR, district VARCHAR)
SELECT AVG(played) FROM table_name_28 WHERE points = 2 AND position < 8
Which Played has a Points of 2, and a Position smaller than 8?
CREATE TABLE table_name_28 (played INTEGER, points VARCHAR, position VARCHAR)
SELECT manufacturer FROM table_name_49 WHERE rider = "daijiro kato"
Which Manufacturer has a Rider of daijiro kato?
CREATE TABLE table_name_49 (manufacturer VARCHAR, rider VARCHAR)