training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_44 (first_season_of_current_spell_in_segunda_división INTEGER, city VARCHAR) ###human: What is the total of the first season in Segunda División that has a City of cañete? ###assistant: SELECT SUM(first_season_of_current_spell_in_segunda_división) FROM table_name_44 WHERE city = "cañete"
###context:CREATE TABLE table_name_69 (team VARCHAR, stadium VARCHAR, top_division_titles VARCHAR, founded VARCHAR) ###human: Which team has Top division titles larger than 0, a Founded larger than 1927, and a Stadium of miguel grau? ###assistant: SELECT team FROM table_name_69 WHERE top_division_titles > 0 AND founded > 1927 AND stadium = "miguel grau"
###context:CREATE TABLE table_name_69 (city VARCHAR, first_season_of_current_spell_in_segunda_división INTEGER) ###human: Which city has a First season of current spell in Segunda División smaller than 2013? ###assistant: SELECT city FROM table_name_69 WHERE first_season_of_current_spell_in_segunda_división < 2013
###context:CREATE TABLE table_name_11 (capacity INTEGER, first_season_in_segunda_división VARCHAR, top_division_titles VARCHAR) ###human: What is the smallest capacity for a First season in Segunda División of 2013, and Top division titles larger than 0? ###assistant: SELECT MIN(capacity) FROM table_name_11 WHERE first_season_in_segunda_división = 2013 AND top_division_titles > 0
###context:CREATE TABLE table_name_99 (enrollment VARCHAR, institution VARCHAR, capacity VARCHAR) ###human: What's the total enrollment ofr Mcgill University that has a capacity less than 25,012? ###assistant: SELECT COUNT(enrollment) FROM table_name_99 WHERE institution = "mcgill university" AND capacity < 25 OFFSET 012
###context:CREATE TABLE table_name_8 (first_season INTEGER, city VARCHAR, capacity VARCHAR) ###human: What's the smallest season for Montreal that's greater than 5,100 for capacity? ###assistant: SELECT MIN(first_season) FROM table_name_8 WHERE city = "montreal" AND capacity > 5 OFFSET 100
###context:CREATE TABLE table_name_32 (city VARCHAR, first_season VARCHAR) ###human: What's the name of the city whose first season was in 1996? ###assistant: SELECT city FROM table_name_32 WHERE first_season = 1996
###context:CREATE TABLE table_name_55 (football_stadium VARCHAR, team VARCHAR) ###human: What's the name of the carabins stadium? ###assistant: SELECT football_stadium FROM table_name_55 WHERE team = "carabins"
###context:CREATE TABLE table_name_9 (best VARCHAR, qual_2 VARCHAR) ###human: what team has the qual 2 of 1:44.050? ###assistant: SELECT best FROM table_name_9 WHERE qual_2 = "1:44.050"
###context:CREATE TABLE table_name_87 (name VARCHAR, team VARCHAR, qual_2 VARCHAR) ###human: what name goes along with the team of forsythe racing, and a Qual 2 of 1:47.132? ###assistant: SELECT name FROM table_name_87 WHERE team = "forsythe racing" AND qual_2 = "1:47.132"
###context:CREATE TABLE table_name_82 (team VARCHAR, qual_2 VARCHAR) ###human: what team had the 1:44.027 qual 2? ###assistant: SELECT team FROM table_name_82 WHERE qual_2 = "1:44.027"
###context:CREATE TABLE table_name_25 (qual_1 VARCHAR, name VARCHAR) ###human: what is the qual 1 for alex tagliani? ###assistant: SELECT qual_1 FROM table_name_25 WHERE name = "alex tagliani"
###context:CREATE TABLE table_name_75 (team VARCHAR, best VARCHAR) ###human: what is the team with the best of 1:43.134? ###assistant: SELECT team FROM table_name_75 WHERE best = "1:43.134"
###context:CREATE TABLE table_name_99 (visiting_team VARCHAR, stadium VARCHAR) ###human: Who was the visiting team at the matchup at the RCA Dome? ###assistant: SELECT visiting_team FROM table_name_99 WHERE stadium = "rca dome"
###context:CREATE TABLE table_name_11 (final_score VARCHAR, host_team VARCHAR) ###human: What was the final score in the game in which the Detroit Lions were the home team? ###assistant: SELECT final_score FROM table_name_11 WHERE host_team = "detroit lions"
###context:CREATE TABLE table_name_11 (stadium VARCHAR, date VARCHAR) ###human: Which stadium hosted the November 20 game? ###assistant: SELECT stadium FROM table_name_11 WHERE date = "november 20"
###context:CREATE TABLE table_name_13 (visiting_team VARCHAR, host_team VARCHAR) ###human: Who was the visiting team against the Minnesota Vikings? ###assistant: SELECT visiting_team FROM table_name_13 WHERE host_team = "minnesota vikings"
###context:CREATE TABLE table_name_22 (host_team VARCHAR, stadium VARCHAR) ###human: Who was the host team at Candlestick Park? ###assistant: SELECT host_team FROM table_name_22 WHERE stadium = "candlestick park"
###context:CREATE TABLE table_name_58 (date VARCHAR, final_score VARCHAR) ###human: Which date had a final score of 20-27? ###assistant: SELECT date FROM table_name_58 WHERE final_score = "20-27"
###context:CREATE TABLE table_name_66 (year VARCHAR, position VARCHAR) ###human: How many years have had the position of 2nd? ###assistant: SELECT COUNT(year) FROM table_name_66 WHERE position = "2nd"
###context:CREATE TABLE table_name_29 (position VARCHAR, notes VARCHAR, year VARCHAR) ###human: What position had notes of 20km and a year earlier than 2002? ###assistant: SELECT position FROM table_name_29 WHERE notes = "20km" AND year < 2002
###context:CREATE TABLE table_name_26 (venue VARCHAR, year VARCHAR, position VARCHAR) ###human: What was the venue before 2006, with the position of 10th? ###assistant: SELECT venue FROM table_name_26 WHERE year < 2006 AND position = "10th"
###context:CREATE TABLE table_name_62 (notes VARCHAR, venue VARCHAR) ###human: What were the notes when the Venue was Turin, Italy? ###assistant: SELECT notes FROM table_name_62 WHERE venue = "turin, italy"
###context:CREATE TABLE table_name_21 (secondary_military_speciality VARCHAR, real_name VARCHAR) ###human: What is Gareth Morgan's Secondary Military Specialty? ###assistant: SELECT secondary_military_speciality FROM table_name_21 WHERE real_name = "gareth morgan"
###context:CREATE TABLE table_name_81 (code_name VARCHAR, birthplace VARCHAR) ###human: What is the Code Name of the figure born in Hawaii? ###assistant: SELECT code_name FROM table_name_81 WHERE birthplace = "hawaii"
###context:CREATE TABLE table_name_9 (last_title VARCHAR, area_province VARCHAR, first_season VARCHAR) ###human: Name the last title for greater buenos aires and first season of 1920 ###assistant: SELECT last_title FROM table_name_9 WHERE area_province = "greater buenos aires" AND first_season = "1920"
###context:CREATE TABLE table_name_64 (area_province VARCHAR, district VARCHAR) ###human: Name the area for District of córdoba ###assistant: SELECT area_province FROM table_name_64 WHERE district = "córdoba"
###context:CREATE TABLE table_name_36 (last_title VARCHAR, club VARCHAR) ###human: Name the last title for club of quilmes ###assistant: SELECT last_title FROM table_name_36 WHERE club = "quilmes"
###context:CREATE TABLE table_name_11 (last_title VARCHAR, club VARCHAR) ###human: Name the last time for club of newell's old boys ###assistant: SELECT last_title FROM table_name_11 WHERE club = "newell's old boys"
###context:CREATE TABLE table_name_64 (scored INTEGER, competition VARCHAR, date VARCHAR) ###human: Name the averag scored for 2011 long teng cup and 2 october 2011 ###assistant: SELECT AVG(scored) FROM table_name_64 WHERE competition = "2011 long teng cup" AND date = "2 october 2011"
###context:CREATE TABLE table_name_63 (barrel_twist VARCHAR, barrel_length VARCHAR) ###human: Can you tell me the Barrel twist that has the Barrel lenght of 11.5 in.? ###assistant: SELECT barrel_twist FROM table_name_63 WHERE barrel_length = "11.5 in."
###context:CREATE TABLE table_name_27 (year INTEGER, inglewood INTEGER) ###human: What is the average year that had a value less than 2,575 in Inglewood? ###assistant: SELECT AVG(year) FROM table_name_27 WHERE inglewood < 2 OFFSET 575
###context:CREATE TABLE table_name_62 (nature_of_incident VARCHAR, location VARCHAR, date VARCHAR) ###human: What is the nature of the incident in Kabul on 2004-01-28? ###assistant: SELECT nature_of_incident FROM table_name_62 WHERE location = "kabul" AND date = "2004-01-28"
###context:CREATE TABLE table_name_69 (nature_of_incident VARCHAR, circumstances VARCHAR) ###human: What is the nature of the incident that's a bomb attack? ###assistant: SELECT nature_of_incident FROM table_name_69 WHERE circumstances = "bomb attack"
###context:CREATE TABLE table_name_93 (nature_of_incident VARCHAR, casualties VARCHAR, circumstances VARCHAR) ###human: What is the nature of the incident with Casualties of 3 wia, and Circumstances of ied? ###assistant: SELECT nature_of_incident FROM table_name_93 WHERE casualties = "3 wia" AND circumstances = "ied"
###context:CREATE TABLE table_name_24 (casualties VARCHAR, location VARCHAR, circumstances VARCHAR) ###human: Which Casualties have a Location of kunduz, and Circumstances of suicide? ###assistant: SELECT casualties FROM table_name_24 WHERE location = "kunduz" AND circumstances = "suicide"
###context:CREATE TABLE table_name_67 (casualties VARCHAR, nature_of_incident VARCHAR, circumstances VARCHAR) ###human: Which Casualties have a hostile Nature of incident and Circumstances of mortar attack? ###assistant: SELECT casualties FROM table_name_67 WHERE nature_of_incident = "hostile" AND circumstances = "mortar attack"
###context:CREATE TABLE table_name_36 (born_in VARCHAR, former_experience VARCHAR) ###human: When was the delegate who has previous experience as a commissioner of health born? ###assistant: SELECT born_in FROM table_name_36 WHERE former_experience = "commissioner of health"
###context:CREATE TABLE table_name_85 (airport VARCHAR, city VARCHAR) ###human: What is the name of the airport in the city of Kota Kinabalu? ###assistant: SELECT airport FROM table_name_85 WHERE city = "kota kinabalu"
###context:CREATE TABLE table_name_23 (iata VARCHAR, city VARCHAR) ###human: What is the IATA for the city of Amsterdam? ###assistant: SELECT iata FROM table_name_23 WHERE city = "amsterdam"
###context:CREATE TABLE table_name_3 (country VARCHAR, iata VARCHAR) ###human: Which country has an IATA of JFK? ###assistant: SELECT country FROM table_name_3 WHERE iata = "jfk"
###context:CREATE TABLE table_name_42 (city VARCHAR, iata VARCHAR) ###human: Which city has an IATA of AUH? ###assistant: SELECT city FROM table_name_42 WHERE iata = "auh"
###context:CREATE TABLE table_name_39 (airport VARCHAR, iata VARCHAR) ###human: Which airport has an IATA of AMS? ###assistant: SELECT airport FROM table_name_39 WHERE iata = "ams"
###context:CREATE TABLE table_name_59 (city VARCHAR, icao VARCHAR) ###human: Which city has an ICAO of Kiah? ###assistant: SELECT city FROM table_name_59 WHERE icao = "kiah"
###context:CREATE TABLE table_name_88 (genre VARCHAR, directed_by VARCHAR) ###human: What Genre did Sándor Simó direct? ###assistant: SELECT genre FROM table_name_88 WHERE directed_by = "sándor simó"
###context:CREATE TABLE table_name_12 (genre VARCHAR, original_title VARCHAR) ###human: What is the Genre for Malina (ger.-aus.-fr.), an Original Title? ###assistant: SELECT genre FROM table_name_12 WHERE original_title = "malina (ger.-aus.-fr.)"
###context:CREATE TABLE table_name_91 (original_title VARCHAR, title_in_english VARCHAR) ###human: The Last Metro refers to which Original Title? ###assistant: SELECT original_title FROM table_name_91 WHERE title_in_english = "the last metro"
###context:CREATE TABLE table_name_48 (genre VARCHAR, role VARCHAR, original_title VARCHAR) ###human: What original title, Franciska Vasárnapjai (hungarian), had an Episode Actor role which was Directed by Géza Bereményi? ###assistant: SELECT genre FROM table_name_48 WHERE role = "episode actor" AND original_title = "franciska vasárnapjai (hungarian)"
###context:CREATE TABLE table_name_59 (original_title VARCHAR, role VARCHAR, directed_by VARCHAR) ###human: What is the Original title for an Episode Actor role which was Directed by Géza Bereményi? ###assistant: SELECT original_title FROM table_name_59 WHERE role = "episode actor" AND directed_by = "géza bereményi"
###context:CREATE TABLE table_name_13 (round INTEGER, name VARCHAR) ###human: What is the round for bob randall? ###assistant: SELECT AVG(round) FROM table_name_13 WHERE name = "bob randall"
###context:CREATE TABLE table_name_96 (position VARCHAR, name VARCHAR, signed VARCHAR, round VARCHAR) ###human: what is the position when signed is yes, round is less than 24 and name is charlie hough? ###assistant: SELECT position FROM table_name_96 WHERE signed = "yes" AND round < 24 AND name = "charlie hough"
###context:CREATE TABLE table_name_26 (school VARCHAR, signed VARCHAR, round VARCHAR) ###human: what is the school when signed is no and round is 50? ###assistant: SELECT school FROM table_name_26 WHERE signed = "no" AND round = 50
###context:CREATE TABLE table_name_68 (school VARCHAR, round VARCHAR) ###human: what is the school for round 8? ###assistant: SELECT school FROM table_name_68 WHERE round = 8
###context:CREATE TABLE table_name_25 (position VARCHAR, name VARCHAR) ###human: what is the position for robert johnson? ###assistant: SELECT position FROM table_name_25 WHERE name = "robert johnson"
###context:CREATE TABLE table_name_48 (signed VARCHAR, position VARCHAR, school VARCHAR) ###human: Was position ss from carson city high school signed? ###assistant: SELECT signed FROM table_name_48 WHERE position = "ss" AND school = "carson city high school"
###context:CREATE TABLE table_name_46 (yards INTEGER, starts INTEGER) ###human: What was the average number of yards Michael Henig had in a year when he had more than 12 starts/ ###assistant: SELECT AVG(yards) FROM table_name_46 WHERE starts > 12
###context:CREATE TABLE table_name_54 (starts INTEGER, yards INTEGER) ###human: What was the average number of starts Michael Henig had in a year when he had more than 1201 yards? ###assistant: SELECT AVG(starts) FROM table_name_54 WHERE yards > 1201
###context:CREATE TABLE table_name_64 (airport VARCHAR, iata VARCHAR) ###human: Name the airport with IATA of cxb ###assistant: SELECT airport FROM table_name_64 WHERE iata = "cxb"
###context:CREATE TABLE table_name_74 (airport VARCHAR, iata VARCHAR) ###human: Name the airport with IATA of dmk ###assistant: SELECT airport FROM table_name_74 WHERE iata = "dmk"
###context:CREATE TABLE table_name_15 (city VARCHAR, airport VARCHAR) ###human: Name the city that has singapore changi airport ###assistant: SELECT city FROM table_name_15 WHERE airport = "singapore changi airport"
###context:CREATE TABLE table_name_22 (icao VARCHAR, iata VARCHAR) ###human: Name the ICAO for when IATA is zyl ###assistant: SELECT icao FROM table_name_22 WHERE iata = "zyl"
###context:CREATE TABLE table_name_69 (icao VARCHAR, iata VARCHAR) ###human: Name the ICAO for IATA of rgn ###assistant: SELECT icao FROM table_name_69 WHERE iata = "rgn"
###context:CREATE TABLE table_name_62 (icao VARCHAR, iata VARCHAR) ###human: Name the ICAO for IATA of ccu ###assistant: SELECT icao FROM table_name_62 WHERE iata = "ccu"
###context:CREATE TABLE table_name_90 (gold INTEGER, total INTEGER) ###human: What is the largest gold with a Total larger than 16? ###assistant: SELECT MAX(gold) FROM table_name_90 WHERE total > 16
###context:CREATE TABLE table_name_79 (silver INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR) ###human: What is the largest silver with a Total smaller than 2, a Bronze smaller than 1, and a Nation of yugoslavia? ###assistant: SELECT MAX(silver) FROM table_name_79 WHERE total < 2 AND bronze < 1 AND nation = "yugoslavia"
###context:CREATE TABLE table_name_58 (bronze INTEGER, nation VARCHAR, gold VARCHAR) ###human: What is the smallest bronze with a Nation of west germany, and a Gold larger than 0? ###assistant: SELECT MIN(bronze) FROM table_name_58 WHERE nation = "west germany" AND gold > 0
###context:CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR) ###human: What was the record on July 2? ###assistant: SELECT record FROM table_name_34 WHERE date = "july 2"
###context:CREATE TABLE table_name_63 (silver INTEGER, gold INTEGER) ###human: What is the largest silver with less than 0 gold? ###assistant: SELECT MAX(silver) FROM table_name_63 WHERE gold < 0
###context:CREATE TABLE table_name_96 (total_viewers INTEGER, share VARCHAR) ###human: What's the average total viewers that has 17.6% Share? ###assistant: SELECT AVG(total_viewers) FROM table_name_96 WHERE share = "17.6%"
###context:CREATE TABLE table_name_84 (share VARCHAR, episode_no VARCHAR) ###human: What's the share of Episode 1? ###assistant: SELECT share FROM table_name_84 WHERE episode_no = 1
###context:CREATE TABLE table_name_97 (quantity_made VARCHAR, withdrawn VARCHAR) ###human: How many locomotives were made that were withdrawn in 1913? ###assistant: SELECT quantity_made FROM table_name_97 WHERE withdrawn = "1913"
###context:CREATE TABLE table_name_9 (date_made VARCHAR, type VARCHAR) ###human: What is the date of creation for the locomotive having a type of 0-4-2 ###assistant: SELECT date_made FROM table_name_9 WHERE type = "0-4-2"
###context:CREATE TABLE table_name_31 (date_made VARCHAR, type VARCHAR, gsr_class VARCHAR) ###human: What is the date of creation of the locomotive of type 0-6-0 and GSR class of 441? ###assistant: SELECT date_made FROM table_name_31 WHERE type = "0-6-0" AND gsr_class = "441"
###context:CREATE TABLE table_name_20 (venue VARCHAR, round VARCHAR, player VARCHAR) ###human: In Round 19, where did Tony Lockett play? ###assistant: SELECT venue FROM table_name_20 WHERE round = "19" AND player = "tony lockett"
###context:CREATE TABLE table_name_17 (opponent VARCHAR, year VARCHAR) ###human: Who is the opponent in 1992? ###assistant: SELECT opponent FROM table_name_17 WHERE year = "1992"
###context:CREATE TABLE table_name_87 (club VARCHAR, score VARCHAR) ###human: What club had a score of 18.1? ###assistant: SELECT club FROM table_name_87 WHERE score = "18.1"
###context:CREATE TABLE table_name_51 (built VARCHAR, to_iow VARCHAR, withdrawn VARCHAR, br_sr_no VARCHAR) ###human: What is the number for year built of W27 that was withdrawn in 1967 with a To LoW year earlier than 1926? ###assistant: SELECT COUNT(built) FROM table_name_51 WHERE withdrawn = 1967 AND br_sr_no = "w27" AND to_iow < 1926
###context:CREATE TABLE table_name_19 (withdrawn VARCHAR, lswr_no VARCHAR, to_iow VARCHAR) ###human: What is the number of the year withdrawn for a LSWR number greater than 210 and a To LoW year of 1923? ###assistant: SELECT COUNT(withdrawn) FROM table_name_19 WHERE lswr_no > 210 AND to_iow = 1923
###context:CREATE TABLE table_name_25 (br_sr_no VARCHAR, sr_name VARCHAR, to_iow VARCHAR, withdrawn VARCHAR, built VARCHAR) ###human: What is the BR/SR number of Freshwater which was withdrawn in 1967 and built before 1892 with a To LoW year after 1927? ###assistant: SELECT br_sr_no FROM table_name_25 WHERE withdrawn = 1967 AND built < 1892 AND to_iow > 1927 AND sr_name = "freshwater"
###context:CREATE TABLE table_name_76 (engine VARCHAR, year INTEGER) ###human: Name the engine for year less than 1977 ###assistant: SELECT engine FROM table_name_76 WHERE year < 1977
###context:CREATE TABLE table_name_70 (start VARCHAR, year INTEGER) ###human: Name the start for year less than 1977 ###assistant: SELECT start FROM table_name_70 WHERE year < 1977
###context:CREATE TABLE table_name_13 (year INTEGER, start VARCHAR) ###human: Name the least year for start of 17th ###assistant: SELECT MIN(year) FROM table_name_13 WHERE start = "17th"
###context:CREATE TABLE table_name_39 (start VARCHAR, finish VARCHAR) ###human: Name the start for finish being 21st ###assistant: SELECT start FROM table_name_39 WHERE finish = "21st"
###context:CREATE TABLE table_name_52 (call_sign VARCHAR, network VARCHAR, digital_psip VARCHAR) ###human: What is the Call sign of the Omni television network with a Digitial PSIP of 14.1? ###assistant: SELECT call_sign FROM table_name_52 WHERE network = "omni television" AND digital_psip = 14.1
###context:CREATE TABLE table_name_58 (rogers_cable__ottawa_ VARCHAR, digital_psip VARCHAR, vidéotron__gatineau_ VARCHAR) ###human: What's the total number of Rogers Cable (Ottawa) channels that have a Digital PSIP greater than 9.1, and a Vidéotron (Gatineau) of channel 14? ###assistant: SELECT COUNT(rogers_cable__ottawa_) FROM table_name_58 WHERE digital_psip > 9.1 AND vidéotron__gatineau_ = 14
###context:CREATE TABLE table_name_26 (network VARCHAR, call_sign VARCHAR, vidéotron__gatineau_ VARCHAR, rogers_cable__ottawa_ VARCHAR) ###human: Which Network is on a Vidéotron (Gatineau) channel lower than 8 and a Rogers Cable (Ottawa) channel lower than 8 and has a Call Sign of cjoh-dt? ###assistant: SELECT network FROM table_name_26 WHERE vidéotron__gatineau_ < 8 AND rogers_cable__ottawa_ < 8 AND call_sign = "cjoh-dt"
###context:CREATE TABLE table_name_35 (record VARCHAR, time VARCHAR) ###human: What was the record after the fight that lasted 8:17? ###assistant: SELECT record FROM table_name_35 WHERE time = "8:17"
###context:CREATE TABLE table_name_27 (res VARCHAR, opponent VARCHAR) ###human: What was the result of the fight with Tony Halme? ###assistant: SELECT res FROM table_name_27 WHERE opponent = "tony halme"
###context:CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR) ###human: Who did they play on August 26? ###assistant: SELECT opponent FROM table_name_44 WHERE date = "august 26"
###context:CREATE TABLE table_name_74 (attendance INTEGER, date VARCHAR) ###human: What was the attendance for the game on August 16? ###assistant: SELECT SUM(attendance) FROM table_name_74 WHERE date = "august 16"
###context:CREATE TABLE table_name_60 (opponent VARCHAR, loss VARCHAR) ###human: What team did Johnson (11-7) play for? ###assistant: SELECT opponent FROM table_name_60 WHERE loss = "johnson (11-7)"
###context:CREATE TABLE table_name_51 (pts INTEGER, engine VARCHAR) ###human: What is the highest number of points the cosworth straight-4 engine scored? ###assistant: SELECT MAX(pts) FROM table_name_51 WHERE engine = "cosworth straight-4"
###context:CREATE TABLE table_name_13 (year INTEGER, entrant VARCHAR, pts VARCHAR) ###human: What is the latest year that shadow racing team scored more than 0 points? ###assistant: SELECT MAX(year) FROM table_name_13 WHERE entrant = "shadow racing team" AND pts > 0
###context:CREATE TABLE table_name_43 (round VARCHAR, location VARCHAR) ###human: What round was held in palavas-les-flots , herault , france? ###assistant: SELECT round FROM table_name_43 WHERE location = "palavas-les-flots , herault , france"
###context:CREATE TABLE table_name_33 (team_2 VARCHAR) ###human: What is the second leg that Valencia was on? ###assistant: SELECT 2 AS nd_leg FROM table_name_33 WHERE team_2 = "valencia"
###context:CREATE TABLE table_name_68 (loss VARCHAR, record VARCHAR) ###human: Name the loss with record of 14-19 ###assistant: SELECT loss FROM table_name_68 WHERE record = "14-19"
###context:CREATE TABLE table_name_6 (score VARCHAR, record VARCHAR) ###human: Name the score with record of 17-27 ###assistant: SELECT score FROM table_name_6 WHERE record = "17-27"
###context:CREATE TABLE table_name_20 (opponent VARCHAR, record VARCHAR) ###human: Name the opponent with record of 12-18 ###assistant: SELECT opponent FROM table_name_20 WHERE record = "12-18"
###context:CREATE TABLE table_name_90 (general_classification VARCHAR, winner VARCHAR) ###human: Who was the General classification when Pascal Richard was the winner? ###assistant: SELECT general_classification FROM table_name_90 WHERE winner = "pascal richard"
###context:CREATE TABLE table_name_20 (points_classification VARCHAR, stage VARCHAR) ###human: Who had the Points classification for Stage 13? ###assistant: SELECT points_classification FROM table_name_20 WHERE stage = "13"