answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT firefox FROM table_name_8 WHERE netscape = "*0.77%"
What percentage of users were using Firefox during the period in which *0.77% were using Netscape?
CREATE TABLE table_name_8 (firefox VARCHAR, netscape VARCHAR)
SELECT MAX(laps) FROM table_name_95 WHERE grid = 8
What are the highest number of laps for grid 8?
CREATE TABLE table_name_95 (laps INTEGER, grid VARCHAR)
SELECT january FROM table_name_7 WHERE points = 51
what is the average for January with points of 51
CREATE TABLE table_name_7 (january VARCHAR, points VARCHAR)
SELECT city FROM table_name_62 WHERE astc_member = "no" AND state = "california" AND aam_member = "yes"
What is City, when ASTC Member is No, when State is California, and when AAM Member is Yes?
CREATE TABLE table_name_62 (city VARCHAR, aam_member VARCHAR, astc_member VARCHAR, state VARCHAR)
SELECT time FROM table_name_31 WHERE record = "66-95"
when is Record of 66-95?
CREATE TABLE table_name_31 (time VARCHAR, record VARCHAR)
SELECT COUNT(DISTINCT T3.title) FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE t1.type = "Studio"
Find the number of songs in all the studio albums.
CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR)
SELECT year FROM table_name_37 WHERE genre = "jazz" AND label = "columbia" AND result = "nominated" AND title = "trio jeepy"
Which year's genre was jazz under the columbia label when it was nominated for the title Trio jeepy?
CREATE TABLE table_name_37 (year VARCHAR, title VARCHAR, result VARCHAR, genre VARCHAR, label VARCHAR)
SELECT SUM(avg_finish) FROM table_name_80 WHERE poles < 0
What is the sum of value for average finish with poles less than 0?
CREATE TABLE table_name_80 (avg_finish INTEGER, poles INTEGER)
SELECT laid_down FROM table_name_55 WHERE ship = "hyperion"
What is the Laid down for the Hyperion ship?
CREATE TABLE table_name_55 (laid_down VARCHAR, ship VARCHAR)
SELECT MIN(runs) FROM table_26041144_10
What is the smallest number of runs?
CREATE TABLE table_26041144_10 (runs INTEGER)
SELECT opponents_in_final FROM table_name_9 WHERE outcome = "runner-up" AND date = "april 16, 2006"
Who was the opponents in the final that was played on April 16, 2006 and the outcome was runner-up?
CREATE TABLE table_name_9 (opponents_in_final VARCHAR, outcome VARCHAR, date VARCHAR)
SELECT population FROM table_name_99 WHERE gdp_per_capita__us$_ = "11,929"
What is the population of the nation that has a GDP per capita (US$) of 11,929?
CREATE TABLE table_name_99 (population VARCHAR, gdp_per_capita__us$_ VARCHAR)
SELECT apparatus FROM table_name_68 WHERE score_final < 75.5 AND score_qualifying < 18.7
On which apparatus did Kanayeva have a final score smaller than 75.5 and a qualifying score smaller than 18.7?
CREATE TABLE table_name_68 (apparatus VARCHAR, score_final VARCHAR, score_qualifying VARCHAR)
SELECT opponents FROM table_15986020_3 WHERE oilers_points = 21
What was the total opponents points for the game were the Oilers scored 21?
CREATE TABLE table_15986020_3 (opponents VARCHAR, oilers_points VARCHAR)
SELECT loss FROM table_name_23 WHERE date = "july 30"
what team lost on july 30
CREATE TABLE table_name_23 (loss VARCHAR, date VARCHAR)
SELECT 2011 FROM table_name_49 WHERE 2012 = "q1" AND 2010 = "4r"
What shows for 2011 when 2012 is q1, and a 2010 is 4r?
CREATE TABLE table_name_49 (Id VARCHAR)
SELECT home FROM table_name_12 WHERE date = "2 february 2006"
Who was the home team of the game on 2 February 2006?
CREATE TABLE table_name_12 (home VARCHAR, date VARCHAR)
SELECT name FROM table_name_2 WHERE qual_1 = "1:16.850"
What is the name of the person with a qual 1 time of 1:16.850?
CREATE TABLE table_name_2 (name VARCHAR, qual_1 VARCHAR)
SELECT game FROM table_17360840_5 WHERE record = "6-9-7"
Which game had a record of 6-9-7?
CREATE TABLE table_17360840_5 (game VARCHAR, record VARCHAR)
SELECT date FROM table_name_56 WHERE week = 4
What day did they play on week 4?
CREATE TABLE table_name_56 (date VARCHAR, week VARCHAR)
SELECT institution FROM table_name_48 WHERE location = "big rapids, michigan"
what is the institution when the location is big rapids, michigan?
CREATE TABLE table_name_48 (institution VARCHAR, location VARCHAR)
SELECT T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*) DESC LIMIT 1
What is the name of the course that has the most student enrollment?
CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR)
SELECT champion FROM table_1628792_1 WHERE tournament_location = "London Hunt and country Club ( London , ON )"
Name the champion for london hunt and country club ( london , on )
CREATE TABLE table_1628792_1 (champion VARCHAR, tournament_location VARCHAR)
SELECT dar FROM table_15887683_8 WHERE language = "cinese"
Name the dar for cinese
CREATE TABLE table_15887683_8 (dar VARCHAR, language VARCHAR)
SELECT season FROM table_name_33 WHERE away = "2-0"
What season has an away 2-0?
CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR)
SELECT AVG(rbis) FROM table_name_79 WHERE team = "boston red sox" AND date = "july 27, 1946"
When the team is the Boston Red Sox and the is date July 27, 1946, what are the average RBIs?
CREATE TABLE table_name_79 (rbis INTEGER, team VARCHAR, date VARCHAR)
SELECT score FROM table_name_79 WHERE january > 18 AND record = "35–15–1"
Which Score has January larger than 18 and a Record of 35–15–1?
CREATE TABLE table_name_79 (score VARCHAR, january VARCHAR, record VARCHAR)
SELECT surface FROM table_name_98 WHERE date = "31 may 2010"
The game played 31 May 2010 was played on what surface?
CREATE TABLE table_name_98 (surface VARCHAR, date VARCHAR)
SELECT away_team FROM table_name_6 WHERE tie_no = "9"
Who was the away team for tie number 9?
CREATE TABLE table_name_6 (away_team VARCHAR, tie_no VARCHAR)
SELECT COUNT(lines) FROM table_name_44 WHERE stations < 44 AND rider_per_mile < 881
How many lines have fewer than 44 stations and fewer than 881 riders per mile?
CREATE TABLE table_name_44 (lines VARCHAR, stations VARCHAR, rider_per_mile VARCHAR)
SELECT AVG(week) FROM table_name_65 WHERE opponent = "baltimore colts" AND attendance < 55 OFFSET 137
Which Week has an Opponent of baltimore colts, and an Attendance smaller than 55,137?
CREATE TABLE table_name_65 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT name FROM table_name_57 WHERE roll = "637"
With what Name does the Roll of 637 belong?
CREATE TABLE table_name_57 (name VARCHAR, roll VARCHAR)
SELECT opponent FROM table_1341522_24 WHERE district = "Massachusetts5"
Who are the opponents in Massachusetts5 district?
CREATE TABLE table_1341522_24 (opponent VARCHAR, district VARCHAR)
SELECT COUNT(round) FROM table_name_1 WHERE time = "6:21"
What is the number of rounds that took place for the fight that lasted 6:21?
CREATE TABLE table_name_1 (round VARCHAR, time VARCHAR)
SELECT 54 AS _holes FROM table_11570261_1 WHERE winning_score = −19(67 - 66 - 67 - 69 = 269)
what's the 54 holes where winning score is −19 (67-66-67-69=269)
CREATE TABLE table_11570261_1 (winning_score VARCHAR)
SELECT dates_administered FROM table_20597634_3 WHERE scott_mcadams__d_ = "23%"
When 23% scott mcadams (d) what are the dates administered?
CREATE TABLE table_20597634_3 (dates_administered VARCHAR, scott_mcadams__d_ VARCHAR)
SELECT number FROM table_name_28 WHERE name = "kuiper"
What number is Kuiper?
CREATE TABLE table_name_28 (number VARCHAR, name VARCHAR)
SELECT obama_percentage FROM table_20684390_1 WHERE county = "Gem"
For Gem County, what was the Obama vote percentage?
CREATE TABLE table_20684390_1 (obama_percentage VARCHAR, county VARCHAR)
SELECT MIN(round) FROM table_name_9 WHERE overall = 92
What was the lowest round number that had an overall pick up 92?
CREATE TABLE table_name_9 (round INTEGER, overall VARCHAR)
SELECT MAX(season) FROM table_2140071_7
What is the newest season?
CREATE TABLE table_2140071_7 (season INTEGER)
SELECT points FROM table_name_24 WHERE year = 1974
Name the point for 1974
CREATE TABLE table_name_24 (points VARCHAR, year VARCHAR)
SELECT place FROM table_name_4 WHERE player = "scott mccarron"
What place is Scott McCarron in?
CREATE TABLE table_name_4 (place VARCHAR, player VARCHAR)
SELECT AVG(total) FROM table_name_44 WHERE year_s__won = "1922, 1932"
What is the Total for the Player who won in 1922, 1932?
CREATE TABLE table_name_44 (total INTEGER, year_s__won VARCHAR)
SELECT semifinals FROM table_18602462_22 WHERE athlete = "Dorrie Timmermans-Van Hall"
What is the semifinal result for Dorrie Timmermans-Van Hall?
CREATE TABLE table_18602462_22 (semifinals VARCHAR, athlete VARCHAR)
SELECT MAX(goals_for) FROM table_name_18 WHERE ties > 0
What is the largest Goals For by a team that has more than 0 ties?
CREATE TABLE table_name_18 (goals_for INTEGER, ties INTEGER)
SELECT conference AS Tournament FROM table_24348134_3 WHERE tournament_winner = "Kent State"
List the tournament that kent state won?
CREATE TABLE table_24348134_3 (conference VARCHAR, tournament_winner VARCHAR)
SELECT COUNT(*) FROM museum WHERE open_year > 2013 OR open_year < 2008
How many museums were opened after 2013 or before 2008?
CREATE TABLE museum (open_year VARCHAR)
SELECT song FROM table_name_55 WHERE total_points > 9 AND jury__points_ = "44 (11)"
What is the song with more than 9 points and 44 (11) jury (points)?
CREATE TABLE table_name_55 (song VARCHAR, total_points VARCHAR, jury__points_ VARCHAR)
SELECT AVG(cuts_made) FROM table_name_25 WHERE tournament = "totals" AND wins < 11
Which Cuts made has a Tournament of totals, and Wins smaller than 11?
CREATE TABLE table_name_25 (cuts_made INTEGER, tournament VARCHAR, wins VARCHAR)
SELECT MIN(rank) FROM table_name_61 WHERE constituency = "edinburgh northern and leith" AND swing_to_gain < 4.16
what is the lowest rank when the constituency is edinburgh northern and leith and the swing to gain is less than 4.16?
CREATE TABLE table_name_61 (rank INTEGER, constituency VARCHAR, swing_to_gain VARCHAR)
SELECT club FROM table_name_15 WHERE location = "thomson, victoria"
Which club is located in Thomson, Victoria?
CREATE TABLE table_name_15 (club VARCHAR, location VARCHAR)
SELECT opponent FROM table_name_20 WHERE record = "12-18"
Name the opponent with record of 12-18
CREATE TABLE table_name_20 (opponent VARCHAR, record VARCHAR)
SELECT SUM(points) FROM table_name_15 WHERE team = "são paulo athletic" AND position > 5
Which Points has a Team of são paulo athletic, and a Position larger than 5?
CREATE TABLE table_name_15 (points INTEGER, team VARCHAR, position VARCHAR)
SELECT MIN(storage_stability) FROM table_name_30 WHERE toxicity_as_blood_agent > 8 AND agent = "arsine" AND field_stability < 5
What is the storage stability of Arsine with a toxicity of 8, and field stability less than 5?
CREATE TABLE table_name_30 (storage_stability INTEGER, field_stability VARCHAR, toxicity_as_blood_agent VARCHAR, agent VARCHAR)
SELECT finish FROM table_name_79 WHERE country = "australia"
What is Australia´s finish?
CREATE TABLE table_name_79 (finish VARCHAR, country VARCHAR)
SELECT SUM(net_profit_loss__sek_) FROM table_name_87 WHERE basic_eps__sek_ = -6.58 AND employees__average_year_ > 31 OFFSET 035
Which Net profit/loss (SEK) has a Basic eps (SEK) of -6.58, and Employees (Average/Year) larger than 31,035?
CREATE TABLE table_name_87 (net_profit_loss__sek_ INTEGER, basic_eps__sek_ VARCHAR, employees__average_year_ VARCHAR)
SELECT name FROM table_24565004_15 WHERE goals¹ = 4
List the player that scored 4 times.
CREATE TABLE table_24565004_15 (name VARCHAR, goals¹ VARCHAR)
SELECT content FROM table_name_58 WHERE television_service = "vesti"
What is the content of the Television service of Vesti?
CREATE TABLE table_name_58 (content VARCHAR, television_service VARCHAR)
SELECT rank FROM table_name_4 WHERE year > 1994
What rank is later than 1994?
CREATE TABLE table_name_4 (rank VARCHAR, year INTEGER)
SELECT MAX(super_g) FROM table_name_6 WHERE downhill = "11" AND overall < 16
What is the highest Super G that had an 11 Downhill and an overall less than 16?
CREATE TABLE table_name_6 (super_g INTEGER, downhill VARCHAR, overall VARCHAR)
SELECT event FROM table_name_17 WHERE nationality = "guadeloupe"
What's the event of Guadeloupe?
CREATE TABLE table_name_17 (event VARCHAR, nationality VARCHAR)
SELECT MAX(pick) FROM table_name_87 WHERE nfl_club = "houston oilers" AND round > 10
What is the highest pick of the houston oilers NFL club, which has a round greater than 10?
CREATE TABLE table_name_87 (pick INTEGER, nfl_club VARCHAR, round VARCHAR)
SELECT location FROM table_name_19 WHERE method = "submission (armbar)" AND opponent = "mayra conde"
What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent?
CREATE TABLE table_name_19 (location VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT section FROM table_name_8 WHERE position = "6th"
Which section is in the 6th position?
CREATE TABLE table_name_8 (section VARCHAR, position VARCHAR)
SELECT MAX(round) FROM table_name_58 WHERE race_title = "korean grand prix"
What is the largest round with a Race Title of korean grand prix?
CREATE TABLE table_name_58 (round INTEGER, race_title VARCHAR)
SELECT date FROM table_name_54 WHERE opponent = "chicago bears"
On which date was the opponent the Chicago Bears?
CREATE TABLE table_name_54 (date VARCHAR, opponent VARCHAR)
SELECT under_11 FROM table_26368963_2 WHERE under_17 = "Salma Nassar"
What is every value for Under-11 when value of under-17 is Salma Nassar?
CREATE TABLE table_26368963_2 (under_11 VARCHAR, under_17 VARCHAR)
SELECT Continent FROM country WHERE Name = "Anguilla"
Which continent is Anguilla in?
CREATE TABLE country (Continent VARCHAR, Name VARCHAR)
SELECT format FROM table_name_90 WHERE country = "uk" AND catalog = "s 63795"
What is the format for UK catalog S 63795?
CREATE TABLE table_name_90 (format VARCHAR, country VARCHAR, catalog VARCHAR)
SELECT MIN(silver) FROM table_name_26 WHERE gold = 4 AND total = 22
How many silver medals were won when there were 4 gold and 22 in total?
CREATE TABLE table_name_26 (silver INTEGER, gold VARCHAR, total VARCHAR)
SELECT COUNT(attendance) FROM table_name_67 WHERE away_team = "middlesbrough"
How many people attended the Away team of middlesbrough?
CREATE TABLE table_name_67 (attendance VARCHAR, away_team VARCHAR)
SELECT original_air_date FROM table_26748314_1 WHERE no_in_season = 7
What is every original air date for the number in season of 7?
CREATE TABLE table_26748314_1 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT COUNT(report) FROM table_1140080_2 WHERE date = "29 April"
what's the total number of report with date  29 april
CREATE TABLE table_1140080_2 (report VARCHAR, date VARCHAR)
SELECT losses FROM table_18703133_6 WHERE team = "Tembetary"
How many losses are there for team tembetary?
CREATE TABLE table_18703133_6 (losses VARCHAR, team VARCHAR)
SELECT COUNT(1990) FROM table_name_49 WHERE 1970 < 10 OFFSET 522
How many 1990 growth numbers had less than 10,522 in 1970?
CREATE TABLE table_name_49 (Id VARCHAR)
SELECT score FROM table_name_85 WHERE home_team = "manchester united"
What is the score for the game in which Manchester United was the home team?
CREATE TABLE table_name_85 (score VARCHAR, home_team VARCHAR)
SELECT points_against FROM table_13399573_4 WHERE points = "31"
In the 2008/2009 season one team had a season total points of 31, for that team how many total points were scored against them?
CREATE TABLE table_13399573_4 (points_against VARCHAR, points VARCHAR)
SELECT name FROM table_name_8 WHERE team = "new york knicks" AND wsu_year_s_ = "1965-68"
What is Name, when Team is New York Knicks, and when WSU Year(s) is 1965-68?
CREATE TABLE table_name_8 (name VARCHAR, team VARCHAR, wsu_year_s_ VARCHAR)
SELECT MIN(highest_score) FROM table_28547332_4 WHERE average = "9.88"
What is the highest score in those games where the average is 9.88?
CREATE TABLE table_28547332_4 (highest_score INTEGER, average VARCHAR)
SELECT actors_name FROM table_10236830_4 WHERE country = "Ukraine"
Which actors are from Ukraine?
CREATE TABLE table_10236830_4 (actors_name VARCHAR, country VARCHAR)
SELECT position FROM table_name_67 WHERE school_previous_club_team_country = "kentucky"
What is Position, when School/Previous Club Team/Country is Kentucky?
CREATE TABLE table_name_67 (position VARCHAR, school_previous_club_team_country VARCHAR)
SELECT purpose FROM table_name_91 WHERE name = "long shot"
What is the purpose of Long Shot?
CREATE TABLE table_name_91 (purpose VARCHAR, name VARCHAR)
SELECT away_captain FROM table_name_95 WHERE date = "11,12,13 aug 1902"
Who is the Away captain that played on 11,12,13 Aug 1902?
CREATE TABLE table_name_95 (away_captain VARCHAR, date VARCHAR)
SELECT place FROM table_name_71 WHERE country = "united states" AND money___$__ > 216 AND score = 74 - 70 - 71 - 69 = 284
Where did the player place who is from the United States, who made more than $216, and whose score was 74-70-71-69=284?
CREATE TABLE table_name_71 (place VARCHAR, country VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT driver FROM table_name_82 WHERE engine = "ford edb 3.0 v8"
Who was the driver of the Ford EDB 3.0 v8 engine?
CREATE TABLE table_name_82 (driver VARCHAR, engine VARCHAR)
SELECT MAX(2000) FROM table_name_51 WHERE 2010 = 82 AND 2005 < 74
What is the highest 2000 value that has a 2010 value of 82 and a 2005 value less than 74?
CREATE TABLE table_name_51 (Id VARCHAR)
SELECT winning_score FROM table_name_93 WHERE margin_of_victory = "4 strokes" AND tournament = "nec invitational"
What is the winning score with a margin of victory of 4 strokes for the NEC Invitational tournament?
CREATE TABLE table_name_93 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
SELECT pba_team FROM table_name_81 WHERE player = "paolo mendoza"
Name the PBA team for paolo mendoza
CREATE TABLE table_name_81 (pba_team VARCHAR, player VARCHAR)
SELECT decile FROM table_name_67 WHERE authority = "state" AND area = "raumati south"
What Decile has State Authority and Raumati South Area?
CREATE TABLE table_name_67 (decile VARCHAR, authority VARCHAR, area VARCHAR)
SELECT date FROM table_name_50 WHERE home_team = "essendon"
On what date did the home team Essendon play?
CREATE TABLE table_name_50 (date VARCHAR, home_team VARCHAR)
SELECT MIN(goal_difference) FROM table_name_10 WHERE club = "real betis" AND wins < 18
What is the lowest goal difference of club real betis, who has less than 18 wins?
CREATE TABLE table_name_10 (goal_difference INTEGER, club VARCHAR, wins VARCHAR)
SELECT grand_final_dual_television_commentator FROM table_name_52 WHERE spokesperson = "amaury vassili"
What is the grand final dual television commentator status of the year when Amaury Vassili was the spokesperson?
CREATE TABLE table_name_52 (grand_final_dual_television_commentator VARCHAR, spokesperson VARCHAR)
SELECT pts_rank FROM table_name_73 WHERE club = "chicago fire"
What is the points ranking of Chicago Fire?
CREATE TABLE table_name_73 (pts_rank VARCHAR, club VARCHAR)
SELECT number_of_episode FROM table_1481865_1 WHERE title__english_ = "Pilot"
What is the episode number where the English title is Pilot?
CREATE TABLE table_1481865_1 (number_of_episode VARCHAR, title__english_ VARCHAR)
SELECT date FROM table_name_98 WHERE opponent = "vfl sindelfingen"
What date was the opponent VFL Sindelfingen?
CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR)
SELECT MIN(no_in_series) FROM table_2409041_3 WHERE original_air_date = "March 1, 1991"
What series number had an original airdate of March 1, 1991?
CREATE TABLE table_2409041_3 (no_in_series INTEGER, original_air_date VARCHAR)
SELECT studio FROM table_name_7 WHERE worldwide_gross = "$457,640,427"
In what studio was the film grossing $457,640,427 made?
CREATE TABLE table_name_7 (studio VARCHAR, worldwide_gross VARCHAR)
SELECT AVG(year) FROM table_name_11 WHERE participation_as = "actor, film editor"
Participation as of actor, film editor has what average year?
CREATE TABLE table_name_11 (year INTEGER, participation_as VARCHAR)
SELECT week_6 FROM table_name_22 WHERE week_7 = "evicted" AND week_4 = "evicted" AND week_3 = "evicted" AND week_2 = "29.35"
What is week 6 when week 7, week 4, and week 3 are evicted and week 2 29.35?
CREATE TABLE table_name_22 (week_6 VARCHAR, week_2 VARCHAR, week_3 VARCHAR, week_7 VARCHAR, week_4 VARCHAR)
SELECT label FROM table_name_70 WHERE year > 1978
What label had the album after 1978?
CREATE TABLE table_name_70 (label VARCHAR, year INTEGER)