question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
Name the result for barney frank | CREATE TABLE table_25030512_24 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_25030512_24 WHERE incumbent = "Barney Frank" |
Name the candidates for first elected being 1976 | CREATE TABLE table_25030512_24 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_25030512_24 WHERE first_elected = "1976" |
Name the total number of districts for first elected being 1998 | CREATE TABLE table_25030512_24 (district VARCHAR, first_elected VARCHAR) | SELECT COUNT(district) FROM table_25030512_24 WHERE first_elected = "1998" |
Name the result for 1998 | CREATE TABLE table_25030512_24 (result VARCHAR, first_elected VARCHAR) | SELECT result FROM table_25030512_24 WHERE first_elected = "1998" |
Name the candidates for 1998 | CREATE TABLE table_25030512_24 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_25030512_24 WHERE first_elected = "1998" |
Who is the driver of the Chevrolet engine that is sponsored by godaddy.com? | CREATE TABLE table_2503102_1 (driver_s_ VARCHAR, engine VARCHAR, car_sponsor_s_ VARCHAR) | SELECT driver_s_ FROM table_2503102_1 WHERE engine = "Chevrolet" AND car_sponsor_s_ = "GoDaddy.com" |
What engine does the Fuzzy's Ultra Premium Vodka sponsored car use? | CREATE TABLE table_2503102_1 (engine VARCHAR, car_sponsor_s_ VARCHAR) | SELECT engine FROM table_2503102_1 WHERE car_sponsor_s_ = "Fuzzy's Ultra Premium Vodka" |
What engine doe the Ed Carpenter Racing team use? | CREATE TABLE table_2503102_1 (engine VARCHAR, team VARCHAR) | SELECT engine FROM table_2503102_1 WHERE team = "Ed Carpenter Racing" |
What team is sponsored by hydroxycut? | CREATE TABLE table_2503102_1 (team VARCHAR, car_sponsor_s_ VARCHAR) | SELECT team FROM table_2503102_1 WHERE car_sponsor_s_ = "HydroxyCut" |
What percentage of the population is below 50% of the median income in the region where 10.4% of the population earns below 40% of the median income? | CREATE TABLE table_25042332_16 (below_50_percentage_of_median_income VARCHAR, below_40_percentage_of_median_income VARCHAR) | SELECT COUNT(below_50_percentage_of_median_income) FROM table_25042332_16 WHERE below_40_percentage_of_median_income = "10.4%" |
What is the median income for the region where 24.4% pf people make below 60% of the median income? | CREATE TABLE table_25042332_16 (median_income___intl INTEGER, below_60_percentage_of_median_income VARCHAR) | SELECT MIN(median_income___intl) AS $__ FROM table_25042332_16 WHERE below_60_percentage_of_median_income = "24.4%" |
What is the median income of Maule? | CREATE TABLE table_25042332_16 (median_income___intl INTEGER, region VARCHAR) | SELECT MIN(median_income___intl) AS $__ FROM table_25042332_16 WHERE region = "Maule" |
In what region does 17.4% of the population make below 50% of the median income? | CREATE TABLE table_25042332_16 (region VARCHAR, below_50_percentage_of_median_income VARCHAR) | SELECT region FROM table_25042332_16 WHERE below_50_percentage_of_median_income = "17.4%" |
In what region do 18.6% of the people make less than 50% of the median income? | CREATE TABLE table_25042332_16 (region VARCHAR, below_50_percentage_of_median_income VARCHAR) | SELECT region FROM table_25042332_16 WHERE below_50_percentage_of_median_income = "18.6%" |
What is the gdp per capita in 2008 for the region that had a combined gross enrollment ration of 89.0? | CREATE TABLE table_25042332_33 (gdp__ppp__per_capita__2008_ INTEGER, combined_gross_enrollment_ratio__2009_ VARCHAR) | SELECT MIN(gdp__ppp__per_capita__2008_) FROM table_25042332_33 WHERE combined_gross_enrollment_ratio__2009_ = "89.0" |
Which region had a life expectancy at birth of 77.9 from 2001-2002? | CREATE TABLE table_25042332_33 (region VARCHAR, life_expectancy_at_birth__2001_2002_ VARCHAR) | SELECT region FROM table_25042332_33 WHERE life_expectancy_at_birth__2001_2002_ = "77.9" |
What is the gdp per capita in 2008 for the region with a combined gross enrollment ratio of 86.6 in 2009? | CREATE TABLE table_25042332_33 (gdp__ppp__per_capita__2008_ INTEGER, combined_gross_enrollment_ratio__2009_ VARCHAR) | SELECT MAX(gdp__ppp__per_capita__2008_) FROM table_25042332_33 WHERE combined_gross_enrollment_ratio__2009_ = "86.6" |
How many regions had an hdi of 0.896? | CREATE TABLE table_25042332_33 (combined_gross_enrollment_ratio__2009_ VARCHAR, hdi VARCHAR) | SELECT COUNT(combined_gross_enrollment_ratio__2009_) FROM table_25042332_33 WHERE hdi = "0.896" |
How many regions had a life expectancy at birth in 2001-2002 of 75.9? | CREATE TABLE table_25042332_33 (hdi VARCHAR, life_expectancy_at_birth__2001_2002_ VARCHAR) | SELECT COUNT(hdi) FROM table_25042332_33 WHERE life_expectancy_at_birth__2001_2002_ = "75.9" |
In which season is the runner-up Lase-R/Riga? | CREATE TABLE table_25058269_1 (season VARCHAR, runner_up VARCHAR) | SELECT season FROM table_25058269_1 WHERE runner_up = "Lase-R/Riga" |
In season 2007–08 who is the runner-up? | CREATE TABLE table_25058269_1 (runner_up VARCHAR, season VARCHAR) | SELECT runner_up FROM table_25058269_1 WHERE season = "2007–08" |
Who is the runner-up for season 2011–12? | CREATE TABLE table_25058269_1 (runner_up VARCHAR, season VARCHAR) | SELECT runner_up FROM table_25058269_1 WHERE season = "2011–12" |
In season 2005–06, who is 3rd place? | CREATE TABLE table_25058269_1 (season VARCHAR) | SELECT 3 AS rd_place FROM table_25058269_1 WHERE season = "2005–06" |
What draft pick number did Kentucky get? | CREATE TABLE table_25085059_1 (pick__number INTEGER, college VARCHAR) | SELECT MIN(pick__number) FROM table_25085059_1 WHERE college = "Kentucky" |
What position was the number 6 draft pick? | CREATE TABLE table_25085059_1 (position VARCHAR, pick__number VARCHAR) | SELECT position FROM table_25085059_1 WHERE pick__number = 6 |
What CFL team obtained a draft pick from North Dakota who plays OL position? | CREATE TABLE table_25085059_1 (cfl_team VARCHAR, position VARCHAR, college VARCHAR) | SELECT cfl_team FROM table_25085059_1 WHERE position = "OL" AND college = "North Dakota" |
What college did the Toronto Argonauts draft pick come from? | CREATE TABLE table_25085059_1 (college VARCHAR, cfl_team VARCHAR) | SELECT college FROM table_25085059_1 WHERE cfl_team = "Toronto Argonauts" |
What player was the number 1 draft pick? | CREATE TABLE table_25085059_1 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_25085059_1 WHERE pick__number = 1 |
What CFL team got their draft pick from North Dakota? | CREATE TABLE table_25085059_1 (cfl_team VARCHAR, college VARCHAR) | SELECT cfl_team FROM table_25085059_1 WHERE college = "North Dakota" |
Which player went to college at Tennessee? | CREATE TABLE table_2508633_3 (player VARCHAR, college VARCHAR) | SELECT player FROM table_2508633_3 WHERE college = "Tennessee" |
Who was drafted by the Kansas City Chiefs? | CREATE TABLE table_2508633_3 (player VARCHAR, nfl_team VARCHAR) | SELECT player FROM table_2508633_3 WHERE nfl_team = "Kansas City Chiefs" |
Who was drafted by the Baltimore Colts? | CREATE TABLE table_2508633_3 (player VARCHAR, nfl_team VARCHAR) | SELECT player FROM table_2508633_3 WHERE nfl_team = "Baltimore Colts" |
If the NFL team is the Minnesota Vikings, what is the position? | CREATE TABLE table_2508633_8 (position VARCHAR, nfl_team VARCHAR) | SELECT position FROM table_2508633_8 WHERE nfl_team = "Minnesota Vikings" |
What is the pick number if the player is Gary Kubiak? | CREATE TABLE table_2508633_8 (pick__number VARCHAR, player VARCHAR) | SELECT pick__number FROM table_2508633_8 WHERE player = "Gary Kubiak" |
What is the pick number minimum if the player is Mark Bortz? | CREATE TABLE table_2508633_8 (pick__number INTEGER, player VARCHAR) | SELECT MIN(pick__number) FROM table_2508633_8 WHERE player = "Mark Bortz" |
what is the pick number minimum if the NFL team is the San Diego Chargers? | CREATE TABLE table_2508633_8 (pick__number INTEGER, nfl_team VARCHAR) | SELECT MIN(pick__number) FROM table_2508633_8 WHERE nfl_team = "San Diego Chargers" |
What is the highest season# for the writer Daegan Fryklind? | CREATE TABLE table_25131572_3 (season__number INTEGER, written_by VARCHAR) | SELECT MAX(season__number) FROM table_25131572_3 WHERE written_by = "Daegan Fryklind" |
Who voiced Drizella in the English version? | CREATE TABLE table_25173505_15 (english_version VARCHAR, character VARCHAR) | SELECT english_version FROM table_25173505_15 WHERE character = "Drizella" |
Name the name of bowl for 2006 season | CREATE TABLE table_2517159_1 (name_of_bowl VARCHAR, last_appearance VARCHAR) | SELECT COUNT(name_of_bowl) FROM table_2517159_1 WHERE last_appearance = "2006 Season" |
Name the last appearance for music city bowl | CREATE TABLE table_2517159_1 (last_appearance VARCHAR, name_of_bowl VARCHAR) | SELECT last_appearance FROM table_2517159_1 WHERE name_of_bowl = "Music City Bowl" |
Name the record for cotton bowl classic | CREATE TABLE table_2517159_1 (record VARCHAR, name_of_bowl VARCHAR) | SELECT record FROM table_2517159_1 WHERE name_of_bowl = "Cotton Bowl Classic" |
Name the appearance for independence bowl | CREATE TABLE table_2517159_1 (appearances VARCHAR, name_of_bowl VARCHAR) | SELECT COUNT(appearances) FROM table_2517159_1 WHERE name_of_bowl = "Independence Bowl" |
On the Circuit Zolder who was the winning team? | CREATE TABLE table_25213146_2 (winning_team VARCHAR, circuit VARCHAR) | SELECT winning_team FROM table_25213146_2 WHERE circuit = "circuit Zolder" |
In what circuit was Bruno Spengler the winning driver? | CREATE TABLE table_25213146_2 (circuit VARCHAR, winning_driver VARCHAR) | SELECT circuit FROM table_25213146_2 WHERE winning_driver = "Bruno Spengler" |
How many Pole Positions were there on 30 March? | CREATE TABLE table_25213146_2 (pole_position VARCHAR, date VARCHAR) | SELECT COUNT(pole_position) FROM table_25213146_2 WHERE date = "30 March" |
Where was the circuit for round 4? | CREATE TABLE table_25213146_2 (circuit VARCHAR, round VARCHAR) | SELECT circuit FROM table_25213146_2 WHERE round = 4 |
On what date(s) was the winning team Prema Powerteam? | CREATE TABLE table_25213146_2 (date VARCHAR, winning_team VARCHAR) | SELECT date FROM table_25213146_2 WHERE winning_team = "Prema Powerteam" |
Name the bed 2010 for 6.5% | CREATE TABLE table_25256368_1 (february_2010 VARCHAR, june_2010 VARCHAR) | SELECT february_2010 FROM table_25256368_1 WHERE june_2010 = "6.5%" |
Name the feb 2010 for january 2010 for 6.2% | CREATE TABLE table_25256368_1 (february_2010 VARCHAR, january_2010 VARCHAR) | SELECT february_2010 FROM table_25256368_1 WHERE january_2010 = "6.2%" |
How many people directed episode 3 in the season? | CREATE TABLE table_25277262_2 (directed_by VARCHAR, no_in_season VARCHAR) | SELECT COUNT(directed_by) FROM table_25277262_2 WHERE no_in_season = 3 |
If the writer is Mark Fink, who is the director? | CREATE TABLE table_25277262_2 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_25277262_2 WHERE written_by = "Mark Fink" |
What is the name of the episode # 11 in the season? | CREATE TABLE table_25277262_2 (title VARCHAR, no_in_season VARCHAR) | SELECT title FROM table_25277262_2 WHERE no_in_season = 11 |
Who was the director of episode 11 based on season? | CREATE TABLE table_25277296_2 (directed_by VARCHAR, no_in_season VARCHAR) | SELECT directed_by FROM table_25277296_2 WHERE no_in_season = 11 |
Name the reidsville for enrollment | CREATE TABLE table_25330991_3 (reidsville VARCHAR, information VARCHAR) | SELECT reidsville FROM table_25330991_3 WHERE information = "Enrollment" |
Name the james e. holmes for erselle young | CREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, reidsville VARCHAR) | SELECT james_e_holmes FROM table_25330991_3 WHERE reidsville = "Erselle Young" |
Name the james e. holmes for duane hensley | CREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, western_rockingham_middle_school VARCHAR) | SELECT james_e_holmes FROM table_25330991_3 WHERE western_rockingham_middle_school = "Duane Hensley" |
Name the james e. holmes for joe baez | CREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, rockingham_county VARCHAR) | SELECT james_e_holmes FROM table_25330991_3 WHERE rockingham_county = "Joe Baez" |
Name the time for entries being 907 | CREATE TABLE table_2534387_10 (time__et_ VARCHAR, entries VARCHAR) | SELECT time__et_ FROM table_2534387_10 WHERE entries = "907" |
Name the entries for 6 h 23 min elapsed time | CREATE TABLE table_2534387_10 (entries VARCHAR, elapsed_time VARCHAR) | SELECT entries FROM table_2534387_10 WHERE elapsed_time = "6 h 23 min" |
Name the prize pool for 706 (481 r, 346 a) | CREATE TABLE table_2534387_10 (prize VARCHAR, entries VARCHAR) | SELECT prize AS Pool FROM table_2534387_10 WHERE entries = "706 (481 R, 346 A)" |
What are the dates of death of those politicians whose date of birth 1938-08-30 30 august 1938? | CREATE TABLE table_25345002_1 (date_of_death VARCHAR, date_of_birth VARCHAR) | SELECT COUNT(date_of_death) FROM table_25345002_1 WHERE date_of_birth = "1938-08-30 30 August 1938" |
If the event number is 5, what is the winner total number? | CREATE TABLE table_2534387_11 (winner VARCHAR, event__number VARCHAR) | SELECT COUNT(winner) FROM table_2534387_11 WHERE event__number = 5 |
What is the prize pool if the entries is 1,132? | CREATE TABLE table_2534387_11 (prize VARCHAR, entries VARCHAR) | SELECT prize AS Pool FROM table_2534387_11 WHERE entries = "1,132" |
Name the least season # for the first time | CREATE TABLE table_25363904_2 (season__number INTEGER, title_english VARCHAR) | SELECT MIN(season__number) FROM table_25363904_2 WHERE title_english = "The first time" |
Name the least season number for two marriage proposals | CREATE TABLE table_25363904_2 (season__number INTEGER, title_english VARCHAR) | SELECT MIN(season__number) FROM table_25363904_2 WHERE title_english = "Two marriage proposals" |
What number episode was Week 4, Part 1? | CREATE TABLE table_25391981_20 (episode_number VARCHAR, episode VARCHAR) | SELECT episode_number FROM table_25391981_20 WHERE episode = "Week 4, Part 1" |
For what episode was the rating/share for 18-49 at 2.8/8 | CREATE TABLE table_25391981_20 (episode VARCHAR, rating VARCHAR) | SELECT episode FROM table_25391981_20 WHERE rating / SHARE(18 AS –49) = 2.8 / 8 |
What number episode was Week 4, Part 2? | CREATE TABLE table_25391981_20 (episode_number VARCHAR, episode VARCHAR) | SELECT episode_number FROM table_25391981_20 WHERE episode = "Week 4, Part 2" |
How many viewers in millions watched the episode with the number 10.18? | CREATE TABLE table_25391981_20 (viewers__millions_ VARCHAR, episode_number VARCHAR) | SELECT viewers__millions_ FROM table_25391981_20 WHERE episode_number = "10.18" |
What is the rating/share for 18-49 for Week 6, Part 1? | CREATE TABLE table_25391981_20 (rating VARCHAR, episode VARCHAR) | SELECT rating / SHARE(18 AS –49) FROM table_25391981_20 WHERE episode = "Week 6, Part 1" |
What is the weekly rank of the episode with a 14 share whose original airdate was April 20, 2010? | CREATE TABLE table_25391981_20 (weekly_rank VARCHAR, share VARCHAR, original_airdate VARCHAR) | SELECT weekly_rank FROM table_25391981_20 WHERE share = "14" AND original_airdate = "April 20, 2010" |
What is the form ("to sing") when brazilian portuguese is [kɐ̃ˈtẽmus]? | CREATE TABLE table_25401_2 (form__to_sing_ VARCHAR, brazilian_portuguese VARCHAR) | SELECT form__to_sing_ FROM table_25401_2 WHERE brazilian_portuguese = "[kɐ̃ˈtẽmus]" |
what is romanian when nuorese sardinian is [ˈkantata]? | CREATE TABLE table_25401_2 (romanian VARCHAR, nuorese_sardinian VARCHAR) | SELECT romanian FROM table_25401_2 WHERE nuorese_sardinian = "[ˈkantata]" |
what is romanian when nuorese sardinian is [ˈkantaza]? | CREATE TABLE table_25401_2 (romanian VARCHAR, nuorese_sardinian VARCHAR) | SELECT romanian FROM table_25401_2 WHERE nuorese_sardinian = "[ˈkantaza]" |
What were the results when Hanne Skak Jensen faced Andreja Klepač as opponent? | CREATE TABLE table_25505246_7 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_25505246_7 WHERE opponent = "Andreja Klepač" |
Who was Hanne Skak Jensen's opponent when facing Belarus? | CREATE TABLE table_25505246_7 (opponent VARCHAR, against VARCHAR) | SELECT opponent FROM table_25505246_7 WHERE against = "Belarus" |
What kind of round was played when Hanne Skak Jensen faced Austria? | CREATE TABLE table_25505246_7 (round VARCHAR, against VARCHAR) | SELECT round FROM table_25505246_7 WHERE against = "Austria" |
What were the round results when Hanne Skak Jensen faced Austria? | CREATE TABLE table_25505246_7 (result VARCHAR, against VARCHAR) | SELECT result FROM table_25505246_7 WHERE against = "Austria" |
How many touchdowns does Boggs have? | CREATE TABLE table_25517718_3 (touchdowns INTEGER, player VARCHAR) | SELECT MIN(touchdowns) FROM table_25517718_3 WHERE player = "Boggs" |
Is the right halfback player a starter? | CREATE TABLE table_25517718_3 (starter VARCHAR, position VARCHAR) | SELECT starter FROM table_25517718_3 WHERE position = "Right halfback" |
What position does Boggs play? | CREATE TABLE table_25517718_3 (position VARCHAR, player VARCHAR) | SELECT position FROM table_25517718_3 WHERE player = "Boggs" |
What is the smallest number of extra points for a left halfback? | CREATE TABLE table_25517718_3 (extra_points INTEGER, position VARCHAR) | SELECT MIN(extra_points) FROM table_25517718_3 WHERE position = "Left halfback" |
What is the smallest number of extra points? | CREATE TABLE table_25517718_3 (extra_points INTEGER) | SELECT MIN(extra_points) FROM table_25517718_3 |
How many starters are there at right tackle? | CREATE TABLE table_25517718_3 (starter VARCHAR, position VARCHAR) | SELECT COUNT(starter) FROM table_25517718_3 WHERE position = "Right tackle" |
How many mls teams had player jamel wallace? | CREATE TABLE table_25518547_4 (mls_team VARCHAR, player VARCHAR) | SELECT COUNT(mls_team) FROM table_25518547_4 WHERE player = "Jamel Wallace" |
What university is kwaku nyamekye affiliated with? | CREATE TABLE table_25518547_4 (affiliation VARCHAR, player VARCHAR) | SELECT affiliation FROM table_25518547_4 WHERE player = "Kwaku Nyamekye" |
What university is houston dynamo affiliated with? | CREATE TABLE table_25518547_4 (affiliation VARCHAR, mls_team VARCHAR) | SELECT affiliation FROM table_25518547_4 WHERE mls_team = "Houston Dynamo" |
What is the position of pick # 63? | CREATE TABLE table_25518547_4 (position VARCHAR, pick__number VARCHAR) | SELECT position FROM table_25518547_4 WHERE pick__number = 63 |
How many players are affiliated with indiana university? | CREATE TABLE table_25518547_4 (player VARCHAR, affiliation VARCHAR) | SELECT COUNT(player) FROM table_25518547_4 WHERE affiliation = "Indiana University" |
When was the earliest season of Juncadella's career? | CREATE TABLE table_25538763_1 (season INTEGER) | SELECT MIN(season) FROM table_25538763_1 |
How many pole data were given on season 2012 with 252 points? | CREATE TABLE table_25538763_1 (poles VARCHAR, season VARCHAR, points VARCHAR) | SELECT COUNT(poles) FROM table_25538763_1 WHERE season = 2012 AND points = "252" |
How many wins did Prema Powerteam won with 240 points? | CREATE TABLE table_25538763_1 (wins VARCHAR, team VARCHAR, points VARCHAR) | SELECT wins FROM table_25538763_1 WHERE team = "Prema Powerteam" AND points = "240" |
What is the latest season where he had 1 podium? | CREATE TABLE table_25539502_1 (season INTEGER, podiums VARCHAR) | SELECT MAX(season) FROM table_25539502_1 WHERE podiums = 1 |
What was his position when the team was FMS International? | CREATE TABLE table_25539502_1 (position VARCHAR, team VARCHAR) | SELECT position FROM table_25539502_1 WHERE team = "FMS International" |
What is the smallest number of races competed in with 11 podiums? | CREATE TABLE table_25539502_1 (races INTEGER, podiums VARCHAR) | SELECT MIN(races) FROM table_25539502_1 WHERE podiums = 11 |
List the total points for the 1st place team. | CREATE TABLE table_25561038_1 (points VARCHAR, position VARCHAR) | SELECT points FROM table_25561038_1 WHERE position = "1st" |
List the year in which the driver was in 1st place. | CREATE TABLE table_25561038_1 (season VARCHAR, position VARCHAR) | SELECT season FROM table_25561038_1 WHERE position = "1st" |
How many series awarded 15 points? | CREATE TABLE table_25561038_1 (races VARCHAR, points VARCHAR) | SELECT COUNT(races) FROM table_25561038_1 WHERE points = "15" |
List the highest number of laps. | CREATE TABLE table_25561038_1 (f_laps INTEGER) | SELECT MAX(f_laps) FROM table_25561038_1 |
List the team with 12 points. | CREATE TABLE table_25561038_1 (team VARCHAR, points VARCHAR) | SELECT team FROM table_25561038_1 WHERE points = "12" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.