answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT part_number_s_ FROM table_name_32 WHERE frequency = "933mhz"
What is the part number of the model that has a frequency of 933mhz?
CREATE TABLE table_name_32 (part_number_s_ VARCHAR, frequency VARCHAR)
SELECT MAX(week) FROM table_name_58 WHERE result = "bye"
What was the last week when the team had a bye week?
CREATE TABLE table_name_58 (week INTEGER, result VARCHAR)
SELECT opponent FROM table_name_86 WHERE date = "november 26, 1989"
Who was the opponent on November 26, 1989?
CREATE TABLE table_name_86 (opponent VARCHAR, date VARCHAR)
SELECT score FROM table_name_47 WHERE away_team = "arsenal"
If the Away Team is Arsenal what is the Score?
CREATE TABLE table_name_47 (score VARCHAR, away_team VARCHAR)
SELECT standings FROM table_name_28 WHERE champions = "eintracht braunschweig"
What is the Standings of Eintracht Braunschweig?
CREATE TABLE table_name_28 (standings VARCHAR, champions VARCHAR)
SELECT COUNT(irst) FROM table_28803803_1 WHERE original_channel = "Canale 5 (2006)"
How many IRST figures for the show that premiered on Canale 5 (2006)?
CREATE TABLE table_28803803_1 (irst VARCHAR, original_channel VARCHAR)
SELECT beam FROM table_name_17 WHERE model = "570"
Which Beam has a Model of 570?
CREATE TABLE table_name_17 (beam VARCHAR, model VARCHAR)
SELECT constructor FROM table_name_25 WHERE grid = 8
Who is the constructor with the grid of 8?
CREATE TABLE table_name_25 (constructor VARCHAR, grid VARCHAR)
SELECT rider FROM table_name_95 WHERE laps > 23 AND manufacturer = "aprilia" AND grid = 14
Which rider had more than 23 laps, a manufacturer of Aprilia, and a grid of 14
CREATE TABLE table_name_95 (rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)
SELECT date FROM table_name_30 WHERE opponent = "miami dolphins"
On what date was the opponent the Miami Dolphins?
CREATE TABLE table_name_30 (date VARCHAR, opponent VARCHAR)
SELECT MIN(erp_w) FROM table_name_66 WHERE city_of_license = "allentown, pennsylvania"
What is the smallest ERP for allentown, pennsylvania?
CREATE TABLE table_name_66 (erp_w INTEGER, city_of_license VARCHAR)
SELECT Name FROM pilot WHERE Age <= 30 ORDER BY Name DESC
List names of all pilot aged 30 or younger in descending alphabetical order.
CREATE TABLE pilot (Name VARCHAR, Age VARCHAR)
SELECT original_air_date FROM table_15824796_4 WHERE season__number = 9
When did season 9 originally air?
CREATE TABLE table_15824796_4 (original_air_date VARCHAR, season__number VARCHAR)
SELECT class FROM table_name_17 WHERE team = "cagiva" AND points = 4
What is listed for the Class that's got a Team of Cagiva and Points of 4?
CREATE TABLE table_name_17 (class VARCHAR, team VARCHAR, points VARCHAR)
SELECT tournament FROM table_name_49 WHERE runner_s__up = "bob charles"
Which Tournament has a Runner(s)-up of bob charles?
CREATE TABLE table_name_49 (tournament VARCHAR, runner_s__up VARCHAR)
SELECT binibining_pilipinas_international FROM table_name_24 WHERE binibining_pilipinas_world = "sharmaine gutierrez"
Which Binibining Pilipinas International has a Binibining Pilipinas-World of sharmaine gutierrez?
CREATE TABLE table_name_24 (binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR)
SELECT MIN(attendance) FROM table_name_67 WHERE home = "colorado"
What is the lowest number of people attending the game where Colorado was the home team?
CREATE TABLE table_name_67 (attendance INTEGER, home VARCHAR)
SELECT leading_scorer FROM table_name_59 WHERE score = "89–102"
What is the name of the Leading scorer when the Score was 89–102?
CREATE TABLE table_name_59 (leading_scorer VARCHAR, score VARCHAR)
SELECT party FROM table_name_59 WHERE district = "illinois 13"
What is Illinois 13 District's Party?
CREATE TABLE table_name_59 (party VARCHAR, district VARCHAR)
SELECT leading_actress FROM table_24225238_1 WHERE leading_actor = "Warren Beatty" AND oscars = "40th"
Who was the leading actress in a film with Warren Beatty as the leading actor and also at the 40th Oscars?
CREATE TABLE table_24225238_1 (leading_actress VARCHAR, leading_actor VARCHAR, oscars VARCHAR)
SELECT MIN(pole) FROM table_name_49 WHERE flap > 5 AND race < 155
What is the lowest pole with a Flap larger than 5, and a before race 155?
CREATE TABLE table_name_49 (pole INTEGER, flap VARCHAR, race VARCHAR)
SELECT MAX(points_gained) FROM table_name_57 WHERE fans_took = "907" AND miles_[one_way] > 44.9
What is the highest points gained of the match where fans took 907 and there were more than 44.9 miles one way?
CREATE TABLE table_name_57 (points_gained INTEGER, fans_took VARCHAR, miles_ VARCHAR, one_way VARCHAR)
SELECT AVG(round) FROM table_name_63 WHERE college_junior_club_team__league_ = "hamilton red wings (oha)" AND position = "rw"
Which Round has a College/Junior/Club Team (League) of hamilton red wings (oha), and a Position of rw?
CREATE TABLE table_name_63 (round INTEGER, college_junior_club_team__league_ VARCHAR, position VARCHAR)
SELECT death FROM table_name_74 WHERE birth = 1873 AND rank > 28
What year is the death for a birth of 1873 and higher than rank 28?
CREATE TABLE table_name_74 (death VARCHAR, birth VARCHAR, rank VARCHAR)
SELECT year FROM table_name_22 WHERE fleet_number = "603"
Which year has a fleet number of 603?
CREATE TABLE table_name_22 (year VARCHAR, fleet_number VARCHAR)
SELECT opponent_in_the_final FROM table_name_57 WHERE date = "19 september 1988"
What Opponent in the final has a Date of 19 september 1988?
CREATE TABLE table_name_57 (opponent_in_the_final VARCHAR, date VARCHAR)
SELECT joined FROM table_10577579_3 WHERE women’s_nickname = "Wolfpack"
Name the joined for the wolfpack women's nickname
CREATE TABLE table_10577579_3 (joined VARCHAR, women’s_nickname VARCHAR)
SELECT name FROM table_name_57 WHERE status = "loaned" AND moving_to = "leyton orient"
What is the name listed for the country that has a status of loaned and a moving to listed as leyton orient?
CREATE TABLE table_name_57 (name VARCHAR, status VARCHAR, moving_to VARCHAR)
SELECT elevator FROM table_name_21 WHERE elector = "giacomo colonna"
Who was the Elevator of Giacomo Colonna?
CREATE TABLE table_name_21 (elevator VARCHAR, elector VARCHAR)
SELECT opponent FROM table_name_3 WHERE streak = "won 9" AND date = "april 13, 1990"
who is the opponent when the streak is won 9 on april 13, 1990?
CREATE TABLE table_name_3 (opponent VARCHAR, streak VARCHAR, date VARCHAR)
SELECT crowd FROM table_name_98 WHERE home_team = "essendon"
What was the crowd size when Essendon was the home team?
CREATE TABLE table_name_98 (crowd VARCHAR, home_team VARCHAR)
SELECT system FROM table_name_45 WHERE name = "gemulator"
Which System's Name is Gemulator?
CREATE TABLE table_name_45 (system VARCHAR, name VARCHAR)
SELECT date FROM table_name_35 WHERE label = "alfa records"
What Date has a label of alfa records?
CREATE TABLE table_name_35 (date VARCHAR, label VARCHAR)
SELECT skip__club_ FROM table_29546030_2 WHERE pa = 31 AND blank_ends = 9
Which skip (club) had 31 PA and 9 blank ends?
CREATE TABLE table_29546030_2 (skip__club_ VARCHAR, pa VARCHAR, blank_ends VARCHAR)
SELECT MIN(week) FROM table_name_94 WHERE opponent = "detroit lions"
What is the lowest week number where they played against the Detroit Lions?
CREATE TABLE table_name_94 (week INTEGER, opponent VARCHAR)
SELECT title FROM table_name_36 WHERE magazine_type = "video game" AND frequency = "bimonthly"
What is the name of the video game magazine that was issued bimonthly?
CREATE TABLE table_name_36 (title VARCHAR, magazine_type VARCHAR, frequency VARCHAR)
SELECT website FROM table_name_22 WHERE brand = "radio mexicana"
What was radio mexicana's website?
CREATE TABLE table_name_22 (website VARCHAR, brand VARCHAR)
SELECT secondary_military_speciality FROM table_name_58 WHERE primary_military_speciality = "astral assault tactics"
With a Primary military speciality of astral assault tactics, what is the Secondary military speciality?
CREATE TABLE table_name_58 (secondary_military_speciality VARCHAR, primary_military_speciality VARCHAR)
SELECT MAX(round) FROM table_name_22 WHERE pick > 50 AND player = "derek pagel"
What was the latest round that Derek Pagel was selected with a pick higher than 50?
CREATE TABLE table_name_22 (round INTEGER, pick VARCHAR, player VARCHAR)
SELECT group_12 FROM table_19523142_5 WHERE group_9 = "PSID Jombang"
Who played in group 12 when Group 9 played psid jombang?
CREATE TABLE table_19523142_5 (group_12 VARCHAR, group_9 VARCHAR)
SELECT MIN(bronze) FROM table_name_56 WHERE silver = 9 AND total < 27
WHat is the lowest amount of bronze medals for teams with 9 silvers and less than 27 points?
CREATE TABLE table_name_56 (bronze INTEGER, silver VARCHAR, total VARCHAR)
SELECT save FROM table_name_49 WHERE opponent = "rice"
What is the save of the game with rice as the opponent?
CREATE TABLE table_name_49 (save VARCHAR, opponent VARCHAR)
SELECT place FROM table_name_88 WHERE money___$__ = "20,903" AND player = "bob gilder"
What is the place when the player is Bob Gilder and the money was $20,903?
CREATE TABLE table_name_88 (place VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT date FROM table_name_52 WHERE opponent = "seattle"
What was the date of the game against seattle?
CREATE TABLE table_name_52 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_86 WHERE record = "46-29"
When was the game played in which the record was 46-29?
CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR)
SELECT score FROM table_name_95 WHERE country = "japan"
What is the score where the country is Japan?
CREATE TABLE table_name_95 (score VARCHAR, country VARCHAR)
SELECT status FROM table_1090916_2 WHERE livery = "Blue"
What is the status when livery is blue?
CREATE TABLE table_1090916_2 (status VARCHAR, livery VARCHAR)
SELECT SUM(rank) FROM table_name_6 WHERE notes = "r" AND country = "australia"
What is the sum of the rank of the rower with an r note from Australia?
CREATE TABLE table_name_6 (rank INTEGER, notes VARCHAR, country VARCHAR)
SELECT dominant_religion__2002_ FROM table_2562572_44 WHERE settlement = "Lokve"
What was the dominant religion in 2002 in lokve?
CREATE TABLE table_2562572_44 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)
SELECT gt1_winning_team FROM table_12146068_2 WHERE gt2_winning_team = "#54 Bell Motorsports"
Name the gt1 winning team for #54 bell motorsports
CREATE TABLE table_12146068_2 (gt1_winning_team VARCHAR, gt2_winning_team VARCHAR)
SELECT directed_by FROM table_23483182_1 WHERE production_code = 414
Who directed 414?
CREATE TABLE table_23483182_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT results FROM table_1341423_23 WHERE incumbent = "Gil Gutknecht"
What was the result when incumbent gil gutknecht ran?
CREATE TABLE table_1341423_23 (results VARCHAR, incumbent VARCHAR)
SELECT MIN(trine_dehli_cleve) FROM table_28677723_14 WHERE style = "English Waltz"
Name the trine dehli cleve for english waltz
CREATE TABLE table_28677723_14 (trine_dehli_cleve INTEGER, style VARCHAR)
SELECT MIN(closed) FROM table_name_34 WHERE capacity = 62 OFFSET 439
Tell me the lowest closed for capacity of 62,439
CREATE TABLE table_name_34 (closed INTEGER, capacity VARCHAR)
SELECT date FROM table_14655917_1 WHERE opponent = "Denver Broncos"
What day were the Denver Broncos the opponent?
CREATE TABLE table_14655917_1 (date VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_11621747_1 WHERE date = "Aug 29"
What is the tournament of aug 29?
CREATE TABLE table_11621747_1 (tournament VARCHAR, date VARCHAR)
SELECT COUNT(points) AS won FROM table_27615896_20 WHERE player = "Flavia Pennetta"
How many different counts for won points does Flavia Pennetta have?
CREATE TABLE table_27615896_20 (points VARCHAR, player VARCHAR)
SELECT affiliation FROM table_name_33 WHERE pick__number < 59 AND position = "gk"
Tell me the affiliation for pick number less than 59 and position of gk
CREATE TABLE table_name_33 (affiliation VARCHAR, pick__number VARCHAR, position VARCHAR)
SELECT results FROM table_name_73 WHERE institutional_authority = "paf"
Name the results for institutional authority of paf
CREATE TABLE table_name_73 (results VARCHAR, institutional_authority VARCHAR)
SELECT COUNT(*) FROM dogs WHERE NOT dog_id IN (SELECT dog_id FROM treatments)
Tell me the number of dogs that have not received any treatment .
CREATE TABLE treatments (dog_id VARCHAR); CREATE TABLE dogs (dog_id VARCHAR)
SELECT MAX(round) FROM table_name_67 WHERE player = "chris phillips"
What is the highest round played by Chris Phillips?
CREATE TABLE table_name_67 (round INTEGER, player VARCHAR)
SELECT game_site FROM table_13259009_2 WHERE opponent = "San Diego Chargers"
Where did they play the San Diego Chargers?
CREATE TABLE table_13259009_2 (game_site VARCHAR, opponent VARCHAR)
SELECT MIN(laps) FROM table_name_22 WHERE points > 5 AND team = "forsythe racing" AND grid = 5
WHAT ARE THE LAPS WITH POINTS LARGER THAN 5, WITH FORSYTHE RACING, AND GRID 5?
CREATE TABLE table_name_22 (laps INTEGER, grid VARCHAR, points VARCHAR, team VARCHAR)
SELECT surface FROM table_name_82 WHERE date = "november 6, 1982"
What surface was the match on November 6, 1982 played on?
CREATE TABLE table_name_82 (surface VARCHAR, date VARCHAR)
SELECT COUNT(tests) FROM table_name_43 WHERE lost < 9 AND name = "sir fred allen"
What is the total number of Tests when the lost is less than 9 for sir fred allen?
CREATE TABLE table_name_43 (tests VARCHAR, lost VARCHAR, name VARCHAR)
SELECT title FROM table_25277262_2 WHERE no_in_season = 11
What is the name of the episode # 11 in the season?
CREATE TABLE table_25277262_2 (title VARCHAR, no_in_season VARCHAR)
SELECT film_name FROM table_name_63 WHERE year = 2002
Which film was released in the year 2002?
CREATE TABLE table_name_63 (film_name VARCHAR, year VARCHAR)
SELECT COUNT(rank) FROM table_name_37 WHERE tally = "0-10" AND opposition = "cork"
How much Rank has a Tally of 0-10, and an Opposition of cork?
CREATE TABLE table_name_37 (rank VARCHAR, tally VARCHAR, opposition VARCHAR)
SELECT 1949 FROM table_name_22 WHERE 1945 = "a"
What did the tournament that got an A in 1945 get in 1949?
CREATE TABLE table_name_22 (Id VARCHAR)
SELECT totals FROM table_28628309_6 WHERE average = "6.25"
What were the totals when the average is 6.25?
CREATE TABLE table_28628309_6 (totals VARCHAR, average VARCHAR)
SELECT winner FROM table_name_25 WHERE finalist = "elena dementieva" AND tournament = "miami"
Who was the winner of the Miami tournament where Elena Dementieva was a finalist?
CREATE TABLE table_name_25 (winner VARCHAR, finalist VARCHAR, tournament VARCHAR)
SELECT 2012 FROM table_name_87 WHERE seasons_in_esiliiga > 4 AND titles > 0
What is the 2012 season in Esiliiga more than 4, and more than 0 titles?
CREATE TABLE table_name_87 (seasons_in_esiliiga VARCHAR, titles VARCHAR)
SELECT attendance FROM table_name_78 WHERE week = 12
How many were in attendance during week 12?
CREATE TABLE table_name_78 (attendance VARCHAR, week VARCHAR)
SELECT MAX(minutes) FROM table_23346303_5 WHERE rebounds = 0
If the amount of rebounds is 0, what is the maximum minutes?
CREATE TABLE table_23346303_5 (minutes INTEGER, rebounds VARCHAR)
SELECT crowd FROM table_name_85 WHERE home_team = "st kilda"
Which Crowd has a Home team of st kilda?
CREATE TABLE table_name_85 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(attendance) FROM table_17972193_1 WHERE date = "October 27"
How many total numbers of attendance are there during the game in October 27?
CREATE TABLE table_17972193_1 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(rank) FROM table_name_16 WHERE athlete = "liu xiaosheng" AND react < 0.245
How many total Rank listings have Liu Xiaosheng listed as the athlete with a react entry that is smaller than 0.245?
CREATE TABLE table_name_16 (rank VARCHAR, athlete VARCHAR, react VARCHAR)
SELECT MIN(goals_against) FROM table_name_58 WHERE points_1 = "18" AND drawn > 8
What is the smallest number of goals against when there are 1 of 18 points, and more than 8 are drawn?
CREATE TABLE table_name_58 (goals_against INTEGER, points_1 VARCHAR, drawn VARCHAR)
SELECT COUNT(runner_up) FROM table_178242_7 WHERE international_destination = "Japan"
How many runner-ups were there when the show went to Japan?
CREATE TABLE table_178242_7 (runner_up VARCHAR, international_destination VARCHAR)
SELECT MIN(number_of_dances) FROM table_20424140_3
What's the minimal number of dances a couple has danced?
CREATE TABLE table_20424140_3 (number_of_dances INTEGER)
SELECT MAX(pick__number) FROM table_name_51 WHERE nationality = "slovakia"
What is the highest pick number from Slovakia?
CREATE TABLE table_name_51 (pick__number INTEGER, nationality VARCHAR)
SELECT COUNT(november_3) FROM table_25355501_2 WHERE january_15_16 = "141"
How many entries are shown for november 3 when january 15-16 is 141?
CREATE TABLE table_25355501_2 (november_3 VARCHAR, january_15_16 VARCHAR)
SELECT Product_Type_Code FROM Products GROUP BY Product_Type_Code ORDER BY COUNT(*) DESC LIMIT 1
Show the most common type code across products.
CREATE TABLE Products (Product_Type_Code VARCHAR)
SELECT home_team FROM table_name_2 WHERE venue = "lake oval"
What team plays at home at Lake Oval?
CREATE TABLE table_name_2 (home_team VARCHAR, venue VARCHAR)
SELECT nomination FROM table_name_17 WHERE country = "ukraine"
Tell me the nomination for ukraine
CREATE TABLE table_name_17 (nomination VARCHAR, country VARCHAR)
SELECT COUNT(width__inches_) FROM table_name_11 WHERE engine = "navistar t444e" AND retired = "2005" AND length__feet_ < 25
For a vehicle below 25 feet, that was retired in 2005 and had a navistar t444e engine, what was the total width?
CREATE TABLE table_name_11 (width__inches_ VARCHAR, length__feet_ VARCHAR, engine VARCHAR, retired VARCHAR)
SELECT date FROM table_name_23 WHERE visitor = "detroit"
What is the date of the game with Detroit as the visitor team?
CREATE TABLE table_name_23 (date VARCHAR, visitor VARCHAR)
SELECT bubbles FROM table_1507852_5 WHERE attribute = "onpopuphidden"
what's the bubbles with attribute being onpopuphidden
CREATE TABLE table_1507852_5 (bubbles VARCHAR, attribute VARCHAR)
SELECT MAX(week) FROM table_name_66 WHERE date = "november 8, 1970"
What is the highest Week, when Date is "November 8, 1970"?
CREATE TABLE table_name_66 (week INTEGER, date VARCHAR)
SELECT record FROM table_name_90 WHERE nfl_recap = "recap" AND opponent = "new england patriots"
What is the record for the game against the New England Patriots with a recap?
CREATE TABLE table_name_90 (record VARCHAR, nfl_recap VARCHAR, opponent VARCHAR)
SELECT SUM(rank) FROM table_name_86 WHERE total > 2 AND gold < 0
What is the total rank with a total larger than 2, and less than 0 gold
CREATE TABLE table_name_86 (rank INTEGER, total VARCHAR, gold VARCHAR)
SELECT T2.name FROM appointment AS T1 JOIN physician AS T2 ON T1.Physician = T2.EmployeeID
List the name of physicians who took some appointment.
CREATE TABLE appointment (Physician VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR)
SELECT location__numbersites__global_local_ FROM table_name_60 WHERE as_number = "n/a"
Which location has an AS-number of N/A?
CREATE TABLE table_name_60 (location__numbersites__global_local_ VARCHAR, as_number VARCHAR)
SELECT sixth FROM table_name_66 WHERE second = "white lies"
WHAT IS THE SIXTH WITH A SECOND OF WHITE LIES?
CREATE TABLE table_name_66 (sixth VARCHAR, second VARCHAR)
SELECT COUNT(area__km²_) FROM table_14986292_1 WHERE population_density_2010___km²_ = 514
Name the number of area where population density 2010 for 514
CREATE TABLE table_14986292_1 (area__km²_ VARCHAR, population_density_2010___km²_ VARCHAR)
SELECT title FROM table_name_6 WHERE name = "mu"
What was Mu's title?
CREATE TABLE table_name_6 (title VARCHAR, name VARCHAR)
SELECT home_team FROM table_name_19 WHERE away_team = "south melbourne"
What home team did South Melbourne play as the away team?
CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_58 WHERE week = "1"
What is the venue for week 1?
CREATE TABLE table_name_58 (venue VARCHAR, week VARCHAR)
SELECT home_team AS score FROM table_name_15 WHERE away_team = "north melbourne"
What was the home teams score when North Melbourne played as the away team?
CREATE TABLE table_name_15 (home_team VARCHAR, away_team VARCHAR)
SELECT tickets_sold___available FROM table_name_18 WHERE venue = "long beach arena"
What is the number of tickets sold and available for the concert at Long Beach Arena?
CREATE TABLE table_name_18 (tickets_sold___available VARCHAR, venue VARCHAR)