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:
| Date              | Opponent            | Venue   | Result   |   Attendance |
|:------------------|:--------------------|:--------|:---------|-------------:|
| 9 august 1986     | aberdeen            | h       | 2–1      |        10910 |
| 13 august 1986    | clydebank           | a       | 0–0      |         1612 |
| 16 august 1986    | rangers             | a       | 3–2      |        43995 |
| 23 august 1986    | hearts              | h       | 1–0      |        11068 |
| 30 august 1986    | st. mirren          | h       | 3–0      |         6168 |
| 6 september 1986  | dundee              | a       | 2–0      |        12079 |
| 13 september 1986 | celtic              | h       | 2–2      |        19792 |
| 20 september 1986 | hamilton academical | a       | 5–1      |         2876 |
| 27 september 1986 | hibernian           | a       | 1–1      |         5407 |
| 4 october 1986    | falkirk             | h       | 2–0      |         5957 |
| 8 october 1986    | motherwell          | h       | 4–0      |         5740 |
| 11 october 1986   | aberdeen            | a       | 0–2      |        14922 |
| 18 october 1986   | clydebank           | h       | 2–0      |         5314 |
| 25 october 1986   | hearts              | a       | 2–2      |        14320 |
| 29 october 1986   | rangers             | h       | 0–0      |        20171 |
| 1 november 1986   | st. mirren          | a       | 1–0      |         3930 |
| 8 november 1986   | dundee              | h       | 0–3      |        11733 |
| 15 november 1986  | celtic              | a       | 0–1      |        34319 |
| 19 november 1986  | hamilton academical | h       | 3–0      |         4280 |
| 22 november 1986  | hibernian           | h       | 1–0      |         6862 |
| 29 november 1986  | falkirk             | a       | 1–2      |         4500 |
| 3 december 1986   | motherwell          | a       | 2–0      |         2312 |
| 6 december 1986   | aberdeen            | h       | 0–0      |        10242 |
| 13 december 1986  | clydebank           | a       | 2–1      |         1396 |
| 20 december 1986  | hearts              | h       | 3–1      |        11749 |
| 27 december 1986  | rangers             | a       | 0–2      |        42165 |
| 6 january 1987    | st. mirren          | h       | 2-0      |         5798 |
| 10 january 1987   | celtic              | h       | 3-2      |        19020 |
| 24 january 1987   | hibernian           | a       | 2-0      |         7398 |
| 7 february 1987   | falkirk             | h       | 2-1      |         8804 |
| 14 february 1987  | motherwell          | h       | 2-0      |         9902 |
| 28 february 1987  | aberdeen            | a       | 1-0      |        12850 |
| 7 march 1987      | clydebank           | h       | 1-1      |         5541 |
| 10 march 1987     | dundee              | a       | 1-1      |        11615 |
| 21 march 1987     | rangers             | h       | 0-1      |        21278 |
| 28 march 1987     | dundee              | h       | 1-1      |        12220 |
| 4 april 1987      | st. mirren          | a       | 1-2      |         2538 |
| 14 april 1987     | hamilton            | a       | 0-0      |         2062 |
| 18 april 1987     | celtic              | a       | 1-1      |        23798 |
| 25 april 1987     | falkirk             | a       | 2-1      |         4930 |
| 28 april 1987     | hamilton            | h       | 2-1      |         7244 |
| 2 may 1987        | hibernian           | h       | 2-1      |         9301 |
| 9 may 1987        | motherwell          | a       | 0-1      |         2340 |
| 11 may 1987       | hearts              | a       | 1-1      |         6779 |

Question: What was the result when Dundee were the Opponent at Venue A on 6 September 1986?

table_id: 2-15640438-2
label: SELECT "Result" FROM "table" WHERE "Opponent" = "dundee" AND "Venue" = "a" AND "Date" = "6 september 1986"