instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the highest game with a 1-0 record, and the Hornets scored more than 100?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (game INTEGER, record VARCHAR, hornets_score VARCHAR)
SELECT MAX(game) FROM table_name_32 WHERE record = "1-0" AND hornets_score > 100
Write a SQL query that answers the following question: When was Daniel Moro born?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (date_of_birth VARCHAR, name VARCHAR)
SELECT date_of_birth FROM table_name_63 WHERE name = "daniel moro"
Write a SQL query that answers the following question: What was the score for the player than won $450?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (score VARCHAR, money___$__ VARCHAR)
SELECT score FROM table_name_64 WHERE money___$__ = 450
Write a SQL query that answers the following question: What place did the player that took won $350 finish in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (place VARCHAR, money___$__ VARCHAR)
SELECT place FROM table_name_21 WHERE money___$__ = 350
Write a SQL query that answers the following question: Which player had a score of 71-73-68-75=287?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_53 WHERE score = 71 - 73 - 68 - 75 = 287
Write a SQL query that answers the following question: What is Year, when Name is "Dong Shihou, 29 (董世侯)"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (year VARCHAR, name VARCHAR)
SELECT year FROM table_name_93 WHERE name = "dong shihou, 29 (董世侯)"
Write a SQL query that answers the following question: What is Name, when Location is "DZ"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (name VARCHAR, location VARCHAR)
SELECT name FROM table_name_23 WHERE location = "dz"
Write a SQL query that answers the following question: What is Injured, when Date is "09.15 Sep. 15"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (injured VARCHAR, date VARCHAR)
SELECT injured FROM table_name_98 WHERE date = "09.15 sep. 15"
Write a SQL query that answers the following question: What is Date, when Name is "Guay, Albert , 32"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (date VARCHAR, name VARCHAR)
SELECT date FROM table_name_48 WHERE name = "guay, albert , 32"
Write a SQL query that answers the following question: What is the highest grid for rider Fonsi Nieto?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (grid INTEGER, rider VARCHAR)
SELECT MAX(grid) FROM table_name_7 WHERE rider = "fonsi nieto"
Write a SQL query that answers the following question: What was the total number of Laps for the rider whose time was +7.951?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (laps VARCHAR, time VARCHAR)
SELECT COUNT(laps) FROM table_name_2 WHERE time = "+7.951"
Write a SQL query that answers the following question: What was the highest number of laps for rider Shuhei Aoyama in a grid higher than 24?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (laps INTEGER, rider VARCHAR, grid VARCHAR)
SELECT MAX(laps) FROM table_name_37 WHERE rider = "shuhei aoyama" AND grid > 24
Write a SQL query that answers the following question: What was the grid for rider Russell Holland, riding a Honda CBR1000rr?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (grid VARCHAR, bike VARCHAR, rider VARCHAR)
SELECT grid FROM table_name_75 WHERE bike = "honda cbr1000rr" AND rider = "russell holland"
Write a SQL query that answers the following question: Who was the rider who went 14 laps on a Honda CBR1000rr, with a time of +1'04.877 on a grid larger than 23?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT rider FROM table_name_46 WHERE laps = 14 AND grid > 23 AND bike = "honda cbr1000rr" AND time = "+1'04.877"
Write a SQL query that answers the following question: What is the earliest year with a Drama Desk award when the Mineola Twins was a nominated work?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (year INTEGER, award VARCHAR, nominated_work VARCHAR)
SELECT MIN(year) FROM table_name_90 WHERE award = "drama desk award" AND nominated_work = "the mineola twins"
Write a SQL query that answers the following question: Which nominated work is in the category of best performance by a leading actress in a play earlier than 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (nominated_work VARCHAR, category VARCHAR, year VARCHAR)
SELECT nominated_work FROM table_name_67 WHERE category = "best performance by a leading actress in a play" AND year < 2007
Write a SQL query that answers the following question: What is the most recent year that the Mineola Twins was nominated for outstanding actress in a play and a Drama Desk award?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (year INTEGER, award VARCHAR, nominated_work VARCHAR, category VARCHAR)
SELECT MAX(year) FROM table_name_54 WHERE nominated_work = "the mineola twins" AND category = "outstanding actress in a play" AND award = "drama desk award"
Write a SQL query that answers the following question: What is the result for the Outer Critics Circle award earlier than 2004?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (result VARCHAR, award VARCHAR, year VARCHAR)
SELECT result FROM table_name_6 WHERE award = "outer critics circle award" AND year < 2004
Write a SQL query that answers the following question: In what year was The House of Blue Leaves nominated for outstanding actress in a play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (year INTEGER, nominated_work VARCHAR, category VARCHAR)
SELECT SUM(year) FROM table_name_62 WHERE nominated_work = "the house of blue leaves" AND category = "outstanding actress in a play"
Write a SQL query that answers the following question: Which Country has a Total smaller than 284?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (country VARCHAR, total INTEGER)
SELECT country FROM table_name_75 WHERE total < 284
Write a SQL query that answers the following question: Which To par has a Year(s) won of 1983?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (to_par VARCHAR, year_s__won VARCHAR)
SELECT to_par FROM table_name_15 WHERE year_s__won = "1983"
Write a SQL query that answers the following question: How many Total has a Player of dave stockton?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (total VARCHAR, player VARCHAR)
SELECT COUNT(total) FROM table_name_53 WHERE player = "dave stockton"
Write a SQL query that answers the following question: What was the result in 1973 when the surface was clay?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (outcome VARCHAR, year VARCHAR, surface VARCHAR)
SELECT outcome FROM table_name_73 WHERE year = 1973 AND surface = "clay"
Write a SQL query that answers the following question: What was the outcome in 1975?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (outcome VARCHAR, year VARCHAR)
SELECT outcome FROM table_name_25 WHERE year = 1975
Write a SQL query that answers the following question: Who was Margaret Court's opponent on clay in 1975?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (opponents VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR)
SELECT opponents FROM table_name_84 WHERE surface = "clay" AND partner = "margaret court" AND year = 1975
Write a SQL query that answers the following question: What is the number of against when Central Murray is Tooleybuc Manangatang and there are fewer than 13 wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (against INTEGER, central_murray VARCHAR, wins VARCHAR)
SELECT MAX(against) FROM table_name_90 WHERE central_murray = "tooleybuc manangatang" AND wins < 13
Write a SQL query that answers the following question: How many byes when the draws are fewer than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (byes INTEGER, draws INTEGER)
SELECT AVG(byes) FROM table_name_84 WHERE draws < 0
Write a SQL query that answers the following question: What is the byes for Woorineen when losses are more than 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (byes INTEGER, central_murray VARCHAR, losses VARCHAR)
SELECT SUM(byes) FROM table_name_27 WHERE central_murray = "woorineen" AND losses > 13
Write a SQL query that answers the following question: How many wins when there are 4 losses and against are fewer than 1281?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (wins INTEGER, losses VARCHAR, against VARCHAR)
SELECT AVG(wins) FROM table_name_7 WHERE losses = 4 AND against < 1281
Write a SQL query that answers the following question: How many against when losses are 11 and wins are fewer than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (against INTEGER, losses VARCHAR, wins VARCHAR)
SELECT AVG(against) FROM table_name_24 WHERE losses = 11 AND wins < 5
Write a SQL query that answers the following question: which Player has a To par of –7, and a Country of spain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_67 WHERE to_par = "–7" AND country = "spain"
Write a SQL query that answers the following question: What doctor published on June 2003?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (doctor VARCHAR, published VARCHAR)
SELECT doctor FROM table_name_40 WHERE published = "june 2003"
Write a SQL query that answers the following question: What title was published on November 2001 and has a 1st Doctor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (title VARCHAR, doctor VARCHAR, published VARCHAR)
SELECT title FROM table_name_99 WHERE doctor = "1st" AND published = "november 2001"
Write a SQL query that answers the following question: What is the title of the 8th doctor published in January 2003?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (title VARCHAR, doctor VARCHAR, published VARCHAR)
SELECT title FROM table_name_74 WHERE doctor = "8th" AND published = "january 2003"
Write a SQL query that answers the following question: What is the companion for the author Dave Stone?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (companion_s_ VARCHAR, author VARCHAR)
SELECT companion_s_ FROM table_name_7 WHERE author = "dave stone"
Write a SQL query that answers the following question: What Player won the PGA in 1989?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (player VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_29 WHERE year_s__won = "1989"
Write a SQL query that answers the following question: Which player is from Northern Ireland?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_42 WHERE country = "northern ireland"
Write a SQL query that answers the following question: What player has a score of 69-68-68=205?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_43 WHERE score = 69 - 68 - 68 = 205
Write a SQL query that answers the following question: Which Week has an Attendance larger than 63,369?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (week INTEGER, attendance INTEGER)
SELECT MIN(week) FROM table_name_90 WHERE attendance > 63 OFFSET 369
Write a SQL query that answers the following question: What was the result on september 26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_43 WHERE date = "september 26"
Write a SQL query that answers the following question: Which Week has a Game site of oakland-alameda county coliseum, and an Attendance larger than 52,169?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (week INTEGER, game_site VARCHAR, attendance VARCHAR)
SELECT MIN(week) FROM table_name_71 WHERE game_site = "oakland-alameda county coliseum" AND attendance > 52 OFFSET 169
Write a SQL query that answers the following question: What is Player, when Score is "68-71=139"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_80 WHERE score = 68 - 71 = 139
Write a SQL query that answers the following question: What is Country, when Player is "Tom Watson"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_99 WHERE player = "tom watson"
Write a SQL query that answers the following question: How many against on the date of 08/06/1985?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (against INTEGER, date VARCHAR)
SELECT SUM(against) FROM table_name_64 WHERE date = "08/06/1985"
Write a SQL query that answers the following question: What is the venue for the match on 30/03/1985?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_80 WHERE date = "30/03/1985"
Write a SQL query that answers the following question: What is the status of the match with 24 against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (status VARCHAR, against VARCHAR)
SELECT status FROM table_name_19 WHERE against = 24
Write a SQL query that answers the following question: Who was the opposing team when the status is second test?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (opposing_teams VARCHAR, status VARCHAR)
SELECT opposing_teams FROM table_name_76 WHERE status = "second test"
Write a SQL query that answers the following question: What is the status when Wales is the opposing team and there are more than 13 against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (status VARCHAR, against VARCHAR, opposing_teams VARCHAR)
SELECT status FROM table_name_81 WHERE against > 13 AND opposing_teams = "wales"
Write a SQL query that answers the following question: What is the lowest number of households for the entry with a median income of $41,778 and a population greater than 38,319?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR)
SELECT MIN(number_of_households) FROM table_name_77 WHERE median_family_income = "$41,778" AND population > 38 OFFSET 319
Write a SQL query that answers the following question: Which Church has 27 stops?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (church VARCHAR, stops VARCHAR)
SELECT church FROM table_name_71 WHERE stops = "27"
Write a SQL query that answers the following question: Who is the opponent(s) in round 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (opponents VARCHAR, round VARCHAR)
SELECT opponents FROM table_name_12 WHERE round = "round 6"
Write a SQL query that answers the following question: In what year was the winner a soccer player from Virginia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (year INTEGER, sport VARCHAR, college VARCHAR)
SELECT SUM(year) FROM table_name_81 WHERE sport = "soccer" AND college = "virginia"
Write a SQL query that answers the following question: In what year did Morgan Brian win?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (year INTEGER, winner VARCHAR)
SELECT AVG(year) FROM table_name_75 WHERE winner = "morgan brian"
Write a SQL query that answers the following question: Who is the winner who attended college at Connecticut and is from North Syracuse, NY?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (winner VARCHAR, college VARCHAR, hometown VARCHAR)
SELECT winner FROM table_name_63 WHERE college = "connecticut" AND hometown = "north syracuse, ny"
Write a SQL query that answers the following question: What is the hometown of the player who went to college at USC?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (hometown VARCHAR, college VARCHAR)
SELECT hometown FROM table_name_33 WHERE college = "usc"
Write a SQL query that answers the following question: What is the lowest Draws, when Against is "1547", and when Wins is greater than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (draws INTEGER, against VARCHAR, wins VARCHAR)
SELECT MIN(draws) FROM table_name_42 WHERE against = 1547 AND wins > 3
Write a SQL query that answers the following question: What is the total number of Wins, when Losses is "6", and when Draws is greater than "0"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (wins VARCHAR, losses VARCHAR, draws VARCHAR)
SELECT COUNT(wins) FROM table_name_70 WHERE losses = 6 AND draws > 0
Write a SQL query that answers the following question: What is the lowest Draws, when Byes is less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (draws INTEGER, byes INTEGER)
SELECT MIN(draws) FROM table_name_6 WHERE byes < 2
Write a SQL query that answers the following question: What is the total number of Draws, when Against is "1134", and when Byes is less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (draws VARCHAR, against VARCHAR, byes VARCHAR)
SELECT COUNT(draws) FROM table_name_21 WHERE against = 1134 AND byes < 2
Write a SQL query that answers the following question: What is the sum of Wins, when Against is less than 1033, when Golden Rivers is "Nullawil", and when Byes is less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (wins INTEGER, byes VARCHAR, against VARCHAR, golden_rivers VARCHAR)
SELECT SUM(wins) FROM table_name_85 WHERE against < 1033 AND golden_rivers = "nullawil" AND byes < 2
Write a SQL query that answers the following question: Which Year has a Competition of european championships, and Notes of 66.81 m?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (year INTEGER, competition VARCHAR, notes VARCHAR)
SELECT SUM(year) FROM table_name_26 WHERE competition = "european championships" AND notes = "66.81 m"
Write a SQL query that answers the following question: Which Position has a Venue of berlin, germany?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (position VARCHAR, venue VARCHAR)
SELECT position FROM table_name_3 WHERE venue = "berlin, germany"
Write a SQL query that answers the following question: Which competition was held in Arles, France?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_87 WHERE venue = "arles, france"
Write a SQL query that answers the following question: What is the M1A1 when the M60A3 was T (Short Tons)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (m1a1_abrams VARCHAR, m60a3_patton VARCHAR)
SELECT m1a1_abrams FROM table_name_8 WHERE m60a3_patton = "t (short tons)"
Write a SQL query that answers the following question: What is the M60A3 when the M1A1 is T (Short Tons)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (m60a3_patton VARCHAR, m1a1_abrams VARCHAR)
SELECT m60a3_patton FROM table_name_17 WHERE m1a1_abrams = "t (short tons)"
Write a SQL query that answers the following question: What is the M60A3 that has an M1A1 of Km (mi)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (m60a3_patton VARCHAR, m1a1_abrams VARCHAR)
SELECT m60a3_patton FROM table_name_66 WHERE m1a1_abrams = "km (mi)"
Write a SQL query that answers the following question: What is the M60A3 that has 40 rounds as Leclerc?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (m60a3_patton VARCHAR, leclerc VARCHAR)
SELECT m60a3_patton FROM table_name_28 WHERE leclerc = "40 rounds"
Write a SQL query that answers the following question: What's the lince when Leclerc was Hp (kw)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (lince VARCHAR, leclerc VARCHAR)
SELECT lince FROM table_name_8 WHERE leclerc = "hp (kw)"
Write a SQL query that answers the following question: What is the M1A1 when the Lince was T (Short Tons)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (m1a1_abrams VARCHAR, lince VARCHAR)
SELECT m1a1_abrams FROM table_name_92 WHERE lince = "t (short tons)"
Write a SQL query that answers the following question: Which Distance has a Time of 2:20.00?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (distance VARCHAR, time VARCHAR)
SELECT distance FROM table_name_73 WHERE time = "2:20.00"
Write a SQL query that answers the following question: Which Distance has an Event of breaststroke, and a Location of beijing, chn?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (distance VARCHAR, event VARCHAR, location VARCHAR)
SELECT distance FROM table_name_16 WHERE event = "breaststroke" AND location = "beijing, chn"
Write a SQL query that answers the following question: What Meet has a Time of 1:04.84?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (meet VARCHAR, time VARCHAR)
SELECT meet FROM table_name_5 WHERE time = "1:04.84"
Write a SQL query that answers the following question: What season had a viewer rank of #4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (season VARCHAR, viewer_rank___number_ VARCHAR)
SELECT COUNT(season) FROM table_name_58 WHERE viewer_rank___number_ = "#4"
Write a SQL query that answers the following question: Which season had less than 25.4 viewers and had a viewer rank of #6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (season INTEGER, households_viewers__in_millions_ VARCHAR, viewer_rank___number_ VARCHAR)
SELECT MIN(season) FROM table_name_43 WHERE households_viewers__in_millions_ < 25.4 AND viewer_rank___number_ = "#6"
Write a SQL query that answers the following question: When did the season premiere that had a viewer rank of #6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (season VARCHAR, viewer_rank___number_ VARCHAR)
SELECT season AS premiere FROM table_name_12 WHERE viewer_rank___number_ = "#6"
Write a SQL query that answers the following question: What is the total number of gold medals of the ranked 2nd nation, which has less than 2 silvers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (gold VARCHAR, rank VARCHAR, silver VARCHAR)
SELECT COUNT(gold) FROM table_name_16 WHERE rank = "2" AND silver < 2
Write a SQL query that answers the following question: What is the total number of gold medals of the nation with 0 silver and more than 1 bronze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (gold VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT COUNT(gold) FROM table_name_47 WHERE silver = 0 AND bronze > 1
Write a SQL query that answers the following question: What is the lowest number of bronze of the nation with more than 13 total medals, more than 10 gold medals, and less than 22 silvers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (bronze INTEGER, silver VARCHAR, total VARCHAR, gold VARCHAR)
SELECT MIN(bronze) FROM table_name_3 WHERE total > 13 AND gold > 10 AND silver < 22
Write a SQL query that answers the following question: What was the main date of the round with 20 fixtures?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (main_date VARCHAR, number_of_fixtures VARCHAR)
SELECT main_date FROM table_name_81 WHERE number_of_fixtures = 20
Write a SQL query that answers the following question: What were the new entries for the Semi-Finals round with fewer than 8 fixtures?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (new_entries_this_round VARCHAR, number_of_fixtures VARCHAR, round VARCHAR)
SELECT new_entries_this_round FROM table_name_97 WHERE number_of_fixtures < 8 AND round = "semi-finals"
Write a SQL query that answers the following question: What was the club when home ground was Central Reserve?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (club VARCHAR, home_ground VARCHAR)
SELECT club FROM table_name_59 WHERE home_ground = "central reserve"
Write a SQL query that answers the following question: What's the GFL Premiership when the home ground was Leopold Memorial Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (gfl_premierships VARCHAR, home_ground VARCHAR)
SELECT gfl_premierships FROM table_name_4 WHERE home_ground = "leopold memorial park"
Write a SQL query that answers the following question: What's the location where the Years in GFL was 1988-?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (location VARCHAR, years_in_gfl VARCHAR)
SELECT location FROM table_name_39 WHERE years_in_gfl = "1988-"
Write a SQL query that answers the following question: What's the home ground of the Lions?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (home_ground VARCHAR, nickname VARCHAR)
SELECT home_ground FROM table_name_15 WHERE nickname = "lions"
Write a SQL query that answers the following question: What is the location of the Saints having 1979- as Years in GFL?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (location VARCHAR, years_in_gfl VARCHAR, nickname VARCHAR)
SELECT location FROM table_name_37 WHERE years_in_gfl = "1979-" AND nickname = "saints"
Write a SQL query that answers the following question: What is the type of the player who ended in 2013, had a summer transfer window, and moved from kalmar ff?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (type VARCHAR, moving_from VARCHAR, ends VARCHAR, transfer_window VARCHAR)
SELECT type FROM table_name_34 WHERE ends = 2013 AND transfer_window = "summer" AND moving_from = "kalmar ff"
Write a SQL query that answers the following question: Where did the player with a transfer type, a summer transfer window, and ended before 2013 move from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (moving_from VARCHAR, ends VARCHAR, type VARCHAR, transfer_window VARCHAR)
SELECT moving_from FROM table_name_38 WHERE type = "transfer" AND transfer_window = "summer" AND ends < 2013
Write a SQL query that answers the following question: What is the transfer window for larsson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (transfer_window VARCHAR, name VARCHAR)
SELECT transfer_window FROM table_name_8 WHERE name = "larsson"
Write a SQL query that answers the following question: What is the average end year of the player from swe and a summer transfer window?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (ends INTEGER, nat VARCHAR, transfer_window VARCHAR)
SELECT AVG(ends) FROM table_name_81 WHERE nat = "swe" AND transfer_window = "summer"
Write a SQL query that answers the following question: What was the outcome on 2 December 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_26 WHERE date = "2 december 2012"
Write a SQL query that answers the following question: What is the score of the final in $10,000 – tarakan , indonesia f2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (score_in_final VARCHAR, tournament VARCHAR)
SELECT score_in_final FROM table_name_97 WHERE tournament = "$10,000 – tarakan , indonesia f2"
Write a SQL query that answers the following question: What was the place for the score 70-72-69=211?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_60 WHERE score = 70 - 72 - 69 = 211
Write a SQL query that answers the following question: What was the player for t9 and a score of 73-69-74=216?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_97 WHERE place = "t9" AND score = 73 - 69 - 74 = 216
Write a SQL query that answers the following question: What was Stacy Lewis' place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_50 WHERE player = "stacy lewis"
Write a SQL query that answers the following question: What was the score when the tie no was 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_87 WHERE tie_no = "13"
Write a SQL query that answers the following question: What was the score when Burnley was the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_31 WHERE away_team = "burnley"
Write a SQL query that answers the following question: What is the To par when the finish is 66?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (to_par VARCHAR, finish VARCHAR)
SELECT to_par FROM table_name_32 WHERE finish = "66"
Write a SQL query that answers the following question: When the year won is 1981, 1987, and the finish is t46, what is the lowest total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (total INTEGER, finish VARCHAR, year_s__won VARCHAR)
SELECT MIN(total) FROM table_name_58 WHERE finish = "t46" AND year_s__won = "1981, 1987"
Write a SQL query that answers the following question: Which year was won with a finish of 68
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (year_s__won VARCHAR, finish VARCHAR)
SELECT year_s__won FROM table_name_25 WHERE finish = "68"
Write a SQL query that answers the following question: WHTA IS THE SNATCH WITH A TOTAL OF LARGER THAN 318 KG AND BODY WEIGHT OF 84.15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (snatch INTEGER, total__kg_ VARCHAR, bodyweight VARCHAR)
SELECT AVG(snatch) FROM table_name_19 WHERE total__kg_ > 318 AND bodyweight = 84.15