instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: WHAT IS THE BIRTH DATE THAT HAS Ceased to be Duke of Girona OF 21 NOVEMBER 1582?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (birth VARCHAR, ceased_to_be_duke_of_girona VARCHAR)
SELECT birth FROM table_name_22 WHERE ceased_to_be_duke_of_girona = "21 november 1582"
Write a SQL query that answers the following question: WHAT IS THE BIRTH DATE WITH A DEATH OF OCTOBER 1389?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (birth VARCHAR, death VARCHAR)
SELECT birth FROM table_name_2 WHERE death = "october 1389"
Write a SQL query that answers the following question: What is the total number of Laps, when Ride is Aleix Espargaro?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (laps VARCHAR, rider VARCHAR)
SELECT COUNT(laps) FROM table_name_54 WHERE rider = "aleix espargaro"
Write a SQL query that answers the following question: What is the County of Howard Street Tunnel?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (county VARCHAR, name VARCHAR)
SELECT county FROM table_name_72 WHERE name = "howard street tunnel"
Write a SQL query that answers the following question: What is the Location of the Bridge Built in 1869?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (location VARCHAR, built VARCHAR)
SELECT location FROM table_name_58 WHERE built = "1869"
Write a SQL query that answers the following question: What is the date Listed of the B & O Bridge in Washington?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (listed VARCHAR, county VARCHAR, name VARCHAR)
SELECT listed FROM table_name_77 WHERE county = "washington" AND name = "b & o bridge"
Write a SQL query that answers the following question: What is the date Listed of the Bridge Built CA.1876?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (listed VARCHAR, built VARCHAR)
SELECT listed FROM table_name_46 WHERE built = "ca.1876"
Write a SQL query that answers the following question: What is the date Listed of the Bridge Built in 1864?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (listed VARCHAR, built VARCHAR)
SELECT listed FROM table_name_79 WHERE built = "1864"
Write a SQL query that answers the following question: What is the total number of Draw(s), when Televotes is greater than 1761, when Song is "Ils Sont LΓ ", and when Place is less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (draw VARCHAR, place VARCHAR, televotes VARCHAR, song VARCHAR)
SELECT COUNT(draw) FROM table_name_9 WHERE televotes > 1761 AND song = "ils sont lΓ " AND place < 2
Write a SQL query that answers the following question: What is the lowest Place, when Televotes is 15424?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (place INTEGER, televotes VARCHAR)
SELECT MIN(place) FROM table_name_50 WHERE televotes = 15424
Write a SQL query that answers the following question: What is the average Place, when Song is "Dis Oui"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (place INTEGER, song VARCHAR)
SELECT AVG(place) FROM table_name_14 WHERE song = "dis oui"
Write a SQL query that answers the following question: What club received a DF player for free?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (to_club VARCHAR, transfer_fee VARCHAR, pos VARCHAR)
SELECT to_club FROM table_name_52 WHERE transfer_fee = "free" AND pos = "df"
Write a SQL query that answers the following question: Which player was transferred to Reggina?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (player VARCHAR, to_club VARCHAR)
SELECT player FROM table_name_99 WHERE to_club = "reggina"
Write a SQL query that answers the following question: What is the exit date of the player transferred to Reggina for free?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (exit_date VARCHAR, transfer_fee VARCHAR, to_club VARCHAR)
SELECT exit_date FROM table_name_19 WHERE transfer_fee = "free" AND to_club = "reggina"
Write a SQL query that answers the following question: What is the lowest position of pilot mario kiessling from Germany?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (position INTEGER, country VARCHAR, pilot VARCHAR)
SELECT MIN(position) FROM table_name_23 WHERE country = "germany" AND pilot = "mario kiessling"
Write a SQL query that answers the following question: What is the average position of pilot petr krejcirik, who has less than 11 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (position INTEGER, points VARCHAR, pilot VARCHAR)
SELECT AVG(position) FROM table_name_31 WHERE points < 11 AND pilot = "petr krejcirik"
Write a SQL query that answers the following question: What is the career SR with a 1r in 1985?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (career_sr VARCHAR)
SELECT career_sr FROM table_name_43 WHERE 1985 = "1r"
Write a SQL query that answers the following question: What tournament has a 3r in 1983?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (tournament VARCHAR)
SELECT tournament FROM table_name_81 WHERE 1983 = "3r"
Write a SQL query that answers the following question: What is the 1980 value with a 1r in 1984 and a 1r in 1981?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (Id VARCHAR)
SELECT 1980 FROM table_name_48 WHERE 1984 = "1r" AND 1981 = "1r"
Write a SQL query that answers the following question: What is the finish of Australia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (finish VARCHAR, country VARCHAR)
SELECT finish FROM table_name_52 WHERE country = "australia"
Write a SQL query that answers the following question: What is the total with a +4 to par?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (total VARCHAR, to_par VARCHAR)
SELECT total FROM table_name_63 WHERE to_par = "+4"
Write a SQL query that answers the following question: What country has a +3 to par?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (country VARCHAR, to_par VARCHAR)
SELECT country FROM table_name_57 WHERE to_par = "+3"
Write a SQL query that answers the following question: What was the first year that the artist of every little thing ranked lower than 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (year INTEGER, artist VARCHAR, rank VARCHAR)
SELECT MIN(year) FROM table_name_56 WHERE artist = "every little thing" AND rank < 10
Write a SQL query that answers the following question: Which Championship was louise suggs the runner-up by 3 strokes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (championship VARCHAR, runner_s__up VARCHAR, margin VARCHAR)
SELECT championship FROM table_name_8 WHERE runner_s__up = "louise suggs" AND margin = "3 strokes"
Write a SQL query that answers the following question: When was the most recent year that kathy whitworth was the runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (year INTEGER, runner_s__up VARCHAR)
SELECT MAX(year) FROM table_name_49 WHERE runner_s__up = "kathy whitworth"
Write a SQL query that answers the following question: What was the winning score in the u.s. women's open that was won by 5 strokes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (winning_score VARCHAR, championship VARCHAR, margin VARCHAR)
SELECT winning_score FROM table_name_75 WHERE championship = "u.s. women's open" AND margin = "5 strokes"
Write a SQL query that answers the following question: What is Record, when High Rebounds is "Marcus Camby (15)", and when High Assists is "Baron Davis (7)"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (record VARCHAR, high_rebounds VARCHAR, high_assists VARCHAR)
SELECT record FROM table_name_86 WHERE high_rebounds = "marcus camby (15)" AND high_assists = "baron davis (7)"
Write a SQL query that answers the following question: What is Game, when Team is "Philadelphia"
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (game VARCHAR, team VARCHAR)
SELECT game FROM table_name_48 WHERE team = "philadelphia"
Write a SQL query that answers the following question: What is High Assists, when Team is "@ Milwaukee"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_name_83 WHERE team = "@ milwaukee"
Write a SQL query that answers the following question: What was the tie number for the round against visiting opponent Chelsea?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (tie_no INTEGER, away_team VARCHAR)
SELECT SUM(tie_no) FROM table_name_89 WHERE away_team = "chelsea"
Write a SQL query that answers the following question: What was the tie number for the round against visiting opponent Newcastle United?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_53 WHERE away_team = "newcastle united"
Write a SQL query that answers the following question: What date was Millwall the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_29 WHERE home_team = "millwall"
Write a SQL query that answers the following question: What date was Leeds United the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_36 WHERE away_team = "leeds united"
Write a SQL query that answers the following question: What was the score when Bolton Wanderers were the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_38 WHERE away_team = "bolton wanderers"
Write a SQL query that answers the following question: What is the total of events when the tournament was U.S. Open and the Top-25 was less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (events INTEGER, tournament VARCHAR, top_25 VARCHAR)
SELECT SUM(events) FROM table_name_47 WHERE tournament = "u.s. open" AND top_25 < 1
Write a SQL query that answers the following question: How many total wins have 3 as the Top-35 and less than 5 cuts made?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (wins INTEGER, top_25 VARCHAR, cuts_made VARCHAR)
SELECT SUM(wins) FROM table_name_40 WHERE top_25 = 3 AND cuts_made < 5
Write a SQL query that answers the following question: What is the minimum Top-10 when the Open Championship was the tournament and the wins greater than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (top_10 INTEGER, tournament VARCHAR, wins VARCHAR)
SELECT MIN(top_10) FROM table_name_32 WHERE tournament = "the open championship" AND wins > 0
Write a SQL query that answers the following question: With wins greater than 0 what is the minimum Top-10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (top_10 INTEGER, wins INTEGER)
SELECT MIN(top_10) FROM table_name_43 WHERE wins > 0
Write a SQL query that answers the following question: What is the total Top-25 when the events were less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (top_25 INTEGER, events INTEGER)
SELECT SUM(top_25) FROM table_name_23 WHERE events < 0
Write a SQL query that answers the following question: Who is the player from the United States with a score of 71-75=146?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (player VARCHAR, country VARCHAR, score VARCHAR)
SELECT player FROM table_name_24 WHERE country = "united states" AND score = 71 - 75 = 146
Write a SQL query that answers the following question: Who is the player with a 77-68=145 score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_56 WHERE score = 77 - 68 = 145
Write a SQL query that answers the following question: What is the country with a 76-68=144 score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_21 WHERE score = 76 - 68 = 144
Write a SQL query that answers the following question: Who is the player in t8 place with a 75-71=146 score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_68 WHERE place = "t8" AND score = 75 - 71 = 146
Write a SQL query that answers the following question: What is the to par of the player from the United States with a place of t1 and a 76-68=144 score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (to_par VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_50 WHERE country = "united states" AND place = "t1" AND score = 76 - 68 = 144
Write a SQL query that answers the following question: What is the country of player lee trevino, who has a to par of +2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (country VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT country FROM table_name_32 WHERE to_par = "+2" AND player = "lee trevino"
Write a SQL query that answers the following question: Who was the pilot at lake dumbleyung?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (pilot_s_ VARCHAR, location VARCHAR)
SELECT pilot_s_ FROM table_name_43 WHERE location = "lake dumbleyung"
Write a SQL query that answers the following question: How fast was the speed during the record set at Coniston Water that was piloted by Malcolm Campbell?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (speed VARCHAR, location VARCHAR, pilot_s_ VARCHAR)
SELECT speed FROM table_name_87 WHERE location = "coniston water" AND pilot_s_ = "malcolm campbell"
Write a SQL query that answers the following question: Which Home has an Away of 1–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (home VARCHAR, away VARCHAR)
SELECT home FROM table_name_36 WHERE away = "1–1"
Write a SQL query that answers the following question: Which Away has a Season of 2007–08?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (away VARCHAR, season VARCHAR)
SELECT away FROM table_name_99 WHERE season = "2007–08"
Write a SQL query that answers the following question: Which Season has an Away of 1–2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (season VARCHAR, away VARCHAR)
SELECT season FROM table_name_94 WHERE away = "1–2"
Write a SQL query that answers the following question: Which Away has a Home of 1–0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (away VARCHAR, home VARCHAR)
SELECT away FROM table_name_41 WHERE home = "1–0"
Write a SQL query that answers the following question: Which Season has a League of bezirksliga?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (season VARCHAR, league VARCHAR)
SELECT season FROM table_name_77 WHERE league = "bezirksliga"
Write a SQL query that answers the following question: Which Season has a Home of 0–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (season VARCHAR, home VARCHAR)
SELECT season FROM table_name_24 WHERE home = "0–1"
Write a SQL query that answers the following question: What was the Venue in 2003?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_16 WHERE date = "2003"
Write a SQL query that answers the following question: What Competition had a Score of 3–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_27 WHERE score = "3–3"
Write a SQL query that answers the following question: Name the lowest Round with Opponent of rolando delgado?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (round INTEGER, opponent VARCHAR)
SELECT MIN(round) FROM table_name_18 WHERE opponent = "rolando delgado"
Write a SQL query that answers the following question: Name the total number of Round in liverpool , england?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (round VARCHAR, location VARCHAR)
SELECT COUNT(round) FROM table_name_73 WHERE location = "liverpool , england"
Write a SQL query that answers the following question: Which Event is in chandigarh , india?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (event VARCHAR, location VARCHAR)
SELECT event FROM table_name_62 WHERE location = "chandigarh , india"
Write a SQL query that answers the following question: Who is the player with a year later than 2007 and the college/high school/club of Arizona?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (player VARCHAR, year VARCHAR, college_high_school_club VARCHAR)
SELECT player FROM table_name_58 WHERE year > 2007 AND college_high_school_club = "arizona"
Write a SQL query that answers the following question: What is the earliest year of c position player gary bergen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (year INTEGER, position VARCHAR, player VARCHAR)
SELECT MIN(year) FROM table_name_89 WHERE position = "c" AND player = "gary bergen"
Write a SQL query that answers the following question: What round is sf/sg player sly williams from a year after 1965 from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (round VARCHAR, player VARCHAR, position VARCHAR, year VARCHAR)
SELECT round FROM table_name_66 WHERE position = "sf/sg" AND year > 1965 AND player = "sly williams"
Write a SQL query that answers the following question: What is the round of the pf position player from 1996 and the college/high school/club mississippi state?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (round VARCHAR, college_high_school_club VARCHAR, position VARCHAR, year VARCHAR)
SELECT round FROM table_name_37 WHERE position = "pf" AND year = 1996 AND college_high_school_club = "mississippi state"
Write a SQL query that answers the following question: Which Score has a Visitor of montreal canadiens, and Points of 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (score VARCHAR, visitor VARCHAR, points VARCHAR)
SELECT score FROM table_name_93 WHERE visitor = "montreal canadiens" AND points = 5
Write a SQL query that answers the following question: Which Date has a Home of montreal canadiens, and Points larger than 9, and a Decision of price?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (date VARCHAR, decision VARCHAR, home VARCHAR, points VARCHAR)
SELECT date FROM table_name_99 WHERE home = "montreal canadiens" AND points > 9 AND decision = "price"
Write a SQL query that answers the following question: What is the score for the home team Notts County?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_97 WHERE home_team = "notts county"
Write a SQL query that answers the following question: Which Episode has a Viewers (millions) larger than 11.26, a Weekly Rank of #8, and a Share of 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (episode VARCHAR, share VARCHAR, viewers__millions_ VARCHAR, weekly_rank VARCHAR)
SELECT episode FROM table_name_62 WHERE viewers__millions_ > 11.26 AND weekly_rank = "#8" AND share = 12
Write a SQL query that answers the following question: What is the 2012 with a mini in 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (Id VARCHAR)
SELECT 2012 FROM table_name_3 WHERE 2009 = "mini"
Write a SQL query that answers the following question: What is the 2013 with virgin in 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (Id VARCHAR)
SELECT 2013 FROM table_name_5 WHERE 2009 = "virgin"
Write a SQL query that answers the following question: What is the highest rank of the 2009 xbox?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (rank INTEGER)
SELECT MAX(rank) FROM table_name_95 WHERE 2009 = "xbox"
Write a SQL query that answers the following question: What is the 2010 with a rank higher than 15 and a 2011 maserati?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (rank VARCHAR)
SELECT 2010 FROM table_name_72 WHERE rank > 15 AND 2011 = "maserati"
Write a SQL query that answers the following question: What is the record with 23 points and a visitor of Chicago?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (record VARCHAR, points VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_70 WHERE points = 23 AND visitor = "chicago"
Write a SQL query that answers the following question: What venue had a tie?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (tied VARCHAR)
SELECT tied FROM table_name_84 WHERE "venue" = "venue"
Write a SQL query that answers the following question: What was the score in Spain T3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (score VARCHAR, place VARCHAR, country VARCHAR)
SELECT score FROM table_name_59 WHERE place = "t3" AND country = "spain"
Write a SQL query that answers the following question: What score did Lee Trevino get in T1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_53 WHERE place = "t1" AND player = "lee trevino"
Write a SQL query that answers the following question: Which player had the score 71-72=143 in Spain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (player VARCHAR, country VARCHAR, score VARCHAR)
SELECT player FROM table_name_45 WHERE score = 71 - 72 = 143 AND country = "spain"
Write a SQL query that answers the following question: When curtis strange had a to par +1, what was his score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_42 WHERE to_par = "+1" AND player = "curtis strange"
Write a SQL query that answers the following question: Who is the player for Zimbabwe?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_45 WHERE country = "zimbabwe"
Write a SQL query that answers the following question: What country is Greg Norman from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_28 WHERE player = "greg norman"
Write a SQL query that answers the following question: What country is Bob Tway from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_93 WHERE player = "bob tway"
Write a SQL query that answers the following question: What was the highest number of starts in 2007 when the average start was over 17.6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (starts INTEGER, year VARCHAR, avg_start VARCHAR)
SELECT MAX(starts) FROM table_name_49 WHERE year = 2007 AND avg_start > 17.6
Write a SQL query that answers the following question: What is the number of wins when the number of third was 1, points were less than 572 and had less than 16 races?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (wins VARCHAR, races VARCHAR, third VARCHAR, points VARCHAR)
SELECT wins FROM table_name_92 WHERE third = "1" AND points < 572 AND races < 16
Write a SQL query that answers the following question: What was the result for the friendly match competition?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (res VARCHAR, competition VARCHAR)
SELECT res FROM table_name_49 WHERE competition = "friendly match"
Write a SQL query that answers the following question: What was the team #1 for the match that had a result of 0-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (team__number1 VARCHAR, res VARCHAR)
SELECT team__number1 FROM table_name_17 WHERE res = "0-3"
Write a SQL query that answers the following question: what is the 2010 population density for municipio ponce?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (municipio VARCHAR)
SELECT 2010 AS _population_density FROM table_name_83 WHERE municipio = "ponce"
Write a SQL query that answers the following question: What's the category for the tween academy: class of 2012 nomination?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (category VARCHAR, nominated_for VARCHAR)
SELECT category FROM table_name_86 WHERE nominated_for = "tween academy: class of 2012"
Write a SQL query that answers the following question: How many years was famas awards the award giving body?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (year VARCHAR, award_giving_body VARCHAR)
SELECT COUNT(year) FROM table_name_47 WHERE award_giving_body = "famas awards"
Write a SQL query that answers the following question: What's the result for the category of best actor in a supporting role?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (result VARCHAR, category VARCHAR)
SELECT result FROM table_name_34 WHERE category = "best actor in a supporting role"
Write a SQL query that answers the following question: Which Record has a Date of december 17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_99 WHERE date = "december 17"
Write a SQL query that answers the following question: Which Streak has a Team of new york knicks?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (streak VARCHAR, team VARCHAR)
SELECT streak FROM table_name_38 WHERE team = "new york knicks"
Write a SQL query that answers the following question: Which Date has a Record of 21–10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_43 WHERE record = "21–10"
Write a SQL query that answers the following question: Which Team has a Record of 17–8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (team VARCHAR, record VARCHAR)
SELECT team FROM table_name_74 WHERE record = "17–8"
Write a SQL query that answers the following question: Which Date has a Score of 102–113?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_63 WHERE score = "102–113"
Write a SQL query that answers the following question: Which Game has a Streak of loss 1, and a Score of 110–111?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (game VARCHAR, streak VARCHAR, score VARCHAR)
SELECT game FROM table_name_80 WHERE streak = "loss 1" AND score = "110–111"
Write a SQL query that answers the following question: What is the name of the player who is Sco and moving to greenock morton in the summer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (name VARCHAR, moving_to VARCHAR, nat VARCHAR, transfer_window VARCHAR)
SELECT name FROM table_name_83 WHERE nat = "sco" AND transfer_window = "summer" AND moving_to = "greenock morton"
Write a SQL query that answers the following question: Where is rory loy moving to?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (moving_to VARCHAR, name VARCHAR)
SELECT moving_to FROM table_name_17 WHERE name = "rory loy"
Write a SQL query that answers the following question: What is the transfer fee for rory loy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (transfer_fee VARCHAR, name VARCHAR)
SELECT transfer_fee FROM table_name_23 WHERE name = "rory loy"
Write a SQL query that answers the following question: What is the date of the game with toronto as the visitor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_89 WHERE visitor = "toronto"
Write a SQL query that answers the following question: What is the date of the game with less than 35 points and chicago as the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (date VARCHAR, points VARCHAR, home VARCHAR)
SELECT date FROM table_name_99 WHERE points < 35 AND home = "chicago"
Write a SQL query that answers the following question: What is the date of the game with pittsburgh as the home team and boston as the visitor team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (date VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_32 WHERE home = "pittsburgh" AND visitor = "boston"
Write a SQL query that answers the following question: What is the record of the game with 35 points and pittsburgh as the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (record VARCHAR, home VARCHAR, points VARCHAR)
SELECT record FROM table_name_77 WHERE home = "pittsburgh" AND points = 35