instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What was the result of week 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_73 WHERE week = 16
Write a SQL query that answers the following question: What is the date of the game with a score of 4-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_41 WHERE score = "4-3"
Write a SQL query that answers the following question: What is the score of the game on 8 Sep 1990?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_92 WHERE date = "8 sep 1990"
Write a SQL query that answers the following question: Who is the opposition on the division 1 game at Stamford Bridge?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (opposition VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT opposition FROM table_name_64 WHERE competition = "division 1" AND venue = "stamford bridge"
Write a SQL query that answers the following question: Which rank has a total less than 9, less than 2 bronze, and from France?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (rank VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT rank FROM table_name_26 WHERE total < 9 AND bronze < 2 AND nation = "france"
Write a SQL query that answers the following question: Which rank has more than 1 silver, more than 1 gold, and more than 4 bronze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (rank VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT rank FROM table_name_25 WHERE silver > 1 AND gold > 1 AND bronze > 4
Write a SQL query that answers the following question: How many silver have a Total smaller than 3, a Bronze of 1, and a Gold larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT MAX(silver) FROM table_name_71 WHERE total < 3 AND bronze = 1 AND gold > 0
Write a SQL query that answers the following question: How many gold have a National of New Zealand with a total less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (gold INTEGER, nation VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_15 WHERE nation = "new zealand" AND total < 2
Write a SQL query that answers the following question: Who won in 2003?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (winner VARCHAR, year VARCHAR)
SELECT winner FROM table_name_19 WHERE year = 2003
Write a SQL query that answers the following question: What is the average year for scatman winning?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (year INTEGER, winner VARCHAR)
SELECT AVG(year) FROM table_name_58 WHERE winner = "scatman"
Write a SQL query that answers the following question: Who trained the horse with time of 1:09.40?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (trainer VARCHAR, time VARCHAR)
SELECT trainer FROM table_name_24 WHERE time = "1:09.40"
Write a SQL query that answers the following question: Where was the mediterranean games held?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (venue VARCHAR, tournament VARCHAR)
SELECT venue FROM table_name_83 WHERE tournament = "mediterranean games"
Write a SQL query that answers the following question: When was the last time a venue was held in turin, italy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (year INTEGER, venue VARCHAR)
SELECT MAX(year) FROM table_name_75 WHERE venue = "turin, italy"
Write a SQL query that answers the following question: Where was the universiade held in 1959?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (venue VARCHAR, tournament VARCHAR, year VARCHAR)
SELECT venue FROM table_name_3 WHERE tournament = "universiade" AND year = 1959
Write a SQL query that answers the following question: How many year was the venue in stockholm, sweden used?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (year VARCHAR, venue VARCHAR)
SELECT COUNT(year) FROM table_name_65 WHERE venue = "stockholm, sweden"
Write a SQL query that answers the following question: What is a report for a race with Baconin Borzacchini in Tripoli in a year after 1928?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (report VARCHAR, driver VARCHAR, location VARCHAR, year VARCHAR)
SELECT report FROM table_name_21 WHERE location = "tripoli" AND year > 1928 AND driver = "baconin borzacchini"
Write a SQL query that answers the following question: What was the constructor of the car that Achille Varzi drove before 1937?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (constructor VARCHAR, year VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_2 WHERE year < 1937 AND driver = "achille varzi"
Write a SQL query that answers the following question: What was the constructor of the car that Hermann Lang drove after 1935?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (constructor VARCHAR, year VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_89 WHERE year > 1935 AND driver = "hermann lang"
Write a SQL query that answers the following question: What is the Works Number that has a Number of 153 in 1916?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (works_number VARCHAR, date VARCHAR, number VARCHAR)
SELECT works_number FROM table_name_39 WHERE date = "1916" AND number = "153"
Write a SQL query that answers the following question: On what Date was the Works Number 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (date VARCHAR, works_number VARCHAR)
SELECT date FROM table_name_18 WHERE works_number = "7"
Write a SQL query that answers the following question: Which Builder has a Works Number of 16272?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (builder VARCHAR, works_number VARCHAR)
SELECT builder FROM table_name_86 WHERE works_number = "16272"
Write a SQL query that answers the following question: On what Date was the Works Number 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (date VARCHAR, works_number VARCHAR)
SELECT date FROM table_name_99 WHERE works_number = "12"
Write a SQL query that answers the following question: Where did South Melbourne play as the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_72 WHERE home_team = "south melbourne"
Write a SQL query that answers the following question: What was the attendance when St Kilda played as the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_66 WHERE home_team = "st kilda"
Write a SQL query that answers the following question: Which driver had a grid number of 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_55 WHERE grid = "18"
Write a SQL query that answers the following question: Which constructor had Shinji Nakano as a driver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_71 WHERE driver = "shinji nakano"
Write a SQL query that answers the following question: What was the home team score at Glenferrie Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_10 WHERE venue = "glenferrie oval"
Write a SQL query that answers the following question: What date has a Data of 19:29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (date VARCHAR, data VARCHAR)
SELECT date FROM table_name_39 WHERE data = "19:29"
Write a SQL query that answers the following question: Which athlete has a 35 km event?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (athlete VARCHAR, event VARCHAR)
SELECT athlete FROM table_name_74 WHERE event = "35 km"
Write a SQL query that answers the following question: What nation is the cyclist from team discovery channel?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (nation VARCHAR, team VARCHAR)
SELECT nation FROM table_name_22 WHERE team = "discovery channel"
Write a SQL query that answers the following question: What nation is the cyclist hat has a UCI ProTour Points of 25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (nation VARCHAR, uci_protour_points VARCHAR)
SELECT nation FROM table_name_95 WHERE uci_protour_points = 25
Write a SQL query that answers the following question: What day did the VFL play Punt Road Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_59 WHERE venue = "punt road oval"
Write a SQL query that answers the following question: What was the home teams score at Western Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_74 WHERE venue = "western oval"
Write a SQL query that answers the following question: What is the first prize amount of the person who has a score of 207 (-9) and a purse amount of more than 800,000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (score VARCHAR, purse__$__ VARCHAR)
SELECT COUNT(1 AS st_prize__) AS $__ FROM table_name_54 WHERE score = "207 (-9)" AND purse__$__ > 800 OFFSET 000
Write a SQL query that answers the following question: What is the ISBN of the book with a first edition in May 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (isbn VARCHAR, first_edition VARCHAR)
SELECT isbn FROM table_name_42 WHERE first_edition = "may 2011"
Write a SQL query that answers the following question: Which first edition has an ISBN of 978-0785166252?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (first_edition VARCHAR, isbn VARCHAR)
SELECT first_edition FROM table_name_50 WHERE isbn = "978-0785166252"
Write a SQL query that answers the following question: Which first edition has 264 pages and the ISBN of 978-0785111832?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (first_edition VARCHAR, pages VARCHAR, isbn VARCHAR)
SELECT first_edition FROM table_name_60 WHERE pages = "264" AND isbn = "978-0785111832"
Write a SQL query that answers the following question: How many people were in the crowd at collingwood's home game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (crowd INTEGER, home_team VARCHAR)
SELECT SUM(crowd) FROM table_name_46 WHERE home_team = "collingwood"
Write a SQL query that answers the following question: What did the away team score when playing against fitzroy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_62 WHERE home_team = "fitzroy"
Write a SQL query that answers the following question: What is the serial number of the pilot car that is black, has a pilot car number larger than 2, and an engine number of 1008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (serial_no VARCHAR, engine_no VARCHAR, colour VARCHAR, pilot_car_no VARCHAR)
SELECT serial_no FROM table_name_71 WHERE colour = "black" AND pilot_car_no > 2 AND engine_no = 1008
Write a SQL query that answers the following question: What is the low lap total that has a Time or Retired of accident?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (laps INTEGER, time_retired VARCHAR)
SELECT MIN(laps) FROM table_name_35 WHERE time_retired = "accident"
Write a SQL query that answers the following question: Which player was a fly-half?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (player VARCHAR, position VARCHAR)
SELECT player FROM table_name_79 WHERE position = "fly-half"
Write a SQL query that answers the following question: What is the mean number of caps for Ryota Asano?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (caps INTEGER, player VARCHAR)
SELECT AVG(caps) FROM table_name_36 WHERE player = "ryota asano"
Write a SQL query that answers the following question: What is the mean number of caps for Ryota Asano?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (caps INTEGER, player VARCHAR)
SELECT AVG(caps) FROM table_name_67 WHERE player = "ryota asano"
Write a SQL query that answers the following question: Who is the forward from Grambling State?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_name_24 WHERE position = "forward" AND school_club_team = "grambling state"
Write a SQL query that answers the following question: What is the nationality of the guard who plays at Utah?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT nationality FROM table_name_96 WHERE position = "guard" AND school_club_team = "utah"
Write a SQL query that answers the following question: What is the position of the player from Tampa?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (position VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_name_14 WHERE school_club_team = "tampa"
Write a SQL query that answers the following question: What is the nationality of the player on the Jazz from 1974-79?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (nationality VARCHAR, years_for_jazz VARCHAR)
SELECT nationality FROM table_name_73 WHERE years_for_jazz = "1974-79"
Write a SQL query that answers the following question: Who is the player who went to school at Tampa?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (player VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_name_91 WHERE school_club_team = "tampa"
Write a SQL query that answers the following question: What is the nationality of the player on the Jazz from 1974-79?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (nationality VARCHAR, years_for_jazz VARCHAR)
SELECT nationality FROM table_name_60 WHERE years_for_jazz = "1974-79"
Write a SQL query that answers the following question: What was the score of the away team at the the glenferrie oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_67 WHERE venue = "glenferrie oval"
Write a SQL query that answers the following question: What institution is located in athens, ga, us?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (institution VARCHAR, location VARCHAR)
SELECT institution FROM table_name_55 WHERE location = "athens, ga, us"
Write a SQL query that answers the following question: What is the status of the institution that was founded in 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (status VARCHAR, founded VARCHAR)
SELECT status FROM table_name_64 WHERE founded = 1996
Write a SQL query that answers the following question: During runs 332, what was the venue?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (venue VARCHAR, runs VARCHAR)
SELECT venue FROM table_name_60 WHERE runs = "332"
Write a SQL query that answers the following question: Which player's runs are 270?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (player VARCHAR, runs VARCHAR)
SELECT player FROM table_name_43 WHERE runs = "270"
Write a SQL query that answers the following question: During season 1935, what was the venue?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (venue VARCHAR, season VARCHAR)
SELECT venue FROM table_name_92 WHERE season = "1935"
Write a SQL query that answers the following question: For player Les Ames, what was the venue?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (venue VARCHAR, player VARCHAR)
SELECT venue FROM table_name_29 WHERE player = "les ames"
Write a SQL query that answers the following question: When was the Austrian Grand Prix?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (date VARCHAR, grand_prix VARCHAR)
SELECT date FROM table_name_7 WHERE grand_prix = "austrian grand prix"
Write a SQL query that answers the following question: How many points has a draw greater than 3 and 3rd place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (points VARCHAR, draw VARCHAR, place VARCHAR)
SELECT points FROM table_name_24 WHERE draw > 3 AND place = 3
Write a SQL query that answers the following question: Name the average events for miller barber
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (events INTEGER, player VARCHAR)
SELECT AVG(events) FROM table_name_27 WHERE player = "miller barber"
Write a SQL query that answers the following question: Name the most wins for earnings of 130,002
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (wins INTEGER, earnings___$__ VARCHAR)
SELECT MAX(wins) FROM table_name_86 WHERE earnings___$__ = 130 OFFSET 002
Write a SQL query that answers the following question: What year was Neverchanger with the label of Latenight weeknight?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (year VARCHAR, label VARCHAR, release_title VARCHAR)
SELECT year FROM table_name_70 WHERE label = "latenight weeknight" AND release_title = "neverchanger"
Write a SQL query that answers the following question: What year was Ethereal 77, which has a CD album release type?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (year VARCHAR, release_type VARCHAR, released_as VARCHAR)
SELECT year FROM table_name_26 WHERE release_type = "cd album" AND released_as = "ethereal 77"
Write a SQL query that answers the following question: what is the platform when the frequency (per hour) is 4 and the destination is west croydon?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (platform INTEGER, frequency__per_hour_ VARCHAR, destination VARCHAR)
SELECT SUM(platform) FROM table_name_98 WHERE frequency__per_hour_ = 4 AND destination = "west croydon"
Write a SQL query that answers the following question: what is the highest platform number when the frequency (per hour) is 4, the operator is london overground and the destination is west croydon?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (platform INTEGER, destination VARCHAR, frequency__per_hour_ VARCHAR, operator VARCHAR)
SELECT MAX(platform) FROM table_name_32 WHERE frequency__per_hour_ = 4 AND operator = "london overground" AND destination = "west croydon"
Write a SQL query that answers the following question: What is the name of the team with a qual 1 time of 1:17.481?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (team VARCHAR, qual_1 VARCHAR)
SELECT team FROM table_name_77 WHERE qual_1 = "1:17.481"
Write a SQL query that answers the following question: What is the qual 1 for the best of 1:18.067?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (qual_1 VARCHAR, best VARCHAR)
SELECT qual_1 FROM table_name_49 WHERE best = "1:18.067"
Write a SQL query that answers the following question: What is the qual 1 when the qual 2 has no time and the best is 1:16.776?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (qual_1 VARCHAR, qual_2 VARCHAR, best VARCHAR)
SELECT qual_1 FROM table_name_94 WHERE qual_2 = "no time" AND best = "1:16.776"
Write a SQL query that answers the following question: What person on team Minardi Team USA with a qual of 1:17.481?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (name VARCHAR, team VARCHAR, qual_1 VARCHAR)
SELECT name FROM table_name_59 WHERE team = "minardi team usa" AND qual_1 = "1:17.481"
Write a SQL query that answers the following question: What is the name of the person with a qual 1 time of 1:16.850?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (name VARCHAR, qual_1 VARCHAR)
SELECT name FROM table_name_2 WHERE qual_1 = "1:16.850"
Write a SQL query that answers the following question: What is the qual 2 when the qual 1 is 1:16.841?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (qual_2 VARCHAR, qual_1 VARCHAR)
SELECT qual_2 FROM table_name_49 WHERE qual_1 = "1:16.841"
Write a SQL query that answers the following question: Who is the Monarch whose Heir is Robert Curthose when the Reason is that the father became king?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (monarch VARCHAR, heir VARCHAR, reason VARCHAR)
SELECT monarch FROM table_name_67 WHERE heir = "robert curthose" AND reason = "father became king"
Write a SQL query that answers the following question: Which Monarch has succession unclear 1100-1103 as his Status?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (monarch VARCHAR, status VARCHAR)
SELECT monarch FROM table_name_60 WHERE status = "succession unclear 1100-1103"
Write a SQL query that answers the following question: Which Reason is given when 1103 is the date for Became heir?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (reason VARCHAR, became_heir VARCHAR)
SELECT reason FROM table_name_7 WHERE became_heir = "1103"
Write a SQL query that answers the following question: What is the Status when Henry I is the Monarch and the Reason is succession unclear 1100-1103?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (status VARCHAR, monarch VARCHAR, reason VARCHAR)
SELECT status FROM table_name_11 WHERE monarch = "henry i" AND reason = "succession unclear 1100-1103"
Write a SQL query that answers the following question: Name the tyre for hb bewaking team ensign with rounds of 13
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (tyre VARCHAR, entrant VARCHAR, rounds VARCHAR)
SELECT tyre FROM table_name_31 WHERE entrant = "hb bewaking team ensign" AND rounds = "13"
Write a SQL query that answers the following question: Name the round for engine of ford cosworth dfv 3.0 v8 with chassis fo 751
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (rounds VARCHAR, engine VARCHAR, chassis VARCHAR)
SELECT rounds FROM table_name_90 WHERE engine = "ford cosworth dfv 3.0 v8" AND chassis = "751"
Write a SQL query that answers the following question: Name the chassis for tyre of g and carlos reutemann
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (chassis VARCHAR, tyre VARCHAR, driver VARCHAR)
SELECT chassis FROM table_name_24 WHERE tyre = "g" AND driver = "carlos reutemann"
Write a SQL query that answers the following question: Name the entrant for chassis of gh1
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (entrant VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_27 WHERE chassis = "gh1"
Write a SQL query that answers the following question: Name the rounds for stanley brm
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (rounds VARCHAR, entrant VARCHAR)
SELECT rounds FROM table_name_82 WHERE entrant = "stanley brm"
Write a SQL query that answers the following question: What were the years of the Tottenham Hotspur career for the player with 10 goals, from England, played the df position, and had 118 club apps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (tottenham_hotspur_career VARCHAR, club_apps VARCHAR, position VARCHAR, goals VARCHAR, nationality VARCHAR)
SELECT tottenham_hotspur_career FROM table_name_26 WHERE goals = "10" AND nationality = "england" AND position = "df" AND club_apps = "118"
Write a SQL query that answers the following question: What is the position of the player from England with 62 goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (position VARCHAR, nationality VARCHAR, goals VARCHAR)
SELECT position FROM table_name_72 WHERE nationality = "england" AND goals = "62"
Write a SQL query that answers the following question: How many goals did the player from England who played the position of mf and had 170 club apps had?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (goals VARCHAR, club_apps VARCHAR, nationality VARCHAR, position VARCHAR)
SELECT goals FROM table_name_8 WHERE nationality = "england" AND position = "mf" AND club_apps = "170"
Write a SQL query that answers the following question: How many goals did the player with 229 club apps have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (goals VARCHAR, club_apps VARCHAR)
SELECT goals FROM table_name_69 WHERE club_apps = "229"
Write a SQL query that answers the following question: For which Award Ceremony was Emilio Pichardo as Bobby Strong nominated?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (award_ceremony VARCHAR, nominee VARCHAR)
SELECT award_ceremony FROM table_name_18 WHERE nominee = "emilio pichardo as bobby strong"
Write a SQL query that answers the following question: Who was nominated for best female performer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (nominee VARCHAR, category VARCHAR)
SELECT nominee FROM table_name_38 WHERE category = "best female performer"
Write a SQL query that answers the following question: What area is the school with a decile of 8 in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (area VARCHAR, decile VARCHAR)
SELECT area FROM table_name_76 WHERE decile = "8"
Write a SQL query that answers the following question: Which school has a state authority and a roll of 318?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (name VARCHAR, authority VARCHAR, roll VARCHAR)
SELECT name FROM table_name_27 WHERE authority = "state" AND roll = 318
Write a SQL query that answers the following question: In what area is torbay school with a state authority?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (area VARCHAR, authority VARCHAR, name VARCHAR)
SELECT area FROM table_name_87 WHERE authority = "state" AND name = "torbay school"
Write a SQL query that answers the following question: How many regular season titles did Kansas receive when they received fewer than 2 tournament titles and more than 0 total titles?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (Regular VARCHAR, team VARCHAR, tournament VARCHAR, total VARCHAR)
SELECT Regular AS season FROM table_name_25 WHERE tournament < 2 AND total > 0 AND team = "kansas"
Write a SQL query that answers the following question: What is the time of retirement with Laps smaller than 66, a grid less than 10, and a Driver of heinz-harald frentzen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_65 WHERE laps < 66 AND grid < 10 AND driver = "heinz-harald frentzen"
Write a SQL query that answers the following question: How many laps does olivier panis have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (laps VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_96 WHERE driver = "olivier panis"
Write a SQL query that answers the following question: Which home team played against Geelong?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_39 WHERE away_team = "geelong"
Write a SQL query that answers the following question: How large was the crowd when North Melbourne played as the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_62 WHERE away_team = "north melbourne"
Write a SQL query that answers the following question: Who is the away team that played home team Hawthorn?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_13 WHERE home_team = "hawthorn"
Write a SQL query that answers the following question: What is the name of the home team that played away team Footscray?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_46 WHERE away_team = "footscray"
Write a SQL query that answers the following question: Who is the home team that played at venue MCG?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_3 WHERE venue = "mcg"
Write a SQL query that answers the following question: What is the name of the first appearance when Chad Williams is a portrayal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (first_appearance VARCHAR, portrayed_by VARCHAR)
SELECT first_appearance FROM table_name_26 WHERE portrayed_by = "chad williams"
Write a SQL query that answers the following question: Which character is portrayed by Elias Koteas?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (character VARCHAR, portrayed_by VARCHAR)
SELECT character FROM table_name_10 WHERE portrayed_by = "elias koteas"
Write a SQL query that answers the following question: What is the Home Team Score at VFL Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_97 WHERE venue = "vfl park"