question
stringlengths
12
243
answer
stringlengths
18
557
context
stringlengths
27
489
Name the driver for Laps less than 9 and a grid of 13
SELECT driver FROM table_name_60 WHERE laps < 9 AND grid = 13
CREATE TABLE table_name_60 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
What is the H/A on 5 August 1990?
SELECT h___a FROM table_name_46 WHERE date = "5 august 1990"
CREATE TABLE table_name_46 (h___a VARCHAR, date VARCHAR)
What positions does Tom Hammond play?
SELECT position FROM table_14342592_3 WHERE player = "Tom Hammond"
CREATE TABLE table_14342592_3 (position VARCHAR, player VARCHAR)
What is the nickname of the boy who weighed 810g (26.0 oz.) at birth?
SELECT nickname FROM table_name_64 WHERE gender = "boy" AND weight_at_birth = "810g (26.0 oz.)"
CREATE TABLE table_name_64 (nickname VARCHAR, gender VARCHAR, weight_at_birth VARCHAR)
Before 1957, what was the largest in Attendance at Varsity Stadium?
SELECT MAX(attendance) FROM table_name_82 WHERE season < 1957 AND venue = "varsity stadium"
CREATE TABLE table_name_82 (attendance INTEGER, season VARCHAR, venue VARCHAR)
What is the 3 June time for the rider with 2 June time of 17' 45.11 127.525mph?
SELECT thurs_3_june FROM table_25220821_4 WHERE wed_2_june = "17' 45.11 127.525mph"
CREATE TABLE table_25220821_4 (thurs_3_june VARCHAR, wed_2_june VARCHAR)
Tell me the score for score in legs and year less than 2012
SELECT score__l__ = _score_in_legs, __s__ = _score_in_sets FROM table_name_51 WHERE year < 2012
CREATE TABLE table_name_51 (score__l__ VARCHAR, _score_in_legs VARCHAR, __s__ VARCHAR, _score_in_sets VARCHAR, year INTEGER)
How many platforms have a southern opertator and the pattern is all stations via clapham junction?
SELECT COUNT(platform) FROM table_1569516_1 WHERE operator = "Southern" AND service_pattern = "All stations via Clapham Junction"
CREATE TABLE table_1569516_1 (platform VARCHAR, operator VARCHAR, service_pattern VARCHAR)
What television service has italian as the language, and sky famiglia as the package option?
SELECT television_service FROM table_name_20 WHERE language = "italian" AND package_option = "sky famiglia"
CREATE TABLE table_name_20 (television_service VARCHAR, language VARCHAR, package_option VARCHAR)
Which engineer has visited the most times? Show the engineer id, first name and last name.
SELECT T1.engineer_id, T1.first_name, T1.last_name FROM Maintenance_Engineers AS T1 JOIN Engineer_Visits AS T2 GROUP BY T1.engineer_id ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE Maintenance_Engineers (engineer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE Engineer_Visits (Id VARCHAR)
Name the least podiums for 9th position
SELECT MIN(podiums) FROM table_25375093_1 WHERE position = "9th"
CREATE TABLE table_25375093_1 (podiums INTEGER, position VARCHAR)
What stadium was the game held at on December 23, 2001?
SELECT stadium FROM table_name_2 WHERE date = "december 23, 2001"
CREATE TABLE table_name_2 (stadium VARCHAR, date VARCHAR)
How many different enrollment numbers are there for the school whose students are nicknamed Barons?
SELECT COUNT(enrollment) FROM table_1971074_1 WHERE nickname = "Barons"
CREATE TABLE table_1971074_1 (enrollment VARCHAR, nickname VARCHAR)
Name the left day 9 finish for eliminated
SELECT eliminated FROM table_25920798_2 WHERE finish = "Left Day 9"
CREATE TABLE table_25920798_2 (eliminated VARCHAR, finish VARCHAR)
When the fastest lap was carlos pace and jackie stewart was the pole position, who was the winning driver?
SELECT winning_driver FROM table_name_12 WHERE pole_position = "jackie stewart" AND fastest_lap = "carlos pace"
CREATE TABLE table_name_12 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
Name the total number of total for rank of 7 and bronze less than 1
SELECT COUNT(total) FROM table_name_68 WHERE rank = "7" AND bronze < 1
CREATE TABLE table_name_68 (total VARCHAR, rank VARCHAR, bronze VARCHAR)
Name the production code for november 27, 1988
SELECT production_code FROM table_2226817_4 WHERE original_air_date = "November 27, 1988"
CREATE TABLE table_2226817_4 (production_code VARCHAR, original_air_date VARCHAR)
What is the name from the 2002 season, and acquired via free agency?
SELECT name FROM table_name_80 WHERE season = "2002" AND acquisition_via = "free agency"
CREATE TABLE table_name_80 (name VARCHAR, season VARCHAR, acquisition_via VARCHAR)
What was the date of the finale for Season 3?
SELECT finale FROM table_name_61 WHERE season = 3
CREATE TABLE table_name_61 (finale VARCHAR, season VARCHAR)
Which province includes Axel Heiberg Island?
SELECT province FROM table_name_25 WHERE mountain_range = "axel heiberg island"
CREATE TABLE table_name_25 (province VARCHAR, mountain_range VARCHAR)
Which overall's pick number was 14?
SELECT overall FROM table_name_65 WHERE pick__number = 14
CREATE TABLE table_name_65 (overall VARCHAR, pick__number VARCHAR)
Let's say Type is of datasetcomplete, what is the Attribute?
SELECT attribute FROM table_name_62 WHERE type = "datasetcomplete"
CREATE TABLE table_name_62 (attribute VARCHAR, type VARCHAR)
What was the format for the radio with a frequency of 00 96.3 fm?
SELECT format FROM table_name_8 WHERE frequency = "00 96.3 fm"
CREATE TABLE table_name_8 (format VARCHAR, frequency VARCHAR)
What person was the runner-up skip when Julie Reddick was the winning skip?
SELECT runner_up_skip FROM table_name_61 WHERE winning_skip = "julie reddick"
CREATE TABLE table_name_61 (runner_up_skip VARCHAR, winning_skip VARCHAR)
What are flight numbers of Airline "United Airlines"?
SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid = T1.Airline WHERE T2.Airline = "United Airlines"
CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR); CREATE TABLE FLIGHTS (FlightNo VARCHAR, Airline VARCHAR)
When has a Record of 1-3?
SELECT date FROM table_name_7 WHERE record = "1-3"
CREATE TABLE table_name_7 (date VARCHAR, record VARCHAR)
Who is the choreographer with the style pas de deux?
SELECT choreographer_s_ FROM table_name_10 WHERE style = "pas de deux"
CREATE TABLE table_name_10 (choreographer_s_ VARCHAR, style VARCHAR)
What Player is from Argentina and whose position is a guard-forward?
SELECT player FROM table_name_9 WHERE position = "guard-forward" AND nationality = "argentina"
CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, nationality VARCHAR)
How many episodes were written by Ross brown?
SELECT COUNT(no_in_series) FROM table_2468961_2 WHERE written_by = "Ross Brown"
CREATE TABLE table_2468961_2 (no_in_series VARCHAR, written_by VARCHAR)
Who wrote series number 99?
SELECT written_by FROM table_name_68 WHERE series__number = 99
CREATE TABLE table_name_68 (written_by VARCHAR, series__number VARCHAR)
Who is the builder of the locomotives with wheel arrangement of 2-4-2 T?
SELECT builder FROM table_1157867_2 WHERE wheel_arrangement = "2-4-2 T"
CREATE TABLE table_1157867_2 (builder VARCHAR, wheel_arrangement VARCHAR)
What is the NFL club of the cornerback player with a pick greater than 63?
SELECT nfl_club FROM table_name_34 WHERE pick > 63 AND position = "cornerback"
CREATE TABLE table_name_34 (nfl_club VARCHAR, pick VARCHAR, position VARCHAR)
What was the chassis of Emilio de Villota in 1981?
SELECT chassis FROM table_name_94 WHERE year > 1981
CREATE TABLE table_name_94 (chassis VARCHAR, year INTEGER)
what's the record with result being w 52–19
SELECT record FROM table_14951643_1 WHERE result = "W 52–19"
CREATE TABLE table_14951643_1 (record VARCHAR, result VARCHAR)
How many deaths per year have 66.3 as the life expectancy females?
SELECT deaths_per_year FROM table_23423_2 WHERE life_expectancy_females = "66.3"
CREATE TABLE table_23423_2 (deaths_per_year VARCHAR, life_expectancy_females VARCHAR)
What is the to par of the player from England with a t1 place?
SELECT to_par FROM table_name_93 WHERE country = "england" AND place = "t1"
CREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR, place VARCHAR)
What is listed as the highest Points that's got a Position that's smaller than 1?
SELECT MAX(points) FROM table_name_64 WHERE position < 1
CREATE TABLE table_name_64 (points INTEGER, position INTEGER)
how many maximum winners
SELECT MAX(winners) FROM table_12303563_2
CREATE TABLE table_12303563_2 (winners INTEGER)
What year was the Drama Desk award won by nominee George Hearn?
SELECT year FROM table_name_44 WHERE award = "drama desk award" AND result = "won" AND nominee = "george hearn"
CREATE TABLE table_name_44 (year VARCHAR, nominee VARCHAR, award VARCHAR, result VARCHAR)
What is the average number of conversions for the Cardiff Blues with less than 14 tries?
SELECT AVG(conversions) FROM table_name_91 WHERE team = "cardiff blues" AND tries < 14
CREATE TABLE table_name_91 (conversions INTEGER, team VARCHAR, tries VARCHAR)
Who is the player with a Jersey Number(s) greater than 30?
SELECT player FROM table_name_22 WHERE jersey_number_s_ > 30
CREATE TABLE table_name_22 (player VARCHAR, jersey_number_s_ INTEGER)
What is the lowest season #?
SELECT MIN(season__number) FROM table_25800134_11
CREATE TABLE table_25800134_11 (season__number INTEGER)
At what venue was there a competition with a score reported as 7.14 (56) - 4.5 (29)?
SELECT venue FROM table_name_89 WHERE score = "7.14 (56) - 4.5 (29)"
CREATE TABLE table_name_89 (venue VARCHAR, score VARCHAR)
How much Ekstraklasa has a Total smaller than 3?
SELECT SUM(ekstraklasa) FROM table_name_98 WHERE total < 3
CREATE TABLE table_name_98 (ekstraklasa INTEGER, total INTEGER)
What is the density of the city with an elevation of 3,400 msl?
SELECT density__hab_km²_ FROM table_name_5 WHERE elevation_msl = "3,400 msl"
CREATE TABLE table_name_5 (density__hab_km²_ VARCHAR, elevation_msl VARCHAR)
What was the average game with a record of 4-4-0?
SELECT AVG(game) FROM table_name_58 WHERE record = "4-4-0"
CREATE TABLE table_name_58 (game INTEGER, record VARCHAR)
What is the entered number for the person with a time of 29:28?
SELECT entered FROM table_name_74 WHERE time = "29:28"
CREATE TABLE table_name_74 (entered VARCHAR, time VARCHAR)
What is the score of the game with the streak l5
SELECT score FROM table_11964047_10 WHERE streak = "L5"
CREATE TABLE table_11964047_10 (score VARCHAR, streak VARCHAR)
Find the state, account type, and credit score of the customer whose number of loan is 0.
SELECT state, acc_type, credit_score FROM customer WHERE no_of_loans = 0
CREATE TABLE customer (state VARCHAR, acc_type VARCHAR, credit_score VARCHAR, no_of_loans VARCHAR)
List the full amount of week 36 results when week 32 is 13.2%.
SELECT COUNT(week_36) FROM table_23680576_3 WHERE week_32 = "13.2%"
CREATE TABLE table_23680576_3 (week_36 VARCHAR, week_32 VARCHAR)
Who is the driver that one for the winning tpc team qi-meritus that has a round more than 8?
SELECT winning_driver FROM table_name_76 WHERE winning_team = "tpc team qi-meritus" AND round > 8
CREATE TABLE table_name_76 (winning_driver VARCHAR, winning_team VARCHAR, round VARCHAR)
What is the result on 29 September 2007?
SELECT result FROM table_name_39 WHERE date = "29 september 2007"
CREATE TABLE table_name_39 (result VARCHAR, date VARCHAR)
Which location has the date of October 28?
SELECT location FROM table_23612439_2 WHERE date = "October 28"
CREATE TABLE table_23612439_2 (location VARCHAR, date VARCHAR)
What is the total number of Races when there were more than 8 wins?
SELECT COUNT(races) FROM table_name_15 WHERE wins > 8
CREATE TABLE table_name_15 (races VARCHAR, wins INTEGER)
What is the density in Garran?
SELECT MIN(density___km²_) FROM table_1174162_1 WHERE suburb = "Garran"
CREATE TABLE table_1174162_1 (density___km²_ INTEGER, suburb VARCHAR)
List the total play time for 11 starts.
SELECT MAX(minutes) FROM table_25038931_1 WHERE starts = 11
CREATE TABLE table_25038931_1 (minutes INTEGER, starts VARCHAR)
Which nation is where rider phillip dutton from?
SELECT nation FROM table_18666752_3 WHERE rider = "Phillip Dutton"
CREATE TABLE table_18666752_3 (nation VARCHAR, rider VARCHAR)
What are the most points listed?
SELECT MAX(points) FROM table_25730123_2
CREATE TABLE table_25730123_2 (points INTEGER)
Where did the Jet's play with an attendance of 11,309?
SELECT game_site FROM table_name_98 WHERE attendance = "11,309"
CREATE TABLE table_name_98 (game_site VARCHAR, attendance VARCHAR)
What is the Fatalities when the tail number was unknown and in Kabul>
SELECT fatalities FROM table_name_53 WHERE tail_number = "unknown" AND location = "kabul"
CREATE TABLE table_name_53 (fatalities VARCHAR, tail_number VARCHAR, location VARCHAR)
For the NBC network, what was the new/returning/same network status?
SELECT new_returning_same_network FROM table_169766_13 WHERE previous_network = "NBC"
CREATE TABLE table_169766_13 (new_returning_same_network VARCHAR, previous_network VARCHAR)
how many winners with # being 4
SELECT COUNT(winners) FROM table_12303563_2 WHERE _number = 4
CREATE TABLE table_12303563_2 (winners VARCHAR, _number VARCHAR)
Who was the driver when the time in part 3 was 1:31.386?
SELECT driver FROM table_20159025_1 WHERE part_1 = "1:31.386"
CREATE TABLE table_20159025_1 (driver VARCHAR, part_1 VARCHAR)
What is the Record for April 15?
SELECT record FROM table_name_45 WHERE date = "april 15"
CREATE TABLE table_name_45 (record VARCHAR, date VARCHAR)
what being the maximum year where regular season is 4th, northwest
SELECT MAX(year) FROM table_1046454_1 WHERE regular_season = "4th, Northwest"
CREATE TABLE table_1046454_1 (year INTEGER, regular_season VARCHAR)
What's the to par for Jim Thorpe in T5 Place?
SELECT to_par FROM table_name_42 WHERE place = "t5" AND player = "jim thorpe"
CREATE TABLE table_name_42 (to_par VARCHAR, place VARCHAR, player VARCHAR)
What are the fewest draws with less than 7 losses and Mitta United is the Tallagatta DFL?
SELECT MIN(draws) FROM table_name_65 WHERE losses < 7 AND tallangatta_dfl = "mitta united"
CREATE TABLE table_name_65 (draws INTEGER, losses VARCHAR, tallangatta_dfl VARCHAR)
Who is the winner for the Tournament in Hong Kong with a third place winner named Mikael Pernfors?
SELECT winner FROM table_name_32 WHERE third_place = "mikael pernfors" AND tournament = "hong kong"
CREATE TABLE table_name_32 (winner VARCHAR, third_place VARCHAR, tournament VARCHAR)
What is the chassis for Bruce Mclaren with all rounds and a g tyre?
SELECT chassis FROM table_name_93 WHERE rounds = "all" AND tyre = "g" AND driver = "bruce mclaren"
CREATE TABLE table_name_93 (chassis VARCHAR, driver VARCHAR, rounds VARCHAR, tyre VARCHAR)
What game number is the Kansas City Kings team?
SELECT game FROM table_name_62 WHERE team = "kansas city kings"
CREATE TABLE table_name_62 (game VARCHAR, team VARCHAR)
In what venue is Essendon the home team?
SELECT venue FROM table_name_92 WHERE home_team = "essendon"
CREATE TABLE table_name_92 (venue VARCHAR, home_team VARCHAR)
WHAT IS THE SUM OF RACES WITH 9 POINTS?
SELECT SUM(races) FROM table_name_49 WHERE points = "9"
CREATE TABLE table_name_49 (races INTEGER, points VARCHAR)
What is the Overall of 15 Club team with a Nationality of Canada?
SELECT club_team FROM table_name_37 WHERE nationality = "canada" AND overall = "15"
CREATE TABLE table_name_37 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR)
Show the station name with at least two trains.
SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id GROUP BY T1.station_id HAVING COUNT(*) >= 2
CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR)
Which current venues location is Mason, Ohio?
SELECT current_venue FROM table_14903081_1 WHERE location = "Mason, Ohio"
CREATE TABLE table_14903081_1 (current_venue VARCHAR, location VARCHAR)
Name the location for 2007
SELECT location FROM table_23379776_6 WHERE year = 2007
CREATE TABLE table_23379776_6 (location VARCHAR, year VARCHAR)
with a share of 44.2% and 77 seats, what is the greatest seat total?
SELECT MAX(total_seats) FROM table_name_82 WHERE seats = 77 AND share_of_votes = "44.2%"
CREATE TABLE table_name_82 (total_seats INTEGER, seats VARCHAR, share_of_votes VARCHAR)
What was the team's status in the USISL Pro League playoffs?
SELECT playoffs FROM table_1939214_1 WHERE league = "USISL Pro league"
CREATE TABLE table_1939214_1 (playoffs VARCHAR, league VARCHAR)
Which school's round was 24?
SELECT school FROM table_name_41 WHERE round = "24"
CREATE TABLE table_name_41 (school VARCHAR, round VARCHAR)
Which country has the player Ted Schulz?
SELECT country FROM table_name_41 WHERE player = "ted schulz"
CREATE TABLE table_name_41 (country VARCHAR, player VARCHAR)
who was the winner for souderton, pa?
SELECT winner FROM table_27887723_1 WHERE location = "Souderton, PA"
CREATE TABLE table_27887723_1 (winner VARCHAR, location VARCHAR)
What date has 113-115 (ot) as the score?
SELECT date FROM table_name_20 WHERE score = "113-115 (ot)"
CREATE TABLE table_name_20 (date VARCHAR, score VARCHAR)
Name the most races
SELECT MAX(races) FROM table_21457754_2
CREATE TABLE table_21457754_2 (races INTEGER)
Which Series Ep has a Netflix of s08e18?
SELECT series_ep FROM table_name_83 WHERE netflix = "s08e18"
CREATE TABLE table_name_83 (series_ep VARCHAR, netflix VARCHAR)
Who are the opponents in district California 9?
SELECT opponent FROM table_1341568_6 WHERE district = "California 9"
CREATE TABLE table_1341568_6 (opponent VARCHAR, district VARCHAR)
Where did they play and how many attended in the game against minnesota?
SELECT location_attendance FROM table_13619105_3 WHERE team = "Minnesota"
CREATE TABLE table_13619105_3 (location_attendance VARCHAR, team VARCHAR)
How many games did they play the carolina hurricanes?
SELECT COUNT(game) FROM table_23453931_8 WHERE opponent = "Carolina Hurricanes"
CREATE TABLE table_23453931_8 (game VARCHAR, opponent VARCHAR)
Name the number of ranks for international tourist arrivals being 6.2 million
SELECT COUNT(rank) FROM table_14752049_5 WHERE international_tourist_arrivals__2011_ = "6.2 million"
CREATE TABLE table_14752049_5 (rank VARCHAR, international_tourist_arrivals__2011_ VARCHAR)
Who was the home team when the away team was Hawthorn?
SELECT home_team FROM table_name_15 WHERE away_team = "hawthorn"
CREATE TABLE table_name_15 (home_team VARCHAR, away_team VARCHAR)
What is the nickname that means god holds my life?
SELECT nickname FROM table_11908801_1 WHERE meaning = "God Holds My Life"
CREATE TABLE table_11908801_1 (nickname VARCHAR, meaning VARCHAR)
With which association did estribillo ii run as Horse 1?
SELECT association FROM table_name_30 WHERE horse_1 = "estribillo ii"
CREATE TABLE table_name_30 (association VARCHAR, horse_1 VARCHAR)
What is the round of the game at venue H and opponent of Derby County?
SELECT round FROM table_name_31 WHERE venue = "h" AND opponent = "derby county"
CREATE TABLE table_name_31 (round VARCHAR, venue VARCHAR, opponent VARCHAR)
How many years had the best actress in a Revival category?
SELECT COUNT(year) FROM table_name_9 WHERE category = "best actress in a revival"
CREATE TABLE table_name_9 (year VARCHAR, category VARCHAR)
What is the Date of the match with Partner Steffi Graf with a Score in Final of 4–6, 1–6?
SELECT date FROM table_name_26 WHERE score_in_final = "4–6, 1–6" AND partner = "steffi graf"
CREATE TABLE table_name_26 (date VARCHAR, score_in_final VARCHAR, partner VARCHAR)
Who was in Second Place with Isabelle Brayley came in Fourth?
SELECT second FROM table_name_31 WHERE fourth = "isabelle brayley"
CREATE TABLE table_name_31 (second VARCHAR, fourth VARCHAR)
Location of brendan byrne arena had what score?
SELECT score FROM table_name_5 WHERE location = "brendan byrne arena"
CREATE TABLE table_name_5 (score VARCHAR, location VARCHAR)
How many golds have a Bronze of 0, a Total larger than 1, a Nation of chad, and a Silver larger than 0?
SELECT SUM(gold) FROM table_name_34 WHERE bronze = 0 AND total > 1 AND nation = "chad" AND silver > 0
CREATE TABLE table_name_34 (gold INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR)
Where was the home court on April 14?
SELECT home FROM table_name_34 WHERE date = "april 14"
CREATE TABLE table_name_34 (home VARCHAR, date VARCHAR)
WHAT IS THE ROUND FOR ZACH BOYCHUK?
SELECT COUNT(round) FROM table_name_6 WHERE player = "zach boychuk"
CREATE TABLE table_name_6 (round VARCHAR, player VARCHAR)
What is the name for 30 september 1943?
SELECT name FROM table_1220125_4 WHERE launched = "30 September 1943"
CREATE TABLE table_1220125_4 (name VARCHAR, launched VARCHAR)