instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What was Adam Scott's total score when playing in Australia with a to par of e?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (score INTEGER, player VARCHAR, country VARCHAR, to_par VARCHAR)
SELECT SUM(score) FROM table_name_51 WHERE country = "australia" AND to_par = "e" AND player = "adam scott"
Write a SQL query that answers the following question: What was Fredrik Jacobson's score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_88 WHERE player = "fredrik jacobson"
Write a SQL query that answers the following question: WHAT IS THE HOME TEAM WITH AN AWAY OF LEYTON ORIENT?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_95 WHERE away_team = "leyton orient"
Write a SQL query that answers the following question: WHAT IS NO TIE FROM brighton & hove albion?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_52 WHERE home_team = "brighton & hove albion"
Write a SQL query that answers the following question: What was the result for the game on October 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_11 WHERE date = "october 5"
Write a SQL query that answers the following question: What is the FA Cup Apps when total goals is smaller than 4, League Cup Goals is 0, and League Apps is 8 (10)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (fa_cup_apps VARCHAR, league_apps VARCHAR, total_goals VARCHAR, league_cup_goals VARCHAR)
SELECT fa_cup_apps FROM table_name_73 WHERE total_goals < 4 AND league_cup_goals = 0 AND league_apps = "8 (10)"
Write a SQL query that answers the following question: What is the lowest total goals when position is df, and FA Cup Goals is smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (total_goals INTEGER, position VARCHAR, fa_cup_goals VARCHAR)
SELECT MIN(total_goals) FROM table_name_89 WHERE position = "df" AND fa_cup_goals < 0
Write a SQL query that answers the following question: What Viewers (m) has an Episode of school council?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (viewers__m_ INTEGER, episode VARCHAR)
SELECT AVG(viewers__m_) FROM table_name_82 WHERE episode = "school council"
Write a SQL query that answers the following question: What Viewers (m) has a Rating of 1.7, and an Episode of the game of life?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (viewers__m_ INTEGER, rating VARCHAR, episode VARCHAR)
SELECT MAX(viewers__m_) FROM table_name_54 WHERE rating = "1.7" AND episode = "the game of life"
Write a SQL query that answers the following question: What Viewers (m) has an Episode of 40 days?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (viewers__m_ VARCHAR, episode VARCHAR)
SELECT viewers__m_ FROM table_name_64 WHERE episode = "40 days"
Write a SQL query that answers the following question: What Episode has a Rating of 1.8, and Viewers (m) smaller than 2.73?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (episode VARCHAR, rating VARCHAR, viewers__m_ VARCHAR)
SELECT episode FROM table_name_35 WHERE rating = "1.8" AND viewers__m_ < 2.73
Write a SQL query that answers the following question: What Rating has Viewers (m) of 2.73?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (rating VARCHAR, viewers__m_ VARCHAR)
SELECT rating FROM table_name_96 WHERE viewers__m_ = 2.73
Write a SQL query that answers the following question: What Episode has a Share of tba?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (episode VARCHAR, share VARCHAR)
SELECT episode FROM table_name_17 WHERE share = "tba"
Write a SQL query that answers the following question: Name the Partner which is in 1979, and Opponents in the final of heinz günthardt bob hewitt?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (partner VARCHAR, date VARCHAR, opponents_in_the_final VARCHAR)
SELECT partner FROM table_name_68 WHERE date = 1979 AND opponents_in_the_final = "heinz günthardt bob hewitt"
Write a SQL query that answers the following question: which Surface has Opponents in the final of mark edmondson sherwood stewart, and a Tournament of dallas , u.s.?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (surface VARCHAR, opponents_in_the_final VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_74 WHERE opponents_in_the_final = "mark edmondson sherwood stewart" AND tournament = "dallas , u.s."
Write a SQL query that answers the following question: Name the date of Tournament of paris indoor , france?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (date INTEGER, tournament VARCHAR)
SELECT SUM(date) FROM table_name_23 WHERE tournament = "paris indoor , france"
Write a SQL query that answers the following question: Name the Outcome has a Surface of hard, and a Score in the final of 6–2, 6–4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (outcome VARCHAR, surface VARCHAR, score_in_the_final VARCHAR)
SELECT outcome FROM table_name_82 WHERE surface = "hard" AND score_in_the_final = "6–2, 6–4"
Write a SQL query that answers the following question: Name the Surface which has a Score in the final of 6–3, 6–2 and Opponents in the final of mansour bahrami diego pérez?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (surface VARCHAR, score_in_the_final VARCHAR, opponents_in_the_final VARCHAR)
SELECT surface FROM table_name_87 WHERE score_in_the_final = "6–3, 6–2" AND opponents_in_the_final = "mansour bahrami diego pérez"
Write a SQL query that answers the following question: Which Res has a Time of 11:58?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (res VARCHAR, time VARCHAR)
SELECT res FROM table_name_27 WHERE time = "11:58"
Write a SQL query that answers the following question: What was jerry bohlander's time?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_33 WHERE opponent = "jerry bohlander"
Write a SQL query that answers the following question: What was the total of Mauro Camoranesi when coppa italia was 0, champions league was 1 and less than 2 serie A?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (total VARCHAR, name VARCHAR, serie_a VARCHAR, coppa_italia VARCHAR, champions_league VARCHAR)
SELECT total FROM table_name_91 WHERE coppa_italia = 0 AND champions_league = 1 AND serie_a < 2 AND name = "mauro camoranesi"
Write a SQL query that answers the following question: What's the Serie A when the coppa italia was 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (serie_a INTEGER, coppa_italia VARCHAR)
SELECT AVG(serie_a) FROM table_name_79 WHERE coppa_italia = 5
Write a SQL query that answers the following question: What's the total when the champions league was 0, the coppa italia was less than 0, and the Serie A was more than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (total INTEGER, coppa_italia VARCHAR, champions_league VARCHAR, serie_a VARCHAR)
SELECT SUM(total) FROM table_name_62 WHERE champions_league = 0 AND serie_a > 1 AND coppa_italia < 0
Write a SQL query that answers the following question: What is the championsleague when the total was greater than 1, the coppa italia was more than 2, and the Serie A was 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (champions_league INTEGER, coppa_italia VARCHAR, serie_a VARCHAR, total VARCHAR)
SELECT SUM(champions_league) FROM table_name_40 WHERE serie_a = 1 AND total > 1 AND coppa_italia > 2
Write a SQL query that answers the following question: Can you tell me the Combined that has the Victories of 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (combined VARCHAR, victories VARCHAR)
SELECT combined FROM table_name_53 WHERE victories = 14
Write a SQL query that answers the following question: Can you tell me the Giant Slalom that has the Combined of 1, and the Country of united states, and the Victories larger than 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (giant_slalom VARCHAR, victories VARCHAR, combined VARCHAR, country VARCHAR)
SELECT giant_slalom FROM table_name_14 WHERE combined = "1" AND country = "united states" AND victories > 11
Write a SQL query that answers the following question: What is Bob Charles' To par?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_84 WHERE player = "bob charles"
Write a SQL query that answers the following question: What is the Total for the Player with a To par of +11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (total INTEGER, to_par VARCHAR)
SELECT MAX(total) FROM table_name_17 WHERE to_par = "+11"
Write a SQL query that answers the following question: What is the Total of the Player with a To par of –13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (total INTEGER, to_par VARCHAR)
SELECT SUM(total) FROM table_name_24 WHERE to_par = "–13"
Write a SQL query that answers the following question: What is Guard Kerri Shields Hometown?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (hometown VARCHAR, position VARCHAR, name VARCHAR)
SELECT hometown FROM table_name_94 WHERE position = "guard" AND name = "kerri shields"
Write a SQL query that answers the following question: What is the Name of the Player from Albuquerque, New Mexico?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (name VARCHAR, hometown VARCHAR)
SELECT name FROM table_name_69 WHERE hometown = "albuquerque, new mexico"
Write a SQL query that answers the following question: What was the score of the 2nd leg when Newell's Old Boys played at home?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (home__2nd_leg_ VARCHAR)
SELECT 2 AS nd_leg FROM table_name_19 WHERE home__2nd_leg_ = "newell's old boys"
Write a SQL query that answers the following question: Which team played at home for the second leg and has aggregate score of 2-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)
SELECT home__2nd_leg_ FROM table_name_19 WHERE aggregate = "2-0"
Write a SQL query that answers the following question: What was the score on the first leg when gimnasia de mendoza played at home for the second leg?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (home__2nd_leg_ VARCHAR)
SELECT 1 AS st_leg FROM table_name_57 WHERE home__2nd_leg_ = "gimnasia de mendoza"
Write a SQL query that answers the following question: Which team played at home for the second leg and has an aggregate score of 2-4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)
SELECT home__2nd_leg_ FROM table_name_39 WHERE aggregate = "2-4"
Write a SQL query that answers the following question: What was the 2nd leg score when atlético tucumán played at home?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (home__2nd_leg_ VARCHAR)
SELECT 2 AS nd_leg FROM table_name_84 WHERE home__2nd_leg_ = "atlético tucumán"
Write a SQL query that answers the following question: What is the record of the match with a win res., a 5:00 time, and more than 3 rounds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (record VARCHAR, round VARCHAR, res VARCHAR, time VARCHAR)
SELECT record FROM table_name_85 WHERE res = "win" AND time = "5:00" AND round > 3
Write a SQL query that answers the following question: What is the method of opponent georges st-pierre?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (method VARCHAR, opponent VARCHAR)
SELECT method FROM table_name_22 WHERE opponent = "georges st-pierre"
Write a SQL query that answers the following question: What is the location of fightfest 2, which has 3 rounds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (location VARCHAR, round VARCHAR, event VARCHAR)
SELECT location FROM table_name_46 WHERE round = 3 AND event = "fightfest 2"
Write a SQL query that answers the following question: Who is the opponent with a time of 1:19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (opponent VARCHAR, time VARCHAR)
SELECT opponent FROM table_name_21 WHERE time = "1:19"
Write a SQL query that answers the following question: Who is the opponent with a 0-1 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_81 WHERE record = "0-1"
Write a SQL query that answers the following question: What is the total rank with more than 392 total points and an 24.8 average?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (rank_by_average VARCHAR, total_points VARCHAR, average VARCHAR)
SELECT COUNT(rank_by_average) FROM table_name_12 WHERE total_points > 392 AND average = 24.8
Write a SQL query that answers the following question: What is the highest average with less than 3 places, less than 433 total points, and a rank less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (average INTEGER, rank_by_average VARCHAR, place VARCHAR, total_points VARCHAR)
SELECT MAX(average) FROM table_name_62 WHERE place < 3 AND total_points < 433 AND rank_by_average < 2
Write a SQL query that answers the following question: What is the total average with 54 total points and a rank less than 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (average VARCHAR, total_points VARCHAR, rank_by_average VARCHAR)
SELECT COUNT(average) FROM table_name_34 WHERE total_points = 54 AND rank_by_average < 10
Write a SQL query that answers the following question: What is the total rank by average for 2 dances, which have more than 37 total points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (rank_by_average VARCHAR, number_of_dances VARCHAR, total_points VARCHAR)
SELECT COUNT(rank_by_average) FROM table_name_99 WHERE number_of_dances = 2 AND total_points > 37
Write a SQL query that answers the following question: What Championship has an Opponent in the final of aaron krickstein, and a Score in the final of 7–5, 6–2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (championship VARCHAR, opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
SELECT championship FROM table_name_86 WHERE opponent_in_the_final = "aaron krickstein" AND score_in_the_final = "7–5, 6–2"
Write a SQL query that answers the following question: What Score in the final has a Surface of hard, a Championship of washington, d.c. , u.s., and an Opponent in the final of ivan lendl?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)
SELECT score_in_the_final FROM table_name_44 WHERE surface = "hard" AND championship = "washington, d.c. , u.s." AND opponent_in_the_final = "ivan lendl"
Write a SQL query that answers the following question: What is the highest Number of seasons in Liga MX for Club cruz azul?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (number_of_seasons_in_liga_mx INTEGER, club VARCHAR)
SELECT MAX(number_of_seasons_in_liga_mx) FROM table_name_27 WHERE club = "cruz azul"
Write a SQL query that answers the following question: What is the highest Number of seasons in Liga MX for Club cruz azul, when their season in the top division is higher than 68?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (number_of_seasons_in_liga_mx INTEGER, club VARCHAR, number_of_seasons_in_top_division VARCHAR)
SELECT MAX(number_of_seasons_in_liga_mx) FROM table_name_33 WHERE club = "cruz azul" AND number_of_seasons_in_top_division > 68
Write a SQL query that answers the following question: What is the total number of Top division titles for the club that has more than 40 seasons in top division, a First season of current spell in top division of 1943-44, and more than 89 seasons in Liga MX?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (top_division_titles VARCHAR, number_of_seasons_in_liga_mx VARCHAR, number_of_seasons_in_top_division VARCHAR, first_season_of_current_spell_in_top_division VARCHAR)
SELECT COUNT(top_division_titles) FROM table_name_55 WHERE number_of_seasons_in_top_division > 40 AND first_season_of_current_spell_in_top_division = "1943-44" AND number_of_seasons_in_liga_mx > 89
Write a SQL query that answers the following question: How many top division titles does Club Guadalajara have, with more than 42 seasons in Liga MX?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (top_division_titles INTEGER, number_of_seasons_in_liga_mx VARCHAR, club VARCHAR)
SELECT SUM(top_division_titles) FROM table_name_66 WHERE number_of_seasons_in_liga_mx > 42 AND club = "guadalajara"
Write a SQL query that answers the following question: Which club has fewer than 40 seasons in Liga MX and 65 seasons in the top division?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (club VARCHAR, number_of_seasons_in_liga_mx VARCHAR, number_of_seasons_in_top_division VARCHAR)
SELECT club FROM table_name_32 WHERE number_of_seasons_in_liga_mx < 40 AND number_of_seasons_in_top_division = 65
Write a SQL query that answers the following question: What number is in Bois de Warville with a time less than 810?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (number INTEGER, location VARCHAR, time VARCHAR)
SELECT SUM(number) FROM table_name_4 WHERE location = "bois de warville" AND time < 810
Write a SQL query that answers the following question: What is number 21's highest time?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (time INTEGER, number VARCHAR)
SELECT MAX(time) FROM table_name_24 WHERE number = 21
Write a SQL query that answers the following question: What number with the opponent Fokker D.vii have with a time of 1655?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (number INTEGER, opponent VARCHAR, time VARCHAR)
SELECT SUM(number) FROM table_name_89 WHERE opponent = "fokker d.vii" AND time = 1655
Write a SQL query that answers the following question: Who is the opponent with a time higher than 1040, a Spad xiii aircraft in Dun-Sur-Meuse with a lower number than 22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (opponent VARCHAR, location VARCHAR, number VARCHAR, time VARCHAR, aircraft VARCHAR)
SELECT opponent FROM table_name_5 WHERE time > 1040 AND aircraft = "spad xiii" AND number < 22 AND location = "dun-sur-meuse"
Write a SQL query that answers the following question: What number has the opponent Fokker d.vii with a time of 600?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (number INTEGER, opponent VARCHAR, time VARCHAR)
SELECT SUM(number) FROM table_name_66 WHERE opponent = "fokker d.vii" AND time = 600
Write a SQL query that answers the following question: What is the Name of the Building with 36 or more Floors with Years as tallest of 1986–1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (name VARCHAR, floors VARCHAR, years_as_tallest VARCHAR)
SELECT name FROM table_name_27 WHERE floors > 36 AND years_as_tallest = "1986–1992"
Write a SQL query that answers the following question: What is the Years as tallest of the Building with a Height ft (m) of 145 (44)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (years_as_tallest VARCHAR, height_ft__m_ VARCHAR)
SELECT years_as_tallest FROM table_name_55 WHERE height_ft__m_ = "145 (44)"
Write a SQL query that answers the following question: What is the Street Address of the Building with 17 Floors?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (street_address VARCHAR, floors VARCHAR)
SELECT street_address FROM table_name_70 WHERE floors = 17
Write a SQL query that answers the following question: What is the Name of the Building at 100 North Tampa Street?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (name VARCHAR, street_address VARCHAR)
SELECT name FROM table_name_28 WHERE street_address = "100 north tampa street"
Write a SQL query that answers the following question: What away is there for the q3 round?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (away VARCHAR, round VARCHAR)
SELECT away FROM table_name_68 WHERE round = "q3"
Write a SQL query that answers the following question: What is the Aggregate of Bayer Leverkusen opponents?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (aggregate VARCHAR, opponents VARCHAR)
SELECT aggregate FROM table_name_56 WHERE opponents = "bayer leverkusen"
Write a SQL query that answers the following question: What is the competition that was at serravalle, san marino?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_80 WHERE venue = "serravalle, san marino"
Write a SQL query that answers the following question: Where was the friendly competition that Andriy Yarmolenko won on 28 may 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (venue VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_78 WHERE result = "won" AND competition = "friendly" AND date = "28 may 2012"
Write a SQL query that answers the following question: What is the result of the game at kyiv, ukraine?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (result VARCHAR, venue VARCHAR)
SELECT result FROM table_name_2 WHERE venue = "kyiv, ukraine"
Write a SQL query that answers the following question: What is the Style of the dance by Choreographer Luda and Oliver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (style VARCHAR, choreographer VARCHAR)
SELECT style FROM table_name_59 WHERE choreographer = "luda and oliver"
Write a SQL query that answers the following question: What is the Result of the dance Choreographed by Kelly Aykers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (results VARCHAR, choreographer VARCHAR)
SELECT results FROM table_name_44 WHERE choreographer = "kelly aykers"
Write a SQL query that answers the following question: What is the Style of the dance Choreographed by Nacho Pop with result of safe?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (style VARCHAR, results VARCHAR, choreographer VARCHAR)
SELECT style FROM table_name_12 WHERE results = "safe" AND choreographer = "nacho pop"
Write a SQL query that answers the following question: What is the rank with a higher than 2 total, 21 gold and more than 12 bronze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (rank INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)
SELECT AVG(rank) FROM table_name_18 WHERE total > 2 AND gold = 21 AND bronze > 12
Write a SQL query that answers the following question: How many golds does Germany have with more than 1 silver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (gold INTEGER, silver VARCHAR, nation VARCHAR)
SELECT SUM(gold) FROM table_name_74 WHERE silver > 1 AND nation = "germany"
Write a SQL query that answers the following question: What is the total number of rounds of the player with a pick of 20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (round VARCHAR, pick VARCHAR)
SELECT COUNT(round) FROM table_name_87 WHERE pick = 20
Write a SQL query that answers the following question: Who is the player from the 1971 draft with a pick greater than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (player VARCHAR, draft VARCHAR, pick VARCHAR)
SELECT player FROM table_name_15 WHERE draft = 1971 AND pick > 7
Write a SQL query that answers the following question: What is the total number of Premier, when Second is "55"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (premier VARCHAR, second VARCHAR)
SELECT COUNT(premier) FROM table_name_67 WHERE second = 55
Write a SQL query that answers the following question: What is the total number of Second, when First is greater than 18, when Season is 1992-93, and when Premier is greater than 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (second VARCHAR, premier VARCHAR, first VARCHAR, season VARCHAR)
SELECT COUNT(second) FROM table_name_5 WHERE first > 18 AND season = "1992-93" AND premier > 16
Write a SQL query that answers the following question: What is the lowest Total, when Second is "55"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (total INTEGER, second VARCHAR)
SELECT MIN(total) FROM table_name_2 WHERE second = 55
Write a SQL query that answers the following question: What is the highest Total, when Season is "1996-97", and when Second is less than 33?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (total INTEGER, season VARCHAR, second VARCHAR)
SELECT MAX(total) FROM table_name_23 WHERE season = "1996-97" AND second < 33
Write a SQL query that answers the following question: What is the sum of Second, when Total is less than 70, when Premier is less than 20, and when First is greater than 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (second INTEGER, first VARCHAR, total VARCHAR, premier VARCHAR)
SELECT SUM(second) FROM table_name_1 WHERE total < 70 AND premier < 20 AND first > 18
Write a SQL query that answers the following question: In what season were there 27 goals and 58 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (season VARCHAR, goals VARCHAR, points VARCHAR)
SELECT season FROM table_name_54 WHERE goals = "27" AND points = "58"
Write a SQL query that answers the following question: What are the points in the season with 47 games and 28 goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (points VARCHAR, goals VARCHAR, games VARCHAR)
SELECT points FROM table_name_38 WHERE goals = "28" AND games = "47"
Write a SQL query that answers the following question: How many goals were there in game 47?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (goals VARCHAR, games VARCHAR)
SELECT goals FROM table_name_29 WHERE games = "47"
Write a SQL query that answers the following question: How much Snatch has a Total (kg) smaller than 257?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (snatch INTEGER, total__kg_ INTEGER)
SELECT SUM(snatch) FROM table_name_79 WHERE total__kg_ < 257
Write a SQL query that answers the following question: Which Snatch has a Clean & Jerk of 180, and a Bodyweight smaller than 69.83?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (snatch INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
SELECT MIN(snatch) FROM table_name_25 WHERE clean_ & _jerk = 180 AND bodyweight < 69.83
Write a SQL query that answers the following question: What is the total number of military deaths when there are 78 military and/or civilian wounded and more than 27 total deaths?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (military_deaths VARCHAR, military_and_or_civilian_wounded VARCHAR, total_deaths VARCHAR)
SELECT COUNT(military_deaths) FROM table_name_41 WHERE military_and_or_civilian_wounded = "78" AND total_deaths > 27
Write a SQL query that answers the following question: What is the average number of military deaths when there are fewer than 38 civilian deaths (including foreigners) and 33 military and/or civilian wounded?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (military_deaths INTEGER, civilian_deaths__including_foreigners_ VARCHAR, military_and_or_civilian_wounded VARCHAR)
SELECT AVG(military_deaths) FROM table_name_22 WHERE civilian_deaths__including_foreigners_ < 38 AND military_and_or_civilian_wounded = "33"
Write a SQL query that answers the following question: What is the total number of casualties when there are 12 total deaths and more than 1 military death?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (total_casualties VARCHAR, total_deaths VARCHAR, military_deaths VARCHAR)
SELECT total_casualties FROM table_name_47 WHERE total_deaths = 12 AND military_deaths > 1
Write a SQL query that answers the following question: which Total has a Score points of 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (total VARCHAR, score_points VARCHAR)
SELECT total FROM table_name_13 WHERE score_points = "11"
Write a SQL query that answers the following question: Which Total has an olympic bronze medalist?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (total VARCHAR, rank_points VARCHAR)
SELECT total FROM table_name_27 WHERE rank_points = "olympic bronze medalist"
Write a SQL query that answers the following question: Which Shooter has Score points of olympic silver medalist?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (shooter VARCHAR, score_points VARCHAR)
SELECT shooter FROM table_name_40 WHERE score_points = "olympic silver medalist"
Write a SQL query that answers the following question: Name the Rank points which have an Event of wc beijing, and Score points of 13, and a Total of 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (rank_points VARCHAR, total VARCHAR, event VARCHAR, score_points VARCHAR)
SELECT rank_points FROM table_name_75 WHERE event = "wc beijing" AND score_points = "13" AND total = "18"
Write a SQL query that answers the following question: What is the Film title used in nomination of Cilvēka Bērns?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_91 WHERE original_title = "cilvēka bērns"
Write a SQL query that answers the following question: What is the Original Title of the 1992 (65th) Film
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (original_title VARCHAR, year__ceremony_ VARCHAR)
SELECT original_title FROM table_name_61 WHERE year__ceremony_ = "1992 (65th)"
Write a SQL query that answers the following question: What is the Director of Gulf Stream Under the Iceberg?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (director VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT director FROM table_name_55 WHERE film_title_used_in_nomination = "gulf stream under the iceberg"
Write a SQL query that answers the following question: What is the Original Title of the movie directed by Aigars Grauba?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (original_title VARCHAR, director VARCHAR)
SELECT original_title FROM table_name_36 WHERE director = "aigars grauba"
Write a SQL query that answers the following question: What is the British letter with o /oʊ/?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (british VARCHAR, letter VARCHAR)
SELECT british FROM table_name_55 WHERE letter = "o /oʊ/"
Write a SQL query that answers the following question: Which letter has the British aɪ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (letter VARCHAR, british VARCHAR)
SELECT letter FROM table_name_40 WHERE british = "aɪ"
Write a SQL query that answers the following question: What does American have if Australia has əʉ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (american VARCHAR, australian VARCHAR)
SELECT american FROM table_name_65 WHERE australian = "əʉ"
Write a SQL query that answers the following question: What is the British letter if American is ə?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (british VARCHAR, american VARCHAR)
SELECT british FROM table_name_10 WHERE american = "ə"
Write a SQL query that answers the following question: What is the Australian letter with a British of ɪ and a letter of æ /i/??
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (australian VARCHAR, british VARCHAR, letter VARCHAR)
SELECT australian FROM table_name_67 WHERE british = "ɪ" AND letter = "æ /i/"
Write a SQL query that answers the following question: What is sheffield united's away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_74 WHERE home_team = "sheffield united"