question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the to par for Australia and a 73-69-71=213 score?
CREATE TABLE table_name_43 (to_par VARCHAR, country VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_43 WHERE country = "australia" AND score = 73 - 69 - 71 = 213
list all female (sex is F) candidate names in the alphabetical order.
CREATE TABLE candidate (people_id VARCHAR); CREATE TABLE people (name VARCHAR, people_id VARCHAR, sex VARCHAR)
SELECT t1.name FROM people AS t1 JOIN candidate AS t2 ON t1.people_id = t2.people_id WHERE t1.sex = 'F' ORDER BY t1.name
What rank has a population of 4839400?
CREATE TABLE table_name_87 (rank INTEGER, population VARCHAR)
SELECT MIN(rank) FROM table_name_87 WHERE population = "4839400"
What primary sponsor(s) owns ford fusion car(s) and the crew chief is Drew Blickensderfer?
CREATE TABLE table_name_34 (primary_sponsor_s_ VARCHAR, car_s_ VARCHAR, crew_chief VARCHAR)
SELECT primary_sponsor_s_ FROM table_name_34 WHERE car_s_ = "ford fusion" AND crew_chief = "drew blickensderfer"
What is the third entry in the row with a first entry of "club"?
CREATE TABLE table_12792876_2 (won VARCHAR)
SELECT won FROM table_12792876_2 WHERE "club" = "club"
The order # is what for the week # Top 10?
CREATE TABLE table_26250253_1 (order__number VARCHAR, week__number VARCHAR)
SELECT order__number FROM table_26250253_1 WHERE week__number = "Top 10"
What method resulted in a win and a time of 4:36?
CREATE TABLE table_name_44 (method VARCHAR, res VARCHAR, time VARCHAR)
SELECT method FROM table_name_44 WHERE res = "win" AND time = "4:36"
How many laps for a grid larger than 1 with a Time/Retired of halfshaft?
CREATE TABLE table_name_31 (laps VARCHAR, grid VARCHAR, time_retired VARCHAR)
SELECT laps FROM table_name_31 WHERE grid > 1 AND time_retired = "halfshaft"
What is the size when the frame is bigger than for 4096.0
CREATE TABLE table_1251878_3 (aspect_ratio VARCHAR, width INTEGER)
SELECT aspect_ratio FROM table_1251878_3 WHERE width > 4096.0
Who is the leading scorer of the game on 20 November 2007?
CREATE TABLE table_name_61 (leading_scorer VARCHAR, date VARCHAR)
SELECT leading_scorer FROM table_name_61 WHERE date = "20 november 2007"
How many communes associated with over 10 cantons and an area (Square km) of 1,589?
CREATE TABLE table_name_83 (communes INTEGER, cantons VARCHAR, area__square_km_ VARCHAR)
SELECT AVG(communes) FROM table_name_83 WHERE cantons > 10 AND area__square_km_ = 1 OFFSET 589
How many runners-up were there when Joanne Wheatley won?
CREATE TABLE table_28962227_1 (runners_up VARCHAR, winner VARCHAR)
SELECT COUNT(runners_up) FROM table_28962227_1 WHERE winner = "Joanne Wheatley"
What is the highest year named for the name Tie Fluctus?
CREATE TABLE table_16799784_12 (year_named INTEGER, name VARCHAR)
SELECT MAX(year_named) FROM table_16799784_12 WHERE name = "Tie Fluctus"
What was the average crowd size at Victoria Park?
CREATE TABLE table_name_22 (crowd INTEGER, venue VARCHAR)
SELECT AVG(crowd) FROM table_name_22 WHERE venue = "victoria park"
In 1970, what entrant had a cosworth v8 engine?
CREATE TABLE table_name_82 (entrant VARCHAR, engine VARCHAR, year VARCHAR)
SELECT entrant FROM table_name_82 WHERE engine = "cosworth v8" AND year = 1970
How many platinum points were awarded when 9 gold points were awarded?
CREATE TABLE table_11254821_2 (points_awarded__platinum_ VARCHAR, points_awarded__gold_ VARCHAR)
SELECT points_awarded__platinum_ FROM table_11254821_2 WHERE points_awarded__gold_ = 9
What is the area (in km2) for the community that has a status of village, a census ranking of 2,471 of 5,008, and a population of less than 748?
CREATE TABLE table_name_10 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, census_ranking VARCHAR)
SELECT SUM(area_km_2) FROM table_name_10 WHERE status = "village" AND census_ranking = "2,471 of 5,008" AND population < 748
How many video games have type Massively multiplayer online game?
CREATE TABLE Video_games (gtype VARCHAR)
SELECT COUNT(*) FROM Video_games WHERE gtype = "Massively multiplayer online game"
How many winners were there in the race of 1922
CREATE TABLE table_1342359_23 (incumbent VARCHAR, first_elected VARCHAR)
SELECT COUNT(incumbent) FROM table_1342359_23 WHERE first_elected = 1922
Which class has a rank of 5th?
CREATE TABLE table_name_79 (class VARCHAR, rank VARCHAR)
SELECT class FROM table_name_79 WHERE rank = "5th"
Name the arabic for ħamuʃte
CREATE TABLE table_26919_6 (arabic VARCHAR, tigrinya VARCHAR)
SELECT arabic FROM table_26919_6 WHERE tigrinya = "ħamuʃte"
What was the score on the episode that had Russell Kane and Louise Redknapp on Sean's team?
CREATE TABLE table_23292220_13 (scores VARCHAR, seans_team VARCHAR)
SELECT scores FROM table_23292220_13 WHERE seans_team = "Russell Kane and Louise Redknapp"
The lowest rank with 2011 less than 80.7 and 2012 less than 73.1 is what?
CREATE TABLE table_name_82 (rank INTEGER)
SELECT MIN(rank) FROM table_name_82 WHERE 2011 < 80.7 AND 2012 < 73.1
Who is the third on the team from Madison, Wisconsin that has Craig Brown as skip?
CREATE TABLE table_name_23 (third VARCHAR, home VARCHAR, skip VARCHAR)
SELECT third FROM table_name_23 WHERE home = "madison, wisconsin" AND skip = "craig brown"
What is the Current singles ranking for the player named Mantas Bugailiškis?
CREATE TABLE table_10295819_1 (current_singles_ranking VARCHAR, player VARCHAR)
SELECT current_singles_ranking FROM table_10295819_1 WHERE player = "Mantas Bugailiškis"
What was the position at the venue of lyon?
CREATE TABLE table_name_71 (position VARCHAR, venue VARCHAR)
SELECT position FROM table_name_71 WHERE venue = "lyon"
with the amount of tries at 89, how many win's were there?
CREATE TABLE table_17675675_2 (won VARCHAR, tries_against VARCHAR)
SELECT won FROM table_17675675_2 WHERE tries_against = "89"
what is the original channel when the year is before 2006 and the note is supporting?
CREATE TABLE table_name_67 (original_channel VARCHAR, year VARCHAR, note VARCHAR)
SELECT original_channel FROM table_name_67 WHERE year < 2006 AND note = "supporting"
What is the score of the event held on July 23, 2009?
CREATE TABLE table_name_78 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_78 WHERE date = "july 23, 2009"
What is every institution with the nickname of Quakers?
CREATE TABLE table_261954_1 (institution VARCHAR, nickname VARCHAR)
SELECT institution FROM table_261954_1 WHERE nickname = "Quakers"
Which round has an opponent of Freiburg?
CREATE TABLE table_name_39 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_39 WHERE opponent = "freiburg"
what is the highest wickets when best bowling is 5/40 and average is less than 33.09?
CREATE TABLE table_name_14 (wickets INTEGER, best_bowling VARCHAR, average VARCHAR)
SELECT MAX(wickets) FROM table_name_14 WHERE best_bowling = "5/40" AND average < 33.09
What were the years for Redhill school, authority of state?
CREATE TABLE table_name_1 (years VARCHAR, authority VARCHAR, name VARCHAR)
SELECT years FROM table_name_1 WHERE authority = "state" AND name = "redhill school"
What compound is yellow?
CREATE TABLE table_name_2 (compound_name VARCHAR, colour VARCHAR)
SELECT compound_name FROM table_name_2 WHERE colour = "yellow"
What number in season had 10.18 million US viewers?
CREATE TABLE table_27491610_2 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)
SELECT no_in_season FROM table_27491610_2 WHERE us_viewers__millions_ = "10.18"
Which countries visited had an episode number of less than 7 when Ray Gosling was the writer?
CREATE TABLE table_name_26 (countries_visited VARCHAR, episode_no VARCHAR, writer VARCHAR)
SELECT countries_visited FROM table_name_26 WHERE episode_no < 7 AND writer = "ray gosling"
What is Year (Ceremony), when Director is "Farid Gumbatov Category:Articles With hCards"?
CREATE TABLE table_name_51 (year__ceremony_ VARCHAR, director VARCHAR)
SELECT year__ceremony_ FROM table_name_51 WHERE director = "farid gumbatov category:articles with hcards"
Before round 7, what is the greatest Pick # for a player that plays defensive tackle?
CREATE TABLE table_name_5 (pick__number INTEGER, position VARCHAR, round VARCHAR)
SELECT MAX(pick__number) FROM table_name_5 WHERE position = "defensive tackle" AND round < 7
What was the away team that played against Fitzroy?
CREATE TABLE table_name_87 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_87 WHERE home_team = "fitzroy"
Which team had more than 15 losses in 1988?
CREATE TABLE table_name_23 (team_name VARCHAR, losses VARCHAR, season VARCHAR)
SELECT team_name FROM table_name_23 WHERE losses > 15 AND season = "1988"
What are all percentages of overweight or obese adults for obesity rank of 21?
CREATE TABLE table_18958648_1 (overweight__incl_obese__adults VARCHAR, obesity_rank VARCHAR)
SELECT overweight__incl_obese__adults FROM table_18958648_1 WHERE obesity_rank = 21
Show the delegate from district 1 in election.
CREATE TABLE election (Delegate VARCHAR, District VARCHAR)
SELECT Delegate FROM election WHERE District = 1
Which Drew has a Lost larger than 14?
CREATE TABLE table_name_17 (drew INTEGER, lost INTEGER)
SELECT SUM(drew) FROM table_name_17 WHERE lost > 14
Can you tell me the Score that has the Home team of townsville crocodiles?
CREATE TABLE table_name_24 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_24 WHERE home_team = "townsville crocodiles"
Which Visitor has a Game # larger than 62, and a Date of february 25?
CREATE TABLE table_name_99 (visitor VARCHAR, game__number VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_99 WHERE game__number > 62 AND date = "february 25"
What is the largest jersey number for the player from maryland
CREATE TABLE table_11545282_4 (no INTEGER, school_club_team VARCHAR)
SELECT MAX(no) FROM table_11545282_4 WHERE school_club_team = "Maryland"
What is the location of the car that has a constructor of Lorraine-Dietrich?
CREATE TABLE table_18893428_1 (location VARCHAR, constructor VARCHAR)
SELECT location FROM table_18893428_1 WHERE constructor = "Lorraine-Dietrich"
What was the record for December 5, 1948?
CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_41 WHERE date = "december 5, 1948"
Call sign of k33ln-ld, and a Virtual channel of 33.5 is what network?
CREATE TABLE table_name_52 (network VARCHAR, call_sign VARCHAR, virtual_channel VARCHAR)
SELECT network FROM table_name_52 WHERE call_sign = "k33ln-ld" AND virtual_channel = "33.5"
What stadium had the score 1 - 1 dodd 38'?
CREATE TABLE table_name_21 (stadium VARCHAR, score VARCHAR)
SELECT stadium FROM table_name_21 WHERE score = "1 - 1 dodd 38'"
in the ft pct .667 what is the number of gp-gs
CREATE TABLE table_23817012_6 (gp_gs VARCHAR, ft_pct VARCHAR)
SELECT COUNT(gp_gs) FROM table_23817012_6 WHERE ft_pct = ".667"
Who lost with 142 points for?
CREATE TABLE table_name_73 (lost VARCHAR, points_for VARCHAR)
SELECT lost FROM table_name_73 WHERE points_for = "142"
What was the attendance at Corio Oval?
CREATE TABLE table_name_9 (crowd VARCHAR, venue VARCHAR)
SELECT crowd FROM table_name_9 WHERE venue = "corio oval"
Which date has a Race Title of dhl turkish grand prix?
CREATE TABLE table_name_40 (date VARCHAR, race_title VARCHAR)
SELECT date FROM table_name_40 WHERE race_title = "dhl turkish grand prix"
Which tournament had a margin of victory of 6 strokes?
CREATE TABLE table_name_34 (tournament VARCHAR, margin_of_victory VARCHAR)
SELECT tournament FROM table_name_34 WHERE margin_of_victory = "6 strokes"
At the venue Vfl Park, what was the Home team score?
CREATE TABLE table_name_5 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_5 WHERE venue = "vfl park"
Which 3rd run has rank of 1?
CREATE TABLE table_name_97 (rank VARCHAR)
SELECT 3 AS rd_run FROM table_name_97 WHERE rank = 1
Which Manufacturer has a Laps of 21, a Grid larger than 16, and a Rider of akira ryō?
CREATE TABLE table_name_89 (manufacturer VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT manufacturer FROM table_name_89 WHERE laps = 21 AND grid > 16 AND rider = "akira ryō"
What is the enrollment number for the public institution in Golden, Colorado founded after 1874?
CREATE TABLE table_name_38 (enrollment INTEGER, founded VARCHAR, control VARCHAR, location VARCHAR)
SELECT AVG(enrollment) FROM table_name_38 WHERE control = "public" AND location = "golden, colorado" AND founded > 1874
how many companies released an audiobook titled deadly download
CREATE TABLE table_20174050_24 (company VARCHAR, title VARCHAR)
SELECT COUNT(company) FROM table_20174050_24 WHERE title = "Deadly Download"
Tell me the 1st leg for asfa rabat
CREATE TABLE table_name_9 (team__number1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_9 WHERE team__number1 = "asfa rabat"
What's the 1881 when 1871 had 1017?
CREATE TABLE table_name_38 (Id VARCHAR)
SELECT 1881 FROM table_name_38 WHERE 1871 = "1017"
What was the score of the team North Melbourne played at Arden Street Oval?
CREATE TABLE table_name_75 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_75 WHERE home_team = "north melbourne"
What is the rank of the country with total more than 3 and more than 6 silver?
CREATE TABLE table_name_66 (rank VARCHAR, total VARCHAR, silver VARCHAR)
SELECT rank FROM table_name_66 WHERE total > 3 AND silver > 6
Which Year(s) won has a To par smaller than 12, and a Player of john daly?
CREATE TABLE table_name_50 (year_s__won VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT year_s__won FROM table_name_50 WHERE to_par < 12 AND player = "john daly"
Which Venue has a Competition of venice marathon?
CREATE TABLE table_name_98 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_98 WHERE competition = "venice marathon"
What actor has onderweg naar morgen, as the soap opera, with aafke couwenberg as the character?
CREATE TABLE table_name_47 (actor VARCHAR, soap_opera VARCHAR, character VARCHAR)
SELECT actor FROM table_name_47 WHERE soap_opera = "onderweg naar morgen" AND character = "aafke couwenberg"
Which Song has Points smaller than 54, and a Draw smaller than 4, and a Place smaller than 10?
CREATE TABLE table_name_90 (song VARCHAR, place VARCHAR, points VARCHAR, draw VARCHAR)
SELECT song FROM table_name_90 WHERE points < 54 AND draw < 4 AND place < 10
What is the maximum enrollment of the Sooners?
CREATE TABLE table_20190834_1 (enrollment INTEGER, team_name VARCHAR)
SELECT MAX(enrollment) FROM table_20190834_1 WHERE team_name = "Sooners"
Show the property type descriptions of properties belonging to that code.
CREATE TABLE Properties (property_type_code VARCHAR); CREATE TABLE Ref_Property_Types (property_type_description VARCHAR, property_type_code VARCHAR)
SELECT T2.property_type_description FROM Properties AS T1 JOIN Ref_Property_Types AS T2 ON T1.property_type_code = T2.property_type_code GROUP BY T1.property_type_code
What is the swimsuit number when the preliminary is 8.721, and the average is more than 8.781?
CREATE TABLE table_name_98 (swimsuit VARCHAR, preliminary VARCHAR, average VARCHAR)
SELECT COUNT(swimsuit) FROM table_name_98 WHERE preliminary = 8.721 AND average > 8.781
Which Date has an Attendance of 30,612?
CREATE TABLE table_name_63 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_63 WHERE attendance = "30,612"
Name the position for van den brink, bas
CREATE TABLE table_21220720_1 (position VARCHAR, name VARCHAR)
SELECT position FROM table_21220720_1 WHERE name = "van den Brink, Bas"
What citation is shown for the employed years of 1970–1996?
CREATE TABLE table_name_6 (citation VARCHAR, employed VARCHAR)
SELECT citation FROM table_name_6 WHERE employed = "1970–1996"
What is the Season that has a Venue of bellerive oval , hobart, and a Rank of 4?
CREATE TABLE table_name_97 (season VARCHAR, venue VARCHAR, rank VARCHAR)
SELECT season FROM table_name_97 WHERE venue = "bellerive oval , hobart" AND rank = "4"
How many Assets (billion $) has an Industry of oil and gas, and a Rank of 9, and a Market Value (billion $) larger than 121.7?
CREATE TABLE table_name_8 (assets__billion_ INTEGER, market_value__billion_$_ VARCHAR, industry VARCHAR, rank VARCHAR)
SELECT SUM(assets__billion_) AS $_ FROM table_name_8 WHERE industry = "oil and gas" AND rank = 9 AND market_value__billion_$_ > 121.7
Which season has a .354 Win%?
CREATE TABLE table_name_6 (season VARCHAR, win_percentage VARCHAR)
SELECT season FROM table_name_6 WHERE win_percentage = ".354"
What is the stadium of the san diego chargers?
CREATE TABLE table_name_99 (stadium VARCHAR, team VARCHAR)
SELECT stadium FROM table_name_99 WHERE team = "san diego chargers"
When 1 is the number in series who is the director?
CREATE TABLE table_18335117_3 (director VARCHAR, no_in_series VARCHAR)
SELECT director FROM table_18335117_3 WHERE no_in_series = 1
Find the names of all procedures such that the cost is less than 5000 and physician John Wen was trained in.
CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (name VARCHAR, cost INTEGER); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR); CREATE TABLE procedures (name VARCHAR, code VARCHAR)
SELECT name FROM procedures WHERE cost < 5000 INTERSECT SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = "John Wen"
What's the number & name for a description of lms fowler class 3f 0-6-0t?
CREATE TABLE table_name_10 (number_ VARCHAR, _name VARCHAR, description VARCHAR)
SELECT number_ & _name FROM table_name_10 WHERE description = "lms fowler class 3f 0-6-0t"
What call sign is licensed in soledad, california?
CREATE TABLE table_name_65 (call_sign VARCHAR, city_of_license VARCHAR)
SELECT call_sign FROM table_name_65 WHERE city_of_license = "soledad, california"
On what day was the race that Cale Yarborough won in 364 laps?
CREATE TABLE table_22298383_1 (day VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT day FROM table_22298383_1 WHERE laps = "364" AND driver = "Cale Yarborough"
What is the City or Town of the monument with a Longitude of 89°11′w?
CREATE TABLE table_name_71 (city_or_town VARCHAR, longitude VARCHAR)
SELECT city_or_town FROM table_name_71 WHERE longitude = "89°11′w"
What is the name of the tallest building?
CREATE TABLE building (name VARCHAR, height_feet VARCHAR)
SELECT name FROM building ORDER BY height_feet DESC LIMIT 1
List the position of players with average number of points scored by players of that position bigger than 20.
CREATE TABLE player (POSITION VARCHAR, name VARCHAR, Points INTEGER)
SELECT POSITION FROM player GROUP BY name HAVING AVG(Points) >= 20
When 27585 is the attendance what are the results of the games?
CREATE TABLE table_21436373_7 (result_games VARCHAR, attendance VARCHAR)
SELECT result_games FROM table_21436373_7 WHERE attendance = 27585
What was the grid number of the team and driver with 14 points?
CREATE TABLE table_name_9 (grid VARCHAR, points VARCHAR)
SELECT grid FROM table_name_9 WHERE points = "14"
When the other is n/a and the psc-pc is 30% what is the date?
CREATE TABLE table_name_52 (date VARCHAR, others VARCHAR, psd___pc VARCHAR)
SELECT date FROM table_name_52 WHERE others = "n/a" AND psd___pc = "30%"
What is the greatest total when the last was September 1970?
CREATE TABLE table_name_87 (total INTEGER, last VARCHAR)
SELECT MAX(total) FROM table_name_87 WHERE last = "september 1970"
what is the person there the numbers is 2343
CREATE TABLE table_28498999_6 (player VARCHAR, points VARCHAR)
SELECT player FROM table_28498999_6 WHERE points = 2343
What is highest place reached by artist Ray Adams?
CREATE TABLE table_13805773_2 (position INTEGER, artist VARCHAR)
SELECT MAX(position) FROM table_13805773_2 WHERE artist = "Ray Adams"
Which away team has a tie number of 14?
CREATE TABLE table_name_62 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_62 WHERE tie_no = "14"
Who is the shirt sponsor for the manufacturer Nike?
CREATE TABLE table_name_54 (shirt_sponsor VARCHAR, kit_manufacturer VARCHAR)
SELECT shirt_sponsor FROM table_name_54 WHERE kit_manufacturer = "nike"
What is the engine configuration $notes 0-100km/h for the engine type b5244 t2?
CREATE TABLE table_1147705_1 (engine_configuration_ VARCHAR, _notes_0_100km_h VARCHAR, engine_type VARCHAR)
SELECT engine_configuration_ & _notes_0_100km_h FROM table_1147705_1 WHERE engine_type = "B5244 T2"
The canadian airdate of 11 february 2008 applied to what series number?
CREATE TABLE table_10935205_1 (no_in_series VARCHAR, canadian_airdate VARCHAR)
SELECT COUNT(no_in_series) FROM table_10935205_1 WHERE canadian_airdate = "11 February 2008"
Show all game names played by Linda Smith
CREATE TABLE Student (Stuid VARCHAR, Lname VARCHAR, Fname VARCHAR); CREATE TABLE Plays_games (gameid VARCHAR, Stuid VARCHAR); CREATE TABLE Video_games (gameid VARCHAR)
SELECT Gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid = T2.gameid JOIN Student AS T3 ON T3.Stuid = T1.Stuid WHERE T3.Lname = "Smith" AND T3.Fname = "Linda"
What is the record at 3:00?
CREATE TABLE table_name_71 (record VARCHAR, time VARCHAR)
SELECT record FROM table_name_71 WHERE time = "3:00"
What was the location of the accident that led to 50/50 fatalities?
CREATE TABLE table_name_84 (location VARCHAR, fatalities VARCHAR)
SELECT location FROM table_name_84 WHERE fatalities = "50/50"
Which Year completed has a Dam type of earthfill embankment, and a Dam constructed of khancoban dam?
CREATE TABLE table_name_25 (year_completed INTEGER, dam_type VARCHAR, dam_constructed VARCHAR)
SELECT MAX(year_completed) FROM table_name_25 WHERE dam_type = "earthfill embankment" AND dam_constructed = "khancoban dam"