question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Name the race time for 2002
CREATE TABLE table_2139390_2 (race_time VARCHAR, year VARCHAR)
SELECT race_time FROM table_2139390_2 WHERE year = 2002
Who was the builder of Nor?
CREATE TABLE table_name_12 (builder VARCHAR, ship VARCHAR)
SELECT builder FROM table_name_12 WHERE ship = "nor"
What is the most domestic freight with a change of +9,8% and a total freight and mail of more than 3,278?
CREATE TABLE table_name_23 (domestic_freight INTEGER, change VARCHAR, total_freight_and_mail VARCHAR)
SELECT MAX(domestic_freight) FROM table_name_23 WHERE change = "+9,8%" AND total_freight_and_mail > 3 OFFSET 278
Who won the Silver the Year Katie Curtis Unknown won the Bronze?
CREATE TABLE table_name_28 (silver VARCHAR, bronze VARCHAR)
SELECT silver FROM table_name_28 WHERE bronze = "katie curtis unknown"
What is the largest number in attendance when the record is 1-1-0?
CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR)
SELECT MAX(attendance) FROM table_name_63 WHERE record = "1-1-0"
What is the county for the Irish name Carna?
CREATE TABLE table_101196_1 (county VARCHAR, irish_name VARCHAR)
SELECT county FROM table_101196_1 WHERE irish_name = "Carna"
What is the smallest frames per minute when the pixels are 5.0
CREATE TABLE table_1251878_3 (least_compression_at_24_fps VARCHAR, mpix VARCHAR)
SELECT least_compression_at_24_fps FROM table_1251878_3 WHERE mpix = "5.0"
What chassis was used by roy salvadori?
CREATE TABLE table_name_96 (chassis VARCHAR, driver VARCHAR)
SELECT chassis FROM table_name_96 WHERE driver = "roy salvadori"
How many Losses have a Ballarat FL of melton south, and an Against larger than 1468?
CREATE TABLE table_name_10 (losses VARCHAR, ballarat_fl VARCHAR, against VARCHAR)
SELECT COUNT(losses) FROM table_name_10 WHERE ballarat_fl = "melton south" AND against > 1468
Who was the womens double winner when the womens singles winner was Ding Ning?
CREATE TABLE table_28138035_32 (womens_doubles VARCHAR, womens_singles VARCHAR)
SELECT womens_doubles FROM table_28138035_32 WHERE womens_singles = "Ding Ning"
What are the names of the countries that are in the continent of Europe and have a population of 80000?
CREATE TABLE country (Name VARCHAR, continent VARCHAR, Population VARCHAR)
SELECT Name FROM country WHERE continent = "Europe" AND Population = "80000"
What year was the role of Rachel active in TV?
CREATE TABLE table_name_83 (year_active VARCHAR, role VARCHAR)
SELECT year_active FROM table_name_83 WHERE role = "rachel"
Which motor's class was bs 1910?
CREATE TABLE table_name_84 (motor VARCHAR, class VARCHAR)
SELECT motor FROM table_name_84 WHERE class = "bs 1910"
What are the timeslot(s) for broadcast on February 22, 2008?
CREATE TABLE table_16072430_1 (timeslot VARCHAR, air_date VARCHAR)
SELECT timeslot FROM table_16072430_1 WHERE air_date = "February 22, 2008"
How many games were won with 2nd oha was standing and there were 62 games?
CREATE TABLE table_1143966_1 (won VARCHAR, standing VARCHAR, games VARCHAR)
SELECT won FROM table_1143966_1 WHERE standing = "2nd OHA" AND games = 62
What is the lowest Rank, when Nation is Great Britain, and when Bronze is less than 1?
CREATE TABLE table_name_40 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT MIN(rank) FROM table_name_40 WHERE nation = "great britain" AND bronze < 1
How many stadiums have haka as the club?
CREATE TABLE table_29250534_1 (stadium VARCHAR, club VARCHAR)
SELECT COUNT(stadium) FROM table_29250534_1 WHERE club = "Haka"
What's the score on february 18 when the visitors are the montreal canadiens?
CREATE TABLE table_name_46 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT score FROM table_name_46 WHERE visitor = "montreal canadiens" AND date = "february 18"
what is teh ihsaa class/football/soccer when the location is alexandria?
CREATE TABLE table_name_43 (ihsaa_class___football___soccer VARCHAR, location VARCHAR)
SELECT ihsaa_class___football___soccer FROM table_name_43 WHERE location = "alexandria"
Which player weighs 76kg?
CREATE TABLE table_26847237_2 (player VARCHAR, weight VARCHAR)
SELECT player FROM table_26847237_2 WHERE weight = "76kg"
What year was Mother's Live remix created?
CREATE TABLE table_name_46 (year INTEGER, version VARCHAR)
SELECT SUM(year) FROM table_name_46 WHERE version = "mother's live remix"
What did the away team score at MCG?
CREATE TABLE table_name_96 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_96 WHERE venue = "mcg"
How many gold did Gabon have when they were ranked no higher than 17, and less than 7 in total?
CREATE TABLE table_name_94 (gold INTEGER, rank VARCHAR, total VARCHAR, nation VARCHAR)
SELECT SUM(gold) FROM table_name_94 WHERE total < 7 AND nation = "gabon" AND rank < 17
Who was the runner-up in season five?
CREATE TABLE table_16331144_1 (runner_up VARCHAR, season VARCHAR)
SELECT runner_up FROM table_16331144_1 WHERE season = "Five"
What is Trial Phase, when Expected End Date is June 2007?
CREATE TABLE table_name_59 (trial_phase VARCHAR, expected_end_date VARCHAR)
SELECT trial_phase FROM table_name_59 WHERE expected_end_date = "june 2007"
What is the average wins has Top-25 less than 0?
CREATE TABLE table_name_66 (wins INTEGER, top_25 INTEGER)
SELECT AVG(wins) FROM table_name_66 WHERE top_25 < 0
What was the team Unics Kazan's 1st leg score?
CREATE TABLE table_name_73 (team__number1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_73 WHERE team__number1 = "unics kazan"
Which state does Jimmy Quillen represent?
CREATE TABLE table_name_32 (state VARCHAR, representative VARCHAR)
SELECT state FROM table_name_32 WHERE representative = "jimmy quillen"
Which player has a subtotal of more than 3 and more than 8 in round 1?
CREATE TABLE table_name_59 (player VARCHAR, subtotal VARCHAR, round_1 VARCHAR)
SELECT player FROM table_name_59 WHERE subtotal > 3 AND round_1 > 8
If the winners from the previous round is 8, what is the round?
CREATE TABLE table_1859269_1 (round VARCHAR, winners_from_previous_round VARCHAR)
SELECT round FROM table_1859269_1 WHERE winners_from_previous_round = "8"
Which administrative division had a population of 2011 according to the siak database of 3,672,994?
CREATE TABLE table_21734764_1 (administrative_division VARCHAR, population_2011_siak_database VARCHAR)
SELECT administrative_division FROM table_21734764_1 WHERE population_2011_siak_database = "3,672,994"
Which station is from China and has a frequency of 684khz?
CREATE TABLE table_name_79 (station VARCHAR, country_of_origin VARCHAR, frequency VARCHAR)
SELECT station FROM table_name_79 WHERE country_of_origin = "china" AND frequency = "684khz"
What is the Athlete of the race with a Time of 9.78?
CREATE TABLE table_name_14 (athlete VARCHAR, time VARCHAR)
SELECT athlete FROM table_name_14 WHERE time = 9.78
What is the running time of the transmission on bbc four channels on 23 March 2008?
CREATE TABLE table_name_46 (Running VARCHAR, channel VARCHAR, date VARCHAR)
SELECT Running AS time FROM table_name_46 WHERE channel = "bbc four" AND date = "23 march 2008"
What is the enrollment at delaware valley college?
CREATE TABLE table_261906_2 (joined_mac INTEGER, institution VARCHAR)
SELECT MAX(joined_mac) FROM table_261906_2 WHERE institution = "Delaware Valley College"
How many games had three pointers where the number of points was 581?
CREATE TABLE table_22824324_2 (three_pointers VARCHAR, points VARCHAR)
SELECT COUNT(three_pointers) FROM table_22824324_2 WHERE points = 581
What was the score of the March 14 game?
CREATE TABLE table_name_95 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_95 WHERE date = "march 14"
What date sent has cygnus as a constellation, and hd 190360 as a designation HD?
CREATE TABLE table_name_65 (date_sent VARCHAR, constellation VARCHAR, designation_hd VARCHAR)
SELECT date_sent FROM table_name_65 WHERE constellation = "cygnus" AND designation_hd = "hd 190360"
Name the airdate for the episode written by howard ostroff
CREATE TABLE table_2342078_6 (original_airdate VARCHAR, written_by VARCHAR)
SELECT original_airdate FROM table_2342078_6 WHERE written_by = "Howard Ostroff"
What position has UCLA pick that is larger than #47?
CREATE TABLE table_name_78 (position VARCHAR, pick__number VARCHAR, affiliation VARCHAR)
SELECT position FROM table_name_78 WHERE pick__number > 47 AND affiliation = "ucla"
What week was she safe for a salsa dance?
CREATE TABLE table_name_8 (week INTEGER, result VARCHAR, dance VARCHAR)
SELECT SUM(week) FROM table_name_8 WHERE result = "safe" AND dance = "salsa"
Wins of 0, and a Rank larger than 6, and a Manufacturer of kawasaki, and a Rider of massimo broccoli involved what highest points?
CREATE TABLE table_name_18 (points INTEGER, rider VARCHAR, manufacturer VARCHAR, wins VARCHAR, rank VARCHAR)
SELECT MAX(points) FROM table_name_18 WHERE wins = 0 AND rank > 6 AND manufacturer = "kawasaki" AND rider = "massimo broccoli"
With an issue date(s) of 12 September, what is in the column for Weeks on Top?
CREATE TABLE table_name_96 (weeks_on_top VARCHAR, issue_date_s_ VARCHAR)
SELECT weeks_on_top FROM table_name_96 WHERE issue_date_s_ = "12 september"
Name the margin of victory for jonas blixt
CREATE TABLE table_name_24 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT margin_of_victory FROM table_name_24 WHERE runner_s__up = "jonas blixt"
What was the issue price in the year 2008?
CREATE TABLE table_name_29 (issue_price INTEGER, year VARCHAR)
SELECT SUM(issue_price) FROM table_name_29 WHERE year = 2008
Name the revenue for eps being 1.19
CREATE TABLE table_20614109_1 (revenue__ INTEGER, earnings_per_share__€_ VARCHAR)
SELECT MAX(revenue__) AS €million_ FROM table_20614109_1 WHERE earnings_per_share__€_ = "1.19"
What record has September 21 as the date?
CREATE TABLE table_name_59 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_59 WHERE date = "september 21"
Which Player has a Place of T2 and a Country listed as Fiji?
CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR, country VARCHAR)
SELECT player FROM table_name_33 WHERE place = "t2" AND country = "fiji"
What's the size of Centerville in 89 Wayne county with an IHSAA class of AA in the year before 1974?
CREATE TABLE table_name_61 (size VARCHAR, school VARCHAR, _number___county VARCHAR, year_joined VARCHAR, ihsaa_class VARCHAR)
SELECT size FROM table_name_61 WHERE year_joined < 1974 AND ihsaa_class = "aa" AND _number___county = "89 wayne" AND school = "centerville"
What is the highest grid that tetsuya harada rode in?
CREATE TABLE table_name_71 (grid INTEGER, rider VARCHAR)
SELECT MAX(grid) FROM table_name_71 WHERE rider = "tetsuya harada"
Which entrant had a mugen-honda mf-301 he engine?
CREATE TABLE table_name_68 (entrant VARCHAR, engine_† VARCHAR)
SELECT entrant FROM table_name_68 WHERE engine_† = "mugen-honda mf-301 he"
what is the least number of stumps in a game with 13 dismissals
CREATE TABLE table_19870086_24 (stumped INTEGER, dismissals VARCHAR)
SELECT MIN(stumped) FROM table_19870086_24 WHERE dismissals = 13
What is the name of the yacht where 12 is the overall place?
CREATE TABLE table_name_28 (yacht_name VARCHAR, overall_place VARCHAR)
SELECT yacht_name FROM table_name_28 WHERE overall_place = "12"
What is the average Lost for Team Matlock Town when the Goals Against is higher than 66?
CREATE TABLE table_name_79 (lost INTEGER, team VARCHAR, goals_against VARCHAR)
SELECT AVG(lost) FROM table_name_79 WHERE team = "matlock town" AND goals_against > 66
Name the owners 2009 for south side indianapolis
CREATE TABLE table_23958917_1 (owner_s___2009_ VARCHAR, location VARCHAR)
SELECT owner_s___2009_ FROM table_23958917_1 WHERE location = "South Side Indianapolis"
What's the stadium on November 8?
CREATE TABLE table_name_26 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_26 WHERE date = "november 8"
What are the create dates, states, and phone numbers of the votes that were for the contestant named 'Tabatha Gehling'?
CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR); CREATE TABLE votes (created VARCHAR, state VARCHAR, phone_number VARCHAR, contestant_number VARCHAR)
SELECT T2.created, T2.state, T2.phone_number FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number WHERE T1.contestant_name = 'Tabatha Gehling'
What was the original air date for the episode Calle, The Transit of Venus?
CREATE TABLE table_19517621_4 (original_airdate VARCHAR, title VARCHAR)
SELECT original_airdate FROM table_19517621_4 WHERE title = "The Transit of Venus"
How many players held the high point records for game 34?
CREATE TABLE table_27698941_8 (high_points VARCHAR, game VARCHAR)
SELECT COUNT(high_points) FROM table_27698941_8 WHERE game = 34
Who directed the epsiode with production number 109?
CREATE TABLE table_2400842_1 (directed_by VARCHAR, prod__number VARCHAR)
SELECT directed_by FROM table_2400842_1 WHERE prod__number = 109
Which team was the opponent in game 5?
CREATE TABLE table_29181479_3 (team VARCHAR, game VARCHAR)
SELECT team FROM table_29181479_3 WHERE game = 5
Which 2002 has a 2009 of 2r?
CREATE TABLE table_name_96 (Id VARCHAR)
SELECT 2002 FROM table_name_96 WHERE 2009 = "2r"
Who were the comedians during the episode located in Birmingham Hippodrome?
CREATE TABLE table_23122988_1 (comedians VARCHAR, location VARCHAR)
SELECT comedians FROM table_23122988_1 WHERE location = "Birmingham Hippodrome"
How many kids stay in the room DAMIEN TRACHSEL checked in on Sep 21, 2010?
CREATE TABLE Reservations (Kids VARCHAR, LastName VARCHAR, CheckIn VARCHAR, FirstName VARCHAR)
SELECT Kids FROM Reservations WHERE CheckIn = "2010-09-21" AND FirstName = "DAMIEN" AND LastName = "TRACHSEL"
How many division titles does the team with 23 playoff appearances and more than 1 conference titles have?
CREATE TABLE table_name_87 (division_titles INTEGER, playoff_appearances VARCHAR, conference_titles VARCHAR)
SELECT SUM(division_titles) FROM table_name_87 WHERE playoff_appearances = 23 AND conference_titles > 1
How many episodes have a weekly rank tba and are broadcast at 8:00 p.m.?
CREATE TABLE table_16072430_1 (_number VARCHAR, weekly_rank VARCHAR, timeslot VARCHAR)
SELECT COUNT(_number) FROM table_16072430_1 WHERE weekly_rank = "TBA" AND timeslot = "8:00 P.M."
When was the winning score –12 (69-66-72-65=272)?
CREATE TABLE table_name_72 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_72 WHERE winning_score = –12(69 - 66 - 72 - 65 = 272)
What year were the Olympic Games?
CREATE TABLE table_name_10 (year INTEGER, competition VARCHAR)
SELECT SUM(year) FROM table_name_10 WHERE competition = "olympic games"
What's the lowest in Votes with a Rank of 5th, has an Occupation of retired, along with a Riding of Brant?
CREATE TABLE table_name_97 (votes INTEGER, riding VARCHAR, rank VARCHAR, occupation VARCHAR)
SELECT MIN(votes) FROM table_name_97 WHERE rank = "5th" AND occupation = "retired" AND riding = "brant"
What is the size of the team that was previously from Central Indiana conference, and is in IHSSA Class 4a?
CREATE TABLE table_name_81 (size VARCHAR, ihsaa_class VARCHAR, previous_conference VARCHAR)
SELECT size FROM table_name_81 WHERE ihsaa_class = "4a" AND previous_conference = "central indiana"
Which Week had a Date of december 4, 1960?
CREATE TABLE table_name_63 (week VARCHAR, date VARCHAR)
SELECT week FROM table_name_63 WHERE date = "december 4, 1960"
Which Points have Touchdowns larger than 0, and an Extra points smaller than 0?
CREATE TABLE table_name_70 (points INTEGER, touchdowns VARCHAR, extra_points VARCHAR)
SELECT SUM(points) FROM table_name_70 WHERE touchdowns > 0 AND extra_points < 0
What's the largest amount of assists juan ignacio sánchez ever had?
CREATE TABLE table_name_30 (assists INTEGER, name VARCHAR)
SELECT MAX(assists) FROM table_name_30 WHERE name = "juan ignacio sánchez"
What Londongborough has a Dialcode of 01992?
CREATE TABLE table_name_15 (londonborough VARCHAR, dialcode VARCHAR)
SELECT londonborough FROM table_name_15 WHERE dialcode = "01992"
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 episode_title FROM table_name_3 WHERE prod_code = "1gowo04"
List the names of all distinct nurses ordered by alphabetical order?
CREATE TABLE nurse (name VARCHAR)
SELECT DISTINCT name FROM nurse ORDER BY name
WHAT IS THE 2008 PERFORMANCE WITH A 2007 CAREER STATISTICS?
CREATE TABLE table_name_45 (Id VARCHAR)
SELECT 2008 FROM table_name_45 WHERE 2007 = "career statistics"
what is the district where the result is re-elected and the incumbent is richard kelly?
CREATE TABLE table_1341663_10 (district VARCHAR, result VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341663_10 WHERE result = "Re-elected" AND incumbent = "Richard Kelly"
What school or team is in a round below 5 with a pick of 2?
CREATE TABLE table_name_57 (school_club_team VARCHAR, round VARCHAR, pick VARCHAR)
SELECT school_club_team FROM table_name_57 WHERE round < 5 AND pick = 2
What is the 2008 value with a 7 in 2010?
CREATE TABLE table_name_94 (Id VARCHAR)
SELECT 2008 FROM table_name_94 WHERE 2010 = "7"
Which Attendance has a Game smaller than 3, and a Date of october 31?
CREATE TABLE table_name_49 (attendance VARCHAR, game VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_49 WHERE game < 3 AND date = "october 31"
Name the least events for number 7
CREATE TABLE table_24108789_6 (events INTEGER, _number VARCHAR)
SELECT MIN(events) FROM table_24108789_6 WHERE _number = 7
Name the average total medals with ensemble of goshen hs
CREATE TABLE table_name_2 (total_medals INTEGER, ensemble VARCHAR)
SELECT AVG(total_medals) FROM table_name_2 WHERE ensemble = "goshen hs"
What was the average points for someone who has played more than 10?
CREATE TABLE table_name_67 (points INTEGER, played INTEGER)
SELECT AVG(points) FROM table_name_67 WHERE played > 10
When 35 is the number what is the album?
CREATE TABLE table_18442691_2 (album VARCHAR, no VARCHAR)
SELECT album FROM table_18442691_2 WHERE no = 35
What was the first airdate with a viewership of 4.77 million?
CREATE TABLE table_17641206_4 (original_airdate VARCHAR, viewership VARCHAR)
SELECT original_airdate FROM table_17641206_4 WHERE viewership = "4.77 million"
What is the name of the anti-ship missile that had a turbojet propulsion that was launched by a surface, sub after 1985?
CREATE TABLE table_name_96 (name VARCHAR, launched_by VARCHAR, propulsion VARCHAR, year VARCHAR)
SELECT name FROM table_name_96 WHERE propulsion = "turbojet" AND year > 1985 AND launched_by = "surface, sub"
The safety position is represented in the draft by which colleges?
CREATE TABLE table_name_62 (college VARCHAR, position VARCHAR)
SELECT college FROM table_name_62 WHERE position = "safety"
What is the club/province of player Alberto Sgarbi, who played wing, with less than 2 caps?
CREATE TABLE table_name_18 (club_province VARCHAR, player VARCHAR, caps VARCHAR, position VARCHAR)
SELECT club_province FROM table_name_18 WHERE caps < 2 AND position = "wing" AND player = "alberto sgarbi"
What is the prefix for the formula of Rsor'?
CREATE TABLE table_name_75 (prefix VARCHAR, formula VARCHAR)
SELECT prefix FROM table_name_75 WHERE formula = "rsor'"
who had the high points on november 20?
CREATE TABLE table_name_61 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_61 WHERE date = "november 20"
What was the finish with the start of 25 and a lap larger than 46?
CREATE TABLE table_name_21 (finish VARCHAR, start VARCHAR, laps VARCHAR)
SELECT finish FROM table_name_21 WHERE start = "25" AND laps > 46
What position did the team with 3 losses finish?
CREATE TABLE table_16034882_4 (position INTEGER, loses VARCHAR)
SELECT MIN(position) FROM table_16034882_4 WHERE loses = 3
What's the release date for the processor spec number SLBEQ(d0)?
CREATE TABLE table_name_29 (release_date VARCHAR, sspec_number VARCHAR)
SELECT release_date FROM table_name_29 WHERE sspec_number = "slbeq(d0)"
Which institution's nickname is the Polar Bears?
CREATE TABLE table_261931_2 (institution VARCHAR, nickname VARCHAR)
SELECT institution FROM table_261931_2 WHERE nickname = "Polar Bears"
Name the regular season for usisl d-3 pro league did not qualify
CREATE TABLE table_2361911_2 (regular_season VARCHAR, league VARCHAR, playoffs VARCHAR)
SELECT regular_season FROM table_2361911_2 WHERE league = "USISL D-3 Pro league" AND playoffs = "Did not qualify"
The Prix UIP Vilo Do Conde festival nominated which film?
CREATE TABLE table_name_7 (film VARCHAR, nominating_festival VARCHAR)
SELECT film FROM table_name_7 WHERE nominating_festival = "prix uip vilo do conde"
What date has friendly as the type of game, france as an opponent, and paris, france as the city?
CREATE TABLE table_name_92 (date VARCHAR, city VARCHAR, type_of_game VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_92 WHERE type_of_game = "friendly" AND opponent = "france" AND city = "paris, france"
How many simplified names are there for xin county?
CREATE TABLE table_2847477_2 (simplified VARCHAR, english_name VARCHAR)
SELECT COUNT(simplified) FROM table_2847477_2 WHERE english_name = "Xin County"
What number of laps were done by driver Ronnie Peterson?
CREATE TABLE table_name_56 (laps VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_56 WHERE driver = "ronnie peterson"