question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Where was the Fury FC 4: High Voltage event held?
CREATE TABLE table_name_5 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_5 WHERE event = "fury fc 4: high voltage"
Tell me the lowest closed for capacity of 62,439
CREATE TABLE table_name_34 (closed INTEGER, capacity VARCHAR)
SELECT MIN(closed) FROM table_name_34 WHERE capacity = 62 OFFSET 439
Who was the away team against the home team Sheffield United?
CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_18 WHERE home_team = "sheffield united"
Who was the home team when the record was 2-3?
CREATE TABLE table_name_38 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_38 WHERE record = "2-3"
when was the next coach appointed after niger tornadoes fired their coach?
CREATE TABLE table_28164986_4 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, team VARCHAR)
SELECT date_of_appointment FROM table_28164986_4 WHERE manner_of_departure = "fired" AND team = "Niger Tornadoes"
How many episodes have the production code 8.04
CREATE TABLE table_2226817_9 (directed_by VARCHAR, production_code VARCHAR)
SELECT COUNT(directed_by) FROM table_2226817_9 WHERE production_code = "8.04"
What district does John Cooksey represent?
CREATE TABLE table_1341453_20 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341453_20 WHERE incumbent = "John Cooksey"
Name the number of partners for 5-7, 6-7 (5-7)
CREATE TABLE table_23944006_4 (partner VARCHAR, score VARCHAR)
SELECT COUNT(partner) FROM table_23944006_4 WHERE score = "5-7, 6-7 (5-7)"
Which Opponent has a Result of l 24–3?
CREATE TABLE table_name_16 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_16 WHERE result = "l 24–3"
How many games had an assist number greater than 54?
CREATE TABLE table_name_54 (games INTEGER, assist INTEGER)
SELECT SUM(games) FROM table_name_54 WHERE assist > 54
What is the November 3 result when the result for January 15-16 is 141?
CREATE TABLE table_25284864_3 (november_3 VARCHAR, january_15_16 VARCHAR)
SELECT november_3 FROM table_25284864_3 WHERE january_15_16 = "141"
What's the most wins of Tatong?
CREATE TABLE table_name_43 (wins INTEGER, benalla_dfl VARCHAR)
SELECT MAX(wins) FROM table_name_43 WHERE benalla_dfl = "tatong"
what's the highest lap that contains the driver of graham hill and a grid that is larger than 18?
CREATE TABLE table_name_34 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MAX(laps) FROM table_name_34 WHERE driver = "graham hill" AND grid > 18
when was the marriage when became dauphine is 31 august 1412?
CREATE TABLE table_name_79 (marriage VARCHAR, became_dauphine VARCHAR)
SELECT marriage FROM table_name_79 WHERE became_dauphine = "31 august 1412"
Who directed production code 3x6116?
CREATE TABLE table_27905664_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_27905664_1 WHERE production_code = "3X6116"
When has winnipeg jets with a Score of 4–6?
CREATE TABLE table_name_82 (date VARCHAR, home VARCHAR, score VARCHAR)
SELECT date FROM table_name_82 WHERE home = "winnipeg jets" AND score = "4–6"
Name the D 42 √ for when it has D 49 √ of r 12
CREATE TABLE table_name_58 (d_42_√ VARCHAR, d_49_√ VARCHAR)
SELECT d_42_√ FROM table_name_58 WHERE d_49_√ = "r 12"
What is the result when the attendance is 960?
CREATE TABLE table_name_44 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_44 WHERE attendance = 960
who is the opponent on 18 january 1993?
CREATE TABLE table_name_23 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_23 WHERE date = "18 january 1993"
Which first leg had Galatasaray as Team 1?
CREATE TABLE table_name_34 (team_1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_34 WHERE team_1 = "galatasaray"
Runs smaller than 6106, and Inns smaller than 146 has what total number of matches?
CREATE TABLE table_name_24 (matches VARCHAR, runs VARCHAR, inns VARCHAR)
SELECT COUNT(matches) FROM table_name_24 WHERE runs < 6106 AND inns < 146
What did the tournament with a QF in 1969 get in 1956-1968?
CREATE TABLE table_name_31 (Id VARCHAR)
SELECT 1956 AS _1968 FROM table_name_31 WHERE 1969 = "qf"
What is the award for the Star Awards earlier than 2005 and the result is won?
CREATE TABLE table_name_31 (award VARCHAR, result VARCHAR, organisation VARCHAR, year VARCHAR)
SELECT award FROM table_name_31 WHERE organisation = "star awards" AND year < 2005 AND result = "won"
How many steals did Nicole Levandusky make?
CREATE TABLE table_19722664_5 (steals VARCHAR, player VARCHAR)
SELECT steals FROM table_19722664_5 WHERE player = "Nicole Levandusky"
What is the title that was first published in February 2009 and is still ongoing?
CREATE TABLE table_name_44 (title VARCHAR, last_issue VARCHAR, first_issue VARCHAR)
SELECT title FROM table_name_44 WHERE last_issue = "ongoing" AND first_issue = "february 2009"
What team drafted a player from Sweden?
CREATE TABLE table_2897457_1 (nhl_team VARCHAR, nationality VARCHAR)
SELECT nhl_team FROM table_2897457_1 WHERE nationality = "Sweden"
What is the highest score for the player with average of 30.00?
CREATE TABLE table_28846752_12 (highest_score VARCHAR, average VARCHAR)
SELECT highest_score FROM table_28846752_12 WHERE average = "30.00"
List a name that has a heat of at least 3 and a Lane of exactly 5.
CREATE TABLE table_name_54 (name VARCHAR, heat VARCHAR, lane VARCHAR)
SELECT name FROM table_name_54 WHERE heat > 3 AND lane = 5
Who was the player when totals were 105-161?
CREATE TABLE table_28628309_6 (player VARCHAR, totals VARCHAR)
SELECT player FROM table_28628309_6 WHERE totals = "105-161"
what tournament had sam querrey as the opponent?
CREATE TABLE table_name_51 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_51 WHERE opponent = "sam querrey"
For top-25 values under 2, what is the average number of cuts made?
CREATE TABLE table_name_54 (cuts_made INTEGER, top_25 INTEGER)
SELECT AVG(cuts_made) FROM table_name_54 WHERE top_25 < 2
Clock rate (MHz) smaller than 400, and a Bandwidth (MB/s) of 1420 has what channels?
CREATE TABLE table_name_93 (channels VARCHAR, clock_rate__mhz_ VARCHAR, bandwidth__mb_s_ VARCHAR)
SELECT channels FROM table_name_93 WHERE clock_rate__mhz_ < 400 AND bandwidth__mb_s_ = 1420
Name the opponent with round of 1 and time of n/a
CREATE TABLE table_name_37 (opponent VARCHAR, round VARCHAR, time VARCHAR)
SELECT opponent FROM table_name_37 WHERE round = "1" AND time = "n/a"
what is the maximum division
CREATE TABLE table_1046454_1 (division INTEGER)
SELECT MAX(division) FROM table_1046454_1
What is the average attendance of shows?
CREATE TABLE SHOW (Attendance INTEGER)
SELECT AVG(Attendance) FROM SHOW
Which airport has an IATA of AMS?
CREATE TABLE table_name_39 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_39 WHERE iata = "ams"
What is the title of the production code 1acx09?
CREATE TABLE table_18734298_1 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_18734298_1 WHERE production_code = "1ACX09"
What is the minimum capacity where airdrie united is?
CREATE TABLE table_11206787_5 (capacity INTEGER, team VARCHAR)
SELECT MIN(capacity) FROM table_11206787_5 WHERE team = "Airdrie United"
Who was the rookie who played when Matt Vinc was defensive and Pat Maddalena was offensive?
CREATE TABLE table_name_6 (rookie VARCHAR, defensive VARCHAR, offensive VARCHAR)
SELECT rookie FROM table_name_6 WHERE defensive = "matt vinc" AND offensive = "pat maddalena"
What is the Tie no of Hereford United's Away game?
CREATE TABLE table_name_83 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_83 WHERE away_team = "hereford united"
What kind of competition was it at San Siro at 18:30 GMT?
CREATE TABLE table_name_60 (competition VARCHAR, ground VARCHAR, time VARCHAR)
SELECT competition FROM table_name_60 WHERE ground = "san siro" AND time = "18:30 gmt"
What's the smallest amount of earnings when the wins are less than 72 and the rank is more than 3?
CREATE TABLE table_name_87 (earnings___ INTEGER, wins VARCHAR, rank VARCHAR)
SELECT MIN(earnings___) AS $__ FROM table_name_87 WHERE wins < 72 AND rank > 3
What was the score for the home team of essendon?
CREATE TABLE table_name_45 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_45 WHERE home_team = "essendon"
How many million U.s. Viewers watched episode 12 in the season?
CREATE TABLE table_22265225_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)
SELECT us_viewers__millions_ FROM table_22265225_1 WHERE no_in_season = "12"
Which is the smallest pick number that had a Reg GP of less than 0?
CREATE TABLE table_name_44 (pick__number INTEGER, reg_gp INTEGER)
SELECT MIN(pick__number) FROM table_name_44 WHERE reg_gp < 0
What is the Arena when there were 65 points?
CREATE TABLE table_name_84 (arena VARCHAR, points VARCHAR)
SELECT arena FROM table_name_84 WHERE points = "65"
What format was released in August 1996?
CREATE TABLE table_name_78 (format VARCHAR, release_date VARCHAR)
SELECT format FROM table_name_78 WHERE release_date = "august 1996"
What is the least apparent magnitude for all constellations from hydra?
CREATE TABLE table_name_31 (apparent_magnitude INTEGER, constellation VARCHAR)
SELECT MIN(apparent_magnitude) FROM table_name_31 WHERE constellation = "hydra"
On which day did the person who is known for the only way is essex star enter?
CREATE TABLE table_name_42 (entered VARCHAR, known_for VARCHAR)
SELECT entered FROM table_name_42 WHERE known_for = "the only way is essex star"
What was the date when Boston was the team?
CREATE TABLE table_27713030_12 (date VARCHAR, team VARCHAR)
SELECT date FROM table_27713030_12 WHERE team = "Boston"
What is the Translated Title of Steinulven?
CREATE TABLE table_name_31 (translated_title VARCHAR, norwegian_title VARCHAR)
SELECT translated_title FROM table_name_31 WHERE norwegian_title = "steinulven"
What is the Origin of Programming for the Network MTV India?
CREATE TABLE table_name_43 (origin_of_programming VARCHAR, network VARCHAR)
SELECT origin_of_programming FROM table_name_43 WHERE network = "mtv india"
What is the status of the membership application on 2008-12-15?
CREATE TABLE table_name_26 (status VARCHAR, membership_application VARCHAR)
SELECT status FROM table_name_26 WHERE membership_application = "2008-12-15"
what is the reported age when the reported birth date is 22 december 1878?
CREATE TABLE table_name_62 (reported_age VARCHAR, reported_birth_date VARCHAR)
SELECT reported_age FROM table_name_62 WHERE reported_birth_date = "22 december 1878"
During the period in which gross sales totals for "The Show Girl Must Go On" reached $2,628,457, what did the numbers show for tickets sold/ available at the box office?
CREATE TABLE table_22123920_4 (tickets_sold___available VARCHAR, gross_sales VARCHAR)
SELECT tickets_sold___available FROM table_22123920_4 WHERE gross_sales = "$2,628,457"
what is the score on march 8?
CREATE TABLE table_name_40 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_40 WHERE date = "march 8"
Loss of lyon (5-4) had what score?
CREATE TABLE table_name_17 (score VARCHAR, loss VARCHAR)
SELECT score FROM table_name_17 WHERE loss = "lyon (5-4)"
what is the least dynamo when spartak is more than 9, competition is totals and draw is more than 24?
CREATE TABLE table_name_12 (dynamo INTEGER, draw VARCHAR, spartak VARCHAR, competition VARCHAR)
SELECT MIN(dynamo) FROM table_name_12 WHERE spartak > 9 AND competition = "totals" AND draw > 24
Which Date has Result of 86-87?
CREATE TABLE table_name_58 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_58 WHERE result = "86-87"
Which championship had a Circuit of le mans?
CREATE TABLE table_name_39 (championship VARCHAR, circuit VARCHAR)
SELECT championship FROM table_name_39 WHERE circuit = "le mans"
What is the 250 cc with a year bigger than 1984?
CREATE TABLE table_name_89 (year INTEGER)
SELECT 250 AS _cc FROM table_name_89 WHERE year > 1984
Find the name of the most expensive hardware product.
CREATE TABLE products (product_name VARCHAR, product_type_code VARCHAR, product_price VARCHAR)
SELECT product_name FROM products WHERE product_type_code = 'Hardware' ORDER BY product_price DESC LIMIT 1
Find all the papers published by "Aaron Turon".
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR)
SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = "Aaron" AND t1.lname = "Turon"
How many receptions does Chris Watton with yards of less than 1?
CREATE TABLE table_name_84 (rec VARCHAR, player VARCHAR, yards VARCHAR)
SELECT COUNT(rec) FROM table_name_84 WHERE player = "chris watton" AND yards < 1
what is the result when extra is 4 x 100 m relay and the year is later than 1971?
CREATE TABLE table_name_15 (result VARCHAR, extra VARCHAR, year VARCHAR)
SELECT result FROM table_name_15 WHERE extra = "4 x 100 m relay" AND year > 1971
Name the film title for wohin und zurück - welcome in vienna
CREATE TABLE table_16255245_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
SELECT film_title_used_in_nomination FROM table_16255245_1 WHERE original_title = "Wohin und zurück - Welcome in Vienna"
How many in total were in attendance at games where Chelsea was the away team?
CREATE TABLE table_name_23 (attendance INTEGER, away_team VARCHAR)
SELECT SUM(attendance) FROM table_name_23 WHERE away_team = "chelsea"
List the type of bed and name of all traditional rooms.
CREATE TABLE Rooms (roomName VARCHAR, bedType VARCHAR, decor VARCHAR)
SELECT roomName, bedType FROM Rooms WHERE decor = "traditional"
What were the average partial failures when the rocket was Ariane 5?
CREATE TABLE table_name_87 (partial_failures INTEGER, rocket VARCHAR)
SELECT AVG(partial_failures) FROM table_name_87 WHERE rocket = "ariane 5"
What is the Against when the drawn is 5?
CREATE TABLE table_name_21 (against VARCHAR, drawn VARCHAR)
SELECT against FROM table_name_21 WHERE drawn = 5
What is Pos., when Date To is "30 June 2009", and when Name is "Eddie Johnson"?
CREATE TABLE table_name_18 (pos VARCHAR, date_to VARCHAR, name VARCHAR)
SELECT pos FROM table_name_18 WHERE date_to = "30 june 2009" AND name = "eddie johnson"
Who was the winning constructor at the circuit of parioli?
CREATE TABLE table_name_71 (winning_constructor VARCHAR, circuit VARCHAR)
SELECT winning_constructor FROM table_name_71 WHERE circuit = "parioli"
How much was the prize money for the 275000 purse?
CREATE TABLE table_11622496_1 (purse__$__ VARCHAR)
SELECT 1 AS st_prize__$__ FROM table_11622496_1 WHERE purse__$__ = 275000
in april 13 who made the high rebounds
CREATE TABLE table_30047613_12 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_30047613_12 WHERE date = "April 13"
What is the Clean & jerk for the bodyweight less than 76.55, and the Total (kg) of –?
CREATE TABLE table_name_36 (clean_ VARCHAR, _jerk VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR)
SELECT clean_ & _jerk FROM table_name_36 WHERE bodyweight < 76.55 AND total__kg_ = "–"
What is the tie with a win of 0?
CREATE TABLE table_name_38 (ties VARCHAR, wins VARCHAR)
SELECT ties FROM table_name_38 WHERE wins = "0"
What is the highest number of wins for Quambatook when Against is less than 1129?
CREATE TABLE table_name_83 (wins INTEGER, golden_rivers VARCHAR, against VARCHAR)
SELECT MAX(wins) FROM table_name_83 WHERE golden_rivers = "quambatook" AND against < 1129
Name the cancelable for onmouseover
CREATE TABLE table_name_25 (cancelable VARCHAR, attribute VARCHAR)
SELECT cancelable FROM table_name_25 WHERE attribute = "onmouseover"
What is the yacht type of Icap Leopard?
CREATE TABLE table_25561560_2 (yacht VARCHAR)
SELECT yacht AS type FROM table_25561560_2 WHERE yacht = "ICAP Leopard"
Which term in office has a qld state, a Party of labor, and an Electorate of fisher?
CREATE TABLE table_name_76 (term_in_office VARCHAR, electorate VARCHAR, state VARCHAR, party VARCHAR)
SELECT term_in_office FROM table_name_76 WHERE state = "qld" AND party = "labor" AND electorate = "fisher"
when the value (int $1000) is 409566, what is the commodity?
CREATE TABLE table_21109892_1 (commodity VARCHAR, value__int_$1000_ VARCHAR)
SELECT commodity FROM table_21109892_1 WHERE value__int_$1000_ = 409566
What is the score for Milwaukee?
CREATE TABLE table_17121262_5 (score VARCHAR, team VARCHAR)
SELECT score FROM table_17121262_5 WHERE team = "Milwaukee"
Which Seat has a Season 6 of kevin o'leary?
CREATE TABLE table_name_85 (seat INTEGER, season_6 VARCHAR)
SELECT MAX(seat) FROM table_name_85 WHERE season_6 = "kevin o'leary"
How many journalists are there?
CREATE TABLE journalist (Id VARCHAR)
SELECT COUNT(*) FROM journalist
what's the points total when points against was points against?
CREATE TABLE table_name_8 (points_for VARCHAR, points_against VARCHAR)
SELECT points_for FROM table_name_8 WHERE points_against = "points against"
What is the average year for Ponce, Puerto Rico events?
CREATE TABLE table_name_15 (year INTEGER, venue VARCHAR)
SELECT AVG(year) FROM table_name_15 WHERE venue = "ponce, puerto rico"
List the title of series episode 38.
CREATE TABLE table_23513241_5 (title VARCHAR, series_episode VARCHAR)
SELECT title FROM table_23513241_5 WHERE series_episode = 38
Who did the high rebounds in the game in which Brandon Jennings (8) did the high assists?
CREATE TABLE table_22871316_6 (high_rebounds VARCHAR, high_assists VARCHAR)
SELECT high_rebounds FROM table_22871316_6 WHERE high_assists = "Brandon Jennings (8)"
How big (in km2) is the voivodenship also known by the abbreviation KN?
CREATE TABLE table_11656578_2 (area_km²__1998_ VARCHAR, abbreviation VARCHAR)
SELECT area_km²__1998_ FROM table_11656578_2 WHERE abbreviation = "kn"
In the United Kingdom, what company has an unknown date and is an energy business?
CREATE TABLE table_name_35 (company VARCHAR, country VARCHAR, business VARCHAR, date VARCHAR)
SELECT company FROM table_name_35 WHERE business = "energy" AND date = "unknown" AND country = "united kingdom"
What is the 2006 value of the 2009 A value, 2011 A value, and A as the 2007 value?
CREATE TABLE table_name_68 (Id VARCHAR)
SELECT 2006 FROM table_name_68 WHERE 2009 = "a" AND 2011 = "a" AND 2007 = "a"
Who were the Brazil scorers for the World Cup Competition with a 1-2 score?
CREATE TABLE table_name_18 (brazil_scorers VARCHAR, competition VARCHAR, score VARCHAR)
SELECT brazil_scorers FROM table_name_18 WHERE competition = "world cup" AND score = "1-2"
What is the lowest swimsuit that has an evening gown bigger than 8.794 for illinois?
CREATE TABLE table_name_47 (swimsuit INTEGER, evening_gown VARCHAR, state VARCHAR)
SELECT MIN(swimsuit) FROM table_name_47 WHERE evening_gown > 8.794 AND state = "illinois"
What player has a number of playoff games played greater than 0?
CREATE TABLE table_name_64 (player VARCHAR, pl_gp INTEGER)
SELECT player FROM table_name_64 WHERE pl_gp > 0
Which game had a result of 126-95?
CREATE TABLE table_name_88 (game VARCHAR, result VARCHAR)
SELECT game FROM table_name_88 WHERE result = "126-95"
Who is the writer of the film Run?
CREATE TABLE table_name_14 (writer VARCHAR, film VARCHAR)
SELECT writer FROM table_name_14 WHERE film = "run"
Which opponent had a round of SF?
CREATE TABLE table_name_45 (opponent VARCHAR, round VARCHAR)
SELECT opponent FROM table_name_45 WHERE round = "sf"
What are the Notes of the Country of finland?
CREATE TABLE table_name_16 (notes VARCHAR, country VARCHAR)
SELECT notes FROM table_name_16 WHERE country = "finland"
Tell me the team 1 for team 2 being civitavecchiese (latium a)
CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_8 WHERE team_2 = "civitavecchiese (latium a)"
what's the won with points against being 597
CREATE TABLE table_13758945_3 (won VARCHAR, points_against VARCHAR)
SELECT won FROM table_13758945_3 WHERE points_against = "597"