Task: NL2SQL (source dataset: bird)

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

Tables:

Table: customers
|   CustomerID | Segment   | Currency   |
|-------------:|:----------|:-----------|
|            3 | SME       | EUR        |
|            5 | LAM       | EUR        |
|            6 | SME       | EUR        |
|            7 | LAM       | EUR        |
|            9 | SME       | EUR        |
|           10 | LAM       | EUR        |
|           20 | KAM       | EUR        |
|           35 | LAM       | EUR        |
|           37 | SME       | EUR        |
|           38 | SME       | EUR        |


Table: gasstations
|   GasStationID |   ChainID | Country   | Segment         |
|---------------:|----------:|:----------|:----------------|
|             44 |        13 | CZE       | Value for money |
|             45 |         6 | CZE       | Premium         |
|             46 |        23 | CZE       | Other           |
|             47 |        33 | CZE       | Premium         |
|             48 |         4 | CZE       | Premium         |
|             49 |        13 | CZE       | Value for money |
|             50 |        10 | CZE       | Other           |
|             51 |        10 | CZE       | Other           |
|             52 |        10 | CZE       | Other           |
|             53 |        10 | CZE       | Other           |


Table: products
|   ProductID | Description   |
|------------:|:--------------|
|           1 | Rucní zadání  |
|           2 | Nafta         |
|           3 | Special       |
|           4 | Super         |
|           5 | Natural       |
|           6 | Mix           |
|           7 | Oleje,tuky    |
|           8 | Natural +     |
|           9 | Diesel +      |
|          10 | Mazadla/Tuky  |


Table: transactions_1k
|   TransactionID | Date       | Time     |   CustomerID |   CardID |   GasStationID |   ProductID |   Amount |   Price |
|----------------:|:-----------|:---------|-------------:|---------:|---------------:|------------:|---------:|--------:|
|               1 | 2012-08-24 | 09:41:00 |        31543 |   486621 |           3704 |           2 |       28 |  672.64 |
|               2 | 2012-08-24 | 10:03:00 |        46707 |   550134 |           3704 |           2 |       18 |  430.72 |
|               3 | 2012-08-24 | 10:03:00 |        46707 |   550134 |           3704 |          23 |        1 |  121.99 |
|               4 | 2012-08-24 | 13:53:00 |         7654 |   684220 |            656 |           5 |        5 |  120.74 |
|               5 | 2012-08-24 | 08:49:00 |        17373 |   536109 |            741 |           2 |       28 |  645.05 |
|               6 | 2012-08-24 | 08:53:00 |         7881 |    99745 |            741 |           5 |        4 |   96.84 |
|               7 | 2012-08-24 | 14:20:00 |        17241 |   571420 |           1152 |           5 |        4 |   81.94 |
|               8 | 2012-08-24 | 14:01:00 |        17320 |   729387 |            636 |          11 |        0 |   21.75 |
|               9 | 2012-08-24 | 14:01:00 |        17320 |   729387 |            636 |           2 |       34 |  771.06 |
|              10 | 2012-08-24 | 14:38:00 |        19111 |   726672 |            636 |           2 |       21 |  477.68 |


Table: yearmonth
|   CustomerID |   Date |   Consumption |
|-------------:|-------:|--------------:|
|            5 | 201207 |        528.3  |
|            5 | 201302 |       1598.28 |
|            5 | 201303 |       1931.36 |
|            5 | 201304 |       1497.14 |
|            6 | 201203 |         51.06 |
|            6 | 201205 |         49.34 |
|            6 | 201207 |         43.67 |
|            6 | 201302 |        294.38 |
|            6 | 201303 |        439.49 |
|            6 | 201304 |        509.39 |


Question: What is the ratio of customers who pay in EUR against customers who pay in CZK?

db_id: debit_card_specializing
tables: name: customers
data: customers.csv
name: gasstations
data: gasstations.csv
name: products
data: products.csv
name: transactions_1k
data: transactions_1k.csv
name: yearmonth
data: yearmonth.csv
label: SELECT CAST(SUM(IIF(Currency = 'EUR', 1, 0)) AS FLOAT) / SUM(IIF(Currency = 'CZK', 1, 0)) AS ratio FROM customers
sqlite_path: $MMTU_HOME/data_sqlite/bird/dev_20240627/dev_databases/debit_card_specializing/debit_card_specializing.sqlite