instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the total number of ends when the transfer fee was dkk 14m? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (ends VARCHAR, transfer_fee VARCHAR) | SELECT COUNT(ends) FROM table_name_80 WHERE transfer_fee = "dkk 14m" |
Write a SQL query that answers the following question: Who had a transfer fee of dkk 6m? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (name VARCHAR, transfer_fee VARCHAR) | SELECT name FROM table_name_39 WHERE transfer_fee = "dkk 6m" |
Write a SQL query that answers the following question: Craig Parry with a score of 68-68=136 is in what place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (place VARCHAR, player VARCHAR, score VARCHAR) | SELECT place FROM table_name_83 WHERE score = 68 - 68 = 136 AND player = "craig parry" |
Write a SQL query that answers the following question: What place is the golfer in who is from Spain? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_21 WHERE country = "spain" |
Write a SQL query that answers the following question: For what country does the golfer play who has a score of 72-65=137? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_47 WHERE score = 72 - 65 = 137 |
Write a SQL query that answers the following question: Golfer Steve Pate is in what place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_6 WHERE player = "steve pate" |
Write a SQL query that answers the following question: Which Bolton Wanderers career has 293 Apps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (bolton_wanderers_career VARCHAR, apps VARCHAR) | SELECT bolton_wanderers_career FROM table_name_77 WHERE apps = 293 |
Write a SQL query that answers the following question: Which Bolton Wanderers career has a Total larger than 404, and a Position of fw, and Apps less than 492, and 79 Goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (bolton_wanderers_career VARCHAR, goals VARCHAR, apps VARCHAR, total VARCHAR, position VARCHAR) | SELECT bolton_wanderers_career FROM table_name_75 WHERE total > 404 AND position = "fw" AND apps < 492 AND goals = "79" |
Write a SQL query that answers the following question: How many apps have 28 goals, and a Total smaller than 191? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (apps INTEGER, goals VARCHAR, total VARCHAR) | SELECT SUM(apps) FROM table_name_42 WHERE goals = "28" AND total < 191 |
Write a SQL query that answers the following question: On what Date is Sheffield Wednesday the Home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_61 WHERE home_team = "sheffield wednesday" |
Write a SQL query that answers the following question: What is the Tie no of the Blackburn Rovers Away game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_61 WHERE away_team = "blackburn rovers" |
Write a SQL query that answers the following question: What is the Away team at the Wolverhampton Wanderers Home game with a Score of 2β0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (away_team VARCHAR, score VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_33 WHERE score = "2β0" AND home_team = "wolverhampton wanderers" |
Write a SQL query that answers the following question: What is the Home team at the Blackburn Rovers Away game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_70 WHERE away_team = "blackburn rovers" |
Write a SQL query that answers the following question: What is the Home team in the game with a Score of 2β3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (home_team VARCHAR, score VARCHAR) | SELECT home_team FROM table_name_17 WHERE score = "2β3" |
Write a SQL query that answers the following question: What is the 1st leg with Team 2 Lyon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (team_2 VARCHAR) | SELECT 1 AS st_leg FROM table_name_98 WHERE team_2 = "lyon" |
Write a SQL query that answers the following question: Which team is Team 1 with a Team 2 being Sporting CP? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_81 WHERE team_2 = "sporting cp" |
Write a SQL query that answers the following question: What is the second leg for Team 1 Servette? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (team_1 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_54 WHERE team_1 = "servette" |
Write a SQL query that answers the following question: What was the 1999 Tournament at the US Open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (tournament VARCHAR) | SELECT 1999 FROM table_name_47 WHERE tournament = "us open" |
Write a SQL query that answers the following question: What tournament was an A 1988, and a 2R 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (tournament VARCHAR) | SELECT tournament FROM table_name_38 WHERE 1988 = "a" AND 1999 = "2r" |
Write a SQL query that answers the following question: What is the 1991 for 2R 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (Id VARCHAR) | SELECT 1991 FROM table_name_92 WHERE 1999 = "2r" |
Write a SQL query that answers the following question: What is the 1999 for an A 1991, and a 1r 1997? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (Id VARCHAR) | SELECT 1999 FROM table_name_45 WHERE 1991 = "a" AND 1997 = "1r" |
Write a SQL query that answers the following question: What is the 1991 with a 2r 1996? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (Id VARCHAR) | SELECT 1991 FROM table_name_34 WHERE 1996 = "2r" |
Write a SQL query that answers the following question: When was the Attendance larger than 74,382? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (date VARCHAR, attendance INTEGER) | SELECT date FROM table_name_36 WHERE attendance > 74 OFFSET 382 |
Write a SQL query that answers the following question: Which venue has a status of Five Nations and an against of 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (venue VARCHAR, status VARCHAR, against VARCHAR) | SELECT venue FROM table_name_16 WHERE status = "five nations" AND against = 22 |
Write a SQL query that answers the following question: What is the sum of the rounds of the match with brett chism as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (round INTEGER, opponent VARCHAR) | SELECT SUM(round) FROM table_name_73 WHERE opponent = "brett chism" |
Write a SQL query that answers the following question: What is the lwoest round of wild bill's fight night 21 at 5:00? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (round INTEGER, time VARCHAR, event VARCHAR) | SELECT MIN(round) FROM table_name_8 WHERE time = "5:00" AND event = "wild bill's fight night 21" |
Write a SQL query that answers the following question: Which Country has a To par smaller than 7, and a Place of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (country VARCHAR, to_par VARCHAR, place VARCHAR) | SELECT country FROM table_name_99 WHERE to_par < 7 AND place = "1" |
Write a SQL query that answers the following question: Which Place has a Country of australia, and a Score of 70-70-72=212? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR, score VARCHAR) | SELECT place FROM table_name_64 WHERE country = "australia" AND score = 70 - 70 - 72 = 212 |
Write a SQL query that answers the following question: What was sweden's score in T9 place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (score VARCHAR, place VARCHAR, country VARCHAR) | SELECT score FROM table_name_27 WHERE place = "t9" AND country = "sweden" |
Write a SQL query that answers the following question: Which To par has a Country of england, and a Place of t9, and a Player of graeme storm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (to_par INTEGER, player VARCHAR, country VARCHAR, place VARCHAR) | SELECT MAX(to_par) FROM table_name_47 WHERE country = "england" AND place = "t9" AND player = "graeme storm" |
Write a SQL query that answers the following question: What is Distance, when Venue is "Belgrade"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (distance VARCHAR, venue VARCHAR) | SELECT distance FROM table_name_39 WHERE venue = "belgrade" |
Write a SQL query that answers the following question: What is Date, when Athlete is "Yussuf Alli"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (date VARCHAR, athlete VARCHAR) | SELECT date FROM table_name_15 WHERE athlete = "yussuf alli" |
Write a SQL query that answers the following question: What is Distance, when Athlete is "Irving Saladino"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (distance VARCHAR, athlete VARCHAR) | SELECT distance FROM table_name_57 WHERE athlete = "irving saladino" |
Write a SQL query that answers the following question: What is Athlete, when Nation is "Nigeria"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (athlete VARCHAR, nation VARCHAR) | SELECT athlete FROM table_name_12 WHERE nation = "nigeria" |
Write a SQL query that answers the following question: What is Nation, when Date is "2004-07-22"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (nation VARCHAR, date VARCHAR) | SELECT nation FROM table_name_67 WHERE date = "2004-07-22" |
Write a SQL query that answers the following question: What is Distance, when Date is "2008-01-12"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (distance VARCHAR, date VARCHAR) | SELECT distance FROM table_name_18 WHERE date = "2008-01-12" |
Write a SQL query that answers the following question: What is the Week of the game with a Result of w 48β20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (week VARCHAR, result VARCHAR) | SELECT week FROM table_name_58 WHERE result = "w 48β20" |
Write a SQL query that answers the following question: What is the Record of the game with a Result of l 14β16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (record VARCHAR, result VARCHAR) | SELECT record FROM table_name_82 WHERE result = "l 14β16" |
Write a SQL query that answers the following question: What is the Date of the game with a Record of 2β3β1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_86 WHERE record = "2β3β1" |
Write a SQL query that answers the following question: What opponent has 32 as the round? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (opponent VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_41 WHERE round = "32" |
Write a SQL query that answers the following question: What year was Kelin nominated? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (year_ceremony VARCHAR, english_title VARCHAR) | SELECT year_ceremony FROM table_name_53 WHERE english_title = "kelin" |
Write a SQL query that answers the following question: What was the to par score in the match that had a score of 76-71-78-67=292? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (to_par VARCHAR, score VARCHAR) | SELECT COUNT(to_par) FROM table_name_49 WHERE score = 76 - 71 - 78 - 67 = 292 |
Write a SQL query that answers the following question: What is Robert Allenby's average to par score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (to_par INTEGER, player VARCHAR) | SELECT AVG(to_par) FROM table_name_88 WHERE player = "robert allenby" |
Write a SQL query that answers the following question: Can you tell me the Tournament that has the 2009 of 1r, and the 2012 of w? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (tournament VARCHAR) | SELECT tournament FROM table_name_1 WHERE 2009 = "1r" AND 2012 = "w" |
Write a SQL query that answers the following question: Can you tell me the 2010 that has the 2008 of grand slam tournaments? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (Id VARCHAR) | SELECT 2010 FROM table_name_44 WHERE 2008 = "grand slam tournaments" |
Write a SQL query that answers the following question: Can you tell me the 2009 that has the 2011 of A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (Id VARCHAR) | SELECT 2009 FROM table_name_50 WHERE 2011 = "a" |
Write a SQL query that answers the following question: What is the to par for the player with total of 155? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (to_par INTEGER, total VARCHAR) | SELECT AVG(to_par) FROM table_name_28 WHERE total = 155 |
Write a SQL query that answers the following question: Who won Bronze with Notes of 2.5km, 16controls? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (bronze VARCHAR, notes VARCHAR) | SELECT bronze FROM table_name_31 WHERE notes = "2.5km, 16controls" |
Write a SQL query that answers the following question: Who won Gold later than 2004 with Notes of 2.73km, 14controls? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (gold VARCHAR, year VARCHAR, notes VARCHAR) | SELECT gold FROM table_name_32 WHERE year > 2004 AND notes = "2.73km, 14controls" |
Write a SQL query that answers the following question: Who won Bronze with notes of 2.5km, 14controls? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (bronze VARCHAR, notes VARCHAR) | SELECT bronze FROM table_name_60 WHERE notes = "2.5km, 14controls" |
Write a SQL query that answers the following question: What are the Notes against a Silver for Jenny Johansson earlier than 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (notes VARCHAR, year VARCHAR, silver VARCHAR) | SELECT notes FROM table_name_77 WHERE year < 2006 AND silver = "jenny johansson" |
Write a SQL query that answers the following question: What is the Constituency number for Meerut? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (constituency_number VARCHAR, name VARCHAR) | SELECT constituency_number FROM table_name_8 WHERE name = "meerut" |
Write a SQL query that answers the following question: What is the name for the constituency at number 48? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (name VARCHAR, constituency_number VARCHAR) | SELECT name FROM table_name_38 WHERE constituency_number = "48" |
Write a SQL query that answers the following question: When bronze is more than 3, what is the rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (rank VARCHAR, bronze INTEGER) | SELECT rank FROM table_name_19 WHERE bronze > 3 |
Write a SQL query that answers the following question: When rank is 7 and silver is less than 0, what is the total gold? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (gold INTEGER, rank VARCHAR, silver VARCHAR) | SELECT SUM(gold) FROM table_name_17 WHERE rank = "7" AND silver < 0 |
Write a SQL query that answers the following question: What player is from Wales? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (player VARCHAR, country VARCHAR) | SELECT player FROM table_name_84 WHERE country = "wales" |
Write a SQL query that answers the following question: What player scored 73-68-66=207? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_78 WHERE score = 73 - 68 - 66 = 207 |
Write a SQL query that answers the following question: What Seve Ballesteros's score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_82 WHERE player = "seve ballesteros" |
Write a SQL query that answers the following question: What country is Craig Parry from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_59 WHERE player = "craig parry" |
Write a SQL query that answers the following question: What country has a score of 66-73-69=208? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_69 WHERE score = 66 - 73 - 69 = 208 |
Write a SQL query that answers the following question: What is Road Team, when Result is "74-71"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (road_team VARCHAR, result VARCHAR) | SELECT road_team FROM table_name_36 WHERE result = "74-71" |
Write a SQL query that answers the following question: What is Result, when Date is "April 3"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_54 WHERE date = "april 3" |
Write a SQL query that answers the following question: What is Game, when Road Team is "Syracuse", and when Result is "96-89"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (game VARCHAR, road_team VARCHAR, result VARCHAR) | SELECT game FROM table_name_47 WHERE road_team = "syracuse" AND result = "96-89" |
Write a SQL query that answers the following question: What is Home Team, when Date is "April 10"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (home_team VARCHAR, date VARCHAR) | SELECT home_team FROM table_name_58 WHERE date = "april 10" |
Write a SQL query that answers the following question: What is Game, when Road Team is "Syracuse", and when Result is "109-82"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (game VARCHAR, road_team VARCHAR, result VARCHAR) | SELECT game FROM table_name_77 WHERE road_team = "syracuse" AND result = "109-82" |
Write a SQL query that answers the following question: What is Road Team, when Date is "April 10"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (road_team VARCHAR, date VARCHAR) | SELECT road_team FROM table_name_29 WHERE date = "april 10" |
Write a SQL query that answers the following question: What was the earliest round with Neil Colzie and a pick smaller than 24? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (round INTEGER, player VARCHAR, pick VARCHAR) | SELECT MIN(round) FROM table_name_26 WHERE player = "neil colzie" AND pick < 24 |
Write a SQL query that answers the following question: What was the score of the replay game when watford was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_84 WHERE tie_no = "replay" AND away_team = "watford" |
Write a SQL query that answers the following question: Who was the home team when walsall was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_8 WHERE away_team = "walsall" |
Write a SQL query that answers the following question: What is Name, when Venue is "Hong Kong"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (name VARCHAR, venue VARCHAR) | SELECT name FROM table_name_15 WHERE venue = "hong kong" |
Write a SQL query that answers the following question: What is Name, when Venue is "Motherwell"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (name VARCHAR, venue VARCHAR) | SELECT name FROM table_name_71 WHERE venue = "motherwell" |
Write a SQL query that answers the following question: In 1987, what is the Runners-up when Stefan Edberg is Champion? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (runners_up VARCHAR, champions VARCHAR, year VARCHAR) | SELECT runners_up FROM table_name_95 WHERE champions = "stefan edberg" AND year = 1987 |
Write a SQL query that answers the following question: What were the Runners-up prior to 1990 when Ivan Lendl was Champion in the Seiko Super Tennis Tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (runners_up VARCHAR, year VARCHAR, champions VARCHAR, name_of_tournament VARCHAR) | SELECT runners_up FROM table_name_80 WHERE champions = "ivan lendl" AND name_of_tournament = "seiko super tennis" AND year < 1990 |
Write a SQL query that answers the following question: In What Tournament did Boris Becker have a Score of 7β6, 6β4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (name_of_tournament VARCHAR, champions VARCHAR, score VARCHAR) | SELECT name_of_tournament FROM table_name_84 WHERE champions = "boris becker" AND score = "7β6, 6β4" |
Write a SQL query that answers the following question: What is the external weapon with the falcon shield animal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (external_weapon VARCHAR, shield_animal VARCHAR) | SELECT external_weapon FROM table_name_17 WHERE shield_animal = "falcon" |
Write a SQL query that answers the following question: What cart has a serpent shield animal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (cart VARCHAR, shield_animal VARCHAR) | SELECT cart FROM table_name_47 WHERE shield_animal = "serpent" |
Write a SQL query that answers the following question: What is the external weapon of knight zeke? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (external_weapon VARCHAR, knight VARCHAR) | SELECT external_weapon FROM table_name_26 WHERE knight = "zeke" |
Write a SQL query that answers the following question: What is the shield animal of knight phil? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (shield_animal VARCHAR, knight VARCHAR) | SELECT shield_animal FROM table_name_57 WHERE knight = "phil" |
Write a SQL query that answers the following question: What is the external weapon with a ramhead cart? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (external_weapon VARCHAR, cart VARCHAR) | SELECT external_weapon FROM table_name_59 WHERE cart = "ramhead cart" |
Write a SQL query that answers the following question: On what date was the away team Sheffield Wednesday? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_51 WHERE away_team = "sheffield wednesday" |
Write a SQL query that answers the following question: What was the tie number for the game with an away team of Hartlepool United? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_81 WHERE away_team = "hartlepool united" |
Write a SQL query that answers the following question: What was the score in Tie number 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_16 WHERE tie_no = "16" |
Write a SQL query that answers the following question: What is the duration of the commissioner from the zeeland province? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (duration VARCHAR, province VARCHAR) | SELECT duration FROM table_name_47 WHERE province = "zeeland" |
Write a SQL query that answers the following question: Rich round has an H/A of A and the opponent Sheffield United? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (round VARCHAR, h___a VARCHAR, opponents VARCHAR) | SELECT round FROM table_name_83 WHERE h___a = "a" AND opponents = "sheffield united" |
Write a SQL query that answers the following question: What is the population (2008) when the capital was Sanniquellie, created later than 1964? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (population__2008_ INTEGER, capital VARCHAR, created VARCHAR) | SELECT SUM(population__2008_) FROM table_name_1 WHERE capital = "sanniquellie" AND created > 1964 |
Write a SQL query that answers the following question: What is the highest population (2008) created earlier than 1857, and the county was Sinoe? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (population__2008_ INTEGER, created VARCHAR, county VARCHAR) | SELECT MAX(population__2008_) FROM table_name_69 WHERE created < 1857 AND county = "sinoe" |
Write a SQL query that answers the following question: What is the earliest created year when the map# was 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (created INTEGER, map_number VARCHAR) | SELECT MIN(created) FROM table_name_33 WHERE map_number = 10 |
Write a SQL query that answers the following question: What is the Venue of the game with a Score of 0β0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (venue VARCHAR, score VARCHAR) | SELECT venue FROM table_name_47 WHERE score = "0β0" |
Write a SQL query that answers the following question: What is the Venue of the Friendly Competition with a Score of 1β4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (venue VARCHAR, competition VARCHAR, score VARCHAR) | SELECT venue FROM table_name_58 WHERE competition = "friendly" AND score = "1β4" |
Write a SQL query that answers the following question: What is the Venue of the WCQ5 Competition? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (venue VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_49 WHERE competition = "wcq5" |
Write a SQL query that answers the following question: What is the Date of the Competition with a Score of 2β0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_96 WHERE score = "2β0" |
Write a SQL query that answers the following question: What is the Venue of the Competition with a Score of 0β2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (venue VARCHAR, score VARCHAR) | SELECT venue FROM table_name_1 WHERE score = "0β2" |
Write a SQL query that answers the following question: What is the Venue of the Competition with a Score of 2β0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (venue VARCHAR, score VARCHAR) | SELECT venue FROM table_name_89 WHERE score = "2β0" |
Write a SQL query that answers the following question: What is the binary meaning for symbol p? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (binary_meaning VARCHAR, symbol VARCHAR) | SELECT binary_meaning FROM table_name_91 WHERE symbol = "p" |
Write a SQL query that answers the following question: What;s the SI Meaning for symbol m? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (si_meaning VARCHAR, symbol VARCHAR) | SELECT si_meaning FROM table_name_40 WHERE symbol = "m" |
Write a SQL query that answers the following question: What is the size difference for exa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (size_difference VARCHAR, prefix VARCHAR) | SELECT size_difference FROM table_name_29 WHERE prefix = "exa" |
Write a SQL query that answers the following question: What is the score of champion masahiro kawamura? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (score VARCHAR, champion VARCHAR) | SELECT score FROM table_name_32 WHERE champion = "masahiro kawamura" |
Write a SQL query that answers the following question: What dates was champion masahiro kawamura at the ibaraki country club tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (dates VARCHAR, tournament_location VARCHAR, champion VARCHAR) | SELECT dates FROM table_name_6 WHERE tournament_location = "ibaraki country club" AND champion = "masahiro kawamura" |
Write a SQL query that answers the following question: Who is the champion with a Β₯200,000,000 purse? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (champion VARCHAR, purse VARCHAR) | SELECT champion FROM table_name_96 WHERE purse = "Β₯200,000,000" |
Write a SQL query that answers the following question: What round had Canada with a draft of 1970 and a pick of 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (round INTEGER, pick VARCHAR, nationality VARCHAR, draft VARCHAR) | SELECT MAX(round) FROM table_name_34 WHERE nationality = "canada" AND draft < 1970 AND pick = 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.