instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the total wins with less than 21 goals taken?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (wins INTEGER, goals_against INTEGER)
SELECT SUM(wins) FROM table_name_19 WHERE goals_against < 21
Write a SQL query that answers the following question: What is the date of game 59?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_96 WHERE game = 59
Write a SQL query that answers the following question: What player is a lock with 1 cap?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (player VARCHAR, position VARCHAR, caps VARCHAR)
SELECT player FROM table_name_16 WHERE position = "lock" AND caps = 1
Write a SQL query that answers the following question: What position does ceri sweeney with under 87 caps of the newport gwent dragons play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (position VARCHAR, player VARCHAR, club_province VARCHAR, caps VARCHAR)
SELECT position FROM table_name_41 WHERE club_province = "newport gwent dragons" AND caps < 87 AND player = "ceri sweeney"
Write a SQL query that answers the following question: What player has 12 caps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (player VARCHAR, caps VARCHAR)
SELECT player FROM table_name_36 WHERE caps = 12
Write a SQL query that answers the following question: Tell me the Shuji Kondo for MAZADA of X with Ryuji Hijikata of hijikata (14:24)
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (shuji_kondo VARCHAR, mazada VARCHAR, ryuji_hijikata VARCHAR)
SELECT shuji_kondo FROM table_name_90 WHERE mazada = "x" AND ryuji_hijikata = "hijikata (14:24)"
Write a SQL query that answers the following question: Name the El samurai with MAZADA of x for Ryuji Hijikata of draw (30:00)
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (el_samurai VARCHAR, mazada VARCHAR, ryuji_hijikata VARCHAR)
SELECT el_samurai FROM table_name_30 WHERE mazada = "x" AND ryuji_hijikata = "draw (30:00)"
Write a SQL query that answers the following question: Name the MAZADA for El Samurai of mazada (16:22)
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (mazada VARCHAR, el_samurai VARCHAR)
SELECT mazada FROM table_name_67 WHERE el_samurai = "mazada (16:22)"
Write a SQL query that answers the following question: Name the Shuji Kondo for MAZADA of hijikata (14:24)
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (shuji_kondo VARCHAR, mazada VARCHAR)
SELECT shuji_kondo FROM table_name_61 WHERE mazada = "hijikata (14:24)"
Write a SQL query that answers the following question: when was the building withdrawn when the builder was ac cars and was introduced before 1958?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (withdrawn INTEGER, builder VARCHAR, introduced VARCHAR)
SELECT SUM(withdrawn) FROM table_name_78 WHERE builder = "ac cars" AND introduced < 1958
Write a SQL query that answers the following question: What was the decision on october 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (decision VARCHAR, date VARCHAR)
SELECT decision FROM table_name_44 WHERE date = "october 5"
Write a SQL query that answers the following question: Who played home team at Victoria Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_41 WHERE venue = "victoria park"
Write a SQL query that answers the following question: What Season has Goals greater than 0 and less than 33 Apps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (season VARCHAR, goals VARCHAR, apps VARCHAR)
SELECT season FROM table_name_34 WHERE goals > 0 AND apps < 33
Write a SQL query that answers the following question: How many carries for the RB averaging 4.7, and a long of over 30 yards?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (car INTEGER, avg VARCHAR, long VARCHAR)
SELECT SUM(car) FROM table_name_65 WHERE avg = 4.7 AND long > 30
Write a SQL query that answers the following question: How many yards did kevin swayne average, with a long carry over 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (avg INTEGER, player VARCHAR, long VARCHAR)
SELECT MIN(avg) FROM table_name_43 WHERE player = "kevin swayne" AND long > 7
Write a SQL query that answers the following question: What is the catalogue for Harbor Lights as a title?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (catalogue VARCHAR, song_title VARCHAR)
SELECT catalogue FROM table_name_59 WHERE song_title = "harbor lights"
Write a SQL query that answers the following question: What cataglogue has 27 tracks?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (catalogue VARCHAR, track VARCHAR)
SELECT catalogue FROM table_name_51 WHERE track = 27
Write a SQL query that answers the following question: Which year first played with Double W-L of 8–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (first_year_played VARCHAR, doubles_w_l VARCHAR)
SELECT first_year_played FROM table_name_12 WHERE doubles_w_l = "8–3"
Write a SQL query that answers the following question: What is the height that has a year after 1983 and is named Phoenix Tower?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (height_ft___m VARCHAR, year VARCHAR, name VARCHAR)
SELECT height_ft___m FROM table_name_28 WHERE year > 1983 AND name = "phoenix tower"
Write a SQL query that answers the following question: What is the oldest year listed with the 1500 Louisiana Street name?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (year INTEGER, name VARCHAR)
SELECT MIN(year) FROM table_name_87 WHERE name = "1500 louisiana street"
Write a SQL query that answers the following question: What is the Height of rank 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (height_ft___m VARCHAR, rank VARCHAR)
SELECT height_ft___m FROM table_name_32 WHERE rank = "11"
Write a SQL query that answers the following question: What is the largest enrollment for anglican day schools founded after 1929?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (enrolment INTEGER, founded VARCHAR, denomination VARCHAR, day_boarding VARCHAR)
SELECT MAX(enrolment) FROM table_name_82 WHERE denomination = "anglican" AND day_boarding = "day" AND founded > 1929
Write a SQL query that answers the following question: What city of license is associated with call sign w244bk?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (city_of_license VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_44 WHERE call_sign = "w244bk"
Write a SQL query that answers the following question: What city of license has a Frequency under 107.7, and a call sign of w247aq?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_52 WHERE frequency_mhz < 107.7 AND call_sign = "w247aq"
Write a SQL query that answers the following question: Which team was played against on the game where Earl Watson (6) had the highest assists on January 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (team VARCHAR, high_assists VARCHAR, date VARCHAR)
SELECT team FROM table_name_19 WHERE high_assists = "earl watson (6)" AND date = "january 19"
Write a SQL query that answers the following question: A singular abbreviation of p. is used for what singular word?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (singular_word VARCHAR, singular_abbreviation VARCHAR)
SELECT singular_word FROM table_name_18 WHERE singular_abbreviation = "p."
Write a SQL query that answers the following question: A plural abbreviation of pp. is used for what singular word?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (singular_word VARCHAR, plural_abbreviation VARCHAR)
SELECT singular_word FROM table_name_82 WHERE plural_abbreviation = "pp."
Write a SQL query that answers the following question: The plural word of hands uses what singular word?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (singular_word VARCHAR, plural_word VARCHAR)
SELECT singular_word FROM table_name_24 WHERE plural_word = "hands"
Write a SQL query that answers the following question: The plural word of following lines or pages has what plural abbreviation?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (plural_abbreviation VARCHAR, plural_word VARCHAR)
SELECT plural_abbreviation FROM table_name_21 WHERE plural_word = "following lines or pages"
Write a SQL query that answers the following question: The plural abbreviation of ll. uses what plural word?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (plural_word VARCHAR, plural_abbreviation VARCHAR)
SELECT plural_word FROM table_name_94 WHERE plural_abbreviation = "ll."
Write a SQL query that answers the following question: The singular word of hand uses what plural word?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (plural_word VARCHAR, singular_word VARCHAR)
SELECT plural_word FROM table_name_20 WHERE singular_word = "hand"
Write a SQL query that answers the following question: How much did the home team st kilda score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_76 WHERE home_team = "st kilda"
Write a SQL query that answers the following question: When the crowd was larger than 7,500 what was the away teams score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (away_team VARCHAR, crowd INTEGER)
SELECT away_team AS score FROM table_name_84 WHERE crowd > 7 OFFSET 500
Write a SQL query that answers the following question: What's the total number of people to attend games at junction oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (crowd VARCHAR, venue VARCHAR)
SELECT COUNT(crowd) FROM table_name_42 WHERE venue = "junction oval"
Write a SQL query that answers the following question: How many people have attended victoria park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (crowd VARCHAR, venue VARCHAR)
SELECT COUNT(crowd) FROM table_name_62 WHERE venue = "victoria park"
Write a SQL query that answers the following question: How many people voted in the election of 1941?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (number_of_votes VARCHAR, election VARCHAR)
SELECT number_of_votes FROM table_name_79 WHERE election = 1941
Write a SQL query that answers the following question: Which candidate lost the election that 770,046 people voted in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (candidate VARCHAR, outcome_of_election VARCHAR, number_of_votes VARCHAR)
SELECT candidate FROM table_name_99 WHERE outcome_of_election = "lost" AND number_of_votes = "770,046"
Write a SQL query that answers the following question: Which candidate won 61.47% of the votes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (candidate VARCHAR, share_of_votes VARCHAR)
SELECT candidate FROM table_name_82 WHERE share_of_votes = "61.47%"
Write a SQL query that answers the following question: What percentage of votes did the candidate win in the election of 1969?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (share_of_votes VARCHAR, election VARCHAR)
SELECT share_of_votes FROM table_name_26 WHERE election = 1969
Write a SQL query that answers the following question: Which GWR numbers had a quantity less than 2 when the M&SWJ number was 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (gwr_nos VARCHAR, quantity VARCHAR, m VARCHAR, swj_nos VARCHAR)
SELECT gwr_nos FROM table_name_79 WHERE quantity < 2 AND m & swj_nos = "9"
Write a SQL query that answers the following question: Which manucfaturer's type was 2-6-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (manufacturer VARCHAR, type VARCHAR)
SELECT manufacturer FROM table_name_68 WHERE type = "2-6-0"
Write a SQL query that answers the following question: What was the score of the game when the Devils had a record of 14–10–2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_61 WHERE record = "14–10–2"
Write a SQL query that answers the following question: What was the date of the game when the Devils had a record of 21–14–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_49 WHERE record = "21–14–3"
Write a SQL query that answers the following question: What distance did the winning horse run in the Summer Doldrums.
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (distance VARCHAR, winning_horse VARCHAR)
SELECT distance FROM table_name_7 WHERE winning_horse = "summer doldrums"
Write a SQL query that answers the following question: Who is the jockey for the winning horse Rafael Bejarano?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (winning_horse VARCHAR, winning_jockey VARCHAR)
SELECT winning_horse FROM table_name_81 WHERE winning_jockey = "rafael bejarano"
Write a SQL query that answers the following question: What is the race with the track distance of 6 furlongs and spectacular bid stakes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (track VARCHAR, distance VARCHAR, race VARCHAR)
SELECT track FROM table_name_29 WHERE distance = "6 furlongs" AND race = "spectacular bid stakes"
Write a SQL query that answers the following question: what race did Dominican win with a distance of 1-1/16 miles?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (race VARCHAR, winning_horse VARCHAR, distance VARCHAR)
SELECT race FROM table_name_57 WHERE winning_horse = "dominican" AND distance = "1-1/16 miles"
Write a SQL query that answers the following question: What tournament since 1973 has a result of 1st?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (tournament VARCHAR, result VARCHAR, year VARCHAR)
SELECT tournament FROM table_name_66 WHERE result = "1st" AND year > 1973
Write a SQL query that answers the following question: In what tournament was there an extra of 400 m hurdles?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (tournament VARCHAR, extra VARCHAR)
SELECT tournament FROM table_name_31 WHERE extra = "400 m hurdles"
Write a SQL query that answers the following question: What was the Result in Year 1973?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (result VARCHAR, year VARCHAR)
SELECT result FROM table_name_97 WHERE year = 1973
Write a SQL query that answers the following question: In which year was the Tournament of european indoor championships played where the Extra was 800 m and the Result was 2nd?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (year VARCHAR, result VARCHAR, extra VARCHAR, tournament VARCHAR)
SELECT year FROM table_name_95 WHERE extra = "800 m" AND tournament = "european indoor championships" AND result = "2nd"
Write a SQL query that answers the following question: What player is from Chula Vista, Ca?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (player VARCHAR, hometown VARCHAR)
SELECT player FROM table_name_29 WHERE hometown = "chula vista, ca"
Write a SQL query that answers the following question: What MLB draft has Shaun Boyd?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (mlb_draft VARCHAR, player VARCHAR)
SELECT mlb_draft FROM table_name_80 WHERE player = "shaun boyd"
Write a SQL query that answers the following question: what is the college/junior/club team (league) when the round is more than 2 and the player is bert robertsson (d)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (college_junior_club_team__league_ VARCHAR, round VARCHAR, player VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_96 WHERE round > 2 AND player = "bert robertsson (d)"
Write a SQL query that answers the following question: what is the college/junior/club team (league) when the round is less than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (college_junior_club_team__league_ VARCHAR, round INTEGER)
SELECT college_junior_club_team__league_ FROM table_name_82 WHERE round < 7
Write a SQL query that answers the following question: what is the nhl team for round 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (nhl_team VARCHAR, round VARCHAR)
SELECT nhl_team FROM table_name_92 WHERE round = 10
Write a SQL query that answers the following question: what is the highest round when the player is troy creurer (d)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (round INTEGER, player VARCHAR)
SELECT MAX(round) FROM table_name_90 WHERE player = "troy creurer (d)"
Write a SQL query that answers the following question: Who was the opponent on week 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_10 WHERE week = 3
Write a SQL query that answers the following question: What chapter is located in Normal, Illinois?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (chapter VARCHAR, location VARCHAR)
SELECT chapter FROM table_name_65 WHERE location = "normal, illinois"
Write a SQL query that answers the following question: What is the average position for tb2l teams promoted champion?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (pos INTEGER, league VARCHAR, postseason VARCHAR)
SELECT AVG(pos) FROM table_name_79 WHERE league = "tb2l" AND postseason = "promoted champion"
Write a SQL query that answers the following question: How many teams were promoted in the postseason in a tier above 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (pos VARCHAR, postseason VARCHAR, tier VARCHAR)
SELECT COUNT(pos) FROM table_name_51 WHERE postseason = "promoted" AND tier < 2
Write a SQL query that answers the following question: What is the Home team score At Windy Hill?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_48 WHERE venue = "windy hill"
Write a SQL query that answers the following question: Who is the partner in the final with a score of 2–6, 7–6, 7–6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (partner VARCHAR, score_in_the_final VARCHAR)
SELECT partner FROM table_name_10 WHERE score_in_the_final = "2–6, 7–6, 7–6"
Write a SQL query that answers the following question: On what surface was Ivan Lendl a partner with a runner-up outcome and final score of 2–6, 6–7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (surface VARCHAR, score_in_the_final VARCHAR, outcome VARCHAR, partner VARCHAR)
SELECT surface FROM table_name_66 WHERE outcome = "runner-up" AND partner = "ivan lendl" AND score_in_the_final = "2–6, 6–7"
Write a SQL query that answers the following question: What was the highest crowd at the venue MCG?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_97 WHERE venue = "mcg"
Write a SQL query that answers the following question: What is the away team score at the Windy Hill venue?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_8 WHERE venue = "windy hill"
Write a SQL query that answers the following question: Where was the game when Melbourne was the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_53 WHERE away_team = "melbourne"
Write a SQL query that answers the following question: What was the away score when the game was at Brunswick Street Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_70 WHERE venue = "brunswick street oval"
Write a SQL query that answers the following question: How many rounds were run at Calder Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (round VARCHAR, circuit VARCHAR)
SELECT COUNT(round) FROM table_name_28 WHERE circuit = "calder park"
Write a SQL query that answers the following question: In which state can you find the Sandown circuit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (state VARCHAR, circuit VARCHAR)
SELECT state FROM table_name_74 WHERE circuit = "sandown"
Write a SQL query that answers the following question: How many rounds were run in New South Wales?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (round VARCHAR, state VARCHAR)
SELECT COUNT(round) FROM table_name_84 WHERE state = "new south wales"
Write a SQL query that answers the following question: Who is the driver from 1969?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (driver VARCHAR, year VARCHAR)
SELECT driver FROM table_name_42 WHERE year = "1969"
Write a SQL query that answers the following question: Who was the driver in 1964?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (driver VARCHAR, year VARCHAR)
SELECT driver FROM table_name_83 WHERE year = "1964"
Write a SQL query that answers the following question: What is the highest diff with drawn of 6 and play larger than 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (diff INTEGER, drawn VARCHAR, played VARCHAR)
SELECT MAX(diff) FROM table_name_68 WHERE drawn = 6 AND played > 18
Write a SQL query that answers the following question: How many games were played when the loss is less than 5 and points greater than 41?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (played INTEGER, lost VARCHAR, points VARCHAR)
SELECT SUM(played) FROM table_name_85 WHERE lost < 5 AND points > 41
Write a SQL query that answers the following question: How many genes are in species burkholderia pseudomallei with 4,126,292 base pairs?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (genes VARCHAR, species VARCHAR, base_pairs VARCHAR)
SELECT genes FROM table_name_13 WHERE species = "burkholderia pseudomallei" AND base_pairs = "4,126,292"
Write a SQL query that answers the following question: Which strain has 1,312 genes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (strain VARCHAR, genes VARCHAR)
SELECT strain FROM table_name_50 WHERE genes = "1,312"
Write a SQL query that answers the following question: Which gene has 4,895,836 base pairs?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (genes VARCHAR, base_pairs VARCHAR)
SELECT genes FROM table_name_94 WHERE base_pairs = "4,895,836"
Write a SQL query that answers the following question: Which species has 3,441 genes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (species VARCHAR, genes VARCHAR)
SELECT species FROM table_name_58 WHERE genes = "3,441"
Write a SQL query that answers the following question: How many base pairs are there in the tohamai strain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (base_pairs VARCHAR, strain VARCHAR)
SELECT base_pairs FROM table_name_90 WHERE strain = "tohamai"
Write a SQL query that answers the following question: What was the home team score at junction oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_86 WHERE venue = "junction oval"
Write a SQL query that answers the following question: What was the away team score at western oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_46 WHERE venue = "western oval"
Write a SQL query that answers the following question: what is the lowest crowd at kardinia park
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_50 WHERE venue = "kardinia park"
Write a SQL query that answers the following question: What was the score for the tournament in Budapest?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (score VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_14 WHERE tournament = "budapest"
Write a SQL query that answers the following question: Which tournament did Patrick Rafter win?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (tournament VARCHAR, winner VARCHAR)
SELECT tournament FROM table_name_96 WHERE winner = "patrick rafter"
Write a SQL query that answers the following question: Which winner won by a score of 6–7(4), 7–6(3), [11–9]?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (winner VARCHAR, score VARCHAR)
SELECT winner FROM table_name_60 WHERE score = "6–7(4), 7–6(3), [11–9]"
Write a SQL query that answers the following question: what was the score when goran ivanišević was runner up and the tournament was in algarve?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (score VARCHAR, runner_up VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_53 WHERE runner_up = "goran ivanišević" AND tournament = "algarve"
Write a SQL query that answers the following question: What was the score when Stefan Edberg won?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (score VARCHAR, winner VARCHAR)
SELECT score FROM table_name_64 WHERE winner = "stefan edberg"
Write a SQL query that answers the following question: Which Date has an Away team of south melbourne?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_42 WHERE away_team = "south melbourne"
Write a SQL query that answers the following question: What is the Away team score for mcg?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_26 WHERE venue = "mcg"
Write a SQL query that answers the following question: What is the total Crowd with a Home team of collingwood?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (crowd INTEGER, home_team VARCHAR)
SELECT SUM(crowd) FROM table_name_98 WHERE home_team = "collingwood"
Write a SQL query that answers the following question: When mcg is the Venue what's the Away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_99 WHERE venue = "mcg"
Write a SQL query that answers the following question: When the Away team footscray played on the Date of 19 july 1980, what was the amount of people in the Crowd?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_1 WHERE date = "19 july 1980" AND away_team = "footscray"
Write a SQL query that answers the following question: When the Home team of collingwood played, what was the opposing Away team score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_49 WHERE home_team = "collingwood"
Write a SQL query that answers the following question: When the Crowd is larger than 23,327, what Home team is playing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (home_team VARCHAR, crowd INTEGER)
SELECT home_team FROM table_name_65 WHERE crowd > 23 OFFSET 327
Write a SQL query that answers the following question: When vfl park is the venue what's the Away team playing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_81 WHERE venue = "vfl park"
Write a SQL query that answers the following question: If collingwood was the Home team, what Date did they play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_71 WHERE home_team = "collingwood"
Write a SQL query that answers the following question: Which club has a capacity of 25138?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (club VARCHAR, capacity VARCHAR)
SELECT club FROM table_name_4 WHERE capacity = "25138"
Write a SQL query that answers the following question: What Rank in Respective Divisions has a capacity of 4100?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (Rank VARCHAR, capacity VARCHAR)
SELECT Rank IN Respective AS divisions FROM table_name_60 WHERE capacity = "4100"
Write a SQL query that answers the following question: What stadium has a club of west ham united?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (stadium VARCHAR, club VARCHAR)
SELECT stadium FROM table_name_76 WHERE club = "west ham united"