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:
|   YEAR | DATE      | CHAMPION                   | BEAT                          | TIME             | COURSE                              |
|-------:|:----------|:---------------------------|:------------------------------|:-----------------|:------------------------------------|
|   1831 | sep 9th   | charles campbell           | john williams                 | ntt              | thames (westminster to hammersmith) |
|   1838 | nov 1st   | charles campbell           | robert coombes                | 42mins           | thames (westminster to putney)      |
|   1846 | aug 19th  | robert coombes             | charles campbell              | 26mins 15secs    | thames (putney to mortlake)         |
|   1847 | sep 19th  | robert coombes             | robert newell                 | 23 mins 46 sec   | thames (putney to mortlake)         |
|   1851 | may 7     | robert coombes             | thomas j mackinney            | 27 mins 30 secs  | thames (putney to mortlake)         |
|   1852 | may 24    | tom cole                   | robert coombes                | 25 mins 15 secs  | thames (putney to mortlake)         |
|   1852 | oct 14th  | tom cole                   | robert coombes                | 23 mins 35 secs  | thames (putney to mortlake)         |
|   1854 | nov 20th  | james messenger            | tom cole                      | 24 mins 45 secs  | thames (putney to mortlake)         |
|   1857 | may 12    | harry kelley (gbr)         | james messenger               | 24 mins 30 secs  | thames (putney to mortlake)         |
|   1859 | sep 20th  | robert chambers (gbr)      | harry kelley (gbr)            | 25 mins 25 sec   | thames (putney to mortlake)         |
|   1860 | sep 18th  | robert chambers (gbr)      | tom white (gbr)               | 23 mins 25 sec   | thames (putney to mortlake)         |
|   1863 | apr 14th  | robert chambers (gbr)      | george w everson (gbr)        | 25 mins 27 sec   | thames (putney to mortlake)         |
|   1863 | jun 16th  | robert chambers (gbr)      | richard a w green (aus)       | 25 mins 35 secs  | thames (putney to mortlake)         |
|   1865 | aug 8th   | harry kelley (gbr)         | robert chambers (gbr)         | 23 mins 23 secs  | thames (putney to mortlake)         |
|   1866 | jul 4th   | harry kelley (gbr)         | james hammill (usa)           | 32 mins 45 secs  | tyne                                |
|   1866 | nov 22nd  | robert chambers (gbr)      | joseph sadler (gbr)           | 25 mins 4 secs   | thames (putney to mortlake)         |
|   1868 | may 6     | harry kelley (gbr)         | robert chambers (gbr)         | 31mins 47 secs   | tyne                                |
|   1868 | nov 17th  | james renforth (gbr)       | harry kelley (gbr)            | 23 mins 15secs   | thames (putney to mortlake)         |
|   1874 | apr 16th  | joseph sadler (gbr)        | robert bagnall (gbr)          | 24 mins 15 secs  | thames (putney to mortlake)         |
|   1875 | nov 15th  | joseph sadler (gbr)        | robert w boyd (gbr)           | 28 mins 5 secs   | thames (putney to mortlake)         |
|   1876 | jun 27th  | edward trickett (aus)      | joseph sadler (gbr)           | 24 mins 35 secs  | thames (putney to mortlake)         |
|   1877 | jun 30th  | edward trickett (aus)      | michael rush (rower) (aus)    | 23 mins 27secs   | parramatta, sydney                  |
|   1879 | aug 29th  | edward trickett (aus)      | elias c. laycock (aus)        | 23 mins 29 secs  | parramatta, sydney                  |
|   1880 | nov 15th  | edward hanlan (can)        | edward trickett (aus)         | 26 mins 12 secs  | thames (putney to mortlake)         |
|   1881 | feb 14th  | edward hanlan (can)        | elias c. laycock (aus)        | 25 mins 49 secs  | thames (putney to mortlake)         |
|   1882 | apr 3rd   | edward hanlan (can)        | robert w boyd (gbr)           | 21 mins 25 secs  | tyne                                |
|   1882 | may 1     | edward hanlan (can)        | edward trickett (aus)         | 28 mins          | thames (putney to mortlake)         |
|   1883 | may 30    | edward hanlan (can)        | john a kennedy (usa)          | 19 min 4 sec     | point of pines, boston usa          |
|   1883 | july 18   | edward hanlan (can)        | wallace ross (can)            | 27 min 57.5 secs | odensberg, new york, usa            |
|   1884 | may 22    | edward hanlan (can)        | elias c. laycock (aus)        | 22 mins 46 secs  | nepean, sydney                      |
|   1884 | aug 16th  | bill beach (aus)           | edward hanlan (can)           | 20 mins 28 secs  | parramatta, sydney                  |
|   1885 | feb 28th  | bill beach (aus)           | thomas clifford (aus)         | 26 mins 1 sec    | parramatta, sydney                  |
|   1885 | mar 28th  | bill beach (aus)           | edward hanlan (can)           | 22 mins 51 secs  | parramatta, sydney                  |
|   1885 | dec 18th  | bill beach (aus)           | neil matterson (aus)          | 24 mins 11 sec   | parramatta, sydney                  |
|   1886 | sep 18th  | bill beach (aus)           | jake gaudaur snr. (can)       | 22 mins 29 sec   | thames (putney to mortlake)         |
|   1886 | sep 25th  | bill beach (aus)           | wallace ross (can)            | 23 min 5 sec     | thames (putney to mortlake)         |
|   1887 | nov 26th  | bill beach (aus)           | edward hanlan (can)           | 19 mins 25 sec   | nepean, sydney                      |
|   1888 | feb 11th  | peter kemp (aus)           | thomas clifford (aus)         | 23 mins 27secs   | parramatta, sydney                  |
|   1888 | may 5     | peter kemp (aus)           | edward hanlan (can)           | 21 mins 36 sec   | parramatta, sydney                  |
|   1888 | sep 28th  | peter kemp (aus)           | edward hanlan (can)           | 21 mins 25 secs  | parramatta, sydney                  |
|   1888 | oct 27th  | henry ernest searle (aus)  | peter kemp (aus)              | 22 mins 44 secs  | parramatta, sydney                  |
|   1889 | sep 9th   | henry ernest searle (aus)  | william joseph o'connor (can) | 22 mins 42 sec   | thames (putney to mortlake)         |
|   1890 | apr 25th  | peter kemp (aus)           | neil matterson (aus)          | 21 mins 13 sec   | parramatta, sydney                  |
|   1890 | may 15    | peter kemp (aus)           | john mclean (aus)             | 21 mins 45 sec   | parramatta, sydney                  |
|   1890 | dec 15th  | john mclean (aus)          | peter kemp (aus)              | 22 mins 13 secs  | parramatta, sydney                  |
|   1891 | apr 28th  | jim stanbury * (aus)       | john mclean (aus)             | 22 mins 15 secs  | parramatta, sydney                  |
|   1891 | jul 7th   | jim stanbury * (aus)       | john mclean (aus)             | 18 mins 25 secs  | parramatta, sydney (short course)   |
|   1892 | may 2     | jim stanbury * (aus)       | tom sullivan (nzl)            | 17 mins 26 secs  | parramatta, sydney (short course)   |
|   1896 | jul 13th  | jim stanbury * (aus)       | charles r. harding (gbr)      | 21 mins 51 secs  | thames (putney to mortlake)         |
|   1896 | sep 7th   | jake gaudaur snr. (can)    | jim stanbury (aus)            | 23 mins 1 sec    | thames (putney to mortlake)         |
|   1898 | jly 4th   | jake gaudaur snr. (can)    | robert johnston (can)         | 20 mins 25 sec   | vancouver harbour                   |
|   1901 | sep 7th   | george towns (aus)         | jake gaudaur snr. (can)       | 20 mins 30 sec   | lake of the woods, ontario          |
|   1904 | jul 30th  | george towns (aus)         | richard tresidder (aus)       | 21 mins 28 sec   | parramatta, sydney                  |
|   1905 | jul 22nd  | jim stanbury * (aus)       | george towns (aus)            | 19 mins 4 sec    | parramatta, sydney                  |
|   1906 | jul 28th  | george towns (aus)         | jim stanbury (aus)            | 19 mins 53 sec   | parramatta, sydney                  |
|   1907 | mar 2nd   | george towns (aus)         | edward durnan (can)           | 22 mins 27 secs  | nepean, sydney                      |
|   1907 | aug 3rd   | william webb (nzl)         | charles towns (aus)           | 20 mins 35 secs  | parramatta, sydney                  |
|   1908 | feb 25th  | william webb (nzl)         | richard tresidder (aus)       | 20 mins 28 secs  | wanganui, new zealand               |
|   1908 | dec 15th  | richard arnst (nzl)        | william webb (nzl)            | 19 mins 51 secs  | wanganui, new zealand               |
|   1909 | jun 21st  | richard arnst (nzl)        | william webb (nzl)            | 18 mins 15 secs  | wanganui, new zealand               |
|   1910 | apr 4th   | richard arnst (nzl)        | george whelch (nzl)           | 21 mins 51 secs  | akaroa harbour, new zealand         |
|   1910 | aug 18th  | richard arnst (nzl)        | ernest barry (gbr)            | 20 mins 14 secs  | zambezi river, northern rhodesia    |
|   1911 | jul 29th  | richard arnst (nzl)        | harry pearce (aus)            | 19 mins 46 secs  | parramatta, sydney                  |
|   1912 | jul 29th  | ernest barry (gbr)         | richard arnst (nzl)           | 23 mins 8 secs   | thames (putney to mortlake)         |
|   1912 | oct 14th  | ernest barry (gbr)         | edward durnan (can)           | 22 mins 31 secs  | thames (putney to mortlake)         |
|   1913 | jul 21st  | ernest barry (gbr)         | harry pearce (aus)            | 24 mins 9 secs   | thames (putney to mortlake)         |
|   1914 | sep 7th   | ernest barry (gbr)         | jim paddon (aus)              | 21 mins 28 sec   | thames (putney to mortlake)         |
|   1919 | oct 27th  | alf felton (aus)           | ernest barry (gbr)            | 25 mins 40 secs  | thames (putney to mortlake)         |
|   1920 | aug 31st  | ernest barry (gbr)         | alf felton (aus)              | 24 mins 32 sec   | parramatta, sydney                  |
|   1921 | jun 11th  | richard arnst (nzl)        | pat hannan (nzl)              | 22 mins 34 sec   | wairau, new zealand                 |
|   1922 | jan 5th   | darcy hadfield (nzl)       | richard arnst (nzl)           | 19 mins 46 secs  | wanganui, new zealand               |
|   1922 | apr 18th  | jim paddon (aus)           | darcy hadfield (nzl)          | 19 mins 19 secs  | wanganui, new zealand               |
|   1923 | jul 21st  | jim paddon (aus)           | darcy hadfield (nzl)          | 19 mins 46 secs  | richmond                            |
|   1924 | aug 12th  | jim paddon (aus)           | alf felton (aus)              | 17 mins 55 secs  | brisbane                            |
|   1924 | sep 20th  | jim paddon (aus)           | major goodsell (aus)          | 17 mins 7 secs   | richmond                            |
|   1925 | mar 21st  | major goodsell (aus)       | bill mcdevitt (aus)           | 22 mins 20 secs  | clarence                            |
|   1925 | jun 27th  | major goodsell (aus)       | pat hannan (nzl)              | 21 mins 31 secs  | parramatta, sydney                  |
|   1925 | nov 7th   | major goodsell (aus)       | jim paddon (aus)              | 22 mins 50 secs  | parramatta, sydney                  |
|   1926 | may 3     | major goodsell (aus)       | tom saul (aus)                | 23 mins 11 sec   | parramatta, sydney                  |
|   1927 | sep 5th   | major goodsell (aus)       | bert barry (gbr)              | 24 mins 13 secs  | burrand inlet, vancouver            |
|   1927 | dec 6th   | bert barry (gbr)           | major goodsell (aus)          | 21 mins 40 secs  | burrand inlet, vancouver            |
|   1930 | may 31    | ted phelps (gbr)           | bert barry (gbr)              | 22 mins 45 secs  | thames (putney to mortlake)         |
|   1930 | oct 11th  | ted phelps (gbr)           | bert barry (gbr)              | 22 mins 48 secs  | thames (putney to mortlake)         |
|   1932 | sep 5th   | ted phelps (gbr)           | major goodsell (usa)          | 17 mins 2 secs   | long beach, california              |
|   1933 | sep 1st   | henry "bobby" pearce (can) | ted phelps (gbr)              | 19 mins 26 secs  | lake ontario,                       |
|   1934 | sep 5th   | henry "bobby" pearce (can) | w g miller (usa)              | 19 mins 52 secs  | toronto                             |
|   1938 | sep 9th   | henry "bobby" pearce (can) | evans paddon (aus)            | 20 mins 35 secs  | tornoto                             |
|   1948 | nov 20th  | evans paddon (aus)         | max fisher (aus)              | 17 mins 20 secs  | parramatta, sydney                  |
|   1949 | may 7     | george cook (aus)          | evans paddon (aus)            | 15mins 09 secs   | evans river                         |
|   1950 | april 22  | evans paddon (aus)         | george cook (aus)             | 21mins 58 secs   | evans river                         |
|   1952 | april 5   | jim saul (aus)             | evans paddon (aus)            | 20 min 33 secs   | richmond river                      |
|   1952 | sept 13th | evans paddon (aus)         | jim saul (aus)                | 21 min 50 secs   | richmond river                      |
|   1953 | june 13   | evans fischer (aus)        | evans paddon (aus)            | 20 min 55 secs   | richmond river                      |
|   1954 | aug 7th   | evans fischer (aus)        | evans paddon (aus)            | 20min 57 secs    | clarence river                      |
|   1957 | may 25    | evans fischer (aus)        | evans paddon (aus)            | 20min 46 secs    | clarence river                      |

Question: WHAT CHAMPION HAD RICHMOND RIVER COURSE ON JUNE 13?

table_id: 2-16763649-1
label: SELECT "CHAMPION" FROM "table" WHERE "COURSE" = "richmond river" AND "DATE" = "june 13"