question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who is the candidate that had 10 fired in week 2 (1-27-2005)?
CREATE TABLE table_name_45 (candidate VARCHAR, result VARCHAR)
SELECT candidate FROM table_name_45 WHERE result = "10 fired in week 2 (1-27-2005)"
Name the time for #1 alabama
CREATE TABLE table_26842217_10 (time VARCHAR, visiting_team VARCHAR)
SELECT time FROM table_26842217_10 WHERE visiting_team = "#1 Alabama"
How many people in total attended the game on 1 november 1997?
CREATE TABLE table_name_37 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_37 WHERE date = "1 november 1997"
Name the result for north carolina 9
CREATE TABLE table_2668329_18 (result VARCHAR, district VARCHAR)
SELECT COUNT(result) FROM table_2668329_18 WHERE district = "North Carolina 9"
For games less than 70 and goals for greater than 335 what is the most points?
CREATE TABLE table_name_85 (points INTEGER, goals_for VARCHAR, games VARCHAR)
SELECT MAX(points) FROM table_name_85 WHERE goals_for > 335 AND games < 70
What is the lowest ERP W of w223bp?
CREATE TABLE table_name_6 (erp_w INTEGER, call_sign VARCHAR)
SELECT MIN(erp_w) FROM table_name_6 WHERE call_sign = "w223bp"
Who made the challenge in the Australian Grand Prix?
CREATE TABLE table_25531112_2 (challenge VARCHAR, event VARCHAR)
SELECT challenge FROM table_25531112_2 WHERE event = "Australian Grand Prix"
What was the date of the game that led to a 4-3 record?
CREATE TABLE table_name_64 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_64 WHERE record = "4-3"
what is the lowest year with the result is nominated for the work title is love bites?
CREATE TABLE table_name_99 (year INTEGER, result VARCHAR, nominated_work_title VARCHAR)
SELECT MIN(year) FROM table_name_99 WHERE result = "nominated" AND nominated_work_title = "love bites"
How many different roles are there in the club "Bootup Baltimore"?
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE member_of_club (position VARCHAR, clubid VARCHAR)
SELECT COUNT(DISTINCT t2.position) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid WHERE t1.clubname = "Bootup Baltimore"
What is the days held the champion with a reign larger than 3 and less than 1 defense has?
CREATE TABLE table_name_1 (days_held VARCHAR, reign VARCHAR, defenses VARCHAR)
SELECT days_held FROM table_name_1 WHERE reign > 3 AND defenses < 1
Name the number of bowl for lee corso, gene chizik and chip kelly
CREATE TABLE table_2724704_5 (bowl VARCHAR, studio_analyst_s_ VARCHAR)
SELECT COUNT(bowl) FROM table_2724704_5 WHERE studio_analyst_s_ = "Lee Corso, Gene Chizik and Chip Kelly"
How many people lived in bulac in the year 2000?
CREATE TABLE table_2004733_2 (population__2000_ INTEGER, barangay VARCHAR)
SELECT MAX(population__2000_) FROM table_2004733_2 WHERE barangay = "Bulac"
When the poll source is research 2000/daily kos, what is the total number of dates administered?
CREATE TABLE table_16751596_13 (dates_administered VARCHAR, poll_source VARCHAR)
SELECT COUNT(dates_administered) FROM table_16751596_13 WHERE poll_source = "Research 2000/Daily Kos"
Who is the player when the to par is more than 11 and the score is 71-71-71-79=292?
CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_32 WHERE to_par > 11 AND score = 71 - 71 - 71 - 79 = 292
Who was the winner on 15 December 1957?
CREATE TABLE table_name_6 (winner VARCHAR, date VARCHAR)
SELECT winner FROM table_name_6 WHERE date = "15 december 1957"
What is the station type for the branding ABS-CBN TV-32 Tagaytay?
CREATE TABLE table_2610582_2 (station_type VARCHAR, branding VARCHAR)
SELECT station_type FROM table_2610582_2 WHERE branding = "ABS-CBN TV-32 Tagaytay"
Name the least series number written by brenda hampton and directed by burt brinckerhoff
CREATE TABLE table_26261072_1 (series__number INTEGER, written_by VARCHAR, directed_by VARCHAR)
SELECT MIN(series__number) FROM table_26261072_1 WHERE written_by = "Brenda Hampton" AND directed_by = "Burt Brinckerhoff"
Name the total number of height for number 32
CREATE TABLE table_25360865_1 (height VARCHAR, _number VARCHAR)
SELECT COUNT(height) FROM table_25360865_1 WHERE _number = 32
What is the number of against when Central Murray is Tooleybuc Manangatang and there are fewer than 13 wins?
CREATE TABLE table_name_90 (against INTEGER, central_murray VARCHAR, wins VARCHAR)
SELECT MAX(against) FROM table_name_90 WHERE central_murray = "tooleybuc manangatang" AND wins < 13
What platform is nds4droid on for the nintendo ds?
CREATE TABLE table_name_97 (platform VARCHAR, system VARCHAR, name VARCHAR)
SELECT platform FROM table_name_97 WHERE system = "nintendo ds" AND name = "nds4droid"
What is Bids, when Champions is "1"?
CREATE TABLE table_name_34 (bids VARCHAR, champions VARCHAR)
SELECT bids FROM table_name_34 WHERE champions = "1"
List the most common type of Status across cities.
CREATE TABLE city (Status VARCHAR)
SELECT Status FROM city GROUP BY Status ORDER BY COUNT(*) DESC LIMIT 1
What is the date of the game when the Rockies had a record of 61–66?
CREATE TABLE table_name_91 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_91 WHERE record = "61–66"
Who was the loan club for the Westlake game?
CREATE TABLE table_12608427_8 (loan_club VARCHAR, name VARCHAR)
SELECT loan_club FROM table_12608427_8 WHERE name = "Westlake"
What player's hometown is Washington, IN?
CREATE TABLE table_name_83 (player VARCHAR, hometown VARCHAR)
SELECT player FROM table_name_83 WHERE hometown = "washington, in"
What was the title of the episode written by Mark Goffman?
CREATE TABLE table_23255941_1 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_23255941_1 WHERE written_by = "Mark Goffman"
How many years where Neu-Vehlefanz had a number of 365?
CREATE TABLE table_11680175_1 (year VARCHAR, Neu VARCHAR, vehlefanz VARCHAR)
SELECT COUNT(year) FROM table_11680175_1 WHERE Neu - vehlefanz = 365
What was the emission rating in California for the vehicle that was rated 80 g/mi (50 g/km) in Alaska and 250 g/mi (155 g/km) in the Southeast ?
CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, alaska___juneau__ VARCHAR, southeast__atlanta_ VARCHAR)
SELECT california__san_francisco_ FROM table_16105186_2 WHERE alaska___juneau__ = "80 g/mi (50 g/km)" AND southeast__atlanta_ = "250 g/mi (155 g/km)"
Name the most male life expectancy for pakistan
CREATE TABLE table_2701625_1 (male_life_expectancy INTEGER, country VARCHAR)
SELECT MAX(male_life_expectancy) FROM table_2701625_1 WHERE country = "Pakistan"
How many u.s. viewers (million) have the number 16?
CREATE TABLE table_19229713_6 (us_viewers__million_ VARCHAR, _number VARCHAR)
SELECT us_viewers__million_ FROM table_19229713_6 WHERE _number = 16
How many were in the crowd when North Melbourne was the home team?
CREATE TABLE table_name_24 (crowd VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_24 WHERE home_team = "north melbourne"
What type of disaster is rms atlantic categorized in that was located in Nova Scotia?
CREATE TABLE table_name_62 (type VARCHAR, location VARCHAR, disaster VARCHAR)
SELECT type FROM table_name_62 WHERE location = "nova scotia" AND disaster = "rms atlantic"
Which state is West Spanish Peak in?
CREATE TABLE table_name_4 (state VARCHAR, mountain_peak VARCHAR)
SELECT state FROM table_name_4 WHERE mountain_peak = "west spanish peak"
Find names of instructors with salary greater than that of some (at least one) instructor in the Biology department.
CREATE TABLE instructor (name VARCHAR, salary INTEGER, dept_name VARCHAR)
SELECT name FROM instructor WHERE salary > (SELECT MIN(salary) FROM instructor WHERE dept_name = 'Biology')
What is the lowest bronze number when silver shows 2, and the total is 8?
CREATE TABLE table_name_35 (bronze INTEGER, silver VARCHAR, total VARCHAR)
SELECT MIN(bronze) FROM table_name_35 WHERE silver = 2 AND total = 8
What was the record of the game in which Dydek (10) did the most high rebounds?
CREATE TABLE table_18904831_5 (record VARCHAR, high_rebounds VARCHAR)
SELECT record FROM table_18904831_5 WHERE high_rebounds = "Dydek (10)"
What is the average grid for damon hill with over 74 laps?
CREATE TABLE table_name_29 (grid INTEGER, laps VARCHAR, driver VARCHAR)
SELECT AVG(grid) FROM table_name_29 WHERE laps > 74 AND driver = "damon hill"
Who was the visiting team at the game when the Canadiens had a record of 30–19–9?
CREATE TABLE table_name_29 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_29 WHERE record = "30–19–9"
Name the score for game for 25
CREATE TABLE table_17103729_8 (score VARCHAR, game VARCHAR)
SELECT score FROM table_17103729_8 WHERE game = 25
Whatis the original title for lion's den?
CREATE TABLE table_13834298_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_13834298_1 WHERE film_title_used_in_nomination = "Lion's Den"
What is the Week, when the Finalist is Carlos Moyá (5)?
CREATE TABLE table_name_66 (week VARCHAR, finalist VARCHAR)
SELECT week FROM table_name_66 WHERE finalist = "carlos moyá (5)"
Where is the location of a team with a 3-2 record?
CREATE TABLE table_name_96 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_96 WHERE record = "3-2"
What is the area km2 of the area with a pop density people/km2 larger than 91, is a member state of Italy, and had less than 58.8 population in millions?
CREATE TABLE table_name_70 (area_km_2 INTEGER, population_in_millions VARCHAR, pop_density_people_km_2 VARCHAR, member_state VARCHAR)
SELECT SUM(area_km_2) FROM table_name_70 WHERE pop_density_people_km_2 > 91 AND member_state = "italy" AND population_in_millions < 58.8
With a rank of 2 what is the second quarter?
CREATE TABLE table_name_69 (second_quarter VARCHAR, rank VARCHAR)
SELECT second_quarter FROM table_name_69 WHERE rank = 2
What was the attendance when Footscray played as the away team?
CREATE TABLE table_name_80 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_80 WHERE away_team = "footscray"
What's the courtesy title of 4th son of hatamoto ōoka tadataka?
CREATE TABLE table_name_36 (courtesy_title VARCHAR, lineage VARCHAR)
SELECT courtesy_title FROM table_name_36 WHERE lineage = "4th son of hatamoto ōoka tadataka"
What was the margin of victory when the winning score was −14 (63-67-73-67=270)?
CREATE TABLE table_name_2 (margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT margin_of_victory FROM table_name_2 WHERE winning_score = −14(63 - 67 - 73 - 67 = 270)
What is the highest round for College of Nebraska if the Overall is under 190?
CREATE TABLE table_name_18 (round INTEGER, college VARCHAR, overall VARCHAR)
SELECT MAX(round) FROM table_name_18 WHERE college = "nebraska" AND overall < 190
Name the high points 31-27
CREATE TABLE table_22669044_9 (high_points VARCHAR, record VARCHAR)
SELECT high_points FROM table_22669044_9 WHERE record = "31-27"
What platform sold 11.18 million units?
CREATE TABLE table_18590048_1 (platform VARCHAR, units_sold__in_millions_ VARCHAR)
SELECT platform FROM table_18590048_1 WHERE units_sold__in_millions_ = "11.18"
What was the title of Ashanti's 2003 rap song?
CREATE TABLE table_name_83 (title VARCHAR, year VARCHAR, genre VARCHAR)
SELECT title FROM table_name_83 WHERE year = 2003 AND genre = "rap"
What is the number with an 80.62 percentage?
CREATE TABLE table_name_91 (number VARCHAR, percentage___percentage_ VARCHAR)
SELECT number FROM table_name_91 WHERE percentage___percentage_ = "80.62"
Which Oilers points have an Opponent of san francisco 49ers, and Opponents larger than 19?
CREATE TABLE table_name_72 (oilers_points INTEGER, opponent VARCHAR, opponents VARCHAR)
SELECT MAX(oilers_points) FROM table_name_72 WHERE opponent = "san francisco 49ers" AND opponents > 19
How many sacks have 72 as the solo and a TTkl less than 112?
CREATE TABLE table_name_69 (sacks VARCHAR, solo VARCHAR, ttkl VARCHAR)
SELECT COUNT(sacks) FROM table_name_69 WHERE solo = 72 AND ttkl < 112
Can you tell me the Record that has the Score of 100-105?
CREATE TABLE table_name_99 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_99 WHERE score = "100-105"
What is the quantity preserved for the serial number of mallet and simple articulated locomotives?
CREATE TABLE table_name_19 (quantity_preserved VARCHAR, serial_numbers VARCHAR)
SELECT quantity_preserved FROM table_name_19 WHERE serial_numbers = "mallet and simple articulated locomotives"
Which episode number was directed by Bill Eagles?
CREATE TABLE table_14929574_3 (series__number INTEGER, directed_by VARCHAR)
SELECT MIN(series__number) FROM table_14929574_3 WHERE directed_by = "Bill Eagles"
What was the lowest attendance when Fitzroy was the home team?
CREATE TABLE table_name_44 (crowd INTEGER, home_team VARCHAR)
SELECT MIN(crowd) FROM table_name_44 WHERE home_team = "fitzroy"
Which College has a Name of hardy brown?
CREATE TABLE table_name_93 (college VARCHAR, name VARCHAR)
SELECT college FROM table_name_93 WHERE name = "hardy brown"
Find the name of the user who gives the most reviews.
CREATE TABLE useracct (name VARCHAR, u_id VARCHAR); CREATE TABLE review (u_id VARCHAR)
SELECT T1.name FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id ORDER BY COUNT(*) DESC LIMIT 1
Which party has the 6th district?
CREATE TABLE table_name_49 (party VARCHAR, district VARCHAR)
SELECT party FROM table_name_49 WHERE district = "6th"
How many farms are there?
CREATE TABLE farm (Id VARCHAR)
SELECT COUNT(*) FROM farm
What is the Left Office of cabinet secretary for culture and external affairs named?
CREATE TABLE table_name_16 (name VARCHAR, left_office VARCHAR)
SELECT name FROM table_name_16 WHERE left_office = "cabinet secretary for culture and external affairs"
What was the attendance at the ballpark during the game where the Blue Jays had a record of 26-35 during the 1996 season?
CREATE TABLE table_name_64 (attendance VARCHAR, record VARCHAR)
SELECT COUNT(attendance) FROM table_name_64 WHERE record = "26-35"
Which team played against North Melbourne as the home team?
CREATE TABLE table_name_5 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_5 WHERE away_team = "north melbourne"
What is the English title for Ansikte Mot Ansikte?
CREATE TABLE table_name_90 (english_title VARCHAR, original_title VARCHAR)
SELECT english_title FROM table_name_90 WHERE original_title = "ansikte mot ansikte"
Which Nationality has a Rank larger than 1, and a Time smaller than 22.12, and a Lane smaller than 4, and a Name of ashley callus?
CREATE TABLE table_name_99 (nationality VARCHAR, name VARCHAR, lane VARCHAR, rank VARCHAR, time VARCHAR)
SELECT nationality FROM table_name_99 WHERE rank > 1 AND time < 22.12 AND lane < 4 AND name = "ashley callus"
What stadium has capacity for 13800?
CREATE TABLE table_23214833_1 (stadium VARCHAR, capacity VARCHAR)
SELECT stadium FROM table_23214833_1 WHERE capacity = 13800
What Game had a Result of 136-112?
CREATE TABLE table_name_9 (game VARCHAR, result VARCHAR)
SELECT game FROM table_name_9 WHERE result = "136-112"
what is the college when the overall is more than 76 for brian mitchell?
CREATE TABLE table_name_98 (college VARCHAR, overall VARCHAR, name VARCHAR)
SELECT college FROM table_name_98 WHERE overall > 76 AND name = "brian mitchell"
What is the earliest year the new york jets won at harvard stadium?
CREATE TABLE table_name_35 (year INTEGER, winner VARCHAR, location VARCHAR)
SELECT MIN(year) FROM table_name_35 WHERE winner = "new york jets" AND location = "harvard stadium"
Who had the most assists and how many did they have on October 5?
CREATE TABLE table_27704187_2 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_27704187_2 WHERE date = "October 5"
what is the name when the displacement is 8,305 t?
CREATE TABLE table_name_12 (name VARCHAR, displacement VARCHAR)
SELECT name FROM table_name_12 WHERE displacement = "8,305 t"
What class did eddie cheever raul boesel race in?
CREATE TABLE table_name_16 (class VARCHAR, co_drivers VARCHAR)
SELECT class FROM table_name_16 WHERE co_drivers = "eddie cheever raul boesel"
What player has +2 to par?
CREATE TABLE table_name_29 (player VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_29 WHERE to_par = "+2"
How many times was the rebuilt data cannot handle non-empty timestamp argument! 1934?
CREATE TABLE table_12113888_1 (number VARCHAR, rebuilt VARCHAR)
SELECT COUNT(number) FROM table_12113888_1 WHERE rebuilt = "Cannot handle non-empty timestamp argument! 1934"
What Drawn has a Tries against of 0?
CREATE TABLE table_name_90 (drawn VARCHAR, tries_against VARCHAR)
SELECT drawn FROM table_name_90 WHERE tries_against = "0"
What was the result of the 2007-08 season for the city of Ferrara?
CREATE TABLE table_name_33 (city VARCHAR)
SELECT 2007 AS _08_season FROM table_name_33 WHERE city = "ferrara"
What is the average number of games with a record of 20-12?
CREATE TABLE table_name_5 (game INTEGER, record VARCHAR)
SELECT AVG(game) FROM table_name_5 WHERE record = "20-12"
What is the highest win percentage when there were 23 losses?
CREATE TABLE table_name_18 (win_percentage INTEGER, losses VARCHAR)
SELECT MAX(win_percentage) FROM table_name_18 WHERE losses = 23
Opponents of police, and a Venue of selayang municipal council stadium had what date?
CREATE TABLE table_name_35 (date VARCHAR, opponents VARCHAR, venue VARCHAR)
SELECT date FROM table_name_35 WHERE opponents = "police" AND venue = "selayang municipal council stadium"
What was the money for place t3 and United States?
CREATE TABLE table_name_94 (money___$__ VARCHAR, place VARCHAR, country VARCHAR)
SELECT money___$__ FROM table_name_94 WHERE place = "t3" AND country = "united states"
What is the score given by the Home team Geelong?
CREATE TABLE table_name_37 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_37 WHERE home_team = "geelong"
Who was the winner when the score was 281 (-6)?
CREATE TABLE table_11621799_1 (winner VARCHAR, score VARCHAR)
SELECT winner FROM table_11621799_1 WHERE score = "281 (-6)"
What is the highest FLap by a Honda NSR500 bike after Race 16?
CREATE TABLE table_name_97 (flap INTEGER, bike VARCHAR, race VARCHAR)
SELECT MAX(flap) FROM table_name_97 WHERE bike = "honda nsr500" AND race > 16
What was the name of eipsode 618?
CREATE TABLE table_17624965_1 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_17624965_1 WHERE production_code = 618
What date has 0-6700-30838-2-9 for a catalog?
CREATE TABLE table_name_88 (date VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_88 WHERE catalog = "0-6700-30838-2-9"
What is the result from March 14, 2007?
CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_26 WHERE date = "march 14, 2007"
what is the party with the incumbent jim demint?
CREATE TABLE table_1341423_40 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1341423_40 WHERE incumbent = "Jim DeMint"
What is the total number of Silvers held by France when their rank was over 14?
CREATE TABLE table_name_63 (silver VARCHAR, nation VARCHAR, rank VARCHAR)
SELECT COUNT(silver) FROM table_name_63 WHERE nation = "france" AND rank > 14
When belgrano is the home (1st leg) what is the home (2nd leg)?
CREATE TABLE table_14219514_2 (home__2nd_leg_ VARCHAR, home__1st_leg_ VARCHAR)
SELECT home__2nd_leg_ FROM table_14219514_2 WHERE home__1st_leg_ = "Belgrano"
When did the Metrostars have their first Rookie of the Year winner?
CREATE TABLE table_1004033_1 (season INTEGER, team VARCHAR)
SELECT MIN(season) FROM table_1004033_1 WHERE team = "MetroStars"
What is the maximum Col (m) when 3,046 is the Prominence (m)?
CREATE TABLE table_name_94 (col__m_ INTEGER, prominence__m_ VARCHAR)
SELECT MAX(col__m_) FROM table_name_94 WHERE prominence__m_ = 3 OFFSET 046
What position is listed for the nebraska team?
CREATE TABLE table_name_75 (position VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_name_75 WHERE school_club_team = "nebraska"
Tell me the time/retired for riccardo patrese
CREATE TABLE table_name_70 (time_retired VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_70 WHERE driver = "riccardo patrese"
What is the decile of the school with a roll larger than 513?
CREATE TABLE table_name_36 (decile INTEGER, roll INTEGER)
SELECT SUM(decile) FROM table_name_36 WHERE roll > 513
What laps did Honda do with a time of +1:38.407?
CREATE TABLE table_name_39 (laps VARCHAR, manufacturer VARCHAR, time VARCHAR)
SELECT laps FROM table_name_39 WHERE manufacturer = "honda" AND time = "+1:38.407"
What is the nationality of the HMS Cheshire?
CREATE TABLE table_name_32 (nationality VARCHAR, name VARCHAR)
SELECT nationality FROM table_name_32 WHERE name = "hms cheshire"
Name results for herb wetanson
CREATE TABLE table_27561503_2 (results VARCHAR, gt_20_winning_team VARCHAR)
SELECT results FROM table_27561503_2 WHERE gt_20_winning_team = "Herb Wetanson"