instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is 1990, when 1997 is "1R", and when Tournament is "Hamburg"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (tournament VARCHAR)
SELECT 1990 FROM table_name_74 WHERE 1997 = "1r" AND tournament = "hamburg"
Write a SQL query that answers the following question: What is 2001, when 1989 is "A", and when Tournament is "U.S. Open"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (tournament VARCHAR)
SELECT 2001 FROM table_name_94 WHERE 1989 = "a" AND tournament = "u.s. open"
Write a SQL query that answers the following question: what is the goals against when the points is 43 and draws is more than 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (goals_against INTEGER, points VARCHAR, draws VARCHAR)
SELECT AVG(goals_against) FROM table_name_29 WHERE points = 43 AND draws > 9
Write a SQL query that answers the following question: what is the goals when the goal difference is more than -3, the club is real avilés cf and the goals against is more than 60?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (goals_for INTEGER, goals_against VARCHAR, goal_difference VARCHAR, club VARCHAR)
SELECT SUM(goals_for) FROM table_name_19 WHERE goal_difference > -3 AND club = "real avilés cf" AND goals_against > 60
Write a SQL query that answers the following question: what is the least draws when the position is lower than 5, the points is 62 and played is more than 38?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (draws INTEGER, played VARCHAR, position VARCHAR, points VARCHAR)
SELECT MIN(draws) FROM table_name_98 WHERE position < 5 AND points = 62 AND played > 38
Write a SQL query that answers the following question: what is the played when the wins is 21 and the positions is higher than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (played INTEGER, wins VARCHAR, position VARCHAR)
SELECT SUM(played) FROM table_name_55 WHERE wins = 21 AND position > 3
Write a SQL query that answers the following question: What is the sum of Week, when Date is December 2, 2001?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (week INTEGER, date VARCHAR)
SELECT SUM(week) FROM table_name_7 WHERE date = "december 2, 2001"
Write a SQL query that answers the following question: What is the total number of Week, when Opponent is At Cleveland Browns?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (week VARCHAR, opponent VARCHAR)
SELECT COUNT(week) FROM table_name_15 WHERE opponent = "at cleveland browns"
Write a SQL query that answers the following question: What Country's ICAO is VOTR?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (country VARCHAR, icao VARCHAR)
SELECT country FROM table_name_36 WHERE icao = "votr"
Write a SQL query that answers the following question: What is the City in the Maldives?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (city VARCHAR, country VARCHAR)
SELECT city FROM table_name_77 WHERE country = "maldives"
Write a SQL query that answers the following question: What is the ICAO in India with IATA TRZ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (icao VARCHAR, country VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_90 WHERE country = "india" AND iata = "trz"
Write a SQL query that answers the following question: What is the Airport in Singapore?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (airport VARCHAR, country VARCHAR)
SELECT airport FROM table_name_77 WHERE country = "singapore"
Write a SQL query that answers the following question: What is the Airport with an IATA of TRZ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_51 WHERE iata = "trz"
Write a SQL query that answers the following question: What is the opponent of the game with a w 87-64 score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_88 WHERE score = "w 87-64"
Write a SQL query that answers the following question: What is the location/attendance of the game with a 3-1 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_1 WHERE record = "3-1"
Write a SQL query that answers the following question: Who had the highest points of the game on May 27?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_26 WHERE date = "may 27"
Write a SQL query that answers the following question: Who is the opponent on October 28, 2001?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_77 WHERE date = "october 28, 2001"
Write a SQL query that answers the following question: What was the lowest week at Ralph Wilson Stadium on October 7, 2001?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (week INTEGER, game_site VARCHAR, date VARCHAR)
SELECT MIN(week) FROM table_name_72 WHERE game_site = "ralph wilson stadium" AND date = "october 7, 2001"
Write a SQL query that answers the following question: What is the sum of To Par, when Player is "Bob Rosburg"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (to_par INTEGER, player VARCHAR)
SELECT SUM(to_par) FROM table_name_4 WHERE player = "bob rosburg"
Write a SQL query that answers the following question: What is the total number of To Par, when Score is "70-75-76=221"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (to_par VARCHAR, score VARCHAR)
SELECT COUNT(to_par) FROM table_name_16 WHERE score = 70 - 75 - 76 = 221
Write a SQL query that answers the following question: What is Player, when Score is "76-73-73=222"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_60 WHERE score = 76 - 73 - 73 = 222
Write a SQL query that answers the following question: What is Score, when To Par is greater than 7, when Place is "T4", and when Player is "Bob Rosburg"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (score VARCHAR, player VARCHAR, to_par VARCHAR, place VARCHAR)
SELECT score FROM table_name_38 WHERE to_par > 7 AND place = "t4" AND player = "bob rosburg"
Write a SQL query that answers the following question: Which transfer window ends after 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (transfer_window VARCHAR, ends INTEGER)
SELECT transfer_window FROM table_name_95 WHERE ends > 2006
Write a SQL query that answers the following question: What is the transfer fee for Paolo Vanoli?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (transfer_fee VARCHAR, name VARCHAR)
SELECT transfer_fee FROM table_name_86 WHERE name = "paolo vanoli"
Write a SQL query that answers the following question: What is the nationality of Gavin Rae?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (nat VARCHAR, name VARCHAR)
SELECT nat FROM table_name_9 WHERE name = "gavin rae"
Write a SQL query that answers the following question: How much Overall has a Position of ot, and a Round larger than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (overall VARCHAR, position VARCHAR, round VARCHAR)
SELECT COUNT(overall) FROM table_name_76 WHERE position = "ot" AND round > 5
Write a SQL query that answers the following question: What is the to par for Bart Bryant?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_9 WHERE player = "bart bryant"
Write a SQL query that answers the following question: Who scored 68-73-66=207 in South Africa?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (place VARCHAR, country VARCHAR, score VARCHAR)
SELECT place FROM table_name_70 WHERE country = "south africa" AND score = 68 - 73 - 66 = 207
Write a SQL query that answers the following question: Which Royal house has a name of ding?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (royal_house VARCHAR, name VARCHAR)
SELECT royal_house FROM table_name_30 WHERE name = "ding"
Write a SQL query that answers the following question: What type of state is bo qin?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (type VARCHAR, name VARCHAR)
SELECT type FROM table_name_99 WHERE name = "bo qin"
Write a SQL query that answers the following question: What type of state has a royal house of ji and has a ruler?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (type VARCHAR, royal_house VARCHAR, title VARCHAR)
SELECT type FROM table_name_54 WHERE royal_house = "ji" AND title = "ruler"
Write a SQL query that answers the following question: what is the record when the game is 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_17 WHERE game = 13
Write a SQL query that answers the following question: who had the high points on november 20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_61 WHERE date = "november 20"
Write a SQL query that answers the following question: What is the Score on November 23, 1946 with Washington Capitols Home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT score FROM table_name_91 WHERE home = "washington capitols" AND date = "november 23, 1946"
Write a SQL query that answers the following question: On what Date is the Detroit Falcons the Home team in a game with a Score of 63–66?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (date VARCHAR, home VARCHAR, score VARCHAR)
SELECT date FROM table_name_71 WHERE home = "detroit falcons" AND score = "63–66"
Write a SQL query that answers the following question: What is the Home team on January 24, 1947?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_62 WHERE date = "january 24, 1947"
Write a SQL query that answers the following question: What is the Home team on November 16, 1946?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_38 WHERE date = "november 16, 1946"
Write a SQL query that answers the following question: What is the Home team on February 2, 1947?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_68 WHERE date = "february 2, 1947"
Write a SQL query that answers the following question: Which Laps have a Time of +23.002, and a Grid smaller than 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (laps INTEGER, time VARCHAR, grid VARCHAR)
SELECT AVG(laps) FROM table_name_5 WHERE time = "+23.002" AND grid < 11
Write a SQL query that answers the following question: Which Laps have a Manufacturer of aprilia, and a Rider of sergio gadea?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (laps VARCHAR, manufacturer VARCHAR, rider VARCHAR)
SELECT laps FROM table_name_48 WHERE manufacturer = "aprilia" AND rider = "sergio gadea"
Write a SQL query that answers the following question: Which Grid that has a Rider of mike di meglio, and Laps larger than 23?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (grid INTEGER, rider VARCHAR, laps VARCHAR)
SELECT AVG(grid) FROM table_name_23 WHERE rider = "mike di meglio" AND laps > 23
Write a SQL query that answers the following question: Which Manufacturer has a Grid smaller than 9, and a Time of +22.517?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (manufacturer VARCHAR, grid VARCHAR, time VARCHAR)
SELECT manufacturer FROM table_name_47 WHERE grid < 9 AND time = "+22.517"
Write a SQL query that answers the following question: What is Result, when Round is SF?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (result VARCHAR, round VARCHAR)
SELECT result FROM table_name_57 WHERE round = "sf"
Write a SQL query that answers the following question: What is Result, when Date is 11 August 1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_26 WHERE date = "11 august 1992"
Write a SQL query that answers the following question: What is Result, when Date is 19 August 1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_40 WHERE date = "19 august 1992"
Write a SQL query that answers the following question: Did he win or lose rof 32: respect?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (res VARCHAR, event VARCHAR)
SELECT res FROM table_name_47 WHERE event = "rof 32: respect"
Write a SQL query that answers the following question: What round did he win rof 29: aftershock in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (round VARCHAR, res VARCHAR, event VARCHAR)
SELECT round FROM table_name_3 WHERE res = "win" AND event = "rof 29: aftershock"
Write a SQL query that answers the following question: How many rounds did the match last when his record was 6-6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (round VARCHAR, record VARCHAR)
SELECT round FROM table_name_72 WHERE record = "6-6"
Write a SQL query that answers the following question: How did the match end when his record was 15-11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (method VARCHAR, record VARCHAR)
SELECT method FROM table_name_37 WHERE record = "15-11"
Write a SQL query that answers the following question: How many laps did ben spies do on the grid less than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (laps VARCHAR, grid VARCHAR, rider VARCHAR)
SELECT COUNT(laps) FROM table_name_86 WHERE grid < 7 AND rider = "ben spies"
Write a SQL query that answers the following question: which grid did less than 20 laps in a time of +58.353?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (grid INTEGER, time VARCHAR, laps VARCHAR)
SELECT MIN(grid) FROM table_name_82 WHERE time = "+58.353" AND laps < 20
Write a SQL query that answers the following question: what was valentino rossi's rider time?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (time VARCHAR, rider VARCHAR)
SELECT time FROM table_name_97 WHERE rider = "valentino rossi"
Write a SQL query that answers the following question: Who manufactures Makoto Tamada's vehicle?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (manufacturer VARCHAR, rider VARCHAR)
SELECT manufacturer FROM table_name_68 WHERE rider = "makoto tamada"
Write a SQL query that answers the following question: What is the time/retired of the one with grid of 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_60 WHERE grid = 16
Write a SQL query that answers the following question: What team did gonzalo arconada manage?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (team VARCHAR, outgoing_manager VARCHAR)
SELECT team FROM table_name_90 WHERE outgoing_manager = "gonzalo arconada"
Write a SQL query that answers the following question: What team replaced their manager on 9 December 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (team VARCHAR, date_of_vacancy VARCHAR)
SELECT team FROM table_name_77 WHERE date_of_vacancy = "9 december 2008"
Write a SQL query that answers the following question: What was the date of appointment for paco chaparro's replacement?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_appointment FROM table_name_12 WHERE outgoing_manager = "paco chaparro"
Write a SQL query that answers the following question: What was the date of appointment for javier aguirre's replacement?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_appointment FROM table_name_53 WHERE outgoing_manager = "javier aguirre"
Write a SQL query that answers the following question: What date did Namigata play against Wen-Hsin Hsu in the finals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (date VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_84 WHERE opponent_in_the_final = "wen-hsin hsu"
Write a SQL query that answers the following question: What was the result during the week # of top 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (result VARCHAR, week__number VARCHAR)
SELECT result FROM table_name_26 WHERE week__number = "top 8"
Write a SQL query that answers the following question: What was the theme during the week # of top 24 (12 men)
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (theme VARCHAR, week__number VARCHAR)
SELECT theme FROM table_name_73 WHERE week__number = "top 24 (12 men)"
Write a SQL query that answers the following question: What was the result after the week # top 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (result VARCHAR, week__number VARCHAR)
SELECT result FROM table_name_84 WHERE week__number = "top 11"
Write a SQL query that answers the following question: What is the league of player ian schultz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (league VARCHAR, player VARCHAR)
SELECT league FROM table_name_7 WHERE player = "ian schultz"
Write a SQL query that answers the following question: What is the birthplace and date of pick 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (birthplace VARCHAR, _date VARCHAR, pick VARCHAR)
SELECT birthplace, _date FROM table_name_47 WHERE pick = 4
Write a SQL query that answers the following question: What is the pick of player ian schultz from Canada?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (pick VARCHAR, nationality VARCHAR, player VARCHAR)
SELECT pick FROM table_name_8 WHERE nationality = "canada" AND player = "ian schultz"
Write a SQL query that answers the following question: Who is the Opponent on January 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_21 WHERE date = "january 7"
Write a SQL query that answers the following question: Who is the Opponent on January 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_45 WHERE date = "january 16"
Write a SQL query that answers the following question: What is the Score of the game against Philadelphia 76ers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_2 WHERE opponent = "philadelphia 76ers"
Write a SQL query that answers the following question: What is the Date of the game where the Cavaliers have a Record of 15-27?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_57 WHERE record = "15-27"
Write a SQL query that answers the following question: What was the Opponent in the game with a Score of 102-125?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_82 WHERE score = "102-125"
Write a SQL query that answers the following question: What is the Cavaliers Record in the game with a Score of 98-99?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_59 WHERE score = "98-99"
Write a SQL query that answers the following question: What player has a no pick position in 1976?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (player VARCHAR, position VARCHAR, year VARCHAR)
SELECT player FROM table_name_33 WHERE position = "no pick" AND year = 1976
Write a SQL query that answers the following question: What pick number was the player that went to baylor college?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (pick VARCHAR, college VARCHAR)
SELECT pick FROM table_name_55 WHERE college = "baylor"
Write a SQL query that answers the following question: What year was the player pick number 15 picked?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (year VARCHAR, pick VARCHAR)
SELECT year FROM table_name_23 WHERE pick = "15"
Write a SQL query that answers the following question: What was the record on september 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_6 WHERE date = "september 2"
Write a SQL query that answers the following question: What were phoenix's high points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (high_points VARCHAR, opponent VARCHAR)
SELECT high_points FROM table_name_83 WHERE opponent = "phoenix"
Write a SQL query that answers the following question: When was the record 17-17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_31 WHERE record = "17-17"
Write a SQL query that answers the following question: What were the high points on september 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_16 WHERE date = "september 9"
Write a SQL query that answers the following question: How many games had a record of 16-17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (game VARCHAR, record VARCHAR)
SELECT COUNT(game) FROM table_name_83 WHERE record = "16-17"
Write a SQL query that answers the following question: How many seats does leader Raymond McCartney have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (number_of_seats INTEGER, leader VARCHAR)
SELECT SUM(number_of_seats) FROM table_name_2 WHERE leader = "raymond mccartney"
Write a SQL query that answers the following question: Which leader of the Democratic Unionist party has more than 8 seats?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (leader VARCHAR, number_of_seats VARCHAR, party VARCHAR)
SELECT leader FROM table_name_35 WHERE number_of_seats > 8 AND party = "democratic unionist party"
Write a SQL query that answers the following question: Anuya Bhagvath was nominated for what award?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (award VARCHAR, outcome VARCHAR, name VARCHAR)
SELECT award FROM table_name_60 WHERE outcome = "nominated" AND name = "anuya bhagvath"
Write a SQL query that answers the following question: Which award has film lyricist in the category?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (award VARCHAR, category VARCHAR)
SELECT award FROM table_name_11 WHERE category = "film lyricist"
Write a SQL query that answers the following question: What is the category Anuya Bhagvath was nominated for at vijay award?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (ceremony VARCHAR, name VARCHAR, award VARCHAR, outcome VARCHAR)
SELECT ceremony FROM table_name_39 WHERE award = "vijay award" AND outcome = "nominated" AND name = "anuya bhagvath"
Write a SQL query that answers the following question: Which ceremony has the best lyricist category?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (ceremony VARCHAR, category VARCHAR)
SELECT ceremony FROM table_name_67 WHERE category = "best lyricist"
Write a SQL query that answers the following question: Which best 3-year period has a best 15-year period of smyslov; kasparov, and a Position of 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (best_3_year_period VARCHAR, best_15_year_period VARCHAR, position VARCHAR)
SELECT best_3_year_period FROM table_name_61 WHERE best_15_year_period = "smyslov; kasparov" AND position = 5
Write a SQL query that answers the following question: Which best 5-year period has a best 15-year period of alekhine; lasker?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (best_5_year_period VARCHAR, best_15_year_period VARCHAR)
SELECT best_5_year_period FROM table_name_37 WHERE best_15_year_period = "alekhine; lasker"
Write a SQL query that answers the following question: Which best 10-year period has a best 2-year period of petrosian?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (best_10_year_period VARCHAR, best_2_year_period VARCHAR)
SELECT best_10_year_period FROM table_name_32 WHERE best_2_year_period = "petrosian"
Write a SQL query that answers the following question: Which Position has a best 3-year period of petrosian?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (position INTEGER, best_3_year_period VARCHAR)
SELECT MAX(position) FROM table_name_69 WHERE best_3_year_period = "petrosian"
Write a SQL query that answers the following question: What is High Rebounds, when Score is 61-59?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (high_rebounds VARCHAR, score VARCHAR)
SELECT high_rebounds FROM table_name_6 WHERE score = "61-59"
Write a SQL query that answers the following question: What is Score, when High Rebounds is "Nolan (10)"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (score VARCHAR, high_rebounds VARCHAR)
SELECT score FROM table_name_61 WHERE high_rebounds = "nolan (10)"
Write a SQL query that answers the following question: What is Opponent, when High Rebounds is "Pierson (6)"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (opponent VARCHAR, high_rebounds VARCHAR)
SELECT opponent FROM table_name_67 WHERE high_rebounds = "pierson (6)"
Write a SQL query that answers the following question: What is the sum of Game(s), when High Rebounds is "Pierson (6)"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (game INTEGER, high_rebounds VARCHAR)
SELECT SUM(game) FROM table_name_6 WHERE high_rebounds = "pierson (6)"
Write a SQL query that answers the following question: How many Laps did Bob Wollek have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (laps INTEGER, driver VARCHAR)
SELECT AVG(laps) FROM table_name_5 WHERE driver = "bob wollek"
Write a SQL query that answers the following question: How many Laps did Team Primagaz Competition have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (laps VARCHAR, team VARCHAR)
SELECT laps FROM table_name_14 WHERE team = "primagaz competition"
Write a SQL query that answers the following question: What Team had 40 Laps in C1 Class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (team VARCHAR, class VARCHAR, laps VARCHAR)
SELECT team FROM table_name_46 WHERE class = "c1" AND laps = 40
Write a SQL query that answers the following question: What Team has Bob Wollek as a Driver with 76 Laps in C1 Class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (team VARCHAR, driver VARCHAR, class VARCHAR, laps VARCHAR)
SELECT team FROM table_name_63 WHERE class = "c1" AND laps = 76 AND driver = "bob wollek"
Write a SQL query that answers the following question: How many Laps does GP Motorsport Team have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (laps INTEGER, team VARCHAR)
SELECT SUM(laps) FROM table_name_43 WHERE team = "gp motorsport"
Write a SQL query that answers the following question: what is the location when the score is w 105-99?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (location VARCHAR, score VARCHAR)
SELECT location FROM table_name_58 WHERE score = "w 105-99"
Write a SQL query that answers the following question: what is the location on november 23?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_58 WHERE date = "november 23"