answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT against FROM table_name_24 WHERE opposing_team = "sheffield wednesday"
What was the Against when the Opposing Team was sheffield wednesday?
CREATE TABLE table_name_24 (against VARCHAR, opposing_team VARCHAR)
SELECT quantity_made FROM table_name_31 WHERE wheel_arrangement = "2-6-0" AND class = "d-3"
What is Quantity made, when Wheel Arrangement is "2-6-0", and when Class is "D-3"?
CREATE TABLE table_name_31 (quantity_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
SELECT SUM(total) FROM table_name_98 WHERE to_par = "–1"
How many totals have a To par of –1?
CREATE TABLE table_name_98 (total INTEGER, to_par VARCHAR)
SELECT civil_parish FROM table_30121096_1 WHERE townland = "Clooncugger"
Which civil parish is for the townland clooncugger?
CREATE TABLE table_30121096_1 (civil_parish VARCHAR, townland VARCHAR)
SELECT AVG(pick__number) FROM table_name_77 WHERE college = "iowa" AND overall < 200
What is the mean pick number for Iowa College when the overall is less than 200?
CREATE TABLE table_name_77 (pick__number INTEGER, college VARCHAR, overall VARCHAR)
SELECT res FROM table_name_92 WHERE round > 2 AND event = "midwest cage championships 25: inferno"
What is Res., when Round is greater than 2, and when Event is "Midwest Cage Championships 25: Inferno"?
CREATE TABLE table_name_92 (res VARCHAR, round VARCHAR, event VARCHAR)
SELECT high_rebounds FROM table_13557843_7 WHERE team = "Vancouver"
who is the the high rebounds with team being vancouver
CREATE TABLE table_13557843_7 (high_rebounds VARCHAR, team VARCHAR)
SELECT school FROM table_name_90 WHERE name = "ivey armstrong"
what is the school for Ivey armstrong?
CREATE TABLE table_name_90 (school VARCHAR, name VARCHAR)
SELECT language FROM table_1601792_3 WHERE station = "Malacca FM"
What is the language of the malacca fm station?
CREATE TABLE table_1601792_3 (language VARCHAR, station VARCHAR)
SELECT score FROM table_name_59 WHERE set_1 = "19:21"
What is the score for Set 1 at 19:21?
CREATE TABLE table_name_59 (score VARCHAR, set_1 VARCHAR)
SELECT channels___analog___digital__ FROM table_name_91 WHERE first_air_date = "31 december 1990" AND region_served = "southern downs"
What channels first aired on 31 December 1990 in the Southern Downs region?
CREATE TABLE table_name_91 (channels___analog___digital__ VARCHAR, first_air_date VARCHAR, region_served VARCHAR)
SELECT game FROM table_name_74 WHERE score = "122–125"
Which Game has a Score of 122–125?
CREATE TABLE table_name_74 (game VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_35 WHERE date = "april 19"
What is the opponent from April 19?
CREATE TABLE table_name_35 (opponent VARCHAR, date VARCHAR)
SELECT round FROM table_name_11 WHERE club = "dundee united"
Which round did Dundee United end in?
CREATE TABLE table_name_11 (round VARCHAR, club VARCHAR)
SELECT COUNT(result) FROM table_14951643_1 WHERE opponent = "Cleveland Browns"
how many result with opponent being cleveland browns
CREATE TABLE table_14951643_1 (result VARCHAR, opponent VARCHAR)
SELECT primary_conference FROM table_name_60 WHERE team_nickname = "loggers"
The Loggers are part of what Primary Conference?
CREATE TABLE table_name_60 (primary_conference VARCHAR, team_nickname VARCHAR)
SELECT population FROM table_name_38 WHERE county = "sargent"
What is the Population of Sargent County?
CREATE TABLE table_name_38 (population VARCHAR, county VARCHAR)
SELECT COUNT(year) FROM table_23235767_4 WHERE score_in_the_final = "6–3, 6–2" AND surface = "Hard"
Name the number of year for 6–3, 6–2 hard surface
CREATE TABLE table_23235767_4 (year VARCHAR, score_in_the_final VARCHAR, surface VARCHAR)
SELECT entrepreneur_s_ FROM table_name_27 WHERE money_requested__£_ = "60,000"
What Entrepreneurs requested £60,000?
CREATE TABLE table_name_27 (entrepreneur_s_ VARCHAR, money_requested__£_ VARCHAR)
SELECT surface FROM table_name_58 WHERE date = "february 25, 1996"
Name the surface for february 25, 1996
CREATE TABLE table_name_58 (surface VARCHAR, date VARCHAR)
SELECT 20 AS _29 FROM table_name_69 WHERE season = "2008"
What 20-29 was in season 2008?
CREATE TABLE table_name_69 (season VARCHAR)
SELECT date FROM table_name_75 WHERE opponent = "white sox" AND record = "81-48"
What was the game of the game against the White Sox with a record of 81-48?
CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT webcast FROM table_name_86 WHERE format = "spanish contemporary" AND website = "xhnoe.com"
Which webcast was in Spanish contemporary on xhnoe.com?
CREATE TABLE table_name_86 (webcast VARCHAR, format VARCHAR, website VARCHAR)
SELECT MAX(no_in_series) FROM table_1876825_6 WHERE original_air_date = "February 8, 2004"
What episode number in the series aired on February 8, 2004?
CREATE TABLE table_1876825_6 (no_in_series INTEGER, original_air_date VARCHAR)
SELECT position FROM table_name_40 WHERE event = "60 m" AND venue = "budapest , hungary"
What is Position, when Event is 60 m, and when Venue is Budapest , Hungary?
CREATE TABLE table_name_40 (position VARCHAR, event VARCHAR, venue VARCHAR)
SELECT wheel_arrangement FROM table_name_1 WHERE quantity_preserved = "1"
What is the wheel arrangement with 1 quantity preserved?
CREATE TABLE table_name_1 (wheel_arrangement VARCHAR, quantity_preserved VARCHAR)
SELECT high_points FROM table_23286158_9 WHERE team = "Indiana"
Who led with the highest points during the game against Indiana?
CREATE TABLE table_23286158_9 (high_points VARCHAR, team VARCHAR)
SELECT set_3 FROM table_name_95 WHERE total = "78–92"
What is the set 3 when the total is 78–92?
CREATE TABLE table_name_95 (set_3 VARCHAR, total VARCHAR)
SELECT date FROM table_name_72 WHERE championship = "mackay"
What is Date, when Championship is Mackay?
CREATE TABLE table_name_72 (date VARCHAR, championship VARCHAR)
SELECT MIN(week) FROM table_name_58 WHERE opponent = "atlanta falcons" AND attendance < 63 OFFSET 114
Which Week has an Opponent of atlanta falcons, and an Attendance smaller than 63,114?
CREATE TABLE table_name_58 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT MIN(grid) FROM table_name_87 WHERE rider = "roberto rolfo" AND laps > 26
What is the lowest grid for Roberto Rolfo with more than 26 laps?
CREATE TABLE table_name_87 (grid INTEGER, rider VARCHAR, laps VARCHAR)
SELECT engine FROM table_name_79 WHERE pts > 0
What engine has more than 0 pts?
CREATE TABLE table_name_79 (engine VARCHAR, pts INTEGER)
SELECT COUNT(security_forces) FROM table_21636599_2 WHERE period = 1998
How many figures are named for security forces in 1998?
CREATE TABLE table_21636599_2 (security_forces VARCHAR, period VARCHAR)
SELECT manner_of_departure FROM table_26976615_3 WHERE outgoing_manager = "Andrea Mandorlini"
What was the manner of departure when the outgoing manager was andrea mandorlini?
CREATE TABLE table_26976615_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
SELECT opponents_in_the_final FROM table_name_87 WHERE partner = "christina wheeler"
Who were the opponents during the final when christina wheeler was partner?
CREATE TABLE table_name_87 (opponents_in_the_final VARCHAR, partner VARCHAR)
SELECT west FROM table_name_28 WHERE south = "ev fürstenfeldbruck"
What was west when ev fürstenfeldbruck was south?
CREATE TABLE table_name_28 (west VARCHAR, south VARCHAR)
SELECT music_by FROM table_191105_3 WHERE episode_title = "Interplanet Janet"
When interplanet janet is the episode title who is the music by?
CREATE TABLE table_191105_3 (music_by VARCHAR, episode_title VARCHAR)
SELECT AVG(crowd) FROM table_name_67 WHERE date = "saturday, 29 january" AND away_team = "collingwood"
How many Crowd that has a Date on saturday, 29 january and an Away team of collingwood?
CREATE TABLE table_name_67 (crowd INTEGER, date VARCHAR, away_team VARCHAR)
SELECT 17 AS th_c FROM table_name_25 WHERE australian = "i, ɪ, ə" AND examples = "œsophagus"
What is 17th c., when Australian is "i, ɪ, ə", and when Examples is "œsophagus"?
CREATE TABLE table_name_25 (australian VARCHAR, examples VARCHAR)
SELECT result FROM table_1342359_39 WHERE incumbent = "Thomas S. McMillan"
What is the result for thomas s. mcmillan?
CREATE TABLE table_1342359_39 (result VARCHAR, incumbent VARCHAR)
SELECT AVG(react) FROM table_name_91 WHERE name = "candice davis" AND lane < 3
What is the average React, when Name is "Candice Davis", and when Lane is less than 3?
CREATE TABLE table_name_91 (react INTEGER, name VARCHAR, lane VARCHAR)
SELECT AVG(total) FROM table_name_54 WHERE gold = 0 AND bronze = 0 AND silver < 1
What is the average total when gold is 0, bronze is 0, and silver is smaller than 1?
CREATE TABLE table_name_54 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT player FROM table_28628309_8 WHERE category = "Field goal percentage"
What is the name of the player when the category is listed as field goal percentage?
CREATE TABLE table_28628309_8 (player VARCHAR, category VARCHAR)
SELECT SUM(hours) FROM projects
Find the total hours of all projects.
CREATE TABLE projects (hours INTEGER)
SELECT overall FROM table_name_72 WHERE pick < 9 AND college = "michigan state" AND name = "buck mystrom"
What is the overall pick number for a draft pick smaller than 9, named buck mystrom from Michigan State college?
CREATE TABLE table_name_72 (overall VARCHAR, name VARCHAR, pick VARCHAR, college VARCHAR)
SELECT home_team AS score FROM table_name_2 WHERE away_team = "st kilda"
Which Home team score has an Away team of st kilda?
CREATE TABLE table_name_2 (home_team VARCHAR, away_team VARCHAR)
SELECT flag FROM table_name_52 WHERE name = "terkoeli"
What is the flag for Terkoeli?
CREATE TABLE table_name_52 (flag VARCHAR, name VARCHAR)
SELECT head_coach FROM table_name_86 WHERE president = "mario volarevic"
Who is the Head Coach of the team whose President is Mario Volarevic?
CREATE TABLE table_name_86 (head_coach VARCHAR, president VARCHAR)
SELECT year_born FROM table_23670057_7 WHERE height__m_ = "1.88"
What is every year born for height of 1.88?
CREATE TABLE table_23670057_7 (year_born VARCHAR, height__m_ VARCHAR)
SELECT MIN(events) FROM table_name_30 WHERE tournament = "the open championship" AND top_10 < 0
What is the lowest number of events the Open Championship has with a less than 0 top-10?
CREATE TABLE table_name_30 (events INTEGER, tournament VARCHAR, top_10 VARCHAR)
SELECT bbc_two_total_viewing FROM table_name_57 WHERE year = "1999"
How much is the total BBC 2 viewing in 1999?
CREATE TABLE table_name_57 (bbc_two_total_viewing VARCHAR, year VARCHAR)
SELECT jushin_liger FROM table_name_20 WHERE masaaki_mochizuki = "kashin (10:00)"
Which Jushin Liger has a Masaaki Mochizuki of kashin (10:00)?
CREATE TABLE table_name_20 (jushin_liger VARCHAR, masaaki_mochizuki VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_98 WHERE original_title = "zwartboek"
What is the nomination title used for the original film, Zwartboek?
CREATE TABLE table_name_98 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
SELECT MIN(result) FROM table_name_66 WHERE reaction_time > 0.185 AND name = "christian malcolm" AND lane > 3
What is the lowest result for Christian Malcolm with a reaction time greater than 0.185 and a lane higher than 3?
CREATE TABLE table_name_66 (result INTEGER, lane VARCHAR, reaction_time VARCHAR, name VARCHAR)
SELECT COUNT(lane) FROM table_name_16 WHERE country = "united states" AND mark = "6.62" AND heat > 8
What is the total lane number for the United States when the mark is 6.62 and the heat is greater than 8?
CREATE TABLE table_name_16 (lane VARCHAR, heat VARCHAR, country VARCHAR, mark VARCHAR)
SELECT MIN(goals_for) FROM table_name_65 WHERE team = "goole town" AND position < 9
W hat was the lowest Goals For when they played Team Goole Town and had a position lower than 9?
CREATE TABLE table_name_65 (goals_for INTEGER, team VARCHAR, position VARCHAR)
SELECT others_percentage FROM table_1733513_1 WHERE bush_number = 3196
What was the percentage of others when the number for Bush was 3196?
CREATE TABLE table_1733513_1 (others_percentage VARCHAR, bush_number VARCHAR)
SELECT writer_s_ FROM table_name_29 WHERE episode = "18-09 (652)"
Which writer wrote episode 18-09 (652)?
CREATE TABLE table_name_29 (writer_s_ VARCHAR, episode VARCHAR)
SELECT hebrew_word FROM table_1242447_2 WHERE strongs__number = "5418"
What is the hebrew word listed for strongs # 5418?
CREATE TABLE table_1242447_2 (hebrew_word VARCHAR, strongs__number VARCHAR)
SELECT tournament FROM table_name_61 WHERE outcome = "winner" AND surface = "clay" AND opponent = "aranza salut"
Name the tournament for outcome of winner and clay surface with opponent of aranza salut
CREATE TABLE table_name_61 (tournament VARCHAR, opponent VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT SUM(round) FROM table_name_26 WHERE grand_prix = "german gp"
How many rounds have a Grand Prix of german gp?
CREATE TABLE table_name_26 (round INTEGER, grand_prix VARCHAR)
SELECT us AS AC FROM table_name_13 WHERE album = "the best" AND year = 1965
What was the best album in 1965?
CREATE TABLE table_name_13 (us VARCHAR, album VARCHAR, year VARCHAR)
SELECT birthplace FROM table_name_81 WHERE agency = "lespros entertainment" AND generation = "third (2009)"
What's the birthplace of the third (2009) generation member from the lespros entertainment agency?
CREATE TABLE table_name_81 (birthplace VARCHAR, agency VARCHAR, generation VARCHAR)
SELECT location FROM table_name_59 WHERE record = "0-1"
Which Location has a Record of 0-1?
CREATE TABLE table_name_59 (location VARCHAR, record VARCHAR)
SELECT AVG(T2.Price) FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T1.County = "Sonoma"
Give me the average prices of wines that are produced by appelations in Sonoma County.
CREATE TABLE WINE (Price INTEGER, Appelation VARCHAR); CREATE TABLE APPELLATIONS (Appelation VARCHAR, County VARCHAR)
SELECT AVG(played) FROM table_name_94 WHERE position < 4 AND wins > 16 AND points = 38 AND goals_against > 35
Which Played has a Position smaller than 4, and Wins larger than 16, and Points of 38, and Goals against larger than 35?
CREATE TABLE table_name_94 (played INTEGER, goals_against VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR)
SELECT country FROM table_name_3 WHERE money___$__ < 188 AND score = 74 - 76 - 73 - 75 = 298
What county has less than $188 and a score of 74-76-73-75=298?
CREATE TABLE table_name_3 (country VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT points_for FROM table_name_43 WHERE tries_for = "77"
How many points for did the club that had 77 tries for have ?
CREATE TABLE table_name_43 (points_for VARCHAR, tries_for VARCHAR)
SELECT MIN(goals) FROM table_name_75 WHERE venue = "tehran, iran" AND date = "1948-10-28"
In 1948-10-28, what were the lowest Goals in Tehran, Iran?
CREATE TABLE table_name_75 (goals INTEGER, venue VARCHAR, date VARCHAR)
SELECT Hosts FROM farm_competition WHERE Theme <> 'Aliens'
What are the hosts of competitions whose theme is not "Aliens"?
CREATE TABLE farm_competition (Hosts VARCHAR, Theme VARCHAR)
SELECT mult FROM table_18823880_10 WHERE sspec_number = "SLBLW(B1)"
When slblw(b1) is the sspec number what is the mult.?
CREATE TABLE table_18823880_10 (mult VARCHAR, sspec_number VARCHAR)
SELECT nationality FROM table_name_12 WHERE round = 4
What country does Round 4 come from?
CREATE TABLE table_name_12 (nationality VARCHAR, round VARCHAR)
SELECT MAX(passenger_fleet) FROM table_name_77 WHERE airline_holding = "wizz air" AND current_destinations < 83
For an airline of Wizz Air and fewer than 83 destinations, what is the highest passenger fleet?
CREATE TABLE table_name_77 (passenger_fleet INTEGER, airline_holding VARCHAR, current_destinations VARCHAR)
SELECT SUM(attendance) FROM table_name_6 WHERE visitor = "cleveland" AND leading_scorer = "larry hughes(33)"
How many people attended the game when Larry Hughes(33) was the leading scorer and cleveland was visiting?
CREATE TABLE table_name_6 (attendance INTEGER, visitor VARCHAR, leading_scorer VARCHAR)
SELECT rnd FROM table_14154271_2 WHERE lmp2_winning_team = "Jos Verstappen Jeroen Bleekemolen"
Jos verstappen jeroen bleekemolen is on Imp2 winning team where all are rnd.
CREATE TABLE table_14154271_2 (rnd VARCHAR, lmp2_winning_team VARCHAR)
SELECT MAX(grid) FROM table_name_39 WHERE driver = "mario andretti" AND laps < 54
what is the grid when the driver is mario andretti and the laps is less than 54?
CREATE TABLE table_name_39 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT COUNT(time) FROM table_name_15 WHERE nationality = "slovenia" AND lane < 9
What was the 200-metre time for the swimmer from Slovenia in lane 9?
CREATE TABLE table_name_15 (time VARCHAR, nationality VARCHAR, lane VARCHAR)
SELECT MAX(elevation__m_) FROM table_2731431_1 WHERE no = 39
What is the elevation for number 39?
CREATE TABLE table_2731431_1 (elevation__m_ INTEGER, no VARCHAR)
SELECT school FROM table_name_41 WHERE county = "36 jackson"
What school is in 36 Jackson?
CREATE TABLE table_name_41 (school VARCHAR, county VARCHAR)
SELECT COUNT(time) FROM table_name_34 WHERE lane = 4
What is the Time of the Athlete in Lane 4?
CREATE TABLE table_name_34 (time VARCHAR, lane VARCHAR)
SELECT 2007 FROM table_name_67 WHERE 2011 = "2r" AND 2008 = "2r"
What is the 2007 value with 2r in 2011 and 2r in 2008?
CREATE TABLE table_name_67 (Id VARCHAR)
SELECT model FROM table_name_92 WHERE seats = 175
Which model has 175 seats?
CREATE TABLE table_name_92 (model VARCHAR, seats VARCHAR)
SELECT MAX(laps) FROM table_name_68 WHERE grid < 6 AND time_retired = "halfshaft"
What is the high lap total for a grid less than 6, and a Time/Retired of halfshaft?
CREATE TABLE table_name_68 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT location FROM table_name_10 WHERE record = "9-1-0"
Where was the game played when their record was 9-1-0?
CREATE TABLE table_name_10 (location VARCHAR, record VARCHAR)
SELECT event FROM table_name_57 WHERE olympics = "1952 summer olympics"
Which event is in the 1952 summer olympics?
CREATE TABLE table_name_57 (event VARCHAR, olympics VARCHAR)
SELECT college_junior_club_team FROM table_2886617_9 WHERE nhl_team = "Dallas Stars"
What college club team did the Dallas Stars choose their draft pick from?
CREATE TABLE table_2886617_9 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
SELECT opponent FROM table_name_20 WHERE result = "–"
What Opponent has a Result of –?
CREATE TABLE table_name_20 (opponent VARCHAR, result VARCHAR)
SELECT COUNT(region_4) FROM table_1337525_1 WHERE complete_series = "The Complete Seventh Series"
What is the number of region 4 for the series of the complete seventh series?
CREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR)
SELECT MAX(games) FROM table_name_58 WHERE points < 4 AND drawn = 1 AND lost < 6
What is the highest games from a game with points less than 4, drawn of 1 and a lost less than 6?
CREATE TABLE table_name_58 (games INTEGER, lost VARCHAR, points VARCHAR, drawn VARCHAR)
SELECT result FROM table_name_53 WHERE week = 15
What's the Result for week 15?
CREATE TABLE table_name_53 (result VARCHAR, week VARCHAR)
SELECT location FROM table_2439728_1 WHERE mascot = "Dragons"
where are dragons used as mascots?
CREATE TABLE table_2439728_1 (location VARCHAR, mascot VARCHAR)
SELECT year FROM table_name_89 WHERE slogan = "the wild side of soccer!"
What year has the wild side of soccer! as the slogan?
CREATE TABLE table_name_89 (year VARCHAR, slogan VARCHAR)
SELECT previous_champion_s_ FROM table_name_40 WHERE date_won = "may 1, 2010"
Who were the previous champions from the event won on May 1, 2010?
CREATE TABLE table_name_40 (previous_champion_s_ VARCHAR, date_won VARCHAR)
SELECT score FROM table_name_62 WHERE opponents = "misa eguchi eri hozumi"
Tell me the score of misa eguchi eri hozumi
CREATE TABLE table_name_62 (score VARCHAR, opponents VARCHAR)
SELECT format FROM table_name_98 WHERE frequency = "100.5 fm"
Which Format has a Frequency of 100.5 fm?
CREATE TABLE table_name_98 (format VARCHAR, frequency VARCHAR)
SELECT date FROM table_name_71 WHERE away_team = "richmond"
What day is richmond the away side?
CREATE TABLE table_name_71 (date VARCHAR, away_team VARCHAR)
SELECT pos FROM table_name_11 WHERE first_round < 10
Which Pos has a First round smaller than 10?
CREATE TABLE table_name_11 (pos VARCHAR, first_round INTEGER)
SELECT surface FROM table_name_67 WHERE score = "4–6, 6–2, [10–7]"
What surface was played on that resulted in a score of 4–6, 6–2, [10–7]?
CREATE TABLE table_name_67 (surface VARCHAR, score VARCHAR)
SELECT COUNT(no_in_series) FROM table_29196086_4 WHERE original_air_date = "January19,2013"
how many episodes originally aired january19,2013
CREATE TABLE table_29196086_4 (no_in_series VARCHAR, original_air_date VARCHAR)
SELECT 2012 FROM table_name_97 WHERE 2011 = "qf"
Name the 2012 when 2011 is qf
CREATE TABLE table_name_97 (Id VARCHAR)