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