instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the margin of victory for the winning score of −10 (71-65-68-70=274)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT margin_of_victory FROM table_name_78 WHERE winning_score = −10(71 - 65 - 68 - 70 = 274)
Write a SQL query that answers the following question: Who is the runner(s)-up for a winning score of −3 (71-74-66-66=277)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (runner_s__up VARCHAR, winning_score VARCHAR)
SELECT runner_s__up FROM table_name_65 WHERE winning_score = −3(71 - 74 - 66 - 66 = 277)
Write a SQL query that answers the following question: What venue had less than 7.4 extra and the result of 4th?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (venue VARCHAR, extra VARCHAR, result VARCHAR)
SELECT venue FROM table_name_58 WHERE extra < 7.4 AND result = "4th"
Write a SQL query that answers the following question: What is the highest extra total before 2003 at the Meeting of all africa games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (extra INTEGER, meeting VARCHAR, year VARCHAR)
SELECT MAX(extra) FROM table_name_51 WHERE meeting = "all africa games" AND year < 2003
Write a SQL query that answers the following question: What year has an extra of 8, and a result of 3rd?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (year VARCHAR, extra VARCHAR, result VARCHAR)
SELECT year FROM table_name_12 WHERE extra = 8 AND result = "3rd"
Write a SQL query that answers the following question: What year has a venue of algiers, algeria, extra smaller than 8.03, and a Meeting of all africa games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (year VARCHAR, meeting VARCHAR, venue VARCHAR, extra VARCHAR)
SELECT year FROM table_name_52 WHERE venue = "algiers, algeria" AND extra < 8.03 AND meeting = "all africa games"
Write a SQL query that answers the following question: What is the Date with a Set 3 with 15–6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (date VARCHAR, set_3 VARCHAR)
SELECT date FROM table_name_98 WHERE set_3 = "15–6"
Write a SQL query that answers the following question: What is the Set 3 with a Score of 3–1, and has a Set 2 of 13–15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (set_3 VARCHAR, score VARCHAR, set_2 VARCHAR)
SELECT set_3 FROM table_name_7 WHERE score = "3–1" AND set_2 = "13–15"
Write a SQL query that answers the following question: What is the Set 1 with a Score of 3–0, and has a Set 3 of 15–12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (set_1 VARCHAR, score VARCHAR, set_3 VARCHAR)
SELECT set_1 FROM table_name_92 WHERE score = "3–0" AND set_3 = "15–12"
Write a SQL query that answers the following question: What is the Set 1 with a Score of 3–0, and has a Set 3 of 15–10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (set_1 VARCHAR, score VARCHAR, set_3 VARCHAR)
SELECT set_1 FROM table_name_4 WHERE score = "3–0" AND set_3 = "15–10"
Write a SQL query that answers the following question: What is the Set 2 with a Total with 45–12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (set_2 VARCHAR, total VARCHAR)
SELECT set_2 FROM table_name_42 WHERE total = "45–12"
Write a SQL query that answers the following question: What is the Total with a Score of 3–0, and a Date of 14 oct, and has a Set 1 of 15–12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (total VARCHAR, set_1 VARCHAR, score VARCHAR, date VARCHAR)
SELECT total FROM table_name_78 WHERE score = "3–0" AND date = "14 oct" AND set_1 = "15–12"
Write a SQL query that answers the following question: What was the date of the footscray home game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_46 WHERE home_team = "footscray"
Write a SQL query that answers the following question: Tell me the time for martin kampmann
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_90 WHERE opponent = "martin kampmann"
Write a SQL query that answers the following question: Tell me the sum of round for record of 6-3
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (round INTEGER, record VARCHAR)
SELECT SUM(round) FROM table_name_41 WHERE record = "6-3"
Write a SQL query that answers the following question: Tell me the location for win with record of 8-5
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (location VARCHAR, res VARCHAR, record VARCHAR)
SELECT location FROM table_name_52 WHERE res = "win" AND record = "8-5"
Write a SQL query that answers the following question: In which of North Melbourne's away games was there the lowest crowd?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_71 WHERE away_team = "north melbourne"
Write a SQL query that answers the following question: What is the build date of the model with PRR Class brs24?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (build_date VARCHAR, prr_class VARCHAR)
SELECT build_date FROM table_name_56 WHERE prr_class = "brs24"
Write a SQL query that answers the following question: How many total units were built of Model ds-4-4-660 with a b-b wheel arrangement and a PRR Class of bs6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (total_produced INTEGER, builder’s_model VARCHAR, wheel_arrangement VARCHAR, prr_class VARCHAR)
SELECT SUM(total_produced) FROM table_name_13 WHERE wheel_arrangement = "b-b" AND prr_class = "bs6" AND builder’s_model = "ds-4-4-660"
Write a SQL query that answers the following question: What is the build date of the model with a PRR Class of brs24?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (build_date VARCHAR, prr_class VARCHAR)
SELECT build_date FROM table_name_61 WHERE prr_class = "brs24"
Write a SQL query that answers the following question: What is the total number of roll for Te Hapua school?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (roll VARCHAR, name VARCHAR)
SELECT COUNT(roll) FROM table_name_12 WHERE name = "te hapua school"
Write a SQL query that answers the following question: Name the place of action for the marine corps and corporal rank
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (place_of_action VARCHAR, service VARCHAR, rank VARCHAR)
SELECT place_of_action FROM table_name_45 WHERE service = "marine corps" AND rank = "corporal"
Write a SQL query that answers the following question: When driver heinz-harald frentzen has a number of laps greater than 60, what is the sum of grid?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (grid VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT COUNT(grid) FROM table_name_51 WHERE laps > 60 AND driver = "heinz-harald frentzen"
Write a SQL query that answers the following question: What is the population total for saint-wenceslas with a region number of under 17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (population INTEGER, name VARCHAR, region VARCHAR)
SELECT SUM(population) FROM table_name_44 WHERE name = "saint-wenceslas" AND region < 17
Write a SQL query that answers the following question: What is the smallest code associated with a type of m for a region less than 17 named, named saint-sylvère?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (code INTEGER, region VARCHAR, type VARCHAR, name VARCHAR)
SELECT MIN(code) FROM table_name_98 WHERE type = "m" AND name = "saint-sylvère" AND region < 17
Write a SQL query that answers the following question: What competition was at the Daugava Stadium, Riga, Latvia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_19 WHERE venue = "daugava stadium, riga, latvia"
Write a SQL query that answers the following question: How many total goals were made at the game on 15 November 1989?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (goal VARCHAR, date VARCHAR)
SELECT COUNT(goal) FROM table_name_81 WHERE date = "15 november 1989"
Write a SQL query that answers the following question: What is the captain's name of team Leeds United?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (captain VARCHAR, team VARCHAR)
SELECT captain FROM table_name_86 WHERE team = "leeds united"
Write a SQL query that answers the following question: Who is the shirt sponsor for Captain Geoff Thomas' team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (shirt_sponsor VARCHAR, captain VARCHAR)
SELECT shirt_sponsor FROM table_name_10 WHERE captain = "geoff thomas"
Write a SQL query that answers the following question: What is the name of the team that Tulip Computers NV sponsors?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (team VARCHAR, shirt_sponsor VARCHAR)
SELECT team FROM table_name_99 WHERE shirt_sponsor = "tulip computers nv"
Write a SQL query that answers the following question: What is the name of the captain for team Norwich City?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (captain VARCHAR, team VARCHAR)
SELECT captain FROM table_name_49 WHERE team = "norwich city"
Write a SQL query that answers the following question: What team does Graeme Souness manage?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (team VARCHAR, manager VARCHAR)
SELECT team FROM table_name_32 WHERE manager = "graeme souness"
Write a SQL query that answers the following question: what is the lowest laps when the grid is smaller than 5 and the driver is juan manuel fangio?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (laps INTEGER, grid VARCHAR, driver VARCHAR)
SELECT MIN(laps) FROM table_name_45 WHERE grid < 5 AND driver = "juan manuel fangio"
Write a SQL query that answers the following question: what is the grid when the time/retired is +9 laps and the laps is larger than 91?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT COUNT(grid) FROM table_name_18 WHERE time_retired = "+9 laps" AND laps > 91
Write a SQL query that answers the following question: what is the lowest grid when the time retired is clutch, the driver is peter collins and the laps is smaller than 26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
SELECT MIN(grid) FROM table_name_88 WHERE time_retired = "clutch" AND driver = "peter collins" AND laps < 26
Write a SQL query that answers the following question: What zone has camp type D/S in area Bl9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (zone VARCHAR, camp_type VARCHAR, area VARCHAR)
SELECT zone FROM table_name_41 WHERE camp_type = "d/s" AND area = "bl9"
Write a SQL query that answers the following question: Which name has group 0 in Bl4 area?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (name VARCHAR, group_s_ VARCHAR, area VARCHAR)
SELECT name FROM table_name_51 WHERE group_s_ = 0 AND area = "bl4"
Write a SQL query that answers the following question: Which zone has max capacity of 23 in a group under 2 at Robbers Roost?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (zone VARCHAR, name VARCHAR, max_people VARCHAR, group_s_ VARCHAR)
SELECT zone FROM table_name_80 WHERE max_people > 23 AND group_s_ < 2 AND name = "robbers roost"
Write a SQL query that answers the following question: I want to know the average crowd for away team of melbourne
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_43 WHERE away_team = "melbourne"
Write a SQL query that answers the following question: Which driver had a time off course?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (driver VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_39 WHERE time_retired = "off course"
Write a SQL query that answers the following question: What is the top lap that had 2 grids and more than 26 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (laps INTEGER, grid VARCHAR, points VARCHAR)
SELECT MAX(laps) FROM table_name_9 WHERE grid = "2" AND points > 26
Write a SQL query that answers the following question: What is the top lap that had 6 grids and more than 19 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (laps INTEGER, grid VARCHAR, points VARCHAR)
SELECT MAX(laps) FROM table_name_38 WHERE grid = "6" AND points > 19
Write a SQL query that answers the following question: What is the average point count for tristan gommendy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (points INTEGER, driver VARCHAR)
SELECT AVG(points) FROM table_name_30 WHERE driver = "tristan gommendy"
Write a SQL query that answers the following question: What is the point low with 2 grids?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (points INTEGER, grid VARCHAR)
SELECT MIN(points) FROM table_name_88 WHERE grid = "2"
Write a SQL query that answers the following question: What is the Dismissals with a Venue with source: cricinfo.com?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (dismissals VARCHAR, venue VARCHAR)
SELECT dismissals FROM table_name_43 WHERE venue = "source: cricinfo.com"
Write a SQL query that answers the following question: What is the Versus with a Player with ko otieno, with Venue with bloemfontein?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (versus VARCHAR, player VARCHAR, venue VARCHAR)
SELECT versus FROM table_name_37 WHERE player = "ko otieno" AND venue = "bloemfontein"
Write a SQL query that answers the following question: What is the Venue with a Date with 27-02-2003?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_22 WHERE date = "27-02-2003"
Write a SQL query that answers the following question: What is the Player with Versus with australia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (player VARCHAR, versus VARCHAR)
SELECT player FROM table_name_34 WHERE versus = "australia"
Write a SQL query that answers the following question: What is the Player with a Date with 12-03-2003?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (player VARCHAR, date VARCHAR)
SELECT player FROM table_name_31 WHERE date = "12-03-2003"
Write a SQL query that answers the following question: What is the Dismissals with a Player with source: cricinfo.com?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (dismissals VARCHAR, player VARCHAR)
SELECT dismissals FROM table_name_67 WHERE player = "source: cricinfo.com"
Write a SQL query that answers the following question: What is the sum number of attendance when the visiting team was Charlotte and the leading scorer was Ricky Davis (23)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (attendance VARCHAR, visitor VARCHAR, leading_scorer VARCHAR)
SELECT COUNT(attendance) FROM table_name_76 WHERE visitor = "charlotte" AND leading_scorer = "ricky davis (23)"
Write a SQL query that answers the following question: Which Visitor was there when the Home game was played in Miami on November 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (visitor VARCHAR, home VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_80 WHERE home = "miami" AND date = "november 4"
Write a SQL query that answers the following question: What nationality is Demetris Nichols?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_1 WHERE player = "demetris nichols"
Write a SQL query that answers the following question: What school or team has round of 2 with less than 42 picks?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (school_club_team VARCHAR, round VARCHAR, pick VARCHAR)
SELECT school_club_team FROM table_name_50 WHERE round = 2 AND pick < 42
Write a SQL query that answers the following question: What position has round less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (position VARCHAR, round INTEGER)
SELECT position FROM table_name_86 WHERE round < 2
Write a SQL query that answers the following question: In what venue is Essendon the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_92 WHERE home_team = "essendon"
Write a SQL query that answers the following question: Who was the away team when the venue was Windy Hill?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_59 WHERE venue = "windy hill"
Write a SQL query that answers the following question: What was the score for Hawthorn when they were the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_56 WHERE away_team = "hawthorn"
Write a SQL query that answers the following question: What method was used that had a resulting win against opponent, Natsuko Kikukawa?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (method VARCHAR, res VARCHAR, opponent VARCHAR)
SELECT method FROM table_name_56 WHERE res = "win" AND opponent = "natsuko kikukawa"
Write a SQL query that answers the following question: What was the highest number of rounds that had Hikaru Shinohara as an opponent and a record of 11-7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (round INTEGER, opponent VARCHAR, record VARCHAR)
SELECT MAX(round) FROM table_name_85 WHERE opponent = "hikaru shinohara" AND record = "11-7"
Write a SQL query that answers the following question: Which method has a record of 11-10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (method VARCHAR, record VARCHAR)
SELECT method FROM table_name_70 WHERE record = "11-10"
Write a SQL query that answers the following question: How many wins were there in 2004-05?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (win__number VARCHAR, season VARCHAR)
SELECT win__number FROM table_name_67 WHERE season = "2004-05"
Write a SQL query that answers the following question: How many times did jim vivona win?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (win__number VARCHAR, winner VARCHAR)
SELECT COUNT(win__number) FROM table_name_2 WHERE winner = "jim vivona"
Write a SQL query that answers the following question: Which position was morristown minutemen in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (position VARCHAR, team VARCHAR)
SELECT position FROM table_name_1 WHERE team = "morristown minutemen"
Write a SQL query that answers the following question: Which season was harrisburg lunatics in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (season VARCHAR, team VARCHAR)
SELECT season FROM table_name_75 WHERE team = "harrisburg lunatics"
Write a SQL query that answers the following question: What was the venue for Round f?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (venue VARCHAR, round VARCHAR)
SELECT venue FROM table_name_8 WHERE round = "f"
Write a SQL query that answers the following question: On what date was the Result 1-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_33 WHERE result = "1-0"
Write a SQL query that answers the following question: What was the attendance on 10 november 2004?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_31 WHERE date = "10 november 2004"
Write a SQL query that answers the following question: What is the size of the crowd when the home team is Fitzroy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_29 WHERE home_team = "fitzroy"
Write a SQL query that answers the following question: How many laps did riccardo patrese do when he had a time/retird of + 1 lap?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
SELECT COUNT(laps) FROM table_name_96 WHERE time_retired = "+ 1 lap" AND driver = "riccardo patrese"
Write a SQL query that answers the following question: Name the episode for jenny bicks and cindy chupack nominees in 2004
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR)
SELECT episode FROM table_name_16 WHERE year = 2004 AND nominee_s_ = "jenny bicks and cindy chupack"
Write a SQL query that answers the following question: Name the episode for year more than 1999
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (episode VARCHAR, year INTEGER)
SELECT episode FROM table_name_30 WHERE year > 1999
Write a SQL query that answers the following question: What was the home team's score at the game held at Junction Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_13 WHERE venue = "junction oval"
Write a SQL query that answers the following question: What was the away team's score at the game held at MCG?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_44 WHERE venue = "mcg"
Write a SQL query that answers the following question: Who was the away team at the game held at Arden Street Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_53 WHERE venue = "arden street oval"
Write a SQL query that answers the following question: What was the size of the crowd at the game where Fitzroy was the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (crowd VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_94 WHERE home_team = "fitzroy"
Write a SQL query that answers the following question: Name the most bronze for silver more than 6 and total less than 127 with gold less than 11
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR)
SELECT MAX(bronze) FROM table_name_17 WHERE silver > 6 AND total < 127 AND gold < 11
Write a SQL query that answers the following question: Name the highest silver for table tennis and bronze more than 0
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (silver INTEGER, sport VARCHAR, bronze VARCHAR)
SELECT MAX(silver) FROM table_name_18 WHERE sport = "table tennis" AND bronze > 0
Write a SQL query that answers the following question: Which kickoff had an attendance of 58,120?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (kickoff_ VARCHAR, a_ VARCHAR, attendance VARCHAR)
SELECT kickoff_[a_] FROM table_name_9 WHERE attendance = "58,120"
Write a SQL query that answers the following question: What week number did November 19, 1989 games fall on?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (week VARCHAR, date VARCHAR)
SELECT week FROM table_name_14 WHERE date = "november 19, 1989"
Write a SQL query that answers the following question: Which game site(s) had record of 2-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (game_site VARCHAR, record VARCHAR)
SELECT game_site FROM table_name_58 WHERE record = "2-2"
Write a SQL query that answers the following question: Which game had a kickoff at 1:00 and a record of 3-7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
SELECT opponent FROM table_name_53 WHERE kickoff_[a_] = "1:00" AND record = "3-7"
Write a SQL query that answers the following question: Which game had an attendance of 56,271?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_12 WHERE attendance = "56,271"
Write a SQL query that answers the following question: Tell me the driver for ford cosworth dfv 3.0 v8 and chassis of ts19 ts20
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (driver VARCHAR, engine VARCHAR, chassis VARCHAR)
SELECT driver FROM table_name_22 WHERE engine = "ford cosworth dfv 3.0 v8" AND chassis = "ts19 ts20"
Write a SQL query that answers the following question: Tell me the constructor for alberto colombo and chassis of a1
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (constructor VARCHAR, driver VARCHAR, chassis VARCHAR)
SELECT constructor FROM table_name_3 WHERE driver = "alberto colombo" AND chassis = "a1"
Write a SQL query that answers the following question: Tell me the constructor for clay regazzoni
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_24 WHERE driver = "clay regazzoni"
Write a SQL query that answers the following question: Tell me the chassis for team tissot ensign and driver of brett lunger
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR)
SELECT chassis FROM table_name_29 WHERE entrant = "team tissot ensign" AND driver = "brett lunger"
Write a SQL query that answers the following question: I want the tyres for hans binder
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (tyres VARCHAR, driver VARCHAR)
SELECT tyres FROM table_name_46 WHERE driver = "hans binder"
Write a SQL query that answers the following question: I want the constructor for divina galica rounds of 1-2
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_54 WHERE rounds = "1-2" AND driver = "divina galica"
Write a SQL query that answers the following question: What team did the Red Sox play against on June 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_16 WHERE date = "june 3"
Write a SQL query that answers the following question: What was the Record at the game that had an attendance of 21,191?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_22 WHERE attendance = "21,191"
Write a SQL query that answers the following question: What was the final score of the game on June 17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_74 WHERE date = "june 17"
Write a SQL query that answers the following question: What is the 1st ship delivery date of 6 ways?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (total_number_of_ways VARCHAR)
SELECT 1 AS st_ship_delivery_date FROM table_name_87 WHERE total_number_of_ways = "6 ways"
Write a SQL query that answers the following question: What was the final round result of Mohammad Reza Samadi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (final VARCHAR, athlete VARCHAR)
SELECT final FROM table_name_44 WHERE athlete = "mohammad reza samadi"
Write a SQL query that answers the following question: When the Home team of footscray is playing, what's the Home team score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_53 WHERE home_team = "footscray"
Write a SQL query that answers the following question: What was the title of the song that peaked the charts at #1 with track 20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (song_title VARCHAR, chart_peak VARCHAR, track VARCHAR)
SELECT song_title FROM table_name_78 WHERE chart_peak = "#1" AND track = 20
Write a SQL query that answers the following question: What is the time from the song called Treat Me Nice?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (time VARCHAR, song_title VARCHAR)
SELECT time FROM table_name_29 WHERE song_title = "treat me nice"
Write a SQL query that answers the following question: What was Random House's copyright information?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (copyright_information VARCHAR, publisher VARCHAR)
SELECT copyright_information FROM table_name_7 WHERE publisher = "random house"
Write a SQL query that answers the following question: What was release date in 1992 with the ISBN #0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (release_date VARCHAR, isbn VARCHAR, year VARCHAR)
SELECT release_date FROM table_name_19 WHERE isbn = 0 AND year = 1992
Write a SQL query that answers the following question: What club team has 216 overall?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (club_team VARCHAR, overall VARCHAR)
SELECT club_team FROM table_name_70 WHERE overall = 216