answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT format FROM table_name_11 WHERE catalog < 61298
CREATE TABLE table_name_11 (format VARCHAR, catalog INTEGER)
Which Format has a Catalog smaller than 61298?
SELECT score FROM table_name_85 WHERE points = 96
CREATE TABLE table_name_85 (score VARCHAR, points VARCHAR)
What was the score of the game with 96 points?
SELECT score FROM table_name_1 WHERE record = "34–17–11–2"
CREATE TABLE table_name_1 (score VARCHAR, record VARCHAR)
What was the score of the game with a record of 34–17–11–2?
SELECT record FROM table_name_72 WHERE game_site = "rich stadium"
CREATE TABLE table_name_72 (record VARCHAR, game_site VARCHAR)
What was the record after the game at Rich Stadium?
SELECT first_cap FROM table_name_27 WHERE caps = 74
CREATE TABLE table_name_27 (first_cap VARCHAR, caps VARCHAR)
When was the first cap associated with 74 caps?
SELECT AVG(goals) FROM table_name_43 WHERE latest_cap = "april 24, 2013" AND caps > 97
CREATE TABLE table_name_43 (goals INTEGER, latest_cap VARCHAR, caps VARCHAR)
How many goals are associated with over 97 caps and a Latest cap of april 24, 2013?
SELECT first_cap FROM table_name_29 WHERE goals < 33 AND caps = 39
CREATE TABLE table_name_29 (first_cap VARCHAR, goals VARCHAR, caps VARCHAR)
When was the first cap associated with 39 caps and under 33 goals?
SELECT MAX(goals) FROM table_name_33 WHERE caps = 39
CREATE TABLE table_name_33 (goals INTEGER, caps VARCHAR)
What is the highest number of goals associated with 39 caps?
SELECT COUNT(april) FROM table_name_98 WHERE record = "42–22–12–3" AND points < 99
CREATE TABLE table_name_98 (april VARCHAR, record VARCHAR, points VARCHAR)
How many days in April has a record of 42–22–12–3, and less than 99 points?
SELECT COUNT(points) FROM table_name_78 WHERE game = 44 AND january > 15
CREATE TABLE table_name_78 (points VARCHAR, game VARCHAR, january VARCHAR)
Name the total number of points for 44 game and january more than 15
SELECT date FROM table_name_37 WHERE result = "7–20"
CREATE TABLE table_name_37 (date VARCHAR, result VARCHAR)
Which Date had a Result of 7–20?
SELECT date FROM table_name_50 WHERE opponent = "buffalo bills"
CREATE TABLE table_name_50 (date VARCHAR, opponent VARCHAR)
Which Date had an Opponent of buffalo bills?
SELECT kickoff FROM table_name_5 WHERE game_site = "bank of america stadium"
CREATE TABLE table_name_5 (kickoff VARCHAR, game_site VARCHAR)
Which Kickoff had a Game Site of bank of america stadium?
SELECT kickoff FROM table_name_12 WHERE game_site = "fawcett stadium"
CREATE TABLE table_name_12 (kickoff VARCHAR, game_site VARCHAR)
Which Kickoff had a Game Site of fawcett stadium?
SELECT nfl_recap FROM table_name_16 WHERE kickoff = "7:00pm edt"
CREATE TABLE table_name_16 (nfl_recap VARCHAR, kickoff VARCHAR)
Which NFL Recap had a Kickoff of 7:00pm edt?
SELECT nfl_recap FROM table_name_1 WHERE record = "1–3"
CREATE TABLE table_name_1 (nfl_recap VARCHAR, record VARCHAR)
Which NFL Recap had a Record of 1–3?
SELECT record FROM table_name_68 WHERE game = 50
CREATE TABLE table_name_68 (record VARCHAR, game VARCHAR)
What was the Record on Game 50?
SELECT player FROM table_name_78 WHERE round = 17
CREATE TABLE table_name_78 (player VARCHAR, round VARCHAR)
what player score is higher than 17
SELECT opponent FROM table_name_33 WHERE attendance = "17,015"
CREATE TABLE table_name_33 (opponent VARCHAR, attendance VARCHAR)
Which opponent has an attendance of 17,015?
SELECT MAX(frequency_mhz) FROM table_name_65 WHERE call_sign = "k241an"
CREATE TABLE table_name_65 (frequency_mhz INTEGER, call_sign VARCHAR)
Which Frequency MHz is the highest one that has a Call sign of k241an?
SELECT MAX(erp_w) FROM table_name_9 WHERE frequency_mhz > 88.3 AND city_of_license = "lewis, kansas"
CREATE TABLE table_name_9 (erp_w INTEGER, frequency_mhz VARCHAR, city_of_license VARCHAR)
Which ERP W is the highest one that has a Frequency MHz larger than 88.3, and a City of license of lewis, kansas?
SELECT fcc_info FROM table_name_35 WHERE erp_w < 222 AND call_sign = "k297ai"
CREATE TABLE table_name_35 (fcc_info VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
Which FCC info has a ERP W smaller than 222, and a Call sign of k297ai?
SELECT city_of_license FROM table_name_68 WHERE call_sign = "k241an"
CREATE TABLE table_name_68 (city_of_license VARCHAR, call_sign VARCHAR)
Which City of license has a Call sign of k241an?
SELECT class FROM table_name_21 WHERE erp_w = 222
CREATE TABLE table_name_21 (class VARCHAR, erp_w VARCHAR)
Which Class has an ERP W of 222?
SELECT score FROM table_name_43 WHERE surface = "clay" AND year > 2006 AND opponent = "david ferrer"
CREATE TABLE table_name_43 (score VARCHAR, opponent VARCHAR, surface VARCHAR, year VARCHAR)
What was the score on a clay surface in a year later than 2006 with David Ferrer as an opponent?
SELECT championship FROM table_name_10 WHERE year > 2010 AND surface = "grass"
CREATE TABLE table_name_10 (championship VARCHAR, year VARCHAR, surface VARCHAR)
Which championship is in a year later than 2010 on a grass surface?
SELECT championship FROM table_name_36 WHERE opponent = "roger federer" AND surface = "clay" AND year < 2007
CREATE TABLE table_name_36 (championship VARCHAR, year VARCHAR, opponent VARCHAR, surface VARCHAR)
Which championship has Roger Federer as an opponent on a clay surface in a year earlier than 2007?
SELECT MAX(attendance) FROM table_name_84 WHERE date = "december 16, 1962"
CREATE TABLE table_name_84 (attendance INTEGER, date VARCHAR)
What is the largest attendance that has December 16, 1962 as the date?
SELECT MAX(week) FROM table_name_69 WHERE result = "t 35-35"
CREATE TABLE table_name_69 (week INTEGER, result VARCHAR)
What is the largest week that has t 35-35 as the result?
SELECT COUNT(no_result) FROM table_name_16 WHERE losses > 1 AND played = 38 AND wins < 19
CREATE TABLE table_name_16 (no_result VARCHAR, wins VARCHAR, losses VARCHAR, played VARCHAR)
Name the total number of no result for losses more than 1 and played of 38 and wins less than 19
SELECT SUM(played) FROM table_name_14 WHERE wins > 19
CREATE TABLE table_name_14 (played INTEGER, wins INTEGER)
Name the sum of played with wins more than 19
SELECT COUNT(losses) FROM table_name_5 WHERE no_result < 0
CREATE TABLE table_name_5 (losses VARCHAR, no_result INTEGER)
Name the total number of losses with number result less than 0
SELECT rank FROM table_name_14 WHERE goals > 4 AND scorer = "oh seok-jae"
CREATE TABLE table_name_14 (rank VARCHAR, goals VARCHAR, scorer VARCHAR)
Which Rank has Goals larger than 4, and a Scorer of oh seok-jae?
SELECT MIN(goals) FROM table_name_92 WHERE matches = "16" AND scorer = "park sang-in"
CREATE TABLE table_name_92 (goals INTEGER, matches VARCHAR, scorer VARCHAR)
Which Goals is the lowest one that has Matches of 16, and a Scorer of park sang-in?
SELECT club FROM table_name_69 WHERE rank = "1"
CREATE TABLE table_name_69 (club VARCHAR, rank VARCHAR)
Which Club has a Rank of 1?
SELECT SUM(goals) FROM table_name_78 WHERE club = "hallelujah fc" AND rank = "7"
CREATE TABLE table_name_78 (goals INTEGER, club VARCHAR, rank VARCHAR)
Which Goals have a Club of hallelujah fc, and a Rank of 7?
SELECT COUNT(extra_points) FROM table_name_4 WHERE touchdowns > 2 AND field_goals > 0
CREATE TABLE table_name_4 (extra_points VARCHAR, touchdowns VARCHAR, field_goals VARCHAR)
How many Extra points have Touchdowns larger than 2, and Field goals larger than 0?
SELECT MAX(field_goals) FROM table_name_76 WHERE touchdowns = 0 AND points > 4
CREATE TABLE table_name_76 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR)
Which Field goals is the highest one that has Touchdowns of 0, and Points larger than 4?
SELECT SUM(grid) FROM table_name_44 WHERE manufacturer = "aprilia" AND laps < 19 AND rider = "sandro cortese"
CREATE TABLE table_name_44 (grid INTEGER, rider VARCHAR, manufacturer VARCHAR, laps VARCHAR)
What is the grid number of Sandro Cortese, who has Aprilia as the manufacturer and less than 19 laps?
SELECT MAX(rank) FROM table_name_95 WHERE lost < 12 AND played > 20 AND Avg.points > 1.73
CREATE TABLE table_name_95 (rank INTEGER, lost VARCHAR, played VARCHAR)
Which Rank has a Lost smaller than 12, and a Played larger than 20, and an Avg Points larger than 1.73?
SELECT COUNT(drew) FROM table_name_55 WHERE rank = 5 AND played > 30
CREATE TABLE table_name_55 (drew VARCHAR, rank VARCHAR, played VARCHAR)
Which Drew has a Rank of 5, and a Played larger than 30?
SELECT COUNT(rank) FROM table_name_93 WHERE club = "zulte waregem" AND points > 22
CREATE TABLE table_name_93 (rank VARCHAR, club VARCHAR, points VARCHAR)
Which Rank has a Club of zulte waregem, and Points larger than 22?
SELECT MAX(lost) FROM table_name_75 WHERE seasons = 2 AND goals_against > 43
CREATE TABLE table_name_75 (lost INTEGER, seasons VARCHAR, goals_against VARCHAR)
Which Lost has Seasons of 2, and Goals against larger than 43?
SELECT SUM(drew) FROM table_name_17 WHERE lost > 14
CREATE TABLE table_name_17 (drew INTEGER, lost INTEGER)
Which Drew has a Lost larger than 14?
SELECT record FROM table_name_48 WHERE week < 15 AND opponent = "at new york jets"
CREATE TABLE table_name_48 (record VARCHAR, week VARCHAR, opponent VARCHAR)
Which Record has a Week smaller than 15, and an Opponent of at new york jets?
SELECT result FROM table_name_14 WHERE record = "5–4"
CREATE TABLE table_name_14 (result VARCHAR, record VARCHAR)
Which Result has a Record of 5–4?
SELECT record FROM table_name_25 WHERE time___et__ = "1:00pm" AND opponent = "kansas city chiefs"
CREATE TABLE table_name_25 (record VARCHAR, time___et__ VARCHAR, opponent VARCHAR)
Which Record has a Time (ET) of 1:00pm, and an Opponent of kansas city chiefs?
SELECT hindi FROM table_name_78 WHERE domari = "tærən"
CREATE TABLE table_name_78 (hindi VARCHAR, domari VARCHAR)
What is the Hindi associated with a Domari of tærən?
SELECT lomavren FROM table_name_32 WHERE persian = "se"
CREATE TABLE table_name_32 (lomavren VARCHAR, persian VARCHAR)
What is the Lomavren associated with a Persian of se?
SELECT romani FROM table_name_44 WHERE domari = "na"
CREATE TABLE table_name_44 (romani VARCHAR, domari VARCHAR)
What is the Romani associated with a Domari of na?
SELECT domari FROM table_name_19 WHERE persian = "yak, yek"
CREATE TABLE table_name_19 (domari VARCHAR, persian VARCHAR)
What is the Domari associated with a Persian of yak, yek?
SELECT lomavren FROM table_name_68 WHERE hindi = "sāt"
CREATE TABLE table_name_68 (lomavren VARCHAR, hindi VARCHAR)
What is the Lomavren associated with a Hindi of sāt?
SELECT version FROM table_name_64 WHERE year < 2001 AND length = "7:42"
CREATE TABLE table_name_64 (version VARCHAR, year VARCHAR, length VARCHAR)
What is the Version before 2001 with a Length of 7:42?
SELECT AVG(year) FROM table_name_40 WHERE length = "7:42"
CREATE TABLE table_name_40 (year INTEGER, length VARCHAR)
In what Year is the length of the Song 7:42?
SELECT college_junior_club_team__league_ FROM table_name_48 WHERE position = "right wing" AND round < 3
CREATE TABLE table_name_48 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR)
Which College/Junior/Club Team (League) has a Position of right wing, and a Round smaller than 3?
SELECT orbital_regime FROM table_name_76 WHERE launches > 4 AND failures < 2
CREATE TABLE table_name_76 (orbital_regime VARCHAR, launches VARCHAR, failures VARCHAR)
What is the orbital regime of launches greater than 4 and failures less than 2?
SELECT SUM(accidentally_achieved) FROM table_name_19 WHERE orbital_regime = "medium earth" AND successes > 3
CREATE TABLE table_name_19 (accidentally_achieved INTEGER, orbital_regime VARCHAR, successes VARCHAR)
What is the total of medium earth orbital regime, accidentally achieved and successes greater than 3?
SELECT MAX(successes) FROM table_name_25 WHERE failures > 1 AND launches < 28
CREATE TABLE table_name_25 (successes INTEGER, failures VARCHAR, launches VARCHAR)
What is the greatest successes that have failures greater than 1 and launches less than 28?
SELECT SUM(failures) FROM table_name_33 WHERE orbital_regime = "heliocentric orbit" AND launches < 1
CREATE TABLE table_name_33 (failures INTEGER, orbital_regime VARCHAR, launches VARCHAR)
What is the total failures of heliocentric orbit orbital regimes and launches less than 1?
SELECT rank FROM table_name_20 WHERE player = "tris speaker" AND bb_so = 7
CREATE TABLE table_name_20 (rank VARCHAR, player VARCHAR, bb_so VARCHAR)
What was the rank of tris speaker when BB/SO was 7?
SELECT AVG(rank) FROM table_name_97 WHERE team = "cle" AND bb_so = 10.89
CREATE TABLE table_name_97 (rank INTEGER, team VARCHAR, bb_so VARCHAR)
What is the average rank for team cle when the BB/SO is 10.89?
SELECT partner FROM table_name_23 WHERE surface = "hard" AND date = "18 april 2011"
CREATE TABLE table_name_23 (partner VARCHAR, surface VARCHAR, date VARCHAR)
What is the name of a partner that played on a hard surface on 18 April 2011?
SELECT score FROM table_name_5 WHERE date = "2 july 2012"
CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR)
What was the score for the final played on 2 July 2012?
SELECT score FROM table_name_32 WHERE date = "february 18, 2008"
CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR)
What was the Score on February 18, 2008?
SELECT opponent_in_the_final FROM table_name_61 WHERE surface = "hard" AND score = "3–6, 6–3, [7–10]"
CREATE TABLE table_name_61 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR)
What was the Opponent on the game played on a Hard Surface with a Score of 3–6, 6–3, [7–10]?
SELECT surface FROM table_name_24 WHERE partner = "david martin" AND score = "4–6, 6–7 (4-7)"
CREATE TABLE table_name_24 (surface VARCHAR, partner VARCHAR, score VARCHAR)
On what Surface was the game with Partner David Martin played Scoring 4–6, 6–7 (4-7)?
SELECT outcome FROM table_name_67 WHERE score = "3–6, 4–6"
CREATE TABLE table_name_67 (outcome VARCHAR, score VARCHAR)
What was the Outcome of the game with a Score of 3–6, 4–6?
SELECT partner FROM table_name_69 WHERE date = "june 17, 2012"
CREATE TABLE table_name_69 (partner VARCHAR, date VARCHAR)
What was the Partner on June 17, 2012?
SELECT record FROM table_name_83 WHERE leading_scorer = "glenn robinson (16)"
CREATE TABLE table_name_83 (record VARCHAR, leading_scorer VARCHAR)
What record has Glenn Robinson (16) as the leading scorer?
SELECT date FROM table_name_83 WHERE score = "136-134"
CREATE TABLE table_name_83 (date VARCHAR, score VARCHAR)
What date has 136-134 as the score?
SELECT home FROM table_name_6 WHERE score = "136-134"
CREATE TABLE table_name_6 (home VARCHAR, score VARCHAR)
What home has 136-134 as the score?
SELECT MAX(year) FROM table_name_77 WHERE bronze = "china"
CREATE TABLE table_name_77 (year INTEGER, bronze VARCHAR)
What is the most recent year that China won a bronze?
SELECT MIN(year) FROM table_name_1 WHERE location = "guangzhou"
CREATE TABLE table_name_1 (year INTEGER, location VARCHAR)
What is the oldest year that the location was at Guangzhou?
SELECT SUM(year) FROM table_name_7 WHERE location = "beijing"
CREATE TABLE table_name_7 (year INTEGER, location VARCHAR)
For how many years was the location at Beijing?
SELECT location FROM table_name_56 WHERE year < 1994
CREATE TABLE table_name_56 (location VARCHAR, year INTEGER)
What location is previous to 1994?
SELECT college FROM table_name_20 WHERE pick__number < 98 AND round = "round 4"
CREATE TABLE table_name_20 (college VARCHAR, pick__number VARCHAR, round VARCHAR)
What college(s) did the player(s) picked in round 4 with a pick number less than 98 play for?
SELECT pick__number FROM table_name_31 WHERE round = "round 8"
CREATE TABLE table_name_31 (pick__number VARCHAR, round VARCHAR)
What is the pick number for the player(s) drafted in round 8?
SELECT position FROM table_name_38 WHERE pick__number = 125
CREATE TABLE table_name_38 (position VARCHAR, pick__number VARCHAR)
What position(s) did the player(s) with a pick number of 125 play?
SELECT AVG(extra_points) FROM table_name_7 WHERE player = "james lawrence" AND touchdowns < 1
CREATE TABLE table_name_7 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR)
What mean number of extra points was there when James Lawrence was a player and the touchdown number was less than 1?
SELECT MIN(touchdowns) FROM table_name_88 WHERE player = "total" AND field_goals > 0
CREATE TABLE table_name_88 (touchdowns INTEGER, player VARCHAR, field_goals VARCHAR)
What is the smallest amount of touchdowns when there is a total player and a number of field goals of more than 0?
SELECT date FROM table_name_56 WHERE results¹ = "4:0"
CREATE TABLE table_name_56 (date VARCHAR, results¹ VARCHAR)
On what Date were the Results¹ 4:0?
SELECT date FROM table_name_72 WHERE results¹ = "5:1"
CREATE TABLE table_name_72 (date VARCHAR, results¹ VARCHAR)
On what Date were the Results¹ 5:1?
SELECT date FROM table_name_47 WHERE results¹ = "4:0"
CREATE TABLE table_name_47 (date VARCHAR, results¹ VARCHAR)
On what Date were the Results¹ 4:0?
SELECT knots_knots AS :_pseudoknot_prediction, _ FROM table_name_65 WHERE name = "tfold"
CREATE TABLE table_name_65 (_ VARCHAR, knots_knots VARCHAR, name VARCHAR)
What is the pseudoknot prediction of the software named tfold?
SELECT chilean FROM table_name_78 WHERE castilian = "ordenador"
CREATE TABLE table_name_78 (chilean VARCHAR, castilian VARCHAR)
What Chilean word is used for the Castilian word ordenador?
SELECT italian FROM table_name_59 WHERE mexican = "frijol"
CREATE TABLE table_name_59 (italian VARCHAR, mexican VARCHAR)
What is the Italian word for the Mexican word frijol?
SELECT castilian FROM table_name_95 WHERE italian = "auto(mobile)"
CREATE TABLE table_name_95 (castilian VARCHAR, italian VARCHAR)
What word would a Castilian speaker use for the Italian word auto(mobile)?
SELECT castilian FROM table_name_17 WHERE italian = "auto(mobile)"
CREATE TABLE table_name_17 (castilian VARCHAR, italian VARCHAR)
What word would a Castilian speaker use for the Italian word auto(mobile)?
SELECT italian FROM table_name_78 WHERE andalusian = "coche"
CREATE TABLE table_name_78 (italian VARCHAR, andalusian VARCHAR)
How would an Italian say the Andalusian word coche?
SELECT home FROM table_name_42 WHERE visitor = "ny rangers" AND series = "flyers win 4–3"
CREATE TABLE table_name_42 (home VARCHAR, visitor VARCHAR, series VARCHAR)
Which Home has a Visitor of ny rangers, and a Series of flyers win 4–3?
SELECT score FROM table_name_17 WHERE series = "flyers lead 3–2"
CREATE TABLE table_name_17 (score VARCHAR, series VARCHAR)
Which Score has a Series of flyers lead 3–2?
SELECT decision FROM table_name_85 WHERE date = "april 25"
CREATE TABLE table_name_85 (decision VARCHAR, date VARCHAR)
Which Decision has a Date of april 25?
SELECT decision FROM table_name_95 WHERE date = "april 30"
CREATE TABLE table_name_95 (decision VARCHAR, date VARCHAR)
Which Decision has a Date of april 30?
SELECT home FROM table_name_92 WHERE series = "series tied 3–3"
CREATE TABLE table_name_92 (home VARCHAR, series VARCHAR)
Which Home has a Series of series tied 3–3?
SELECT MIN(earnings___) AS $__ FROM table_name_91 WHERE events = 22 AND rank < 4
CREATE TABLE table_name_91 (earnings___ INTEGER, events VARCHAR, rank VARCHAR)
Events of 22, and a Rank smaller than 4 involved which of the lowest earnings ($)?
SELECT MAX(earnings___) AS $__ FROM table_name_72 WHERE player = "corey pavin" AND rank > 4
CREATE TABLE table_name_72 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)
Player of corey pavin, and a Rank larger than 4 involved which highest earnings ($)?
SELECT mascot FROM table_name_20 WHERE enrollment__2010_ < 980 AND school = "heritage"
CREATE TABLE table_name_20 (mascot VARCHAR, enrollment__2010_ VARCHAR, school VARCHAR)
What is the mascot with an enrollment (2010) less than 980, and heritage as the school?
SELECT class FROM table_name_9 WHERE weight = 242
CREATE TABLE table_name_9 (class VARCHAR, weight VARCHAR)
What is the class of the player with a weight of 242 pounds?
SELECT COUNT(games) AS ↑ FROM table_name_18 WHERE position = "fb"
CREATE TABLE table_name_18 (games VARCHAR, position VARCHAR)
How many games were played by the player at FB?
SELECT name FROM table_name_50 WHERE round < 5 AND pick__number > 13
CREATE TABLE table_name_50 (name VARCHAR, round VARCHAR, pick__number VARCHAR)
Which Name has a Round smaller than 5, and a Pick # larger than 13?