instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: In the match where Melbourne was the away team, how much did they score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_52 WHERE away_team = "melbourne"
Write a SQL query that answers the following question: Who had the decision when buffalo was the visitor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (decision VARCHAR, visitor VARCHAR)
SELECT decision FROM table_name_99 WHERE visitor = "buffalo"
Write a SQL query that answers the following question: Tell me the venue for north melbourne
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_85 WHERE away_team = "north melbourne"
Write a SQL query that answers the following question: What name has a listed of 03/31/1989 in spartanburg county?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (name VARCHAR, listed VARCHAR, county VARCHAR)
SELECT name FROM table_name_19 WHERE listed = "03/31/1989" AND county = "spartanburg"
Write a SQL query that answers the following question: What date was proposed when the listed date was 12/16/1994 in the County of beaufort?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (proposed VARCHAR, listed VARCHAR, county VARCHAR)
SELECT proposed FROM table_name_65 WHERE listed = "12/16/1994" AND county = "beaufort"
Write a SQL query that answers the following question: What name was listed 02/21/1990, and a CERCLIS ID of scd980844005?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (name VARCHAR, listed VARCHAR, cerclis_id VARCHAR)
SELECT name FROM table_name_97 WHERE listed = "02/21/1990" AND cerclis_id = "scd980844005"
Write a SQL query that answers the following question: What county has a CERCLIS ID of scd037405362?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (county VARCHAR, cerclis_id VARCHAR)
SELECT county FROM table_name_64 WHERE cerclis_id = "scd037405362"
Write a SQL query that answers the following question: What is the name for Charleston County with a CERCLIS ID of scd980711279?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (name VARCHAR, county VARCHAR, cerclis_id VARCHAR)
SELECT name FROM table_name_44 WHERE county = "charleston" AND cerclis_id = "scd980711279"
Write a SQL query that answers the following question: What is the name for the listed date of 11/21/1989?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (name VARCHAR, listed VARCHAR)
SELECT name FROM table_name_42 WHERE listed = "11/21/1989"
Write a SQL query that answers the following question: Which category was Gene Barry nominated in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (category VARCHAR, result VARCHAR, nominee VARCHAR)
SELECT category FROM table_name_54 WHERE result = "nominated" AND nominee = "gene barry"
Write a SQL query that answers the following question: What year was the Drama Desk award won by nominee George Hearn?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (year VARCHAR, nominee VARCHAR, award VARCHAR, result VARCHAR)
SELECT year FROM table_name_44 WHERE award = "drama desk award" AND result = "won" AND nominee = "george hearn"
Write a SQL query that answers the following question: What is the time/retired for grid 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_8 WHERE grid = 5
Write a SQL query that answers the following question: When was the event that had Liberia as an opponent and resulted in a 1-0 score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, score VARCHAR)
SELECT date FROM table_name_75 WHERE opponent = "liberia" AND score = "1-0"
Write a SQL query that answers the following question: When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, competition VARCHAR, location VARCHAR)
SELECT date FROM table_name_60 WHERE competition = "2014 world cup qualification" AND location = "kampala" AND opponent = "angola"
Write a SQL query that answers the following question: Who was the Europe/Africa group i's opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (opponent VARCHAR, zone VARCHAR)
SELECT opponent FROM table_name_61 WHERE zone = "europe/africa group i"
Write a SQL query that answers the following question: What zone was the Semifinal game played against Israel with Anna Smashnova as the opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (zone VARCHAR, opponent VARCHAR, round VARCHAR, against VARCHAR)
SELECT zone FROM table_name_42 WHERE round = "semifinal" AND against = "israel" AND opponent = "anna smashnova"
Write a SQL query that answers the following question: What surface was played on against Shahar Pe'er?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (surface VARCHAR, opponent VARCHAR)
SELECT surface FROM table_name_61 WHERE opponent = "shahar pe'er"
Write a SQL query that answers the following question: I want the years for marathon distance and wins of 3
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (years VARCHAR, distance VARCHAR, wins VARCHAR)
SELECT years FROM table_name_15 WHERE distance = "marathon" AND wins = 3
Write a SQL query that answers the following question: Name the country for athlete of ziedonis zaļkalns
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (country VARCHAR, athlete VARCHAR)
SELECT country FROM table_name_72 WHERE athlete = "ziedonis zaļkalns"
Write a SQL query that answers the following question: I want the attendance which has a result of l 49–21
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_12 WHERE result = "l 49–21"
Write a SQL query that answers the following question: Tell me the attendance with a result of l 26–3
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_12 WHERE result = "l 26–3"
Write a SQL query that answers the following question: I want to know the lowest week with a date of december 19, 2004
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (week INTEGER, date VARCHAR)
SELECT MIN(week) FROM table_name_26 WHERE date = "december 19, 2004"
Write a SQL query that answers the following question: What is the attendance of the location where New Orleans's team plays?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_name_81 WHERE team = "new orleans"
Write a SQL query that answers the following question: Which team has the high points of Raymond Felton (26)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (team VARCHAR, high_points VARCHAR)
SELECT team FROM table_name_30 WHERE high_points = "raymond felton (26)"
Write a SQL query that answers the following question: What is the time of the driver on grid 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_48 WHERE grid = 7
Write a SQL query that answers the following question: Which Constructor has grid 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (constructor VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_75 WHERE grid = 2
Write a SQL query that answers the following question: What is the highest grid that has 55 laps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (grid INTEGER, laps VARCHAR)
SELECT MAX(grid) FROM table_name_1 WHERE laps = 55
Write a SQL query that answers the following question: Who was Richmond's away team opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_53 WHERE home_team = "richmond"
Write a SQL query that answers the following question: What was the away score at VFL Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_78 WHERE venue = "vfl park"
Write a SQL query that answers the following question: Tell me the home team score for richmond home team
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_87 WHERE home_team = "richmond"
Write a SQL query that answers the following question: Tell me the venue for 8 june 1931 for st kilda away team
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_6 WHERE date = "8 june 1931" AND away_team = "st kilda"
Write a SQL query that answers the following question: When fitzroy was the home team, how much did the away team score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_76 WHERE home_team = "fitzroy"
Write a SQL query that answers the following question: When essendon was the home team, how much did they score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_56 WHERE home_team = "essendon"
Write a SQL query that answers the following question: What is shintaro ishiwatari's time?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_6 WHERE opponent = "shintaro ishiwatari"
Write a SQL query that answers the following question: How many rounds have an Opponent of sakae kasuya?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (round VARCHAR, opponent VARCHAR)
SELECT COUNT(round) FROM table_name_90 WHERE opponent = "sakae kasuya"
Write a SQL query that answers the following question: Which time has a Method of decision(majority), and an Opponent of keisuke yamada?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (time VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_55 WHERE method = "decision(majority)" AND opponent = "keisuke yamada"
Write a SQL query that answers the following question: Which method has an Event of shooto, a Round of 2, and an Opponent of issei tamura?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (method VARCHAR, opponent VARCHAR, event VARCHAR, round VARCHAR)
SELECT method FROM table_name_33 WHERE event = "shooto" AND round = 2 AND opponent = "issei tamura"
Write a SQL query that answers the following question: What is the away team that played at punt road oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_24 WHERE venue = "punt road oval"
Write a SQL query that answers the following question: What is the home team score that played at windy hill?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_81 WHERE venue = "windy hill"
Write a SQL query that answers the following question: How big was the crowd at the game the away team geelong played at?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (crowd INTEGER, away_team VARCHAR)
SELECT SUM(crowd) FROM table_name_31 WHERE away_team = "geelong"
Write a SQL query that answers the following question: Which constructor has a race called I News of the World Trophy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (constructor VARCHAR, race_name VARCHAR)
SELECT constructor FROM table_name_91 WHERE race_name = "i news of the world trophy"
Write a SQL query that answers the following question: Which Constructor has the goodwood circuit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (constructor VARCHAR, circuit VARCHAR)
SELECT constructor FROM table_name_53 WHERE circuit = "goodwood"
Write a SQL query that answers the following question: What driver won the VII Rand Grand Prix?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (winning_driver VARCHAR, race_name VARCHAR)
SELECT winning_driver FROM table_name_26 WHERE race_name = "vii rand grand prix"
Write a SQL query that answers the following question: What is the name of the race that has the pergusa Circuit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (race_name VARCHAR, circuit VARCHAR)
SELECT race_name FROM table_name_50 WHERE circuit = "pergusa"
Write a SQL query that answers the following question: What is the scoreof the away team Collingwood?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_83 WHERE away_team = "collingwood"
Write a SQL query that answers the following question: Jean Alesi, drives the Acer 01A engine for which team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (team VARCHAR, driver VARCHAR, engine_† VARCHAR)
SELECT team FROM table_name_68 WHERE driver = "jean alesi" AND engine_† = "acer 01a"
Write a SQL query that answers the following question: Who built Alex Yoong's car?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_84 WHERE driver = "alex yoong"
Write a SQL query that answers the following question: What's jim colbert's highest rank?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (rank INTEGER, player VARCHAR)
SELECT MAX(rank) FROM table_name_60 WHERE player = "jim colbert"
Write a SQL query that answers the following question: What's hale irwin's average rank?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (rank INTEGER, player VARCHAR)
SELECT AVG(rank) FROM table_name_7 WHERE player = "hale irwin"
Write a SQL query that answers the following question: What is the sum of averages with a long value of 32?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (avg INTEGER, long VARCHAR)
SELECT SUM(avg) FROM table_name_70 WHERE long = 32
Write a SQL query that answers the following question: Which Track time has a Disc larger than 2, a Track smaller than 22, and an English title of younger girl?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (track VARCHAR, english_title VARCHAR, disc VARCHAR)
SELECT track AS time FROM table_name_80 WHERE disc > 2 AND track < 22 AND english_title = "younger girl"
Write a SQL query that answers the following question: Which Japanese title has a Disc smaller than 12, and an Artist of kōzō murashita?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (japanese_title VARCHAR, disc VARCHAR, artist VARCHAR)
SELECT japanese_title FROM table_name_44 WHERE disc < 12 AND artist = "kōzō murashita"
Write a SQL query that answers the following question: Which track has a Japanese title of メロディー?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (track INTEGER, japanese_title VARCHAR)
SELECT MAX(track) FROM table_name_12 WHERE japanese_title = "メロディー"
Write a SQL query that answers the following question: What Grid has a Time/Retired of clutch?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (grid INTEGER, time_retired VARCHAR)
SELECT SUM(grid) FROM table_name_2 WHERE time_retired = "clutch"
Write a SQL query that answers the following question: What is the Time/Retired with more Laps than 34, a Grid smaller than 15, and Driver Damon Hill?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_88 WHERE laps > 34 AND grid < 15 AND driver = "damon hill"
Write a SQL query that answers the following question: How many Laps Did Driver David Coulthard have on a Grid smaller than 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (laps VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_89 WHERE grid < 11 AND driver = "david coulthard"
Write a SQL query that answers the following question: What type of race took place on the course Orta San Giulio to Milan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (type VARCHAR, course VARCHAR)
SELECT type FROM table_name_14 WHERE course = "orta san giulio to milan"
Write a SQL query that answers the following question: When did the course Vasto to Campitello Matese took place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (date VARCHAR, course VARCHAR)
SELECT date FROM table_name_25 WHERE course = "vasto to campitello matese"
Write a SQL query that answers the following question: Who won the course Brescia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (winner VARCHAR, course VARCHAR)
SELECT winner FROM table_name_49 WHERE course = "brescia"
Write a SQL query that answers the following question: Name the league for 1996
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (league VARCHAR, year VARCHAR)
SELECT league FROM table_name_90 WHERE year = "1996"
Write a SQL query that answers the following question: Name the league for 1994
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (league VARCHAR, year VARCHAR)
SELECT league FROM table_name_16 WHERE year = "1994"
Write a SQL query that answers the following question: Tell me the league with a regular 1st season
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (league VARCHAR, reg_season VARCHAR)
SELECT league FROM table_name_2 WHERE reg_season = "1st"
Write a SQL query that answers the following question: What LNER Class has a Class of 6db?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (LNER VARCHAR, class VARCHAR)
SELECT LNER AS class FROM table_name_31 WHERE class = "6db"
Write a SQL query that answers the following question: What LNER Class has a Class of 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (LNER VARCHAR, class VARCHAR)
SELECT LNER AS class FROM table_name_86 WHERE class = "3"
Write a SQL query that answers the following question: Which mean pick number had a Reg GP of 0, and a Pl GP that was bigger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (pick__number INTEGER, reg_gp VARCHAR, pl_gp VARCHAR)
SELECT AVG(pick__number) FROM table_name_95 WHERE reg_gp = 0 AND pl_gp > 0
Write a SQL query that answers the following question: What is the highest Pick number that had a road number that was less than 6, featured Bob Dailey as a player, and which had a Reg GP bigger than 257?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (pick__number INTEGER, reg_gp VARCHAR, rd__number VARCHAR, player VARCHAR)
SELECT MAX(pick__number) FROM table_name_43 WHERE rd__number < 6 AND player = "bob dailey" AND reg_gp > 257
Write a SQL query that answers the following question: What is the sum number of Pl GP when the Reg GP was 0, the Rd number was bigger than 8, and the pick number was bigger than 146?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (pl_gp VARCHAR, pick__number VARCHAR, reg_gp VARCHAR, rd__number VARCHAR)
SELECT COUNT(pl_gp) FROM table_name_90 WHERE reg_gp = 0 AND rd__number > 8 AND pick__number > 146
Write a SQL query that answers the following question: What was the birth state of Charles Cotesworth Pinckney who was elected in 1808?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (birth_state VARCHAR, name VARCHAR, election_year VARCHAR)
SELECT birth_state FROM table_name_74 WHERE name = "charles cotesworth pinckney" AND election_year = 1808
Write a SQL query that answers the following question: How many postseason titles has Nebraska received?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (postseason VARCHAR, team VARCHAR)
SELECT postseason FROM table_name_20 WHERE team = "nebraska"
Write a SQL query that answers the following question: What is the lost On August 20
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_3 WHERE date = "august 20"
Write a SQL query that answers the following question: WHAT IS THE NUMBER OF Attendance WITH A RECORD 94–36
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (attendance INTEGER, save VARCHAR, record VARCHAR)
SELECT AVG(attendance) FROM table_name_70 WHERE save = "–" AND record = "94–36"
Write a SQL query that answers the following question: WHICH Attendance that has a Loss of paniagua (3–3)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (attendance INTEGER, loss VARCHAR)
SELECT MAX(attendance) FROM table_name_99 WHERE loss = "paniagua (3–3)"
Write a SQL query that answers the following question: How many points did the away team score at Arden Street Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_59 WHERE venue = "arden street oval"
Write a SQL query that answers the following question: In what venue does Footscray play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_16 WHERE home_team = "footscray"
Write a SQL query that answers the following question: What position did Co-driver Jackie Oliver finish in the 24 hours of Le Mans?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (pos VARCHAR, race VARCHAR, co_driver VARCHAR)
SELECT pos FROM table_name_39 WHERE race = "24 hours of le mans" AND co_driver = "jackie oliver"
Write a SQL query that answers the following question: Who was the co-driver in 1970 for the race of Targa Florio?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (co_driver VARCHAR, year VARCHAR, race VARCHAR)
SELECT co_driver FROM table_name_46 WHERE year = 1970 AND race = "targa florio"
Write a SQL query that answers the following question: Which vehicle has a Grid of 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (constructor VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_5 WHERE grid = 13
Write a SQL query that answers the following question: What's the Time/Retired of 80 laps with a Grid larger than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_51 WHERE laps = 80 AND grid > 2
Write a SQL query that answers the following question: Tell me the date for detroit and game more than 3
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (date VARCHAR, team VARCHAR, game VARCHAR)
SELECT date FROM table_name_53 WHERE team = "detroit" AND game > 3
Write a SQL query that answers the following question: Name the team with high assists of nelson (5)
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (team VARCHAR, high_assists VARCHAR)
SELECT team FROM table_name_83 WHERE high_assists = "nelson (5)"
Write a SQL query that answers the following question: Name the score for howard (8) high rebounds
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (score VARCHAR, high_rebounds VARCHAR)
SELECT score FROM table_name_44 WHERE high_rebounds = "howard (8)"
Write a SQL query that answers the following question: Where Date is october 11, and game greater than 4 what is the lowest attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (attendance INTEGER, date VARCHAR, game VARCHAR)
SELECT MIN(attendance) FROM table_name_34 WHERE date = "october 11" AND game > 4
Write a SQL query that answers the following question: Where date is october 7 and game greater than 1, what is the highest attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR, game VARCHAR)
SELECT MAX(attendance) FROM table_name_43 WHERE date = "october 7" AND game > 1
Write a SQL query that answers the following question: Where Date is october 14 what is the attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_40 WHERE date = "october 14"
Write a SQL query that answers the following question: Which away team had a venue of mcg?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_90 WHERE venue = "mcg"
Write a SQL query that answers the following question: When did the away team score at Punt Road Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_25 WHERE venue = "punt road oval"
Write a SQL query that answers the following question: How many points did North Melbourne score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_12 WHERE home_team = "north melbourne"
Write a SQL query that answers the following question: What was the score on March 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_22 WHERE date = "march 4"
Write a SQL query that answers the following question: On which date was Raymond Felton (6) the high assists and Jason Richardson (42) the high points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (date VARCHAR, high_assists VARCHAR, high_points VARCHAR)
SELECT date FROM table_name_32 WHERE high_assists = "raymond felton (6)" AND high_points = "jason richardson (42)"
Write a SQL query that answers the following question: What is the location attendance when the team is Golden State?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_name_32 WHERE team = "golden state"
Write a SQL query that answers the following question: Which record has a Visitor of magic?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (record VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_89 WHERE visitor = "magic"
Write a SQL query that answers the following question: Which score has a Home of grizzlies, and a Leading scorer of rudy gay (18)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (score VARCHAR, home VARCHAR, leading_scorer VARCHAR)
SELECT score FROM table_name_62 WHERE home = "grizzlies" AND leading_scorer = "rudy gay (18)"
Write a SQL query that answers the following question: Which leading scorer has a Home of grizzlies, and a Record of 10–28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (leading_scorer VARCHAR, home VARCHAR, record VARCHAR)
SELECT leading_scorer FROM table_name_66 WHERE home = "grizzlies" AND record = "10–28"
Write a SQL query that answers the following question: If the Away team was carlton, what Date did they play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_97 WHERE away_team = "carlton"
Write a SQL query that answers the following question: What is the Visitor with a Home with chicago, and a Score of 3 – 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (visitor VARCHAR, home VARCHAR, score VARCHAR)
SELECT visitor FROM table_name_34 WHERE home = "chicago" AND score = "3 – 2"
Write a SQL query that answers the following question: What is the Score with a Date with may 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_47 WHERE date = "may 2"
Write a SQL query that answers the following question: What is the Score with a Home of colorado, and a Date with may 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT score FROM table_name_72 WHERE home = "colorado" AND date = "may 11"
Write a SQL query that answers the following question: What is the Home with a Visitor of chicago, and a Series with 3 – 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (home VARCHAR, visitor VARCHAR, series VARCHAR)
SELECT home FROM table_name_82 WHERE visitor = "chicago" AND series = "3 – 2"
Write a SQL query that answers the following question: What is the Visitor with a Series with 3 – 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (visitor VARCHAR, series VARCHAR)
SELECT visitor FROM table_name_50 WHERE series = "3 – 2"
Write a SQL query that answers the following question: What is the Visitor with a Score with 4 – 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (visitor VARCHAR, score VARCHAR)
SELECT visitor FROM table_name_35 WHERE score = "4 – 3"