answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT total FROM table_name_3 WHERE event = "wc belgrade" AND rank_points = "10"
What's the total for the wc belgrade event with 10 rank points?
CREATE TABLE table_name_3 (total VARCHAR, event VARCHAR, rank_points VARCHAR)
SELECT population FROM table_name_75 WHERE status = "rural community"
What is the Population of the Rural Community
CREATE TABLE table_name_75 (population VARCHAR, status VARCHAR)
SELECT director_s_ FROM table_name_92 WHERE title = "star wars episode ii: attack of the clones"
Director for Star Wars Episode II: attack of the clones?
CREATE TABLE table_name_92 (director_s_ VARCHAR, title VARCHAR)
SELECT MIN(wins) FROM table_name_80 WHERE points < 10 AND losses < 3 AND scored = 11
Name the Wins which has Points smaller than 10, Losses smaller than 3, and a Scored of 11?
CREATE TABLE table_name_80 (wins INTEGER, scored VARCHAR, points VARCHAR, losses VARCHAR)
SELECT frequency FROM table_name_85 WHERE part_number_s_ = "ay80609004002ac"
What is Frequency, when Part Number(s) is AY80609004002AC?
CREATE TABLE table_name_85 (frequency VARCHAR, part_number_s_ VARCHAR)
SELECT MIN(year) FROM table_name_6 WHERE position = "7th"
What was the earliest year that Târlea took 7th place?
CREATE TABLE table_name_6 (year INTEGER, position VARCHAR)
SELECT blank_ends FROM table_name_88 WHERE ends_won < 39 AND ends_lost > 35 AND stolen_ends = 4
What is the Blank Ends when there are less than 39 ends won and, more than 35 ends lost, and 4 stolen ends.
CREATE TABLE table_name_88 (blank_ends VARCHAR, stolen_ends VARCHAR, ends_won VARCHAR, ends_lost VARCHAR)
SELECT position FROM table_name_39 WHERE total_apps = "5"
Which position has 5 total apps?
CREATE TABLE table_name_39 (position VARCHAR, total_apps VARCHAR)
SELECT AVG(december) FROM table_name_35 WHERE game = 37 AND points < 47
Which December has a Game of 37 and Points smaller than 47?
CREATE TABLE table_name_35 (december INTEGER, game VARCHAR, points VARCHAR)
SELECT original_air_date FROM table_15781170_3 WHERE poll_winner = "Scientology"
What are the original air dates when scientology isthe poll winner?
CREATE TABLE table_15781170_3 (original_air_date VARCHAR, poll_winner VARCHAR)
SELECT points FROM table_name_17 WHERE driver = "kosuke matsuura"
How many points does driver kosuke matsuura have?
CREATE TABLE table_name_17 (points VARCHAR, driver VARCHAR)
SELECT partner FROM table_name_74 WHERE surface = "hard" AND score = "6–4, 6–2"
Who was the Partner in a game with the Score of 6–4, 6–2 on a hard surface?
CREATE TABLE table_name_74 (partner VARCHAR, surface VARCHAR, score VARCHAR)
SELECT rank FROM table_name_40 WHERE rider = "noel patterson"
What ran has noel patterson as the rider?
CREATE TABLE table_name_40 (rank VARCHAR, rider VARCHAR)
SELECT time_retired FROM table_name_80 WHERE laps = 22 AND grid = 29
What is the time/retired with 22 laps and a grid of 29?
CREATE TABLE table_name_80 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT province, _community FROM table_name_43 WHERE contestant = "tatiana vargas rosales"
What is the province with a contestant of tatiana vargas rosales?
CREATE TABLE table_name_43 (province VARCHAR, _community VARCHAR, contestant VARCHAR)
SELECT MAX(fowler) FROM table_20142629_2
What is tops for Folwer?
CREATE TABLE table_20142629_2 (fowler INTEGER)
SELECT MIN(no_in_season) FROM table_1876825_6 WHERE written_by = "Neil Thompson"
What season episode is written by neil thompson?
CREATE TABLE table_1876825_6 (no_in_season INTEGER, written_by VARCHAR)
SELECT episode_air_date FROM table_27615445_1 WHERE guest_fourth_judge = "Luiza Possi"
List all episode air dates where Luiza Possi was the guest fourth judge?
CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, guest_fourth_judge VARCHAR)
SELECT score FROM table_name_58 WHERE country = "scotland"
What was the score when the match was in the country of Scotland?
CREATE TABLE table_name_58 (score VARCHAR, country VARCHAR)
SELECT episode_4 FROM table_name_87 WHERE star = "anna powierza"
Which episode 4 has a Star of anna powierza?
CREATE TABLE table_name_87 (episode_4 VARCHAR, star VARCHAR)
SELECT visitor FROM table_name_26 WHERE home = "tampa bay"
Who was the visitor team in tampa bay?
CREATE TABLE table_name_26 (visitor VARCHAR, home VARCHAR)
SELECT party FROM table_2668329_11 WHERE incumbent = "Peter Little"
what is Peter Little's party?
CREATE TABLE table_2668329_11 (party VARCHAR, incumbent VARCHAR)
SELECT best FROM table_name_17 WHERE name = "jimmy vasser"
What is Best, when Name is Jimmy Vasser?
CREATE TABLE table_name_17 (best VARCHAR, name VARCHAR)
SELECT producer FROM table_name_57 WHERE director = "erik matti"
What is Director Erik Matti's Producer?
CREATE TABLE table_name_57 (producer VARCHAR, director VARCHAR)
SELECT fte_teachers FROM table_1414743_1 WHERE school_level = "Middle" AND city = "Sunnyvale"
List all FTE middle school teachers in Sunnyvale.
CREATE TABLE table_1414743_1 (fte_teachers VARCHAR, school_level VARCHAR, city VARCHAR)
SELECT candidates FROM table_1341453_44 WHERE district = "Tennessee 3"
Who are the candidates in the Tennessee 3 district election?
CREATE TABLE table_1341453_44 (candidates VARCHAR, district VARCHAR)
SELECT AVG(year) FROM table_name_19 WHERE actor = "idris elba"
What is the average year that Idris Elba was nominated for or won an award?
CREATE TABLE table_name_19 (year INTEGER, actor VARCHAR)
SELECT SUM(dist__f_) FROM table_name_12 WHERE jockey = "johnny murtagh" AND runners < 26
What is the total dist with Johnny Murtagh and less than 26 runners?
CREATE TABLE table_name_12 (dist__f_ INTEGER, jockey VARCHAR, runners VARCHAR)
SELECT week_5 FROM table_name_96 WHERE week_3 = "cathi o'malley"
When Cathi O'Malley was featured in Week 3, who was the cyber girl for Week 5?
CREATE TABLE table_name_96 (week_5 VARCHAR, week_3 VARCHAR)
SELECT country FROM table_name_53 WHERE total = 294
Which county did the player with a total of 294 represent?
CREATE TABLE table_name_53 (country VARCHAR, total VARCHAR)
SELECT voltage FROM table_name_64 WHERE frequency = "2000mhz" AND release_date = "q3 2008"
What kind of Voltage has a Frequency of 2000mhz, and a Release date in q3 2008?
CREATE TABLE table_name_64 (voltage VARCHAR, frequency VARCHAR, release_date VARCHAR)
SELECT director FROM table_name_65 WHERE country = "poland"
What director is from Poland?
CREATE TABLE table_name_65 (director VARCHAR, country VARCHAR)
SELECT realization FROM table_name_5 WHERE phoneme = "/i/" AND example = "/idːa/"
Name the realization for phoneme of /i/ and example of /idːa/
CREATE TABLE table_name_5 (realization VARCHAR, phoneme VARCHAR, example VARCHAR)
SELECT MIN(shuttles) FROM table_1751142_2 WHERE shuttle_time__seconds_ = "6.55"
What is the fewest number of shuttles where the shuttle time is 6.55 seconds?
CREATE TABLE table_1751142_2 (shuttles INTEGER, shuttle_time__seconds_ VARCHAR)
SELECT tournament FROM table_name_23 WHERE date = "october 24, 1982" AND partner = "alycia moulton"
What Tournament on October 24, 1982 had Alycia Moulton as the Partner?
CREATE TABLE table_name_23 (tournament VARCHAR, date VARCHAR, partner VARCHAR)
SELECT COUNT(title) FROM table_28859177_2 WHERE series__number = 4
How many episode titles have series number 4?
CREATE TABLE table_28859177_2 (title VARCHAR, series__number VARCHAR)
SELECT visitor FROM table_11964047_7 WHERE record = "25–18"
who are all the visitor with a record of 25–18
CREATE TABLE table_11964047_7 (visitor VARCHAR, record VARCHAR)
SELECT score FROM table_name_18 WHERE outcome = "winner" AND year > 2008
What score resulted in a winner after 2008?
CREATE TABLE table_name_18 (score VARCHAR, outcome VARCHAR, year VARCHAR)
SELECT COUNT(episode_count) FROM table_name_86 WHERE viewers__in_millions_ = 7.79
How many total episodes aired over all seasons with 7.79 million viewers?
CREATE TABLE table_name_86 (episode_count VARCHAR, viewers__in_millions_ VARCHAR)
SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "POSTERMOBILE LIMITED"
How many subsidiaries of Postermobile Limited?
CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR)
SELECT _percentage_of_seats FROM table_name_86 WHERE difference = "0.25"
What is the % of seats where the difference is 0.25?
CREATE TABLE table_name_86 (_percentage_of_seats VARCHAR, difference VARCHAR)
SELECT mult FROM table_name_73 WHERE release_date = "q4 2007" AND model_number = "pentium dual-core t2310"
What is the mult value of the microprocessor with a release date q4 2007 and model number pentium dual-core t2310?
CREATE TABLE table_name_73 (mult VARCHAR, release_date VARCHAR, model_number VARCHAR)
SELECT country FROM table_name_94 WHERE iata = "osl"
What is the Country when the IATA was osl?
CREATE TABLE table_name_94 (country VARCHAR, iata VARCHAR)
SELECT class FROM table_name_70 WHERE type = "4-6-0" AND quantity < 3
Which class has less than 3 in quantity with a type of 4-6-0?
CREATE TABLE table_name_70 (class VARCHAR, type VARCHAR, quantity VARCHAR)
SELECT high_checkout FROM table_20351295_2 WHERE player = "Trina Gulliver"
What's Trina Gulliver's high checkout?
CREATE TABLE table_20351295_2 (high_checkout VARCHAR, player VARCHAR)
SELECT COUNT(win__percentage) FROM table_name_43 WHERE manager = "viktor prokopenko" AND lost < 2
what is the total win % of manager viktor prokopenko, when he lost fewer than 2?
CREATE TABLE table_name_43 (win__percentage VARCHAR, manager VARCHAR, lost VARCHAR)
SELECT pennant_number FROM table_name_43 WHERE launched = "29 march 1934" AND completed = "30 october 1934"
Name the pennant number for completion of 30 october 1934 and launched 29 march 1934
CREATE TABLE table_name_43 (pennant_number VARCHAR, launched VARCHAR, completed VARCHAR)
SELECT episode_title FROM table_name_3 WHERE prod_code = "1gowo04"
What was the title of the episode with a production code of 1gowo04?
CREATE TABLE table_name_3 (episode_title VARCHAR, prod_code VARCHAR)
SELECT arena FROM table_name_22 WHERE date = "september 21"
At what arena was the September 21 game?
CREATE TABLE table_name_22 (arena VARCHAR, date VARCHAR)
SELECT score FROM table_name_86 WHERE visitor = "minnesota"
What was the score when Minnesota visited?
CREATE TABLE table_name_86 (score VARCHAR, visitor VARCHAR)
SELECT Name FROM teacher ORDER BY Age
List the names of teachers in ascending order of age.
CREATE TABLE teacher (Name VARCHAR, Age VARCHAR)
SELECT printer FROM table_15635768_1 WHERE face_value = "39¢"
The stamp was 39¢, who was the printer?
CREATE TABLE table_15635768_1 (printer VARCHAR, face_value VARCHAR)
SELECT leading_scorer FROM table_name_35 WHERE visitor = "pistons"
Who was the leading scorer in the game where the visiting team was the Pistons?
CREATE TABLE table_name_35 (leading_scorer VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_40 WHERE december < 6 AND points < 38 AND opponent = "pittsburgh penguins"
What record has a december less than 6, points less than 38, and pittsburgh penguins as the opponent?
CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR, december VARCHAR, points VARCHAR)
SELECT date FROM table_name_54 WHERE home_team = "hawthorn"
What was the date of the game when Hawthorn was the home team?
CREATE TABLE table_name_54 (date VARCHAR, home_team VARCHAR)
SELECT moving_from FROM table_name_38 WHERE type = "transfer" AND transfer_window = "summer" AND ends < 2013
Where did the player with a transfer type, a summer transfer window, and ended before 2013 move from?
CREATE TABLE table_name_38 (moving_from VARCHAR, ends VARCHAR, type VARCHAR, transfer_window 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 decile FROM table_name_33 WHERE name = "st mary's catholic school"
What is the Decile number for St Mary's Catholic School?
CREATE TABLE table_name_33 (decile VARCHAR, name VARCHAR)
SELECT COUNT(laps) FROM table_name_2 WHERE time = "+7.951"
What was the total number of Laps for the rider whose time was +7.951?
CREATE TABLE table_name_2 (laps VARCHAR, time VARCHAR)
SELECT sanskrt FROM table_name_38 WHERE japanese = "jayana"
Which SANSKRT has a JAPANESE of jayana?
CREATE TABLE table_name_38 (sanskrt VARCHAR, japanese VARCHAR)
SELECT result FROM table_1341897_6 WHERE district = "Arkansas 5"
What was the result in the Arkansas 5 district election?
CREATE TABLE table_1341897_6 (result VARCHAR, district VARCHAR)
SELECT MAX(week) FROM table_name_1 WHERE result = "w 27-24"
In what Week was the Result W 27-24?
CREATE TABLE table_name_1 (week INTEGER, result VARCHAR)
SELECT torque FROM table_20007413_6 WHERE applications = 346
What are the torque characteristics of the model with 346 applications?
CREATE TABLE table_20007413_6 (torque VARCHAR, applications VARCHAR)
SELECT team__number2 FROM table_name_78 WHERE team__number1 = "handelsministerium vienna"
Tell me the team 2 for handelsministerium vienna
CREATE TABLE table_name_78 (team__number2 VARCHAR, team__number1 VARCHAR)
SELECT player FROM table_name_32 WHERE to_par = "e" AND score = 71 - 69 = 140
Who had a to par of e and scored 71-69=140?
CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT fuel_system FROM table_name_60 WHERE model = "diesel engines"
What fuel system does the diesel engines model have?
CREATE TABLE table_name_60 (fuel_system VARCHAR, model VARCHAR)
SELECT loss FROM table_name_55 WHERE attendance = "23,952"
Which loss has an Attendance of 23,952?
CREATE TABLE table_name_55 (loss VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_90 WHERE competition = "league cup" AND season = "2007-08"
What was the score of the league cup in the 2007-08 season?
CREATE TABLE table_name_90 (score VARCHAR, competition VARCHAR, season VARCHAR)
SELECT termini FROM table_name_2 WHERE junctions = "i-35 fm 3338 sh 255"
What's the termini of the route with junctions of i-35 fm 3338 sh 255?
CREATE TABLE table_name_2 (termini VARCHAR, junctions VARCHAR)
SELECT trigger_pack FROM table_19901_1 WHERE rear_sight_type = "A1" AND colt_model_no = "602"
What is the trigger pack on the Colt 602 with the a1 rear sight type?
CREATE TABLE table_19901_1 (trigger_pack VARCHAR, rear_sight_type VARCHAR, colt_model_no VARCHAR)
SELECT opponent FROM table_name_92 WHERE score = "2-1"
what team had a score of 2-1
CREATE TABLE table_name_92 (opponent VARCHAR, score VARCHAR)
SELECT date FROM table_name_55 WHERE score = "6–3, 3–6, 6–0"
What date was the score 6–3, 3–6, 6–0?
CREATE TABLE table_name_55 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_76 WHERE bills_first_downs < 28 AND opponent = "oakland raiders"
Which date did the oakland raiders play as the opponent when the Bills first downs were under 28?
CREATE TABLE table_name_76 (date VARCHAR, bills_first_downs VARCHAR, opponent VARCHAR)
SELECT championship FROM table_name_86 WHERE opponent_in_the_final = "aaron krickstein" AND score_in_the_final = "7–5, 6–2"
What Championship has an Opponent in the final of aaron krickstein, and a Score in the final of 7–5, 6–2?
CREATE TABLE table_name_86 (championship VARCHAR, opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
SELECT date FROM table_name_27 WHERE attendance = "76,518"
Which date had an attendance of 76,518?
CREATE TABLE table_name_27 (date VARCHAR, attendance VARCHAR)
SELECT replaced_by FROM table_27091128_2 WHERE date_of_appointment = "08.06.2010"
Which manager was appointed on 08.06.2010?
CREATE TABLE table_27091128_2 (replaced_by VARCHAR, date_of_appointment VARCHAR)
SELECT venue FROM table_name_32 WHERE away_team = "south melbourne"
What venue had an away team of south melbourne?
CREATE TABLE table_name_32 (venue VARCHAR, away_team VARCHAR)
SELECT nickname FROM table_name_82 WHERE location = "southern river"
What Nickname has a Location of Southern River?
CREATE TABLE table_name_82 (nickname VARCHAR, location VARCHAR)
SELECT MIN(goals) FROM table_name_4 WHERE player = "noel carroll"
Which Goals have a Player of noel carroll?
CREATE TABLE table_name_4 (goals INTEGER, player VARCHAR)
SELECT MIN(avg_attendance) FROM table_2380212_1 WHERE regular_season = "3rd, Central"
How many people saw the 3rd, Central regular season on average?
CREATE TABLE table_2380212_1 (avg_attendance INTEGER, regular_season VARCHAR)
SELECT score FROM table_11907963_6 WHERE high_rebounds = "Emeka Okafor (10)"
What was the score for the game in which Emeka Okafor (10) had high rebounds?
CREATE TABLE table_11907963_6 (score VARCHAR, high_rebounds VARCHAR)
SELECT school FROM table_name_87 WHERE team = "eagles"
Name the school for eagles
CREATE TABLE table_name_87 (school VARCHAR, team VARCHAR)
SELECT passed FROM table_256286_22 WHERE _percentage_yes = "52.49%"
What was the result of the ballot that had a 52.49% yes vote percentage?
CREATE TABLE table_256286_22 (passed VARCHAR, _percentage_yes VARCHAR)
SELECT tie_no FROM table_name_61 WHERE away_team = "scunthorpe & lindsey united"
What is the Tie number for the match that had away team of Scunthorpe & Lindsey United?
CREATE TABLE table_name_61 (tie_no VARCHAR, away_team VARCHAR)
SELECT series FROM table_name_95 WHERE team = "gunbroker racing"
what is the series when the team is gunbroker racing?
CREATE TABLE table_name_95 (series VARCHAR, team VARCHAR)
SELECT home_team AS score FROM table_name_73 WHERE home_team = "carlton"
What did Carlton score when they were the Home team?
CREATE TABLE table_name_73 (home_team VARCHAR)
SELECT SUM(golden_tickets) FROM table_name_85 WHERE callback_venue = "georgia international convention center"
How many golden tickets for the georgia international convention center?
CREATE TABLE table_name_85 (golden_tickets INTEGER, callback_venue VARCHAR)
SELECT SUM(week) FROM table_name_55 WHERE date = "october 30, 1994"
What is the sum for the week with the date october 30, 1994?
CREATE TABLE table_name_55 (week INTEGER, date VARCHAR)
SELECT competition FROM table_name_4 WHERE score = "1-0"
Which competition had the score 1-0?
CREATE TABLE table_name_4 (competition VARCHAR, score VARCHAR)
SELECT AVG(apps) FROM table_name_43 WHERE league = "major league soccer" AND club = "seattle sounders fc" AND goals < 0
What are the average apps for the Major League Soccer team club for the Seattle Sounders FC that has goals less than 0?
CREATE TABLE table_name_43 (apps INTEGER, goals VARCHAR, league VARCHAR, club VARCHAR)
SELECT winner_and_score FROM table_name_28 WHERE finalist = "sébastien grosjean"
who is the winner and score for finalist sébastien grosjean?
CREATE TABLE table_name_28 (winner_and_score VARCHAR, finalist VARCHAR)
SELECT record_label FROM table_name_46 WHERE title = "诀别诗"
Which Record label has a Title of 诀别诗?
CREATE TABLE table_name_46 (record_label VARCHAR, title VARCHAR)
SELECT MAX(renewable_electricity__gw) AS •h_ FROM table_25244412_1 WHERE state = "Delaware"
What is the maximum renewable energy (gw×h) for the state of Delaware?
CREATE TABLE table_25244412_1 (renewable_electricity__gw INTEGER, state VARCHAR)
SELECT stage FROM table_name_59 WHERE malaysian_rider_classification = "suhardi hassan"
Which stage had suhardi hassan in the Malaysian rider classification?
CREATE TABLE table_name_59 (stage VARCHAR, malaysian_rider_classification VARCHAR)
SELECT player FROM table_name_66 WHERE score = 69 - 72 - 68 = 209
what player scored 69-72-68=209?
CREATE TABLE table_name_66 (player VARCHAR, score VARCHAR)
SELECT airport FROM table_13836704_4 WHERE total_passengers_2009 = 157933
what's the airport with total passengers 2009 being 157933
CREATE TABLE table_13836704_4 (airport VARCHAR, total_passengers_2009 VARCHAR)
SELECT COUNT(minor__south__winners) FROM table_23014923_1 WHERE primary__south__winners = "Mendip Gate"
What isthe minor (South) winners total number is the primary (South) winners is Mendip Gate?
CREATE TABLE table_23014923_1 (minor__south__winners VARCHAR, primary__south__winners VARCHAR)
SELECT władysławowo_, _poland FROM table_name_85 WHERE world_record = "clean & jerk"
What shows for Władysławowo, Poland when the world record was clean & jerk?
CREATE TABLE table_name_85 (władysławowo_ VARCHAR, _poland VARCHAR, world_record VARCHAR)
SELECT player FROM table_name_93 WHERE to_par = "–4"
Which Player has a To par of –4?
CREATE TABLE table_name_93 (player VARCHAR, to_par VARCHAR)
SELECT SUM(gold) FROM table_name_84 WHERE nation = "norway" AND bronze > 1
What is the total gold in Norway with more than 1 bronze?
CREATE TABLE table_name_84 (gold INTEGER, nation VARCHAR, bronze VARCHAR)