Task: NL2SQL (source dataset: WikiSQL)

Natural language to SQL, also known as NL2SQL, is the problem of generating a SQL query that can be executed on a input table, for a given natural language question.

You will be given an input table called "table" in the markdown format, as well as a question. Your task is to generate an SQL query that can be executed on the input table to answer the question.

Please ensure that the generated SQL only return relevant columns being specifically asked in the question (e.g., in SQL please don't return more than one columns in SELECT if only one column is needed to answer the given question, and similarly please refrain from using SELECT * unless the entire row is needed to answer the question).
 
When generating SQL code, please use the SQLite syntax to ensure that your SQL is executable on SQLite3. Use only columns that are present in the table, always use quotes around your column and table names (some column names have punctuation or special characters), and refer to the columns using the column-names exactly as they appear in the table, do not add or remove punctuation (underscore, slash, etc.)

No explanation, return the code only with the following markdown codeblock format : ```sql<SQL CODE>```. For example, ```sql
SELECT * FROM "table"
``` is a valid format.

Table:
|   Total tenure rank |   Uninterrupted rank | Name                 | State represented   | Dates of service                    | Total tenure time   | Uninterrupted time   |
|--------------------:|---------------------:|:---------------------|:--------------------|:------------------------------------|:--------------------|:---------------------|
|                   1 |                    1 | robert byrd          | west virginia       | january 3, 1959 – june 28, 2010     | 51 years, 176 days  | 51 years, 176 days   |
|                   2 |                    2 | daniel inouye        | hawaii              | january 3, 1963 – december 17, 2012 | 49 years, 349 days  | 49 years, 349 days   |
|                   4 |                    3 | ted kennedy          | massachusetts       | november 7, 1962 – august 25, 2009  | 46 years, 292 days  | 46 years, 292 days   |
|                   5 |                    5 | carl hayden          | arizona             | march 4, 1927 – january 3, 1969     | 41 years, 305 days  | 41 years, 305 days   |
|                   6 |                    6 | john c. stennis      | mississippi         | november 7, 1947 – january 3, 1989  | 41 years, 59 days   | 41 years, 59 days    |
|                   7 |                    7 | ted stevens          | alaska              | december 24, 1968 – january 3, 2009 | 40 years, 10 days   | 40 years, 10 days    |
|                   8 |                    8 | patrick leahy        | vermont             | since january 3, 1975               | 39years, 29days     | 39years, 29days      |
|                   9 |                    9 | ernest hollings      | south carolina      | november 8, 1966 – january 3, 2005  | 38 years, 55 days   | 38 years, 55 days    |
|                  10 |                   10 | richard russell, jr. | georgia             | january 12, 1933 – january 21, 1971 | 38 years, 9 days    | 38 years, 9 days     |
|                  11 |                   11 | russell b. long      | louisiana           | december 31, 1948 – january 3, 1987 | 38 years, 3 days    | 38 years, 3 days     |
|                  13 |                   12 | orrin hatch          | utah                | since january 3, 1977               | 37years, 29days     | 37years, 29days      |
|                  15 |                   13 | warren magnuson      | washington          | december 18, 1944 – january 3, 1981 | 36 years, 20 days   | 36 years, 20 days    |
|                  16 |                   14 | joe biden            | delaware            | january 3, 1973 – january 15, 2009  | 36 years, 12 days   | 36 years, 12 days    |
|                  17 |                   15 | claiborne pell       | rhode island        | january 3, 1961 – january 3, 1997   | 36 years, 0 days    | 36 years, 0 days     |
|                  18 |                   16 | pete domenici        | new mexico          | january 3, 1973 – january 3, 2009   | 36 years, 0 days    | 36 years, 0 days     |

Question: What is the state of Ted Stevens?

table_id: 1-10644188-3
label: SELECT "State represented" FROM "table" WHERE "Name" = "Ted Stevens"