answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT attendance FROM table_name_42 WHERE date = "11/10/1928"
CREATE TABLE table_name_42 (attendance VARCHAR, date VARCHAR)
What is the Attendance on 11/10/1928?
SELECT winner FROM table_name_74 WHERE venue = "campbelltown sports stadium"
CREATE TABLE table_name_74 (winner VARCHAR, venue VARCHAR)
Who was the Winner at Campbelltown Sports Stadium?
SELECT venue FROM table_name_74 WHERE winner = "sydney roosters" AND crowd > 7 OFFSET 426
CREATE TABLE table_name_74 (venue VARCHAR, winner VARCHAR, crowd VARCHAR)
When Sydney Roosters won with a Crown of more than 7,426, what was the Venue?
SELECT second_leg FROM table_name_35 WHERE phase = "group stage" AND round = "matchday 5"
CREATE TABLE table_name_35 (second_leg VARCHAR, phase VARCHAR, round VARCHAR)
What was the second leg score from the group stage on matchday 5?
SELECT year_erected FROM table_name_51 WHERE artist = "enrique alciati"
CREATE TABLE table_name_51 (year_erected VARCHAR, artist VARCHAR)
what year did enrique alciati make a statue
SELECT artist FROM table_name_81 WHERE country = "uruguay"
CREATE TABLE table_name_81 (artist VARCHAR, country VARCHAR)
what artist cam from uruguay
SELECT AVG(year) FROM table_name_55 WHERE mixed_doubles = "mika heinonen susanna dahlberg"
CREATE TABLE table_name_55 (year INTEGER, mixed_doubles VARCHAR)
When did mika heinonen susanna dahlberg win mixed doubles?
SELECT outcome FROM table_name_32 WHERE score = "0–3 (11–21, 14–21)"
CREATE TABLE table_name_32 (outcome VARCHAR, score VARCHAR)
Score of 0–3 (11–21, 14–21) had what outcome?
SELECT score FROM table_name_99 WHERE venue = "thessaloniki (without participation)"
CREATE TABLE table_name_99 (score VARCHAR, venue VARCHAR)
Venue of thessaloniki (without participation) had what score?
SELECT venue FROM table_name_51 WHERE outcome = "13" AND year = "2007"
CREATE TABLE table_name_51 (venue VARCHAR, outcome VARCHAR, year VARCHAR)
Outcome of 13, and a Year of 2007 happened in what venue?
SELECT eruptions FROM table_name_51 WHERE location = "pacific ring of fire" AND volcanic_explosivity_index = "6" AND country = "peru"
CREATE TABLE table_name_51 (eruptions VARCHAR, country VARCHAR, location VARCHAR, volcanic_explosivity_index VARCHAR)
Which Eruptions have a Location of pacific ring of fire, and a Volcanic Explosivity Index of 6, and a Country of peru?
SELECT fatalities FROM table_name_50 WHERE country = "italy"
CREATE TABLE table_name_50 (fatalities VARCHAR, country VARCHAR)
How many fatalities does Italy have?
SELECT SUM(year) FROM table_name_22 WHERE location = "pacific ring of fire" AND eruptions = "pinatubo"
CREATE TABLE table_name_22 (year INTEGER, location VARCHAR, eruptions VARCHAR)
How many years have a Location of pacific ring of fire, and Eruptions of pinatubo?
SELECT standings FROM table_name_28 WHERE champions = "eintracht braunschweig"
CREATE TABLE table_name_28 (standings VARCHAR, champions VARCHAR)
What is the Standings of Eintracht Braunschweig?
SELECT AVG(points) FROM table_name_92 WHERE year > 2001
CREATE TABLE table_name_92 (points INTEGER, year INTEGER)
Year larger than 2001 has what average points?
SELECT MAX(year) FROM table_name_69 WHERE team = "honda" AND points = 238
CREATE TABLE table_name_69 (year INTEGER, team VARCHAR, points VARCHAR)
Team of Honda and a point total of 238 is what highest year?
SELECT team FROM table_name_96 WHERE wins = 0
CREATE TABLE table_name_96 (team VARCHAR, wins VARCHAR)
Wins of 0 involves what team?
SELECT player FROM table_name_75 WHERE pick = 5
CREATE TABLE table_name_75 (player VARCHAR, pick VARCHAR)
what player has a pick of 5
SELECT district FROM table_name_2 WHERE first_elected = 1858 AND result = "retired republican gain" AND incumbent = "william millward"
CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR)
Which District has a First elected of 1858, and a Result of retired republican gain, and an Incumbent of william millward?
SELECT result FROM table_name_5 WHERE district = "pennsylvania 13"
CREATE TABLE table_name_5 (result VARCHAR, district VARCHAR)
Which Result has a District of pennsylvania 13?
SELECT MIN(first_elected) FROM table_name_9 WHERE incumbent = "william stewart"
CREATE TABLE table_name_9 (first_elected INTEGER, incumbent VARCHAR)
Which First elected is the lowest one that has an Incumbent of william stewart?
SELECT player FROM table_name_24 WHERE college_junior_club_team__league_ = "regina pats (whl)"
CREATE TABLE table_name_24 (player VARCHAR, college_junior_club_team__league_ VARCHAR)
Who was the Player when College/Junior/Club Team (League) was regina pats (whl)?
SELECT date FROM table_name_55 WHERE attendance > 62 OFFSET 491
CREATE TABLE table_name_55 (date VARCHAR, attendance INTEGER)
What is the date of the game with an attendance larger than 62,491?
SELECT attendance FROM table_name_10 WHERE week = 4
CREATE TABLE table_name_10 (attendance VARCHAR, week VARCHAR)
What is the attendance of the game on week 4?
SELECT AVG(extra_points) FROM table_name_35 WHERE touchdowns < 2 AND player = "herrnstein" AND field_goals < 0
CREATE TABLE table_name_35 (extra_points INTEGER, field_goals VARCHAR, touchdowns VARCHAR, player VARCHAR)
How many extra points are there that Herrnstein had with less than 2 touchdowns and less than 0 field goals?
SELECT SUM(touchdowns) FROM table_name_53 WHERE extra_points = 0 AND field_goals < 0
CREATE TABLE table_name_53 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR)
How many touchdowns are there that has field goals less than 0 and 0 extra points?
SELECT SUM(field_goals) FROM table_name_91 WHERE touchdowns = 8 AND points > 49
CREATE TABLE table_name_91 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR)
How many field goals are there that have 8 touchdowns and more than 49 points?
SELECT MIN(touchdowns) FROM table_name_66 WHERE points > 5 AND field_goals = 0 AND player = "snow" AND extra_points > 0
CREATE TABLE table_name_66 (touchdowns INTEGER, extra_points VARCHAR, player VARCHAR, points VARCHAR, field_goals VARCHAR)
What's the number of touchdowns that Snow made that had 0 field goals, more than 5 points, and more than 0 extra points?
SELECT icao FROM table_name_21 WHERE iata = "mle"
CREATE TABLE table_name_21 (icao VARCHAR, iata VARCHAR)
For an IATA of MLE, what is the ICAO?
SELECT iata FROM table_name_66 WHERE icao = "vcct"
CREATE TABLE table_name_66 (iata VARCHAR, icao VARCHAR)
For an ICAO of VCCT, what is the IATA?
SELECT city FROM table_name_96 WHERE icao = "vccj"
CREATE TABLE table_name_96 (city VARCHAR, icao VARCHAR)
Which city has an ICAO of VCCJ?
SELECT icao FROM table_name_97 WHERE city = "vavuniya"
CREATE TABLE table_name_97 (icao VARCHAR, city VARCHAR)
Which ICAO is found in Vavuniya?
SELECT country FROM table_name_76 WHERE airport = "weerawila airport"
CREATE TABLE table_name_76 (country VARCHAR, airport VARCHAR)
Which country has Weerawila Airport?
SELECT opponent FROM table_name_39 WHERE date = "april 1"
CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR)
Which opponent has april 1 as the date?
SELECT opponent FROM table_name_24 WHERE loss = "tomko (1-1)"
CREATE TABLE table_name_24 (opponent VARCHAR, loss VARCHAR)
What opponent has tomko (1-1) as a loss?
SELECT opponent FROM table_name_76 WHERE record = "8-10"
CREATE TABLE table_name_76 (opponent VARCHAR, record VARCHAR)
What opponent has 8-10 as the record?
SELECT class_aAA FROM table_name_85 WHERE school_year = "2006-07"
CREATE TABLE table_name_85 (class_aAA VARCHAR, school_year VARCHAR)
Whcih was the Class AAA in school year 2006-07?
SELECT class_aA FROM table_name_52 WHERE school_year = "1994-95"
CREATE TABLE table_name_52 (class_aA VARCHAR, school_year VARCHAR)
What team was class AA in years 1994-95?
SELECT class_aA FROM table_name_26 WHERE school_year = "1994-95"
CREATE TABLE table_name_26 (class_aA VARCHAR, school_year VARCHAR)
Who was Class AA in School Year 1994-95?
SELECT date FROM table_name_48 WHERE visitor = "bulls"
CREATE TABLE table_name_48 (date VARCHAR, visitor VARCHAR)
What's the date of the game that has the Bulls as a visiting team?
SELECT AVG(game) FROM table_name_3 WHERE february > 13 AND opponent = "toronto maple leafs" AND points > 47
CREATE TABLE table_name_3 (game INTEGER, points VARCHAR, february VARCHAR, opponent VARCHAR)
What is the average game number that took place after February 13 against the Toronto Maple Leafs and more than 47 points were scored?
SELECT opponent FROM table_name_30 WHERE week < 11 AND game_site = "sullivan stadium"
CREATE TABLE table_name_30 (opponent VARCHAR, week VARCHAR, game_site VARCHAR)
Who was the opponent at the game at Sullivan Stadium before week 11?
SELECT years FROM table_name_25 WHERE pct = 0.667 AND lost = 380
CREATE TABLE table_name_25 (years VARCHAR, pct VARCHAR, lost VARCHAR)
What is the years coached by the person with a win percentage of 0.667 and 380 losses?
SELECT AVG(pct) FROM table_name_97 WHERE years = "1905" AND lost > 7
CREATE TABLE table_name_97 (pct INTEGER, years VARCHAR, lost VARCHAR)
What is the average percent for the coach from 1905 and more than 7 losses?
SELECT COUNT(pct) FROM table_name_17 WHERE lost = 20 AND seasons > 1
CREATE TABLE table_name_17 (pct VARCHAR, lost VARCHAR, seasons VARCHAR)
How many percentages have 20 losses and more than 1 season?
SELECT home FROM table_name_67 WHERE date = "february 10"
CREATE TABLE table_name_67 (home VARCHAR, date VARCHAR)
What home has February 10 as the date?
SELECT date FROM table_name_66 WHERE visitor = "ny islanders"
CREATE TABLE table_name_66 (date VARCHAR, visitor VARCHAR)
What date has ny islanders as the visitor?
SELECT score FROM table_name_57 WHERE date = "february 10"
CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR)
What score has February 10 as the date?
SELECT course FROM table_name_29 WHERE date = "24 july"
CREATE TABLE table_name_29 (course VARCHAR, date VARCHAR)
Name the course for 24 july
SELECT course FROM table_name_58 WHERE type = "team time trial"
CREATE TABLE table_name_58 (course VARCHAR, type VARCHAR)
Name the course for team time trial
SELECT winner FROM table_name_98 WHERE course = "rest day" AND date = "13 july"
CREATE TABLE table_name_98 (winner VARCHAR, course VARCHAR, date VARCHAR)
Name the winner for rest day for 13 july
SELECT SUM(entered) FROM table_name_86 WHERE wrestler = "shawn michaels"
CREATE TABLE table_name_86 (entered INTEGER, wrestler VARCHAR)
Shawn Michaels entered the elimination chamber in what position?
SELECT eliminated_by FROM table_name_49 WHERE wrestler = "kurt angle"
CREATE TABLE table_name_49 (eliminated_by VARCHAR, wrestler VARCHAR)
Who Eliminated Kurt Angle?
SELECT eliminated_by FROM table_name_63 WHERE wrestler = "kane"
CREATE TABLE table_name_63 (eliminated_by VARCHAR, wrestler VARCHAR)
Who Eliminated Kane?
SELECT SUM(gold) FROM table_name_98 WHERE nation = "algeria" AND total < 3
CREATE TABLE table_name_98 (gold INTEGER, nation VARCHAR, total VARCHAR)
What is the sum of all gold medals for Algeria when total medals is less than 3?
SELECT AVG(population) FROM table_name_56 WHERE country = "spain" AND urban_area = "valencia"
CREATE TABLE table_name_56 (population INTEGER, country VARCHAR, urban_area VARCHAR)
what is the population of Valencia, Spain?
SELECT MAX(year) FROM table_name_89 WHERE rank = "2"
CREATE TABLE table_name_89 (year INTEGER, rank VARCHAR)
which year holds rank 2?
SELECT AVG(floors) FROM table_name_19 WHERE name = "meridian condominiums"
CREATE TABLE table_name_19 (floors INTEGER, name VARCHAR)
with name meridian condominiums what is number of floors?
SELECT COUNT(year) FROM table_name_48 WHERE rank = "31"
CREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR)
with rank of 31 what is the year?
SELECT date FROM table_name_78 WHERE visitor = "toronto"
CREATE TABLE table_name_78 (date VARCHAR, visitor VARCHAR)
What was the date of the match against the visiting team, Toronto?
SELECT home FROM table_name_56 WHERE date = "january 6"
CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR)
Who played the home team during the game on January 6?
SELECT record FROM table_name_88 WHERE visitor = "boston"
CREATE TABLE table_name_88 (record VARCHAR, visitor VARCHAR)
What was the cougars record during the game where Boston were the visitors?
SELECT MIN(drawn) FROM table_name_1 WHERE lost < 0
CREATE TABLE table_name_1 (drawn INTEGER, lost INTEGER)
What's the lowest Drawn that has a Lost that's less than 0?
SELECT SUM(lost) FROM table_name_23 WHERE games < 4
CREATE TABLE table_name_23 (lost INTEGER, games INTEGER)
What's the total Lost with Games that's less than 4?
SELECT SUM(games) FROM table_name_75 WHERE lost > 2 AND points < 0
CREATE TABLE table_name_75 (games INTEGER, lost VARCHAR, points VARCHAR)
What's the total of Games with a Lost that's larger than 2, and has Points that's smaller than 0?
SELECT AVG(lost) FROM table_name_19 WHERE drawn < 0
CREATE TABLE table_name_19 (lost INTEGER, drawn INTEGER)
What's the Lost average that has a Drawn less than 0?
SELECT record FROM table_name_93 WHERE opponent = "@ ottawa senators"
CREATE TABLE table_name_93 (record VARCHAR, opponent VARCHAR)
What record has @ ottawa senators as the opponent?
SELECT game FROM table_name_50 WHERE points = 28 AND opponent = "tampa bay lightning"
CREATE TABLE table_name_50 (game VARCHAR, points VARCHAR, opponent VARCHAR)
What game has 28 points, and tampa bay lightning as the opponent?
SELECT AVG(points) FROM table_name_17 WHERE december < 6 AND game > 26
CREATE TABLE table_name_17 (points INTEGER, december VARCHAR, game VARCHAR)
What is the average points that have a December less than 6, with a game greater than 26?
SELECT opponent FROM table_name_36 WHERE loss = "sele (0-1)"
CREATE TABLE table_name_36 (opponent VARCHAR, loss VARCHAR)
Who was the opponent at the game with a loss of Sele (0-1)?
SELECT AVG(points) FROM table_name_95 WHERE record = "42–16–8" AND march > 5
CREATE TABLE table_name_95 (points INTEGER, record VARCHAR, march VARCHAR)
Record of 42–16–8, and a March larger than 5 has what average points?
SELECT game FROM table_name_30 WHERE points < 96 AND record = "43–16–8"
CREATE TABLE table_name_30 (game VARCHAR, points VARCHAR, record VARCHAR)
Points smaller than 96, and a Record of 43–16–8 belongs to what game?
SELECT opponent FROM table_name_39 WHERE game < 70 AND record = "43–16–8"
CREATE TABLE table_name_39 (opponent VARCHAR, game VARCHAR, record VARCHAR)
Game smaller than 70, and a Record of 43–16–8 is what opponent?
SELECT score FROM table_name_95 WHERE record = "44–18–8"
CREATE TABLE table_name_95 (score VARCHAR, record VARCHAR)
Record of 44–18–8 involves which score?
SELECT college FROM table_name_44 WHERE player = "kellen davis"
CREATE TABLE table_name_44 (college VARCHAR, player VARCHAR)
Which college is Kellen Davis from?
SELECT round FROM table_name_30 WHERE position = "according to official website"
CREATE TABLE table_name_30 (round VARCHAR, position VARCHAR)
Which round's position is according to official website?
SELECT position FROM table_name_29 WHERE round = "3" AND pick = "70"
CREATE TABLE table_name_29 (position VARCHAR, round VARCHAR, pick VARCHAR)
Which position's round was 3 when pick was 70?
SELECT pick FROM table_name_40 WHERE round = "5" AND player = "kellen davis"
CREATE TABLE table_name_40 (pick VARCHAR, round VARCHAR, player VARCHAR)
Which pick's round was 5 when Kellen Davis was a player?
SELECT college FROM table_name_86 WHERE pick = "14"
CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR)
Which college's pick was 14?
SELECT SUM(rec) FROM table_name_95 WHERE average < 32 AND s_touchdown < 3 AND opponent = "oregon state"
CREATE TABLE table_name_95 (rec INTEGER, opponent VARCHAR, average VARCHAR, s_touchdown VARCHAR)
Which Rec has an Average smaller than 32, and a Touchdown smaller than 3, and an Opponent of oregon state?
SELECT AVG(rec) FROM table_name_52 WHERE yards = 192 AND s_touchdown < 1
CREATE TABLE table_name_52 (rec INTEGER, yards VARCHAR, s_touchdown VARCHAR)
Which rec has Yards of 192, and a Touchdown smaller than 1?
SELECT opponent FROM table_name_95 WHERE yards < 197 AND average < 32 AND year = 1966
CREATE TABLE table_name_95 (opponent VARCHAR, year VARCHAR, yards VARCHAR, average VARCHAR)
Which Opponent has Yards smaller than 197, and an Average smaller than 32, and a Year of 1966?
SELECT COUNT(s_touchdown) FROM table_name_57 WHERE rec = 10 AND opponent = "oregon state" AND average < 19.7
CREATE TABLE table_name_57 (s_touchdown VARCHAR, average VARCHAR, rec VARCHAR, opponent VARCHAR)
How many Touchdowns have a rec of 10, and an Opponent of oregon state, and an Average smaller than 19.7?
SELECT SUM(points) FROM table_name_2 WHERE opponent = "@ atlanta thrashers" AND game < 28
CREATE TABLE table_name_2 (points INTEGER, opponent VARCHAR, game VARCHAR)
Which Points have an Opponent of @ atlanta thrashers, and a Game smaller than 28?
SELECT COUNT(points) FROM table_name_98 WHERE game < 37 AND score = "2–3" AND december = 13
CREATE TABLE table_name_98 (points VARCHAR, december VARCHAR, game VARCHAR, score VARCHAR)
How many Points have a Game smaller than 37, and a Score of 2–3, and a December of 13?
SELECT MAX(game) FROM table_name_92 WHERE score = "3–2"
CREATE TABLE table_name_92 (game INTEGER, score VARCHAR)
Which Game is the highest one that has a Score of 3–2?
SELECT spans FROM table_name_73 WHERE built = "1896"
CREATE TABLE table_name_73 (spans VARCHAR, built VARCHAR)
What spans were built in 1896?
SELECT name FROM table_name_21 WHERE length__ft_ = 71
CREATE TABLE table_name_21 (name VARCHAR, length__ft_ VARCHAR)
Who has a length of 71 ft?
SELECT location FROM table_name_98 WHERE county = "rockingham"
CREATE TABLE table_name_98 (location VARCHAR, county VARCHAR)
Where was the county of rockingham?
SELECT propulsion FROM table_name_79 WHERE year < 1962 AND name = "rb 04"
CREATE TABLE table_name_79 (propulsion VARCHAR, year VARCHAR, name VARCHAR)
What is the propulsion for the RB 04 earlier than 1962?
SELECT name FROM table_name_96 WHERE propulsion = "turbojet" AND year > 1985 AND launched_by = "surface, sub"
CREATE TABLE table_name_96 (name VARCHAR, launched_by VARCHAR, propulsion VARCHAR, year VARCHAR)
What is the name of the anti-ship missile that had a turbojet propulsion that was launched by a surface, sub after 1985?
SELECT country FROM table_name_96 WHERE propulsion = "solid rocket"
CREATE TABLE table_name_96 (country VARCHAR, propulsion VARCHAR)
What country had an anti-ship missile that had a solid rocket propulsion?
SELECT COUNT(number_of_seats) FROM table_name_17 WHERE year = "2001" AND quantity > 4
CREATE TABLE table_name_17 (number_of_seats VARCHAR, year VARCHAR, quantity VARCHAR)
How many seats in 2001 with a quantity greater than 4?
SELECT make_and_model FROM table_name_67 WHERE fuel_propulsion = "diesel" AND floor_type = "high" AND bicycle_capacity† < 3 AND quantity = 4
CREATE TABLE table_name_67 (make_and_model VARCHAR, quantity VARCHAR, bicycle_capacity† VARCHAR, fuel_propulsion VARCHAR, floor_type VARCHAR)
What make and model of the diesel vehicle with a high floor type, bike capacity less than 3, and a quantity of 4?
SELECT score FROM table_name_91 WHERE opponent = "nashville predators"
CREATE TABLE table_name_91 (score VARCHAR, opponent VARCHAR)
What score has nashville predators as the opponent?
SELECT AVG(points) FROM table_name_36 WHERE december = 27
CREATE TABLE table_name_36 (points INTEGER, december VARCHAR)
What are the average points that have december 27?
SELECT record FROM table_name_1 WHERE points > 39 AND game = 38
CREATE TABLE table_name_1 (record VARCHAR, points VARCHAR, game VARCHAR)
What record has points greater than 39, with 38 as the game?
SELECT stuffit FROM table_name_75 WHERE gzip = "yes" AND iso_cd_image = "no" AND lha_lzh = "no"
CREATE TABLE table_name_75 (stuffit VARCHAR, lha_lzh VARCHAR, gzip VARCHAR, iso_cd_image VARCHAR)
What is the Stuffit ability that has a gzip of yes, ISO/CD images of no and LHA/LZH of no?
SELECT gzip FROM table_name_90 WHERE stuffit = "no" AND bzip2 = "no" AND lha_lzh = "no"
CREATE TABLE table_name_90 (gzip VARCHAR, lha_lzh VARCHAR, stuffit VARCHAR, bzip2 VARCHAR)
What is the gzip value associated with a stuffit of no, bzip2 of no, and LHA.LZH of no?
SELECT stuffit AS X FROM table_name_26 WHERE stuffit = "unknown" AND lha_lzh = "yes" AND iso_cd_image = "unknown"
CREATE TABLE table_name_26 (stuffit VARCHAR, iso_cd_image VARCHAR, lha_lzh VARCHAR)
What is the StuffitX value that has a Stuffit of unknown, LHA/LZH of yes, and unknown ISO/CD image?