instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Which Score has an Opponent of seattle?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_62 WHERE opponent = "seattle"
Write a SQL query that answers the following question: Which Record has a High points of hoffman (16)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (record VARCHAR, high_points VARCHAR)
SELECT record FROM table_name_58 WHERE high_points = "hoffman (16)"
Write a SQL query that answers the following question: Which round has a record of 5-3 (1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (round INTEGER, record VARCHAR)
SELECT MIN(round) FROM table_name_51 WHERE record = "5-3 (1)"
Write a SQL query that answers the following question: Who were the Djurgarden scorers when the venue was Idrottsparken?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (djurgården_scorers VARCHAR, venue VARCHAR)
SELECT djurgården_scorers FROM table_name_21 WHERE venue = "idrottsparken"
Write a SQL query that answers the following question: what is the series when the team is gunbroker racing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (series VARCHAR, team VARCHAR)
SELECT series FROM table_name_95 WHERE team = "gunbroker racing"
Write a SQL query that answers the following question: what is the team when the make is dodge and the year is after 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (team VARCHAR, make VARCHAR, year VARCHAR)
SELECT team FROM table_name_18 WHERE make = "dodge" AND year > 2008
Write a SQL query that answers the following question: what is the make for the year 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (make VARCHAR, year VARCHAR)
SELECT make FROM table_name_88 WHERE year = 2008
Write a SQL query that answers the following question: what is the year when the driver was kevin lepage?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (year INTEGER, driver VARCHAR)
SELECT SUM(year) FROM table_name_87 WHERE driver = "kevin lepage"
Write a SQL query that answers the following question: what is the team when the schedule is limited, year is earlier than 2007 and the driver is jason white?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (team VARCHAR, driver VARCHAR, schedule VARCHAR, year VARCHAR)
SELECT team FROM table_name_54 WHERE schedule = "limited" AND year < 2007 AND driver = "jason white"
Write a SQL query that answers the following question: Which rank is the lowest with 37 games and more than 613 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (rank INTEGER, games VARCHAR, points VARCHAR)
SELECT MIN(rank) FROM table_name_44 WHERE games = 37 AND points > 613
Write a SQL query that answers the following question: What is Grupo Capitol Valladolid's highest rank with more than 34 games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (rank INTEGER, team VARCHAR, games VARCHAR)
SELECT MAX(rank) FROM table_name_99 WHERE team = "grupo capitol valladolid" AND games > 34
Write a SQL query that answers the following question: How many points are there for rank 5 with more than 34 games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (points VARCHAR, rank VARCHAR, games VARCHAR)
SELECT COUNT(points) FROM table_name_80 WHERE rank = 5 AND games > 34
Write a SQL query that answers the following question: Where is the kap shui mun bridge?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (location VARCHAR, name VARCHAR)
SELECT location FROM table_name_35 WHERE name = "kap shui mun bridge"
Write a SQL query that answers the following question: What tournament shows 2013 as 2r, and a 2010 as 1r?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (tournament VARCHAR)
SELECT tournament FROM table_name_32 WHERE 2013 = "2r" AND 2010 = "1r"
Write a SQL query that answers the following question: What shows for 2013 when the 2008 is 1r?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (Id VARCHAR)
SELECT 2013 FROM table_name_77 WHERE 2008 = "1r"
Write a SQL query that answers the following question: What shows for 2011 when 2012 is q1, and a 2010 is 4r?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (Id VARCHAR)
SELECT 2011 FROM table_name_49 WHERE 2012 = "q1" AND 2010 = "4r"
Write a SQL query that answers the following question: What tournament has a 2010 of 1r, and a 2008 of 1r?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (tournament VARCHAR)
SELECT tournament FROM table_name_4 WHERE 2010 = "1r" AND 2008 = "1r"
Write a SQL query that answers the following question: What shows for 2011 at the French open?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (tournament VARCHAR)
SELECT 2011 FROM table_name_82 WHERE tournament = "french open"
Write a SQL query that answers the following question: What shows for 2013 when 2012 is 2r?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (Id VARCHAR)
SELECT 2013 FROM table_name_16 WHERE 2012 = "2r"
Write a SQL query that answers the following question: How many South Asians were there in 2011 in Quebec when there were fewer than 59,510 in 2001?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (south_asians_2011 VARCHAR, province VARCHAR, south_asians_2001 VARCHAR)
SELECT COUNT(south_asians_2011) FROM table_name_19 WHERE province = "quebec" AND south_asians_2001 < 59 OFFSET 510
Write a SQL query that answers the following question: Which province had fewer than 190 South Asians in 2001 and 115 South Asians in 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (province VARCHAR, south_asians_2001 VARCHAR, south_asians_2011 VARCHAR)
SELECT province FROM table_name_56 WHERE south_asians_2001 < 190 AND south_asians_2011 = 115
Write a SQL query that answers the following question: How many South Asians on average were in Alberta in 2001 and in 2011 had 159,055?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (south_asians_2001 INTEGER, province VARCHAR, south_asians_2011 VARCHAR)
SELECT AVG(south_asians_2001) FROM table_name_86 WHERE province = "alberta" AND south_asians_2011 > 159 OFFSET 055
Write a SQL query that answers the following question: What is Result, when Extra is "Heptathlon", and when Venue is "Götzis , Austria"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (result VARCHAR, extra VARCHAR, venue VARCHAR)
SELECT result FROM table_name_62 WHERE extra = "heptathlon" AND venue = "götzis , austria"
Write a SQL query that answers the following question: What is the total number of Year(s), when Tournament is "World Championships"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (year VARCHAR, tournament VARCHAR)
SELECT COUNT(year) FROM table_name_50 WHERE tournament = "world championships"
Write a SQL query that answers the following question: What is Venue, when Year is 2005, and when Result is 8th?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (venue VARCHAR, year VARCHAR, result VARCHAR)
SELECT venue FROM table_name_63 WHERE year = 2005 AND result = "8th"
Write a SQL query that answers the following question: What is Tournament, when Result is 18th?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (tournament VARCHAR, result VARCHAR)
SELECT tournament FROM table_name_50 WHERE result = "18th"
Write a SQL query that answers the following question: What is Venue, when Year is after 2003, and when Tournament is "Hypo-Meeting"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (venue VARCHAR, year VARCHAR, tournament VARCHAR)
SELECT venue FROM table_name_89 WHERE year > 2003 AND tournament = "hypo-meeting"
Write a SQL query that answers the following question: When the score was 71-71-70-70=282 what was the To par recorded?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_94 WHERE score = 71 - 71 - 70 - 70 = 282
Write a SQL query that answers the following question: What was the score for Tom Lehman?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_68 WHERE player = "tom lehman"
Write a SQL query that answers the following question: What is the sum of November, when Game is greater than 23?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (november INTEGER, game INTEGER)
SELECT SUM(november) FROM table_name_40 WHERE game > 23
Write a SQL query that answers the following question: What is the sum of November, when Game is "17"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (november INTEGER, game VARCHAR)
SELECT SUM(november) FROM table_name_55 WHERE game = 17
Write a SQL query that answers the following question: What is the highest Game, when Opponent is "Chicago Black Hawks", and when November is less than 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (game INTEGER, opponent VARCHAR, november VARCHAR)
SELECT MAX(game) FROM table_name_44 WHERE opponent = "chicago black hawks" AND november < 16
Write a SQL query that answers the following question: What player has a total of 297?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (player VARCHAR, total VARCHAR)
SELECT player FROM table_name_87 WHERE total = 297
Write a SQL query that answers the following question: Which country has a total less than 289 and finished t2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (country VARCHAR, total VARCHAR, finish VARCHAR)
SELECT country FROM table_name_22 WHERE total < 289 AND finish = "t2"
Write a SQL query that answers the following question: Which player finished t35?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (player VARCHAR, finish VARCHAR)
SELECT player FROM table_name_89 WHERE finish = "t35"
Write a SQL query that answers the following question: What finish has a total of more than 289 and won in 1979?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (finish VARCHAR, total VARCHAR, year_s__won VARCHAR)
SELECT finish FROM table_name_54 WHERE total > 289 AND year_s__won = "1979"
Write a SQL query that answers the following question: What is Name, when Moving To is "NEC Nijmegen"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (name VARCHAR, moving_to VARCHAR)
SELECT name FROM table_name_30 WHERE moving_to = "nec nijmegen"
Write a SQL query that answers the following question: What is Date From, when Moving To is "Birmingham City"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (date_from VARCHAR, moving_to VARCHAR)
SELECT date_from FROM table_name_46 WHERE moving_to = "birmingham city"
Write a SQL query that answers the following question: What is Pos., when Date To is "30 June 2009", and when Name is "Eddie Johnson"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (pos VARCHAR, date_to VARCHAR, name VARCHAR)
SELECT pos FROM table_name_18 WHERE date_to = "30 june 2009" AND name = "eddie johnson"
Write a SQL query that answers the following question: What is Pos., when Date From is "28 August 2008"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (pos VARCHAR, date_from VARCHAR)
SELECT pos FROM table_name_8 WHERE date_from = "28 august 2008"
Write a SQL query that answers the following question: What is Moving To, when Name is "Leon Andreasen"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (moving_to VARCHAR, name VARCHAR)
SELECT moving_to FROM table_name_18 WHERE name = "leon andreasen"
Write a SQL query that answers the following question: What is Date To, when Name is "Lee Cook"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (date_to VARCHAR, name VARCHAR)
SELECT date_to FROM table_name_47 WHERE name = "lee cook"
Write a SQL query that answers the following question: When was the oakachoy covered bridge listed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (listed VARCHAR, name VARCHAR)
SELECT listed FROM table_name_34 WHERE name = "oakachoy covered bridge"
Write a SQL query that answers the following question: In which county is the swann covered bridge located?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (county VARCHAR, name VARCHAR)
SELECT county FROM table_name_4 WHERE name = "swann covered bridge"
Write a SQL query that answers the following question: Which bridge is located in Nectar, in Blount County?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (name VARCHAR, county VARCHAR, location VARCHAR)
SELECT name FROM table_name_17 WHERE county = "blount" AND location = "nectar"
Write a SQL query that answers the following question: Which county built a bridge in 1934?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (county VARCHAR, built VARCHAR)
SELECT county FROM table_name_59 WHERE built = "1934"
Write a SQL query that answers the following question: In which year did Blount County build a bridge in Cleveland that was listed on 1981-08-20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (built VARCHAR, location VARCHAR, county VARCHAR, listed VARCHAR)
SELECT built FROM table_name_78 WHERE county = "blount" AND listed = "1981-08-20" AND location = "cleveland"
Write a SQL query that answers the following question: What is the score with a time at 18:00 and a score for set 3 of 13–25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (score VARCHAR, time VARCHAR, set_3 VARCHAR)
SELECT score FROM table_name_12 WHERE time = "18:00" AND set_3 = "13–25"
Write a SQL query that answers the following question: What is the score for set 2 when the score of set 1 is 19–25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (set_2 VARCHAR, set_1 VARCHAR)
SELECT set_2 FROM table_name_70 WHERE set_1 = "19–25"
Write a SQL query that answers the following question: How much is the total with a time at 16:00 and score for set 3 of 18–25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (total VARCHAR, time VARCHAR, set_3 VARCHAR)
SELECT total FROM table_name_41 WHERE time = "16:00" AND set_3 = "18–25"
Write a SQL query that answers the following question: What is the score for set 2 when the time is 18:00 and the score of set 1 is 18–25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (set_2 VARCHAR, time VARCHAR, set_1 VARCHAR)
SELECT set_2 FROM table_name_48 WHERE time = "18:00" AND set_1 = "18–25"
Write a SQL query that answers the following question: What was the total with a score in set 3 of 13–25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (total VARCHAR, set_3 VARCHAR)
SELECT total FROM table_name_55 WHERE set_3 = "13–25"
Write a SQL query that answers the following question: What was the Champion of the Tournament with a Score of 79–75 OT?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (champion__seed_ VARCHAR, score VARCHAR)
SELECT champion__seed_ FROM table_name_1 WHERE score = "79–75 ot"
Write a SQL query that answers the following question: What was the Champion of the Game with a Score of 65–56?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (champion__seed_ VARCHAR, score VARCHAR)
SELECT champion__seed_ FROM table_name_78 WHERE score = "65–56"
Write a SQL query that answers the following question: Which Manufacturer has a Laps of 21, a Grid larger than 16, and a Rider of akira ryō?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (manufacturer VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT manufacturer FROM table_name_89 WHERE laps = 21 AND grid > 16 AND rider = "akira ryō"
Write a SQL query that answers the following question: Which Time/Retired has a Rider of daijiro kato?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (time_retired VARCHAR, rider VARCHAR)
SELECT time_retired FROM table_name_43 WHERE rider = "daijiro kato"
Write a SQL query that answers the following question: Which Manufacturer has a Rider of daijiro kato?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (manufacturer VARCHAR, rider VARCHAR)
SELECT manufacturer FROM table_name_49 WHERE rider = "daijiro kato"
Write a SQL query that answers the following question: Which Time/Retired has a Manufacturer of yamaha, and a Rider of garry mccoy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (time_retired VARCHAR, manufacturer VARCHAR, rider VARCHAR)
SELECT time_retired FROM table_name_88 WHERE manufacturer = "yamaha" AND rider = "garry mccoy"
Write a SQL query that answers the following question: What is the name of the team with round less than 2, and the nationality is the United States?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_25 WHERE round < 2 AND nationality = "united states"
Write a SQL query that answers the following question: What position does John Carlson play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_15 WHERE player = "john carlson"
Write a SQL query that answers the following question: Who had the highest rebounds on game 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (high_rebounds VARCHAR, game VARCHAR)
SELECT high_rebounds FROM table_name_33 WHERE game = 5
Write a SQL query that answers the following question: How many Overall went in a round larger than 7 with a pick less than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (overall VARCHAR, round VARCHAR, pick VARCHAR)
SELECT COUNT(overall) FROM table_name_39 WHERE round > 7 AND pick < 7
Write a SQL query that answers the following question: What is the rank for the player with events greater than 23 and prize money in excess of $823,783?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (rank VARCHAR, events VARCHAR, prize_money__$__ VARCHAR)
SELECT COUNT(rank) FROM table_name_33 WHERE events > 23 AND prize_money__$__ > 823 OFFSET 783
Write a SQL query that answers the following question: What is the prize money for the player ranked 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (prize_money__ INTEGER, rank VARCHAR)
SELECT MAX(prize_money__) AS $__ FROM table_name_16 WHERE rank = 1
Write a SQL query that answers the following question: What was the lowest round for the KOTC 25: Flaming Fury event?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (round INTEGER, event VARCHAR)
SELECT MIN(round) FROM table_name_82 WHERE event = "kotc 25: flaming fury"
Write a SQL query that answers the following question: Who was the opponent for the KOTC 25: Flaming Fury event?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (opponent VARCHAR, event VARCHAR)
SELECT opponent FROM table_name_82 WHERE event = "kotc 25: flaming fury"
Write a SQL query that answers the following question: Who was the opponent in the WMMA 1: McCorkle vs. Heden event that went more than 1 round?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (opponent VARCHAR, round VARCHAR, event VARCHAR)
SELECT opponent FROM table_name_12 WHERE round > 1 AND event = "wmma 1: mccorkle vs. heden"
Write a SQL query that answers the following question: What was the result when his record was 25-15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (res VARCHAR, record VARCHAR)
SELECT res FROM table_name_83 WHERE record = "25-15"
Write a SQL query that answers the following question: What is Position, when Round is less than 6, and when Nationality is "Denmark"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (position VARCHAR, round VARCHAR, nationality VARCHAR)
SELECT position FROM table_name_22 WHERE round < 6 AND nationality = "denmark"
Write a SQL query that answers the following question: What is Position, when Nationality is "Canada", and when Round is greater than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (position VARCHAR, nationality VARCHAR, round VARCHAR)
SELECT position FROM table_name_31 WHERE nationality = "canada" AND round > 3
Write a SQL query that answers the following question: What is the total number of Round, when College/Junior/Club Team (League) is "Kelowna Rockets ( WHL )"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (round VARCHAR, college_junior_club_team__league_ VARCHAR)
SELECT COUNT(round) FROM table_name_83 WHERE college_junior_club_team__league_ = "kelowna rockets ( whl )"
Write a SQL query that answers the following question: What round did the fight last when Mikhail Ilyukhin's record was 15-5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (round VARCHAR, record VARCHAR)
SELECT round FROM table_name_21 WHERE record = "15-5"
Write a SQL query that answers the following question: What method did Mikhail Ilyukhin win the fight in round 1 when his record was 13-5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (method VARCHAR, record VARCHAR, round VARCHAR, res VARCHAR)
SELECT method FROM table_name_10 WHERE round = "1" AND res = "win" AND record = "13-5"
Write a SQL query that answers the following question: What was the method of resolution when Mikhail Ilyukhin's record was 4-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (method VARCHAR, record VARCHAR)
SELECT method FROM table_name_92 WHERE record = "4-0"
Write a SQL query that answers the following question: When was the score 123-112?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_97 WHERE score = "123-112"
Write a SQL query that answers the following question: Who did they play when the score was 95-118?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_63 WHERE score = "95-118"
Write a SQL query that answers the following question: Who did they play when the score was 95-114?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_11 WHERE score = "95-114"
Write a SQL query that answers the following question: When was the score 92-134?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_38 WHERE score = "92-134"
Write a SQL query that answers the following question: When they were 2-32 what did they score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_71 WHERE record = "2-32"
Write a SQL query that answers the following question: When the total was smaller than 290, what was the highest To par?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (to_par INTEGER, total INTEGER)
SELECT MAX(to_par) FROM table_name_24 WHERE total < 290
Write a SQL query that answers the following question: What is the total number of To par for Lee Trevino?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (to_par VARCHAR, player VARCHAR)
SELECT COUNT(to_par) FROM table_name_4 WHERE player = "lee trevino"
Write a SQL query that answers the following question: What is the sum of To par when the Finish is t11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (to_par INTEGER, finish VARCHAR)
SELECT SUM(to_par) FROM table_name_59 WHERE finish = "t11"
Write a SQL query that answers the following question: What was Donald Bradman's average runs?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (runs INTEGER, player VARCHAR)
SELECT AVG(runs) FROM table_name_21 WHERE player = "donald bradman"
Write a SQL query that answers the following question: What was the highest amount of runs for more than 5 matches?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (runs INTEGER, matches INTEGER)
SELECT MAX(runs) FROM table_name_45 WHERE matches > 5
Write a SQL query that answers the following question: What is the lowest Shot Pct., when Blank Ends is greater than 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (shot_pct INTEGER, blank_ends INTEGER)
SELECT MIN(shot_pct) FROM table_name_2 WHERE blank_ends > 6
Write a SQL query that answers the following question: What is Shot Pct., when Stolen Ends is 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (shot_pct VARCHAR, stolen_ends VARCHAR)
SELECT shot_pct FROM table_name_67 WHERE stolen_ends = 2
Write a SQL query that answers the following question: What is the total number of Ends Won, when Province is "Saskatchewan", and when Stolen Ends is less than 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (ends_won VARCHAR, province VARCHAR, stolen_ends VARCHAR)
SELECT COUNT(ends_won) FROM table_name_92 WHERE province = "saskatchewan" AND stolen_ends < 6
Write a SQL query that answers the following question: On what date were Perth Wildcats the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_28 WHERE away_team = "perth wildcats"
Write a SQL query that answers the following question: On what date was the score 121-113?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_84 WHERE score = "121-113"
Write a SQL query that answers the following question: On what date was Adelaide 36ers the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_64 WHERE home_team = "adelaide 36ers"
Write a SQL query that answers the following question: Which report is for Townsville Entertainment Centre?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (report VARCHAR, venue VARCHAR)
SELECT report FROM table_name_6 WHERE venue = "townsville entertainment centre"
Write a SQL query that answers the following question: Which home team had a score of 85-101?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (home_team VARCHAR, score VARCHAR)
SELECT home_team FROM table_name_7 WHERE score = "85-101"
Write a SQL query that answers the following question: What was the box core for the Melbourne Tigers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (Box VARCHAR, home_team VARCHAR)
SELECT Box AS score FROM table_name_21 WHERE home_team = "melbourne tigers"
Write a SQL query that answers the following question: who is the author when featuring is leela, the master, kraals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (author VARCHAR, featuring VARCHAR)
SELECT author FROM table_name_42 WHERE featuring = "leela, the master, kraals"
Write a SQL query that answers the following question: who is the author when the title is destination: nerva?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (author VARCHAR, title VARCHAR)
SELECT author FROM table_name_73 WHERE title = "destination: nerva"
Write a SQL query that answers the following question: who is featuring when the title is energy of the daleks?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (featuring VARCHAR, title VARCHAR)
SELECT featuring FROM table_name_18 WHERE title = "energy of the daleks"
Write a SQL query that answers the following question: what is the title when the featuring is leela and series sorted is 4s/b?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (title VARCHAR, featuring VARCHAR, series_sorted VARCHAR)
SELECT title FROM table_name_71 WHERE featuring = "leela" AND series_sorted = "4s/b"
Write a SQL query that answers the following question: Can you tell me the Opponent that has the December of 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (opponent VARCHAR, december VARCHAR)
SELECT opponent FROM table_name_52 WHERE december = 2
Write a SQL query that answers the following question: Can you tell me the average December rhat has the Opponent of @ toronto maple leafs?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (december INTEGER, opponent VARCHAR)
SELECT AVG(december) FROM table_name_18 WHERE opponent = "@ toronto maple leafs"
Write a SQL query that answers the following question: Can you tell me the Score that has the December of 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (score VARCHAR, december VARCHAR)
SELECT score FROM table_name_55 WHERE december = 10