answer
stringlengths
37
161
context
stringlengths
40
126
question
stringlengths
15
152
SELECT season AS Finale FROM table_1348989_2 WHERE viewers__in_millions_ = "10.29"
CREATE TABLE table_1348989_2 (season VARCHAR, viewers__in_millions_ VARCHAR)
What year did the season finale have a total of 10.29 million viewers?
SELECT candidates FROM table_1342233_6 WHERE incumbent = "Alfred J. Elliott"
CREATE TABLE table_1342233_6 (candidates VARCHAR, incumbent VARCHAR)
who is the the candidates with incumbent being alfred j. elliott
SELECT party FROM table_1341690_21 WHERE candidates = "Edward Boland (D) Unopposed"
CREATE TABLE table_1341690_21 (party VARCHAR, candidates VARCHAR)
what is the party where the candidates are edward boland (d) unopposed?
SELECT defensive FROM table_14132239_3 WHERE month = "February" AND rookie = "Rhys Duch"
CREATE TABLE table_14132239_3 (defensive VARCHAR, month VARCHAR, rookie VARCHAR)
Who was the defensive award winner in February when the rookie award was given to Rhys Duch?
SELECT year_model FROM table_1444201_1 WHERE engine = "4-cyl Straight engine DOHC 16V" AND model = "1.5 CRDi"
CREATE TABLE table_1444201_1 (year_model VARCHAR, engine VARCHAR, model VARCHAR)
Name the year model for 4-cyl straight engine dohc 16v and 1.5 crdi
SELECT area__km²___per_sqmi_ FROM table_14098_1 WHERE country_or_territory_with_flag = "Uruguay"
CREATE TABLE table_14098_1 (area__km²___per_sqmi_ VARCHAR, country_or_territory_with_flag VARCHAR)
What unit of measurement for uruguay?
SELECT COUNT(original_airdate) FROM table_13956521_2 WHERE writer_s_ = "Becky Hartman Edwards" AND director = "Adam Nimoy"
CREATE TABLE table_13956521_2 (original_airdate VARCHAR, writer_s_ VARCHAR, director VARCHAR)
how many original airdate with writer(s) being becky hartman edwards and director being adam nimoy
SELECT COUNT(points_for) FROM table_13564702_3 WHERE try_bonus = "10"
CREATE TABLE table_13564702_3 (points_for VARCHAR, try_bonus VARCHAR)
Name the total number of points for when try bonus is 10
SELECT candidates FROM table_1341604_19 WHERE district = "Louisiana 4"
CREATE TABLE table_1341604_19 (candidates VARCHAR, district VARCHAR)
Who were the candidates in the Louisiana 4 district?
SELECT MAX(first_elected) FROM table_1342270_3 WHERE district = "Alabama 5"
CREATE TABLE table_1342270_3 (first_elected INTEGER, district VARCHAR)
what is the maximum first elected with district being alabama 5
SELECT transmission FROM table_1373768_1 WHERE trim = "XE (2009)"
CREATE TABLE table_1373768_1 (transmission VARCHAR, trim VARCHAR)
what's the transmbeingsion with trim being xe (2009)
SELECT MAX(first_elected) FROM table_1342379_2 WHERE incumbent = "William B. Oliver"
CREATE TABLE table_1342379_2 (first_elected INTEGER, incumbent VARCHAR)
When was incumbent William B. Oliver first elected?
SELECT time_required_for_prices_to_double FROM table_13681_2 WHERE highest_monthly_inflation_rate = "29,500%"
CREATE TABLE table_13681_2 (time_required_for_prices_to_double VARCHAR, highest_monthly_inflation_rate VARCHAR)
what's the time required for prices to double with highest monthly inflation rate being 29,500%
SELECT MAX(cuts_made) FROM table_14853156_2 WHERE best_finish = "T4"
CREATE TABLE table_14853156_2 (cuts_made INTEGER, best_finish VARCHAR)
What is the highest number of cuts made when her best finish is t4?
SELECT COUNT(score) FROM table_13710464_1 WHERE date = "June 25"
CREATE TABLE table_13710464_1 (score VARCHAR, date VARCHAR)
How many games played on june 25?
SELECT COUNT(first_elected) FROM table_1342359_15 WHERE district = "Kansas 3"
CREATE TABLE table_1342359_15 (first_elected VARCHAR, district VARCHAR)
how many first elected with district is kansas 3
SELECT MIN(first_elected) FROM table_1342393_23 WHERE incumbent = "Jeff Busby"
CREATE TABLE table_1342393_23 (first_elected INTEGER, incumbent VARCHAR)
What is the least first elected for jeff busby?
SELECT district FROM table_1341672_10 WHERE incumbent = "James A. Haley"
CREATE TABLE table_1341672_10 (district VARCHAR, incumbent VARCHAR)
what is the district where the incumbent is james a. haley?
SELECT COUNT(league) FROM table_14962287_2 WHERE name = "Billy Meredith Category:Articles with hCards"
CREATE TABLE table_14962287_2 (league VARCHAR, name VARCHAR)
How many different Leagues are associated with Billy Meredith Category:Articles with hCards?
SELECT drawn FROM table_14058433_4 WHERE lost = "4"
CREATE TABLE table_14058433_4 (drawn VARCHAR, lost VARCHAR)
what's the drawn with lost being 4
SELECT COUNT(combination_classification) FROM table_15059783_1 WHERE points_classification = "Alessandro Petacchi" AND winner = "Erik Zabel"
CREATE TABLE table_15059783_1 (combination_classification VARCHAR, points_classification VARCHAR, winner VARCHAR)
How many combination classifications have the winner as Erik Zabel and a points classification as Alessandro Petacchi
SELECT COUNT(result) FROM table_1342233_3 WHERE incumbent = "Albert Rains"
CREATE TABLE table_1342233_3 (result VARCHAR, incumbent VARCHAR)
what the the end number where albert rains was running
SELECT fte_teachers FROM table_1414743_1 WHERE pupil_teacher_ratio = "19"
CREATE TABLE table_1414743_1 (fte_teachers VARCHAR, pupil_teacher_ratio VARCHAR)
How many FTE teachers are there when the student:teacher ration is 19?
SELECT COUNT(first_elected) FROM table_1342379_41 WHERE incumbent = "Cordell Hull"
CREATE TABLE table_1342379_41 (first_elected VARCHAR, incumbent VARCHAR)
How many times was incumbent cordell hull first elected?
SELECT losses FROM table_14594528_6 WHERE games = 19
CREATE TABLE table_14594528_6 (losses VARCHAR, games VARCHAR)
How many losses for the coach that coached 19 games?
SELECT fa_cup FROM table_14962287_1 WHERE total = "565 (7)"
CREATE TABLE table_14962287_1 (fa_cup VARCHAR, total VARCHAR)
which fa cups had a total of 565 (7)?
SELECT MAX(conceded) FROM table_14889048_1 WHERE draws = 5 AND position = 1
CREATE TABLE table_14889048_1 (conceded INTEGER, draws VARCHAR, position VARCHAR)
Name the most conceded when draws is 5 and position is 1
SELECT _percentage_change_2008_2009 FROM table_13836704_6 WHERE airport = "Belfast International"
CREATE TABLE table_13836704_6 (_percentage_change_2008_2009 VARCHAR, airport VARCHAR)
What is the percent change from 08/09 for belfast international?
SELECT district FROM table_1341707_12 WHERE first_elected = 1952
CREATE TABLE table_1341707_12 (district VARCHAR, first_elected VARCHAR)
Phillip Landrum was first elected in 1952 from the ninth district of Georgia.
SELECT college FROM table_14649522_1 WHERE position = "Wide Receiver" AND pick__number < 130.0
CREATE TABLE table_14649522_1 (college VARCHAR, position VARCHAR, pick__number VARCHAR)
Which college was the wide receiver whose pick was less than 130.0 picked from?
SELECT COUNT(2 AS nd_leg) FROM table_14219514_1 WHERE aggregate = "2-4"
CREATE TABLE table_14219514_1 (aggregate VARCHAR)
How many 2nd legs had an aggregate of 2-4?
SELECT MIN(180 AS s) FROM table_13535824_2
CREATE TABLE table_13535824_2 (Id VARCHAR)
what's the minimum 180s value
SELECT MAX(rank) FROM table_13836704_8 WHERE airport = "Birmingham airport"
CREATE TABLE table_13836704_8 (rank INTEGER, airport VARCHAR)
Name the rank of birmingham airport
SELECT MAX(first_elected) FROM table_1341690_5 WHERE party = "Republican"
CREATE TABLE table_1341690_5 (first_elected INTEGER, party VARCHAR)
What republican candidate was first elected most recently?
SELECT COUNT(result) FROM table_1342149_6 WHERE district = "California 29"
CREATE TABLE table_1342149_6 (result VARCHAR, district VARCHAR)
How many results does the California 29 voting district have?
SELECT COUNT(years) FROM table_14962287_2 WHERE fa_cup = 5
CREATE TABLE table_14962287_2 (years VARCHAR, fa_cup VARCHAR)
How many separate values for Years are associated with FA Cup of 5?
SELECT class_aAAA FROM table_14747043_1 WHERE class_aAAAA = Weslaco AND school_year = "1994-95"
CREATE TABLE table_14747043_1 (class_aAAA VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, school_year VARCHAR)
Who was the class AAAA when class AAAAA was Weslaco in 1994-95
SELECT COUNT(week) FROM table_14984103_1 WHERE opponent = "San Francisco 49ers"
CREATE TABLE table_14984103_1 (week VARCHAR, opponent VARCHAR)
Name the number of weeks for san francisco 49ers
SELECT MAX(points) FROM table_14342592_7 WHERE position = "Left tackle" AND extra_points = 5
CREATE TABLE table_14342592_7 (points INTEGER, position VARCHAR, extra_points VARCHAR)
How many maximum points were there when the left tackle was played and there were 5 extra points?
SELECT team_classification FROM table_15088557_1 WHERE combination_classification = "Mederic Clain"
CREATE TABLE table_15088557_1 (team_classification VARCHAR, combination_classification VARCHAR)
Name all the team clasification where the combination classification is mederic clain
SELECT candidates FROM table_1341604_39 WHERE incumbent = "Gus Yatron"
CREATE TABLE table_1341604_39 (candidates VARCHAR, incumbent VARCHAR)
What are the candidates in the district whose incumbent is Gus Yatron?
SELECT COUNT(candidates) FROM table_1342256_38 WHERE incumbent = "Leon Sacks"
CREATE TABLE table_1342256_38 (candidates VARCHAR, incumbent VARCHAR)
what was the number of candidates when Leon Sacks was incumbent?
SELECT COUNT(extra_points) FROM table_14342367_11 WHERE player = "Paul Jones"
CREATE TABLE table_14342367_11 (extra_points VARCHAR, player VARCHAR)
How many extra points did Paul Jones score?
SELECT class_aA FROM table_14747043_1 WHERE class_a = "Graford"
CREATE TABLE table_14747043_1 (class_aA VARCHAR, class_a VARCHAR)
Which is the class AA when graford was the class A
SELECT COUNT(station) FROM table_1353096_1 WHERE primary_affiliation = "Fox" AND owned_since = "1986"
CREATE TABLE table_1353096_1 (station VARCHAR, primary_affiliation VARCHAR, owned_since VARCHAR)
How many stations have fox as the primary affiliation and have been owned since 1986?
SELECT district FROM table_1341930_10 WHERE incumbent = "James A. Haley"
CREATE TABLE table_1341930_10 (district VARCHAR, incumbent VARCHAR)
Which district is James A. Haley from?
SELECT COUNT(virtual) FROM table_14623167_1 WHERE network = "NBC"
CREATE TABLE table_14623167_1 (virtual VARCHAR, network VARCHAR)
Name the number of virtual for NBC
SELECT MIN(year) FROM table_13857501_1 WHERE womens_singles = "Beata Syta"
CREATE TABLE table_13857501_1 (year INTEGER, womens_singles VARCHAR)
Beata syta is the minimum year for womens singles.
SELECT result FROM table_1341586_14 WHERE first_elected = 1980
CREATE TABLE table_1341586_14 (result VARCHAR, first_elected VARCHAR)
What happened to the incombent who was elected in 1980?
SELECT district FROM table_1342379_23 WHERE candidates = "John E. Rankin (D) Unopposed"
CREATE TABLE table_1342379_23 (district VARCHAR, candidates VARCHAR)
what's the district with candidates being john e. rankin (d) unopposed
SELECT bhofen_number1__rk_ FROM table_14948647_1 WHERE bhofen_number2__rk_ = "231.2 (8)"
CREATE TABLE table_14948647_1 (bhofen_number1__rk_ VARCHAR, bhofen_number2__rk_ VARCHAR)
What was the Bhofen #1 score and rank for the player whose Bhofen #2 score and rank was 231.2 (8)?
SELECT position FROM table_14139408_1 WHERE team = "Skilled Racing team"
CREATE TABLE table_14139408_1 (position VARCHAR, team VARCHAR)
what's the position with team being skilled racing team
SELECT total_points FROM table_14948647_1 WHERE oberstdorf__rk_ = "252.6 (11)"
CREATE TABLE table_14948647_1 (total_points VARCHAR, oberstdorf__rk_ VARCHAR)
How many points in total were scored by the player whose Oberstdork score and rank were 252.6 (11)?
SELECT recopa_sudamericana_1998 FROM table_14962316_9 WHERE team = "Flamengo"
CREATE TABLE table_14962316_9 (recopa_sudamericana_1998 VARCHAR, team VARCHAR)
Did Flamengo play in the Recopa Sudamericana in 1998
SELECT mixed_doubles FROM table_14904221_1 WHERE mens_doubles = "no competition"
CREATE TABLE table_14904221_1 (mixed_doubles VARCHAR, mens_doubles VARCHAR)
What is the result of men's doubles when there was no competition?
SELECT record FROM table_14984078_1 WHERE game_site = "Cleveland Municipal Stadium"
CREATE TABLE table_14984078_1 (record VARCHAR, game_site VARCHAR)
What was the record when the game was played at Cleveland Municipal Stadium?
SELECT lowest_point FROM table_1416612_1 WHERE highest_point = "Mount Greylock"
CREATE TABLE table_1416612_1 (lowest_point VARCHAR, highest_point VARCHAR)
what's the lowest point with highest point being mount greylock
SELECT college FROM table_14650162_1 WHERE position = "Defensive Back"
CREATE TABLE table_14650162_1 (college VARCHAR, position VARCHAR)
What college did the defensive back attend?
SELECT player FROM table_1473672_3 WHERE position = "Right Wing"
CREATE TABLE table_1473672_3 (player VARCHAR, position VARCHAR)
Which players played right wing?
SELECT edo_flight FROM table_14118521_1 WHERE duration = "17 days, 15 hours, 53 minutes, 18 seconds"
CREATE TABLE table_14118521_1 (edo_flight VARCHAR, duration VARCHAR)
what's the edo flight with duration being 17 days, 15 hours, 53 minutes, 18 seconds
SELECT position FROM table_14650373_1 WHERE pick__number = 34
CREATE TABLE table_14650373_1 (position VARCHAR, pick__number VARCHAR)
What position(s) does the player drafted #34 play?
SELECT candidates FROM table_1342218_43 WHERE result = "Retired to run for U.S. Senate Democratic hold"
CREATE TABLE table_1342218_43 (candidates VARCHAR, result VARCHAR)
When the result is retired to run for U.S. Senate Democratic Hold, who is the candidate?
SELECT episode FROM table_15026994_2 WHERE viewing_figure = "6.72 million"
CREATE TABLE table_15026994_2 (episode VARCHAR, viewing_figure VARCHAR)
What are all episodes with a viewing figure of 6.72 million?
SELECT freight___metric_tonnes__ FROM table_13836704_7 WHERE transit_passengers = 147791
CREATE TABLE table_13836704_7 (freight___metric_tonnes__ VARCHAR, transit_passengers VARCHAR)
What are the total freights in metric tonnes when the total transit passengers is 147791?
SELECT COUNT(list_votes) FROM table_14834801_1 WHERE list_pct = "20.95%"
CREATE TABLE table_14834801_1 (list_votes VARCHAR, list_pct VARCHAR)
Name the total number of list votes for 20.95%
SELECT first_elected FROM table_1434788_5 WHERE incumbent = "John Thomas Wilson"
CREATE TABLE table_1434788_5 (first_elected VARCHAR, incumbent VARCHAR)
When was incumbent John Thomas Wilson first elected?
SELECT director FROM table_13719788_1 WHERE film_title_used_in_nomination = "Gie"
CREATE TABLE table_13719788_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)
Who is the director of the film Gie?
SELECT social_democratic FROM table_1463383_1 WHERE socialist = "46.1%"
CREATE TABLE table_1463383_1 (social_democratic VARCHAR, socialist VARCHAR)
If Socialist is at 46.1%, what are all percentages for social democratic?
SELECT candidates FROM table_1342249_13 WHERE incumbent = "Sid Simpson"
CREATE TABLE table_1342249_13 (candidates VARCHAR, incumbent VARCHAR)
Who were the candidates when Sid Simpson was the incumbent?
SELECT candidates FROM table_1342198_38 WHERE incumbent = "Hardie Scott"
CREATE TABLE table_1342198_38 (candidates VARCHAR, incumbent VARCHAR)
What was the candidates for hardie scott
SELECT MIN(first_elected) FROM table_1342198_18 WHERE district = "Louisiana 5"
CREATE TABLE table_1342198_18 (first_elected INTEGER, district VARCHAR)
what is the minimum number first elected to district louisiana 5?
SELECT episode FROM table_1429629_1 WHERE run_time = "24:01"
CREATE TABLE table_1429629_1 (episode VARCHAR, run_time VARCHAR)
What are all the episodes with an episode run time of 24:01?
SELECT candidates FROM table_1342256_40 WHERE district = "South Carolina 4"
CREATE TABLE table_1342256_40 (candidates VARCHAR, district VARCHAR)
What is the candidate for south carolina 4?
SELECT COUNT(team_classification) FROM table_15059783_1 WHERE combination_classification = "Alejandro Valverde" AND points_classification = "Alessandro Petacchi"
CREATE TABLE table_15059783_1 (team_classification VARCHAR, combination_classification VARCHAR, points_classification VARCHAR)
How many teams have a combination classification of Alejandro Valverde and a Points classification of Alessandro Petacchi?
SELECT class_a FROM table_14747043_1 WHERE class_aA = Marion
CREATE TABLE table_14747043_1 (class_a VARCHAR, class_aA VARCHAR, Marion VARCHAR)
Which is the class A when Marion was the class AA
SELECT MIN(first_elected) FROM table_1341663_26 WHERE district = "Missouri 7"
CREATE TABLE table_1341663_26 (first_elected INTEGER, district VARCHAR)
When was the first elected for district missouri 7?
SELECT attribute FROM table_1507852_1 WHERE type = "DOMNodeRemoved"
CREATE TABLE table_1507852_1 (attribute VARCHAR, type VARCHAR)
What are the attributes when the type is "DOMNodeRemoved"?
SELECT school_year FROM table_14603212_1 WHERE class_aAA = Wimberley AND class_a = "Canadian"
CREATE TABLE table_14603212_1 (school_year VARCHAR, class_aAA VARCHAR, Wimberley VARCHAR, class_a VARCHAR)
If class a is canadian and class aaa is wimberley, which possible school years could this fall on?
SELECT candidates FROM table_1342331_6 WHERE first_elected = 1932 AND district = "California 8"
CREATE TABLE table_1342331_6 (candidates VARCHAR, first_elected VARCHAR, district VARCHAR)
Who was the candidate in the election in the California 8 district where the incumbent was first elected in 1932?
SELECT institution FROM table_13759592_2 WHERE founded = 1923
CREATE TABLE table_13759592_2 (institution VARCHAR, founded VARCHAR)
Which institution was founded in 1923?
SELECT incumbent FROM table_1341897_6 WHERE district = "Arkansas 2"
CREATE TABLE table_1341897_6 (incumbent VARCHAR, district VARCHAR)
Who was the incumbent in the Arkansas 2 district election?
SELECT new_channel_s_ FROM table_13549921_18 WHERE programme = "Gladiators"
CREATE TABLE table_13549921_18 (new_channel_s_ VARCHAR, programme VARCHAR)
What channel number is Gladiators on
SELECT COUNT(incumbent) FROM table_1341718_14 WHERE candidates = "Phil Crane (R) 58.0% Edward A. Warman (D) 42.0%"
CREATE TABLE table_1341718_14 (incumbent VARCHAR, candidates VARCHAR)
how many times was the candidates phil crane (r) 58.0% edward a. warman (d) 42.0%?
SELECT party FROM table_1342292_2 WHERE district = "Alabama 3"
CREATE TABLE table_1342292_2 (party VARCHAR, district VARCHAR)
what's the party with district being alabama 3
SELECT name_of_administrative_unit FROM table_14465924_1 WHERE number = 4
CREATE TABLE table_14465924_1 (name_of_administrative_unit VARCHAR, number VARCHAR)
Name the number of administrative unit for number 4
SELECT to_winning_team FROM table_13657749_2 WHERE gto_winning_team = "Gene Felton"
CREATE TABLE table_13657749_2 (to_winning_team VARCHAR, gto_winning_team VARCHAR)
Who is Gene Felton's TO Winning Team?
SELECT points_against FROM table_14058433_4 WHERE lost = "13"
CREATE TABLE table_14058433_4 (points_against VARCHAR, lost VARCHAR)
what's the points against with lost being 13
SELECT club FROM table_13741576_6 WHERE points_against = "523"
CREATE TABLE table_13741576_6 (club VARCHAR, points_against VARCHAR)
What club had 523 points against?
SELECT district FROM table_1341663_26 WHERE candidates = "Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.1%"
CREATE TABLE table_1341663_26 (district VARCHAR, candidates VARCHAR)
Which district has candidates is dick gephardt (d) 81.9% lee buchschacher (r) 18.1%?
SELECT airport FROM table_13836704_9 WHERE _percentage_change_2005_2006 = "13.0%"
CREATE TABLE table_13836704_9 (airport VARCHAR, _percentage_change_2005_2006 VARCHAR)
what's the airport with % change 2005/2006 being 13.0%
SELECT MAX(total_number) FROM table_14330096_4
CREATE TABLE table_14330096_4 (total_number INTEGER)
What is the highest total number?
SELECT MAX(afc_cup) FROM table_14460937_2
CREATE TABLE table_14460937_2 (afc_cup INTEGER)
what is the maximum value for afc cup
SELECT district FROM table_1341640_39 WHERE incumbent = "Ray Musto"
CREATE TABLE table_1341640_39 (district VARCHAR, incumbent VARCHAR)
What district is Ray Musto the incumbent of?
SELECT party FROM table_1341884_45 WHERE district = "Texas 12"
CREATE TABLE table_1341884_45 (party VARCHAR, district VARCHAR)
what is the political affiliation of the texas 12 district
SELECT digital_channel FROM table_1404984_1 WHERE network = "JCTV"
CREATE TABLE table_1404984_1 (digital_channel VARCHAR, network VARCHAR)
What is JCTV's digital channel?
SELECT school_year FROM table_14603212_5 WHERE class_aAA = Argyle
CREATE TABLE table_14603212_5 (school_year VARCHAR, class_aAA VARCHAR, Argyle VARCHAR)
What are the school years where class "AAA" is argyle?
SELECT COUNT(first_elected) FROM table_1342233_32 WHERE incumbent = "Sol Bloom"
CREATE TABLE table_1342233_32 (first_elected VARCHAR, incumbent VARCHAR)
Name the total number of first elected for sol bloom
SELECT candidates FROM table_1342218_5 WHERE district = "Arkansas 2"
CREATE TABLE table_1342218_5 (candidates VARCHAR, district VARCHAR)
Who is the candidate for the district Arkansas 2?
SELECT high_points FROM table_13480122_5 WHERE score = "W 117–93"
CREATE TABLE table_13480122_5 (high_points VARCHAR, score VARCHAR)
who is the the high points with score being w 117–93
SELECT rank_by_average FROM table_1354805_6 WHERE number_of_dances = 7
CREATE TABLE table_1354805_6 (rank_by_average VARCHAR, number_of_dances VARCHAR)
tell the mean of the times competition for the 7 jigs