context
stringlengths
0
489
instruction
stringlengths
16
244
response
stringlengths
38
557
CREATE TABLE table_name_3 (name VARCHAR, team VARCHAR, wsu_year_s_ VARCHAR)
What is Name, when Team is Detroit Pistons, and when WSU Year(s) is 1979-82?
SELECT name FROM table_name_3 WHERE team = "detroit pistons" AND wsu_year_s_ = "1979-82"
CREATE TABLE table_245695_2 (mls_cup_playoffs VARCHAR, concacaf_champions_cup___concacaf_champions_league VARCHAR)
What was the mls cup playoffs when concacaf champions cup / concacaf champions league was quarter-finals (09-10)?
SELECT mls_cup_playoffs FROM table_245695_2 WHERE concacaf_champions_cup___concacaf_champions_league = "Quarter-Finals (09-10)"
CREATE TABLE table_name_39 (house_1950 VARCHAR, governors_1950 VARCHAR)
What shows for House 1950 when the Governors 1950 show governors 1995?
SELECT house_1950 FROM table_name_39 WHERE governors_1950 = "governors 1995"
CREATE TABLE table_name_16 (name_of_deity VARCHAR, name_of_the_river VARCHAR)
What is the name of the diety for the river of sone?
SELECT name_of_deity FROM table_name_16 WHERE name_of_the_river = "sone"
CREATE TABLE table_name_13 (name_of_the_stone__sila_ VARCHAR, name_of_the_state_where_found_in_india VARCHAR)
What is the name of the stone found in Andhra Pradesh, India?
SELECT name_of_the_stone__sila_ FROM table_name_13 WHERE name_of_the_state_where_found_in_india = "andhra pradesh"
CREATE TABLE table_25037577_1 (year VARCHAR, high_school_principal VARCHAR, superintendent VARCHAR)
How many years was lynn muscarella the high school principal and charlie wiltse the superintendent?
SELECT COUNT(year) FROM table_25037577_1 WHERE high_school_principal = "Lynn Muscarella" AND superintendent = "Charlie Wiltse"
CREATE TABLE table_25037577_1 (superintendent VARCHAR, year VARCHAR, middle_school_principal VARCHAR, gorham_principal VARCHAR)
Who were the superintendent(s) when the middle school principal was alan degroote, the gorham principal was paul lahue, and the year was 2006-2007?
SELECT superintendent FROM table_25037577_1 WHERE middle_school_principal = "Alan Degroote" AND gorham_principal = "Paul Lahue" AND year = "2006-2007"
CREATE TABLE table_25055040_22 (youth_classification VARCHAR, sprint_classification VARCHAR, most_courageous VARCHAR)
When Mark Cavendish wins sprint classification and Maarten Tjallingii wins most courageous, who wins youth classification?
SELECT youth_classification FROM table_25055040_22 WHERE sprint_classification = "Mark Cavendish" AND most_courageous = "Maarten Tjallingii"
CREATE TABLE table_25055040_22 (team_classification VARCHAR, general_classification VARCHAR)
When Brett Lancaster won the general classification, who won the team calssification?
SELECT team_classification FROM table_25055040_22 WHERE general_classification = "Brett Lancaster"
CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, youth_classification VARCHAR, most_courageous VARCHAR)
When Peter Sagan won the youth classification and Thomas Rabou won the most corageous, who won the sprint classification?
SELECT sprint_classification FROM table_25055040_22 WHERE youth_classification = "Peter Sagan" AND most_courageous = "Thomas Rabou"
CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, mountains_classification VARCHAR, general_classification VARCHAR)
When Ryan Anderson won the mountains classification, and Michael Rogers won the general classification, who won the sprint classification?
SELECT sprint_classification FROM table_25055040_22 WHERE mountains_classification = "Ryan Anderson" AND general_classification = "Michael Rogers"
CREATE TABLE table_name_67 (pregame_host VARCHAR, color_commentator_s_ VARCHAR, play_by_play VARCHAR, year VARCHAR)
What is the name of the pregame host when the Play-by-play was by JP Dellacamera, earlier than 2009, and Color commentator(s) was Ty Keough?
SELECT pregame_host FROM table_name_67 WHERE play_by_play = "jp dellacamera" AND year < 2009 AND color_commentator_s_ = "ty keough"
CREATE TABLE table_2508175_1 (annual_co2_emissions__in_thousands_of_metric_tons_ INTEGER, gdp_per_emissions__in_us_dollars_per_ton_ VARCHAR)
when the gdp per emissions (in us dollars per ton) is 3903, what is the maximum annual co2 emissions (in thousands of metric tons)?
SELECT MAX(annual_co2_emissions__in_thousands_of_metric_tons_) FROM table_2508175_1 WHERE gdp_per_emissions__in_us_dollars_per_ton_ = 3903
CREATE TABLE table_25146455_1 (position INTEGER, winnings VARCHAR)
In what position was the driver who won $60,000?
SELECT MIN(position) FROM table_25146455_1 WHERE winnings = "$60,000"
CREATE TABLE table_name_71 (player VARCHAR, years_for_grizzlies VARCHAR, nationality VARCHAR, position VARCHAR)
Who was the 1999-2002 Years for Grizzlies small forward Player who was from the United States?
SELECT player FROM table_name_71 WHERE nationality = "united states" AND position = "small forward" AND years_for_grizzlies = "1999-2002"
CREATE TABLE table_name_65 (location_attendance VARCHAR, game VARCHAR)
What is the location and attendance of game 44?
SELECT location_attendance FROM table_name_65 WHERE game = 44
CREATE TABLE table_name_76 (record VARCHAR, decision VARCHAR, game VARCHAR)
What is the record of game 42, which had a clemmensen decision?
SELECT record FROM table_name_76 WHERE decision = "clemmensen" AND game = 42
CREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR)
what is the special edition where the english version is nick stewart?
SELECT special_edition FROM table_25173505_13 WHERE english_version = "Nick Stewart"
CREATE TABLE table_name_63 (attendance VARCHAR, site VARCHAR, opponent VARCHAR)
What is the number in attendance at Dowdy-Ficklen stadium • Greenville, NC, and the opponent was Ohio?
SELECT attendance FROM table_name_63 WHERE site = "dowdy-ficklen stadium • greenville, nc" AND opponent = "ohio"
CREATE TABLE table_name_75 (date VARCHAR, site VARCHAR)
What date was the game at Williams-Brice stadium • Columbia, SC?
SELECT date FROM table_name_75 WHERE site = "williams-brice stadium • columbia, sc"
CREATE TABLE table_2523809_1 (coverage VARCHAR, callsign VARCHAR)
Which city did kpnz-tv provide coverage for?
SELECT coverage FROM table_2523809_1 WHERE callsign = "KPNZ-TV"
CREATE TABLE table_25244412_1 (renewable_electricity_w_o_hydro__gw INTEGER, renewable_electricity__gw•h_ VARCHAR)
When renewable electricity is 5760 (gw×h) what is the minimum amount of renewable elecrrixity without hydrogen power?
SELECT MIN(renewable_electricity_w_o_hydro__gw) AS •h_ FROM table_25244412_1 WHERE renewable_electricity__gw•h_ = 5760
CREATE TABLE table_25244412_1 (renewable_electricity_w_o_hydro__gw•h_ VARCHAR, _percentage_renewable VARCHAR)
What is the amount of renewable electricity without hydrogen power when the percentage of renewable energy is 83.4?
SELECT renewable_electricity_w_o_hydro__gw•h_ FROM table_25244412_1 WHERE _percentage_renewable = "83.4"
CREATE TABLE table_name_73 (Id VARCHAR)
What is 2005, when 2006 is "1R"?
SELECT 2005 FROM table_name_73 WHERE 2006 = "1r"
CREATE TABLE table_25276250_3 (outputs VARCHAR, notes VARCHAR)
How many outputs are there for solid state, battery operated for portable use listed in notes?
SELECT COUNT(outputs) FROM table_25276250_3 WHERE notes = "Solid state, battery operated for portable use"
CREATE TABLE table_2528382_5 (movie_album VARCHAR, co_stars VARCHAR, lyricist VARCHAR)
What movie did Vijayalaxmi Co-star in and Shakeel Badayuni write the lyrics?
SELECT movie_album FROM table_2528382_5 WHERE co_stars = "VijayaLaxmi" AND lyricist = "Shakeel Badayuni"
CREATE TABLE table_name_99 (singapore_league_cup VARCHAR, name VARCHAR)
What Singapore League Cup does Masahiro Fukasawa have?
SELECT singapore_league_cup FROM table_name_99 WHERE name = "masahiro fukasawa"
CREATE TABLE table_name_41 (total VARCHAR, name VARCHAR)
What is Norikazu Murakami's total?
SELECT total FROM table_name_41 WHERE name = "norikazu murakami"
CREATE TABLE table_25356350_2 (series__number VARCHAR, written_by VARCHAR)
How many episodes are written by Lew Schneider?
SELECT COUNT(series__number) FROM table_25356350_2 WHERE written_by = "Lew Schneider"
CREATE TABLE table_25401874_1 (games_played VARCHAR, name VARCHAR)
How many games played catagories are there for Lauren McGee?
SELECT COUNT(games_played) FROM table_25401874_1 WHERE name = "Lauren McGee"
CREATE TABLE table_name_13 (money___ INTEGER, country VARCHAR, to_par VARCHAR)
What is the lowest amount of money a player from South Africa with a to par less than 8 has?
SELECT MIN(money___) AS $__ FROM table_name_13 WHERE country = "south africa" AND to_par < 8
CREATE TABLE table_name_1 (course VARCHAR, location VARCHAR, year VARCHAR, country VARCHAR, to_par_ VARCHAR, a_ VARCHAR)
With a year larger than 1905, and a location of philadelphia, pennsylvania with a to par [a] of n/a and a country of scotland what is the course?
SELECT course FROM table_name_1 WHERE to_par_[a_] = "n/a" AND country = "scotland" AND year > 1905 AND location = "philadelphia, pennsylvania"
CREATE TABLE table_name_3 (number_of_bearers_2009 INTEGER, number_of_bearers_1971 VARCHAR, etymology VARCHAR, rank VARCHAR, type VARCHAR)
What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymology meaning son of Christian, and the number of bearers in 1971 greater than 45.984?
SELECT SUM(number_of_bearers_2009) FROM table_name_3 WHERE rank > 1 AND type = "patronymic" AND etymology = "son of christian" AND number_of_bearers_1971 > 45.984
CREATE TABLE table_25604014_9 (no_in_season INTEGER, directed_by VARCHAR)
Name the most number in season for leslie hill
SELECT MAX(no_in_season) FROM table_25604014_9 WHERE directed_by = "Leslie Hill"
CREATE TABLE table_25604014_9 (original_air_date VARCHAR, production_code VARCHAR)
Name the original air date for production code 1l16
SELECT original_air_date FROM table_25604014_9 WHERE production_code = "1L16"
CREATE TABLE table_name_18 (college_team VARCHAR, round VARCHAR, nationality VARCHAR)
What is College/Team, when Round is less than 2, and when Nationality is "United States"?
SELECT college_team FROM table_name_18 WHERE round < 2 AND nationality = "united states"
CREATE TABLE table_name_90 (q1_pos INTEGER, q1_time VARCHAR, q1_order VARCHAR)
WHAT IS THE Q1 POS WITH A 1:31.826 Q1 TIME, AND Q1 ORDER OF 7?
SELECT MAX(q1_pos) FROM table_name_90 WHERE q1_time = "1:31.826" AND q1_order > 7
CREATE TABLE table_2562572_26 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)
What is the dominant religion in Gornji Tavankut?
SELECT dominant_religion__2002_ FROM table_2562572_26 WHERE settlement = "Gornji Tavankut"
CREATE TABLE table_2562572_26 (settlement VARCHAR, cyrillic_name_other_names VARCHAR)
How many settlements are named ђурђин (croatian: đurđin)?
SELECT COUNT(settlement) FROM table_2562572_26 WHERE cyrillic_name_other_names = "Ђурђин (Croatian: Đurđin)"
CREATE TABLE table_2562572_39 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR)
The pooulation of јарковац is?
SELECT population__2011_ FROM table_2562572_39 WHERE cyrillic_name_other_names = "Јарковац"
CREATE TABLE table_name_80 (location VARCHAR, home_ground VARCHAR)
What was the location of the club where the home ground is wilfred taylor reserve?
SELECT location FROM table_name_80 WHERE home_ground = "wilfred taylor reserve"
CREATE TABLE table_name_48 (home_ground VARCHAR, founded VARCHAR, coach VARCHAR)
Where is the home ground for the club coached by nick pantsaras and founded before 1946?
SELECT home_ground FROM table_name_48 WHERE founded < 1946 AND coach = "nick pantsaras"
CREATE TABLE table_256286_20 (description VARCHAR, _percentage_yes VARCHAR)
Who had 41.76% yes votes
SELECT description FROM table_256286_20 WHERE _percentage_yes = "41.76%"
CREATE TABLE table_name_69 (title VARCHAR, original_air_date VARCHAR, season__number VARCHAR, directed_by VARCHAR)
What is the title of the show with less than 10 seasons that aired on September 29, 1997 and is directed by Milan Cheylov?
SELECT title FROM table_name_69 WHERE season__number < 10 AND directed_by = "milan cheylov" AND original_air_date = "september 29, 1997"
CREATE TABLE table_name_75 (coach VARCHAR, most_improved VARCHAR)
Which Coach has a Most Improved of rory thompson?
SELECT coach FROM table_name_75 WHERE most_improved = "rory thompson"
CREATE TABLE table_name_35 (capacity INTEGER, team VARCHAR)
what is the capacity for the team šibenik?
SELECT MIN(capacity) FROM table_name_35 WHERE team = "šibenik"
CREATE TABLE table_name_88 (capacity INTEGER, home_city VARCHAR, manager VARCHAR)
what is the capacity when the home city is zagreb and the manager is zlatko kranjčar?
SELECT AVG(capacity) FROM table_name_88 WHERE home_city = "zagreb" AND manager = "zlatko kranjčar"
CREATE TABLE table_name_43 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
What is the grid for the driver with an electrical time/retired and 51 laps?
SELECT grid FROM table_name_43 WHERE time_retired = "electrical" AND laps = 51
CREATE TABLE table_25762852_1 (name VARCHAR, runs VARCHAR)
How many resorts have 118 runs?
SELECT COUNT(name) FROM table_25762852_1 WHERE runs = "118"
CREATE TABLE table_name_63 (location_attendance VARCHAR, date VARCHAR)
What is Location Attendance, when Date is "December 30"?
SELECT location_attendance FROM table_name_63 WHERE date = "december 30"
CREATE TABLE table_26137666_3 (winning_driver VARCHAR, winning_team VARCHAR, circuit VARCHAR)
Who are all winning drivers if winning team is Carlin Motorsport and circuit is Croft?
SELECT winning_driver FROM table_26137666_3 WHERE winning_team = "Carlin Motorsport" AND circuit = "Croft"
CREATE TABLE table_26137666_3 (pole_position VARCHAR, circuit VARCHAR, winning_driver VARCHAR)
What is every pole position for the Castle Combe circuit and Robbie Kerr is the winning driver?
SELECT pole_position FROM table_26137666_3 WHERE circuit = "Castle Combe" AND winning_driver = "Robbie Kerr"
CREATE TABLE table_26137666_3 (round VARCHAR, fastest_lap VARCHAR)
How many rounds have Fabio Carbone for fastest lap?
SELECT COUNT(round) FROM table_26137666_3 WHERE fastest_lap = "Fabio Carbone"
CREATE TABLE table_name_5 (crowd INTEGER, home_team VARCHAR)
What is Lowest Crowd, when Home Team is Brisbane Lions?
SELECT MIN(crowd) FROM table_name_5 WHERE home_team = "brisbane lions"
CREATE TABLE table_2618152_1 (production_code VARCHAR, original_air_date VARCHAR)
The episode with the original air date January 6, 1999, has what production code?
SELECT production_code FROM table_2618152_1 WHERE original_air_date = "January 6, 1999"
CREATE TABLE table_2618152_1 (no_in_season VARCHAR, written_by VARCHAR)
What is the season number of the episode written by Matt Witten , Richard Sweren?
SELECT no_in_season FROM table_2618152_1 WHERE written_by = "Matt Witten , Richard Sweren"
CREATE TABLE table_2618152_1 (directed_by VARCHAR, production_code VARCHAR)
The episode with the production code E0208 is directed by who?
SELECT directed_by FROM table_2618152_1 WHERE production_code = "E0208"
CREATE TABLE table_name_79 (standard VARCHAR, pollutant VARCHAR, averaging_time VARCHAR)
what is the standard when the pollutant is o 3 and averaging time is 8-hour?
SELECT standard FROM table_name_79 WHERE pollutant = "o 3" AND averaging_time = "8-hour"
CREATE TABLE table_261946_3 (enrollment VARCHAR, location__all_in_ohio_ VARCHAR)
What is the enrollment for Ashland University?
SELECT enrollment FROM table_261946_3 WHERE location__all_in_ohio_ = "Ashland"
CREATE TABLE table_name_93 (winnings VARCHAR, top_10 VARCHAR, starts VARCHAR, poles VARCHAR)
Which Winnings have Starts larger than 34, and Poles smaller than 1, and a Top 10 of 5?
SELECT winnings FROM table_name_93 WHERE starts > 34 AND poles < 1 AND top_10 = 5
CREATE TABLE table_name_87 (longitude VARCHAR, latitude VARCHAR, name VARCHAR)
Which Longitude has a Latitude of 73.0s, and a Name of aibarchin planitia?
SELECT longitude FROM table_name_87 WHERE latitude = "73.0s" AND name = "aibarchin planitia"
CREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
When the score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final?
SELECT opponent_in_the_final FROM table_26202847_6 WHERE score_in_the_final = "3–6, 6–4, 3–6, 4–6"
CREATE TABLE table_26301697_2 (age INTEGER, represents VARCHAR)
Name the least age for distrito nacional
SELECT MIN(age) FROM table_26301697_2 WHERE represents = "Distrito Nacional"
CREATE TABLE table_name_62 (rank VARCHAR, games VARCHAR, team VARCHAR, points VARCHAR)
What's the rank of the Tau Cerámica that has 377 points and more than 21 games?
SELECT COUNT(rank) FROM table_name_62 WHERE team = "tau cerámica" AND points = 377 AND games > 21
CREATE TABLE table_name_82 (institution VARCHAR, year VARCHAR, name VARCHAR)
What institution won in 2010 with student Cheng Herng Yi?
SELECT institution FROM table_name_82 WHERE year > 2010 AND name = "cheng herng yi"
CREATE TABLE table_26375386_23 (judges VARCHAR, result VARCHAR)
How many judges were there for the eliminated couple?
SELECT judges FROM table_26375386_23 WHERE result = "Eliminated"
CREATE TABLE table_26561506_1 (patient_portrayer VARCHAR, _number VARCHAR)
How many episodes are numbered 4 in the season?
SELECT COUNT(patient_portrayer) FROM table_26561506_1 WHERE _number = 4
CREATE TABLE table_name_91 (pick INTEGER, round VARCHAR, nationality VARCHAR)
What was the lowest pick number for a united states player picked before round 7?
SELECT MIN(pick) FROM table_name_91 WHERE round > 7 AND nationality = "united states"
CREATE TABLE table_name_6 (country VARCHAR, score VARCHAR)
What country was the player with the score line 69-71-72-69=281 from?
SELECT country FROM table_name_6 WHERE score = 69 - 71 - 72 - 69 = 281
CREATE TABLE table_name_83 (pro_stock VARCHAR, top_fuel VARCHAR, funny_car VARCHAR)
Who won Pro Stock the year Tony Schumacher won Top Fuel and Tony Pedregon won Funny Car?
SELECT pro_stock FROM table_name_83 WHERE top_fuel = "tony schumacher" AND funny_car = "tony pedregon"
CREATE TABLE table_name_65 (year VARCHAR, funny_car VARCHAR, top_fuel VARCHAR)
In which year did John Force win Funny Car and Mike Dunn win in Top Fuel?
SELECT year FROM table_name_65 WHERE funny_car = "john force" AND top_fuel = "mike dunn"
CREATE TABLE table_26669939_1 (host_city VARCHAR, host_country VARCHAR, edition VARCHAR)
What was the host city of the 8th edition in the the host country of Croatia?
SELECT host_city FROM table_26669939_1 WHERE host_country = "Croatia" AND edition = "8th"
CREATE TABLE table_name_28 (silver VARCHAR, bronze VARCHAR)
Who won the Silver the Year Katie Curtis Unknown won the Bronze?
SELECT silver FROM table_name_28 WHERE bronze = "katie curtis unknown"
CREATE TABLE table_name_70 (to_par VARCHAR, score VARCHAR)
What was the to par that goes with the score 68-74-69=211?
SELECT to_par FROM table_name_70 WHERE score = 68 - 74 - 69 = 211
CREATE TABLE table_name_89 (location VARCHAR, opponent VARCHAR)
Where is the location where Scott Junk was the opponent?
SELECT location FROM table_name_89 WHERE opponent = "scott junk"
CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR)
Name the number of first elected for kentucky 3
SELECT COUNT(first_elected) FROM table_2668378_5 WHERE district = "Kentucky 3"
CREATE TABLE table_name_81 (home_team VARCHAR, tie_no VARCHAR, away_team VARCHAR)
Who was the home team that had a replay of Tie Number and played against the Bolton Wanderers?
SELECT home_team FROM table_name_81 WHERE tie_no = "replay" AND away_team = "bolton wanderers"
CREATE TABLE table_name_43 (place VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR)
What place did the golfer from the United States come in with a To Par of +2, and a score of 73-74-71-72=290?
SELECT place FROM table_name_43 WHERE country = "united states" AND to_par = "+2" AND score = 73 - 74 - 71 - 72 = 290
CREATE TABLE table_2679061_2 (pick__number INTEGER, nhl_team VARCHAR, college_junior_club_team VARCHAR)
what is the pick # when the nhl team is montreal canadiens and the college/junior/club team is trois-rivières draveurs (qmjhl)?
SELECT MIN(pick__number) FROM table_2679061_2 WHERE nhl_team = "Montreal Canadiens" AND college_junior_club_team = "Trois-Rivières Draveurs (QMJHL)"
CREATE TABLE table_26847237_2 (games VARCHAR, height VARCHAR)
How many games were played where the height of the player is 1.92m?
SELECT COUNT(games) FROM table_26847237_2 WHERE height = "1.92m"
CREATE TABLE table_26914076_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
Name the us viewers directed by christine moore
SELECT us_viewers__millions_ FROM table_26914076_2 WHERE directed_by = "Christine Moore"
CREATE TABLE table_name_87 (runner_s__up VARCHAR, margin_of_victory VARCHAR)
What is Runner(s)-Up when Margin of Victory is 6 Strokes?
SELECT runner_s__up FROM table_name_87 WHERE margin_of_victory = "6 strokes"
CREATE TABLE table_27208814_1 (original_airdate VARCHAR, writer VARCHAR, director VARCHAR)
Name the original airdate for robin mukherjee and margy kinmonth
SELECT original_airdate FROM table_27208814_1 WHERE writer = "Robin Mukherjee" AND director = "Margy Kinmonth"
CREATE TABLE table_name_46 (wkts INTEGER, ovrs VARCHAR, econ VARCHAR)
what is the sum of the wkts when the ovrs were bigger than 2 and econ was bigger than 7.84?
SELECT SUM(wkts) FROM table_name_46 WHERE ovrs > 2 AND econ > 7.84
CREATE TABLE table_name_71 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, rider VARCHAR)
What is the average laps when the manufacturer is yamaha, and the rider is garry mccoy and the grid is smaller than 4?
SELECT AVG(laps) FROM table_name_71 WHERE manufacturer = "yamaha" AND rider = "garry mccoy" AND grid < 4
CREATE TABLE table_name_4 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)
What is the lowest laps that has a manufacturer of yamaha, and a time/retired of +1:08.312, and a grid less than 20?
SELECT MIN(laps) FROM table_name_4 WHERE manufacturer = "yamaha" AND time_retired = "+1:08.312" AND grid < 20
CREATE TABLE table_name_74 (event VARCHAR, method VARCHAR, opponent VARCHAR)
What event had a tko (punches) method and jason macdonald as the opponent?
SELECT event FROM table_name_74 WHERE method = "tko (punches)" AND opponent = "jason macdonald"
CREATE TABLE table_27257896_2 (salary_range VARCHAR, working_force_of_hk VARCHAR)
If the working force of HK is 10.4%, what is the salary range?
SELECT salary_range FROM table_27257896_2 WHERE working_force_of_hk = "10.4%"
CREATE TABLE table_27257896_2 (indians VARCHAR, salary_range VARCHAR)
If the salary range is 4,000-9,000, what is the Indians %?
SELECT indians FROM table_27257896_2 WHERE salary_range = "4,000-9,000"
CREATE TABLE table_name_32 (score_in_final VARCHAR, date VARCHAR)
What was the score on February 14, 1999?
SELECT score_in_final FROM table_name_32 WHERE date = "february 14, 1999"
CREATE TABLE table_name_16 (sydney INTEGER, weekly_rank VARCHAR, brisbane VARCHAR)
What is the lowest value for Sydney, when WEEKLY RANK is less than 8, and when Brisbane is greater than 252,000?
SELECT MIN(sydney) FROM table_name_16 WHERE weekly_rank < 8 AND brisbane > 252 OFFSET 000
CREATE TABLE table_27303975_2 (studio VARCHAR, catalog_number VARCHAR)
Name the studio for catalog number 81063
SELECT studio FROM table_27303975_2 WHERE catalog_number = "81063"
CREATE TABLE table_27374740_1 (no_in_season INTEGER, directed_by VARCHAR)
What number episode in the season was directed by Paul Adelstein?
SELECT MAX(no_in_season) FROM table_27374740_1 WHERE directed_by = "Paul Adelstein"
CREATE TABLE table_name_8 (winning_score VARCHAR, year VARCHAR, championship VARCHAR)
What was the winning score in 1985 for Championship of u.s. women's open?
SELECT winning_score FROM table_name_8 WHERE year < 1985 AND championship = "u.s. women's open"
CREATE TABLE table_27495117_3 (team VARCHAR, date_of_appointment VARCHAR)
how many teams had an appointment date of 11 april 2011
SELECT COUNT(team) FROM table_27495117_3 WHERE date_of_appointment = "11 April 2011"
CREATE TABLE table_name_19 (location___state VARCHAR, circuit VARCHAR)
Where is the Eastern Creek Raceway located?
SELECT location___state FROM table_name_19 WHERE circuit = "eastern creek raceway"
CREATE TABLE table_27537870_5 (december VARCHAR, record VARCHAR)
Name the december for record 14-17-4
SELECT december FROM table_27537870_5 WHERE record = "14-17-4"
CREATE TABLE table_27537870_5 (december INTEGER, location_attendance VARCHAR)
Name the least december for hsbc arena/18,017
SELECT MIN(december) FROM table_27537870_5 WHERE location_attendance = "HSBC Arena/18,017"
CREATE TABLE table_name_92 (director_s_ VARCHAR, title VARCHAR)
Director for Star Wars Episode II: attack of the clones?
SELECT director_s_ FROM table_name_92 WHERE title = "star wars episode ii: attack of the clones"
CREATE TABLE table_27599216_6 (capacity VARCHAR, institution VARCHAR)
What is the capacity for the institution of university of alberta?
SELECT capacity FROM table_27599216_6 WHERE institution = "University of Alberta"