instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Name the highest Ends Lost which has an Shot % larger than 78, and a Ends Won smaller than 38?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (ends_lost INTEGER, shot__percentage VARCHAR, ends_won VARCHAR)
SELECT MAX(ends_lost) FROM table_name_63 WHERE shot__percentage > 78 AND ends_won < 38
Write a SQL query that answers the following question: Name the Country which has Stolen Ends larger than 7, and a Skip of david murdoch?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (country VARCHAR, stolen_ends VARCHAR, skip VARCHAR)
SELECT country FROM table_name_67 WHERE stolen_ends > 7 AND skip = "david murdoch"
Write a SQL query that answers the following question: Name the average Stolen Ends which has an Ends Lost smaller than 35?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (stolen_ends INTEGER, ends_lost INTEGER)
SELECT AVG(stolen_ends) FROM table_name_89 WHERE ends_lost < 35
Write a SQL query that answers the following question: Name the average Blank Ends which has a Shot % smaller than 78, and a Ends Won larger than 43?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (blank_ends INTEGER, shot__percentage VARCHAR, ends_won VARCHAR)
SELECT AVG(blank_ends) FROM table_name_80 WHERE shot__percentage < 78 AND ends_won > 43
Write a SQL query that answers the following question: What rank has skyfall as the title?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (rank VARCHAR, title VARCHAR)
SELECT rank FROM table_name_35 WHERE title = "skyfall"
Write a SQL query that answers the following question: What director(s) have the intouchables as the title?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (director_s_ VARCHAR, title VARCHAR)
SELECT director_s_ FROM table_name_67 WHERE title = "the intouchables"
Write a SQL query that answers the following question: What studio has 6 as the rank?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (studio VARCHAR, rank VARCHAR)
SELECT studio FROM table_name_32 WHERE rank = 6
Write a SQL query that answers the following question: How many ranks have $1,084,439,099 as the worldwide gross?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (rank INTEGER, worldwide_gross VARCHAR)
SELECT SUM(rank) FROM table_name_91 WHERE worldwide_gross = "$1,084,439,099"
Write a SQL query that answers the following question: What is the 1981 value of the Macedonian population with a 1971 number greater than 192 and a 1991 of 1748?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (number_1971 VARCHAR)
SELECT 1981 FROM table_name_54 WHERE number_1971 > 192 AND 1991 = 1748
Write a SQL query that answers the following question: What is the lowest 1971 number of the Macedonian population with a 2002 value greater than 133 and a 1991 value less than 171?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (number_1971 INTEGER)
SELECT MIN(number_1971) FROM table_name_15 WHERE 2002 > 133 AND 1991 < 171
Write a SQL query that answers the following question: What is the total 1961 number of the plandište Macedonian population with a 1981 value greater than 1027?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (macedonian_population_in_vojvodina VARCHAR)
SELECT COUNT(1961) FROM table_name_47 WHERE macedonian_population_in_vojvodina = "plandište" AND 1981 > 1027
Write a SQL query that answers the following question: What is the 1961 total of the Macedonian population with a 1971 number of 3325 and a 1991 value greater than 3177?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (number_1971 VARCHAR)
SELECT COUNT(1961) FROM table_name_15 WHERE number_1971 = 3325 AND 1991 > 3177
Write a SQL query that answers the following question: What airport is in Muscat?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (airport VARCHAR, city VARCHAR)
SELECT airport FROM table_name_60 WHERE city = "muscat"
Write a SQL query that answers the following question: What country is Bandar Abbas in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (country VARCHAR, city VARCHAR)
SELECT country FROM table_name_8 WHERE city = "bandar abbas"
Write a SQL query that answers the following question: What is the city in India with an airport named Sardar Vallabhbhai Patel International Airport?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (city VARCHAR, country VARCHAR, airport VARCHAR)
SELECT city FROM table_name_58 WHERE country = "india" AND airport = "sardar vallabhbhai patel international airport"
Write a SQL query that answers the following question: What airport is in China with an ICAO of zbaa?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (airport VARCHAR, country VARCHAR, icao VARCHAR)
SELECT airport FROM table_name_55 WHERE country = "china" AND icao = "zbaa"
Write a SQL query that answers the following question: What airport is in Toronto?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (airport VARCHAR, city VARCHAR)
SELECT airport FROM table_name_87 WHERE city = "toronto"
Write a SQL query that answers the following question: What country has an ICAO of ypph?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (country VARCHAR, icao VARCHAR)
SELECT country FROM table_name_67 WHERE icao = "ypph"
Write a SQL query that answers the following question: When the mark is 8.54, the reaction time was over 0.23800000000000002 seconds, what's the highest amount of points recorded?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (points INTEGER, mark VARCHAR, react VARCHAR)
SELECT MAX(points) FROM table_name_79 WHERE mark = "8.54" AND react > 0.23800000000000002
Write a SQL query that answers the following question: Which country has a reaction time of under 0.242 seconds and over 1041 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (country VARCHAR, react VARCHAR, points VARCHAR)
SELECT country FROM table_name_58 WHERE react < 0.242 AND points > 1041
Write a SQL query that answers the following question: If a country has 1008 points what's their reaction time?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (react INTEGER, points VARCHAR)
SELECT MAX(react) FROM table_name_84 WHERE points = 1008
Write a SQL query that answers the following question: Which wicket had 580 runs?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (wicket VARCHAR, runs VARCHAR)
SELECT wicket FROM table_name_85 WHERE runs = "580"
Write a SQL query that answers the following question: Who fielded against the 8th wicket?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (fielding_team VARCHAR, wicket VARCHAR)
SELECT fielding_team FROM table_name_81 WHERE wicket = "8th"
Write a SQL query that answers the following question: How many runs did Vijay Hazare and Gul Mohammad score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (runs VARCHAR, batting_partners VARCHAR)
SELECT runs FROM table_name_98 WHERE batting_partners = "vijay hazare and gul mohammad"
Write a SQL query that answers the following question: Who were the batting partners in Colombo?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (batting_partners VARCHAR, venue VARCHAR)
SELECT batting_partners FROM table_name_99 WHERE venue = "colombo"
Write a SQL query that answers the following question: Who was the batting team in the 2006 season?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (batting_team VARCHAR, season VARCHAR)
SELECT batting_team FROM table_name_61 WHERE season = "2006"
Write a SQL query that answers the following question: In what season was 577 runs scored?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (season VARCHAR, runs VARCHAR)
SELECT season FROM table_name_33 WHERE runs = "577"
Write a SQL query that answers the following question: What opposing team has 20 against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (opposing_team VARCHAR, against VARCHAR)
SELECT opposing_team FROM table_name_7 WHERE against = 20
Write a SQL query that answers the following question: Venue for Hawke's bay?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (venue VARCHAR, opposing_team VARCHAR)
SELECT venue FROM table_name_14 WHERE opposing_team = "hawke's bay"
Write a SQL query that answers the following question: What is the average December, when Game is "36"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (december INTEGER, game VARCHAR)
SELECT AVG(december) FROM table_name_39 WHERE game = 36
Write a SQL query that answers the following question: What is the lowest Game, when December is greater than 13, and when Score is "5 - 0"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (game INTEGER, december VARCHAR, score VARCHAR)
SELECT MIN(game) FROM table_name_22 WHERE december > 13 AND score = "5 - 0"
Write a SQL query that answers the following question: What is the sum of December, when Game is greater than 31, and when Score is "5 - 2"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (december INTEGER, game VARCHAR, score VARCHAR)
SELECT SUM(december) FROM table_name_61 WHERE game > 31 AND score = "5 - 2"
Write a SQL query that answers the following question: What is Record, when Game is "36"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_79 WHERE game = 36
Write a SQL query that answers the following question: What was the away team that played against home team Leatherhead?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_53 WHERE home_team = "leatherhead"
Write a SQL query that answers the following question: What was the score of the match played against away team Arsenal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_96 WHERE away_team = "arsenal"
Write a SQL query that answers the following question: Can you tell me the highest Total votes that has the % of popular vote of 0.86%, and the # of seats won larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (total_votes INTEGER, _percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)
SELECT MAX(total_votes) FROM table_name_48 WHERE _percentage_of_popular_vote = "0.86%" AND _number_of_seats_won > 0
Write a SQL query that answers the following question: Can you tell me the average Total votes that has the # of seats won smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (total_votes INTEGER, _number_of_seats_won INTEGER)
SELECT AVG(total_votes) FROM table_name_75 WHERE _number_of_seats_won < 0
Write a SQL query that answers the following question: Can you tell me the total number of Total votes that has the Election larger than 2009, and the Candidates fielded larger than 61?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (total_votes VARCHAR, election VARCHAR, candidates_fielded VARCHAR)
SELECT COUNT(total_votes) FROM table_name_71 WHERE election > 2009 AND candidates_fielded > 61
Write a SQL query that answers the following question: Which tournament did the opponent Guillermo Carry play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_60 WHERE opponent = "guillermo carry"
Write a SQL query that answers the following question: Who was the opponent on April 21, 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_44 WHERE date = "april 21, 2008"
Write a SQL query that answers the following question: Who is the opponent on November 22, 2009, clay surface?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (opponent VARCHAR, surface VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_46 WHERE surface = "clay" AND date = "november 22, 2009"
Write a SQL query that answers the following question: Which Laps have a Grid larger than 8, and a Rider of anthony west?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (laps INTEGER, grid VARCHAR, rider VARCHAR)
SELECT MAX(laps) FROM table_name_60 WHERE grid > 8 AND rider = "anthony west"
Write a SQL query that answers the following question: Which time has a Rider of anthony west?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (time VARCHAR, rider VARCHAR)
SELECT time FROM table_name_66 WHERE rider = "anthony west"
Write a SQL query that answers the following question: Which Grid is the highest one that has a Rider of colin edwards, and Laps smaller than 28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (grid INTEGER, rider VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_86 WHERE rider = "colin edwards" AND laps < 28
Write a SQL query that answers the following question: Which Laps have a Rider of andrea dovizioso?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (laps INTEGER, rider VARCHAR)
SELECT MIN(laps) FROM table_name_2 WHERE rider = "andrea dovizioso"
Write a SQL query that answers the following question: What college/junior/club team had a player selected in round 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (college_junior_club_team__league_ VARCHAR, round VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_4 WHERE round = 6
Write a SQL query that answers the following question: What round of the draft was Stan Adams selected?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (round INTEGER, player VARCHAR)
SELECT AVG(round) FROM table_name_59 WHERE player = "stan adams"
Write a SQL query that answers the following question: What is the attendance for the t7-7 result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_17 WHERE result = "t7-7"
Write a SQL query that answers the following question: What is the date for 45,000 in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_32 WHERE attendance = "45,000"
Write a SQL query that answers the following question: How many strokes under par was the player who scored 71?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_43 WHERE score = 71
Write a SQL query that answers the following question: What place is Jay Hebert?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_60 WHERE player = "jay hebert"
Write a SQL query that answers the following question: Which Games lost has Points against of 61, and Points difference smaller than 42?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (games_lost INTEGER, points_against VARCHAR, points_difference VARCHAR)
SELECT SUM(games_lost) FROM table_name_74 WHERE points_against = 61 AND points_difference < 42
Write a SQL query that answers the following question: Which Games won has Bonus points larger than 1, a Points difference smaller than 50, Points against of 106, and Points for smaller than 152?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (games_won VARCHAR, points_for VARCHAR, points_against VARCHAR, bonus_points VARCHAR, points_difference VARCHAR)
SELECT COUNT(games_won) FROM table_name_58 WHERE bonus_points > 1 AND points_difference < 50 AND points_against = 106 AND points_for < 152
Write a SQL query that answers the following question: Which Score has a Record of 1-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_40 WHERE record = "1-2"
Write a SQL query that answers the following question: What is the Record for April 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_45 WHERE date = "april 15"
Write a SQL query that answers the following question: What is the Record for April 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_14 WHERE date = "april 13"
Write a SQL query that answers the following question: On April 15 who is the Home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_80 WHERE date = "april 15"
Write a SQL query that answers the following question: Which Attendance has a Date of december 22, 1985, and a Week smaller than 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (attendance INTEGER, date VARCHAR, week VARCHAR)
SELECT SUM(attendance) FROM table_name_65 WHERE date = "december 22, 1985" AND week < 16
Write a SQL query that answers the following question: Which Attendance has a Result of w 23-21, and a Week smaller than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (attendance INTEGER, result VARCHAR, week VARCHAR)
SELECT AVG(attendance) FROM table_name_75 WHERE result = "w 23-21" AND week < 5
Write a SQL query that answers the following question: Which Week has a Result of w 20-13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (week INTEGER, result VARCHAR)
SELECT AVG(week) FROM table_name_20 WHERE result = "w 20-13"
Write a SQL query that answers the following question: What are the Japanese characters for the Chinese word 叉焼?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (japanese VARCHAR, chinese VARCHAR)
SELECT japanese FROM table_name_28 WHERE chinese = "叉焼"
Write a SQL query that answers the following question: What language did the word that means mahjong first come from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (source_language VARCHAR, meaning VARCHAR)
SELECT source_language FROM table_name_28 WHERE meaning = "mahjong"
Write a SQL query that answers the following question: What is the Romanization of the Mandarin word whose Rōmaji is ūroncha
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (romanization VARCHAR, source_language VARCHAR, rōmaji VARCHAR)
SELECT romanization FROM table_name_81 WHERE source_language = "mandarin" AND rōmaji = "ūroncha"
Write a SQL query that answers the following question: What language did the word mahjong originate from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (source_language VARCHAR, meaning VARCHAR)
SELECT source_language FROM table_name_31 WHERE meaning = "mahjong"
Write a SQL query that answers the following question: What are the Chinese characters for the word that has a Rōmaji of chāshū?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (chinese VARCHAR, rōmaji VARCHAR)
SELECT chinese FROM table_name_61 WHERE rōmaji = "chāshū"
Write a SQL query that answers the following question: What was the category of Richard Nixon as President in a year prior to 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (category VARCHAR, president VARCHAR, year VARCHAR)
SELECT category FROM table_name_3 WHERE president = "richard nixon" AND year < 2009
Write a SQL query that answers the following question: What is the film that Raymond Massey was nominated for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (film VARCHAR, nominee VARCHAR)
SELECT film FROM table_name_94 WHERE nominee = "raymond massey"
Write a SQL query that answers the following question: What was the film of Richard Nixon as President in a year newer than 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (film VARCHAR, president VARCHAR, year VARCHAR)
SELECT film FROM table_name_49 WHERE president = "richard nixon" AND year > 1996
Write a SQL query that answers the following question: WHich Partner has a Outcome of winner, and a Opponents in the final of rick leach jim pugh?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (partner VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR)
SELECT partner FROM table_name_3 WHERE outcome = "winner" AND opponents_in_the_final = "rick leach jim pugh"
Write a SQL query that answers the following question: Which Score in the final has a Surface of hard on august 20, 1989?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_47 WHERE surface = "hard" AND date = "august 20, 1989"
Write a SQL query that answers the following question: Name the Outcome which has a Score in the final of 4–6, 4–6 on october 21, 1990?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (outcome VARCHAR, score_in_the_final VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_15 WHERE score_in_the_final = "4–6, 4–6" AND date = "october 21, 1990"
Write a SQL query that answers the following question: Which Tournament has a Score in the final of 7–5, 6–4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (tournament VARCHAR, score_in_the_final VARCHAR)
SELECT tournament FROM table_name_2 WHERE score_in_the_final = "7–5, 6–4"
Write a SQL query that answers the following question: Name the Score which has a Partner of jorge lozano, an Outcome of runner-up, and Opponents in the final of udo riglewski michael stich?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, partner VARCHAR, outcome VARCHAR)
SELECT score_in_the_final FROM table_name_85 WHERE partner = "jorge lozano" AND outcome = "runner-up" AND opponents_in_the_final = "udo riglewski michael stich"
Write a SQL query that answers the following question: Name the Date which has Opponents in the final of patrick mcenroe tim wilkison?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (date VARCHAR, opponents_in_the_final VARCHAR)
SELECT date FROM table_name_12 WHERE opponents_in_the_final = "patrick mcenroe tim wilkison"
Write a SQL query that answers the following question: What is the total number of goals that have games under 11, debut round over 15, and age of 20 years, 71 days?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (goals__2008_ VARCHAR, age_at_debut VARCHAR, games__2008_ VARCHAR, debut_round VARCHAR)
SELECT COUNT(goals__2008_) FROM table_name_86 WHERE games__2008_ < 11 AND debut_round > 15 AND age_at_debut = "20 years, 71 days"
Write a SQL query that answers the following question: What is the name that has a debut round over 14, games under 2, and a club of Melbourne?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (name VARCHAR, club VARCHAR, debut_round VARCHAR, games__2008_ VARCHAR)
SELECT name FROM table_name_93 WHERE debut_round > 14 AND games__2008_ < 2 AND club = "melbourne"
Write a SQL query that answers the following question: What is the name of team 2 that has 1-2 as the score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (team_2 VARCHAR, score VARCHAR)
SELECT team_2 FROM table_name_91 WHERE score = "1-2"
Write a SQL query that answers the following question: In the 2005 season with a score of 0-4 what is the team 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (team_1 VARCHAR, season VARCHAR, score VARCHAR)
SELECT team_1 FROM table_name_9 WHERE season = "2005" AND score = "0-4"
Write a SQL query that answers the following question: Team 2 of Yokohama F. Marinos in the n/a venue had what score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (score VARCHAR, venue VARCHAR, team_2 VARCHAR)
SELECT score FROM table_name_90 WHERE venue = "n/a" AND team_2 = "yokohama f. marinos"
Write a SQL query that answers the following question: Team 2 Al-Ain played in what venue?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (venue VARCHAR, team_2 VARCHAR)
SELECT venue FROM table_name_89 WHERE team_2 = "al-ain"
Write a SQL query that answers the following question: What is the scored figure when the result is 40-22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (scored INTEGER, result VARCHAR)
SELECT SUM(scored) FROM table_name_94 WHERE result = "40-22"
Write a SQL query that answers the following question: In what tournament is there a result of 46-18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (tournament VARCHAR, result VARCHAR)
SELECT tournament FROM table_name_28 WHERE result = "46-18"
Write a SQL query that answers the following question: What is the smallest scored with a result of 46-18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (scored INTEGER, result VARCHAR)
SELECT MIN(scored) FROM table_name_49 WHERE result = "46-18"
Write a SQL query that answers the following question: What is the average number of goals with 21 games for a debut round less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (goals__2008_ INTEGER, games__2008_ VARCHAR, debut_round VARCHAR)
SELECT AVG(goals__2008_) FROM table_name_47 WHERE games__2008_ = 21 AND debut_round < 1
Write a SQL query that answers the following question: What is the Nationality of the Player with Jersey Number 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (nationality VARCHAR, jersey_number_s_ VARCHAR)
SELECT nationality FROM table_name_13 WHERE jersey_number_s_ = 6
Write a SQL query that answers the following question: What day was the visitor Cleveland when the record was 34-26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (date VARCHAR, visitor VARCHAR, record VARCHAR)
SELECT date FROM table_name_43 WHERE visitor = "cleveland" AND record = "34-26"
Write a SQL query that answers the following question: What was the attendance when the score was 88-98?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (attendance VARCHAR, score VARCHAR)
SELECT attendance FROM table_name_20 WHERE score = "88-98"
Write a SQL query that answers the following question: What was the record when the visitor was Cleveland in Dallas?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (record VARCHAR, visitor VARCHAR, home VARCHAR)
SELECT record FROM table_name_59 WHERE visitor = "cleveland" AND home = "dallas"
Write a SQL query that answers the following question: What is the littlest round that has Matt Delahey, and a greater than 112 pick?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (round INTEGER, player VARCHAR, pick VARCHAR)
SELECT MIN(round) FROM table_name_58 WHERE player = "matt delahey" AND pick > 112
Write a SQL query that answers the following question: What is the average PUBS 11 value in Mumbai, which has a 07-11 totals less than 1025?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (pubs_2011 INTEGER, location VARCHAR, totals_07_11 VARCHAR)
SELECT AVG(pubs_2011) FROM table_name_52 WHERE location = "mumbai" AND totals_07_11 < 1025
Write a SQL query that answers the following question: What is the lowest 06-10 totals with a pubs 2010 of 68 and a 07-11 totals larger than 305?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (totals_06_10 INTEGER, pubs_2010 VARCHAR, totals_07_11 VARCHAR)
SELECT MIN(totals_06_10) FROM table_name_15 WHERE pubs_2010 = 68 AND totals_07_11 > 305
Write a SQL query that answers the following question: What is Team, when Date of Appointment is "10 November 2008"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (team VARCHAR, date_of_appointment VARCHAR)
SELECT team FROM table_name_6 WHERE date_of_appointment = "10 november 2008"
Write a SQL query that answers the following question: What is Replaced By, when Outgoing Manager is "Ünal Karaman"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (replaced_by VARCHAR, outgoing_manager VARCHAR)
SELECT replaced_by FROM table_name_66 WHERE outgoing_manager = "ünal karaman"
Write a SQL query that answers the following question: What is Outgoing Manager, when Date of Vacancy is "25 September 2008"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)
SELECT outgoing_manager FROM table_name_77 WHERE date_of_vacancy = "25 september 2008"
Write a SQL query that answers the following question: What is Date of Appointment, when Outgoing Manager is "Hakan Kutlu"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_appointment FROM table_name_42 WHERE outgoing_manager = "hakan kutlu"
Write a SQL query that answers the following question: What is Date of Appointment, when Outgoing Manager is "Giray Bulak"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_appointment FROM table_name_69 WHERE outgoing_manager = "giray bulak"
Write a SQL query that answers the following question: What is Replaced By, when Date of Vacancy is "23 February 2009"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
SELECT replaced_by FROM table_name_68 WHERE date_of_vacancy = "23 february 2009"
Write a SQL query that answers the following question: WHAT IS THE TEAM FOR DECEMBER 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (team VARCHAR, date VARCHAR)
SELECT team FROM table_name_86 WHERE date = "december 30"
Write a SQL query that answers the following question: Which category had an orange finish?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (category VARCHAR, finish VARCHAR)
SELECT category FROM table_name_4 WHERE finish = "orange"
Write a SQL query that answers the following question: What is the lowest year for stage 12, category 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (year INTEGER, category VARCHAR, stage VARCHAR)
SELECT MIN(year) FROM table_name_33 WHERE category = "1" AND stage = 12