Task: NL2SQL (source dataset: Spider)

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:
cre_Doc_Workflow

Tables:

Table: Staff
|   staff_id | staff_details              |
|-----------:|:---------------------------|
|          3 | Mrs. Aniya Klocko Sr.      |
|         26 | Prof. Pietro Hudson        |
|         52 | Mr. Sid Hessel             |
|         66 | Rosie Conn                 |
|         67 | Jade O'Connell III         |
|         76 | Santina Cronin             |
|         93 | Bella Hilll DDS            |
|        100 | Prof. Porter Dickinson Sr. |


Table: Ref_Staff_Roles
| staff_role_code   | staff_role_description   |
|:------------------|:-------------------------|
| MG                | Manager                  |
| ED                | Editor                   |
| PT                | Photo                    |
| PR                | Proof Reader             |
| HR                | Human Resource           |


Table: Process_Outcomes
| process_outcome_code   | process_outcome_description   |
|:-----------------------|:------------------------------|
| working                | working on                    |
| finish                 | finish                        |
| start                  | starting soon                 |


Table: Process_Status
| process_status_code   | process_status_description   |
|:----------------------|:-----------------------------|
| ct                    | continue                     |
| pp                    | postpone                     |


Table: Authors
| author_name         | other_details   |
|:--------------------|:----------------|
| Addison Denesik     |                 |
| Adeline Wolff       |                 |
| Antwon Krajcik V    |                 |
| Beverly Bergnaum MD |                 |
| Bianka Cummings     |                 |
| Dr. Dario Hermiston |                 |
| Dr. Shad Lowe       |                 |
| Era Kerluke         |                 |
| Eveline Bahringer   |                 |
| Fiona Sipes DVM     |                 |


Table: Documents
|   document_id | author_name        | document_name          | document_description                                                                                                                                                                                                              | other_details   |
|--------------:|:-------------------|:-----------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------|
|             0 | Malvina Metz       | Travel to Brazil       | Nulla molestiae voluptas recusandae dolores explicabo et. Consequuntur ut autem velit eos aut.                                                                                                                                    |                 |
|             4 | Telly Pfannerstill | Travel to China        | Maiores suscipit earum sed iure. Quis voluptatem facilis doloremque nisi corrupti. Sed est repellendus et aut id. Nisi quis ex eligendi possimus ut ut unde.                                                                      |                 |
|             7 | Malvina Metz       | Travel to England      | Dolores beatae omnis dolorem laudantium quaerat ut. Perspiciatis explicabo est ut vel porro omnis. Aut non occaecati aut quia ut non omnis. Quia quam ea consequuntur quo aliquam.                                                |                 |
|            24 | Bianka Cummings    | Travel to Egypt        | Culpa voluptatibus alias quo amet dolore eum possimus. Qui placeat cumque non aperiam. Cupiditate pariatur dolorum sed ut.                                                                                                        |                 |
|            29 | Bianka Cummings    | Travel to Ireland      | Cumque a ducimus perferendis sint. Quidem tempora recusandae accusamus possimus aut vitae quo. Omnis earum sint doloribus velit.                                                                                                  |                 |
|            52 | Eveline Bahringer  | How to cook chicken    | Soluta vitae sed soluta. Aut eos omnis dolorem qui non recusandae neque. Atque enim inventore sint dolor sit.                                                                                                                     |                 |
|            77 | Marjolaine Paucek  | How to cook pasta      | Occaecati id consectetur amet. Fuga vel voluptate qui autem quisquam quis. Eos rerum et iste impedit vel facere.                                                                                                                  |                 |
|            79 | Tevin Weber        | How to cook steak      | Eius rerum rerum architecto optio reprehenderit rerum id. Voluptatem et atque expedita. Voluptatem sint qui aut nostrum voluptas.                                                                                                 |                 |
|           262 | Addison Denesik    | How to cook rice       | Quo alias nam consectetur nostrum voluptatibus omnis occaecati. Perspiciatis assumenda sed ullam veritatis modi id. Animi praesentium tenetur hic reiciendis nihil hic aut.                                                       |                 |
|           462 | Adeline Wolff      | Learning about flowers | Dolor ipsum sed cum aliquid eius enim exercitationem. Eius cupiditate magni sed et. Ex qui debitis sint aliquam illo eligendi magni praesentium. Et reiciendis sed in nostrum eius asperiores. Repellat et odio non qui mollitia. |                 |


Table: Business_Processes
|   process_id |   next_process_id | process_name   | process_description   | other_details   |
|-------------:|------------------:|:---------------|:----------------------|:----------------|
|            9 |                 9 | process        | normal                |                 |


Table: Documents_Processes
|   document_id |   process_id | process_outcome_code   | process_status_code   |
|--------------:|-------------:|:-----------------------|:----------------------|
|             0 |            9 | finish                 | ct                    |
|             4 |            9 | start                  | ct                    |
|             7 |            9 | start                  | pp                    |
|            24 |            9 | start                  | ct                    |
|            52 |            9 | finish                 | pp                    |
|           462 |            9 | working                | ct                    |
|           927 |            9 | working                | pp                    |
|        435463 |            9 | start                  | ct                    |
|        461893 |            9 | finish                 | pp                    |
|     782065904 |            9 | working                | ct                    |


Table: Staff_in_Processes
|   document_id |   process_id |   staff_id | staff_role_code   | date_from           | date_to             | other_details   |
|--------------:|-------------:|-----------:|:------------------|:--------------------|:--------------------|:----------------|
|             0 |            9 |          3 | MG                | 1989-02-06 18:30:52 | 2001-08-10 20:58:06 |                 |
|             0 |            9 |         67 | ED                | 2015-01-01 06:43:57 | 1982-01-11 19:27:20 |                 |
|             4 |            9 |          3 | HR                | 1979-10-19 18:36:39 | 1993-12-13 11:55:33 |                 |
|             7 |            9 |        100 | PT                | 1988-06-20 01:13:16 | 2000-06-15 03:03:57 |                 |
|            24 |            9 |         26 | PR                | 1973-02-04 06:53:33 | 2005-10-19 08:53:29 |                 |
|           462 |            9 |         26 | ED                | 1988-08-05 21:55:02 | 1995-03-09 06:54:14 |                 |
|           462 |            9 |         76 | ED                | 2009-08-07 08:26:16 | 1973-09-18 07:39:56 |                 |
|           927 |            9 |          3 | ED                | 1998-09-05 17:52:04 | 2014-05-24 01:12:43 |                 |
|        435463 |            9 |         52 | PT                | 1972-04-24 05:45:56 | 1974-08-02 01:37:15 |                 |
|        461893 |            9 |         67 | HR                | 2000-06-10 21:41:38 | 2007-02-12 17:11:51 |                 |


Question: How many authors do we have?

db_id: cre_Doc_Workflow
tables: name: Staff
data: Staff.csv
name: Ref_Staff_Roles
data: Ref_Staff_Roles.csv
name: Process_Outcomes
data: Process_Outcomes.csv
name: Process_Status
data: Process_Status.csv
name: Authors
data: Authors.csv
name: Documents
data: Documents.csv
name: Business_Processes
data: Business_Processes.csv
name: Documents_Processes
data: Documents_Processes.csv
name: Staff_in_Processes
data: Staff_in_Processes.csv
label: SELECT count(*) FROM Authors
sqlite_path: $MMTU_HOME/data_sqlite/spider/spider_data/test_database/cre_Doc_Workflow/cre_Doc_Workflow.sqlite