answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT score FROM table_name_17 WHERE loss = "lyon (5-4)"
|
CREATE TABLE table_name_17 (score VARCHAR, loss VARCHAR)
|
Loss of lyon (5-4) had what score?
|
SELECT record FROM table_name_99 WHERE loss = "finley (8-7)"
|
CREATE TABLE table_name_99 (record VARCHAR, loss VARCHAR)
|
Loss of finley (8-7) had what record?
|
SELECT score FROM table_name_19 WHERE opponent = "@ blue jays" AND date = "october 6"
|
CREATE TABLE table_name_19 (score VARCHAR, opponent VARCHAR, date VARCHAR)
|
Opponent of @ blue jays, and a Date of october 6 had what score?
|
SELECT score FROM table_name_82 WHERE game = 5
|
CREATE TABLE table_name_82 (score VARCHAR, game VARCHAR)
|
What is the score for game 5?
|
SELECT score FROM table_name_77 WHERE game > 3 AND opponent = "buffalo sabres"
|
CREATE TABLE table_name_77 (score VARCHAR, game VARCHAR, opponent VARCHAR)
|
What is the score that has a game greater than 3, with buffalo sabres as the opponent?
|
SELECT score FROM table_name_26 WHERE date = "may 9"
|
CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR)
|
What score has may 9 as the date?
|
SELECT score FROM table_name_37 WHERE date = "october 16, 1983"
|
CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR)
|
What was the score on October 16, 1983?
|
SELECT score FROM table_name_38 WHERE outcome = "runner-up"
|
CREATE TABLE table_name_38 (score VARCHAR, outcome VARCHAR)
|
What was the score when she was a runner-up?
|
SELECT tournament FROM table_name_86 WHERE date = "august 11, 1984"
|
CREATE TABLE table_name_86 (tournament VARCHAR, date VARCHAR)
|
What tournament was being played on August 11, 1984?
|
SELECT venue FROM table_name_9 WHERE date = "june 8, 2005"
|
CREATE TABLE table_name_9 (venue VARCHAR, date VARCHAR)
|
What was the Venue on June 8, 2005?
|
SELECT date FROM table_name_90 WHERE venue = "los angeles"
|
CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR)
|
On what Date was the Venue Los Angeles?
|
SELECT score FROM table_name_64 WHERE date = "september 29, 2003"
|
CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR)
|
What was the Score on September 29, 2003?
|
SELECT date FROM table_name_10 WHERE venue = "carson"
|
CREATE TABLE table_name_10 (date VARCHAR, venue VARCHAR)
|
On what Date was the Venue in Carson?
|
SELECT competition FROM table_name_83 WHERE date = "october 21, 2003"
|
CREATE TABLE table_name_83 (competition VARCHAR, date VARCHAR)
|
What was the competition on October 21, 2003?
|
SELECT competition FROM table_name_15 WHERE date = "september 29, 2003"
|
CREATE TABLE table_name_15 (competition VARCHAR, date VARCHAR)
|
What was the Competition on September 29, 2003?
|
SELECT country FROM table_name_88 WHERE name = "chunkath, mohan verghese"
|
CREATE TABLE table_name_88 (country VARCHAR, name VARCHAR)
|
What country has chunkath, mohan verghese as the name?
|
SELECT position FROM table_name_96 WHERE spread > -319 AND country = "united states" AND win_loss = "11-13" AND name = "gabriel, marty"
|
CREATE TABLE table_name_96 (position VARCHAR, name VARCHAR, win_loss VARCHAR, spread VARCHAR, country VARCHAR)
|
What position has a spread greater than -319, and United States as the country, a win loss of 11-13, and gabriel, marty as the name?
|
SELECT name FROM table_name_96 WHERE spread = 69
|
CREATE TABLE table_name_96 (name VARCHAR, spread VARCHAR)
|
What name has a spread of 69?
|
SELECT performer_2 FROM table_name_26 WHERE episode = 5
|
CREATE TABLE table_name_26 (performer_2 VARCHAR, episode VARCHAR)
|
Which Performer 2 has an Episode of 5?
|
SELECT weight FROM table_name_88 WHERE denomination = "one rupee"
|
CREATE TABLE table_name_88 (weight VARCHAR, denomination VARCHAR)
|
What weight has one rupee as the denomination?
|
SELECT size FROM table_name_46 WHERE metal = "nickel" AND denomination = "one rupee"
|
CREATE TABLE table_name_46 (size VARCHAR, metal VARCHAR, denomination VARCHAR)
|
What is the size that has nickel as the metal, and one rupee as the denomination?
|
SELECT metal FROM table_name_83 WHERE denomination = "one rupee"
|
CREATE TABLE table_name_83 (metal VARCHAR, denomination VARCHAR)
|
What metal has one rupee as the denomination?
|
SELECT shape FROM table_name_78 WHERE metal = "nickel" AND denomination = "one rupee"
|
CREATE TABLE table_name_78 (shape VARCHAR, metal VARCHAR, denomination VARCHAR)
|
What shape has nickel as the metal, and one rupee as the denomination?
|
SELECT 2007 FROM table_name_18 WHERE 2010 = "a" AND 2006 = "lq"
|
CREATE TABLE table_name_18 (Id VARCHAR)
|
Which 2007 has a 2010 of A, and a 2006 of lq?
|
SELECT 2012 FROM table_name_51 WHERE 2007 = "1r"
|
CREATE TABLE table_name_51 (Id VARCHAR)
|
Which 2012 has a 2007 of 1r?
|
SELECT 2002 FROM table_name_37 WHERE 2013 = "2–4"
|
CREATE TABLE table_name_37 (Id VARCHAR)
|
Which 2002 has a 2013 of 2–4?
|
SELECT 2013 FROM table_name_98 WHERE 2010 = "1r"
|
CREATE TABLE table_name_98 (Id VARCHAR)
|
Which 2013 has a 2010 of 1r?
|
SELECT 2005 FROM table_name_52 WHERE tournament = "grand slam tournaments"
|
CREATE TABLE table_name_52 (tournament VARCHAR)
|
Which 2005 has a Tournament of grand slam tournaments?
|
SELECT 2007 FROM table_name_53 WHERE 2008 = "1r" AND tournament = "wimbledon"
|
CREATE TABLE table_name_53 (tournament VARCHAR)
|
Which 2007 has a 2008 of 1r, and a Tournament of wimbledon?
|
SELECT date FROM table_name_25 WHERE home = "minnesota"
|
CREATE TABLE table_name_25 (date VARCHAR, home VARCHAR)
|
Which Date has a Home of minnesota?
|
SELECT visitor FROM table_name_32 WHERE decision = "myre" AND record = "44–7–15"
|
CREATE TABLE table_name_32 (visitor VARCHAR, decision VARCHAR, record VARCHAR)
|
Which Visitor has a Decision of myre, and a Record of 44–7–15?
|
SELECT championship FROM table_name_31 WHERE winning_score = "6 & 5"
|
CREATE TABLE table_name_31 (championship VARCHAR, winning_score VARCHAR)
|
What Championship had a Winning score of 6 & 5?
|
SELECT winning_score FROM table_name_96 WHERE runner_s__up = "betsy rawls"
|
CREATE TABLE table_name_96 (winning_score VARCHAR, runner_s__up VARCHAR)
|
What was the Winning Score when Betsy Rawls was the Runner(s)-up?
|
SELECT runner_s__up FROM table_name_60 WHERE championship = "women's western open" AND year = 1946
|
CREATE TABLE table_name_60 (runner_s__up VARCHAR, championship VARCHAR, year VARCHAR)
|
In 1946, what is the Runner(s)-up of the Women's Western Open Championship?
|
SELECT margin FROM table_name_29 WHERE runner_s__up = "patty berg" AND year = 1953
|
CREATE TABLE table_name_29 (margin VARCHAR, runner_s__up VARCHAR, year VARCHAR)
|
What is the Margin in 1953 when Patty Berg was Runner(s)-up?
|
SELECT name FROM table_name_74 WHERE type = "primary" AND dcsf_number > 2337 AND ofsted_number < 135339
|
CREATE TABLE table_name_74 (name VARCHAR, ofsted_number VARCHAR, type VARCHAR, dcsf_number VARCHAR)
|
What is the name of the primary with a DCSF number larger than 2337 and an Ofsted number smaller than 135339?
|
SELECT name FROM table_name_95 WHERE dcsf_number > 2448 AND ofsted_number = 131319
|
CREATE TABLE table_name_95 (name VARCHAR, dcsf_number VARCHAR, ofsted_number VARCHAR)
|
What name that has a DCSF number bigger than 2448 and an Ofsted number of 131319?
|
SELECT faith FROM table_name_44 WHERE dcsf_number > 2448 AND name = "holtsmere end"
|
CREATE TABLE table_name_44 (faith VARCHAR, dcsf_number VARCHAR, name VARCHAR)
|
What faith has a DCSF number bigger than 2448 in Holtsmere End?
|
SELECT MIN(dcsf_number) FROM table_name_77 WHERE name = "aycliffe drive" AND ofsted_number < 117335
|
CREATE TABLE table_name_77 (dcsf_number INTEGER, name VARCHAR, ofsted_number VARCHAR)
|
What's the lowest DCSF number in Aycliffe Drive but an Ofsted number smaller than 117335?
|
SELECT city FROM table_name_42 WHERE airport = "toamasina airport"
|
CREATE TABLE table_name_42 (city VARCHAR, airport VARCHAR)
|
what city is the toamasina airport in?
|
SELECT country FROM table_name_99 WHERE city = "sydney"
|
CREATE TABLE table_name_99 (country VARCHAR, city VARCHAR)
|
What country has the city, Sydney?
|
SELECT city FROM table_name_63 WHERE country = "mayotte"
|
CREATE TABLE table_name_63 (city VARCHAR, country VARCHAR)
|
What city is in the country of Mayotte?
|
SELECT iata FROM table_name_96 WHERE airport = "chennai international airport"
|
CREATE TABLE table_name_96 (iata VARCHAR, airport VARCHAR)
|
What is the IATA for the chennai international airport?
|
SELECT airport FROM table_name_78 WHERE iata = "nos"
|
CREATE TABLE table_name_78 (airport VARCHAR, iata VARCHAR)
|
What is the airport name that has nos listed as the IATA?
|
SELECT part_number_s_ FROM table_name_89 WHERE model_number = "athlon x2 4850e"
|
CREATE TABLE table_name_89 (part_number_s_ VARCHAR, model_number VARCHAR)
|
What is the part number of athlon x2 4850e?
|
SELECT frequency FROM table_name_28 WHERE multi_1 = "7.5×"
|
CREATE TABLE table_name_28 (frequency VARCHAR, multi_1 VARCHAR)
|
What's the frequency of the device that has a Multi 1 of 7.5×?
|
SELECT l2_cache FROM table_name_78 WHERE frequency = "1500mhz"
|
CREATE TABLE table_name_78 (l2_cache VARCHAR, frequency VARCHAR)
|
What's amount of L2 Cache on a device that has a Frequency of 1500mhz?
|
SELECT release_date FROM table_name_88 WHERE frequency = "2300mhz"
|
CREATE TABLE table_name_88 (release_date VARCHAR, frequency VARCHAR)
|
When is the release date for a chip that has a Frequency of 2300mhz?
|
SELECT release_date FROM table_name_72 WHERE multi_1 = "10.5×"
|
CREATE TABLE table_name_72 (release_date VARCHAR, multi_1 VARCHAR)
|
When was the release date for technology that has a Multi 1 of 10.5×?
|
SELECT stepping FROM table_name_61 WHERE part_number_s_ = "adh4450iaa5do"
|
CREATE TABLE table_name_61 (stepping VARCHAR, part_number_s_ VARCHAR)
|
What's the stepping amount for adh4450iaa5do?
|
SELECT MAX(wins) FROM table_name_40 WHERE year > 1996 AND championship_finish = "1st" AND points < 168
|
CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR)
|
Which Wins is the highest one that has a Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168?
|
SELECT MAX(year) FROM table_name_58 WHERE team = "walker racing" AND wins > 1
|
CREATE TABLE table_name_58 (year INTEGER, team VARCHAR, wins VARCHAR)
|
Which Year is the highest that has a Team of walker racing, and Wins larger than 1?
|
SELECT AVG(points) FROM table_name_79 WHERE year > 1998 AND wins = 1
|
CREATE TABLE table_name_79 (points INTEGER, year VARCHAR, wins VARCHAR)
|
Which Points have a Year larger than 1998, and Wins of 1?
|
SELECT MIN(bronze) FROM table_name_35 WHERE silver = 2 AND total = 8
|
CREATE TABLE table_name_35 (bronze INTEGER, silver VARCHAR, total VARCHAR)
|
What is the lowest bronze number when silver shows 2, and the total is 8?
|
SELECT AVG(silver) FROM table_name_54 WHERE gold > 4 AND total < 24
|
CREATE TABLE table_name_54 (silver INTEGER, gold VARCHAR, total VARCHAR)
|
What is the silver number when gold is more than 4, and the total is less than 24?
|
SELECT AVG(gold) FROM table_name_19 WHERE total = 8 AND bronze > 4
|
CREATE TABLE table_name_19 (gold INTEGER, total VARCHAR, bronze VARCHAR)
|
What is the gold number when the total is 8 and bronze is more than 4?
|
SELECT SUM(total) FROM table_name_11 WHERE gold = 0 AND silver < 2 AND rank = "6"
|
CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, gold VARCHAR, silver VARCHAR)
|
What is the sum of Total for 0 gold and less than 2, silver with a rank of 6?
|
SELECT AVG(gold) FROM table_name_59 WHERE silver > 2 AND bronze > 1
|
CREATE TABLE table_name_59 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
|
What is the average Gold when silver is more than 2, and bronze is more than 1
|
SELECT AVG(bronze) FROM table_name_62 WHERE silver > "2" AND rank = "2" AND gold > 2
|
CREATE TABLE table_name_62 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
|
What is the average Bronze when silver is more than 2, and rank is 2, and gold more than 2
|
SELECT city FROM table_name_77 WHERE state = "svalbard" AND longitude = "15°39′e"
|
CREATE TABLE table_name_77 (city VARCHAR, state VARCHAR, longitude VARCHAR)
|
What city in Svalbard has a longitude of 15°39′e?
|
SELECT longitude FROM table_name_27 WHERE latitude = "77°28′n"
|
CREATE TABLE table_name_27 (longitude VARCHAR, latitude VARCHAR)
|
If the latitude is 77°28′n, what is the longitude?
|
SELECT longitude FROM table_name_52 WHERE latitude = "76°25′n"
|
CREATE TABLE table_name_52 (longitude VARCHAR, latitude VARCHAR)
|
If the latitude is 76°25′n, what is the longitude?
|
SELECT longitude FROM table_name_98 WHERE latitude = "71°18′n"
|
CREATE TABLE table_name_98 (longitude VARCHAR, latitude VARCHAR)
|
If the latitude is 71°18′n, what is the longitude?
|
SELECT partner FROM table_name_95 WHERE opponents_in_the_final = "florian mayer & alexander waske"
|
CREATE TABLE table_name_95 (partner VARCHAR, opponents_in_the_final VARCHAR)
|
Who is the partner facing the opponents florian Mayer & alexander waske in the final?
|
SELECT tournament FROM table_name_19 WHERE surface = "hard" AND opponents_in_the_final = "rohan bopanna & mustafa ghouse"
|
CREATE TABLE table_name_19 (tournament VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR)
|
Which tournament has a hard surface and final opponents rohan bopanna & mustafa ghouse?
|
SELECT date FROM table_name_94 WHERE surface = "clay"
|
CREATE TABLE table_name_94 (date VARCHAR, surface VARCHAR)
|
On which date did the tournament final with the clay surface take place?
|
SELECT tournament FROM table_name_93 WHERE partner = "julian knowle"
|
CREATE TABLE table_name_93 (tournament VARCHAR, partner VARCHAR)
|
Which tournament features the partner julian knowle?
|
SELECT date FROM table_name_98 WHERE opponents_in_the_final = "michael berrer & kenneth carlsen"
|
CREATE TABLE table_name_98 (date VARCHAR, opponents_in_the_final VARCHAR)
|
On which date is the tournament final with the opponents michael berrer & kenneth carlsen?
|
SELECT score FROM table_name_30 WHERE february > 4 AND game = 61
|
CREATE TABLE table_name_30 (score VARCHAR, february VARCHAR, game VARCHAR)
|
What was the score after february 4 in the game 61?
|
SELECT COUNT(pick__number) FROM table_name_96 WHERE college = "arkansas state" AND overall < 242
|
CREATE TABLE table_name_96 (pick__number VARCHAR, college VARCHAR, overall VARCHAR)
|
What is Arkansas State's total pick number with an overal lower than 242?
|
SELECT name FROM table_name_38 WHERE college = "cincinnati"
|
CREATE TABLE table_name_38 (name VARCHAR, college VARCHAR)
|
Who is from the College of Cincinnati?
|
SELECT COUNT(overall) FROM table_name_84 WHERE position = "kicker" AND pick__number < 6
|
CREATE TABLE table_name_84 (overall VARCHAR, position VARCHAR, pick__number VARCHAR)
|
What is the overall number for a kicker with a pick of less than 6?
|
SELECT college FROM table_name_84 WHERE round > 6 AND position = "defensive end"
|
CREATE TABLE table_name_84 (college VARCHAR, round VARCHAR, position VARCHAR)
|
Which college has a defensive end with a round less than 6?
|
SELECT record FROM table_name_56 WHERE score = "111-96"
|
CREATE TABLE table_name_56 (record VARCHAR, score VARCHAR)
|
What record has a score of 111-96?
|
SELECT score FROM table_name_53 WHERE game > 34 AND record = "31-11"
|
CREATE TABLE table_name_53 (score VARCHAR, game VARCHAR, record VARCHAR)
|
What is the score for a game after 34 with a record of 31-11?
|
SELECT date FROM table_name_16 WHERE score = "130-100"
|
CREATE TABLE table_name_16 (date VARCHAR, score VARCHAR)
|
What was the date with a resulted score of 130-100?
|
SELECT water FROM table_name_72 WHERE metal = "contracting"
|
CREATE TABLE table_name_72 (water VARCHAR, metal VARCHAR)
|
Which Water has a Metal of contracting?
|
SELECT metal FROM table_name_84 WHERE element = "heavenly stems"
|
CREATE TABLE table_name_84 (metal VARCHAR, element VARCHAR)
|
Which Metal has an Element of heavenly stems?
|
SELECT water FROM table_name_50 WHERE wood = "green"
|
CREATE TABLE table_name_50 (water VARCHAR, wood VARCHAR)
|
Which water has green wood?
|
SELECT earth FROM table_name_10 WHERE metal = "west"
|
CREATE TABLE table_name_10 (earth VARCHAR, metal VARCHAR)
|
Which earth has west metal?
|
SELECT wood FROM table_name_50 WHERE earth = "stabilizing"
|
CREATE TABLE table_name_50 (wood VARCHAR, earth VARCHAR)
|
Which wood has stabilizing earth?
|
SELECT fire FROM table_name_24 WHERE metal = "dry"
|
CREATE TABLE table_name_24 (fire VARCHAR, metal VARCHAR)
|
Which fire has dry metal?
|
SELECT name FROM table_name_87 WHERE rank = "lieutenant colonel" AND begin_date = "1904-02-22 22 february 1904"
|
CREATE TABLE table_name_87 (name VARCHAR, rank VARCHAR, begin_date VARCHAR)
|
what name has a Rank of lieutenant colonel, and a Begin Date of 1904-02-22 22 february 1904?
|
SELECT position FROM table_name_26 WHERE school_club_team = "oklahoma state"
|
CREATE TABLE table_name_26 (position VARCHAR, school_club_team VARCHAR)
|
Oklahoma State produced a player in which position in the draft?
|
SELECT MAX(round) FROM table_name_53 WHERE position = "back" AND player = "ed cody"
|
CREATE TABLE table_name_53 (round INTEGER, position VARCHAR, player VARCHAR)
|
What is the highest round where a back named Ed Cody can be found?
|
SELECT MIN(losses) FROM table_name_75 WHERE season < 1920 AND draws > 0
|
CREATE TABLE table_name_75 (losses INTEGER, season VARCHAR, draws VARCHAR)
|
Which Losses is the lowest one that has a Season smaller than 1920, and Draws larger than 0?
|
SELECT SUM(draws) FROM table_name_53 WHERE losses > 16 AND season > 1966
|
CREATE TABLE table_name_53 (draws INTEGER, losses VARCHAR, season VARCHAR)
|
Which Draws have Losses larger than 16, and a Season larger than 1966?
|
SELECT SUM(draws) FROM table_name_58 WHERE team = "annandale" AND losses < 13
|
CREATE TABLE table_name_58 (draws INTEGER, team VARCHAR, losses VARCHAR)
|
Which Draws have a Team of annandale, and Losses smaller than 13?
|
SELECT AVG(draws) FROM table_name_38 WHERE losses < 16 AND team = "university" AND wins > 0
|
CREATE TABLE table_name_38 (draws INTEGER, wins VARCHAR, losses VARCHAR, team VARCHAR)
|
Which Draws have Losses smaller than 16, and a Team of university, and Wins larger than 0?
|
SELECT MIN(wins) FROM table_name_99 WHERE season < 1920 AND losses < 14
|
CREATE TABLE table_name_99 (wins INTEGER, season VARCHAR, losses VARCHAR)
|
Which Wins is the lowest one that has a Season smaller than 1920, and Losses smaller than 14?
|
SELECT date FROM table_name_70 WHERE sport = "academics"
|
CREATE TABLE table_name_70 (date VARCHAR, sport VARCHAR)
|
Which date had a sport of Academics?
|
SELECT date FROM table_name_9 WHERE site = "n/a"
|
CREATE TABLE table_name_9 (date VARCHAR, site VARCHAR)
|
Which date had a site of N/A?
|
SELECT builder FROM table_name_22 WHERE year_built = "1929"
|
CREATE TABLE table_name_22 (builder VARCHAR, year_built VARCHAR)
|
what was the builder in 1929
|
SELECT attendance FROM table_name_55 WHERE points = 53 AND date = "march 6"
|
CREATE TABLE table_name_55 (attendance VARCHAR, points VARCHAR, date VARCHAR)
|
What was the attendance for the March 6 game, where one of the teams had 53 points.
|
SELECT COUNT(points) FROM table_name_16 WHERE attendance = 6 OFFSET 126
|
CREATE TABLE table_name_16 (points VARCHAR, attendance VARCHAR)
|
For the game with 6,126 in attendance, how many points did both teams have in the standings?
|
SELECT record FROM table_name_18 WHERE home = "st. louis"
|
CREATE TABLE table_name_18 (record VARCHAR, home VARCHAR)
|
What is the record of the team with a St. Louis home?
|
SELECT country FROM table_name_28 WHERE territory = "french guiana"
|
CREATE TABLE table_name_28 (country VARCHAR, territory VARCHAR)
|
What country has a territory of French Guiana?
|
SELECT 2008 AS _12 FROM table_name_77 WHERE 2013 = "a" AND tournament = "wimbledon"
|
CREATE TABLE table_name_77 (tournament VARCHAR)
|
Which 2008-12 has a 2013 of A, and a Tournament of wimbledon?
|
SELECT 2013 FROM table_name_49 WHERE 2007 = "a" AND tournament = "french open"
|
CREATE TABLE table_name_49 (tournament VARCHAR)
|
Which 2013 has a 2007 of A, and a Tournament of french open?
|
SELECT 2013 FROM table_name_64 WHERE 2006 = "grand slam tournaments"
|
CREATE TABLE table_name_64 (Id VARCHAR)
|
Which 2013 has a 2006 of grand slam tournaments?
|
Subsets and Splits
SQL Console for knowrohit07/know_sql
Finds questions in the dataset that contain the word 'god', providing a basic filtered view without much analytical insight.