training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_2725949_6 (podiums VARCHAR, starts VARCHAR) ###human: name the podiums for start of 22 ###assistant: SELECT podiums FROM table_2725949_6 WHERE starts = 22
###context:CREATE TABLE table_2725949_6 (poles VARCHAR, fastest_laps VARCHAR) ###human: Name the number of poles for fastest laps being 6 ###assistant: SELECT COUNT(poles) FROM table_2725949_6 WHERE fastest_laps = 6
###context:CREATE TABLE table_2725949_6 (podiums INTEGER, season VARCHAR) ###human: Name the least podiums for 2009 ###assistant: SELECT MIN(podiums) FROM table_2725949_6 WHERE season = 2009
###context:CREATE TABLE table_2725949_6 (starts VARCHAR, season VARCHAR) ###human: Name the starts for 2009 ###assistant: SELECT starts FROM table_2725949_6 WHERE season = 2009
###context:CREATE TABLE table_2725949_6 (starts INTEGER, wins VARCHAR) ###human: Name the most starts for 6 wins ###assistant: SELECT MAX(starts) FROM table_2725949_6 WHERE wins = 6
###context:CREATE TABLE table_27268238_5 (matches VARCHAR, wickets VARCHAR) ###human: How many matches were wickets 16? ###assistant: SELECT COUNT(matches) FROM table_27268238_5 WHERE wickets = 16
###context:CREATE TABLE table_27268238_5 (wickets INTEGER) ###human: What is the lowest wickets? ###assistant: SELECT MIN(wickets) FROM table_27268238_5
###context:CREATE TABLE table_27268238_5 (economy VARCHAR) ###human: What is the 4wi when the economy is 7.82? ###assistant: SELECT 4 AS wi FROM table_27268238_5 WHERE economy = "7.82"
###context:CREATE TABLE table_27268238_5 (player VARCHAR, bbi VARCHAR) ###human: Who is the player when the bbi is 5/27? ###assistant: SELECT player FROM table_27268238_5 WHERE bbi = "5/27"
###context:CREATE TABLE table_27268238_5 (team VARCHAR, economy VARCHAR) ###human: What is the team when the economy is 5.73? ###assistant: SELECT team FROM table_27268238_5 WHERE economy = "5.73"
###context:CREATE TABLE table_27274222_2 (valid_votes VARCHAR, province VARCHAR) ###human: When Denizli was the province, what was the total number of valid votes? ###assistant: SELECT COUNT(valid_votes) FROM table_27274222_2 WHERE province = "Denizli"
###context:CREATE TABLE table_27274222_2 (province VARCHAR, turnout___percentage_ VARCHAR) ###human: What province had a turnout of 54.09%? ###assistant: SELECT province FROM table_27274222_2 WHERE turnout___percentage_ = "54.09"
###context:CREATE TABLE table_27277284_28 (model_number VARCHAR, order_part_number VARCHAR) ###human: What is the model number for the order part numbered tmrm75dam22gg? ###assistant: SELECT model_number FROM table_27277284_28 WHERE order_part_number = "TMRM75DAM22GG"
###context:CREATE TABLE table_27277284_28 (order_part_number VARCHAR, mult_1 VARCHAR) ###human: What is the oder part number for the model with 10x mult. 1? ###assistant: SELECT order_part_number FROM table_27277284_28 WHERE mult_1 = "10x"
###context:CREATE TABLE table_27277284_28 (ht VARCHAR, mult_1 VARCHAR) ###human: How much ht does the model with 10x mult. 1 have? ###assistant: SELECT ht FROM table_27277284_28 WHERE mult_1 = "10x"
###context:CREATE TABLE table_27277284_28 (ht VARCHAR, release_date VARCHAR) ###human: What's the ht for the model released on June 4, 2008? ###assistant: SELECT ht FROM table_27277284_28 WHERE release_date = "June 4, 2008"
###context:CREATE TABLE table_27279050_1 (poles VARCHAR, points VARCHAR, nation VARCHAR) ###human: How many pole position achieved 0 points from Mexico? ###assistant: SELECT COUNT(poles) FROM table_27279050_1 WHERE points = "0" AND nation = "Mexico"
###context:CREATE TABLE table_27277284_8 (v_core VARCHAR, mult_1 VARCHAR) ###human: Name the vcore for multi 11x ###assistant: SELECT v_core FROM table_27277284_8 WHERE mult_1 = "11x"
###context:CREATE TABLE table_27277284_8 (v_core VARCHAR, model_number VARCHAR) ###human: Name the number of v core for model number mobile athlon 64 3000+ ###assistant: SELECT COUNT(v_core) FROM table_27277284_8 WHERE model_number = "Mobile Athlon 64 3000+"
###context:CREATE TABLE table_27293285_4 (points_for VARCHAR) ###human: Name the total number of points for for played ###assistant: SELECT COUNT(points_for) FROM table_27293285_4 WHERE "played" = "played"
###context:CREATE TABLE table_27293285_4 (points VARCHAR, tries_for VARCHAR) ###human: Name the total number of points for 46 tries for ###assistant: SELECT COUNT(points) FROM table_27293285_4 WHERE tries_for = "46"
###context:CREATE TABLE table_27293285_4 (club VARCHAR, lost VARCHAR) ###human: Name the total number of club for lost being 16 ###assistant: SELECT COUNT(club) FROM table_27293285_4 WHERE lost = "16"
###context:CREATE TABLE table_27293285_4 (drawn VARCHAR, lost VARCHAR, tries_for VARCHAR) ###human: Name the drawn for lost being 5 and tries for 89 ###assistant: SELECT drawn FROM table_27293285_4 WHERE lost = "5" AND tries_for = "89"
###context:CREATE TABLE table_27293285_4 (won VARCHAR, points_against VARCHAR, played VARCHAR, lost VARCHAR) ###human: Name the won for played being 22 and points against 511 and lost being 15 ###assistant: SELECT won FROM table_27293285_4 WHERE played = "22" AND lost = "15" AND points_against = "511"
###context:CREATE TABLE table_27298240_26 (aorist VARCHAR, present VARCHAR) ###human: What aorist has bude in present tense? ###assistant: SELECT aorist FROM table_27298240_26 WHERE present = "bude"
###context:CREATE TABLE table_27298240_26 (aorist VARCHAR, imperfect VARCHAR) ###human: Which aorist has imperfect form of bijasmo / bejasmo / besmo? ###assistant: SELECT aorist FROM table_27298240_26 WHERE imperfect = "bijasmo / bejasmo / besmo"
###context:CREATE TABLE table_27298240_26 (pluperfect VARCHAR, perfect VARCHAR) ###human: What is the pluperfect for the perfect si bio/la; bio/la si? ###assistant: SELECT pluperfect FROM table_27298240_26 WHERE perfect = "si bio/la; bio/la si"
###context:CREATE TABLE table_27294107_11 (event VARCHAR, round_of_32 VARCHAR) ###human: What was the event when suárez ( tri ) w 16–6 was round of 32? ###assistant: SELECT event FROM table_27294107_11 WHERE round_of_32 = "Suárez ( TRI ) W 16–6"
###context:CREATE TABLE table_27294107_11 (semifinals VARCHAR, event VARCHAR) ###human: What is the semifinals for the light flyweight event? ###assistant: SELECT semifinals FROM table_27294107_11 WHERE event = "Light flyweight"
###context:CREATE TABLE table_27294107_11 (semifinals VARCHAR, athlete VARCHAR) ###human: How many semifinals did ferhat pehlivan attend? ###assistant: SELECT COUNT(semifinals) FROM table_27294107_11 WHERE athlete = "Ferhat Pehlivan"
###context:CREATE TABLE table_27294107_11 (round_of_32 VARCHAR, round_of_16 VARCHAR) ###human: What is the round of 32 if the round of 16 is drenovak ( srb ) w 20–11? ###assistant: SELECT round_of_32 FROM table_27294107_11 WHERE round_of_16 = "Drenovak ( SRB ) W 20–11"
###context:CREATE TABLE table_27294107_11 (round_of_32 VARCHAR, athlete VARCHAR) ###human: When yakup şener is the athlete what is the round of 32? ###assistant: SELECT round_of_32 FROM table_27294107_11 WHERE athlete = "Yakup Şener"
###context:CREATE TABLE table_27294107_11 (round_of_32 VARCHAR, athlete VARCHAR) ###human: What is the round of 32 for fatih keleş? ###assistant: SELECT round_of_32 FROM table_27294107_11 WHERE athlete = "Fatih Keleş"
###context:CREATE TABLE table_27298240_28 (present VARCHAR) ###human: What is in 1st place when present is mogu? ###assistant: SELECT 1 AS st FROM table_27298240_28 WHERE present = "mogu"
###context:CREATE TABLE table_27298240_28 (pronoun VARCHAR) ###human: what is 2nd when the pronoun is vi (you pl.)? ###assistant: SELECT 2 AS nd FROM table_27298240_28 WHERE pronoun = "vi (you pl.)"
###context:CREATE TABLE table (r VARCHAR, total VARCHAR, position VARCHAR) ###human: What is the R when the total is 1 and the position is fw? ###assistant: SELECT r FROM table WHERE total = 1 AND position = "FW"
###context:CREATE TABLE table (league_cup INTEGER) ###human: What is the lowest league cup? ###assistant: SELECT MIN(league_cup) FROM table
###context:CREATE TABLE table (position VARCHAR, player VARCHAR, Becchio VARCHAR) ###human: What is the position for the player becchio? ###assistant: SELECT position FROM table WHERE player = Becchio
###context:CREATE TABLE table (league_cup VARCHAR, r VARCHAR) ###human: How many times was the r 4? ###assistant: SELECT COUNT(league_cup) FROM table WHERE r = 4
###context:CREATE TABLE table_2731431_1 (parent VARCHAR, peak VARCHAR) ###human: What is the parent for peak cima tosa? ###assistant: SELECT parent FROM table_2731431_1 WHERE peak = "Cima Tosa"
###context:CREATE TABLE table_2731431_1 (elevation__m_ INTEGER, location VARCHAR, peak VARCHAR) ###human: What is the elevation for the peak wildspitze in Austria? ###assistant: SELECT MIN(elevation__m_) FROM table_2731431_1 WHERE location = "Austria" AND peak = "Wildspitze"
###context:CREATE TABLE table_2731431_1 (elevation__m_ INTEGER, no VARCHAR) ###human: What is the elevation for number 39? ###assistant: SELECT MAX(elevation__m_) FROM table_2731431_1 WHERE no = 39
###context:CREATE TABLE table_2731431_1 (col_location VARCHAR, location VARCHAR) ###human: What is the col location for the location of france / italy? ###assistant: SELECT col_location FROM table_2731431_1 WHERE location = "France / Italy"
###context:CREATE TABLE table_2731431_1 (col_location VARCHAR, col_height__m_ VARCHAR) ###human: What is the col location with a col height (m) of 1107? ###assistant: SELECT col_location FROM table_2731431_1 WHERE col_height__m_ = 1107
###context:CREATE TABLE table_2731431_1 (location VARCHAR, elevation__m_ VARCHAR) ###human: Which location has an elevation of 3798? ###assistant: SELECT location FROM table_2731431_1 WHERE elevation__m_ = 3798
###context:CREATE TABLE table_27303975_3 (title VARCHAR, catalog_number VARCHAR) ###human: What is the title when the catalog number is cal01 / 0091037137319? ###assistant: SELECT title FROM table_27303975_3 WHERE catalog_number = "CAL01 / 0091037137319"
###context:CREATE TABLE table_27303975_3 (studio VARCHAR, title VARCHAR) ###human: How many times is the title am/pm callanetics? ###assistant: SELECT COUNT(studio) FROM table_27303975_3 WHERE title = "AM/PM Callanetics"
###context:CREATE TABLE table_27303975_3 (title VARCHAR, catalog_number VARCHAR) ###human: How many times was the catalog number cal04 / 0091037553546? ###assistant: SELECT COUNT(title) FROM table_27303975_3 WHERE catalog_number = "CAL04 / 0091037553546"
###context:CREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR) ###human: how many times was the catalog number cal04 / 0091037553546? ###assistant: SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = "CAL04 / 0091037553546"
###context:CREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR) ###human: how many times was the catalog number cal01 / 0091037137319? ###assistant: SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = "CAL01 / 0091037137319"
###context:CREATE TABLE table_27303975_3 (title VARCHAR, catalog_number VARCHAR) ###human: how many times was the catalog number cal05 / 0091037137357? ###assistant: SELECT COUNT(title) FROM table_27303975_3 WHERE catalog_number = "CAL05 / 0091037137357"
###context:CREATE TABLE table_27332038_1 (directed_by VARCHAR, written_by VARCHAR) ###human: who directed the episode that elaine ko wrote? ###assistant: SELECT directed_by FROM table_27332038_1 WHERE written_by = "Elaine Ko"
###context:CREATE TABLE table_27332038_1 (original_air_date VARCHAR, production_code VARCHAR) ###human: when was the episode with production code "2arg01" originally aired? ###assistant: SELECT original_air_date FROM table_27332038_1 WHERE production_code = "2ARG01"
###context:CREATE TABLE table_27332038_1 (title VARCHAR, production_code VARCHAR) ###human: what is the title of the episode with production code "2arg09"? ###assistant: SELECT title FROM table_27332038_1 WHERE production_code = "2ARG09"
###context:CREATE TABLE table_27332038_1 (original_air_date VARCHAR, production_code VARCHAR) ###human: when was the episode with production code "2arg24" originally aired? ###assistant: SELECT original_air_date FROM table_27332038_1 WHERE production_code = "2ARG24"
###context:CREATE TABLE table_27319183_7 (episode VARCHAR, share___percentage_ VARCHAR) ###human: What episode had a share percentage of 41.5%? ###assistant: SELECT episode FROM table_27319183_7 WHERE share___percentage_ = "41.5"
###context:CREATE TABLE table_27319183_7 (date VARCHAR, weekly_rank VARCHAR) ###human: What date was the show's weekly ranking 12? ###assistant: SELECT date FROM table_27319183_7 WHERE weekly_rank = 12
###context:CREATE TABLE table_27319183_7 (total_itv_viewers__millions_ VARCHAR, official_itv_rating__millions_ VARCHAR) ###human: How many total itv viewers were there for the episode with official itv ratings of 10.24 million? ###assistant: SELECT total_itv_viewers__millions_ FROM table_27319183_7 WHERE offici...
###context:CREATE TABLE table_27319183_7 (total_itv_viewers__millions_ VARCHAR, official_itv_hd_rating__millions_ VARCHAR) ###human: How many total itv viewers were there for the episode with official itv hd ratings of 1.12 million? ###assistant: SELECT total_itv_viewers__millions_ FROM table_27319183_7 WHERE o...
###context:CREATE TABLE table_27319183_7 (official_itv_rating__millions_ VARCHAR, total_itv_viewers__millions_ VARCHAR) ###human: What were the official itv ratings in millions for the episode with a total of 8.53 million itv viewers ###assistant: SELECT official_itv_rating__millions_ FROM table_27319183_7 WHER...
###context:CREATE TABLE table_27319183_7 (official_itv_rating__millions_ VARCHAR, episode VARCHAR) ###human: What were the official itv ratings in millions for semi-final 5? ###assistant: SELECT official_itv_rating__millions_ FROM table_27319183_7 WHERE episode = "Semi-final 5"
###context:CREATE TABLE table_27374004_2 (club VARCHAR, chairman VARCHAR) ###human: What is the club when the chairman is roger lambrecht? ###assistant: SELECT club FROM table_27374004_2 WHERE chairman = "Roger Lambrecht"
###context:CREATE TABLE table_27374004_2 (team_captain VARCHAR, shirt_sponsor VARCHAR) ###human: What is the team captain when the shirt sponser is quick? ###assistant: SELECT team_captain FROM table_27374004_2 WHERE shirt_sponsor = "Quick"
###context:CREATE TABLE table_27374004_2 (chairman VARCHAR, current_manager VARCHAR) ###human: Who is the chairman when the current manager is bob peeters? ###assistant: SELECT chairman FROM table_27374004_2 WHERE current_manager = "Bob Peeters"
###context:CREATE TABLE table_27374004_2 (club VARCHAR, shirt_sponsor VARCHAR) ###human: What is the club when the shirt sponsor is e-lotto.be? ###assistant: SELECT club FROM table_27374004_2 WHERE shirt_sponsor = "e-lotto.be"
###context:CREATE TABLE table_27374004_2 (team_captain VARCHAR, club VARCHAR) ###human: Who is the team captain when the club is k.f.c. germinal beerschot? ###assistant: SELECT team_captain FROM table_27374004_2 WHERE club = "K.F.C. Germinal Beerschot"
###context:CREATE TABLE table_27369069_4 (varsity_name VARCHAR, university VARCHAR) ###human: What is the varsity name of the university of mcgill university? ###assistant: SELECT varsity_name FROM table_27369069_4 WHERE university = "McGill university"
###context:CREATE TABLE table_27369069_4 (soccer_stadium VARCHAR, varsity_name VARCHAR) ###human: What is the soccer stadium with the varsity name is citadins? ###assistant: SELECT soccer_stadium FROM table_27369069_4 WHERE varsity_name = "Citadins"
###context:CREATE TABLE table_27369069_4 (province VARCHAR, soccer_stadium VARCHAR) ###human: What is the province where the soccer statium is terrain #2 of complexe sportif claude-robillard? ###assistant: SELECT province FROM table_27369069_4 WHERE soccer_stadium = "terrain #2 of Complexe sportif Claude-Robill...
###context:CREATE TABLE table_27369069_4 (province VARCHAR, stadium_capacity VARCHAR) ###human: What is the province for with the stadium capacity of 5100? ###assistant: SELECT province FROM table_27369069_4 WHERE stadium_capacity = 5100
###context:CREATE TABLE table_27369069_4 (university VARCHAR, soccer_stadium VARCHAR) ###human: What is the university where the soccer stadium is terrain #2 of complexe sportif claude-robillard? ###assistant: SELECT university FROM table_27369069_4 WHERE soccer_stadium = "terrain #2 of Complexe sportif Claude-...
###context:CREATE TABLE table_27374004_4 (date_of_appointment VARCHAR, replaced_by VARCHAR) ###human: When was the date of appointment by Hugo Broos? ###assistant: SELECT date_of_appointment FROM table_27374004_4 WHERE replaced_by = "Hugo Broos"
###context:CREATE TABLE table_27374004_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) ###human: How many times did outgoing manager Bart de Roover vacated a position? ###assistant: SELECT COUNT(date_of_vacancy) FROM table_27374004_4 WHERE outgoing_manager = "Bart De Roover"
###context:CREATE TABLE table_27374004_4 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR) ###human: Who was the outgoing manager of the team in 15th position that was sacked? ###assistant: SELECT outgoing_manager FROM table_27374004_4 WHERE manner_of_departure = "Sacked" AND po...
###context:CREATE TABLE table_27374004_4 (position_in_table VARCHAR, outgoing_manager VARCHAR) ###human: What was the team's position in table when Danny OST was the outgoing manager? ###assistant: SELECT position_in_table FROM table_27374004_4 WHERE outgoing_manager = "Danny Ost"
###context:CREATE TABLE table_27374740_2 (_number INTEGER, viewers__m_ VARCHAR) ###human: how many maximum # when viewers (m) is 8.01 ###assistant: SELECT MAX(_number) FROM table_27374740_2 WHERE viewers__m_ = "8.01"
###context:CREATE TABLE table_27374004_3 (outgoing_manager VARCHAR, replaced_by VARCHAR) ###human: How many outgoing managers were replaced by Bob Peeters? ###assistant: SELECT COUNT(outgoing_manager) FROM table_27374004_3 WHERE replaced_by = "Bob Peeters"
###context:CREATE TABLE table_27374004_3 (replaced_by VARCHAR, outgoing_manager VARCHAR) ###human: Who replaced Michel Preud'homme? ###assistant: SELECT replaced_by FROM table_27374004_3 WHERE outgoing_manager = "Michel Preud'homme"
###context:CREATE TABLE table_27374004_3 (manner_of_departure VARCHAR, team VARCHAR) ###human: What was the manner of departure for the manager of Cercle Brugge? ###assistant: SELECT manner_of_departure FROM table_27374004_3 WHERE team = "Cercle Brugge"
###context:CREATE TABLE table_27374004_3 (outgoing_manager VARCHAR, team VARCHAR) ###human: Who was the outgoing manager of Charleroi? ###assistant: SELECT outgoing_manager FROM table_27374004_3 WHERE team = "Charleroi"
###context:CREATE TABLE table_27383390_2 (shirt_sponsor VARCHAR, head_coach VARCHAR) ###human: What sponsor has the head coach Samad Marfavi? ###assistant: SELECT shirt_sponsor FROM table_27383390_2 WHERE head_coach = "Samad Marfavi"
###context:CREATE TABLE table_27383390_2 (team VARCHAR, head_coach VARCHAR) ###human: Which team has Ali Daei as head coach? ###assistant: SELECT team FROM table_27383390_2 WHERE head_coach = "Ali Daei"
###context:CREATE TABLE table_27383390_2 (kit_maker VARCHAR, team VARCHAR) ###human: What is the kit maker for team foolad? ###assistant: SELECT kit_maker FROM table_27383390_2 WHERE team = "Foolad"
###context:CREATE TABLE table_27383390_4 (outgoing_head_coach VARCHAR, incoming_head_coach VARCHAR) ###human: Who is the outgoing head coach when the incoming head coach is abdollah veysi? ###assistant: SELECT outgoing_head_coach FROM table_27383390_4 WHERE incoming_head_coach = "Abdollah Veysi"
###context:CREATE TABLE table_27383390_4 (date_of_appointment VARCHAR, position_in_table VARCHAR) ###human: When is the date of appointment when the position in table is 16? ###assistant: SELECT date_of_appointment FROM table_27383390_4 WHERE position_in_table = 16
###context:CREATE TABLE table_27383390_4 (team VARCHAR, incoming_head_coach VARCHAR) ###human: How many times is the incoming head coach abdollah veysi? ###assistant: SELECT COUNT(team) FROM table_27383390_4 WHERE incoming_head_coach = "Abdollah Veysi"
###context:CREATE TABLE table_27383390_4 (team VARCHAR, date_of_vacancy VARCHAR) ###human: What is the team with the date of vacancy 8 dec 2010? ###assistant: SELECT team FROM table_27383390_4 WHERE date_of_vacancy = "8 Dec 2010"
###context:CREATE TABLE table_27383390_4 (manner_of_departure VARCHAR, incoming_head_coach VARCHAR) ###human: What is the manner of departure when the incoming head coach is mohammad khakpour? ###assistant: SELECT manner_of_departure FROM table_27383390_4 WHERE incoming_head_coach = "Mohammad Khakpour"
###context:CREATE TABLE table_27389024_2 (original_air_date VARCHAR, written_by VARCHAR) ###human: What is the original air date of the episode that was written by Rama Stagner? ###assistant: SELECT original_air_date FROM table_27389024_2 WHERE written_by = "Rama Stagner"
###context:CREATE TABLE table_27396005_2 (pos INTEGER, car VARCHAR) ###human: For the #19 car, what was their finish position? ###assistant: SELECT MAX(pos) FROM table_27396005_2 WHERE car = 19
###context:CREATE TABLE table_27396005_2 (constructor VARCHAR, grid VARCHAR) ###human: How many constructors had a grid of 13? ###assistant: SELECT COUNT(constructor) FROM table_27396005_2 WHERE grid = 13
###context:CREATE TABLE table_27396005_2 (pos INTEGER, constructor VARCHAR, driver VARCHAR) ###human: What was the maximum finish position of the car whose constructor was Joe Gibbs Racing, driven by Denny Hamlin? ###assistant: SELECT MAX(pos) FROM table_27396005_2 WHERE constructor = "Joe Gibbs Racing" AND dri...
###context:CREATE TABLE table_27397948_2 (title VARCHAR, no_in_series VARCHAR) ###human: List all titles with a 57 series number. ###assistant: SELECT title FROM table_27397948_2 WHERE no_in_series = 57
###context:CREATE TABLE table_27397948_2 (no_in_season INTEGER, no_in_series VARCHAR) ###human: What's the highest season number with a series number of 47? ###assistant: SELECT MAX(no_in_season) FROM table_27397948_2 WHERE no_in_series = 47
###context:CREATE TABLE table_27397948_2 (written_by VARCHAR, no_in_season VARCHAR) ###human: Who was the writer for season episode 7? ###assistant: SELECT written_by FROM table_27397948_2 WHERE no_in_season = 7
###context:CREATE TABLE table_27401228_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) ###human: Name who directed when the viewers is 5.86 ###assistant: SELECT directed_by FROM table_27401228_1 WHERE us_viewers__million_ = "5.86"
###context:CREATE TABLE table_27409644_1 (location VARCHAR, club VARCHAR) ###human: Where is lootos põlva from? ###assistant: SELECT location FROM table_27409644_1 WHERE club = "Lootos Põlva"
###context:CREATE TABLE table_27409644_1 (manager VARCHAR, club VARCHAR) ###human: Who is the manager for lootos põlva? ###assistant: SELECT manager FROM table_27409644_1 WHERE club = "Lootos Põlva"
###context:CREATE TABLE table_27409644_1 (location VARCHAR, ground VARCHAR) ###human: Where is lootospark from? ###assistant: SELECT location FROM table_27409644_1 WHERE ground = "Lootospark"
###context:CREATE TABLE table_27409644_1 (manager VARCHAR, club VARCHAR) ###human: Who is the pärnu manager? ###assistant: SELECT manager FROM table_27409644_1 WHERE club = "Pärnu"