answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT opponent FROM table_name_30 WHERE week = 8
CREATE TABLE table_name_30 (opponent VARCHAR, week VARCHAR)
Who did the Chiefs play in Week 8?
SELECT surface FROM table_name_68 WHERE date = "26 august 2001"
CREATE TABLE table_name_68 (surface VARCHAR, date VARCHAR)
On what surface was the 26 August 2001 tournament played?
SELECT AVG(capacity) FROM table_name_46 WHERE suites = "150"
CREATE TABLE table_name_46 (capacity INTEGER, suites VARCHAR)
What is the average capacity for 150 suites?
SELECT location FROM table_name_30 WHERE project = "eren talu bidding project"
CREATE TABLE table_name_30 (location VARCHAR, project VARCHAR)
Where is the Eren Talu bidding project located?
SELECT location FROM table_name_94 WHERE capacity > 52 OFFSET 000
CREATE TABLE table_name_94 (location VARCHAR, capacity INTEGER)
Which location has a capacity larger than 52,000?
SELECT MAX(capacity) FROM table_name_97 WHERE location = "aslantepe" AND year = "2002-2005"
CREATE TABLE table_name_97 (capacity INTEGER, location VARCHAR, year VARCHAR)
What is the highest capacity in Aslantepe in 2002-2005?
SELECT ungegn FROM table_name_40 WHERE khmer > ១០០០០០០០០
CREATE TABLE table_name_40 (ungegn VARCHAR, khmer INTEGER)
What is the UNGEGN, when the Khmer is greater than ១០០០០០០០០?
SELECT word_form FROM table_name_39 WHERE khmer > ១០០០០០ AND ungegn = "(muŏy) dáb leăn"
CREATE TABLE table_name_39 (word_form VARCHAR, khmer VARCHAR, ungegn VARCHAR)
What is the Word Form, when the Khmer is greater than ១០០០០០, and the UNGEGN is (muŏy) dáb leăn?
SELECT ungegn FROM table_name_34 WHERE value = "10 000"
CREATE TABLE table_name_34 (ungegn VARCHAR, value VARCHAR)
What is the UNGEGN, when the Value is 10 000?
SELECT 2008 FROM table_name_77 WHERE 2007 = "wta premier mandatory tournaments"
CREATE TABLE table_name_77 (Id VARCHAR)
Name the 2008 for wta premier mandatory tournaments of 2007
SELECT 2011 FROM table_name_71 WHERE tournament = "beijing"
CREATE TABLE table_name_71 (tournament VARCHAR)
Name the tournament of beijing
SELECT 2009 FROM table_name_35 WHERE 2007 = "2r" AND tournament = "wimbledon"
CREATE TABLE table_name_35 (tournament VARCHAR)
Name the 2009 for 2007 of 2r and tournament of wimbledon
SELECT 2011 FROM table_name_64 WHERE 2010 = "olympic games"
CREATE TABLE table_name_64 (Id VARCHAR)
Name the 2011 for 2010 of olympic games
SELECT 2011 FROM table_name_62 WHERE tournament = "tokyo"
CREATE TABLE table_name_62 (tournament VARCHAR)
Name the 2011 for tokyo tournament
SELECT 2009 FROM table_name_99 WHERE tournament = "wta premier mandatory tournaments"
CREATE TABLE table_name_99 (tournament VARCHAR)
Name the 2009 for wta premier mandatory tournaments
SELECT year FROM table_name_70 WHERE chassis = "kurtis kraft 500g"
CREATE TABLE table_name_70 (year VARCHAR, chassis VARCHAR)
Which year did Ray Crawford the Kurtis Kraft 500g chassis?
SELECT city FROM table_name_84 WHERE july__avg_high_°f_ < 84 AND january__avg_low_°f_ = "34.3"
CREATE TABLE table_name_84 (city VARCHAR, july__avg_high_°f_ VARCHAR, january__avg_low_°f_ VARCHAR)
What city had a july high below 84, and a january low of 34.3?
SELECT COUNT(july__avg_low_) AS °f_ FROM table_name_28 WHERE january__avg_high_°f_ = "30.4"
CREATE TABLE table_name_28 (july__avg_low_ VARCHAR, january__avg_high_°f_ VARCHAR)
What is the july average low associated with a january average high of 30.4?
SELECT class FROM table_name_50 WHERE identifier = "cbua-fm"
CREATE TABLE table_name_50 (class VARCHAR, identifier VARCHAR)
Which class has an identifier of CBUA-FM?
SELECT city_of_license FROM table_name_15 WHERE frequency = "90.1 fm"
CREATE TABLE table_name_15 (city_of_license VARCHAR, frequency VARCHAR)
What is the city of license for the frequency 90.1 FM?
SELECT power FROM table_name_50 WHERE city_of_license = "beaver creek"
CREATE TABLE table_name_50 (power VARCHAR, city_of_license VARCHAR)
What is the power when the city of license is Beaver Creek?
SELECT city_of_license FROM table_name_70 WHERE class = "lp" AND identifier = "cbdk"
CREATE TABLE table_name_70 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR)
What is the city of license when the class is LP and the identifier is CBDK?
SELECT class FROM table_name_57 WHERE frequency = "560 am"
CREATE TABLE table_name_57 (class VARCHAR, frequency VARCHAR)
What is the class when the frequency is 560 AM?
SELECT MIN(assets__us) AS $_billion_ FROM table_name_16 WHERE company = "piraeus bank" AND revenues__us$_billion_ < 3.9
CREATE TABLE table_name_16 (assets__us INTEGER, company VARCHAR, revenues__us$_billion_ VARCHAR)
What are the smallest assets with a Company of piraeus bank, and a Revenue (US$ billion) smaller than 3.9?
SELECT AVG(market_value__us) AS $_billion_ FROM table_name_87 WHERE revenues__us$_billion_ > 6.2 AND company = "national bank of greece" AND rank < 1
CREATE TABLE table_name_87 (market_value__us INTEGER, rank VARCHAR, revenues__us$_billion_ VARCHAR, company VARCHAR)
What is the average market value with a revenue greater than 6.2, a Company of national bank of greece, and a Rank smaller than 1?
SELECT company FROM table_name_41 WHERE market_value__us$_billion_ > 1 AND assets__us$_billion_ < 10.7 AND rank < 10 AND revenues__us$_billion_ = 9.3
CREATE TABLE table_name_41 (company VARCHAR, revenues__us$_billion_ VARCHAR, rank VARCHAR, market_value__us$_billion_ VARCHAR, assets__us$_billion_ VARCHAR)
Which company has a market value greater than 1, Assets (US$ billion) smaller than 10.7, a Rank smaller than 10, and revenue (US$ billion) of 9.3?
SELECT venue FROM table_name_72 WHERE result = "eng by 6 wkts"
CREATE TABLE table_name_72 (venue VARCHAR, result VARCHAR)
Tell me the venue with result of eng by 6 wkts
SELECT home_captain FROM table_name_14 WHERE venue = "the oval"
CREATE TABLE table_name_14 (home_captain VARCHAR, venue VARCHAR)
Name the Home captain for venue of the oval
SELECT away_captain FROM table_name_69 WHERE result = "wi by 9 wkts"
CREATE TABLE table_name_69 (away_captain VARCHAR, result VARCHAR)
Name the away captain with result of wi by 9 wkts
SELECT venue FROM table_name_46 WHERE result = "eng by 6 wkts"
CREATE TABLE table_name_46 (venue VARCHAR, result VARCHAR)
Name the venue for eng by 6 wkts
SELECT last_performance FROM table_name_77 WHERE style = "street dance" AND name = "george maguire"
CREATE TABLE table_name_77 (last_performance VARCHAR, style VARCHAR, name VARCHAR)
What is the date of the last performance when the style is street dance and the name is George Maguire?
SELECT last_performance FROM table_name_11 WHERE name = "liam mower"
CREATE TABLE table_name_11 (last_performance VARCHAR, name VARCHAR)
What is the date of the last performance for Liam Mower?
SELECT MAX(points) FROM table_name_28 WHERE engine = "weslake v12" AND year < 1966
CREATE TABLE table_name_28 (points INTEGER, engine VARCHAR, year VARCHAR)
How many points did the Weslake v12 get in 1966?
SELECT entrant FROM table_name_3 WHERE year = 1965 AND chassis = "ferrari 158"
CREATE TABLE table_name_3 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
What was the name of the team in 1965 driving the Ferrari 158?
SELECT chassis FROM table_name_30 WHERE engine = "weslake v12"
CREATE TABLE table_name_30 (chassis VARCHAR, engine VARCHAR)
What Chassis had a Weslake v12 in it?
SELECT copaxone FROM table_name_13 WHERE mitoxantrone = "no" AND betaseron__beta_1b_ = "no"
CREATE TABLE table_name_13 (copaxone VARCHAR, mitoxantrone VARCHAR, betaseron__beta_1b_ VARCHAR)
Name the copaxone with mitoxantrone of no and betaseron (beta-1b) of no
SELECT test_career FROM table_name_46 WHERE tests > 41 AND catches > 33 AND total_dismissals = 147
CREATE TABLE table_name_46 (test_career VARCHAR, total_dismissals VARCHAR, tests VARCHAR, catches VARCHAR)
Who has a career that has test larger than 41, catches over 33, and a total dismissals rate of 147?
SELECT AVG(total_dismissals) FROM table_name_5 WHERE tests = 83 AND catches < 33
CREATE TABLE table_name_5 (total_dismissals INTEGER, tests VARCHAR, catches VARCHAR)
What is the average dismissals of 83 test and catches less than 33?
SELECT winner FROM table_name_72 WHERE points_classification = "tony rominger" AND stage = "17"
CREATE TABLE table_name_72 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR)
Which winner has a points classification of Tony Rominger at stage 17?
SELECT stage FROM table_name_93 WHERE mountains_classification = "mariano piccoli" AND points_classification = "mario cipollini" AND winner = "laudelino cubino"
CREATE TABLE table_name_93 (stage VARCHAR, winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)
Which stage has a mountains classification of Mariano Piccoli, a points classification of Mario Cipollini and was won by Laudelino Cubino?
SELECT winner FROM table_name_87 WHERE stage = "16"
CREATE TABLE table_name_87 (winner VARCHAR, stage VARCHAR)
Who won stage 16?
SELECT mountains_classification FROM table_name_70 WHERE general_classification = "tony rominger" AND winner = "maurizio fondriest"
CREATE TABLE table_name_70 (mountains_classification VARCHAR, general_classification VARCHAR, winner VARCHAR)
Which mountains classification has a general classification of Tony Rominger and was won by Maurizio Fondriest?
SELECT general_classification FROM table_name_59 WHERE points_classification = "tony rominger" AND stage = "18"
CREATE TABLE table_name_59 (general_classification VARCHAR, points_classification VARCHAR, stage VARCHAR)
What is the general classification at stage 18 that has a points classification of Tony Rominger?
SELECT stage FROM table_name_5 WHERE mountains_classification = "mariano piccoli" AND winner = "giuseppe citterio"
CREATE TABLE table_name_5 (stage VARCHAR, mountains_classification VARCHAR, winner VARCHAR)
Which stage has a mountains classification of Mariano Piccoli and was won by Giuseppe Citterio?
SELECT first_elected FROM table_name_6 WHERE member = "john armitage"
CREATE TABLE table_name_6 (first_elected VARCHAR, member VARCHAR)
What is the year First elected when the Member is John Armitage?
SELECT electorate FROM table_name_16 WHERE first_elected = "1974" AND party = "country"
CREATE TABLE table_name_16 (electorate VARCHAR, first_elected VARCHAR, party VARCHAR)
Who is the Electorate, when the year for First elected is 1974, and when the Party is Country?
SELECT member FROM table_name_66 WHERE party = "alp" AND electorate = "grey"
CREATE TABLE table_name_66 (member VARCHAR, party VARCHAR, electorate VARCHAR)
Who is the Member when the Party is Alp, and when the Electorate is Grey?
SELECT state FROM table_name_13 WHERE first_elected = "1966" AND member = "alan jarman"
CREATE TABLE table_name_13 (state VARCHAR, first_elected VARCHAR, member VARCHAR)
What is the State, when the year First elected is 1966, and when the Member is Alan Jarman?
SELECT first_elected FROM table_name_17 WHERE party = "alp" AND state = "qld"
CREATE TABLE table_name_17 (first_elected VARCHAR, party VARCHAR, state VARCHAR)
What is the year First Elected, when the Party is Alp, and when the State is qld?
SELECT first_elected FROM table_name_21 WHERE state = "vic" AND member = "hon don chipp"
CREATE TABLE table_name_21 (first_elected VARCHAR, state VARCHAR, member VARCHAR)
What is the year First elected, when the State is vic, and when the Member is Hon Don Chipp?
SELECT COUNT(starts) FROM table_name_18 WHERE wins > 2 AND money_list_rank > 1
CREATE TABLE table_name_18 (starts VARCHAR, wins VARCHAR, money_list_rank VARCHAR)
Which total number of starts has more than 2 wins and a money list rank greater than 1?
SELECT SUM(top_10) FROM table_name_98 WHERE wins > 2 AND top_25 < 16
CREATE TABLE table_name_98 (top_10 INTEGER, wins VARCHAR, top_25 VARCHAR)
What is the sum of Top 10 performances that have more than 2 wins and is higher than number 16 in the Top 25?
SELECT MAX(money_list_rank) FROM table_name_44 WHERE top_25 < 2
CREATE TABLE table_name_44 (money_list_rank INTEGER, top_25 INTEGER)
What is the greatest money list ranking that has a Top 25 higher than 2?
SELECT away_team FROM table_name_68 WHERE attendance = "3,395"
CREATE TABLE table_name_68 (away_team VARCHAR, attendance VARCHAR)
What Away team had an Attendance of 3,395?
SELECT home_team FROM table_name_12 WHERE attendance = "2,776"
CREATE TABLE table_name_12 (home_team VARCHAR, attendance VARCHAR)
What Home team had an Attendance of 2,776?
SELECT engine FROM table_name_71 WHERE points > 1 AND year > 1981
CREATE TABLE table_name_71 (engine VARCHAR, points VARCHAR, year VARCHAR)
Which engine has more than 1 point after 1981?
SELECT engine FROM table_name_99 WHERE entrant = "marlboro team alfa romeo" AND chassis = "alfa romeo 179"
CREATE TABLE table_name_99 (engine VARCHAR, entrant VARCHAR, chassis VARCHAR)
Which engine did Marlboro Team Alfa Romeo used with a chassis of alfa romeo 179?
SELECT date FROM table_name_63 WHERE surface = "road" AND event = "half marathon"
CREATE TABLE table_name_63 (date VARCHAR, surface VARCHAR, event VARCHAR)
When has a surface of road and an event of half marathon?
SELECT surface FROM table_name_54 WHERE place = "lappeenranta"
CREATE TABLE table_name_54 (surface VARCHAR, place VARCHAR)
Which Surface has a Place of lappeenranta?
SELECT class AS pos FROM table_name_79 WHERE laps < 304 AND year > 2001
CREATE TABLE table_name_79 (class VARCHAR, laps VARCHAR, year VARCHAR)
Which Class Pos have Laps smaller than 304, and a Year after 2001?
SELECT MIN(laps) FROM table_name_4 WHERE year > 2002 AND co_drivers = "alexander frei bruno besson"
CREATE TABLE table_name_4 (laps INTEGER, year VARCHAR, co_drivers VARCHAR)
What is the lowest Laps that has a Year after 2002 with Alexander Frei Bruno Besson?
SELECT crowd FROM table_name_15 WHERE score = "w 7-6"
CREATE TABLE table_name_15 (crowd VARCHAR, score VARCHAR)
How many people attended the score of w 7-6?
SELECT loss FROM table_name_25 WHERE score = "w 4-3"
CREATE TABLE table_name_25 (loss VARCHAR, score VARCHAR)
Who lost that has a score of w 4-3?
SELECT date FROM table_name_39 WHERE loss = "schrom"
CREATE TABLE table_name_39 (date VARCHAR, loss VARCHAR)
Loss of schrom happened on what date?
SELECT date FROM table_name_95 WHERE opponent = "@mil" AND record = "45-16"
CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR, record VARCHAR)
Opponent of @mil, and a Record of 45-16 happened on what date?
SELECT record FROM table_name_52 WHERE loss = "willis"
CREATE TABLE table_name_52 (record VARCHAR, loss VARCHAR)
Loss of willis has what record?
SELECT opponent FROM table_name_95 WHERE loss = "wilcox" AND date = "jun 18"
CREATE TABLE table_name_95 (opponent VARCHAR, loss VARCHAR, date VARCHAR)
Loss of wilcox, and a Date of jun 18 had what opponent?
SELECT to_par FROM table_name_64 WHERE score = 74 - 74 - 74 - 71 = 293
CREATE TABLE table_name_64 (to_par VARCHAR, score VARCHAR)
Name the to par for score of 74-74-74-71=293
SELECT player FROM table_name_69 WHERE score = 68 - 68 - 75 - 74 = 285
CREATE TABLE table_name_69 (player VARCHAR, score VARCHAR)
Name the player for 68-68-75-74=285
SELECT to_par FROM table_name_39 WHERE player = "gene kunes"
CREATE TABLE table_name_39 (to_par VARCHAR, player VARCHAR)
Name the to par for gene kunes
SELECT AVG(points) FROM table_name_68 WHERE year < 1955
CREATE TABLE table_name_68 (points INTEGER, year INTEGER)
What is the average Points for a year before 1955?
SELECT SUM(year) FROM table_name_4 WHERE team = "scuderia ferrari" AND engine = "ferrari 106 2.5 l4" AND points > 12
CREATE TABLE table_name_4 (year INTEGER, points VARCHAR, team VARCHAR, engine VARCHAR)
What is the total year with a Team of scuderia ferrari, an Engine of ferrari 106 2.5 l4, and more than 12 points?
SELECT COUNT(wins) FROM table_name_13 WHERE podiums > 1 AND races = 9 AND season > 1984
CREATE TABLE table_name_13 (wins VARCHAR, season VARCHAR, podiums VARCHAR, races VARCHAR)
How many wins has a podiums greater than 1 and 9 as the races with a season after 1984?
SELECT MAX(podiums) FROM table_name_31 WHERE wins = 0 AND season > 1985
CREATE TABLE table_name_31 (podiums INTEGER, wins VARCHAR, season VARCHAR)
What is the highest Podiums with 0 as wins, and a season later than 1985?
SELECT budget FROM table_name_39 WHERE month_ & _year = "march 2013"
CREATE TABLE table_name_39 (budget VARCHAR, month_ VARCHAR, _year VARCHAR)
What was the Top Gear budget in March 2013?
SELECT episode FROM table_name_35 WHERE budget = "£7,000"
CREATE TABLE table_name_35 (episode VARCHAR, budget VARCHAR)
Which episode of Top Gear had a budget of £7,000?
SELECT month_ & _year FROM table_name_18 WHERE title = "bolivia special"
CREATE TABLE table_name_18 (month_ VARCHAR, _year VARCHAR, title VARCHAR)
Which month and year held the Bolivia Special title?
SELECT college_junior_club_team FROM table_name_8 WHERE position = "right wing"
CREATE TABLE table_name_8 (college_junior_club_team VARCHAR, position VARCHAR)
Which team has a right wing position listed?
SELECT position FROM table_name_51 WHERE nationality = "canada" AND nhl_team = "boston bruins"
CREATE TABLE table_name_51 (position VARCHAR, nationality VARCHAR, nhl_team VARCHAR)
What position is the player that is from Canada and on the Boston Bruins
SELECT position FROM table_name_92 WHERE nhl_team = "los angeles kings"
CREATE TABLE table_name_92 (position VARCHAR, nhl_team VARCHAR)
What is the position of the player on the Los Angeles Kings?
SELECT college_junior_club_team FROM table_name_13 WHERE pick__number = "64"
CREATE TABLE table_name_13 (college_junior_club_team VARCHAR, pick__number VARCHAR)
Which team has the # 64 pick?
SELECT nationality FROM table_name_72 WHERE pick__number = "63"
CREATE TABLE table_name_72 (nationality VARCHAR, pick__number VARCHAR)
What nationality is the #63 pick?
SELECT player FROM table_name_51 WHERE pick__number = "69"
CREATE TABLE table_name_51 (player VARCHAR, pick__number VARCHAR)
What is the name of the player that is pick #69?
SELECT tyres FROM table_name_56 WHERE points = 8
CREATE TABLE table_name_56 (tyres VARCHAR, points VARCHAR)
Which tyres received 8 points?
SELECT SUM(points) FROM table_name_86 WHERE engine_s_ = "ford dfz 3.5 v8"
CREATE TABLE table_name_86 (points INTEGER, engine_s_ VARCHAR)
How many points were awarded to the Ford DFZ 3.5 V8?
SELECT engine_s_ FROM table_name_44 WHERE points = 0 AND year = 1988
CREATE TABLE table_name_44 (engine_s_ VARCHAR, points VARCHAR, year VARCHAR)
Which engine received 0 points in 1988?
SELECT issue_date FROM table_name_89 WHERE download = "no available" AND artist = "eric prydz"
CREATE TABLE table_name_89 (issue_date VARCHAR, download VARCHAR, artist VARCHAR)
What's the Issue Date for an Eric Prydz song with a no available Download information?
SELECT download FROM table_name_45 WHERE week = 44
CREATE TABLE table_name_45 (download VARCHAR, week VARCHAR)
What's the Download information for the song from Week 44?
SELECT title FROM table_name_5 WHERE download = "crazy frog" AND issue_date = "july 2"
CREATE TABLE table_name_5 (title VARCHAR, download VARCHAR, issue_date VARCHAR)
What is the title of the July 2 song that is downloaded as Crazy Frog?
SELECT division_record FROM table_name_78 WHERE school = "woodbridge"
CREATE TABLE table_name_78 (division_record VARCHAR, school VARCHAR)
What is the division record for Woodbridge?
SELECT runner_up FROM table_name_96 WHERE year = "2004"
CREATE TABLE table_name_96 (runner_up VARCHAR, year VARCHAR)
Who was the runner-up in 2004?
SELECT 3 AS rd_place FROM table_name_41 WHERE venue = "pardubice"
CREATE TABLE table_name_41 (venue VARCHAR)
Who was the 3rd place team at Pardubice?
SELECT to_par FROM table_name_95 WHERE country = "denmark"
CREATE TABLE table_name_95 (to_par VARCHAR, country VARCHAR)
Name the To par for denmark
SELECT place FROM table_name_43 WHERE player = "pat perez"
CREATE TABLE table_name_43 (place VARCHAR, player VARCHAR)
Nam ethe place for pat perez
SELECT country FROM table_name_16 WHERE player = "vijay singh"
CREATE TABLE table_name_16 (country VARCHAR, player VARCHAR)
Name the country vijay singh is from
SELECT city_of_license FROM table_name_31 WHERE frequency_mhz < 106.5 AND call_sign = "w218ck"
CREATE TABLE table_name_31 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
Which city has frequency under 106.5MHz and a callsign of w218ck?
SELECT class FROM table_name_20 WHERE city_of_license = "richmond, virginia"
CREATE TABLE table_name_20 (class VARCHAR, city_of_license VARCHAR)
Which class has a city of Richmond, Virginia?
SELECT erp_w FROM table_name_18 WHERE frequency_mhz = 91.3
CREATE TABLE table_name_18 (erp_w VARCHAR, frequency_mhz VARCHAR)
What is the ERP W for the frequency of 91.3MHz?
SELECT call_sign FROM table_name_41 WHERE frequency_mhz > 98.5 AND erp_w < 155
CREATE TABLE table_name_41 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
Which call sign has a frequency greater than 98.5MHz and ERP W under 155?
SELECT MIN(tracks) FROM table_name_26 WHERE length = "18:36"
CREATE TABLE table_name_26 (tracks INTEGER, length VARCHAR)
Which tracks have a length of 18:36?