answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT COUNT(week) FROM table_name_57 WHERE date = "november 13, 1955" AND attendance > 33 OFFSET 982
Which week was on November 13, 1955 when the attendance was over 33,982?
CREATE TABLE table_name_57 (week VARCHAR, date VARCHAR, attendance VARCHAR)
SELECT laps FROM table_name_60 WHERE driver = "jacques villeneuve"
How many laps did Jacques Villeneuve have?
CREATE TABLE table_name_60 (laps VARCHAR, driver VARCHAR)
SELECT eid, salary FROM Employee WHERE name = 'Mark Young'
Show the id and salary of Mark Young.
CREATE TABLE Employee (eid VARCHAR, salary VARCHAR, name VARCHAR)
SELECT runner_up FROM table_name_62 WHERE margin_of_victory = "2 strokes" AND to_par = "−16"
Who was the runner-up in the tournament that has a margin of victory of 2 strokes, and a To par of −16?
CREATE TABLE table_name_62 (runner_up VARCHAR, margin_of_victory VARCHAR, to_par VARCHAR)
SELECT MAX(population) FROM table_name_57 WHERE rank_among_provinces < 5
What is the highest population for the province having a rank under 5?
CREATE TABLE table_name_57 (population INTEGER, rank_among_provinces INTEGER)
SELECT score FROM table_name_51 WHERE country = "japan"
What was japan's score?
CREATE TABLE table_name_51 (score VARCHAR, country VARCHAR)
SELECT country FROM table_name_95 WHERE player = "tom kite"
What Country is Tom Kite from?
CREATE TABLE table_name_95 (country VARCHAR, player VARCHAR)
SELECT MAX(free_throws) FROM table_28693349_2 WHERE player = "Charles Pearman"
How many free throws did Charles Pearman score?
CREATE TABLE table_28693349_2 (free_throws INTEGER, player VARCHAR)
SELECT MAX(silver) FROM table_name_37 WHERE bronze < 1 AND gold = 1 AND rank = "7"
What is the highest number of Silvers for rank 7 teams with 1 gold and under 1 bronze?
CREATE TABLE table_name_37 (silver INTEGER, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT listed_owner_s_ FROM table_2187178_1 WHERE team = "Brevak Racing"
Name the listed owners for brevak racing
CREATE TABLE table_2187178_1 (listed_owner_s_ VARCHAR, team VARCHAR)
SELECT part_1 FROM table_name_81 WHERE class = "7d"
What is the entry for Part 1 for class 7d?
CREATE TABLE table_name_81 (part_1 VARCHAR, class VARCHAR)
SELECT winnings FROM table_25146455_1 WHERE driver = "Kenny Brack"
How much did Kenny Brack win?
CREATE TABLE table_25146455_1 (winnings VARCHAR, driver VARCHAR)
SELECT notes FROM table_name_20 WHERE bronze = "pasi ikonen"
What is Notes, when Bronze is "Pasi Ikonen"?
CREATE TABLE table_name_20 (notes VARCHAR, bronze VARCHAR)
SELECT fc_matches FROM table_name_52 WHERE location = "darlington"
What FC Match was played in Darlington?
CREATE TABLE table_name_52 (fc_matches VARCHAR, location VARCHAR)
SELECT name_designation FROM table_name_81 WHERE payload = "1200kg"
What is the name/designation for the 1200kg payload?
CREATE TABLE table_name_81 (name_designation VARCHAR, payload VARCHAR)
SELECT driver FROM table_name_79 WHERE chassis = "tg183b tg184"
Who is the driver of the chassis that is tg183b tg184?
CREATE TABLE table_name_79 (driver VARCHAR, chassis VARCHAR)
SELECT COUNT(winners) FROM table_14286908_1 WHERE school = "Banbridge Academy"
How many times was banbridge academy the winner?
CREATE TABLE table_14286908_1 (winners VARCHAR, school VARCHAR)
SELECT grand_slam FROM table_name_35 WHERE year = 1987 AND round = "first round" AND winner = "ivan lendl"
What is the grand slam in 1987, when round shows first round, and Ivan Lendl won?
CREATE TABLE table_name_35 (grand_slam VARCHAR, winner VARCHAR, year VARCHAR, round VARCHAR)
SELECT championship FROM table_19047_2 WHERE score_in_the_final = "4–6, 7–5, 6–2"
What tournament did she win with a final score of 4–6, 7–5, 6–2?
CREATE TABLE table_19047_2 (championship VARCHAR, score_in_the_final VARCHAR)
SELECT kinka_13 FROM table_name_11 WHERE kinka_developer = "yes" AND version = "support mo 230"
What is the KINKA 1.3 when the developer is yes and the support version is support mo 230?
CREATE TABLE table_name_11 (kinka_13 VARCHAR, kinka_developer VARCHAR, version VARCHAR)
SELECT number_s_ FROM table_name_43 WHERE quantity = "1" AND year_s__of_manufacture = "1841"
What number was manufactured 1 in 1841?
CREATE TABLE table_name_43 (number_s_ VARCHAR, quantity VARCHAR, year_s__of_manufacture VARCHAR)
SELECT SUM(value) FROM table_name_2 WHERE word_form = "សាមសិប"
What's the total value of សាមសិប?
CREATE TABLE table_name_2 (value INTEGER, word_form VARCHAR)
SELECT pole_position FROM table_14638077_2 WHERE rnd = 16
who is the the pole position with rnd being 16
CREATE TABLE table_14638077_2 (pole_position VARCHAR, rnd VARCHAR)
SELECT year_built FROM table_name_74 WHERE venue = "john m. belk arena"
What year was John m. Belk Arena built?
CREATE TABLE table_name_74 (year_built VARCHAR, venue VARCHAR)
SELECT date FROM table_23274514_8 WHERE location_attendance = "TD Garden 18,624"
On what date was the attendance at TD Garden 18,624?
CREATE TABLE table_23274514_8 (date VARCHAR, location_attendance VARCHAR)
SELECT party FROM table_2668352_16 WHERE result = "Lost re-election Democratic-Republican hold"
Which party experienced a result of lost re-election democratic-republican hold?
CREATE TABLE table_2668352_16 (party VARCHAR, result VARCHAR)
SELECT nfl_team FROM table_name_19 WHERE position = "wide receiver"
Which NFL team picked a player for the Wide Receiver position?
CREATE TABLE table_name_19 (nfl_team VARCHAR, position VARCHAR)
SELECT host_team FROM table_name_21 WHERE stadium = "louisiana superdome" AND final_score = "10-20"
Who was the host team at Louisiana Superdome when the final score was 10-20?
CREATE TABLE table_name_21 (host_team VARCHAR, stadium VARCHAR, final_score VARCHAR)
SELECT bore FROM table_name_8 WHERE cyl = "9-cyl radial" AND name = "9 ad"
What is the bore for a 9-cyl radial on a 9 AD?
CREATE TABLE table_name_8 (bore VARCHAR, cyl VARCHAR, name VARCHAR)
SELECT SUM(played) FROM table_name_65 WHERE position < 1
What is the total number of played for the entry with a position of less than 1?
CREATE TABLE table_name_65 (played INTEGER, position INTEGER)
SELECT date FROM table_name_65 WHERE away_team = "fitzroy"
What date was fitzroy the away team?
CREATE TABLE table_name_65 (date VARCHAR, away_team VARCHAR)
SELECT nhl_team FROM table_2897457_2 WHERE player = "Richard Borgo"
What NHL team picked richard borgo?
CREATE TABLE table_2897457_2 (nhl_team VARCHAR, player VARCHAR)
SELECT MIN(races) FROM table_name_16 WHERE team_name = "piquet gp" AND points > 24
Can you tell me the lowest Races that has the Team Name of piquet gp, and the Points larger than 24?
CREATE TABLE table_name_16 (races INTEGER, team_name VARCHAR, points VARCHAR)
SELECT MAX(wins) FROM table_2387790_1 WHERE poles = 2
what are the maximum wins where the poles are 2?
CREATE TABLE table_2387790_1 (wins INTEGER, poles VARCHAR)
SELECT date_of_departure FROM table_name_41 WHERE replaced_by = "bojan prašnikar"
When was the departure date when a manager was replaced by Bojan Prašnikar?
CREATE TABLE table_name_41 (date_of_departure VARCHAR, replaced_by VARCHAR)
SELECT record_set FROM table_name_24 WHERE year > 2011 AND superlative = "youngest nominee"
After the year 2011, who was the youngest nominee?
CREATE TABLE table_name_24 (record_set VARCHAR, year VARCHAR, superlative VARCHAR)
SELECT MIN(rank) FROM table_name_6 WHERE nationality = "united states" AND time = "58.06" AND heat > 5
When the nationality is united states, and the time is 58.06, and the heat is larger than 5 what is the lowest rank?
CREATE TABLE table_name_6 (rank INTEGER, heat VARCHAR, nationality VARCHAR, time VARCHAR)
SELECT player FROM table_name_49 WHERE events = 12
Which player competed in 12 events?
CREATE TABLE table_name_49 (player VARCHAR, events VARCHAR)
SELECT film FROM table_name_56 WHERE actor = "dianne wiest"
What film was Dianne Wiest in?
CREATE TABLE table_name_56 (film VARCHAR, actor VARCHAR)
SELECT nation FROM table_name_96 WHERE gold > 0 AND bronze < 2 AND total > 3 AND silver > 1
Which Nation has a Gold larger than 0, and a Bronze smaller than 2, and a Total larger than 3, and a Silver larger than 1?
CREATE TABLE table_name_96 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT AVG(points) FROM table_name_46 WHERE draw = 2
Which Points have a Draw of 2?
CREATE TABLE table_name_46 (points INTEGER, draw VARCHAR)
SELECT MAX(round) FROM table_name_67 WHERE school_club_team = "cal-poly slo" AND pick < 238
Which Round has a School/Club Team of cal-poly slo, and a Pick smaller than 238?
CREATE TABLE table_name_67 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)
SELECT format FROM table_name_65 WHERE notes = "licensed to hope" AND frequency = "fm 100.5"
What is the Format of FM 100.5 Licensed to Hope?
CREATE TABLE table_name_65 (format VARCHAR, notes VARCHAR, frequency VARCHAR)
SELECT no_of_channels FROM table_name_87 WHERE transmission = "analogue satellite" AND provider = "sky [analogue]"
How many analogue satellite channels does Sky [Analogue] have?
CREATE TABLE table_name_87 (no_of_channels VARCHAR, transmission VARCHAR, provider VARCHAR)
SELECT isotopic_mass___u__ FROM table_15366768_1 WHERE nuclide = "169 Tm"
What is the mass of the element with a nuclide that is 169 tm?
CREATE TABLE table_15366768_1 (isotopic_mass___u__ VARCHAR, nuclide VARCHAR)
SELECT transfer_window FROM table_name_63 WHERE transfer_fee = "n/a" AND moving_to = "free agent" AND name = "joe sagar"
What is the transfer window with n/a as the Transfer fee, free agent for the Moving to, and Joe Sagar as the name?
CREATE TABLE table_name_63 (transfer_window VARCHAR, name VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)
SELECT T1.Birth_Date FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings LIMIT 1
What is the birth date of the poker player with the lowest earnings?
CREATE TABLE poker_player (People_ID VARCHAR, Earnings VARCHAR); CREATE TABLE people (Birth_Date VARCHAR, People_ID VARCHAR)
SELECT nation FROM table_name_23 WHERE event = "1000 metres"
What nation did the speed skater that set a record in the 1000 metres event represent?
CREATE TABLE table_name_23 (nation VARCHAR, event VARCHAR)
SELECT MAX(points) FROM table_name_28 WHERE winnings = "$133,386"
Which driver has the highest point total after winning $133,386?
CREATE TABLE table_name_28 (points INTEGER, winnings VARCHAR)
SELECT coach FROM table_name_67 WHERE city = "al farwaniyah"
Who coached for al farwaniyah?
CREATE TABLE table_name_67 (coach VARCHAR, city VARCHAR)
SELECT SUM(place) FROM table_name_22 WHERE draw < 16 AND english_translation = "in love with you" AND points < 1
What is the total ranking when there are less than 16 draws, less than 1 point, and the English translation is in love with you?
CREATE TABLE table_name_22 (place INTEGER, points VARCHAR, draw VARCHAR, english_translation VARCHAR)
SELECT MAX(bush_number) FROM table_name_87 WHERE bush_percentage = "32.40%" AND total < 5 OFFSET 126
What is the highest number of Bush with a 32.40% Bush % and a total less than 5,126?
CREATE TABLE table_name_87 (bush_number INTEGER, bush_percentage VARCHAR, total VARCHAR)
SELECT poles FROM table_2308381_2 WHERE avg_start = "4.7"
Name the poles for avg start being 4.7
CREATE TABLE table_2308381_2 (poles VARCHAR, avg_start VARCHAR)
SELECT score FROM table_name_94 WHERE outcome = "runner-up" AND date = "may 21, 1984"
What is the Score of the match on May 21, 1984 with Outcome of runner-up?
CREATE TABLE table_name_94 (score VARCHAR, outcome VARCHAR, date VARCHAR)
SELECT AVG(game) FROM table_name_17 WHERE opponent = "@ florida panthers" AND record = "0-1-2" AND october > 8
What average game has @ florida panthers as the opponent, 0-1-2 as the record, with an october greater than 8?
CREATE TABLE table_name_17 (game INTEGER, october VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT Previous AS rank FROM table_name_92 WHERE nationality = "italy" AND points > 100
Tell me the previous rank for italy with points more than 100
CREATE TABLE table_name_92 (Previous VARCHAR, nationality VARCHAR, points VARCHAR)
SELECT post_1896_provinces FROM table_name_52 WHERE hanja = "全羅道"
What is the post-1986 provinces with a 全羅道 Hanja?
CREATE TABLE table_name_52 (post_1896_provinces VARCHAR, hanja VARCHAR)
SELECT aspect_ratio FROM table_272313_2 WHERE pixel_aspect_ratio = "SMPTE 259M" AND scanning = "interlaced"
Name the aspect ratio for smpte 259m and interlaced scanning
CREATE TABLE table_272313_2 (aspect_ratio VARCHAR, pixel_aspect_ratio VARCHAR, scanning VARCHAR)
SELECT status FROM table_23501776_18 WHERE new_points = 1720
If new points is 1720, what is the status?
CREATE TABLE table_23501776_18 (status VARCHAR, new_points VARCHAR)
SELECT score FROM table_19072602_1 WHERE team_europe = "Tore Torgersen"
What was the score when Tore Torgersen played for Team Europe?
CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR)
SELECT college FROM table_name_22 WHERE player = "paul seiler"
what college has paul seiler as a player?
CREATE TABLE table_name_22 (college VARCHAR, player VARCHAR)
SELECT MAX(total) FROM table_name_72 WHERE year_s__won = "1998"
What is the Total of the Player who won in 1998?
CREATE TABLE table_name_72 (total INTEGER, year_s__won VARCHAR)
SELECT SUM(laps) FROM table_name_76 WHERE driver = "satrio hermanto"
How many Laps have a Driver of satrio hermanto?
CREATE TABLE table_name_76 (laps INTEGER, driver VARCHAR)
SELECT SUM(losses) FROM table_name_47 WHERE wins = 9 AND against > 1326
What are the losses when there are 9 wins and more than 1326 against?
CREATE TABLE table_name_47 (losses INTEGER, wins VARCHAR, against VARCHAR)
SELECT attendance FROM table_name_2 WHERE opponent = "pittsburgh steelers"
What is Attendance, when Opponent is Pittsburgh Steelers?
CREATE TABLE table_name_2 (attendance VARCHAR, opponent VARCHAR)
SELECT version FROM table_name_97 WHERE standard_name = "itu g.992.3 annex j"
What's the version of Itu g.992.3 Annex J?
CREATE TABLE table_name_97 (version VARCHAR, standard_name VARCHAR)
SELECT SUM(game) FROM table_name_63 WHERE team = "charlotte"
What was the number of the game against Charlotte?
CREATE TABLE table_name_63 (game INTEGER, team VARCHAR)
SELECT COUNT(_percentage) FROM table_1108394_24 WHERE manhattan = "45,901"
What is the percentage for manhattan 45,901?
CREATE TABLE table_1108394_24 (_percentage VARCHAR, manhattan VARCHAR)
SELECT division_record FROM table_name_26 WHERE team = "indians"
What is the division record for the Indians?
CREATE TABLE table_name_26 (division_record VARCHAR, team VARCHAR)
SELECT tdp FROM table_24100843_1 WHERE socket = "BGA956" AND processor = "Penryn-3M"
When the socket is bga956 and processor is penryn-3m, what is the tdp?
CREATE TABLE table_24100843_1 (tdp VARCHAR, socket VARCHAR, processor VARCHAR)
SELECT COUNT(attendance) FROM table_name_67 WHERE home = "lakers"
What is the attendance total of the game with the Lakers as the home team?
CREATE TABLE table_name_67 (attendance VARCHAR, home VARCHAR)
SELECT tournament FROM table_1121352_2 WHERE date = "Nov 3, 2002"
Where was the tournament dated nov 3, 2002?
CREATE TABLE table_1121352_2 (tournament VARCHAR, date VARCHAR)
SELECT MIN(round) FROM table_name_8 WHERE time = "5:00" AND event = "wild bill's fight night 21"
What is the lwoest round of wild bill's fight night 21 at 5:00?
CREATE TABLE table_name_8 (round INTEGER, time VARCHAR, event VARCHAR)
SELECT name FROM table_name_64 WHERE length > 903
What name is associated with a longer length than 903?
CREATE TABLE table_name_64 (name VARCHAR, length INTEGER)
SELECT T1.Code, T1.Fate, T2.Name FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID = T2.Ship_ID
Show codes and fates of missions, and names of ships involved.
CREATE TABLE mission (Code VARCHAR, Fate VARCHAR, Ship_ID VARCHAR); CREATE TABLE ship (Name VARCHAR, Ship_ID VARCHAR)
SELECT COUNT(points) FROM table_name_92 WHERE chassis = "simtek s951"
How many points for the simtek s951 chassis?
CREATE TABLE table_name_92 (points VARCHAR, chassis VARCHAR)
SELECT MIN(total) FROM table_name_77 WHERE year_s__won = "1982"
What is the Total of the Player with a Year(s) won of 1982?
CREATE TABLE table_name_77 (total INTEGER, year_s__won VARCHAR)
SELECT season FROM table_name_90 WHERE margin = "195 runs"
What season has 195 runs as a margin?
CREATE TABLE table_name_90 (season VARCHAR, margin VARCHAR)
SELECT chassis_manufacturer FROM table_1425948_1 WHERE fleet_numbers = "2530-2558"
Which chassis manufacturer is for fleet numbers range 2530-2558
CREATE TABLE table_1425948_1 (chassis_manufacturer VARCHAR, fleet_numbers VARCHAR)
SELECT torque FROM table_name_69 WHERE notes = "laredo, limited, overland" AND engine = "5.7l hemi v8"
what is the torque when the notes are laredo, limited, overland and the engine is 5.7l hemi v8?
CREATE TABLE table_name_69 (torque VARCHAR, notes VARCHAR, engine VARCHAR)
SELECT january FROM table_name_26 WHERE region = "eastman"
What is the January climate figure for Eastman?
CREATE TABLE table_name_26 (january VARCHAR, region VARCHAR)
SELECT network FROM table_name_20 WHERE origin_of_programming = "india" AND genre = "general" AND language = "bengali"
What network has an origin in India, a genre of general, and broadcasts in Bengali?
CREATE TABLE table_name_20 (network VARCHAR, language VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
SELECT AVG(year) FROM table_name_66 WHERE position = "9th" AND event = "100 m" AND venue = "munich, germany"
What is the average Year, when Position is 9th, when Event is 100 m, and when Venue is Munich, Germany?
CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR, position VARCHAR, event VARCHAR)
SELECT COUNT(cuts_made) FROM table_name_47 WHERE events > 3
What is the total number of cuts made when the events are more than 3?
CREATE TABLE table_name_47 (cuts_made VARCHAR, events INTEGER)
SELECT score_in_the_final FROM table_name_92 WHERE championship = "estoril, portugal"
what was the score of the Championship match played in Estoril, Portugal?
CREATE TABLE table_name_92 (score_in_the_final VARCHAR, championship VARCHAR)
SELECT district FROM table_25030512_4 WHERE incumbent = "Mike Rogers"
Name the district for mike rogers
CREATE TABLE table_25030512_4 (district VARCHAR, incumbent VARCHAR)
SELECT 2009 FROM table_name_39 WHERE 2013 = "4th"
What is the 2009 when the 2013 is 4th?
CREATE TABLE table_name_39 (Id VARCHAR)
SELECT home_team FROM table_name_5 WHERE tie_no = "7"
What is Home Team, when Tie No is "7"?
CREATE TABLE table_name_5 (home_team VARCHAR, tie_no VARCHAR)
SELECT away_captain FROM table_name_12 WHERE date = "26,27,28,29 december 1998"
Which Away captain has a Date of 26,27,28,29 december 1998?
CREATE TABLE table_name_12 (away_captain VARCHAR, date VARCHAR)
SELECT original_air_date FROM table_27720737_1 WHERE us_viewers__million_ = "5.39"
What is the original air date when the u.s. viewers in millions was 5.39?
CREATE TABLE table_27720737_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
SELECT nba_draft FROM table_name_61 WHERE player = "labradford smith"
Which NBA Draft had Labradford Smith?
CREATE TABLE table_name_61 (nba_draft VARCHAR, player VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_46 WHERE score = 71 - 66 - 74 - 67 = 278
What is the Money of the Player with a Score of 71-66-74-67=278?
CREATE TABLE table_name_46 (money___ INTEGER, score VARCHAR)
SELECT country FROM table_name_38 WHERE total < 136.1 AND solar = 0.02
What country has a less than 136.1 total and a 0.02 solar?
CREATE TABLE table_name_38 (country VARCHAR, total VARCHAR, solar VARCHAR)
SELECT MIN(value__int_) AS $1000_ FROM table_21109892_1 WHERE value_world_rank = "23"
When the value rank is 23, what is the value?
CREATE TABLE table_21109892_1 (value__int_ INTEGER, value_world_rank VARCHAR)
SELECT date FROM table_name_74 WHERE opponent = "gisela dulko"
What is the Date, when the Opponent is Gisela Dulko?
CREATE TABLE table_name_74 (date VARCHAR, opponent VARCHAR)
SELECT gender FROM table_name_28 WHERE residence = "haliburton"
Which Gender has a Residence of Haliburton?
CREATE TABLE table_name_28 (gender VARCHAR, residence VARCHAR)
SELECT status FROM table_name_78 WHERE vehicle_numbers = "adb977554"
what status is the vehicle numbers of adb977554?
CREATE TABLE table_name_78 (status VARCHAR, vehicle_numbers VARCHAR)
SELECT COUNT(pick) FROM table_name_91 WHERE player = "wayne fowler" AND round > 7
What is the total number for the pick of the player Wayne Fowler and a round after 7?
CREATE TABLE table_name_91 (pick VARCHAR, player VARCHAR, round VARCHAR)
SELECT nation FROM table_name_56 WHERE time__sec_ = 47.049
Which nation finished with a time of 47.049?
CREATE TABLE table_name_56 (nation VARCHAR, time__sec_ VARCHAR)
SELECT level FROM table_name_54 WHERE season > 2010
What Level has a Season larger than 2010?
CREATE TABLE table_name_54 (level VARCHAR, season INTEGER)