answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT method FROM table_name_75 WHERE opponent = "tyson griffin"
What was the method used when the opponent was Tyson Griffin?
CREATE TABLE table_name_75 (method VARCHAR, opponent VARCHAR)
SELECT outcome FROM table_name_68 WHERE date = "19-sep-2006"
What was the outcome of the game played on 19-Sep-2006?
CREATE TABLE table_name_68 (outcome VARCHAR, date VARCHAR)
SELECT narrated_by FROM table_26168687_3 WHERE vessel_operator = "De Beers"
Who narrated when the vessel operator is de beers?
CREATE TABLE table_26168687_3 (narrated_by VARCHAR, vessel_operator VARCHAR)
SELECT mexico FROM table_18498743_1 WHERE mañana_es_para_siempre = "Love Never Dies"
what is the mexico stat where mañana es para siempre is love never dies
CREATE TABLE table_18498743_1 (mexico VARCHAR, mañana_es_para_siempre VARCHAR)
SELECT reason_for_change FROM table_2159547_3 WHERE vacator = "Robert L. Bacon (R)"
Why did Robert L. Bacon (r) vacate?
CREATE TABLE table_2159547_3 (reason_for_change VARCHAR, vacator VARCHAR)
SELECT gender FROM table_name_15 WHERE authority = "integrated" AND roll = 142
What was the gender for the integrated authority with a roll of 142?
CREATE TABLE table_name_15 (gender VARCHAR, authority VARCHAR, roll VARCHAR)
SELECT quarterfinalists FROM table_21584646_10 WHERE runner_up = "Jimmy Connors"
Who are the quarterfinalists for runner-up jimmy connors?
CREATE TABLE table_21584646_10 (quarterfinalists VARCHAR, runner_up VARCHAR)
SELECT COUNT(total) FROM table_name_25 WHERE gold = 3 AND rank < 3
Name the number of total for 3 gold and rank less than 3
CREATE TABLE table_name_25 (total VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT MIN(1 AS st_prize__) AS $__ FROM table_name_65 WHERE location = "florida" AND score = "200 (-16)"
What is the lowest 1st prize for florida tournaments and a Score of 200 (-16)?
CREATE TABLE table_name_65 (location VARCHAR, score VARCHAR)
SELECT common_name FROM table_26957063_3 WHERE length__aa_ = 1323
What is the common name of the animal whose length (AA) is 1323?
CREATE TABLE table_26957063_3 (common_name VARCHAR, length__aa_ VARCHAR)
SELECT outcome FROM table_name_30 WHERE tournament = "buenos aires"
What was the outcome of the Tournament in Buenos Aires?
CREATE TABLE table_name_30 (outcome VARCHAR, tournament VARCHAR)
SELECT player FROM table_name_11 WHERE score = 70 - 69 - 75 = 214
What Player had a Score of 70-69-75=214?
CREATE TABLE table_name_11 (player VARCHAR, score VARCHAR)
SELECT date FROM table_name_18 WHERE final_score = "24-34"
The final score was 24-34 on what date?
CREATE TABLE table_name_18 (date VARCHAR, final_score VARCHAR)
SELECT manufacturer FROM table_name_1 WHERE rider = "colin edwards"
Who was the Manufacturer for the Rider Colin Edwards?
CREATE TABLE table_name_1 (manufacturer VARCHAR, rider VARCHAR)
SELECT MAX(fa_cup_goals) FROM table_name_85 WHERE total_apps__sub_ = "52" AND total_goals < 5
What division has the highest FA Cup Goals, but a Total Goal score less than 5, and a Total Apps of 52?
CREATE TABLE table_name_85 (fa_cup_goals INTEGER, total_apps__sub_ VARCHAR, total_goals VARCHAR)
SELECT COUNT(top_25) FROM table_name_59 WHERE cuts_made = 22 AND wins < 1
Tell me the total number of top 25 for wins less than 1 and cuts made of 22
CREATE TABLE table_name_59 (top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR)
SELECT nvr_page FROM table_name_6 WHERE home_port = "sasebo, japan"
What is the NVR Page of the ship with a Home Port of Sasebo, Japan?
CREATE TABLE table_name_6 (nvr_page VARCHAR, home_port VARCHAR)
SELECT date FROM table_13023925_2 WHERE week = 14
What was the date of the game in week 14?
CREATE TABLE table_13023925_2 (date VARCHAR, week VARCHAR)
SELECT written_by FROM table_18646432_4 WHERE original_air_date = "September 29, 1999"
Who wrote the episode originally aired on September 29, 1999?
CREATE TABLE table_18646432_4 (written_by VARCHAR, original_air_date VARCHAR)
SELECT outgoing_manager FROM table_27114708_2 WHERE team = "Reggina"
For team reggina please mention all the outgoing manager
CREATE TABLE table_27114708_2 (outgoing_manager VARCHAR, team VARCHAR)
SELECT score FROM table_17001658_5 WHERE game = 15
What was the final score in game 15?
CREATE TABLE table_17001658_5 (score VARCHAR, game VARCHAR)
SELECT venue FROM table_name_53 WHERE away_team = "melbourne"
Where was the game when Melbourne was the away team?
CREATE TABLE table_name_53 (venue VARCHAR, away_team VARCHAR)
SELECT winning_team FROM table_26267607_2 WHERE round = "6"
In Round 6, who is the winning team?
CREATE TABLE table_26267607_2 (winning_team VARCHAR, round VARCHAR)
SELECT COUNT(result) FROM table_1360997_2 WHERE race = "Stan Fox Stakes"
How many results were there for the Stan Fox Stakes race?
CREATE TABLE table_1360997_2 (result VARCHAR, race VARCHAR)
SELECT date FROM table_name_32 WHERE venue = "weserstadion , bremen"
What is Date, when Venue is "Weserstadion , Bremen"?
CREATE TABLE table_name_32 (date VARCHAR, venue VARCHAR)
SELECT verb FROM table_name_86 WHERE proto_austronesian = "*diri"
What is the verb for the Proto-Austronesian word *diri?
CREATE TABLE table_name_86 (verb VARCHAR, proto_austronesian VARCHAR)
SELECT class FROM table_1745843_10 WHERE part_4 = "frosinn"
What class is the verb wich its part 4 is frosinn
CREATE TABLE table_1745843_10 (class VARCHAR, part_4 VARCHAR)
SELECT MIN(draw) FROM table_name_18 WHERE performer = "kaliopi" AND televotes > 3834
Name the lowest Draw which has a Performer of kaliopi and a Televotes larger than 3834?
CREATE TABLE table_name_18 (draw INTEGER, performer VARCHAR, televotes VARCHAR)
SELECT MAX(no_in_season) FROM table_2618113_1 WHERE production_code = "K0104"
Which season had k0104?
CREATE TABLE table_2618113_1 (no_in_season INTEGER, production_code VARCHAR)
SELECT score FROM table_name_12 WHERE country = "united states" AND player = "mike reid"
Mike Reid from the United States has what score?
CREATE TABLE table_name_12 (score VARCHAR, country VARCHAR, player VARCHAR)
SELECT result FROM table_20626467_1 WHERE time = "1-26.21"
What was the result for the time of 1-26.21?
CREATE TABLE table_20626467_1 (result VARCHAR, time VARCHAR)
SELECT location FROM table_name_56 WHERE country = "spain"
What was the location of the tournament held in Spain?
CREATE TABLE table_name_56 (location VARCHAR, country VARCHAR)
SELECT opponent_in_the_final FROM table_name_8 WHERE tournament = "senegal f2"
Who was the opponent in the final of the Senegal f2 tournament>
CREATE TABLE table_name_8 (opponent_in_the_final VARCHAR, tournament VARCHAR)
SELECT COUNT(attendance) FROM table_name_67 WHERE year > 1983 AND venue = "anaheim stadium" AND result = "14-28"
What's the total attendance at anaheim stadium after 1983 when the result is 14-28?
CREATE TABLE table_name_67 (attendance VARCHAR, result VARCHAR, year VARCHAR, venue VARCHAR)
SELECT date FROM table_name_18 WHERE round < 10 AND circuit = "norisring"
What is Date, when Round is less than 10, and when Circuit is "Norisring"?
CREATE TABLE table_name_18 (date VARCHAR, round VARCHAR, circuit VARCHAR)
SELECT date FROM table_21092444_1 WHERE result = "Loss" AND opponent = "Duke"
Name the date for result loss for duke
CREATE TABLE table_21092444_1 (date VARCHAR, result VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_65 WHERE time = "7:00 pm"
When was a game played at 7:00 pm?
CREATE TABLE table_name_65 (date VARCHAR, time VARCHAR)
SELECT s_registered_user FROM table_name_98 WHERE userpics_free = "6 [free] or 15 [plus]"
What is the S Registered User, when Userpics Free is 6 [free] or 15 [plus]?
CREATE TABLE table_name_98 (s_registered_user VARCHAR, userpics_free VARCHAR)
SELECT venue FROM table_name_50 WHERE away_team = "st kilda"
Where did St Kilda play as the away team?
CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR)
SELECT MAX(pick) FROM table_name_31 WHERE player = "adam jones"
What was the highest pick for the player Adam Jones?
CREATE TABLE table_name_31 (pick INTEGER, player VARCHAR)
SELECT record FROM table_name_27 WHERE date = "november 10, 1968"
What was the record on the date of november 10, 1968?
CREATE TABLE table_name_27 (record VARCHAR, date VARCHAR)
SELECT COUNT(won) FROM table_13018091_1 WHERE pts_for = 616
How many teams scored 616 points?
CREATE TABLE table_13018091_1 (won VARCHAR, pts_for VARCHAR)
SELECT AVG(number_on_map) FROM table_name_42 WHERE name = "northgate" AND construction_commenced < 1951
What is the average number for Northgate which commenced its construction before 1951?
CREATE TABLE table_name_42 (number_on_map INTEGER, name VARCHAR, construction_commenced VARCHAR)
SELECT circuit FROM table_name_25 WHERE round = "italy"
what circuit is in italy
CREATE TABLE table_name_25 (circuit VARCHAR, round VARCHAR)
SELECT date FROM table_name_98 WHERE attendance = "24,976"
On what date was the attendance 24,976?
CREATE TABLE table_name_98 (date VARCHAR, attendance VARCHAR)
SELECT years_for_grizzlies FROM table_16494599_10 WHERE school_club_team = "Minnesota"
During what years did athletes who attended school in Minnesota play for the Grizzlies?
CREATE TABLE table_16494599_10 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)
SELECT viewers__in_millions_ FROM table_1785117_1 WHERE run_time = "25:55"
How many million viewers watched the episode that runs 25:55 minutes?
CREATE TABLE table_1785117_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
SELECT place FROM table_name_21 WHERE season = "8" AND rank_by_average = "139"
What was the place in season 8 with a rank by average at 139?
CREATE TABLE table_name_21 (place VARCHAR, season VARCHAR, rank_by_average VARCHAR)
SELECT scorers FROM table_name_41 WHERE venue = "a" AND opponent = "arsenal"
Which Scorers have a Venue of A, and an Opponent of arsenal?
CREATE TABLE table_name_41 (scorers VARCHAR, venue VARCHAR, opponent VARCHAR)
SELECT service FROM table_name_65 WHERE age_at_first_step = "37y 8m 4d"
The astronaut who was 37y 8m 4d when making a first step on the moon was in which service?
CREATE TABLE table_name_65 (service VARCHAR, age_at_first_step VARCHAR)
SELECT canadian_air_date FROM table_30012404_4 WHERE us_air_date = "24 August 2012"
What is the canadian air date when the US air date is 24 august 2012?
CREATE TABLE table_30012404_4 (canadian_air_date VARCHAR, us_air_date VARCHAR)
SELECT T1.campus FROM campuses AS t1 JOIN enrollments AS t2 ON t1.id = t2.campus WHERE t2.year = 1956 AND totalenrollment_ay > 400 AND FTE_AY > 200
What campus had more than 400 total enrollment but more than 200 full time enrollment in year 1956?
CREATE TABLE enrollments (campus VARCHAR, year VARCHAR); CREATE TABLE campuses (id VARCHAR)
SELECT score FROM table_17432028_1 WHERE record = "2-5"
Name the score for record of 2-5
CREATE TABLE table_17432028_1 (score VARCHAR, record VARCHAR)
SELECT model FROM table_name_94 WHERE gcm__kg__technical_capacity = "35000" AND gvm__kg__technical_capacity = "16000" AND engine_make_capacity = "cummins interact 6.0-euro iii (turbo intercooler)"
Which Model has a GCM (kg) Technical Capacity of 35000, a GVM (kg) Technical Capacity of 16000, and Cummins Interact 6.0-euro III (turbo intercooler) for the Engine?
CREATE TABLE table_name_94 (model VARCHAR, engine_make_capacity VARCHAR, gcm__kg__technical_capacity VARCHAR, gvm__kg__technical_capacity VARCHAR)
SELECT MAX(games_played) FROM table_name_9 WHERE receptions = 6 AND games_started = 10 AND fumbles < 3
What are the highest number of games played that had game starts of 10, receptions of 6 and fumbles smaller than 3?
CREATE TABLE table_name_9 (games_played INTEGER, fumbles VARCHAR, receptions VARCHAR, games_started VARCHAR)
SELECT position FROM table_22056184_1 WHERE podiums = 9
Which position has 9 podiums?
CREATE TABLE table_22056184_1 (position VARCHAR, podiums VARCHAR)
SELECT arabic_capital_name FROM table_name_7 WHERE english_capital_name = "n'djamena"
What is the name of the capital, in Arabic, that is called n'djamena in English?
CREATE TABLE table_name_7 (arabic_capital_name VARCHAR, english_capital_name VARCHAR)
SELECT MAX(points) FROM table_name_96 WHERE lost > 1 AND games < 5
Name the most points with lost more than 1 and games less than 5
CREATE TABLE table_name_96 (points INTEGER, lost VARCHAR, games VARCHAR)
SELECT MAX(share) FROM table_20522228_2 WHERE rank__overall_ = "54"
What was the share for rank 54?
CREATE TABLE table_20522228_2 (share INTEGER, rank__overall_ 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 MAX(points) FROM table_name_10 WHERE tied = "4" AND goals_for < 257 AND games > 72
What is the highest number of points scored when Acadie-Bathurst had 4 tied games, less than 257 goals, and over 72 games played?
CREATE TABLE table_name_10 (points INTEGER, games VARCHAR, tied VARCHAR, goals_for VARCHAR)
SELECT points_against FROM table_name_59 WHERE tries_for = "41"
How many points against when 41 is the tries for?
CREATE TABLE table_name_59 (points_against VARCHAR, tries_for VARCHAR)
SELECT original_name FROM table_name_26 WHERE film_title_used_in_nomination = "love"
What is the real name of the movie about love?
CREATE TABLE table_name_26 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT grid FROM table_name_12 WHERE driver = "denny hulme"
What grid for denny hulme?
CREATE TABLE table_name_12 (grid VARCHAR, driver VARCHAR)
SELECT score FROM table_name_23 WHERE tie_no = "replay" AND home_team = "millwall"
What was the score of the replay at Millwall?
CREATE TABLE table_name_23 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR)
SELECT reserved_for___sc___st__none_ FROM table_name_27 WHERE name = "jawad"
What is reserved for Jawad?
CREATE TABLE table_name_27 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
SELECT AVG(nangun) FROM table_name_80 WHERE rank > 2 AND total = 17.85
WHAT IS THE AVERAGE NANGUN WITH A RANK LARGER THAN 2, TOTAL OF 17.85?
CREATE TABLE table_name_80 (nangun INTEGER, rank VARCHAR, total VARCHAR)
SELECT COUNT(finish) FROM table_24122653_2 WHERE eliminated = "Adriana"
What is the number of finishes associated with an elimination of Adriana?
CREATE TABLE table_24122653_2 (finish VARCHAR, eliminated VARCHAR)
SELECT venue FROM table_name_20 WHERE year = 2006 AND competition = "asian games" AND event = "400 m"
what is the venue when the year is 2006, the competition is asian games and the event is 400 m?
CREATE TABLE table_name_20 (venue VARCHAR, event VARCHAR, year VARCHAR, competition VARCHAR)
SELECT high_points FROM table_name_31 WHERE game = 56
What is the High points with a Game that is 56?
CREATE TABLE table_name_31 (high_points VARCHAR, game VARCHAR)
SELECT COUNT(3) AS :2600 FROM table_23987362_2 WHERE world_record = "Championship record"
How many of 3:26.00 have a championship record?
CREATE TABLE table_23987362_2 (world_record VARCHAR)
SELECT SUM(rank) FROM table_name_9 WHERE player = "henry shefflin" AND matches > 4
what is the rank when the player is henry shefflin and the matches is higher than 4?
CREATE TABLE table_name_9 (rank INTEGER, player VARCHAR, matches VARCHAR)
SELECT nominee FROM table_name_86 WHERE category = "best supporting actress"
What's the nominee for best supporting actress?
CREATE TABLE table_name_86 (nominee VARCHAR, category VARCHAR)
SELECT fuel_gas FROM table_1868929_1 WHERE upper_index_mj__nm_3 = "92.32"
Name the fuel gas for upper index mj/nm3 for 92.32
CREATE TABLE table_1868929_1 (fuel_gas VARCHAR, upper_index_mj__nm_3 VARCHAR)
SELECT pts FROM table_14139408_1 WHERE poles < 1.0 AND motorcycle = "Aprilia" AND class = "250cc"
what's the pts with poles being smaller than 1.0 and motorcycle being aprilia and class being 250cc
CREATE TABLE table_14139408_1 (pts VARCHAR, class VARCHAR, poles VARCHAR, motorcycle VARCHAR)
SELECT d_45 FROM table_name_23 WHERE d_42 = "r 22"
What is the D45 associated with a D42 of r 22?
CREATE TABLE table_name_23 (d_45 VARCHAR, d_42 VARCHAR)
SELECT constructor FROM table_name_50 WHERE chassis = "196"
Who is the constructor of the 196 chassis?
CREATE TABLE table_name_50 (constructor VARCHAR, chassis VARCHAR)
SELECT date FROM table_26686908_2 WHERE circuit = "Mount Panorama circuit"
What is the date for the mount panorama circuit?
CREATE TABLE table_26686908_2 (date VARCHAR, circuit VARCHAR)
SELECT venue FROM table_name_91 WHERE competition = "1982 fifa world cup qualification"
In what venue did the 1982 FIFA World Cup Qualification take place?
CREATE TABLE table_name_91 (venue VARCHAR, competition VARCHAR)
SELECT d_43 FROM table_name_70 WHERE d_48 = "d 9"
Name the D 43 with D 48 of d 9
CREATE TABLE table_name_70 (d_43 VARCHAR, d_48 VARCHAR)
SELECT COUNT(miles__km_) FROM table_2241841_1 WHERE manufacturer = "Dodge"
How many wins are with Dodge vehicles?
CREATE TABLE table_2241841_1 (miles__km_ VARCHAR, manufacturer VARCHAR)
SELECT MIN(attendance) FROM table_25331766_3
What is the lowest attendance?
CREATE TABLE table_25331766_3 (attendance INTEGER)
SELECT c__nf_km_ FROM table_261642_3 WHERE l__mh_km_ = "0.6099"
what is the c (nf/km) when the l (mh/km) is 0.6099?
CREATE TABLE table_261642_3 (c__nf_km_ VARCHAR, l__mh_km_ VARCHAR)
SELECT opponent FROM table_name_51 WHERE loss = "glynn (0-2)"
Witch opponent has a loss of Glynn (0-2)?
CREATE TABLE table_name_51 (opponent VARCHAR, loss VARCHAR)
SELECT COUNT(goals_for) FROM table_name_80 WHERE club = "lokomotiv plovdiv" AND goals_against > 58
How many goals have a Lokomotiv Plovdiv club and goals against larger than 58?
CREATE TABLE table_name_80 (goals_for VARCHAR, club VARCHAR, goals_against VARCHAR)
SELECT manner_of_departure FROM table_name_34 WHERE replaced_by = "tita"
What was the manner of departure replaced by tita?
CREATE TABLE table_name_34 (manner_of_departure VARCHAR, replaced_by VARCHAR)
SELECT record FROM table_name_37 WHERE game = 67
What was the record following game 67?
CREATE TABLE table_name_37 (record VARCHAR, game VARCHAR)
SELECT major, AVG(age), MIN(age), MAX(age) FROM Student GROUP BY major
Show the average, minimum, and maximum age for different majors.
CREATE TABLE Student (major VARCHAR, age INTEGER)
SELECT developer FROM table_name_71 WHERE title = "vigilance"
Who was the developer for Vigilance?
CREATE TABLE table_name_71 (developer VARCHAR, title VARCHAR)
SELECT deficit___surplus_ FROM table_15624586_2 WHERE country = "France"
What is the deficit (-surplus) of France?
CREATE TABLE table_15624586_2 (deficit___surplus_ VARCHAR, country VARCHAR)
SELECT investing_dragon_s_ FROM table_name_65 WHERE first_aired = "18 january 2005" AND entrepreneur_s_ = "tracey herrtage"
Who were the Investing Dragons in the episode that first aired on 18 January 2005 with the entrepreneur Tracey Herrtage?
CREATE TABLE table_name_65 (investing_dragon_s_ VARCHAR, first_aired VARCHAR, entrepreneur_s_ VARCHAR)
SELECT ship FROM table_name_81 WHERE country = "royal navy" AND builder = "palmers shipbuilding and iron company"
What ship was built by Palmers Shipbuilding and Iron Company for the Royal Navy?
CREATE TABLE table_name_81 (ship VARCHAR, country VARCHAR, builder VARCHAR)
SELECT french_abbr FROM table_name_23 WHERE group_name = "european progressive democrats"
For the group name European Progressive Democrats what is the French abbr?
CREATE TABLE table_name_23 (french_abbr VARCHAR, group_name VARCHAR)
SELECT result FROM table_name_42 WHERE week = 6
What was the result on week 6?
CREATE TABLE table_name_42 (result VARCHAR, week VARCHAR)
SELECT team FROM table_name_69 WHERE rank < 4 AND time = "1:14.04.88"
Which team had a rank under 4 with a time of 1:14.04.88?
CREATE TABLE table_name_69 (team VARCHAR, rank VARCHAR, time VARCHAR)
SELECT competition FROM table_name_45 WHERE year > 2000
Which Competition has a Year larger than 2000?
CREATE TABLE table_name_45 (competition VARCHAR, year INTEGER)
SELECT winning_team FROM table_25213146_2 WHERE circuit = "circuit Zolder"
On the Circuit Zolder who was the winning team?
CREATE TABLE table_25213146_2 (winning_team VARCHAR, circuit VARCHAR)
SELECT successor FROM table_225100_4 WHERE district = "Florida Territory At-large"
Who is the successor when florida territory at-large is the district?
CREATE TABLE table_225100_4 (successor VARCHAR, district VARCHAR)
SELECT AVG(attendance) FROM table_name_68 WHERE date = "october 3, 1976"
What was the average attendance on october 3, 1976?
CREATE TABLE table_name_68 (attendance INTEGER, date VARCHAR)
SELECT season FROM table_name_79 WHERE rating = "+33"
Which season was one of the players rated +33?
CREATE TABLE table_name_79 (season VARCHAR, rating VARCHAR)