instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Who has the lowest league total goals with 0 FA cup goals and no FA cup appearances, plays the DF position and has appeared in total of 3 times?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (league_goals INTEGER, total_apps VARCHAR, position VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)
SELECT MIN(league_goals) FROM table_name_84 WHERE fa_cup_goals = "0" AND fa_cup_apps = "0" AND position = "df" AND total_apps = "3"
Write a SQL query that answers the following question: What is the lowest # Of Episodes, when Date Released is "15 December 2011"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (_number_of_episodes INTEGER, date_released VARCHAR)
SELECT MIN(_number_of_episodes) FROM table_name_75 WHERE date_released = "15 december 2011"
Write a SQL query that answers the following question: What Date Released, when # Of Discs is greater than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (date_released VARCHAR, _number_of_discs INTEGER)
SELECT date_released FROM table_name_33 WHERE _number_of_discs > 4
Write a SQL query that answers the following question: What is Season, when # Of Episodes is "10", and when Date Released is "1 April 2010"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (season VARCHAR, _number_of_episodes VARCHAR, date_released VARCHAR)
SELECT season FROM table_name_97 WHERE _number_of_episodes = 10 AND date_released = "1 april 2010"
Write a SQL query that answers the following question: What was the score when Sheffield United was the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_37 WHERE home_team = "sheffield united"
Write a SQL query that answers the following question: Who was the away team against Newton Heath?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_74 WHERE home_team = "newton heath"
Write a SQL query that answers the following question: What is the home team when the tie is 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_40 WHERE tie_no = "11"
Write a SQL query that answers the following question: What is the sum of League Goals, when Position is "DF", when League Cup Apps is "0", when Total Apps is "7", and when FLT Goals is less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (league_goals INTEGER, flt_goals VARCHAR, total_apps VARCHAR, position VARCHAR, league_cup_apps VARCHAR)
SELECT SUM(league_goals) FROM table_name_95 WHERE position = "df" AND league_cup_apps = "0" AND total_apps = "7" AND flt_goals < 0
Write a SQL query that answers the following question: What is the total number of FA Cup Goals, when FLT Goals is greater than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (fa_cup_goals VARCHAR, flt_goals INTEGER)
SELECT COUNT(fa_cup_goals) FROM table_name_47 WHERE flt_goals > 0
Write a SQL query that answers the following question: What is the lowest FA Cup Goals, when Total Goals is greater than 0, when League Goals is "4", when FA Cup Apps is "1", and when League Cup Goals is greater than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (fa_cup_goals INTEGER, league_cup_goals VARCHAR, fa_cup_apps VARCHAR, total_goals VARCHAR, league_goals VARCHAR)
SELECT MIN(fa_cup_goals) FROM table_name_10 WHERE total_goals > 0 AND league_goals = 4 AND fa_cup_apps = "1" AND league_cup_goals > 0
Write a SQL query that answers the following question: How many points for Newman/Haas Racing with fewer than 40 laps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (points INTEGER, team VARCHAR, laps VARCHAR)
SELECT AVG(points) FROM table_name_6 WHERE team = "newman/haas racing" AND laps < 40
Write a SQL query that answers the following question: Which driver has fewer than 2 points, larger grid that 4 and is on American Spirit Team Johansson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, points VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_32 WHERE points < 2 AND grid > 4 AND team = "american spirit team johansson"
Write a SQL query that answers the following question: What is the week 11 nov 16 standing with wisconsin (10-1) on week 13 Nov 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (week_11_nov_16 VARCHAR, week_13_nov_30 VARCHAR)
SELECT week_11_nov_16 FROM table_name_50 WHERE week_13_nov_30 = "wisconsin (10-1)"
Write a SQL query that answers the following question: What is the week 13 Nov 30 standing with USC (7-3) on week 11 Nov 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (week_13_nov_30 VARCHAR, week_11_nov_16 VARCHAR)
SELECT week_13_nov_30 FROM table_name_36 WHERE week_11_nov_16 = "usc (7-3)"
Write a SQL query that answers the following question: What is the week 8 Oct 26 standing with georgia tech (8-2) on week 12 Nov 23?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (week_8_oct_26 VARCHAR, week_12_nov_23 VARCHAR)
SELECT week_8_oct_26 FROM table_name_1 WHERE week_12_nov_23 = "georgia tech (8-2)"
Write a SQL query that answers the following question: What is the week 14 (final) dec 7 standing with Florida (6-1) on week 8 Oct 26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (week_14__final__dec_7 VARCHAR, week_8_oct_26 VARCHAR)
SELECT week_14__final__dec_7 FROM table_name_97 WHERE week_8_oct_26 = "florida (6-1)"
Write a SQL query that answers the following question: What player is associated with soenderjyske.dk?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (name VARCHAR, source VARCHAR)
SELECT name FROM table_name_58 WHERE source = "soenderjyske.dk"
Write a SQL query that answers the following question: What is the transfer fee for Gravgaard?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (transfer_fee VARCHAR, type VARCHAR, name VARCHAR)
SELECT transfer_fee FROM table_name_94 WHERE type = "transfer" AND name = "gravgaard"
Write a SQL query that answers the following question: What's the result when there's more than 41 moves with an opening of c42 petrov's defence in 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (result VARCHAR, opening VARCHAR, moves VARCHAR, year VARCHAR)
SELECT result FROM table_name_50 WHERE moves > 41 AND year = 2007 AND opening = "c42 petrov's defence"
Write a SQL query that answers the following question: What's the total number of moves with a result of ½–½ and a black of Anand before 1999?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (moves VARCHAR, black VARCHAR, result VARCHAR, year VARCHAR)
SELECT COUNT(moves) FROM table_name_52 WHERE result = "½–½" AND year < 1999 AND black = "anand"
Write a SQL query that answers the following question: What's the black with 24 moves in the dortmund tournament?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (black VARCHAR, moves VARCHAR, tournament VARCHAR)
SELECT black FROM table_name_56 WHERE moves = 24 AND tournament = "dortmund"
Write a SQL query that answers the following question: What's the opening when white is Anand with fewer than 61 moves for a result of ½–½?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (opening VARCHAR, result VARCHAR, white VARCHAR, moves VARCHAR)
SELECT opening FROM table_name_83 WHERE white = "anand" AND moves < 61 AND result = "½–½"
Write a SQL query that answers the following question: What's the white for a black of Anand, a result of ½–½, 39 moves, and an opening of d37 queen's gambit declined?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (white VARCHAR, opening VARCHAR, moves VARCHAR, black VARCHAR, result VARCHAR)
SELECT white FROM table_name_20 WHERE black = "anand" AND result = "½–½" AND moves = 39 AND opening = "d37 queen's gambit declined"
Write a SQL query that answers the following question: What is the lowest draw that has We The Lovers for the english translation, with a place greater than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (draw INTEGER, english_translation VARCHAR, place VARCHAR)
SELECT MIN(draw) FROM table_name_26 WHERE english_translation = "we the lovers" AND place > 1
Write a SQL query that answers the following question: How many draws have french as the language, with a place less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (draw INTEGER, language VARCHAR, place VARCHAR)
SELECT SUM(draw) FROM table_name_93 WHERE language = "french" AND place < 1
Write a SQL query that answers the following question: What is the Tonnage of the ship from Canada?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (tonnage INTEGER, flag VARCHAR)
SELECT MAX(tonnage) FROM table_name_73 WHERE flag = "canada"
Write a SQL query that answers the following question: In what place did the golfer representing Zimbabwe finish?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_60 WHERE country = "zimbabwe"
Write a SQL query that answers the following question: In what place did Des Smyth, who scored less than 71, finish?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (place VARCHAR, score VARCHAR, player VARCHAR)
SELECT place FROM table_name_23 WHERE score < 71 AND player = "des smyth"
Write a SQL query that answers the following question: What is the spaceport location that houses the LC34 complex and uses the Saturn IB launcher?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (spaceport VARCHAR, launcher VARCHAR, launch_complex VARCHAR)
SELECT spaceport FROM table_name_82 WHERE launcher = "saturn ib" AND launch_complex = "lc34"
Write a SQL query that answers the following question: Which spacecraft were launched by the Titan II?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (spacecraft VARCHAR, launcher VARCHAR)
SELECT spacecraft FROM table_name_7 WHERE launcher = "titan ii"
Write a SQL query that answers the following question: What was the launcher vehicle for Apollo-Soyuz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (launcher VARCHAR, spacecraft VARCHAR)
SELECT launcher FROM table_name_80 WHERE spacecraft = "apollo-soyuz"
Write a SQL query that answers the following question: Which complex used the Soyuz (r) launcher to facilitate 14 orbital flights?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (launch_complex VARCHAR, launcher VARCHAR, flights VARCHAR)
SELECT launch_complex FROM table_name_35 WHERE launcher = "soyuz (r)" AND flights = "14 orbital"
Write a SQL query that answers the following question: what is 2008 when the tournament is year end ranking?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (tournament VARCHAR)
SELECT 2008 FROM table_name_79 WHERE tournament = "year end ranking"
Write a SQL query that answers the following question: what is 2012 when the tournament is cincinnati masters?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (tournament VARCHAR)
SELECT 2012 FROM table_name_66 WHERE tournament = "cincinnati masters"
Write a SQL query that answers the following question: what is 2008 when 2012 is 3r and 2009 is 2r?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (Id VARCHAR)
SELECT 2008 FROM table_name_79 WHERE 2012 = "3r" AND 2009 = "2r"
Write a SQL query that answers the following question: How tall is the structure built in 1907?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (height_ft__m_ VARCHAR, year VARCHAR)
SELECT height_ft__m_ FROM table_name_51 WHERE year = 1907
Write a SQL query that answers the following question: Which building has more than 34 floors?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (name VARCHAR, floors INTEGER)
SELECT name FROM table_name_90 WHERE floors > 34
Write a SQL query that answers the following question: Which rank has 0 bronze and 2 silver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (gold INTEGER, bronze VARCHAR, silver VARCHAR)
SELECT MIN(gold) FROM table_name_7 WHERE bronze = 0 AND silver < 2
Write a SQL query that answers the following question: How much silver does the rank have that has gold smaller than 4, and a total of 1 and a rank larger than 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (silver INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR)
SELECT SUM(silver) FROM table_name_34 WHERE gold < 4 AND total = 1 AND rank > 6
Write a SQL query that answers the following question: Which rank has a more than 0 silver, 4 bronze, and a total smaller than 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (rank INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT SUM(rank) FROM table_name_34 WHERE silver > 0 AND bronze = 4 AND total < 10
Write a SQL query that answers the following question: How much gold does the tank have that has 3 silver and more than 3 bronze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (gold VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT COUNT(gold) FROM table_name_19 WHERE silver = 3 AND bronze > 3
Write a SQL query that answers the following question: What is the total number that 0 silver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (total VARCHAR, silver INTEGER)
SELECT COUNT(total) FROM table_name_14 WHERE silver < 0
Write a SQL query that answers the following question: Which Score has a To par larger than 17, and a Player of mike brady?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_7 WHERE to_par > 17 AND player = "mike brady"
Write a SQL query that answers the following question: Which Place that has Money of 150, and a Player of bobby cruickshank?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (place VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT place FROM table_name_83 WHERE money___$__ = 150 AND player = "bobby cruickshank"
Write a SQL query that answers the following question: Which Place has a To par smaller than 15, and a Score of 74-74-74-75=297?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_26 WHERE to_par < 15 AND score = 74 - 74 - 74 - 75 = 297
Write a SQL query that answers the following question: What is the score when the tie number is 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_84 WHERE tie_no = "8"
Write a SQL query that answers the following question: What is the score when the tie number is 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_58 WHERE tie_no = "6"
Write a SQL query that answers the following question: What is the tie number for Middlesbrough?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_46 WHERE home_team = "middlesbrough"
Write a SQL query that answers the following question: What status has 15/04/1967 as the date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (status VARCHAR, date VARCHAR)
SELECT status FROM table_name_33 WHERE date = "15/04/1967"
Write a SQL query that answers the following question: What venue has Scotland as the opposing teams?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (venue VARCHAR, opposing_teams VARCHAR)
SELECT venue FROM table_name_95 WHERE opposing_teams = "scotland"
Write a SQL query that answers the following question: What status has France as the opposing teams?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (status VARCHAR, opposing_teams VARCHAR)
SELECT status FROM table_name_71 WHERE opposing_teams = "france"
Write a SQL query that answers the following question: What kind of Week 4 has a Week 9 of all housemates?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (week_4 VARCHAR, week_9 VARCHAR)
SELECT week_4 FROM table_name_50 WHERE week_9 = "all housemates"
Write a SQL query that answers the following question: Which Week 3 has a Week 9 of ejected (day 3)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (week_3 VARCHAR, week_9 VARCHAR)
SELECT week_3 FROM table_name_2 WHERE week_9 = "ejected (day 3)"
Write a SQL query that answers the following question: What kind of Week 1 has a Week 8 of not eligible, and a Week 9 of no nominations, and a Week 3 of cyril? Question 3
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (week_1 VARCHAR, week_3 VARCHAR, week_8 VARCHAR, week_9 VARCHAR)
SELECT week_1 FROM table_name_24 WHERE week_8 = "not eligible" AND week_9 = "no nominations" AND week_3 = "cyril"
Write a SQL query that answers the following question: What kind of Week 7 has a Week 5 of evicted (day 15)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (week_7 VARCHAR, week_5 VARCHAR)
SELECT week_7 FROM table_name_83 WHERE week_5 = "evicted (day 15)"
Write a SQL query that answers the following question: What kind of Week 6 has a Week 2 of see notes 2 , 3 , 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (week_6 VARCHAR, week_2 VARCHAR)
SELECT week_6 FROM table_name_80 WHERE week_2 = "see notes 2 , 3 , 4"
Write a SQL query that answers the following question: Which Against has more than 11 wins, and a Geelong FL of st josephs?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (against INTEGER, wins VARCHAR, geelong_fl VARCHAR)
SELECT MIN(against) FROM table_name_35 WHERE wins > 11 AND geelong_fl = "st josephs"
Write a SQL query that answers the following question: What is the Attendance of the game with a Loss of Hiller (3–2)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (attendance INTEGER, loss VARCHAR)
SELECT MAX(attendance) FROM table_name_17 WHERE loss = "hiller (3–2)"
Write a SQL query that answers the following question: Who is the away team that tottenham hotspur played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_85 WHERE home_team = "tottenham hotspur"
Write a SQL query that answers the following question: What was the score of the game with away team chelsea on 29 january 1983?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_10 WHERE date = "29 january 1983" AND away_team = "chelsea"
Write a SQL query that answers the following question: What date was the game that home team torquay united played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_76 WHERE home_team = "torquay united"
Write a SQL query that answers the following question: Who is the team that played away team watford?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_9 WHERE away_team = "watford"
Write a SQL query that answers the following question: What date was the game when home team crystal palace played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_93 WHERE home_team = "crystal palace"
Write a SQL query that answers the following question: What country is Retief Goosen from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_18 WHERE player = "retief goosen"
Write a SQL query that answers the following question: What Player is in Place 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (player VARCHAR, place VARCHAR)
SELECT player FROM table_name_27 WHERE place = "1"
Write a SQL query that answers the following question: What is the Country of the Player in Place 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (country VARCHAR, place VARCHAR)
SELECT country FROM table_name_39 WHERE place = "1"
Write a SQL query that answers the following question: What is the Place of the Player with a To par of –10 and a Score of 67-67-66=200?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_89 WHERE to_par = "–10" AND score = 67 - 67 - 66 = 200
Write a SQL query that answers the following question: Can you tell me the total number of Rank that has the Points larger than 99, and the Club of barcelona?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (rank VARCHAR, points VARCHAR, club VARCHAR)
SELECT COUNT(rank) FROM table_name_92 WHERE points > 99 AND club = "barcelona"
Write a SQL query that answers the following question: How many people on average attended when Eastwood Town was the away team, and the tie number was less than 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (attendance INTEGER, tie_no VARCHAR, away_team VARCHAR)
SELECT AVG(attendance) FROM table_name_76 WHERE tie_no < 8 AND away_team = "eastwood town"
Write a SQL query that answers the following question: The game with home team Crowborough Athletic, with an attendance less than 848 had what as the score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (score VARCHAR, attendance VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_38 WHERE attendance < 848 AND home_team = "crowborough athletic"
Write a SQL query that answers the following question: The game with Bashley as the home team had what maximum attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (attendance INTEGER, home_team VARCHAR)
SELECT MAX(attendance) FROM table_name_76 WHERE home_team = "bashley"
Write a SQL query that answers the following question: What is the tie number total when Harlow Town is the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (tie_no VARCHAR, away_team VARCHAR)
SELECT COUNT(tie_no) FROM table_name_5 WHERE away_team = "harlow town"
Write a SQL query that answers the following question: Which artist has a draw greater than 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (artist VARCHAR, draw INTEGER)
SELECT artist FROM table_name_58 WHERE draw > 15
Write a SQL query that answers the following question: What was the highest place a song by Jacques Raymond reached, with a draw over 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (place INTEGER, artist VARCHAR, draw VARCHAR)
SELECT MAX(place) FROM table_name_97 WHERE artist = "jacques raymond" AND draw > 14
Write a SQL query that answers the following question: What is the Craft used at Coniston Water?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (craft VARCHAR, location VARCHAR)
SELECT craft FROM table_name_15 WHERE location = "coniston water"
Write a SQL query that answers the following question: What is the Speed at Lake Mead?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (speed VARCHAR, location VARCHAR)
SELECT speed FROM table_name_80 WHERE location = "lake mead"
Write a SQL query that answers the following question: Which Goals have a Ratio of 0.29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (goals VARCHAR, ratio VARCHAR)
SELECT goals FROM table_name_16 WHERE ratio = 0.29
Write a SQL query that answers the following question: Which Goals have a Current Club of real madrid, and a Ratio smaller than 1.08, and a Rank smaller than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (goals INTEGER, rank VARCHAR, current_club VARCHAR, ratio VARCHAR)
SELECT MAX(goals) FROM table_name_12 WHERE current_club = "real madrid" AND ratio < 1.08 AND rank < 5
Write a SQL query that answers the following question: Which Current Club has a Rank of 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (current_club VARCHAR, rank VARCHAR)
SELECT current_club FROM table_name_20 WHERE rank = 4
Write a SQL query that answers the following question: What is the second party that has a conservative first party in the 1834 election?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (second_party VARCHAR, first_party VARCHAR, election VARCHAR)
SELECT second_party FROM table_name_71 WHERE first_party = "conservative" AND election = "1834"
Write a SQL query that answers the following question: Who is the second member with first member Sir Rowland Hill, BT, and a conservative second party?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (second_member VARCHAR, first_member VARCHAR, second_party VARCHAR)
SELECT second_member FROM table_name_3 WHERE first_member = "sir rowland hill, bt" AND second_party = "conservative"
Write a SQL query that answers the following question: What is the first party with second member Hon. Rowland Hill, in the 1857 election?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (first_party VARCHAR, second_member VARCHAR, election VARCHAR)
SELECT first_party FROM table_name_18 WHERE second_member = "hon. rowland hill" AND election = "1857"
Write a SQL query that answers the following question: Who is the second member that is a second party Whig in the 1834 election?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (second_member VARCHAR, second_party VARCHAR, election VARCHAR)
SELECT second_member FROM table_name_54 WHERE second_party = "whig" AND election = "1834"
Write a SQL query that answers the following question: What is the second party that has a conservative first party and second member John Cotes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (second_party VARCHAR, first_party VARCHAR, second_member VARCHAR)
SELECT second_party FROM table_name_95 WHERE first_party = "conservative" AND second_member = "john cotes"
Write a SQL query that answers the following question: What place is the player with a score of 69-68=137?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_84 WHERE score = 69 - 68 = 137
Write a SQL query that answers the following question: What's the score for the t10 player from zimbabwe?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (score VARCHAR, place VARCHAR, country VARCHAR)
SELECT score FROM table_name_19 WHERE place = "t10" AND country = "zimbabwe"
Write a SQL query that answers the following question: What's the score of the t10 player from australia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (score VARCHAR, place VARCHAR, country VARCHAR)
SELECT score FROM table_name_61 WHERE place = "t10" AND country = "australia"
Write a SQL query that answers the following question: What's bob tway's score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_51 WHERE player = "bob tway"
Write a SQL query that answers the following question: What Player has a Place of t10, a Country of united states, and a Score of 67-73=140?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR)
SELECT player FROM table_name_54 WHERE place = "t10" AND country = "united states" AND score = 67 - 73 = 140
Write a SQL query that answers the following question: What Place has a Player of seve ballesteros?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_89 WHERE player = "seve ballesteros"
Write a SQL query that answers the following question: What Country has a Player of nick faldo?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_74 WHERE player = "nick faldo"
Write a SQL query that answers the following question: What To par has a Place of t10, and a Score of 67-73=140?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_74 WHERE place = "t10" AND score = 67 - 73 = 140
Write a SQL query that answers the following question: What Score has a Place of t6, a Country of united states, and a Player of fred couples?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (score VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)
SELECT score FROM table_name_7 WHERE place = "t6" AND country = "united states" AND player = "fred couples"
Write a SQL query that answers the following question: What To par has a Score of 68-66=134?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_15 WHERE score = 68 - 66 = 134
Write a SQL query that answers the following question: Name the Provider that has a pay in 2006–, and a Transmission of iptv and digital terrestrial?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (provider VARCHAR, transmission VARCHAR, free_or_pay VARCHAR, years VARCHAR)
SELECT provider FROM table_name_90 WHERE free_or_pay = "pay" AND years = "2006–" AND transmission = "iptv and digital terrestrial"
Write a SQL query that answers the following question: Name the Years which have Transmission of digital satellite, an On demand of no, and a Free or pay of free + ppv?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (years VARCHAR, free_or_pay VARCHAR, transmission VARCHAR, on_demand VARCHAR)
SELECT years FROM table_name_16 WHERE transmission = "digital satellite" AND on_demand = "no" AND free_or_pay = "free + ppv"
Write a SQL query that answers the following question: What kind of Free or pay has Years of 2006– and a Provider of bt tv (formerly bt vision)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (free_or_pay VARCHAR, years VARCHAR, provider VARCHAR)
SELECT free_or_pay FROM table_name_26 WHERE years = "2006–" AND provider = "bt tv (formerly bt vision)"
Write a SQL query that answers the following question: Name the Years that have a free + pay?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (years VARCHAR, free_or_pay VARCHAR)
SELECT years FROM table_name_58 WHERE free_or_pay = "free + pay"
Write a SQL query that answers the following question: Which On demandhas a Free or pay of free and a Provider of freesat?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (on_demand VARCHAR, free_or_pay VARCHAR, provider VARCHAR)
SELECT on_demand FROM table_name_24 WHERE free_or_pay = "free" AND provider = "freesat"
Write a SQL query that answers the following question: Which On demand has a pay and a Provider of virgin media (formerly ntl:telewest)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (on_demand VARCHAR, free_or_pay VARCHAR, provider VARCHAR)
SELECT on_demand FROM table_name_25 WHERE free_or_pay = "pay" AND provider = "virgin media (formerly ntl:telewest)"