answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT native_american FROM table_1333612_1 WHERE es_mulatto = "0.7%"
what's the native american with es mulatto being 0.7%
CREATE TABLE table_1333612_1 (native_american VARCHAR, es_mulatto VARCHAR)
SELECT ice_level_reporters FROM table_name_92 WHERE colour_commentator_s_ = "harry neale" AND year > 2004
Which ice level reporter has Harry Neale for the colour commentator after the year 2004?
CREATE TABLE table_name_92 (ice_level_reporters VARCHAR, colour_commentator_s_ VARCHAR, year VARCHAR)
SELECT performer_1 FROM table_name_55 WHERE performer_2 = "compilation 1"
Performer 2 of compilation 1 had what performer 1?
CREATE TABLE table_name_55 (performer_1 VARCHAR, performer_2 VARCHAR)
SELECT COUNT(year) FROM table_name_70 WHERE points = "248 (sf: 217)"
What year shows 248 (sf: 217) points?
CREATE TABLE table_name_70 (year VARCHAR, points VARCHAR)
SELECT driver FROM table_name_26 WHERE car_model = "commodore vs"
Who is the Driver that has Car Model Commodore VS?
CREATE TABLE table_name_26 (driver VARCHAR, car_model VARCHAR)
SELECT COUNT(high_rebounds) FROM table_17103729_8 WHERE score = "64-74"
Name the high rebounds for score of 64-74
CREATE TABLE table_17103729_8 (high_rebounds VARCHAR, score VARCHAR)
SELECT away_team AS score FROM table_name_40 WHERE home_team = "north melbourne"
What was home team North Melbourne's opponents score?
CREATE TABLE table_name_40 (away_team VARCHAR, home_team VARCHAR)
SELECT satellite FROM table_name_5 WHERE launch_site = "vandenberg"
Which satellite was launched from Vandenberg?
CREATE TABLE table_name_5 (satellite VARCHAR, launch_site VARCHAR)
SELECT directed_by FROM table_17356042_1 WHERE series__number = 236
Name who directed the episode for the series number 236
CREATE TABLE table_17356042_1 (directed_by VARCHAR, series__number VARCHAR)
SELECT man_of_the_match FROM table_17120964_7 WHERE attendance = 1568
When the attendance was 1568, who was man of the match?
CREATE TABLE table_17120964_7 (man_of_the_match VARCHAR, attendance VARCHAR)
SELECT COUNT(season) FROM table_name_61 WHERE super_g = "2" AND overall = 3
How many seasons had a Super G of 2 and overall of 3?
CREATE TABLE table_name_61 (season VARCHAR, super_g VARCHAR, overall VARCHAR)
SELECT bleeding_time FROM table_1226250_1 WHERE condition = "Aspirin"
What kind of bleeding does aspirin cause?
CREATE TABLE table_1226250_1 (bleeding_time VARCHAR, condition VARCHAR)
SELECT week__number FROM table_21501564_1 WHERE theme = "First Solo"
What week # featured first solo as the theme?
CREATE TABLE table_21501564_1 (week__number VARCHAR, theme VARCHAR)
SELECT AVG(rank) FROM table_name_41 WHERE silver < 0
What average rank that has a silver less than 0?
CREATE TABLE table_name_41 (rank INTEGER, silver INTEGER)
SELECT rank FROM table_18686317_1 WHERE yardage = 58179
What is the rank of the player who got 58179 in yardage?
CREATE TABLE table_18686317_1 (rank VARCHAR, yardage VARCHAR)
SELECT record FROM table_name_49 WHERE date = "september 6"
What is the Record of the game on September 6?
CREATE TABLE table_name_49 (record VARCHAR, date VARCHAR)
SELECT AVG(votes) FROM table_name_15 WHERE governorate = "hewler"
Which Votes has a Governorate of hewler?
CREATE TABLE table_name_15 (votes INTEGER, governorate VARCHAR)
SELECT processor FROM table_24100843_1 WHERE model__list_ = "P9xxx"
Whats the processor for p9xxx?
CREATE TABLE table_24100843_1 (processor VARCHAR, model__list_ VARCHAR)
SELECT MIN(pick) FROM table_name_83 WHERE school = "furman" AND round < 8
What is the lowest pick from the Furman School that is a round smaller than 8?
CREATE TABLE table_name_83 (pick INTEGER, school VARCHAR, round VARCHAR)
SELECT player FROM table_name_6 WHERE debut_year > 1930 AND goals < 95 AND years_at_club = "1938" AND games = 6
WhichPlayer has a Debut year larger than 1930, and Goals smaller than 95, and Years at club of 1938, and Games of 6?
CREATE TABLE table_name_6 (player VARCHAR, games VARCHAR, years_at_club VARCHAR, debut_year VARCHAR, goals VARCHAR)
SELECT opponent FROM table_name_79 WHERE date = "april 16"
Which opponent did they play against on April 16?
CREATE TABLE table_name_79 (opponent VARCHAR, date VARCHAR)
SELECT scott FROM table_2006661_1 WHERE species = "Chloropsis hardwickii"
Name the scott for chloropsis hardwickii
CREATE TABLE table_2006661_1 (scott VARCHAR, species VARCHAR)
SELECT COUNT(attendance) FROM table_name_98 WHERE week = 11
What was the total number who attended during week 11?
CREATE TABLE table_name_98 (attendance VARCHAR, week VARCHAR)
SELECT position FROM table_name_92 WHERE year > 1983 AND venue = "seoul, south korea"
After 1983, what was the Position in Seoul, South Korea?
CREATE TABLE table_name_92 (position VARCHAR, year VARCHAR, venue VARCHAR)
SELECT winning_driver FROM table_16670746_2 WHERE circuit = "Okayama International circuit"
Who was the winning driver at Okayama International Circuit?
CREATE TABLE table_16670746_2 (winning_driver VARCHAR, circuit VARCHAR)
SELECT race_1_winner FROM table_22905641_2 WHERE circuit = "Hidden Valley Raceway"
Who was the race 1 winner of the race at Hidden Valley Raceway?
CREATE TABLE table_22905641_2 (race_1_winner VARCHAR, circuit VARCHAR)
SELECT event FROM table_name_24 WHERE score = "209-197"
Name the Event which has a Score of 209-197?
CREATE TABLE table_name_24 (event VARCHAR, score VARCHAR)
SELECT MAX(yards) FROM table_name_48 WHERE rushes < 51 AND games > 12
What was the highest number of yards in years where there were fewer than 51 rushes and more than 12 games?
CREATE TABLE table_name_48 (yards INTEGER, rushes VARCHAR, games VARCHAR)
SELECT COUNT(capacity) FROM table_25129482_1 WHERE club = "FF Jaro"
How many capacities are given for FF Jaro club?
CREATE TABLE table_25129482_1 (capacity VARCHAR, club VARCHAR)
SELECT album FROM table_name_44 WHERE composer_s_ = "jimmie lee sloas"
Jimmie Lee Sloas was the composer for what album?
CREATE TABLE table_name_44 (album VARCHAR, composer_s_ VARCHAR)
SELECT SUM(round) FROM table_name_49 WHERE player = "damon jones"
Which Round has a Player of damon jones?
CREATE TABLE table_name_49 (round INTEGER, player VARCHAR)
SELECT icao FROM table_name_76 WHERE city = "isla grande"
Tell me the icao of isla grande
CREATE TABLE table_name_76 (icao VARCHAR, city VARCHAR)
SELECT COUNT(new_entries_this_round) FROM table_17814838_1 WHERE round = "Fourth round Proper"
How many categories of new entries this round are there for the fourth round proper?
CREATE TABLE table_17814838_1 (new_entries_this_round VARCHAR, round VARCHAR)
SELECT location FROM table_name_49 WHERE country = "belgian congo tanganyika"
Which location is in the Belgian Congo Tanganyika?
CREATE TABLE table_name_49 (location VARCHAR, country VARCHAR)
SELECT SUM(points) FROM table_name_80 WHERE premiers = "brisbane broncos"
What's the total sum of points scored by the Brisbane Broncos?
CREATE TABLE table_name_80 (points INTEGER, premiers VARCHAR)
SELECT kickoff_[a_] FROM table_name_12 WHERE game_site = "hubert h. humphrey metrodome"
What is the kickoff time for the Hubert H. Humphrey Metrodome?
CREATE TABLE table_name_12 (kickoff_ VARCHAR, a_ VARCHAR, game_site VARCHAR)
SELECT COUNT(episode) FROM table_15187735_18 WHERE segment_c = "s Oyster"
Name the number of episods for segment c being s oyster
CREATE TABLE table_15187735_18 (episode VARCHAR, segment_c VARCHAR)
SELECT COUNT(district) FROM table_1979619_3 WHERE representative = "Rob Teplitz"
Name the total number of districts for rob teplitz
CREATE TABLE table_1979619_3 (district VARCHAR, representative VARCHAR)
SELECT AVG(grid) FROM table_name_29 WHERE laps < 10 AND team = "china"
What is the average grid number that had Team China with less than 10 laps?
CREATE TABLE table_name_29 (grid INTEGER, laps VARCHAR, team VARCHAR)
SELECT COUNT(top_5) FROM table_name_95 WHERE tournament = "pga championship" AND events < 4
what is the total number of times the tournament was pga championship and evens is less than 4?
CREATE TABLE table_name_95 (top_5 VARCHAR, tournament VARCHAR, events VARCHAR)
SELECT record FROM table_name_59 WHERE date = "september 21"
What record has September 21 as the date?
CREATE TABLE table_name_59 (record VARCHAR, date VARCHAR)
SELECT AVG(number_of_electorates__2009_) FROM table_name_6 WHERE name = "modi nagar"
What is the electorates in 2009 for Modi Nagar?
CREATE TABLE table_name_6 (number_of_electorates__2009_ INTEGER, name VARCHAR)
SELECT title, directed_by FROM film
Show the title and director for all films.
CREATE TABLE film (title VARCHAR, directed_by VARCHAR)
SELECT party FROM table_1341472_15 WHERE candidates = "Jerry Weller (R) 51.77% Clem Balanoff (D) 48.23%"
what's the party with candidates  jerry weller (r) 51.77% clem balanoff (d) 48.23%
CREATE TABLE table_1341472_15 (party VARCHAR, candidates VARCHAR)
SELECT AVG(elected) FROM table_name_19 WHERE incumbent = "ed towns" AND district < 10
What year was Incumbent Ed Towns elected with a district smaller than 10?
CREATE TABLE table_name_19 (elected INTEGER, incumbent VARCHAR, district VARCHAR)
SELECT name FROM table_name_70 WHERE aafc_team = "los angeles dons" AND position = "fb" AND college = "oklahoma a&m"
Which Name has a AAFC Team of los angeles dons, and a Position of fb, and a College of oklahoma a&m?
CREATE TABLE table_name_70 (name VARCHAR, college VARCHAR, aafc_team VARCHAR, position VARCHAR)
SELECT opponent FROM table_name_64 WHERE date = "17 november 2002"
Which Opponent is on 17 november 2002?
CREATE TABLE table_name_64 (opponent VARCHAR, date VARCHAR)
SELECT MIN(utility_pv) FROM table_name_87 WHERE hydro > 289.25 AND renewable_total > 520.07
What is the lowest utility PV with hydro great than 289.25 and renweable total larger than 520.07?
CREATE TABLE table_name_87 (utility_pv INTEGER, hydro VARCHAR, renewable_total VARCHAR)
SELECT tdp FROM table_24100843_1 WHERE socket = "BGA956" AND processor = "Penryn-3M"
When the socket is bga956 and processor is penryn-3m, what is the tdp?
CREATE TABLE table_24100843_1 (tdp VARCHAR, socket VARCHAR, processor VARCHAR)
SELECT korean FROM table_name_46 WHERE hanja = "南楊州"
What's Korean for 南楊州 Hanja?
CREATE TABLE table_name_46 (korean VARCHAR, hanja VARCHAR)
SELECT MIN(top_10) FROM table_26609690_1
What is the smallest top 10 figure?
CREATE TABLE table_26609690_1 (top_10 INTEGER)
SELECT SUM(grant_amount), organisation_id FROM Grants GROUP BY organisation_id
What is the total amount of grants given by each organisations? Also list the organisation id.
CREATE TABLE Grants (organisation_id VARCHAR, grant_amount INTEGER)
SELECT stadium FROM table_28884858_1 WHERE capacity_percentage = "83.9%"
What is the name of the stadium when the capacity percentage is 83.9%
CREATE TABLE table_28884858_1 (stadium VARCHAR, capacity_percentage VARCHAR)
SELECT away_team AS score FROM table_name_15 WHERE home_team = "geelong"
What is the Away team score when they played Geelong as the Home team?
CREATE TABLE table_name_15 (away_team VARCHAR, home_team VARCHAR)
SELECT T1.date, T2.player FROM game AS T1 JOIN injury_accident AS T2 ON T1.id = T2.game_id ORDER BY T1.season DESC
For each injury accident, find the date of the game and the name of the injured player in the game, and sort the results in descending order of game season.
CREATE TABLE game (date VARCHAR, id VARCHAR, season VARCHAR); CREATE TABLE injury_accident (player VARCHAR, game_id VARCHAR)
SELECT tournament_location FROM table_name_81 WHERE margin_of_victory = "1 stroke" AND purse___$__ = "1,200,000"
What tournament location has 1 stroke as the margin of victory, with 1,200,000 as the purse ($)?
CREATE TABLE table_name_81 (tournament_location VARCHAR, margin_of_victory VARCHAR, purse___$__ VARCHAR)
SELECT home FROM table_name_52 WHERE record = "20–13–3"
Who was the home team when there was a record of 20–13–3?
CREATE TABLE table_name_52 (home VARCHAR, record VARCHAR)
SELECT MIN(draws) FROM table_name_98 WHERE wins > 3 AND mid_gippsland_fl = "yarragon" AND against < 966
What is the low draw total for yarragon teams with over 3 wins, and under 966 against?
CREATE TABLE table_name_98 (draws INTEGER, against VARCHAR, wins VARCHAR, mid_gippsland_fl VARCHAR)
SELECT MAX(game) FROM table_name_29 WHERE record = "12-8-1"
What is the highest game number with a record of 12-8-1?
CREATE TABLE table_name_29 (game INTEGER, record VARCHAR)
SELECT report FROM table_name_65 WHERE fastest_lap = "jacques villeneuve" AND grand_prix = "australian grand prix"
During the Australian Grand Prix and the fastest lap was driven by Jacques Villeneuve, what's the report recorded?
CREATE TABLE table_name_65 (report VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR)
SELECT country_state FROM table_name_68 WHERE location = "des moines" AND year = 2011
Which country had des moines as the location in 2011?
CREATE TABLE table_name_68 (country_state VARCHAR, location VARCHAR, year VARCHAR)
SELECT COUNT(no_in_series) FROM table_28611413_2 WHERE viewers__millions_ = "16.15"
How many seasons had 16.15 million viewers?
CREATE TABLE table_28611413_2 (no_in_series VARCHAR, viewers__millions_ VARCHAR)
SELECT AVG(grid) FROM table_name_99 WHERE laps < 11 AND time_retired = "accident"
Which grid has less than 11 laps, and a Time/Retired of accident?
CREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, time_retired VARCHAR)
SELECT position FROM table_name_85 WHERE caps = 13
What position does the player with 13 caps play?
CREATE TABLE table_name_85 (position VARCHAR, caps VARCHAR)
SELECT COUNT(no) FROM table_29329432_1 WHERE written_by = "Jim Barnes" AND us_viewers__million_ = "1.82"
Name the number of episodes that jim barnes wrote for 1.82 million viewers
CREATE TABLE table_29329432_1 (no VARCHAR, written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT away_team AS score FROM table_name_83 WHERE home_team = "richmond"
What was the scored of the Away team that played against Richmond?
CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR)
SELECT team FROM table_name_96 WHERE wins = 0
Wins of 0 involves what team?
CREATE TABLE table_name_96 (team VARCHAR, wins VARCHAR)
SELECT MAX(round) FROM table_name_17 WHERE position = "qb" AND overall > 6
Which Round has a Position of qb, and an Overall larger than 6?
CREATE TABLE table_name_17 (round INTEGER, position VARCHAR, overall VARCHAR)
SELECT females FROM table_name_60 WHERE males = "1 548"
Name the females when males are 1 548
CREATE TABLE table_name_60 (females VARCHAR, males VARCHAR)
SELECT MAX(international_mail) FROM table_141541_5 WHERE total_freight_and_mail = 145044
what is the maximum international mail with total freight and mail being 145044
CREATE TABLE table_141541_5 (international_mail INTEGER, total_freight_and_mail VARCHAR)
SELECT time FROM table_name_16 WHERE distance = "18.25km" AND start_time = "11:31"
What was the finishing time of the stage that featured a distance of 18.25km and a start time of 11:31?
CREATE TABLE table_name_16 (time VARCHAR, distance VARCHAR, start_time VARCHAR)
SELECT young_rider_classification FROM table_12261806_2 WHERE winner = "Laudelino Cubino"
Name the young rider classification with laudelino cubino
CREATE TABLE table_12261806_2 (young_rider_classification VARCHAR, winner VARCHAR)
SELECT name FROM table_name_45 WHERE shoulder = "10.688 (.420)"
What is the name of the gun with a shoulder that measures 10.688 (.420)?
CREATE TABLE table_name_45 (name VARCHAR, shoulder VARCHAR)
SELECT nationality FROM table_name_27 WHERE lane < 3 AND time = 49.04
for the time of 49.04 and lane less than 3, what is the nationality?
CREATE TABLE table_name_27 (nationality VARCHAR, lane VARCHAR, time VARCHAR)
SELECT engine FROM table_2503102_1 WHERE team = "Ed Carpenter Racing"
What engine doe the Ed Carpenter Racing team use?
CREATE TABLE table_2503102_1 (engine VARCHAR, team VARCHAR)
SELECT venue FROM table_name_74 WHERE away_team = "melbourne"
When the Away team is melbourne, what venue do they play at?
CREATE TABLE table_name_74 (venue VARCHAR, away_team VARCHAR)
SELECT character FROM table_name_50 WHERE actor_actress = "damien richardson"
What character did actor Damien Richardson play?
CREATE TABLE table_name_50 (character VARCHAR, actor_actress VARCHAR)
SELECT MAX(decile) FROM table_name_70 WHERE roll > 325 AND area = "warkworth"
Name the highest Decile for roll more than 325 and area of warkworth
CREATE TABLE table_name_70 (decile INTEGER, roll VARCHAR, area VARCHAR)
SELECT location FROM table_name_10 WHERE pole_position = "tom pryce"
Where did the team in which Tom Pryce was in Pole Position race?
CREATE TABLE table_name_10 (location VARCHAR, pole_position VARCHAR)
SELECT MIN(poles) FROM table_1708050_3
Name the most poles
CREATE TABLE table_1708050_3 (poles INTEGER)
SELECT COUNT(dismissals) FROM table_23316034_23 WHERE player = "Adam Gilchrist"
Name the number of dismissals for adam gilchrist
CREATE TABLE table_23316034_23 (dismissals VARCHAR, player VARCHAR)
SELECT type FROM table_name_58 WHERE nat = "geo"
Which Type has a Nat of geo?
CREATE TABLE table_name_58 (type VARCHAR, nat VARCHAR)
SELECT district FROM table_10342194_3 WHERE total_amount_of_trees < 150817.6878461314 AND amount_of_old_trees = "1,928 (1.89%)"
What is the district when the total amount of trees is smaller than 150817.6878461314 and amount of old trees is 1,928 (1.89%)?
CREATE TABLE table_10342194_3 (district VARCHAR, total_amount_of_trees VARCHAR, amount_of_old_trees VARCHAR)
SELECT 2005 FROM table_name_89 WHERE 1998 = "f" AND 2002 = "2r"
What is 2005, when 1998 is "F", and when 2002 is "2R"?
CREATE TABLE table_name_89 (Id VARCHAR)
SELECT MIN(interview) FROM table_name_60 WHERE swimsuit > 9.021 AND average < 9.513 AND state = "north carolina" AND evening_gown > 9.5
What is the lowest interview for a contestant from North Carolina with a swimsuit larger than 9.021, an average smaller than 9.513, and an evening gown larger than 9.5?
CREATE TABLE table_name_60 (interview INTEGER, evening_gown VARCHAR, state VARCHAR, swimsuit VARCHAR, average VARCHAR)
SELECT date FROM table_name_94 WHERE tournament = "acapulco"
what is the date for the tournament acapulco?
CREATE TABLE table_name_94 (date VARCHAR, tournament VARCHAR)
SELECT hometown FROM table_name_44 WHERE number = 40
What is the hometown of number 40?
CREATE TABLE table_name_44 (hometown VARCHAR, number VARCHAR)
SELECT MIN(clubs_remaining) FROM table_29566686_1 WHERE leagues_entering_at_this_round = "Allsvenskan"
What is the maximum number of clubs remaining when the league entering at this round was allsvenskan?
CREATE TABLE table_29566686_1 (clubs_remaining INTEGER, leagues_entering_at_this_round VARCHAR)
SELECT date_s__conducted FROM table_name_25 WHERE lead = "8.6%"
On what date was the lead 8.6%?
CREATE TABLE table_name_25 (date_s__conducted VARCHAR, lead VARCHAR)
SELECT Headquarters, COUNT(*) FROM company GROUP BY Headquarters
Show the different headquarters and number of companies at each headquarter.
CREATE TABLE company (Headquarters VARCHAR)
SELECT MAX(height) FROM table_name_15 WHERE position = "libero"
What is the height of the person whose position is Libero?
CREATE TABLE table_name_15 (height INTEGER, position VARCHAR)
SELECT game FROM table_name_49 WHERE home_team = "houston" AND result = "106-104"
What was the game when Houston was the home team and the result is 106-104?
CREATE TABLE table_name_49 (game VARCHAR, home_team VARCHAR, result VARCHAR)
SELECT TYPE, AVG(Tonnage) FROM ship GROUP BY TYPE
Show different types of ships and the average tonnage of ships of each type.
CREATE TABLE ship (TYPE VARCHAR, Tonnage INTEGER)
SELECT score FROM table_name_45 WHERE date = "october 7, 2000"
What is the Score on October 7, 2000?
CREATE TABLE table_name_45 (score VARCHAR, date VARCHAR)
SELECT winner FROM table_name_65 WHERE city = "loutraki"
Who is the Winner for the City of Loutraki?
CREATE TABLE table_name_65 (winner VARCHAR, city VARCHAR)
SELECT owner FROM table_name_30 WHERE launch > 1997 AND hanzi = "厦门卫视"
Who is the owner of the object launched after 1997 and a Hanzi of 厦门卫视?
CREATE TABLE table_name_30 (owner VARCHAR, launch VARCHAR, hanzi VARCHAR)
SELECT MAX(round) FROM table_name_7 WHERE pick < 2
What top round has a pick smaller than 2?
CREATE TABLE table_name_7 (round INTEGER, pick INTEGER)
SELECT date FROM table_name_13 WHERE result = "won 1-0"
Tell me the date with result of won 1-0
CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR)
SELECT label FROM table_name_77 WHERE date = "february 18, 2009"
Which label released on February 18, 2009?
CREATE TABLE table_name_77 (label VARCHAR, date VARCHAR)
SELECT SUM(viewers_)[live] AS __m_ FROM table_name_77 WHERE share > 5
What is the sum of the live viewers for episodes with share over 5?
CREATE TABLE table_name_77 (live VARCHAR, share INTEGER, viewers_ INTEGER)