answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT COUNT(round) FROM table_name_59 WHERE player = "nicholas tremblay"
WHAT IS THE ROUND NUMBER OF NICHOLAS TREMBLAY?
CREATE TABLE table_name_59 (round VARCHAR, player VARCHAR)
SELECT opponent FROM table_name_37 WHERE record = "11–4–1"
Who was the opponent when the Maroons record was 11–4–1?
CREATE TABLE table_name_37 (opponent VARCHAR, record VARCHAR)
SELECT share_of_votes FROM table_name_99 WHERE election = "2008 (1)"
What is the share of votes in the 2008 (1) election?
CREATE TABLE table_name_99 (share_of_votes VARCHAR, election VARCHAR)
SELECT value FROM table_name_82 WHERE type = "negative infinity"
What value has negative infinity?
CREATE TABLE table_name_82 (value VARCHAR, type VARCHAR)
SELECT skip FROM table_name_61 WHERE third = "john morris"
What is the Skip when the Third was john morris?
CREATE TABLE table_name_61 (skip VARCHAR, third VARCHAR)
SELECT country FROM table_name_55 WHERE notes = "sa/b" AND rank > 1 AND athlete = "zhang xiuyun"
what is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun?
CREATE TABLE table_name_55 (country VARCHAR, athlete VARCHAR, notes VARCHAR, rank VARCHAR)
SELECT MIN(pioneer) FROM table_name_31 WHERE year = 1966 AND sarina > 4 OFFSET 611
What is the lowest Pioneer population in 1966 with a Sarina population greater than 4,611?
CREATE TABLE table_name_31 (pioneer INTEGER, year VARCHAR, sarina VARCHAR)
SELECT record FROM table_name_55 WHERE date = "december 1, 1968"
What was the record on the date of december 1, 1968?
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
SELECT birthplace FROM table_name_81 WHERE agency = "lespros entertainment" AND generation = "third (2009)"
What's the birthplace of the third (2009) generation member from the lespros entertainment agency?
CREATE TABLE table_name_81 (birthplace VARCHAR, agency VARCHAR, generation VARCHAR)
SELECT COUNT(laps) FROM table_name_87 WHERE grid < 2
When the Grids is less than 2 what are the total laps?
CREATE TABLE table_name_87 (laps VARCHAR, grid INTEGER)
SELECT MIN(poles) FROM table_25352318_1
What is the lowest overall amount of poles?
CREATE TABLE table_25352318_1 (poles INTEGER)
SELECT MAX(grid) FROM table_name_43 WHERE manufacturer = "aprilia" AND time = "retirement" AND laps > 5
What is the highest grid for Aprilia vehicles, laps over 5, and a retirement finish?
CREATE TABLE table_name_43 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR, time VARCHAR)
SELECT COUNT(chassis) FROM table_15491596_1 WHERE no = 34
How many chassis used number 34?
CREATE TABLE table_15491596_1 (chassis VARCHAR, no VARCHAR)
SELECT COUNT(season) FROM table_24575253_4 WHERE division_two = "Racing Epsom"
When racing epsom is in division two how many seasons are there?
CREATE TABLE table_24575253_4 (season VARCHAR, division_two VARCHAR)
SELECT nickname FROM table_name_76 WHERE years_in_competition = "1982-1994"
What is the Nickname in the Competition of 1982-1994?
CREATE TABLE table_name_76 (nickname VARCHAR, years_in_competition VARCHAR)
SELECT name FROM table_name_61 WHERE finish = "9th" AND occupation = "sports agent"
Who was the sports agent who finished 9th?
CREATE TABLE table_name_61 (name VARCHAR, finish VARCHAR, occupation VARCHAR)
SELECT COUNT(rank) FROM table_name_58 WHERE matches = "427" AND goals < 320
Can you tell me the total number of Rank that has the Matches of 427, and the Goals smaller than 320?
CREATE TABLE table_name_58 (rank VARCHAR, matches VARCHAR, goals VARCHAR)
SELECT artist FROM table_name_33 WHERE draw > 4
Who is the artist that drew higher than 4?
CREATE TABLE table_name_33 (artist VARCHAR, draw INTEGER)
SELECT name FROM table_name_41 WHERE indication = "autoimmune disease and inflammation"
Which study included autoimmune disease and inflammation?
CREATE TABLE table_name_41 (name VARCHAR, indication VARCHAR)
SELECT MIN(score) FROM table_name_59 WHERE to_par = "–1"
Which Score has a To Par of –1?
CREATE TABLE table_name_59 (score INTEGER, to_par VARCHAR)
SELECT winning_driver FROM table_1137694_3 WHERE winning_constructor = "Jordan - Mugen-Honda"
Who drove the winning car constructed by Jordan - Mugen-Honda?
CREATE TABLE table_1137694_3 (winning_driver VARCHAR, winning_constructor VARCHAR)
SELECT MIN(week) FROM table_name_72 WHERE game_site = "ralph wilson stadium" AND date = "october 7, 2001"
What was the lowest week at Ralph Wilson Stadium on October 7, 2001?
CREATE TABLE table_name_72 (week INTEGER, game_site VARCHAR, date VARCHAR)
SELECT lost FROM table_name_94 WHERE drawn = "2" AND points = "36"
What is Lost, when Drawn is "2", and when Points is "36"?
CREATE TABLE table_name_94 (lost VARCHAR, drawn VARCHAR, points VARCHAR)
SELECT contestant_name FROM table_18513028_3 WHERE date_premiered__2009_ = "July 25"
What contestant was premiered on July 25?
CREATE TABLE table_18513028_3 (contestant_name VARCHAR, date_premiered__2009_ VARCHAR)
SELECT position FROM table_name_5 WHERE nationality = "usa" AND team = "ír" AND season = "2010-11"
What position did the 2010-11 USA ír player have?
CREATE TABLE table_name_5 (position VARCHAR, season VARCHAR, nationality VARCHAR, team VARCHAR)
SELECT MAX(heat) FROM table_name_8 WHERE mark = "6.76" AND name = "ihor bodrov" AND lane < 1
What is the highest heat for Ihor Bodrov when the mark is 6.76 and the lane is less than 1?
CREATE TABLE table_name_8 (heat INTEGER, lane VARCHAR, mark VARCHAR, name VARCHAR)
SELECT manager_1 FROM table_name_24 WHERE captain = "neil redfearn"
Who was the manager for the team with captain Neil Redfearn?
CREATE TABLE table_name_24 (manager_1 VARCHAR, captain VARCHAR)
SELECT director FROM table_14330096_3 WHERE total_number = 14
Who is the director of the episode that corresponds to the total episodes number 14?
CREATE TABLE table_14330096_3 (director VARCHAR, total_number VARCHAR)
SELECT outgoing_manager FROM table_name_62 WHERE replaced_by = "michael oenning"
What is the name of the manager that was replaced by Michael Oenning?
CREATE TABLE table_name_62 (outgoing_manager VARCHAR, replaced_by VARCHAR)
SELECT opponent FROM table_name_12 WHERE venue = "h" AND result = "0–1" AND date = "29 august 1998"
Which Opponent has a Venue of h, and a Result of 0–1, and a Date of 29 august 1998?
CREATE TABLE table_name_12 (opponent VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR)
SELECT MAX(season__number) FROM table_2219961_2 WHERE director = "Eric Tuchman"
What is the latest season number that Eric Tuchman directed?
CREATE TABLE table_2219961_2 (season__number INTEGER, director VARCHAR)
SELECT COUNT(ka_band) FROM table_186468_1 WHERE v_band = "4"
When 4 is the v-band what is the overall amount of ka-bands?
CREATE TABLE table_186468_1 (ka_band VARCHAR, v_band VARCHAR)
SELECT kilometer_no__layac_basis_ FROM table_name_29 WHERE barangay = "general lim (capot)"
What kilometer (Layac-basis) has a Barangay of general lim (capot)?
CREATE TABLE table_name_29 (kilometer_no__layac_basis_ VARCHAR, barangay VARCHAR)
SELECT competition FROM table_name_86 WHERE season = "2002–03" AND opponent = "zenit st. petersburg"
What is the Competition for Season 2002–03, and the Opponent was zenit st. petersburg?
CREATE TABLE table_name_86 (competition VARCHAR, season VARCHAR, opponent VARCHAR)
SELECT laps FROM table_2226343_1 WHERE average_speed__mph_ = "140.22"
How many laps have an average speed (mph) of 140.22?
CREATE TABLE table_2226343_1 (laps VARCHAR, average_speed__mph_ VARCHAR)
SELECT AVG(match) FROM table_name_37 WHERE ground = "h" AND opponent = "chelsea under 18s"
What match number has a ground of H and the opponent Chelsea under 18s?
CREATE TABLE table_name_37 (match INTEGER, ground VARCHAR, opponent VARCHAR)
SELECT points_difference FROM table_name_34 WHERE points_against = "767"
When there were 767 points, what was the point difference?
CREATE TABLE table_name_34 (points_difference VARCHAR, points_against VARCHAR)
SELECT city_of_license FROM table_name_40 WHERE class = "lp"
What is the city of license that has lp as the class?
CREATE TABLE table_name_40 (city_of_license VARCHAR, class VARCHAR)
SELECT round FROM table_name_67 WHERE opponent = "cska sofia" AND venue = "a"
What is the round for the opponent CSKA Sofia in Venue A?
CREATE TABLE table_name_67 (round VARCHAR, opponent VARCHAR, venue VARCHAR)
SELECT COUNT(position) FROM table_1473672_10 WHERE player = "Rene Lambert"
How many positions did 1972 NHL Draft pick Rene Lambert play?
CREATE TABLE table_1473672_10 (position VARCHAR, player VARCHAR)
SELECT reference FROM table_name_4 WHERE romaji_title = "da.i.su.ki"
What is the reference for the romani title da.i.su.ki?
CREATE TABLE table_name_4 (reference VARCHAR, romaji_title VARCHAR)
SELECT MIN(year) FROM table_name_25 WHERE winner = "matthew king" AND score > 270
What was the earliest year during which the winner was Matthew King, and during which the score was higher than 270?
CREATE TABLE table_name_25 (year INTEGER, winner VARCHAR, score VARCHAR)
SELECT cfl_team FROM table_name_76 WHERE player = "pascal masson"
What CFL Team is Pascal Masson on?
CREATE TABLE table_name_76 (cfl_team VARCHAR, player VARCHAR)
SELECT SUM(roll) FROM table_name_11 WHERE area = "waikaka"
What is the sum of the roll with an area of Waikaka?
CREATE TABLE table_name_11 (roll INTEGER, area VARCHAR)
SELECT 1977 FROM table_name_9 WHERE 1972 = "grand slam tournaments"
What is the 1977 value that had Grand Slam Tournaments in 1972?
CREATE TABLE table_name_9 (Id VARCHAR)
SELECT Marketing_Region_Descriptrion FROM Marketing_Regions WHERE Marketing_Region_Name = "China"
What is the description of the marketing region China?
CREATE TABLE Marketing_Regions (Marketing_Region_Descriptrion VARCHAR, Marketing_Region_Name VARCHAR)
SELECT date FROM table_name_90 WHERE attendance = "77,918"
What was the date when the attendance was 77,918?
CREATE TABLE table_name_90 (date VARCHAR, attendance VARCHAR)
SELECT thickness FROM table_name_3 WHERE weight = "3.50grams"
Which Thickness has a Weight of 3.50grams?
CREATE TABLE table_name_3 (thickness VARCHAR, weight VARCHAR)
SELECT production_code__order_they_were_made___number FROM table_2342078_2 WHERE episode__number = 13
What is every production code for episode # 13?
CREATE TABLE table_2342078_2 (production_code__order_they_were_made___number VARCHAR, episode__number VARCHAR)
SELECT haydon FROM table_11447995_2 WHERE larter = "11" AND libweshya = "4"
What is Haydon when Larter is 11 and Libweshya is 4?
CREATE TABLE table_11447995_2 (haydon VARCHAR, larter VARCHAR, libweshya VARCHAR)
SELECT runner_up FROM table_name_88 WHERE winner = "kiveton park" AND season = "2005-06"
What was the Runner-up during the 2005-06 Season with Kiveton Park as the Winner?
CREATE TABLE table_name_88 (runner_up VARCHAR, winner VARCHAR, season VARCHAR)
SELECT lost FROM table_27293285_2 WHERE bonus_points = "9" AND won = "11"
How many losses did the club who had 9 bonus points and 11 wins have?
CREATE TABLE table_27293285_2 (lost VARCHAR, bonus_points VARCHAR, won VARCHAR)
SELECT spacecraft FROM table_name_96 WHERE start_date_time = "8 july 12:38"
The EVA that started 8 July 12:38 was from what spacecraft?
CREATE TABLE table_name_96 (spacecraft VARCHAR, start_date_time VARCHAR)
SELECT AVG(attendance) FROM table_name_33 WHERE opponent = "airdrie united" AND date = "31 january 2009"
What was the attendance on 31 January 2009 when the opponent was Airdrie United?
CREATE TABLE table_name_33 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
SELECT time FROM table_name_4 WHERE lane > 4 AND nationality = "romania"
What is the time in Romania that has a lane larger than 4?
CREATE TABLE table_name_4 (time VARCHAR, lane VARCHAR, nationality VARCHAR)
SELECT MAX(pick__number) FROM table_name_84 WHERE player = "ryan strong"
What is the Pick # for Ryan Strong?
CREATE TABLE table_name_84 (pick__number INTEGER, player VARCHAR)
SELECT COUNT(wins) FROM table_name_73 WHERE rank > 2 AND player = "mike hill"
What was the total number of wins with player Mike Hill with a rank bigger than 2?
CREATE TABLE table_name_73 (wins VARCHAR, rank VARCHAR, player VARCHAR)
SELECT ipsos_5_25_09 FROM table_name_26 WHERE tns_sofres_5_28_09 = "20%"
Which Ipsos 5/25/09 has a TNS-Sofres 5/28/09 of 20%?
CREATE TABLE table_name_26 (ipsos_5_25_09 VARCHAR, tns_sofres_5_28_09 VARCHAR)
SELECT res FROM table_name_79 WHERE time = "15:00" AND opponent = "kiuma kunioku"
What was the resolution of the fight against kiuma kunioku with a time of 15:00?
CREATE TABLE table_name_79 (res VARCHAR, time VARCHAR, opponent VARCHAR)
SELECT height FROM table_name_38 WHERE date_of_birth = "1982-07-05"
What is the Height of the Player with a Date of Birth of 1982-07-05?
CREATE TABLE table_name_38 (height VARCHAR, date_of_birth VARCHAR)
SELECT builder FROM table_name_75 WHERE launched = "20 jun 1953"
what builder launched 20 jun 1953?
CREATE TABLE table_name_75 (builder VARCHAR, launched VARCHAR)
SELECT college FROM table_name_86 WHERE pick__number = 41
Which college has 41 picks?
CREATE TABLE table_name_86 (college VARCHAR, pick__number VARCHAR)
SELECT driver FROM table_name_1 WHERE chassis = "n175" AND rounds = "13"
Who drove the car with the n175 chassis in round 13?
CREATE TABLE table_name_1 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)
SELECT position FROM table_name_57 WHERE player = "barry richter"
What position does Barry Richter play?
CREATE TABLE table_name_57 (position VARCHAR, player VARCHAR)
SELECT COUNT(*) FROM ref_colors
How many colors are there?
CREATE TABLE ref_colors (Id VARCHAR)
SELECT 2 AS nd_leg FROM table_name_72 WHERE team_2 = "milano"
What is the 2nd leg for the team 2 Milano?
CREATE TABLE table_name_72 (team_2 VARCHAR)
SELECT genus_species FROM table_27155678_2 WHERE accession_number = "BX897699.1"
Name the genus/species of accession number bx897699.1
CREATE TABLE table_27155678_2 (genus_species VARCHAR, accession_number VARCHAR)
SELECT home_team FROM table_name_20 WHERE away_team = "wolverhampton wanderers"
who is the home team when the away team is wolverhampton wanderers?
CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR)
SELECT duration FROM table_11210576_3 WHERE actor = "Christian de la Fuente"
What duration is listed for Christian de la Fuente?
CREATE TABLE table_11210576_3 (duration VARCHAR, actor VARCHAR)
SELECT comments FROM table_18305523_2 WHERE cover_date = "14 March 1987"
What is the comment on the issue dated 14 March 1987?
CREATE TABLE table_18305523_2 (comments VARCHAR, cover_date VARCHAR)
SELECT AVG(draw) FROM table_name_31 WHERE artist = "emilya valenti"
Emilya Valenti has what draw average?
CREATE TABLE table_name_31 (draw INTEGER, artist VARCHAR)
SELECT in_vitro___in_vivo FROM table_name_96 WHERE route_of_administration = "iv" AND investigation = "somatostatin receptor imaging"
Tell me the in-vitro for Route of administration of iv and Investigation of somatostatin receptor imaging
CREATE TABLE table_name_96 (in_vitro___in_vivo VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)
SELECT SUM(share) FROM table_name_42 WHERE rating > 1.2 AND rank__timeslot_ = 3 AND viewers__millions_ = 6.07
What is the sum of share with a rating larger than 1.2, a 3 rank timeslot, and 6.07 million viewers?
CREATE TABLE table_name_42 (share INTEGER, viewers__millions_ VARCHAR, rating VARCHAR, rank__timeslot_ VARCHAR)
SELECT run_time FROM table_2108684_1 WHERE viewers__in_millions_ = "7.9"
What is the run time for the episode with 7.9 million viewers?
CREATE TABLE table_2108684_1 (run_time VARCHAR, viewers__in_millions_ VARCHAR)
SELECT result FROM table_name_57 WHERE nominee_s_ = "janine sherman"
What is the result when the nominee(s) of janine sherman?
CREATE TABLE table_name_57 (result VARCHAR, nominee_s_ VARCHAR)
SELECT constructor FROM table_name_61 WHERE grid = 12
What constructor has a 12 grid?
CREATE TABLE table_name_61 (constructor VARCHAR, grid VARCHAR)
SELECT race_1 FROM table_name_25 WHERE round = "round 2"
What is the Race 1 result of Round 2?
CREATE TABLE table_name_25 (race_1 VARCHAR, round VARCHAR)
SELECT LOCATION FROM festival_detail ORDER BY Num_of_Audience DESC LIMIT 1
What is the location of the festival with the largest number of audience?
CREATE TABLE festival_detail (LOCATION VARCHAR, Num_of_Audience VARCHAR)
SELECT notes FROM table_name_11 WHERE authors = "zhou & zhang"
What are the notes where the authors are Zhou & Zhang?
CREATE TABLE table_name_11 (notes VARCHAR, authors VARCHAR)
SELECT surface FROM table_name_4 WHERE tournament = "sunderland , united kingdom"
What is Surface, when Tournament is "Sunderland , United Kingdom"?
CREATE TABLE table_name_4 (surface VARCHAR, tournament VARCHAR)
SELECT years FROM table_name_74 WHERE torque = "n·m (lb·ft)@1750-3000" AND model = "sdrive16d"
What years did the sdrive16d model have a Torque of n·m (lb·ft)@1750-3000?
CREATE TABLE table_name_74 (years VARCHAR, torque VARCHAR, model VARCHAR)
SELECT AVG(drawn) FROM table_name_32 WHERE name = "ersc amberg" AND points < 14
What is the average games that were drawn with ERSC Amberg as name and less than 14 points?
CREATE TABLE table_name_32 (drawn INTEGER, name VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_37 WHERE points > 0 AND entrant = "scuderia ferrari" AND year > 1952
Which Chassis has more than 0 points, an Entrant of Scuderia Ferrari, and was later than 1952?
CREATE TABLE table_name_37 (chassis VARCHAR, year VARCHAR, points VARCHAR, entrant VARCHAR)
SELECT time FROM table_name_48 WHERE winner = "screen your friend"
What was the time for Screen Your Friend?
CREATE TABLE table_name_48 (time VARCHAR, winner VARCHAR)
SELECT topic_of_the_show FROM table_name_5 WHERE date = "march 15, 2008"
What was the topic of the show on March 15, 2008?
CREATE TABLE table_name_5 (topic_of_the_show VARCHAR, date VARCHAR)
SELECT final_score FROM table_name_62 WHERE date = "2009-02-26"
what is the final score when the date is 2009-02-26?
CREATE TABLE table_name_62 (final_score VARCHAR, date VARCHAR)
SELECT penalty FROM table_name_19 WHERE player = "jonathan toews"
What is the penalty for Jonathan Toews?
CREATE TABLE table_name_19 (penalty VARCHAR, player VARCHAR)
SELECT AVG(points) FROM table_name_90 WHERE opponent = "calgary flames" AND january > 22
Which Points have an Opponent of calgary flames, and a January larger than 22?
CREATE TABLE table_name_90 (points INTEGER, opponent VARCHAR, january VARCHAR)
SELECT high_assists FROM table_15869204_5 WHERE date = "December 14"
Name the high assists for december 14
CREATE TABLE table_15869204_5 (high_assists VARCHAR, date VARCHAR)
SELECT MIN(total_points) FROM table_20505342_1 WHERE drop_goals = 2
What is the point total for the season with 2 drop goals?
CREATE TABLE table_20505342_1 (total_points INTEGER, drop_goals VARCHAR)
SELECT party FROM table_1342218_35 WHERE district = "Ohio 5"
What party does the incumbent from the Ohio 5 district belong to?
CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR)
SELECT COUNT(draws) FROM table_name_74 WHERE played < 30
What is the number of draws when played is smaller than 30?
CREATE TABLE table_name_74 (draws VARCHAR, played INTEGER)
SELECT title FROM table_name_91 WHERE developer = "2play mobile" AND genre = "action"
What is Title, when Developer is "2Play Mobile", and when Genre is "Action"?
CREATE TABLE table_name_91 (title VARCHAR, developer VARCHAR, genre VARCHAR)
SELECT city FROM table_name_61 WHERE stadium = "don valley stadium"
In what city is the Don Valley Stadium located?
CREATE TABLE table_name_61 (city VARCHAR, stadium VARCHAR)
SELECT SUM(week) FROM table_name_48 WHERE date = "september 6, 1946"
What is the Week number on September 6, 1946?
CREATE TABLE table_name_48 (week INTEGER, date VARCHAR)
SELECT mark FROM table_name_44 WHERE lane > 2 AND country = "bahamas"
What is Mark, when Lane is greater than 2, and when Country is Bahamas?
CREATE TABLE table_name_44 (mark VARCHAR, lane VARCHAR, country VARCHAR)
SELECT player FROM table_name_70 WHERE team = "los angeles dodgers"
What player was on the Los Angeles Dodgers?
CREATE TABLE table_name_70 (player VARCHAR, team VARCHAR)
SELECT spacecraft FROM table_179174_2 WHERE flights = "22 Orbital"
What spacecrafts had 22 orbital flights?
CREATE TABLE table_179174_2 (spacecraft VARCHAR, flights VARCHAR)
SELECT COUNT(year__ceremony_) FROM table_17156199_1 WHERE original_title = "স্বপ্নডানায় (Swopnodanay)"
How many years was the original title was স্বপ্নডানায় (swopnodanay)?
CREATE TABLE table_17156199_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
SELECT COUNT(fa_trophy) FROM table_name_17 WHERE fa_cup > 2 AND player = "neil grayson" AND league > 17
What is the total number of FA trophies of player Neil Grayson, who has more than 2 FA cups and a league greater than 17?
CREATE TABLE table_name_17 (fa_trophy VARCHAR, league VARCHAR, fa_cup VARCHAR, player VARCHAR)