answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT date FROM table_name_1 WHERE home = "lakers"
What is the date when the Lakers were the home team?
CREATE TABLE table_name_1 (date VARCHAR, home VARCHAR)
SELECT total FROM table_name_16 WHERE score = "3-0" AND set_3 = "25-18" AND set_2 = "25-12"
What is the total of the 3-0 score with a set 2 of 25-12 and a set 3 of 25-18?
CREATE TABLE table_name_16 (total VARCHAR, set_2 VARCHAR, score VARCHAR, set_3 VARCHAR)
SELECT not_out FROM table_20367820_16 WHERE average = "43.70"
How many no outs are there for an average of 43.70?
CREATE TABLE table_20367820_16 (not_out VARCHAR, average VARCHAR)
SELECT date FROM table_name_13 WHERE venue = "al-rashid stadium, dubai"
What was the date of the game held at the Al-Rashid Stadium, Dubai?
CREATE TABLE table_name_13 (date VARCHAR, venue VARCHAR)
SELECT name FROM table_name_41 WHERE city = "santiago"
Who has the city Santiago?
CREATE TABLE table_name_41 (name VARCHAR, city VARCHAR)
SELECT COUNT(game) FROM table_17355408_12 WHERE record = "2-3"
What game was the record 2-3?
CREATE TABLE table_17355408_12 (game VARCHAR, record VARCHAR)
SELECT date FROM table_name_32 WHERE high_assists = "raymond felton (6)" AND high_points = "jason richardson (42)"
On which date was Raymond Felton (6) the high assists and Jason Richardson (42) the high points?
CREATE TABLE table_name_32 (date VARCHAR, high_assists VARCHAR, high_points VARCHAR)
SELECT 2010 AS _population_density FROM table_name_83 WHERE municipio = "ponce"
what is the 2010 population density for municipio ponce?
CREATE TABLE table_name_83 (municipio VARCHAR)
SELECT to_par FROM table_247955_2 WHERE winning_score = 67 - 64 - 63 - 71 - 66 = 331
What were the shots below par when the winning score was 67-64-63-71-66=331?
CREATE TABLE table_247955_2 (to_par VARCHAR, winning_score VARCHAR)
SELECT ihsaa_football_class FROM table_name_50 WHERE location = "wabash" AND school = "wabash"
Which IHSAA Football Class has a Location of wabash, and a School of wabash?
CREATE TABLE table_name_50 (ihsaa_football_class VARCHAR, location VARCHAR, school VARCHAR)
SELECT high_points FROM table_name_16 WHERE date = "september 9"
What were the high points on september 9?
CREATE TABLE table_name_16 (high_points VARCHAR, date VARCHAR)
SELECT MIN(disposable_usd_2011) FROM table_24486462_1
What is the lowest disposable USD 2011?
CREATE TABLE table_24486462_1 (disposable_usd_2011 INTEGER)
SELECT score FROM table_15780049_6 WHERE game = 33
What is the score of game 33?
CREATE TABLE table_15780049_6 (score VARCHAR, game VARCHAR)
SELECT host_city FROM table_26669939_1 WHERE host_country = "Croatia" AND edition = "8th"
What was the host city of the 8th edition in the the host country of Croatia?
CREATE TABLE table_26669939_1 (host_city VARCHAR, host_country VARCHAR, edition VARCHAR)
SELECT title FROM table_name_38 WHERE directed_by = "roy dupuis"
What is the title of the episode that was directed by Roy Dupuis?
CREATE TABLE table_name_38 (title VARCHAR, directed_by VARCHAR)
SELECT MAX(heat) FROM table_name_48 WHERE time > 48.87 AND nationality = "sweden"
What was the highest heat with a time slower than 48.87 from sweden?
CREATE TABLE table_name_48 (heat INTEGER, time VARCHAR, nationality VARCHAR)
SELECT title FROM table_name_24 WHERE termination_of_mission = "april 10, 1939"
Name the title with termination of mission of april 10, 1939
CREATE TABLE table_name_24 (title VARCHAR, termination_of_mission VARCHAR)
SELECT play_off FROM table_1059743_1 WHERE points = "860.5"
Did any team score games that totaled up to 860.5?
CREATE TABLE table_1059743_1 (play_off VARCHAR, points VARCHAR)
SELECT COUNT(_number) FROM table_16072430_1 WHERE share > 7.0
How many episodes have a share bigger than 7.0?
CREATE TABLE table_16072430_1 (_number VARCHAR, share INTEGER)
SELECT COUNT(song) FROM table_19763199_5 WHERE artist = "Solydo"
Name the number of song for solydo
CREATE TABLE table_19763199_5 (song VARCHAR, artist VARCHAR)
SELECT try_bonus FROM table_name_56 WHERE tries_for = "25"
What was the try bonus for the team with 25 tries for?
CREATE TABLE table_name_56 (try_bonus VARCHAR, tries_for VARCHAR)
SELECT position FROM table_name_41 WHERE year = 2011
What is the position that is shown for 2011?
CREATE TABLE table_name_41 (position VARCHAR, year VARCHAR)
SELECT AVG(loss) FROM table_name_12 WHERE avg_g = 0 AND long < 0
What is the average Loss, when Avg/g is 0, and when Long is less than 0?
CREATE TABLE table_name_12 (loss INTEGER, avg_g VARCHAR, long VARCHAR)
SELECT formula FROM table_name_64 WHERE driver = "john moore-brabazon"
Which formula had a driver of John Moore-Brabazon?
CREATE TABLE table_name_64 (formula VARCHAR, driver VARCHAR)
SELECT stops FROM table_2385460_1 WHERE stations = 36
Name the stops for stations 36
CREATE TABLE table_2385460_1 (stops VARCHAR, stations VARCHAR)
SELECT artist FROM table_name_41 WHERE year = "1953"
what artist won in 1953
CREATE TABLE table_name_41 (artist VARCHAR, year VARCHAR)
SELECT AVG(goals_against_average) FROM table_name_33 WHERE games_played > 78
What is the average goals against average for those playing more than 78 games?
CREATE TABLE table_name_33 (goals_against_average INTEGER, games_played INTEGER)
SELECT colors FROM table_15475116_1 WHERE school = "Middletown High school"
Middletown High School uses which colors
CREATE TABLE table_15475116_1 (colors VARCHAR, school VARCHAR)
SELECT opponent FROM table_name_2 WHERE record = "44-28"
Which opponent has a record of 44-28?
CREATE TABLE table_name_2 (opponent VARCHAR, record VARCHAR)
SELECT brigade FROM table_name_7 WHERE name = "al-bira"
What is the brigade when Al-Bira is the name?
CREATE TABLE table_name_7 (brigade VARCHAR, name VARCHAR)
SELECT title FROM table_23793770_2 WHERE total_viewers__in_millions_ = "10.47"
What was the name of the show that had 10.47 million total viewers?
CREATE TABLE table_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
SELECT time FROM table_name_3 WHERE country = "south korea"
What is the time for South Korea?
CREATE TABLE table_name_3 (time VARCHAR, country VARCHAR)
SELECT goals FROM table_12321870_32 WHERE matches = "17"
How many goals were scored by the player who played 17 matches?
CREATE TABLE table_12321870_32 (goals VARCHAR, matches VARCHAR)
SELECT result FROM table_name_86 WHERE game = "game 1"
Which Result has a Game of game 1?
CREATE TABLE table_name_86 (result VARCHAR, game VARCHAR)
SELECT MAX(production_code) FROM table_22580855_1
which is the biggest production code?
CREATE TABLE table_22580855_1 (production_code INTEGER)
SELECT district FROM table_1341663_6 WHERE incumbent = "Charles H. Wilson"
What district is Charles H. Wilson the incumbent of?
CREATE TABLE table_1341663_6 (district VARCHAR, incumbent VARCHAR)
SELECT MIN(wins) FROM table_name_30 WHERE points = "0" AND country = "germany" AND seasons = "1999"
What's the least amount of wins for Germany in the 1999 season having 0 points?
CREATE TABLE table_name_30 (wins INTEGER, seasons VARCHAR, points VARCHAR, country VARCHAR)
SELECT home_team AS score FROM table_name_23 WHERE home_team = "footscray"
What did Footscray score at the home game?
CREATE TABLE table_name_23 (home_team VARCHAR)
SELECT 2010 FROM table_name_40 WHERE 2011 = "a" AND 2006 = "a"
What is the 2010 result of a tournament that is A in 2006 and A in 2011?
CREATE TABLE table_name_40 (Id VARCHAR)
SELECT model FROM table_name_1 WHERE fleet_series__quantity_ = "11081-11092 (12)"
Which model has a Fleet Series (Quantity) of 11081-11092 (12)?
CREATE TABLE table_name_1 (model VARCHAR, fleet_series__quantity_ VARCHAR)
SELECT SUM(rate) FROM table_name_43 WHERE rank > 10
When rank is more than 10, what is the total rate?
CREATE TABLE table_name_43 (rate INTEGER, rank INTEGER)
SELECT record FROM table_name_73 WHERE loss = "johnson (5-6)"
What is the record for the game that has a loss of Johnson (5-6)?
CREATE TABLE table_name_73 (record VARCHAR, loss VARCHAR)
SELECT MIN(sack) FROM table_name_1 WHERE solo = 24 AND tackles > 25.5 AND yards > 0
What is the lowest Sack with a Solo of 24, with Tackles larger than 25.5, with Yards larger than 0?
CREATE TABLE table_name_1 (sack INTEGER, yards VARCHAR, solo VARCHAR, tackles VARCHAR)
SELECT school FROM table_21995420_6 WHERE stunts = "48"
What is every school with stunts of 48?
CREATE TABLE table_21995420_6 (school VARCHAR, stunts VARCHAR)
SELECT track FROM table_2454550_1 WHERE race_name = "Argent Mortgage Indy 300"
On what track is the Argent mortgage Indy 300 held?
CREATE TABLE table_2454550_1 (track VARCHAR, race_name VARCHAR)
SELECT first_elected FROM table_1342249_35 WHERE district = "Ohio 18"
What is the first electedfor district ohio 18
CREATE TABLE table_1342249_35 (first_elected VARCHAR, district VARCHAR)
SELECT player FROM table_name_58 WHERE mlb_team = "florida marlins" AND round < 15
What is Player, when MLB Team is "Florida Marlins", and when Round is less than 15?
CREATE TABLE table_name_58 (player VARCHAR, mlb_team VARCHAR, round VARCHAR)
SELECT buddhist FROM table_14598_5 WHERE s_jain = "941"
How many buddhists are where s jain have 941?
CREATE TABLE table_14598_5 (buddhist VARCHAR, s_jain VARCHAR)
SELECT route_via FROM table_29202276_2 WHERE destination = "Madurai"
What is the route/via when the destination is listed as Madurai?
CREATE TABLE table_29202276_2 (route_via VARCHAR, destination VARCHAR)
SELECT date FROM table_name_86 WHERE result = "lost" AND competition = "friendly" AND score = "1-2"
What date has lost as the result and a competition of friendly with 1-2 as the score?
CREATE TABLE table_name_86 (date VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)
SELECT surface FROM table_name_71 WHERE score = "7–6(4), 6–1"
Name the surface for score of 7–6(4), 6–1
CREATE TABLE table_name_71 (surface VARCHAR, score VARCHAR)
SELECT AVG(attendance) FROM table_name_23 WHERE date = "september 16"
What is the average number in attendance on September 16?
CREATE TABLE table_name_23 (attendance INTEGER, date VARCHAR)
SELECT political_affiliation FROM table_name_39 WHERE deputy = "john dallat"
What is the Political affiliation of deputy john dallat?
CREATE TABLE table_name_39 (political_affiliation VARCHAR, deputy VARCHAR)
SELECT grand_finalist FROM table_name_89 WHERE year > 1979 AND margin < 30 AND winners = "essendon"
What grand finalist had a year after 1979, a margin smaller than 30, and winners of essendon?
CREATE TABLE table_name_89 (grand_finalist VARCHAR, winners VARCHAR, year VARCHAR, margin VARCHAR)
SELECT stage FROM table_22713796_14 WHERE mountains_classification = "no award"
Name the stage for no award
CREATE TABLE table_22713796_14 (stage VARCHAR, mountains_classification VARCHAR)
SELECT termination FROM table_name_2 WHERE earpads = "comfort pads" AND us_msrp = "$150"
What was the termination type for the headphones with comfort pads and selling for $150?
CREATE TABLE table_name_2 (termination VARCHAR, earpads VARCHAR, us_msrp VARCHAR)
SELECT position FROM table_name_94 WHERE school = "dr. phillips high school"
What position is for Dr. Phillips high school?
CREATE TABLE table_name_94 (position VARCHAR, school VARCHAR)
SELECT college FROM table_26996293_1 WHERE player = "Bob LaRose"
What college did Bob Larose attend?
CREATE TABLE table_26996293_1 (college VARCHAR, player VARCHAR)
SELECT away_team AS score FROM table_name_55 WHERE home_team = "carlton"
What was the opponents score when Carlton played at home?
CREATE TABLE table_name_55 (away_team VARCHAR, home_team VARCHAR)
SELECT result FROM table_name_89 WHERE category = "best actress" AND year < 2005 AND award = "robert award"
What was the result of the film made before 2005, winner of the robert award, in the category of best actress?
CREATE TABLE table_name_89 (result VARCHAR, award VARCHAR, category VARCHAR, year VARCHAR)
SELECT MIN(laps) FROM table_name_4 WHERE year > 2002 AND co_drivers = "alexander frei bruno besson"
What is the lowest Laps that has a Year after 2002 with Alexander Frei Bruno Besson?
CREATE TABLE table_name_4 (laps INTEGER, year VARCHAR, co_drivers VARCHAR)
SELECT Winners AS group_legs_won FROM table_24334163_1 WHERE player = "Mark Dudbridge"
How many group legs were won with player Mark Dudbridge?
CREATE TABLE table_24334163_1 (Winners VARCHAR, player VARCHAR)
SELECT result FROM table_name_55 WHERE competition = "1990 world cup qualifying"
What was the result of the 1990 world cup qualifying competition?
CREATE TABLE table_name_55 (result VARCHAR, competition VARCHAR)
SELECT MIN(year_to) FROM table_name_14 WHERE engine = 119.972 AND chassis < 129.067
Which Year To has an Engine of 119.972, and a Chassis smaller than 129.067?
CREATE TABLE table_name_14 (year_to INTEGER, engine VARCHAR, chassis VARCHAR)
SELECT branding FROM table_10333757_1 WHERE group_owner = "Qantam of Cape Cod, LLC"
What is the Branding for Group Owner Qantam of Cape Cod, LLC?
CREATE TABLE table_10333757_1 (branding VARCHAR, group_owner VARCHAR)
SELECT density__hab_km²_ FROM table_name_5 WHERE elevation_msl = "3,400 msl"
What is the density of the city with an elevation of 3,400 msl?
CREATE TABLE table_name_5 (density__hab_km²_ VARCHAR, elevation_msl VARCHAR)
SELECT score FROM table_name_58 WHERE club = "fk austria wien"
What's the final score of the competition that features the club of fk Austria wien?
CREATE TABLE table_name_58 (score VARCHAR, club VARCHAR)
SELECT AVG(points) FROM table_name_31 WHERE played > 20
What points average has a played greater than 20?
CREATE TABLE table_name_31 (points INTEGER, played INTEGER)
SELECT high_points FROM table_27733909_5 WHERE game = 11
Who had the most points and how many did they have in game 11?
CREATE TABLE table_27733909_5 (high_points VARCHAR, game VARCHAR)
SELECT result FROM table_name_11 WHERE club = "club universidad de guadalajara"
What was the Result for the club universidad de guadalajara?
CREATE TABLE table_name_11 (result VARCHAR, club VARCHAR)
SELECT entered_service FROM table_name_76 WHERE gauge = "broad" AND serial_no = "83-1018"
What is the date of entered service for the locomotive with a broad gauge and a serial no of 83-1018?
CREATE TABLE table_name_76 (entered_service VARCHAR, gauge VARCHAR, serial_no VARCHAR)
SELECT poles FROM table_15327489_1 WHERE year = 2011
Name the poles for 2011
CREATE TABLE table_15327489_1 (poles VARCHAR, year VARCHAR)
SELECT method FROM table_name_41 WHERE event = "hardcore championship fighting: destiny"
What method of resolution was the fight that took place at hardcore championship fighting: destiny?
CREATE TABLE table_name_41 (method VARCHAR, event VARCHAR)
SELECT player FROM table_name_90 WHERE place = "t9" AND score = 73 - 70 = 143
What is Player, when Place is "T9", and when Score is "73-70=143"?
CREATE TABLE table_name_90 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT home FROM table_name_77 WHERE venue = "stadion pod vrmcem"
Who was the home team for the match at Stadion pod Vrmcem?
CREATE TABLE table_name_77 (home VARCHAR, venue VARCHAR)
SELECT event FROM table_name_87 WHERE year = 2007 AND position = "5th"
Which event in 2007 had a position of 5th?
CREATE TABLE table_name_87 (event VARCHAR, year VARCHAR, position VARCHAR)
SELECT title FROM albums WHERE title LIKE 'A%' ORDER BY title
List every album whose title starts with A in alphabetical order.
CREATE TABLE albums (title VARCHAR)
SELECT record FROM table_21197135_1 WHERE opponent = "@ Utah"
What was the team record when the team played @ Utah?
CREATE TABLE table_21197135_1 (record VARCHAR, opponent VARCHAR)
SELECT report FROM table_1140117_5 WHERE race_name = "V Ulster Trophy"
What is the report for the race name V Ulster Trophy?
CREATE TABLE table_1140117_5 (report VARCHAR, race_name VARCHAR)
SELECT venue FROM table_name_29 WHERE away_team = "carlton"
What Venue had Carlton has the Away team?
CREATE TABLE table_name_29 (venue VARCHAR, away_team VARCHAR)
SELECT SUM(electors) FROM table_name_70 WHERE share_of_votes = "11,0%"
What is the total of electors when the share of votes was 11,0%?
CREATE TABLE table_name_70 (electors INTEGER, share_of_votes VARCHAR)
SELECT SUM(lane) FROM table_name_82 WHERE reaction_time < 0.218 AND time > 44.74 AND nationality = "great britain"
What is the Lane of the Athlete from Great Britain with a Reaction time of less than 0.218 and a Time larger than 44.74?
CREATE TABLE table_name_82 (lane INTEGER, nationality VARCHAR, reaction_time VARCHAR, time VARCHAR)
SELECT season FROM table_20398823_1 WHERE wins = 0 AND races = 20
Namet he season for wins being 0 and 20 races
CREATE TABLE table_20398823_1 (season VARCHAR, wins VARCHAR, races VARCHAR)
SELECT record FROM table_name_77 WHERE home = "pittsburgh" AND points = 35
What is the record of the game with 35 points and pittsburgh as the home team?
CREATE TABLE table_name_77 (record VARCHAR, home VARCHAR, points VARCHAR)
SELECT original_airdate FROM table_2342078_6 WHERE written_by = "Howard Ostroff"
Name the airdate for the episode written by howard ostroff
CREATE TABLE table_2342078_6 (original_airdate VARCHAR, written_by VARCHAR)
SELECT loss FROM table_name_52 WHERE date = "may 20"
Who took the loss on May 20?
CREATE TABLE table_name_52 (loss VARCHAR, date VARCHAR)
SELECT model FROM table_name_27 WHERE years = "2011 2012-"
What is the model that was made in the years 2011 2012-?
CREATE TABLE table_name_27 (model VARCHAR, years VARCHAR)
SELECT preschool__0_5_years_ FROM table_25042332_22 WHERE primary__6_13_years_ = "93.10"
What is the enrollment ratio in preschool in the region where the enrollment ratio in primary is 93.10?
CREATE TABLE table_25042332_22 (preschool__0_5_years_ VARCHAR, primary__6_13_years_ VARCHAR)
SELECT SUM(bronze) FROM table_name_27 WHERE total = 3 AND gold > 0 AND nation = "belarus" AND silver > 2
Total of 3, and a Gold larger than 0, and a Nation of belarus, and a Silver larger than 2 has what sum of bronze?
CREATE TABLE table_name_27 (bronze INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR)
SELECT SUM(points) FROM table_name_67 WHERE wins > 0 AND position = "12th" AND poles > 0
What is the total number of Points with Wins larger than 0, a Position of 12th, and Poles larger than 0?
CREATE TABLE table_name_67 (points INTEGER, poles VARCHAR, wins VARCHAR, position VARCHAR)
SELECT district FROM table_name_90 WHERE party = "republican" AND results = "re-elected" AND first_elected = 2000
What Republican District had Incumbent First Elected in 2000 then Re-elected?
CREATE TABLE table_name_90 (district VARCHAR, first_elected VARCHAR, party VARCHAR, results VARCHAR)
SELECT traditional FROM table_name_27 WHERE pinyin = "hédōng qū"
What is the Traditional when the Pinyin is hédōng qū?
CREATE TABLE table_name_27 (traditional VARCHAR, pinyin VARCHAR)
SELECT mens_singles FROM table_14903881_1 WHERE mens_doubles = "George Georgoudis Gerostergiou"
Name the mens singles when mens doubles is george georgoudis gerostergiou
CREATE TABLE table_14903881_1 (mens_singles VARCHAR, mens_doubles VARCHAR)
SELECT COUNT(kickoff) FROM table_26275503_2 WHERE opponent = "at Rhein Fire"
How many different kickoffs happened when the oppenent was at Rhein Fire?
CREATE TABLE table_26275503_2 (kickoff VARCHAR, opponent VARCHAR)
SELECT frequency FROM table_24018112_1 WHERE model__list_ = "L34xx"
What frequency does model L34xx use?
CREATE TABLE table_24018112_1 (frequency VARCHAR, model__list_ VARCHAR)
SELECT home_team AS score FROM table_name_98 WHERE ground = "telstra dome"
What is the home team score for the team that has a home field of the Telstra Dome?
CREATE TABLE table_name_98 (home_team VARCHAR, ground VARCHAR)
SELECT dvd_release FROM table_19982699_1 WHERE director = "Billy O'Brien"
When was the dvd release directed by Billy O'Brien?
CREATE TABLE table_19982699_1 (dvd_release VARCHAR, director VARCHAR)
SELECT date FROM table_name_79 WHERE record = "21-25"
On what date was the record 21-25?
CREATE TABLE table_name_79 (date VARCHAR, record VARCHAR)
SELECT result_f___a FROM table_name_95 WHERE date = "6 march 1993"
What is the result F-A of the game on 6 march 1993?
CREATE TABLE table_name_95 (result_f___a VARCHAR, date VARCHAR)
SELECT MIN(week) FROM table_name_93 WHERE date = "october 5, 2003"
What is the Week number on October 5, 2003?
CREATE TABLE table_name_93 (week INTEGER, date VARCHAR)