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

Tables:

Table: betfront
|   YEAR | DATETIME            | COUNTRY   | COMPETION           | MATCH                         |   HOME_OPENING |   DRAW_OPENING |   AWAY_OPENING |   HOME_CLOSING |   DRAW_CLOSING |   AWAY_CLOSING |
|-------:|:--------------------|:----------|:--------------------|:------------------------------|---------------:|---------------:|---------------:|---------------:|---------------:|---------------:|
|   2009 | 2009-02-11 22:30:00 | world     | world-cup-2010      | Malta - Albania               |           6.89 |           3.91 |           1.59 |           6.7  |           3.87 |           1.59 |
|   2009 | 2009-02-11 23:30:00 | world     | world-cup-2010      | San Marino - Northern Ireland |          20.52 |           8.56 |           1.16 |          20.52 |           8.56 |           1.16 |
|   2009 | 2009-02-11 23:45:00 | world     | world-cup-2010      | Ireland - Georgia             |           1.37 |           4.8  |          11.04 |           1.37 |           4.8  |          11.04 |
|   2009 | 2009-02-12 04:15:00 | world     | world-cup-2010      | USA - Mexico                  |           1.84 |           3.37 |           5.08 |           1.98 |           3.25 |           4.61 |
|   2009 | 2009-02-12 06:30:00 | world     | world-cup-2010      | Costa Rica - Honduras         |           1.93 |           3.65 |           4.43 |           1.89 |           3.58 |           4.5  |
|   2009 | 2009-03-06 23:35:00 | ireland   | premier-league-2009 | Dundalk - Bohemians           |           4.74 |           3.54 |           1.85 |           4.35 |           3.44 |           1.96 |
|   2009 | 2009-03-06 23:45:00 | ireland   | premier-league-2009 | Derry City - Drogheda         |           1.59 |           3.74 |           7.35 |           1.59 |           3.84 |           7.3  |
|   2009 | 2009-03-06 23:45:00 | ireland   | premier-league-2009 | St. Patricks - Galway         |           2.02 |           3.08 |           4.24 |           2.09 |           3.27 |           4.03 |
|   2009 | 2009-03-06 23:45:00 | ireland   | premier-league-2009 | Bray - Shamrock               |           3.64 |           3.24 |           2.27 |           3.51 |           3.15 |           2.34 |
|   2009 | 2009-03-08 00:00:00 | ireland   | premier-league-2009 | Sligo - Cork City             |           2.9  |           3.14 |           2.73 |           2.98 |           3.1  |           2.67 |


Table: football_data
| Season    | Datetime            | Div   | Country     | League         | Referee   | HomeTeam    | AwayTeam        |   FTHG |   FTAG | FTR   |   HTHG |   HTAG | HTR   | PSH   | PSD   | PSA   | B365H   | B365D   | B365A   | LBH   | LBD   | LBA   | BWH   | BWD   | BWA   |
|:----------|:--------------------|:------|:------------|:---------------|:----------|:------------|:----------------|-------:|-------:|:------|-------:|-------:|:------|:------|:------|:------|:--------|:--------|:--------|:------|:------|:------|:------|:------|:------|
| 2020/2021 | 2020-08-04 03:00:00 | MEX   | Mexico      | Liga MX        |           | Club Leon   | Monterrey       |      1 |      0 | H     |     -1 |     -1 |       |       |       |       |         |         |         |       |       |       |       |       |       |
| 2020/2021 | 2020-08-04 01:00:00 | MEX   | Mexico      | Liga MX        |           | Atlas       | U.N.A.M.- Pumas |      1 |      2 | A     |     -1 |     -1 |       |       |       |       |         |         |         |       |       |       |       |       |       |
| 2020/2021 | 2020-08-03 19:45:00 | SC0   | Scotland    | Premier League | N Walsh   | Ross County | Motherwell      |      1 |      0 | H     |      1 |      0 | H     | 3.32  | 3.54  | 2.19  | 3.2     | 3.4     | 2.2     |       |       |       | 3.25  | 3.4   | 2.15  |
| 2019/2020 | 2020-08-03 19:30:00 | SWZ   | Switzerland | Super League   |           | Basel       | Luzern          |      0 |      0 | D     |     -1 |     -1 |       |       |       |       |         |         |         |       |       |       |       |       |       |
| 2019/2020 | 2020-08-03 19:30:00 | SWZ   | Switzerland | Super League   |           | Servette    | Sion            |      1 |      2 | A     |     -1 |     -1 |       |       |       |       |         |         |         |       |       |       |       |       |       |
| 2019/2020 | 2020-08-03 19:30:00 | SWZ   | Switzerland | Super League   |           | Xamax       | Lugano          |      0 |      1 | A     |     -1 |     -1 |       |       |       |       |         |         |         |       |       |       |       |       |       |
| 2019/2020 | 2020-08-03 19:30:00 | SWZ   | Switzerland | Super League   |           | Young Boys  | St. Gallen      |      3 |      1 | H     |     -1 |     -1 |       |       |       |       |         |         |         |       |       |       |       |       |       |
| 2019/2020 | 2020-08-03 19:30:00 | SWZ   | Switzerland | Super League   |           | Zurich      | Thun            |      3 |      3 | D     |     -1 |     -1 |       |       |       |       |         |         |         |       |       |       |       |       |       |
| 2019/2020 | 2020-08-03 18:30:00 | ROU   | Romania     | Liga 1         |           | U Craiova   | CFR Cluj        |      1 |      3 | A     |     -1 |     -1 |       |       |       |       |         |         |         |       |       |       |       |       |       |
| 2020      | 2020-08-03 18:00:00 | SWE   | Sweden      | Allsvenskan    |           | Norrkoping  | Mjallby         |      1 |      1 | D     |     -1 |     -1 |       |       |       |       |         |         |         |       |       |       |       |       |       |


Question: How many matches did Bet365 gives higher home win odds than Pinnacle?

db_id: WorldSoccerDataBase
tables: name: betfront
data: betfront.csv
name: football_data
data: football_data.csv
label: SELECT count(*) FROM football_data WHERE B365H > PSH
sqlite_path: $MMTU_HOME/data_sqlite/KaggleDBQA/databases/WorldSoccerDataBase/WorldSoccerDataBase.sqlite