answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MIN(pick__number) FROM table_name_98 WHERE college = "jackson state"
CREATE TABLE table_name_98 (pick__number INTEGER, college VARCHAR)
What is the lowest Pick #, when College is "Jackson State"?
SELECT pick__number FROM table_name_49 WHERE round = 10
CREATE TABLE table_name_49 (pick__number VARCHAR, round VARCHAR)
What is Pick #, when Round is "10"?
SELECT player FROM table_name_22 WHERE round > 8 AND pick__number > 234 AND college = "louisville"
CREATE TABLE table_name_22 (player VARCHAR, college VARCHAR, round VARCHAR, pick__number VARCHAR)
What is Player, when Round is greater than 8, when Pick # is greater than 234, and when College is "Louisville"?
SELECT AVG(round) FROM table_name_84 WHERE player = "gurnest brown" AND pick__number > 180
CREATE TABLE table_name_84 (round INTEGER, player VARCHAR, pick__number VARCHAR)
What is the average Round, when Player is "Gurnest Brown", and when Pick # is greater than 180?
SELECT MIN(pick__number) FROM table_name_6 WHERE college = "louisville" AND round < 10
CREATE TABLE table_name_6 (pick__number INTEGER, college VARCHAR, round VARCHAR)
What is the lowest Pick #, when College is "Louisville", and when Round is less than 10?
SELECT class FROM table_name_21 WHERE frequency_mhz > 91.7 AND call_sign = "k272ec"
CREATE TABLE table_name_21 (class VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
Which Class has a Frequency MHz larger than 91.7, and a Call sign of k272ec?
SELECT MAX(frequency_mhz) FROM table_name_35 WHERE call_sign = "k210dv"
CREATE TABLE table_name_35 (frequency_mhz INTEGER, call_sign VARCHAR)
Which Frequency MHz has a Call sign of k210dv?
SELECT city_of_license FROM table_name_22 WHERE frequency_mhz > 89.5 AND call_sign = "k213el"
CREATE TABLE table_name_22 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
Which City of license has a Frequency MHz larger than 89.5, and a Call sign of k213el?
SELECT erp_w FROM table_name_54 WHERE frequency_mhz > 89.1 AND city_of_license = "de queen, arkansas"
CREATE TABLE table_name_54 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
Which ERP W has a Frequency MHz larger than 89.1, and a City of license of de queen, arkansas?
SELECT fcc_info FROM table_name_65 WHERE city_of_license = "burley, idaho" AND frequency_mhz = 89.5
CREATE TABLE table_name_65 (fcc_info VARCHAR, city_of_license VARCHAR, frequency_mhz VARCHAR)
Which FCC info has a City of license of burley, idaho, and a Frequency MHz of 89.5?
SELECT score FROM table_name_42 WHERE surface = "clay" AND date = "31 july 2007"
CREATE TABLE table_name_42 (score VARCHAR, surface VARCHAR, date VARCHAR)
For the game played on 31 July 2007 on clay what was the score?
SELECT date FROM table_name_38 WHERE opponent = "pablo andújar"
CREATE TABLE table_name_38 (date VARCHAR, opponent VARCHAR)
When was Pablo Andújar the opponent?
SELECT decision FROM table_name_20 WHERE visitor = "buffalo"
CREATE TABLE table_name_20 (decision VARCHAR, visitor VARCHAR)
What is the decision when Buffalo was the visitor?
SELECT visitor FROM table_name_67 WHERE home = "minnesota"
CREATE TABLE table_name_67 (visitor VARCHAR, home VARCHAR)
Who is the visiting team when Minnesota is the home team?
SELECT date FROM table_name_75 WHERE home = "phoenix"
CREATE TABLE table_name_75 (date VARCHAR, home VARCHAR)
What is the date of the match when Phoenix is the home team?
SELECT player FROM table_name_38 WHERE position = "quarterback" AND college = "arkansas state"
CREATE TABLE table_name_38 (player VARCHAR, position VARCHAR, college VARCHAR)
Who is the quarterback for Arkansas State?
SELECT COUNT(round) FROM table_name_49 WHERE pick__number = 129
CREATE TABLE table_name_49 (round VARCHAR, pick__number VARCHAR)
What is the total round of the 129 pick?
SELECT record FROM table_name_37 WHERE date = "january 19"
CREATE TABLE table_name_37 (record VARCHAR, date VARCHAR)
What is the record for January 19?
SELECT record FROM table_name_75 WHERE score = "111-89"
CREATE TABLE table_name_75 (record VARCHAR, score VARCHAR)
What record has the score 111-89?
SELECT record FROM table_name_21 WHERE date = "january 7"
CREATE TABLE table_name_21 (record VARCHAR, date VARCHAR)
What is the record for January 7?
SELECT opponent FROM table_name_36 WHERE date = "january 7"
CREATE TABLE table_name_36 (opponent VARCHAR, date VARCHAR)
Who was the opponent on January 7?
SELECT home_team FROM table_name_60 WHERE score = "102-87"
CREATE TABLE table_name_60 (home_team VARCHAR, score VARCHAR)
What home team scored 102-87?
SELECT venue FROM table_name_1 WHERE score = "120-108"
CREATE TABLE table_name_1 (venue VARCHAR, score VARCHAR)
What venue had a Score of 120-108?
SELECT score FROM table_name_41 WHERE home_team = "sydney spirit"
CREATE TABLE table_name_41 (score VARCHAR, home_team VARCHAR)
What was the score when Sydney Spirit was the home team?
SELECT score FROM table_name_9 WHERE venue = "north shore events centre"
CREATE TABLE table_name_9 (score VARCHAR, venue VARCHAR)
What was the score at North Shore Events Centre?
SELECT venue FROM table_name_30 WHERE home_team = "new zealand breakers"
CREATE TABLE table_name_30 (venue VARCHAR, home_team VARCHAR)
What is the home team venue for the New Zealand Breakers?
SELECT decision FROM table_name_71 WHERE visitor = "detroit" AND home = "ottawa"
CREATE TABLE table_name_71 (decision VARCHAR, visitor VARCHAR, home VARCHAR)
Who had the decision when the visitor was Detroit and the home team was Ottawa?
SELECT score FROM table_name_97 WHERE date = "march 18"
CREATE TABLE table_name_97 (score VARCHAR, date VARCHAR)
What is the score on March 18?
SELECT high_points FROM table_name_61 WHERE date = "march 27"
CREATE TABLE table_name_61 (high_points VARCHAR, date VARCHAR)
Who had the highest points on March 27?
SELECT AVG(lead_margin) FROM table_name_86 WHERE dates_administered = "november 13-november 19, 2007"
CREATE TABLE table_name_86 (lead_margin INTEGER, dates_administered VARCHAR)
Name the average Lead Margin on november 13-november 19, 2007?
SELECT COUNT(attendance) FROM table_name_66 WHERE week = 15
CREATE TABLE table_name_66 (attendance VARCHAR, week VARCHAR)
For week 15, what was the total number of attendance recorded?
SELECT score FROM table_name_66 WHERE home_team = "king's lynn"
CREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR)
what is the score when the home team is king's lynn?
SELECT home_team FROM table_name_17 WHERE away_team = "frickley colliery"
CREATE TABLE table_name_17 (home_team VARCHAR, away_team VARCHAR)
what is the home team when the away team is frickley colliery?
SELECT tie_no FROM table_name_65 WHERE date = "24 november 1971" AND away_team = "king's lynn"
CREATE TABLE table_name_65 (tie_no VARCHAR, date VARCHAR, away_team VARCHAR)
what is the tie no, on 24 november 1971 and the away team is king's lynn?
SELECT longitude FROM table_name_27 WHERE latitude = "61.0s"
CREATE TABLE table_name_27 (longitude VARCHAR, latitude VARCHAR)
What is the Longitude of the 61.0s Latitude?
SELECT name FROM table_name_6 WHERE longitude = "213.0e"
CREATE TABLE table_name_6 (name VARCHAR, longitude VARCHAR)
What name has a longitude of 213.0e?
SELECT type FROM table_name_57 WHERE manufacturer = "unknown"
CREATE TABLE table_name_57 (type VARCHAR, manufacturer VARCHAR)
Which type had an unknown manufacturer?
SELECT name FROM table_name_30 WHERE themed_area = "dreamworks experience" AND manufacturer = "ferrari"
CREATE TABLE table_name_30 (name VARCHAR, themed_area VARCHAR, manufacturer VARCHAR)
What is the name of the dreamworks experience from Ferrari?
SELECT type FROM table_name_12 WHERE opened = "1982"
CREATE TABLE table_name_12 (type VARCHAR, opened VARCHAR)
Which type opened in 1982?
SELECT themed_area FROM table_name_35 WHERE type = "animal show" AND opened = "2010"
CREATE TABLE table_name_35 (themed_area VARCHAR, type VARCHAR, opened VARCHAR)
What themed area opened in 2010 as an animal show?
SELECT visitor FROM table_name_23 WHERE home = "minnesota"
CREATE TABLE table_name_23 (visitor VARCHAR, home VARCHAR)
Which visitor lives in Minnesota?
SELECT score FROM table_name_2 WHERE date = "november 21"
CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR)
What was the score on november 21?
SELECT lead FROM table_name_70 WHERE second = "cathrine norberg" AND third = "anna rindeskog"
CREATE TABLE table_name_70 (lead VARCHAR, second VARCHAR, third VARCHAR)
Who has the lead in the season where Cathrine Norberg is second and Anna Rindeskog is third?
SELECT score FROM table_name_96 WHERE game = 21
CREATE TABLE table_name_96 (score VARCHAR, game VARCHAR)
What is the score of game 21?
SELECT score FROM table_name_81 WHERE date = "december 22"
CREATE TABLE table_name_81 (score VARCHAR, date VARCHAR)
What is the score of the game on December 22?
SELECT record FROM table_name_65 WHERE game > 24
CREATE TABLE table_name_65 (record VARCHAR, game INTEGER)
What is the record when the game is greater than 24?
SELECT MAX(market_value__billion_) AS $_ FROM table_name_99 WHERE rank = "02 2" AND sales__billion_$_ > 113.1
CREATE TABLE table_name_99 (market_value__billion_ INTEGER, rank VARCHAR, sales__billion_$_ VARCHAR)
What is the highest Market Value (billion $), when Rank is 02 2, and when Sales (billion $) is greater than 113.1?
SELECT rank FROM table_name_14 WHERE headquarters = "united kingdom" AND sales__billion_$_ = 370.9
CREATE TABLE table_name_14 (rank VARCHAR, headquarters VARCHAR, sales__billion_$_ VARCHAR)
What is Rank, when Headquarters is United Kingdom, and when Sales (billion $) is 370.9?
SELECT MIN(profits__billion_) AS $_ FROM table_name_83 WHERE market_value__billion_$_ < 201.3 AND headquarters = "united states" AND company = "jpmorgan chase"
CREATE TABLE table_name_83 (profits__billion_ INTEGER, company VARCHAR, market_value__billion_$_ VARCHAR, headquarters VARCHAR)
What is the lowest Profits (billion $), when Market Value (billion $) is less than 201.3, when Headquarters is United States, and when Company is JPMorgan Chase?
SELECT status FROM table_name_60 WHERE area_km_2 > 5.2 AND census_ranking = "2,531 of 5,008"
CREATE TABLE table_name_60 (status VARCHAR, area_km_2 VARCHAR, census_ranking VARCHAR)
What is the status of the community that has an area larger than 5.2 sq km, and a Census Ranking of 2,531 of 5,008?
SELECT population FROM table_name_62 WHERE official_name = "saint-andré"
CREATE TABLE table_name_62 (population VARCHAR, official_name VARCHAR)
What is saint-andré's population?
SELECT result FROM table_name_57 WHERE week = 12
CREATE TABLE table_name_57 (result VARCHAR, week VARCHAR)
what's the results of week 12?
SELECT opponent FROM table_name_5 WHERE attendance = "76,202"
CREATE TABLE table_name_5 (opponent VARCHAR, attendance VARCHAR)
What opponent has 76,202 attendance ?
SELECT fis_nordic_world_ski_championships FROM table_name_93 WHERE winter_olympics = 1968
CREATE TABLE table_name_93 (fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR)
What is the FIS Nordic World Ski Championship years when the winter Olympics took place in 1968?
SELECT country FROM table_name_26 WHERE fis_nordic_world_ski_championships < 1989 AND winter_olympics < 1980 AND holmenkollen = "1956"
CREATE TABLE table_name_26 (country VARCHAR, holmenkollen VARCHAR, fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR)
Which country has a FIS Nordic World Ski Championship before 1989, was in the winter Olympics before 1980, and has a Holmenkollen of 1956?
SELECT COUNT(laps) FROM table_name_87 WHERE grid < 2
CREATE TABLE table_name_87 (laps VARCHAR, grid INTEGER)
When the Grids is less than 2 what are the total laps?
SELECT player FROM table_name_93 WHERE to_par = "–4"
CREATE TABLE table_name_93 (player VARCHAR, to_par VARCHAR)
Which Player has a To par of –4?
SELECT place FROM table_name_63 WHERE score > 68 AND player = "david ogrin"
CREATE TABLE table_name_63 (place VARCHAR, score VARCHAR, player VARCHAR)
Which Place has a Score larger than 68, and a Player of david ogrin?
SELECT player FROM table_name_31 WHERE place = "t2"
CREATE TABLE table_name_31 (player VARCHAR, place VARCHAR)
Which Player has a Place of t2?
SELECT event FROM table_name_98 WHERE method = "dq (eye gouging)"
CREATE TABLE table_name_98 (event VARCHAR, method VARCHAR)
What event did Mikhail Avetisyan win by method of DQ (eye gouging)?
SELECT khtml FROM table_name_11 WHERE gecko = "font"
CREATE TABLE table_name_11 (khtml VARCHAR, gecko VARCHAR)
For the item that has a Gecko of 'font', what is the KHTML value?
SELECT prince_xml FROM table_name_63 WHERE gecko = "no" AND webkit = "nightly build"
CREATE TABLE table_name_63 (prince_xml VARCHAR, gecko VARCHAR, webkit VARCHAR)
What is the Prince XML value for the engine that has a Gecko value of 'no' and webkit value of 'nightly build'?
SELECT gecko FROM table_name_34 WHERE trident = "font"
CREATE TABLE table_name_34 (gecko VARCHAR, trident VARCHAR)
What is the Gecko value for the item that has a Trident value of 'font'?
SELECT gecko FROM table_name_6 WHERE prince_xml = "yes" AND khtml = "yes"
CREATE TABLE table_name_6 (gecko VARCHAR, prince_xml VARCHAR, khtml VARCHAR)
What is the Gecko value for the item that has a Prince XML value of 'no' and a KHTML value of 'yes'?
SELECT trident FROM table_name_57 WHERE gecko = "19.0"
CREATE TABLE table_name_57 (trident VARCHAR, gecko VARCHAR)
Which Trident version has a Gecko value of 19.0?
SELECT webkit FROM table_name_71 WHERE prince_xml = "font"
CREATE TABLE table_name_71 (webkit VARCHAR, prince_xml VARCHAR)
For the item with a Prince XML value of 'font', what is the WebKit value?
SELECT AVG(played) FROM table_name_55 WHERE team = "cerro corá" AND losses > 4
CREATE TABLE table_name_55 (played INTEGER, team VARCHAR, losses VARCHAR)
Which Played has a Team of cerro corá, and Losses larger than 4?
SELECT AVG(losses) FROM table_name_87 WHERE scored = 9 AND points > 8
CREATE TABLE table_name_87 (losses INTEGER, scored VARCHAR, points VARCHAR)
Which Losses has Scored of 9, and Points larger than 8?
SELECT COUNT(podium) FROM table_name_42 WHERE race = 14 AND flap > 1
CREATE TABLE table_name_42 (podium VARCHAR, race VARCHAR, flap VARCHAR)
On Race 14 when the FLap is larger than 1, what is the podium number?
SELECT pole FROM table_name_95 WHERE flap < 15 AND podium > 11
CREATE TABLE table_name_95 (pole VARCHAR, flap VARCHAR, podium VARCHAR)
When the Flap is less than 15 and the podium is larger than 11, what is the pole?
SELECT flap FROM table_name_79 WHERE pole > 0 AND podium < 44 AND race < 16
CREATE TABLE table_name_79 (flap VARCHAR, race VARCHAR, pole VARCHAR, podium VARCHAR)
When the pole is larger than 0 and the podium is less than 44, with a race number less than 16, what is the FLap?
SELECT AVG(week) FROM table_name_16 WHERE opponent = "minnesota vikings"
CREATE TABLE table_name_16 (week INTEGER, opponent VARCHAR)
What is the average Week, when Opponent is Minnesota Vikings?
SELECT opponent FROM table_name_19 WHERE attendance = "58,836"
CREATE TABLE table_name_19 (opponent VARCHAR, attendance VARCHAR)
What is Opponent, when Attendance is 58,836?
SELECT engine FROM table_name_27 WHERE points = "47" AND tyres = "f" AND entrant = "rob walker racing team"
CREATE TABLE table_name_27 (engine VARCHAR, entrant VARCHAR, points VARCHAR, tyres VARCHAR)
Which engine of Rob Walker Racing Team has 47 points and F tyres?
SELECT entrant FROM table_name_66 WHERE points = "49" AND chassis = "mclaren m7a"
CREATE TABLE table_name_66 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)
Which entrant has 49 points and a Mclaren M7A chassis?
SELECT points FROM table_name_37 WHERE entrant = "bob gerard racing" AND year = 1965
CREATE TABLE table_name_37 (points VARCHAR, entrant VARCHAR, year VARCHAR)
How many points did Bob Gerard Racing have in 1965?
SELECT entrant FROM table_name_12 WHERE year < 1965 AND chassis = "brabham bt10"
CREATE TABLE table_name_12 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
Which entrant had a Brabham BT10 chassis before 1965?
SELECT attendance FROM table_name_53 WHERE date = "september 28, 1997"
CREATE TABLE table_name_53 (attendance VARCHAR, date VARCHAR)
What is the Attendance on September 28, 1997?
SELECT opponent FROM table_name_15 WHERE date = "august 31, 1997"
CREATE TABLE table_name_15 (opponent VARCHAR, date VARCHAR)
What was the Opponent on August 31, 1997?
SELECT attendance FROM table_name_34 WHERE week = 10
CREATE TABLE table_name_34 (attendance VARCHAR, week VARCHAR)
What was the Attendance on Week 10?
SELECT SUM(points) FROM table_name_11 WHERE home = "pittsburgh" AND score = "1–7"
CREATE TABLE table_name_11 (points INTEGER, home VARCHAR, score VARCHAR)
How many Points have a Home of pittsburgh, and a Score of 1–7?
SELECT date FROM table_name_49 WHERE record = "7–7–1"
CREATE TABLE table_name_49 (date VARCHAR, record VARCHAR)
Which Date has a Record of 7–7–1?
SELECT date FROM table_name_92 WHERE record = "11–10–2"
CREATE TABLE table_name_92 (date VARCHAR, record VARCHAR)
Which Date has a Record of 11–10–2?
SELECT position FROM table_name_14 WHERE podiums = "3" AND f_laps = "4"
CREATE TABLE table_name_14 (position VARCHAR, podiums VARCHAR, f_laps VARCHAR)
Which position had 3 podiums and F/laps of 4?
SELECT races FROM table_name_19 WHERE poles = "0" AND team = "asm"
CREATE TABLE table_name_19 (races VARCHAR, poles VARCHAR, team VARCHAR)
What is the number of races associated with Team ASM and 0 poles?
SELECT team FROM table_name_44 WHERE races = "1" AND f_laps = "1" AND series = "24 hours of nurburgring"
CREATE TABLE table_name_44 (team VARCHAR, series VARCHAR, races VARCHAR, f_laps VARCHAR)
Which team had 1 race, 1 F/lap and in the series 24 hours of Nurburgring?
SELECT podiums FROM table_name_89 WHERE wins = "4"
CREATE TABLE table_name_89 (podiums VARCHAR, wins VARCHAR)
What is the number of podiums associated with 4 wins?
SELECT races FROM table_name_93 WHERE position = "4th" AND podiums = "7"
CREATE TABLE table_name_93 (races VARCHAR, position VARCHAR, podiums VARCHAR)
What is the number of races associated with 7 podiums and a position of 4th?
SELECT f_laps FROM table_name_97 WHERE position = "3rd"
CREATE TABLE table_name_97 (f_laps VARCHAR, position VARCHAR)
What is the F/Laps value associated with a position of 3rd?
SELECT opponent FROM table_name_72 WHERE time = "0:20"
CREATE TABLE table_name_72 (opponent VARCHAR, time VARCHAR)
Can you tell me the Opponent that has the Time of 0:20?
SELECT time FROM table_name_75 WHERE opponent = "phil baroni"
CREATE TABLE table_name_75 (time VARCHAR, opponent VARCHAR)
Can you tell me the Time that has the Opponent of phil baroni?
SELECT MIN(round) FROM table_name_6 WHERE location = "indiana, united states" AND method = "submission (guillotine choke)"
CREATE TABLE table_name_6 (round INTEGER, location VARCHAR, method VARCHAR)
Can you tell me the lowest Round that has the Location of indiana, united states, and the Method of submission (guillotine choke)?
SELECT built FROM table_name_9 WHERE location = "la vista"
CREATE TABLE table_name_9 (built VARCHAR, location VARCHAR)
When was la vista built?
SELECT built FROM table_name_61 WHERE name = "sargent bridge"
CREATE TABLE table_name_61 (built VARCHAR, name VARCHAR)
When was the sargent bridge built?
SELECT location FROM table_name_64 WHERE county = "platte"
CREATE TABLE table_name_64 (location VARCHAR, county VARCHAR)
What's the location for the country of platte?
SELECT listed FROM table_name_79 WHERE county = "nuckolls"
CREATE TABLE table_name_79 (listed VARCHAR, county VARCHAR)
what is the listing date for nuckolls county?
SELECT listed FROM table_name_83 WHERE county = "antelope" AND location = "royal" AND name = "verdigris creek bridge"
CREATE TABLE table_name_83 (listed VARCHAR, name VARCHAR, county VARCHAR, location VARCHAR)
what's the listing date for the verdigris creek bridge in royal of antelope county?
SELECT county FROM table_name_36 WHERE listed = "1992-06-29" AND name = "republican river bridge"
CREATE TABLE table_name_36 (county VARCHAR, listed VARCHAR, name VARCHAR)
what's the county name for the republican river bridge listed on 1992-06-29?
SELECT to_par FROM table_name_26 WHERE place = "t10" AND score = 72 - 74 - 71 - 69 = 286
CREATE TABLE table_name_26 (to_par VARCHAR, place VARCHAR, score VARCHAR)
what is the to par when the place is t10 and the score is 72-74-71-69=286?
SELECT to_par FROM table_name_80 WHERE player = "hale irwin"
CREATE TABLE table_name_80 (to_par VARCHAR, player VARCHAR)
what is the to par when the player is hale irwin?