output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT MAX(choice) FROM table_10361230_1
CREATE TABLE table_10361230_1 (choice INTEGER), What is the highest choice?
SELECT college FROM table_10361230_1 WHERE player_name = "Bill Cappleman"
CREATE TABLE table_10361230_1 (college VARCHAR, player_name VARCHAR), What college did Bill Cappleman go to?
SELECT bullet_tip_color FROM table_1036189_1 WHERE headstamp_id = "H2"
CREATE TABLE table_1036189_1 (bullet_tip_color VARCHAR, headstamp_id VARCHAR), For the headstamp id of h2, what was the color of the bullet tip?
SELECT other_features FROM table_1036189_1 WHERE functional_type = "Light Ball"
CREATE TABLE table_1036189_1 (other_features VARCHAR, functional_type VARCHAR), For the functional type of light ball, what were the other features?
SELECT COUNT(primer_annulus_color) FROM table_1036189_1 WHERE bullet_tip_color = "White"
CREATE TABLE table_1036189_1 (primer_annulus_color VARCHAR, bullet_tip_color VARCHAR), How many primers annulus colors were there when the color of the bullet tip was white?
SELECT COUNT(bullet_tip_color) FROM table_1036189_1 WHERE other_features = "Blue band on case base"
CREATE TABLE table_1036189_1 (bullet_tip_color VARCHAR, other_features VARCHAR), How many bullet tips colors had other features of a blue band on case base?
SELECT MIN(touchdowns) FROM table_1037590_1 WHERE completion__percentage = "56.0"
CREATE TABLE table_1037590_1 (touchdowns INTEGER, completion__percentage VARCHAR), How many touchdowns were scored in the year with a completion percentage of 56.0?
SELECT COUNT(yards) FROM table_1037590_1 WHERE attempts = 348
CREATE TABLE table_1037590_1 (yards VARCHAR, attempts VARCHAR), How many years were there with 348 attempts?
SELECT COUNT(london) FROM table_10402018_1 WHERE us_tour = "Babs Rubenstein"
CREATE TABLE table_10402018_1 (london VARCHAR, us_tour VARCHAR), How many characters is by Babs Rubenstein?
SELECT toronto___broadway FROM table_10402018_1 WHERE uk_tour = "n/a"
CREATE TABLE table_10402018_1 (toronto___broadway VARCHAR, uk_tour VARCHAR), Which person is in the tronto/broadway and has a uk tour of n/a
SELECT COUNT(london) FROM table_10402018_1 WHERE character = "Frank"
CREATE TABLE table_10402018_1 (london VARCHAR, character VARCHAR), How many people play Frank in London?
SELECT class_aAA FROM table_10399701_2 WHERE school_year = "2000-01"
CREATE TABLE table_10399701_2 (class_aAA VARCHAR, school_year VARCHAR), Who was Class AAA during the school year of 2000-01?
SELECT class_aAA FROM table_10399701_2 WHERE class_a = "(tie) Apple Springs/Texline"
CREATE TABLE table_10399701_2 (class_aAA VARCHAR, class_a VARCHAR), Who was Class AAA during the same year that Class A was (tie) Apple Springs/Texline?
SELECT class_aAAAA FROM table_10399701_2 WHERE school_year = "1995-96"
CREATE TABLE table_10399701_2 (class_aAAAA VARCHAR, school_year VARCHAR), Who was Class AAAAA during the school year of 1995-96?
SELECT COUNT(team_record) FROM table_10392906_2 WHERE date = "Friday, May 25"
CREATE TABLE table_10392906_2 (team_record VARCHAR, date VARCHAR), How many records are listed on Friday, May 25?
SELECT COUNT(opponent) FROM table_10392906_2 WHERE date = "Saturday, June 9"
CREATE TABLE table_10392906_2 (opponent VARCHAR, date VARCHAR), How many opponents were played on Saturday, June 9?
SELECT MIN(week) FROM table_10392906_2 WHERE game_site = "Commerzbank-Arena"
CREATE TABLE table_10392906_2 (week INTEGER, game_site VARCHAR), In what week was the first game played at the Commerzbank-Arena?
SELECT original_air_date FROM table_10413597_5 WHERE setting = "1544"
CREATE TABLE table_10413597_5 (original_air_date VARCHAR, setting VARCHAR), What was the original air date of an episode set in 1544?
SELECT COUNT(setting) FROM table_10413597_5 WHERE no_in_series = 29
CREATE TABLE table_10413597_5 (setting VARCHAR, no_in_series VARCHAR), How many settings where there for episode 29 of the season?
SELECT written_by FROM table_10413597_5 WHERE setting = "Winter 1541/February 13, 1542"
CREATE TABLE table_10413597_5 (written_by VARCHAR, setting VARCHAR), Who wrote the episode that was set in winter 1541/february 13, 1542?
SELECT track AS title FROM table_10416547_1 WHERE duration = "5:30"
CREATE TABLE table_10416547_1 (track VARCHAR, duration VARCHAR), What is the name of the track that lasts 5:30?
SELECT duration FROM table_10416547_1 WHERE major_instrument_s_ = "Piano" AND date = "2004-02-03"
CREATE TABLE table_10416547_1 (duration VARCHAR, major_instrument_s_ VARCHAR, date VARCHAR), What is the duration of the song where the major instrument is the piano and the date is 2004-02-03?
SELECT COUNT(lyricist) FROM table_10416547_1 WHERE lyrics_theme_style = "Romance" AND duration = "3:50"
CREATE TABLE table_10416547_1 (lyricist VARCHAR, lyrics_theme_style VARCHAR, duration VARCHAR), What is the total number of lyricist where the lyrics theme is romance and the song lasts 3:50?
SELECT major_instrument_s_ FROM table_10416547_1 WHERE duration = "4:32"
CREATE TABLE table_10416547_1 (major_instrument_s_ VARCHAR, duration VARCHAR), What is the major instrument of the song that lasts 4:32?
SELECT COUNT(music_genre_style) FROM table_10416547_1 WHERE lyrics_theme_style = "Detective story"
CREATE TABLE table_10416547_1 (music_genre_style VARCHAR, lyrics_theme_style VARCHAR), What is the total number of music genre/style in which the lyrics are a detective story?
SELECT playoffs FROM table_1046071_1 WHERE league = "USL Pro Select league"
CREATE TABLE table_1046071_1 (playoffs VARCHAR, league VARCHAR), What is the playoffs for the usl pro select league?
SELECT COUNT(division) FROM table_1046071_1 WHERE open_cup = "1st Round"
CREATE TABLE table_1046071_1 (division VARCHAR, open_cup VARCHAR), What is the number of the division for the 1st round?
SELECT team FROM table_10420426_1 WHERE series = "Formula Renault 2.0 NEC"
CREATE TABLE table_10420426_1 (team VARCHAR, series VARCHAR), What was the team where series is formula renault 2.0 nec?
SELECT COUNT(poles) FROM table_10420426_1 WHERE team = "Arden International"
CREATE TABLE table_10420426_1 (poles VARCHAR, team VARCHAR), What is the total number of poles for arden international?
SELECT COUNT(wins) FROM table_10420426_1 WHERE series = "GP2 series" AND team = "Racing Engineering"
CREATE TABLE table_10420426_1 (wins VARCHAR, series VARCHAR, team VARCHAR), What is the number of wins for gp2 series for racing engineering?
SELECT COUNT(podiums) FROM table_10420426_1 WHERE season = "2010" AND series = "Campionato Italiano Superstars"
CREATE TABLE table_10420426_1 (podiums VARCHAR, season VARCHAR, series VARCHAR), What is the number of podiums for season 2010 for campionato italiano superstars.
SELECT podiums FROM table_10420426_1 WHERE points = 144
CREATE TABLE table_10420426_1 (podiums VARCHAR, points VARCHAR), What is the podium for 144 points?
SELECT COUNT(writer) FROM table_10470082_3 WHERE us_air_date = "September 25, 1993"
CREATE TABLE table_10470082_3 (writer VARCHAR, us_air_date VARCHAR), How many writers had an US air date of september 25, 1993?
SELECT COUNT(villains) FROM table_10470082_3 WHERE no = 25
CREATE TABLE table_10470082_3 (villains VARCHAR, no VARCHAR), How many villians were in No. 25?
SELECT MAX(year) FROM table_1046454_1 WHERE regular_season = "4th, Northwest"
CREATE TABLE table_1046454_1 (year INTEGER, regular_season VARCHAR), what being the maximum year where regular season is 4th, northwest
SELECT COUNT(playoffs) FROM table_1046454_1 WHERE regular_season = "6th, Southwest"
CREATE TABLE table_1046454_1 (playoffs VARCHAR, regular_season VARCHAR), what is the total number of playoffs where regular season is 6th, southwest
SELECT MAX(division) FROM table_1046454_1
CREATE TABLE table_1046454_1 (division INTEGER), what is the maximum division
SELECT league FROM table_1046454_1 WHERE regular_season = "2nd, Northwest"
CREATE TABLE table_1046454_1 (league VARCHAR, regular_season VARCHAR), what's the league where regular season is 2nd, northwest
SELECT regular_season FROM table_1046454_1 WHERE year = 2011
CREATE TABLE table_1046454_1 (regular_season VARCHAR, year VARCHAR), what are all the regular season where year is 2011
SELECT COUNT(title) FROM table_10470082_5 WHERE _number = 11
CREATE TABLE table_10470082_5 (title VARCHAR, _number VARCHAR), How many titles have the number 11
SELECT COUNT(no) FROM table_10470082_5 WHERE villains = "Mrs. Briar"
CREATE TABLE table_10470082_5 (no VARCHAR, villains VARCHAR), How many have Mrs. briar as a villain
SELECT COUNT(no) FROM table_10470082_5 WHERE _number = 8
CREATE TABLE table_10470082_5 (no VARCHAR, _number VARCHAR), how many have the number 8
SELECT title FROM table_10470082_6 WHERE storyteller = "Kiki" AND director = "Will Dixon"
CREATE TABLE table_10470082_6 (title VARCHAR, storyteller VARCHAR, director VARCHAR), What is the name of the episode told by Kiki and directed by Will Dixon?
SELECT writer FROM table_10470082_6 WHERE _number = 3
CREATE TABLE table_10470082_6 (writer VARCHAR, _number VARCHAR), Who wrote Episode #3?
SELECT villains FROM table_10470082_7 WHERE storyteller = "Megan" AND director = "Lorette LeBlanc"
CREATE TABLE table_10470082_7 (villains VARCHAR, storyteller VARCHAR, director VARCHAR), Who are the villains in the episodes where Megan is the storyteller and Lorette LeBlanc is the director?
SELECT MAX(_number) FROM table_10470082_7 WHERE writer = "Allison Lea Bingeman"
CREATE TABLE table_10470082_7 (_number INTEGER, writer VARCHAR), What is the largest # for an episode that was written by Allison Lea Bingeman?
SELECT species FROM table_10477224_1 WHERE petal_width = "2.0" AND petal_length = "4.9"
CREATE TABLE table_10477224_1 (species VARCHAR, petal_width VARCHAR, petal_length VARCHAR), Name the species when petal width is 2.0 and petal length is 4.9
SELECT sepal_width FROM table_10477224_1 WHERE species = "I.virginica" AND petal_length = "5.1"
CREATE TABLE table_10477224_1 (sepal_width VARCHAR, species VARCHAR, petal_length VARCHAR), Name the sepal width for i.virginica with petal length of 5.1
SELECT COUNT(species) FROM table_10477224_1 WHERE sepal_width = "3.4" AND sepal_length = "5.4"
CREATE TABLE table_10477224_1 (species VARCHAR, sepal_width VARCHAR, sepal_length VARCHAR), Name the number of species with sepal width of 3.4 and sepal length of 5.4
SELECT sepal_length FROM table_10477224_1 WHERE sepal_width = "2.8" AND petal_length = "5.1"
CREATE TABLE table_10477224_1 (sepal_length VARCHAR, sepal_width VARCHAR, petal_length VARCHAR), Name the sepal length for sepal width of 2.8 and petal length of 5.1
SELECT sepal_width FROM table_10477224_1 WHERE sepal_length = "6.5" AND petal_width = "2.2"
CREATE TABLE table_10477224_1 (sepal_width VARCHAR, sepal_length VARCHAR, petal_width VARCHAR), Name the sepal width when sepal length is 6.5 and petal width is 2.2
SELECT sepal_length FROM table_10477224_1 WHERE sepal_width = "2.9" AND petal_width = "1.3"
CREATE TABLE table_10477224_1 (sepal_length VARCHAR, sepal_width VARCHAR, petal_width VARCHAR), Name the sepal lengh when sepal width is 2.9 and petal width 1.3
SELECT COUNT(director) FROM table_10470082_4 WHERE _number = 1
CREATE TABLE table_10470082_4 (director VARCHAR, _number VARCHAR), Who is the director and what number is the episode for episode #1 of Are You Afraid of the Dark season 3?
SELECT director FROM table_10470082_4 WHERE writer = "Scott Peters"
CREATE TABLE table_10470082_4 (director VARCHAR, writer VARCHAR), Who is the director of the episode whom Scott Peters is the writer?
SELECT villains FROM table_10470082_4 WHERE _number = 7
CREATE TABLE table_10470082_4 (villains VARCHAR, _number VARCHAR), Who is the villain in episode #7?
SELECT COUNT(writer) FROM table_10470082_8 WHERE _number = 1
CREATE TABLE table_10470082_8 (writer VARCHAR, _number VARCHAR), Who wrote episode #1 in season 7?
SELECT us_air_date FROM table_10470082_8 WHERE writer = "Jim Morris"
CREATE TABLE table_10470082_8 (us_air_date VARCHAR, writer VARCHAR), When did the episode written by Jim Morris air?
SELECT fastest_lap FROM table_10527215_3 WHERE name = "Datsun Twin 200"
CREATE TABLE table_10527215_3 (fastest_lap VARCHAR, name VARCHAR), What was Datsun Twin 200's fastest lap?
SELECT report FROM table_10527215_3 WHERE name = "True Value 500"
CREATE TABLE table_10527215_3 (report VARCHAR, name VARCHAR), What's the report for the True Value 500?
SELECT fastest_lap FROM table_10527215_3 WHERE winning_driver = "Johnny Rutherford" AND pole_position = "Al Unser"
CREATE TABLE table_10527215_3 (fastest_lap VARCHAR, winning_driver VARCHAR, pole_position VARCHAR), What was Johnny Rutherford's fastest lap while Al Unser was the pole position?
SELECT COUNT(report) FROM table_10527215_3 WHERE pole_position = "Al Unser" AND winning_team = "Penske Racing"
CREATE TABLE table_10527215_3 (report VARCHAR, pole_position VARCHAR, winning_team VARCHAR), What's the report on Penske Racing winning while the pole position was Al Unser?
SELECT country FROM table_104858_1 WHERE year_current_scouting_organization_joined_wosm = "1930" AND year_member_organization_was_founded = "1926"
CREATE TABLE table_104858_1 (country VARCHAR, year_current_scouting_organization_joined_wosm VARCHAR, year_member_organization_was_founded VARCHAR), Which countries have a scouting organization that was founded in 1926, and joined WOSM in 1930?
SELECT admits_boys_girls FROM table_104858_1 WHERE country = "Venezuela"
CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, country VARCHAR), Does Venezuela admit only boys, only girls, or both?
SELECT name_of_member_organization FROM table_104858_1 WHERE year_member_organization_was_founded = "1972" AND year_current_scouting_organization_joined_wosm = "1977"
CREATE TABLE table_104858_1 (name_of_member_organization VARCHAR, year_member_organization_was_founded VARCHAR, year_current_scouting_organization_joined_wosm VARCHAR), Which organizations were founded in 1972, but became WOSM members until 1977?
SELECT admits_boys_girls FROM table_104858_1 WHERE name_of_member_organization = "The Scout Association of Hong Kong"
CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, name_of_member_organization VARCHAR), Does the Scout Association of Hong Kong admit boys, girls, or both?
SELECT admits_boys_girls FROM table_104858_1 WHERE year_member_organization_was_founded = "1912" AND name_of_member_organization = "The Ghana Scout Association"
CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, year_member_organization_was_founded VARCHAR, name_of_member_organization VARCHAR), Does the Ghana Scout Association (founded in 1912) admit boys, girls, or both?
SELECT MAX(model) FROM table_10528691_4 WHERE introduction = "May 1999"
CREATE TABLE table_10528691_4 (model INTEGER, introduction VARCHAR), What is the model number introduced May 1999?
SELECT print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ FROM table_10528691_4 WHERE introduction = "December 2002"
CREATE TABLE table_10528691_4 (print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ VARCHAR, introduction VARCHAR), What is the print resolution (FPI) for December 2002?
SELECT maximum_memory FROM table_10528691_4 WHERE discontinued = "November 2001"
CREATE TABLE table_10528691_4 (maximum_memory VARCHAR, discontinued VARCHAR), What is the maximum memory for the model discontinued in November 2001?
SELECT main_presenters FROM table_1053802_1 WHERE local_title = "La Granja"
CREATE TABLE table_1053802_1 (main_presenters VARCHAR, local_title VARCHAR), What is main presenters of La Granja?
SELECT main_presenters FROM table_1053802_1 WHERE region_country = "Bulgaria"
CREATE TABLE table_1053802_1 (main_presenters VARCHAR, region_country VARCHAR), What is the main presenter of bulgaria?
SELECT COUNT(winners) FROM table_1053802_1 WHERE local_title = "Farma"
CREATE TABLE table_1053802_1 (winners VARCHAR, local_title VARCHAR), How many winners are there of farma?
SELECT MAX(cup_goals) FROM table_10556257_1 WHERE season = "1911-12"
CREATE TABLE table_10556257_1 (cup_goals INTEGER, season VARCHAR), What is the most cup goals for seasson 1911-12?
SELECT league_apps FROM table_10556257_1 WHERE season = "1923-24"
CREATE TABLE table_10556257_1 (league_apps VARCHAR, season VARCHAR), What is the league apps for season 1923-24?
SELECT team FROM table_10556257_1 WHERE season = "1911-12"
CREATE TABLE table_10556257_1 (team VARCHAR, season VARCHAR), What is the team for season 1911-12?
SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "10.16 (76) – 9.22 (76)"
CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR), what's the minimum attendance with score  10.16 (76) – 9.22 (76)
SELECT premier FROM table_10566855_1 WHERE season = 1970
CREATE TABLE table_10566855_1 (premier VARCHAR, season VARCHAR), who's the premier with in 1970
SELECT runner_up FROM table_10566855_1 WHERE premier = "Richmond"
CREATE TABLE table_10566855_1 (runner_up VARCHAR, premier VARCHAR), who are all the runner-up for premier in richmond
SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "8.16 (64) – 8.12 (60)"
CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR), what is the minimum attendance with score 8.16 (64) – 8.12 (60)
SELECT COUNT(milepost) FROM table_10568553_1 WHERE street_names = "Anne Street"
CREATE TABLE table_10568553_1 (milepost VARCHAR, street_names VARCHAR), How many mileposts are there on Anne Street?
SELECT street_names FROM table_10568553_1 WHERE milepost = "12.2"
CREATE TABLE table_10568553_1 (street_names VARCHAR, milepost VARCHAR), Which street is 12.2 miles long?
SELECT location FROM table_10568553_1 WHERE roads_intersected = "Route 24"
CREATE TABLE table_10568553_1 (location VARCHAR, roads_intersected VARCHAR), Where does Route 24 intersect?
SELECT location FROM table_10568553_1 WHERE milepost = "12.8"
CREATE TABLE table_10568553_1 (location VARCHAR, milepost VARCHAR), Where is milepost 12.8?
SELECT MIN(2001 AS _02) FROM table_1057262_1 WHERE commodity = "Wool"
CREATE TABLE table_1057262_1 (commodity VARCHAR), What is the minimum amount for wool for 2001-02?
SELECT operational_owner_s_ FROM table_1057316_1 WHERE build_date = "April 1892"
CREATE TABLE table_1057316_1 (operational_owner_s_ VARCHAR, build_date VARCHAR), Who were the operational owners during the construction date of April 1892?
SELECT disposition FROM table_1057316_1 WHERE operational_owner_s_ = "Colorado and Southern Railway #9"
CREATE TABLE table_1057316_1 (disposition VARCHAR, operational_owner_s_ VARCHAR), Where can you find Colorado and Southern Railway #9?
SELECT wheel_arrangement___whyte_notation__ FROM table_1057316_1 WHERE disposition = "Riverdale, Georgia"
CREATE TABLE table_1057316_1 (wheel_arrangement___whyte_notation__ VARCHAR, disposition VARCHAR), What is the wheel arrangement for the train in Riverdale, Georgia?
SELECT build_date FROM table_1057316_1 WHERE serial_number = "2053"
CREATE TABLE table_1057316_1 (build_date VARCHAR, serial_number VARCHAR), When was the train 2053 built?
SELECT COUNT(wheel_arrangement___whyte_notation__) FROM table_1057316_1 WHERE operational_owner_s_ = "Texas and New Orleans Railroad #319"
CREATE TABLE table_1057316_1 (wheel_arrangement___whyte_notation__ VARCHAR, operational_owner_s_ VARCHAR), How many wheels does the train owned by Texas and New Orleans Railroad #319 have?
SELECT institution FROM table_10577579_3 WHERE men’s_nickname = "Blazers"
CREATE TABLE table_10577579_3 (institution VARCHAR, men’s_nickname VARCHAR), Which college has the men's nickname of the blazers?
SELECT joined FROM table_10577579_3 WHERE women’s_nickname = "Wolfpack"
CREATE TABLE table_10577579_3 (joined VARCHAR, women’s_nickname VARCHAR), Name the joined for the wolfpack women's nickname
SELECT left FROM table_10577579_3 WHERE women’s_nickname = "Lady Pilots"
CREATE TABLE table_10577579_3 (left VARCHAR, women’s_nickname VARCHAR), Name the left of the Lady Pilots.
SELECT women’s_nickname FROM table_10577579_3 WHERE enrollment = 1500 AND location = "Mobile, Alabama"
CREATE TABLE table_10577579_3 (women’s_nickname VARCHAR, enrollment VARCHAR, location VARCHAR), Name the women's nickname when the enrollment is 1500 in mobile, Alabama.
SELECT current_conference FROM table_10577579_3 WHERE location = "Jackson, Mississippi"
CREATE TABLE table_10577579_3 (current_conference VARCHAR, location VARCHAR), Which conference is in Jackson, Mississippi?
SELECT men’s_nickname FROM table_10577579_3 WHERE women’s_nickname = "Lady Wildcats"
CREATE TABLE table_10577579_3 (men’s_nickname VARCHAR, women’s_nickname VARCHAR), What is the men's nickname at the school that has the lady wildcats women's nickname?
SELECT mens_nickname FROM table_10577579_2 WHERE location = "Jacksonville, Florida"
CREATE TABLE table_10577579_2 (mens_nickname VARCHAR, location VARCHAR), What is the Mens Nickname for the member location of Jacksonville, florida?
SELECT MAX(enrollment) FROM table_10577579_2 WHERE founded = 1866 AND type = "Private/(African Methodist)"
CREATE TABLE table_10577579_2 (enrollment INTEGER, founded VARCHAR, type VARCHAR), What is the enrollment for the institution that was founded in 1866 and is a private/(african methodist) type?
SELECT MIN(founded) FROM table_10577579_2 WHERE location = "Nashville, Tennessee"
CREATE TABLE table_10577579_2 (founded INTEGER, location VARCHAR), That is the year founded for the institution location of Nashville, Tennessee?
SELECT joined FROM table_10577579_2 WHERE institution = "Tougaloo College"
CREATE TABLE table_10577579_2 (joined VARCHAR, institution VARCHAR), What is the year the institution Tougaloo College joined?
SELECT date_of_vacancy FROM table_10592536_8 WHERE date_of_appointment = "28 November 2007" AND replaced_by = "Alex McLeish"
CREATE TABLE table_10592536_8 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, replaced_by VARCHAR), What is the date of vacancy when the date of appointment is 28 november 2007 and replaced by is alex mcleish?