question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Name the married filing jointly or qualified widow(er) with head of household being $117,451–$190,200
CREATE TABLE table_name_61 (married_filing_jointly_or_qualified_widow_er_ VARCHAR, head_of_household VARCHAR)
SELECT married_filing_jointly_or_qualified_widow_er_ FROM table_name_61 WHERE head_of_household = "$117,451–$190,200"
Who is the home side when geelong is the away side?
CREATE TABLE table_name_80 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_80 WHERE away_team = "geelong"
Which City has a Lead of tyler forrest?
CREATE TABLE table_name_95 (city VARCHAR, lead VARCHAR)
SELECT city FROM table_name_95 WHERE lead = "tyler forrest"
What is the population total for saint-wenceslas with a region number of under 17?
CREATE TABLE table_name_44 (population INTEGER, name VARCHAR, region VARCHAR)
SELECT SUM(population) FROM table_name_44 WHERE name = "saint-wenceslas" AND region < 17
Show the name, location, and number of platforms for all stations.
CREATE TABLE station (name VARCHAR, LOCATION VARCHAR, number_of_platforms VARCHAR)
SELECT name, LOCATION, number_of_platforms FROM station
What is the home side's score when geelong is the away team?
CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_77 WHERE away_team = "geelong"
What is the score of player bob rosburg?
CREATE TABLE table_name_90 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_90 WHERE player = "bob rosburg"
Name the least wins
CREATE TABLE table_2187333_1 (wins INTEGER)
SELECT MIN(wins) FROM table_2187333_1
What date that was the league position was 1st, and the result F– A was 5 – 0?
CREATE TABLE table_name_29 (date VARCHAR, league_position VARCHAR, result_f___a VARCHAR)
SELECT date FROM table_name_29 WHERE league_position = "1st" AND result_f___a = "5 – 0"
Who are all the players from the united states?
CREATE TABLE table_24302700_6 (name VARCHAR, nationality VARCHAR)
SELECT name FROM table_24302700_6 WHERE nationality = "United States"
How many goals for occurred when the goals against was less than 56 and games played was larger than 7 with less than 6 wins?
CREATE TABLE table_name_37 (goals_for VARCHAR, wins VARCHAR, goals_against VARCHAR, games_played VARCHAR)
SELECT COUNT(goals_for) FROM table_name_37 WHERE goals_against < 56 AND games_played > 7 AND wins < 6
How many were wounded when the complement was 173 off 2059 men?
CREATE TABLE table_11793221_2 (wounded VARCHAR, complement VARCHAR)
SELECT wounded FROM table_11793221_2 WHERE complement = "173 off 2059 men"
Who were the middle school principal(s) in 2010-2011?
CREATE TABLE table_25037577_1 (middle_school_principal VARCHAR, year VARCHAR)
SELECT middle_school_principal FROM table_25037577_1 WHERE year = "2010-2011"
what is the last final won when runners-up is 1 and club is rijeka?
CREATE TABLE table_name_13 (last_final_won VARCHAR, runners_up VARCHAR, club VARCHAR)
SELECT last_final_won FROM table_name_13 WHERE runners_up = 1 AND club = "rijeka"
what's the drawn with points for being 350
CREATE TABLE table_14058433_4 (drawn VARCHAR, points_for VARCHAR)
SELECT drawn FROM table_14058433_4 WHERE points_for = "350"
Name the height in feet for the player from valparaiso
CREATE TABLE table_name_80 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
SELECT height_in_ft FROM table_name_80 WHERE school_club_team_country = "valparaiso"
What is the version when the compatible reposityory is xubuntu 10.04
CREATE TABLE table_27329061_2 (version VARCHAR, compatible_repository VARCHAR)
SELECT version FROM table_27329061_2 WHERE compatible_repository = "Xubuntu 10.04"
Who is the opponent of the game that had a record of 24-26-4?
CREATE TABLE table_name_50 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_50 WHERE record = "24-26-4"
What are the first and last names of the instructors who teach the top 3 number of courses?
CREATE TABLE COURSE (Instructor VARCHAR); CREATE TABLE FACULTY (Fname VARCHAR, Lname VARCHAR, FacID VARCHAR)
SELECT T2.Fname, T2.Lname FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor = T2.FacID GROUP BY T1.Instructor ORDER BY COUNT(*) DESC LIMIT 3
Name the team for january 4
CREATE TABLE table_23286112_8 (team VARCHAR, date VARCHAR)
SELECT team FROM table_23286112_8 WHERE date = "January 4"
Name the number of ranks for south korea
CREATE TABLE table_14752049_5 (rank VARCHAR, country VARCHAR)
SELECT COUNT(rank) FROM table_14752049_5 WHERE country = "South Korea"
Where did the player loaned out on 27 november 2008 move to ?
CREATE TABLE table_name_65 (moving_to VARCHAR, date_from VARCHAR)
SELECT moving_to FROM table_name_65 WHERE date_from = "27 november 2008"
Who was the clerk when the highway commissioner was Albert Lewis?
CREATE TABLE table_name_14 (clerk VARCHAR, highway_commissioners VARCHAR)
SELECT clerk FROM table_name_14 WHERE highway_commissioners = "albert lewis"
How many sets were played in the 2011 tournament, in which 2R were played in 2008?
CREATE TABLE table_name_4 (Id VARCHAR)
SELECT 2011 FROM table_name_4 WHERE 2008 = "2r"
For teams that won exactly 15, how many points were scored?
CREATE TABLE table_27293285_6 (points VARCHAR, won VARCHAR)
SELECT points FROM table_27293285_6 WHERE won = "15"
What is the career SR for the tournament of wimbledon?
CREATE TABLE table_name_21 (career_sr VARCHAR, tournament VARCHAR)
SELECT career_sr FROM table_name_21 WHERE tournament = "wimbledon"
what nation is bianca knight the answer for?
CREATE TABLE table_name_60 (nation VARCHAR, athlete VARCHAR)
SELECT nation FROM table_name_60 WHERE athlete = "bianca knight"
What was the score when Françoise Dürr was partner?
CREATE TABLE table_177273_2 (score VARCHAR, partner VARCHAR)
SELECT score FROM table_177273_2 WHERE partner = "Françoise Dürr"
what is the mexico stat where mañana es para siempre is love never dies
CREATE TABLE table_18498743_1 (mexico VARCHAR, mañana_es_para_siempre VARCHAR)
SELECT mexico FROM table_18498743_1 WHERE mañana_es_para_siempre = "Love Never Dies"
What is the Frequency in Davao City?
CREATE TABLE table_name_91 (frequency VARCHAR, location VARCHAR)
SELECT frequency FROM table_name_91 WHERE location = "davao city"
Which Away team that has a Tie no of replay, and a Score of 1–2?
CREATE TABLE table_name_93 (away_team VARCHAR, tie_no VARCHAR, score VARCHAR)
SELECT away_team FROM table_name_93 WHERE tie_no = "replay" AND score = "1–2"
What other venue was a runner up to Hawthorn?
CREATE TABLE table_1139835_9 (venue VARCHAR, runner_up VARCHAR)
SELECT venue FROM table_1139835_9 WHERE runner_up = "Hawthorn"
Can you tell me the average Attendance rhat has the Opponent of dunfermline athletic?
CREATE TABLE table_name_85 (attendance INTEGER, opponent VARCHAR)
SELECT AVG(attendance) FROM table_name_85 WHERE opponent = "dunfermline athletic"
List the names of all distinct wines that have scores higher than 90.
CREATE TABLE WINE (Name VARCHAR, score INTEGER)
SELECT Name FROM WINE WHERE score > 90
What is Result/Score, when Year is greater than 2005, and when Opponent is #8 Arkansas #1 Memphis?
CREATE TABLE table_name_92 (result_score VARCHAR, year VARCHAR, opponent VARCHAR)
SELECT result_score FROM table_name_92 WHERE year > 2005 AND opponent = "#8 arkansas #1 memphis"
where is the district where the incumbent is del latta?
CREATE TABLE table_1341598_36 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341598_36 WHERE incumbent = "Del Latta"
How many seasons was the losing team Adelaide City?
CREATE TABLE table_12028543_3 (season VARCHAR, losingteam VARCHAR)
SELECT COUNT(season) FROM table_12028543_3 WHERE losingteam = "Adelaide City"
What date has elke clijsters as the partner?
CREATE TABLE table_name_43 (date VARCHAR, partner VARCHAR)
SELECT date FROM table_name_43 WHERE partner = "elke clijsters"
What was the record when the high rebounds was david lee (8)
CREATE TABLE table_23248869_8 (record VARCHAR, high_rebounds VARCHAR)
SELECT record FROM table_23248869_8 WHERE high_rebounds = "David Lee (8)"
What state has the king title?
CREATE TABLE table_name_58 (state VARCHAR, title VARCHAR)
SELECT state FROM table_name_58 WHERE title = "king"
What is the highest rank when there are fewer than 124,296 passengers?
CREATE TABLE table_name_4 (rank INTEGER, passengers INTEGER)
SELECT MAX(rank) FROM table_name_4 WHERE passengers < 124 OFFSET 296
What is the maximum number of points scored against?
CREATE TABLE table_21991074_1 (pts_agst INTEGER)
SELECT MAX(pts_agst) FROM table_21991074_1
Name the time for georgia
CREATE TABLE table_26842217_10 (time VARCHAR, visiting_team VARCHAR)
SELECT time FROM table_26842217_10 WHERE visiting_team = "Georgia"
What was the attendance on May 26?
CREATE TABLE table_name_86 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_86 WHERE date = "may 26"
Name the District that has a Reserved for ( SC / ST /None) of none and a Constituency number of 242?
CREATE TABLE table_name_19 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
SELECT district FROM table_name_19 WHERE reserved_for___sc___st__none_ = "none" AND constituency_number = "242"
Name the position of glenn goldup
CREATE TABLE table_1965650_2 (position VARCHAR, player VARCHAR)
SELECT position FROM table_1965650_2 WHERE player = "Glenn Goldup"
What is the number of staterooms when guests was larger than 210?
CREATE TABLE table_name_28 (staterooms INTEGER, guests INTEGER)
SELECT AVG(staterooms) FROM table_name_28 WHERE guests > 210
When was Tomokazu Soma born who plays for the wild knights?
CREATE TABLE table_name_71 (date_of_birth__age_ VARCHAR, club_province VARCHAR, player VARCHAR)
SELECT date_of_birth__age_ FROM table_name_71 WHERE club_province = "wild knights" AND player = "tomokazu soma"
What is the human gene that has a mouse ortholog of LIG1?
CREATE TABLE table_name_27 (human_gene__protein_ VARCHAR, mouse_ortholog VARCHAR)
SELECT human_gene__protein_ FROM table_name_27 WHERE mouse_ortholog = "lig1"
What Race 3 is Round 5?
CREATE TABLE table_name_4 (race_3 VARCHAR, round VARCHAR)
SELECT race_3 FROM table_name_4 WHERE round = "round 5"
What was the number of US Viewers in the episode directed by Steve Shill and having a production code of E2102?
CREATE TABLE table_21781578_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR, production_code VARCHAR)
SELECT us_viewers__millions_ FROM table_21781578_2 WHERE directed_by = "Steve Shill" AND production_code = "E2102"
How many outcome have a score of 7–6 (9–7) , 6–3?
CREATE TABLE table_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR)
SELECT COUNT(outcome) FROM table_22834834_3 WHERE score_in_the_final = "7–6 (9–7) , 6–3"
Which Points have an Opponent of @ florida panthers, and a Game larger than 58?
CREATE TABLE table_name_17 (points INTEGER, opponent VARCHAR, game VARCHAR)
SELECT MIN(points) FROM table_name_17 WHERE opponent = "@ florida panthers" AND game > 58
What is the Elmers End with a 09:54 Bingham Road?
CREATE TABLE table_name_65 (elmers_end VARCHAR, bingham_road VARCHAR)
SELECT elmers_end FROM table_name_65 WHERE bingham_road = "09:54"
How many villians were in No. 25?
CREATE TABLE table_10470082_3 (villains VARCHAR, no VARCHAR)
SELECT COUNT(villains) FROM table_10470082_3 WHERE no = 25
How many points did South Melbourne score as the home team?
CREATE TABLE table_name_26 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_26 WHERE home_team = "south melbourne"
What team has less than 64 goals against, 101 goals for, and a Points 2 total of 63?
CREATE TABLE table_name_20 (team VARCHAR, goals_for VARCHAR, goals_against VARCHAR, points_2 VARCHAR)
SELECT team FROM table_name_20 WHERE goals_against < 64 AND points_2 = 63 AND goals_for = 101
What was the status of joon-hyung park 박준형?
CREATE TABLE table_name_58 (status VARCHAR, name VARCHAR)
SELECT status FROM table_name_58 WHERE name = "joon-hyung park 박준형"
What is Team, when Venue is "Şükrü Saracoğlu Stadium"?
CREATE TABLE table_name_4 (team VARCHAR, venue VARCHAR)
SELECT team FROM table_name_4 WHERE venue = "şükrü saracoğlu stadium"
How many 5K wins did Emily Chebet, who had more than 2 total, have?
CREATE TABLE table_name_14 (runner VARCHAR, total VARCHAR)
SELECT SUM(5 AS k_wins) FROM table_name_14 WHERE runner = "emily chebet" AND total > 2
What's Trina Gulliver's high checkout?
CREATE TABLE table_20351295_2 (high_checkout VARCHAR, player VARCHAR)
SELECT high_checkout FROM table_20351295_2 WHERE player = "Trina Gulliver"
Which tournament in 2013 had a 2010 finish of 1R?
CREATE TABLE table_name_44 (Id VARCHAR)
SELECT 2013 FROM table_name_44 WHERE 2006 = "a" AND 2010 = "1r"
What is every value for Under-17 if Under-15 is Maria Elena Ubina?
CREATE TABLE table_26368963_2 (under_17 VARCHAR, under_15 VARCHAR)
SELECT under_17 FROM table_26368963_2 WHERE under_15 = "Maria Elena Ubina"
How many FA Cup goals does George Yardley have?
CREATE TABLE table_name_59 (fa_cup_goals VARCHAR, scorer VARCHAR)
SELECT fa_cup_goals FROM table_name_59 WHERE scorer = "george yardley"
What is the category Anuya Bhagvath was nominated for at vijay award?
CREATE TABLE table_name_39 (ceremony VARCHAR, name VARCHAR, award VARCHAR, outcome VARCHAR)
SELECT ceremony FROM table_name_39 WHERE award = "vijay award" AND outcome = "nominated" AND name = "anuya bhagvath"
Which Total has a To par larger than 12?
CREATE TABLE table_name_17 (total INTEGER, to_par INTEGER)
SELECT MIN(total) FROM table_name_17 WHERE to_par > 12
What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9?
CREATE TABLE table_name_26 (final INTEGER, all_around VARCHAR, place VARCHAR, nation VARCHAR)
SELECT SUM(final) FROM table_name_26 WHERE place > 2 AND nation = "finland" AND all_around > 18.9
What County has a Median household income of $46,872?
CREATE TABLE table_name_36 (county VARCHAR, median_household_income VARCHAR)
SELECT county FROM table_name_36 WHERE median_household_income = "$46,872"
What is the highest planetary mass having an RV (cm/s) of 65 and a Period (days) less than 21?
CREATE TABLE table_name_5 (planetary_mass___m INTEGER, rv__cm_s_ VARCHAR, period__days_ VARCHAR)
SELECT MAX(planetary_mass___m) AS ⊕__ FROM table_name_5 WHERE rv__cm_s_ = 65 AND period__days_ < 21
How many times does Switzerland have under 7 golds and less than 3 silvers?
CREATE TABLE table_name_17 (total VARCHAR, silver VARCHAR, country VARCHAR, gold VARCHAR)
SELECT COUNT(total) FROM table_name_17 WHERE country = "switzerland" AND gold < 7 AND silver < 3
What is Record, when Score is 104-99?
CREATE TABLE table_name_55 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_55 WHERE score = "104-99"
What is the class for Geholfen Gedroschen in part 4?
CREATE TABLE table_name_26 (class VARCHAR, part_4 VARCHAR)
SELECT class FROM table_name_26 WHERE part_4 = "geholfen gedroschen"
What date did Paul Goldstein play the final?
CREATE TABLE table_name_69 (date VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_69 WHERE opponent_in_the_final = "paul goldstein"
What is the electoral district when total candidates were 35?
CREATE TABLE table_2676980_4 (electoral_district VARCHAR, total_candidates VARCHAR)
SELECT electoral_district FROM table_2676980_4 WHERE total_candidates = 35
Who was the presenter on Monday of "Big Brother 13" in which Alice Levine Jamie East presented on Sunday?
CREATE TABLE table_name_45 (monday VARCHAR, sunday VARCHAR, series VARCHAR)
SELECT monday FROM table_name_45 WHERE sunday = "alice levine jamie east" AND series = "big brother 13"
What's the predecessor of the Ekavian word vreme?
CREATE TABLE table_27730_9 (predecessor VARCHAR, ekavian VARCHAR)
SELECT predecessor FROM table_27730_9 WHERE ekavian = "vreme"
Name the tournament for arizona
CREATE TABLE table_11603267_1 (tournament VARCHAR, location VARCHAR)
SELECT tournament FROM table_11603267_1 WHERE location = "Arizona"
Name the Spike which has a Name of senna ušić-jogunica category:articles with hcards?
CREATE TABLE table_name_84 (spike VARCHAR, name VARCHAR)
SELECT spike FROM table_name_84 WHERE name = "senna ušić-jogunica category:articles with hcards"
What draft pick is a goaltender?
CREATE TABLE table_2897457_1 (pick__number VARCHAR, position VARCHAR)
SELECT pick__number FROM table_2897457_1 WHERE position = "Goaltender"
How many laps did BRM have with a grid of 11?
CREATE TABLE table_name_33 (laps VARCHAR, constructor VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_33 WHERE constructor = "brm" AND grid = 11
Who was the original artist of the Top 12 Men theme?
CREATE TABLE table_27614707_1 (original_artist VARCHAR, theme VARCHAR)
SELECT original_artist FROM table_27614707_1 WHERE theme = "Top 12 Men"
What is the name of the movie that is rated by most of times?
CREATE TABLE Rating (mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)
SELECT T2.title, T1.mID FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.mID ORDER BY COUNT(*) DESC LIMIT 1
Which accolade has USA as the country, with a year less than 2009?
CREATE TABLE table_name_61 (accolade VARCHAR, country VARCHAR, year VARCHAR)
SELECT accolade FROM table_name_61 WHERE country = "usa" AND year < 2009
What are the points for a chassis of march 811?
CREATE TABLE table_name_7 (pts INTEGER, chassis VARCHAR)
SELECT SUM(pts) FROM table_name_7 WHERE chassis = "march 811"
what's the tournament where winner is raymond floyd (1)
CREATE TABLE table_11622255_1 (tournament VARCHAR, winner VARCHAR)
SELECT tournament FROM table_11622255_1 WHERE winner = "Raymond Floyd (1)"
Return the minister who left office at the latest time.
CREATE TABLE party (minister VARCHAR, left_office VARCHAR)
SELECT minister FROM party ORDER BY left_office DESC LIMIT 1
What is the result in the virginia 11 district?
CREATE TABLE table_2668393_18 (result VARCHAR, district VARCHAR)
SELECT result FROM table_2668393_18 WHERE district = "Virginia 11"
what is the most recent date founded in elk county?
CREATE TABLE table_name_6 (date_founded INTEGER, county_or_counties VARCHAR)
SELECT MAX(date_founded) FROM table_name_6 WHERE county_or_counties = "elk county"
What is tuesday day three when thursday day five is kamis?
CREATE TABLE table_1277350_7 (tuesday_day_three VARCHAR, thursday_day_five VARCHAR)
SELECT tuesday_day_three FROM table_1277350_7 WHERE thursday_day_five = "Kamis"
Who has the lead on Lisa Weagle?
CREATE TABLE table_name_80 (skip VARCHAR, lead VARCHAR)
SELECT skip FROM table_name_80 WHERE lead = "lisa weagle"
In what place did the golfer that scored 66-74=140 finish?
CREATE TABLE table_name_19 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_19 WHERE score = 66 - 74 = 140
When falcons are the nickname what is the type?
CREATE TABLE table_262495_1 (type VARCHAR, nickname VARCHAR)
SELECT type FROM table_262495_1 WHERE nickname = "Falcons"
Which model had a Specification of dl-718?
CREATE TABLE table_name_98 (model VARCHAR, specification VARCHAR)
SELECT model FROM table_name_98 WHERE specification = "dl-718"
How many players are from Sioux City, Iowa?
CREATE TABLE table_14342367_13 (player VARCHAR, hometown VARCHAR)
SELECT COUNT(player) FROM table_14342367_13 WHERE hometown = "Sioux City, Iowa"
How many draws occurred when 25 points were scored?
CREATE TABLE table_18594107_1 (draws VARCHAR, scored VARCHAR)
SELECT COUNT(draws) FROM table_18594107_1 WHERE scored = 25
What is the home team of the game with a price decision and the new jersey devils as the visitor team?
CREATE TABLE table_name_51 (home VARCHAR, decision VARCHAR, visitor VARCHAR)
SELECT home FROM table_name_51 WHERE decision = "price" AND visitor = "new jersey devils"
What was the result when the record was 62–12?
CREATE TABLE table_name_75 (result VARCHAR, record VARCHAR)
SELECT result FROM table_name_75 WHERE record = "62–12"
What is the result for a year after 2003, when the nominee(s) is john wells?
CREATE TABLE table_name_64 (result VARCHAR, year VARCHAR, nominee_s_ VARCHAR)
SELECT result FROM table_name_64 WHERE year > 2003 AND nominee_s_ = "john wells"
List the position of players and the average number of points of players of each position.
CREATE TABLE player (POSITION VARCHAR, Points INTEGER)
SELECT POSITION, AVG(Points) FROM player GROUP BY POSITION
What country was Brage, built by karljohansverns verft, from?
CREATE TABLE table_name_23 (country VARCHAR, builder VARCHAR, ship VARCHAR)
SELECT country FROM table_name_23 WHERE builder = "karljohansverns verft" AND ship = "brage"