answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT pole_position FROM table_name_13 WHERE circuit = "nürburgring"
Who has the pole position for the nürburgring circuit?
CREATE TABLE table_name_13 (pole_position VARCHAR, circuit VARCHAR)
SELECT visitor FROM table_name_8 WHERE date = "april 5"
Who is the visitor on April 5?
CREATE TABLE table_name_8 (visitor VARCHAR, date VARCHAR)
SELECT year FROM table_name_55 WHERE role = "(cameo)"
In what Year is there a Role of (cameo)?
CREATE TABLE table_name_55 (year VARCHAR, role VARCHAR)
SELECT COUNT(female) FROM table_name_65 WHERE total_population < 2 OFFSET 195
What is the total number of females where the total population is less than 2,195?
CREATE TABLE table_name_65 (female VARCHAR, total_population INTEGER)
SELECT SUM(yield), _neutrons_per_fission FROM table_name_77 WHERE decay_constant__s_−1__ < 0.301 AND half_life__s_ = 22.72 AND group > 2
What is the yield, neutrons per fission of the group with decay constants less than 0.301, a half-life of 22.72, and a group number larger than 2?
CREATE TABLE table_name_77 (_neutrons_per_fission VARCHAR, yield INTEGER, group VARCHAR, decay_constant__s_−1__ VARCHAR, half_life__s_ VARCHAR)
SELECT COUNT(goals_scored) FROM table_16034882_2 WHERE goals_conceded = 35
How many total goals were scored in games where goals conceded was 35?
CREATE TABLE table_16034882_2 (goals_scored VARCHAR, goals_conceded VARCHAR)
SELECT MIN(lost) FROM table_19179465_1 WHERE points = 34
How many games were lost when the club got 34 points
CREATE TABLE table_19179465_1 (lost INTEGER, points VARCHAR)
SELECT player FROM table_name_29 WHERE country = "fiji"
Name the player for fiji
CREATE TABLE table_name_29 (player VARCHAR, country VARCHAR)
SELECT attendance FROM table_name_60 WHERE decision = "brodeur" AND home = "ottawa"
What is the number of people in attendance when the decision was brodeur and the home was ottawa?
CREATE TABLE table_name_60 (attendance VARCHAR, decision VARCHAR, home VARCHAR)
SELECT date FROM table_name_70 WHERE save = "ayala" AND loss = "olivares"
When is the Save of Ayala and a Loss of Olivares
CREATE TABLE table_name_70 (date VARCHAR, save VARCHAR, loss VARCHAR)
SELECT MAX(pick) FROM table_name_18 WHERE school = "washington"
What is the highest pick from Washington?
CREATE TABLE table_name_18 (pick INTEGER, school VARCHAR)
SELECT SUM(total) FROM table_name_2 WHERE nation = "bulgaria" AND bronze > 13
What's the total amount of Bulgaria that has more than 13 bronze?
CREATE TABLE table_name_2 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT silver FROM table_name_42 WHERE year = "1938"
How many silver medals were won in 1938?
CREATE TABLE table_name_42 (silver VARCHAR, year VARCHAR)
SELECT santee_sisseton FROM table_1499791_2 WHERE english_gloss = "morning"
Name the santee sisseton for morning
CREATE TABLE table_1499791_2 (santee_sisseton VARCHAR, english_gloss VARCHAR)
SELECT 2004 FROM table_name_36 WHERE 2007 = "a" AND 1997 = "a"
What is 2004, when 2007 is "A", and when 1997 is "A"?
CREATE TABLE table_name_36 (Id VARCHAR)
SELECT COUNT(losingteam) FROM table_12028543_3 WHERE cup_finaldate = "20 August 1989"
How many losingteams were for the cup finaldate 20 August 1989?
CREATE TABLE table_12028543_3 (losingteam VARCHAR, cup_finaldate VARCHAR)
SELECT COUNT(money___) AS $__ FROM table_name_51 WHERE place = "1" AND to_par < 1
How much money for 1st place with a to par less than 1?
CREATE TABLE table_name_51 (money___ VARCHAR, place VARCHAR, to_par VARCHAR)
SELECT nationality___opponent FROM table_name_25 WHERE date = "10 january 1998"
Name Nationality / Opponent on 10 january 1998?
CREATE TABLE table_name_25 (nationality___opponent VARCHAR, date VARCHAR)
SELECT mountain_range FROM table_name_82 WHERE region = "haiti" AND location = "18.3601°n 71.9764°w"
Which Mountain Range has a Region of haiti, and a Location of 18.3601°n 71.9764°w?
CREATE TABLE table_name_82 (mountain_range VARCHAR, region VARCHAR, location VARCHAR)
SELECT COUNT(year) FROM table_name_9 WHERE open_cup = "1st round"
How many years did Real Colorado Foxes make it to the Open Cup 1st Round?
CREATE TABLE table_name_9 (year VARCHAR, open_cup VARCHAR)
SELECT date FROM table_name_9 WHERE home = "new jersey" AND record = "7-23-7"
When was the home game when the New Jersey team's record became 7-23-7?
CREATE TABLE table_name_9 (date VARCHAR, home VARCHAR, record VARCHAR)
SELECT segment_d FROM table_15187735_16 WHERE segment_a = "Tequila"
Whats the name of segment D in the episode where segment A is tequila
CREATE TABLE table_15187735_16 (segment_d VARCHAR, segment_a VARCHAR)
SELECT COUNT(result) FROM table_1342013_12 WHERE incumbent = "Noah M. Mason"
How many results are listed for the election where Noah M. Mason was elected?
CREATE TABLE table_1342013_12 (result VARCHAR, incumbent VARCHAR)
SELECT SUM(area__km_2__) FROM table_name_67 WHERE name = "theewaterskloof" AND population__2011_ < 108 OFFSET 790
What is the area (in km2) for theewaterskloof, whose population in 2011 was less than 108,790?
CREATE TABLE table_name_67 (area__km_2__ INTEGER, name VARCHAR, population__2011_ VARCHAR)
SELECT 2012 FROM table_name_82 WHERE 2005 = "314"
Tell me the 2012 when 2005 is 314
CREATE TABLE table_name_82 (Id VARCHAR)
SELECT high_points FROM table_13812785_8 WHERE date = "March 13"
Who had the high points dated march 13?
CREATE TABLE table_13812785_8 (high_points VARCHAR, date VARCHAR)
SELECT surface FROM table_name_49 WHERE championship = "australian open"
What is Surface, when Championship is Australian Open?
CREATE TABLE table_name_49 (surface VARCHAR, championship VARCHAR)
SELECT party FROM table_1341738_6 WHERE incumbent = "Edwin Reinecke"
What party does incumbent edwin reinecke represent?
CREATE TABLE table_1341738_6 (party VARCHAR, incumbent VARCHAR)
SELECT gfl_premierships FROM table_name_70 WHERE nickname = "magpies"
What GLF Premiership did the Magpies have?
CREATE TABLE table_name_70 (gfl_premierships VARCHAR, nickname VARCHAR)
SELECT uyghur_latin___uly__ FROM table_name_14 WHERE population__2010_census_ = "69,361"
What is the Uyghur Latin with a population of 69,361?
CREATE TABLE table_name_14 (uyghur_latin___uly__ VARCHAR, population__2010_census_ VARCHAR)
SELECT score FROM table_name_60 WHERE home = "cavaliers" AND leading_scorer = "lebron james (46)"
What is the score of the home game for the Cavaliers where Lebron James (46) was the lead scorer?
CREATE TABLE table_name_60 (score VARCHAR, home VARCHAR, leading_scorer VARCHAR)
SELECT extra FROM table_name_22 WHERE result = "6th" AND year = 1972
What is the extra result associated with 6th place in 1972?
CREATE TABLE table_name_22 (extra VARCHAR, result VARCHAR, year VARCHAR)
SELECT position FROM table_name_11 WHERE season = "2008"
What position has 2008 as the season?
CREATE TABLE table_name_11 (position VARCHAR, season VARCHAR)
SELECT AVG(score) FROM table_name_5 WHERE player = "lee westwood"
What is the average score with lee westwood as the player?
CREATE TABLE table_name_5 (score INTEGER, player VARCHAR)
SELECT COUNT(u_wins) FROM table_name_25 WHERE alianza_goals = 0 AND u_goals > 3
What is the total number of U Wins, when Alianza Goals is "0", and when U Goals is greater than 3?
CREATE TABLE table_name_25 (u_wins VARCHAR, alianza_goals VARCHAR, u_goals VARCHAR)
SELECT manufacturer FROM table_name_54 WHERE laps < 20 AND grid = 21
What kind of Manufacturer has a Laps smaller than 20 and a Grid of 21
CREATE TABLE table_name_54 (manufacturer VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT COUNT(bronze) FROM table_name_89 WHERE total = 135
What nation had 135 Bronze medals?
CREATE TABLE table_name_89 (bronze VARCHAR, total VARCHAR)
SELECT week_4 FROM table_name_50 WHERE week_9 = "all housemates"
What kind of Week 4 has a Week 9 of all housemates?
CREATE TABLE table_name_50 (week_4 VARCHAR, week_9 VARCHAR)
SELECT third FROM table_name_23 WHERE lead = "don bartlett" AND second = "carter rycroft" AND season = "2003–04"
What is the Third when the Lead was don bartlett, the Second was carter rycroft, and a Season of 2003–04?
CREATE TABLE table_name_23 (third VARCHAR, season VARCHAR, lead VARCHAR, second VARCHAR)
SELECT money___$__ FROM table_name_87 WHERE place = "t3" AND score = 74 - 74 - 71 - 69 = 288
What's the money ($) for the t3 place and the score of 74-74-71-69=288?
CREATE TABLE table_name_87 (money___$__ VARCHAR, place VARCHAR, score VARCHAR)
SELECT MIN(podium) FROM table_name_92 WHERE pole < 0
Pole smaller than 0 had what lowest podium?
CREATE TABLE table_name_92 (podium INTEGER, pole INTEGER)
SELECT MAX(population__july_2012_) FROM table_166346_1 WHERE area__km²_ = 2149690
What is the highest poplulation in July 2012 in the country with an area of 2149690 square kilometers?
CREATE TABLE table_166346_1 (population__july_2012_ INTEGER, area__km²_ VARCHAR)
SELECT game_site FROM table_name_79 WHERE week = 15
What was the game site week 15?
CREATE TABLE table_name_79 (game_site VARCHAR, week VARCHAR)
SELECT MIN(prominence__m_) FROM table_name_41 WHERE rank = 10 AND col__m_ < 50
Which Prominence (m) has a Rank of 10, and a Col (m) smaller than 50?
CREATE TABLE table_name_41 (prominence__m_ INTEGER, rank VARCHAR, col__m_ VARCHAR)
SELECT alloy FROM table_12284476_8 WHERE series = "II series"
what's the alloy with series being ii series
CREATE TABLE table_12284476_8 (alloy VARCHAR, series VARCHAR)
SELECT zone FROM table_name_30 WHERE opponents = "mădălina gojnea monica niculescu"
Which zone had mădălina gojnea monica niculescu as the opponent?
CREATE TABLE table_name_30 (zone VARCHAR, opponents VARCHAR)
SELECT dvd_title FROM table_name_5 WHERE aspect_ratio = "16:9" AND release_date = "november 17, 2009"
What title was release November 17, 2009 in a 16:9 aspect ratio?
CREATE TABLE table_name_5 (dvd_title VARCHAR, aspect_ratio VARCHAR, release_date VARCHAR)
SELECT voice_actor__english_1998___pioneer_ FROM table_1410384_1 WHERE voice_actor__english_1997___saban_ = "Alec Willows" AND voice_actor__english_2006___funimation_ = "Andy McAvin"
who is the the voice actor (englbeingh 1998 / pioneer) with voice actor (englbeingh 1997 / saban) being alec willows and voice actor (englbeingh 2006 / funimation) being andy mcavin
CREATE TABLE table_1410384_1 (voice_actor__english_1998___pioneer_ VARCHAR, voice_actor__english_1997___saban_ VARCHAR, voice_actor__english_2006___funimation_ VARCHAR)
SELECT score FROM table_name_45 WHERE result = "l" AND date = "15-oct-64"
Result of l, and a Date of 15-oct-64 had what score?
CREATE TABLE table_name_45 (score VARCHAR, result VARCHAR, date VARCHAR)
SELECT score FROM table_177273_2 WHERE partner = "Françoise Dürr"
What was the score when Françoise Dürr was partner?
CREATE TABLE table_177273_2 (score VARCHAR, partner VARCHAR)
SELECT home_ground FROM table_name_40 WHERE region = "nzl"
What is the home ground in region NZL?
CREATE TABLE table_name_40 (home_ground VARCHAR, region VARCHAR)
SELECT opponent FROM table_name_97 WHERE score = "141–102"
Who was the opponent with a score of 141–102?
CREATE TABLE table_name_97 (opponent VARCHAR, score VARCHAR)
SELECT COUNT(points) FROM table_name_88 WHERE january = 18
How many Points have a January of 18?
CREATE TABLE table_name_88 (points VARCHAR, january VARCHAR)
SELECT club FROM table_name_43 WHERE goals = 0 AND apps > 0 AND season = "2010"
In the 2010 season what club has 0 goals and more than 0 Apps?
CREATE TABLE table_name_43 (club VARCHAR, season VARCHAR, goals VARCHAR, apps VARCHAR)
SELECT award FROM table_name_5 WHERE year = 2002
What Award has a date of 2002?
CREATE TABLE table_name_5 (award VARCHAR, year VARCHAR)
SELECT year FROM table_name_74 WHERE regular_season = "2nd, central"
What year did the Nashville Metros have the Regular Season 2nd, central?
CREATE TABLE table_name_74 (year VARCHAR, regular_season VARCHAR)
SELECT position FROM table_name_66 WHERE caps = "example" AND player = "shane kelly"
What is Position, when Caps is Example, and When Player is Shane Kelly?
CREATE TABLE table_name_66 (position VARCHAR, caps VARCHAR, player VARCHAR)
SELECT county FROM table_name_80 WHERE name = "himco dump"
Which county includes Himco Dump?
CREATE TABLE table_name_80 (county VARCHAR, name VARCHAR)
SELECT MAX(apps) FROM table_name_7 WHERE rank = 8 AND season = "2012/13"
How many apps for the rank of 8 in the 2012/13 season?
CREATE TABLE table_name_7 (apps INTEGER, rank VARCHAR, season VARCHAR)
SELECT AVG(total) FROM table_name_41 WHERE rank = "7" AND gold > 0
what is the total when the rank is 7 and gold is more than 0?
CREATE TABLE table_name_41 (total INTEGER, rank VARCHAR, gold VARCHAR)
SELECT candidates FROM table_2668243_25 WHERE incumbent = "Nathaniel H. Claiborne"
What candidate(s) ran for election when nathaniel h. claiborne was the incumbent?
CREATE TABLE table_2668243_25 (candidates VARCHAR, incumbent VARCHAR)
SELECT MIN(week) FROM table_name_27 WHERE attendance = "70,225"
Which week had an attendance of 70,225
CREATE TABLE table_name_27 (week INTEGER, attendance VARCHAR)
SELECT score FROM table_name_7 WHERE record = "56-46"
What was the score when the record 56-46 was met?
CREATE TABLE table_name_7 (score VARCHAR, record VARCHAR)
SELECT COUNT(mlb_draft) FROM table_11677100_15 WHERE hometown = "High Point, NC"
How many players were from high point, nc?
CREATE TABLE table_11677100_15 (mlb_draft VARCHAR, hometown VARCHAR)
SELECT MIN(round) FROM table_name_56 WHERE position = "cb"
WHAT IS THE LOWEST ROUND FOR CB POSITION?
CREATE TABLE table_name_56 (round INTEGER, position VARCHAR)
SELECT summoned FROM table_name_23 WHERE elected = "march 1298"
What is Summoned, when Elected is "March 1298"?
CREATE TABLE table_name_23 (summoned VARCHAR, elected VARCHAR)
SELECT date_performed FROM table_name_12 WHERE position = "bottom 3" AND scores_by_each_individual_judge = 5 + 5 + 4 = 14
Which Date performed has a Position of bottom 3, and Scores by each individual judge of 5 + 5 + 4 = 14?
CREATE TABLE table_name_12 (date_performed VARCHAR, position VARCHAR, scores_by_each_individual_judge VARCHAR)
SELECT leading_scorer FROM table_name_52 WHERE date = "13 february 2008"
Who is the leading scorer of the game on 13 February 2008?
CREATE TABLE table_name_52 (leading_scorer VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_2 WHERE runner_s__up = "al geiberger"
In which tournament did Al Geiberger finish runner-up?
CREATE TABLE table_name_2 (tournament VARCHAR, runner_s__up VARCHAR)
SELECT total_female FROM table_26214389_3 WHERE qatari_female = 918
If the qatari female is 918, what is the total number of females?
CREATE TABLE table_26214389_3 (total_female VARCHAR, qatari_female VARCHAR)
SELECT MIN(no_in_series) FROM table_11694832_1 WHERE written_by = "Adele Lim"
What is the first series number that Adele Lim wrote?
CREATE TABLE table_11694832_1 (no_in_series INTEGER, written_by VARCHAR)
SELECT manufacturer FROM table_name_85 WHERE rider = "simone corsi"
What is the Manufacturer for simone corsi?
CREATE TABLE table_name_85 (manufacturer VARCHAR, rider VARCHAR)
SELECT season FROM table_name_87 WHERE series = "formula bmw usa"
What season was the Formula BMW USA in?
CREATE TABLE table_name_87 (season VARCHAR, series VARCHAR)
SELECT COUNT(points_classification) FROM table_14710984_2 WHERE winner = "Matteo Priamo"
Who won the points classifications in the stage where Matteo Priamo was the winner?
CREATE TABLE table_14710984_2 (points_classification VARCHAR, winner VARCHAR)
SELECT MIN(lost) FROM table_name_71 WHERE played > 10 AND team = "ypiranga-sp" AND against > 50
What is the Lowest lost for Team Ypiranga-SP where the games Played is more than 10 and the goals Against is greater than 50?
CREATE TABLE table_name_71 (lost INTEGER, against VARCHAR, played VARCHAR, team VARCHAR)
SELECT COUNT(code) FROM table_16796625_1 WHERE municipality = "Vellinge municipality" AND population = 598
How many codes have a population of 598 in Vellinge Municipality?
CREATE TABLE table_16796625_1 (code VARCHAR, municipality VARCHAR, population VARCHAR)
SELECT player FROM table_name_93 WHERE score = 67 - 73 - 70 = 210
Who scored 67-73-70=210?
CREATE TABLE table_name_93 (player VARCHAR, score VARCHAR)
SELECT COUNT(rank) FROM table_24489942_10 WHERE nationality = "Switzerland"
Name the rank for switzerland
CREATE TABLE table_24489942_10 (rank VARCHAR, nationality VARCHAR)
SELECT coach FROM table_name_1 WHERE captain = "robert harvey"
Which coach works with Robert Harvey?
CREATE TABLE table_name_1 (coach VARCHAR, captain VARCHAR)
SELECT russian_title FROM table_207795_1 WHERE english_title = "The Ugly Swans"
What is the russian title of the ugly swans?
CREATE TABLE table_207795_1 (russian_title VARCHAR, english_title VARCHAR)
SELECT location FROM table_name_97 WHERE cause = "gas explosion" AND death_toll > 38 AND date = "10 june"
Where has a cause of gas explosion, a Death toll larger than 38 on 10 june?
CREATE TABLE table_name_97 (location VARCHAR, date VARCHAR, cause VARCHAR, death_toll VARCHAR)
SELECT visitor FROM table_name_98 WHERE record = "11–49–7"
What is the Visitor in the game with a Record of 11–49–7?
CREATE TABLE table_name_98 (visitor VARCHAR, record VARCHAR)
SELECT open_era FROM table_1725413_5 WHERE first_title = 1925
How many open era titles does the team with their first title in 1925 have?
CREATE TABLE table_1725413_5 (open_era VARCHAR, first_title VARCHAR)
SELECT COUNT(location) FROM table_23379776_5 WHERE name_of_role = "Xiao Gui 小鬼"
How many locations for name of role as Xiao Gui 小鬼?
CREATE TABLE table_23379776_5 (location VARCHAR, name_of_role VARCHAR)
SELECT date FROM table_2267857_1 WHERE year = 2006
Name the date for 2006
CREATE TABLE table_2267857_1 (date VARCHAR, year VARCHAR)
SELECT loser FROM table_name_89 WHERE location = "schaefer stadium" AND winner = "new england patriots" AND date = "october 18"
Who lost at schaefer stadium when the Winner was new england patriots, and a Date of october 18?
CREATE TABLE table_name_89 (loser VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR)
SELECT american FROM table_name_11 WHERE australian = "əʉ"
What's the American pronunciation when the Australian is əʉ?
CREATE TABLE table_name_11 (american VARCHAR, australian VARCHAR)
SELECT position FROM table_name_62 WHERE player = "alexei lazarenko"
What position does Alexei Lazarenko have?
CREATE TABLE table_name_62 (position VARCHAR, player VARCHAR)
SELECT COUNT(season) AS Finale FROM table_1348989_2 WHERE season = "2nd"
How many times did the 2nd season have a finale?
CREATE TABLE table_1348989_2 (season VARCHAR)
SELECT COUNT(rank_held_at_time_of_death) FROM table_16527640_2 WHERE player = "Paddy Rowan"
How many players named paddy rowan?
CREATE TABLE table_16527640_2 (rank_held_at_time_of_death VARCHAR, player VARCHAR)
SELECT AVG(points) FROM table_name_74 WHERE drawn = 3 AND played < 22
Which Points is the average one that has Drawn of 3, and a Played smaller than 22?
CREATE TABLE table_name_74 (points INTEGER, drawn VARCHAR, played VARCHAR)
SELECT MIN(tries) FROM table_name_22 WHERE conversions > 0
What is the smallest number of tries with conversions more than 0?
CREATE TABLE table_name_22 (tries INTEGER, conversions INTEGER)
SELECT SUM(yards) FROM table_name_62 WHERE player = "davin meggett" AND rec > 9
How many yards did Davin Meggett have with more than 9 Rec.?
CREATE TABLE table_name_62 (yards INTEGER, player VARCHAR, rec VARCHAR)
SELECT language FROM table_name_16 WHERE television_service = "canale aste"
What is the Language for Canale Aste?
CREATE TABLE table_name_16 (language VARCHAR, television_service VARCHAR)
SELECT week FROM table_name_91 WHERE result = "l 38-21"
Which week had a result of L 38-21?
CREATE TABLE table_name_91 (week VARCHAR, result VARCHAR)
SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE name = "Buffalo Lake"
What is the population density in Buffalo Lake?
CREATE TABLE table_2500440_1 (population_density__per_km_2__ VARCHAR, name VARCHAR)
SELECT 2010 FROM table_name_2 WHERE tournament = "olympic games"
Which 2010 stat featured the tournament of the Olympic Games?
CREATE TABLE table_name_2 (tournament VARCHAR)
SELECT natural_change FROM table_name_88 WHERE crude_death_rate__per_1000_ > 9 AND deaths = "40 399"
Which Natural change has a Crude death rate (per 1000) larger than 9, and Deaths of 40 399?
CREATE TABLE table_name_88 (natural_change VARCHAR, crude_death_rate__per_1000_ VARCHAR, deaths VARCHAR)
SELECT poll_source FROM table_name_88 WHERE lead_margin = 5.5
Which organization administered the poll that showed a lead margin of 5.5?
CREATE TABLE table_name_88 (poll_source VARCHAR, lead_margin VARCHAR)
SELECT notes FROM table_name_85 WHERE kit_supplier = "rapido" AND shirt_printing = "名品+1"
What are the notes for the shirt that says 名品+1 in the kit supplied by Rapido?
CREATE TABLE table_name_85 (notes VARCHAR, kit_supplier VARCHAR, shirt_printing VARCHAR)