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:
| Locale                        | Skip           |   W |   L |   PF |   PA |   Ends Won |   Ends Lost |   Blank Ends |   Stolen Ends |   Shot Pct. |
|:------------------------------|:---------------|----:|----:|-----:|-----:|-----------:|------------:|-------------:|--------------:|------------:|
| newfoundland and labrador     | brad gushue    |   9 |   2 |   78 |   51 |         47 |          37 |           15 |            13 |          85 |
| manitoba                      | jeff stoughton |   9 |   2 |   83 |   41 |         40 |          36 |           18 |             7 |          88 |
| alberta                       | kevin martin   |   9 |   2 |   75 |   52 |         47 |          33 |           11 |            15 |          84 |
| ontario                       | glenn howard   |   8 |   3 |   82 |   39 |         43 |          29 |           21 |            13 |          85 |
| northern ontario              | brad jacobs    |   7 |   4 |   68 |   59 |         47 |          38 |           18 |             9 |          84 |
| nova scotia                   | shawn adams    |   5 |   6 |   71 |   72 |         44 |          42 |            9 |             9 |          82 |
| british columbia              | jim cotter     |   4 |   7 |   58 |   68 |         41 |          47 |           11 |             7 |          77 |
| saskatchewan                  | steve laycock  |   4 |   7 |   59 |   76 |         46 |          48 |           11 |             9 |          77 |
| new brunswick                 | james grattan  |   4 |   7 |   59 |   70 |         43 |          46 |           19 |             6 |          80 |
| quebec                        | françois gagné |   3 |   8 |   74 |   78 |         43 |          49 |           10 |             6 |          78 |
| northwest territories / yukon | jamie koe      |   3 |   8 |   55 |   88 |         38 |          53 |            6 |             5 |          75 |

Question: How many times is the ends lost 49?

table_id: 1-26209210-2
label: SELECT COUNT("L") FROM "table" WHERE "Ends Lost" = 49