instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the decision when new jersey was away?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (decision VARCHAR, visitor VARCHAR)
SELECT decision FROM table_name_96 WHERE visitor = "new jersey"
Write a SQL query that answers the following question: What is URA Index scale?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (scale VARCHAR, name VARCHAR)
SELECT scale FROM table_name_90 WHERE name = "ura index"
Write a SQL query that answers the following question: What is the scale of sv_health with a word number smaller than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (scale VARCHAR, word__number VARCHAR, name VARCHAR)
SELECT scale FROM table_name_8 WHERE word__number < 4 AND name = "sv_health"
Write a SQL query that answers the following question: Which tennis team is from the United States?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (team VARCHAR, sport VARCHAR, nation_of_citizenship VARCHAR)
SELECT team FROM table_name_55 WHERE sport = "tennis" AND nation_of_citizenship = "united states"
Write a SQL query that answers the following question: What is the nation of citizenship for athletes later than 2011 year of award?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (nation_of_citizenship VARCHAR, year_of_award INTEGER)
SELECT nation_of_citizenship FROM table_name_12 WHERE year_of_award > 2011
Write a SQL query that answers the following question: What Constructor did Michael Schumacher have with a Grid smaller than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_62 WHERE grid < 5 AND driver = "michael schumacher"
Write a SQL query that answers the following question: Which driver has a Time/Retired of +1 lap?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (driver VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_66 WHERE time_retired = "+1 lap"
Write a SQL query that answers the following question: Which apparatus had a final score that was more than 17.75?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (apparatus VARCHAR, score_final INTEGER)
SELECT apparatus FROM table_name_38 WHERE score_final > 17.75
Write a SQL query that answers the following question: Which competition description's apparatus was ribbon?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (competition_description VARCHAR, apparatus VARCHAR)
SELECT competition_description FROM table_name_46 WHERE apparatus = "ribbon"
Write a SQL query that answers the following question: Which Qualifying score had hoop as an apparatus?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (score_qualifying VARCHAR, apparatus VARCHAR)
SELECT score_qualifying FROM table_name_94 WHERE apparatus = "hoop"
Write a SQL query that answers the following question: What is the sum of qualifying scores when the final score is 16.625?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (score_qualifying VARCHAR, score_final VARCHAR)
SELECT COUNT(score_qualifying) FROM table_name_7 WHERE score_final = 16.625
Write a SQL query that answers the following question: When was the game played at Princes Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_20 WHERE venue = "princes park"
Write a SQL query that answers the following question: What did Melbourne score as the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_88 WHERE home_team = "melbourne"
Write a SQL query that answers the following question: What position does the player from malvern prep play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (position VARCHAR, high_school VARCHAR)
SELECT position FROM table_name_40 WHERE high_school = "malvern prep"
Write a SQL query that answers the following question: What team scored more than 572 points and had more than 29 games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (team VARCHAR, points VARCHAR, games VARCHAR)
SELECT team FROM table_name_44 WHERE points > 572 AND games > 29
Write a SQL query that answers the following question: What is the least amount of games for Luis scola with a rank greater than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (games INTEGER, rank VARCHAR, name VARCHAR)
SELECT MIN(games) FROM table_name_88 WHERE rank > 1 AND name = "luis scola"
Write a SQL query that answers the following question: What is the identity of the brighton works built train?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (identity VARCHAR, builder VARCHAR)
SELECT identity FROM table_name_48 WHERE builder = "brighton works"
Write a SQL query that answers the following question: What was the attendance on May 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_76 WHERE date = "may 13"
Write a SQL query that answers the following question: What is the highest Quantity for PTRD Nos. 3, 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (quantity INTEGER, ptrd_nos VARCHAR)
SELECT MAX(quantity) FROM table_name_84 WHERE ptrd_nos = "3, 15"
Write a SQL query that answers the following question: How many were hosted whene the average attendance was 27,638?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (hosted VARCHAR, average VARCHAR)
SELECT COUNT(hosted) FROM table_name_85 WHERE average = 27 OFFSET 638
Write a SQL query that answers the following question: What is the lowest attendance last year when more than 176 were hosted?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (last_year INTEGER, hosted INTEGER)
SELECT MIN(last_year) FROM table_name_87 WHERE hosted > 176
Write a SQL query that answers the following question: How many 1990 growth numbers had less than 10,522 in 1970?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (Id VARCHAR)
SELECT COUNT(1990) FROM table_name_49 WHERE 1970 < 10 OFFSET 522
Write a SQL query that answers the following question: Which is the lowest 1980 growth that had 2,610 in 1970?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (Id VARCHAR)
SELECT MIN(1980) FROM table_name_61 WHERE 1970 = 2 OFFSET 610
Write a SQL query that answers the following question: What is the high lap total that has a grid of less than 4 and a Time/Retired of + 1 lap?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT MAX(laps) FROM table_name_3 WHERE grid < 4 AND time_retired = "+ 1 lap"
Write a SQL query that answers the following question: How many laps associated with a Time/Retired of + 1:25.475?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (laps VARCHAR, time_retired VARCHAR)
SELECT COUNT(laps) FROM table_name_62 WHERE time_retired = "+ 1:25.475"
Write a SQL query that answers the following question: What was the home teams score when the VFL played Princes Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_76 WHERE venue = "princes park"
Write a SQL query that answers the following question: What was the opponents score when Geelong played as home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_99 WHERE home_team = "geelong"
Write a SQL query that answers the following question: What was the home teams score when the VFL played at Kardinia Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_80 WHERE venue = "kardinia park"
Write a SQL query that answers the following question: When did Fitzroy play as the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_70 WHERE away_team = "fitzroy"
Write a SQL query that answers the following question: What is the average number of goals of the player with 234 apps and a rank above 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (goals INTEGER, apps VARCHAR, rank VARCHAR)
SELECT AVG(goals) FROM table_name_13 WHERE apps = 234 AND rank < 8
Write a SQL query that answers the following question: What is the average avg/game of the player with 97 goals and a rank above 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (avg_game INTEGER, goals VARCHAR, rank VARCHAR)
SELECT AVG(avg_game) FROM table_name_51 WHERE goals = 97 AND rank < 7
Write a SQL query that answers the following question: What is the highest number of games won where less than 21 games were conceded and less than 18 games were actually played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (won__pg_ INTEGER, goals_conceded__gc_ VARCHAR, played__pj_ VARCHAR)
SELECT MAX(won__pg_) FROM table_name_85 WHERE goals_conceded__gc_ < 21 AND played__pj_ < 18
Write a SQL query that answers the following question: What is the average number of goals conceded where more than 19 goals were scored, the team had 31 points, and more than 7 draws?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (goals_conceded__gc_ INTEGER, draw__pe_ VARCHAR, goals_scored__gf_ VARCHAR, points__pts_ VARCHAR)
SELECT AVG(goals_conceded__gc_) FROM table_name_80 WHERE goals_scored__gf_ > 19 AND points__pts_ = 31 AND draw__pe_ > 7
Write a SQL query that answers the following question: How many goals were conceded against the Chepo F.C. team where they lost 7 games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (goals_conceded__gc_ VARCHAR, lost__pp_ VARCHAR, team__equipo_ VARCHAR)
SELECT goals_conceded__gc_ FROM table_name_32 WHERE lost__pp_ = 7 AND team__equipo_ = "chepo f.c."
Write a SQL query that answers the following question: What was the smallest crowd at junction oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_61 WHERE venue = "junction oval"
Write a SQL query that answers the following question: What state has Richard Foster as a member?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (state VARCHAR, member VARCHAR)
SELECT state FROM table_name_49 WHERE member = "richard foster"
Write a SQL query that answers the following question: Which member has Cook as the electorate?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (member VARCHAR, electorate VARCHAR)
SELECT member FROM table_name_16 WHERE electorate = "cook"
Write a SQL query that answers the following question: Who was the driver with chassis 625 553 500?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (driver VARCHAR, chassis VARCHAR)
SELECT driver FROM table_name_72 WHERE chassis = "625 553 500"
Write a SQL query that answers the following question: What was tyre that was made by cooper - bristol that was driven by bob gerard?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (tyre VARCHAR, constructor VARCHAR, driver VARCHAR)
SELECT tyre FROM table_name_77 WHERE constructor = "cooper - bristol" AND driver = "bob gerard"
Write a SQL query that answers the following question: Who was the constructor of the officine alfieri maserati that was driven by Sergio Mantovani?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (constructor VARCHAR, entrant VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_77 WHERE entrant = "officine alfieri maserati" AND driver = "sergio mantovani"
Write a SQL query that answers the following question: What tyre had Sergio Mantovani as a driver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (tyre VARCHAR, driver VARCHAR)
SELECT tyre FROM table_name_91 WHERE driver = "sergio mantovani"
Write a SQL query that answers the following question: Can you say what was the entrant of maserati built item with a Tyre of p with a chassis of 250f a6gcm that was driven by Luigi Villoresi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR, constructor VARCHAR, tyre VARCHAR)
SELECT entrant FROM table_name_86 WHERE constructor = "maserati" AND tyre = "p" AND chassis = "250f a6gcm" AND driver = "luigi villoresi"
Write a SQL query that answers the following question: What is the dutch word for one?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (dutch VARCHAR, english VARCHAR)
SELECT dutch FROM table_name_18 WHERE english = "one"
Write a SQL query that answers the following question: What is the Middle German (Luxemburgish) word for ein?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (middle_german___luxemburgish__ VARCHAR, ein VARCHAR, Limburgish VARCHAR)
SELECT middle_german___luxemburgish__ FROM table_name_20 WHERE DUTCH(Limburgish) = ein
Write a SQL query that answers the following question: What is the Middle German (Luxemburgish) word for stone?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (middle_german___luxemburgish__ VARCHAR, english VARCHAR)
SELECT middle_german___luxemburgish__ FROM table_name_58 WHERE english = "stone"
Write a SQL query that answers the following question: What is the Dutch waord for høvd / høvur?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (dutch VARCHAR, Groningen VARCHAR, høvd VARCHAR, høvur VARCHAR)
SELECT dutch FROM table_name_68 WHERE LOW_GERMAN(Groningen) = høvd / høvur
Write a SQL query that answers the following question: What is the English word for twie?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (english VARCHAR, twie VARCHAR, Limburgish VARCHAR)
SELECT english FROM table_name_43 WHERE DUTCH(Limburgish) = twie
Write a SQL query that answers the following question: What is the constructor on the team with 8 rounds and a chassis of 156 158 1512?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (constructor VARCHAR, rounds VARCHAR, chassis VARCHAR)
SELECT constructor FROM table_name_54 WHERE rounds = "8" AND chassis = "156 158 1512"
Write a SQL query that answers the following question: Who is the driver of the team with tyre d, bt11 chassis, and 8 rounds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (driver VARCHAR, rounds VARCHAR, tyre VARCHAR, chassis VARCHAR)
SELECT driver FROM table_name_92 WHERE tyre = "d" AND chassis = "bt11" AND rounds = "8"
Write a SQL query that answers the following question: What is the number of bronze that silver is smaller than 1 and gold bigger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (bronze INTEGER, silver VARCHAR, gold VARCHAR)
SELECT AVG(bronze) FROM table_name_51 WHERE silver < 1 AND gold > 0
Write a SQL query that answers the following question: what is the name when the nation is France, the pts/game is more than 3 and points is less than 33?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (name VARCHAR, points VARCHAR, nation VARCHAR, pts_game VARCHAR)
SELECT name FROM table_name_55 WHERE nation = "france" AND pts_game > 3 AND points < 33
Write a SQL query that answers the following question: what is the pts/game for Charlotte barras and the games is 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (pts_game VARCHAR, games VARCHAR, name VARCHAR)
SELECT pts_game FROM table_name_78 WHERE games = 5 AND name = "charlotte barras"
Write a SQL query that answers the following question: what is the average points when the nation is wales and the pts/game is more than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (points INTEGER, nation VARCHAR, pts_game VARCHAR)
SELECT AVG(points) FROM table_name_97 WHERE nation = "wales" AND pts_game > 5
Write a SQL query that answers the following question: When is the earliest year for it is in barcelona, spain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (year INTEGER, venue VARCHAR)
SELECT MIN(year) FROM table_name_35 WHERE venue = "barcelona, spain"
Write a SQL query that answers the following question: What is the average year they finished 5th in santiago, chile?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (year INTEGER, position VARCHAR, venue VARCHAR)
SELECT AVG(year) FROM table_name_57 WHERE position = "5th" AND venue = "santiago, chile"
Write a SQL query that answers the following question: Which pick was MIchael Holper?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (pick INTEGER, player VARCHAR)
SELECT MIN(pick) FROM table_name_42 WHERE player = "michael holper"
Write a SQL query that answers the following question: What is the average Gold where the Nation is Russia (rus) and the number of silver is less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (gold INTEGER, nation VARCHAR, silver VARCHAR)
SELECT AVG(gold) FROM table_name_99 WHERE nation = "russia (rus)" AND silver < 2
Write a SQL query that answers the following question: What is the total where the nation is South Africa (rsa) and bronze is less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT SUM(total) FROM table_name_45 WHERE nation = "south africa (rsa)" AND bronze < 1
Write a SQL query that answers the following question: Which nation has 0 gold, a rank greater than 14, a total of 1, and silver less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT nation FROM table_name_10 WHERE gold = 0 AND rank > 14 AND total = 1 AND silver < 1
Write a SQL query that answers the following question: Tell me the home team for vfl park venue
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_21 WHERE venue = "vfl park"
Write a SQL query that answers the following question: Tell me the home team for venue of mcg
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_70 WHERE venue = "mcg"
Write a SQL query that answers the following question: Tell me the most crowd for arden street oval venue
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_39 WHERE venue = "arden street oval"
Write a SQL query that answers the following question: What was the away team's score when South Melbourne was the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_51 WHERE home_team = "south melbourne"
Write a SQL query that answers the following question: What was the placing of the nation of East Germany?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (placings VARCHAR, nation VARCHAR)
SELECT COUNT(placings) FROM table_name_92 WHERE nation = "east germany"
Write a SQL query that answers the following question: What's the highest level of team Astana since 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (level INTEGER, team VARCHAR, season VARCHAR)
SELECT MAX(level) FROM table_name_96 WHERE team = "astana" AND season > 2007
Write a SQL query that answers the following question: Who was the away team at Western Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_52 WHERE venue = "western oval"
Write a SQL query that answers the following question: Who was the home team that played against Collingwood?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_90 WHERE away_team = "collingwood"
Write a SQL query that answers the following question: What is the average crowd size for Richmond home games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (crowd INTEGER, home_team VARCHAR)
SELECT AVG(crowd) FROM table_name_2 WHERE home_team = "richmond"
Write a SQL query that answers the following question: What is the largest crowd for North Melbourne home games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (crowd INTEGER, home_team VARCHAR)
SELECT MAX(crowd) FROM table_name_48 WHERE home_team = "north melbourne"
Write a SQL query that answers the following question: In which venue does Melbourne play as the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_62 WHERE home_team = "melbourne"
Write a SQL query that answers the following question: Which Grid has a Driver of johnny dumfries?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (grid VARCHAR, driver VARCHAR)
SELECT grid FROM table_name_85 WHERE driver = "johnny dumfries"
Write a SQL query that answers the following question: What is the score on 22 September 1972?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_24 WHERE date = "22 september 1972"
Write a SQL query that answers the following question: What is the venue on 3 September 1972?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_57 WHERE date = "3 september 1972"
Write a SQL query that answers the following question: Name the series for april 30
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (series VARCHAR, date VARCHAR)
SELECT series FROM table_name_2 WHERE date = "april 30"
Write a SQL query that answers the following question: Name the highest game for west (8) high assists
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (game INTEGER, high_assists VARCHAR)
SELECT MAX(game) FROM table_name_35 WHERE high_assists = "west (8)"
Write a SQL query that answers the following question: Which Year has a Date of 14 February?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (year INTEGER, date VARCHAR)
SELECT MIN(year) FROM table_name_11 WHERE date = "14 february"
Write a SQL query that answers the following question: Which Label has a Date of 20 July?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (label VARCHAR, date VARCHAR)
SELECT label FROM table_name_48 WHERE date = "20 july"
Write a SQL query that answers the following question: Which Label has a Date of 14 February?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (label VARCHAR, date VARCHAR)
SELECT label FROM table_name_56 WHERE date = "14 february"
Write a SQL query that answers the following question: Who choreographed the smooth waltz with lacey schwimmer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (choreographer_s_ VARCHAR, style VARCHAR, partner VARCHAR)
SELECT choreographer_s_ FROM table_name_94 WHERE style = "smooth waltz" AND partner = "lacey schwimmer"
Write a SQL query that answers the following question: Who was the partner for the jazz piece in the bottom three?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (partner VARCHAR, style VARCHAR, results VARCHAR)
SELECT partner FROM table_name_40 WHERE style = "jazz" AND results = "bottom three"
Write a SQL query that answers the following question: For Venue vfl park, what was the home team score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_98 WHERE venue = "vfl park"
Write a SQL query that answers the following question: On which date was the venue of vfl park used?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_37 WHERE venue = "vfl park"
Write a SQL query that answers the following question: What was the Average crowd when the away team was north melbourne?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_17 WHERE away_team = "north melbourne"
Write a SQL query that answers the following question: What is the maximum torque at rpm for the engine coded BJB/BKC/BXE/BLS?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR)
SELECT max_torque_at_rpm FROM table_name_7 WHERE engine_code_s_ = "bjb/bkc/bxe/bls"
Write a SQL query that answers the following question: What is the maximum power at rpm for the engine named 2.0 TDI that has a 1968cc displacement?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (max_power_at_rpm VARCHAR, displacement VARCHAR, engine_name VARCHAR)
SELECT max_power_at_rpm FROM table_name_90 WHERE displacement = "1968cc" AND engine_name = "2.0 tdi"
Write a SQL query that answers the following question: What is the maximum torque at rpm for the engine with code BMM?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR)
SELECT max_torque_at_rpm FROM table_name_90 WHERE engine_code_s_ = "bmm"
Write a SQL query that answers the following question: What is the maximum torque at rpm for the engine with code BMM?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR)
SELECT max_torque_at_rpm FROM table_name_31 WHERE engine_code_s_ = "bmm"
Write a SQL query that answers the following question: What is the engine name that has a maximum torque at rpm of n·m ( lbf·ft ) @ 3,800?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (engine_name VARCHAR, max_torque_at_rpm VARCHAR)
SELECT engine_name FROM table_name_42 WHERE max_torque_at_rpm = "n·m ( lbf·ft ) @ 3,800"
Write a SQL query that answers the following question: What was the result of t.u.f.f. puppy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (result VARCHAR, work VARCHAR)
SELECT result FROM table_name_37 WHERE work = "t.u.f.f. puppy"
Write a SQL query that answers the following question: what is the score for the 2010 world cup qualifying?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_1 WHERE competition = "2010 world cup qualifying"
Write a SQL query that answers the following question: Which home has a Date of november 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_16 WHERE date = "november 7"
Write a SQL query that answers the following question: What is the lowest attendance on November 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_name_94 WHERE date = "november 18"
Write a SQL query that answers the following question: What is the date of the game where Dipietro earned a decision and Carolina was the visiting team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (date VARCHAR, decision VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_28 WHERE decision = "dipietro" AND visitor = "carolina"
Write a SQL query that answers the following question: Who is the visiting team when Dipietro received a decision on October 27?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (visitor VARCHAR, decision VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_50 WHERE decision = "dipietro" AND date = "october 27"
Write a SQL query that answers the following question: What was the record when the home team is Washington?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_57 WHERE home = "washington"
Write a SQL query that answers the following question: What was the score of the game on October 20 when the home team is the NY Islanders?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT score FROM table_name_57 WHERE home = "ny islanders" AND date = "october 20"
Write a SQL query that answers the following question: In the Endangered Wildlife Series from the Royal Canadian Mint numismatic coins printed in the 2000s, what theme had a mintage of 700?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (theme VARCHAR, mintage VARCHAR)
SELECT theme FROM table_name_73 WHERE mintage = 700
Write a SQL query that answers the following question: What year had an issue price of $2,995.95, and a theme of grizzly bear?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (year INTEGER, issue_price VARCHAR, theme VARCHAR)
SELECT MAX(year) FROM table_name_10 WHERE issue_price = "$2,995.95" AND theme = "grizzly bear"
Write a SQL query that answers the following question: Tell me the total for silver more than 0 for italy with gold less than 29
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT MIN(total) FROM table_name_26 WHERE silver > 0 AND nation = "italy" AND gold < 29
Write a SQL query that answers the following question: Tell me the average bronze for total less than 4 and silver more than 0
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (bronze INTEGER, total VARCHAR, silver VARCHAR)
SELECT AVG(bronze) FROM table_name_96 WHERE total < 4 AND silver > 0