instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the start of stage 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (start VARCHAR, stage VARCHAR) | SELECT start FROM table_name_8 WHERE stage = 11 |
Write a SQL query that answers the following question: Which model had a wheelbase of 136 inches? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (model VARCHAR, wheelbase_in VARCHAR) | SELECT model FROM table_name_54 WHERE wheelbase_in = "136" |
Write a SQL query that answers the following question: What is the engine type with a wheelbase of 127 inches in 1915? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (engine_type___cyl VARCHAR, wheelbase_in VARCHAR, year VARCHAR) | SELECT engine_type___cyl FROM table_name_14 WHERE wheelbase_in = "127" AND year = "1915" |
Write a SQL query that answers the following question: What was the record on January 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_13 WHERE date = "january 4" |
Write a SQL query that answers the following question: Which Streak has a Game larger than 49? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (streak VARCHAR, game INTEGER) | SELECT streak FROM table_name_56 WHERE game > 49 |
Write a SQL query that answers the following question: Which Streak has a Date of january 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (streak VARCHAR, date VARCHAR) | SELECT streak FROM table_name_53 WHERE date = "january 7" |
Write a SQL query that answers the following question: Which Country has Wins larger than 2, and a Rank of 2, and a Name of federico bahamontes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (country VARCHAR, name VARCHAR, wins VARCHAR, rank VARCHAR) | SELECT country FROM table_name_90 WHERE wins > 2 AND rank = 2 AND name = "federico bahamontes" |
Write a SQL query that answers the following question: What is richard virenque's lowest rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (rank INTEGER, name VARCHAR) | SELECT MIN(rank) FROM table_name_33 WHERE name = "richard virenque" |
Write a SQL query that answers the following question: Which Years have a Rank larger than 2, and Wins of 2, and a Country of france? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (years VARCHAR, country VARCHAR, rank VARCHAR, wins VARCHAR) | SELECT years FROM table_name_71 WHERE rank > 2 AND wins = 2 AND country = "france" |
Write a SQL query that answers the following question: What is the home team with the ny rangers as the visitor team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (home VARCHAR, visitor VARCHAR) | SELECT home FROM table_name_16 WHERE visitor = "ny rangers" |
Write a SQL query that answers the following question: What is the record on October 13, when philadelphia was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (record VARCHAR, home VARCHAR, date VARCHAR) | SELECT record FROM table_name_47 WHERE home = "philadelphia" AND date = "october 13" |
Write a SQL query that answers the following question: What is Season, when Opponent is source: . last updated: 28 june 2007.? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (season VARCHAR, opponent VARCHAR) | SELECT season FROM table_name_76 WHERE opponent = "source: . last updated: 28 june 2007." |
Write a SQL query that answers the following question: What is Venue, when Figures is 5/29? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (venue VARCHAR, figures VARCHAR) | SELECT venue FROM table_name_9 WHERE figures = "5/29" |
Write a SQL query that answers the following question: What is Opponent, when Rank is 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (opponent VARCHAR, rank VARCHAR) | SELECT opponent FROM table_name_87 WHERE rank = "3" |
Write a SQL query that answers the following question: What is Player, when Figures is source: . last updated: 28 june 2007.? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (player VARCHAR, figures VARCHAR) | SELECT player FROM table_name_52 WHERE figures = "source: . last updated: 28 june 2007." |
Write a SQL query that answers the following question: What is Player, when Opponent is source: . last updated: 28 june 2007.? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (player VARCHAR, opponent VARCHAR) | SELECT player FROM table_name_17 WHERE opponent = "source: . last updated: 28 june 2007." |
Write a SQL query that answers the following question: For the match played on 7 January 1956, with away team of Accrington Stanley, who was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (home_team VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_47 WHERE date = "7 january 1956" AND away_team = "accrington stanley" |
Write a SQL query that answers the following question: Which Tie number had Fulham as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_79 WHERE away_team = "fulham" |
Write a SQL query that answers the following question: Which Tie number had Middlesbrough as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_63 WHERE away_team = "middlesbrough" |
Write a SQL query that answers the following question: On what day was Tie #29 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_55 WHERE tie_no = "29" |
Write a SQL query that answers the following question: Which Tie number was played on 9 January 1956? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (tie_no VARCHAR, date VARCHAR) | SELECT tie_no FROM table_name_69 WHERE date = "9 january 1956" |
Write a SQL query that answers the following question: What is the Tie number for the match that had away team of Scunthorpe & Lindsey United? | 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 = "scunthorpe & lindsey united" |
Write a SQL query that answers the following question: WHAT IS THE PLACE WITH A SCORE OF 76-69-64-70=279? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_62 WHERE score = 76 - 69 - 64 - 70 = 279 |
Write a SQL query that answers the following question: WHAT IS THE PLACE WITH A SCORE OF 73-65-73-71=282? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_84 WHERE score = 73 - 65 - 73 - 71 = 282 |
Write a SQL query that answers the following question: WHAT IS THE TO PAR FOR ERNIE ELS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_3 WHERE player = "ernie els" |
Write a SQL query that answers the following question: WHAT IS THE PLACE WITH THE SCORE 69-71-66-73=279? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_11 WHERE score = 69 - 71 - 66 - 73 = 279 |
Write a SQL query that answers the following question: What was the winning score at Burdine's Invitational? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (winning_score VARCHAR, tournament VARCHAR) | SELECT winning_score FROM table_name_66 WHERE tournament = "burdine's invitational" |
Write a SQL query that answers the following question: Which tournament has a winning score at β7 (66-72-69-74=281)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (tournament VARCHAR, winning_score VARCHAR) | SELECT tournament FROM table_name_32 WHERE winning_score = β7(66 - 72 - 69 - 74 = 281) |
Write a SQL query that answers the following question: On what date is Jerilyn Britz the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (date VARCHAR, runner_s__up VARCHAR) | SELECT date FROM table_name_32 WHERE runner_s__up = "jerilyn britz" |
Write a SQL query that answers the following question: On what date is the winning score β8 (70-71-67=208)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (date VARCHAR, winning_score VARCHAR) | SELECT date FROM table_name_54 WHERE winning_score = β8(70 - 71 - 67 = 208) |
Write a SQL query that answers the following question: What is Matches, when Year is "2003"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (matches VARCHAR, year VARCHAR) | SELECT matches FROM table_name_72 WHERE year = "2003" |
Write a SQL query that answers the following question: What is Draws, when Losses is "Did Not Qualify"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (draws VARCHAR, losses VARCHAR) | SELECT draws FROM table_name_76 WHERE losses = "did not qualify" |
Write a SQL query that answers the following question: What is Result, when Losses is "Did Not Qualify"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (result VARCHAR, losses VARCHAR) | SELECT result FROM table_name_41 WHERE losses = "did not qualify" |
Write a SQL query that answers the following question: What is Year, when Wins is "0"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (year VARCHAR, wins VARCHAR) | SELECT year FROM table_name_71 WHERE wins = "0" |
Write a SQL query that answers the following question: What is Draws, when Wins is "Did Not Qualify"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (draws VARCHAR, wins VARCHAR) | SELECT draws FROM table_name_80 WHERE wins = "did not qualify" |
Write a SQL query that answers the following question: What is Matches, when Draws is "Did Not Qualify", and when Year is "1995"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (matches VARCHAR, draws VARCHAR, year VARCHAR) | SELECT matches FROM table_name_75 WHERE draws = "did not qualify" AND year = "1995" |
Write a SQL query that answers the following question: Which Date has a Score of 112β118? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_58 WHERE score = "112β118" |
Write a SQL query that answers the following question: Which Record has a Score of 111β101? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_69 WHERE score = "111β101" |
Write a SQL query that answers the following question: Which Game has a Score of 122β125? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (game VARCHAR, score VARCHAR) | SELECT game FROM table_name_74 WHERE score = "122β125" |
Write a SQL query that answers the following question: Which Streak has a Game of 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (streak VARCHAR, game VARCHAR) | SELECT streak FROM table_name_35 WHERE game = 3 |
Write a SQL query that answers the following question: Which Score has a Record of 1β3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_95 WHERE record = "1β3" |
Write a SQL query that answers the following question: How many totals had a silver larger than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (total VARCHAR, silver INTEGER) | SELECT COUNT(total) FROM table_name_16 WHERE silver > 2 |
Write a SQL query that answers the following question: What was the average bronze when gold was larger than 1 and silver was larger than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (bronze INTEGER, gold VARCHAR, silver VARCHAR) | SELECT AVG(bronze) FROM table_name_42 WHERE gold > 1 AND silver > 2 |
Write a SQL query that answers the following question: What was the college team of the player whose former WNBA team was the Cleveland Rockers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (college_country_team VARCHAR, former_wnba_team VARCHAR) | SELECT college_country_team FROM table_name_46 WHERE former_wnba_team = "cleveland rockers" |
Write a SQL query that answers the following question: What nationality was the player whose college team was Georgia Tech? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (nationality VARCHAR, college_country_team VARCHAR) | SELECT nationality FROM table_name_61 WHERE college_country_team = "georgia tech" |
Write a SQL query that answers the following question: What was the new WNBA team of the player selected with a pick over 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (new_wnba_team VARCHAR, pick INTEGER) | SELECT new_wnba_team FROM table_name_52 WHERE pick > 7 |
Write a SQL query that answers the following question: Which player had a pick under 6 and a new WNBA team of the Minnesota Lynx? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (player VARCHAR, pick VARCHAR, new_wnba_team VARCHAR) | SELECT player FROM table_name_33 WHERE pick < 6 AND new_wnba_team = "minnesota lynx" |
Write a SQL query that answers the following question: Billy Ray Brown plays for what country? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_9 WHERE player = "billy ray brown" |
Write a SQL query that answers the following question: The country of Spain has what score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (score VARCHAR, country VARCHAR) | SELECT score FROM table_name_63 WHERE country = "spain" |
Write a SQL query that answers the following question: The golfer from the United states with a score of 72-70-69=211 is in what place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (place VARCHAR, country VARCHAR, score VARCHAR) | SELECT place FROM table_name_46 WHERE country = "united states" AND score = 72 - 70 - 69 = 211 |
Write a SQL query that answers the following question: The golfer Jeff Sluman golfs for what country? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_13 WHERE player = "jeff sluman" |
Write a SQL query that answers the following question: Mike Reid from the United States has what score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (score VARCHAR, country VARCHAR, player VARCHAR) | SELECT score FROM table_name_12 WHERE country = "united states" AND player = "mike reid" |
Write a SQL query that answers the following question: What player has 71-72-66=209 as the score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_13 WHERE score = 71 - 72 - 66 = 209 |
Write a SQL query that answers the following question: What to par has 7 as the place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (to_par VARCHAR, place VARCHAR) | SELECT to_par FROM table_name_20 WHERE place = "7" |
Write a SQL query that answers the following question: What player has 72-67-71=210 as the score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_41 WHERE score = 72 - 67 - 71 = 210 |
Write a SQL query that answers the following question: What to par has t5 as the place, with larry mize as the player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_49 WHERE place = "t5" AND player = "larry mize" |
Write a SQL query that answers the following question: What player has t5 as the place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (player VARCHAR, place VARCHAR) | SELECT player FROM table_name_38 WHERE place = "t5" |
Write a SQL query that answers the following question: What score has fred couples as the player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_3 WHERE player = "fred couples" |
Write a SQL query that answers the following question: On what Date in Stade Leopold Senghor, Dakar was the Score 4β0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (date VARCHAR, score VARCHAR, venue VARCHAR) | SELECT date FROM table_name_93 WHERE score = "4β0" AND venue = "stade leopold senghor, dakar" |
Write a SQL query that answers the following question: Who has the highest assists on april 28? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_name_45 WHERE date = "april 28" |
Write a SQL query that answers the following question: What is Points, when Series is Queensland Formula Ford Championship, and when Position is 1st? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (points VARCHAR, series VARCHAR, position VARCHAR) | SELECT points FROM table_name_40 WHERE series = "queensland formula ford championship" AND position = "1st" |
Write a SQL query that answers the following question: What is Driver, when Position is 2nd, and when Season is 2001? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (driver VARCHAR, position VARCHAR, season VARCHAR) | SELECT driver FROM table_name_77 WHERE position = "2nd" AND season = 2001 |
Write a SQL query that answers the following question: What is Position, when Series is Queensland Formula Ford Championship, when Season is after 2001, and when Points is 234? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (position VARCHAR, points VARCHAR, series VARCHAR, season VARCHAR) | SELECT position FROM table_name_48 WHERE series = "queensland formula ford championship" AND season > 2001 AND points = "234" |
Write a SQL query that answers the following question: What is Series, when Season is 2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (series VARCHAR, season VARCHAR) | SELECT series FROM table_name_2 WHERE season = 2007 |
Write a SQL query that answers the following question: What was the Attendance on September 26, 1971? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_86 WHERE date = "september 26, 1971" |
Write a SQL query that answers the following question: Who was the opponent before week 12, on November 11, 1990? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_63 WHERE week < 12 AND date = "november 11, 1990" |
Write a SQL query that answers the following question: Which date had an attendance of 76,518? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_27 WHERE attendance = "76,518" |
Write a SQL query that answers the following question: What was the attendance of the game that ended with L 31-0 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_67 WHERE result = "l 31-0" |
Write a SQL query that answers the following question: What is the year for the country of Morocco? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (year INTEGER, country VARCHAR) | SELECT MAX(year) FROM table_name_22 WHERE country = "morocco" |
Write a SQL query that answers the following question: What is the year for the United Arab Emirates? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (year VARCHAR, country VARCHAR) | SELECT COUNT(year) FROM table_name_19 WHERE country = "united arab emirates" |
Write a SQL query that answers the following question: What year was the Mercury City Tower? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (year INTEGER, structure VARCHAR) | SELECT MIN(year) FROM table_name_8 WHERE structure = "mercury city tower" |
Write a SQL query that answers the following question: What structure is in Chile? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (structure VARCHAR, country VARCHAR) | SELECT structure FROM table_name_88 WHERE country = "chile" |
Write a SQL query that answers the following question: What 2007-08 season has marcianise as the city? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (city VARCHAR) | SELECT 2007 AS _08_season FROM table_name_60 WHERE city = "marcianise" |
Write a SQL query that answers the following question: What is the average capacity that has foligno as the city? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (capacity INTEGER, city VARCHAR) | SELECT AVG(capacity) FROM table_name_85 WHERE city = "foligno" |
Write a SQL query that answers the following question: What is the highest capacity that has stadio marcello torre as the stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (capacity INTEGER, stadium VARCHAR) | SELECT MAX(capacity) FROM table_name_80 WHERE stadium = "stadio marcello torre" |
Write a SQL query that answers the following question: What is the score for the game where Birmingham City was the home team on 10 March 1984? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_86 WHERE date = "10 march 1984" AND home_team = "birmingham city" |
Write a SQL query that answers the following question: Who is the home team that tied no 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_2 WHERE tie_no = "2" |
Write a SQL query that answers the following question: What was the score of the game when Sheffield Wednesday was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_32 WHERE home_team = "sheffield wednesday" |
Write a SQL query that answers the following question: Which years did the player from Providence play for the Grizzlies as small forward? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (years_for_grizzlies VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT years_for_grizzlies FROM table_name_96 WHERE position = "small forward" AND school_club_team = "providence" |
Write a SQL query that answers the following question: What is the nationality of Stromile Swift? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_48 WHERE player = "stromile swift" |
Write a SQL query that answers the following question: Which years did the player from Providence play for Memphis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) | SELECT years_for_grizzlies FROM table_name_62 WHERE school_club_team = "providence" |
Write a SQL query that answers the following question: Which team has a record of 7-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_99 WHERE record = "7-1" |
Write a SQL query that answers the following question: What game number was the first game played at the Summit this season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (game INTEGER, location VARCHAR) | SELECT MIN(game) FROM table_name_25 WHERE location = "the summit" |
Write a SQL query that answers the following question: What was the final score for the game played against the New York Knicks? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_11 WHERE opponent = "new york knicks" |
Write a SQL query that answers the following question: For the game played at the Boston Garden with a score of 118-110, what is the opposing team's record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (record VARCHAR, location VARCHAR, score VARCHAR) | SELECT record FROM table_name_68 WHERE location = "boston garden" AND score = "118-110" |
Write a SQL query that answers the following question: What is Finish, when Year(s) Won is "1962 , 1967"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (finish VARCHAR, year_s__won VARCHAR) | SELECT finish FROM table_name_58 WHERE year_s__won = "1962 , 1967" |
Write a SQL query that answers the following question: What is Player, when To Par is greater than 6, and when Year(s) Won is "1962 , 1967"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR) | SELECT player FROM table_name_41 WHERE to_par > 6 AND year_s__won = "1962 , 1967" |
Write a SQL query that answers the following question: What is Finish, when To Par is less than 14, and when Year(s) Won is "1952 , 1963"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR) | SELECT finish FROM table_name_85 WHERE to_par < 14 AND year_s__won = "1952 , 1963" |
Write a SQL query that answers the following question: What is the highest To Par, when Year(s) Won is "1962 , 1967"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (to_par INTEGER, year_s__won VARCHAR) | SELECT MAX(to_par) FROM table_name_66 WHERE year_s__won = "1962 , 1967" |
Write a SQL query that answers the following question: What is the Total, when To Par is less than 14, when Finish is T12, and when Player is "Julius Boros"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (total VARCHAR, player VARCHAR, to_par VARCHAR, finish VARCHAR) | SELECT total FROM table_name_13 WHERE to_par < 14 AND finish = "t12" AND player = "julius boros" |
Write a SQL query that answers the following question: What is the highest number of artists on Scarface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (number INTEGER, artist VARCHAR) | SELECT MAX(number) FROM table_name_67 WHERE artist = "scarface" |
Write a SQL query that answers the following question: What is the average number for Black Milk? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (number INTEGER, artist VARCHAR) | SELECT AVG(number) FROM table_name_18 WHERE artist = "black milk" |
Write a SQL query that answers the following question: What is the lowest average for number 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (average_score INTEGER, number VARCHAR) | SELECT MIN(average_score) FROM table_name_12 WHERE number = 2 |
Write a SQL query that answers the following question: What is the highest score for Black Milk? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (average_score INTEGER, artist VARCHAR) | SELECT MAX(average_score) FROM table_name_29 WHERE artist = "black milk" |
Write a SQL query that answers the following question: What surface was played on when Piet Norval was a partner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (surface VARCHAR, partner VARCHAR) | SELECT surface FROM table_name_24 WHERE partner = "piet norval" |
Write a SQL query that answers the following question: What was the surface played on when they were a runner-up in 2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (surface VARCHAR, outcome VARCHAR, year VARCHAR) | SELECT surface FROM table_name_5 WHERE outcome = "runner-up" AND year = 2007 |
Write a SQL query that answers the following question: What is Goals, when Assists is greater than 28, and when Player is Steve Walker? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (goals VARCHAR, assists VARCHAR, player VARCHAR) | SELECT goals FROM table_name_89 WHERE assists > 28 AND player = "steve walker" |
Write a SQL query that answers the following question: What is the average Games, when Player is Robert Hock, and when Goals is less than 24? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (games INTEGER, player VARCHAR, goals VARCHAR) | SELECT AVG(games) FROM table_name_19 WHERE player = "robert hock" AND goals < 24 |
Write a SQL query that answers the following question: What is the average Assists, when Club is Iserlohn Roosters,when Points is 71, and when Goals is greater than 44? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (assists INTEGER, goals VARCHAR, club VARCHAR, points VARCHAR) | SELECT AVG(assists) FROM table_name_18 WHERE club = "iserlohn roosters" AND points = 71 AND goals > 44 |
Write a SQL query that answers the following question: What is the average Goals, when Club is Iserlohn Roosters, and when Games is less than 56? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (goals INTEGER, club VARCHAR, games VARCHAR) | SELECT AVG(goals) FROM table_name_45 WHERE club = "iserlohn roosters" AND games < 56 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.