question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is Michael Del Zotto's nationality?
CREATE TABLE table_name_54 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_54 WHERE player = "michael del zotto"
In which ceremony was Harnam Singh Rawail nominated for an award?
CREATE TABLE table_name_80 (ceremony VARCHAR, nominee VARCHAR)
SELECT ceremony FROM table_name_80 WHERE nominee = "harnam singh rawail"
How many starts have a year prior to 2012, and team penske as the team, with a finish greater than 27?
CREATE TABLE table_name_35 (start INTEGER, finish VARCHAR, year VARCHAR, team VARCHAR)
SELECT SUM(start) FROM table_name_35 WHERE year < 2012 AND team = "team penske" AND finish > 27
Who is the winner in the city of lima?
CREATE TABLE table_name_16 (winner VARCHAR, city VARCHAR)
SELECT winner FROM table_name_16 WHERE city = "lima"
Name the open cup for division finals
CREATE TABLE table_2365150_1 (open_cup VARCHAR, playoffs VARCHAR)
SELECT open_cup FROM table_2365150_1 WHERE playoffs = "division Finals"
What is the quantity of the aw class?
CREATE TABLE table_name_5 (quantity VARCHAR, class VARCHAR)
SELECT quantity FROM table_name_5 WHERE class = "aw"
Which tournament has 1r in 2011, 1r in 2012, A in 2005, and 1r in 2010?
CREATE TABLE table_name_62 (tournament VARCHAR)
SELECT tournament FROM table_name_62 WHERE 2011 = "1r" AND 2012 = "1r" AND 2005 = "a" AND 2010 = "1r"
What is the Score of Game 4?
CREATE TABLE table_name_98 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_98 WHERE game = "4"
Name the opponent for week 12
CREATE TABLE table_24126606_2 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_24126606_2 WHERE week = 12
Who was the incoming manager for the date of appointment of 15 january 2011?
CREATE TABLE table_26976615_3 (incoming_manager VARCHAR, date_of_appointment VARCHAR)
SELECT incoming_manager FROM table_26976615_3 WHERE date_of_appointment = "15 January 2011"
What team did carlos cardus drive for in 1983 when he got less than 21 points?
CREATE TABLE table_name_69 (team VARCHAR, points VARCHAR, year VARCHAR)
SELECT team FROM table_name_69 WHERE points < 21 AND year = 1983
what is the y = 2009 when the expression is month = floor ((d + e + 114) / 31)?
CREATE TABLE table_214479_8 (y_ VARCHAR, _2009 VARCHAR, expression VARCHAR, month VARCHAR, d VARCHAR, e VARCHAR)
SELECT y_ = _2009 FROM table_214479_8 WHERE expression = month = FLOOR((d + e + 114) / 31)
How many Winners have Wins of 1 and a Country of fiji and a First title smaller than 2004?
CREATE TABLE table_name_2 (winners INTEGER, first_title VARCHAR, wins VARCHAR, country VARCHAR)
SELECT AVG(winners) FROM table_name_2 WHERE wins = 1 AND country = "fiji" AND first_title < 2004
On December 5 what team played their home game?
CREATE TABLE table_name_20 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_20 WHERE date = "december 5"
Name who directed the production code 1l10
CREATE TABLE table_25604014_9 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_25604014_9 WHERE production_code = "1L10"
What is the accreditation level for the approved (awarded 05.12.12) date?
CREATE TABLE table_name_72 (accreditation_level VARCHAR, date VARCHAR)
SELECT accreditation_level FROM table_name_72 WHERE date = "approved (awarded 05.12.12)"
Which College/Junior/Club Team has a Nationality of Canada and Jeff brown?
CREATE TABLE table_name_84 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, player VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_84 WHERE nationality = "canada" AND player = "jeff brown"
How many total rounds were there at UFC 114?
CREATE TABLE table_name_30 (round VARCHAR, event VARCHAR)
SELECT COUNT(round) FROM table_name_30 WHERE event = "ufc 114"
In which week # was the original artist of Barreto's song choice was Leila Pinheiro?
CREATE TABLE table_27614571_1 (week__number VARCHAR, original_artist VARCHAR)
SELECT week__number FROM table_27614571_1 WHERE original_artist = "Leila Pinheiro"
what is the grid when the driver is louis rosier and the laps is more than 78?
CREATE TABLE table_name_39 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT MIN(grid) FROM table_name_39 WHERE driver = "louis rosier" AND laps > 78
Where did Richmond play as the away team?
CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_57 WHERE away_team = "richmond"
What tournament took place on 7 Aug 2011?
CREATE TABLE table_name_87 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_87 WHERE date = "7 aug 2011"
Can you tell me the Club thay has the Try BP of 0?
CREATE TABLE table_name_84 (club VARCHAR, try_bp VARCHAR)
SELECT club FROM table_name_84 WHERE try_bp = "0"
What is the sum of Rank, when Name is Will Solomon, and when Games is greater than 21?
CREATE TABLE table_name_45 (rank INTEGER, name VARCHAR, games VARCHAR)
SELECT SUM(rank) FROM table_name_45 WHERE name = "will solomon" AND games > 21
Which team was home on October 13?
CREATE TABLE table_name_26 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_26 WHERE date = "october 13"
What is Votes (%), when First Broadcast is "13 March 1998"?
CREATE TABLE table_name_41 (votes___percentage_ VARCHAR, first_broadcast VARCHAR)
SELECT votes___percentage_ FROM table_name_41 WHERE first_broadcast = "13 march 1998"
What was the final score when River Plate was the runner-up?
CREATE TABLE table_2208838_2 (result VARCHAR, runner_up VARCHAR)
SELECT result FROM table_2208838_2 WHERE runner_up = "River Plate"
what date has the record of 77-62?
CREATE TABLE table_name_22 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_22 WHERE record = "77-62"
What time has phil mcgurk as the rider?
CREATE TABLE table_name_34 (time VARCHAR, rider VARCHAR)
SELECT time FROM table_name_34 WHERE rider = "phil mcgurk"
What is the earliest year of Wallace & Gromit: The Curse of the Were-Rabbit?
CREATE TABLE table_name_13 (year INTEGER, title VARCHAR)
SELECT MIN(year) FROM table_name_13 WHERE title = "wallace & gromit: the curse of the were-rabbit"
What college did jeremy zuttah attend?
CREATE TABLE table_15592941_1 (college VARCHAR, player_name VARCHAR)
SELECT college FROM table_15592941_1 WHERE player_name = "Jeremy Zuttah"
What rank is Takatōriki?
CREATE TABLE table_name_53 (highest_rank VARCHAR, name VARCHAR)
SELECT highest_rank FROM table_name_53 WHERE name = "takatōriki"
What's the lowest Position with a Conceded that's larger than 16, Draws of 3, and Losses that's larger than 3?
CREATE TABLE table_name_6 (position INTEGER, losses VARCHAR, conceded VARCHAR, draws VARCHAR)
SELECT MIN(position) FROM table_name_6 WHERE conceded > 16 AND draws = 3 AND losses > 3
Name the record for dallas visitor
CREATE TABLE table_name_86 (record VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_86 WHERE visitor = "dallas"
Who directed the episode with a production code of 301?
CREATE TABLE table_18424435_4 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_18424435_4 WHERE production_code = 301
What is the Place of the Player with a Score of 70-71=141?
CREATE TABLE table_name_61 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_61 WHERE score = 70 - 71 = 141
Which Wins have a Class of 500cc, and a Year smaller than 1975?
CREATE TABLE table_name_46 (wins VARCHAR, class VARCHAR, year VARCHAR)
SELECT wins FROM table_name_46 WHERE class = "500cc" AND year < 1975
What is the last season the Worcester Wolves played?
CREATE TABLE table_name_65 (last_season VARCHAR, team VARCHAR)
SELECT last_season FROM table_name_65 WHERE team = "worcester wolves"
What was the report for the Sunday race where the winner had an average speed of 128.27 mph?
CREATE TABLE table_22298383_1 (report VARCHAR, day VARCHAR, average_speed__mph_ VARCHAR)
SELECT report FROM table_22298383_1 WHERE day = "Sunday" AND average_speed__mph_ = "128.27"
Which week has a Result of w 23–6?
CREATE TABLE table_name_79 (week VARCHAR, result VARCHAR)
SELECT week FROM table_name_79 WHERE result = "w 23–6"
On which date was the match in Manama, Bahrain?
CREATE TABLE table_name_63 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_63 WHERE venue = "manama, bahrain"
What was the home teams score when the VFL played at Kardinia Park?
CREATE TABLE table_name_80 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_80 WHERE venue = "kardinia park"
Show the name and age for all male people who don't have a wedding.
CREATE TABLE wedding (name VARCHAR, age VARCHAR, is_male VARCHAR, people_id VARCHAR, male_id VARCHAR); CREATE TABLE people (name VARCHAR, age VARCHAR, is_male VARCHAR, people_id VARCHAR, male_id VARCHAR)
SELECT name, age FROM people WHERE is_male = 'T' AND NOT people_id IN (SELECT male_id FROM wedding)
Name the average year for brookvale oval and margin more than 46
CREATE TABLE table_name_99 (year INTEGER, venue VARCHAR, margin VARCHAR)
SELECT AVG(year) FROM table_name_99 WHERE venue = "brookvale oval" AND margin > 46
What is the highest total that has a bronze greater than 1, a gold greater than 1, with a silver less than 4?
CREATE TABLE table_name_34 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT MAX(total) FROM table_name_34 WHERE bronze > 1 AND gold > 1 AND silver < 4
What 1998 has 2r as a 1993, and 1r as a 1990?
CREATE TABLE table_name_46 (Id VARCHAR)
SELECT 1998 FROM table_name_46 WHERE 1993 = "2r" AND 1990 = "1r"
Which shirt sponser has Nike as a kit manufacturer?
CREATE TABLE table_name_68 (shirt_sponsor VARCHAR, kit_manufacturer VARCHAR)
SELECT shirt_sponsor FROM table_name_68 WHERE kit_manufacturer = "nike"
Name the Runner-up of a Year in 1963?
CREATE TABLE table_name_18 (runner_up VARCHAR, year VARCHAR)
SELECT runner_up FROM table_name_18 WHERE year = 1963
What is the name of the building housing more than 101 floors, that was built after 2006?
CREATE TABLE table_name_55 (name VARCHAR, year VARCHAR, floors VARCHAR)
SELECT name FROM table_name_55 WHERE year > 2006 AND floors > 101
What is the rank number that aired october 26, 2007?
CREATE TABLE table_11251109_3 (_number VARCHAR, air_date VARCHAR)
SELECT RANK(_number) FROM table_11251109_3 WHERE air_date = "October 26, 2007"
What was the original airdate for the episode written by daisuke habara and directed by akimitsu sasaki
CREATE TABLE table_29039942_1 (original_airdate VARCHAR, writer VARCHAR, director VARCHAR)
SELECT original_airdate FROM table_29039942_1 WHERE writer = "Daisuke Habara" AND director = "Akimitsu Sasaki"
How many different matchup/results appear in San Diego, California?
CREATE TABLE table_23718905_6 (matchup_results VARCHAR, city VARCHAR)
SELECT COUNT(matchup_results) FROM table_23718905_6 WHERE city = "San Diego, California"
Which Silver has a Total smaller than 2 and a Rank larger than 8
CREATE TABLE table_name_58 (silver INTEGER, total VARCHAR, rank VARCHAR)
SELECT MIN(silver) FROM table_name_58 WHERE total < 2 AND rank > 8
What is the PI GP of Rob Flockhart, who has a pick # less than 122 and a round # less than 3?
CREATE TABLE table_name_44 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR, player VARCHAR)
SELECT SUM(pl_gp) FROM table_name_44 WHERE pick__number < 122 AND player = "rob flockhart" AND rd__number < 3
Who has an x under Jump 1, a Jump 2 of 7.28, and what is this person's Best Jump?
CREATE TABLE table_name_48 (best_jump VARCHAR, jump_1 VARCHAR, jump_2 VARCHAR)
SELECT best_jump FROM table_name_48 WHERE jump_1 = "x" AND jump_2 = "7.28"
Does Trinity (valhalla) have HDMI?
CREATE TABLE table_name_29 (hdmi VARCHAR, codename VARCHAR)
SELECT hdmi FROM table_name_29 WHERE codename = "trinity (valhalla)"
What week was the finalist Martina Hingis?
CREATE TABLE table_name_6 (week VARCHAR, finalist VARCHAR)
SELECT week FROM table_name_6 WHERE finalist = "martina hingis"
Which NBA draft has a School of huntington high school?
CREATE TABLE table_name_57 (nba_draft VARCHAR, school VARCHAR)
SELECT nba_draft FROM table_name_57 WHERE school = "huntington high school"
Who was the manager for the team with captain Neil Redfearn?
CREATE TABLE table_name_24 (manager_1 VARCHAR, captain VARCHAR)
SELECT manager_1 FROM table_name_24 WHERE captain = "neil redfearn"
Show the colleges that have both authors with submission score larger than 90 and authors with submission score smaller than 80.
CREATE TABLE submission (College VARCHAR, Scores INTEGER)
SELECT College FROM submission WHERE Scores > 90 INTERSECT SELECT College FROM submission WHERE Scores < 80
If the the condition/parameter is rapidity of 2 hyperbolic radians, what is the coordinate velocity v dx/dt in units of c?
CREATE TABLE table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR, condition_parameter VARCHAR)
SELECT coordinate_velocity_v_dx_dt_in_units_of_c FROM table_15314901_1 WHERE condition_parameter = "Rapidity of 2 hyperbolic radians"
How many Wins have a Top-10 smaller than 6, and Cuts made larger than 7, and a Top-5 of 0?
CREATE TABLE table_name_57 (wins VARCHAR, top_5 VARCHAR, top_10 VARCHAR, cuts_made VARCHAR)
SELECT COUNT(wins) FROM table_name_57 WHERE top_10 < 6 AND cuts_made > 7 AND top_5 = 0
What is the elevation for number 39?
CREATE TABLE table_2731431_1 (elevation__m_ INTEGER, no VARCHAR)
SELECT MAX(elevation__m_) FROM table_2731431_1 WHERE no = 39
What manufacturer has a year made of 1923?
CREATE TABLE table_name_73 (manufacturer VARCHAR, year_made VARCHAR)
SELECT manufacturer FROM table_name_73 WHERE year_made = "1923"
Name the score for 21 may 2011
CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_35 WHERE date = "21 may 2011"
Which Market/Rank is associated with WCRN calls?
CREATE TABLE table_10333757_1 (market_rank VARCHAR, calls VARCHAR)
SELECT market_rank FROM table_10333757_1 WHERE calls = "WCRN"
What was the result of the election in the Florida 18 district?
CREATE TABLE table_1341598_10 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1341598_10 WHERE district = "Florida 18"
How many players came from Los Angeles?
CREATE TABLE table_24055352_1 (name VARCHAR, hometown VARCHAR)
SELECT COUNT(name) FROM table_24055352_1 WHERE hometown = "Los Angeles"
What club received a DF player for free?
CREATE TABLE table_name_52 (to_club VARCHAR, transfer_fee VARCHAR, pos VARCHAR)
SELECT to_club FROM table_name_52 WHERE transfer_fee = "free" AND pos = "df"
How many episodes were in the season that ended on April 29, 1986?
CREATE TABLE table_name_65 (episodes INTEGER, last_airdate VARCHAR)
SELECT AVG(episodes) FROM table_name_65 WHERE last_airdate = "april 29, 1986"
Tell me the goals for score of 38-28
CREATE TABLE table_name_54 (goals VARCHAR, score VARCHAR)
SELECT goals FROM table_name_54 WHERE score = "38-28"
How much did the home team Hawthorn score?
CREATE TABLE table_name_5 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_5 WHERE home_team = "hawthorn"
How many interviews were there for Miss Virginia?
CREATE TABLE table_11690135_1 (interview VARCHAR, country VARCHAR)
SELECT COUNT(interview) FROM table_11690135_1 WHERE country = "Virginia"
Which district has an incumbent of Sanford Bishop?
CREATE TABLE table_name_92 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_name_92 WHERE incumbent = "sanford bishop"
What attendance was on 7 January 2003?
CREATE TABLE table_name_14 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_14 WHERE date = "7 january 2003"
How many managers for club in Turku where kitmaker is Puma?
CREATE TABLE table_25129482_1 (manager VARCHAR, kitmaker VARCHAR, location VARCHAR)
SELECT COUNT(manager) FROM table_25129482_1 WHERE kitmaker = "Puma" AND location = "Turku"
What is the name of the city/municipality if the population is 1,388.88?
CREATE TABLE table_232458_1 (city___municipality VARCHAR, pop_density__per_km²_ VARCHAR)
SELECT city___municipality FROM table_232458_1 WHERE pop_density__per_km²_ = "1,388.88"
Roy Rogers play for what school/club team?
CREATE TABLE table_name_38 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_38 WHERE player = "roy rogers"
What team plays at Palmerston Park?
CREATE TABLE table_11207040_5 (team VARCHAR, stadium VARCHAR)
SELECT team FROM table_11207040_5 WHERE stadium = "Palmerston Park"
What was the Score in the game against the Buffalo Sabres?
CREATE TABLE table_name_83 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_83 WHERE opponent = "buffalo sabres"
What is the score on 22 january 2008?
CREATE TABLE table_name_88 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_88 WHERE date = "22 january 2008"
How many stamps have a face value of 37¢ and were printed in the banknote corporation of america?
CREATE TABLE table_15635768_1 (no_stamps_in_sheet VARCHAR, face_value VARCHAR, printer VARCHAR)
SELECT COUNT(no_stamps_in_sheet) FROM table_15635768_1 WHERE face_value = "37¢" AND printer = "Banknote Corporation of America"
what is the original air date of the episode no in season 9?
CREATE TABLE table_10610087_3 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT original_air_date FROM table_10610087_3 WHERE no_in_season = 9
Which tournament has a Runner(s)-up of Gary McCord?
CREATE TABLE table_name_47 (tournament VARCHAR, runner_s__up VARCHAR)
SELECT tournament FROM table_name_47 WHERE runner_s__up = "gary mccord"
Where did Collingwood play as the home team?
CREATE TABLE table_name_28 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_28 WHERE home_team = "collingwood"
What is Anders Forsbrand's score with a to par of +1?
CREATE TABLE table_name_64 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_64 WHERE to_par = "+1" AND player = "anders forsbrand"
Who is the rider who had the time of 1:27.37.22?
CREATE TABLE table_name_52 (rider VARCHAR, time VARCHAR)
SELECT rider FROM table_name_52 WHERE time = "1:27.37.22"
What is the latest year?
CREATE TABLE table_2199290_1 (year INTEGER)
SELECT MAX(year) FROM table_2199290_1
What is the depth of the aftershock at 18:00:22?
CREATE TABLE table_24518475_1 (depth VARCHAR, time__utc_ VARCHAR)
SELECT depth FROM table_24518475_1 WHERE time__utc_ = "18:00:22"
Which languages are offered in the coverage area of klang petaling jaya shah alam?
CREATE TABLE table_1837570_1 (language VARCHAR, coverage_area VARCHAR)
SELECT language FROM table_1837570_1 WHERE coverage_area = "Klang Petaling Jaya Shah Alam"
Which venue had 5000 m notes in 2009 with a 1st position?
CREATE TABLE table_name_2 (venue VARCHAR, position VARCHAR, notes VARCHAR, year VARCHAR)
SELECT venue FROM table_name_2 WHERE notes = "5000 m" AND year = 2009 AND position = "1st"
what is the goals for when the club is new england revolution?
CREATE TABLE table_1246208_5 (goals_for VARCHAR, club VARCHAR)
SELECT goals_for FROM table_1246208_5 WHERE club = "New England Revolution"
When £337,000 is £ saved what is the percentage of electricity reduction?
CREATE TABLE table_29538735_1 (_percentage_electricity_reduction VARCHAR, £_saved VARCHAR)
SELECT _percentage_electricity_reduction FROM table_29538735_1 WHERE £_saved = "£337,000"
Which Game has a Team of portland trail blazers?
CREATE TABLE table_name_36 (game INTEGER, team VARCHAR)
SELECT AVG(game) FROM table_name_36 WHERE team = "portland trail blazers"
Can you tell me the Record that has the Team of minnesota?
CREATE TABLE table_name_91 (record VARCHAR, team VARCHAR)
SELECT record FROM table_name_91 WHERE team = "minnesota"
What county has a CERCLIS ID of scd037405362?
CREATE TABLE table_name_64 (county VARCHAR, cerclis_id VARCHAR)
SELECT county FROM table_name_64 WHERE cerclis_id = "scd037405362"
What school did samardo samuels go to?
CREATE TABLE table_name_28 (school VARCHAR, player VARCHAR)
SELECT school FROM table_name_28 WHERE player = "samardo samuels"
Name the flight down for vladimir vasyutin , alexander volkov
CREATE TABLE table_245801_1 (flight_down VARCHAR, crew VARCHAR)
SELECT flight_down FROM table_245801_1 WHERE crew = "Vladimir Vasyutin , Alexander Volkov"
What is the Duration for less than 53 consecutive wins?
CREATE TABLE table_name_68 (duration VARCHAR, wins INTEGER)
SELECT duration FROM table_name_68 WHERE wins < 53
Who was at Home at the Bucharest Venue with a Score of 9-9?
CREATE TABLE table_name_20 (home VARCHAR, venue VARCHAR, score VARCHAR)
SELECT home FROM table_name_20 WHERE venue = "bucharest" AND score = "9-9"