instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the score when Miami is the visitor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_33 WHERE visitor = "miami"
Write a SQL query that answers the following question: For the game that was 76-85, what was the record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_66 WHERE score = "76-85"
Write a SQL query that answers the following question: On April 18, which team was the visitor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_52 WHERE date = "april 18"
Write a SQL query that answers the following question: Who was the leading scorer on April 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (leading_scorer VARCHAR, date VARCHAR)
SELECT leading_scorer FROM table_name_8 WHERE date = "april 7"
Write a SQL query that answers the following question: Where was the home court on April 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_34 WHERE date = "april 14"
Write a SQL query that answers the following question: What is the boston celtics' record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (record VARCHAR, team VARCHAR)
SELECT record FROM table_name_39 WHERE team = "boston celtics"
Write a SQL query that answers the following question: Which Score has a Record of 9–8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_35 WHERE record = "9–8"
Write a SQL query that answers the following question: Which Date has a Streak of loss 2, and a Team of @ boston celtics?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (date VARCHAR, streak VARCHAR, team VARCHAR)
SELECT date FROM table_name_71 WHERE streak = "loss 2" AND team = "@ boston celtics"
Write a SQL query that answers the following question: Which Date has a Streak of win 1, and a Record of 8–4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (date VARCHAR, streak VARCHAR, record VARCHAR)
SELECT date FROM table_name_35 WHERE streak = "win 1" AND record = "8–4"
Write a SQL query that answers the following question: What was the top score for grier jones?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (score INTEGER, player VARCHAR)
SELECT MAX(score) FROM table_name_59 WHERE player = "grier jones"
Write a SQL query that answers the following question: Which To par is scored at 70?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_10 WHERE score = 70
Write a SQL query that answers the following question: In what place did hubert green score below 70 in the united states?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (place VARCHAR, player VARCHAR, score VARCHAR, country VARCHAR)
SELECT place FROM table_name_91 WHERE score < 70 AND country = "united states" AND player = "hubert green"
Write a SQL query that answers the following question: Which Driver and passenger have a bike number of less than 4 with zabel -vmc equipment?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (driver___passenger VARCHAR, bike_no VARCHAR, equipment VARCHAR)
SELECT driver___passenger FROM table_name_9 WHERE bike_no < 4 AND equipment = "zabel -vmc"
Write a SQL query that answers the following question: What's the slalom when the average time was greater than 99.25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (slalom INTEGER, average INTEGER)
SELECT AVG(slalom) FROM table_name_5 WHERE average > 99.25
Write a SQL query that answers the following question: Where was the place that the downhill was 71.6 and the average was less than 90.06?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (place INTEGER, average VARCHAR, downhill VARCHAR)
SELECT SUM(place) FROM table_name_87 WHERE average < 90.06 AND downhill = 71.6
Write a SQL query that answers the following question: What is ICAO, when Airport is "Sibulan Airport"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (icao VARCHAR, airport VARCHAR)
SELECT icao FROM table_name_90 WHERE airport = "sibulan airport"
Write a SQL query that answers the following question: What is ICAO, when IATA is "HKG"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (icao VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_99 WHERE iata = "hkg"
Write a SQL query that answers the following question: What is IATA, when ICAO is "VHHH"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (iata VARCHAR, icao VARCHAR)
SELECT iata FROM table_name_8 WHERE icao = "vhhh"
Write a SQL query that answers the following question: What is City, when IATA is "LAO"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (city VARCHAR, iata VARCHAR)
SELECT city FROM table_name_75 WHERE iata = "lao"
Write a SQL query that answers the following question: What is Country, when City is "Zamboanga"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (country VARCHAR, city VARCHAR)
SELECT country FROM table_name_82 WHERE city = "zamboanga"
Write a SQL query that answers the following question: What is the highest number drawn when the position was 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (drawn INTEGER, position VARCHAR)
SELECT MAX(drawn) FROM table_name_50 WHERE position = 12
Write a SQL query that answers the following question: What is the highest number of goals against when the number of goals were 55 and the difference was +24?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (goals_against INTEGER, goals_for VARCHAR, goal_difference VARCHAR)
SELECT MAX(goals_against) FROM table_name_94 WHERE goals_for > 55 AND goal_difference = "+24"
Write a SQL query that answers the following question: What is the average number lost for hyde united when they had a smaller position than 17, 8 draws, and more than 57 goals against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (lost INTEGER, team VARCHAR, drawn VARCHAR, goals_against VARCHAR, position VARCHAR)
SELECT AVG(lost) FROM table_name_62 WHERE goals_against > 57 AND position < 17 AND drawn = 8 AND team = "hyde united"
Write a SQL query that answers the following question: What is the highest played when there was less than 74 goals against and points 1 of 36 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (played INTEGER, points_1 VARCHAR, goals_against VARCHAR)
SELECT MAX(played) FROM table_name_30 WHERE points_1 = "36 2" AND goals_against < 74
Write a SQL query that answers the following question: How long is the diameter that has a longitude of 8.0e?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (diameter__km_ VARCHAR, longitude VARCHAR)
SELECT diameter__km_ FROM table_name_65 WHERE longitude = "8.0e"
Write a SQL query that answers the following question: What name was given in 1994 when the diameter (km) was larger than 125 and the latitude was 30.0s?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (name VARCHAR, latitude VARCHAR, year_named VARCHAR, diameter__km_ VARCHAR)
SELECT name FROM table_name_46 WHERE year_named = 1994 AND diameter__km_ > 125 AND latitude = "30.0s"
Write a SQL query that answers the following question: What is the longitude of Carmenta Farra in 1994?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (longitude VARCHAR, year_named VARCHAR, name VARCHAR)
SELECT longitude FROM table_name_74 WHERE year_named = 1994 AND name = "carmenta farra"
Write a SQL query that answers the following question: Name the No. 5 which has a No. 6 of ethan, and a No. 4 of william, and a No. 9 of john?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (no_5 VARCHAR, no_9 VARCHAR, no_6 VARCHAR, no_4 VARCHAR)
SELECT no_5 FROM table_name_28 WHERE no_6 = "ethan" AND no_4 = "william" AND no_9 = "john"
Write a SQL query that answers the following question: Name the No. 2 which has a No. 3 of jacob, and a No. 10 of wyatt, and a No. 6 of ethan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (no_2 VARCHAR, no_6 VARCHAR, no_3 VARCHAR, no_10 VARCHAR)
SELECT no_2 FROM table_name_66 WHERE no_3 = "jacob" AND no_10 = "wyatt" AND no_6 = "ethan"
Write a SQL query that answers the following question: Name the No. 3 which has a No. 7 of logan, and a No. 5 of jackson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (no_3 VARCHAR, no_7 VARCHAR, no_5 VARCHAR)
SELECT no_3 FROM table_name_72 WHERE no_7 = "logan" AND no_5 = "jackson"
Write a SQL query that answers the following question: Name the No. 5 which has a No. 8 of logan, and a No. 10 of ethan, and a No. 4 of jacob?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (no_5 VARCHAR, no_4 VARCHAR, no_8 VARCHAR, no_10 VARCHAR)
SELECT no_5 FROM table_name_39 WHERE no_8 = "logan" AND no_10 = "ethan" AND no_4 = "jacob"
Write a SQL query that answers the following question: Name the No. 8 which has a No. 4 of benjamin, and a No. 3 of liam?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (no_8 VARCHAR, no_4 VARCHAR, no_3 VARCHAR)
SELECT no_8 FROM table_name_23 WHERE no_4 = "benjamin" AND no_3 = "liam"
Write a SQL query that answers the following question: Name the No. 10 which has a No. 8 of jackson, and a No. 9 of jayden?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (no_10 VARCHAR, no_8 VARCHAR, no_9 VARCHAR)
SELECT no_10 FROM table_name_94 WHERE no_8 = "jackson" AND no_9 = "jayden"
Write a SQL query that answers the following question: What was the date for Ron Paul as republican and a sample sized less than 472?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (date VARCHAR, sample_size VARCHAR, republican VARCHAR)
SELECT date FROM table_name_20 WHERE sample_size < 472 AND republican = "ron paul"
Write a SQL query that answers the following question: Who was the Democrat when the Republican was Mike Huckabee, and the sample size was less than 495?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (democrat VARCHAR, sample_size VARCHAR, republican VARCHAR)
SELECT democrat FROM table_name_33 WHERE sample_size < 495 AND republican = "mike huckabee"
Write a SQL query that answers the following question: What was the attendance in week 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (attendance INTEGER, week VARCHAR)
SELECT AVG(attendance) FROM table_name_26 WHERE week = 9
Write a SQL query that answers the following question: What week had attendance of 52,714?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (week INTEGER, attendance VARCHAR)
SELECT MAX(week) FROM table_name_54 WHERE attendance = 52 OFFSET 714
Write a SQL query that answers the following question: what is the gold when silver is 1, event is 2000 summer paralympics and bronze is more than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (gold INTEGER, bronze VARCHAR, silver VARCHAR, event VARCHAR)
SELECT AVG(gold) FROM table_name_41 WHERE silver = 1 AND event = "2000 summer paralympics" AND bronze > 3
Write a SQL query that answers the following question: how many times is bronze 2 and gold more than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (total VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT COUNT(total) FROM table_name_34 WHERE bronze = 2 AND gold > 3
Write a SQL query that answers the following question: what is the highest gold when silver is 1 and bronze is less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
SELECT MAX(gold) FROM table_name_63 WHERE silver = 1 AND bronze < 0
Write a SQL query that answers the following question: what is the highest bronze when silver is less than 1 and gold is more than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (bronze INTEGER, silver VARCHAR, gold VARCHAR)
SELECT MAX(bronze) FROM table_name_11 WHERE silver < 1 AND gold > 0
Write a SQL query that answers the following question: what is the most silver when the event is 2008 summer paralympics and bronze is less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (silver INTEGER, event VARCHAR, bronze VARCHAR)
SELECT MAX(silver) FROM table_name_86 WHERE event = "2008 summer paralympics" AND bronze < 1
Write a SQL query that answers the following question: Which Album title has a Title of 滑板?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (album_title VARCHAR, title VARCHAR)
SELECT album_title FROM table_name_53 WHERE title = "滑板"
Write a SQL query that answers the following question: Which Record label has a Title of 诀别诗?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (record_label VARCHAR, title VARCHAR)
SELECT record_label FROM table_name_46 WHERE title = "诀别诗"
Write a SQL query that answers the following question: Which Track number has a Album title of 文武双全升级版, and a Title of 老爸你别装酷?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (track_number VARCHAR, album_title VARCHAR, title VARCHAR)
SELECT track_number FROM table_name_44 WHERE album_title = "文武双全升级版" AND title = "老爸你别装酷"
Write a SQL query that answers the following question: What kind of Disc number has a Track number of 02 on 7 september 2004?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (disc_number VARCHAR, track_number VARCHAR, release_date VARCHAR)
SELECT disc_number FROM table_name_19 WHERE track_number = "02" AND release_date = "7 september 2004"
Write a SQL query that answers the following question: Name The Title which has a Track number of 07, and a Record label of emi on 21 april 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (title VARCHAR, release_date VARCHAR, track_number VARCHAR, record_label VARCHAR)
SELECT title FROM table_name_73 WHERE track_number = "07" AND record_label = "emi" AND release_date = "21 april 2006"
Write a SQL query that answers the following question: WHAT'S THE TIE NUMBER WITH AN AWAY TEAM OF WREXHAM?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_52 WHERE away_team = "wrexham"
Write a SQL query that answers the following question: WHAT IS THE AWAY TEAM WITH HOME OF LEICESTER CITY?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_33 WHERE home_team = "leicester city"
Write a SQL query that answers the following question: WHAT IS THE AWAY TEAM WHEN HOME IS LEEDS UNITED?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_44 WHERE home_team = "leeds united"
Write a SQL query that answers the following question: WHAT IS THE AWAY TEAM WITH A TIE NUMBER 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_46 WHERE tie_no = "1"
Write a SQL query that answers the following question: Which Total has a Club of darlington, and a League goals of 13, and a League Cup goals of 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (total INTEGER, league_cup_goals VARCHAR, club VARCHAR, league_goals VARCHAR)
SELECT SUM(total) FROM table_name_68 WHERE club = "darlington" AND league_goals = "13" AND league_cup_goals = "1"
Write a SQL query that answers the following question: Which Club has a League Cup goals of 0, and a FA Cup goals of 1, and a Total larger than 11, and a League goals of 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (club VARCHAR, league_goals VARCHAR, total VARCHAR, league_cup_goals VARCHAR, fa_cup_goals VARCHAR)
SELECT club FROM table_name_99 WHERE league_cup_goals = "0" AND fa_cup_goals = "1" AND total > 11 AND league_goals = "13"
Write a SQL query that answers the following question: Which League Cup goals have a Total larger than 14, and a League goals of 14, and a FA Cup goals of 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (league_cup_goals VARCHAR, fa_cup_goals VARCHAR, total VARCHAR, league_goals VARCHAR)
SELECT league_cup_goals FROM table_name_61 WHERE total > "14" AND league_goals = "14" AND fa_cup_goals = "0"
Write a SQL query that answers the following question: Which Total has an FA Cup goals of 1, and a League goals of 4 + 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (total INTEGER, fa_cup_goals VARCHAR, league_goals VARCHAR)
SELECT AVG(total) FROM table_name_23 WHERE fa_cup_goals = "1" AND league_goals = "4 + 7"
Write a SQL query that answers the following question: What event had a win, record of 8-1 and n/a round?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (event VARCHAR, record VARCHAR, res VARCHAR, round VARCHAR)
SELECT event FROM table_name_98 WHERE res = "win" AND round = "n/a" AND record = "8-1"
Write a SQL query that answers the following question: What event was the opponent Karl Knothe and had a submission (rear naked choke)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (event VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_16 WHERE method = "submission (rear naked choke)" AND opponent = "karl knothe"
Write a SQL query that answers the following question: What's the record for the match when the res was a win and the method was a decision?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (record VARCHAR, method VARCHAR, res VARCHAR)
SELECT record FROM table_name_91 WHERE method = "decision" AND res = "win"
Write a SQL query that answers the following question: What round had a record of 4-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (round VARCHAR, record VARCHAR)
SELECT round FROM table_name_17 WHERE record = "4-1"
Write a SQL query that answers the following question: What's the record of the UCS 2 - Battle at the Barn when the round was n/a?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (record VARCHAR, round VARCHAR, event VARCHAR)
SELECT record FROM table_name_7 WHERE round = "n/a" AND event = "ucs 2 - battle at the barn"
Write a SQL query that answers the following question: What round had a record of 8-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (round VARCHAR, record VARCHAR)
SELECT round FROM table_name_73 WHERE record = "8-2"
Write a SQL query that answers the following question: Who is the opponent when the record is 17-19-4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_27 WHERE record = "17-19-4"
Write a SQL query that answers the following question: What is the score of game 37?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_72 WHERE game = 37
Write a SQL query that answers the following question: What is the record on 1/17/1980?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_77 WHERE date = "1/17/1980"
Write a SQL query that answers the following question: What date was game number 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_34 WHERE game = 3
Write a SQL query that answers the following question: What is the record when George Hill (11) had the high rebounds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (record VARCHAR, high_rebounds VARCHAR)
SELECT record FROM table_name_58 WHERE high_rebounds = "george hill (11)"
Write a SQL query that answers the following question: What number game happened on November 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (game INTEGER, date VARCHAR)
SELECT MAX(game) FROM table_name_44 WHERE date = "november 19"
Write a SQL query that answers the following question: Who had the high rebounds for game 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (high_rebounds VARCHAR, game VARCHAR)
SELECT high_rebounds FROM table_name_55 WHERE game = 12
Write a SQL query that answers the following question: What is the name of the manager in the city of Osijek?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (manager VARCHAR, home_city VARCHAR)
SELECT manager FROM table_name_33 WHERE home_city = "osijek"
Write a SQL query that answers the following question: What is the team at Stadion Maksimir?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (team VARCHAR, stadium VARCHAR)
SELECT team FROM table_name_48 WHERE stadium = "stadion maksimir"
Write a SQL query that answers the following question: What is the home city when the stadium was Gradski Stadion U Poljudu?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (home_city VARCHAR, stadium VARCHAR)
SELECT home_city FROM table_name_69 WHERE stadium = "gradski stadion u poljudu"
Write a SQL query that answers the following question: What is the home city when Mladen Frančić is the manager?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (home_city VARCHAR, manager VARCHAR)
SELECT home_city FROM table_name_36 WHERE manager = "mladen frančić"
Write a SQL query that answers the following question: Who was the opponent when the attendance was 80,079?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_99 WHERE attendance = "80,079"
Write a SQL query that answers the following question: Who was the opponent when the attendance was 31,002?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_86 WHERE attendance = "31,002"
Write a SQL query that answers the following question: Who was the opponent when they played at the legion field • birmingham, al site?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (opponent VARCHAR, site VARCHAR)
SELECT opponent FROM table_name_7 WHERE site = "legion field • birmingham, al"
Write a SQL query that answers the following question: On which site was the game against Louisville played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (site VARCHAR, opponent VARCHAR)
SELECT site FROM table_name_22 WHERE opponent = "louisville"
Write a SQL query that answers the following question: What was the total attendance on September 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_76 WHERE date = "september 12"
Write a SQL query that answers the following question: What is the sum of Broadcasts (TV) 1, when Series is "3 4", and when US Release Date is "27 December 2006"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (broadcasts__tv__1 INTEGER, series VARCHAR, us_release_date VARCHAR)
SELECT SUM(broadcasts__tv__1) FROM table_name_47 WHERE series = "3 4" AND us_release_date = "27 december 2006"
Write a SQL query that answers the following question: What is the total number of Broadcasts (TV) 1, when Aired in Japan 3 is "5 January 2003 to 30 March 2003"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (broadcasts__tv__1 VARCHAR, aired_in_japan_3 VARCHAR)
SELECT COUNT(broadcasts__tv__1) FROM table_name_50 WHERE aired_in_japan_3 = "5 january 2003 to 30 march 2003"
Write a SQL query that answers the following question: What is Episodes (TV+extra) 2, when Broadcasts (TV) 1 is less than 13, and when Directors is "Shigehito Takayanagi"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (episodes__tv VARCHAR, extra__2 VARCHAR, broadcasts__tv__1 VARCHAR, directors VARCHAR)
SELECT episodes__tv + extra__2 FROM table_name_26 WHERE broadcasts__tv__1 < 13 AND directors = "shigehito takayanagi"
Write a SQL query that answers the following question: What was the lowest pick when the position was OF with the Chicago White Sox?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (pick INTEGER, position VARCHAR, team VARCHAR)
SELECT MIN(pick) FROM table_name_35 WHERE position = "of" AND team = "chicago white sox"
Write a SQL query that answers the following question: What is the affiliation of the University of Maryland?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (affiliation VARCHAR, school VARCHAR)
SELECT affiliation FROM table_name_54 WHERE school = "university of maryland"
Write a SQL query that answers the following question: What school has the nickname of Cardinals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (founded INTEGER, nickname VARCHAR)
SELECT MIN(founded) FROM table_name_9 WHERE nickname = "cardinals"
Write a SQL query that answers the following question: What is the nickname of the school located in Fairfax, VA?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (nickname VARCHAR, location VARCHAR)
SELECT nickname FROM table_name_98 WHERE location = "fairfax, va"
Write a SQL query that answers the following question: What is "house", when "four" is "opat"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (house VARCHAR, four VARCHAR)
SELECT house FROM table_name_89 WHERE four = "opat"
Write a SQL query that answers the following question: What is "house", when "what" is "ano", and when "three" is "tulo"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (house VARCHAR, what VARCHAR, three VARCHAR)
SELECT house FROM table_name_24 WHERE what = "ano" AND three = "tulo"
Write a SQL query that answers the following question: What is the language, when "house" is "balay", when "three" is "tatlo", and when "four" is "apat"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (english VARCHAR, four VARCHAR, house VARCHAR, three VARCHAR)
SELECT english FROM table_name_52 WHERE house = "balay" AND three = "tatlo" AND four = "apat"
Write a SQL query that answers the following question: What is "what", when "person" is "tawo", when "three" is "tuyo", and when "coconut" is "niyog"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (what VARCHAR, coconut VARCHAR, person VARCHAR, three VARCHAR)
SELECT what FROM table_name_7 WHERE person = "tawo" AND three = "tuyo" AND coconut = "niyog"
Write a SQL query that answers the following question: What is the language, when "what" is "ango"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (english VARCHAR, what VARCHAR)
SELECT english FROM table_name_32 WHERE what = "ango"
Write a SQL query that answers the following question: Who is the opponent for the game played on august 20, 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_47 WHERE date = "august 20, 2006"
Write a SQL query that answers the following question: On which Surface will Estrella Cabeza Candela play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (surface VARCHAR, opponent VARCHAR)
SELECT surface FROM table_name_67 WHERE opponent = "estrella cabeza candela"
Write a SQL query that answers the following question: What was the opponent on December 16, 1989?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_14 WHERE date = "december 16, 1989"
Write a SQL query that answers the following question: What was the highest attendance on November 12, 1989?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (attendance INTEGER, date VARCHAR)
SELECT MAX(attendance) FROM table_name_80 WHERE date = "november 12, 1989"
Write a SQL query that answers the following question: What was the week on December 10, 1989?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (week VARCHAR, date VARCHAR)
SELECT week FROM table_name_39 WHERE date = "december 10, 1989"
Write a SQL query that answers the following question: What attendance is dated february 27?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_66 WHERE date = "february 27"
Write a SQL query that answers the following question: What date has 37 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (date VARCHAR, points VARCHAR)
SELECT date FROM table_name_95 WHERE points = 37
Write a SQL query that answers the following question: Who was the Team that was played against on February 24 and a game after game 55?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (team VARCHAR, game VARCHAR, date VARCHAR)
SELECT team FROM table_name_61 WHERE game > 55 AND date = "february 24"
Write a SQL query that answers the following question: what is the name when the lane is less than 4 and mark is 52.64?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (name VARCHAR, lane VARCHAR, mark VARCHAR)
SELECT name FROM table_name_37 WHERE lane < 4 AND mark = "52.64"
Write a SQL query that answers the following question: what is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (lane VARCHAR, heat VARCHAR, name VARCHAR)
SELECT COUNT(lane) FROM table_name_29 WHERE heat = 3 AND name = "cxhristy ekpukhon ihunaegbo"
Write a SQL query that answers the following question: Name the Score which has a Time of 18:00 and a Venue of african union?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (score VARCHAR, time VARCHAR, venue VARCHAR)
SELECT score FROM table_name_99 WHERE time = "18:00" AND venue = "african union"