answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT COUNT(high_assists) FROM table_28768469_10 WHERE game = 73
In game 73, what were the total number of high assists?
CREATE TABLE table_28768469_10 (high_assists VARCHAR, game VARCHAR)
SELECT rank FROM table_name_33 WHERE nationality = "zimbabwe"
What is Zimbabwe's rank?
CREATE TABLE table_name_33 (rank VARCHAR, nationality VARCHAR)
SELECT COUNT(starts) FROM table_name_66 WHERE cuts_made = 2 AND top_25 > 0 AND earnings__$_ < 338 OFFSET 067
How many Starts that have Cuts made of 2, Top 25 larger than 0, and Earnings ($) smaller than 338,067?
CREATE TABLE table_name_66 (starts VARCHAR, earnings__$_ VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)
SELECT COUNT(population) FROM table_16278825_1 WHERE towns__villages = 217
NJame the total number of population for towns/villages for 217
CREATE TABLE table_16278825_1 (population VARCHAR, towns__villages VARCHAR)
SELECT home_team FROM table_name_77 WHERE score = "0–1" AND away_team = "tottenham hotspur"
Which Home team has a Score of 0–1, and an Away team of tottenham hotspur?
CREATE TABLE table_name_77 (home_team VARCHAR, score VARCHAR, away_team VARCHAR)
SELECT score_in_the_final FROM table_name_62 WHERE surface = "clay" AND partner = "martin emmrich"
Which Score in the final has a Surface of clay, and a Partner of martin emmrich?
CREATE TABLE table_name_62 (score_in_the_final VARCHAR, surface VARCHAR, partner VARCHAR)
SELECT brazil_scorers FROM table_name_93 WHERE score = "1-1"
What Brazil scorers have a 1-1 Score?
CREATE TABLE table_name_93 (brazil_scorers VARCHAR, score VARCHAR)
SELECT COUNT(bronze) FROM table_name_54 WHERE silver = 0 AND total < 1
Tell me the number of bronze for silver of 0 and total less than 1
CREATE TABLE table_name_54 (bronze VARCHAR, silver VARCHAR, total VARCHAR)
SELECT player FROM table_name_50 WHERE country = "england" AND place = "t7"
What is Player, when Country is "England", and when Place is "T7"?
CREATE TABLE table_name_50 (player VARCHAR, country VARCHAR, place VARCHAR)
SELECT callsign FROM table_name_66 WHERE frequency = 1300
What callsign has 1300 as the frequency?
CREATE TABLE table_name_66 (callsign VARCHAR, frequency VARCHAR)
SELECT MAX(term_ending) FROM table_name_89 WHERE name = "xue hanqin"
Name of xue hanqin has what highest term ending?
CREATE TABLE table_name_89 (term_ending INTEGER, name VARCHAR)
SELECT pole_position FROM table_name_27 WHERE grand_prix = "belgian grand prix"
What is the pole position of the Belgian Grand Prix?
CREATE TABLE table_name_27 (pole_position VARCHAR, grand_prix VARCHAR)
SELECT COUNT(party) FROM table_1342292_45 WHERE first_elected = 1930
How many incumbents were first elected in 1930?
CREATE TABLE table_1342292_45 (party VARCHAR, first_elected VARCHAR)
SELECT chassis FROM table_name_88 WHERE year = 1971
Which Chassis was featured in the year 1971?
CREATE TABLE table_name_88 (chassis VARCHAR, year VARCHAR)
SELECT to_par FROM table_name_24 WHERE player = "fred couples"
What is Fred Couples to par?
CREATE TABLE table_name_24 (to_par VARCHAR, player VARCHAR)
SELECT quantity_made FROM table_name_23 WHERE quantity_preserved = "4-4-0 — oooo — american"
What is Quantitiy Made, when Quantity Preserved is "4-4-0 — oooo — american"?
CREATE TABLE table_name_23 (quantity_made VARCHAR, quantity_preserved VARCHAR)
SELECT COUNT(top_5) FROM table_name_38 WHERE year < 2009 AND wins > 0
Can you tell me the total number of Top 5 that has the Year smaller than 2009, and the Wins larger than 0?
CREATE TABLE table_name_38 (top_5 VARCHAR, year VARCHAR, wins VARCHAR)
SELECT mult FROM table_name_73 WHERE release_date = "q4 2007" AND model_number = "pentium dual-core t2310"
What is the mult value of the microprocessor with a release date q4 2007 and model number pentium dual-core t2310?
CREATE TABLE table_name_73 (mult VARCHAR, release_date VARCHAR, model_number VARCHAR)
SELECT AVG(draw) FROM table_name_33 WHERE total_games = 186
What is the average draw for 186 games?
CREATE TABLE table_name_33 (draw INTEGER, total_games VARCHAR)
SELECT title FROM table_name_54 WHERE year = 1971
What title was released in 1971?
CREATE TABLE table_name_54 (title VARCHAR, year VARCHAR)
SELECT fleet_number_s_ FROM table_name_78 WHERE quantity_made = "1"
Which fleet numbers has quantity of 1?
CREATE TABLE table_name_78 (fleet_number_s_ VARCHAR, quantity_made VARCHAR)
SELECT AVG(Speed) FROM roller_coaster
What is the average speed of roller coasters?
CREATE TABLE roller_coaster (Speed INTEGER)
SELECT SUM(bronze) FROM table_name_19 WHERE silver < 0
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 airing_date FROM table_name_50 WHERE official_website = "official website" AND number_of_episodes = 20 AND genre = "modern action" AND english_title__chinese_title_ = "armed reaction 陀槍師姐"
What's the airing date of Armed Reaction 陀槍師姐 with 20 episodes in the Modern Action genre having an official website?
CREATE TABLE table_name_50 (airing_date VARCHAR, english_title__chinese_title_ VARCHAR, genre VARCHAR, official_website VARCHAR, number_of_episodes VARCHAR)
SELECT game_site FROM table_16028479_2 WHERE attendance = 79176
At which stadiums was attendance total 79176?
CREATE TABLE table_16028479_2 (game_site VARCHAR, attendance VARCHAR)
SELECT MIN(date) FROM table_name_15 WHERE surface = "clay" AND championship = "linz, austria"
What is the earliest Date on a Surface of clay in a Championship in Linz, Austria?
CREATE TABLE table_name_15 (date INTEGER, surface VARCHAR, championship VARCHAR)
SELECT date FROM table_name_94 WHERE circuit = "laguna seca raceway" AND class = "gtx/gto"
Which date was held at Laguna Seca Raceway, in class GTX/GTO?
CREATE TABLE table_name_94 (date VARCHAR, circuit VARCHAR, class VARCHAR)
SELECT location FROM table_name_71 WHERE school = "muncie burris"
what is the location when the school is muncie burris?
CREATE TABLE table_name_71 (location VARCHAR, school VARCHAR)
SELECT country FROM table_name_22 WHERE average < 9.6 AND interview > 9.22 AND swimsuit > 9.46
Which country has swimsuit more than 9.46 and interview more than 9.22 with average less than 9.6?
CREATE TABLE table_name_22 (country VARCHAR, swimsuit VARCHAR, average VARCHAR, interview VARCHAR)
SELECT term_ended FROM table_1602620_1 WHERE elected = 1990
What year did the term end for those elected in 1990
CREATE TABLE table_1602620_1 (term_ended VARCHAR, elected VARCHAR)
SELECT COUNT(attendance) FROM table_name_43 WHERE league_position = "16th" AND score_f_a = "0–3"
How many were in attendance when the league position was 16th and the score was F–A of 0–3?
CREATE TABLE table_name_43 (attendance VARCHAR, league_position VARCHAR, score_f_a VARCHAR)
SELECT 1977 FROM table_name_12 WHERE tournament = "us open"
What is the listing for the US Open in 1977?
CREATE TABLE table_name_12 (tournament VARCHAR)
SELECT party FROM table_1341472_15 WHERE first_elected = "1980"
what's the party for the first elected in 1980
CREATE TABLE table_1341472_15 (party VARCHAR, first_elected VARCHAR)
SELECT indians_admitted FROM table_1717824_3 WHERE year = 2001
How many Indians were admitted in 2001?
CREATE TABLE table_1717824_3 (indians_admitted VARCHAR, year VARCHAR)
SELECT internet_explorer FROM table_name_47 WHERE firefox = "24.98%"
What was the internet explorer % when firefox was 24.98%?
CREATE TABLE table_name_47 (internet_explorer VARCHAR, firefox VARCHAR)
SELECT original_airdate FROM table_12919003_3 WHERE director = "Pete Travis"
What's the original airdate of the episode directed by Pete Travis?
CREATE TABLE table_12919003_3 (original_airdate VARCHAR, director VARCHAR)
SELECT rank FROM table_name_90 WHERE start = "10" AND laps < 192
What's the rank when the start is 10 and the laps are fewer than 192?
CREATE TABLE table_name_90 (rank VARCHAR, start VARCHAR, laps VARCHAR)
SELECT rank FROM table_name_31 WHERE notes = "fb" AND country = "new zealand"
What is the rank of the new zealand team that had fb listed under notes?
CREATE TABLE table_name_31 (rank VARCHAR, notes VARCHAR, country VARCHAR)
SELECT AVG(goals_for) FROM table_name_9 WHERE draws < 6 AND losses < 7
WHAT ARE THE GOALS WITH DRAWS SMALLER THAN 6, AND LOSSES SMALLER THAN 7?
CREATE TABLE table_name_9 (goals_for INTEGER, draws VARCHAR, losses VARCHAR)
SELECT COUNT(player) FROM table_1473672_9 WHERE nhl_team = "Vancouver Canucks"
how many player with nhl team being vancouver canucks
CREATE TABLE table_1473672_9 (player VARCHAR, nhl_team VARCHAR)
SELECT attendance FROM table_name_84 WHERE date = "december 12, 2004"
What is the Attendance of the game on December 12, 2004?
CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_17 WHERE date = "april 14"
Which opponent was present on April 14?
CREATE TABLE table_name_17 (opponent VARCHAR, date VARCHAR)
SELECT guest FROM table_name_67 WHERE date = "25.11.07" AND home = "stade nyonnais (1.l)"
Who was the gues on 25.11.07 when home was stade nyonnais (1.l)?
CREATE TABLE table_name_67 (guest VARCHAR, date VARCHAR, home VARCHAR)
SELECT attendance FROM table_name_99 WHERE date = "may 28"
How many people attended the May 28 game?
CREATE TABLE table_name_99 (attendance VARCHAR, date VARCHAR)
SELECT 2008 FROM table_name_35 WHERE 2012 = "grand slam tournaments"
What was the 2008 value when 2012 was Grand Slam Tournaments?
CREATE TABLE table_name_35 (Id VARCHAR)
SELECT COUNT(majority) FROM table_name_9 WHERE winner = "dan sullivan"
How many in the majority when Dan Sullivan won?
CREATE TABLE table_name_9 (majority VARCHAR, winner VARCHAR)
SELECT result FROM table_name_42 WHERE game = "game 3"
What was the result of game 3?
CREATE TABLE table_name_42 (result VARCHAR, game VARCHAR)
SELECT french FROM table_15040_8 WHERE russian = "filtrovat (фильтровать)"
What is the french word for the Russian word filtrovat (фильтровать)?
CREATE TABLE table_15040_8 (french VARCHAR, russian VARCHAR)
SELECT AVG(drawn) FROM table_name_21 WHERE played > 42
What average drawn has a played greater than 42?
CREATE TABLE table_name_21 (drawn INTEGER, played INTEGER)
SELECT MAX(year) FROM table_name_66 WHERE venue = "annecy, france"
What is the latest year in Annecy, France?
CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR)
SELECT COUNT(year__ceremony_) FROM table_13719788_1 WHERE film_title_used_in_nomination = "Nagabonar"
How many years have a film that uses the title "Nagabonar" in the nomination?
CREATE TABLE table_13719788_1 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT COUNT(player) FROM table_24549777_1 WHERE high_checkout = 84
How man players checked out at 84?
CREATE TABLE table_24549777_1 (player VARCHAR, high_checkout VARCHAR)
SELECT MAX(tackles) FROM table_15581223_8 WHERE sacks = "3.5"
Name the most tackles for 3.5 sacks
CREATE TABLE table_15581223_8 (tackles INTEGER, sacks VARCHAR)
SELECT tyre FROM table_name_51 WHERE rounds = "14-15" AND engine = "ford cosworth dfv 3.0 v8" AND chassis = "m23"
When the engine Ford Cosworth DFV 3.0 v8 has a chassis of m23 and in rounds 14-15, what is its Tyre?
CREATE TABLE table_name_51 (tyre VARCHAR, chassis VARCHAR, rounds VARCHAR, engine VARCHAR)
SELECT games_w_l FROM table_23133482_1 WHERE player = "Arthur Ashe"
What are Arthur Ashe's games w-l?
CREATE TABLE table_23133482_1 (games_w_l VARCHAR, player VARCHAR)
SELECT club FROM table_name_9 WHERE points = "56"
Name the club with points of 56
CREATE TABLE table_name_9 (club VARCHAR, points VARCHAR)
SELECT result FROM table_name_79 WHERE attendance = "20,627"
What was the result of the game that had 20,627 fans in attendance?
CREATE TABLE table_name_79 (result VARCHAR, attendance VARCHAR)
SELECT DISTINCT blockcode FROM room WHERE unavailable = 0
What are the unique block codes that have available rooms?
CREATE TABLE room (blockcode VARCHAR, unavailable VARCHAR)
SELECT COUNT(*) FROM STUDENT
Find the number of students in total.
CREATE TABLE STUDENT (Id VARCHAR)
SELECT lineup FROM table_name_65 WHERE competition = "group stage" AND match = "12"
What was the lineup for match 12 that had a competition of Group Stage?
CREATE TABLE table_name_65 (lineup VARCHAR, competition VARCHAR, match VARCHAR)
SELECT MAX(round) FROM table_name_7 WHERE position = "cornerback"
During which round was the final cornerback drafted for the New England Patriots in 2005?
CREATE TABLE table_name_7 (round INTEGER, position VARCHAR)
SELECT nation FROM table_name_72 WHERE second = "tomas pitonak"
Which Nation has a Second of tomas pitonak?
CREATE TABLE table_name_72 (nation VARCHAR, second VARCHAR)
SELECT record FROM table_name_21 WHERE game > 33 AND score = "111-108"
What is the celtics record after game 33 when they score of the game was 111-108?
CREATE TABLE table_name_21 (record VARCHAR, game VARCHAR, score VARCHAR)
SELECT award FROM table_name_27 WHERE work = "scream" AND year = 1997
Which award did Scream receive a nomination and/or win for in 1997?
CREATE TABLE table_name_27 (award VARCHAR, work VARCHAR, year VARCHAR)
SELECT MIN(kerry_number) FROM table_name_38 WHERE others_number = 106 AND bush_number < 3 OFFSET 188
What is the lowest Kerry#, when Others# is "106", and when Bush# is less than 3,188?
CREATE TABLE table_name_38 (kerry_number INTEGER, others_number VARCHAR, bush_number VARCHAR)
SELECT driver_matched_db FROM table_1601027_2 WHERE headphone_class = "Joseph Grado Signature"
Name the driver matched db for joseph grado signature
CREATE TABLE table_1601027_2 (driver_matched_db VARCHAR, headphone_class VARCHAR)
SELECT release_date FROM table_1681535_1 WHERE notes = "Bonus interview with Peter Purves"
What is the release date of the bonus interview with Peter Purves?
CREATE TABLE table_1681535_1 (release_date VARCHAR, notes VARCHAR)
SELECT elector FROM table_name_1 WHERE title = "title of s. cecilia"
Which Elector has a Title of s. cecilia?
CREATE TABLE table_name_1 (elector VARCHAR, title VARCHAR)
SELECT high_points FROM table_name_8 WHERE high_rebounds = "dwight howard (16)"
What is High Points, when High Rebounds is "Dwight Howard (16)"?
CREATE TABLE table_name_8 (high_points VARCHAR, high_rebounds VARCHAR)
SELECT 2012 FROM table_name_55 WHERE tournament = "french open"
What is 2012, when Tournament is "French Open"?
CREATE TABLE table_name_55 (tournament VARCHAR)
SELECT MAX(year) FROM table_name_69 WHERE record_label = "supertone melodies"
Which Year is the highest one that has a Record label of supertone melodies?
CREATE TABLE table_name_69 (year INTEGER, record_label VARCHAR)
SELECT SUM(pts) FROM table_name_96 WHERE wins = 21 AND coach = "bruce arena"
What is the sum of points when Bruce Arena has 21 wins?
CREATE TABLE table_name_96 (pts INTEGER, wins VARCHAR, coach VARCHAR)
SELECT country FROM table_name_39 WHERE event = "10,000m"
What is the Country of the 10,000m Event?
CREATE TABLE table_name_39 (country VARCHAR, event VARCHAR)
SELECT away_team FROM table_name_33 WHERE tie_no = "31"
What is the away team of the game with tie number 31?
CREATE TABLE table_name_33 (away_team VARCHAR, tie_no VARCHAR)
SELECT MIN(mintage) FROM table_name_93 WHERE artist = "dora de pédery-hunt" AND year < 2002
What is the fewest mintage from Dora de Pédery-Hunt, and the year was before 2002?
CREATE TABLE table_name_93 (mintage INTEGER, artist VARCHAR, year VARCHAR)
SELECT first_appearance FROM table_26240046_1 WHERE played_by = "Obdul Reid"
What is the first appearance of the character played by Obdul Reid?
CREATE TABLE table_26240046_1 (first_appearance VARCHAR, played_by VARCHAR)
SELECT MIN(rank) FROM table_name_74 WHERE nationality = "united states" AND time < 24.63
What's the lowest rank of the United States with a time less than 24.63?
CREATE TABLE table_name_74 (rank INTEGER, nationality VARCHAR, time VARCHAR)
SELECT COUNT(gt1_winning_team) FROM table_12146068_2 WHERE rnd = 5
What is the number of gt1 winning team for rnd 5?
CREATE TABLE table_12146068_2 (gt1_winning_team VARCHAR, rnd VARCHAR)
SELECT result FROM table_name_31 WHERE record = "7-0-0"
What was the result of the match held when his record was 7-0-0?
CREATE TABLE table_name_31 (result VARCHAR, record VARCHAR)
SELECT licensee FROM table_1949746_1 WHERE frequency = "90.7 FM"
When 90.7 fm is the frequency who is the licensee?
CREATE TABLE table_1949746_1 (licensee VARCHAR, frequency VARCHAR)
SELECT home_ground FROM table_name_48 WHERE founded < 1946 AND coach = "nick pantsaras"
Where is the home ground for the club coached by nick pantsaras and founded before 1946?
CREATE TABLE table_name_48 (home_ground VARCHAR, founded VARCHAR, coach VARCHAR)
SELECT score FROM table_11621799_1 WHERE tournament = "Toshiba Senior Classic"
What was the score for the Toshiba Senior Classic?
CREATE TABLE table_11621799_1 (score VARCHAR, tournament VARCHAR)
SELECT match_points FROM table_name_8 WHERE points_against = "755"
What match points have 755 as the points against?
CREATE TABLE table_name_8 (match_points VARCHAR, points_against VARCHAR)
SELECT MIN(year) FROM table_name_17 WHERE length = "3:50"
Which Year is the lowest one that has a Length of 3:50?
CREATE TABLE table_name_17 (year INTEGER, length VARCHAR)
SELECT perfect_stem FROM table_12784134_24 WHERE imperfect_stem = "pozten"
What is the perfect stem for pozten?
CREATE TABLE table_12784134_24 (perfect_stem VARCHAR, imperfect_stem VARCHAR)
SELECT MIN(rank) FROM table_name_65 WHERE wins > 2 AND player = "don january" AND events > 17
What is the rank for don january with over 2 wins and over 17 events?
CREATE TABLE table_name_65 (rank INTEGER, events VARCHAR, wins VARCHAR, player VARCHAR)
SELECT period FROM table_24565004_2 WHERE appearances¹ = 380
Name the period for appearances being 380
CREATE TABLE table_24565004_2 (period VARCHAR, appearances¹ VARCHAR)
SELECT years FROM table_name_27 WHERE roll > 23 AND decile > 5
Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5.
CREATE TABLE table_name_27 (years VARCHAR, roll VARCHAR, decile VARCHAR)
SELECT samurai FROM table_name_97 WHERE stampede = "t. mask"
Name the samurai for stampede of t. mask
CREATE TABLE table_name_97 (samurai VARCHAR, stampede VARCHAR)
SELECT township FROM table_18600760_7 WHERE ansi_code = 1036632
If the ansi code is 1036632, what is the name of the township?
CREATE TABLE table_18600760_7 (township VARCHAR, ansi_code VARCHAR)
SELECT serials_issued FROM table_name_71 WHERE issued = 1966
What is the issued serial given in 1966?
CREATE TABLE table_name_71 (serials_issued VARCHAR, issued VARCHAR)
SELECT SUM(capacity) FROM table_name_64 WHERE coach = "trevor gleeson"
What is the total capacity for coach Trevor Gleeson?
CREATE TABLE table_name_64 (capacity INTEGER, coach VARCHAR)
SELECT AVG(cups) FROM table_name_9 WHERE other > 3 AND league > 3 AND player = "lauri dalla valle" AND total > 21
What is the number of cups when the other was more than 3, the league more than 3, for Lauri Dalla Valle, and a Total more than 21?
CREATE TABLE table_name_9 (cups INTEGER, total VARCHAR, player VARCHAR, other VARCHAR, league VARCHAR)
SELECT MAX(chart_no) FROM table_name_17 WHERE title = "yardbirds aka roger the engineer"
What is the highest chart number for the song Yardbirds aka Roger the Engineer?
CREATE TABLE table_name_17 (chart_no INTEGER, title VARCHAR)
SELECT COUNT(lost) FROM table_name_93 WHERE against < 37 AND drawn > 2 AND played > 20
What is the sum of lost when against is less than 37, drawn is more than 2, and played is more than 20?
CREATE TABLE table_name_93 (lost VARCHAR, played VARCHAR, against VARCHAR, drawn VARCHAR)
SELECT opponents FROM table_name_59 WHERE partner = "alicja rosolska"
Who were the Opponents when Liga Dekmeijere had Alicja Rosolska as a Partner?
CREATE TABLE table_name_59 (opponents VARCHAR, partner VARCHAR)
SELECT nickname FROM table_name_82 WHERE location = "southern river"
What Nickname has a Location of Southern River?
CREATE TABLE table_name_82 (nickname VARCHAR, location VARCHAR)
SELECT language FROM table_name_39 WHERE original_name = "רגעים"
What is the language of the film originally titled רגעים?
CREATE TABLE table_name_39 (language VARCHAR, original_name VARCHAR)
SELECT status FROM table_1341522_50 WHERE opponent = "Doc Hastings (R) 53.3% Jay Inslee (D) 46.7%"
What was the result of the election of doc hastings (r) 53.3% jay inslee (d) 46.7%
CREATE TABLE table_1341522_50 (status VARCHAR, opponent VARCHAR)
SELECT elevation_ft FROM table_27435931_1 WHERE continent = "South America"
what is the elevation of south america?
CREATE TABLE table_27435931_1 (elevation_ft VARCHAR, continent VARCHAR)