question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which Unit has Authors of dalla vecchia, wild, & reitner?
CREATE TABLE table_name_65 (unit VARCHAR, authors VARCHAR)
SELECT unit FROM table_name_65 WHERE authors = "dalla vecchia, wild, & reitner"
Who is the home team at the Punt Road Oval?
CREATE TABLE table_name_99 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_99 WHERE venue = "punt road oval"
Name the Report of tourist trophy?
CREATE TABLE table_name_77 (report VARCHAR, name VARCHAR)
SELECT report FROM table_name_77 WHERE name = "tourist trophy"
How many wins in 1992?
CREATE TABLE table_name_52 (wins VARCHAR, year VARCHAR)
SELECT wins FROM table_name_52 WHERE year = 1992
Tell me the shuttle run with grade c
CREATE TABLE table_name_36 (shuttle_run__sec_ VARCHAR, grade VARCHAR)
SELECT shuttle_run__sec_ FROM table_name_36 WHERE grade = "c"
How many teams were in the series championnat de france formula renault 2.0?
CREATE TABLE table_26124171_1 (team VARCHAR, series VARCHAR)
SELECT team FROM table_26124171_1 WHERE series = "Championnat de France Formula Renault 2.0"
In what series did he have the 7th position?
CREATE TABLE table_24998088_1 (series VARCHAR, position VARCHAR)
SELECT series FROM table_24998088_1 WHERE position = "7th"
What is the chassis for a 1952 officine alfieri maserati with an entrant?
CREATE TABLE table_name_92 (chassis VARCHAR, entrant VARCHAR, year VARCHAR)
SELECT chassis FROM table_name_92 WHERE entrant = "officine alfieri maserati" AND year = 1952
How many Gold does the Nation in Rank 12 with less than 2 Total medals have?
CREATE TABLE table_name_45 (gold INTEGER, rank VARCHAR, total VARCHAR)
SELECT MAX(gold) FROM table_name_45 WHERE rank = "12" AND total < 2
What is the name of the episode where the season number is 13?
CREATE TABLE table_23114705_3 (title VARCHAR, no_in_season VARCHAR)
SELECT title FROM table_23114705_3 WHERE no_in_season = 13
How many ranks have a rebound average smaller than 6.1?
CREATE TABLE table_name_27 (rank VARCHAR, reb_avg INTEGER)
SELECT COUNT(rank) FROM table_name_27 WHERE reb_avg < 6.1
How many staff live in state Georgia?
CREATE TABLE Addresses (state_province_county VARCHAR)
SELECT COUNT(*) FROM Addresses WHERE state_province_county = "Georgia"
What is the to par when the winning score was 67-68-70-66=271?
CREATE TABLE table_name_76 (to_par VARCHAR, winning_score VARCHAR)
SELECT to_par FROM table_name_76 WHERE winning_score = 67 - 68 - 70 - 66 = 271
What is the lowest mark of the rank 8 record?
CREATE TABLE table_name_34 (mark INTEGER, rank VARCHAR)
SELECT MIN(mark) FROM table_name_34 WHERE rank = 8
How many numbers are given for losses by the Keighley Cougars?
CREATE TABLE table_13015539_1 (lost VARCHAR, club VARCHAR)
SELECT COUNT(lost) FROM table_13015539_1 WHERE club = "Keighley Cougars"
What country is the IATA BLQ located in?
CREATE TABLE table_name_68 (country VARCHAR, iata VARCHAR)
SELECT country FROM table_name_68 WHERE iata = "blq"
What was the decision of the game when Montreal was the home team?
CREATE TABLE table_name_90 (decision VARCHAR, home VARCHAR)
SELECT decision FROM table_name_90 WHERE home = "montreal"
What was the score on April 12?
CREATE TABLE table_name_48 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_48 WHERE date = "april 12"
What was Collingwood's away team score?
CREATE TABLE table_name_32 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_32 WHERE home_team = "collingwood"
Which district has the incumbent Wilbur Mills and a re-elected result?
CREATE TABLE table_1342218_5 (district VARCHAR, result VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342218_5 WHERE result = "Re-elected" AND incumbent = "Wilbur Mills"
When mount wondiwoi is the peak what is the island?
CREATE TABLE table_18946749_1 (island VARCHAR, peak VARCHAR)
SELECT island FROM table_18946749_1 WHERE peak = "Mount Wondiwoi"
Who are the contenders In the New York 29 polling area race?
CREATE TABLE table_1342256_32 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342256_32 WHERE district = "New York 29"
What 2003 rank does the airport IATA code SIN have?
CREATE TABLE table_name_60 (code__iata_ VARCHAR)
SELECT 2003 AS rank FROM table_name_60 WHERE code__iata_ = "sin"
what are all the record where date is january 21
CREATE TABLE table_13480122_5 (record VARCHAR, date VARCHAR)
SELECT record FROM table_13480122_5 WHERE date = "January 21"
What average bronze has a total less than 1?
CREATE TABLE table_name_29 (bronze INTEGER, total INTEGER)
SELECT AVG(bronze) FROM table_name_29 WHERE total < 1
What are the names of the heads who are born outside the California state?
CREATE TABLE head (name VARCHAR, born_state VARCHAR)
SELECT name FROM head WHERE born_state <> 'California'
What player has a score of 69-68-68=205?
CREATE TABLE table_name_43 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_43 WHERE score = 69 - 68 - 68 = 205
Name the segment c for ski goggles
CREATE TABLE table_name_78 (segment_c VARCHAR, segment_a VARCHAR)
SELECT segment_c FROM table_name_78 WHERE segment_a = "ski goggles"
What is the film title used in nomination for the film from South Korea?
CREATE TABLE table_name_26 (film_title_used_in_nomination VARCHAR, country VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_26 WHERE country = "south korea"
Which player had a position of QB for Texas Tech?
CREATE TABLE table_name_84 (player VARCHAR, pos VARCHAR, college VARCHAR)
SELECT player FROM table_name_84 WHERE pos = "qb" AND college = "texas tech"
What was the year of Bridget Jones: The Edge of Reason that was nominated?
CREATE TABLE table_name_87 (year INTEGER, result VARCHAR, film VARCHAR)
SELECT MIN(year) FROM table_name_87 WHERE result = "nominated" AND film = "bridget jones: the edge of reason"
Who was the high scorer in the Toronto game?
CREATE TABLE table_name_97 (high_points VARCHAR, team VARCHAR)
SELECT high_points FROM table_name_97 WHERE team = "toronto"
What is the Club that has an Established more than 2000 for soccer plated in kuntz stadium?
CREATE TABLE table_name_90 (club VARCHAR, venue VARCHAR, established VARCHAR, sport VARCHAR)
SELECT club FROM table_name_90 WHERE established > 2000 AND sport = "soccer" AND venue = "kuntz stadium"
What rank is later than 1994?
CREATE TABLE table_name_4 (rank VARCHAR, year INTEGER)
SELECT rank FROM table_name_4 WHERE year > 1994
What was the original title of the film submitted with the title A Woman in Flames?
CREATE TABLE table_10874596_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_10874596_1 WHERE film_title_used_in_nomination = "A Woman in Flames"
What is the name of the vacator for district Louisiana 1st?
CREATE TABLE table_1013168_3 (vacator VARCHAR, district VARCHAR)
SELECT vacator FROM table_1013168_3 WHERE district = "Louisiana 1st"
What is the original air date of the Jamie Babbit directed episode?
CREATE TABLE table_11404452_1 (original_air_date VARCHAR, director VARCHAR)
SELECT original_air_date FROM table_11404452_1 WHERE director = "Jamie Babbit"
How many matches were won by the teams that scored exactly 61 tries for?
CREATE TABLE table_27293285_6 (won VARCHAR, tries_for VARCHAR)
SELECT won FROM table_27293285_6 WHERE tries_for = "61"
who is the home team when the away team is wolverhampton wanderers?
CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_20 WHERE away_team = "wolverhampton wanderers"
Name the President who has a Treasurer of james davidson, and a Season of 2006–2007?
CREATE TABLE table_name_26 (president VARCHAR, treasurer VARCHAR, season VARCHAR)
SELECT president FROM table_name_26 WHERE treasurer = "james davidson" AND season = "2006–2007"
What is the lenth of a 2003 Make & Model of nabi 35-lfw?
CREATE TABLE table_name_52 (length VARCHAR, year VARCHAR, make_ VARCHAR, _model VARCHAR)
SELECT length FROM table_name_52 WHERE year = "2003" AND make_ & _model = "nabi 35-lfw"
What round was the opponent Sergiy Stakhovsky?
CREATE TABLE table_name_28 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_28 WHERE opponent = "sergiy stakhovsky"
What is the fewest number of races Pedro Nunes completed in any series?
CREATE TABLE table_25386974_1 (races INTEGER)
SELECT MIN(races) FROM table_25386974_1
Name the Event of sudesh peiris?
CREATE TABLE table_name_93 (event VARCHAR, name VARCHAR)
SELECT event FROM table_name_93 WHERE name = "sudesh peiris"
What is the award type for all Lowe awards?
CREATE TABLE table_name_1 (award VARCHAR, name VARCHAR)
SELECT award FROM table_name_1 WHERE name = "lowe"
Which Year has a cause of firedamp and a Death toll larger than 11?
CREATE TABLE table_name_87 (year INTEGER, cause VARCHAR, death_toll VARCHAR)
SELECT SUM(year) FROM table_name_87 WHERE cause = "firedamp" AND death_toll > 11
What is the quantity when the DRG was E 62 01–E 62 05?
CREATE TABLE table_name_93 (quantity VARCHAR, drg_number_s_ VARCHAR)
SELECT COUNT(quantity) FROM table_name_93 WHERE drg_number_s_ = "e 62 01–e 62 05"
What type of surface did the tournament canada f9, markham have?
CREATE TABLE table_name_30 (surface VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_30 WHERE tournament = "canada f9, markham"
Which Record has a Score of l 97–99 (ot)?
CREATE TABLE table_name_88 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_88 WHERE score = "l 97–99 (ot)"
On what date was the record 59–59?
CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_62 WHERE record = "59–59"
Which visitor has a Los Angeles home?
CREATE TABLE table_name_20 (visitor VARCHAR, home VARCHAR)
SELECT visitor FROM table_name_20 WHERE home = "los angeles"
What was the constructor for jo bonnier of 6 rounds?
CREATE TABLE table_name_69 (constructor VARCHAR, entrant VARCHAR, rounds VARCHAR)
SELECT constructor FROM table_name_69 WHERE entrant = "jo bonnier" AND rounds = "6"
What is Character Kerry Vincent's Tenure?
CREATE TABLE table_name_79 (tenure VARCHAR, character VARCHAR)
SELECT tenure FROM table_name_79 WHERE character = "kerry vincent"
What is the name of the person with more than 299 games during the 1995–07 period?
CREATE TABLE table_name_69 (name VARCHAR, games VARCHAR, period VARCHAR)
SELECT name FROM table_name_69 WHERE games > 299 AND period = "1995–07"
What's the network in 2011?
CREATE TABLE table_name_25 (network VARCHAR, year VARCHAR)
SELECT network FROM table_name_25 WHERE year = 2011
I want the date of appointment for manner of departure being sacked
CREATE TABLE table_name_91 (date_of_appointment VARCHAR, manner_of_departure VARCHAR)
SELECT date_of_appointment FROM table_name_91 WHERE manner_of_departure = "sacked"
What is the average attendance when the opponent is telford tigers?
CREATE TABLE table_name_75 (attendance INTEGER, opponent VARCHAR)
SELECT AVG(attendance) FROM table_name_75 WHERE opponent = "telford tigers"
what team scored on april 10
CREATE TABLE table_name_81 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_81 WHERE date = "april 10"
Name Event of wc milan and a Total of 23?
CREATE TABLE table_name_27 (score_points VARCHAR, event VARCHAR, total VARCHAR)
SELECT score_points FROM table_name_27 WHERE event = "wc milan" AND total = "23"
Which Position has a Round smaller than 14, and a College of illinois?
CREATE TABLE table_name_88 (position VARCHAR, round VARCHAR, college VARCHAR)
SELECT position FROM table_name_88 WHERE round < 14 AND college = "illinois"
How many podiums when he was in the british f3 national class series?
CREATE TABLE table_24491017_1 (podiums VARCHAR, series VARCHAR)
SELECT COUNT(podiums) FROM table_24491017_1 WHERE series = "British F3 National Class"
Which country does the player pele belong to?
CREATE TABLE table_name_85 (country VARCHAR, name VARCHAR)
SELECT country FROM table_name_85 WHERE name = "pele"
who was the winner /2nd for the British Champion Stakes race?
CREATE TABLE table_24850630_4 (winner_2nd VARCHAR, race VARCHAR)
SELECT winner_2nd FROM table_24850630_4 WHERE race = "British Champion Stakes"
What tournament location has 1 stroke as the margin of victory, with 1,200,000 as the purse ($)?
CREATE TABLE table_name_81 (tournament_location VARCHAR, margin_of_victory VARCHAR, purse___$__ VARCHAR)
SELECT tournament_location FROM table_name_81 WHERE margin_of_victory = "1 stroke" AND purse___$__ = "1,200,000"
What is the highest To Par, when Score is "72-73=145"?
CREATE TABLE table_name_35 (to_par INTEGER, score VARCHAR)
SELECT MAX(to_par) FROM table_name_35 WHERE score = 72 - 73 = 145
What is the decision of the game on January 13?
CREATE TABLE table_name_24 (decision VARCHAR, date VARCHAR)
SELECT decision FROM table_name_24 WHERE date = "january 13"
Tell me the result for 15 july
CREATE TABLE table_name_22 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_22 WHERE date = "15 july"
What is the configuration for the country France, with accounting as the type, and wheels greater than 6?
CREATE TABLE table_name_25 (configuration VARCHAR, wheels VARCHAR, country VARCHAR, type VARCHAR)
SELECT configuration FROM table_name_25 WHERE country = "france" AND type = "accounting" AND wheels > 6
What date was the Competition of europe/africa zone, group i, round robin, with a result of loss, in Antalya, and a Score of 1–2?
CREATE TABLE table_name_19 (date VARCHAR, score VARCHAR, location VARCHAR, competition VARCHAR, result VARCHAR)
SELECT date FROM table_name_19 WHERE competition = "europe/africa zone, group i, round robin" AND result = "loss" AND location = "antalya" AND score = "1–2"
Name the score for save of lancaster (3)
CREATE TABLE table_name_7 (score VARCHAR, save VARCHAR)
SELECT score FROM table_name_7 WHERE save = "lancaster (3)"
What's Adam's score when Jade's score is greater than 5 and Peter's score is less than 0?
CREATE TABLE table_name_40 (adam INTEGER, jade VARCHAR, peter VARCHAR)
SELECT AVG(adam) FROM table_name_40 WHERE jade > 5 AND peter < 0
What season was herschelle gibbs andrew symonds venugopal rao batsmen?
CREATE TABLE table_22962745_35 (season VARCHAR, batsmen VARCHAR)
SELECT season FROM table_22962745_35 WHERE batsmen = "Herschelle Gibbs Andrew Symonds Venugopal Rao"
Show the minimum, average, and maximum age of all students.
CREATE TABLE Student (age INTEGER)
SELECT MIN(age), AVG(age), MAX(age) FROM Student
Who was a linebacker at Tennessee?
CREATE TABLE table_name_64 (player_name VARCHAR, position VARCHAR, college VARCHAR)
SELECT player_name FROM table_name_64 WHERE position = "linebacker" AND college = "tennessee"
What was the Home team score for the team that played South Melbourne?
CREATE TABLE table_name_36 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_36 WHERE away_team = "south melbourne"
What was the average score for the country with the evening gown score of 9.100?
CREATE TABLE table_17521433_1 (average VARCHAR, evening_gown VARCHAR)
SELECT COUNT(average) FROM table_17521433_1 WHERE evening_gown = "9.100"
What is the lowest amount of money player jim colbert has?
CREATE TABLE table_name_96 (money___ INTEGER, player VARCHAR)
SELECT MIN(money___) AS $__ FROM table_name_96 WHERE player = "jim colbert"
Ken Hemenway is in which Round?
CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR)
SELECT round FROM table_name_23 WHERE player = "ken hemenway"
What is the week 4 opponent for the year with a week 10 opponent of Michigan State (8-2)?
CREATE TABLE table_name_30 (week_4_sept_21 VARCHAR, week_10_nov_2 VARCHAR)
SELECT week_4_sept_21 FROM table_name_30 WHERE week_10_nov_2 = "michigan state (8-2)"
state the institution in glenside, pennsylvania
CREATE TABLE table_1974632_1 (institution VARCHAR, location VARCHAR)
SELECT institution FROM table_1974632_1 WHERE location = "Glenside, Pennsylvania"
How many where killed under Major-General Jean Victor de Constant Rebecque's command?
CREATE TABLE table_11793221_2 (killed VARCHAR, commander VARCHAR)
SELECT killed FROM table_11793221_2 WHERE commander = "Major-General Jean Victor de Constant Rebecque"
Find all the forenames of distinct drivers who won in position 1 as driver standing and had more than 20 points?
CREATE TABLE drivers (forename VARCHAR, driverid VARCHAR); CREATE TABLE driverstandings (driverid VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR)
SELECT DISTINCT T1.forename FROM drivers AS T1 JOIN driverstandings AS T2 ON T1.driverid = T2.driverid WHERE T2.position = 1 AND T2.wins = 1 AND T2.points > 20
HOW MANY YEARS DID MENS DOUBLES PLAYER HEIKI SORGE MEELIS MAISTE PLAY?
CREATE TABLE table_14903627_1 (year VARCHAR, mens_doubles VARCHAR)
SELECT COUNT(year) FROM table_14903627_1 WHERE mens_doubles = "Heiki Sorge Meelis Maiste"
What is the Offensive Guard Player from Mississippi State College with a Pick number larter than 44?
CREATE TABLE table_name_68 (player VARCHAR, college VARCHAR, pick VARCHAR, position VARCHAR)
SELECT player FROM table_name_68 WHERE pick > 44 AND position = "offensive guard" AND college = "mississippi state"
What is the average goal difference of club cultural leonesa, which has more than 27 points and less than 9 losses?
CREATE TABLE table_name_63 (goal_difference INTEGER, club VARCHAR, points VARCHAR, losses VARCHAR)
SELECT AVG(goal_difference) FROM table_name_63 WHERE points > 27 AND losses < 9 AND club = "cultural leonesa"
Who was the home team on the May 2 game?
CREATE TABLE table_name_30 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_30 WHERE date = "may 2"
which episode of the season aired on october20,2012
CREATE TABLE table_29196086_4 (no_in_season INTEGER, original_air_date VARCHAR)
SELECT MAX(no_in_season) FROM table_29196086_4 WHERE original_air_date = "October20,2012"
Which Laid down has a Ship of fearless?
CREATE TABLE table_name_57 (laid_down VARCHAR, ship VARCHAR)
SELECT laid_down FROM table_name_57 WHERE ship = "fearless"
What is URA Index scale?
CREATE TABLE table_name_90 (scale VARCHAR, name VARCHAR)
SELECT scale FROM table_name_90 WHERE name = "ura index"
What is the smallest silver that has a bronze less than 0?
CREATE TABLE table_name_34 (silver INTEGER, bronze INTEGER)
SELECT MIN(silver) FROM table_name_34 WHERE bronze < 0
What position did Lamar Green play?
CREATE TABLE table_11545282_7 (position VARCHAR, player VARCHAR)
SELECT position FROM table_11545282_7 WHERE player = "Lamar Green"
What team was Paolo Quinteros on?
CREATE TABLE table_name_59 (team VARCHAR, name VARCHAR)
SELECT team FROM table_name_59 WHERE name = "paolo quinteros"
What is the sum of all silver medals with more than 2 bronze?
CREATE TABLE table_name_82 (silver INTEGER, bronze INTEGER)
SELECT SUM(silver) FROM table_name_82 WHERE bronze > 2
List the first name and birth date of all players from the country with code USA.
CREATE TABLE players (first_name VARCHAR, birth_date VARCHAR, country_code VARCHAR)
SELECT first_name, birth_date FROM players WHERE country_code = 'USA'
Which of the mill names contains the french word 'Moulin'?
CREATE TABLE mill (name VARCHAR)
SELECT name FROM mill WHERE name LIKE '%Moulin%'
In what grid did jim clark drive in?
CREATE TABLE table_name_21 (grid VARCHAR, driver VARCHAR)
SELECT grid FROM table_name_21 WHERE driver = "jim clark"
What was the date when the pitcher was Jason Marquis and the length was 410'?
CREATE TABLE table_name_69 (date VARCHAR, pitcher VARCHAR, length VARCHAR)
SELECT date FROM table_name_69 WHERE pitcher = "jason marquis" AND length = "410'"
What was the score for Leo Diegel?
CREATE TABLE table_name_63 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_63 WHERE player = "leo diegel"
What is the title of the person who started their reign in 1999?
CREATE TABLE table_name_63 (title VARCHAR, start_of_reign VARCHAR)
SELECT title FROM table_name_63 WHERE start_of_reign = 1999
On what surface was the opponent Michael Berrer?
CREATE TABLE table_name_15 (surface VARCHAR, opponent VARCHAR)
SELECT surface FROM table_name_15 WHERE opponent = "michael berrer"