question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which hometown has the college Louisiana State?
CREATE TABLE table_11677691_9 (hometown VARCHAR, college VARCHAR)
SELECT hometown FROM table_11677691_9 WHERE college = "Louisiana State"
Which college does the player jon hameister-ries play for?
CREATE TABLE table_name_93 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_93 WHERE player = "jon hameister-ries"
What was the result for week 2?
CREATE TABLE table_name_50 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_50 WHERE week = 2
What is the average bike availability in stations that are not located in Palo Alto?
CREATE TABLE status (bikes_available INTEGER, station_id VARCHAR, id VARCHAR, city VARCHAR); CREATE TABLE station (bikes_available INTEGER, station_id VARCHAR, id VARCHAR, city VARCHAR)
SELECT AVG(bikes_available) FROM status WHERE NOT station_id IN (SELECT id FROM station WHERE city = "Palo Alto")
what is the lowest amount of silver when the gold is less than 0?
CREATE TABLE table_name_70 (silver INTEGER, gold INTEGER)
SELECT MIN(silver) FROM table_name_70 WHERE gold < 0
Name the lowest Rank of carmelita jeter with a Time smaller than 11.08?
CREATE TABLE table_name_97 (rank INTEGER, name VARCHAR, time VARCHAR)
SELECT MIN(rank) FROM table_name_97 WHERE name = "carmelita jeter" AND time < 11.08
What was the result for the cirtcuit where the LMPC winning team was #89 Intersport Racing?
CREATE TABLE table_27758427_2 (results VARCHAR, lmpc_winning_team VARCHAR)
SELECT results FROM table_27758427_2 WHERE lmpc_winning_team = "#89 Intersport Racing"
What is the transfer window for the country of ESP and the name of de la red?
CREATE TABLE table_name_49 (transfer_window VARCHAR, country VARCHAR, name VARCHAR)
SELECT transfer_window FROM table_name_49 WHERE country = "esp" AND name = "de la red"
Which Record has a Score of 111–101?
CREATE TABLE table_name_69 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_69 WHERE score = "111–101"
Who was the Opponent when the Save was || 36,388 ||15-7||?
CREATE TABLE table_name_26 (opponent VARCHAR, save VARCHAR)
SELECT opponent FROM table_name_26 WHERE save = "|| 36,388 ||15-7||"
What is the name of the manager in the city of Osijek?
CREATE TABLE table_name_33 (manager VARCHAR, home_city VARCHAR)
SELECT manager FROM table_name_33 WHERE home_city = "osijek"
Which institutions joined in 1993
CREATE TABLE table_11658094_1 (institution VARCHAR, joined VARCHAR)
SELECT institution FROM table_11658094_1 WHERE joined = "1993"
What is the Australian for the American ɑ?
CREATE TABLE table_name_79 (australian VARCHAR, american VARCHAR)
SELECT australian FROM table_name_79 WHERE american = "ɑ"
How many states is Grant Wharington from?
CREATE TABLE table_25595209_1 (state_country VARCHAR, skipper VARCHAR)
SELECT COUNT(state_country) FROM table_25595209_1 WHERE skipper = "Grant Wharington"
What is the green rating for the vehicle with L/100km urban (cold) over 10.9, mpg in the US (urban) over 14.1, manufacturer of Volkswagen, and engine capacity under 3189?
CREATE TABLE table_name_68 (green_rating VARCHAR, engine_capacity VARCHAR, manufacturer VARCHAR, l_100km_urban__cold_ VARCHAR, mpg_us_urban VARCHAR)
SELECT green_rating FROM table_name_68 WHERE l_100km_urban__cold_ > 10.9 AND mpg_us_urban > 14.1 AND manufacturer = "volkswagen" AND engine_capacity < 3189
What districts does incumbent Curt Weldon hold?
CREATE TABLE table_1341568_39 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341568_39 WHERE incumbent = "Curt Weldon"
Who were the co drivers past 1994 in the WSC class?
CREATE TABLE table_name_43 (co_drivers VARCHAR, year VARCHAR, class VARCHAR)
SELECT co_drivers FROM table_name_43 WHERE year > 1994 AND class = "wsc"
What is the regular season results for the year 2011-2012?
CREATE TABLE table_21756039_1 (regular_season_results VARCHAR, year VARCHAR)
SELECT regular_season_results FROM table_21756039_1 WHERE year = "2011-2012"
Which album debuted in season 2 (2005)?
CREATE TABLE table_name_93 (debut_album VARCHAR, season VARCHAR)
SELECT debut_album FROM table_name_93 WHERE season = "season 2 (2005)"
What is the home team score for Footscray?
CREATE TABLE table_name_22 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_22 WHERE home_team = "footscray"
In what week was November 27, 1977?
CREATE TABLE table_13259034_2 (week INTEGER, date VARCHAR)
SELECT MAX(week) FROM table_13259034_2 WHERE date = "November 27, 1977"
Who got high assists for team @ Indiana?
CREATE TABLE table_27700375_8 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_27700375_8 WHERE team = "@ Indiana"
What in 2013 has a 2009 of 3r?
CREATE TABLE table_name_29 (Id VARCHAR)
SELECT 2013 FROM table_name_29 WHERE 2009 = "3r"
Name the driver passenger for position 4
CREATE TABLE table_16729457_17 (driver___passenger VARCHAR, position VARCHAR)
SELECT driver___passenger FROM table_16729457_17 WHERE position = 4
What extra has world championships as the tournament, and 1st as the result?
CREATE TABLE table_name_2 (extra VARCHAR, tournament VARCHAR, result VARCHAR)
SELECT extra FROM table_name_2 WHERE tournament = "world championships" AND result = "1st"
What's Steve Langdon's naitionality?
CREATE TABLE table_1965650_4 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_1965650_4 WHERE player = "Steve Langdon"
What is the smallest production number for the LT series with the Dumb Patrol title?
CREATE TABLE table_name_85 (production_num INTEGER, series VARCHAR, title VARCHAR)
SELECT MIN(production_num) FROM table_name_85 WHERE series = "lt" AND title = "dumb patrol"
How many entries are there for high rebounds when high points is inge – 19?
CREATE TABLE table_30054758_3 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT COUNT(high_rebounds) FROM table_30054758_3 WHERE high_points = "Inge – 19"
What is the name of the racer with a first-qualifying time of 58.991?
CREATE TABLE table_name_76 (name VARCHAR, qual_1 VARCHAR)
SELECT name FROM table_name_76 WHERE qual_1 = "58.991"
What is the score of the FIFA report on October 13, 2007?
CREATE TABLE table_name_97 (score VARCHAR, report VARCHAR, date VARCHAR)
SELECT score FROM table_name_97 WHERE report = "fifa" AND date = "october 13, 2007"
What music is in the film before 1963?
CREATE TABLE table_name_53 (music VARCHAR, year INTEGER)
SELECT music FROM table_name_53 WHERE year < 1963
what team played on august 25
CREATE TABLE table_name_14 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_14 WHERE date = "august 25"
What is the Surface, when the Finalist is Andrei Pavel?
CREATE TABLE table_name_90 (surface VARCHAR, finalist VARCHAR)
SELECT surface FROM table_name_90 WHERE finalist = "andrei pavel"
How many scores are listed for game 37?
CREATE TABLE table_17001658_7 (score VARCHAR, game VARCHAR)
SELECT COUNT(score) FROM table_17001658_7 WHERE game = 37
In which season did Paul McCrane first direct an episode?
CREATE TABLE table_17355820_1 (season__number INTEGER, directed_by VARCHAR)
SELECT MIN(season__number) FROM table_17355820_1 WHERE directed_by = "Paul McCrane"
How tall is Braxton Kelley?
CREATE TABLE table_14966667_19 (height VARCHAR, name VARCHAR)
SELECT height FROM table_14966667_19 WHERE name = "Braxton Kelley"
On which date was the location/attendance UIC Pavilion 3,829 respectively?
CREATE TABLE table_17118657_10 (date VARCHAR, location_attendance VARCHAR)
SELECT date FROM table_17118657_10 WHERE location_attendance = "UIC Pavilion 3,829"
What is the lowest attendance?
CREATE TABLE table_25331766_3 (attendance INTEGER)
SELECT MIN(attendance) FROM table_25331766_3
How many air dates does the episode with 15.50 million viewers have?
CREATE TABLE table_26198709_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
SELECT COUNT(original_air_date) FROM table_26198709_1 WHERE us_viewers__million_ = "15.50"
What was the TO par for the player who scored 70-68-74-70=282?
CREATE TABLE table_name_26 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_26 WHERE score = 70 - 68 - 74 - 70 = 282
What date was proposed when the listed date was 12/16/1994 in the County of beaufort?
CREATE TABLE table_name_65 (proposed VARCHAR, listed VARCHAR, county VARCHAR)
SELECT proposed FROM table_name_65 WHERE listed = "12/16/1994" AND county = "beaufort"
Which Season has a Score of 3 – 3 aet , 4–3 pen
CREATE TABLE table_name_31 (season VARCHAR, score VARCHAR)
SELECT season FROM table_name_31 WHERE score = "3 – 3 aet , 4–3 pen"
What was the score of the game when the record was 39–21–4?
CREATE TABLE table_name_49 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_49 WHERE record = "39–21–4"
What is the average number of points for a difference of 55 and an against less than 47?
CREATE TABLE table_name_99 (points INTEGER, difference VARCHAR, against VARCHAR)
SELECT AVG(points) FROM table_name_99 WHERE difference = "55" AND against < 47
Which league has less than 15 apps and 0 goals with sparta prague?
CREATE TABLE table_name_41 (league VARCHAR, club VARCHAR, apps VARCHAR, goals VARCHAR)
SELECT league FROM table_name_41 WHERE apps < 15 AND goals = 0 AND club = "sparta prague"
What was the record of Utah?
CREATE TABLE table_name_65 (record VARCHAR, team VARCHAR)
SELECT record FROM table_name_65 WHERE team = "utah"
What are the conditions of access where access using a Croatian identity card is yes and the length of stay permitted is freedom of movement?
CREATE TABLE table_25965003_3 (conditions_of_access VARCHAR, access_using_a_croatian_identity_card VARCHAR, length_of_stay_permitted VARCHAR)
SELECT conditions_of_access FROM table_25965003_3 WHERE access_using_a_croatian_identity_card = "Yes" AND length_of_stay_permitted = "Freedom of movement"
What is the first elected for south carolina 4?
CREATE TABLE table_1342256_40 (first_elected VARCHAR, district VARCHAR)
SELECT first_elected FROM table_1342256_40 WHERE district = "South Carolina 4"
What is the lowest rank that spain got?
CREATE TABLE table_name_7 (rank INTEGER, nation VARCHAR)
SELECT MIN(rank) FROM table_name_7 WHERE nation = "spain"
When goals against is greater than 60 and losses less than 29, what is the highest played?
CREATE TABLE table_name_6 (played INTEGER, goals_against VARCHAR, losses VARCHAR)
SELECT MAX(played) FROM table_name_6 WHERE goals_against > 60 AND losses < 29
WHAT POSITION DOES PATRICK WIERCIOCH PLAY?
CREATE TABLE table_11803648_17 (position VARCHAR, player VARCHAR)
SELECT position FROM table_11803648_17 WHERE player = "Patrick Wiercioch"
Which Frequency has a Webcast of •, and a Callsign of xemr?
CREATE TABLE table_name_31 (frequency INTEGER, webcast VARCHAR, callsign VARCHAR)
SELECT AVG(frequency) FROM table_name_31 WHERE webcast = "•" AND callsign = "xemr"
Which Year completed has a Dam type of concrete gravity, and an Impounded body of water of deep creek reservoir?
CREATE TABLE table_name_31 (year_completed INTEGER, dam_type VARCHAR, impounded_body_of_water VARCHAR)
SELECT MIN(year_completed) FROM table_name_31 WHERE dam_type = "concrete gravity" AND impounded_body_of_water = "deep creek reservoir"
Name the affiliation for 27209 enrollment
CREATE TABLE table_28253870_1 (affiliation VARCHAR, enrollment VARCHAR)
SELECT affiliation FROM table_28253870_1 WHERE enrollment = 27209
What was the score of the Friendly competition where the result was 7-2?
CREATE TABLE table_name_54 (score VARCHAR, competition VARCHAR, result VARCHAR)
SELECT score FROM table_name_54 WHERE competition = "friendly" AND result = "7-2"
Which writer had voice characters of JDR, BB, TN, LR, PS?
CREATE TABLE table_name_13 (writer VARCHAR, voiced_character_s_ VARCHAR)
SELECT writer FROM table_name_13 WHERE voiced_character_s_ = "jdr, bb, tn, lr, ps"
Which film has the most copies in the inventory? List both title and id.
CREATE TABLE film (title VARCHAR, film_id VARCHAR); CREATE TABLE inventory (film_id VARCHAR)
SELECT T1.title, T1.film_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id = T2.film_id GROUP BY T1.film_id ORDER BY COUNT(*) DESC LIMIT 1
When the country was Scotland, how many ends were won?
CREATE TABLE table_16922657_2 (Ends VARCHAR, country VARCHAR, Scotland VARCHAR)
SELECT COUNT(Ends) AS won FROM table_16922657_2 WHERE country = Scotland
What was the overall score when the score for set 3 is 21–25?
CREATE TABLE table_name_55 (score VARCHAR, set_3 VARCHAR)
SELECT score FROM table_name_55 WHERE set_3 = "21–25"
What is the 1996 when the 1994 is A, the 2003 is A, and the 2001 is 1R?
CREATE TABLE table_name_23 (Id VARCHAR)
SELECT 1996 FROM table_name_23 WHERE 1994 = "a" AND 2003 = "a" AND 2001 = "1r"
What is the average lane for Kenya with react larger than 0.212?
CREATE TABLE table_name_79 (lane INTEGER, nationality VARCHAR, react VARCHAR)
SELECT AVG(lane) FROM table_name_79 WHERE nationality = "kenya" AND react > 0.212
How many years did the team place 2nd in Auckland, New Zealand?
CREATE TABLE table_name_30 (year VARCHAR, result VARCHAR, venue VARCHAR)
SELECT COUNT(year) FROM table_name_30 WHERE result = "2nd" AND venue = "auckland, new zealand"
What is Result, when Director is Veljko Bulajić category:articles with hcards, and when Original title is Sarajevski Atentat?
CREATE TABLE table_name_46 (result VARCHAR, director VARCHAR, original_title VARCHAR)
SELECT result FROM table_name_46 WHERE director = "veljko bulajić category:articles with hcards" AND original_title = "sarajevski atentat"
To which organziation does the winnipeg jets belong to?
CREATE TABLE table_2850912_12 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
SELECT college_junior_club_team FROM table_2850912_12 WHERE nhl_team = "Winnipeg Jets"
What kind of Week 2 has a Week 4 of araya robinson?
CREATE TABLE table_name_15 (week_2 VARCHAR, week_4 VARCHAR)
SELECT week_2 FROM table_name_15 WHERE week_4 = "araya robinson"
Which conference does the school from Gainesville, Florida, play in?
CREATE TABLE table_name_5 (present_conference VARCHAR, location VARCHAR)
SELECT present_conference FROM table_name_5 WHERE location = "gainesville, florida"
What transmitter location has digital power of 570kw?
CREATE TABLE table_name_62 (transmitter_location VARCHAR, digital_power VARCHAR)
SELECT transmitter_location FROM table_name_62 WHERE digital_power = "570kw"
what is the to par when the player is hale irwin?
CREATE TABLE table_name_80 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_80 WHERE player = "hale irwin"
What season number in the season has production code 210?
CREATE TABLE table_26448179_3 (no_in_season INTEGER, production_code VARCHAR)
SELECT MIN(no_in_season) FROM table_26448179_3 WHERE production_code = "210"
Which chassis had Rounds of 7, and an Entrant of Ecurie Rosier?
CREATE TABLE table_name_15 (chassis VARCHAR, rounds VARCHAR, entrant VARCHAR)
SELECT chassis FROM table_name_15 WHERE rounds = "7" AND entrant = "ecurie rosier"
What was the attendance on week 12?
CREATE TABLE table_name_8 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_8 WHERE week = "12"
Which league has arena football in the club Laredo Lobos?
CREATE TABLE table_name_70 (league VARCHAR, sport VARCHAR, club VARCHAR)
SELECT league FROM table_name_70 WHERE sport = "arena football" AND club = "laredo lobos"
What is the place of the player with a 72-71-65=208 score?
CREATE TABLE table_name_33 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_33 WHERE score = 72 - 71 - 65 = 208
What is the census division for the city named Kenora?
CREATE TABLE table_21284653_1 (census_division VARCHAR, name VARCHAR)
SELECT census_division FROM table_21284653_1 WHERE name = "Kenora"
What date did the DVD for season six come out in region 2?
CREATE TABLE table_1067134_1 (region_2 VARCHAR, dvd_name VARCHAR)
SELECT region_2 FROM table_1067134_1 WHERE dvd_name = "Season Six"
Where did Dante Luciani attend college?
CREATE TABLE table_16575609_5 (college VARCHAR, player VARCHAR)
SELECT college FROM table_16575609_5 WHERE player = "Dante Luciani"
What is the sum of PTS when there is a PCT smaller than 0.1?
CREATE TABLE table_name_11 (pts INTEGER, pct INTEGER)
SELECT SUM(pts) FROM table_name_11 WHERE pct < 0.1
Which city did kpnz-tv provide coverage for?
CREATE TABLE table_2523809_1 (coverage VARCHAR, callsign VARCHAR)
SELECT coverage FROM table_2523809_1 WHERE callsign = "KPNZ-TV"
what is the length (miles) when the name is l-56g?
CREATE TABLE table_name_19 (length__miles_ INTEGER, name VARCHAR)
SELECT MAX(length__miles_) FROM table_name_19 WHERE name = "l-56g"
What is the total when the nation is brazil (bra) and bronze is more than 2?
CREATE TABLE table_name_38 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT SUM(total) FROM table_name_38 WHERE nation = "brazil (bra)" AND bronze > 2
What was the type of ballot measure with the description of Department of Industry and Public Works Amendment?
CREATE TABLE table_256286_8 (type VARCHAR, description VARCHAR)
SELECT type FROM table_256286_8 WHERE description = "Department of Industry and Public Works Amendment"
What is the torque of a 2B engine?
CREATE TABLE table_name_29 (torque VARCHAR, engine VARCHAR)
SELECT torque FROM table_name_29 WHERE engine = "2b"
What is the name of the high schooler who has the greatest number of friends?
CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)
SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1
What the cores with a release date of February 2011 and a BGA-1023 socket?
CREATE TABLE table_name_81 (cores VARCHAR, socket VARCHAR, release_date VARCHAR)
SELECT cores FROM table_name_81 WHERE socket = "bga-1023" AND release_date = "february 2011"
Who was the opponent at the game with a result of W 26-20?
CREATE TABLE table_name_20 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_20 WHERE result = "w 26-20"
How many goals occurred for Stein Huysegems when the caps value is more than 8?
CREATE TABLE table_name_13 (goals VARCHAR, caps VARCHAR, player VARCHAR)
SELECT goals FROM table_name_13 WHERE caps > 8 AND player = "stein huysegems"
what is the name and nation of the singer who have a song having 'Hey' in its name?
CREATE TABLE singer (name VARCHAR, country VARCHAR, song_name VARCHAR)
SELECT name, country FROM singer WHERE song_name LIKE '%Hey%'
What is the total number of Wins, when Points is less than 1?
CREATE TABLE table_name_17 (wins VARCHAR, points INTEGER)
SELECT COUNT(wins) FROM table_name_17 WHERE points < 1
How many winning drivers are there when the winning team is Bryan herta autosport?
CREATE TABLE table_19850806_3 (winning_driver VARCHAR, winning_team VARCHAR)
SELECT COUNT(winning_driver) FROM table_19850806_3 WHERE winning_team = "Bryan Herta Autosport"
Find the name of airports whose altitude is between -50 and 50.
CREATE TABLE airports (name VARCHAR, elevation INTEGER)
SELECT name FROM airports WHERE elevation BETWEEN -50 AND 50
What is the 2nd leg result when team 2 is Morocco?
CREATE TABLE table_name_16 (team_2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_16 WHERE team_2 = "morocco"
What was the lowest attendance at a week 15 game?
CREATE TABLE table_name_50 (attendance INTEGER, week VARCHAR)
SELECT MIN(attendance) FROM table_name_50 WHERE week = 15
What day did they play in salford?
CREATE TABLE table_name_56 (date VARCHAR, city VARCHAR)
SELECT date FROM table_name_56 WHERE city = "salford"
What is the date of the label Alfa records, a CD format, and an alca-9201 catalog?
CREATE TABLE table_name_16 (date VARCHAR, catalog VARCHAR, label VARCHAR, format VARCHAR)
SELECT date FROM table_name_16 WHERE label = "alfa records" AND format = "cd" AND catalog = "alca-9201"
What is the average grid of driver Christian Vietoris who has less than 12 laps?
CREATE TABLE table_name_79 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT AVG(grid) FROM table_name_79 WHERE driver = "christian vietoris" AND laps < 12
what is the score on 22 february 1993?
CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_10 WHERE date = "22 february 1993"
Tell me the highest opponents for record of 7-3 and vikings points more than 7
CREATE TABLE table_name_97 (opponents INTEGER, record VARCHAR, vikings_points VARCHAR)
SELECT MAX(opponents) FROM table_name_97 WHERE record = "7-3" AND vikings_points > 7
How many points are there for a Mclaren m23 chassis later than 1972?
CREATE TABLE table_name_20 (points VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT COUNT(points) FROM table_name_20 WHERE year > 1972 AND chassis = "mclaren m23"
Who are the opponents with a record of 3-0?
CREATE TABLE table_name_73 (opponents VARCHAR, record VARCHAR)
SELECT opponents FROM table_name_73 WHERE record = "3-0"
What's the lowest bronze with a 6 rank, smaller than 5 gold, and a total of more than 1?
CREATE TABLE table_name_91 (bronze INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT MIN(bronze) FROM table_name_91 WHERE gold < 5 AND rank = "6" AND total > 1