instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What round was the opponent Manny Gamburyan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_92 WHERE opponent = "manny gamburyan"
Write a SQL query that answers the following question: What was the week of the game played December 6, 1964?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (week INTEGER, date VARCHAR)
SELECT SUM(week) FROM table_name_75 WHERE date = "december 6, 1964"
Write a SQL query that answers the following question: What is the fewest losses that had an against score of 2190 and more than 0 draws?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (losses INTEGER, against VARCHAR, draws VARCHAR)
SELECT MIN(losses) FROM table_name_27 WHERE against = 2190 AND draws > 0
Write a SQL query that answers the following question: What is the fewest number of draws for teams with more than 0 byes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (draws INTEGER, byes INTEGER)
SELECT MIN(draws) FROM table_name_75 WHERE byes > 0
Write a SQL query that answers the following question: What is the sum of losses for Geelong Amateur, with 0 byes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (losses INTEGER, bellarine_fl VARCHAR, byes VARCHAR)
SELECT SUM(losses) FROM table_name_95 WHERE bellarine_fl = "geelong amateur" AND byes < 0
Write a SQL query that answers the following question: What is the sum of the number of wins for teams with more than 0 draws?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (wins INTEGER, draws INTEGER)
SELECT SUM(wins) FROM table_name_51 WHERE draws > 0
Write a SQL query that answers the following question: What is the Stadium that hosts the team Jacksonville Jaguars?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (stadium VARCHAR, host_team VARCHAR)
SELECT stadium FROM table_name_1 WHERE host_team = "jacksonville jaguars"
Write a SQL query that answers the following question: What stadium was used on November 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (stadium VARCHAR, date VARCHAR)
SELECT stadium FROM table_name_45 WHERE date = "november 13"
Write a SQL query that answers the following question: What is the host team with the stadium Lincoln Financial Field?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (host_team VARCHAR, stadium VARCHAR)
SELECT host_team FROM table_name_70 WHERE stadium = "lincoln financial field"
Write a SQL query that answers the following question: What team visited the Cleveland Browns Stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (visiting_team VARCHAR, stadium VARCHAR)
SELECT visiting_team FROM table_name_22 WHERE stadium = "cleveland browns stadium"
Write a SQL query that answers the following question: What stadium did the Denver Broncos visit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (stadium VARCHAR, visiting_team VARCHAR)
SELECT stadium FROM table_name_60 WHERE visiting_team = "denver broncos"
Write a SQL query that answers the following question: What team visited the Jacksonville Municipal Stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (visiting_team VARCHAR, stadium VARCHAR)
SELECT visiting_team FROM table_name_10 WHERE stadium = "jacksonville municipal stadium"
Write a SQL query that answers the following question: How many people boarded and de-boarded the Amtrak in Linthicum?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (boardings_and_deboardings VARCHAR, city VARCHAR)
SELECT COUNT(boardings_and_deboardings) FROM table_name_68 WHERE city = "linthicum"
Write a SQL query that answers the following question: The Europe listing of 00 0 0 (0) also has what listed as the total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (total VARCHAR, europe VARCHAR)
SELECT total FROM table_name_86 WHERE europe = "00 0 0 (0)"
Write a SQL query that answers the following question: The league of 400 (21) has what years listed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (years VARCHAR, league VARCHAR)
SELECT years FROM table_name_87 WHERE league = "400 (21)"
Write a SQL query that answers the following question: With a FA Cup of 0 44 0 (0), the other [C] is listed as what?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (other_ VARCHAR, c_ VARCHAR, fa_cup VARCHAR)
SELECT other_[c_] FROM table_name_46 WHERE fa_cup = "0 44 0 (0)"
Write a SQL query that answers the following question: The Europe listing of 117 0 (8) belongs to what league?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (league VARCHAR, europe VARCHAR)
SELECT league FROM table_name_5 WHERE europe = "117 0 (8)"
Write a SQL query that answers the following question: The other [C] of 0 12 0 (0) belongs to what FA Cup?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (fa_cup VARCHAR, other_ VARCHAR, c_ VARCHAR)
SELECT fa_cup FROM table_name_36 WHERE other_[c_] = "0 12 0 (0)"
Write a SQL query that answers the following question: What is the lowest VIII Edition Gold with a Silver of 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (gold INTEGER, silver VARCHAR, edition VARCHAR)
SELECT MIN(gold) FROM table_name_33 WHERE silver = 4 AND edition = "viii"
Write a SQL query that answers the following question: What is the highest Edition I Bronze with a Gold higher than 9 and a Silver higher than 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (bronze INTEGER, gold VARCHAR, silver VARCHAR, edition VARCHAR)
SELECT MAX(bronze) FROM table_name_22 WHERE silver > 10 AND edition = "i" AND gold > 9
Write a SQL query that answers the following question: What's the Total for a Mexico City game with a Gold of less than 4 and a Bronze of less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, host_city VARCHAR, gold VARCHAR)
SELECT COUNT(total) FROM table_name_1 WHERE host_city = "mexico city" AND gold < 4 AND bronze < 2
Write a SQL query that answers the following question: Which Host City has more than 6 Silver and a Total of 22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (host_city VARCHAR, silver VARCHAR, total VARCHAR)
SELECT host_city FROM table_name_74 WHERE silver > 6 AND total = 22
Write a SQL query that answers the following question: What was the time for tracks before 19 on 8/26/69?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (time VARCHAR, release_date VARCHAR, track VARCHAR)
SELECT time FROM table_name_75 WHERE release_date = "8/26/69" AND track < 19
Write a SQL query that answers the following question: Which venue has a note of AM?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (venue VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_32 WHERE notes = "am"
Write a SQL query that answers the following question: What is the time associated with August 16, 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (time VARCHAR, date VARCHAR)
SELECT time FROM table_name_12 WHERE date = "august 16, 2008"
Write a SQL query that answers the following question: Which event was held in Beijing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (event VARCHAR, venue VARCHAR)
SELECT event FROM table_name_44 WHERE venue = "beijing"
Write a SQL query that answers the following question: For a venue of Rome on July 30, 2009, what are the notes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (notes VARCHAR, venue VARCHAR, date VARCHAR)
SELECT notes FROM table_name_59 WHERE venue = "rome" AND date = "july 30, 2009"
Write a SQL query that answers the following question: Name the score for october 9
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_35 WHERE date = "october 9"
Write a SQL query that answers the following question: Name the loss for series 2-2
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (loss VARCHAR, series VARCHAR)
SELECT loss FROM table_name_90 WHERE series = "2-2"
Write a SQL query that answers the following question: Name the total number of attendance for october 8
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_52 WHERE date = "october 8"
Write a SQL query that answers the following question: Which engine did Élie Bayol use when they earned 0 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (engine VARCHAR, points VARCHAR, entrant VARCHAR)
SELECT engine FROM table_name_74 WHERE points = 0 AND entrant = "élie bayol"
Write a SQL query that answers the following question: What season had the highest attendance/g than 3,289?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (season INTEGER, attendance_g INTEGER)
SELECT MAX(season) FROM table_name_98 WHERE attendance_g < 3 OFFSET 289
Write a SQL query that answers the following question: What year had 13 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (year VARCHAR, pts VARCHAR)
SELECT year FROM table_name_23 WHERE pts = 13
Write a SQL query that answers the following question: Which chassis has a year later than 1964, a Ford engine, and 13 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_95 WHERE year > 1964 AND engine = "ford" AND pts = 13
Write a SQL query that answers the following question: Which entrant has fewer than 12 points, a Climax engine, and a Lotus 24 chassis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (entrant VARCHAR, chassis VARCHAR, pts VARCHAR, engine VARCHAR)
SELECT entrant FROM table_name_63 WHERE pts < 12 AND engine = "climax" AND chassis = "lotus 24"
Write a SQL query that answers the following question: In 1972, what was the highest number of points with a Ford engine and an entrant of Brooke Bond Oxo Team Surtees?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (pts INTEGER, year VARCHAR, engine VARCHAR, entrant VARCHAR)
SELECT MAX(pts) FROM table_name_41 WHERE engine = "ford" AND entrant = "brooke bond oxo team surtees" AND year = 1972
Write a SQL query that answers the following question: What year had a Ford engine and 13 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (year VARCHAR, engine VARCHAR, pts VARCHAR)
SELECT year FROM table_name_16 WHERE engine = "ford" AND pts = 13
Write a SQL query that answers the following question: What is the ERP for the Rockhampton region?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (erp__analog__digital_ VARCHAR, region_served VARCHAR)
SELECT erp__analog__digital_ FROM table_name_27 WHERE region_served = "rockhampton"
Write a SQL query that answers the following question: What channels first aired on 31 December 1990 in the Southern Downs region?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (channels___analog___digital__ VARCHAR, first_air_date VARCHAR, region_served VARCHAR)
SELECT channels___analog___digital__ FROM table_name_91 WHERE first_air_date = "31 december 1990" AND region_served = "southern downs"
Write a SQL query that answers the following question: What is the transmitter location for city of Maryborough?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (transmitter_location VARCHAR, city VARCHAR)
SELECT transmitter_location FROM table_name_95 WHERE city = "maryborough"
Write a SQL query that answers the following question: What is the ERP for the Mount Goonaneman transmitter?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR)
SELECT erp__analog__digital_ FROM table_name_6 WHERE transmitter_location = "mount goonaneman"
Write a SQL query that answers the following question: Which number has 11 males?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (number VARCHAR, males VARCHAR)
SELECT number FROM table_name_41 WHERE males = "11"
Write a SQL query that answers the following question: What is the time for a lane less than 6, and a heat less than 4 for Joanne Malar?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (time VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR)
SELECT time FROM table_name_19 WHERE lane < 6 AND heat < 4 AND name = "joanne malar"
Write a SQL query that answers the following question: What is the largest heat with a time of 4:57.90, and a Rank larger than 22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (heat INTEGER, time VARCHAR, rank VARCHAR)
SELECT MAX(heat) FROM table_name_98 WHERE time = "4:57.90" AND rank > 22
Write a SQL query that answers the following question: What is the time for Adi Bichman?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (time VARCHAR, name VARCHAR)
SELECT time FROM table_name_28 WHERE name = "adi bichman"
Write a SQL query that answers the following question: What is the total attendance at games against the New York Mets with a record of 18-18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (attendance VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = "new york mets" AND record = "18-18"
Write a SQL query that answers the following question: What is the total attendance at games with a score of 4-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (attendance VARCHAR, score VARCHAR)
SELECT COUNT(attendance) FROM table_name_20 WHERE score = "4-2"
Write a SQL query that answers the following question: On what date did the New York Giants host a game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (date VARCHAR, host_team VARCHAR)
SELECT date FROM table_name_42 WHERE host_team = "new york giants"
Write a SQL query that answers the following question: Who was the host team for the game on December 27?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (host_team VARCHAR, date VARCHAR)
SELECT host_team FROM table_name_55 WHERE date = "december 27"
Write a SQL query that answers the following question: What was the final score of the game at Texas Stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR)
SELECT final_score FROM table_name_26 WHERE stadium = "texas stadium"
Write a SQL query that answers the following question: Who was the visiting team who played at the hubert h. humphrey metrodome stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (visiting_team VARCHAR, stadium VARCHAR)
SELECT visiting_team FROM table_name_67 WHERE stadium = "hubert h. humphrey metrodome"
Write a SQL query that answers the following question: When did the New England Patriots play as the visiting team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (date VARCHAR, visiting_team VARCHAR)
SELECT date FROM table_name_23 WHERE visiting_team = "new england patriots"
Write a SQL query that answers the following question: At which stadium did the Los Angeles Raiders play as the visiting team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (stadium VARCHAR, visiting_team VARCHAR)
SELECT stadium FROM table_name_85 WHERE visiting_team = "los angeles raiders"
Write a SQL query that answers the following question: Who is 1.92 m tall and a current club member of Montepaschi Siena
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (player VARCHAR, height VARCHAR, current_club VARCHAR)
SELECT player FROM table_name_43 WHERE height = 1.92 AND current_club = "montepaschi siena"
Write a SQL query that answers the following question: Which date has a Tournament of la quinta?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_14 WHERE tournament = "la quinta"
Write a SQL query that answers the following question: Which date has a Surface of carpet (i)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (date VARCHAR, surface VARCHAR)
SELECT date FROM table_name_44 WHERE surface = "carpet (i)"
Write a SQL query that answers the following question: Which tournament has a Date of april 20, 1987?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_21 WHERE date = "april 20, 1987"
Write a SQL query that answers the following question: Which Opponent has a Surface of hardcourt, an Outcome of runner-up, and a Tournament of honolulu?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (opponent VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR)
SELECT opponent FROM table_name_51 WHERE surface = "hardcourt" AND outcome = "runner-up" AND tournament = "honolulu"
Write a SQL query that answers the following question: Which Tournament has a Score of 6–4, 6–4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_75 WHERE score = "6–4, 6–4"
Write a SQL query that answers the following question: Which score has a Surface of hardcourt, and a Date of september 30, 1984?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (score VARCHAR, surface VARCHAR, date VARCHAR)
SELECT score FROM table_name_39 WHERE surface = "hardcourt" AND date = "september 30, 1984"
Write a SQL query that answers the following question: What is the lowest group number that has a Fraction less than 0.000748, a Half-Life of 55.72 and a Decay Constant larger than 0.012400000000000001?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (group INTEGER, decay_constant__s_−1__ VARCHAR, fraction VARCHAR, half_life__s_ VARCHAR)
SELECT MIN(group) FROM table_name_99 WHERE fraction < 0.000748 AND half_life__s_ = 55.72 AND decay_constant__s_−1__ > 0.012400000000000001
Write a SQL query that answers the following question: What was the date of the game with a loss of Wakefield (5-2)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_26 WHERE loss = "wakefield (5-2)"
Write a SQL query that answers the following question: What is the first year of the European Championships competition?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (year INTEGER, competition VARCHAR)
SELECT MIN(year) FROM table_name_52 WHERE competition = "european championships"
Write a SQL query that answers the following question: Which position has a venue of Helsinki, Finland?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (position VARCHAR, venue VARCHAR)
SELECT position FROM table_name_40 WHERE venue = "helsinki, finland"
Write a SQL query that answers the following question: What is the date that a hell ship sunk in the East China Sea?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (date VARCHAR, where_sunk VARCHAR, ship_type VARCHAR)
SELECT date FROM table_name_71 WHERE where_sunk = "east china sea" AND ship_type = "hell ship"
Write a SQL query that answers the following question: Which nation had a battlecruiser with an estimate of 513?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (nat VARCHAR, ship_type VARCHAR, estimate VARCHAR)
SELECT nat FROM table_name_39 WHERE ship_type = "battlecruiser" AND estimate = "513"
Write a SQL query that answers the following question: What is the date that a ship sank in the South Atlantic?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (date VARCHAR, where_sunk VARCHAR)
SELECT date FROM table_name_59 WHERE where_sunk = "south atlantic"
Write a SQL query that answers the following question: What type of ship was the Shinano?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (ship_type VARCHAR, name VARCHAR)
SELECT ship_type FROM table_name_77 WHERE name = "shinano"
Write a SQL query that answers the following question: What nation had a ship named Roma?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (nat VARCHAR, name VARCHAR)
SELECT nat FROM table_name_24 WHERE name = "roma"
Write a SQL query that answers the following question: What was score of the Blue Jays' game versus the Indians when their record was 21-19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (score VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT score FROM table_name_6 WHERE opponent = "indians" AND record = "21-19"
Write a SQL query that answers the following question: During what years did the tallest building, located at 211 Union Street, have less than 31 floors?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR)
SELECT years_as_tallest FROM table_name_95 WHERE floors < 31 AND street_address = "211 union street"
Write a SQL query that answers the following question: What is the average number of floors at 170 Fourth Avenue North?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (floors INTEGER, street_address VARCHAR)
SELECT AVG(floors) FROM table_name_76 WHERE street_address = "170 fourth avenue north"
Write a SQL query that answers the following question: What is the address of the Life & Casualty Tower?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (street_address VARCHAR, name VARCHAR)
SELECT street_address FROM table_name_94 WHERE name = "life & casualty tower"
Write a SQL query that answers the following question: What is listed as the Tie no for Home team of Gillingham?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_43 WHERE home_team = "gillingham"
Write a SQL query that answers the following question: What is the Tie no listed for the Away team of Barnet?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_13 WHERE away_team = "barnet"
Write a SQL query that answers the following question: What is listed for the Attendance that has a Tie no of 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (attendance VARCHAR, tie_no VARCHAR)
SELECT attendance FROM table_name_97 WHERE tie_no = "5"
Write a SQL query that answers the following question: Which Away team has a Tie no of 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_38 WHERE tie_no = "4"
Write a SQL query that answers the following question: Which Home Team has an Attendance of 1,859?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (home_team VARCHAR, attendance VARCHAR)
SELECT home_team FROM table_name_14 WHERE attendance = "1,859"
Write a SQL query that answers the following question: What is listed as the Away team for the Home team of the Bristol Rovers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_8 WHERE home_team = "bristol rovers"
Write a SQL query that answers the following question: What is the total of the first season in Segunda División that has a City of cañete?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (first_season_of_current_spell_in_segunda_división INTEGER, city VARCHAR)
SELECT SUM(first_season_of_current_spell_in_segunda_división) FROM table_name_44 WHERE city = "cañete"
Write a SQL query that answers the following question: Which team has Top division titles larger than 0, a Founded larger than 1927, and a Stadium of miguel grau?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (team VARCHAR, stadium VARCHAR, top_division_titles VARCHAR, founded VARCHAR)
SELECT team FROM table_name_69 WHERE top_division_titles > 0 AND founded > 1927 AND stadium = "miguel grau"
Write a SQL query that answers the following question: Which city has a First season of current spell in Segunda División smaller than 2013?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (city VARCHAR, first_season_of_current_spell_in_segunda_división INTEGER)
SELECT city FROM table_name_69 WHERE first_season_of_current_spell_in_segunda_división < 2013
Write a SQL query that answers the following question: What is the smallest capacity for a First season in Segunda División of 2013, and Top division titles larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (capacity INTEGER, first_season_in_segunda_división VARCHAR, top_division_titles VARCHAR)
SELECT MIN(capacity) FROM table_name_11 WHERE first_season_in_segunda_división = 2013 AND top_division_titles > 0
Write a SQL query that answers the following question: What's the total enrollment ofr Mcgill University that has a capacity less than 25,012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (enrollment VARCHAR, institution VARCHAR, capacity VARCHAR)
SELECT COUNT(enrollment) FROM table_name_99 WHERE institution = "mcgill university" AND capacity < 25 OFFSET 012
Write a SQL query that answers the following question: What's the smallest season for Montreal that's greater than 5,100 for capacity?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (first_season INTEGER, city VARCHAR, capacity VARCHAR)
SELECT MIN(first_season) FROM table_name_8 WHERE city = "montreal" AND capacity > 5 OFFSET 100
Write a SQL query that answers the following question: What's the name of the city whose first season was in 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (city VARCHAR, first_season VARCHAR)
SELECT city FROM table_name_32 WHERE first_season = 1996
Write a SQL query that answers the following question: What's the name of the carabins stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (football_stadium VARCHAR, team VARCHAR)
SELECT football_stadium FROM table_name_55 WHERE team = "carabins"
Write a SQL query that answers the following question: what team has the qual 2 of 1:44.050?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (best VARCHAR, qual_2 VARCHAR)
SELECT best FROM table_name_9 WHERE qual_2 = "1:44.050"
Write a SQL query that answers the following question: what name goes along with the team of forsythe racing, and a Qual 2 of 1:47.132?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (name VARCHAR, team VARCHAR, qual_2 VARCHAR)
SELECT name FROM table_name_87 WHERE team = "forsythe racing" AND qual_2 = "1:47.132"
Write a SQL query that answers the following question: what team had the 1:44.027 qual 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (team VARCHAR, qual_2 VARCHAR)
SELECT team FROM table_name_82 WHERE qual_2 = "1:44.027"
Write a SQL query that answers the following question: what is the qual 1 for alex tagliani?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (qual_1 VARCHAR, name VARCHAR)
SELECT qual_1 FROM table_name_25 WHERE name = "alex tagliani"
Write a SQL query that answers the following question: what is the team with the best of 1:43.134?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (team VARCHAR, best VARCHAR)
SELECT team FROM table_name_75 WHERE best = "1:43.134"
Write a SQL query that answers the following question: Who was the visiting team at the matchup at the RCA Dome?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (visiting_team VARCHAR, stadium VARCHAR)
SELECT visiting_team FROM table_name_99 WHERE stadium = "rca dome"
Write a SQL query that answers the following question: What was the final score in the game in which the Detroit Lions were the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (final_score VARCHAR, host_team VARCHAR)
SELECT final_score FROM table_name_11 WHERE host_team = "detroit lions"
Write a SQL query that answers the following question: Which stadium hosted the November 20 game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (stadium VARCHAR, date VARCHAR)
SELECT stadium FROM table_name_11 WHERE date = "november 20"
Write a SQL query that answers the following question: Who was the visiting team against the Minnesota Vikings?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (visiting_team VARCHAR, host_team VARCHAR)
SELECT visiting_team FROM table_name_13 WHERE host_team = "minnesota vikings"
Write a SQL query that answers the following question: Who was the host team at Candlestick Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (host_team VARCHAR, stadium VARCHAR)
SELECT host_team FROM table_name_22 WHERE stadium = "candlestick park"
Write a SQL query that answers the following question: Which date had a final score of 20-27?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (date VARCHAR, final_score VARCHAR)
SELECT date FROM table_name_58 WHERE final_score = "20-27"
Write a SQL query that answers the following question: How many years have had the position of 2nd?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (year VARCHAR, position VARCHAR)
SELECT COUNT(year) FROM table_name_66 WHERE position = "2nd"
Write a SQL query that answers the following question: What position had notes of 20km and a year earlier than 2002?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (position VARCHAR, notes VARCHAR, year VARCHAR)
SELECT position FROM table_name_29 WHERE notes = "20km" AND year < 2002