instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the attendance of the game against the New Orleans Saints before game 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (attendance INTEGER, opponent VARCHAR, game VARCHAR)
SELECT AVG(attendance) FROM table_name_20 WHERE opponent = "new orleans saints" AND game < 11
Write a SQL query that answers the following question: On what date was the streak at lost 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (date VARCHAR, streak VARCHAR)
SELECT date FROM table_name_67 WHERE streak = "lost 7"
Write a SQL query that answers the following question: What was the date for Round 2r?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (date VARCHAR, round VARCHAR)
SELECT date FROM table_name_5 WHERE round = "2r"
Write a SQL query that answers the following question: What date did the opponent George Khrikadze play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_97 WHERE opponent = "george khrikadze"
Write a SQL query that answers the following question: What round resulted in 6-0, 6-1, 6-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (round VARCHAR, result VARCHAR)
SELECT round FROM table_name_16 WHERE result = "6-0, 6-1, 6-2"
Write a SQL query that answers the following question: What round was the opponent Sergiy Stakhovsky?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_28 WHERE opponent = "sergiy stakhovsky"
Write a SQL query that answers the following question: What is the record on December 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_77 WHERE date = "december 11"
Write a SQL query that answers the following question: What date was the game that resulted in L 30-27?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_34 WHERE result = "l 30-27"
Write a SQL query that answers the following question: What was the highest attendance of games that resulted in L 23-20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (attendance INTEGER, result VARCHAR)
SELECT MAX(attendance) FROM table_name_64 WHERE result = "l 23-20"
Write a SQL query that answers the following question: What was the result when the opponent was manchester united in venue h?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (result VARCHAR, opponent VARCHAR, venue VARCHAR)
SELECT result FROM table_name_45 WHERE opponent = "manchester united" AND venue = "h"
Write a SQL query that answers the following question: What rank was Peru with a total greater than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (rank INTEGER, country VARCHAR, total VARCHAR)
SELECT MAX(rank) FROM table_name_34 WHERE country = "peru" AND total > 3
Write a SQL query that answers the following question: What is Result, when Competition is 2010 FIFA World Cup Qualification, and when Date is 10 September 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (result VARCHAR, competition VARCHAR, date VARCHAR)
SELECT result FROM table_name_37 WHERE competition = "2010 fifa world cup qualification" AND date = "10 september 2008"
Write a SQL query that answers the following question: What is Venue, when Competition is 2010 FIFA World Cup Qualification, when Result is Won, and when Date is 14 June 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (venue VARCHAR, date VARCHAR, competition VARCHAR, result VARCHAR)
SELECT venue FROM table_name_25 WHERE competition = "2010 fifa world cup qualification" AND result = "won" AND date = "14 june 2008"
Write a SQL query that answers the following question: What is Competition, when Date is 30 December 2005?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_96 WHERE date = "30 december 2005"
Write a SQL query that answers the following question: What is the Place when the score is less than 71, and Country is zimbabwe?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR, country VARCHAR)
SELECT place FROM table_name_86 WHERE score < 71 AND country = "zimbabwe"
Write a SQL query that answers the following question: What is the lowest Score when the Country is canada?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (score INTEGER, country VARCHAR)
SELECT MIN(score) FROM table_name_77 WHERE country = "canada"
Write a SQL query that answers the following question: What is the Score when the Player is toru taniguchi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_92 WHERE player = "toru taniguchi"
Write a SQL query that answers the following question: What is the Game number when the Rangers have a Record of 25-24-11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (game VARCHAR, record VARCHAR)
SELECT COUNT(game) FROM table_name_18 WHERE record = "25-24-11"
Write a SQL query that answers the following question: What is the Score of the game on March 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (score VARCHAR, march VARCHAR)
SELECT score FROM table_name_5 WHERE march = 18
Write a SQL query that answers the following question: What is the qual 2 of team rocketsports racing, which has the best of 1:10.949?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (qual_2 VARCHAR, team VARCHAR, best VARCHAR)
SELECT qual_2 FROM table_name_34 WHERE team = "rocketsports racing" AND best = "1:10.949"
Write a SQL query that answers the following question: Which team has a 1:10.998 best?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (team VARCHAR, best VARCHAR)
SELECT team FROM table_name_87 WHERE best = "1:10.998"
Write a SQL query that answers the following question: What is the name of the person with a 1:10.771 qual 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (name VARCHAR, qual_2 VARCHAR)
SELECT name FROM table_name_60 WHERE qual_2 = "1:10.771"
Write a SQL query that answers the following question: What is the qual 2 with a 1:10.949 best?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (qual_2 VARCHAR, best VARCHAR)
SELECT qual_2 FROM table_name_65 WHERE best = "1:10.949"
Write a SQL query that answers the following question: What is the qual 2 of team Forsythe racing, which has a 1:09.515 best?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (qual_2 VARCHAR, team VARCHAR, best VARCHAR)
SELECT qual_2 FROM table_name_42 WHERE team = "forsythe racing" AND best = "1:09.515"
Write a SQL query that answers the following question: What is the qual 1 with a 1:09.567 best?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (qual_1 VARCHAR, best VARCHAR)
SELECT qual_1 FROM table_name_70 WHERE best = "1:09.567"
Write a SQL query that answers the following question: What were highest points received from someone using a zabel-wsp with a position greater than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (points INTEGER, equipment VARCHAR, position VARCHAR)
SELECT MAX(points) FROM table_name_15 WHERE equipment = "zabel-wsp" AND position > 7
Write a SQL query that answers the following question: What's the lowest attendance recorded for week 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (attendance INTEGER, week VARCHAR)
SELECT MIN(attendance) FROM table_name_88 WHERE week = 15
Write a SQL query that answers the following question: When Marlene was nominated for the Olivier Award, what was the result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (result VARCHAR, nominated_work VARCHAR, award VARCHAR)
SELECT result FROM table_name_33 WHERE nominated_work = "marlene" AND award = "olivier award"
Write a SQL query that answers the following question: What was the result for the Bafta Tv award?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (result VARCHAR, award VARCHAR)
SELECT result FROM table_name_63 WHERE award = "bafta tv award"
Write a SQL query that answers the following question: What is the pick of Texas-San Antonio?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (pick INTEGER, college VARCHAR)
SELECT AVG(pick) FROM table_name_79 WHERE college = "texas-san antonio"
Write a SQL query that answers the following question: Who is the player that has a round greater than 2 and a pick bigger than 83?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (player VARCHAR, round VARCHAR, pick VARCHAR)
SELECT player FROM table_name_5 WHERE round > 2 AND pick > 83
Write a SQL query that answers the following question: What's the nationality of Louisiana Tech?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (nationality VARCHAR, college VARCHAR)
SELECT nationality FROM table_name_10 WHERE college = "louisiana tech"
Write a SQL query that answers the following question: What number pick is Ray Hall?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (pick VARCHAR, player VARCHAR)
SELECT pick FROM table_name_91 WHERE player = "ray hall"
Write a SQL query that answers the following question: What nationality has a pick greater than 129?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (nationality VARCHAR, pick INTEGER)
SELECT nationality FROM table_name_38 WHERE pick > 129
Write a SQL query that answers the following question: what is the grid when the rider is mika kallio?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (grid INTEGER, rider VARCHAR)
SELECT MAX(grid) FROM table_name_64 WHERE rider = "mika kallio"
Write a SQL query that answers the following question: what is the time when laps is less than 21, manufacturer is aprilia, grid is less than 17 and the rider is thomas luthi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (time VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)
SELECT time FROM table_name_20 WHERE laps < 21 AND manufacturer = "aprilia" AND grid < 17 AND rider = "thomas luthi"
Write a SQL query that answers the following question: what is the time when the laps is less than 21 and the grid is more than 17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (time VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time FROM table_name_88 WHERE laps < 21 AND grid > 17
Write a SQL query that answers the following question: Who was partnering when nueza silva played against greece?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (partnering VARCHAR, against VARCHAR)
SELECT partnering FROM table_name_8 WHERE against = "greece"
Write a SQL query that answers the following question: What was the round when nueza silva played against greece?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (round VARCHAR, against VARCHAR)
SELECT round FROM table_name_31 WHERE against = "greece"
Write a SQL query that answers the following question: Who were the opponents during the 2006 fed cup europe/africa group ii against greece?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (opponents VARCHAR, edition VARCHAR, against VARCHAR)
SELECT opponents FROM table_name_15 WHERE edition = "2006 fed cup europe/africa group ii" AND against = "greece"
Write a SQL query that answers the following question: What is the Tries against for the team that has 207 points for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (tries_against VARCHAR, points_for VARCHAR)
SELECT tries_against FROM table_name_4 WHERE points_for = "207"
Write a SQL query that answers the following question: What team has a 118 Point for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (team VARCHAR, points_for VARCHAR)
SELECT team FROM table_name_24 WHERE points_for = "118"
Write a SQL query that answers the following question: What team has 102 Points against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (team VARCHAR, points_against VARCHAR)
SELECT team FROM table_name_61 WHERE points_against = "102"
Write a SQL query that answers the following question: What is the Points for number of the team with a 10 Tries against number?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (points_for VARCHAR, tries_against VARCHAR)
SELECT points_for FROM table_name_44 WHERE tries_against = "10"
Write a SQL query that answers the following question: What team has +119 Points diff?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (team VARCHAR, points_diff VARCHAR)
SELECT team FROM table_name_83 WHERE points_diff = "+119"
Write a SQL query that answers the following question: What manufacturer has a year made of 1923?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (manufacturer VARCHAR, year_made VARCHAR)
SELECT manufacturer FROM table_name_73 WHERE year_made = "1923"
Write a SQL query that answers the following question: What's the quantity made when the manufacturer was 4-6-2 β€” oooooo β€” pacific?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (quantity_made VARCHAR, manufacturer VARCHAR)
SELECT quantity_made FROM table_name_7 WHERE manufacturer = "4-6-2 β€” oooooo β€” pacific"
Write a SQL query that answers the following question: What year had a quantity made of 11 and a wheel arrangement of 4-6-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (year_made VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR)
SELECT year_made FROM table_name_44 WHERE wheel_arrangement = "4-6-2" AND quantity_made = "11"
Write a SQL query that answers the following question: What's the quantity preserved when the fleet number was 700?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (quantity_preserved VARCHAR, fleet_number_s_ VARCHAR)
SELECT quantity_preserved FROM table_name_57 WHERE fleet_number_s_ = "700"
Write a SQL query that answers the following question: What is the name of the race in Kenya with a time of 30:27?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (race VARCHAR, nation VARCHAR, time VARCHAR)
SELECT race FROM table_name_96 WHERE nation = "kenya" AND time = "30:27"
Write a SQL query that answers the following question: What is the name of the athlete with a time of 30:48?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (athlete VARCHAR, time VARCHAR)
SELECT athlete FROM table_name_9 WHERE time = "30:48"
Write a SQL query that answers the following question: What is the name of the race when Lineth Chepkurui is the athlete?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (race VARCHAR, athlete VARCHAR)
SELECT race FROM table_name_17 WHERE athlete = "lineth chepkurui"
Write a SQL query that answers the following question: What is the time when the race was in Kenya and Lineth Chepkurui was the athlete?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (time VARCHAR, nation VARCHAR, athlete VARCHAR)
SELECT time FROM table_name_50 WHERE nation = "kenya" AND athlete = "lineth chepkurui"
Write a SQL query that answers the following question: What is the country for the player who had a To Par of +4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (country VARCHAR, to_par VARCHAR)
SELECT country FROM table_name_76 WHERE to_par = "+4"
Write a SQL query that answers the following question: What player from South Africa had a total less than 284?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (player VARCHAR, total VARCHAR, country VARCHAR)
SELECT player FROM table_name_93 WHERE total < 284 AND country = "south africa"
Write a SQL query that answers the following question: For the year won of 2001, what is the To Par?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (to_par VARCHAR, year_s__won VARCHAR)
SELECT to_par FROM table_name_29 WHERE year_s__won = "2001"
Write a SQL query that answers the following question: what is the location attendance when the series is 4-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (location_attendance VARCHAR, series VARCHAR)
SELECT location_attendance FROM table_name_38 WHERE series = "4-3"
Write a SQL query that answers the following question: what is the team when the location attendace is boston garden and the series is 0-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (team VARCHAR, location_attendance VARCHAR, series VARCHAR)
SELECT team FROM table_name_31 WHERE location_attendance = "boston garden" AND series = "0-1"
Write a SQL query that answers the following question: what is the highest game when the team is @boston and the series is 0-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (game INTEGER, team VARCHAR, series VARCHAR)
SELECT MAX(game) FROM table_name_53 WHERE team = "@boston" AND series = "0-1"
Write a SQL query that answers the following question: what is the series when the team is @boston and the game is smaller than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (series VARCHAR, team VARCHAR, game VARCHAR)
SELECT series FROM table_name_16 WHERE team = "@boston" AND game < 3
Write a SQL query that answers the following question: What is 2001, when 1996 is "0 / 2"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (Id VARCHAR)
SELECT 2001 FROM table_name_1 WHERE 1996 = "0 / 2"
Write a SQL query that answers the following question: What is 1998, when 1992 is "A", and when Tournament is "Hamburg Masters"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (tournament VARCHAR)
SELECT 1998 FROM table_name_7 WHERE 1992 = "a" AND tournament = "hamburg masters"
Write a SQL query that answers the following question: What is 2001, when 1994 is "A", and when Tournament is "Monte Carlo Masters"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (tournament VARCHAR)
SELECT 2001 FROM table_name_74 WHERE 1994 = "a" AND tournament = "monte carlo masters"
Write a SQL query that answers the following question: What is 1999, when 2003 is "A", and when Career SR is "0 / 4"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (career_sr VARCHAR)
SELECT 1999 FROM table_name_21 WHERE 2003 = "a" AND career_sr = "0 / 4"
Write a SQL query that answers the following question: What is 2000, when Tournament is "Canada Masters"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (tournament VARCHAR)
SELECT 2000 FROM table_name_67 WHERE tournament = "canada masters"
Write a SQL query that answers the following question: What country is the player ho had a To par of +1 and a score of 69-70-72=211 from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (country VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT country FROM table_name_92 WHERE to_par = "+1" AND score = 69 - 70 - 72 = 211
Write a SQL query that answers the following question: What place did the player from South Africa finish?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_97 WHERE country = "south africa"
Write a SQL query that answers the following question: What country is Tom Purtzer from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_45 WHERE player = "tom purtzer"
Write a SQL query that answers the following question: What was the score of united states player wally armstrong when he had a To par of +1
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (score VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR)
SELECT score FROM table_name_8 WHERE country = "united states" AND to_par = "+1" AND player = "wally armstrong"
Write a SQL query that answers the following question: What was the score of Wally Armstrong?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_49 WHERE player = "wally armstrong"
Write a SQL query that answers the following question: what is the verb meaning when the part 1 is lopen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (verb_meaning VARCHAR, part_1 VARCHAR)
SELECT verb_meaning FROM table_name_53 WHERE part_1 = "lopen"
Write a SQL query that answers the following question: what is the part 4 when the verb meaning is to steal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (part_4 VARCHAR, verb_meaning VARCHAR)
SELECT part_4 FROM table_name_95 WHERE verb_meaning = "to steal"
Write a SQL query that answers the following question: what is the class when part 2 is bond?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (class VARCHAR, part_2 VARCHAR)
SELECT class FROM table_name_33 WHERE part_2 = "bond"
Write a SQL query that answers the following question: what is part 4 when the class is 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (part_4 VARCHAR, class VARCHAR)
SELECT part_4 FROM table_name_37 WHERE class = "5"
Write a SQL query that answers the following question: what is part 1 when the class is 7d?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (part_1 VARCHAR, class VARCHAR)
SELECT part_1 FROM table_name_78 WHERE class = "7d"
Write a SQL query that answers the following question: what is part 2 when part 4 is gebonden?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (part_2 VARCHAR, part_4 VARCHAR)
SELECT part_2 FROM table_name_92 WHERE part_4 = "gebonden"
Write a SQL query that answers the following question: What's the boiling point when the density is 1.092 g/ml?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (boiling_point VARCHAR, density VARCHAR)
SELECT boiling_point FROM table_name_46 WHERE density = "1.092 g/ml"
Write a SQL query that answers the following question: What solvent has a boiling point of 100–103 Β°c?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (solvent VARCHAR, boiling_point VARCHAR)
SELECT solvent FROM table_name_55 WHERE boiling_point = "100–103 Β°c"
Write a SQL query that answers the following question: What dipole moment has a density of 1.092 g/ml?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (dipole_moment___d__ VARCHAR, density VARCHAR)
SELECT dipole_moment___d__ FROM table_name_18 WHERE density = "1.092 g/ml"
Write a SQL query that answers the following question: What's the dipole moment of ethyl acetate (etoac)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (dipole_moment___d__ VARCHAR, solvent VARCHAR)
SELECT dipole_moment___d__ FROM table_name_78 WHERE solvent = "ethyl acetate (etoac)"
Write a SQL query that answers the following question: what's the boiling point of diethyl ether?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (boiling_point VARCHAR, solvent VARCHAR)
SELECT boiling_point FROM table_name_74 WHERE solvent = "diethyl ether"
Write a SQL query that answers the following question: What is Type, when Works Number is 75823?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (type VARCHAR, works_number VARCHAR)
SELECT type FROM table_name_16 WHERE works_number = "75823"
Write a SQL query that answers the following question: What is Date, when Type is DS4-4-750, and when Works Number is 74409?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (date VARCHAR, type VARCHAR, works_number VARCHAR)
SELECT date FROM table_name_93 WHERE type = "ds4-4-750" AND works_number = "74409"
Write a SQL query that answers the following question: What is Works Number, when Type is RS-11, and when Number is 61?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (works_number VARCHAR, type VARCHAR, number VARCHAR)
SELECT works_number FROM table_name_7 WHERE type = "rs-11" AND number = "61"
Write a SQL query that answers the following question: What is Builder, when Date is 1925?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (builder VARCHAR, date VARCHAR)
SELECT builder FROM table_name_21 WHERE date = "1925"
Write a SQL query that answers the following question: What is Works Number, when Number is 55?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (works_number VARCHAR, number VARCHAR)
SELECT works_number FROM table_name_44 WHERE number = "55"
Write a SQL query that answers the following question: What is Builder, when Date is 1953?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (builder VARCHAR, date VARCHAR)
SELECT builder FROM table_name_71 WHERE date = "1953"
Write a SQL query that answers the following question: Which Attendance is the lowest one that has a Record of 5–5–0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (attendance INTEGER, record VARCHAR)
SELECT MIN(attendance) FROM table_name_77 WHERE record = "5–5–0"
Write a SQL query that answers the following question: Which Date has a Record of 4–2–0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_68 WHERE record = "4–2–0"
Write a SQL query that answers the following question: Which Record has a Visitor of pittsburgh, and a Score of 4–0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (record VARCHAR, visitor VARCHAR, score VARCHAR)
SELECT record FROM table_name_23 WHERE visitor = "pittsburgh" AND score = "4–0"
Write a SQL query that answers the following question: What was the away team score when Waverley Park was the ground and the home team was collingwood?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (away_team VARCHAR, ground VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_80 WHERE ground = "waverley park" AND home_team = "collingwood"
Write a SQL query that answers the following question: From what country did someone score 71?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_72 WHERE score = 71
Write a SQL query that answers the following question: What is the attendance sum of the game on March 16, 1990 with a loss record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (attendance INTEGER, record VARCHAR, date VARCHAR)
SELECT SUM(attendance) FROM table_name_40 WHERE record = "loss" AND date = "march 16, 1990"
Write a SQL query that answers the following question: What was the outcome of the match on August 20, 1978?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_53 WHERE date = "august 20, 1978"
Write a SQL query that answers the following question: Which Round has a Pick smaller than 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (round INTEGER, pick INTEGER)
SELECT SUM(round) FROM table_name_77 WHERE pick < 6
Write a SQL query that answers the following question: Which Round has an Overall smaller than 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (round INTEGER, overall INTEGER)
SELECT MAX(round) FROM table_name_84 WHERE overall < 6
Write a SQL query that answers the following question: Which Position has a College of washington, and an Overall of 46?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (position VARCHAR, college VARCHAR, overall VARCHAR)
SELECT position FROM table_name_18 WHERE college = "washington" AND overall = 46
Write a SQL query that answers the following question: Which Round has a Position of qb, and an Overall larger than 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (round INTEGER, position VARCHAR, overall VARCHAR)
SELECT MAX(round) FROM table_name_17 WHERE position = "qb" AND overall > 6
Write a SQL query that answers the following question: What date was Bury the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_67 WHERE away_team = "bury"
Write a SQL query that answers the following question: What team was the home team when Tottenham Hotspur is the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_86 WHERE away_team = "tottenham hotspur"