question
stringlengths
12
244
context
stringlengths
27
489
answer
dict
In the championship Miami , United States, what is the score in the final?
CREATE TABLE table_26202788_7 (score_in_the_final VARCHAR, championship VARCHAR)
{ "SQL_Query": "SELECT score_in_the_final FROM table_26202788_7 WHERE championship = \"Miami , United States\"" }
Andy Roddick is the opponent in the final on what surface?
CREATE TABLE table_26202788_7 (surface VARCHAR, opponent_in_the_final VARCHAR)
{ "SQL_Query": "SELECT surface FROM table_26202788_7 WHERE opponent_in_the_final = \"Andy Roddick\"" }
In the championship Indian Wells, United States (2), who are the opponents in the final?
CREATE TABLE table_26202788_7 (opponent_in_the_final VARCHAR, championship VARCHAR)
{ "SQL_Query": "SELECT opponent_in_the_final FROM table_26202788_7 WHERE championship = \"Indian Wells, United States (2)\"" }
Marat Safin is the opponent in the final in what championship?
CREATE TABLE table_26202788_7 (championship VARCHAR, opponent_in_the_final VARCHAR)
{ "SQL_Query": "SELECT championship FROM table_26202788_7 WHERE opponent_in_the_final = \"Marat Safin\"" }
How many championships are there on the date January 9, 2005?
CREATE TABLE table_26202788_7 (championship VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT COUNT(championship) FROM table_26202788_7 WHERE date = \"January 9, 2005\"" }
Where the outcome is Winner and surface is Hard (i), what is the No.?
CREATE TABLE table_26202847_6 (no VARCHAR, outcome VARCHAR, surface VARCHAR)
{ "SQL_Query": "SELECT no FROM table_26202847_6 WHERE outcome = \"Winner\" AND surface = \"Hard (i)\"" }
On the date October 21, 2007, what is the No.?
CREATE TABLE table_26202847_6 (no VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT no FROM table_26202847_6 WHERE date = \"October 21, 2007\"" }
Where is the championship where 6–1, 3–6, 3–6 is the score in the final?
CREATE TABLE table_26202847_6 (championship VARCHAR, score_in_the_final VARCHAR)
{ "SQL_Query": "SELECT championship FROM table_26202847_6 WHERE score_in_the_final = \"6–1, 3–6, 3–6\"" }
When the score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final?
CREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
{ "SQL_Query": "SELECT opponent_in_the_final FROM table_26202847_6 WHERE score_in_the_final = \"3–6, 6–4, 3–6, 4–6\"" }
The score in the final is 2–6, 6–2, 6–0, on what surface?
CREATE TABLE table_26202847_6 (surface VARCHAR, score_in_the_final VARCHAR)
{ "SQL_Query": "SELECT surface FROM table_26202847_6 WHERE score_in_the_final = \"2–6, 6–2, 6–0\"" }
The original artist Joan Osborne has what result?
CREATE TABLE table_26250199_1 (result VARCHAR, original_artist VARCHAR)
{ "SQL_Query": "SELECT result FROM table_26250199_1 WHERE original_artist = \"Joan Osborne\"" }
In which episode is the order number 10?
CREATE TABLE table_26250199_1 (episode VARCHAR, order__number VARCHAR)
{ "SQL_Query": "SELECT episode FROM table_26250199_1 WHERE order__number = \"10\"" }
In episode Top 16 (8 Men), what are the themes?
CREATE TABLE table_26250199_1 (theme VARCHAR, episode VARCHAR)
{ "SQL_Query": "SELECT theme FROM table_26250199_1 WHERE episode = \"Top 16 (8 Men)\"" }
The theme Auditioner's Choice has what song choice?
CREATE TABLE table_26250199_1 (song_choice VARCHAR, theme VARCHAR)
{ "SQL_Query": "SELECT song_choice FROM table_26250199_1 WHERE theme = \"Auditioner's Choice\"" }
What are all the week # where subject matter is auditioner's choice
CREATE TABLE table_26250227_1 (week__number VARCHAR, theme VARCHAR)
{ "SQL_Query": "SELECT week__number FROM table_26250227_1 WHERE theme = \"Auditioner's Choice\"" }
What are all of the order # where authentic artist is maroon 5
CREATE TABLE table_26250227_1 (order__number VARCHAR, original_artist VARCHAR)
{ "SQL_Query": "SELECT order__number FROM table_26250227_1 WHERE original_artist = \"Maroon 5\"" }
Name the represents for los alcarrizos
CREATE TABLE table_26301697_2 (represents VARCHAR, hometown VARCHAR)
{ "SQL_Query": "SELECT represents FROM table_26301697_2 WHERE hometown = \"Los Alcarrizos\"" }
Name the most age
CREATE TABLE table_26301697_2 (age INTEGER)
{ "SQL_Query": "SELECT MAX(age) FROM table_26301697_2" }
Name the total number of represents for clary sermina delgado cid
CREATE TABLE table_26301697_2 (represents VARCHAR, contestant VARCHAR)
{ "SQL_Query": "SELECT COUNT(represents) FROM table_26301697_2 WHERE contestant = \"Clary Sermina Delgado Cid\"" }
Name the least age for distrito nacional
CREATE TABLE table_26301697_2 (age INTEGER, represents VARCHAR)
{ "SQL_Query": "SELECT MIN(age) FROM table_26301697_2 WHERE represents = \"Distrito Nacional\"" }
Name the represents for 1.76 cm
CREATE TABLE table_26301697_2 (represents VARCHAR, height__cm_ VARCHAR)
{ "SQL_Query": "SELECT represents FROM table_26301697_2 WHERE height__cm_ = \"1.76\"" }
In how many rounds was Race 17?
CREATE TABLE table_26334740_3 (round VARCHAR, race VARCHAR)
{ "SQL_Query": "SELECT COUNT(round) FROM table_26334740_3 WHERE race = 17" }
What team won Race 17?
CREATE TABLE table_26334740_3 (winning_team VARCHAR, race VARCHAR)
{ "SQL_Query": "SELECT winning_team FROM table_26334740_3 WHERE race = 17" }
Who was his partner in 1989?
CREATE TABLE table_26309085_1 (partner VARCHAR, year VARCHAR)
{ "SQL_Query": "SELECT partner FROM table_26309085_1 WHERE year = 1989" }
What was the surface when he played with John Alexander?
CREATE TABLE table_26309085_1 (surface VARCHAR, partner VARCHAR)
{ "SQL_Query": "SELECT surface FROM table_26309085_1 WHERE partner = \"John Alexander\"" }
What was the final score in 1986?
CREATE TABLE table_26309085_1 (score_in_final VARCHAR, year VARCHAR)
{ "SQL_Query": "SELECT score_in_final FROM table_26309085_1 WHERE year = 1986" }
What is the nickname of the University of Alabama?
CREATE TABLE table_26355116_1 (nickname VARCHAR, school VARCHAR)
{ "SQL_Query": "SELECT nickname FROM table_26355116_1 WHERE school = \"University of Alabama\"" }
What is the maximum enrollment of the schools?
CREATE TABLE table_26355116_1 (enrollment INTEGER)
{ "SQL_Query": "SELECT MAX(enrollment) FROM table_26355116_1" }
How many public is there for the couple that got eliminated?
CREATE TABLE table_26375386_23 (public INTEGER, result VARCHAR)
{ "SQL_Query": "SELECT MAX(public) FROM table_26375386_23 WHERE result = \"Eliminated\"" }
What was the result for the total of 12?
CREATE TABLE table_26375386_23 (result VARCHAR, total VARCHAR)
{ "SQL_Query": "SELECT result FROM table_26375386_23 WHERE total = 12" }
What was the maximum rank for the vote percentage of 5.6%
CREATE TABLE table_26375386_23 (rank INTEGER, vote_percentage VARCHAR)
{ "SQL_Query": "SELECT MIN(rank) FROM table_26375386_23 WHERE vote_percentage = \"5.6%\"" }
How many judges were there for the eliminated couple?
CREATE TABLE table_26375386_23 (judges VARCHAR, result VARCHAR)
{ "SQL_Query": "SELECT judges FROM table_26375386_23 WHERE result = \"Eliminated\"" }
What is the number of public that was there when the vote percentage was 22.9%?
CREATE TABLE table_26375386_23 (public VARCHAR, vote_percentage VARCHAR)
{ "SQL_Query": "SELECT COUNT(public) FROM table_26375386_23 WHERE vote_percentage = \"22.9%\"" }
What was the total number when the vote percentage was 44.8%?
CREATE TABLE table_26375386_23 (total VARCHAR, vote_percentage VARCHAR)
{ "SQL_Query": "SELECT COUNT(total) FROM table_26375386_23 WHERE vote_percentage = \"44.8%\"" }
What year was Fayette operational at 46?
CREATE TABLE table_26387382_1 (year_operational INTEGER, location__county_ VARCHAR, capacity__mw_ VARCHAR)
{ "SQL_Query": "SELECT MIN(year_operational) FROM table_26387382_1 WHERE location__county_ = \"Fayette\" AND capacity__mw_ = \"46\"" }
What farm has a capacity of 70 and is operational?
CREATE TABLE table_26387382_1 (name VARCHAR, capacity__mw_ VARCHAR, status VARCHAR)
{ "SQL_Query": "SELECT name FROM table_26387382_1 WHERE capacity__mw_ = \"70\" AND status = \"Operational\"" }
What locations are considered centre?
CREATE TABLE table_26387382_1 (power__mw·hr_yr_ VARCHAR, location__county_ VARCHAR)
{ "SQL_Query": "SELECT power__mw·hr_yr_ FROM table_26387382_1 WHERE location__county_ = \"Centre\"" }
What all capacities have turbines between 50-60?
CREATE TABLE table_26387382_1 (capacity__mw_ VARCHAR, turbines VARCHAR)
{ "SQL_Query": "SELECT capacity__mw_ FROM table_26387382_1 WHERE turbines = \"50-60\"" }
What all turbines have a capacity of 30 and have a Somerset location?
CREATE TABLE table_26387382_1 (turbines VARCHAR, location__county_ VARCHAR, capacity__mw_ VARCHAR)
{ "SQL_Query": "SELECT turbines FROM table_26387382_1 WHERE location__county_ = \"Somerset\" AND capacity__mw_ = \"30\"" }
if the peak is 9, how many weeks was it in the top 10?
CREATE TABLE table_26400041_2 (weeks_in_top_10 INTEGER, peak VARCHAR)
{ "SQL_Query": "SELECT MAX(weeks_in_top_10) FROM table_26400041_2 WHERE peak = 9" }
How many games had red star as the runner up?
CREATE TABLE table_26455614_1 (attendance VARCHAR, runner_up VARCHAR)
{ "SQL_Query": "SELECT COUNT(attendance) FROM table_26455614_1 WHERE runner_up = \"Red Star\"" }
What is the fewest recorded entrants against paris saint-germain?
CREATE TABLE table_26455614_1 (entries INTEGER, winner VARCHAR)
{ "SQL_Query": "SELECT MIN(entries) FROM table_26455614_1 WHERE winner = \"Paris Saint-Germain\"" }
Name the member countries for finnish swedish
CREATE TABLE table_26519486_1 (member_countries VARCHAR, languages VARCHAR)
{ "SQL_Query": "SELECT member_countries FROM table_26519486_1 WHERE languages = \"Finnish Swedish\"" }
Name the area for german
CREATE TABLE table_26519486_1 (area__km²_ VARCHAR, languages VARCHAR)
{ "SQL_Query": "SELECT area__km²_ FROM table_26519486_1 WHERE languages = \"German\"" }
Name the population for 11 languages
CREATE TABLE table_26519486_1 (population VARCHAR, languages VARCHAR)
{ "SQL_Query": "SELECT population FROM table_26519486_1 WHERE languages = \"11\"" }
What is the production code for the episode where the patient portrayer is Kathy Lamkin?
CREATE TABLE table_26561508_1 (production_code VARCHAR, patient_portrayer VARCHAR)
{ "SQL_Query": "SELECT production_code FROM table_26561508_1 WHERE patient_portrayer = \"Kathy Lamkin\"" }
Who was the writter for the episode identified by the production code 2t5954?
CREATE TABLE table_26561508_1 (written_by VARCHAR, production_code VARCHAR)
{ "SQL_Query": "SELECT written_by FROM table_26561508_1 WHERE production_code = \"2T5954\"" }
What is the total number of patient portayers for the episode directed by Craig Zisk and written by Brad Falchuk?
CREATE TABLE table_26561508_1 (patient_portrayer VARCHAR, directed_by VARCHAR, written_by VARCHAR)
{ "SQL_Query": "SELECT COUNT(patient_portrayer) FROM table_26561508_1 WHERE directed_by = \"Craig Zisk\" AND written_by = \"Brad Falchuk\"" }
Who directed the episode with production code 177605?
CREATE TABLE table_26561506_1 (directed_by VARCHAR, production_code VARCHAR)
{ "SQL_Query": "SELECT directed_by FROM table_26561506_1 WHERE production_code = 177605" }
How many episodes are numbered 4 in the season?
CREATE TABLE table_26561506_1 (patient_portrayer VARCHAR, _number VARCHAR)
{ "SQL_Query": "SELECT COUNT(patient_portrayer) FROM table_26561506_1 WHERE _number = 4" }
Who wrote episode number 28?
CREATE TABLE table_26561506_1 (written_by VARCHAR, no VARCHAR)
{ "SQL_Query": "SELECT written_by FROM table_26561506_1 WHERE no = 28" }
What is the highest numbered episode with patient portrayer doug savant?
CREATE TABLE table_26561506_1 (_number INTEGER, patient_portrayer VARCHAR)
{ "SQL_Query": "SELECT MAX(_number) FROM table_26561506_1 WHERE patient_portrayer = \"Doug Savant\"" }
What number(s) in the series was written by bo crese?
CREATE TABLE table_26565936_2 (no_in_series VARCHAR, written_by VARCHAR)
{ "SQL_Query": "SELECT no_in_series FROM table_26565936_2 WHERE written_by = \"Bo Crese\"" }
Who wrote episode number 109 in the series?
CREATE TABLE table_26565936_2 (written_by VARCHAR, no_in_series VARCHAR)
{ "SQL_Query": "SELECT written_by FROM table_26565936_2 WHERE no_in_series = 109" }
What was the first episode in the season directed by nelson mccormick?
CREATE TABLE table_26565936_2 (no_in_season INTEGER, directed_by VARCHAR)
{ "SQL_Query": "SELECT MIN(no_in_season) FROM table_26565936_2 WHERE directed_by = \"Nelson McCormick\"" }
What was the original air date for the episode with 13.92 million us viewers?
CREATE TABLE table_26565936_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
{ "SQL_Query": "SELECT original_air_date FROM table_26565936_2 WHERE us_viewers__millions_ = \"13.92\"" }
When was the episode with a 999,000 BARB rating first aired in Denmark?
CREATE TABLE table_26591309_3 (first_broadcast_denmark___dr1__ VARCHAR, official_barb_ratings VARCHAR)
{ "SQL_Query": "SELECT first_broadcast_denmark___dr1__ FROM table_26591309_3 WHERE official_barb_ratings = \"999,000\"" }
What is the BARB ratings of episode 6?
CREATE TABLE table_26591309_3 (official_barb_ratings VARCHAR, episode VARCHAR)
{ "SQL_Query": "SELECT official_barb_ratings FROM table_26591309_3 WHERE episode = 6" }
When was the episode with a 1,036,000 BARB rating first aired in Denmark?
CREATE TABLE table_26591309_3 (first_broadcast_denmark___dr1__ VARCHAR, official_barb_ratings VARCHAR)
{ "SQL_Query": "SELECT first_broadcast_denmark___dr1__ FROM table_26591309_3 WHERE official_barb_ratings = \"1,036,000\"" }
How many parks are called mt. olympus
CREATE TABLE table_2665085_1 (name VARCHAR, park VARCHAR)
{ "SQL_Query": "SELECT COUNT(name) FROM table_2665085_1 WHERE park = \"Mt. Olympus\"" }
How fast is the coaster that is 163 feet tall
CREATE TABLE table_2665085_1 (speed__mph_ VARCHAR, height__ft_ VARCHAR)
{ "SQL_Query": "SELECT speed__mph_ FROM table_2665085_1 WHERE height__ft_ = 163" }
What is the length of the coaster with the unknown speed
CREATE TABLE table_2665085_1 (length__ft_ VARCHAR, speed__mph_ VARCHAR)
{ "SQL_Query": "SELECT length__ft_ FROM table_2665085_1 WHERE speed__mph_ = \"unknown\"" }
How long is the rollar coaster on Kemah Boardwalk
CREATE TABLE table_2665085_1 (length__ft_ VARCHAR, park VARCHAR)
{ "SQL_Query": "SELECT length__ft_ FROM table_2665085_1 WHERE park = \"Kemah Boardwalk\"" }
What park is Boardwalk Bullet located in?
CREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR)
{ "SQL_Query": "SELECT park FROM table_2665085_1 WHERE name = \"Boardwalk Bullet\"" }
How many parks is Zippin Pippin located in
CREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR)
{ "SQL_Query": "SELECT COUNT(park) FROM table_2665085_1 WHERE name = \"Zippin Pippin\"" }
In what year was Montenegro the host country?
CREATE TABLE table_26669939_1 (year VARCHAR, host_country VARCHAR)
{ "SQL_Query": "SELECT year FROM table_26669939_1 WHERE host_country = \"Montenegro\"" }
What was the number of athletes in the host city of Nice?
CREATE TABLE table_26669939_1 (no_of_athletes VARCHAR, host_city VARCHAR)
{ "SQL_Query": "SELECT no_of_athletes FROM table_26669939_1 WHERE host_city = \"Nice\"" }
Who was the host country when Bar was the host city?
CREATE TABLE table_26669939_1 (host_country VARCHAR, host_city VARCHAR)
{ "SQL_Query": "SELECT host_country FROM table_26669939_1 WHERE host_city = \"Bar\"" }
What was the number of athletes for the 7th edition?
CREATE TABLE table_26669939_1 (no_of_athletes VARCHAR, edition VARCHAR)
{ "SQL_Query": "SELECT no_of_athletes FROM table_26669939_1 WHERE edition = \"7th\"" }
What was the most recent year?
CREATE TABLE table_26669939_1 (year INTEGER)
{ "SQL_Query": "SELECT MAX(year) FROM table_26669939_1" }
What was the host city of the 8th edition in the the host country of Croatia?
CREATE TABLE table_26669939_1 (host_city VARCHAR, host_country VARCHAR, edition VARCHAR)
{ "SQL_Query": "SELECT host_city FROM table_26669939_1 WHERE host_country = \"Croatia\" AND edition = \"8th\"" }
Name the result for first elected being 1798 1825
CREATE TABLE table_2668243_18 (result VARCHAR, first_elected VARCHAR)
{ "SQL_Query": "SELECT result FROM table_2668243_18 WHERE first_elected = \"1798 1825\"" }
Name the total number of party for willis alston
CREATE TABLE table_2668243_18 (party VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT COUNT(party) FROM table_2668243_18 WHERE incumbent = \"Willis Alston\"" }
Name the result for augustine h. shepperd (j) 100%
CREATE TABLE table_2668243_18 (result VARCHAR, candidates VARCHAR)
{ "SQL_Query": "SELECT result FROM table_2668243_18 WHERE candidates = \"Augustine H. Shepperd (J) 100%\"" }
Name the result for willis alston
CREATE TABLE table_2668243_18 (result VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT result FROM table_2668243_18 WHERE incumbent = \"Willis Alston\"" }
Name the total number of party for willis alston (j) 93.9% george e. spruill 6.1%
CREATE TABLE table_2668243_18 (party VARCHAR, candidates VARCHAR)
{ "SQL_Query": "SELECT COUNT(party) FROM table_2668243_18 WHERE candidates = \"Willis Alston (J) 93.9% George E. Spruill 6.1%\"" }
Name the district for anti-jacksonian
CREATE TABLE table_2668243_18 (district VARCHAR, party VARCHAR)
{ "SQL_Query": "SELECT district FROM table_2668243_18 WHERE party = \"Anti-Jacksonian\"" }
What was the result for the candidate first elected in 1820?
CREATE TABLE table_2668243_19 (result VARCHAR, first_elected VARCHAR)
{ "SQL_Query": "SELECT result FROM table_2668243_19 WHERE first_elected = \"1820\"" }
What is the party of Joseph Vance?
CREATE TABLE table_2668243_19 (party VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT party FROM table_2668243_19 WHERE incumbent = \"Joseph Vance\"" }
Name the first elected for hosea moffitt (f) 57.9% josiah masters (dr) 42.1%
CREATE TABLE table_2668352_11 (first_elected VARCHAR, candidates VARCHAR)
{ "SQL_Query": "SELECT first_elected FROM table_2668352_11 WHERE candidates = \"Hosea Moffitt (F) 57.9% Josiah Masters (DR) 42.1%\"" }
Name the first elected for jacob markell
CREATE TABLE table_2668352_11 (first_elected VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT first_elected FROM table_2668352_11 WHERE incumbent = \"Jacob Markell\"" }
Name the least first elected
CREATE TABLE table_2668352_11 (first_elected INTEGER)
{ "SQL_Query": "SELECT MIN(first_elected) FROM table_2668352_11" }
Name the most first elected
CREATE TABLE table_2668352_11 (first_elected INTEGER)
{ "SQL_Query": "SELECT MAX(first_elected) FROM table_2668352_11" }
Name the incumbent for new york 10
CREATE TABLE table_2668352_11 (incumbent VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT incumbent FROM table_2668352_11 WHERE district = \"New York 10\"" }
Name the distrct for thomas wilson
CREATE TABLE table_2668367_21 (district VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT district FROM table_2668367_21 WHERE incumbent = \"Thomas Wilson\"" }
Name the party for john randolph redistricted from the 15th district
CREATE TABLE table_2668367_21 (party VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT party FROM table_2668367_21 WHERE incumbent = \"John Randolph Redistricted from the 15th district\"" }
Name the party for virginia 12
CREATE TABLE table_2668367_21 (party VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT party FROM table_2668367_21 WHERE district = \"Virginia 12\"" }
Name the candidates for john boyle
CREATE TABLE table_2668378_5 (candidates VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT candidates FROM table_2668378_5 WHERE incumbent = \"John Boyle\"" }
Name the first elected for kentucky 3
CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT first_elected FROM table_2668378_5 WHERE district = \"Kentucky 3\"" }
Name the incumbent for matthew lyon (dr) anthony new (dr)
CREATE TABLE table_2668378_5 (incumbent VARCHAR, candidates VARCHAR)
{ "SQL_Query": "SELECT incumbent FROM table_2668378_5 WHERE candidates = \"Matthew Lyon (DR) Anthony New (DR)\"" }
Name the number of first elected for kentucky 3
CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT COUNT(first_elected) FROM table_2668378_5 WHERE district = \"Kentucky 3\"" }
Name the number of party for kentucky 1
CREATE TABLE table_2668378_5 (party VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT COUNT(party) FROM table_2668378_5 WHERE district = \"Kentucky 1\"" }
Name the first elected for kentucky 1
CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT first_elected FROM table_2668378_5 WHERE district = \"Kentucky 1\"" }
What is the district for the party federalist and the candidates are william craik (f) 51.0% benjamin edwards 49.0%?
CREATE TABLE table_2668416_7 (district VARCHAR, party VARCHAR, candidates VARCHAR)
{ "SQL_Query": "SELECT district FROM table_2668416_7 WHERE party = \"Federalist\" AND candidates = \"William Craik (F) 51.0% Benjamin Edwards 49.0%\"" }
What is the party when the incumbent is samuel smith?
CREATE TABLE table_2668416_7 (party VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT party FROM table_2668416_7 WHERE incumbent = \"Samuel Smith\"" }
What is the result for the district Maryland 7?
CREATE TABLE table_2668416_7 (result VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT result FROM table_2668416_7 WHERE district = \"Maryland 7\"" }
Who is the candidates for district maryland 1?
CREATE TABLE table_2668416_7 (candidates VARCHAR, district VARCHAR)
{ "SQL_Query": "SELECT candidates FROM table_2668416_7 WHERE district = \"Maryland 1\"" }
Who was the candidate in 1791?
CREATE TABLE table_2668420_12 (candidates VARCHAR, first_elected VARCHAR)
{ "SQL_Query": "SELECT candidates FROM table_2668420_12 WHERE first_elected = 1791" }
What tv season was episode 23 broadcast?
CREATE TABLE table_2669287_1 (tv_season VARCHAR, episodes VARCHAR)
{ "SQL_Query": "SELECT tv_season FROM table_2669287_1 WHERE episodes = 23" }
How many seasons was the rank equal to #50?
CREATE TABLE table_2669287_1 (season VARCHAR, rank VARCHAR)
{ "SQL_Query": "SELECT COUNT(season) FROM table_2669287_1 WHERE rank = \"#50\"" }