question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What are the average amount purchased and value purchased for the supplier who supplies the most products.
CREATE TABLE Product_Suppliers (total_amount_purchased INTEGER, total_value_purchased INTEGER, supplier_id VARCHAR)
SELECT AVG(total_amount_purchased), AVG(total_value_purchased) FROM Product_Suppliers WHERE supplier_id = (SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id ORDER BY COUNT(*) DESC LIMIT 1)
Name the opponent for black knights points 27
CREATE TABLE table_21091145_1 (opponent VARCHAR, black_knights_points VARCHAR)
SELECT opponent FROM table_21091145_1 WHERE black_knights_points = 27
For the draft pick from round 3 out of Mercer College what is the nationality?
CREATE TABLE table_name_94 (nationality VARCHAR, round VARCHAR, college VARCHAR)
SELECT nationality FROM table_name_94 WHERE round = 3 AND college = "mercer"
Who was ashley sampi's opponent?
CREATE TABLE table_name_71 (opponent VARCHAR, player VARCHAR)
SELECT opponent FROM table_name_71 WHERE player = "ashley sampi"
How many conversions did Severo Koroduadua Waqanibau have when he has 0 pens?
CREATE TABLE table_name_49 (conv VARCHAR, pens VARCHAR, player VARCHAR)
SELECT conv FROM table_name_49 WHERE pens = "0" AND player = "severo koroduadua waqanibau"
Who had a time of 56.07?
CREATE TABLE table_name_21 (name VARCHAR, time VARCHAR)
SELECT name FROM table_name_21 WHERE time = 56.07
What is the 2fm for rnag 94.4?
CREATE TABLE table_18475946_2 (rnag__mhz_ VARCHAR)
SELECT 2 AS fm__mhz_ FROM table_18475946_2 WHERE rnag__mhz_ = "94.4"
How many C-95 aircrafts originating in Brazil are currently in service?
CREATE TABLE table_name_12 (in_service VARCHAR, origin VARCHAR, versions VARCHAR)
SELECT in_service FROM table_name_12 WHERE origin = "brazil" AND versions = "c-95"
Which Nationality has a Pick # smaller than 130 and a Player of tyler bunz? Question 1
CREATE TABLE table_name_13 (nationality VARCHAR, pick__number VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_13 WHERE pick__number < 130 AND player = "tyler bunz"
What score has 33 as the points?
CREATE TABLE table_name_93 (score VARCHAR, points VARCHAR)
SELECT score FROM table_name_93 WHERE points = 33
What district was John Dawson from?
CREATE TABLE table_2668374_18 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_2668374_18 WHERE incumbent = "John Dawson"
What is the average GEO ID with a latitude less than 46.57958, a latitude of -102.109898 and more than 35.99 square miles of land?
CREATE TABLE table_name_4 (geo_id INTEGER, land___sqmi__ VARCHAR, latitude VARCHAR, longitude VARCHAR)
SELECT AVG(geo_id) FROM table_name_4 WHERE latitude < 46.57958 AND longitude = -102.109898 AND land___sqmi__ > 35.99
What is the lowest number played with more than 30 points?
CREATE TABLE table_name_21 (played INTEGER, points INTEGER)
SELECT MIN(played) FROM table_name_21 WHERE points > 30
what is the english version that is buena vista edition is daisuke gouri?
CREATE TABLE table_25173505_13 (english_version VARCHAR, buena_vista_edition VARCHAR)
SELECT english_version FROM table_25173505_13 WHERE buena_vista_edition = "Daisuke Gouri"
What's the total Year with a Length of 4:45 an has an Album of Les Mots?
CREATE TABLE table_name_36 (year INTEGER, length VARCHAR, album VARCHAR)
SELECT SUM(year) FROM table_name_36 WHERE length = "4:45" AND album = "les mots"
Which Away team score has a Venue of kardinia park?
CREATE TABLE table_name_42 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_42 WHERE venue = "kardinia park"
What college picked someone from The Episcopal Academy?
CREATE TABLE table_name_47 (college VARCHAR, school VARCHAR)
SELECT college FROM table_name_47 WHERE school = "episcopal academy"
Show all storm names except for those with at least two affected regions.
CREATE TABLE storm (name VARCHAR); CREATE TABLE affected_region (storm_id VARCHAR); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR)
SELECT name FROM storm EXCEPT SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id HAVING COUNT(*) >= 2
What is the competition type of the event with a result of 3-2 and a score of 2-1?
CREATE TABLE table_name_36 (competition VARCHAR, result VARCHAR, score VARCHAR)
SELECT competition FROM table_name_36 WHERE result = "3-2" AND score = "2-1"
Show the student id of the oldest student.
CREATE TABLE Student (StuID VARCHAR, age INTEGER)
SELECT StuID FROM Student WHERE age = (SELECT MAX(age) FROM Student)
What team was the opponent when josh smith (8) had the high assists?
CREATE TABLE table_27734577_13 (team VARCHAR, high_assists VARCHAR)
SELECT team FROM table_27734577_13 WHERE high_assists = "Josh Smith (8)"
Who was eliminated that entered after number 3 and lasted 35:55?
CREATE TABLE table_name_74 (eliminated VARCHAR, entered VARCHAR, time VARCHAR)
SELECT eliminated FROM table_name_74 WHERE entered > 3 AND time = "35:55"
What denominations are the stamps with themes opera, léopold simoneau and pierrette alarie?
CREATE TABLE table_11900773_4 (denomination VARCHAR, theme VARCHAR)
SELECT denomination FROM table_11900773_4 WHERE theme = "Opera, Léopold Simoneau and Pierrette Alarie"
What's the 1st leg result in the round where team #1 is Iraklis?
CREATE TABLE table_19130829_4 (team__number1 VARCHAR)
SELECT 1 AS st_leg FROM table_19130829_4 WHERE team__number1 = "Iraklis"
What is Date, when Record is "1-1"?
CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_25 WHERE record = "1-1"
What authors have clarno formation as the unit, actinidia oregonensis as the name?
CREATE TABLE table_name_55 (authors VARCHAR, unit VARCHAR, name VARCHAR)
SELECT authors FROM table_name_55 WHERE unit = "clarno formation" AND name = "actinidia oregonensis"
What year did Orlando have a School/Club team in Clemson?
CREATE TABLE table_name_53 (years_in_orlando VARCHAR, school_club_team VARCHAR)
SELECT years_in_orlando FROM table_name_53 WHERE school_club_team = "clemson"
What is the minimum stolen ends for the locale Alberta?
CREATE TABLE table_1475840_1 (stolen_ends INTEGER, locale VARCHAR, Alberta VARCHAR)
SELECT MIN(stolen_ends) FROM table_1475840_1 WHERE locale = Alberta
What bullet does the gun with a shoulder measurement of 12.5 (.491)?
CREATE TABLE table_name_51 (bullet VARCHAR, shoulder VARCHAR)
SELECT bullet FROM table_name_51 WHERE shoulder = "12.5 (.491)"
What is the lowest height in meters for the building located in mailänder straße 1, sachsenhausen-süd, with a height shorter than 328.1 ft?
CREATE TABLE table_name_70 (height__m_ INTEGER, location VARCHAR, height__ft_ VARCHAR)
SELECT MIN(height__m_) FROM table_name_70 WHERE location = "mailänder straße 1, sachsenhausen-süd" AND height__ft_ < 328.1
How tall is the structure built in 1907?
CREATE TABLE table_name_51 (height_ft__m_ VARCHAR, year VARCHAR)
SELECT height_ft__m_ FROM table_name_51 WHERE year = 1907
What is the highest rank when the metal total is 1 and the nation is the United Kingdom?
CREATE TABLE table_name_99 (rank INTEGER, total VARCHAR, nation VARCHAR)
SELECT MAX(rank) FROM table_name_99 WHERE total = 1 AND nation = "united kingdom"
What date was the away team Hawthorn?
CREATE TABLE table_name_78 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_78 WHERE away_team = "hawthorn"
What is the highest Top-10, when Top-25 is 4, and when Top-5 is greater than 1?
CREATE TABLE table_name_62 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR)
SELECT MAX(top_10) FROM table_name_62 WHERE top_25 = 4 AND top_5 > 1
What is the Japanese name of the Province with a Korean name of Chungcheong-Bukdo?
CREATE TABLE table_name_46 (japanese_name VARCHAR, korean_name VARCHAR)
SELECT japanese_name FROM table_name_46 WHERE korean_name = "chungcheong-bukdo"
How many points has a draw greater than 3 and 3rd place?
CREATE TABLE table_name_24 (points VARCHAR, draw VARCHAR, place VARCHAR)
SELECT points FROM table_name_24 WHERE draw > 3 AND place = 3
Which city does staff with first name as Janessa and last name as Sawayn live?
CREATE TABLE Staff (staff_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR)
SELECT T1.city FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn"
what is the lowest appearance when goals is more than 0?
CREATE TABLE table_name_32 (appearance INTEGER, goals INTEGER)
SELECT MIN(appearance) FROM table_name_32 WHERE goals > 0
In what poll is Nathan Deal at 13% and John Oxendine at 28%?
CREATE TABLE table_name_49 (poll_source VARCHAR, nathan_deal VARCHAR, john_oxendine VARCHAR)
SELECT poll_source FROM table_name_49 WHERE nathan_deal = "13%" AND john_oxendine = "28%"
Which young classification has an aggressive rider of Tim Johnson?
CREATE TABLE table_name_89 (young_classification VARCHAR, aggressive_rider VARCHAR)
SELECT young_classification FROM table_name_89 WHERE aggressive_rider = "tim johnson"
How many matches have a City/Country of karachi, pakistan, and a Year larger than 1996?
CREATE TABLE table_name_63 (match VARCHAR, city_country VARCHAR, year VARCHAR)
SELECT COUNT(match) FROM table_name_63 WHERE city_country = "karachi, pakistan" AND year > 1996
how many first performances where performer is wilfred engelman category:articles with hcards
CREATE TABLE table_19189856_1 (first_performance VARCHAR, performer VARCHAR)
SELECT COUNT(first_performance) FROM table_19189856_1 WHERE performer = "Wilfred Engelman category:Articles with hCards"
What is the sum of the rounds where the overall pick was more than 295 and the pick was smaller than 10 and the player was rich dobbert?
CREATE TABLE table_name_93 (round INTEGER, pick VARCHAR, overall VARCHAR, name VARCHAR)
SELECT SUM(round) FROM table_name_93 WHERE overall > 295 AND name = "rich dobbert" AND pick < 10
WHat status had an against larger than 6 and a date of 01/02/1975?
CREATE TABLE table_name_30 (status VARCHAR, against VARCHAR, date VARCHAR)
SELECT status FROM table_name_30 WHERE against > 6 AND date = "01/02/1975"
What is the qual 2 when the best is 1:45.172?
CREATE TABLE table_name_32 (qual_2 VARCHAR, best VARCHAR)
SELECT qual_2 FROM table_name_32 WHERE best = "1:45.172"
Who was the Home Captain and the Result for AUS by 4 wkts?
CREATE TABLE table_name_25 (home_captain VARCHAR, result VARCHAR)
SELECT home_captain FROM table_name_25 WHERE result = "aus by 4 wkts"
What is the bronze number for the nation with less than 0 gold?
CREATE TABLE table_name_53 (bronze INTEGER, gold INTEGER)
SELECT MIN(bronze) FROM table_name_53 WHERE gold < 0
Which 2008 has a Career Win-Loss of 25–40?
CREATE TABLE table_name_54 (career_win_loss VARCHAR)
SELECT 2008 FROM table_name_54 WHERE career_win_loss = "25–40"
What ward was she nominated at for her work, Flare Path for the category of best featured actress in a play?
CREATE TABLE table_name_62 (award VARCHAR, nominated_work VARCHAR, category VARCHAR)
SELECT award FROM table_name_62 WHERE nominated_work = "flare path" AND category = "best featured actress in a play"
Which Name has a Constituency number of 1?
CREATE TABLE table_name_61 (name VARCHAR, constituency_number VARCHAR)
SELECT name FROM table_name_61 WHERE constituency_number = "1"
what artist cam from uruguay
CREATE TABLE table_name_81 (artist VARCHAR, country VARCHAR)
SELECT artist FROM table_name_81 WHERE country = "uruguay"
How many body builders are there?
CREATE TABLE body_builder (Id VARCHAR)
SELECT COUNT(*) FROM body_builder
What Partner had a Score of 6–3, 2–6, 6–3?
CREATE TABLE table_name_31 (partner VARCHAR, score VARCHAR)
SELECT partner FROM table_name_31 WHERE score = "6–3, 2–6, 6–3"
What is the highest value in April with a record of 35–37–11 and more than 81 points?
CREATE TABLE table_name_99 (april INTEGER, record VARCHAR, points VARCHAR)
SELECT MAX(april) FROM table_name_99 WHERE record = "35–37–11" AND points > 81
Which line has an operator of the London Overground and ends at the Crystal Palace?
CREATE TABLE table_name_87 (line VARCHAR, operator VARCHAR, destination VARCHAR)
SELECT line FROM table_name_87 WHERE operator = "london overground" AND destination = "crystal palace"
Name the date enacted for N.S. of 10 and normal total of 104
CREATE TABLE table_name_73 (date_enacted VARCHAR, ns VARCHAR, normal_total VARCHAR)
SELECT date_enacted FROM table_name_73 WHERE ns = "10" AND normal_total = "104"
What's the points when the division is ebl div1 with 22 played?
CREATE TABLE table_name_68 (points VARCHAR, division VARCHAR, played VARCHAR)
SELECT points FROM table_name_68 WHERE division = "ebl div1" AND played = "22"
How many legs were lost for Trina Gulliver with more than 3 played?
CREATE TABLE table_name_11 (legs_lost VARCHAR, player VARCHAR, played VARCHAR)
SELECT COUNT(legs_lost) FROM table_name_11 WHERE player = "trina gulliver" AND played > 3
What is the highest league cup with more than 0 FA cups, a premier league less than 34 and a total of 11?
CREATE TABLE table_name_77 (league_cup INTEGER, total VARCHAR, fa_cup VARCHAR, premier_league VARCHAR)
SELECT MAX(league_cup) FROM table_name_77 WHERE fa_cup > 0 AND premier_league < 34 AND total = 11
Team Rusport has the best of 59.654 and what qual 1?
CREATE TABLE table_name_15 (qual_1 VARCHAR, team VARCHAR, best VARCHAR)
SELECT qual_1 FROM table_name_15 WHERE team = "rusport" AND best = "59.654"
Name the M809 series for short wheelbase and M939 series of M931/932
CREATE TABLE table_name_76 (m809_series VARCHAR, wheelbase VARCHAR, m939_series VARCHAR)
SELECT m809_series FROM table_name_76 WHERE wheelbase = "short" AND m939_series = "m931/932"
What is the score of the game with Pacers as the Visitor?
CREATE TABLE table_name_32 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_32 WHERE visitor = "pacers"
Which IPv6 address has an operator of Wide project?
CREATE TABLE table_name_65 (ipv6_address VARCHAR, operator VARCHAR)
SELECT ipv6_address FROM table_name_65 WHERE operator = "wide project"
What is the grid number of Sandro Cortese, who has Aprilia as the manufacturer and less than 19 laps?
CREATE TABLE table_name_44 (grid INTEGER, rider VARCHAR, manufacturer VARCHAR, laps VARCHAR)
SELECT SUM(grid) FROM table_name_44 WHERE manufacturer = "aprilia" AND laps < 19 AND rider = "sandro cortese"
Which Rank has Goals larger than 10, and a Scorer of choi sang-kuk?
CREATE TABLE table_name_35 (rank VARCHAR, goals VARCHAR, scorer VARCHAR)
SELECT rank FROM table_name_35 WHERE goals > 10 AND scorer = "choi sang-kuk"
On what date was the game where is was later than Week 4 of the season and the opponent was the New York Giants?
CREATE TABLE table_name_54 (date VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_54 WHERE week > 4 AND opponent = "new york giants"
Who were the home team during the game that aired on Fox after 2007 on October 23?
CREATE TABLE table_name_53 (designated_home VARCHAR, date VARCHAR, television VARCHAR, year VARCHAR)
SELECT designated_home FROM table_name_53 WHERE television = "fox" AND year > 2007 AND date = "october 23"
Which team has 7757 as the average?
CREATE TABLE table_21824695_8 (team VARCHAR, average VARCHAR)
SELECT team FROM table_21824695_8 WHERE average = 7757
what's the party with brooklyn value of 51.0%
CREATE TABLE table_1108394_43 (party VARCHAR, brooklyn VARCHAR)
SELECT party FROM table_1108394_43 WHERE brooklyn = "51.0_percentage"
What is the cost of an Open Source that is no?
CREATE TABLE table_name_66 (cost___us$__ VARCHAR, open_source VARCHAR)
SELECT cost___us$__ FROM table_name_66 WHERE open_source = "no"
Voivodeship or city of nowogródzkie has what capital?
CREATE TABLE table_name_75 (capital VARCHAR, voivodeship_or_city VARCHAR)
SELECT capital FROM table_name_75 WHERE voivodeship_or_city = "nowogródzkie"
What Player had a To Par of +2?
CREATE TABLE table_name_78 (player VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_78 WHERE to_par = "+2"
Tell me the name with points of 151.66
CREATE TABLE table_name_7 (name VARCHAR, points VARCHAR)
SELECT name FROM table_name_7 WHERE points = 151.66
What is the stadium of melbourne?
CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_40 WHERE home_team = "melbourne"
What was the attendance when the result was 1-1?
CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_12 WHERE result = "1-1"
What is the most lanes used that had a winner from Ireland?
CREATE TABLE table_name_83 (lane INTEGER, country VARCHAR)
SELECT MAX(lane) FROM table_name_83 WHERE country = "ireland"
Which Record has a Location/Attendance of ford center, a Game larger than 30, and a Score of 87–79?
CREATE TABLE table_name_51 (record VARCHAR, score VARCHAR, location_attendance VARCHAR, game VARCHAR)
SELECT record FROM table_name_51 WHERE location_attendance = "ford center" AND game > 30 AND score = "87–79"
Which date's visitor was jazz, when the leading scorer was Mehmet Okur (22)?
CREATE TABLE table_name_4 (date VARCHAR, visitor VARCHAR, leading_scorer VARCHAR)
SELECT date FROM table_name_4 WHERE visitor = "jazz" AND leading_scorer = "mehmet okur (22)"
What is the smallest number of matches with Bonus Pts of 19 and Total Points greater than 421?
CREATE TABLE table_name_36 (matches INTEGER, bonus_pts VARCHAR, total_points VARCHAR)
SELECT MIN(matches) FROM table_name_36 WHERE bonus_pts = 19 AND total_points > 421
What is the total number of years did he play the forward position and what school/club/team/country of Oregon State did he play?
CREATE TABLE table_name_92 (no_s_ INTEGER, position VARCHAR, school_club_team_country VARCHAR)
SELECT SUM(no_s_) FROM table_name_92 WHERE position = "forward" AND school_club_team_country = "oregon state"
What is the score for Nick Faldo?
CREATE TABLE table_name_83 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_83 WHERE player = "nick faldo"
What was the Home Team Score for the Windy Hill Venue?
CREATE TABLE table_name_63 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_63 WHERE venue = "windy hill"
What is the Margin of victory at the Bob Hope Desert Classic Tournament?
CREATE TABLE table_name_54 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_54 WHERE tournament = "bob hope desert classic"
When the Points 1 was 51 and the Goals Against was less than 66, what was the Goal Difference?
CREATE TABLE table_name_56 (goal_difference VARCHAR, points_1 VARCHAR, goals_against VARCHAR)
SELECT goal_difference FROM table_name_56 WHERE points_1 = "51" AND goals_against < 66
What is the number of bronze medals when there are fewer than 0 silver medals?
CREATE TABLE table_name_19 (bronze INTEGER, silver INTEGER)
SELECT SUM(bronze) FROM table_name_19 WHERE silver < 0
What is Event, when Date is April 20, 2013?
CREATE TABLE table_name_4 (event VARCHAR, date VARCHAR)
SELECT event FROM table_name_4 WHERE date = "april 20, 2013"
What is the resurrection of 144,000 date with a Christ made king date in 1914, a separting sheep & goats date during Christ's presence, and a judgment of religion date in 1878?
CREATE TABLE table_name_63 (resurrection_of144 VARCHAR, judgmentof_religion VARCHAR, christ_madeking VARCHAR, separating_sheep_ VARCHAR, goats VARCHAR)
SELECT resurrection_of144, 000 FROM table_name_63 WHERE christ_madeking = "1914" AND separating_sheep_ & goats = "during christ's presence" AND judgmentof_religion = "1878"
What is the Cover Date of the Story Title Spacehikers (Part 2)?
CREATE TABLE table_name_59 (cover_date VARCHAR, story_title VARCHAR)
SELECT cover_date FROM table_name_59 WHERE story_title = "spacehikers (part 2)"
What was the earliest year that Yvette Alexander took office and was up for reelection after 2016?
CREATE TABLE table_name_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR)
SELECT MIN(took_office) FROM table_name_70 WHERE name = "yvette alexander" AND up_for_reelection > 2016
What is the score of the match with the sydney roosters as the opponent?
CREATE TABLE table_name_83 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_83 WHERE opponent = "sydney roosters"
Which Date has a Score of 112–118?
CREATE TABLE table_name_58 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_58 WHERE score = "112–118"
How many years have a Player name of ronnie bull?
CREATE TABLE table_name_75 (year INTEGER, player_name VARCHAR)
SELECT SUM(year) FROM table_name_75 WHERE player_name = "ronnie bull"
what is the class when the quantity perserved is 0 and the quantity made is 5?
CREATE TABLE table_name_78 (class VARCHAR, quantity_preserved VARCHAR, quantity_made VARCHAR)
SELECT class FROM table_name_78 WHERE quantity_preserved = "0" AND quantity_made = "5"
What was the time of the game that had an NFL recap and a result of W 22–16?
CREATE TABLE table_name_2 (time VARCHAR, nfl_recap VARCHAR, result VARCHAR)
SELECT time FROM table_name_2 WHERE nfl_recap = "recap" AND result = "w 22–16"
which production codes were written by andrew goldberg
CREATE TABLE table_26259391_1 (production_code VARCHAR, written_by VARCHAR)
SELECT production_code FROM table_26259391_1 WHERE written_by = "Andrew Goldberg"
What is the mean game number when the points scored were more than 99?
CREATE TABLE table_name_73 (game INTEGER, points INTEGER)
SELECT AVG(game) FROM table_name_73 WHERE points > 99
What facility opening in 1954?
CREATE TABLE table_25346763_1 (facility VARCHAR, year_opened VARCHAR)
SELECT facility FROM table_25346763_1 WHERE year_opened = "1954"
What is the score when the record was 5-4-2?
CREATE TABLE table_name_32 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_32 WHERE record = "5-4-2"
How many attended the game at Busch Stadium (ii) when the time was 3:54?
CREATE TABLE table_name_88 (attendance VARCHAR, location VARCHAR, time VARCHAR)
SELECT attendance FROM table_name_88 WHERE location = "busch stadium (ii)" AND time = "3:54"
When did the term end for the U.S. Marine Corps?
CREATE TABLE table_name_5 (term_ended VARCHAR, branch VARCHAR)
SELECT term_ended FROM table_name_5 WHERE branch = "u.s. marine corps"