answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT location FROM table_name_96 WHERE classification = "t12" | CREATE TABLE table_name_96 (location VARCHAR, classification VARCHAR) | What is the location of Classification of T12? |
SELECT fastest_time__s_ FROM table_name_40 WHERE athlete = "jason smyth" | CREATE TABLE table_name_40 (fastest_time__s_ VARCHAR, athlete VARCHAR) | What is the fastest time for athlete Jason Smyth? |
SELECT final FROM table_name_34 WHERE no2 = "alzira ricardo b." | CREATE TABLE table_name_34 (final VARCHAR, no2 VARCHAR) | What was the final of play No. 2, Alzira Ricardo B.? |
SELECT no10 FROM table_name_10 WHERE no8 = "diana" | CREATE TABLE table_name_10 (no10 VARCHAR, no8 VARCHAR) | What was the No. 10 team that has No. 8 of Diana? |
SELECT COUNT(year) FROM table_name_2 WHERE chassis = "ensign n175" | CREATE TABLE table_name_2 (year VARCHAR, chassis VARCHAR) | Name the total number of years for chassis of ensign n175 |
SELECT MIN(attendance) FROM table_name_52 WHERE record = "52-48" | CREATE TABLE table_name_52 (attendance INTEGER, record VARCHAR) | What was the Blue Jays lowest attendance when their record was 52-48? |
SELECT result FROM table_name_73 WHERE home_away = "home" AND opponent = "pride" | CREATE TABLE table_name_73 (result VARCHAR, home_away VARCHAR, opponent VARCHAR) | What is the result when you play at home against Pride |
SELECT result FROM table_name_10 WHERE field = "frontier field" | CREATE TABLE table_name_10 (result VARCHAR, field VARCHAR) | What is the result of games played at frontier field |
SELECT date FROM table_name_20 WHERE field = "hofstra stadium" | CREATE TABLE table_name_20 (date VARCHAR, field VARCHAR) | What days were games played at Hofstra Stadium? |
SELECT field FROM table_name_99 WHERE home_away = "away" AND opponent = "bayhawks" | CREATE TABLE table_name_99 (field VARCHAR, home_away VARCHAR, opponent VARCHAR) | What Field was played at in an away game against the bayhawks? |
SELECT score FROM table_name_59 WHERE date = "february 18" | CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR) | What is the score of the game played on February 18? |
SELECT home FROM table_name_91 WHERE visitor = "boston bruins" AND date = "january 11" | CREATE TABLE table_name_91 (home VARCHAR, visitor VARCHAR, date VARCHAR) | Who was the home team that played against the Boston Bruins on January 11? |
SELECT SUM(year_born) FROM table_name_14 WHERE current_club = "olimpija ljubljana" AND height < 2.04 | CREATE TABLE table_name_14 (year_born INTEGER, current_club VARCHAR, height VARCHAR) | Name the sum of year for olimpija ljubljana with height less than 2.04 |
SELECT position FROM table_name_10 WHERE height = 2.09 | CREATE TABLE table_name_10 (position VARCHAR, height VARCHAR) | Name the position with height of 2.09 |
SELECT COUNT(attendance) FROM table_name_64 WHERE record = "26-35" | CREATE TABLE table_name_64 (attendance VARCHAR, record VARCHAR) | What was the attendance at the ballpark during the game where the Blue Jays had a record of 26-35 during the 1996 season? |
SELECT nominated_work FROM table_name_94 WHERE award = "tony award" AND year = 2009 | CREATE TABLE table_name_94 (nominated_work VARCHAR, award VARCHAR, year VARCHAR) | What nominated work received a tony award in 2009? |
SELECT result FROM table_name_38 WHERE year = 2012 | CREATE TABLE table_name_38 (result VARCHAR, year VARCHAR) | What result in the table is from the year 2012? |
SELECT 2011 FROM table_name_59 WHERE 2010 = "2r" | CREATE TABLE table_name_59 (Id VARCHAR) | Name the 2011 with 2010 of 2r |
SELECT 2012 FROM table_name_97 WHERE 2011 = "qf" | CREATE TABLE table_name_97 (Id VARCHAR) | Name the 2012 when 2011 is qf |
SELECT 2012 FROM table_name_5 WHERE 2011 = "1r" | CREATE TABLE table_name_5 (Id VARCHAR) | Name the 2012 for 2011 being 1r |
SELECT 2012 FROM table_name_58 WHERE 2011 = "qf" | CREATE TABLE table_name_58 (Id VARCHAR) | Name the 2012 for 2011 being qf |
SELECT 2008 FROM table_name_37 WHERE 2012 = "f" | CREATE TABLE table_name_37 (Id VARCHAR) | Name the 2008 for 2012 f |
SELECT location FROM table_name_47 WHERE date = "february 29, 2012" | CREATE TABLE table_name_47 (location VARCHAR, date VARCHAR) | What is the location of the match on February 29, 2012? |
SELECT score FROM table_name_44 WHERE date = "november 15, 2011" | CREATE TABLE table_name_44 (score VARCHAR, date VARCHAR) | What is the score of the match on November 15, 2011? |
SELECT COUNT(race) FROM table_name_48 WHERE circuit = "mallala motor sport park" | CREATE TABLE table_name_48 (race VARCHAR, circuit VARCHAR) | How many races were in the Mallala Motor Sport Park circuit? |
SELECT MIN(race) FROM table_name_52 WHERE location___state = "launceston, tasmania" | CREATE TABLE table_name_52 (race INTEGER, location___state VARCHAR) | What was the first race in Launceston, Tasmania? |
SELECT 2 AS nd_leg FROM table_name_90 WHERE team_1 = "hamburg" | CREATE TABLE table_name_90 (team_1 VARCHAR) | Name the 2nd leg for team 1 of hamburg |
SELECT role FROM table_name_62 WHERE studio = "mono" AND title = "paradise canyon" | CREATE TABLE table_name_62 (role VARCHAR, studio VARCHAR, title VARCHAR) | Name the role for mono studio and title of paradise canyon |
SELECT title FROM table_name_89 WHERE leading_lady = "marion burns" AND role = "john mason" | CREATE TABLE table_name_89 (title VARCHAR, leading_lady VARCHAR, role VARCHAR) | Name the title for marion burns leading lady and role of john mason |
SELECT role FROM table_name_11 WHERE studio = "rep" AND leading_lady = "sheila mannors" AND title = "westward ho" | CREATE TABLE table_name_11 (role VARCHAR, title VARCHAR, studio VARCHAR, leading_lady VARCHAR) | Name the role for studio of rep with sheila mannors leading lady and title of westward ho |
SELECT studio FROM table_name_74 WHERE role = "john scott" | CREATE TABLE table_name_74 (studio VARCHAR, role VARCHAR) | Name the studio for john scott |
SELECT SUM(total__000s_) FROM table_name_20 WHERE year = "1996" | CREATE TABLE table_name_20 (total__000s_ INTEGER, year VARCHAR) | What is the amount of 000s from 1996? |
SELECT total__000s_ FROM table_name_35 WHERE germany = 16.6 | CREATE TABLE table_name_35 (total__000s_ VARCHAR, germany VARCHAR) | What was the amount of 000s when Germany had 16.6? |
SELECT AVG(concacaf) FROM table_name_59 WHERE merconorte > 0 AND player = "jared borgetti" AND superliga > 0 | CREATE TABLE table_name_59 (concacaf INTEGER, superliga VARCHAR, merconorte VARCHAR, player VARCHAR) | Name the average concacaf for merconorte larger than 0 and player of jared borgetti |
SELECT MIN(merconorte) FROM table_name_92 WHERE interliga = 2 AND matches > 260 AND superliga > 7 | CREATE TABLE table_name_92 (merconorte INTEGER, superliga VARCHAR, interliga VARCHAR, matches VARCHAR) | Name the least merconorte for interliga of 2 and matches more than 260 with superliga more than 7 |
SELECT outcome FROM table_name_84 WHERE score_in_final = "5β7, 6β4, [10β7]" | CREATE TABLE table_name_84 (outcome VARCHAR, score_in_final VARCHAR) | What was the outcome for the match that ended in a score of 5β7, 6β4, [10β7]? |
SELECT surface FROM table_name_1 WHERE score_in_final = "5β7, 6β4, [10β7]" | CREATE TABLE table_name_1 (surface VARCHAR, score_in_final VARCHAR) | What was the surface of the match that ended in a score of 5β7, 6β4, [10β7]? |
SELECT opponents_in_final FROM table_name_72 WHERE score_in_final = "w/o" | CREATE TABLE table_name_72 (opponents_in_final VARCHAR, score_in_final VARCHAR) | Who were the opponents in the match or matches that ended in a score of W/O? |
SELECT chassis FROM table_name_93 WHERE engine = "maserati straight-6" AND points > 0 AND year = 1955 | CREATE TABLE table_name_93 (chassis VARCHAR, year VARCHAR, engine VARCHAR, points VARCHAR) | What kind of Chassis supports a Maserati Straight-6 engine with Points greater than 0 and built in the year 1955? |
SELECT chassis FROM table_name_82 WHERE entrant = "equipe gordini" | CREATE TABLE table_name_82 (chassis VARCHAR, entrant VARCHAR) | What kind of Chassis supports an Equipe Gordini Entrant? |
SELECT entrant FROM table_name_95 WHERE engine = "maserati straight-6" AND year < 1958 AND chassis = "maserati 250f" AND points < 4 | CREATE TABLE table_name_95 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, engine VARCHAR, year VARCHAR) | What kind of Entrant has a Maserati Straight-6 Engine, built in the year 1958 or early, and has a Maserati 250f Chassis with points less than 4? |
SELECT AVG(year) FROM table_name_86 WHERE engine = "maserati straight-4" | CREATE TABLE table_name_86 (year INTEGER, engine VARCHAR) | What is the average year for Maserati Straight-4 Engines? |
SELECT SUM(erp_w) FROM table_name_56 WHERE class = "d" AND frequency_mhz = 98.7 | CREATE TABLE table_name_56 (erp_w INTEGER, class VARCHAR, frequency_mhz VARCHAR) | Name the sum of ERP W for class of d and frequency mhz of 98.7 |
SELECT erp_w FROM table_name_19 WHERE frequency_mhz > 93.3 AND city_of_license = "washington, georgia" | CREATE TABLE table_name_19 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) | Name the ERP W with a frequency mhz more than 93.3 and city license of washington, georgia |
SELECT record FROM table_name_41 WHERE res = "loss" AND event = "hero's 3" | CREATE TABLE table_name_41 (record VARCHAR, res VARCHAR, event VARCHAR) | Which record has a result of loss in the Hero's 3 event? |
SELECT event FROM table_name_98 WHERE record = "4-0" | CREATE TABLE table_name_98 (event VARCHAR, record VARCHAR) | Which event led to a 4-0 record? |
SELECT location FROM table_name_73 WHERE record = "10-3" | CREATE TABLE table_name_73 (location VARCHAR, record VARCHAR) | Which location led to a 10-3 record? |
SELECT record FROM table_name_90 WHERE opponent = "masahiro oishi" | CREATE TABLE table_name_90 (record VARCHAR, opponent VARCHAR) | In the match against Masahiro Oishi, what was the record? |
SELECT MIN(points) FROM table_name_38 WHERE drawn < 2 AND played > 8 | CREATE TABLE table_name_38 (points INTEGER, drawn VARCHAR, played VARCHAR) | What is the fewest number of points for clubs with less than 2 draws and more than 8 matches played? |
SELECT MIN(drawn) FROM table_name_86 WHERE points = 2 AND lost < 6 | CREATE TABLE table_name_86 (drawn INTEGER, points VARCHAR, lost VARCHAR) | What is the fewest drawn matches for teams with 2 points and fewer than 6 losses? |
SELECT MAX(lost) FROM table_name_15 WHERE team = "quetta zorawar" | CREATE TABLE table_name_15 (lost INTEGER, team VARCHAR) | What is the most number of losses for Quetta Zorawar? |
SELECT SUM(drawn) FROM table_name_45 WHERE lost = 2 | CREATE TABLE table_name_45 (drawn INTEGER, lost VARCHAR) | What is the sum of the drawn values for teams with 2 losses? |
SELECT round FROM table_name_24 WHERE margin = "178" | CREATE TABLE table_name_24 (round VARCHAR, margin VARCHAR) | which round has a margin of 178? |
SELECT AVG(total) FROM table_name_38 WHERE gold < 1 AND rank < 5 | CREATE TABLE table_name_38 (total INTEGER, gold VARCHAR, rank VARCHAR) | Name the average total for gold less than 1 and rank less than 5 |
SELECT SUM(silver) FROM table_name_92 WHERE total > 1 AND bronze = 1 AND gold < 0 | CREATE TABLE table_name_92 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR) | Name the sum of silver when total is mor ethan 1, bronze is 1 and gold is les than 0 |
SELECT MAX(gold) FROM table_name_70 WHERE bronze > 0 AND rank > 5 AND total > 2 | CREATE TABLE table_name_70 (gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR) | Name the most gold when bronze is more than 0 and rank is more than 5 with total more than 2 |
SELECT AVG(bronze) FROM table_name_27 WHERE silver > 0 AND total = 6 AND gold > 0 | CREATE TABLE table_name_27 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR) | Name the average bronze with silver more than 0, total of 6 and gold more than 0 |
SELECT SUM(total) FROM table_name_10 WHERE gold > 1 AND bronze > 0 | CREATE TABLE table_name_10 (total INTEGER, gold VARCHAR, bronze VARCHAR) | Name the sum of total with gold more than 1 and bronze more than 0 |
SELECT country FROM table_name_30 WHERE director_s_ = "jonas geirnaert" | CREATE TABLE table_name_30 (country VARCHAR, director_s_ VARCHAR) | What country did Jonas Geirnaert direct a film in? |
SELECT nominating_festival FROM table_name_35 WHERE country = "germany" | CREATE TABLE table_name_35 (nominating_festival VARCHAR, country VARCHAR) | What Nominating Festival took place in Germany? |
SELECT category FROM table_name_30 WHERE country = "switzerland" | CREATE TABLE table_name_30 (category VARCHAR, country VARCHAR) | What is the category of the film made in Switzerland? |
SELECT film FROM table_name_80 WHERE director_s_ = "sandro aguilar" | CREATE TABLE table_name_80 (film VARCHAR, director_s_ VARCHAR) | What film was directed by Sandro Aguilar? |
SELECT language FROM table_name_69 WHERE number = "14" | CREATE TABLE table_name_69 (language VARCHAR, number VARCHAR) | Name the language that has number of 14 |
SELECT number FROM table_name_73 WHERE language = "other" | CREATE TABLE table_name_73 (number VARCHAR, language VARCHAR) | Name the number which has language of other |
SELECT AVG(goals_for) FROM table_name_77 WHERE losses = 19 AND goals_against > 59 | CREATE TABLE table_name_77 (goals_for INTEGER, losses VARCHAR, goals_against VARCHAR) | Tell me the average goals for losses of 19 and goals against more than 59 |
SELECT AVG(position) FROM table_name_4 WHERE goals_against > 42 AND goals_for = 44 AND draws < 16 | CREATE TABLE table_name_4 (position INTEGER, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR) | Name the average position when the goals against are more than 42 and draws less than 16 with goals of 44 |
SELECT regular_season FROM table_name_50 WHERE year = 2013 | CREATE TABLE table_name_50 (regular_season VARCHAR, year VARCHAR) | Which regular season was 2013 in? |
SELECT COUNT(year) FROM table_name_15 WHERE playoffs = "conference semifinals" | CREATE TABLE table_name_15 (year VARCHAR, playoffs VARCHAR) | What year did the team make conference semifinals? |
SELECT MIN(area__kmΒ²_) FROM table_name_21 WHERE country = "russia" AND rank = 23 AND population > 522 OFFSET 800 | CREATE TABLE table_name_21 (area__kmΒ²_ INTEGER, population VARCHAR, country VARCHAR, rank VARCHAR) | What's the smallest area in Russia that is ranked 23 with a population more than 522,800? |
SELECT record FROM table_name_32 WHERE date = "june 8" | CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR) | On the date of June 8 what was the record? |
SELECT score FROM table_name_32 WHERE date = "june 15" | CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR) | On the date of June 15 what was the score? |
SELECT college_junior_club_team FROM table_name_12 WHERE nhl_team = "toronto maple leafs" AND nationality = "united states" | CREATE TABLE table_name_12 (college_junior_club_team VARCHAR, nhl_team VARCHAR, nationality VARCHAR) | What College/junior/club had a player of United States nationality drafted by the Toronto Maple Leafs? |
SELECT college_junior_club_team FROM table_name_43 WHERE nhl_team = "new york rangers" AND position = "defence" | CREATE TABLE table_name_43 (college_junior_club_team VARCHAR, nhl_team VARCHAR, position VARCHAR) | What is the college/junior/club team of the defence player drafted by the New York Rangers? |
SELECT rank FROM table_name_78 WHERE chassis = "cadillac northstar lmp02" | CREATE TABLE table_name_78 (rank VARCHAR, chassis VARCHAR) | What is the rank of the cadillac northstar lmp02 chassis? |
SELECT entrant FROM table_name_1 WHERE engine = "audi 3.6l turbo v8" AND rank = "3rd" AND points = 163 | CREATE TABLE table_name_1 (entrant VARCHAR, points VARCHAR, engine VARCHAR, rank VARCHAR) | What is the entrant for the audi 3.6l turbo v8 engine and ranked 3rd with 163 points? |
SELECT rank FROM table_name_75 WHERE points > 123 AND chassis = "audi r8" AND class = "lmp900" | CREATE TABLE table_name_75 (rank VARCHAR, class VARCHAR, points VARCHAR, chassis VARCHAR) | What is the rank with more than 123 points, an audi r8 chassis, and a lmp900 class? |
SELECT engine FROM table_name_57 WHERE year < 2004 AND entrant = "bmw motorsport" AND points = 123 | CREATE TABLE table_name_57 (engine VARCHAR, points VARCHAR, year VARCHAR, entrant VARCHAR) | What is the engine for the bmw motorsport entrant with 123 points before 2004? |
SELECT points FROM table_name_97 WHERE combined_elapsed_time = "175d 20h 46m 04s" | CREATE TABLE table_name_97 (points VARCHAR, combined_elapsed_time VARCHAR) | Which points have a Combined elapsed time of 175d 20h 46m 04s? |
SELECT yacht_name FROM table_name_50 WHERE combined_elapsed_time = "179d 11h 58m 14s" | CREATE TABLE table_name_50 (yacht_name VARCHAR, combined_elapsed_time VARCHAR) | Which yacht name has a Combined elapsed time of 179d 11h 58m 14s? |
SELECT skipper FROM table_name_90 WHERE points = "78" | CREATE TABLE table_name_90 (skipper VARCHAR, points VARCHAR) | Which skipper has 78 points? |
SELECT overall_place FROM table_name_57 WHERE yacht_name = "lg flatron" | CREATE TABLE table_name_57 (overall_place VARCHAR, yacht_name VARCHAR) | Which Overall place has a Yacht name of lg flatron? |
SELECT combined_elapsed_time FROM table_name_17 WHERE skipper = "stephen wilkins" | CREATE TABLE table_name_17 (combined_elapsed_time VARCHAR, skipper VARCHAR) | Which Combined elapsed time has a Skipper of stephen wilkins? |
SELECT MIN(points) FROM table_name_84 WHERE entrant = "coloni spa" AND year < 1988 | CREATE TABLE table_name_84 (points INTEGER, entrant VARCHAR, year VARCHAR) | Before the year 1988, what is the lowest number of points that entrant Coloni SpA scored? |
SELECT chassis FROM table_name_65 WHERE points = 0 AND entrant = "automobiles gonfaronnaises sportives" | CREATE TABLE table_name_65 (chassis VARCHAR, points VARCHAR, entrant VARCHAR) | Which chassis used by the entrant Automobiles Gonfaronnaises Sportives scored 0 points? |
SELECT entrant FROM table_name_41 WHERE year < 1988 | CREATE TABLE table_name_41 (entrant VARCHAR, year INTEGER) | Who was the entrant before 1988? |
SELECT engine FROM table_name_89 WHERE year = 1987 | CREATE TABLE table_name_89 (engine VARCHAR, year VARCHAR) | Which engine was used in 1987? |
SELECT league FROM table_name_39 WHERE year = 2001 | CREATE TABLE table_name_39 (league VARCHAR, year VARCHAR) | What league did they play in 2001? |
SELECT open_cup FROM table_name_21 WHERE reg_season = "2nd, northeast" | CREATE TABLE table_name_21 (open_cup VARCHAR, reg_season VARCHAR) | What open cup did they play in when they finished 2nd, northeast in the reg. season? |
SELECT COUNT(week) FROM table_name_27 WHERE date = "october 9, 1983" AND attendance < 40 OFFSET 492 | CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR, attendance VARCHAR) | What is the week with a date of October 9, 1983, and attendance smaller than 40,492? |
SELECT MIN(attendance) FROM table_name_30 WHERE week = 14 | CREATE TABLE table_name_30 (attendance INTEGER, week VARCHAR) | What is the lowest attendance with week 14? |
SELECT game_site FROM table_name_90 WHERE week = 12 | CREATE TABLE table_name_90 (game_site VARCHAR, week VARCHAR) | Where did the Oakland Raiders play in week 12 of their 1976 season? |
SELECT SUM(year) FROM table_name_43 WHERE entrant = "barclay nordica arrows bmw" AND engine = "cosworth v8" | CREATE TABLE table_name_43 (year INTEGER, entrant VARCHAR, engine VARCHAR) | How many years did Barclay Nordica Arrows BMW enter with Cosworth v8 engine? |
SELECT SUM(year) FROM table_name_98 WHERE engine = "bmw str-4 t/c" AND entrant = "barclay nordica arrows bmw" AND points < 1 | CREATE TABLE table_name_98 (year INTEGER, points VARCHAR, engine VARCHAR, entrant VARCHAR) | How many years did barclay nordica arrows bmw enter with a bmw str-4 t/c engine with less than 1 point? |
SELECT SUM(year) FROM table_name_12 WHERE points = 4 AND chassis = "ensign n180b" | CREATE TABLE table_name_12 (year INTEGER, points VARCHAR, chassis VARCHAR) | How many years was ensign n180b a Chassis with 4 points? |
SELECT division_record FROM table_name_26 WHERE team = "indians" | CREATE TABLE table_name_26 (division_record VARCHAR, team VARCHAR) | What is the division record for the Indians? |
SELECT overall_record FROM table_name_17 WHERE school = "indian river" | CREATE TABLE table_name_17 (overall_record VARCHAR, school VARCHAR) | What is the overall record of Indian River? |
SELECT season_outcome FROM table_name_43 WHERE school = "lake forest" | CREATE TABLE table_name_43 (season_outcome VARCHAR, school VARCHAR) | What was the season outcome of Lake Forest? |
SELECT COUNT(decile) FROM table_name_51 WHERE gender = "coed" | CREATE TABLE table_name_51 (decile VARCHAR, gender VARCHAR) | How many Deciles are coed? |
SELECT MIN(decile) FROM table_name_94 WHERE gender = "coed" | CREATE TABLE table_name_94 (decile INTEGER, gender VARCHAR) | Which is the lowest Decile that is coed? |
SELECT years FROM table_name_98 WHERE name = "kawerau putauaki school" | CREATE TABLE table_name_98 (years VARCHAR, name VARCHAR) | What are the years for Kawerau Putauaki School? |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.