answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT station FROM table_1601792_3 WHERE language = "Tamil Malay"
What is the name of the station where the language is tamil malay?
CREATE TABLE table_1601792_3 (station VARCHAR, language VARCHAR)
SELECT electorate FROM table_1193568_1 WHERE election_date = "16 Cannot handle non-empty timestamp argument!"
what's the electorate where election date is 16 cannot handle non-empty timestamp argument!
CREATE TABLE table_1193568_1 (electorate VARCHAR, election_date VARCHAR)
SELECT MAX(round) FROM table_name_18 WHERE college = "nebraska" AND overall < 190
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 COUNT(date) FROM table_24547593_1 WHERE circuit = "Knockhill"
How many dates was knockhill?
CREATE TABLE table_24547593_1 (date VARCHAR, circuit VARCHAR)
SELECT original_artist FROM table_15383430_1 WHERE theme = "Year They Were Born"
The theme year they were born belongs to what artist?
CREATE TABLE table_15383430_1 (original_artist VARCHAR, theme VARCHAR)
SELECT away_team FROM table_name_31 WHERE venue = "win entertainment centre"
Who was the away team at the Win Entertainment Centre?
CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR)
SELECT result FROM table_name_91 WHERE week = 1
What is the result of the week 1 game?
CREATE TABLE table_name_91 (result VARCHAR, week VARCHAR)
SELECT regional_page__number FROM table_287659_2 WHERE region_name = "North Central"
In the North Central region, what are the regional page #'s?
CREATE TABLE table_287659_2 (regional_page__number VARCHAR, region_name VARCHAR)
SELECT district FROM table_name_27 WHERE constituency_number = "60"
What district has a constituency of 60?
CREATE TABLE table_name_27 (district VARCHAR, constituency_number VARCHAR)
SELECT type FROM table_261954_1 WHERE location = "Roanoke, Virginia"
What is every type for the location of Roanoke, Virginia?
CREATE TABLE table_261954_1 (type VARCHAR, location VARCHAR)
SELECT description FROM table_256286_43 WHERE no_votes = 233759
What is every description if NO votes is 233759?
CREATE TABLE table_256286_43 (description VARCHAR, no_votes VARCHAR)
SELECT maximum_peak_performance___teraflops__ FROM table_27765443_2 WHERE period_of_operation = "October 2006 - January 2010"
Name the most peak performance for october 2006 - january 2010
CREATE TABLE table_27765443_2 (maximum_peak_performance___teraflops__ VARCHAR, period_of_operation VARCHAR)
SELECT position FROM table WHERE player = Marcelo
If the player is Marcelo, what is the position?
CREATE TABLE table (position VARCHAR, player VARCHAR, Marcelo VARCHAR)
SELECT fractievoorzitter FROM table_name_80 WHERE lijsttrekker = "no elections" AND year > 2005
What is Fractievoorzitter, when Lijsttrekker is "No Elections", and when Year is after 2005?
CREATE TABLE table_name_80 (fractievoorzitter VARCHAR, lijsttrekker VARCHAR, year VARCHAR)
SELECT score FROM table_name_81 WHERE date = "december 22"
What is the score of the game on December 22?
CREATE TABLE table_name_81 (score VARCHAR, date VARCHAR)
SELECT production_code FROM table_14562722_1 WHERE written_by = "Michael Dante DiMartino" AND directed_by = "Lauren MacMullan"
What was the production code of the episode that was written by michael dante dimartino and directed by lauren macmullan?
CREATE TABLE table_14562722_1 (production_code VARCHAR, written_by VARCHAR, directed_by VARCHAR)
SELECT category FROM table_name_44 WHERE result = "nominated" AND year = 2010 AND award = "kids' choice awards mexico" AND recipient_s_ = "joe jonas"
What category was Joe Jonas nominated for at the Kids' Choice Awards Mexico in 2010?
CREATE TABLE table_name_44 (category VARCHAR, recipient_s_ VARCHAR, award VARCHAR, result VARCHAR, year VARCHAR)
SELECT copa_libertadores_1997 FROM table_14310205_1 WHERE supercopa_1996 = "QF"
what is th copa libertadores 1997 is qf?
CREATE TABLE table_14310205_1 (copa_libertadores_1997 VARCHAR, supercopa_1996 VARCHAR)
SELECT open_cup FROM table_1986692_1 WHERE year = "1995"
When 1995 is the year what is the open cup?
CREATE TABLE table_1986692_1 (open_cup VARCHAR, year VARCHAR)
SELECT date FROM table_name_21 WHERE race_title = "lakeside"
Name the date for race title lakeside
CREATE TABLE table_name_21 (date VARCHAR, race_title VARCHAR)
SELECT chassis FROM table_name_3 WHERE entrant = "mild seven renault f1 team" AND driver = "jarno trulli"
what is the chassis when the entrant is mild seven renault f1 team and the driver is jarno trulli?
CREATE TABLE table_name_3 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR)
SELECT attendance FROM table_name_82 WHERE time = "3:00"
What is the number of people in attendance when the time is 3:00?
CREATE TABLE table_name_82 (attendance VARCHAR, time VARCHAR)
SELECT draws FROM table_name_72 WHERE team = "durham"
How many draws did Durham have?
CREATE TABLE table_name_72 (draws VARCHAR, team VARCHAR)
SELECT romanian FROM table_25401_2 WHERE nuorese_sardinian = "[ˈkantaza]"
what is romanian when nuorese sardinian is [ˈkantaza]?
CREATE TABLE table_25401_2 (romanian VARCHAR, nuorese_sardinian VARCHAR)
SELECT MIN(flaps) FROM table_24466191_1
Name the least flaps
CREATE TABLE table_24466191_1 (flaps INTEGER)
SELECT MAX(date_founded) FROM table_name_6 WHERE county_or_counties = "elk county"
what is the most recent date founded in elk county?
CREATE TABLE table_name_6 (date_founded INTEGER, county_or_counties VARCHAR)
SELECT source FROM table_name_43 WHERE moving_from = "swindon town"
What is the source of a move from Swindon Town?
CREATE TABLE table_name_43 (source VARCHAR, moving_from VARCHAR)
SELECT reg_season FROM table_name_67 WHERE avg_attendance > 3 OFFSET 170
What regular season result had an average attendance bigger than 3,170?
CREATE TABLE table_name_67 (reg_season VARCHAR, avg_attendance INTEGER)
SELECT 2009 FROM table_name_5 WHERE 2004 = "107"
what is 2009 when 2004 is 107?
CREATE TABLE table_name_5 (Id VARCHAR)
SELECT MIN(attendance) FROM table_name_95 WHERE record = "50-36"
What was the lowest attendance at the game with a record of 50-36?
CREATE TABLE table_name_95 (attendance INTEGER, record VARCHAR)
SELECT representative FROM table_29486189_4 WHERE residence = "Willowick"
which representative is from willowick
CREATE TABLE table_29486189_4 (representative VARCHAR, residence VARCHAR)
SELECT weight FROM table_20872722_1 WHERE college = "Western Ontario"
What is the weight for western ontario college?
CREATE TABLE table_20872722_1 (weight VARCHAR, college VARCHAR)
SELECT MIN(f_laps) FROM table_name_17 WHERE position = "5th"
What is the lowest number of f/laps in the 5th position?
CREATE TABLE table_name_17 (f_laps INTEGER, position VARCHAR)
SELECT nationality FROM table_1473672_5 WHERE player = "Bernie Germain"
What is Bernie Germain's nationality?
CREATE TABLE table_1473672_5 (nationality VARCHAR, player VARCHAR)
SELECT MAX(kneel) FROM table_name_59 WHERE stand < 187 AND prone = 197 AND qual > 576
What is the highest kneel with a stand less than 187, and a 197 prone, and a qual more than 576?
CREATE TABLE table_name_59 (kneel INTEGER, qual VARCHAR, stand VARCHAR, prone VARCHAR)
SELECT position FROM table_name_7 WHERE fa_cup_apps = "0" AND name = "gary barnett"
Gary Barnett who has been in 0 FA Cups plays what position?
CREATE TABLE table_name_7 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR)
SELECT front_side_bus FROM table_name_58 WHERE voltage = "1.4 v" AND frequency = "1333 mhz"
Which Front Side Bus has a Voltage of 1.4 v, and a Frequency of 1333 mhz?
CREATE TABLE table_name_58 (front_side_bus VARCHAR, voltage VARCHAR, frequency VARCHAR)
SELECT opponent FROM table_name_6 WHERE date = "november 8, 1981"
What was the opponent on november 8, 1981?
CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR)
SELECT school FROM table_2439728_1 WHERE location = "Milton, MA"
name the school located at Milton, ma.
CREATE TABLE table_2439728_1 (school VARCHAR, location VARCHAR)
SELECT AVG(bronze) FROM table_name_96 WHERE gold > 1 AND silver = 1
What is the average number of bronze of the nation with more than 1 gold and 1 silver medal?
CREATE TABLE table_name_96 (bronze INTEGER, gold VARCHAR, silver VARCHAR)
SELECT rank_final FROM table_name_41 WHERE year < 2007
What was the rank final before 2007?
CREATE TABLE table_name_41 (rank_final VARCHAR, year INTEGER)
SELECT opponents FROM table_21091145_1 WHERE game = 5
Name the opponents for game 5
CREATE TABLE table_21091145_1 (opponents VARCHAR, game VARCHAR)
SELECT AVG(game) FROM table_name_7 WHERE high_points = "wilson chandler (16)"
Which average Game has a High points of wilson chandler (16)?
CREATE TABLE table_name_7 (game INTEGER, high_points VARCHAR)
SELECT T2.name, COUNT(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id
Show the names of high school students and their corresponding number of friends.
CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)
SELECT SUM(top_25) FROM table_name_3 WHERE top_5 < 0
Which Top-25 has a Top-5 smaller than 0?
CREATE TABLE table_name_3 (top_25 INTEGER, top_5 INTEGER)
SELECT AVG(overall) FROM table_name_66 WHERE college = "stanford"
What is stanford's average overall?
CREATE TABLE table_name_66 (overall INTEGER, college VARCHAR)
SELECT COUNT(rank) FROM table_name_92 WHERE assets__billion_$_ < 248.44 AND industry = "oil and gas" AND headquarters = "france" AND market_value__billion_$_ > 152.62
What is the total rank of the company with less than 248.44 billion in assets, an industry of oil and gas, headquarters in France, and a market value greater than 152.62 billions?
CREATE TABLE table_name_92 (rank VARCHAR, market_value__billion_$_ VARCHAR, headquarters VARCHAR, assets__billion_$_ VARCHAR, industry VARCHAR)
SELECT r_bacon FROM table_name_98 WHERE county = "passaic"
What is the number for R Bacon in Passaic County?
CREATE TABLE table_name_98 (r_bacon VARCHAR, county VARCHAR)
SELECT democratic_ticket FROM table_name_99 WHERE socialist_labor_ticket = "john emanuel"
When John Emanuel ran under the Socialist Labor ticket who ran under the Democratic ticket?
CREATE TABLE table_name_99 (democratic_ticket VARCHAR, socialist_labor_ticket VARCHAR)
SELECT title FROM table_name_72 WHERE frequency = "monthly"
What titles come out monthly?
CREATE TABLE table_name_72 (title VARCHAR, frequency VARCHAR)
SELECT MIN(bronze) FROM table_name_27 WHERE total < 1
When the Total is less than 1, how many Bronze medals are won?
CREATE TABLE table_name_27 (bronze INTEGER, total INTEGER)
SELECT language FROM table_name_28 WHERE network = "ptc punjabi"
What is the Language for Network PTC Punjabi?
CREATE TABLE table_name_28 (language VARCHAR, network VARCHAR)
SELECT MIN(round) FROM table_name_43 WHERE pick__number > 1 AND overall > 140
What was the first Round with a Pick # greater than 1 and 140 Overall?
CREATE TABLE table_name_43 (round INTEGER, pick__number VARCHAR, overall VARCHAR)
SELECT stunts FROM table_21995420_9 WHERE school = "Central Colleges of the Philippines CCP Bobcats"
If the school is Central Colleges of the Philippines CCP Bobcats, what is the stunts number?
CREATE TABLE table_21995420_9 (stunts VARCHAR, school VARCHAR)
SELECT constructor FROM table_name_89 WHERE year > 1935 AND driver = "hermann lang"
What was the constructor of the car that Hermann Lang drove after 1935?
CREATE TABLE table_name_89 (constructor VARCHAR, year VARCHAR, driver VARCHAR)
SELECT AVG(year) FROM table_name_54 WHERE team = "capital city giants" AND score = "8-0"
What year did the Capital City Giants have a game with the final score of 8-0?
CREATE TABLE table_name_54 (year INTEGER, team VARCHAR, score VARCHAR)
SELECT MAX(rank) FROM table_name_83 WHERE bronze < 1 AND total < 1
what is the highest rank when the bronze is less than 1 and the total is less than 1?
CREATE TABLE table_name_83 (rank INTEGER, bronze VARCHAR, total VARCHAR)
SELECT MAX(game) FROM table_20760407_1 WHERE bruins_points = 56
What game did the Bruins have 56 points?
CREATE TABLE table_20760407_1 (game INTEGER, bruins_points VARCHAR)
SELECT opponent FROM table_name_58 WHERE date = "april 9"
what team played on april 9
CREATE TABLE table_name_58 (opponent VARCHAR, date VARCHAR)
SELECT purpose FROM table_name_34 WHERE callsign = "6nan"
Callsign of 6nan has what purpose?
CREATE TABLE table_name_34 (purpose VARCHAR, callsign VARCHAR)
SELECT MIN(earnings___) AS $__ FROM table_name_12 WHERE rank < 1
Which Earnings ($) is the lowest one that has a Rank smaller than 1?
CREATE TABLE table_name_12 (earnings___ INTEGER, rank INTEGER)
SELECT week_2 FROM table_name_83 WHERE week_1 = "daniella mugnolo"
What is the week 2 with daniella mugnolo in week 1?
CREATE TABLE table_name_83 (week_2 VARCHAR, week_1 VARCHAR)
SELECT us_modern_rock FROM table_name_90 WHERE code = "bad 0003"
What is the US modern rock rank of code bad 0003?
CREATE TABLE table_name_90 (us_modern_rock VARCHAR, code VARCHAR)
SELECT SUM(cuts_made) FROM table_name_62 WHERE wins < 1 AND top_5 = 1 AND top_10 > 4
How many cuts were made when there weren't any wins but had a top-5 of 1 and a top 10 larger than 4?
CREATE TABLE table_name_62 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR, top_5 VARCHAR)
SELECT MIN(wins) FROM table_24937583_1
What was the least amount of wins?
CREATE TABLE table_24937583_1 (wins INTEGER)
SELECT jump_2 FROM table_name_58 WHERE jump_1 = "7.14"
What is the Jump 2 of the person that has a Jump 1 of 7.14
CREATE TABLE table_name_58 (jump_2 VARCHAR, jump_1 VARCHAR)
SELECT completed FROM table_name_32 WHERE laid_down = "21 august 1925"
when was the ship completed when laid down is 21 august 1925?
CREATE TABLE table_name_32 (completed VARCHAR, laid_down VARCHAR)
SELECT silver FROM table_name_15 WHERE year = 1982
Who won silver in 1982?
CREATE TABLE table_name_15 (silver VARCHAR, year VARCHAR)
SELECT game FROM table_name_92 WHERE developer_s_ = "nintendo" AND platform_s_ = "gamecube"
What game was developed by Nintendo for the Gamecube platform?
CREATE TABLE table_name_92 (game VARCHAR, developer_s_ VARCHAR, platform_s_ VARCHAR)
SELECT date FROM table_name_95 WHERE opponent = "@mil" AND record = "45-16"
Opponent of @mil, and a Record of 45-16 happened on what date?
CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT first_elected FROM table_name_45 WHERE result = "re-elected" AND district = "south carolina 1"
What is the first date of election for the incumbent that was re-elected in the South Carolina 1 district?
CREATE TABLE table_name_45 (first_elected VARCHAR, result VARCHAR, district VARCHAR)
SELECT year_s__won FROM table_name_65 WHERE to_par = "+8"
Which Year(s) won has a To par of +8?
CREATE TABLE table_name_65 (year_s__won VARCHAR, to_par VARCHAR)
SELECT 2006 FROM table_name_29 WHERE 2011 = "0-0"
What 2006 has 0-0 as the 2011?
CREATE TABLE table_name_29 (Id VARCHAR)
SELECT date FROM table_1121352_2 WHERE runner_s__up = "Pat Hurst Juli Inkster"
What date were the runner ups pat hurst juli inkster?
CREATE TABLE table_1121352_2 (date VARCHAR, runner_s__up VARCHAR)
SELECT name FROM table_name_81 WHERE overall > 414 AND pick__number > 9
Who has an overall greater than 414 with a pick# bigger than 9?
CREATE TABLE table_name_81 (name VARCHAR, overall VARCHAR, pick__number VARCHAR)
SELECT notes FROM table_name_35 WHERE year > 2008
Year larger than 2008 includes which notes?
CREATE TABLE table_name_35 (notes VARCHAR, year INTEGER)
SELECT COUNT(total) FROM table_name_51 WHERE bronze < 8 AND nation = "netherlands" AND rank < 16
What is the total number for less than 8 bronze, the Netherlands nation, and is ranked less than 16?
CREATE TABLE table_name_51 (total VARCHAR, rank VARCHAR, bronze VARCHAR, nation VARCHAR)
SELECT team FROM table_name_40 WHERE qual_2 = "1:01.936"
Which team has a second qualification time of 1:01.936?
CREATE TABLE table_name_40 (team VARCHAR, qual_2 VARCHAR)
SELECT MIN(total_attendance) FROM table_10815352_1 WHERE sport = "Association football" AND league = "Premier league"
What's the minimum total attendance of the Premier League association football?
CREATE TABLE table_10815352_1 (total_attendance INTEGER, sport VARCHAR, league VARCHAR)
SELECT MAX(top_10) FROM table_name_89 WHERE events < 39 AND top_5 = 1 AND cuts_made > 5
What is the best top-10 result when events are fewer than 39, top-5 is 1 and more than 5 cuts are made?
CREATE TABLE table_name_89 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR)
SELECT team FROM table_name_60 WHERE location = "buenos aires , argentina"
What is the Team when the match was in buenos aires , argentina?
CREATE TABLE table_name_60 (team VARCHAR, location VARCHAR)
SELECT COUNT(avg) FROM table_name_34 WHERE yards > 265 AND car > 105
What is the amount of Avg that has Yards more 265 and a Car more 105?
CREATE TABLE table_name_34 (avg VARCHAR, yards VARCHAR, car VARCHAR)
SELECT time FROM table_name_14 WHERE year = 2009
What was the time for 2009?
CREATE TABLE table_name_14 (time VARCHAR, year VARCHAR)
SELECT trofeo_fast_team FROM table_name_67 WHERE points_classification = "silvio martinello" AND stage = "6"
What is the Trofeo Fast Team with a point classification of Silvio Martinello and stage 6?
CREATE TABLE table_name_67 (trofeo_fast_team VARCHAR, points_classification VARCHAR, stage VARCHAR)
SELECT area__acres__ FROM table_30121075_1 WHERE poor_law_union = "Skibbereen" AND townland = "Knockmore"
What is the area when the poor law union is skibbereen and the townland is knockmore?
CREATE TABLE table_30121075_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, townland VARCHAR)
SELECT date FROM table_name_26 WHERE catalog = "nebdj068"
Catalog Nebdj068 was released when?
CREATE TABLE table_name_26 (date VARCHAR, catalog VARCHAR)
SELECT country FROM table_name_94 WHERE total > 270 AND player = "sandy lyle"
What country has a total greater than 270, with sandy lyle as the player?
CREATE TABLE table_name_94 (country VARCHAR, total VARCHAR, player VARCHAR)
SELECT MIN(profits__billion_) AS $_ FROM table_name_25 WHERE rank = 6
What is the lowest profits (billion $) for the rank 6?
CREATE TABLE table_name_25 (profits__billion_ INTEGER, rank VARCHAR)
SELECT loss FROM table_name_8 WHERE attendance = "24,406"
When the attendance was 24,406 who lost?
CREATE TABLE table_name_8 (loss VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_63 WHERE date = "23 january 1982" AND away_team = "queens park rangers"
What is the score of the game against away team queens park rangers on 23 january 1982?
CREATE TABLE table_name_63 (score VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT SUM(floors) FROM table_name_73 WHERE built > 2006 AND rank = 12
What's the total number of floors built after 2006, and have a rank of 12?
CREATE TABLE table_name_73 (floors INTEGER, built VARCHAR, rank VARCHAR)
SELECT water_depth FROM table_name_11 WHERE entered_service = "2001" AND name = "cajun express"
What was the water depth that entered service in 2001 named Cajun Express?
CREATE TABLE table_name_11 (water_depth VARCHAR, entered_service VARCHAR, name VARCHAR)
SELECT series__number FROM table_2655016_9 WHERE original_air_date = "September 21, 2002"
What is the series # on airdate September 21, 2002?
CREATE TABLE table_2655016_9 (series__number VARCHAR, original_air_date VARCHAR)
SELECT song_title FROM table_name_53 WHERE track < 8 AND release_date = "3/22/57"
What is the title of the song with a track less than 8 released on 3/22/57?
CREATE TABLE table_name_53 (song_title VARCHAR, track VARCHAR, release_date VARCHAR)
SELECT club_clubs FROM table_name_11 WHERE player = "tony lockett"
In what club(s) does Tony Lockett play?
CREATE TABLE table_name_11 (club_clubs VARCHAR, player VARCHAR)
SELECT film_or_series FROM table_name_39 WHERE award = "inside soap awards" AND category = "best actress" AND year = 2007
What film won best actress at the 2007 Inside Soap Awards?
CREATE TABLE table_name_39 (film_or_series VARCHAR, year VARCHAR, award VARCHAR, category VARCHAR)
SELECT studio_s_ FROM table_name_57 WHERE year < 2004 AND director = "peter lord nick park"
What studio had the director Peter Lord Nick Park before 2004?
CREATE TABLE table_name_57 (studio_s_ VARCHAR, year VARCHAR, director VARCHAR)
SELECT alliance__association FROM table_name_85 WHERE rank = 40
Which alliance has a rank of 40?
CREATE TABLE table_name_85 (alliance__association VARCHAR, rank VARCHAR)
SELECT match_report FROM table_name_12 WHERE opponent = "houston"
What is the match report for the game that was against Houston?
CREATE TABLE table_name_12 (match_report VARCHAR, opponent VARCHAR)
SELECT annual_change__percentage_of_gdp__2012_ FROM table_1598533_8 WHERE gdp__percentage_of_eu__2012_ = "20.5%"
What is the annual change of GDP with a 20.5% GDP of EU in 2012?
CREATE TABLE table_1598533_8 (annual_change__percentage_of_gdp__2012_ VARCHAR, gdp__percentage_of_eu__2012_ VARCHAR)