answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT gaelic_name FROM table_name_63 WHERE area___ha__ < 127 AND location = "kintyre"
CREATE TABLE table_name_63 (gaelic_name VARCHAR, area___ha__ VARCHAR, location VARCHAR)
What is the Gaelic name for an area less than 127 in Kintyre?
SELECT score FROM table_name_42 WHERE date = "7 february 2008"
CREATE TABLE table_name_42 (score VARCHAR, date VARCHAR)
What was the score on 7 february 2008?
SELECT outcome FROM table_name_80 WHERE date = "13 may 2007"
CREATE TABLE table_name_80 (outcome VARCHAR, date VARCHAR)
What was the outcome on 13 may 2007?
SELECT score FROM table_name_82 WHERE date = "3 may 2009"
CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR)
What was the score on 3 may 2009?
SELECT score FROM table_name_81 WHERE venue = "jalan besar, singapore"
CREATE TABLE table_name_81 (score VARCHAR, venue VARCHAR)
Name the score for venue of jalan besar, singapore
SELECT score FROM table_name_97 WHERE date = "2 june 2008"
CREATE TABLE table_name_97 (score VARCHAR, date VARCHAR)
Name the score for 2 june 2008
SELECT opponent FROM table_name_33 WHERE game = 63
CREATE TABLE table_name_33 (opponent VARCHAR, game VARCHAR)
Which Opponent has a Game of 63?
SELECT record FROM table_name_30 WHERE score = "1–4"
CREATE TABLE table_name_30 (record VARCHAR, score VARCHAR)
which Record has a Score of 1–4?
SELECT record FROM table_name_81 WHERE points < 62 AND february > 16 AND score = "8–7"
CREATE TABLE table_name_81 (record VARCHAR, score VARCHAR, points VARCHAR, february VARCHAR)
Which Record has a Points smaller than 62 and a February larger than 16, and a Score of 8–7?
SELECT COUNT(number_of_issues) FROM table_name_60 WHERE end_month = "oct-80"
CREATE TABLE table_name_60 (number_of_issues VARCHAR, end_month VARCHAR)
What is the total number of Issues has a End month of oct-80?
SELECT indicia FROM table_name_52 WHERE end_month = "feb-75"
CREATE TABLE table_name_52 (indicia VARCHAR, end_month VARCHAR)
Which Indicia has anEnd month in feb-75?
SELECT haat FROM table_name_17 WHERE channels_tv___rf = "31 (psip) 44 (uhf)"
CREATE TABLE table_name_17 (haat VARCHAR, channels_tv___rf VARCHAR)
Which HAAT has a Channels TV / RF of 31 (psip) 44 (uhf)
SELECT city_of_license FROM table_name_4 WHERE channels_tv___rf = "67 ( psip ) 29 ( uhf )"
CREATE TABLE table_name_4 (city_of_license VARCHAR, channels_tv___rf VARCHAR)
Which City of license has a Channels TV / RF of 67 ( psip ) 29 ( uhf )
SELECT station FROM table_name_28 WHERE city_of_license = "hagerstown"
CREATE TABLE table_name_28 (station VARCHAR, city_of_license VARCHAR)
Which Station has hagerstown?
SELECT haat FROM table_name_34 WHERE facility_id = 65944
CREATE TABLE table_name_34 (haat VARCHAR, facility_id VARCHAR)
Which HAAT has 65944?
SELECT city_of_license FROM table_name_3 WHERE channels_tv___rf = "36 (psip) 36 (uhf)"
CREATE TABLE table_name_3 (city_of_license VARCHAR, channels_tv___rf VARCHAR)
Which City of license has a Channels TV / RF of 36 (psip) 36 (uhf)? Question 5
SELECT format FROM table_name_8 WHERE date = "october 29, 2004"
CREATE TABLE table_name_8 (format VARCHAR, date VARCHAR)
What format is dated October 29, 2004?
SELECT date FROM table_name_59 WHERE catalogue__number = "ptcd-1015-6"
CREATE TABLE table_name_59 (date VARCHAR, catalogue__number VARCHAR)
What is the date with the catalogue number ptcd-1015-6?
SELECT label FROM table_name_73 WHERE date = "december 2004"
CREATE TABLE table_name_73 (label VARCHAR, date VARCHAR)
What is the label for December 2004?
SELECT date FROM table_name_21 WHERE label = "hydra head records" AND format = "cd"
CREATE TABLE table_name_21 (date VARCHAR, label VARCHAR, format VARCHAR)
What is the date for Hydra Head Records with a CD format?
SELECT country FROM table_name_96 WHERE label = "hydra head records" AND date = "february 2005"
CREATE TABLE table_name_96 (country VARCHAR, label VARCHAR, date VARCHAR)
Which country has Hydra Head Records on February 2005?
SELECT country FROM table_name_97 WHERE format = "2lp" AND label = "hydra head records"
CREATE TABLE table_name_97 (country VARCHAR, format VARCHAR, label VARCHAR)
Which country has Hydra Head Records with a 2lp format?
SELECT jockey FROM table_name_44 WHERE horse = "mad rush"
CREATE TABLE table_name_44 (jockey VARCHAR, horse VARCHAR)
Who rode mad rush?
SELECT placing FROM table_name_35 WHERE weight__kg_ < 54 AND barrier_[b_] = "20"
CREATE TABLE table_name_35 (placing VARCHAR, weight__kg_ VARCHAR, barrier_ VARCHAR, b_ VARCHAR)
What place was the horse with a barrier of 20 and weighing less than 54 kg
SELECT placing FROM table_name_13 WHERE horse = "viewed"
CREATE TABLE table_name_13 (placing VARCHAR, horse VARCHAR)
What place was the viewed horse?
SELECT AVG(wins) FROM table_name_17 WHERE top_10 < 5 AND winnings = "$39,190" AND starts < 2
CREATE TABLE table_name_17 (wins INTEGER, starts VARCHAR, top_10 VARCHAR, winnings VARCHAR)
What is the average number of wins of the year with less than 5 top 10s, a winning of $39,190 and less than 2 starts?
SELECT MAX(poles) FROM table_name_81 WHERE starts > 18 AND winnings = "$125,102" AND year < 1992
CREATE TABLE table_name_81 (poles INTEGER, year VARCHAR, starts VARCHAR, winnings VARCHAR)
What is the highest number of poles of the year before 1992 with more than 18 starts and winnings of $125,102?
SELECT theatre FROM table_name_5 WHERE author = "stanisław wyspiański" AND year = 1969
CREATE TABLE table_name_5 (theatre VARCHAR, author VARCHAR, year VARCHAR)
Author of stanisław wyspiański, and a Year of 1969 happened in what theatre?
SELECT game FROM table_name_54 WHERE opponent = "new jersey devils"
CREATE TABLE table_name_54 (game VARCHAR, opponent VARCHAR)
Which game did New Jersey Devils played in?
SELECT score FROM table_name_92 WHERE record = "21-25-7-4"
CREATE TABLE table_name_92 (score VARCHAR, record VARCHAR)
What score has a record of 21-25-7-4?
SELECT score FROM table_name_9 WHERE record = "22-28-7-4"
CREATE TABLE table_name_9 (score VARCHAR, record VARCHAR)
What score has a record of 22-28-7-4?
SELECT group FROM table_name_82 WHERE distance = "1200 m"
CREATE TABLE table_name_82 (group VARCHAR, distance VARCHAR)
What group has 1200 m as the distance?
SELECT venue FROM table_name_45 WHERE group = "g1"
CREATE TABLE table_name_45 (venue VARCHAR, group VARCHAR)
What venue has g1 as the group?
SELECT MAX(points) FROM table_name_56 WHERE team = "tacuary" AND losses < 4
CREATE TABLE table_name_56 (points INTEGER, team VARCHAR, losses VARCHAR)
What's the highest Points with the Team of Tacuary, and has Losses that's smaller than 4?
SELECT SUM(losses) FROM table_name_15 WHERE scored > 15 AND points > 16 AND played > 9
CREATE TABLE table_name_15 (losses INTEGER, played VARCHAR, scored VARCHAR, points VARCHAR)
What's the sum of Losses that Scored larger than 15, has Points that's larger than 16, and Played that's larger than 9?
SELECT MAX(played) FROM table_name_80 WHERE scored = 15 AND draws < 1
CREATE TABLE table_name_80 (played INTEGER, scored VARCHAR, draws VARCHAR)
What's the highest Played with a Scored of 15, and Draws that's less than 1?
SELECT SUM(wins) FROM table_name_82 WHERE draws > 1 AND losses < 4 AND conceded = 20
CREATE TABLE table_name_82 (wins INTEGER, conceded VARCHAR, draws VARCHAR, losses VARCHAR)
What's the sum of WIns with Draws that's larger than 1, Losses that's smaller than 4, and Conceded of 20?
SELECT MIN(position) FROM table_name_6 WHERE conceded > 16 AND draws = 3 AND losses > 3
CREATE TABLE table_name_6 (position INTEGER, losses VARCHAR, conceded VARCHAR, draws VARCHAR)
What's the lowest Position with a Conceded that's larger than 16, Draws of 3, and Losses that's larger than 3?
SELECT processors_supported FROM table_name_82 WHERE pci_express = "x16: 1 slot x1: 4 slots" AND model = "nforce 550"
CREATE TABLE table_name_82 (processors_supported VARCHAR, pci_express VARCHAR, model VARCHAR)
Which processors are supported with a PCI-express of x16: 1 slot x1: 4 slots and the nforce 550 model?
SELECT processors_supported FROM table_name_91 WHERE memory = "ddr2" AND model = "nforce 550"
CREATE TABLE table_name_91 (processors_supported VARCHAR, memory VARCHAR, model VARCHAR)
What are the processors supported by a ddr2 memory and the nforce 550 model?
SELECT pci_express FROM table_name_80 WHERE memory = "ddr2" AND model = "nforce 520"
CREATE TABLE table_name_80 (pci_express VARCHAR, memory VARCHAR, model VARCHAR)
What is the PCI-express with a ddr2 memory and a nforce 520 model?
SELECT russian FROM table_name_14 WHERE us_customary = "4.16 fl. oz."
CREATE TABLE table_name_14 (russian VARCHAR, us_customary VARCHAR)
What is the Russian word for wine glass that contains 4.16 fl. oz.?
SELECT imperial FROM table_name_11 WHERE ratio = "1/20"
CREATE TABLE table_name_11 (imperial VARCHAR, ratio VARCHAR)
What are the imperial size for the unit that has a ratio of 1/20?
SELECT metric_value FROM table_name_54 WHERE ratio = "1/20"
CREATE TABLE table_name_54 (metric_value VARCHAR, ratio VARCHAR)
How big in metric terms is the unit that has a ratio of 1/20?
SELECT us_customary FROM table_name_33 WHERE unit = "butylka (vodochnaya)"
CREATE TABLE table_name_33 (us_customary VARCHAR, unit VARCHAR)
How large in US customary terms is the unit called butylka (vodochnaya)?
SELECT translation FROM table_name_81 WHERE unit = "chetvert"
CREATE TABLE table_name_81 (translation VARCHAR, unit VARCHAR)
What is the translation of chetvert?
SELECT russian FROM table_name_34 WHERE translation = "bucket"
CREATE TABLE table_name_34 (russian VARCHAR, translation VARCHAR)
What Russian word translates to bucket?
SELECT MIN(matches) FROM table_name_44 WHERE points > 6 AND results = "522:443"
CREATE TABLE table_name_44 (matches INTEGER, points VARCHAR, results VARCHAR)
Points larger than 6, and a Results of 522:443 had what lowest matches?
SELECT MAX(matches) FROM table_name_75 WHERE loses = 2 AND pos < 2
CREATE TABLE table_name_75 (matches INTEGER, loses VARCHAR, pos VARCHAR)
Loses of 2, and a Pos. smaller than 2 had how many highest matches?
SELECT outcome FROM table_name_49 WHERE surface = "clay" AND date = "2 may 2009"
CREATE TABLE table_name_49 (outcome VARCHAR, surface VARCHAR, date VARCHAR)
What was the outcome when the game was played on clay and on 2 May 2009?
SELECT opponent FROM table_name_42 WHERE surface = "hard"
CREATE TABLE table_name_42 (opponent VARCHAR, surface VARCHAR)
What person was played against when the playing surface was hard?
SELECT opponent FROM table_name_69 WHERE surface = "clay" AND score = "6–3, 2–6, [10–8]"
CREATE TABLE table_name_69 (opponent VARCHAR, surface VARCHAR, score VARCHAR)
With the score of 6–3, 2–6, [10–8] and played on clay who was the opponent?
SELECT COUNT(rank) FROM table_name_57 WHERE location = "pigeon forge, tennessee" AND category = "best food"
CREATE TABLE table_name_57 (rank VARCHAR, location VARCHAR, category VARCHAR)
What is the rank of the park in pigeon forge, tennessee in the best food category?
SELECT name FROM table_name_79 WHERE city = "shenzhen" AND completion < 2017 AND floors < 115
CREATE TABLE table_name_79 (name VARCHAR, floors VARCHAR, city VARCHAR, completion VARCHAR)
What building is in Shenzhen, have less than 115 floors, and was completed before 2017?
SELECT MIN(year) FROM table_name_21 WHERE length = "11:25"
CREATE TABLE table_name_21 (year INTEGER, length VARCHAR)
What is the earliest year having a length of 11:25?
SELECT AVG(year) FROM table_name_11 WHERE version = "wolf mix"
CREATE TABLE table_name_11 (year INTEGER, version VARCHAR)
What year had a version called Wolf Mix?
SELECT nfl_team FROM table_name_30 WHERE draft_year = 1978
CREATE TABLE table_name_30 (nfl_team VARCHAR, draft_year VARCHAR)
In 1978 what is the NFL team?
SELECT opponent FROM table_name_87 WHERE attendance = "64,002"
CREATE TABLE table_name_87 (opponent VARCHAR, attendance VARCHAR)
Who was the opponent with attendance at 64,002?
SELECT MAX(week) FROM table_name_96 WHERE attendance = "84,856"
CREATE TABLE table_name_96 (week INTEGER, attendance VARCHAR)
What was the highest week with 84,856 in attendance?
SELECT record FROM table_name_69 WHERE week < 13 AND date = "november 9, 2003"
CREATE TABLE table_name_69 (record VARCHAR, week VARCHAR, date VARCHAR)
What was the record in a week less than 13 on November 9, 2003?
SELECT date FROM table_name_43 WHERE result = "w 20-17"
CREATE TABLE table_name_43 (date VARCHAR, result VARCHAR)
On what date was the result w 20-17?
SELECT attendance FROM table_name_52 WHERE record = "2-0"
CREATE TABLE table_name_52 (attendance VARCHAR, record VARCHAR)
What was the attendance for record 2-0?
SELECT date FROM table_name_40 WHERE game_site = "lincoln financial field"
CREATE TABLE table_name_40 (date VARCHAR, game_site VARCHAR)
On what date was the game at Lincoln Financial Field?
SELECT player FROM table_name_58 WHERE pick = 175
CREATE TABLE table_name_58 (player VARCHAR, pick VARCHAR)
Which player has a pick of 175?
SELECT MIN(pick) FROM table_name_69 WHERE player = "zack jordan" AND round < 28
CREATE TABLE table_name_69 (pick INTEGER, player VARCHAR, round VARCHAR)
Zack Jordan has the lowest pick and a round of less than 28?
SELECT SUM(pick) FROM table_name_24 WHERE player = "roger zatkoff"
CREATE TABLE table_name_24 (pick INTEGER, player VARCHAR)
What is the sum of the pick for player roger zatkoff?
SELECT metal FROM table_name_56 WHERE size = "26mm (across scallops)"
CREATE TABLE table_name_56 (metal VARCHAR, size VARCHAR)
Which metal has a size that is 26mm (across scallops)?
SELECT weight FROM table_name_92 WHERE shape = "scalloped" AND size = "20mm (across scallops)"
CREATE TABLE table_name_92 (weight VARCHAR, shape VARCHAR, size VARCHAR)
What is the weight with the shape of scalloped, and that is a size of 20mm (across scallops)?
SELECT weight FROM table_name_41 WHERE denomination = "three paise"
CREATE TABLE table_name_41 (weight VARCHAR, denomination VARCHAR)
What is the weight with a denomination that is three paise?
SELECT weight FROM table_name_53 WHERE denomination = "ten paise"
CREATE TABLE table_name_53 (weight VARCHAR, denomination VARCHAR)
What is the weight with a denomination that is ten paise?
SELECT MAX(drawn) FROM table_name_86 WHERE games < 7
CREATE TABLE table_name_86 (drawn INTEGER, games INTEGER)
What is the highest number of games drawn, where the games played was less than 7?
SELECT MIN(october) FROM table_name_38 WHERE opponent = "washington capitals"
CREATE TABLE table_name_38 (october INTEGER, opponent VARCHAR)
Which October is the lowest one that has an Opponent of washington capitals?
SELECT score FROM table_name_17 WHERE game > 7 AND points < 14
CREATE TABLE table_name_17 (score VARCHAR, game VARCHAR, points VARCHAR)
Which Score has a Game larger than 7, and Points smaller than 14?
SELECT SUM(points) FROM table_name_77 WHERE opponent = "@ calgary flames"
CREATE TABLE table_name_77 (points INTEGER, opponent VARCHAR)
How many Points have an Opponent of @ calgary flames?
SELECT AVG(events) FROM table_name_50 WHERE rank = 1 AND wins > 3
CREATE TABLE table_name_50 (events INTEGER, rank VARCHAR, wins VARCHAR)
What is the mean number of events where the rank is 1 and there are more than 3 wins?
SELECT supercopa_1994 FROM table_name_10 WHERE team = "estudiantes"
CREATE TABLE table_name_10 (supercopa_1994 VARCHAR, team VARCHAR)
Which Supercopa 1994 has a Team of estudiantes?
SELECT conmebol_1994 FROM table_name_12 WHERE supercopa_1994 = "n/a" AND recopa_1994 = "n/a" AND team = "san lorenzo"
CREATE TABLE table_name_12 (conmebol_1994 VARCHAR, team VARCHAR, supercopa_1994 VARCHAR, recopa_1994 VARCHAR)
Which CONMEBOL 1994 has a Supercopa 1994 of n/a, and a Recopa 1994 of n/a, and a Team of san lorenzo?
SELECT recopa_1994 FROM table_name_54 WHERE supercopa_1994 = "1st round" AND team = "argentinos juniors"
CREATE TABLE table_name_54 (recopa_1994 VARCHAR, supercopa_1994 VARCHAR, team VARCHAR)
Which Recopa 1994 has a Supercopa 1994 of 1st round, and a Team of argentinos juniors?
SELECT team FROM table_name_92 WHERE recopa_1994 = "n/a" AND conmebol_1994 = "1st round"
CREATE TABLE table_name_92 (team VARCHAR, recopa_1994 VARCHAR, conmebol_1994 VARCHAR)
Which Team has a Recopa 1994 of n/a and a CONMEBOL 1994 of 1st round?
SELECT other FROM table_name_90 WHERE green = 0 AND independent = 1 AND labour < 45 AND control = "labour lose to no overall control"
CREATE TABLE table_name_90 (other VARCHAR, control VARCHAR, labour VARCHAR, green VARCHAR, independent VARCHAR)
Which Other has a Green of 0, and an Independent of 1, and a Labour smaller than 45, and a Control of labour lose to no overall control?
SELECT AVG(social_democratic_party) FROM table_name_10 WHERE green < 0
CREATE TABLE table_name_10 (social_democratic_party INTEGER, green INTEGER)
Which Social Democratic Party has a Green smaller than 0?
SELECT losing_bonus FROM table_name_78 WHERE try_bonus = "10"
CREATE TABLE table_name_78 (losing_bonus VARCHAR, try_bonus VARCHAR)
When the try bonus was 10 what was the losing bonus?
SELECT drawn FROM table_name_97 WHERE losing_bonus = "2"
CREATE TABLE table_name_97 (drawn VARCHAR, losing_bonus VARCHAR)
When the losing bonus was 2 what was drawn score?
SELECT tries_against FROM table_name_99 WHERE try_bonus = "5"
CREATE TABLE table_name_99 (tries_against VARCHAR, try_bonus VARCHAR)
If the try bonus was 5 what was the try against score?
SELECT points FROM table_name_92 WHERE tries_against = "90"
CREATE TABLE table_name_92 (points VARCHAR, tries_against VARCHAR)
When the tries against is 90 how many points are there?
SELECT club FROM table_name_58 WHERE tries_against = "75"
CREATE TABLE table_name_58 (club VARCHAR, tries_against VARCHAR)
What club has tries against of 75?
SELECT SUM(overall) FROM table_name_99 WHERE college = "duke" AND round > 7
CREATE TABLE table_name_99 (overall INTEGER, college VARCHAR, round VARCHAR)
What is the total number of overall figures when duke was the college and the round was higher than 7?
SELECT MAX(pick__number) FROM table_name_81 WHERE round < 2
CREATE TABLE table_name_81 (pick__number INTEGER, round INTEGER)
Which of the highest pick numbers had a round of less than 2?
SELECT pick__number FROM table_name_82 WHERE round < 7 AND overall < 127 AND name = "robert alford"
CREATE TABLE table_name_82 (pick__number VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR)
Which pick number had a round of less than 7, an overall of less than 127, and where the name was Robert Alford?
SELECT MAX(overall) FROM table_name_89 WHERE name = "robert alford" AND round > 2
CREATE TABLE table_name_89 (overall INTEGER, name VARCHAR, round VARCHAR)
Which highest overall figure had Robert Alford as a name and a round of more than 2?
SELECT game_site FROM table_name_90 WHERE opponent = "miami dolphins"
CREATE TABLE table_name_90 (game_site VARCHAR, opponent VARCHAR)
What Game site has an Opponent of Miami Dolphins?
SELECT MIN(attendance) FROM table_name_56 WHERE game_site = "riverfront stadium"
CREATE TABLE table_name_56 (attendance INTEGER, game_site VARCHAR)
What's the Lowest Attendance with a Game site of Riverfront Stadium?
SELECT MIN(attendance) FROM table_name_3 WHERE week = 2
CREATE TABLE table_name_3 (attendance INTEGER, week VARCHAR)
What's the lowest Attendance for a Week of 2?
SELECT bronze FROM table_name_20 WHERE nation = "south korea"
CREATE TABLE table_name_20 (bronze VARCHAR, nation VARCHAR)
How many bronze medals does South Korea have?
SELECT MIN(total) FROM table_name_87 WHERE silver > 0 AND nation = "georgia" AND bronze < 1
CREATE TABLE table_name_87 (total INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR)
What is the smallest number of total medals for Georgia with 0 silver and 1 bronze?
SELECT MIN(year) FROM table_name_7 WHERE event = "foil team" AND venue = "melbourne"
CREATE TABLE table_name_7 (year INTEGER, event VARCHAR, venue VARCHAR)
What is the lowest year that had foil team as the event at Melbourne?
SELECT COUNT(year) FROM table_name_77 WHERE venue = "los angeles" AND event = "foil team"
CREATE TABLE table_name_77 (year VARCHAR, venue VARCHAR, event VARCHAR)
What is the number of years that the event was foil team and took place in Los Angeles?
SELECT position FROM table_name_71 WHERE venue = "lyon"
CREATE TABLE table_name_71 (position VARCHAR, venue VARCHAR)
What was the position at the venue of lyon?
SELECT position FROM table_name_41 WHERE event = "foil individual" AND competition = "world championships" AND year = 1985
CREATE TABLE table_name_41 (position VARCHAR, year VARCHAR, event VARCHAR, competition VARCHAR)
What was the position for mauro at the world championships in 1985 during the foil individual event?
SELECT playoffs FROM table_name_50 WHERE head_coach = "brent sutter" AND finish = "4th central" AND points = "82"
CREATE TABLE table_name_50 (playoffs VARCHAR, points VARCHAR, head_coach VARCHAR, finish VARCHAR)
What was the playoff status when the head coach was Brent Sutter, the finish was 4th central, and the points were 82?