question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What visiting team played at 3com park on October 7? | CREATE TABLE table_name_49 (visiting_team VARCHAR, stadium VARCHAR, date VARCHAR) | SELECT visiting_team FROM table_name_49 WHERE stadium = "3com park" AND date = "october 7" |
What was the topic of the show on March 15, 2008? | CREATE TABLE table_name_5 (topic_of_the_show VARCHAR, date VARCHAR) | SELECT topic_of_the_show FROM table_name_5 WHERE date = "march 15, 2008" |
on 19 april 1985 how many of number last flew | CREATE TABLE table_1997759_1 (number VARCHAR, last_flew VARCHAR) | SELECT COUNT(number) FROM table_1997759_1 WHERE last_flew = "19 April 1985" |
How many rounds total were there on may 31? | CREATE TABLE table_name_79 (round VARCHAR, date VARCHAR) | SELECT COUNT(round) FROM table_name_79 WHERE date = "may 31" |
Which driver for Greenfield Mowers Racing has fewer than 36 points? | CREATE TABLE table_name_82 (driver VARCHAR, points VARCHAR, team VARCHAR) | SELECT driver FROM table_name_82 WHERE points < 36 AND team = "greenfield mowers racing" |
What are the notes for a Type of 0-6-0t? | CREATE TABLE table_name_37 (notes VARCHAR, type VARCHAR) | SELECT notes FROM table_name_37 WHERE type = "0-6-0t" |
What shows for money (£) when South Africa is the country? | CREATE TABLE table_name_44 (money___ INTEGER, country VARCHAR) | SELECT MAX(money___) AS £__ FROM table_name_44 WHERE country = "south africa" |
What is the largest height when the prominence is 3,118? | CREATE TABLE table_name_98 (height__m_ INTEGER, prominence__m_ VARCHAR) | SELECT MAX(height__m_) FROM table_name_98 WHERE prominence__m_ = 3 OFFSET 118 |
At a Saginaw fare of $470.47, what is the fare to Lansing? | CREATE TABLE table_1637981_7 (lansing__lan_ VARCHAR, saginaw__mbs_ VARCHAR) | SELECT lansing__lan_ FROM table_1637981_7 WHERE saginaw__mbs_ = "$470.47" |
Who are the candidates in the election in the Ohio 9 district? | CREATE TABLE table_1342218_35 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1342218_35 WHERE district = "Ohio 9" |
How many car models were produced by the maker with full name American Motor Company? | CREATE TABLE CAR_MAKERS (Id VARCHAR, FullName VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR) | SELECT COUNT(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker WHERE T1.FullName = 'American Motor Company' |
What is the time of the game after week 4 against the Baltimore Ravens? | CREATE TABLE table_name_67 (time___et__ VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT time___et__ FROM table_name_67 WHERE week > 4 AND opponent = "baltimore ravens" |
What writer has mort drucker as the artist, an issue greater than 470, and law & order: svu as an actual title? | CREATE TABLE table_name_9 (writer VARCHAR, actual_title VARCHAR, artist VARCHAR, issue VARCHAR) | SELECT writer FROM table_name_9 WHERE artist = "mort drucker" AND issue > 470 AND actual_title = "law & order: svu" |
Name the to par for colin montgomerie | CREATE TABLE table_name_30 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_30 WHERE player = "colin montgomerie" |
Name where bethany college is | CREATE TABLE table_262476_1 (location VARCHAR, institution VARCHAR) | SELECT location FROM table_262476_1 WHERE institution = "Bethany College" |
What was the result of the game that was attended by 16,000 people? | CREATE TABLE table_name_47 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_47 WHERE attendance = "16,000" |
What was the lowest Crowd Size for the Home Team of North Melbourne? | CREATE TABLE table_name_32 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_32 WHERE home_team = "north melbourne" |
What game is the first with the Pittsburgh Penguins the opponent? | CREATE TABLE table_name_49 (game INTEGER, opponent VARCHAR) | SELECT MIN(game) FROM table_name_49 WHERE opponent = "pittsburgh penguins" |
A Pick # larger than 339 and the College that has a Round of 14 is what? | CREATE TABLE table_name_52 (college VARCHAR, round VARCHAR, pick__number VARCHAR) | SELECT college FROM table_name_52 WHERE round = 14 AND pick__number > 339 |
What is the sum of attendance for the games played at Los Angeles Rams? | CREATE TABLE table_name_39 (attendance INTEGER, opponent VARCHAR) | SELECT SUM(attendance) FROM table_name_39 WHERE opponent = "at los angeles rams" |
What is the date of the game against South Africa and 2nd wickets? | CREATE TABLE table_name_66 (date VARCHAR, versus VARCHAR, wicket VARCHAR) | SELECT date FROM table_name_66 WHERE versus = "south africa" AND wicket = "2nd" |
What nation started in lane 3 of heat 2? | CREATE TABLE table_name_78 (nationality VARCHAR, heat VARCHAR, lane VARCHAR) | SELECT nationality FROM table_name_78 WHERE heat = 2 AND lane = 3 |
In what city did oklahoma win the tournament. | CREATE TABLE table_24348134_3 (tournament_venue__city_ VARCHAR, tournament_winner VARCHAR) | SELECT tournament_venue__city_ FROM table_24348134_3 WHERE tournament_winner = "Oklahoma" |
What is the number when against is rajasthan royals? | CREATE TABLE table_22962745_35 (no INTEGER, against VARCHAR) | SELECT MAX(no) FROM table_22962745_35 WHERE against = "Rajasthan Royals" |
Who directed the episode with the production code 176252? | CREATE TABLE table_14889988_1 (directed_by VARCHAR, production_code VARCHAR) | SELECT directed_by FROM table_14889988_1 WHERE production_code = 176252 |
How much Height of ground station(m) has a Name of lutersee, and a Height of mountain station(m) larger than 2398? | CREATE TABLE table_name_35 (height_of_ground_station_m_ VARCHAR, name VARCHAR, height_of_mountain_station_m_ VARCHAR) | SELECT COUNT(height_of_ground_station_m_) FROM table_name_35 WHERE name = "lutersee" AND height_of_mountain_station_m_ > 2398 |
What is the rank for China? | CREATE TABLE table_name_96 (rank INTEGER, country VARCHAR) | SELECT SUM(rank) FROM table_name_96 WHERE country = "china" |
Who won when the Patriots played the Denver Broncos? | CREATE TABLE table_name_38 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_38 WHERE opponent = "denver broncos" |
Who is the runner-up in 1990? | CREATE TABLE table_name_59 (runner_up VARCHAR, year VARCHAR) | SELECT runner_up FROM table_name_59 WHERE year = 1990 |
Which Class has a Year(s) of Manufacture of 1899? | CREATE TABLE table_name_32 (class VARCHAR, year_s__of_manufacture VARCHAR) | SELECT class FROM table_name_32 WHERE year_s__of_manufacture = "1899" |
What was the time for 2009? | CREATE TABLE table_name_14 (time VARCHAR, year VARCHAR) | SELECT time FROM table_name_14 WHERE year = 2009 |
Who directed El Nido? | CREATE TABLE table_10798928_1 (director VARCHAR, original_title VARCHAR) | SELECT director FROM table_10798928_1 WHERE original_title = "El nido" |
What is the Population 1961 of West Sussex with a Population of 120,952 or less? | CREATE TABLE table_name_22 (population_1961 INTEGER, administrative_county VARCHAR, population_1891 VARCHAR) | SELECT SUM(population_1961) FROM table_name_22 WHERE administrative_county = "west sussex" AND population_1891 < 120 OFFSET 952 |
What is the enrollment for the institution in Westfield, Massachusetts? | CREATE TABLE table_261927_2 (enrollment VARCHAR, location VARCHAR) | SELECT enrollment FROM table_261927_2 WHERE location = "Westfield, Massachusetts" |
What is Team, when Run 3 is 1:24.00? | CREATE TABLE table_name_70 (team VARCHAR, run_3 VARCHAR) | SELECT team FROM table_name_70 WHERE run_3 = "1:24.00" |
Which qual has rank of more than 28 and a grid number that is bigger than 23? | CREATE TABLE table_name_43 (qual VARCHAR, rank VARCHAR, grid VARCHAR) | SELECT qual FROM table_name_43 WHERE rank > 28 AND grid > 23 |
What is the agg of team 2 Dynamo Moscow? | CREATE TABLE table_name_2 (agg VARCHAR, team_2 VARCHAR) | SELECT agg FROM table_name_2 WHERE team_2 = "dynamo moscow" |
How many rewards are there for air date October 6, 2005? | CREATE TABLE table_1893276_2 (reward VARCHAR, air_date VARCHAR) | SELECT reward FROM table_1893276_2 WHERE air_date = "October 6, 2005" |
What is the latest opened year of the team in Glasgow, Scotland? | CREATE TABLE table_name_34 (opened INTEGER, city VARCHAR) | SELECT MAX(opened) FROM table_name_34 WHERE city = "glasgow, scotland" |
What is the fewest games played for teams with 73 goals for and more than 69 goals against? | CREATE TABLE table_name_17 (played INTEGER, goals_for VARCHAR, goals_against VARCHAR) | SELECT MIN(played) FROM table_name_17 WHERE goals_for = 73 AND goals_against > 69 |
Which countries has the most number of airlines? | CREATE TABLE airlines (country VARCHAR) | SELECT country FROM airlines GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1 |
what is the name of the constructor that has the circuit zeltweg airfield? | CREATE TABLE table_1140105_6 (constructor VARCHAR, circuit VARCHAR) | SELECT constructor FROM table_1140105_6 WHERE circuit = "Zeltweg Airfield" |
Which college had an overall smaller than 315 in round 17? | CREATE TABLE table_name_41 (college VARCHAR, overall VARCHAR, round VARCHAR) | SELECT college FROM table_name_41 WHERE overall < 315 AND round = 17 |
While the Hornets were visiting, what date was Deron Williams (29) the leading scorer? | CREATE TABLE table_name_94 (date VARCHAR, leading_scorer VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_94 WHERE leading_scorer = "deron williams (29)" AND visitor = "hornets" |
Where did Geelong play as the away team? | CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_9 WHERE away_team = "geelong" |
What year has a RAtt of 1 and a comp of 49? | CREATE TABLE table_name_60 (year VARCHAR, ratt VARCHAR, comp VARCHAR) | SELECT year FROM table_name_60 WHERE ratt = "1" AND comp = "49" |
What is the average total medals of the soviet union, which has more than 2 bronze and more than 0 silver medals? | CREATE TABLE table_name_2 (total INTEGER, nation VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT AVG(total) FROM table_name_2 WHERE bronze > 2 AND silver > 0 AND nation = "soviet union" |
Which is the number of the episode "rook gave" "rūku dīo" (デ デ ィ オ ー ル) which aired on July 14, 2003 | CREATE TABLE table_17481974_1 (episode__number INTEGER, original_airdate VARCHAR) | SELECT MIN(episode__number) FROM table_17481974_1 WHERE original_airdate = "July 14, 2003" |
Name the family for uk31 | CREATE TABLE table_19897294_8 (family_families VARCHAR, no_overall VARCHAR) | SELECT family_families FROM table_19897294_8 WHERE no_overall = "UK31" |
When david o'doherty and katherine parkinson are both on the davids team when is the first broadcast? | CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR) | SELECT first_broadcast FROM table_23575917_6 WHERE davids_team = "David O'Doherty and Katherine Parkinson" |
What is the maximum number of tropical storms in the year that had exactly 34 deaths? | CREATE TABLE table_2930244_4 (number_of_tropical_storms INTEGER, deaths VARCHAR) | SELECT MAX(number_of_tropical_storms) FROM table_2930244_4 WHERE deaths = "34" |
What is the State, when the year First elected is 1966, and when the Member is Alan Jarman? | CREATE TABLE table_name_13 (state VARCHAR, first_elected VARCHAR, member VARCHAR) | SELECT state FROM table_name_13 WHERE first_elected = "1966" AND member = "alan jarman" |
What's the rank of the Province-Level Municipality? | CREATE TABLE table_name_14 (rank VARCHAR, definition VARCHAR) | SELECT rank FROM table_name_14 WHERE definition = "province-level municipality" |
What safari has 2012 q4 as the period? | CREATE TABLE table_name_58 (safari VARCHAR, period VARCHAR) | SELECT safari FROM table_name_58 WHERE period = "2012 q4" |
what is the numbe of provincial captial where the population is 1162900? | CREATE TABLE table_17416221_1 (provincial_capital VARCHAR, population__2013_ VARCHAR) | SELECT COUNT(provincial_capital) FROM table_17416221_1 WHERE population__2013_ = 1162900 |
what is the box score when the home team is melbourne tigers? | CREATE TABLE table_name_3 (Box VARCHAR, home_team VARCHAR) | SELECT Box AS score FROM table_name_3 WHERE home_team = "melbourne tigers" |
what are all the Canadian air dates where the u.s. air date is may 1, 2009 | CREATE TABLE table_12294557_3 (canadian_airdate VARCHAR, us_airdate VARCHAR) | SELECT canadian_airdate FROM table_12294557_3 WHERE us_airdate = "May 1, 2009" |
Tell me the previous rank for italy with points more than 100 | CREATE TABLE table_name_92 (Previous VARCHAR, nationality VARCHAR, points VARCHAR) | SELECT Previous AS rank FROM table_name_92 WHERE nationality = "italy" AND points > 100 |
what is the pick when the college is arkansas and the overall is more than 316? | CREATE TABLE table_name_33 (pick INTEGER, college VARCHAR, overall VARCHAR) | SELECT MAX(pick) FROM table_name_33 WHERE college = "arkansas" AND overall > 316 |
Can you tell me the Conference Joined that has the Mascot of little sycamores? | CREATE TABLE table_name_88 (conference_joined VARCHAR, mascot VARCHAR) | SELECT conference_joined FROM table_name_88 WHERE mascot = "little sycamores" |
When was the date of appointment by Hugo Broos? | CREATE TABLE table_27374004_4 (date_of_appointment VARCHAR, replaced_by VARCHAR) | SELECT date_of_appointment FROM table_27374004_4 WHERE replaced_by = "Hugo Broos" |
What is the brand name associated with a model name e4xxx? | CREATE TABLE table_24099628_1 (brand_name VARCHAR, model__list_ VARCHAR) | SELECT brand_name FROM table_24099628_1 WHERE model__list_ = "E4xxx" |
What are the fewest floors for the building that has a height of 116 meters? | CREATE TABLE table_name_42 (floors INTEGER, height__m_ VARCHAR) | SELECT MIN(floors) FROM table_name_42 WHERE height__m_ = 116 |
Which Series 2 has a Series 3 of deborah meaden? | CREATE TABLE table_name_35 (series_2 VARCHAR, series_3 VARCHAR) | SELECT series_2 FROM table_name_35 WHERE series_3 = "deborah meaden" |
What is Score, when Date is January 12? | CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_37 WHERE date = "january 12" |
Who wrote the episode directed by Peter Woeste? | CREATE TABLE table_15284274_1 (written_by VARCHAR, directed_by VARCHAR) | SELECT written_by FROM table_15284274_1 WHERE directed_by = "Peter Woeste" |
Who was the week 1 nomination when the week 2 nomination was Piia Jarkko? | CREATE TABLE table_name_35 (week_1 VARCHAR, week_2 VARCHAR) | SELECT week_1 FROM table_name_35 WHERE week_2 = "piia jarkko" |
How many political parties had a %2006 rating of 43.5? | CREATE TABLE table_21132404_1 (political_parties VARCHAR, _percentage_2006 VARCHAR) | SELECT COUNT(political_parties) FROM table_21132404_1 WHERE _percentage_2006 = "43.5" |
What is the 2008 value that was 2nd in 2006? | CREATE TABLE table_name_87 (Id VARCHAR) | SELECT 2008 FROM table_name_87 WHERE 2006 = "2nd" |
What was the lowest lane with a mark of 7.26? | CREATE TABLE table_name_50 (lane INTEGER, mark VARCHAR) | SELECT MIN(lane) FROM table_name_50 WHERE mark = "7.26" |
What are the ids of the top three products that were purchased in the largest amount? | CREATE TABLE product_suppliers (product_id VARCHAR, total_amount_purchased VARCHAR) | SELECT product_id FROM product_suppliers ORDER BY total_amount_purchased DESC LIMIT 3 |
What is the mark for the runner from Mozambique? | CREATE TABLE table_name_8 (mark VARCHAR, country VARCHAR) | SELECT mark FROM table_name_8 WHERE country = "mozambique" |
What is the lowest number of games drawn associated with over 39 games played? | CREATE TABLE table_name_39 (drawn INTEGER, played INTEGER) | SELECT MIN(drawn) FROM table_name_39 WHERE played > 39 |
What is the lowest Frequency where the Hemholtz pitch is d? | CREATE TABLE table_name_48 (frequency___hz__ INTEGER, helmholtz_pitch VARCHAR) | SELECT MIN(frequency___hz__) FROM table_name_48 WHERE helmholtz_pitch = "d" |
what's the losing bonus with played being 22 and tries against being 38 | CREATE TABLE table_13940275_5 (losing_bonus VARCHAR, played VARCHAR, tries_against VARCHAR) | SELECT losing_bonus FROM table_13940275_5 WHERE played = "22" AND tries_against = "38" |
What year was finish Toulouse, and stage was larger than 12? | CREATE TABLE table_name_90 (year INTEGER, finish VARCHAR, stage VARCHAR) | SELECT SUM(year) FROM table_name_90 WHERE finish = "toulouse" AND stage > 12 |
What was the result against Beijing Hyundai? | CREATE TABLE table_name_43 (result_f_a VARCHAR, opponents VARCHAR) | SELECT result_f_a FROM table_name_43 WHERE opponents = "beijing hyundai" |
How many points drew 2 with a losing bonus of 5? | CREATE TABLE table_name_12 (points_for VARCHAR, drawn VARCHAR, losing_bonus VARCHAR) | SELECT points_for FROM table_name_12 WHERE drawn = "2" AND losing_bonus = "5" |
What date did Episode 2-01 (42) air? | CREATE TABLE table_name_56 (original_airdate VARCHAR, episode VARCHAR) | SELECT original_airdate FROM table_name_56 WHERE episode = "2-01 (42)" |
What is the rank of a country with more than 2 gold, less than 5 silver, and less than 31 total medals? | CREATE TABLE table_name_67 (rank INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) | SELECT SUM(rank) FROM table_name_67 WHERE gold > 2 AND total < 31 AND silver < 5 |
What No is the player Zoran Erceg | CREATE TABLE table_12962773_4 (no INTEGER, player VARCHAR) | SELECT MIN(no) FROM table_12962773_4 WHERE player = "Zoran Erceg" |
What is the english title where the premiere is less than 30.0 and the finale is bigger than 36.0? | CREATE TABLE table_11173827_1 (english_title VARCHAR, premiere VARCHAR, finale VARCHAR) | SELECT english_title FROM table_11173827_1 WHERE premiere < 30.0 AND finale > 36.0 |
What nation was number 1 and had a total larger than 5? | CREATE TABLE table_name_6 (nation VARCHAR, total VARCHAR, rank VARCHAR) | SELECT nation FROM table_name_6 WHERE total > 5 AND rank = "1" |
What is the Position of the player from Vanderbilt? | CREATE TABLE table_name_36 (position VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_36 WHERE school_club_team = "vanderbilt" |
What is the earliest year borussia dortmund was west and bfc viktoria 1889 was Berlin? | CREATE TABLE table_name_90 (year INTEGER, west VARCHAR, berlin VARCHAR) | SELECT MIN(year) FROM table_name_90 WHERE west = "borussia dortmund" AND berlin = "bfc viktoria 1889" |
What is the best time of the team that had a qualifying 1 time of 1:01.043? | CREATE TABLE table_name_54 (best VARCHAR, qual_1 VARCHAR) | SELECT best FROM table_name_54 WHERE qual_1 = "1:01.043" |
Who was the manufacturer for the car that dani pedrosa did less than 9 laps in? | CREATE TABLE table_name_86 (manufacturer VARCHAR, laps VARCHAR, rider VARCHAR) | SELECT manufacturer FROM table_name_86 WHERE laps < 9 AND rider = "dani pedrosa" |
What was the dominant religion in 2002 in lokve? | CREATE TABLE table_2562572_44 (dominant_religion__2002_ VARCHAR, settlement VARCHAR) | SELECT dominant_religion__2002_ FROM table_2562572_44 WHERE settlement = "Lokve" |
What composer has a duration time of 3:31? | CREATE TABLE table_name_8 (composer VARCHAR, duration VARCHAR) | SELECT composer FROM table_name_8 WHERE duration = "3:31" |
What is the Result of the Competition at MBPJ Stadium with a Score of 4–0? | CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR, venue VARCHAR) | SELECT result FROM table_name_95 WHERE score = "4–0" AND venue = "mbpj stadium" |
Who was Hanne Skak Jensen's opponent when facing Belarus? | CREATE TABLE table_25505246_7 (opponent VARCHAR, against VARCHAR) | SELECT opponent FROM table_25505246_7 WHERE against = "Belarus" |
what is the place when the score is 68-67-73-68=276? | CREATE TABLE table_name_20 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_20 WHERE score = 68 - 67 - 73 - 68 = 276 |
What is the name of the roller coaster that opened in 2000 in Brighton Pier? | CREATE TABLE table_name_98 (name VARCHAR, opened VARCHAR, park VARCHAR) | SELECT name FROM table_name_98 WHERE opened = 2000 AND park = "brighton pier" |
What is the lowest attendance for a stadium that has an average smaller than 307? | CREATE TABLE table_name_24 (lowest INTEGER, average INTEGER) | SELECT AVG(lowest) FROM table_name_24 WHERE average < 307 |
What is the record when the high points is listed as Stephen Curry (32)? | CREATE TABLE table_27755784_8 (record VARCHAR, high_points VARCHAR) | SELECT record FROM table_27755784_8 WHERE high_points = "Stephen Curry (32)" |
Which Runner(s)-up has a Tournament of general foods pga seniors' championship? | CREATE TABLE table_name_65 (runner_s__up VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_65 WHERE tournament = "general foods pga seniors' championship" |
Name the most points for years before 1979 and chassis of alfa romeo 177 | CREATE TABLE table_name_33 (points INTEGER, chassis VARCHAR, year VARCHAR) | SELECT MAX(points) FROM table_name_33 WHERE chassis = "alfa romeo 177" AND year < 1979 |
what is the production in 2010 with rank of 8? | CREATE TABLE table_name_39 (rank VARCHAR) | SELECT 2010 FROM table_name_39 WHERE rank = "8" |
Which Opposition has a Year smaller than 1911, and a Venue of old trafford? | CREATE TABLE table_name_51 (opposition VARCHAR, year VARCHAR, venue VARCHAR) | SELECT opposition FROM table_name_51 WHERE year < 1911 AND venue = "old trafford" |
What is the trans 2 duration if the total time is 1:51:19.45? | CREATE TABLE table_17085947_32 (trans_2 VARCHAR, total_time VARCHAR) | SELECT trans_2 FROM table_17085947_32 WHERE total_time = "1:51:19.45" |