answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT level FROM table_name_21 WHERE season > 2003 AND division = "kakkonen (second division)" AND position = "12th"
What level for seasons after 2003, a Division of kakkonen (second division), and a Position of 12th?
CREATE TABLE table_name_21 (level VARCHAR, position VARCHAR, season VARCHAR, division VARCHAR)
SELECT date FROM table_name_88 WHERE format = "ed remaster cd" AND catalog = "toct-24365"
On what date was the Ed Remaster CD and TOCT-24365 Catalog released?
CREATE TABLE table_name_88 (date VARCHAR, format VARCHAR, catalog VARCHAR)
SELECT regional_page__number FROM table_287659_2 WHERE state_name = "CA/NV"
In Ca/Nv, what are all of the regional page #s?
CREATE TABLE table_287659_2 (regional_page__number VARCHAR, state_name VARCHAR)
SELECT MAX(to_par) FROM table_name_96 WHERE score = 76 - 70 - 76 - 76 = 298
What is the highest to par for the 76-70-76-76=298 score?
CREATE TABLE table_name_96 (to_par INTEGER, score VARCHAR)
SELECT SUM(round) FROM table_name_88 WHERE pick = "25 (via hamilton)"
Which Round has a Pick of 25 (via hamilton)?
CREATE TABLE table_name_88 (round INTEGER, pick VARCHAR)
SELECT date FROM table_name_80 WHERE venue = "lake oval"
What date was the game played at Lake Oval?
CREATE TABLE table_name_80 (date VARCHAR, venue VARCHAR)
SELECT COUNT(DISTINCT t3.characteristic_name) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "sesame"
How many distinct characteristic names does the product "cumin" have?
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
SELECT COUNT(attendance) FROM table_name_42 WHERE h___a = "a" AND opponents = "wolverhampton wanderers"
What's the total attendance for H/A of A and opponents of wolverhampton wanderers?
CREATE TABLE table_name_42 (attendance VARCHAR, h___a VARCHAR, opponents VARCHAR)
SELECT status FROM table_name_34 WHERE against = 18
What status has 18 as the against?
CREATE TABLE table_name_34 (status VARCHAR, against VARCHAR)
SELECT date FROM table_name_31 WHERE format_s_ = "album"
Which date has a format's album?
CREATE TABLE table_name_31 (date VARCHAR, format_s_ VARCHAR)
SELECT AVG(year) FROM table_name_96 WHERE director = "raoul walsh" AND title = "the horn blows at midnight"
What year was The Horn Blows at Midnight, directed by Raoul Walsh?
CREATE TABLE table_name_96 (year INTEGER, director VARCHAR, title VARCHAR)
SELECT AVG(round) FROM table_name_87 WHERE overall > 238 AND position = "defensive end" AND school_club_team = "wisconsin"
What is the average round for Wisconsin when the overall is larger than 238 and there is a defensive end?
CREATE TABLE table_name_87 (round INTEGER, school_club_team VARCHAR, overall VARCHAR, position VARCHAR)
SELECT young_rider_classification FROM table_25580292_13 WHERE winner = "Manuel Cardoso"
What was the young rider classification when manuel cardoso was the winner?
CREATE TABLE table_25580292_13 (young_rider_classification VARCHAR, winner VARCHAR)
SELECT 1993 FROM table_name_44 WHERE 1990 = "qf" AND 1995 = "2r"
What is the 1993 finish for the event that had a 1990 of QF and 1995 of 2R?
CREATE TABLE table_name_44 (Id VARCHAR)
SELECT COUNT(drawn) FROM table_name_87 WHERE points < 5 AND lost > 7
How many Drawns have Points smaller than 5 and a Lost larger than 7?
CREATE TABLE table_name_87 (drawn VARCHAR, points VARCHAR, lost VARCHAR)
SELECT name FROM table_name_62 WHERE constituency_number = "84"
Who has a constituency of 84?
CREATE TABLE table_name_62 (name VARCHAR, constituency_number VARCHAR)
SELECT COUNT(results) FROM table_1805191_34 WHERE incumbent = "Mike McIntyre"
How many times was Mike McIntyre elected?
CREATE TABLE table_1805191_34 (results VARCHAR, incumbent VARCHAR)
SELECT season AS finale FROM table_2669287_1 WHERE viewers__in_millions_ = "10.02"
When did the season finale reached an audience of 10.02 million viewers?
CREATE TABLE table_2669287_1 (season VARCHAR, viewers__in_millions_ VARCHAR)
SELECT points FROM table_name_58 WHERE season < 1977 AND winner = "john vopni"
How many points when John Vopni won a season before 1977?
CREATE TABLE table_name_58 (points VARCHAR, season VARCHAR, winner VARCHAR)
SELECT home_team FROM table_name_36 WHERE venue = "windy hill"
What was the home team when the game was at Windy Hill?
CREATE TABLE table_name_36 (home_team VARCHAR, venue VARCHAR)
SELECT SUM(population) FROM table_name_21 WHERE county = "mississippi" AND number_of_households < 17 OFFSET 741
Which Population has a County of mississippi, and a Number of households smaller than 17,741?
CREATE TABLE table_name_21 (population INTEGER, county VARCHAR, number_of_households VARCHAR)
SELECT MIN(year_commissioned) FROM table_name_64 WHERE average_annual_output__million_kwh_ > 58 AND installed_capacity__megawatts_ = 20
What is the earliest Year commissioned wiht an Average annual output greater than 58 and Installed capacity of 20?
CREATE TABLE table_name_64 (year_commissioned INTEGER, average_annual_output__million_kwh_ VARCHAR, installed_capacity__megawatts_ VARCHAR)
SELECT MIN(bronze) FROM table_name_56 WHERE total = 3 AND silver > 1 AND gold < 1
What is the lowest value for bronze with a total of 3 and a value for silver greater than 1 while the value of gold is smaller than 1?
CREATE TABLE table_name_56 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)
SELECT COUNT(standard) FROM table_2780146_6 WHERE pm__g_kwh_ = "0.02"
How many different standards have a PM of 0.02 g/kWh?
CREATE TABLE table_2780146_6 (standard VARCHAR, pm__g_kwh_ VARCHAR)
SELECT name, city, country FROM airports ORDER BY elevation LIMIT 1
Find the name, city, and country of the airport that has the lowest altitude.
CREATE TABLE airports (name VARCHAR, city VARCHAR, country VARCHAR, elevation VARCHAR)
SELECT try_bonus FROM table_name_90 WHERE points_against = "492"
What is the try bonus when there are 492 points?
CREATE TABLE table_name_90 (try_bonus VARCHAR, points_against VARCHAR)
SELECT T1.Team, T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID = T2.School_ID
For each player, show the team and the location of school they belong to.
CREATE TABLE school (Location VARCHAR, School_ID VARCHAR); CREATE TABLE player (Team VARCHAR, School_ID VARCHAR)
SELECT team__league_ FROM table_name_23 WHERE reg_gp < 52 AND pick__number = 130
What team played under 52 Reg GP, and picked 130?
CREATE TABLE table_name_23 (team__league_ VARCHAR, reg_gp VARCHAR, pick__number VARCHAR)
SELECT main_artillery FROM table_23614702_1 WHERE warship = "Blanco Encalada"
What's Blanco Encalada's main artillery?
CREATE TABLE table_23614702_1 (main_artillery VARCHAR, warship VARCHAR)
SELECT COUNT(semifinals) FROM table_27294107_11 WHERE athlete = "Ferhat Pehlivan"
How many semifinals did ferhat pehlivan attend?
CREATE TABLE table_27294107_11 (semifinals VARCHAR, athlete VARCHAR)
SELECT opponent FROM table_name_35 WHERE record = "60-61"
Name the opponent with a record of 60-61
CREATE TABLE table_name_35 (opponent VARCHAR, record VARCHAR)
SELECT fourth FROM table_17111812_1 WHERE sixth = "Air Traffic"
Who was in 4th when in 6th is Air Traffic?
CREATE TABLE table_17111812_1 (fourth VARCHAR, sixth VARCHAR)
SELECT MAX(age) FROM table_26301697_2
Name the most age
CREATE TABLE table_26301697_2 (age INTEGER)
SELECT status FROM table_name_54 WHERE name = "ajax"
What status does the boat Ajax have?
CREATE TABLE table_name_54 (status VARCHAR, name VARCHAR)
SELECT family_friendly FROM table_name_8 WHERE decade = "1970s" AND genre = "punk"
What is the family friendly status of the punk genre song from the 1970s?
CREATE TABLE table_name_8 (family_friendly VARCHAR, decade VARCHAR, genre VARCHAR)
SELECT COUNT(no_in_season) FROM table_name_73 WHERE directed_by = "robert berlinger" AND no_in_series = 30
What is the total number in the season for the #30 Robert Berlinger series?
CREATE TABLE table_name_73 (no_in_season VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)
SELECT date FROM table_name_55 WHERE result = "bulgarian victory" AND battle = "battle of arcadiopolis"
What is the Date of the Bulgarian Victory at the Battle of Arcadiopolis?
CREATE TABLE table_name_55 (date VARCHAR, result VARCHAR, battle VARCHAR)
SELECT reporters FROM table_22583466_5 WHERE year = 1976
In 1976, who was the reporter for the Belmont Stakes?
CREATE TABLE table_22583466_5 (reporters VARCHAR, year VARCHAR)
SELECT venue FROM table_name_32 WHERE date = "september 24, 1980"
What is the venue when the date is September 24, 1980?
CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR)
SELECT MAX(founded) FROM table_2076490_1
What is the latest founding date?
CREATE TABLE table_2076490_1 (founded INTEGER)
SELECT MIN(pick__number) FROM table_name_93 WHERE player = "dimelon westfield"
What is the pick # for Dimelon Westfield?
CREATE TABLE table_name_93 (pick__number INTEGER, player VARCHAR)
SELECT AVG(starts) FROM table_name_94 WHERE chassis = "focus rs wrc 08" AND finishes > 27
what is the average starts when the chassis is focus rs wrc 08 and finishes is more than 27?
CREATE TABLE table_name_94 (starts INTEGER, chassis VARCHAR, finishes VARCHAR)
SELECT SUM(points) FROM table_name_78 WHERE assists = 7 AND games = 11 AND goals < 6
If the goals scored were below 6, 11 games were played, and there were 7 assists, what's the sum of points with games meeting these criteria?
CREATE TABLE table_name_78 (points INTEGER, goals VARCHAR, assists VARCHAR, games VARCHAR)
SELECT COUNT(*) FROM participants WHERE participant_type_code = 'Organizer'
How many participants belong to the type 'Organizer'?
CREATE TABLE participants (participant_type_code VARCHAR)
SELECT won FROM table_12792876_3 WHERE points_for = "496"
What was the won when the points for was 496?
CREATE TABLE table_12792876_3 (won VARCHAR, points_for VARCHAR)
SELECT finish FROM table_name_71 WHERE rank = "31"
What's the Finish rank of 31?
CREATE TABLE table_name_71 (finish VARCHAR, rank VARCHAR)
SELECT MIN(total_goals) FROM table_name_89 WHERE position = "df" AND fa_cup_goals < 0
What is the lowest total goals when position is df, and FA Cup Goals is smaller than 0?
CREATE TABLE table_name_89 (total_goals INTEGER, position VARCHAR, fa_cup_goals VARCHAR)
SELECT team_e FROM table_name_94 WHERE team_d = "aaron solloway"
Who is team e when Aaron Solloway is team D?
CREATE TABLE table_name_94 (team_e VARCHAR, team_d VARCHAR)
SELECT size_difference FROM table_name_29 WHERE prefix = "exa"
What is the size difference for exa?
CREATE TABLE table_name_29 (size_difference VARCHAR, prefix VARCHAR)
SELECT player FROM table_name_82 WHERE round = "9" AND pick = 263
Which Player has a Round of 9, and a Pick of 263?
CREATE TABLE table_name_82 (player VARCHAR, round VARCHAR, pick VARCHAR)
SELECT landesliga_süd FROM table_20181270_3 WHERE bayernliga = "SG Quelle Fürth"
Name the landesliga sud for sg quelle fürth
CREATE TABLE table_20181270_3 (landesliga_süd VARCHAR, bayernliga VARCHAR)
SELECT other_mozilla FROM table_name_80 WHERE period = "january 2010"
What other mozilla has January 2010 as the period?
CREATE TABLE table_name_80 (other_mozilla VARCHAR, period VARCHAR)
SELECT margin_of_victory FROM table_name_20 WHERE winning_score = 67 - 69 - 67 - 69 = 272
Can you tell me the Margin of victory that has the Winning score of 67-69-67-69=272?
CREATE TABLE table_name_20 (margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT party FROM table_1341604_22 WHERE candidates = "Silvio Conte (R) Unopposed"
what's the party with candidates being silvio conte (r) unopposed
CREATE TABLE table_1341604_22 (party VARCHAR, candidates VARCHAR)
SELECT regular_season_winner FROM table_22645714_5 WHERE tournament_winner = "Arkansas-Pine Bluff"
Who had the best regular season in the contest won by Arkansas-Pine Bluff?
CREATE TABLE table_22645714_5 (regular_season_winner VARCHAR, tournament_winner VARCHAR)
SELECT venue FROM table_name_26 WHERE against = 25
Which Venue has an Against of 25?
CREATE TABLE table_name_26 (venue VARCHAR, against VARCHAR)
SELECT country FROM table_name_53 WHERE tv_network_s_ = "nova tv"
Which country is the Nova TV network from?
CREATE TABLE table_name_53 (country VARCHAR, tv_network_s_ VARCHAR)
SELECT total FROM table_name_77 WHERE fa_cup = "1 0 (3)"
What is Total, when FA Cup is 1 0 (3)?
CREATE TABLE table_name_77 (total VARCHAR, fa_cup VARCHAR)
SELECT COUNT(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id WHERE T2.account_name = "337"
How many transaction does account with name 337 have?
CREATE TABLE Accounts (account_id VARCHAR, account_name VARCHAR); CREATE TABLE Financial_transactions (account_id VARCHAR)
SELECT MIN(drawn) FROM table_name_52 WHERE points < 4 AND lost > 4
What is the smallest number of drawn games when there are fewer than 4 points and more than 4 lost games?
CREATE TABLE table_name_52 (drawn INTEGER, points VARCHAR, lost VARCHAR)
SELECT COUNT(pos) FROM table_name_51 WHERE postseason = "promoted" AND tier < 2
How many teams were promoted in the postseason in a tier above 2?
CREATE TABLE table_name_51 (pos VARCHAR, postseason VARCHAR, tier VARCHAR)
SELECT neon FROM table_name_61 WHERE krypton = "213"
What neon has a krypton of 213?
CREATE TABLE table_name_61 (neon VARCHAR, krypton VARCHAR)
SELECT year FROM table_name_48 WHERE laps = 116
What is the year with 116 laps?
CREATE TABLE table_name_48 (year VARCHAR, laps VARCHAR)
SELECT COUNT(country) FROM table_2941963_1 WHERE remittances_2009 = "6.02"
how many countiers had 2009 remittances of 6.02?
CREATE TABLE table_2941963_1 (country VARCHAR, remittances_2009 VARCHAR)
SELECT driver FROM table_name_43 WHERE constructor = "ferrari" AND time_retired = "+1:06.683"
who is the driver for the car constructed by ferrari with a time/retired of +1:06.683?
CREATE TABLE table_name_43 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR)
SELECT game_site FROM table_name_87 WHERE date = "april 10, 2004"
Which game site hosted a match on April 10, 2004?
CREATE TABLE table_name_87 (game_site VARCHAR, date VARCHAR)
SELECT replaced_by FROM table_27114708_2 WHERE outgoing_manager = "Alberto Malesani"
For outgoing manager is alberto malesani mention all the applicable replaced by person
CREATE TABLE table_27114708_2 (replaced_by VARCHAR, outgoing_manager VARCHAR)
SELECT AVG(points) FROM table_name_37 WHERE games = 17 AND losses > 15
What is the average number of points for a team that played 17 games and had more than 15 losses?
CREATE TABLE table_name_37 (points INTEGER, games VARCHAR, losses VARCHAR)
SELECT MIN(laps) FROM table_name_35 WHERE time_retired = "accident"
What is the low lap total that has a Time or Retired of accident?
CREATE TABLE table_name_35 (laps INTEGER, time_retired VARCHAR)
SELECT education FROM table_23050383_1 WHERE economic_incentive_regime = "1.58"
What is the education when the economic incentive regime is 1.58?
CREATE TABLE table_23050383_1 (education VARCHAR, economic_incentive_regime VARCHAR)
SELECT SUM(points) FROM table_name_3 WHERE name = "stephen myler" AND tries < 0
How many Points have a Name of stephen myler, and Tries smaller than 0?
CREATE TABLE table_name_3 (points INTEGER, name VARCHAR, tries VARCHAR)
SELECT SUM(issue) FROM table_name_44 WHERE artist = "mort drucker" AND spoofed_title = "route 67"
Which issue was the Spoofed title Route 67 for which Mort Drucker was the artist?
CREATE TABLE table_name_44 (issue INTEGER, artist VARCHAR, spoofed_title VARCHAR)
SELECT hanja FROM table_160510_1 WHERE province = "Sangju"
What is the hanja for the province of "sangju"?
CREATE TABLE table_160510_1 (hanja VARCHAR, province VARCHAR)
SELECT stereo FROM table_25034983_2 WHERE city = "Moline"
Does the city of moline have stereo?
CREATE TABLE table_25034983_2 (stereo VARCHAR, city VARCHAR)
SELECT no FROM table_25737761_3 WHERE viewing_figure = 797000
What was the episode number that had 797000 viewers?
CREATE TABLE table_25737761_3 (no VARCHAR, viewing_figure VARCHAR)
SELECT opponent FROM table_13258876_2 WHERE date = "September 4, 1983"
Who did the Seahawks play on September 4, 1983?
CREATE TABLE table_13258876_2 (opponent VARCHAR, date VARCHAR)
SELECT district FROM table_13833770_3 WHERE party = "Republican" AND elected = 1998
what's the district with party being republican and elected being 1998
CREATE TABLE table_13833770_3 (district VARCHAR, party VARCHAR, elected VARCHAR)
SELECT spectral_type FROM table_1820752_1 WHERE constellation = "Gemini"
If the constellation is Gemini, what is the spectral type?
CREATE TABLE table_1820752_1 (spectral_type VARCHAR, constellation VARCHAR)
SELECT winning_score FROM table_name_62 WHERE year > 2000 AND champion = "allison fouch"
What was Allison Fouch score in the year larger than 2000?
CREATE TABLE table_name_62 (winning_score VARCHAR, year VARCHAR, champion VARCHAR)
SELECT name, prominence FROM mountain EXCEPT SELECT T1.name, T1.prominence FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id JOIN camera_lens AS T3 ON T2.camera_lens_id = T3.id WHERE T3.brand = 'Sigma'
Show the name and prominence of the mountains whose picture is not taken by a lens of brand 'Sigma'.
CREATE TABLE camera_lens (id VARCHAR, brand VARCHAR); CREATE TABLE mountain (name VARCHAR, prominence VARCHAR, id VARCHAR); CREATE TABLE photos (mountain_id VARCHAR, camera_lens_id VARCHAR); CREATE TABLE mountain (name VARCHAR, prominence VARCHAR)
SELECT score FROM table_name_6 WHERE game > 29 AND record = "24-6"
What score has a game greater than 29, with 24-6 as the record?
CREATE TABLE table_name_6 (score VARCHAR, game VARCHAR, record VARCHAR)
SELECT opponents_in_the_final FROM table_name_86 WHERE score_in_the_final = "2–6, 3–6"
Who were the opponents when the score was 2–6, 3–6?
CREATE TABLE table_name_86 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
SELECT winning_score FROM table_name_24 WHERE runner_up = "jim barnes" AND year = 1924
Name the winning score for jim barnes and year of 1924
CREATE TABLE table_name_24 (winning_score VARCHAR, runner_up VARCHAR, year VARCHAR)
SELECT round FROM table_name_64 WHERE method = "ko (punch)"
What is the round where there was a KO (punch)?
CREATE TABLE table_name_64 (round VARCHAR, method VARCHAR)
SELECT MAX(823 AS _g__127_gr_) FROM table_name_80 WHERE bullet_weight_gram__grain_ = "8x64mm s" AND case_capacity___percentage_ < 110.3
Which 8.23 g (127 gr) is the highest one that has a Bullet weight gram (grain) of 8x64mm s, and a Case capacity (%) smaller than 110.3?
CREATE TABLE table_name_80 (bullet_weight_gram__grain_ VARCHAR, case_capacity___percentage_ VARCHAR)
SELECT date FROM table_15607589_2 WHERE week = 9
Name the date for week 9
CREATE TABLE table_15607589_2 (date VARCHAR, week VARCHAR)
SELECT built FROM table_name_78 WHERE county = "blount" AND listed = "1981-08-20" AND location = "cleveland"
In which year did Blount County build a bridge in Cleveland that was listed on 1981-08-20?
CREATE TABLE table_name_78 (built VARCHAR, location VARCHAR, county VARCHAR, listed VARCHAR)
SELECT SUM(usn_2013) FROM table_name_63 WHERE bw_2013 < 1000 AND forbes_2011 > 17 AND cnn_2011 < 13
What is the USN 2013 ranking with a BW 2013 ranking less than 1000, a Forbes 2011 ranking larger than 17, and a CNN 2011 ranking less than 13?
CREATE TABLE table_name_63 (usn_2013 INTEGER, cnn_2011 VARCHAR, bw_2013 VARCHAR, forbes_2011 VARCHAR)
SELECT MIN(last_yr) FROM table_name_97 WHERE yr_plyf < 0
What is the earliest last year with a yr plyf less than 0?
CREATE TABLE table_name_97 (last_yr INTEGER, yr_plyf INTEGER)
SELECT SUM(silver) FROM table_name_76 WHERE total > 2 AND bronze > 2
What is the total sum of silver metals for all countries with more than 2 Bronze medals?
CREATE TABLE table_name_76 (silver INTEGER, total VARCHAR, bronze VARCHAR)
SELECT airport FROM table_name_71 WHERE city = "macau"
Which airport is associated with Macau?
CREATE TABLE table_name_71 (airport VARCHAR, city VARCHAR)
SELECT artist FROM table_name_20 WHERE issue_price = "$1,541.95"
Which Artist has an Issue Price of $1,541.95?
CREATE TABLE table_name_20 (artist VARCHAR, issue_price VARCHAR)
SELECT event_name FROM table_name_38 WHERE race_winner = "ken schrader" AND track = "toledo speedway"
At which event was Ken Schrader the Race Winner at the Toledo Speedway?
CREATE TABLE table_name_38 (event_name VARCHAR, race_winner VARCHAR, track VARCHAR)
SELECT away_team AS score FROM table_name_29 WHERE away_team = "melbourne"
What is melbourne's away score?
CREATE TABLE table_name_29 (away_team VARCHAR)
SELECT regular_judge FROM table_1597866_3 WHERE host = "Anja Rubik"
Name the regular judge when host is anja rubik
CREATE TABLE table_1597866_3 (regular_judge VARCHAR, host VARCHAR)
SELECT COUNT(high_rebounds) FROM table_22879262_14 WHERE score = "L 92–96 (OT)"
Name the number of high rebounds for l 92–96 (ot)
CREATE TABLE table_22879262_14 (high_rebounds VARCHAR, score VARCHAR)
SELECT SUM(poles) FROM table_name_1 WHERE season < 2005 AND position = "2nd" AND wins < 6
What is the sum of Poles, when Season is before 2005, when Position is "2nd", and when Wins is less than 6?
CREATE TABLE table_name_1 (poles INTEGER, wins VARCHAR, season VARCHAR, position VARCHAR)
SELECT mccain_number FROM table_20693870_1 WHERE obama_number = 895
What were the number of voters McCain had when Obama had 895?
CREATE TABLE table_20693870_1 (mccain_number VARCHAR, obama_number VARCHAR)
SELECT T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID WHERE T2.Type = "Program Talent Show"
Show the names of festivals that have nominated artworks of type "Program Talent Show".
CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE artwork (Artwork_ID VARCHAR, Type VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR)
SELECT finish FROM table_name_89 WHERE to_par = "+10"
Which Finish had a To par of +10?
CREATE TABLE table_name_89 (finish VARCHAR, to_par VARCHAR)