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:
| Circuit                       | Location                     | Date         | Series   | Winning driver     | Winning team              |
|:------------------------------|:-----------------------------|:-------------|:---------|:-------------------|:--------------------------|
| ciudad del motor de aragón    | alcañiz , spain              | 17 april     | fr3.5 1  | mikhail aleshin    | carlin                    |
| ciudad del motor de aragón    | alcañiz , spain              | 17 april     | fr2.0 1  | kevin korjus       | koiranen bros. motorsport |
| ciudad del motor de aragón    | alcañiz , spain              | 17 april     | f4 1     | norman nato        | autosport academy         |
| ciudad del motor de aragón    | alcañiz , spain              | 18 april     | fr3.5 2  | sten pentus        | fortec motorsport         |
| ciudad del motor de aragón    | alcañiz , spain              | 18 april     | fr2.0 2  | kevin korjus       | koiranen bros. motorsport |
| ciudad del motor de aragón    | alcañiz , spain              | 18 april     | f4 2     | stoffel vandoorne  | autosport academy         |
| circuit de spa-francorchamps  | spa , belgium                | 1 may        | fr3.5 3  | mikhail aleshin    | carlin                    |
| circuit de spa-francorchamps  | spa , belgium                | 1 may        | fr2.0 3  | arthur pic         | tech 1 racing             |
| circuit de spa-francorchamps  | spa , belgium                | 1 may        | emt 1    | race cancelled     | race cancelled            |
| circuit de spa-francorchamps  | spa , belgium                | 1 may        | f4 3     | stoffel vandoorne  | autosport academy         |
| circuit de spa-francorchamps  | spa , belgium                | 2 may        | fr3.5 4  | esteban guerrieri  | isr racing                |
| circuit de spa-francorchamps  | spa , belgium                | 2 may        | fr2.0 4  | kevin korjus       | koiranen bros. motorsport |
| circuit de spa-francorchamps  | spa , belgium                | 2 may        | emt 2    | dimitri enjalbert  | boutsen energy racing     |
| circuit de spa-francorchamps  | spa , belgium                | 2 may        | f4 4     | stoffel vandoorne  | autosport academy         |
| circuit de monaco             | monte carlo , monaco         | 16 may       | fr3.5 5  | daniel ricciardo   | tech 1 racing             |
| masaryk circuit               | brno , czech republic        | 5 june       | fr3.5 6  | esteban guerrieri  | isr racing                |
| masaryk circuit               | brno , czech republic        | 5 june       | fr2.0 5  | arthur pic         | tech 1 racing             |
| masaryk circuit               | brno , czech republic        | 5 june       | emt 3    | stefano comini     | oregon team               |
| masaryk circuit               | brno , czech republic        | 6 june       | fr3.5 7  | esteban guerrieri  | isr racing                |
| masaryk circuit               | brno , czech republic        | 6 june       | fr2.0 6  | arthur pic         | tech 1 racing             |
| masaryk circuit               | brno , czech republic        | 6 june       | emt 4    | nick catsburg      | tds racing                |
| circuit de nevers magny-cours | magny-cours , france         | 19 june      | fr3.5 8  | mikhail aleshin    | carlin                    |
| circuit de nevers magny-cours | magny-cours , france         | 19 june      | fr2.0 7  | kevin korjus       | koiranen bros. motorsport |
| circuit de nevers magny-cours | magny-cours , france         | 19 june      | emt 5    | nick catsburg      | tds racing                |
| circuit de nevers magny-cours | magny-cours , france         | 19 june      | f4 5     | franck matelli     | autosport academy         |
| circuit de nevers magny-cours | magny-cours , france         | 20 june      | fr3.5 9  | nathanaël berthon  | international dracoracing |
| circuit de nevers magny-cours | magny-cours , france         | 20 june      | fr2.0 8  | giovanni venturini | epsilon euskadi           |
| circuit de nevers magny-cours | magny-cours , france         | 20 june      | emt 6    | pierre thiriet     | tds racing                |
| circuit de nevers magny-cours | magny-cours , france         | 20 june      | f4 6     | stoffel vandoorne  | autosport academy         |
| hungaroring                   | mogyoród , hungary           | 3 july       | fr3.5 10 | daniel ricciardo   | tech 1 racing             |
| hungaroring                   | mogyoród , hungary           | 3 july       | fr2.0 9  | arthur pic         | tech 1 racing             |
| hungaroring                   | mogyoród , hungary           | 3 july       | emt 7    | pierre thiriet     | tds racing                |
| hungaroring                   | mogyoród , hungary           | 3 july       | f4 7     | mathieu jaminet    | autosport academy         |
| hungaroring                   | mogyoród , hungary           | 4 july       | fr3.5 11 | sten pentus        | fortec motorsport         |
| hungaroring                   | mogyoród , hungary           | 4 july       | fr2.0 10 | luciano bacheta    | interwetten junior team   |
| hungaroring                   | mogyoród , hungary           | 4 july       | emt 8    | nick catsburg      | tds racing                |
| hungaroring                   | mogyoród , hungary           | 4 july       | f4 8     | mathieu jaminet    | autosport academy         |
| hockenheimring                | hockenheim , germany         | 4 september  | fr3.5 12 | daniel ricciardo   | tech 1 racing             |
| hockenheimring                | hockenheim , germany         | 4 september  | fr2.0 11 | kevin korjus       | koiranen bros. motorsport |
| hockenheimring                | hockenheim , germany         | 4 september  | emt 9    | nick catsburg      | tds racing                |
| hockenheimring                | hockenheim , germany         | 4 september  | f4 9     | stoffel vandoorne  | autosport academy         |
| hockenheimring                | hockenheim , germany         | 5 september  | fr3.5 13 | esteban guerrieri  | isr racing                |
| hockenheimring                | hockenheim , germany         | 5 september  | fr2.0 12 | kevin korjus       | koiranen bros. motorsport |
| hockenheimring                | hockenheim , germany         | 5 september  | emt 10   | stefano comini     | oregon racing             |
| hockenheimring                | hockenheim , germany         | 5 september  | f4 10    | stoffel vandoorne  | autosport academy         |
| silverstone circuit           | silverstone , united kingdom | 18 september | fr3.5 14 | jean-éric vergne   | tech 1 racing             |
| silverstone circuit           | silverstone , united kingdom | 18 september | fr2.0 13 | kevin korjus       | koiranen bros. motorsport |
| silverstone circuit           | silverstone , united kingdom | 18 september | emt 11   | stefano comini     | oregon racing             |
| silverstone circuit           | silverstone , united kingdom | 18 september | f4 11    | paul-loup chatin   | autosport academy         |
| silverstone circuit           | silverstone , united kingdom | 19 september | fr3.5 15 | esteban guerrieri  | isr racing                |
| silverstone circuit           | silverstone , united kingdom | 19 september | fr2.0 14 | javier tarancón    | epsilon euskadi           |
| silverstone circuit           | silverstone , united kingdom | 19 september | emt 12   | nick catsburg      | tds racing                |
| silverstone circuit           | silverstone , united kingdom | 19 september | f4 12    | paul-loup chatin   | autosport academy         |
| circuit de catalunya          | montmeló , spain             | 9 october    | fr3.5 16 | daniel ricciardo   | tech 1 racing             |
| circuit de catalunya          | montmeló , spain             | 9 october    | fr2.0 15 | kevin korjus       | koiranen bros. motorsport |
| circuit de catalunya          | montmeló , spain             | 9 october    | emt 13   | nick catsburg      | tds racing                |
| circuit de catalunya          | montmeló , spain             | 9 october    | f4 13    | mathieu jaminet    | autosport academy         |
| circuit de catalunya          | montmeló , spain             | 10 october   | fr3.5 17 | esteban guerrieri  | isr racing                |
| circuit de catalunya          | montmeló , spain             | 10 october   | fr2.0 16 | kevin korjus       | koiranen bros. motorsport |
| circuit de catalunya          | montmeló , spain             | 10 october   | emt 14   | nick catsburg      | tds racing                |

Question: In what series was TDS Racing the winning team on 9 October? 

table_id: 1-25572068-1
label: SELECT "Series" FROM "table" WHERE "Winning team" = "TDS Racing" AND "Date" = "9 October"