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