Task: NL2SQL (source dataset: KaggleDBQA)

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

Tables:

Table: hall_of_fame
| player_id   |   yearid | votedby   |   ballots |   needed |   votes | inducted   | category   | needed_note   |
|:------------|---------:|:----------|----------:|---------:|--------:|:-----------|:-----------|:--------------|
| cobbty01    |     1936 | BBWAA     |       226 |      170 |     222 | Y          | Player     |               |
| ruthba01    |     1936 | BBWAA     |       226 |      170 |     215 | Y          | Player     |               |
| wagneho01   |     1936 | BBWAA     |       226 |      170 |     215 | Y          | Player     |               |
| mathech01   |     1936 | BBWAA     |       226 |      170 |     205 | Y          | Player     |               |
| johnswa01   |     1936 | BBWAA     |       226 |      170 |     189 | Y          | Player     |               |
| lajoina01   |     1936 | BBWAA     |       226 |      170 |     146 | N          | Player     |               |
| speaktr01   |     1936 | BBWAA     |       226 |      170 |     133 | N          | Player     |               |
| youngcy01   |     1936 | BBWAA     |       226 |      170 |     111 | N          | Player     |               |
| hornsro01   |     1936 | BBWAA     |       226 |      170 |     105 | N          | Player     |               |
| cochrmi01   |     1936 | BBWAA     |       226 |      170 |      80 | N          | Player     |               |


Table: player_award
| player_id   | award_id              |   year | league_id   | tie   | notes   |
|:------------|:----------------------|-------:|:------------|:------|:--------|
| bondto01    | Pitching Triple Crown |   1877 | NL          |       |         |
| hinespa01   | Triple Crown          |   1878 | NL          |       |         |
| heckegu01   | Pitching Triple Crown |   1884 | AA          |       |         |
| radboch01   | Pitching Triple Crown |   1884 | NL          |       |         |
| oneilti01   | Triple Crown          |   1887 | AA          |       |         |
| keefeti01   | Pitching Triple Crown |   1888 | NL          |       |         |
| clarkjo01   | Pitching Triple Crown |   1889 | NL          |       |         |
| rusieam01   | Pitching Triple Crown |   1894 | NL          |       |         |
| duffyhu01   | Triple Crown          |   1894 | NL          |       |         |
| youngcy01   | Pitching Triple Crown |   1901 | AL          |       |         |


Table: player_award_vote
| award_id   |   year | league_id   | player_id   |   points_won |   points_max |   votes_first |
|:-----------|-------:|:------------|:------------|-------------:|-------------:|--------------:|
| Cy Young   |   1956 | ML          | fordwh01    |            1 |           16 |             1 |
| Cy Young   |   1956 | ML          | maglisa01   |            4 |           16 |             4 |
| Cy Young   |   1956 | ML          | newcodo01   |           10 |           16 |            10 |
| Cy Young   |   1956 | ML          | spahnwa01   |            1 |           16 |             1 |
| Cy Young   |   1957 | ML          | donovdi01   |            1 |           16 |             1 |
| Cy Young   |   1957 | ML          | spahnwa01   |           15 |           16 |            15 |
| Cy Young   |   1958 | ML          | burdele01   |            3 |           16 |             3 |
| Cy Young   |   1958 | ML          | frienbo01   |            3 |           16 |             3 |
| Cy Young   |   1958 | ML          | spahnwa01   |            4 |           16 |             4 |
| Cy Young   |   1958 | ML          | turlebo01   |            5 |           16 |             5 |


Table: salary
|   year | team_id   | league_id   | player_id   |   salary |
|-------:|:----------|:------------|:------------|---------:|
|   1985 | ATL       | NL          | barkele01   |   870000 |
|   1985 | ATL       | NL          | bedrost01   |   550000 |
|   1985 | ATL       | NL          | benedbr01   |   545000 |
|   1985 | ATL       | NL          | campri01    |   633333 |
|   1985 | ATL       | NL          | ceronri01   |   625000 |
|   1985 | ATL       | NL          | chambch01   |   800000 |
|   1985 | ATL       | NL          | dedmoje01   |   150000 |
|   1985 | ATL       | NL          | forstte01   |   483333 |
|   1985 | ATL       | NL          | garbege01   |   772000 |
|   1985 | ATL       | NL          | harpete01   |   250000 |


Table: player
| player_id   |   birth_year |   birth_month |   birth_day | birth_country   | birth_state   | birth_city   | death_year   | death_month   | death_day   | death_country   | death_state   | death_city      | name_first   | name_last   | name_given       |   weight |
|:------------|-------------:|--------------:|------------:|:----------------|:--------------|:-------------|:-------------|:--------------|:------------|:----------------|:--------------|:----------------|:-------------|:------------|:-----------------|---------:|
| aardsda01   |         1981 |            12 |          27 | USA             | CO            | Denver       |              |               |             |                 |               |                 | David        | Aardsma     | David Allan      |      220 |
| aaronha01   |         1934 |             2 |           5 | USA             | AL            | Mobile       |              |               |             |                 |               |                 | Hank         | Aaron       | Henry Louis      |      180 |
| aaronto01   |         1939 |             8 |           5 | USA             | AL            | Mobile       | 1984.0       | 8.0           | 16.0        | USA             | GA            | Atlanta         | Tommie       | Aaron       | Tommie Lee       |      190 |
| aasedo01    |         1954 |             9 |           8 | USA             | CA            | Orange       |              |               |             |                 |               |                 | Don          | Aase        | Donald William   |      190 |
| abadan01    |         1972 |             8 |          25 | USA             | FL            | Palm Beach   |              |               |             |                 |               |                 | Andy         | Abad        | Fausto Andres    |      184 |
| abadfe01    |         1985 |            12 |          17 | D.R.            | La Romana     | La Romana    |              |               |             |                 |               |                 | Fernando     | Abad        | Fernando Antonio |      220 |
| abadijo01   |         1854 |            11 |           4 | USA             | PA            | Philadelphia | 1905.0       | 5.0           | 17.0        | USA             | NJ            | Pemberton       | John         | Abadie      | John W.          |      192 |
| abbated01   |         1877 |             4 |          15 | USA             | PA            | Latrobe      | 1957.0       | 1.0           | 6.0         | USA             | FL            | Fort Lauderdale | Ed           | Abbaticchio | Edward James     |      170 |
| abbeybe01   |         1869 |            11 |          11 | USA             | VT            | Essex        | 1962.0       | 6.0           | 11.0        | USA             | VT            | Colchester      | Bert         | Abbey       | Bert Wood        |      175 |
| abbeych01   |         1866 |            10 |          14 | USA             | NE            | Falls City   | 1926.0       | 4.0           | 27.0        | USA             | CA            | San Francisco   | Charlie      | Abbey       | Charles S.       |      169 |


Question: How many players weigh over 200 pounds?

db_id: TheHistoryofBaseball
tables: name: hall_of_fame
data: hall_of_fame.csv
name: player_award
data: player_award.csv
name: player_award_vote
data: player_award_vote.csv
name: salary
data: salary.csv
name: player
data: player.csv
label: SELECT count(*) FROM player WHERE weight > 200
sqlite_path: $MMTU_HOME/data_sqlite/KaggleDBQA/databases/TheHistoryofBaseball/TheHistoryofBaseball.sqlite