question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which year did the Short Pump Town Center Mall open?
CREATE TABLE table_name_4 (year_opened VARCHAR, mall_name VARCHAR)
SELECT year_opened FROM table_name_4 WHERE mall_name = "short pump town center"
Name the ezhavas for muslims being 5.4
CREATE TABLE table_23214055_2 (ezhavas VARCHAR, muslims VARCHAR)
SELECT ezhavas FROM table_23214055_2 WHERE muslims = "5.4"
Which author has a company of the Semeio Theatre?
CREATE TABLE table_name_22 (author VARCHAR, company VARCHAR)
SELECT author FROM table_name_22 WHERE company = "semeio theatre"
Which episode did 18.74 million people tune in?
CREATE TABLE table_25996938_1 (title VARCHAR, us_viewers__million_ VARCHAR)
SELECT title FROM table_25996938_1 WHERE us_viewers__million_ = "18.74"
When edward shaw is the winner what is the date?
CREATE TABLE table_28898974_3 (date VARCHAR, winner VARCHAR)
SELECT date FROM table_28898974_3 WHERE winner = "Edward Shaw"
When was outgoing manager Zoltán Varga appointed?
CREATE TABLE table_name_77 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_appointment FROM table_name_77 WHERE outgoing_manager = "zoltán varga"
Which partner was on 14 april 2013?
CREATE TABLE table_name_94 (partner VARCHAR, date VARCHAR)
SELECT partner FROM table_name_94 WHERE date = "14 april 2013"
What is the average played that has a drawn greater than 1, with an against greater than 16?
CREATE TABLE table_name_17 (played INTEGER, drawn VARCHAR, against VARCHAR)
SELECT AVG(played) FROM table_name_17 WHERE drawn > 1 AND against > 16
WHAT IS THE LEAGUE WITH A ROUND LARGER THAN 6?
CREATE TABLE table_name_82 (college_junior_club_team__league_ VARCHAR, round INTEGER)
SELECT college_junior_club_team__league_ FROM table_name_82 WHERE round > 6
I want the total number of Grids for heinz-harald frentzen
CREATE TABLE table_name_10 (grid VARCHAR, driver VARCHAR)
SELECT COUNT(grid) FROM table_name_10 WHERE driver = "heinz-harald frentzen"
what is the score when the partner is alexandra fusai?
CREATE TABLE table_name_67 (score VARCHAR, partner VARCHAR)
SELECT score FROM table_name_67 WHERE partner = "alexandra fusai"
What is Anna Rogowska's average result?
CREATE TABLE table_name_7 (result INTEGER, name VARCHAR)
SELECT AVG(result) FROM table_name_7 WHERE name = "anna rogowska"
What is the team #2 with Deport as team #1?
CREATE TABLE table_name_31 (team__number2 VARCHAR, team__number1 VARCHAR)
SELECT team__number2 FROM table_name_31 WHERE team__number1 = "deport"
What is the release date of the episode named Mouse-Placed Kitten with an episode number less than 1495 directed by Robert McKimson?
CREATE TABLE table_name_93 (release_date VARCHAR, title VARCHAR, production_number VARCHAR, director VARCHAR)
SELECT release_date FROM table_name_93 WHERE production_number < 1495 AND director = "robert mckimson" AND title = "mouse-placed kitten"
Which rebound was 8 and has and ast that was less than 57?
CREATE TABLE table_name_64 (b_ VARCHAR, reb_ INTEGER, no_ VARCHAR, a_ VARCHAR, ast_ VARCHAR)
SELECT AVG(reb_)[b_] FROM table_name_64 WHERE no_[a_] = "8" AND ast_[b_] < 57
What music is in the film before 1962?
CREATE TABLE table_name_23 (music VARCHAR, year VARCHAR)
SELECT music FROM table_name_23 WHERE year = 1962
Which battle of the planets where ova (harmony gold dub) is solaris?
CREATE TABLE table_17480471_3 (battle_of_the_planets VARCHAR, ova__harmony_gold_dub_ VARCHAR)
SELECT battle_of_the_planets FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Solaris"
WHAT IS THE TO PAR WITH A T7 PLACE, SCORE OF 72-67=139, AND PLAYER RAYMOND FLOYD?
CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_77 WHERE place = "t7" AND score = 72 - 67 = 139 AND player = "raymond floyd"
What is the part 4 entry for class 7b?
CREATE TABLE table_name_88 (part_4 VARCHAR, class VARCHAR)
SELECT part_4 FROM table_name_88 WHERE class = "7b"
Who directed the episode that had 1.48 million viewers in the U.S.?
CREATE TABLE table_29569969_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT directed_by FROM table_29569969_2 WHERE us_viewers__millions_ = "1.48"
How many segment A were in series episode 14-05
CREATE TABLE table_15187735_14 (segment_a VARCHAR, series_ep VARCHAR)
SELECT COUNT(segment_a) FROM table_15187735_14 WHERE series_ep = "14-05"
Name the number of stacks for 1 & 2 235 mw 3 & 4 88.2 mw
CREATE TABLE table_23958917_1 (stacks VARCHAR, unit_capacity__2009_ VARCHAR)
SELECT COUNT(stacks) FROM table_23958917_1 WHERE unit_capacity__2009_ = "1 & 2 235 MW 3 & 4 88.2 MW"
What is the Pole Position of the Swedish Grand Prix?
CREATE TABLE table_name_95 (pole_position VARCHAR, race VARCHAR)
SELECT pole_position FROM table_name_95 WHERE race = "swedish grand prix"
In which episode is Sean's team made up of Krishnan Guru-Murthy and Vic Reeves?
CREATE TABLE table_23292220_3 (episode VARCHAR, seans_team VARCHAR)
SELECT episode FROM table_23292220_3 WHERE seans_team = "Krishnan Guru-Murthy and Vic Reeves"
What is the lowest listed In service for a vessel of xavery czernicki class?
CREATE TABLE table_name_71 (in_service INTEGER, vessel VARCHAR)
SELECT MIN(in_service) FROM table_name_71 WHERE vessel = "xavery czernicki class"
What team was Andrew Ranger in?
CREATE TABLE table_name_78 (team VARCHAR, name VARCHAR)
SELECT team FROM table_name_78 WHERE name = "andrew ranger"
Who is the player from the United States with a t6 place and a 71-70-76-72=289 score?
CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_67 WHERE country = "united states" AND place = "t6" AND score = 71 - 70 - 76 - 72 = 289
How long did the match last in the Rings: Final Capture event?
CREATE TABLE table_name_80 (time VARCHAR, event VARCHAR)
SELECT time FROM table_name_80 WHERE event = "rings: final capture"
What draft pick number did Kentucky get?
CREATE TABLE table_25085059_1 (pick__number INTEGER, college VARCHAR)
SELECT MIN(pick__number) FROM table_25085059_1 WHERE college = "Kentucky"
how many times is bronze 2 and gold more than 3?
CREATE TABLE table_name_34 (total VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT COUNT(total) FROM table_name_34 WHERE bronze = 2 AND gold > 3
where college is british columbia what are all the player
CREATE TABLE table_26996293_2 (player VARCHAR, college VARCHAR)
SELECT player FROM table_26996293_2 WHERE college = "British Columbia"
What is the lowest CPC Blend Kazakhstan number when Draugen North Sea is 17?
CREATE TABLE table_name_38 (cpc_blend_kazakhstan INTEGER, draugen_north_sea VARCHAR)
SELECT MIN(cpc_blend_kazakhstan) FROM table_name_38 WHERE draugen_north_sea = 17
What is the Frequency at the Market/Rank of Burlington - Plattsburgh , Vermont - New York /143?
CREATE TABLE table_10333757_1 (frequency VARCHAR, market_rank VARCHAR)
SELECT COUNT(frequency) FROM table_10333757_1 WHERE market_rank = "Burlington - Plattsburgh , Vermont - New York /143"
What is the score on 22 September 1972?
CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_24 WHERE date = "22 september 1972"
What was the score when attendance was 19,887?
CREATE TABLE table_name_2 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_2 WHERE attendance = "19,887"
how many sections are for the season of 2008
CREATE TABLE table_29697744_1 (section VARCHAR, season VARCHAR)
SELECT COUNT(section) FROM table_29697744_1 WHERE season = "2008"
What position is the player Jordan Fransoo in?
CREATE TABLE table_11803648_20 (position VARCHAR, player VARCHAR)
SELECT position FROM table_11803648_20 WHERE player = "Jordan Fransoo"
What was the lowest against when the draw was at least 0?
CREATE TABLE table_name_16 (against INTEGER, draws INTEGER)
SELECT MIN(against) FROM table_name_16 WHERE draws > 0
When completing 182 laps, what was the qual.?
CREATE TABLE table_name_67 (qual VARCHAR, laps VARCHAR)
SELECT qual FROM table_name_67 WHERE laps = 182
Who has the high assists when the team is Oklahoma City?
CREATE TABLE table_23285805_8 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_23285805_8 WHERE team = "Oklahoma City"
Name the driver for 200 laps 1997
CREATE TABLE table_2150776_1 (driver VARCHAR, laps VARCHAR, year VARCHAR)
SELECT driver FROM table_2150776_1 WHERE laps = "200" AND year = "1997"
How many Apogee sis Ops-8285 with more than 1500 kg?
CREATE TABLE table_name_74 (apogee__km_ VARCHAR, alt_name VARCHAR, mass__kg_ VARCHAR)
SELECT COUNT(apogee__km_) FROM table_name_74 WHERE alt_name = "ops-8285" AND mass__kg_ > 1500
What's the writer of Episode 1?
CREATE TABLE table_12919003_3 (writer VARCHAR, episode VARCHAR)
SELECT writer FROM table_12919003_3 WHERE episode = "episode 1"
Which Republican ran against the American Labor candidate Matthew J. Merritt?
CREATE TABLE table_name_5 (republican_ticket VARCHAR, american_labor_ticket VARCHAR)
SELECT republican_ticket FROM table_name_5 WHERE american_labor_ticket = "matthew j. merritt"
What Platform has a Current Version 0.6.2?
CREATE TABLE table_name_55 (platform VARCHAR, current_version VARCHAR)
SELECT platform FROM table_name_55 WHERE current_version = "0.6.2"
What is the grid total for cars that went 17 laps?
CREATE TABLE table_name_60 (grid INTEGER, laps VARCHAR)
SELECT SUM(grid) FROM table_name_60 WHERE laps = 17
What is the name of the person with a type of end of contract, nat of sco, and the Moving to is cardiff city?
CREATE TABLE table_name_81 (name VARCHAR, moving_to VARCHAR, type VARCHAR, nat VARCHAR)
SELECT name FROM table_name_81 WHERE type = "end of contract" AND nat = "sco" AND moving_to = "cardiff city"
What driver has 44 laps?
CREATE TABLE table_name_75 (driver VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_75 WHERE laps = 44
Which race has D. Beadman for the jockey and a 4th place result?
CREATE TABLE table_name_27 (race VARCHAR, jockey VARCHAR, result VARCHAR)
SELECT race FROM table_name_27 WHERE jockey = "d. beadman" AND result = "4th"
What was the sum of the population in 2010 for the division of japeri with an area of 82.9 squared km?
CREATE TABLE table_name_16 (population__2010_census_ INTEGER, administrative_division VARCHAR, area__km²_ VARCHAR)
SELECT SUM(population__2010_census_) FROM table_name_16 WHERE administrative_division = "japeri" AND area__km²_ < 82.9
How many people were from portland, or?
CREATE TABLE table_26419467_1 (age VARCHAR, hometown VARCHAR)
SELECT COUNT(age) FROM table_26419467_1 WHERE hometown = "Portland, OR"
Khalil chawka has a gender of ♂, a religion of ☪, and how many votes?
CREATE TABLE table_name_55 (votes VARCHAR, candidate_name VARCHAR, gender VARCHAR, religion VARCHAR)
SELECT votes FROM table_name_55 WHERE gender = "♂" AND religion = "☪" AND candidate_name = "khalil chawka"
Can you tell me the sum of Gain that has the Name of kass, rob, and the Avg/g smaller than 1.9?
CREATE TABLE table_name_75 (gain INTEGER, name VARCHAR, avg_g VARCHAR)
SELECT SUM(gain) FROM table_name_75 WHERE name = "kass, rob" AND avg_g < 1.9
What does the word "frog"in English translate to in Italian?
CREATE TABLE table_2077192_2 (italian VARCHAR, english VARCHAR)
SELECT italian FROM table_2077192_2 WHERE english = "frog"
How many casualties from the combat in the Fayzabad area?
CREATE TABLE table_name_71 (casualties VARCHAR, circumstances VARCHAR, location VARCHAR)
SELECT casualties FROM table_name_71 WHERE circumstances = "combat" AND location = "fayzabad area"
What is the Score of the game with arsenal win 4-2 on penalties in the attendance field?
CREATE TABLE table_name_85 (score VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_85 WHERE attendance = "arsenal win 4-2 on penalties"
Name the record for golden state
CREATE TABLE table_23186738_6 (record VARCHAR, team VARCHAR)
SELECT record FROM table_23186738_6 WHERE team = "Golden State"
If the episode was directed by Michael Offer, what was the episode number?
CREATE TABLE table_25084227_1 (no INTEGER, directed_by VARCHAR)
SELECT MIN(no) FROM table_25084227_1 WHERE directed_by = "Michael Offer"
What is the average game that has December 6 as the date?
CREATE TABLE table_name_91 (game INTEGER, date VARCHAR)
SELECT AVG(game) FROM table_name_91 WHERE date = "december 6"
What is the date of the performance with the highest number of attendees?
CREATE TABLE performance (Date VARCHAR, Attendance VARCHAR)
SELECT Date FROM performance ORDER BY Attendance DESC LIMIT 1
What is the status for all the counties that have a poverty rate of 36.6%?
CREATE TABLE table_22815568_3 (status VARCHAR, poverty_rate VARCHAR)
SELECT status FROM table_22815568_3 WHERE poverty_rate = "36.6%"
What was the attendance when their record stood at 0-2-2?
CREATE TABLE table_name_5 (attendance INTEGER, record VARCHAR)
SELECT SUM(attendance) FROM table_name_5 WHERE record = "0-2-2"
Name the venue for 25 may 2008
CREATE TABLE table_name_94 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_94 WHERE date = "25 may 2008"
Name the number of headphone class for sr100
CREATE TABLE table_1601027_2 (headphone_class VARCHAR, headphone_model VARCHAR)
SELECT COUNT(headphone_class) FROM table_1601027_2 WHERE headphone_model = "SR100"
Count the Earnings per share (¢) in April smaller than 2012, a Revenue (US $million) of 432.6 and a EBIT (US $m) smaller than 150.5?
CREATE TABLE table_name_34 (earnings_per_share__ INTEGER, ebit__us_$m_ VARCHAR, year_to_april VARCHAR, revenue__us_$million_ VARCHAR)
SELECT SUM(earnings_per_share__) AS ¢_ FROM table_name_34 WHERE year_to_april < 2012 AND revenue__us_$million_ = 432.6 AND ebit__us_$m_ < 150.5
What area did Julius Boros play at?
CREATE TABLE table_name_92 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_92 WHERE player = "julius boros"
On November 14, 2007, what are the Democrat: Vivian Davis Figures percentages?
CREATE TABLE table_16751596_12 (democrat VARCHAR, dates_administered VARCHAR)
SELECT democrat AS :_vivian_davis_figures FROM table_16751596_12 WHERE dates_administered = "November 14, 2007"
under belles, which is the most possible created?
CREATE TABLE table_261895_1 (founded INTEGER, nickname VARCHAR)
SELECT MAX(founded) FROM table_261895_1 WHERE nickname = "Belles"
Who is the owner with the branding fox fm?
CREATE TABLE table_name_48 (owner VARCHAR, branding VARCHAR)
SELECT owner FROM table_name_48 WHERE branding = "fox fm"
What name that has a DCSF number bigger than 2448 and an Ofsted number of 131319?
CREATE TABLE table_name_95 (name VARCHAR, dcsf_number VARCHAR, ofsted_number VARCHAR)
SELECT name FROM table_name_95 WHERE dcsf_number > 2448 AND ofsted_number = 131319
Which Country has a Money ($) of 0, and a Place of t10?
CREATE TABLE table_name_93 (country VARCHAR, money___$__ VARCHAR, place VARCHAR)
SELECT country FROM table_name_93 WHERE money___$__ = 0 AND place = "t10"
What was the Ravg for 2003?
CREATE TABLE table_name_87 (ravg VARCHAR, year VARCHAR)
SELECT ravg FROM table_name_87 WHERE year = "2003"
What is the lowest Tournaments, when Name is "Baruto"?
CREATE TABLE table_name_76 (tournaments INTEGER, name VARCHAR)
SELECT MIN(tournaments) FROM table_name_76 WHERE name = "baruto"
What height was the player that played for the Rockets between 1992-93?
CREATE TABLE table_11734041_1 (height_in_ft VARCHAR, years_for_rockets VARCHAR)
SELECT height_in_ft FROM table_11734041_1 WHERE years_for_rockets = "1992-93"
what was the participation for saturday, may 12
CREATE TABLE table_27893892_2 (attendance INTEGER, date VARCHAR)
SELECT MAX(attendance) FROM table_27893892_2 WHERE date = "Saturday, May 12"
When shaun maloney is the player what is the lowest p?
CREATE TABLE table_18254488_2 (p INTEGER, player VARCHAR)
SELECT MIN(p) FROM table_18254488_2 WHERE player = "Shaun Maloney"
Which competition had a final position/round of 2?
CREATE TABLE table_name_68 (competition VARCHAR, final_position___round VARCHAR)
SELECT competition FROM table_name_68 WHERE final_position___round = "2"
Who was the visiting team in the game against the Dallas Cowboys?
CREATE TABLE table_name_10 (visiting_team VARCHAR, host_team VARCHAR)
SELECT visiting_team FROM table_name_10 WHERE host_team = "dallas cowboys"
What is the lowest quantity of the 1b n2 type, which was retired in 1907-12?
CREATE TABLE table_name_50 (quantity INTEGER, type VARCHAR, retired VARCHAR)
SELECT MIN(quantity) FROM table_name_50 WHERE type = "1b n2" AND retired = "1907-12"
Who is the captain of the team coached by Giles White?
CREATE TABLE table_name_28 (captain VARCHAR, coach VARCHAR)
SELECT captain FROM table_name_28 WHERE coach = "giles white"
What player is pick #2?
CREATE TABLE table_10960039_1 (player VARCHAR, pick__number VARCHAR)
SELECT player FROM table_10960039_1 WHERE pick__number = 2
What is the result for game 5?
CREATE TABLE table_name_65 (result VARCHAR, game VARCHAR)
SELECT result FROM table_name_65 WHERE game = "game 5"
what's the incumbent with result being new seat republican gain
CREATE TABLE table_1342256_6 (incumbent VARCHAR, result VARCHAR)
SELECT incumbent FROM table_1342256_6 WHERE result = "New seat Republican gain"
What Dialcode has a location of Edmonton?
CREATE TABLE table_name_11 (dialcode VARCHAR, location VARCHAR)
SELECT dialcode FROM table_name_11 WHERE location = "edmonton"
Tell me the Ryuji Hijikata for Block A of Ryuji Hijikata
CREATE TABLE table_name_72 (ryuji_hijikata VARCHAR, block_a VARCHAR)
SELECT ryuji_hijikata FROM table_name_72 WHERE block_a = "ryuji hijikata"
What is the population (1991) when cyrillic name is панчево?
CREATE TABLE table_2562572_7 (population__1991_ INTEGER, cyrillic_name VARCHAR)
SELECT MIN(population__1991_) FROM table_2562572_7 WHERE cyrillic_name = "Панчево"
How many international tourists visited Russia in 2012?
CREATE TABLE table_29789_1 (international_tourist_arrivals__2012_ VARCHAR, country VARCHAR)
SELECT international_tourist_arrivals__2012_ FROM table_29789_1 WHERE country = "Russia"
When Date has a Game larger than 4 and a Team of san antonio, and a Record of 4-3?
CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR, game VARCHAR, team VARCHAR)
SELECT date FROM table_name_86 WHERE game > 4 AND team = "san antonio" AND record = "4-3"
What is the least rank for athletes with a time of 6:36.65?
CREATE TABLE table_name_80 (rank INTEGER, time VARCHAR)
SELECT MIN(rank) FROM table_name_80 WHERE time = "6:36.65"
What is Opponents In The Final, when Surface is "Carpet", and when Tournament is "Milan , Italy"?
CREATE TABLE table_name_61 (opponents_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT opponents_in_the_final FROM table_name_61 WHERE surface = "carpet" AND tournament = "milan , italy"
What is the home town of David Noel?
CREATE TABLE table_20785990_2 (home_town VARCHAR, name VARCHAR)
SELECT home_town FROM table_20785990_2 WHERE name = "David Noel"
What is the directed/undirected for mfinder, which has an induced/non-induced of induced and an exact counting method?
CREATE TABLE table_name_13 (directed___undirected VARCHAR, name VARCHAR, induced___non_induced VARCHAR, counting_method VARCHAR)
SELECT directed___undirected FROM table_name_13 WHERE induced___non_induced = "induced" AND counting_method = "exact" AND name = "mfinder"
What is Away Team, when Home Team is "West Ham United"?
CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_83 WHERE home_team = "west ham united"
What is the name of the building at the Jewellery quarter?
CREATE TABLE table_name_61 (name VARCHAR, location VARCHAR)
SELECT name FROM table_name_61 WHERE location = "jewellery quarter"
Who is the Incumbent with Results of 68% 32%?
CREATE TABLE table_name_1 (incumbent VARCHAR, results VARCHAR)
SELECT incumbent FROM table_name_1 WHERE results = "68% 32%"
Which player played for the Boston Patriots?
CREATE TABLE table_name_61 (player VARCHAR, team VARCHAR)
SELECT player FROM table_name_61 WHERE team = "boston patriots"
What album has the title I Need A Life with the label of warp records / paper bag records?
CREATE TABLE table_name_18 (album VARCHAR, label VARCHAR, title VARCHAR)
SELECT album FROM table_name_18 WHERE label = "warp records / paper bag records" AND title = "i need a life"
Name the screening completed for screening started 23 january 2006
CREATE TABLE table_name_22 (screening_completed VARCHAR, screening_started VARCHAR)
SELECT screening_completed FROM table_name_22 WHERE screening_started = "23 january 2006"
What is the name of the only route that runs to bhavnagar?
CREATE TABLE table_26745820_5 (vivek_express__15905_15906 VARCHAR, kanyakumari VARCHAR)
SELECT vivek_express__15905_15906 FROM table_26745820_5 WHERE kanyakumari = "Bhavnagar"
What is the A Score when the B Score is more than 9.05, and the total is less than 16.525?
CREATE TABLE table_name_54 (a_score VARCHAR, b_score VARCHAR, total VARCHAR)
SELECT COUNT(a_score) FROM table_name_54 WHERE b_score > 9.05 AND total < 16.525