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:
|   № |   # | Title                                     | Directed by       | Written by                         | Original air date   | Production code   |   U.S. viewers (millions) |
|----:|----:|:------------------------------------------|:------------------|:-----------------------------------|:--------------------|:------------------|--------------------------:|
| 487 |   1 | " the falcon and the d'ohman "            | matthew nastuk    | justin hurwitz                     | september25,2011    | nabf16            |                      8.08 |
| 488 |   2 | " bart stops to smell the roosevelts "    | steven dean moore | tim long                           | october2,2011       | nabf17            |                      6.19 |
| 490 |   4 | " replaceable you "                       | mark kirkland     | stephanie gillis                   | november6,2011      | nabf21            |                      7.97 |
| 491 |   5 | " the food wife "                         | timothy bailey    | matt selman                        | november13,2011     | nabf20            |                      7.5  |
| 492 |   6 | " the book job "                          | bob anderson      | dan vebber                         | november20,2011     | nabf22            |                      5.74 |
| 493 |   7 | " the man in the blue flannel pants "     | steven dean moore | jeff westbrook                     | november27,2011     | pabf01            |                      5.61 |
| 494 |   8 | " the ten-per-cent solution "             | michael polcino   | deb lacusta & dan castellaneta     | december4,2011      | pabf02            |                      9.01 |
| 495 |   9 | " holidays of future passed "             | rob oliver        | j. stewart burns                   | december11,2011     | nabf18            |                      6.43 |
| 496 |  10 | " politically inept, with homer simpson " | mark kirkland     | john frink                         | january8,2012       | pabf03            |                      5.07 |
| 497 |  11 | " the d'oh-cial network "                 | chris clements    | j. stewart burns                   | january15,2012      | pabf04            |                     11.48 |
| 498 |  12 | " moe goes from rags to riches "          | bob anderson      | tim long                           | january29,2012      | pabf05            |                      5.12 |
| 499 |  13 | " the daughter also rises "               | chuck sheetz      | rob lazebnik                       | february12,2012     | pabf06            |                      4.26 |
| 500 |  14 | " at long last leave "                    | matthew nastuk    | michael price                      | february19,2012     | pabf07            |                      5.77 |
| 501 |  15 | " exit through the kwik-e-mart "          | steven dean moore | marc wilmore                       | march4,2012         | pabf09            |                      5.09 |
| 502 |  16 | " how i wet your mother "                 | lance kramer      | billy kimball & ian maxtone-graham | march11,2012        | pabf08            |                      4.97 |
| 503 |  17 | " them, robot "                           | michael polcino   | michael price                      | march18,2012        | pabf10            |                      5.25 |
| 504 |  18 | " beware my cheating bart "               | mark kirkland     | ben joseph                         | april15,2012        | pabf11            |                      4.86 |
| 506 |  20 | " the spy who learned me "                | bob anderson      | marc wilmore                       | may6,2012           | pabf13            |                      4.84 |
| 507 |  21 | " ned 'n edna's blend "                   | chuck sheetz      | jeff westbrook                     | may13,2012          | pabf15            |                      4.07 |

Question: Who directed the episode whose production code is pabf05?

table_id: 1-28194879-1
label: SELECT "Directed by" FROM "table" WHERE "Production code" = "PABF05"