answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT year FROM table_name_2 WHERE winner = "burning roma"
CREATE TABLE table_name_2 (year VARCHAR, winner VARCHAR)
What year was Burning Roma the winner?
SELECT win_loss FROM table_name_23 WHERE coach = "peter german"
CREATE TABLE table_name_23 (win_loss VARCHAR, coach VARCHAR)
What is the win/loss of coach Peter German?
SELECT tyres FROM table_name_14 WHERE year < 1995 AND laps = 142
CREATE TABLE table_name_14 (tyres VARCHAR, year VARCHAR, laps VARCHAR)
Which tyre was before 1995 with 142 laps?
SELECT tyres FROM table_name_89 WHERE laps > 5 AND team = "nissan motorsports international"
CREATE TABLE table_name_89 (tyres VARCHAR, laps VARCHAR, team VARCHAR)
Which tyres has more than 5 laps with team nissan motorsports international?
SELECT pos FROM table_name_56 WHERE tyres = "m" AND laps > 352
CREATE TABLE table_name_56 (pos VARCHAR, tyres VARCHAR, laps VARCHAR)
What position that has m tyres and 352 or more laps?
SELECT team_2 FROM table_name_29 WHERE team_1 = "sestese(e16)"
CREATE TABLE table_name_29 (team_2 VARCHAR, team_1 VARCHAR)
who is the team 2 when the team 1 is sestese(e16)?
SELECT MAX(base_pairs) FROM table_name_2 WHERE strain = "unspecified"
CREATE TABLE table_name_2 (base_pairs INTEGER, strain VARCHAR)
What is the largest base pair with a Strain of unspecified?
SELECT MIN(base_pairs) FROM table_name_21 WHERE species = "borrelia garinii" AND genes > 832
CREATE TABLE table_name_21 (base_pairs INTEGER, species VARCHAR, genes VARCHAR)
What is the lowst base pair with a Species of borrelia garinii, and a Genes larger than 832?
SELECT type FROM table_name_65 WHERE species = "unspecified" AND genes < 367
CREATE TABLE table_name_65 (type VARCHAR, species VARCHAR, genes VARCHAR)
What type has an unspecified species and less than 367 genes?
SELECT base_pairs FROM table_name_79 WHERE genes = 832
CREATE TABLE table_name_79 (base_pairs VARCHAR, genes VARCHAR)
What base pair has 832 genes?
SELECT competition FROM table_name_53 WHERE rank = 9
CREATE TABLE table_name_53 (competition VARCHAR, rank VARCHAR)
Which competition was ranked 9?
SELECT SUM(drawn) FROM table_name_94 WHERE goals = "274-357"
CREATE TABLE table_name_94 (drawn INTEGER, goals VARCHAR)
What is the sum of draws with 274-357 goals?
SELECT MIN(played_2) FROM table_name_65 WHERE lost > 83 AND seasons = 8 AND club_1 = "chernomorets novorossiysk" AND drawn < 65
CREATE TABLE table_name_65 (played_2 INTEGER, drawn VARCHAR, club_1 VARCHAR, lost VARCHAR, seasons VARCHAR)
What is the lowest played 2 number with less than 83 losses and less than 65 draws with Chernomorets Novorossiysk in season 8?
SELECT COUNT(rank) FROM table_name_88 WHERE goals = "562-506" AND seasons < 13
CREATE TABLE table_name_88 (rank VARCHAR, goals VARCHAR, seasons VARCHAR)
What is the rank number with 562-506 goals before season 13?
SELECT COUNT(seasons) FROM table_name_77 WHERE goals = "261-338" AND lost > 111
CREATE TABLE table_name_77 (seasons VARCHAR, goals VARCHAR, lost VARCHAR)
How many seasons have goals of 261-338 with more than 111 losses?
SELECT MAX(seasons) FROM table_name_28 WHERE drawn = 57 AND rank = 20 AND spells > 1
CREATE TABLE table_name_28 (seasons INTEGER, spells VARCHAR, drawn VARCHAR, rank VARCHAR)
What is the highest season number with 57 draws, rank 20, and more than 1 spell?
SELECT result FROM table_name_51 WHERE venue = "doha"
CREATE TABLE table_name_51 (result VARCHAR, venue VARCHAR)
What was the results of the game at Doha?
SELECT score FROM table_name_42 WHERE competition = "1998 fifa world cup qualification"
CREATE TABLE table_name_42 (score VARCHAR, competition VARCHAR)
What was the score during the competition of 1998 fifa world cup qualification?
SELECT competition FROM table_name_45 WHERE date = "october 1, 1994"
CREATE TABLE table_name_45 (competition VARCHAR, date VARCHAR)
What is the competition that took place on October 1, 1994?
SELECT competition FROM table_name_58 WHERE result = "2-2"
CREATE TABLE table_name_58 (competition VARCHAR, result VARCHAR)
What is the competition that had a 2-2 result?
SELECT venue FROM table_name_46 WHERE result = "4-2"
CREATE TABLE table_name_46 (venue VARCHAR, result VARCHAR)
Where did the competition take place that had a 4-2 result?
SELECT venue FROM table_name_7 WHERE result = "5-1"
CREATE TABLE table_name_7 (venue VARCHAR, result VARCHAR)
Where was the competition that took place that had a 5-1 result?
SELECT MAX(goals) FROM table_name_5 WHERE tries < 1 AND position = "fullback"
CREATE TABLE table_name_5 (goals INTEGER, tries VARCHAR, position VARCHAR)
Tell me the highest goals with tries less than 1 and fullback position
SELECT MIN(tries) FROM table_name_40 WHERE goals > 0 AND position = "centre" AND points < 54
CREATE TABLE table_name_40 (tries INTEGER, points VARCHAR, goals VARCHAR, position VARCHAR)
Tell me the lowest tries for goals more than 0 with centre position and points less than 54
SELECT player FROM table_name_18 WHERE tries > 1 AND points < 54 AND position = "hooker"
CREATE TABLE table_name_18 (player VARCHAR, position VARCHAR, tries VARCHAR, points VARCHAR)
I want to know the player with tries more than 1 and position of hooker with points less than 54
SELECT player FROM table_name_56 WHERE points > 36 AND goals > 0 AND tries = 12
CREATE TABLE table_name_56 (player VARCHAR, tries VARCHAR, points VARCHAR, goals VARCHAR)
Tell me the player with points larger than 36 and goals more than 0 with tries of 12
SELECT tournament FROM table_name_58 WHERE 2010 = "olympic games"
CREATE TABLE table_name_58 (tournament VARCHAR)
What Tournament was the 2010 Olympic Games?
SELECT width FROM table_name_3 WHERE entered_service = 2010
CREATE TABLE table_name_3 (width VARCHAR, entered_service VARCHAR)
Which width had an entered service year of 2010?
SELECT MAX(built) FROM table_name_44 WHERE entered_service > 2003 AND knots < 27
CREATE TABLE table_name_44 (built INTEGER, entered_service VARCHAR, knots VARCHAR)
What is the most recent built year when the year of entering service was more recent than 2003, and the knots is less than 27?
SELECT COUNT(knots) FROM table_name_11 WHERE ship = "ms moby vincent" AND passengers < 1.6
CREATE TABLE table_name_11 (knots VARCHAR, ship VARCHAR, passengers VARCHAR)
How many knots did the Ms Moby Vincent have when passengers was less than 1.6?
SELECT venue FROM table_name_51 WHERE away_team = "richmond"
CREATE TABLE table_name_51 (venue VARCHAR, away_team VARCHAR)
Where did Richmond play as the away team?
SELECT attendance FROM table_name_21 WHERE opponent = "phillies 1:15 pm" AND date = "april 9"
CREATE TABLE table_name_21 (attendance VARCHAR, opponent VARCHAR, date VARCHAR)
When the phillies 1:15 pm played on April 9, what was the attendance?
SELECT date FROM table_name_42 WHERE score = "5-1"
CREATE TABLE table_name_42 (date VARCHAR, score VARCHAR)
When was there a score of 5-1?
SELECT AVG(silver) FROM table_name_62 WHERE bronze > 1
CREATE TABLE table_name_62 (silver INTEGER, bronze INTEGER)
What is the average number of silvers for nations with over 1 bronze medal?
SELECT interregnum_ended FROM table_name_37 WHERE count_palatine_of_saxony = "frederick augustus i, elector of saxony"
CREATE TABLE table_name_37 (interregnum_ended VARCHAR, count_palatine_of_saxony VARCHAR)
What is the Interregnum ended for Count Palatine of Saxony of frederick augustus i, elector of saxony?
SELECT interregnum_ended FROM table_name_69 WHERE count_palatine_of_saxony = "john george ii, elector of saxony"
CREATE TABLE table_name_69 (interregnum_ended VARCHAR, count_palatine_of_saxony VARCHAR)
What is the Interregnum ended for Count Palatine of Saxony of john george ii, elector of saxony?
SELECT duration FROM table_name_53 WHERE count_palatine_of_the_rhine = "charles albert, elector of bavaria"
CREATE TABLE table_name_53 (duration VARCHAR, count_palatine_of_the_rhine VARCHAR)
What is the duration for Count Palatine of the Rhine of charles albert, elector of bavaria?
SELECT count_palatine_of_the_rhine FROM table_name_65 WHERE interregnum_began = "2 april 1657 death of ferdinand iii"
CREATE TABLE table_name_65 (count_palatine_of_the_rhine VARCHAR, interregnum_began VARCHAR)
What is the name of the Count Palatine of the Rhine with a Interregnum began of 2 april 1657 death of ferdinand iii?
SELECT interregnum_ended FROM table_name_78 WHERE duration = "3 months, 6 days"
CREATE TABLE table_name_78 (interregnum_ended VARCHAR, duration VARCHAR)
What is the Interregnum ended for the person with a Duration of 3 months, 6 days?
SELECT crowd FROM table_name_53 WHERE home_team = "hawthorn"
CREATE TABLE table_name_53 (crowd VARCHAR, home_team VARCHAR)
What was the crowd size when the home team was Hawthorn?
SELECT SUM(share) FROM table_name_25 WHERE timeslot = "8:30 p.m." AND air_date = "march 27, 2008" AND rank__overall_ > 65
CREATE TABLE table_name_25 (share INTEGER, rank__overall_ VARCHAR, timeslot VARCHAR, air_date VARCHAR)
What is the total share with Timeslot of 8:30 p.m., anAir Date of march 27, 2008, and a Rank greater than 65?
SELECT COUNT(viewers__m_) FROM table_name_80 WHERE rank__night_ = "n/a" AND timeslot = "8:30 p.m."
CREATE TABLE table_name_80 (viewers__m_ VARCHAR, rank__night_ VARCHAR, timeslot VARCHAR)
What is the total number of Viewers with a Rank (Night) of n/a, and a Timeslot of 8:30 p.m.?
SELECT COUNT(attendance) FROM table_name_11 WHERE decision = "mclean" AND home = "calgary"
CREATE TABLE table_name_11 (attendance VARCHAR, decision VARCHAR, home VARCHAR)
How many people attended the game when Calgary was the home team and the decision was McLean?
SELECT record FROM table_name_38 WHERE home = "los angeles"
CREATE TABLE table_name_38 (record VARCHAR, home VARCHAR)
What is the record of the game when Los Angeles was the home team?
SELECT record FROM table_name_39 WHERE score = "1 – 5"
CREATE TABLE table_name_39 (record VARCHAR, score VARCHAR)
What is the record of the game with a score of 1 – 5?
SELECT MIN(attendance) FROM table_name_97 WHERE home = "los angeles"
CREATE TABLE table_name_97 (attendance INTEGER, home VARCHAR)
What is the least number of people to attend a game when Los Angeles was the home team?
SELECT runner_up FROM table_name_96 WHERE tournament = "santiago"
CREATE TABLE table_name_96 (runner_up VARCHAR, tournament VARCHAR)
who is the runner- up when the tournament is santiago?
SELECT score FROM table_name_54 WHERE runner_up = "richard krajicek"
CREATE TABLE table_name_54 (score VARCHAR, runner_up VARCHAR)
what is the score when the runner-up is richard krajicek?
SELECT tournament FROM table_name_48 WHERE score = "7-6(0), 6-3"
CREATE TABLE table_name_48 (tournament VARCHAR, score VARCHAR)
what is the tournament when the score is 7-6(0), 6-3?
SELECT third_place FROM table_name_77 WHERE tournament = "delray beach"
CREATE TABLE table_name_77 (third_place VARCHAR, tournament VARCHAR)
who is third place when the tournament is delray beach?
SELECT score FROM table_name_63 WHERE competition = "continental qualifier" AND date = "february 23, 2003"
CREATE TABLE table_name_63 (score VARCHAR, competition VARCHAR, date VARCHAR)
What was the score in the Continental Qualifier on February 23, 2003?
SELECT score FROM table_name_72 WHERE competition = "world cup qualifier"
CREATE TABLE table_name_72 (score VARCHAR, competition VARCHAR)
What was the score for the World Cup Qualifier?
SELECT result FROM table_name_61 WHERE date = "february 18, 2003"
CREATE TABLE table_name_61 (result VARCHAR, date VARCHAR)
What was the result on February 18, 2003?
SELECT commissioned FROM table_name_14 WHERE fate = "converted to laker, 1961; still in service"
CREATE TABLE table_name_14 (commissioned VARCHAR, fate VARCHAR)
When was the ship that had a fate of 'converted to laker, 1961; still in service' commissioned?
SELECT final_decommission FROM table_name_94 WHERE original_name = "sachem"
CREATE TABLE table_name_94 (final_decommission VARCHAR, original_name VARCHAR)
When was the ship originally named sachem finally decommissioned?
SELECT away_team AS score FROM table_name_69 WHERE home_team = "richmond"
CREATE TABLE table_name_69 (away_team VARCHAR, home_team VARCHAR)
What did the away team score in the game against Richmond?
SELECT player FROM table_name_41 WHERE no_result = 0 AND tied > 0
CREATE TABLE table_name_41 (player VARCHAR, no_result VARCHAR, tied VARCHAR)
Which player has no 0 results and multiples ties?
SELECT MIN(no_result) FROM table_name_80 WHERE lost > 5 AND _percentage_win_[a_] < 58.06
CREATE TABLE table_name_80 (no_result INTEGER, lost VARCHAR, _percentage_win_ VARCHAR, a_ VARCHAR)
What is the low no result with more than 5 loss and a win ration lesser than 58.06?
SELECT opponent FROM table_name_73 WHERE date = "may 12"
CREATE TABLE table_name_73 (opponent VARCHAR, date VARCHAR)
Name the opponent for may 12
SELECT date FROM table_name_31 WHERE loss = "schilling (5–2)"
CREATE TABLE table_name_31 (date VARCHAR, loss VARCHAR)
Name the date for Loss of schilling (5–2)
SELECT record FROM table_name_64 WHERE date = "may 31"
CREATE TABLE table_name_64 (record VARCHAR, date VARCHAR)
Name the record for may 31
SELECT MAX(average) FROM table_name_84 WHERE interview = 8.46
CREATE TABLE table_name_84 (average INTEGER, interview VARCHAR)
What was the highest average for the contestant having an interview score of 8.46?
SELECT date FROM table_name_45 WHERE time = "29.816"
CREATE TABLE table_name_45 (date VARCHAR, time VARCHAR)
What day had a time of 29.816?
SELECT car_make FROM table_name_7 WHERE record = "nascar camping world truck series"
CREATE TABLE table_name_7 (car_make VARCHAR, record VARCHAR)
What kind of car has the NASCAR Camping World Truck Series record?
SELECT home FROM table_name_6 WHERE date = "april 6"
CREATE TABLE table_name_6 (home VARCHAR, date VARCHAR)
Was it a home game on the date of April 6?
SELECT date FROM table_name_28 WHERE home = "dallas"
CREATE TABLE table_name_28 (date VARCHAR, home VARCHAR)
What was the date when the home team was Dallas?
SELECT MAX(pick__number) FROM table_name_94 WHERE player = "rhett mclane"
CREATE TABLE table_name_94 (pick__number INTEGER, player VARCHAR)
What is Rhett Mclane's highest pick number?
SELECT MIN(pick__number) FROM table_name_9 WHERE college = "colorado"
CREATE TABLE table_name_9 (pick__number INTEGER, college VARCHAR)
What is Colorado College's lowest pick number?
SELECT player FROM table_name_34 WHERE college = "northwestern"
CREATE TABLE table_name_34 (player VARCHAR, college VARCHAR)
What player belongs to Northwestern College?
SELECT cfl_team FROM table_name_76 WHERE player = "pascal masson"
CREATE TABLE table_name_76 (cfl_team VARCHAR, player VARCHAR)
What CFL Team is Pascal Masson on?
SELECT number_ & _name FROM table_name_28 WHERE date > 1954
CREATE TABLE table_name_28 (number_ VARCHAR, _name VARCHAR, date INTEGER)
What's the number & name for the date after 1954?
SELECT date FROM table_name_77 WHERE owner_s_ = "princess royal class locomotive trust"
CREATE TABLE table_name_77 (date VARCHAR, owner_s_ VARCHAR)
What's the date for princess royal class locomotive trust?
SELECT number_ & _name FROM table_name_72 WHERE description = "peckett 0-4-0st"
CREATE TABLE table_name_72 (number_ VARCHAR, _name VARCHAR, description VARCHAR)
What's the number & name for the description peckett 0-4-0st?
SELECT number_ & _name FROM table_name_10 WHERE description = "lms fowler class 3f 0-6-0t"
CREATE TABLE table_name_10 (number_ VARCHAR, _name VARCHAR, description VARCHAR)
What's the number & name for a description of lms fowler class 3f 0-6-0t?
SELECT driver FROM table_name_25 WHERE laps = 74 AND grid > 9
CREATE TABLE table_name_25 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
Who drive 74 laps in a grid larger than 9?
SELECT player FROM table_name_48 WHERE school_club_team_country = "st. mary's"
CREATE TABLE table_name_48 (player VARCHAR, school_club_team_country VARCHAR)
Who is the player for St. Mary's team?
SELECT height_in_ft FROM table_name_15 WHERE school_club_team_country = "mississippi"
CREATE TABLE table_name_15 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
How tall is the player from Mississippi
SELECT no_s_ FROM table_name_66 WHERE school_club_team_country = "centenary"
CREATE TABLE table_name_66 (no_s_ VARCHAR, school_club_team_country VARCHAR)
What is the player number for the player from Centenary?
SELECT height_in_ft FROM table_name_69 WHERE no_s_ = "42" AND school_club_team_country = "long beach state"
CREATE TABLE table_name_69 (height_in_ft VARCHAR, no_s_ VARCHAR, school_club_team_country VARCHAR)
How tall is player 42 from Long Beach State?
SELECT network FROM table_name_47 WHERE lap_by_lap = "bill flemming" AND pit_reporters = "chris economaki"
CREATE TABLE table_name_47 (network VARCHAR, lap_by_lap VARCHAR, pit_reporters VARCHAR)
What network has lap-by-laps by Bill Flemming, and Pit reporter Chris Economaki?
SELECT lap_by_lap FROM table_name_74 WHERE year > 1973 AND pit_reporters = "bill flemming"
CREATE TABLE table_name_74 (lap_by_lap VARCHAR, year VARCHAR, pit_reporters VARCHAR)
Which lap-by-lap has a year after 1973, with pit reporter Bill Flemming?
SELECT MIN(round) FROM table_name_14 WHERE res = "win" AND location = "fort lauderdale, florida, united states" AND time = "3:38"
CREATE TABLE table_name_14 (round INTEGER, time VARCHAR, res VARCHAR, location VARCHAR)
What is the lowest round for Fort Lauderdale, Florida, United States, with a win and a time of 3:38?
SELECT COUNT(round) FROM table_name_64 WHERE time = "2:18"
CREATE TABLE table_name_64 (round VARCHAR, time VARCHAR)
How many rounds have a time of 2:18?
SELECT MIN(grid) FROM table_name_32 WHERE laps < 65 AND driver = "tim schenken"
CREATE TABLE table_name_32 (grid INTEGER, laps VARCHAR, driver VARCHAR)
What is the lowest Grid with fewer than 65 Laps and with Driver Tim Schenken?
SELECT driver FROM table_name_98 WHERE grid = 1
CREATE TABLE table_name_98 (driver VARCHAR, grid VARCHAR)
What Driver has 1 in Grid?
SELECT time_retired FROM table_name_75 WHERE driver = "howden ganley"
CREATE TABLE table_name_75 (time_retired VARCHAR, driver VARCHAR)
What is Driver Howden Ganley's Time/Retired?
SELECT date FROM table_name_45 WHERE home_team = "hawthorn"
CREATE TABLE table_name_45 (date VARCHAR, home_team VARCHAR)
On what date was Hawthorn the home team?
SELECT away_team FROM table_name_2 WHERE venue = "junction oval"
CREATE TABLE table_name_2 (away_team VARCHAR, venue VARCHAR)
Who was the away team at Junction Oval?
SELECT home_team FROM table_name_93 WHERE venue = "mcg"
CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR)
Which home team played at MCG?
SELECT SUM(draws) FROM table_name_95 WHERE position < 15 AND played > 38
CREATE TABLE table_name_95 (draws INTEGER, position VARCHAR, played VARCHAR)
Tell me the sum of draws for position less than 15 with played more than 38
SELECT SUM(played) FROM table_name_34 WHERE position < 9 AND draws > 19 AND goals_against > 27
CREATE TABLE table_name_34 (played INTEGER, goals_against VARCHAR, position VARCHAR, draws VARCHAR)
Name the sum of played for position less than 9 and draws more than 19 with goals against more than 27
SELECT recorded FROM table_name_16 WHERE translation = "sleep my love, good night"
CREATE TABLE table_name_16 (recorded VARCHAR, translation VARCHAR)
Name the recorded for translation of sleep my love, good night
SELECT winter FROM table_name_99 WHERE year = 1906
CREATE TABLE table_name_99 (winter VARCHAR, year VARCHAR)
What is the Winter in 1906?
SELECT driver FROM table_name_44 WHERE time_retired = "2:45:46.2"
CREATE TABLE table_name_44 (driver VARCHAR, time_retired VARCHAR)
Which driver has a Time/Retired of 2:45:46.2?
SELECT position FROM table_name_16 WHERE pick < 312 AND school_club_team = "western michigan"
CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR)
What position for the western michigan product picked ahead of 312?
SELECT date FROM table_name_32 WHERE loser = "green bay packers" AND location = "green bay"
CREATE TABLE table_name_32 (date VARCHAR, loser VARCHAR, location VARCHAR)
What date did the Chicago Bears beat the Green bay Packers 31-20?
SELECT date FROM table_name_95 WHERE home = "boston bruins"
CREATE TABLE table_name_95 (date VARCHAR, home VARCHAR)
When were the boston bruins the home team?
SELECT nat FROM table_name_50 WHERE moving_from = "bordeaux"
CREATE TABLE table_name_50 (nat VARCHAR, moving_from VARCHAR)
In what nation is Bordeaux?
SELECT lead FROM table_name_89 WHERE nation = "norway"
CREATE TABLE table_name_89 (lead VARCHAR, nation VARCHAR)
Who has the lead in Norway?
SELECT skip FROM table_name_83 WHERE second = "joan mccusker"
CREATE TABLE table_name_83 (skip VARCHAR, second VARCHAR)
Which Skip will play Joan Mccusker?