instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Which Icelandic has a Norwegian (nynorsk) of kvitt/kvit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (icelandic VARCHAR, norwegian__nynorsk_ VARCHAR)
SELECT icelandic FROM table_name_47 WHERE norwegian__nynorsk_ = "kvitt/kvit"
Write a SQL query that answers the following question: Which Faroese has an English of white?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (faroese VARCHAR, english VARCHAR)
SELECT faroese FROM table_name_83 WHERE english = "white"
Write a SQL query that answers the following question: Which Norwegian (nynorsk) has a Danish of farvel?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (norwegian__nynorsk_ VARCHAR, danish VARCHAR)
SELECT norwegian__nynorsk_ FROM table_name_12 WHERE danish = "farvel"
Write a SQL query that answers the following question: Which English has a Danish of rødt/rød?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (english VARCHAR, danish VARCHAR)
SELECT english FROM table_name_69 WHERE danish = "rødt/rød"
Write a SQL query that answers the following question: What number of Congress has 44 cosponsors?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (congress VARCHAR, _number_of_cosponsors VARCHAR)
SELECT congress FROM table_name_97 WHERE _number_of_cosponsors = 44
Write a SQL query that answers the following question: Who was the sponsor on April 22, 2004?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (sponsor VARCHAR, date_introduced VARCHAR)
SELECT sponsor FROM table_name_43 WHERE date_introduced = "april 22, 2004"
Write a SQL query that answers the following question: What is the score of the game when the New York Rangers were the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (score VARCHAR, home VARCHAR)
SELECT score FROM table_name_98 WHERE home = "new york rangers"
Write a SQL query that answers the following question: What was the result on 8 October 1961?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_26 WHERE date = "8 october 1961"
Write a SQL query that answers the following question: What was the venue of the game on 27 April 1964?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_33 WHERE date = "27 april 1964"
Write a SQL query that answers the following question: What is the home team score when the away team was Hawthorn?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_1 WHERE away_team = "hawthorn"
Write a SQL query that answers the following question: What was the score of the game against Divij Sharan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_56 WHERE opponent_in_the_final = "divij sharan"
Write a SQL query that answers the following question: What was the score of the match that was a played on a hard surface against Peter Gojowczyk?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_85 WHERE surface = "hard" AND opponent_in_the_final = "peter gojowczyk"
Write a SQL query that answers the following question: How many attended the game with a record of 43-34?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (attendance VARCHAR, record VARCHAR)
SELECT COUNT(attendance) FROM table_name_59 WHERE record = "43-34"
Write a SQL query that answers the following question: Who was Manuela Maleeva opponent when she played a match partnered with michelle strebel?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (opponents VARCHAR, partner VARCHAR)
SELECT opponents FROM table_name_81 WHERE partner = "michelle strebel"
Write a SQL query that answers the following question: When the percent is larger than 0.685, what is the average number of points scored?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (points INTEGER, pct__percentage INTEGER)
SELECT AVG(points) FROM table_name_61 WHERE pct__percentage > 0.685
Write a SQL query that answers the following question: When less than 37 points are scored, what's the lowest Pct % found?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (pct__percentage INTEGER, points INTEGER)
SELECT MIN(pct__percentage) FROM table_name_90 WHERE points < 37
Write a SQL query that answers the following question: How many rounds did the event rings: king of kings 2000 block a have with a record of 6-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (round VARCHAR, event VARCHAR, record VARCHAR)
SELECT round FROM table_name_82 WHERE event = "rings: king of kings 2000 block a" AND record = "6-1"
Write a SQL query that answers the following question: How long was the fight 'adrenaline mma 3'?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (time VARCHAR, event VARCHAR)
SELECT time FROM table_name_72 WHERE event = "adrenaline mma 3"
Write a SQL query that answers the following question: What was roberto travern's record when he fought against john salter?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_60 WHERE opponent = "john salter"
Write a SQL query that answers the following question: What was the score of the away team at the MCG?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_16 WHERE venue = "mcg"
Write a SQL query that answers the following question: Who constructed the car with a grid larger than 20 that got in an accident?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
SELECT constructor FROM table_name_1 WHERE grid > 20 AND time_retired = "accident"
Write a SQL query that answers the following question: Which Position has a CFL Team of montreal alouettes (via edmonton)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (position VARCHAR, cfl_team VARCHAR)
SELECT position FROM table_name_6 WHERE cfl_team = "montreal alouettes (via edmonton)"
Write a SQL query that answers the following question: Which Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (player VARCHAR, cfl_team VARCHAR)
SELECT player FROM table_name_23 WHERE cfl_team = "montreal alouettes (via hamilton via winnipeg)"
Write a SQL query that answers the following question: Which Position has a Player of patrick macdonald?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_35 WHERE player = "patrick macdonald"
Write a SQL query that answers the following question: What series had Joan Tena in sixth place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (series INTEGER, sixth_place VARCHAR)
SELECT SUM(series) FROM table_name_54 WHERE sixth_place = "joan tena"
Write a SQL query that answers the following question: Who was in sixth place in series 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (sixth_place VARCHAR, series VARCHAR)
SELECT sixth_place FROM table_name_34 WHERE series = 7
Write a SQL query that answers the following question: Who was sixth place when Hugo Salazar was fifth place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (sixth_place VARCHAR, fifth_place VARCHAR)
SELECT sixth_place FROM table_name_19 WHERE fifth_place = "hugo salazar"
Write a SQL query that answers the following question: Who was third place when Fran Dieli was fifth place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (third_place VARCHAR, fifth_place VARCHAR)
SELECT third_place FROM table_name_78 WHERE fifth_place = "fran dieli"
Write a SQL query that answers the following question: What is the Order and Title with an Elevated with 1261, december 17, and a Faction with angevin?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (order_and_title VARCHAR, elevated VARCHAR, faction VARCHAR)
SELECT order_and_title FROM table_name_88 WHERE elevated = "1261, december 17" AND faction = "angevin"
Write a SQL query that answers the following question: What is the Elector with a Nationality with roman, and an Elevator of urban iv, and an Elevated with 1261, december 17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (elector VARCHAR, elevated VARCHAR, nationality VARCHAR, elevator VARCHAR)
SELECT elector FROM table_name_5 WHERE nationality = "roman" AND elevator = "urban iv" AND elevated = "1261, december 17"
Write a SQL query that answers the following question: What is the Nationality with an Elector with bertrand de saint-martin?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (nationality VARCHAR, elector VARCHAR)
SELECT nationality FROM table_name_36 WHERE elector = "bertrand de saint-martin"
Write a SQL query that answers the following question: What is the Order and Title with a Nationality with roman, and an Elector with matteo orsini rosso?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (order_and_title VARCHAR, nationality VARCHAR, elector VARCHAR)
SELECT order_and_title FROM table_name_6 WHERE nationality = "roman" AND elector = "matteo orsini rosso"
Write a SQL query that answers the following question: What is the Elector with a Faction of roman, and an Elevated with 1244, may 28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (elector VARCHAR, faction VARCHAR, elevated VARCHAR)
SELECT elector FROM table_name_56 WHERE faction = "roman" AND elevated = "1244, may 28"
Write a SQL query that answers the following question: What is the mult value of the microprocessor with a release date q4 2007 and model number pentium dual-core t2310?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (mult VARCHAR, release_date VARCHAR, model_number VARCHAR)
SELECT mult FROM table_name_73 WHERE release_date = "q4 2007" AND model_number = "pentium dual-core t2310"
Write a SQL query that answers the following question: What is the L2 cache of the microprocessor with model number pentium dual-core t3400?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (l2_cache VARCHAR, model_number VARCHAR)
SELECT l2_cache FROM table_name_91 WHERE model_number = "pentium dual-core t3400"
Write a SQL query that answers the following question: What is the release price (USD) of the microprocessor with a model number pentium dual-core t2330?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (release_price___usd__ VARCHAR, model_number VARCHAR)
SELECT release_price___usd__ FROM table_name_32 WHERE model_number = "pentium dual-core t2330"
Write a SQL query that answers the following question: What day did Patrick Tambay have the fastest lap?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (date VARCHAR, fastest_lap VARCHAR)
SELECT date FROM table_name_35 WHERE fastest_lap = "patrick tambay"
Write a SQL query that answers the following question: Who held the pole position in SPA-Francorchamps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (pole_position VARCHAR, location VARCHAR)
SELECT pole_position FROM table_name_41 WHERE location = "spa-francorchamps"
Write a SQL query that answers the following question: Who was the Long Beach constructor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (constructor VARCHAR, location VARCHAR)
SELECT constructor FROM table_name_24 WHERE location = "long beach"
Write a SQL query that answers the following question: What did St Kilda score when they were the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_53 WHERE home_team = "st kilda"
Write a SQL query that answers the following question: What did the home team score when South Melbourne was the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_6 WHERE away_team = "south melbourne"
Write a SQL query that answers the following question: Name the leading scorer for april 12, 2008
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (leading_scorer VARCHAR, date VARCHAR)
SELECT leading_scorer FROM table_name_13 WHERE date = "april 12, 2008"
Write a SQL query that answers the following question: What was the score for the home team that played at Brunswick Street Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_52 WHERE venue = "brunswick street oval"
Write a SQL query that answers the following question: what is the name for seasons 1981 and an order more than 807?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (name VARCHAR, seasons VARCHAR, order VARCHAR)
SELECT name FROM table_name_49 WHERE seasons = "1981" AND order > 807
Write a SQL query that answers the following question: What away team played in Lake Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_63 WHERE venue = "lake oval"
Write a SQL query that answers the following question: Which tournament was on 2009 with 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (tournament VARCHAR)
SELECT tournament FROM table_name_30 WHERE 2009 = "11"
Write a SQL query that answers the following question: What driver went 59 laps on grid 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_57 WHERE laps = 59 AND grid = 11
Write a SQL query that answers the following question: Which driver has a grid value of 22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_38 WHERE grid = "22"
Write a SQL query that answers the following question: What is the value of time/retired for Jean Alesi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (time_retired VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_29 WHERE driver = "jean alesi"
Write a SQL query that answers the following question: When the time/retired is electrical how many laps did Rubens Barrichello have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_53 WHERE time_retired = "electrical" AND driver = "rubens barrichello"
Write a SQL query that answers the following question: How many laps did Eddie Irvine have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (laps VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_73 WHERE driver = "eddie irvine"
Write a SQL query that answers the following question: In the game where the Hornets were the home team and Clippers the visiting team, what is the score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (score VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_9 WHERE home = "hornets" AND visitor = "clippers"
Write a SQL query that answers the following question: Which finish has a 99.550 Qual?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (finish VARCHAR, qual VARCHAR)
SELECT finish FROM table_name_13 WHERE qual = "99.550"
Write a SQL query that answers the following question: Which Qual with laps less than 200 and an 11 start?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (qual VARCHAR, laps VARCHAR, start VARCHAR)
SELECT qual FROM table_name_4 WHERE laps < 200 AND start = "11"
Write a SQL query that answers the following question: Which rank is the start of totals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (rank VARCHAR, start VARCHAR)
SELECT rank FROM table_name_78 WHERE start = "totals"
Write a SQL query that answers the following question: Which year has 112 laps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (year VARCHAR, laps VARCHAR)
SELECT year FROM table_name_31 WHERE laps = 112
Write a SQL query that answers the following question: On what surface was the score in the final 0–6, 4–6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (surface VARCHAR, score_in_the_final VARCHAR)
SELECT surface FROM table_name_47 WHERE score_in_the_final = "0–6, 4–6"
Write a SQL query that answers the following question: What score in the final had a tournament of $25,000 Glasgow, Great Britain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (score_in_the_final VARCHAR, tournament VARCHAR)
SELECT score_in_the_final FROM table_name_82 WHERE tournament = "$25,000 glasgow, great britain"
Write a SQL query that answers the following question: Which surface has a score in the final of 4–6, 3–6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (surface VARCHAR, score_in_the_final VARCHAR)
SELECT surface FROM table_name_77 WHERE score_in_the_final = "4–6, 3–6"
Write a SQL query that answers the following question: how many times is the nation listed as united states with the total more than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (silver VARCHAR, nation VARCHAR, total VARCHAR)
SELECT COUNT(silver) FROM table_name_44 WHERE nation = "united states" AND total > 1
Write a SQL query that answers the following question: what is the lowest total when the rank is less than 2 and bronze is more than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (total INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT MIN(total) FROM table_name_30 WHERE rank < 2 AND bronze > 0
Write a SQL query that answers the following question: what is the nation with a total of 1, bronze smaller than 1 and a rank of 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (nation VARCHAR, rank VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT nation FROM table_name_62 WHERE total = 1 AND bronze < 1 AND rank = 3
Write a SQL query that answers the following question: what is the rank when silver is less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (rank INTEGER, silver INTEGER)
SELECT SUM(rank) FROM table_name_6 WHERE silver < 0
Write a SQL query that answers the following question: what is the amount of silver when gold is 2 and the rank is more than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (silver INTEGER, gold VARCHAR, rank VARCHAR)
SELECT AVG(silver) FROM table_name_6 WHERE gold = 2 AND rank > 1
Write a SQL query that answers the following question: Which home has a Decision of kolzig, and a Date of november 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (home VARCHAR, decision VARCHAR, date VARCHAR)
SELECT home FROM table_name_9 WHERE decision = "kolzig" AND date = "november 5"
Write a SQL query that answers the following question: Which score has a Decision of johnson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (score VARCHAR, decision VARCHAR)
SELECT score FROM table_name_29 WHERE decision = "johnson"
Write a SQL query that answers the following question: Which date has a Home of washington, a Visitor of florida, and a Record of 8-15-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_78 WHERE home = "washington" AND visitor = "florida" AND record = "8-15-2"
Write a SQL query that answers the following question: What is the total of attendance with a Record of 5-9-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (attendance INTEGER, record VARCHAR)
SELECT SUM(attendance) FROM table_name_69 WHERE record = "5-9-0"
Write a SQL query that answers the following question: Which score has a Date of november 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_2 WHERE date = "november 2"
Write a SQL query that answers the following question: What's the length of route FM 2895 with junctions sh 359 us 59?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (length VARCHAR, junctions VARCHAR, route_name VARCHAR)
SELECT length FROM table_name_29 WHERE junctions = "sh 359 us 59" AND route_name = "fm 2895"
Write a SQL query that answers the following question: What's the termini of the route with junctions of i-35 fm 3338 sh 255?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (termini VARCHAR, junctions VARCHAR)
SELECT termini FROM table_name_2 WHERE junctions = "i-35 fm 3338 sh 255"
Write a SQL query that answers the following question: What are the junctions of the route with termini aguilares, texas us 59?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (junctions VARCHAR, termini VARCHAR)
SELECT junctions FROM table_name_98 WHERE termini = "aguilares, texas us 59"
Write a SQL query that answers the following question: What route has termini of fm 1472 sh 255?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (route_name VARCHAR, termini VARCHAR)
SELECT route_name FROM table_name_49 WHERE termini = "fm 1472 sh 255"
Write a SQL query that answers the following question: What termini does the route with a population Area of aguilares have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (termini VARCHAR, population_area VARCHAR)
SELECT termini FROM table_name_40 WHERE population_area = "aguilares"
Write a SQL query that answers the following question: What's the length of the route with junctions of ur 1472 sh 255?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (length VARCHAR, junctions VARCHAR)
SELECT length FROM table_name_99 WHERE junctions = "ur 1472 sh 255"
Write a SQL query that answers the following question: Which champion was from the location of Morrisville, NC, and whose SemiFinalist #2 of Clemson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (champion VARCHAR, location VARCHAR, semi_finalist__number2 VARCHAR)
SELECT champion FROM table_name_47 WHERE location = "morrisville, nc" AND semi_finalist__number2 = "clemson"
Write a SQL query that answers the following question: Which champion got a score of 12-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (champion VARCHAR, score VARCHAR)
SELECT champion FROM table_name_78 WHERE score = "12-1"
Write a SQL query that answers the following question: Who was champion in 2005 where the semi-finalist was #1 in western Carolina?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (champion VARCHAR, year VARCHAR, semi_finalist__number1 VARCHAR)
SELECT champion FROM table_name_36 WHERE year = 2005 AND semi_finalist__number1 = "western carolina"
Write a SQL query that answers the following question: Which runner-up placed in a year prior to 2006 and whose Champion was Elon?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (runner_up VARCHAR, year VARCHAR, champion VARCHAR)
SELECT runner_up FROM table_name_66 WHERE year < 2006 AND champion = "elon"
Write a SQL query that answers the following question: What is the wheel arrangement of cf-16-4, and 16 produced?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (wheel_arrangement VARCHAR, builder’s_model VARCHAR, total_produced VARCHAR)
SELECT wheel_arrangement FROM table_name_5 WHERE builder’s_model = "cf-16-4" AND total_produced = 16
Write a SQL query that answers the following question: What is the power of b-b wheel arrangement, built in 1952?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (power_output VARCHAR, wheel_arrangement VARCHAR, build_date VARCHAR)
SELECT power_output FROM table_name_88 WHERE wheel_arrangement = "b-b" AND build_date = "1952"
Write a SQL query that answers the following question: When was the build date for c-c wheel arrangement and freight service?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (build_date VARCHAR, service VARCHAR, wheel_arrangement VARCHAR)
SELECT build_date FROM table_name_36 WHERE service = "freight" AND wheel_arrangement = "c-c"
Write a SQL query that answers the following question: When was the build date for ff20 PRR class and erie built builder's model?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (build_date VARCHAR, prr_class VARCHAR, builder’s_model VARCHAR)
SELECT build_date FROM table_name_14 WHERE prr_class = "ff20" AND builder’s_model = "erie built"
Write a SQL query that answers the following question: what is the debut when the play er is radoslava topalova and the years played is less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (debut INTEGER, player VARCHAR, years_played VARCHAR)
SELECT AVG(debut) FROM table_name_33 WHERE player = "radoslava topalova" AND years_played < 2
Write a SQL query that answers the following question: What was the average attendance of the 2011 season that had games smaller than 519 with several teams bigger than 14 that were also part of the sport of association football?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (average_attendance VARCHAR, sport VARCHAR, _number_of_teams VARCHAR, season VARCHAR, games VARCHAR)
SELECT average_attendance FROM table_name_46 WHERE season = "2011" AND games < 519 AND _number_of_teams > 14 AND sport = "association football"
Write a SQL query that answers the following question: What was the total number of average attendance for games of 1311?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (average_attendance INTEGER, games VARCHAR)
SELECT SUM(average_attendance) FROM table_name_11 WHERE games = 1311
Write a SQL query that answers the following question: When was the season that had more teams larger than 14 in the super rugby league?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (season VARCHAR, _number_of_teams VARCHAR, league VARCHAR)
SELECT season FROM table_name_72 WHERE _number_of_teams > 14 AND league = "super rugby"
Write a SQL query that answers the following question: What is the label for the album with a catalog number of 83061-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (label VARCHAR, catalog__number VARCHAR)
SELECT label FROM table_name_96 WHERE catalog__number = "83061-2"
Write a SQL query that answers the following question: What is the catalog number of the album whose region is the United Kingdom?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (catalog__number VARCHAR, region VARCHAR)
SELECT catalog__number FROM table_name_36 WHERE region = "united kingdom"
Write a SQL query that answers the following question: What is the region for the album with a catalog number of 7567-83061-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (region VARCHAR, catalog__number VARCHAR)
SELECT region FROM table_name_60 WHERE catalog__number = "7567-83061-2"
Write a SQL query that answers the following question: What is the label for the album with a catalog number of 83061-4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (label VARCHAR, catalog__number VARCHAR)
SELECT label FROM table_name_84 WHERE catalog__number = "83061-4"
Write a SQL query that answers the following question: What is the catalog number of the album whose label is Atlantic Records and region is the United States?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (catalog__number VARCHAR, label VARCHAR, region VARCHAR)
SELECT catalog__number FROM table_name_8 WHERE label = "atlantic records" AND region = "united states"
Write a SQL query that answers the following question: What school/club team did the center Rafael Araújo play for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (school_club_team VARCHAR, position VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_78 WHERE position = "center" AND player = "rafael araújo"
Write a SQL query that answers the following question: What is the nationality of the guard who played for Florida International?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT nationality FROM table_name_53 WHERE position = "guard" AND school_club_team = "florida international"
Write a SQL query that answers the following question: What player had the position guard/forward?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (player VARCHAR, position VARCHAR)
SELECT player FROM table_name_83 WHERE position = "guard/forward"
Write a SQL query that answers the following question: Who is the driver for laps of 45
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (driver VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_62 WHERE laps = 45
Write a SQL query that answers the following question: Who was the visiting team on December 17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_90 WHERE date = "december 17"
Write a SQL query that answers the following question: How many people were at Washington's home game against Miami?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (attendance VARCHAR, visitor VARCHAR, home VARCHAR)
SELECT COUNT(attendance) FROM table_name_31 WHERE visitor = "miami" AND home = "washington"
Write a SQL query that answers the following question: Who was the home team that played against the visiting team Minnesota?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (home VARCHAR, visitor VARCHAR)
SELECT home FROM table_name_63 WHERE visitor = "minnesota"
Write a SQL query that answers the following question: What was total attendance on the day they went 17-7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (attendance VARCHAR, record VARCHAR)
SELECT COUNT(attendance) FROM table_name_17 WHERE record = "17-7"