question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which College has a Round of 11, and a Position of wr?
CREATE TABLE table_name_42 (college VARCHAR, round VARCHAR, position VARCHAR)
SELECT college FROM table_name_42 WHERE round = 11 AND position = "wr"
What are the results of the incumbent who was first elected in 1996?
CREATE TABLE table_name_79 (results VARCHAR, first_elected VARCHAR)
SELECT results FROM table_name_79 WHERE first_elected = 1996
Who was the home team when Fitzroy was the away team?
CREATE TABLE table_name_33 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_33 WHERE away_team = "fitzroy"
Is wireless combo keyboard and mouse support part of the DDM class?
CREATE TABLE table_1153898_1 (ddm_class VARCHAR, comparisons VARCHAR)
SELECT ddm_class FROM table_1153898_1 WHERE comparisons = "Wireless Combo keyboard and mouse support"
What is the tenure for the Tritons team?
CREATE TABLE table_name_28 (tenure VARCHAR, team_nickname VARCHAR)
SELECT tenure FROM table_name_28 WHERE team_nickname = "tritons"
Who was the opponent with the record of 15-21-6?
CREATE TABLE table_name_23 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_23 WHERE record = "15-21-6"
Which charts had debut sales of 101976?
CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ VARCHAR)
SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ = 101976
What is the team's record on may 12 when they play the giants?
CREATE TABLE table_name_58 (record VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT record FROM table_name_58 WHERE opponent = "giants" AND date = "may 12"
What dates did the episodes air in the United States?
CREATE TABLE table_name_6 (dates_aired VARCHAR, region_country VARCHAR)
SELECT dates_aired FROM table_name_6 WHERE region_country = "united states"
What is the nature of the incident in Kabul on 2004-01-28?
CREATE TABLE table_name_62 (nature_of_incident VARCHAR, location VARCHAR, date VARCHAR)
SELECT nature_of_incident FROM table_name_62 WHERE location = "kabul" AND date = "2004-01-28"
Name the number of master recording for doobie brothers the doobie brothers
CREATE TABLE table_22457674_1 (master_recording VARCHAR, artist VARCHAR)
SELECT COUNT(master_recording) FROM table_22457674_1 WHERE artist = "Doobie Brothers The Doobie Brothers"
How many different kinds of reports are there for races that Juan Manuel Fangio won?
CREATE TABLE table_1140111_5 (report VARCHAR, winning_driver VARCHAR)
SELECT COUNT(report) FROM table_1140111_5 WHERE winning_driver = "Juan Manuel Fangio"
Where was the third bridge over panama canal?
CREATE TABLE table_name_83 (location VARCHAR, name VARCHAR)
SELECT location FROM table_name_83 WHERE name = "third bridge over panama canal"
What was the result of the election in the Arkansas 4 district?
CREATE TABLE table_1342359_4 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1342359_4 WHERE district = "Arkansas 4"
What are the complements when the commander is Major William Lloyd?
CREATE TABLE table_11793221_2 (complement VARCHAR, commander VARCHAR)
SELECT complement FROM table_11793221_2 WHERE commander = "Major William Lloyd"
Who was the batting team in the 2006 season?
CREATE TABLE table_name_61 (batting_team VARCHAR, season VARCHAR)
SELECT batting_team FROM table_name_61 WHERE season = "2006"
Which organizations were founded in 1972, but became WOSM members until 1977?
CREATE TABLE table_104858_1 (name_of_member_organization VARCHAR, year_member_organization_was_founded VARCHAR, year_current_scouting_organization_joined_wosm VARCHAR)
SELECT name_of_member_organization FROM table_104858_1 WHERE year_member_organization_was_founded = "1972" AND year_current_scouting_organization_joined_wosm = "1977"
What game was in 2001?
CREATE TABLE table_name_66 (game VARCHAR, year VARCHAR)
SELECT game FROM table_name_66 WHERE year = 2001
What party does incumbent edwin reinecke represent?
CREATE TABLE table_1341738_6 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1341738_6 WHERE incumbent = "Edwin Reinecke"
Which permanent account has registration of invite-only and userpics free of unknown?
CREATE TABLE table_name_46 (permanent_account VARCHAR, userpics_free VARCHAR, registration VARCHAR)
SELECT permanent_account FROM table_name_46 WHERE userpics_free = "unknown" AND registration = "invite-only"
How many silver have a Total smaller than 3, a Bronze of 1, and a Gold larger than 0?
CREATE TABLE table_name_71 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT MAX(silver) FROM table_name_71 WHERE total < 3 AND bronze = 1 AND gold > 0
List the names and origins of people who are not body builders.
CREATE TABLE people (Name VARCHAR, birth_place VARCHAR, people_id VARCHAR); CREATE TABLE body_builder (people_id VARCHAR); CREATE TABLE people (Name VARCHAR, birth_place VARCHAR)
SELECT Name, birth_place FROM people EXCEPT SELECT T1.Name, T1.birth_place FROM people AS T1 JOIN body_builder AS T2 ON T1.people_id = T2.people_id
Name the team where the date is november 17
CREATE TABLE table_17355716_5 (team VARCHAR, date VARCHAR)
SELECT team FROM table_17355716_5 WHERE date = "November 17"
What is the lowest maximum of fps with a width of 3072 and a height less than 1620?
CREATE TABLE table_name_84 (maximum_fps INTEGER, width VARCHAR, height VARCHAR)
SELECT MIN(maximum_fps) FROM table_name_84 WHERE width = 3072 AND height < 1620
What is the Set 5 with a Set 3 that is 25-23 and a Set 4 that is 23-25?
CREATE TABLE table_name_15 (set_5 VARCHAR, set_3 VARCHAR, set_4 VARCHAR)
SELECT set_5 FROM table_name_15 WHERE set_3 = "25-23" AND set_4 = "23-25"
List the titles of episodes written by Anne Cofell Saunders.
CREATE TABLE table_26464364_1 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_26464364_1 WHERE written_by = "Anne Cofell Saunders"
Name the ply (uk, nz, au) for fingering
CREATE TABLE table_20297668_1 (ply__uk VARCHAR, _nz VARCHAR, _au_ VARCHAR, yarn_type__us_ VARCHAR)
SELECT ply__uk, _nz, _au_ FROM table_20297668_1 WHERE yarn_type__us_ = "Fingering"
What is the Vineyeard surface (2010) with a Village of Gevrey-Chambertin, and Grand Cru of Latricières-Chambertin?
CREATE TABLE table_name_94 (vineyard_surface__2010_ VARCHAR, village VARCHAR, grand_cru VARCHAR)
SELECT vineyard_surface__2010_ FROM table_name_94 WHERE village = "gevrey-chambertin" AND grand_cru = "latricières-chambertin"
What is the classification for the school in the NEC Conference located in New Britain, Connecticut?
CREATE TABLE table_name_4 (classification VARCHAR, current_conference VARCHAR, location VARCHAR)
SELECT classification FROM table_name_4 WHERE current_conference = "nec" AND location = "new britain, connecticut"
What is the African Spoonbill when the Hadeda Ibis is Flernecked Nightjar?
CREATE TABLE table_20042805_2 (african_spoonbill VARCHAR, hadeda_ibis VARCHAR)
SELECT african_spoonbill FROM table_20042805_2 WHERE hadeda_ibis = "Flernecked Nightjar"
On which date was the Winning score –5 (70-65-69-75=279)?
CREATE TABLE table_name_92 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_92 WHERE winning_score = –5(70 - 65 - 69 - 75 = 279)
What is the largest round with a Race Title of korean grand prix?
CREATE TABLE table_name_58 (round INTEGER, race_title VARCHAR)
SELECT MAX(round) FROM table_name_58 WHERE race_title = "korean grand prix"
What is the Fourth place with a Year that is 1978?
CREATE TABLE table_name_58 (fourth_place VARCHAR, year VARCHAR)
SELECT fourth_place FROM table_name_58 WHERE year = 1978
What is the loan club with bbc sport as the start source and ended in 3 February?
CREATE TABLE table_name_41 (loan_club VARCHAR, start_source VARCHAR, ended VARCHAR)
SELECT loan_club FROM table_name_41 WHERE start_source = "bbc sport" AND ended = "3 february"
Who pubilshed isbn 1-937007-44-8?
CREATE TABLE table_16907214_1 (publisher VARCHAR, hardcover VARCHAR)
SELECT publisher FROM table_16907214_1 WHERE hardcover = "ISBN 1-937007-44-8"
Which player has a pick# over 47?
CREATE TABLE table_name_87 (player VARCHAR, pick__number INTEGER)
SELECT player FROM table_name_87 WHERE pick__number > 47
Which rank has canada as the country?
CREATE TABLE table_name_84 (rank VARCHAR, country VARCHAR)
SELECT rank FROM table_name_84 WHERE country = "canada"
What film did abdelatif hwidar direct that was in the short film 2007 prix uip category?
CREATE TABLE table_name_93 (film VARCHAR, category VARCHAR, director_s_ VARCHAR)
SELECT film FROM table_name_93 WHERE category = "short film 2007 prix uip" AND director_s_ = "abdelatif hwidar"
What team is located in brooklyn?
CREATE TABLE table_name_5 (team VARCHAR, city VARCHAR)
SELECT team FROM table_name_5 WHERE city = "brooklyn"
What shows for playing when the opponent was Real España, in the 2012–13 season?
CREATE TABLE table_name_76 (playing_for VARCHAR, opponent VARCHAR, season VARCHAR)
SELECT playing_for FROM table_name_76 WHERE opponent = "real españa" AND season = "2012–13"
What is the lowest swimsuit score where the contestant scored less than 8.56 in the interview and greater than 8.54 in the evening gown?
CREATE TABLE table_name_85 (swimsuit INTEGER, interview VARCHAR, evening_gown VARCHAR)
SELECT MIN(swimsuit) FROM table_name_85 WHERE interview < 8.56 AND evening_gown > 8.54
Name the number of record when attendance is 44023
CREATE TABLE table_14945881_1 (record VARCHAR, attendance VARCHAR)
SELECT COUNT(record) FROM table_14945881_1 WHERE attendance = 44023
What is the Date when MARTIN had 8%?
CREATE TABLE table_name_21 (date VARCHAR, martin VARCHAR)
SELECT date FROM table_name_21 WHERE martin = "8%"
What is the sum rating with more than 1 comp for mark miller?
CREATE TABLE table_name_78 (rating VARCHAR, player VARCHAR, comp VARCHAR)
SELECT COUNT(rating) FROM table_name_78 WHERE player = "mark miller" AND comp > 1
What finish has +21 as the to par?
CREATE TABLE table_name_35 (finish VARCHAR, to_par VARCHAR)
SELECT finish FROM table_name_35 WHERE to_par = "+21"
Which is the lowest round to have a pick of 12 and position of linebacker?
CREATE TABLE table_name_86 (round INTEGER, pick__number VARCHAR, position VARCHAR)
SELECT MIN(round) FROM table_name_86 WHERE pick__number = 12 AND position = "linebacker"
What is the Type of castle from the 14th Century which Condition is preserved?
CREATE TABLE table_name_72 (type VARCHAR, date VARCHAR, condition VARCHAR)
SELECT type FROM table_name_72 WHERE date = "14th century" AND condition = "preserved"
Find the number of classes offered for all class rooms that held at least 2 classes.
CREATE TABLE CLASS (class_room VARCHAR)
SELECT COUNT(*), class_room FROM CLASS GROUP BY class_room HAVING COUNT(*) >= 2
How many rounds in the fight in Quebec, Canada against David Loiseau?
CREATE TABLE table_name_2 (round VARCHAR, location VARCHAR, opponent VARCHAR)
SELECT COUNT(round) FROM table_name_2 WHERE location = "quebec, canada" AND opponent = "david loiseau"
Which authority has a Name of tamatea high school?
CREATE TABLE table_name_41 (authority VARCHAR, name VARCHAR)
SELECT authority FROM table_name_41 WHERE name = "tamatea high school"
What's the Chinese name of the wudaokou station?
CREATE TABLE table_name_85 (chinese_name VARCHAR, station_name VARCHAR)
SELECT chinese_name FROM table_name_85 WHERE station_name = "wudaokou"
Who the Owner that has a Lengths Behind of 5½?
CREATE TABLE table_name_87 (owner VARCHAR, lengths_behind VARCHAR)
SELECT owner FROM table_name_87 WHERE lengths_behind = "5½"
What is the average Draw for the artist(s), whose language is Swedish, and scored less than 10 points?
CREATE TABLE table_name_99 (draw INTEGER, language VARCHAR, points VARCHAR)
SELECT AVG(draw) FROM table_name_99 WHERE language = "swedish" AND points < 10
Which item resulted in a score of 4-1?
CREATE TABLE table_name_77 (score VARCHAR, result VARCHAR)
SELECT score FROM table_name_77 WHERE result = "4-1"
What is the total number of playoff games played by the Seattle Thunderbirds team where the number of regular games played is less than 5 and pick number is less than 131?
CREATE TABLE table_name_16 (pl_gp VARCHAR, pick__number VARCHAR, reg_gp VARCHAR, team__league_ VARCHAR)
SELECT COUNT(pl_gp) FROM table_name_16 WHERE reg_gp < 5 AND team__league_ = "seattle thunderbirds" AND pick__number < 131
Which character first appeared in Amazing Fantasy #15?
CREATE TABLE table_name_89 (character_s_ VARCHAR, first_appearance VARCHAR)
SELECT character_s_ FROM table_name_89 WHERE first_appearance = "amazing fantasy #15"
HOW MANY PLAYERS PLAYED IN THE GAME THAT WON WITH 438 POINTS
CREATE TABLE table_12807904_3 (played VARCHAR, points_for VARCHAR)
SELECT played FROM table_12807904_3 WHERE points_for = "438"
What spans were built in 1896?
CREATE TABLE table_name_73 (spans VARCHAR, built VARCHAR)
SELECT spans FROM table_name_73 WHERE built = "1896"
What is Time, when Location is "Savannah, Georgia , United States"?
CREATE TABLE table_name_63 (time VARCHAR, location VARCHAR)
SELECT time FROM table_name_63 WHERE location = "savannah, georgia , united states"
What is the highest earnings for Tom watson who had a ranking larger than 2?
CREATE TABLE table_name_26 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)
SELECT MAX(earnings___) AS $__ FROM table_name_26 WHERE player = "tom watson" AND rank > 2
Name the qual with start of totals
CREATE TABLE table_name_61 (qual VARCHAR, start VARCHAR)
SELECT qual FROM table_name_61 WHERE start = "totals"
Name the 1/8 finals for round 1 n/a
CREATE TABLE table_18646111_13 (round_1 VARCHAR)
SELECT 1 AS _8_finals FROM table_18646111_13 WHERE round_1 = "N/A"
which 1st Member has a Election of 1832
CREATE TABLE table_name_51 (election VARCHAR)
SELECT 1 AS st_member FROM table_name_51 WHERE election = "1832"
When zachary sanders is the performer what is the lowerst first aired?
CREATE TABLE table_191105_3 (first_aired INTEGER, performed_by VARCHAR)
SELECT MIN(first_aired) FROM table_191105_3 WHERE performed_by = "Zachary Sanders"
What martin is on july 8–9, 2008?
CREATE TABLE table_name_36 (martin VARCHAR, date VARCHAR)
SELECT martin FROM table_name_36 WHERE date = "july 8–9, 2008"
What party was Kevin Brady?
CREATE TABLE table_1341395_44 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1341395_44 WHERE incumbent = "Kevin Brady"
Whats the title of the episode with production code 109
CREATE TABLE table_15938543_1 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_15938543_1 WHERE production_code = 109
the names of models that launched between 2002 and 2004.
CREATE TABLE chip_model (Model_name VARCHAR, Launch_year INTEGER)
SELECT Model_name FROM chip_model WHERE Launch_year BETWEEN 2002 AND 2004
Who led the points classification when Roman Kreuziger led the young rider classification?
CREATE TABLE table_14395920_2 (points_classification VARCHAR, young_rider_classification VARCHAR)
SELECT points_classification FROM table_14395920_2 WHERE young_rider_classification = "Roman Kreuziger"
What is the dimensions in centimeters of a theater board who started in 1940, who was released after 2010?
CREATE TABLE table_name_14 (board__cm_ VARCHAR, release VARCHAR, start VARCHAR, type VARCHAR)
SELECT board__cm_ FROM table_name_14 WHERE start = "1940" AND type = "theater" AND release > 2010
What was the title of the episode directed by David Mamet?
CREATE TABLE table_26200084_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_26200084_1 WHERE directed_by = "David Mamet"
What is the date of attack of the Circe Shell Ship?
CREATE TABLE table_name_55 (date VARCHAR, name VARCHAR)
SELECT date FROM table_name_55 WHERE name = "circe shell"
List the distinct positions of pilots older than 30.
CREATE TABLE pilot (POSITION VARCHAR, Age INTEGER)
SELECT DISTINCT POSITION FROM pilot WHERE Age > 30
Which Played has a Lost larger than 14, and a Drawn of 10, and Points larger than 46?
CREATE TABLE table_name_97 (played INTEGER, points VARCHAR, lost VARCHAR, drawn VARCHAR)
SELECT AVG(played) FROM table_name_97 WHERE lost > 14 AND drawn = 10 AND points > 46
Which country has 69 score?
CREATE TABLE table_name_41 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_41 WHERE score = 69
what character did dave ward play
CREATE TABLE table_name_36 (voice_actor__english_1998___pioneer_ VARCHAR, voice_actor__english_1997___saban_ VARCHAR)
SELECT voice_actor__english_1998___pioneer_ FROM table_name_36 WHERE voice_actor__english_1997___saban_ = "dave ward"
What is Player, when Opponent is source: . last updated: 28 june 2007.?
CREATE TABLE table_name_17 (player VARCHAR, opponent VARCHAR)
SELECT player FROM table_name_17 WHERE opponent = "source: . last updated: 28 june 2007."
Which E. coli has a substrate of uracil?
CREATE TABLE table_name_22 (e_coli VARCHAR, substrates VARCHAR)
SELECT e_coli FROM table_name_22 WHERE substrates = "uracil"
What is H/A/N, when Record is 2-5?
CREATE TABLE table_name_74 (h_a_n VARCHAR, record VARCHAR)
SELECT h_a_n FROM table_name_74 WHERE record = "2-5"
What is the first party with second member Hon. Rowland Hill, in the 1857 election?
CREATE TABLE table_name_18 (first_party VARCHAR, second_member VARCHAR, election VARCHAR)
SELECT first_party FROM table_name_18 WHERE second_member = "hon. rowland hill" AND election = "1857"
What is the difference related to 2 losses and fewer than 10 points?
CREATE TABLE table_name_51 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)
SELECT points_difference FROM table_name_51 WHERE lost = 2 AND points < 10
Which place has points larger than 1, a bmw machine, and a time of 1:18.47.6?
CREATE TABLE table_name_44 (place INTEGER, time VARCHAR, points VARCHAR, machine VARCHAR)
SELECT MIN(place) FROM table_name_44 WHERE points > 1 AND machine = "bmw" AND time = "1:18.47.6"
Who performed the song recorded at the Cabin in the Woods Studio with a Time of 3:16?
CREATE TABLE table_name_45 (performer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR)
SELECT performer_s_ FROM table_name_45 WHERE recorded_at = "the cabin in the woods studio" AND time = "3:16"
What dates were the games after game 6 played?
CREATE TABLE table_name_56 (date VARCHAR, game INTEGER)
SELECT date FROM table_name_56 WHERE game > 6
Who has high points when toyota center 15,095 is location attendance?
CREATE TABLE table_23286112_7 (high_points VARCHAR, location_attendance VARCHAR)
SELECT high_points FROM table_23286112_7 WHERE location_attendance = "Toyota Center 15,095"
Who wrote episode 122 in the series?
CREATE TABLE table_26866434_1 (writer VARCHAR, series__number VARCHAR)
SELECT writer FROM table_26866434_1 WHERE series__number = 122
What away team did Melbourne play as the home team?
CREATE TABLE table_name_61 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_61 WHERE home_team = "melbourne"
Name the position of Turkey
CREATE TABLE table_11545282_11 (position VARCHAR, nationality VARCHAR)
SELECT position FROM table_11545282_11 WHERE nationality = "Turkey"
what is the period if the player is Hashan Tillakaratne?
CREATE TABLE table_26041144_16 (period VARCHAR, player VARCHAR)
SELECT period FROM table_26041144_16 WHERE player = "Hashan Tillakaratne"
Who visited on April 29?
CREATE TABLE table_name_35 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_35 WHERE date = "april 29"
What high assists have McWilliams-franklin (22) as the high points?
CREATE TABLE table_name_95 (high_assists VARCHAR, high_points VARCHAR)
SELECT high_assists FROM table_name_95 WHERE high_points = "mcwilliams-franklin (22)"
What is the Domari associated with a Persian of yak, yek?
CREATE TABLE table_name_19 (domari VARCHAR, persian VARCHAR)
SELECT domari FROM table_name_19 WHERE persian = "yak, yek"
What Player has less than 10 Touchdowns and 0 Extra points and more than 5 Points?
CREATE TABLE table_name_77 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR)
SELECT player FROM table_name_77 WHERE touchdowns < 10 AND extra_points = 0 AND points > 5
On which day were the subtotal hours 9:30?
CREATE TABLE table_name_9 (date VARCHAR, sub_total VARCHAR)
SELECT date FROM table_name_9 WHERE sub_total = "9:30"
Name th epopulation may for general terrero
CREATE TABLE table_2068761_1 (population__may_1 VARCHAR, _2000_ VARCHAR, barangay VARCHAR)
SELECT population__may_1, _2000_ FROM table_2068761_1 WHERE barangay = "General Terrero"
How many centerfolds were in the 9-98 issue?
CREATE TABLE table_1566850_9 (centerfold_model VARCHAR, date VARCHAR)
SELECT COUNT(centerfold_model) FROM table_1566850_9 WHERE date = "9-98"
What is Record, when High Points is "Ray Allen (27)"?
CREATE TABLE table_name_90 (record VARCHAR, high_points VARCHAR)
SELECT record FROM table_name_90 WHERE high_points = "ray allen (27)"
What is the Date when christophe rochus was partner, and the score was 2–6, 7–6 (7–5) , 0–6?
CREATE TABLE table_name_97 (date VARCHAR, partner VARCHAR, score VARCHAR)
SELECT date FROM table_name_97 WHERE partner = "christophe rochus" AND score = "2–6, 7–6 (7–5) , 0–6"
What is the top lap that had a tyre time?
CREATE TABLE table_name_31 (laps INTEGER, time_retired VARCHAR)
SELECT MAX(laps) FROM table_name_31 WHERE time_retired = "tyre"
What's the draw having the result of 10%?
CREATE TABLE table_name_29 (draw INTEGER, result VARCHAR)
SELECT AVG(draw) FROM table_name_29 WHERE result = "10%"