context
stringlengths 27
484
| question
stringlengths 12
244
| answer
stringlengths 32
484
|
---|---|---|
CREATE TABLE table_name_63 (tie_no VARCHAR, away_team VARCHAR) | Which Tie number had Middlesbrough as the away team? | SELECT tie_no FROM table_name_63 WHERE away_team = "middlesbrough" |
CREATE TABLE table_name_75 (games INTEGER, team VARCHAR, rebounds VARCHAR) | What's the mean game number for the olympiacos team when there's less than 17 rebounds? | SELECT AVG(games) FROM table_name_75 WHERE team = "olympiacos" AND rebounds < 17 |
CREATE TABLE table_name_74 (employed VARCHAR, position_held VARCHAR) | What are the years employed shown for mathematics & prefect master? | SELECT employed FROM table_name_74 WHERE position_held = "mathematics & prefect master" |
CREATE TABLE table_name_64 (location_of_the_church VARCHAR, sub_parish__sokn_ VARCHAR) | Where is the Church that has a Sub-Parish (Sokn) of rugsund? | SELECT location_of_the_church FROM table_name_64 WHERE sub_parish__sokn_ = "rugsund" |
CREATE TABLE table_name_86 (lane VARCHAR, nationality VARCHAR) | what lane was new zealand in? | SELECT lane FROM table_name_86 WHERE nationality = "new zealand" |
CREATE TABLE table_name_62 (partner VARCHAR, tournament_name VARCHAR) | Who was the Partner in the United Airlines Tournament (1)? | SELECT partner FROM table_name_62 WHERE tournament_name = "united airlines tournament (1)" |
CREATE TABLE table_255885_1 (no_of_s_barangay VARCHAR, municipality VARCHAR) | What is the number of S Barangay for Paracale? | SELECT no_of_s_barangay FROM table_255885_1 WHERE municipality = "Paracale" |
CREATE TABLE table_21094951_1 (black_knights_points INTEGER, result VARCHAR) | Name the black knights points for loss result | SELECT MAX(black_knights_points) FROM table_21094951_1 WHERE result = "Loss" |
CREATE TABLE table_name_83 (aircraft VARCHAR, retired VARCHAR, introduced VARCHAR) | What aircraft was introduced in 2004 and has a retired of —? | SELECT aircraft FROM table_name_83 WHERE retired = "—" AND introduced = 2004 |
CREATE TABLE table_name_11 (team_1 VARCHAR, season VARCHAR, score VARCHAR) | What is the name of team 1 that was after the 2005 season and with a 4-2 score? | SELECT team_1 FROM table_name_11 WHERE season > 2005 AND score = "4-2" |
CREATE TABLE table_name_39 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) | What is the Reserved For of Lahar? | SELECT reserved_for___sc___st__none_ FROM table_name_39 WHERE name = "lahar" |
CREATE TABLE table_189598_7 (name VARCHAR, land_area__km²_ VARCHAR) | When 14.85 kilometers squared is the land area what is the name? | SELECT name FROM table_189598_7 WHERE land_area__km²_ = "14.85" |
CREATE TABLE table_177766_1 (percentage VARCHAR, abbreviation VARCHAR) | What is the percentage of this constellation abbreviated as 'nor'? | SELECT percentage FROM table_177766_1 WHERE abbreviation = "Nor" |
CREATE TABLE table_name_98 (bullet_weight VARCHAR, max_pressure VARCHAR) | What is the bullet weight with a 12,000 cup max pressure? | SELECT bullet_weight FROM table_name_98 WHERE max_pressure = "12,000 cup" |
CREATE TABLE table_name_38 (score VARCHAR, home VARCHAR, date VARCHAR) | What is the Score of the Chicago Black Hawks Home game on March 28? | SELECT score FROM table_name_38 WHERE home = "chicago black hawks" AND date = "march 28" |
CREATE TABLE table_name_9 (class VARCHAR, weight VARCHAR) | What is the class of the player with a weight of 242 pounds? | SELECT class FROM table_name_9 WHERE weight = 242 |
CREATE TABLE table_name_32 (res VARCHAR, round VARCHAR, opponent VARCHAR) | What is the result with a Round of 3, and an Opponent of keith wisniewski? | SELECT res FROM table_name_32 WHERE round = "3" AND opponent = "keith wisniewski" |
CREATE TABLE table_name_42 (season VARCHAR, skip VARCHAR, third VARCHAR) | What is the season with a Skip of Eve Muirhead and a third of Kerry Barr? | SELECT season FROM table_name_42 WHERE skip = "eve muirhead" AND third = "kerry barr" |
CREATE TABLE table_name_73 (series VARCHAR, podiums INTEGER) | What series had more than 10 Podiums? | SELECT series FROM table_name_73 WHERE podiums > 10 |
CREATE TABLE table_name_9 (year INTEGER, name VARCHAR) | What year was the 190 South Lasalle Street? | SELECT MAX(year) FROM table_name_9 WHERE name = "190 south lasalle street" |
CREATE TABLE table_name_28 (date VARCHAR, serial VARCHAR) | Which date has serial of 11c? | SELECT date FROM table_name_28 WHERE serial = "11c" |
CREATE TABLE table_19589113_5 (districts_of_bihar VARCHAR, sex_ratio_‡_1991 VARCHAR) | What districts of Bihar have a sex ratio in 1991 of 864? | SELECT districts_of_bihar FROM table_19589113_5 WHERE sex_ratio_‡_1991 = 864 |
CREATE TABLE table_name_3 (sliding_tackle VARCHAR, dump_tackle VARCHAR, shoulder_charge VARCHAR) | Which sliding tackle has no dump tackle and a restricted shoulder charge? | SELECT sliding_tackle FROM table_name_3 WHERE dump_tackle = "no" AND shoulder_charge = "restricted" |
CREATE TABLE table_name_33 (frequency VARCHAR, branding VARCHAR) | What frequency does branding dzec radyo agila 1062 have? | SELECT frequency FROM table_name_33 WHERE branding = "dzec radyo agila 1062" |
CREATE TABLE table_name_17 (game INTEGER, record VARCHAR, march VARCHAR) | Which game number was played after March 11 and ended with a record of 26-30-10? | SELECT MIN(game) FROM table_name_17 WHERE record = "26-30-10" AND march > 11 |
CREATE TABLE table_name_96 (ihsaa_class VARCHAR, location VARCHAR) | Which IHSAA Class has a Location of brazil? | SELECT ihsaa_class FROM table_name_96 WHERE location = "brazil" |
CREATE TABLE table_18788823_5 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) | What date did Micky Adams vacate his position? | SELECT date_of_vacancy FROM table_18788823_5 WHERE outgoing_manager = "Micky Adams" |
CREATE TABLE table_28348757_3 (production_code VARCHAR, _number VARCHAR) | Name the production code for number 8 | SELECT production_code FROM table_28348757_3 WHERE _number = 8 |
CREATE TABLE table_18373863_2 (mlb_team VARCHAR, years_played VARCHAR, fcsl_team VARCHAR) | when deland is the fcsl team and 2008 is the year played who is the mlb team? | SELECT mlb_team FROM table_18373863_2 WHERE years_played = "2008" AND fcsl_team = "DeLand" |
CREATE TABLE table_name_34 (position VARCHAR, round VARCHAR, school_club_team VARCHAR) | Which Position has a Round of 4, and a School/Club Team of concordia? | SELECT position FROM table_name_34 WHERE round = 4 AND school_club_team = "concordia" |
CREATE TABLE table_name_14 (january VARCHAR, record VARCHAR) | How many Januarys had records of 22-15-6? | SELECT COUNT(january) FROM table_name_14 WHERE record = "22-15-6" |
CREATE TABLE table_name_92 (points VARCHAR, tries_against VARCHAR) | When the tries against is 90 how many points are there? | SELECT points FROM table_name_92 WHERE tries_against = "90" |
CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR) | What is the Home team with an Away team that is wrexham? | SELECT home_team FROM table_name_90 WHERE away_team = "wrexham" |
CREATE TABLE table_name_91 (competition VARCHAR, score VARCHAR) | What is the name of the competition that has a score of 2-0? | SELECT competition FROM table_name_91 WHERE score = "2-0" |
CREATE TABLE table_name_96 (pick INTEGER, school VARCHAR) | What is the lowest pick when the School is Stanford University? | SELECT MIN(pick) FROM table_name_96 WHERE school = "stanford university" |
CREATE TABLE table_name_75 (attendance INTEGER, result VARCHAR, week VARCHAR) | Which Attendance has a Result of w 23-21, and a Week smaller than 5? | SELECT AVG(attendance) FROM table_name_75 WHERE result = "w 23-21" AND week < 5 |
CREATE TABLE table_name_59 (year INTEGER, manager VARCHAR, finish VARCHAR) | Manager of marty berghammer, and a Finish of 1st involved what lowest year? | SELECT MIN(year) FROM table_name_59 WHERE manager = "marty berghammer" AND finish = "1st" |
CREATE TABLE table_name_34 (opponent VARCHAR, game VARCHAR, record VARCHAR) | Who was the opponent for game number less than 47 and a record of 24-13-4? | SELECT opponent FROM table_name_34 WHERE game < 47 AND record = "24-13-4" |
CREATE TABLE table_24649082_1 (title VARCHAR, directed_by VARCHAR) | What is the title of the episode directed by Charles Beeson? | SELECT title FROM table_24649082_1 WHERE directed_by = "Charles Beeson" |
CREATE TABLE table_2668352_16 (party VARCHAR, result VARCHAR) | Which party experienced a result of lost re-election democratic-republican hold? | SELECT party FROM table_2668352_16 WHERE result = "Lost re-election Democratic-Republican hold" |
CREATE TABLE table_name_83 (january VARCHAR, opponent VARCHAR, game VARCHAR) | What is the total number in January when the St. Louis Blues had a game smaller than 42? | SELECT COUNT(january) FROM table_name_83 WHERE opponent = "st. louis blues" AND game < 42 |
CREATE TABLE table_name_26 (date VARCHAR, player VARCHAR, original_team VARCHAR, result VARCHAR) | What date has Vancouver Canucks as the original team, Ryan Kesler as the player, and matched as the Result? | SELECT date FROM table_name_26 WHERE original_team = "vancouver canucks" AND result = "matched" AND player = "ryan kesler" |
CREATE TABLE table_23453931_5 (game VARCHAR, record VARCHAR) | Name the game for 13–17–9 | SELECT game FROM table_23453931_5 WHERE record = "13–17–9" |
CREATE TABLE table_name_7 (rank VARCHAR, year VARCHAR, start VARCHAR, finish VARCHAR) | What was Jack McGrath's rank in 1955 when he started at 3 and finished at 26? | SELECT rank FROM table_name_7 WHERE start = "3" AND finish = "26" AND year = "1955" |
CREATE TABLE table_27965906_2 (ss_winning_car VARCHAR, circuit VARCHAR, b_winning_car VARCHAR) | Name the ss winning car for road atlanta and #35 quantum engineering #35 honda crx-si | SELECT ss_winning_car FROM table_27965906_2 WHERE circuit = "Road Atlanta" AND b_winning_car = "#35 Quantum Engineering #35 Honda CRX-Si" |
CREATE TABLE table_name_89 (catalog VARCHAR, date VARCHAR) | What is the catalog number of the May 27, 2009 release? | SELECT catalog FROM table_name_89 WHERE date = "may 27, 2009" |
CREATE TABLE table_1820752_1 (signal_power___kw__ VARCHAR, arrival_date VARCHAR) | If the arrival date is January 2059, what is the total amount of signal power? | SELECT COUNT(signal_power___kw__) FROM table_1820752_1 WHERE arrival_date = "January 2059" |
CREATE TABLE table_name_79 (result VARCHAR, week VARCHAR) | What was week 3 score? | SELECT result FROM table_name_79 WHERE week = 3 |
CREATE TABLE table_name_93 (genre VARCHAR, station VARCHAR) | Which genre is the fly fm station? | SELECT genre FROM table_name_93 WHERE station = "fly fm" |
CREATE TABLE table_1342256_32 (candidates VARCHAR, district VARCHAR) | Who are the contenders In the New York 19 polling area race? | SELECT candidates FROM table_1342256_32 WHERE district = "New York 19" |
CREATE TABLE table_name_31 (final_score VARCHAR, opponent VARCHAR, town VARCHAR, year VARCHAR, competition VARCHAR) | What is the final score in 2007 for the world league in novi sad played against Italy? | SELECT final_score FROM table_name_31 WHERE year = 2007 AND competition = "world league" AND town = "novi sad" AND opponent = "italy" |
CREATE TABLE table_name_97 (alternate VARCHAR, second VARCHAR) | What is the alternate of the nation with hubert gründhammer as the second? | SELECT alternate FROM table_name_97 WHERE second = "hubert gründhammer" |
CREATE TABLE table_name_34 (to_par VARCHAR, country VARCHAR, score VARCHAR) | What's the to par for england when the score is less than 71? | SELECT to_par FROM table_name_34 WHERE country = "england" AND score < 71 |
CREATE TABLE table_name_28 (ship VARCHAR, home_port VARCHAR, nvr_page VARCHAR) | Name the ship for oakland home port and NVR page of aor-3 | SELECT ship FROM table_name_28 WHERE home_port = "oakland" AND nvr_page = "aor-3" |
CREATE TABLE table_name_59 (mass__kg_ INTEGER, landing_zone VARCHAR) | What is the largest mass for Tycho Crater? | SELECT MAX(mass__kg_) FROM table_name_59 WHERE landing_zone = "tycho crater" |
CREATE TABLE table_name_68 (points INTEGER, played INTEGER) | What is the sum of the points of the club with more than 34 played? | SELECT SUM(points) FROM table_name_68 WHERE played > 34 |
CREATE TABLE table_name_31 (rocket VARCHAR, cospar_id VARCHAR) | What rocket has a COSPAR ID of 2002-001a? | SELECT rocket FROM table_name_31 WHERE cospar_id = "2002-001a" |
CREATE TABLE table_20630462_1 (city_s_ VARCHAR, also_currently_known_as VARCHAR) | What is the city location of the tournament currently known as the Medibank International Sydney? | SELECT city_s_ FROM table_20630462_1 WHERE also_currently_known_as = "Medibank International Sydney" |
CREATE TABLE table_27117365_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) | What original air date has 5.85 u.s. viewers (million)? | SELECT original_air_date FROM table_27117365_1 WHERE us_viewers__million_ = "5.85" |
CREATE TABLE table_name_71 (top_25 INTEGER, top_5 INTEGER) | What is the sum of top-25s for events with more than 1 top-5? | SELECT SUM(top_25) FROM table_name_71 WHERE top_5 > 1 |
CREATE TABLE table_name_91 (european_cup VARCHAR, season VARCHAR) | Which European Cup is in the 2006-07 season? | SELECT european_cup FROM table_name_91 WHERE season = "2006-07" |
CREATE TABLE table_name_23 (crowd VARCHAR, away_team VARCHAR) | When Richmond is the away team, what is the crowd size? | SELECT crowd FROM table_name_23 WHERE away_team = "richmond" |
CREATE TABLE table_name_38 (played INTEGER, lost VARCHAR, points VARCHAR, position VARCHAR) | What is the lowest played that has points greater than 11, 1 as the position, and a loss less than 1? | SELECT MIN(played) FROM table_name_38 WHERE points > 11 AND position = 1 AND lost < 1 |
CREATE TABLE table_name_32 (player VARCHAR, eliminated VARCHAR) | Who's the player that was eliminated on episode 4? | SELECT player FROM table_name_32 WHERE eliminated = "episode 4" |
CREATE TABLE table_name_1 (region_served VARCHAR, transmitter_location VARCHAR) | What region has a transmitter located at Mount Sugarloaf? | SELECT region_served FROM table_name_1 WHERE transmitter_location = "mount sugarloaf" |
CREATE TABLE table_name_45 (no_10 VARCHAR, no_1 VARCHAR, no_9 VARCHAR) | What is No. 10, when No. 1 is Noah, and when No. 9 is Carter? | SELECT no_10 FROM table_name_45 WHERE no_1 = "noah" AND no_9 = "carter" |
CREATE TABLE table_name_63 (lost VARCHAR, against VARCHAR, played VARCHAR) | Which Lost has an Against of 49 and a Played smaller than 20? | SELECT COUNT(lost) FROM table_name_63 WHERE against = 49 AND played < 20 |
CREATE TABLE table_name_73 (score VARCHAR, competition VARCHAR) | What is Score, when Competition is "Euro 2004 Qualifier"? | SELECT score FROM table_name_73 WHERE competition = "euro 2004 qualifier" |
CREATE TABLE table_name_90 (outcome VARCHAR, score VARCHAR) | Which Outcome has a Score of 3–6 2–6? | SELECT outcome FROM table_name_90 WHERE score = "3–6 2–6" |
CREATE TABLE table_26166836_3 (month_held VARCHAR, location VARCHAR) | What month is the Paris 20k Road Race held? | SELECT month_held FROM table_26166836_3 WHERE location = "Paris" |
CREATE TABLE table_name_96 (points INTEGER, lost VARCHAR, games VARCHAR) | Name the most points with lost more than 1 and games less than 5 | SELECT MAX(points) FROM table_name_96 WHERE lost > 1 AND games < 5 |
CREATE TABLE table_name_56 (year INTEGER, role VARCHAR, director VARCHAR) | What year was the role nan taylor, alias of nan ellis, aka mrs. andrews and directed by William keighley? | SELECT SUM(year) FROM table_name_56 WHERE role = "nan taylor, alias of nan ellis, aka mrs. andrews" AND director = "william keighley" |
CREATE TABLE table_23670057_1 (position VARCHAR, height__m_ VARCHAR) | Name the position for 2.16 | SELECT position FROM table_23670057_1 WHERE height__m_ = "2.16" |
CREATE TABLE table_name_15 (capacity VARCHAR, stadium VARCHAR) | Tell me the capacity for city park stadium | SELECT capacity FROM table_name_15 WHERE stadium = "city park stadium" |
CREATE TABLE table_name_29 (floors INTEGER, metres VARCHAR, feet VARCHAR, name VARCHAR) | What's the lowest Floors with Feet that's larger htan 262, has a Name of Standard Bank Building, and Metres that's larger htan 138.8? | SELECT MIN(floors) FROM table_name_29 WHERE feet > 262 AND name = "standard bank building" AND metres > 138.8 |
CREATE TABLE table_name_54 (goals VARCHAR, player VARCHAR) | How many goals were scored by Eugene Galeković? | SELECT goals FROM table_name_54 WHERE player = "eugene galeković" |
CREATE TABLE table_name_32 (winner VARCHAR, third_place VARCHAR, tournament VARCHAR) | Who is the winner for the Tournament in Hong Kong with a third place winner named Mikael Pernfors? | SELECT winner FROM table_name_32 WHERE third_place = "mikael pernfors" AND tournament = "hong kong" |
CREATE TABLE table_2818164_2 (production_code VARCHAR, original_air_date VARCHAR) | How many different production codes does the episode originally aired on October 18, 1984 have? | SELECT COUNT(production_code) FROM table_2818164_2 WHERE original_air_date = "October 18, 1984" |
CREATE TABLE table_name_3 (venue VARCHAR, home_team VARCHAR) | Which Venue has Footscray as it's Home team? | SELECT venue FROM table_name_3 WHERE home_team = "footscray" |
CREATE TABLE table_name_90 (year VARCHAR, award VARCHAR) | How many times was the award inte awards? | SELECT COUNT(year) FROM table_name_90 WHERE award = "inte awards" |
CREATE TABLE table_14009909_1 (delegate VARCHAR, first_elected VARCHAR) | Name the delegate first elected in 2003? | SELECT delegate FROM table_14009909_1 WHERE first_elected = 2003 |
CREATE TABLE table_name_58 (glendale_principal VARCHAR, year VARCHAR, ms_principal VARCHAR, hs_principal VARCHAR) | Who is the Glendale principal with Greg Smorel as m.s. principal and Joleen Reinholz as H.S. principal during 2006-2007? | SELECT glendale_principal FROM table_name_58 WHERE ms_principal = "greg smorel" AND hs_principal = "joleen reinholz" AND year = "2006-2007" |
CREATE TABLE table_name_70 (finished INTEGER, post INTEGER) | What is the lowest Finished, when Post is less than 2? | SELECT MIN(finished) FROM table_name_70 WHERE post < 2 |
CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR) | Can you tell me the Score that has the Date of april 8? | SELECT score FROM table_name_22 WHERE date = "april 8" |
CREATE TABLE table_name_38 (opponent VARCHAR, attendance VARCHAR) | Who was the opponent for the game played with 54,136 people in attendance? | SELECT opponent FROM table_name_38 WHERE attendance = "54,136" |
CREATE TABLE table_19526911_1 (previous_season_2007_2008 VARCHAR, website VARCHAR) | What are the previous season ranks of teams whose website is www.novavolley.narod.ru? | SELECT previous_season_2007_2008 FROM table_19526911_1 WHERE website = "www.novavolley.narod.ru" |
CREATE TABLE table_name_8 (presidency INTEGER, left_office VARCHAR, took_office VARCHAR) | What is the highest Presidency that Took Office after 1974 and Left Office in 1998? | SELECT MAX(presidency) FROM table_name_8 WHERE left_office = "1998" AND took_office > 1974 |
CREATE TABLE table_name_74 (investing_dragon_s_ VARCHAR, money_requested__£_ VARCHAR, company_or_product_name VARCHAR) | Which Investing Dragon(s) requested 100,000 in money and has autosafe? | SELECT investing_dragon_s_ FROM table_name_74 WHERE money_requested__£_ = "100,000" AND company_or_product_name = "autosafe" |
CREATE TABLE table_name_5 (venue VARCHAR, against VARCHAR) | Which venue has 16 against? | SELECT venue FROM table_name_5 WHERE against = 16 |
CREATE TABLE table_28742659_2 (immunity VARCHAR, finish VARCHAR) | What is the name of immunity when the finish is 3rd voted out day 9? | SELECT immunity FROM table_28742659_2 WHERE finish = "3rd voted Out Day 9" |
CREATE TABLE table_name_41 (name VARCHAR, number VARCHAR, date VARCHAR) | What is the name of the train numbered less than 6 before 1993? | SELECT name FROM table_name_41 WHERE number < 6 AND date < 1993 |
CREATE TABLE table_name_83 (year INTEGER, outcome VARCHAR, championship VARCHAR) | How many years have runner-up as the outcome, and indian wells as the championship? | SELECT SUM(year) FROM table_name_83 WHERE outcome = "runner-up" AND championship = "indian wells" |
CREATE TABLE table_name_19 (rank VARCHAR, bronze INTEGER) | When bronze is more than 3, what is the rank? | SELECT rank FROM table_name_19 WHERE bronze > 3 |
CREATE TABLE table_name_92 (wins VARCHAR, races VARCHAR, third VARCHAR, points VARCHAR) | What is the number of wins when the number of third was 1, points were less than 572 and had less than 16 races? | SELECT wins FROM table_name_92 WHERE third = "1" AND points < 572 AND races < 16 |
CREATE TABLE table_name_8 (wins INTEGER, losses VARCHAR, pct VARCHAR, rank VARCHAR) | What is the lowest amount of wins a manager with more than 0.526 pct., ranked higher than 37, and 947 losses has? | SELECT MIN(wins) FROM table_name_8 WHERE pct > 0.526 AND rank < 37 AND losses = 947 |
CREATE TABLE table_name_75 (year INTEGER, points VARCHAR) | what is the least year for 4 points? | SELECT MIN(year) FROM table_name_75 WHERE points = 4 |
CREATE TABLE table_name_57 (away_team VARCHAR, tie_no VARCHAR) | What is the away team with a 4 tie no.? | SELECT away_team FROM table_name_57 WHERE tie_no = "4" |
CREATE TABLE table_2679061_1 (nhl_team VARCHAR, player VARCHAR) | what is the nhl team for the player john maclean? | SELECT nhl_team FROM table_2679061_1 WHERE player = "John MacLean" |
CREATE TABLE table_name_67 (score VARCHAR, partner VARCHAR) | what is the score when the partner is alexandra fusai? | SELECT score FROM table_name_67 WHERE partner = "alexandra fusai" |
CREATE TABLE table_189598_7 (population_density__per_km²_ VARCHAR, name VARCHAR) | When buffalo narrows is the name how many measurements of population density per kilometer squared are there? | SELECT COUNT(population_density__per_km²_) FROM table_189598_7 WHERE name = "Buffalo Narrows" |