instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: How many people attended the Away team of middlesbrough?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (attendance VARCHAR, away_team VARCHAR)
SELECT COUNT(attendance) FROM table_name_67 WHERE away_team = "middlesbrough"
Write a SQL query that answers the following question: Which Score has an Away team of middlesbrough?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_98 WHERE away_team = "middlesbrough"
Write a SQL query that answers the following question: WHAT IS THE YEARS AS TALLEST WITH 01.0 10 light street?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (years_as_tallest VARCHAR, street_address VARCHAR)
SELECT years_as_tallest FROM table_name_81 WHERE street_address = "01.0 10 light street"
Write a SQL query that answers the following question: WHAT IS THE FLOOR NUMBERS WITH 01.0 10 light street?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (floors INTEGER, street_address VARCHAR)
SELECT SUM(floors) FROM table_name_57 WHERE street_address = "01.0 10 light street"
Write a SQL query that answers the following question: WHAT IS THE YEAR'S TALLEST VALUE WITH FLOORS LESS THAN 24, AND 05.0 210 north charles street?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR)
SELECT years_as_tallest FROM table_name_10 WHERE floors < 24 AND street_address = "05.0 210 north charles street"
Write a SQL query that answers the following question: WHAT IS THE NAME WITH 01.0 10 light street?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (name VARCHAR, street_address VARCHAR)
SELECT name FROM table_name_63 WHERE street_address = "01.0 10 light street"
Write a SQL query that answers the following question: What is the Name of the Player with a Height of m (ft 1in)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (name VARCHAR, height VARCHAR)
SELECT name FROM table_name_20 WHERE height = "m (ft 1in)"
Write a SQL query that answers the following question: What is Tatyana Gubina's Weight?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (weight VARCHAR, name VARCHAR)
SELECT weight FROM table_name_43 WHERE name = "tatyana gubina"
Write a SQL query that answers the following question: What is Alyona Klimenko's Pos.?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (pos VARCHAR, name VARCHAR)
SELECT pos FROM table_name_86 WHERE name = "alyona klimenko"
Write a SQL query that answers the following question: How many third places has a total greater than 2 and a rank less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (third_place VARCHAR, total VARCHAR, rank VARCHAR)
SELECT third_place FROM table_name_23 WHERE total > 2 AND rank < 2
Write a SQL query that answers the following question: What is the number for R Bacon in Passaic County?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (r_bacon VARCHAR, county VARCHAR)
SELECT r_bacon FROM table_name_98 WHERE county = "passaic"
Write a SQL query that answers the following question: What is the number for D. Shulman if C. Abate has 728 (43%)
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (d_shulman VARCHAR, c_abate VARCHAR)
SELECT d_shulman FROM table_name_9 WHERE c_abate = "728 (43%)"
Write a SQL query that answers the following question: Which county has 728 (43%) listed under C. Abate?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (county VARCHAR, c_abate VARCHAR)
SELECT county FROM table_name_4 WHERE c_abate = "728 (43%)"
Write a SQL query that answers the following question: What are the numbers for D. Shulman in Warren County?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (d_shulman VARCHAR, county VARCHAR)
SELECT d_shulman FROM table_name_12 WHERE county = "warren"
Write a SQL query that answers the following question: Which County has Precincts of 90/90?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (county VARCHAR, precincts VARCHAR)
SELECT county FROM table_name_51 WHERE precincts = "90/90"
Write a SQL query that answers the following question: Which county has 438 (4%) listed under R. Bacon?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (county VARCHAR, r_bacon VARCHAR)
SELECT county FROM table_name_92 WHERE r_bacon = "438 (4%)"
Write a SQL query that answers the following question: What is the format of the album Pacific Ocean Blue in 1991?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (format VARCHAR, album VARCHAR, year VARCHAR)
SELECT format FROM table_name_57 WHERE album = "pacific ocean blue" AND year = 1991
Write a SQL query that answers the following question: Who is the artist with catalog number ZK 34354?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (artist VARCHAR, catalog__number VARCHAR)
SELECT artist FROM table_name_38 WHERE catalog__number = "zk 34354"
Write a SQL query that answers the following question: How tall is player James Stanton?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (height VARCHAR, name VARCHAR)
SELECT height FROM table_name_19 WHERE name = "james stanton"
Write a SQL query that answers the following question: Which player is on the roster for the Sydney University Lions?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (name VARCHAR, club VARCHAR)
SELECT name FROM table_name_58 WHERE club = "sydney university lions"
Write a SQL query that answers the following question: What is the height of player James Stanton?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (height VARCHAR, name VARCHAR)
SELECT height FROM table_name_63 WHERE name = "james stanton"
Write a SQL query that answers the following question: What is the highest draft after round 2, is from the United States and has picked less than 113?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (draft INTEGER, pick VARCHAR, round VARCHAR, nationality VARCHAR)
SELECT MAX(draft) FROM table_name_89 WHERE round > 2 AND nationality = "united states" AND pick < 113
Write a SQL query that answers the following question: What is the average draft with a pick larger than 42, and player Grant Eakin after round 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (draft INTEGER, round VARCHAR, pick VARCHAR, player VARCHAR)
SELECT AVG(draft) FROM table_name_45 WHERE pick > 42 AND player = "grant eakin" AND round > 8
Write a SQL query that answers the following question: What venue was the 2000 AFC Asian Cup qualification held at?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_9 WHERE competition = "2000 afc asian cup qualification"
Write a SQL query that answers the following question: What were the lowest goals when the matches were smaller than 29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (goals INTEGER, matches INTEGER)
SELECT MIN(goals) FROM table_name_40 WHERE matches < 29
Write a SQL query that answers the following question: What is the lowest match for goals larger than 36?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (matches INTEGER, goals INTEGER)
SELECT MIN(matches) FROM table_name_42 WHERE goals > 36
Write a SQL query that answers the following question: For the 2013 completion schedule, what is the total S.no.?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR)
SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2013"
Write a SQL query that answers the following question: What is the completion schedule for himachal pradesh state with a total capacity (MW) of 800?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (completion_schedule VARCHAR, state VARCHAR, total_capacity__mw_ VARCHAR)
SELECT completion_schedule FROM table_name_96 WHERE state = "himachal pradesh" AND total_capacity__mw_ = 800
Write a SQL query that answers the following question: When the completion schedule is 2016 for the state of jammu & kashmir, what is the smallest S.no.?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (sno INTEGER, state VARCHAR, completion_schedule VARCHAR)
SELECT MIN(sno) FROM table_name_9 WHERE state = "jammu & kashmir" AND completion_schedule = "2016"
Write a SQL query that answers the following question: What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (tournament VARCHAR)
SELECT 2009 FROM table_name_32 WHERE 2012 = "a" AND 2011 = "1r" AND tournament = "shanghai masters"
Write a SQL query that answers the following question: What is the 2011 value of the paris masters, which had A in 2008, A in 2012, A in 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (tournament VARCHAR)
SELECT 2011 FROM table_name_34 WHERE 2008 = "a" AND 2012 = "a" AND 2009 = "a" AND tournament = "paris masters"
Write a SQL query that answers the following question: What is the 2012 of the hamburg masters?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (tournament VARCHAR)
SELECT 2012 FROM table_name_45 WHERE tournament = "hamburg masters"
Write a SQL query that answers the following question: What is the 2008 value of the hamburg masters?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (tournament VARCHAR)
SELECT 2008 FROM table_name_30 WHERE tournament = "hamburg masters"
Write a SQL query that answers the following question: What is the 2009 value with lq in 2012, 2r in 2011, and lq in 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (Id VARCHAR)
SELECT 2009 FROM table_name_19 WHERE 2012 = "lq" AND 2011 = "2r" AND 2008 = "lq"
Write a SQL query that answers the following question: What is the 2010 value of the monte carlo masters, which had A in 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (tournament VARCHAR)
SELECT 2010 FROM table_name_97 WHERE 2012 = "a" AND tournament = "monte carlo masters"
Write a SQL query that answers the following question: What is the quantity when the DRG was E 62 01–E 62 05?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (quantity VARCHAR, drg_number_s_ VARCHAR)
SELECT COUNT(quantity) FROM table_name_93 WHERE drg_number_s_ = "e 62 01–e 62 05"
Write a SQL query that answers the following question: Which Opponent in the final has a Partnering of graydon oliver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (opponent_in_the_final VARCHAR, partnering VARCHAR)
SELECT opponent_in_the_final FROM table_name_88 WHERE partnering = "graydon oliver"
Write a SQL query that answers the following question: which Score has a Partnering of dmitry tursunov?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (score VARCHAR, partnering VARCHAR)
SELECT score FROM table_name_63 WHERE partnering = "dmitry tursunov"
Write a SQL query that answers the following question: Which Score has an Opponent in the final of chris haggard robbie koenig?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_17 WHERE opponent_in_the_final = "chris haggard robbie koenig"
Write a SQL query that answers the following question: Which Partnering has a Score of 7–6 7 , 6–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (partnering VARCHAR, score VARCHAR)
SELECT partnering FROM table_name_11 WHERE score = "7–6 7 , 6–1"
Write a SQL query that answers the following question: Name the Surface that of Tournament of valencia , spain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (surface VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_92 WHERE tournament = "valencia , spain"
Write a SQL query that answers the following question: Name the Opponent in the final on july 4, 2005?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (opponent_in_the_final VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_52 WHERE date = "july 4, 2005"
Write a SQL query that answers the following question: What was the Result F–A on 21 February 2009, when the league position was 1st?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (result_f_a VARCHAR, league_position VARCHAR, date VARCHAR)
SELECT result_f_a FROM table_name_55 WHERE league_position = "1st" AND date = "21 february 2009"
Write a SQL query that answers the following question: What club does John Westin play for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_99 WHERE player = "john westin"
Write a SQL query that answers the following question: In what round was a left wing drafted?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (round VARCHAR, position VARCHAR)
SELECT round FROM table_name_58 WHERE position = "left wing"
Write a SQL query that answers the following question: What player was drafted in Round 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (player VARCHAR, round VARCHAR)
SELECT player FROM table_name_30 WHERE round = 5
Write a SQL query that answers the following question: Where did the player who won in 1991 finish?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (finish VARCHAR, year_s__won VARCHAR)
SELECT finish FROM table_name_1 WHERE year_s__won = "1991"
Write a SQL query that answers the following question: Which player is from scotland?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_24 WHERE country = "scotland"
Write a SQL query that answers the following question: What are the Lyrics (l) / Music (m) when the draw was 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (lyrics__l____music__m_ VARCHAR, draw VARCHAR)
SELECT lyrics__l____music__m_ FROM table_name_60 WHERE draw = 5
Write a SQL query that answers the following question: What score has friendly as the competition?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_11 WHERE competition = "friendly"
Write a SQL query that answers the following question: Playing against Chelmsford City on 15 November 1986, who was the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_6 WHERE date = "15 november 1986" AND away_team = "chelmsford city"
Write a SQL query that answers the following question: When Lincoln City was the away team what is the tie number?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_21 WHERE away_team = "lincoln city"
Write a SQL query that answers the following question: When was the game played that had Rochdale as the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_95 WHERE away_team = "rochdale"
Write a SQL query that answers the following question: Scunthorpe United as the home team has what tie number?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_52 WHERE home_team = "scunthorpe united"
Write a SQL query that answers the following question: The game played on 6 December 1986 had what score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_12 WHERE date = "6 december 1986"
Write a SQL query that answers the following question: WHAT IS THE TYPE WITH 124?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (type VARCHAR, quantity VARCHAR)
SELECT type FROM table_name_56 WHERE quantity = "124"
Write a SQL query that answers the following question: What is Score, when Total is "28:42"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (score VARCHAR, total VARCHAR)
SELECT score FROM table_name_32 WHERE total = "28:42"
Write a SQL query that answers the following question: What is Date, when Set 1 is "20:22"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (date VARCHAR, set_1 VARCHAR)
SELECT date FROM table_name_49 WHERE set_1 = "20:22"
Write a SQL query that answers the following question: What is Set 1, when Set 2 is "21:18"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (set_1 VARCHAR, set_2 VARCHAR)
SELECT set_1 FROM table_name_48 WHERE set_2 = "21:18"
Write a SQL query that answers the following question: What is Set 2, when Total is "52:44"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (set_2 VARCHAR, total VARCHAR)
SELECT set_2 FROM table_name_81 WHERE total = "52:44"
Write a SQL query that answers the following question: What is the away team with a 4 tie no.?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_57 WHERE tie_no = "4"
Write a SQL query that answers the following question: What is the date southampton was the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_52 WHERE away_team = "southampton"
Write a SQL query that answers the following question: What is the score of the home team tottenham hotspur?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_94 WHERE home_team = "tottenham hotspur"
Write a SQL query that answers the following question: What was the score of the game on 16 december 1987?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_36 WHERE date = "16 december 1987"
Write a SQL query that answers the following question: Who played against the away team hereford united?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_16 WHERE away_team = "hereford united"
Write a SQL query that answers the following question: Who played against away team hereford united?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_4 WHERE away_team = "hereford united"
Write a SQL query that answers the following question: Which club was in Position 1 in 1959-1960?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (clubs VARCHAR, position_in_1959_1960 VARCHAR)
SELECT clubs FROM table_name_59 WHERE position_in_1959_1960 = "1"
Write a SQL query that answers the following question: In which season did the évora settlements join the league?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (season_joined_league VARCHAR, settlements VARCHAR)
SELECT season_joined_league FROM table_name_28 WHERE settlements = "évora"
Write a SQL query that answers the following question: What was the position in 1959-1960 for the club that had 14 seasons at this level?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (position_in_1959_1960 VARCHAR, seasons_at_this_level VARCHAR)
SELECT position_in_1959_1960 FROM table_name_45 WHERE seasons_at_this_level = "14 seasons"
Write a SQL query that answers the following question: What was the position in 1959-1960 for the Sporting De Braga club?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (position_in_1959_1960 VARCHAR, clubs VARCHAR)
SELECT position_in_1959_1960 FROM table_name_19 WHERE clubs = "sporting de braga"
Write a SQL query that answers the following question: What is the "season joined league" for the club that had 15 seasons at this level?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (season_joined_league VARCHAR, seasons_at_this_level VARCHAR)
SELECT season_joined_league FROM table_name_54 WHERE seasons_at_this_level = "15 seasons"
Write a SQL query that answers the following question: What country has a score of 71-66-72-72=281?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_79 WHERE score = 71 - 66 - 72 - 72 = 281
Write a SQL query that answers the following question: What is the total amount of money that Payne Stewart has?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (money___ INTEGER, player VARCHAR)
SELECT SUM(money___) AS £__ FROM table_name_90 WHERE player = "payne stewart"
Write a SQL query that answers the following question: What country has player Nick Faldo?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_92 WHERE player = "nick faldo"
Write a SQL query that answers the following question: What is the to par for the score 64-73-74-69=280?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_40 WHERE score = 64 - 73 - 74 - 69 = 280
Write a SQL query that answers the following question: What is the lowest rank for China Eastern Airlines, Korean Air with more passengers than 97,055?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (rank INTEGER, carriers VARCHAR, passengers VARCHAR)
SELECT MIN(rank) FROM table_name_89 WHERE carriers = "china eastern airlines, korean air" AND passengers > 97 OFFSET 055
Write a SQL query that answers the following question: What is the smallest rank for passengers more than 73,754?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (rank INTEGER, passengers INTEGER)
SELECT MIN(rank) FROM table_name_45 WHERE passengers > 73 OFFSET 754
Write a SQL query that answers the following question: Which carrier is ranked 20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (carriers VARCHAR, rank VARCHAR)
SELECT carriers FROM table_name_19 WHERE rank = 20
Write a SQL query that answers the following question: What is the highest rank when there are fewer than 124,296 passengers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (rank INTEGER, passengers INTEGER)
SELECT MAX(rank) FROM table_name_4 WHERE passengers < 124 OFFSET 296
Write a SQL query that answers the following question: What's the 2013 result for the grand slam tournaments?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (tournament VARCHAR)
SELECT 2013 FROM table_name_76 WHERE tournament = "grand slam tournaments"
Write a SQL query that answers the following question: What's the 2010 result when 2006 is a?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (Id VARCHAR)
SELECT 2010 FROM table_name_20 WHERE 2006 = "a"
Write a SQL query that answers the following question: What tournament has a 2003 of a?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (tournament VARCHAR)
SELECT tournament FROM table_name_47 WHERE 2003 = "a"
Write a SQL query that answers the following question: What's the 2007 result when 2003 is a?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (Id VARCHAR)
SELECT 2007 FROM table_name_83 WHERE 2003 = "a"
Write a SQL query that answers the following question: What's the 2011 result when 2010 is 2r and 2013 is w?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (Id VARCHAR)
SELECT 2011 FROM table_name_25 WHERE 2010 = "2r" AND 2013 = "w"
Write a SQL query that answers the following question: What's the 2005 result when 2001 is sf?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (Id VARCHAR)
SELECT 2005 FROM table_name_64 WHERE 2001 = "sf"
Write a SQL query that answers the following question: Which Binibining Pilipinas-World has a Second runner-up of sonia santiago?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (binibining_pilipinas_world VARCHAR, second_runner_up VARCHAR)
SELECT binibining_pilipinas_world FROM table_name_72 WHERE second_runner_up = "sonia santiago"
Write a SQL query that answers the following question: Which Year has a Binibining Pilipinas International of alma concepcion?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (year VARCHAR, binibining_pilipinas_international VARCHAR)
SELECT year FROM table_name_54 WHERE binibining_pilipinas_international = "alma concepcion"
Write a SQL query that answers the following question: Which Binibining Pilipinas International has a Binibining Pilipinas-World of sharmaine gutierrez?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR)
SELECT binibining_pilipinas_international FROM table_name_24 WHERE binibining_pilipinas_world = "sharmaine gutierrez"
Write a SQL query that answers the following question: Which Result has a Site of rice stadium • houston, tx?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (result VARCHAR, site VARCHAR)
SELECT result FROM table_name_9 WHERE site = "rice stadium • houston, tx"
Write a SQL query that answers the following question: What Opponent has a Site of razorback stadium • fayetteville, ar, and a Date of october 7, 1967?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (opponent VARCHAR, site VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_29 WHERE site = "razorback stadium • fayetteville, ar" AND date = "october 7, 1967"
Write a SQL query that answers the following question: What Opponent has a Site of war memorial stadium • little rock, ar, and a Result of l6–7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (opponent VARCHAR, site VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_63 WHERE site = "war memorial stadium • little rock, ar" AND result = "l6–7"
Write a SQL query that answers the following question: What Result has a Date of october 14, 1967?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_86 WHERE date = "october 14, 1967"
Write a SQL query that answers the following question: What Attendance has a Result of l12–21?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_13 WHERE result = "l12–21"
Write a SQL query that answers the following question: What Site has Attendance of 53,000, and a Date of october 21, 1967?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (site VARCHAR, attendance VARCHAR, date VARCHAR)
SELECT site FROM table_name_83 WHERE attendance = "53,000" AND date = "october 21, 1967"
Write a SQL query that answers the following question: What region is the toshiba emi label with a cd format?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (region VARCHAR, format_s_ VARCHAR, label VARCHAR)
SELECT region FROM table_name_51 WHERE format_s_ = "cd" AND label = "toshiba emi"
Write a SQL query that answers the following question: What is the dage of catalog asw 28033?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (date VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_68 WHERE catalog = "asw 28033"
Write a SQL query that answers the following question: What is the date with a Japan region?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (date VARCHAR, region VARCHAR)
SELECT date FROM table_name_70 WHERE region = "japan"
Write a SQL query that answers the following question: What region has a lp format on 4 August 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (region VARCHAR, format_s_ VARCHAR, date VARCHAR)
SELECT region FROM table_name_72 WHERE format_s_ = "lp" AND date = "4 august 2008"
Write a SQL query that answers the following question: What region is on 11 August 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (region VARCHAR, date VARCHAR)
SELECT region FROM table_name_4 WHERE date = "11 august 2008"
Write a SQL query that answers the following question: What is the position with a neutral H/A/N and more than 2 innings?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (pos INTEGER, h_a_n VARCHAR, inn VARCHAR)
SELECT AVG(pos) FROM table_name_93 WHERE h_a_n = "neutral" AND inn > 2