Task: NL2SQL (source dataset: KaggleDBQA)

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.

Database:
USWildFires

Tables:

Table: Fires
|   FIRE_YEAR |   DISCOVERY_DATE |   DISCOVERY_DOY |   DISCOVERY_TIME |   STAT_CAUSE_CODE | STAT_CAUSE_DESCR   |   CONT_DATE |   CONT_DOY |   CONT_TIME |   FIRE_SIZE | FIRE_SIZE_CLASS   |   LATITUDE |   LONGITUDE |   OWNER_CODE | OWNER_DESCR      | STATE   | COUNTY   | FIPS_CODE   | FIPS_NAME   |
|------------:|-----------------:|----------------:|-----------------:|------------------:|:-------------------|------------:|-----------:|------------:|------------:|:------------------|-----------:|------------:|-------------:|:-----------------|:--------|:---------|:------------|:------------|
|        2005 |      2.4534e+06  |              33 |             1300 |                 9 | Miscellaneous      | 2.4534e+06  |         33 |        1730 |        0.1  | A                 |    40.0369 |    -121.006 |            5 | USFS             | CA      | 63       | 063         | Plumas      |
|        2004 |      2.45314e+06 |             133 |              845 |                 1 | Lightning          | 2.45314e+06 |        133 |        1530 |        0.25 | A                 |    38.9331 |    -120.404 |            5 | USFS             | CA      | 61       | 061         | Placer      |
|        2004 |      2.45316e+06 |             152 |             1921 |                 5 | Debris Burning     | 2.45316e+06 |        152 |        2024 |        0.1  | A                 |    38.9842 |    -120.736 |           13 | STATE OR PRIVATE | CA      | 17       | 017         | El Dorado   |
|        2004 |      2.45318e+06 |             180 |             1600 |                 1 | Lightning          | 2.45319e+06 |        185 |        1400 |        0.1  | A                 |    38.5592 |    -119.913 |            5 | USFS             | CA      | 3        | 003         | Alpine      |
|        2004 |      2.45318e+06 |             180 |             1600 |                 1 | Lightning          | 2.45319e+06 |        185 |        1200 |        0.1  | A                 |    38.5592 |    -119.933 |            5 | USFS             | CA      | 3        | 003         | Alpine      |
|        2004 |      2.45319e+06 |             182 |             1800 |                 1 | Lightning          | 2.45319e+06 |        183 |        1600 |        0.1  | A                 |    38.6353 |    -120.104 |            5 | USFS             | CA      | 5        | 005         | Amador      |
|        2004 |      2.45319e+06 |             183 |             1800 |                 1 | Lightning          | 2.45319e+06 |        184 |        1400 |        0.1  | A                 |    38.6883 |    -120.153 |            5 | USFS             | CA      | 17       | 017         | El Dorado   |
|        2005 |      2.45344e+06 |              67 |             1300 |                 5 | Debris Burning     | 2.45344e+06 |         67 |        1600 |        0.8  | B                 |    40.9681 |    -122.434 |           13 | STATE OR PRIVATE | CA      |          |             |             |
|        2005 |      2.45344e+06 |              74 |             1200 |                 5 | Debris Burning     | 2.45344e+06 |         74 |        1700 |        1    | B                 |    41.2336 |    -122.283 |           13 | STATE OR PRIVATE | CA      |          |             |             |
|        2004 |      2.45319e+06 |             183 |             1800 |                 1 | Lightning          | 2.45319e+06 |        184 |        1800 |        0.1  | A                 |    38.5483 |    -120.149 |            5 | USFS             | CA      | 5        | 005         | Amador      |


Question: Average date of year that fire was discovered from 2000~2004?

db_id: USWildFires
tables: name: Fires
data: Fires.csv
label: SELECT avg(DISCOVERY_DATE) FROM Fires where FIRE_YEAR BETWEEN 2000 AND 2004
sqlite_path: $MMTU_HOME/data_sqlite/KaggleDBQA/databases/USWildFires/USWildFires.sqlite