question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the highest number of matches that has a round of Third Round?
CREATE TABLE table_name_22 (matches INTEGER, round VARCHAR)
SELECT MAX(matches) FROM table_name_22 WHERE round = "third round"
What is the result for Wisconsin?
CREATE TABLE table_22603701_1 (result VARCHAR, college VARCHAR)
SELECT result FROM table_22603701_1 WHERE college = "Wisconsin"
What is the value of bronze with less than 2 in total?
CREATE TABLE table_name_91 (bronze VARCHAR, total INTEGER)
SELECT bronze FROM table_name_91 WHERE total < 2
What was the quantity for Inchicore of J7?
CREATE TABLE table_name_3 (quantity_made VARCHAR, inchicore_class VARCHAR)
SELECT quantity_made FROM table_name_3 WHERE inchicore_class = "j7"
What is the current status of the KDAF ** Station?
CREATE TABLE table_1353096_2 (current_status VARCHAR, station VARCHAR)
SELECT current_status FROM table_1353096_2 WHERE station = "KDAF **"
Which County has an IHSAA Class of aaa, and an Enrollment smaller than 799?
CREATE TABLE table_name_68 (county VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR)
SELECT county FROM table_name_68 WHERE ihsaa_class = "aaa" AND enrollment < 799
Which kickoff has the opponent at new orleans saints?
CREATE TABLE table_11449590_2 (kickoff_ VARCHAR, a_ VARCHAR, opponent VARCHAR)
SELECT kickoff_[a_] FROM table_11449590_2 WHERE opponent = "at New Orleans Saints"
What's the sum of Silver with total smaller than 560, a Bronze larger than 6, and a Gold of 3?
CREATE TABLE table_name_70 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT SUM(silver) FROM table_name_70 WHERE total < 560 AND bronze > 6 AND gold = 3
What is the population in millions when the adjusted GDP is 492 billion?
CREATE TABLE table_1610496_3 (population__millions_ VARCHAR, gdp_adjusted__$_billions_ VARCHAR)
SELECT population__millions_ FROM table_1610496_3 WHERE gdp_adjusted__$_billions_ = "492"
Who was the champion prior to Xix Xavant?
CREATE TABLE table_1272033_1 (previous_champion_s_ VARCHAR, champion_s_ VARCHAR)
SELECT previous_champion_s_ FROM table_1272033_1 WHERE champion_s_ = "Xix Xavant"
Name the year for spiele leben
CREATE TABLE table_16255245_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
SELECT year__ceremony_ FROM table_16255245_1 WHERE original_title = "Spiele Leben"
What team was the away team when they played at lake oval?
CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_84 WHERE venue = "lake oval"
Who wrote the episode with 9.81 million US viewers?
CREATE TABLE table_28688313_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)
SELECT written_by FROM table_28688313_1 WHERE us_viewers__in_millions_ = "9.81"
List the id, country, city and name of the airports ordered alphabetically by the name.
CREATE TABLE airport (id VARCHAR, country VARCHAR, city VARCHAR, name VARCHAR)
SELECT id, country, city, name FROM airport ORDER BY name
What is Score, when Country is "United States", and when Player is "John Mahaffey"?
CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR, player VARCHAR)
SELECT score FROM table_name_13 WHERE country = "united states" AND player = "john mahaffey"
Show all distinct region names ordered by their labels.
CREATE TABLE region (region_name VARCHAR, Label VARCHAR)
SELECT DISTINCT region_name FROM region ORDER BY Label
What is the Score for the 1999 fifa confederations cup?
CREATE TABLE table_name_96 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_96 WHERE competition = "1999 fifa confederations cup"
Name the minimum kerry # for bush % for 50.9%
CREATE TABLE table_1733457_1 (kerry_number INTEGER, bush_percentage VARCHAR)
SELECT MIN(kerry_number) FROM table_1733457_1 WHERE bush_percentage = "50.9%"
Who was the visiting team on December 6?
CREATE TABLE table_name_31 (visiting_team VARCHAR, date VARCHAR)
SELECT visiting_team FROM table_name_31 WHERE date = "december 6"
What was the opposing team's score at the match that was played at Victoria Park?
CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_31 WHERE venue = "victoria park"
What was Len Sutton's total number of completed laps when his qualifying time was 142.653?
CREATE TABLE table_name_49 (laps VARCHAR, qual VARCHAR)
SELECT COUNT(laps) FROM table_name_49 WHERE qual = "142.653"
what are all the gold medals when the silver medals is smaller than 1.0?
CREATE TABLE table_1305623_18 (gold_medals VARCHAR, silver_medals INTEGER)
SELECT gold_medals FROM table_1305623_18 WHERE silver_medals < 1.0
How often is the cricket competition held?
CREATE TABLE table_name_97 (held_every VARCHAR, sport VARCHAR)
SELECT held_every FROM table_name_97 WHERE sport = "cricket"
Who has a walking data of 214.061km?
CREATE TABLE table_name_66 (athlete VARCHAR, data VARCHAR)
SELECT athlete FROM table_name_66 WHERE data = "214.061km"
What is the number of asts when rebs are larger than 1,189?
CREATE TABLE table_name_76 (asts VARCHAR, rebs INTEGER)
SELECT asts FROM table_name_76 WHERE rebs > 1 OFFSET 189
For the Crew with Year 9 2nd Quads of STM, Year 9 1st Quads of SOM, and a Year 8 3rd Quads of STA what was the Year 8 1st Quads?
CREATE TABLE table_name_5 (year_8_1st_quad VARCHAR, year_8_3rd_quad VARCHAR, year_9_2nd_quad VARCHAR, year_9_1st_quad VARCHAR)
SELECT year_8_1st_quad FROM table_name_5 WHERE year_9_2nd_quad = "stm" AND year_9_1st_quad = "som" AND year_8_3rd_quad = "sta"
When there are more than 126 errors, more than 551 kills, and more than 40 assists for the 2007 season, what is the total of Solo Blocks?
CREATE TABLE table_name_24 (solo_blocks INTEGER, assists VARCHAR, season VARCHAR, errors VARCHAR, kills VARCHAR)
SELECT SUM(solo_blocks) FROM table_name_24 WHERE errors > 126 AND kills > 551 AND season = "2007" AND assists > 40
Which area 1996 km² has a pop 1999 of 17,510, and an area 2006 km² larger than 30?
CREATE TABLE table_name_91 (area_1996_km² INTEGER, pop_1999 VARCHAR, area_2006_km² VARCHAR)
SELECT MAX(area_1996_km²) FROM table_name_91 WHERE pop_1999 = "17,510" AND area_2006_km² > 30
What team with a goals conceded smaller than 25, and a place smaller than 3?
CREATE TABLE table_name_81 (team VARCHAR, goals_conceded VARCHAR, place VARCHAR)
SELECT team FROM table_name_81 WHERE goals_conceded < 25 AND place < 3
What school has oregon as the state, and ashland as the city?
CREATE TABLE table_name_37 (school VARCHAR, state VARCHAR, city VARCHAR)
SELECT school FROM table_name_37 WHERE state = "oregon" AND city = "ashland"
What was Saskatoon Accelerators score on January 6, 2008?
CREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR, date VARCHAR)
SELECT score FROM table_name_66 WHERE home_team = "saskatoon accelerators" AND date = "january 6, 2008"
What are the maximum and minimum budget of the departments?
CREATE TABLE department (budget_in_billions INTEGER)
SELECT MAX(budget_in_billions), MIN(budget_in_billions) FROM department
Who were the opponents in the final when the game was played on hard surface and the score of the final was 6–1, 1–6, 7–6(4)?
CREATE TABLE table_name_22 (opponents_in_final VARCHAR, surface VARCHAR, score_in_final VARCHAR)
SELECT opponents_in_final FROM table_name_22 WHERE surface = "hard" AND score_in_final = "6–1, 1–6, 7–6(4)"
Can you tell me the Time that has the Heat of 1, and the Lane of 2?
CREATE TABLE table_name_72 (time VARCHAR, heat VARCHAR, lane VARCHAR)
SELECT time FROM table_name_72 WHERE heat = 1 AND lane = 2
What was the earliest year that Scuderia Ferrari was an entrant with 0 points?
CREATE TABLE table_name_88 (year INTEGER, points VARCHAR, entrant VARCHAR)
SELECT MIN(year) FROM table_name_88 WHERE points = "0" AND entrant = "scuderia ferrari"
What place did bobby wadkins come in?
CREATE TABLE table_name_13 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_13 WHERE player = "bobby wadkins"
Which co-driver was part of team Martini Lancia earlier than 1986?
CREATE TABLE table_name_14 (co_drivers VARCHAR, year VARCHAR, team VARCHAR)
SELECT co_drivers FROM table_name_14 WHERE year < 1986 AND team = "martini lancia"
What movie did dana wynter , mel ferrer , theodore bikel star in?
CREATE TABLE table_26032940_2 (movie_title_and_year VARCHAR, main_cast VARCHAR)
SELECT movie_title_and_year FROM table_26032940_2 WHERE main_cast = "Dana Wynter , Mel Ferrer , Theodore Bikel"
What is the air date for the episode written by Wendy Battles and directed by Oz Scott
CREATE TABLE table_11665016_2 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR)
SELECT original_air_date FROM table_11665016_2 WHERE written_by = "Wendy Battles" AND directed_by = "Oz Scott"
Which class's call sign is wokg?
CREATE TABLE table_name_44 (class VARCHAR, call_sign VARCHAR)
SELECT class FROM table_name_44 WHERE call_sign = "wokg"
What is Class, when Dates is "22 April - 3 May 2009"?
CREATE TABLE table_name_20 (class VARCHAR, dates VARCHAR)
SELECT class FROM table_name_20 WHERE dates = "22 april - 3 may 2009"
What is the date Listed of the Bridge Built in 1864?
CREATE TABLE table_name_79 (listed VARCHAR, built VARCHAR)
SELECT listed FROM table_name_79 WHERE built = "1864"
Name the security forces for 2009
CREATE TABLE table_name_82 (security_forces VARCHAR, year VARCHAR)
SELECT security_forces FROM table_name_82 WHERE year = "2009"
What was the score on 19/08/2012?
CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_30 WHERE date = "19/08/2012"
How many transcripts are released?
CREATE TABLE Transcripts (Id VARCHAR)
SELECT COUNT(*) FROM Transcripts
What is listed under chister tornell when karianne gulliksen is 7?
CREATE TABLE table_28677723_10 (christer_tornell INTEGER, karianne_gulliksen VARCHAR)
SELECT MIN(christer_tornell) FROM table_28677723_10 WHERE karianne_gulliksen = 7
What score had a record of 17–18–6?
CREATE TABLE table_name_31 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_31 WHERE record = "17–18–6"
In what county is the latitude less than 46.935364 and GEO ID is 3801700500?
CREATE TABLE table_name_4 (county VARCHAR, latitude VARCHAR, geo_id VARCHAR)
SELECT county FROM table_name_4 WHERE latitude < 46.935364 AND geo_id = 3801700500
What name has 8 as the number?
CREATE TABLE table_name_5 (name VARCHAR, number VARCHAR)
SELECT name FROM table_name_5 WHERE number = "8"
Show budget type codes and the number of documents in each budget type.
CREATE TABLE Documents_with_expenses (budget_type_code VARCHAR)
SELECT budget_type_code, COUNT(*) FROM Documents_with_expenses GROUP BY budget_type_code
Name the districk for larry mcdonald
CREATE TABLE table_1341604_11 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341604_11 WHERE incumbent = "Larry McDonald"
Name the sport for canada in 2004
CREATE TABLE table_name_40 (sport VARCHAR, country VARCHAR, year VARCHAR)
SELECT sport FROM table_name_40 WHERE country = "canada" AND year = 2004
What time/retired has a Grid larger than 3, and a Driver of kimi räikkönen?
CREATE TABLE table_name_65 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_65 WHERE grid > 3 AND driver = "kimi räikkönen"
What's the area of the voivodenship with 51 communes?
CREATE TABLE table_11656578_2 (area_km²__1998_ VARCHAR, no_of_communes VARCHAR)
SELECT area_km²__1998_ FROM table_11656578_2 WHERE no_of_communes = 51
What the date of the game of the team that plays in princes park?
CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_25 WHERE venue = "princes park"
What is Position, when Player is "Kevin Durant category:articles with hCards"?
CREATE TABLE table_name_71 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_71 WHERE player = "kevin durant category:articles with hcards"
What play has a loss of 2?
CREATE TABLE table_name_1 (played VARCHAR, lost VARCHAR)
SELECT played FROM table_name_1 WHERE lost = "2"
What result in 1994 has a SR as the tournament?
CREATE TABLE table_name_45 (tournament VARCHAR)
SELECT 1994 FROM table_name_45 WHERE tournament = "sr"
What is the lowest Week, when Attendance is 38,624?
CREATE TABLE table_name_27 (week INTEGER, attendance VARCHAR)
SELECT MIN(week) FROM table_name_27 WHERE attendance = 38 OFFSET 624
WHAT IS THE DATE WITH AN AWAY TEAM OF BURTON ALBION?
CREATE TABLE table_name_15 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_15 WHERE away_team = "burton albion"
How many years have a Title of kriegspiel?
CREATE TABLE table_name_16 (year VARCHAR, title VARCHAR)
SELECT COUNT(year) FROM table_name_16 WHERE title = "kriegspiel"
Which Home Captain has Eng by 208 runs?
CREATE TABLE table_name_28 (home_captain VARCHAR, result VARCHAR)
SELECT home_captain FROM table_name_28 WHERE result = "eng by 208 runs"
Which 1990-1991 is the average one that has Played of 38, and Points of 40?
CREATE TABLE table_name_26 (played VARCHAR, points VARCHAR)
SELECT AVG(1990 AS _1991) FROM table_name_26 WHERE played = 38 AND points = 40
Which country has a lane greater than 6 and a mark of 6.63?
CREATE TABLE table_name_80 (country VARCHAR, lane VARCHAR, mark VARCHAR)
SELECT country FROM table_name_80 WHERE lane > 6 AND mark = "6.63"
What is the 2009 average when the 2007 average is more than 0,18?
CREATE TABLE table_name_4 (Id VARCHAR)
SELECT AVG(2009) FROM table_name_4 WHERE 2007 > 0 OFFSET 18
What is the run 2 of the athlete from Australia with a run 1 less than 53.75?
CREATE TABLE table_name_73 (run_2 VARCHAR, country VARCHAR, run_1 VARCHAR)
SELECT run_2 FROM table_name_73 WHERE country = "australia" AND run_1 < 53.75
what is the mission when the location is brasilia?
CREATE TABLE table_name_18 (mission VARCHAR, location VARCHAR)
SELECT mission FROM table_name_18 WHERE location = "brasilia"
Which lane did the athlete from Zambia swim in?
CREATE TABLE table_name_6 (lane VARCHAR, nationality VARCHAR)
SELECT lane FROM table_name_6 WHERE nationality = "zambia"
How many episodes of 30 minutes were written by John Sullivan?
CREATE TABLE table_17641206_4 (duration VARCHAR, written_by VARCHAR)
SELECT COUNT(duration) FROM table_17641206_4 WHERE written_by = "John Sullivan"
What is the total number of Total values associated with mroe than 3 silvers, more than 2 bronze, and a rank of 3?
CREATE TABLE table_name_53 (total VARCHAR, bronze VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT COUNT(total) FROM table_name_53 WHERE silver > 3 AND rank = 3 AND bronze > 2
What is the CC displacement for 1965?
CREATE TABLE table_name_94 (displacement_cc VARCHAR, year VARCHAR)
SELECT displacement_cc FROM table_name_94 WHERE year = "1965"
How many titles are there for season 8
CREATE TABLE table_11951237_4 (title VARCHAR, season__number VARCHAR)
SELECT COUNT(title) FROM table_11951237_4 WHERE season__number = 8
For which to par was the score 71-74-68=213?
CREATE TABLE table_name_11 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_11 WHERE score = 71 - 74 - 68 = 213
What is the name of the Guest Host for Episode Number of 5?
CREATE TABLE table_name_73 (guest_host VARCHAR, episode_number VARCHAR)
SELECT guest_host FROM table_name_73 WHERE episode_number = 5
Show ids for all students who have advisor 1121.
CREATE TABLE Student (StuID VARCHAR, Advisor VARCHAR)
SELECT StuID FROM Student WHERE Advisor = 1121
What is the score for the game with the record of 3–12?
CREATE TABLE table_27698941_6 (score VARCHAR, record VARCHAR)
SELECT score FROM table_27698941_6 WHERE record = "3–12"
Which Venue has a Opponents of halmstad and a Score of 1-1?
CREATE TABLE table_name_84 (venue VARCHAR, opponents VARCHAR, score VARCHAR)
SELECT venue FROM table_name_84 WHERE opponents = "halmstad" AND score = "1-1"
Which Binibining Pilipinas-World has a Second runner-up of sonia santiago?
CREATE TABLE table_name_72 (binibining_pilipinas_world VARCHAR, second_runner_up VARCHAR)
SELECT binibining_pilipinas_world FROM table_name_72 WHERE second_runner_up = "sonia santiago"
List the ids of all distinct orders ordered by placed date.
CREATE TABLE orders (order_id VARCHAR, date_order_placed VARCHAR)
SELECT DISTINCT order_id FROM orders ORDER BY date_order_placed
What is the most popular file format?
CREATE TABLE files (formats VARCHAR)
SELECT formats FROM files GROUP BY formats ORDER BY COUNT(*) DESC LIMIT 1
What is the highest number of ends lost?
CREATE TABLE table_17012578_37 (Ends INTEGER)
SELECT MAX(Ends) AS lost FROM table_17012578_37
What is the lowest total of medals that has a gold of 3 and a silver less than 3?
CREATE TABLE table_name_46 (total INTEGER, gold VARCHAR, silver VARCHAR)
SELECT MIN(total) FROM table_name_46 WHERE gold = 3 AND silver < 3
What year did anna thompson have a 7th place result?
CREATE TABLE table_name_85 (year VARCHAR, result VARCHAR)
SELECT year FROM table_name_85 WHERE result = "7th"
What is the total rank with more than 0 silver and less than 2 medals total?
CREATE TABLE table_name_88 (rank VARCHAR, total VARCHAR, silver VARCHAR)
SELECT COUNT(rank) FROM table_name_88 WHERE total < 2 AND silver > 0
What date has a margin of victory of 1 stroke over Greg Kraft?
CREATE TABLE table_name_21 (date VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT date FROM table_name_21 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "greg kraft"
For the Temple Square station, what is the park & ride lot name?
CREATE TABLE table_name_53 (park_and_ride_lot VARCHAR, station_name VARCHAR)
SELECT park_and_ride_lot FROM table_name_53 WHERE station_name = "temple square"
What club had 0 goals?
CREATE TABLE table_name_4 (club VARCHAR, goals VARCHAR)
SELECT club FROM table_name_4 WHERE goals = 0
What is the height of the player from Las Vegas, NV?
CREATE TABLE table_name_80 (height VARCHAR, home_town VARCHAR)
SELECT height FROM table_name_80 WHERE home_town = "las vegas, nv"
What team got a draft pick player from McGill?
CREATE TABLE table_25085059_3 (cfl_team VARCHAR, college VARCHAR)
SELECT cfl_team FROM table_25085059_3 WHERE college = "McGill"
Show the names of counties that have at least two delegates.
CREATE TABLE election (District VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR)
SELECT T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District GROUP BY T1.County_id HAVING COUNT(*) >= 2
Which 1994 has a 1998 of 0–1?
CREATE TABLE table_name_35 (Id VARCHAR)
SELECT 1994 FROM table_name_35 WHERE 1998 = "0–1"
What tyre was used for an entrant of Ecurie Nationale Suisse?
CREATE TABLE table_name_27 (tyre VARCHAR, entrant VARCHAR)
SELECT tyre FROM table_name_27 WHERE entrant = "ecurie nationale suisse"
How many starts were there when the winnings are $690,321?
CREATE TABLE table_1875157_2 (starts INTEGER, winnings VARCHAR)
SELECT MIN(starts) FROM table_1875157_2 WHERE winnings = "$690,321"
Who was the previous champion of the title won on July 7, 2010?
CREATE TABLE table_name_98 (previous_champion_s_ VARCHAR, date_won VARCHAR)
SELECT previous_champion_s_ FROM table_name_98 WHERE date_won = "july 7, 2010"
Which Senior status has Appointed by of l. johnson category:articles with hcards, and Born/Died of 1918–2009?
CREATE TABLE table_name_7 (senior_status VARCHAR, appointed_by VARCHAR, born_died VARCHAR)
SELECT senior_status FROM table_name_7 WHERE appointed_by = "l. johnson category:articles with hcards" AND born_died = "1918–2009"
What is the name of the school that has a player named Michael Dunigan?
CREATE TABLE table_name_79 (school VARCHAR, player VARCHAR)
SELECT school FROM table_name_79 WHERE player = "michael dunigan"
What's the 2005 of TV3 when there is less than 42 in 2007 and less than 29.5 in 2010?
CREATE TABLE table_name_36 (tv_station__operator_ VARCHAR)
SELECT MAX(2005) FROM table_name_36 WHERE 2007 < 42 AND tv_station__operator_ = "tv3" AND 2010 < 29.5
What is the partial thromboplastin time when the condition factor x deficiency as seen in amyloid purpura?
CREATE TABLE table_221653_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR)
SELECT partial_thromboplastin_time FROM table_221653_1 WHERE condition = "Factor X deficiency as seen in amyloid purpura"
What is the result of Courtney Walsh ?
CREATE TABLE table_name_36 (result VARCHAR, home_captain VARCHAR)
SELECT result FROM table_name_36 WHERE home_captain = "courtney walsh"
Which publication happened in the UK?
CREATE TABLE table_name_75 (publication VARCHAR, country VARCHAR)
SELECT publication FROM table_name_75 WHERE country = "uk"