answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT city_or_town FROM table_name_92 WHERE top_division_titles = "17"
Which City or town has a Top division titles of 17
CREATE TABLE table_name_92 (city_or_town VARCHAR, top_division_titles VARCHAR)
SELECT notes FROM table_name_37 WHERE venue = "bydgoszcz, poland"
What are the notes for bydgoszcz, Poland?
CREATE TABLE table_name_37 (notes VARCHAR, venue VARCHAR)
SELECT package_option FROM table_15887683_3 WHERE television_service = "FOX Sports HD"
What package offers Fox Sports HD?
CREATE TABLE table_15887683_3 (package_option VARCHAR, television_service VARCHAR)
SELECT location FROM table_name_88 WHERE score = "38-29"
What is the Location, when the Score is 38-29?
CREATE TABLE table_name_88 (location VARCHAR, score VARCHAR)
SELECT home_team AS score FROM table_name_86 WHERE venue = "princes park"
What was the home team score when the VFL played at Princes Park?
CREATE TABLE table_name_86 (home_team VARCHAR, venue VARCHAR)
SELECT Date_Claim_Made, Date_Claim_Settled FROM Settlements
What are the claim dates and settlement dates of all the settlements?
CREATE TABLE Settlements (Date_Claim_Made VARCHAR, Date_Claim_Settled VARCHAR)
SELECT opponent FROM table_name_44 WHERE score = "92-111"
Which Opponent has a Score of 92-111?
CREATE TABLE table_name_44 (opponent VARCHAR, score VARCHAR)
SELECT COUNT(filipino) FROM table_10118412_6 WHERE indian = 30947
How many States have an Indian population of 30947?
CREATE TABLE table_10118412_6 (filipino VARCHAR, indian VARCHAR)
SELECT team FROM table_name_32 WHERE player = "dave coggin"
WHAT IS THE TEAM WITH DAVE COGGIN?
CREATE TABLE table_name_32 (team VARCHAR, player VARCHAR)
SELECT round3 FROM table_24784769_1 WHERE total_points = 325
How many points did the team who had 325 total points have in round 3?
CREATE TABLE table_24784769_1 (round3 VARCHAR, total_points VARCHAR)
SELECT score FROM table_name_87 WHERE home_team = "shrewsbury town"
What was the score for the tie that had Shrewsbury Town as home team?
CREATE TABLE table_name_87 (score VARCHAR, home_team VARCHAR)
SELECT COUNT(laps) FROM table_name_1 WHERE grid < 17 AND driver = "giancarlo fisichella"
Which lap number had a grid number of less than 17 when the driver was Giancarlo Fisichella?
CREATE TABLE table_name_1 (laps VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT pole_position FROM table_name_86 WHERE grand_prix = "french grand prix"
Who had the pole at the French Grand Prix?
CREATE TABLE table_name_86 (pole_position VARCHAR, grand_prix VARCHAR)
SELECT Name FROM pilot WHERE Age >= 25
What are the name of pilots aged 25 or older?
CREATE TABLE pilot (Name VARCHAR, Age VARCHAR)
SELECT COUNT(*) FROM instruments WHERE instrument = "drums"
How many songs have used the instrument "drums"?
CREATE TABLE instruments (instrument VARCHAR)
SELECT years FROM table_name_48 WHERE name = "dannevirke south school"
Name the years for dannevirke south school
CREATE TABLE table_name_48 (years VARCHAR, name VARCHAR)
SELECT AVG(reg_gp) FROM table_name_84 WHERE pick__number > 210
What average Reg GP has a pick # larger than 210?
CREATE TABLE table_name_84 (reg_gp INTEGER, pick__number INTEGER)
SELECT power FROM table_name_50 WHERE city_of_license = "beaver creek"
What is the power when the city of license is Beaver Creek?
CREATE TABLE table_name_50 (power VARCHAR, city_of_license VARCHAR)
SELECT MAX(crowd) FROM table_name_85 WHERE away_team = "essendon"
WHAT WAS ESSENDON'S HIGHEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM?
CREATE TABLE table_name_85 (crowd INTEGER, away_team VARCHAR)
SELECT 3 AS rd_place FROM table_name_81 WHERE venue = "pardubice"
What shows for 3rd place when the venue was Pardubice?
CREATE TABLE table_name_81 (venue VARCHAR)
SELECT artist FROM table_26485957_1 WHERE result = "4"
Which artist had a result of 4?
CREATE TABLE table_26485957_1 (artist VARCHAR, result VARCHAR)
SELECT MIN(races) FROM table_25539502_1 WHERE podiums = 11
What is the smallest number of races competed in with 11 podiums?
CREATE TABLE table_25539502_1 (races INTEGER, podiums VARCHAR)
SELECT role FROM table_name_91 WHERE year = "2001"
What was the role in 2001?
CREATE TABLE table_name_91 (role VARCHAR, year VARCHAR)
SELECT MIN(mccain_number) FROM table_20722805_1 WHERE obama_percentage = "48.35%"
What was McCain's vote when Obama had 48.35%
CREATE TABLE table_20722805_1 (mccain_number INTEGER, obama_percentage VARCHAR)
SELECT SUM(order) FROM table_name_89 WHERE built = "5/69-6/69"
with build 5/69-6/69 what's the order?
CREATE TABLE table_name_89 (order INTEGER, built VARCHAR)
SELECT independence_league_ticket FROM table_name_93 WHERE prohibition_ticket = "coleridge a. hart"
When Coleridge A. Hart ran under the Prohibition ticket who ran under the Independence League ticket?
CREATE TABLE table_name_93 (independence_league_ticket VARCHAR, prohibition_ticket VARCHAR)
SELECT COUNT(home_team) AS score FROM table_29090919_1 WHERE away_team = "Fitzroy"
How many scores were there for the home team when the away team was fitzroy?
CREATE TABLE table_29090919_1 (home_team VARCHAR, away_team VARCHAR)
SELECT points FROM table_name_25 WHERE points_for = "points for"
What points has points for as points for?
CREATE TABLE table_name_25 (points VARCHAR, points_for VARCHAR)
SELECT week_2 FROM table_name_65 WHERE week_3 = "sara stokes"
Who is week 2 if week 3 is Sara Stokes?
CREATE TABLE table_name_65 (week_2 VARCHAR, week_3 VARCHAR)
SELECT catalog FROM table_name_28 WHERE format = "lp" AND date = "april 12, 1968"
From what catalog was the release that happened on April 12, 1968, and in LP format?
CREATE TABLE table_name_28 (catalog VARCHAR, format VARCHAR, date VARCHAR)
SELECT game_site FROM table_16028499_2 WHERE date = "October 29, 1989"
Where was the game site on October 29, 1989?
CREATE TABLE table_16028499_2 (game_site VARCHAR, date VARCHAR)
SELECT MAX(dismissals) FROM table_23316034_23 WHERE rank = 4
Name the least dismissals for 4 rank
CREATE TABLE table_23316034_23 (dismissals INTEGER, rank VARCHAR)
SELECT party FROM table_2668416_7 WHERE incumbent = "Samuel Smith"
What is the party when the incumbent is samuel smith?
CREATE TABLE table_2668416_7 (party VARCHAR, incumbent VARCHAR)
SELECT seats_contested FROM table_22582663_1 WHERE party_name = "Akhil Bharatiya Rashtriya Azad Hind Party"
How many akhil bharatiya rashtriya azad hind party seats were contested?
CREATE TABLE table_22582663_1 (seats_contested VARCHAR, party_name VARCHAR)
SELECT colours FROM table_name_93 WHERE house_name = "ogun"
What colours have a House Name of ogun?
CREATE TABLE table_name_93 (colours VARCHAR, house_name VARCHAR)
SELECT location FROM table_name_58 WHERE game > 27 AND record = "18-10"
Which Location has a Game greater than 27 and a Record of 18-10?
CREATE TABLE table_name_58 (location VARCHAR, game VARCHAR, record VARCHAR)
SELECT population, _in_thousands, __1905__ FROM table_11614581_3 WHERE seat = "Lublin"
What population (in thousands) is Lublin's seat?
CREATE TABLE table_11614581_3 (population VARCHAR, _in_thousands VARCHAR, __1905__ VARCHAR, seat VARCHAR)
SELECT country FROM table_name_34 WHERE date = "2003"
What is the country associated with the date in 2003?
CREATE TABLE table_name_34 (country VARCHAR, date VARCHAR)
SELECT first FROM table_name_86 WHERE bats = "r" AND throws = "l" AND dob = "12 october 1977"
Which First has Bats of r, and Throws of l, and a DOB of 12 october 1977?
CREATE TABLE table_name_86 (first VARCHAR, dob VARCHAR, bats VARCHAR, throws VARCHAR)
SELECT pick FROM table_name_91 WHERE college = "west virginia"
What is the pick for West Virginia college?
CREATE TABLE table_name_91 (pick VARCHAR, college VARCHAR)
SELECT t1.product FROM product AS t1 JOIN store_product AS t2 ON t1.product_id = t2.product_id JOIN store AS t3 ON t2.store_id = t3.store_id WHERE t3.store_name = "Miramichi"
What products are available at store named "Miramichi"?
CREATE TABLE store_product (product_id VARCHAR, store_id VARCHAR); CREATE TABLE store (store_id VARCHAR, store_name VARCHAR); CREATE TABLE product (product VARCHAR, product_id VARCHAR)
SELECT MIN(rank) FROM table_name_55 WHERE current_seating_capacity = 137 OFFSET 000
What is the lowest Rank, when the Current Seating Capacity is 137,000?
CREATE TABLE table_name_55 (rank INTEGER, current_seating_capacity VARCHAR)
SELECT type FROM table_name_32 WHERE opened_in > 2000 AND ride_name = "peeking heights"
Which ride opened after the 2000 Peeking Heights?
CREATE TABLE table_name_32 (type VARCHAR, opened_in VARCHAR, ride_name VARCHAR)
SELECT SUM(year) FROM table_name_26 WHERE competition = "european championships" AND notes = "66.81 m"
Which Year has a Competition of european championships, and Notes of 66.81 m?
CREATE TABLE table_name_26 (year INTEGER, competition VARCHAR, notes VARCHAR)
SELECT MAX(week) FROM table_name_67 WHERE date = "october 12, 2008"
What is the highest Week for october 12, 2008?
CREATE TABLE table_name_67 (week INTEGER, date VARCHAR)
SELECT SUM(points) FROM table_name_70 WHERE touchdowns > 0 AND extra_points < 0
Which Points have Touchdowns larger than 0, and an Extra points smaller than 0?
CREATE TABLE table_name_70 (points INTEGER, touchdowns VARCHAR, extra_points VARCHAR)
SELECT COUNT(result) FROM table_19744915_17 WHERE couple = "Ellery and Frankie"
What was the total result for couple Ellery and Frankie?
CREATE TABLE table_19744915_17 (result VARCHAR, couple VARCHAR)
SELECT home_team FROM table_name_36 WHERE road_team = "boston" AND date = "april 20"
Who was the home team on April 20 against Boston?
CREATE TABLE table_name_36 (home_team VARCHAR, road_team VARCHAR, date VARCHAR)
SELECT share___percentage_ FROM table_27319183_5 WHERE episode = "Semi-final 2"
What was the share (%) for the Semi-Final 2 episode?
CREATE TABLE table_27319183_5 (share___percentage_ VARCHAR, episode VARCHAR)
SELECT loan_club FROM table_name_61 WHERE name = "dennehy"
What is the loan club named dennehy?
CREATE TABLE table_name_61 (loan_club VARCHAR, name VARCHAR)
SELECT MIN(subscribers__2005___thousands_) FROM table_29395291_2 WHERE provider = "Vodafone"
What is the fewest number of 2005 subscribers for Vodafone?
CREATE TABLE table_29395291_2 (subscribers__2005___thousands_ INTEGER, provider VARCHAR)
SELECT position FROM table_name_93 WHERE class = "sophomore" AND player = "shaquille o'neal category:articles with hcards"
What is Position, when Class is Sophomore, and when Player is Shaquille O'Neal Category:Articles With hCards?
CREATE TABLE table_name_93 (position VARCHAR, class VARCHAR, player VARCHAR)
SELECT losing_bonus FROM table_14070062_3 WHERE won = "9"
What's the losing bonus count for the club with 9 won games?
CREATE TABLE table_14070062_3 (losing_bonus VARCHAR, won VARCHAR)
SELECT COUNT(national_university_of_ireland) FROM table_name_34 WHERE agricultural_panel = 0 AND labour_panel > 0
I want to know the total number of national university of ireland with agricultural panel of 0 and labour panel more than 0
CREATE TABLE table_name_34 (national_university_of_ireland VARCHAR, agricultural_panel VARCHAR, labour_panel VARCHAR)
SELECT high_assists FROM table_28768469_5 WHERE team = "Utah"
Who had highest assists in game against Utah?
CREATE TABLE table_28768469_5 (high_assists VARCHAR, team VARCHAR)
SELECT result FROM table_name_7 WHERE year = 1970 AND location = "yankee stadium"
what is the result for 1970 at yankee stadium?
CREATE TABLE table_name_7 (result VARCHAR, year VARCHAR, location VARCHAR)
SELECT date FROM table_name_14 WHERE game_site = "joe robbie stadium"
What was the date of the game at Joe Robbie Stadium?
CREATE TABLE table_name_14 (date VARCHAR, game_site VARCHAR)
SELECT league FROM table_name_77 WHERE record = "most wins"
What league has most wins as the record?
CREATE TABLE table_name_77 (league VARCHAR, record VARCHAR)
SELECT result FROM table_26842217_12 WHERE visiting_team = "Louisiana-Monroe"
What was the result in the game where the visiting team was Louisiana-Monroe?
CREATE TABLE table_26842217_12 (result VARCHAR, visiting_team VARCHAR)
SELECT date FROM table_name_90 WHERE time = "1:00.59"
Which Date has a Time of 1:00.59?
CREATE TABLE table_name_90 (date VARCHAR, time VARCHAR)
SELECT tournament FROM table_name_62 WHERE score = "w/o" AND date = "november 5, 2007"
What is the tournament with a w/o score on November 5, 2007?
CREATE TABLE table_name_62 (tournament VARCHAR, score VARCHAR, date VARCHAR)
SELECT SUM(silver) FROM table_name_37 WHERE bronze < 1 AND total = 2
How many silver medals when the total was 2 and less than 1 bronze?
CREATE TABLE table_name_37 (silver INTEGER, bronze VARCHAR, total VARCHAR)
SELECT COUNT(results) FROM table_1805191_10 WHERE incumbent = "Dave Weldon"
What are the results of incumbent dave weldon?
CREATE TABLE table_1805191_10 (results VARCHAR, incumbent VARCHAR)
SELECT director FROM table_name_40 WHERE series = "lt" AND production_num = "6982"
What director has lt as the series, with 6982 as the production num.?
CREATE TABLE table_name_40 (director VARCHAR, series VARCHAR, production_num VARCHAR)
SELECT competition FROM table_name_68 WHERE final_position___round = "2"
Which competition had a final position/round of 2?
CREATE TABLE table_name_68 (competition VARCHAR, final_position___round VARCHAR)
SELECT second FROM table_name_10 WHERE skip = "chris plys"
Which second's skip is Chris Plys?
CREATE TABLE table_name_10 (second VARCHAR, skip VARCHAR)
SELECT bleeding_time FROM table_20592988_1 WHERE condition = "Thrombocytopenia"
What is the status of bleeding time for thrombocytopenia?
CREATE TABLE table_20592988_1 (bleeding_time VARCHAR, condition VARCHAR)
SELECT opposing_teams FROM table_name_96 WHERE status = "test match" AND date = "25/11/2000"
What is Opposing Teams, when Status is "Test Match", and when Date is "25/11/2000"?
CREATE TABLE table_name_96 (opposing_teams VARCHAR, status VARCHAR, date VARCHAR)
SELECT semifinalists FROM table_name_9 WHERE surface = "hard (i)"
what is the semifinalists when the surface is hard (i)?
CREATE TABLE table_name_9 (semifinalists VARCHAR, surface VARCHAR)
SELECT last_issue FROM table_name_49 WHERE title = "aron's absurd armada"
What is the last issue entry for Aron's Absurd Armada?
CREATE TABLE table_name_49 (last_issue VARCHAR, title VARCHAR)
SELECT weight, _dimensions FROM table_name_42 WHERE model = "n800"
What is the weight and dimensions of an N800?
CREATE TABLE table_name_42 (weight VARCHAR, _dimensions VARCHAR, model VARCHAR)
SELECT emit__nm_ FROM table_name_6 WHERE absorb__nm_ = "593"
Which Emission (in nanometers) has an absorbtion of 593 nm?
CREATE TABLE table_name_6 (emit__nm_ VARCHAR, absorb__nm_ VARCHAR)
SELECT date FROM table_29126507_1 WHERE home_team = "Fitzroy"
When did Fitzroy play as the home team?
CREATE TABLE table_29126507_1 (date VARCHAR, home_team VARCHAR)
SELECT loss FROM table_name_23 WHERE date = "june 13"
Which loss was on June 13?
CREATE TABLE table_name_23 (loss VARCHAR, date VARCHAR)
SELECT team_classification FROM table_name_74 WHERE winner = "ludo peeters"
What is Ludo Peeters' team classification?
CREATE TABLE table_name_74 (team_classification VARCHAR, winner VARCHAR)
SELECT SUM(avg_g) FROM table_name_95 WHERE loss = 0 AND name = "dan dierking" AND gain > 34
What is the sum of Avg/G for Dan Dierking when the Loss is 0 and the Gain is more than 34?
CREATE TABLE table_name_95 (avg_g INTEGER, gain VARCHAR, loss VARCHAR, name VARCHAR)
SELECT COUNT(draw) FROM table_name_37 WHERE language = "danish" AND artist = "mathias"
Name the total number of drawn for danish and mathias
CREATE TABLE table_name_37 (draw VARCHAR, language VARCHAR, artist VARCHAR)
SELECT MIN(lane) FROM table_name_64 WHERE react > 0.164 AND nationality = "guinea"
what is the lowest lane when react is more than 0.164 and the nationality is guinea?
CREATE TABLE table_name_64 (lane INTEGER, react VARCHAR, nationality VARCHAR)
SELECT SUM(place) FROM table_name_71 WHERE points < 28 AND lost < 11 AND played < 18
What place is associated with under 28 points, under 11 games lost, and under 18 games played?
CREATE TABLE table_name_71 (place INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR)
SELECT runner_up FROM table_name_67 WHERE date = "5 aug 1990"
Who was the runner-up on 5 aug 1990?
CREATE TABLE table_name_67 (runner_up VARCHAR, date VARCHAR)
SELECT loss FROM table_name_45 WHERE record = "48-50"
During which loss was the record 48-50?
CREATE TABLE table_name_45 (loss VARCHAR, record VARCHAR)
SELECT pts_for FROM table_28201906_1 WHERE won = 5
How many points did the team that won 5 games make?
CREATE TABLE table_28201906_1 (pts_for VARCHAR, won VARCHAR)
SELECT school_club_team FROM table_name_15 WHERE player = "jeremy evans"
Who does jeremy evans play for?
CREATE TABLE table_name_15 (school_club_team VARCHAR, player VARCHAR)
SELECT player FROM table_name_22 WHERE school_country = "temple"
Which player is associated with Temple?
CREATE TABLE table_name_22 (player VARCHAR, school_country VARCHAR)
SELECT chassis FROM table_name_94 WHERE year > 1981
What was the chassis of Emilio de Villota in 1981?
CREATE TABLE table_name_94 (chassis VARCHAR, year INTEGER)
SELECT rank FROM table_name_18 WHERE laps = 151
Name the rank for 151 Laps
CREATE TABLE table_name_18 (rank VARCHAR, laps VARCHAR)
SELECT AVG(attendance) FROM table_name_97 WHERE week = 4
What is the average attendance at a week 4 game?
CREATE TABLE table_name_97 (attendance INTEGER, week VARCHAR)
SELECT player FROM table_name_68 WHERE position = "c" AND nationality = "denmark"
Who is the player from Denmark who plays position c?
CREATE TABLE table_name_68 (player VARCHAR, position VARCHAR, nationality VARCHAR)
SELECT 2009 FROM table_name_66 WHERE 2012 = "statistics by surface"
What 2009 has statistics by surface in 2012?
CREATE TABLE table_name_66 (Id VARCHAR)
SELECT country FROM table_name_45 WHERE score = 66 - 72 - 70 = 207
Which country was the player from who scored 66-72-70=207?
CREATE TABLE table_name_45 (country VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_40 WHERE opponent_in_the_final = "petra mandula patricia wartusch"
What tournament has petra mandula patricia wartusch as the opponent in the final?
CREATE TABLE table_name_40 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT year FROM table_name_62 WHERE note = "vocals" AND album = "north (original motion picture soundtrack)"
When was the note a vocals and the album north (original motion picture soundtrack)?
CREATE TABLE table_name_62 (year VARCHAR, note VARCHAR, album VARCHAR)
SELECT host_city FROM table_name_74 WHERE silver > 6 AND total = 22
Which Host City has more than 6 Silver and a Total of 22?
CREATE TABLE table_name_74 (host_city VARCHAR, silver VARCHAR, total VARCHAR)
SELECT MIN(age), job FROM Person GROUP BY job
What is minimum age for different job title?
CREATE TABLE Person (job VARCHAR, age INTEGER)
SELECT partner FROM table_name_48 WHERE score_in_the_final = "7–6, 3–6, 6–7"
Who was the partner when the final score was 7–6, 3–6, 6–7?
CREATE TABLE table_name_48 (partner VARCHAR, score_in_the_final VARCHAR)
SELECT COUNT(engine) FROM table_15491596_1 WHERE no = 48
How many cars used number 48?
CREATE TABLE table_15491596_1 (engine VARCHAR, no VARCHAR)
SELECT COUNT(location) FROM table_11604804_5 WHERE nickname = "CBSUA formerly known CSSAC"
What was the number of location of nickname cbsua formerly known cssac?
CREATE TABLE table_11604804_5 (location VARCHAR, nickname VARCHAR)
SELECT accreditation FROM table_2076522_2 WHERE school = "United Tribes Technical College"
What is the accrediation for united tribes technical college?
CREATE TABLE table_2076522_2 (accreditation VARCHAR, school VARCHAR)
SELECT exposures FROM table_2583036_1 WHERE total_exposure_time = "105,000s"
how many exposures where there when the total exposure time is 105,000s?
CREATE TABLE table_2583036_1 (exposures VARCHAR, total_exposure_time VARCHAR)
SELECT saturday_shani__saturn_ FROM table_1277350_3 WHERE wednesday_budha__mercury_ = "برھ وار Budh'var"
In language where Wednesday is برھ وار budh'var, what is Saturday?
CREATE TABLE table_1277350_3 (saturday_shani__saturn_ VARCHAR, wednesday_budha__mercury_ VARCHAR)