question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the final score in the game against the Cincinnati Bengals?
CREATE TABLE table_name_78 (final_score VARCHAR, visiting_team VARCHAR)
SELECT final_score FROM table_name_78 WHERE visiting_team = "cincinnati bengals"
How many stations are called radyo5 101.9 news fm?
CREATE TABLE table_17822401_1 (location VARCHAR, branding VARCHAR)
SELECT COUNT(location) FROM table_17822401_1 WHERE branding = "Radyo5 101.9 News FM"
What is the average total of halifax town club, which has a league less than 30 and more than 3 FA cups?
CREATE TABLE table_name_18 (total INTEGER, fa_cup VARCHAR, club VARCHAR, league VARCHAR)
SELECT AVG(total) FROM table_name_18 WHERE club = "halifax town" AND league < 30 AND fa_cup > 3
Party of republican, and a District of 5th is what highest elected?
CREATE TABLE table_name_39 (elected INTEGER, party VARCHAR, district VARCHAR)
SELECT MAX(elected) FROM table_name_39 WHERE party = "republican" AND district = "5th"
What is the price of the internet 150 plans?
CREATE TABLE table_name_63 (price VARCHAR, internet_plan VARCHAR)
SELECT price FROM table_name_63 WHERE internet_plan = "internet 150"
Who was the color commentator for Eric Dickerson and Melissa Stark in 2001?
CREATE TABLE table_name_42 (color_commentator_s_ VARCHAR, sideline_reporter_s_ VARCHAR, year VARCHAR)
SELECT color_commentator_s_ FROM table_name_42 WHERE sideline_reporter_s_ = "eric dickerson and melissa stark" AND year = 2001
what is the outcome when the opponent in the final is william renshaw after year 1882?
CREATE TABLE table_name_24 (outcome VARCHAR, year VARCHAR, opponent_in_the_final VARCHAR)
SELECT outcome FROM table_name_24 WHERE year > 1882 AND opponent_in_the_final = "william renshaw"
How many games had fewer than 118 opponents and more than 109 net points with an opponent of Washington?
CREATE TABLE table_name_37 (game VARCHAR, opponent VARCHAR, opponents VARCHAR, nets_points VARCHAR)
SELECT COUNT(game) FROM table_name_37 WHERE opponents < 118 AND nets_points > 109 AND opponent = "washington"
What rank was Core Districts + Inner Suburbs and had a population of 10123000?
CREATE TABLE table_name_37 (rank INTEGER, definition VARCHAR, population VARCHAR)
SELECT MAX(rank) FROM table_name_37 WHERE definition = "core districts + inner suburbs" AND population = "10123000"
Name the city for IATA of llw
CREATE TABLE table_name_32 (city VARCHAR, iata VARCHAR)
SELECT city FROM table_name_32 WHERE iata = "llw"
What is Visitor, when Date is "May 9"?
CREATE TABLE table_name_13 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_13 WHERE date = "may 9"
What is the HDTV that has television service of tv 8 mont blanc and content is general television?
CREATE TABLE table_name_26 (hdtv VARCHAR, content VARCHAR, television_service VARCHAR)
SELECT hdtv FROM table_name_26 WHERE content = "general television" AND television_service = "tv 8 mont blanc"
What was the score in the game on March 26?
CREATE TABLE table_27756572_10 (score VARCHAR, date VARCHAR)
SELECT score FROM table_27756572_10 WHERE date = "March 26"
List all information about college sorted by enrollment number in the ascending order.
CREATE TABLE College (enr VARCHAR)
SELECT * FROM College ORDER BY enr
What was the visiting team for the game that ended 82-75?
CREATE TABLE table_name_51 (visitor VARCHAR, score VARCHAR)
SELECT visitor FROM table_name_51 WHERE score = "82-75"
Which platform was Red Dead Redemption for?
CREATE TABLE table_name_50 (platform_s_ VARCHAR, game VARCHAR)
SELECT platform_s_ FROM table_name_50 WHERE game = "red dead redemption"
What was the result of the game seen by 31095 people?
CREATE TABLE table_18207285_2 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_18207285_2 WHERE attendance = 31095
Name the transit connections for capitol hill u
CREATE TABLE table_22771048_3 (transit_connections VARCHAR, station VARCHAR)
SELECT transit_connections FROM table_22771048_3 WHERE station = "Capitol Hill U"
What was the attendance when Hawthorn played as home team?
CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR)
SELECT SUM(crowd) FROM table_name_25 WHERE home_team = "hawthorn"
What was the away score at the Princes Park game?
CREATE TABLE table_name_28 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_28 WHERE venue = "princes park"
What was the score of the game on November 22?
CREATE TABLE table_name_8 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_8 WHERE date = "november 22"
What is the highest SiO 2, when K 2 O is greater than 0.16, when Fe 2 O 3 is greater than 0.16, and when Na 2 O is less than 7.53?
CREATE TABLE table_name_50 (sio_2 INTEGER, na_2_o VARCHAR, k_2_o VARCHAR, fe_2_o_3 VARCHAR)
SELECT MAX(sio_2) FROM table_name_50 WHERE k_2_o > 0.16 AND fe_2_o_3 > 0.16 AND na_2_o < 7.53
What is Result, when Venue is Götzis , Austria?
CREATE TABLE table_name_77 (result VARCHAR, venue VARCHAR)
SELECT result FROM table_name_77 WHERE venue = "götzis , austria"
What date was the attendance 1,804?
CREATE TABLE table_name_44 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_44 WHERE attendance = "1,804"
Name the number of series for 19
CREATE TABLE table_23958944_6 (no_by_series VARCHAR, no_by_season VARCHAR)
SELECT no_by_series FROM table_23958944_6 WHERE no_by_season = 19
Which Attendance has a Date of september 29, 1968, and a Week smaller than 3?
CREATE TABLE table_name_17 (attendance INTEGER, date VARCHAR, week VARCHAR)
SELECT MIN(attendance) FROM table_name_17 WHERE date = "september 29, 1968" AND week < 3
Swimmer Audrey Lacroix finished in what time?
CREATE TABLE table_name_20 (time VARCHAR, name VARCHAR)
SELECT time FROM table_name_20 WHERE name = "audrey lacroix"
What week of the season did the date December 2, 1962 fall on?
CREATE TABLE table_14984078_1 (week VARCHAR, date VARCHAR)
SELECT week FROM table_14984078_1 WHERE date = "December 2, 1962"
What rank has 123 as the total?
CREATE TABLE table_name_96 (rank VARCHAR, total VARCHAR)
SELECT rank FROM table_name_96 WHERE total = 123
Which format has a region of united kingdom?
CREATE TABLE table_name_19 (format VARCHAR, region VARCHAR)
SELECT format FROM table_name_19 WHERE region = "united kingdom"
Which restaurants have highest rating? List the restaurant name and its rating.
CREATE TABLE Restaurant (ResName VARCHAR, Rating VARCHAR)
SELECT ResName, Rating FROM Restaurant ORDER BY Rating DESC LIMIT 1
What was the engine class that was built on 1906-08?
CREATE TABLE table_25695027_1 (class VARCHAR, years_built VARCHAR)
SELECT class FROM table_25695027_1 WHERE years_built = "1906-08"
What is the time/retired of the team with a grid of 14?
CREATE TABLE table_name_62 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_62 WHERE grid = 14
What is the total number of postseason games that team Boston Red Stockings participated in?
CREATE TABLE postseason (team_id_winner VARCHAR, team_id_loser VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)
SELECT COUNT(*) FROM (SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' UNION SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser = T2.team_id_br WHERE T2.name = 'Boston Red Stockings')
In how many districts was the incumbent David Delano Glover?
CREATE TABLE table_1342338_5 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_1342338_5 WHERE incumbent = "David Delano Glover"
What is VFB Stuttgart II Team's Stadiuim?
CREATE TABLE table_name_91 (stadium VARCHAR, team VARCHAR)
SELECT stadium FROM table_name_91 WHERE team = "vfb stuttgart ii"
Who were the authors of episode having production code 3t7573?
CREATE TABLE table_18274425_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_18274425_1 WHERE production_code = "3T7573"
What is the Country of the 10,000m Event?
CREATE TABLE table_name_39 (country VARCHAR, event VARCHAR)
SELECT country FROM table_name_39 WHERE event = "10,000m"
What's the call sign that has 20kw of power?
CREATE TABLE table_name_17 (call_sign VARCHAR, power__kw_ VARCHAR)
SELECT call_sign FROM table_name_17 WHERE power__kw_ = "20kw"
What was the opearint profit (s$m) associated with an expenditure (s$m) of 12,127.8?
CREATE TABLE table_161591_2 (operating_profit__s$m_ VARCHAR, expenditure__s$m_ VARCHAR)
SELECT operating_profit__s$m_ FROM table_161591_2 WHERE expenditure__s$m_ = "12,127.8"
Which arena was founded in 2000?
CREATE TABLE table_name_5 (arena VARCHAR, founded VARCHAR)
SELECT arena FROM table_name_5 WHERE founded = 2000
What is Result, when Extra is "Heptathlon", and when Venue is "Götzis , Austria"?
CREATE TABLE table_name_62 (result VARCHAR, extra VARCHAR, venue VARCHAR)
SELECT result FROM table_name_62 WHERE extra = "heptathlon" AND venue = "götzis , austria"
What was the date when the record was 35-57?
CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_14 WHERE record = "35-57"
What year had a version called Wolf Mix?
CREATE TABLE table_name_11 (year INTEGER, version VARCHAR)
SELECT AVG(year) FROM table_name_11 WHERE version = "wolf mix"
What is the score of Player Tom Kite?
CREATE TABLE table_name_17 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_17 WHERE player = "tom kite"
What was the largest crowd for North Melbourne
CREATE TABLE table_name_98 (crowd INTEGER, home_team VARCHAR)
SELECT MAX(crowd) FROM table_name_98 WHERE home_team = "north melbourne"
Who was the winner against finalist Lina Krasnoroutskaya?
CREATE TABLE table_name_92 (winner VARCHAR, finalist VARCHAR)
SELECT winner FROM table_name_92 WHERE finalist = "lina krasnoroutskaya"
For teams that played 5 games, what was the smallest number of wins?
CREATE TABLE table_14288212_1 (win INTEGER, played VARCHAR)
SELECT MIN(win) FROM table_14288212_1 WHERE played = 5
Name the first elected for jacob markell
CREATE TABLE table_2668352_11 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_2668352_11 WHERE incumbent = "Jacob Markell"
Show each school name, its budgeted amount, and invested amount in year 2002 or after.
CREATE TABLE budget (budgeted VARCHAR, invested VARCHAR, school_id VARCHAR, year VARCHAR); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR)
SELECT T2.school_name, T1.budgeted, T1.invested FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T1.year >= 2002
How many total appearances did Grant Brebner have?
CREATE TABLE table_name_5 (total VARCHAR, name VARCHAR)
SELECT total FROM table_name_5 WHERE name = "grant brebner"
What rounds did RML Racing Silverline and James Nash compete?
CREATE TABLE table_name_28 (rounds VARCHAR, team VARCHAR, drivers VARCHAR)
SELECT rounds FROM table_name_28 WHERE team = "rml racing silverline" AND drivers = "james nash"
What to par has 7 as the place?
CREATE TABLE table_name_20 (to_par VARCHAR, place VARCHAR)
SELECT to_par FROM table_name_20 WHERE place = "7"
how many coupless totalled 14.5
CREATE TABLE table_19744915_3 (couple VARCHAR, total VARCHAR)
SELECT COUNT(couple) FROM table_19744915_3 WHERE total = "14.5"
How many directors were there in total for the episode with series #62?
CREATE TABLE table_16471432_4 (directed_by VARCHAR, series__number VARCHAR)
SELECT COUNT(directed_by) FROM table_16471432_4 WHERE series__number = 62
What are the Djurgården scorers that have a Score of 2-1?
CREATE TABLE table_name_87 (djurgården_scorers VARCHAR, score VARCHAR)
SELECT djurgården_scorers FROM table_name_87 WHERE score = "2-1"
What are the positions for Menlo College?
CREATE TABLE table_22603701_1 (position VARCHAR, college VARCHAR)
SELECT position FROM table_22603701_1 WHERE college = "Menlo college"
When were the odds of winner 16.66?
CREATE TABLE table_21676617_1 (year VARCHAR, odds_of_winner VARCHAR)
SELECT year FROM table_21676617_1 WHERE odds_of_winner = "16.66"
What is the sum of Pick #, when Position is Guard, and when Round is greater than 2?
CREATE TABLE table_name_36 (pick__number INTEGER, position VARCHAR, round VARCHAR)
SELECT SUM(pick__number) FROM table_name_36 WHERE position = "guard" AND round > 2
What are the names of representatives and the dates of elections they participated in.
CREATE TABLE election (Date VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR)
SELECT T2.Name, T1.Date FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID
Which Score has a Time of 5:00pm?
CREATE TABLE table_name_13 (score VARCHAR, time VARCHAR)
SELECT score FROM table_name_13 WHERE time = "5:00pm"
How many field goals did Walter Shaw make?
CREATE TABLE table_14342210_14 (field_goals__5_points_ VARCHAR, player VARCHAR)
SELECT COUNT(field_goals__5_points_) FROM table_14342210_14 WHERE player = "Walter Shaw"
Who are the opponents of Missouri that have an overall record of MU, 3-1?
CREATE TABLE table_16201038_5 (missouri_vs VARCHAR, overall_record VARCHAR)
SELECT missouri_vs FROM table_16201038_5 WHERE overall_record = "MU, 3-1"
Which district does the incumbent Luther Reily represent?
CREATE TABLE table_2668169_2 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_2668169_2 WHERE incumbent = "Luther Reily"
Name the total number of grupo capitol valladolid
CREATE TABLE table_12962773_13 (no VARCHAR, current_club VARCHAR)
SELECT COUNT(no) FROM table_12962773_13 WHERE current_club = "Grupo Capitol Valladolid"
What is the duration for Count Palatine of the Rhine of charles albert, elector of bavaria?
CREATE TABLE table_name_53 (duration VARCHAR, count_palatine_of_the_rhine VARCHAR)
SELECT duration FROM table_name_53 WHERE count_palatine_of_the_rhine = "charles albert, elector of bavaria"
What's the HC for the standard with NO x of 7.0 g/kWh?
CREATE TABLE table_2780146_6 (hc__g_kwh_ VARCHAR, no_x__g_kwh_ VARCHAR)
SELECT hc__g_kwh_ FROM table_2780146_6 WHERE no_x__g_kwh_ = "7.0"
What is the Attendance with a Date that is october 31, 1965?
CREATE TABLE table_name_15 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_15 WHERE date = "october 31, 1965"
What the highest Year with a Remixed by Laurent Boutonnat?
CREATE TABLE table_name_38 (year INTEGER, remixed_by VARCHAR)
SELECT MAX(year) FROM table_name_38 WHERE remixed_by = "laurent boutonnat"
What is the 2nd leg for the team 2 Milano?
CREATE TABLE table_name_72 (team_2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_72 WHERE team_2 = "milano"
What was the score on February 14, 1999?
CREATE TABLE table_name_32 (score_in_final VARCHAR, date VARCHAR)
SELECT score_in_final FROM table_name_32 WHERE date = "february 14, 1999"
Who was the leader in Points when Al Jefferson (7) was the leader in Rebounds?
CREATE TABLE table_name_12 (points VARCHAR, rebounds VARCHAR)
SELECT points FROM table_name_12 WHERE rebounds = "al jefferson (7)"
What is the queens where richmond staten is 42%?
CREATE TABLE table_1108394_24 (queens VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)
SELECT queens FROM table_1108394_24 WHERE richmond_[staten_is] = "42_percentage"
What was the score in the episode with john barrowman and vic reeves on sean's team?
CREATE TABLE table_23292220_4 (scores VARCHAR, seans_team VARCHAR)
SELECT scores FROM table_23292220_4 WHERE seans_team = "John Barrowman and Vic Reeves"
When To par was less than 2, what was the score?
CREATE TABLE table_name_51 (score VARCHAR, to_par INTEGER)
SELECT score FROM table_name_51 WHERE to_par < 2
Name the Losing BP with 22 played and 9 Try BP.
CREATE TABLE table_name_72 (losing_bp VARCHAR, played VARCHAR, try_bp VARCHAR)
SELECT losing_bp FROM table_name_72 WHERE played = "22" AND try_bp = "9"
What conference does Gonzaga University play in?
CREATE TABLE table_16078390_2 (primary_conference VARCHAR, institution VARCHAR)
SELECT primary_conference FROM table_16078390_2 WHERE institution = "Gonzaga University"
what is the highest rank when the time is 7:52.65?
CREATE TABLE table_name_73 (rank INTEGER, time VARCHAR)
SELECT MAX(rank) FROM table_name_73 WHERE time = "7:52.65"
Return the unique name for stations that have ever had 7 bikes available.
CREATE TABLE station (name VARCHAR, id VARCHAR); CREATE TABLE status (station_id VARCHAR, bikes_available VARCHAR)
SELECT DISTINCT T1.name FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available = 7
Find the names of all the catalog entries.
CREATE TABLE catalog_contents (catalog_entry_name VARCHAR)
SELECT DISTINCT (catalog_entry_name) FROM catalog_contents
How may players have a passing yard score of 208?
CREATE TABLE table_28697228_4 (player VARCHAR, passing_yards VARCHAR)
SELECT COUNT(player) FROM table_28697228_4 WHERE passing_yards = 208
What is the total number of January (°C) temperatures when the July (°C) temperatures were 22/13?
CREATE TABLE table_21980_1 (january__ VARCHAR, july__°c_ VARCHAR)
SELECT COUNT(january__) AS °c_ FROM table_21980_1 WHERE july__°c_ = "22/13"
How many scores had a date of March 6?
CREATE TABLE table_23308178_9 (score VARCHAR, date VARCHAR)
SELECT COUNT(score) FROM table_23308178_9 WHERE date = "March 6"
What was the away team's score of at the game of telstra stadium?
CREATE TABLE table_16388545_1 (away_team VARCHAR, ground VARCHAR)
SELECT away_team AS score FROM table_16388545_1 WHERE ground = "Telstra Stadium"
Who was the bodybuilder when Coventry was operating?
CREATE TABLE table_28035004_1 (bodybuilder VARCHAR, operator VARCHAR)
SELECT bodybuilder FROM table_28035004_1 WHERE operator = "Coventry"
What is the total number of top-25s for the major that has 11 top-10s?
CREATE TABLE table_name_95 (top_25 VARCHAR, top_10 VARCHAR)
SELECT COUNT(top_25) FROM table_name_95 WHERE top_10 = 11
Which Goals have a Ratio of 0.29?
CREATE TABLE table_name_16 (goals VARCHAR, ratio VARCHAR)
SELECT goals FROM table_name_16 WHERE ratio = 0.29
How many points after 1960 for fred tuck cars?
CREATE TABLE table_name_80 (points INTEGER, entrant VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_80 WHERE entrant = "fred tuck cars" AND year > 1960
What is the high cap total for a lock with the vicenza rangers?
CREATE TABLE table_name_55 (caps INTEGER, position VARCHAR, club_province VARCHAR)
SELECT MAX(caps) FROM table_name_55 WHERE position = "lock" AND club_province = "vicenza rangers"
What was the Attendance after Week 7 at Tiger Stadium?
CREATE TABLE table_name_27 (attendance VARCHAR, game_site VARCHAR, week VARCHAR)
SELECT COUNT(attendance) FROM table_name_27 WHERE game_site = "tiger stadium" AND week > 7
Name the sum of points for chassis of maserati 250f and entrant of officine alfieri maserati
CREATE TABLE table_name_80 (points INTEGER, chassis VARCHAR, entrant VARCHAR)
SELECT SUM(points) FROM table_name_80 WHERE chassis = "maserati 250f" AND entrant = "officine alfieri maserati"
Name the D 47 when it has a D 45 of d 32
CREATE TABLE table_name_32 (d_47 VARCHAR, d_45 VARCHAR)
SELECT d_47 FROM table_name_32 WHERE d_45 = "d 32"
Which engine did Korten Motorsport use?
CREATE TABLE table_name_86 (engine VARCHAR, team VARCHAR)
SELECT engine FROM table_name_86 WHERE team = "korten motorsport"
What is the Team when the lost is less than 13, and the position is less than 4, with a Difference of 42?
CREATE TABLE table_name_58 (team VARCHAR, difference VARCHAR, lost VARCHAR, position VARCHAR)
SELECT team FROM table_name_58 WHERE lost < 13 AND position < 4 AND difference = "42"
What is the largest crowd when melbourne plays at home?
CREATE TABLE table_name_98 (crowd INTEGER, home_team VARCHAR)
SELECT MAX(crowd) FROM table_name_98 WHERE home_team = "melbourne"
Who was the opponent at the game that had a loss of Leonard (7–8)?
CREATE TABLE table_name_82 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_82 WHERE loss = "leonard (7–8)"
Which player had a total of 152?
CREATE TABLE table_name_60 (player VARCHAR, total VARCHAR)
SELECT player FROM table_name_60 WHERE total = "152"
What is the total bronze with a Silver of 2, and a Gold smaller than 0?
CREATE TABLE table_name_85 (bronze INTEGER, silver VARCHAR, gold VARCHAR)
SELECT SUM(bronze) FROM table_name_85 WHERE silver = 2 AND gold < 0
where democratic coalition is eduardo frei ( pdc ) what are all the alliance
CREATE TABLE table_2651755_2 (alliance VARCHAR, democratic_coalition VARCHAR)
SELECT alliance FROM table_2651755_2 WHERE democratic_coalition = "Eduardo Frei ( PDC )"
List the name, born state and age of the heads of departments ordered by age.
CREATE TABLE head (name VARCHAR, born_state VARCHAR, age VARCHAR)
SELECT name, born_state, age FROM head ORDER BY age