question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
what is the least number of podiums for a formula BMW Americas series?
CREATE TABLE table_24330803_1 (podiums INTEGER, series VARCHAR)
SELECT MIN(podiums) FROM table_24330803_1 WHERE series = "Formula BMW Americas"
What kind of sockets does a 2100MHz Athlon X2 QL-64 use?
CREATE TABLE table_27277284_27 (socket VARCHAR, frequency VARCHAR, model_number VARCHAR)
SELECT socket FROM table_27277284_27 WHERE frequency = "2100MHz" AND model_number = "Athlon X2 QL-64"
Who attended Columbia law school and was appointed in 2004?
CREATE TABLE table_name_30 (name VARCHAR, law_school_attended VARCHAR, appointed VARCHAR)
SELECT name FROM table_name_30 WHERE law_school_attended = "columbia law school" AND appointed = 2004
What is the enrollment for the colors green & black?
CREATE TABLE table_261927_1 (enrollment VARCHAR, colors VARCHAR)
SELECT enrollment FROM table_261927_1 WHERE colors = "Green & Black"
How many games are shown when the is location attendance is phog allen fieldhouse , lawrence, ks (16,300)?
CREATE TABLE table_30054758_3 (game VARCHAR, location_attendance VARCHAR)
SELECT COUNT(game) FROM table_30054758_3 WHERE location_attendance = "Phog Allen Fieldhouse , Lawrence, KS (16,300)"
How many professionals did not operate any treatment on dogs?
CREATE TABLE Professionals (professional_id VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR)
SELECT COUNT(*) FROM Professionals WHERE NOT professional_id IN (SELECT professional_id FROM Treatments)
tell how many wins there was when the score was 490
CREATE TABLE table_14070062_4 (won VARCHAR, points_for VARCHAR)
SELECT COUNT(won) FROM table_14070062_4 WHERE points_for = "490"
Where is pine valley?
CREATE TABLE table_name_23 (location VARCHAR, name VARCHAR)
SELECT location FROM table_name_23 WHERE name = "pine valley"
What Russian has a Ratio of 40?
CREATE TABLE table_name_60 (russian VARCHAR, ratio VARCHAR)
SELECT russian FROM table_name_60 WHERE ratio = "40"
What is the 2010 value with a 1r in 2012 and an A in 2005?
CREATE TABLE table_name_75 (Id VARCHAR)
SELECT 2010 FROM table_name_75 WHERE 2012 = "1r" AND 2005 = "a"
How many players have an affiliation with University of Maryland?
CREATE TABLE table_25518547_2 (player VARCHAR, affiliation VARCHAR)
SELECT COUNT(player) FROM table_25518547_2 WHERE affiliation = "University of Maryland"
What is the lowest average parish size with 47.2% of adherents and 4,936 regular attendees?
CREATE TABLE table_name_25 (average_parish_size INTEGER, _percentage_of_adherents VARCHAR, regular_attendees VARCHAR)
SELECT MIN(average_parish_size) FROM table_name_25 WHERE _percentage_of_adherents = "47.2%" AND regular_attendees > 4 OFFSET 936
Who is the presenter of the episode broadcast in the UK on 1996-09-25?
CREATE TABLE table_name_45 (presenter VARCHAR, uk_broadcast_date VARCHAR)
SELECT presenter FROM table_name_45 WHERE uk_broadcast_date = "1996-09-25"
What is the nationality of th player who's school is Clemson?
CREATE TABLE table_15621965_16 (nationality VARCHAR, school_club_team VARCHAR)
SELECT nationality FROM table_15621965_16 WHERE school_club_team = "Clemson"
Which Visitor has a Decision of osgood, and a Date of february 15?
CREATE TABLE table_name_63 (visitor VARCHAR, decision VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_63 WHERE decision = "osgood" AND date = "february 15"
A Round larger than 1, a College of Oklahoma state, and a average Pick # that has a Position of tight end is what?
CREATE TABLE table_name_44 (pick__number INTEGER, round VARCHAR, position VARCHAR, college VARCHAR)
SELECT AVG(pick__number) FROM table_name_44 WHERE position = "tight end" AND college = "oklahoma state" AND round > 1
What's sawyer hannay's total pick number?
CREATE TABLE table_name_39 (pick__number VARCHAR, player VARCHAR)
SELECT COUNT(pick__number) FROM table_name_39 WHERE player = "sawyer hannay"
What episode number in the season had 1.05 million U.S. viewers?
CREATE TABLE table_26136228_3 (episode_no INTEGER, us_viewers__millions_ VARCHAR)
SELECT MAX(episode_no) FROM table_26136228_3 WHERE us_viewers__millions_ = "1.05"
Who were the Paraguay scorers on June 15, 2008?
CREATE TABLE table_name_1 (paraguay_scorers VARCHAR, date VARCHAR)
SELECT paraguay_scorers FROM table_name_1 WHERE date = "june 15, 2008"
Serbia has a heat less than 2 and what sum of rank?
CREATE TABLE table_name_38 (rank VARCHAR, nationality VARCHAR, heat VARCHAR)
SELECT COUNT(rank) FROM table_name_38 WHERE nationality = "serbia" AND heat < 2
Which Year has a Rank of 25?
CREATE TABLE table_name_64 (year VARCHAR, rank VARCHAR)
SELECT year FROM table_name_64 WHERE rank = "25"
What is the 1st round with fc nantes (d1) as team 1?
CREATE TABLE table_name_25 (team_1 VARCHAR)
SELECT 1 AS st_round FROM table_name_25 WHERE team_1 = "fc nantes (d1)"
Who narrated the lap-by-lap to a 13.4 million audience?
CREATE TABLE table_11691212_2 (lap_by_lap VARCHAR, viewers VARCHAR)
SELECT lap_by_lap FROM table_11691212_2 WHERE viewers = "13.4 million"
What's the date in the United Kingdom having a catalog of reveal50cd/lp?
CREATE TABLE table_name_3 (date VARCHAR, catalog VARCHAR, region VARCHAR)
SELECT date FROM table_name_3 WHERE catalog = "reveal50cd/lp" AND region = "united kingdom"
What movie was made in 1957?
CREATE TABLE table_name_75 (movie_title VARCHAR, year VARCHAR)
SELECT movie_title FROM table_name_75 WHERE year = 1957
Name the mountains classification for rabobank and damiano cunego
CREATE TABLE table_29077342_19 (mountains_classification VARCHAR, team_classification VARCHAR, general_classification VARCHAR)
SELECT mountains_classification FROM table_29077342_19 WHERE team_classification = "Rabobank" AND general_classification = "Damiano Cunego"
What is the smallest Pick with Overall of 244?
CREATE TABLE table_name_33 (pick INTEGER, overall VARCHAR)
SELECT MIN(pick) FROM table_name_33 WHERE overall = 244
What is the project id and detail for the project with at least two documents?
CREATE TABLE Projects (project_id VARCHAR, project_details VARCHAR); CREATE TABLE Documents (project_id VARCHAR)
SELECT T1.project_id, T1.project_details FROM Projects AS T1 JOIN Documents AS T2 ON T1.project_id = T2.project_id GROUP BY T1.project_id HAVING COUNT(*) > 2
what is the wind speed when brenda morehead was in the united states?
CREATE TABLE table_name_16 (wind__m_s_ INTEGER, nation VARCHAR, athlete VARCHAR)
SELECT MIN(wind__m_s_) FROM table_name_16 WHERE nation = "united states" AND athlete = "brenda morehead"
What is the series number that had 5.31 million viewers?
CREATE TABLE table_25548213_1 (series__number INTEGER, us_viewers__million_ VARCHAR)
SELECT MAX(series__number) FROM table_25548213_1 WHERE us_viewers__million_ = "5.31"
What seat does плоцкая губерния hold?
CREATE TABLE table_11614581_3 (seat VARCHAR, name_in_russian VARCHAR)
SELECT seat FROM table_11614581_3 WHERE name_in_russian = "Плоцкая губерния"
Find the patient who has the most recent undergoing treatment?
CREATE TABLE undergoes (patient VARCHAR, dateundergoes VARCHAR)
SELECT patient FROM undergoes ORDER BY dateundergoes LIMIT 1
What Score has a Place of t6, a Country of united states, and a Player of fred couples?
CREATE TABLE table_name_7 (score VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)
SELECT score FROM table_name_7 WHERE place = "t6" AND country = "united states" AND player = "fred couples"
What is the total number of goals for when the drawn is less than 7, less than 21 games have been lost, and there are 1 of 33 points?
CREATE TABLE table_name_33 (goals_for VARCHAR, points_1 VARCHAR, drawn VARCHAR, lost VARCHAR)
SELECT COUNT(goals_for) FROM table_name_33 WHERE drawn < 7 AND lost < 21 AND points_1 = "33"
What was the result of the game with a score of 4-1?
CREATE TABLE table_name_65 (result VARCHAR, score VARCHAR)
SELECT result FROM table_name_65 WHERE score = "4-1"
List all artists with choreographer Marcos Aguirre and a simple rating.
CREATE TABLE table_27711947_1 (artist VARCHAR, choreographer VARCHAR, rating VARCHAR)
SELECT artist FROM table_27711947_1 WHERE choreographer = "Marcos Aguirre" AND rating = "Simple"
How many players belong to Notre Dame?
CREATE TABLE table_15621965_7 (player VARCHAR, school_club_team VARCHAR)
SELECT COUNT(player) FROM table_15621965_7 WHERE school_club_team = "Notre Dame"
Tell me the greatest att with an avg of 4.3
CREATE TABLE table_name_91 (att INTEGER, avg VARCHAR)
SELECT MAX(att) FROM table_name_91 WHERE avg = 4.3
Which label has a year older than 2004 and a 2xcd detail as well as the sonic seducer cold hands seduction vol. 69 title?
CREATE TABLE table_name_88 (label VARCHAR, title VARCHAR, year VARCHAR, details VARCHAR)
SELECT label FROM table_name_88 WHERE year > 2004 AND details = "2xcd" AND title = "sonic seducer cold hands seduction vol. 69"
who is the home team when the away team is bolton wanderers?
CREATE TABLE table_name_12 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_12 WHERE away_team = "bolton wanderers"
What was the resultado when E.E.U.U was the country?
CREATE TABLE table_27501971_2 (resultado VARCHAR, country VARCHAR)
SELECT resultado FROM table_27501971_2 WHERE country = "E.E.U.U"
What is the date of Super G in the 2010 season?
CREATE TABLE table_name_50 (date VARCHAR, discipline VARCHAR, season VARCHAR)
SELECT date FROM table_name_50 WHERE discipline = "super g" AND season = 2010
What shows for simplified when the density is 52?
CREATE TABLE table_name_13 (simplified VARCHAR, density VARCHAR)
SELECT simplified FROM table_name_13 WHERE density = "52"
What is the record for the game when the loss was hargan (14–13)?
CREATE TABLE table_name_84 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_84 WHERE loss = "hargan (14–13)"
What kind of Free or pay has Years of 2006– and a Provider of bt tv (formerly bt vision)?
CREATE TABLE table_name_26 (free_or_pay VARCHAR, years VARCHAR, provider VARCHAR)
SELECT free_or_pay FROM table_name_26 WHERE years = "2006–" AND provider = "bt tv (formerly bt vision)"
what is the road numbers when the builder is alco, the railroad (quantity) is union pacific railroad (105) and the class is csa-2?
CREATE TABLE table_name_8 (road_numbers VARCHAR, class VARCHAR, builder VARCHAR, railroad__quantity_ VARCHAR)
SELECT road_numbers FROM table_name_8 WHERE builder = "alco" AND railroad__quantity_ = "union pacific railroad (105)" AND class = "csa-2"
What is in 2007 has 2004 olympic games?
CREATE TABLE table_name_16 (Id VARCHAR)
SELECT 2007 FROM table_name_16 WHERE 2004 = "olympic games"
What is the tournament in 2012 results that has a 2003 results of 2r and played at Wimbledon?
CREATE TABLE table_name_6 (tournament VARCHAR)
SELECT 2012 FROM table_name_6 WHERE 2003 = "2r" AND tournament = "wimbledon"
Which Rank has a Gold of 3, and a Bronze of 4, and a Total larger than 8?
CREATE TABLE table_name_91 (rank INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT MIN(rank) FROM table_name_91 WHERE gold = 3 AND bronze = 4 AND total > 8
What are the nationalities of the player picked from Thunder Bay Flyers (ushl)
CREATE TABLE table_1013129_2 (nationality VARCHAR, college_junior_club_team VARCHAR)
SELECT nationality FROM table_1013129_2 WHERE college_junior_club_team = "Thunder Bay Flyers (USHL)"
Which Record has a Week smaller than 15, and an Opponent of at new york jets?
CREATE TABLE table_name_48 (record VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_48 WHERE week < 15 AND opponent = "at new york jets"
What is the name of the Tournament on oct 23?
CREATE TABLE table_name_36 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_36 WHERE date = "oct 23"
How many people lived in san gabriel in the year 2000?
CREATE TABLE table_2004733_2 (population__2000_ VARCHAR, barangay VARCHAR)
SELECT COUNT(population__2000_) FROM table_2004733_2 WHERE barangay = "San Gabriel"
What is City of License, when Frequency is greater than 1380?
CREATE TABLE table_name_80 (city_of_license VARCHAR, frequency INTEGER)
SELECT city_of_license FROM table_name_80 WHERE frequency > 1380
What is the Country, when Place is T6, and when Player is "Raymond Floyd"?
CREATE TABLE table_name_3 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT country FROM table_name_3 WHERE place = "t6" AND player = "raymond floyd"
Which coding's variant id is abd'1a 3?
CREATE TABLE table_name_48 (coding VARCHAR, variant_id VARCHAR)
SELECT coding FROM table_name_48 WHERE variant_id = "abd'1a 3"
Which place was earned on 12 feb 2012?
CREATE TABLE table_name_93 (place VARCHAR, date VARCHAR)
SELECT place FROM table_name_93 WHERE date = "12 feb 2012"
What is the 2010 population of the municipality with 31 barangays?
CREATE TABLE table_255829_1 (population__2010_ VARCHAR, no_of_barangays VARCHAR)
SELECT population__2010_ FROM table_255829_1 WHERE no_of_barangays = 31
What is the title of the work where the role was Molly O'Day?
CREATE TABLE table_name_84 (title VARCHAR, role VARCHAR)
SELECT title FROM table_name_84 WHERE role = "molly o'day"
What is 1993, when Tournament is "Cincinnati"?
CREATE TABLE table_name_35 (tournament VARCHAR)
SELECT 1993 FROM table_name_35 WHERE tournament = "cincinnati"
What was the Attendance when the Home team was Montreal, on the Date of March 24?
CREATE TABLE table_name_59 (attendance INTEGER, home VARCHAR, date VARCHAR)
SELECT SUM(attendance) FROM table_name_59 WHERE home = "montreal" AND date = "march 24"
What is the Pilot number for the YouTube Hero greg pattillo?
CREATE TABLE table_name_76 (pilot VARCHAR, youtube_hero VARCHAR)
SELECT pilot FROM table_name_76 WHERE youtube_hero = "greg pattillo"
Which Home is on january 11?
CREATE TABLE table_name_82 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_82 WHERE date = "january 11"
What is 2007, when 2003 is 1R?
CREATE TABLE table_name_54 (Id VARCHAR)
SELECT 2007 FROM table_name_54 WHERE 2003 = "1r"
What is the regular season info that had a record of 20-10?
CREATE TABLE table_name_87 (reg_season VARCHAR, record VARCHAR)
SELECT reg_season FROM table_name_87 WHERE record = "20-10"
What was the tie number when bradford park avenue was the away team?
CREATE TABLE table_name_96 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_96 WHERE away_team = "bradford park avenue"
What is School Year, when Cross Country is Lexington, when Soccer is Ashland, and when Volleyball is Wooster?
CREATE TABLE table_name_9 (school_year VARCHAR, volleyball VARCHAR, cross_country VARCHAR, soccer VARCHAR)
SELECT school_year FROM table_name_9 WHERE cross_country = "lexington" AND soccer = "ashland" AND volleyball = "wooster"
What is the lowest time for Paulo Villar in lane 9?
CREATE TABLE table_name_85 (time INTEGER, athlete VARCHAR, lane VARCHAR)
SELECT MIN(time) FROM table_name_85 WHERE athlete = "paulo villar" AND lane < 9
What kind of Social Sec Leeds has a Media Officer of jason james and a Treasurer of james davidson?
CREATE TABLE table_name_62 (social_sec_leeds VARCHAR, media_officer VARCHAR, treasurer VARCHAR)
SELECT social_sec_leeds FROM table_name_62 WHERE media_officer = "jason james" AND treasurer = "james davidson"
What is the round of the new york jets NFL club?
CREATE TABLE table_name_63 (round VARCHAR, nfl_club VARCHAR)
SELECT round FROM table_name_63 WHERE nfl_club = "new york jets"
what is the 2008 when 2007 is A, 2011 is A and tournament is san jose?
CREATE TABLE table_name_5 (tournament VARCHAR)
SELECT 2008 FROM table_name_5 WHERE 2007 = "a" AND 2011 = "a" AND tournament = "san jose"
When 14 is the match number how many usa teams are there?
CREATE TABLE table_19072602_3 (team_usa VARCHAR, match_no VARCHAR)
SELECT COUNT(team_usa) FROM table_19072602_3 WHERE match_no = 14
WHAT RANK DOES LEONARD NIMOY HAVE?
CREATE TABLE table_name_16 (rank INTEGER, director VARCHAR)
SELECT AVG(rank) FROM table_name_16 WHERE director = "leonard nimoy"
What is the venue when the Round shows after extra time, chelsea won on 4-1 on penalties?
CREATE TABLE table_name_64 (venue VARCHAR, round VARCHAR)
SELECT venue FROM table_name_64 WHERE round = "after extra time, chelsea won on 4-1 on penalties"
What is the year total for teams with under 37 games tied, over 33 games, and 15 losses?
CREATE TABLE table_name_7 (years INTEGER, lost VARCHAR, tied VARCHAR, total_games VARCHAR)
SELECT SUM(years) FROM table_name_7 WHERE tied < 37 AND total_games > 33 AND lost = 15
Who was pick 16 and before round 10?
CREATE TABLE table_name_30 (player VARCHAR, round VARCHAR, pick VARCHAR)
SELECT player FROM table_name_30 WHERE round < 10 AND pick = 16
Who drove car 44?
CREATE TABLE table_15491596_1 (driver VARCHAR, no VARCHAR)
SELECT driver FROM table_15491596_1 WHERE no = 44
Which of the R. Epp, has J Thiessen of Tjoatj?
CREATE TABLE table_name_90 (r_epp VARCHAR, j_thiessen VARCHAR)
SELECT r_epp FROM table_name_90 WHERE j_thiessen = "tjoatj"
What was the Champion of the Game with a Score of 65–56?
CREATE TABLE table_name_78 (champion__seed_ VARCHAR, score VARCHAR)
SELECT champion__seed_ FROM table_name_78 WHERE score = "65–56"
Who had the high points while Dirk Nowitzki (13) had the high rebounds?
CREATE TABLE table_17288869_7 (high_points VARCHAR, high_rebounds VARCHAR)
SELECT high_points FROM table_17288869_7 WHERE high_rebounds = "Dirk Nowitzki (13)"
What is the air date of the episode with the production code 6acx19?
CREATE TABLE table_22261877_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_22261877_1 WHERE production_code = "6ACX19"
Name the most total with to par more than 16
CREATE TABLE table_name_14 (total INTEGER, to_par INTEGER)
SELECT MAX(total) FROM table_name_14 WHERE to_par > 16
What event did Soa Palelei fight against son hai suk?
CREATE TABLE table_name_31 (event VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_31 WHERE opponent = "son hai suk"
What is the releases number under Season 2?
CREATE TABLE table_16279520_1 (release VARCHAR, timeline VARCHAR)
SELECT release FROM table_16279520_1 WHERE timeline = "Season 2"
What is Tim Andree's greatest number?
CREATE TABLE table_name_50 (number INTEGER, name VARCHAR)
SELECT MAX(number) FROM table_name_50 WHERE name = "tim andree"
How many places named asan-maina?
CREATE TABLE table_2588674_1 (region VARCHAR, village VARCHAR)
SELECT COUNT(region) FROM table_2588674_1 WHERE village = "Asan-Maina"
How many points for the navy team that lost over 11?
CREATE TABLE table_name_4 (points INTEGER, team VARCHAR, lost VARCHAR)
SELECT SUM(points) FROM table_name_4 WHERE team = "navy" AND lost > 11
What is the list date of the historic place that was built 1896, 1914?
CREATE TABLE table_name_88 (listed VARCHAR, built VARCHAR)
SELECT listed FROM table_name_88 WHERE built = "1896, 1914"
What is the most gold where silver is 0?
CREATE TABLE table_name_42 (gold INTEGER, silver INTEGER)
SELECT MAX(gold) FROM table_name_42 WHERE silver < 0
What Kit/Factory has a J250 model made by Jabiru?
CREATE TABLE table_name_90 (kit_factory VARCHAR, manufacturer VARCHAR, model VARCHAR)
SELECT kit_factory FROM table_name_90 WHERE manufacturer = "jabiru" AND model = "j250"
What was the latest week with a date of November 12, 1967 and less than 34,761 in attendance?
CREATE TABLE table_name_60 (week INTEGER, date VARCHAR, attendance VARCHAR)
SELECT MAX(week) FROM table_name_60 WHERE date = "november 12, 1967" AND attendance < 34 OFFSET 761
Can you tell me the average Weight that has Height of 6-9?
CREATE TABLE table_name_69 (weight INTEGER, height VARCHAR)
SELECT AVG(weight) FROM table_name_69 WHERE height = "6-9"
What is the median household income where the per capita is $28,789?
CREATE TABLE table_name_27 (median_household_income VARCHAR, per_capita_income VARCHAR)
SELECT median_household_income FROM table_name_27 WHERE per_capita_income = "$28,789"
What is the percentage of "no party preference" where the democratic percentage is 24.8%?
CREATE TABLE table_27003223_4 (no_party_preference VARCHAR, democratic VARCHAR)
SELECT no_party_preference FROM table_27003223_4 WHERE democratic = "24.8%"
What was the film title used in nomination for Panny Z Wilka?
CREATE TABLE table_name_83 (film_title_used_in_nomination VARCHAR, original_name VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_83 WHERE original_name = "panny z wilka"
Name the round 1 for team event
CREATE TABLE table_18646111_13 (round_1 VARCHAR, event VARCHAR)
SELECT round_1 FROM table_18646111_13 WHERE event = "Team"
Name the bleeding time with platelet count of unaffected and condition of factor xii deficiency
CREATE TABLE table_name_83 (bleeding_time VARCHAR, platelet_count VARCHAR, condition VARCHAR)
SELECT bleeding_time FROM table_name_83 WHERE platelet_count = "unaffected" AND condition = "factor xii deficiency"
Which year had e34 Nimzo-Indian defence is the opening?
CREATE TABLE table_name_81 (year VARCHAR, opening VARCHAR)
SELECT year FROM table_name_81 WHERE opening = "e34 nimzo-indian defence"
How many points did the bills score when their opponent had 14
CREATE TABLE table_16028459_2 (bills_points VARCHAR, opponents VARCHAR)
SELECT bills_points FROM table_16028459_2 WHERE opponents = 14
Name the week 3 of 36
CREATE TABLE table_name_67 (week_1 VARCHAR, week_3 VARCHAR)
SELECT week_1 FROM table_name_67 WHERE week_3 = "36"