instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the record for the w 100-99 score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_95 WHERE score = "w 100-99"
Write a SQL query that answers the following question: What is the location for the 23-17 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_67 WHERE record = "23-17"
Write a SQL query that answers the following question: What is the location before game 44, and a 20-16 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (location VARCHAR, game VARCHAR, record VARCHAR)
SELECT location FROM table_name_10 WHERE game < 44 AND record = "20-16"
Write a SQL query that answers the following question: What was the result for the match with entry Match Reports?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (result VARCHAR, match VARCHAR)
SELECT result FROM table_name_69 WHERE match = "match reports"
Write a SQL query that answers the following question: What was the location of the match that had a result of 3-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (location VARCHAR, result VARCHAR)
SELECT location FROM table_name_13 WHERE result = "3-3"
Write a SQL query that answers the following question: What was the lineup for match 12 that had a competition of Group Stage?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (lineup VARCHAR, competition VARCHAR, match VARCHAR)
SELECT lineup FROM table_name_65 WHERE competition = "group stage" AND match = "12"
Write a SQL query that answers the following question: What was the result for the match held in Boston?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (result VARCHAR, location VARCHAR)
SELECT result FROM table_name_97 WHERE location = "boston"
Write a SQL query that answers the following question: How many total games were played against @ St. Louis Hawks this season?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (game INTEGER, opponent VARCHAR)
SELECT SUM(game) FROM table_name_42 WHERE opponent = "@ st. louis hawks"
Write a SQL query that answers the following question: On what day was Game 48 played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_39 WHERE game = 48
Write a SQL query that answers the following question: What is the pick number later than round 1, for Reyshawn Terry?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (pick INTEGER, round VARCHAR, player VARCHAR)
SELECT AVG(pick) FROM table_name_17 WHERE round > 1 AND player = "reyshawn terry"
Write a SQL query that answers the following question: What round was the player Ty Lawson with a pick earlier than 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (round INTEGER, player VARCHAR, pick VARCHAR)
SELECT AVG(round) FROM table_name_90 WHERE player = "ty lawson" AND pick < 18
Write a SQL query that answers the following question: What is the pick number for Danny Green in a round less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (pick VARCHAR, player VARCHAR, round VARCHAR)
SELECT COUNT(pick) FROM table_name_21 WHERE player = "danny green" AND round < 2
Write a SQL query that answers the following question: What is the pick number in a year earlier than 2009, with a round higher than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (pick VARCHAR, year VARCHAR, round VARCHAR)
SELECT COUNT(pick) FROM table_name_60 WHERE year < 2009 AND round > 1
Write a SQL query that answers the following question: What are the notes for the Mandarin Chinese program on CTV earlier than 2013?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (notes VARCHAR, network VARCHAR, year VARCHAR, language VARCHAR)
SELECT notes FROM table_name_40 WHERE year < 2013 AND language = "mandarin chinese" AND network = "ctv"
Write a SQL query that answers the following question: What is the language for Strong Heart?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (language VARCHAR, title VARCHAR)
SELECT language FROM table_name_64 WHERE title = "strong heart"
Write a SQL query that answers the following question: What is the title for the Korean progran on KBS2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (title VARCHAR, language VARCHAR, network VARCHAR)
SELECT title FROM table_name_96 WHERE language = "korean" AND network = "kbs2"
Write a SQL query that answers the following question: What is the network that aired Star King prior to 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (network VARCHAR, year VARCHAR, title VARCHAR)
SELECT network FROM table_name_70 WHERE year < 2011 AND title = "star king"
Write a SQL query that answers the following question: What are the notes for Happy Camp?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (notes VARCHAR, title VARCHAR)
SELECT notes FROM table_name_79 WHERE title = "happy camp"
Write a SQL query that answers the following question: Which Pick has a College of ohio state?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (pick INTEGER, college VARCHAR)
SELECT MIN(pick) FROM table_name_22 WHERE college = "ohio state"
Write a SQL query that answers the following question: Which Round has a Position of lb, and a Pick smaller than 25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (round VARCHAR, position VARCHAR, pick VARCHAR)
SELECT COUNT(round) FROM table_name_3 WHERE position = "lb" AND pick < 25
Write a SQL query that answers the following question: Which week has a result L 56-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (week INTEGER, result VARCHAR)
SELECT AVG(week) FROM table_name_93 WHERE result = "l 56-3"
Write a SQL query that answers the following question: Where is the player Raymond Floyd?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_47 WHERE player = "raymond floyd"
Write a SQL query that answers the following question: Which country has a score of 71-72-73-69=285?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_44 WHERE score = 71 - 72 - 73 - 69 = 285
Write a SQL query that answers the following question: What is the highest Money ( $ ), when Score is "69-71-70-74=284"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (money___ INTEGER, score VARCHAR)
SELECT MAX(money___) AS $__ FROM table_name_65 WHERE score = 69 - 71 - 70 - 74 = 284
Write a SQL query that answers the following question: What is Place, when Score is "71-71-69-71=282"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_3 WHERE score = 71 - 71 - 69 - 71 = 282
Write a SQL query that answers the following question: What is Score, when Player is "Dow Finsterwald"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_76 WHERE player = "dow finsterwald"
Write a SQL query that answers the following question: Which venue did the runner have a note of 1:23:07?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (venue VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_58 WHERE notes = "1:23:07"
Write a SQL query that answers the following question: What is the note result when the runner finished 19th in 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (notes VARCHAR, year VARCHAR, position VARCHAR)
SELECT notes FROM table_name_94 WHERE year = 2008 AND position = "19th"
Write a SQL query that answers the following question: What are the points 1 for the team with position less than 13 and goal difference of +16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (points_1 VARCHAR, position VARCHAR, goal_difference VARCHAR)
SELECT points_1 FROM table_name_93 WHERE position < 13 AND goal_difference = "+16"
Write a SQL query that answers the following question: What is the goal difference where the goals against is less than 54, goals for is greater than 51 and points 1 is 63?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (goal_difference VARCHAR, points_1 VARCHAR, goals_against VARCHAR, goals_for VARCHAR)
SELECT goal_difference FROM table_name_29 WHERE goals_against < 54 AND goals_for > 51 AND points_1 = "63"
Write a SQL query that answers the following question: What is the number of games lost when goal difference is +13 and draws are more than 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (lost VARCHAR, goal_difference VARCHAR, drawn VARCHAR)
SELECT COUNT(lost) FROM table_name_65 WHERE goal_difference = "+13" AND drawn > 12
Write a SQL query that answers the following question: What was the finishing position for the car that started in grid 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (fin_pos VARCHAR, grid VARCHAR)
SELECT fin_pos FROM table_name_21 WHERE grid = "6"
Write a SQL query that answers the following question: What team started in grid 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (team VARCHAR, grid VARCHAR)
SELECT team FROM table_name_2 WHERE grid = "11"
Write a SQL query that answers the following question: What was the time/retired of car number 6.
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (time_retired VARCHAR, car_no VARCHAR)
SELECT time_retired FROM table_name_93 WHERE car_no = "6"
Write a SQL query that answers the following question: What was the grid number of the team and driver with 14 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (grid VARCHAR, points VARCHAR)
SELECT grid FROM table_name_9 WHERE points = "14"
Write a SQL query that answers the following question: Who did Thomaz Bellucci play against when he became runner-up on a clay surface?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (opponent VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT opponent FROM table_name_73 WHERE outcome = "runner-up" AND surface = "clay"
Write a SQL query that answers the following question: What tournament did Thomaz Bellucci become runner-up on a clay surface?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (tournament VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT tournament FROM table_name_82 WHERE outcome = "runner-up" AND surface = "clay"
Write a SQL query that answers the following question: What type of surface did Thomaz Bellucci play against tommy robredo?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (surface VARCHAR, opponent VARCHAR)
SELECT surface FROM table_name_66 WHERE opponent = "tommy robredo"
Write a SQL query that answers the following question: What is the result of the match against Ryan Schultz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (res VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_12 WHERE opponent = "ryan schultz"
Write a SQL query that answers the following question: What round was the game against Cedric Marks?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_39 WHERE opponent = "cedric marks"
Write a SQL query that answers the following question: What was the record of the match against Chris Mounce?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_96 WHERE opponent = "chris mounce"
Write a SQL query that answers the following question: What is the method in the round 2 win over Nick Gilardi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (method VARCHAR, opponent VARCHAR, round VARCHAR, res VARCHAR)
SELECT method FROM table_name_75 WHERE round = "2" AND res = "win" AND opponent = "nick gilardi"
Write a SQL query that answers the following question: Who is number 7 when Sophia is number 3 and Abigail is number 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (no_7 VARCHAR, no_3 VARCHAR, no_10 VARCHAR)
SELECT no_7 FROM table_name_70 WHERE no_3 = "sophia" AND no_10 = "abigail"
Write a SQL query that answers the following question: Which region (year) has Abigail at number 7, Sophia at number 1 and Aaliyah at number 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (region__year_ VARCHAR, no_5 VARCHAR, no_7 VARCHAR, no_1 VARCHAR)
SELECT region__year_ FROM table_name_12 WHERE no_7 = "abigail" AND no_1 = "sophia" AND no_5 = "aaliyah"
Write a SQL query that answers the following question: Who is number 4 when Harper is number 10 and Abigail is number 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (no_4 VARCHAR, no_10 VARCHAR, no_5 VARCHAR)
SELECT no_4 FROM table_name_24 WHERE no_10 = "harper" AND no_5 = "abigail"
Write a SQL query that answers the following question: What is Player, when To Par is "+1", and when Score is "75-68=143"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_32 WHERE to_par = "+1" AND score = 75 - 68 = 143
Write a SQL query that answers the following question: What is Score, when Player is "Andy North"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_12 WHERE player = "andy north"
Write a SQL query that answers the following question: What is To Par, when Score is "69-72=141"
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_31 WHERE score = 69 - 72 = 141
Write a SQL query that answers the following question: What is Place, when Score is "73-71=144", and when Player is "Scott Simpson"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (place VARCHAR, player VARCHAR, score VARCHAR)
SELECT place FROM table_name_66 WHERE score = 73 - 71 = 144 AND player = "scott simpson"
Write a SQL query that answers the following question: What is Score, when Country is "United States", and when Player is "John Mahaffey"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR, player VARCHAR)
SELECT score FROM table_name_13 WHERE country = "united states" AND player = "john mahaffey"
Write a SQL query that answers the following question: What is To Par, when Place is "T1", and when Player is "Joey Rassett"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_6 WHERE place = "t1" AND player = "joey rassett"
Write a SQL query that answers the following question: What was the score when the away team was brighton & hove albion?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_21 WHERE away_team = "brighton & hove albion"
Write a SQL query that answers the following question: When was the away team burnley?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_31 WHERE away_team = "burnley"
Write a SQL query that answers the following question: Which home team had an away team of Reading?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_37 WHERE away_team = "reading"
Write a SQL query that answers the following question: What year was the accolade for Scottish albums of the decade?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (year VARCHAR, accolade VARCHAR)
SELECT year FROM table_name_83 WHERE accolade = "scottish albums of the decade"
Write a SQL query that answers the following question: What country had the publication, Drowned in Sound?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (country VARCHAR, publication VARCHAR)
SELECT country FROM table_name_22 WHERE publication = "drowned in sound"
Write a SQL query that answers the following question: What is the name of the home stadium of Brisbane Lions?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (ground VARCHAR, home_team VARCHAR)
SELECT ground FROM table_name_93 WHERE home_team = "brisbane lions"
Write a SQL query that answers the following question: How much is the crowd attending at colonial stadium where Hawthorn plays?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (crowd VARCHAR, ground VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_9 WHERE ground = "colonial stadium" AND home_team = "hawthorn"
Write a SQL query that answers the following question: what is the 2nd leg when team #2 is žalgiris kaunas?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (team__number2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_47 WHERE team__number2 = "žalgiris kaunas"
Write a SQL query that answers the following question: what is the 2nd leg when team #2 is žalgiris kaunas?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (team__number2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_67 WHERE team__number2 = "žalgiris kaunas"
Write a SQL query that answers the following question: Who was the opponent in week 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_30 WHERE week = 6
Write a SQL query that answers the following question: Which week had an attendance of 55,158?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (week INTEGER, attendance VARCHAR)
SELECT SUM(week) FROM table_name_42 WHERE attendance = "55,158"
Write a SQL query that answers the following question: What is the lowest game on February 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (game INTEGER, date VARCHAR)
SELECT MIN(game) FROM table_name_66 WHERE date = "february 10"
Write a SQL query that answers the following question: Which Player has a Round larger than 5, and a Position of (g)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (player VARCHAR, round VARCHAR, position VARCHAR)
SELECT player FROM table_name_1 WHERE round > 5 AND position = "(g)"
Write a SQL query that answers the following question: Which Round has a Nationality of united states, and a Player of jimmy hayes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (round INTEGER, nationality VARCHAR, player VARCHAR)
SELECT MAX(round) FROM table_name_34 WHERE nationality = "united states" AND player = "jimmy hayes"
Write a SQL query that answers the following question: Which Pick has a Nationality of canada, and a Round of 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (pick VARCHAR, nationality VARCHAR, round VARCHAR)
SELECT pick FROM table_name_98 WHERE nationality = "canada" AND round = 5
Write a SQL query that answers the following question: Which Club Team has a Position of (d), a Nationality of canada, and a Player of andrew macwilliam?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (club_team VARCHAR, player VARCHAR, position VARCHAR, nationality VARCHAR)
SELECT club_team FROM table_name_7 WHERE position = "(d)" AND nationality = "canada" AND player = "andrew macwilliam"
Write a SQL query that answers the following question: How much money did jodie mudd get?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (money___$__ VARCHAR, player VARCHAR)
SELECT money___$__ FROM table_name_1 WHERE player = "jodie mudd"
Write a SQL query that answers the following question: What score did Australia get?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (score VARCHAR, country VARCHAR)
SELECT score FROM table_name_85 WHERE country = "australia"
Write a SQL query that answers the following question: What is the sort value that had deaths of 71?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (sort_restore VARCHAR, deaths VARCHAR)
SELECT sort_restore FROM table_name_64 WHERE deaths = "71"
Write a SQL query that answers the following question: Which month had a sort value under 39 and 2 deaths?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (month VARCHAR, sort_restore VARCHAR, deaths VARCHAR)
SELECT month FROM table_name_73 WHERE sort_restore < 39 AND deaths = "2"
Write a SQL query that answers the following question: What is the number of sort values associated with 389 births?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (sort_restore VARCHAR, births VARCHAR)
SELECT COUNT(sort_restore) FROM table_name_27 WHERE births = "389"
Write a SQL query that answers the following question: Who was the Manufacturer for the Rider Colin Edwards?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (manufacturer VARCHAR, rider VARCHAR)
SELECT manufacturer FROM table_name_1 WHERE rider = "colin edwards"
Write a SQL query that answers the following question: With a Grid less than 15, and a Time of +52.833, what is the highest number of Laps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (laps INTEGER, grid VARCHAR, time VARCHAR)
SELECT MAX(laps) FROM table_name_86 WHERE grid < 15 AND time = "+52.833"
Write a SQL query that answers the following question: What is the average Grid for the Rider Toni Elias with Laps more than 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (grid INTEGER, rider VARCHAR, laps VARCHAR)
SELECT AVG(grid) FROM table_name_62 WHERE rider = "toni elias" AND laps > 30
Write a SQL query that answers the following question: With a Time of +1:37.055, which has the lowest Grid?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (grid INTEGER, time VARCHAR)
SELECT MIN(grid) FROM table_name_84 WHERE time = "+1:37.055"
Write a SQL query that answers the following question: Which Silver is the highest one that has a Rank of 19, and a Gold larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (silver INTEGER, rank VARCHAR, gold VARCHAR)
SELECT MAX(silver) FROM table_name_71 WHERE rank = "19" AND gold > 0
Write a SQL query that answers the following question: Which Bronze is the highest one that has a Rank of 26, and a Total larger than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (bronze INTEGER, rank VARCHAR, total VARCHAR)
SELECT MAX(bronze) FROM table_name_48 WHERE rank = "26" AND total > 1
Write a SQL query that answers the following question: Which Gold has a Nation of india, and a Bronze smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT AVG(gold) FROM table_name_84 WHERE nation = "india" AND bronze < 0
Write a SQL query that answers the following question: Which Nation has a Gold larger than 0, and a Bronze smaller than 2, and a Total larger than 3, and a Silver larger than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT nation FROM table_name_96 WHERE gold > 0 AND bronze < 2 AND total > 3 AND silver > 1
Write a SQL query that answers the following question: What is the round number when the record is 15–7–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (round VARCHAR, record VARCHAR)
SELECT COUNT(round) FROM table_name_68 WHERE record = "15–7–1"
Write a SQL query that answers the following question: What is the method when the time is 5:00, and the record is 14–6–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (method VARCHAR, time VARCHAR, record VARCHAR)
SELECT method FROM table_name_3 WHERE time = "5:00" AND record = "14–6–1"
Write a SQL query that answers the following question: What is the home team of the game with a price decision and the new jersey devils as the visitor team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (home VARCHAR, decision VARCHAR, visitor VARCHAR)
SELECT home FROM table_name_51 WHERE decision = "price" AND visitor = "new jersey devils"
Write a SQL query that answers the following question: What transfer fee did Birmingham City get on 30 June 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR)
SELECT transfer_fee FROM table_name_4 WHERE ends = "30 june 2010" AND moving_from = "birmingham city"
Write a SQL query that answers the following question: What type of move was Elding from ENG?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (type VARCHAR, country VARCHAR, name VARCHAR)
SELECT type FROM table_name_28 WHERE country = "eng" AND name = "elding"
Write a SQL query that answers the following question: When does Donaldson's move end?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (ends VARCHAR, name VARCHAR)
SELECT ends FROM table_name_34 WHERE name = "donaldson"
Write a SQL query that answers the following question: Which Silver has a Total of 7, and a Gold larger than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (silver INTEGER, total VARCHAR, gold VARCHAR)
SELECT AVG(silver) FROM table_name_10 WHERE total = 7 AND gold > 1
Write a SQL query that answers the following question: Which Bronze has a Gold smaller than 16, a Rank of 10, and a Nation of italy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (bronze INTEGER, nation VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT AVG(bronze) FROM table_name_97 WHERE gold < 16 AND rank = "10" AND nation = "italy"
Write a SQL query that answers the following question: Which Total has a Bronze larger than 2, a Gold smaller than 16, a Silver of 0, and a Rank of 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (total INTEGER, rank VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT AVG(total) FROM table_name_27 WHERE bronze > 2 AND gold < 16 AND silver = 0 AND rank = "13"
Write a SQL query that answers the following question: Which Gold has a Nation of malaysia, and a Silver smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (gold INTEGER, nation VARCHAR, silver VARCHAR)
SELECT MIN(gold) FROM table_name_47 WHERE nation = "malaysia" AND silver < 0
Write a SQL query that answers the following question: Which Population (2005) has a Literacy (2003) of 90%, and an Infant Mortality (2002) of 18.3‰?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (population__2005_ INTEGER, literacy__2003_ VARCHAR, infant_mortality__2002_ VARCHAR)
SELECT SUM(population__2005_) FROM table_name_14 WHERE literacy__2003_ = "90%" AND infant_mortality__2002_ = "18.3‰"
Write a SQL query that answers the following question: Which Density (2005) has an Area (km²) of 340086.7, and a Population (2005) smaller than 5926300?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (density__2005_ INTEGER, area__km²_ VARCHAR, population__2005_ VARCHAR)
SELECT SUM(density__2005_) FROM table_name_25 WHERE area__km²_ = 340086.7 AND population__2005_ < 5926300
Write a SQL query that answers the following question: Which GDP per capita (US$) (2004) is the highest one that has an Area (km²) larger than 148825.6, and a State of roraima?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (gdp_per_capita__us INTEGER, area__km²_ VARCHAR, state VARCHAR)
SELECT MAX(gdp_per_capita__us) AS $___2004_ FROM table_name_37 WHERE area__km²_ > 148825.6 AND state = "roraima"
Write a SQL query that answers the following question: Which Literacy (2003) has an HDI (2005) smaller than 0.718, and a GDP per capita (US$) (2004) smaller than 3877, and a State of maranhão?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (literacy__2003_ VARCHAR, state VARCHAR, hdi__2005_ VARCHAR, gdp_per_capita__us$___2004_ VARCHAR)
SELECT literacy__2003_ FROM table_name_8 WHERE hdi__2005_ < 0.718 AND gdp_per_capita__us$___2004_ < 3877 AND state = "maranhão"
Write a SQL query that answers the following question: Which GDP per capita (US$) (2004) has a Literacy (2003) of 90%, and an Area (km²) of 1247689.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (gdp_per_capita__us INTEGER, literacy__2003_ VARCHAR, area__km²_ VARCHAR)
SELECT AVG(gdp_per_capita__us) AS $___2004_ FROM table_name_53 WHERE literacy__2003_ = "90%" AND area__km²_ = 1247689.5
Write a SQL query that answers the following question: Name the Date and an Opponent which has a f Position and Career Games of 123 games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (date_and_opponent VARCHAR, position VARCHAR, career_games VARCHAR)
SELECT date_and_opponent FROM table_name_4 WHERE position = "f" AND career_games = "123 games"
Write a SQL query that answers the following question: Which Name has a Years Played of 2004–2008, and a Date and Opponent of 2/17/07 vs. purdue?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (name VARCHAR, years_played VARCHAR, date_and_opponent VARCHAR)
SELECT name FROM table_name_34 WHERE years_played = "2004–2008" AND date_and_opponent = "2/17/07 vs. purdue"
Write a SQL query that answers the following question: Which Career Games has a Date and Opponent of 12/15/92 vs. uw–milwaukee?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (career_games VARCHAR, date_and_opponent VARCHAR)
SELECT career_games FROM table_name_58 WHERE date_and_opponent = "12/15/92 vs. uw–milwaukee"
Write a SQL query that answers the following question: WHich Scored 1,500 Points has a Years Played of 2004–2008 and a Name of jolene anderson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (scored_1 VARCHAR, years_played VARCHAR, name VARCHAR)
SELECT scored_1, 500 AS _points FROM table_name_34 WHERE years_played = "2004–2008" AND name = "jolene anderson"
Write a SQL query that answers the following question: Which Time has a Round smaller than 3, and an Opponent of bao quach?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (time VARCHAR, round VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_11 WHERE round < 3 AND opponent = "bao quach"