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

Tables:

Table: Ref_Age_Categories
| age_category_code   | age_category_description   |
|:--------------------|:---------------------------|
| 18-25               | 18 - 25 years old.         |
| Over 60             | Over 60 years of age.      |
| 25-60               | 25 - 60 years old.         |


Table: Ref_Property_Types
|   property_type_code | property_type_description   |
|---------------------:|:----------------------------|
|                    7 | flat                        |
|                    8 | house                       |
|                    2 | apt                         |


Table: Ref_Room_Types
|   room_type_code | room_type_description   |
|-----------------:|:------------------------|
|                2 | living                  |
|                8 | kitchen                 |
|                4 | bath                    |
|                3 | bedroom                 |


Table: Ref_User_Categories
| user_category_code   | user_category_description   |
|:---------------------|:----------------------------|
| Student              | Student                     |
| Senior Citizen       | Senior Citizen              |
| Single Mother        | Single Mother               |


Table: Addresses
|   address_id | line_1_number_building           | line_2_number_street   | line_3_area_locality   | town_city         |   zip_postcode | county_state_province   | country                                      | other_address_details   |
|-------------:|:---------------------------------|:-----------------------|:-----------------------|:------------------|---------------:|:------------------------|:---------------------------------------------|:------------------------|
|            1 | 6207 Marks Trafficway            | Apt. 516               |                        | Port Miafurt      |            349 | Utah                    | United States Minor Outlying Islands         |                         |
|            2 | 518 Dean Village                 | Apt. 261               |                        | New Juliana       |            979 | Maryland                | South Georgia and the South Sandwich Islands |                         |
|            3 | 88324 Medhurst Parkway Suite 832 | Suite 435              |                        | Jaquanmouth       |            937 | RhodeIsland             | Hungary                                      |                         |
|            4 | 44916 Hand Branch                | Apt. 237               |                        | New Augusta       |            385 | Alaska                  | Jersey                                       |                         |
|            5 | 929 Hermiston Vista Suite 955    | Apt. 235               |                        | New Zachariahport |            416 | Louisiana               | Western Sahara                               |                         |
|            6 | 8559 Birdie Mountain             | Suite 515              |                        | East Percivalfurt |            298 | Maryland                | Ethiopia                                     |                         |
|            7 | 0548 Xavier Ridge Apt. 397       | Apt. 802               |                        | South Jakob       |            356 | Oklahoma                | Christmas Island                             |                         |
|            8 | 6355 Maida Shores Suite 839      | Apt. 058               |                        | Lake Ezraborough  |            269 | Nevada                  | Marshall Islands                             |                         |
|            9 | 0182 Schuppe Ferry               | Suite 619              |                        | Mckenzieton       |            595 | Illinois                | Turkey                                       |                         |
|           10 | 80901 Lakin Point                | Apt. 948               |                        | Adityaport        |            684 | Wyoming                 | Aruba                                        |                         |


Table: Features
|   feature_id | feature_name   | feature_description   |
|-------------:|:---------------|:----------------------|
|            1 | kichen         | ea                    |
|            2 | rooftop        | vel                   |
|            3 | garden         | et                    |
|            4 | swimming pool  | id                    |
|            5 | high building  | facere                |


Table: Users
|   user_id | age_category_code   | user_category_code   |   user_address_id | is_buyer   | is_seller   | login_name   | password   | date_registered     | first_name   | middle_name   | last_name   | other_user_details   |
|----------:|:--------------------|:---------------------|------------------:|:-----------|:------------|:-------------|:-----------|:--------------------|:-------------|:--------------|:------------|:---------------------|
|         1 | 18-25               | Senior Citizen       |                 5 | 1          |             | dolor        | a9dc84fe   | 1980-12-28 20:26:12 | Madonna      | Kristoffer    | Jaskolski   |                      |
|         2 | 25-60               | Senior Citizen       |                 6 | 1          |             | et           | 7daed599   | 1985-06-02 00:10:47 | Miguel       | Dovie         | Harber      |                      |
|         3 | Over 60             | Senior Citizen       |                15 | 1          |             | repellat     | 7061d718   | 1977-09-28 23:37:31 | Robbie       | Angelo        | Keeling     |                      |
|         4 | 18-25               | Single Mother        |                 4 | 1          |             | laboriosam   | f78651d8   | 2016-12-01 10:47:14 | Phoebe       | Mike          | Kohler      |                      |
|         5 | Over 60             | Senior Citizen       |                10 |            | 1           | corrupti     | 073f78a2   | 1975-12-17 05:04:32 | Brielle      | Mariane       | Haley       |                      |
|         6 | 18-25               | Senior Citizen       |                14 | 1          |             | omnis        | 6d1ed7a2   | 1999-02-25 13:45:33 | Reggie       | Eulah         | Ernser      |                      |
|         7 | 25-60               | Student              |                 9 | 1          |             | qui          | a44394fb   | 1988-08-11 19:23:27 | Brett        | Jaylon        | Runte       |                      |
|         8 | Over 60             | Senior Citizen       |                 9 |            | 1           | ratione      | 6af1990c   | 2015-07-29 08:52:10 | Porter       | Creola        | Mohr        |                      |
|         9 | Over 60             | Single Mother        |                 1 | 1          |             | ut           | b865e655   | 1993-10-17 04:08:26 | Jameson      | Jaylin        | Rippin      |                      |
|        10 | 18-25               | Single Mother        |                 1 | 1          |             | in           | bdad75c8   | 1980-07-04 17:28:15 | Dane         | Casey         | Fritsch     |                      |


Table: Properties
|   property_id |   property_address_id |   owner_user_id |   property_type_code | date_on_market      | date_off_market     | property_name   | property_description   | garage_yn   | parking_lots   |   room_count |   vendor_requested_price |        price_min |        price_max | other_property_details   |
|--------------:|----------------------:|----------------:|---------------------:|:--------------------|:--------------------|:----------------|:-----------------------|:------------|:---------------|-------------:|-------------------------:|-----------------:|-----------------:|:-------------------------|
|             1 |                     9 |              13 |                    7 | 2015-06-16 01:43:42 | 1978-11-17 22:49:30 | garden          | dolores                | 1           |                |            7 |           2454.68        |      2.08359e+07 |      3.52563e+08 |                          |
|             2 |                     8 |               5 |                    8 | 2014-10-10 10:17:36 | 2006-09-25 06:39:14 | studio          | quis                   |             | 1              |            8 |         409217           |    498.39        |  55837.9         |                          |
|             3 |                     7 |              10 |                    2 | 2011-12-15 01:52:28 | 2017-05-27 20:55:25 | garden          | facere                 | 1           | 1              |            9 |              6.05717e+07 |   3897.55        |   1887           |                          |
|             4 |                    12 |               7 |                    7 | 1971-01-17 04:08:35 | 1971-08-25 01:13:02 | studio          | ut                     |             | 1              |            4 |              3.00991     | 208148           |    227.625       |                          |
|             5 |                     4 |               9 |                    8 | 1996-12-17 20:53:52 | 2000-03-16 23:04:27 | garden          | perspiciatis           | 1           | 1              |            1 |              4.76055e+07 |    335.876       |      0           |                          |
|             6 |                    14 |               6 |                    7 | 1989-04-04 17:34:41 | 1981-08-03 12:46:34 | studio          | dolorum                | 1           |                |            1 |              4.6383e+07  |      0.0866      |      0           |                          |
|             7 |                     2 |               4 |                    8 | 2000-09-08 06:54:00 | 2002-10-13 04:52:26 | park            | earum                  | 1           | 1              |            8 |         428517           |  22130.1         |      0           |                          |
|             8 |                    15 |              13 |                    7 | 2010-09-27 19:19:44 | 1998-08-19 19:29:50 | studio          | ad                     | 1           |                |            3 |              3.0765e+06  |      0           |      7.4         |                          |
|             9 |                     8 |              10 |                    2 | 2002-01-06 18:44:23 | 1978-09-24 13:42:49 | park            | magni                  |             |                |            7 |             19.9175      |      4.07996e+08 | 194724           |                          |
|            10 |                    14 |               2 |                    7 | 1996-10-13 18:04:10 | 1981-02-04 02:00:30 | park            | libero                 |             |                |            8 |              0.158376    |   2855           |      2.73482e+06 |                          |


Table: Property_Features
|   property_id |   feature_id | feature_value   | property_feature_description   |
|--------------:|-------------:|:----------------|:-------------------------------|
|            14 |            3 | temporibus      | est                            |
|             4 |            2 | et              | nam                            |
|             4 |            2 | necessitatibus  | voluptates                     |
|             2 |            2 | quo             | et                             |
|             8 |            3 | fuga            | esse                           |
|             1 |            4 | unde            | ipsam                          |
|             3 |            3 | est             | ratione                        |
|            12 |            2 | aspernatur      | explicabo                      |
|             3 |            3 | voluptas        | omnis                          |
|             3 |            4 | at              | ut                             |


Table: Property_Photos
|   property_id |   photo_seq | photo_title   | photo_description   | photo_filename   |
|--------------:|------------:|:--------------|:--------------------|:-----------------|
|             5 |           0 | front         | reiciendis          | repellat         |
|            15 |       61822 | front         | aut                 | iste             |
|             8 |           0 | front         | officiis            | id               |
|            14 |           0 | back          | in                  | error            |
|            14 |        3961 | back          | eum                 | sed              |
|             9 |           2 | back          | rerum               | ea               |
|             6 |        1591 | kitchen       | iusto               | accusantium      |
|            14 |    42490707 | kitchen       | commodi             | sed              |
|            14 |       13182 | bathroom      | modi                | eos              |
|             9 |          98 | bathroom      | ut                  | corporis         |


Table: Rooms
|   property_id |   room_number |   room_type_code | room_size   | other_room_details   |
|--------------:|--------------:|-----------------:|:------------|:---------------------|
|            14 |             2 |                8 | s           | praesentium          |
|             1 |             1 |                2 | s           | repudiandae          |
|            15 |             7 |                2 | l           | enim                 |
|             4 |             5 |                2 | l           | nemo                 |
|             1 |             8 |                4 | s           | adipisci             |
|            13 |             2 |                4 | m           | quibusdam            |
|             6 |             4 |                2 | m           | eum                  |
|            10 |             9 |                3 | m           | maxime               |
|             6 |             5 |                4 | s           | itaque               |
|             8 |             4 |                4 | m           | qui                  |


Table: User_Property_History
|   user_id |   property_id | datestamp           |
|----------:|--------------:|:--------------------|
|        11 |             2 | 2014-07-18 19:21:51 |
|         2 |             7 | 1992-07-19 19:34:27 |
|         8 |             7 | 2005-11-02 07:47:38 |
|         4 |             9 | 1985-12-16 11:41:27 |
|        15 |            13 | 2018-02-10 21:19:14 |
|         7 |            15 | 2004-02-24 14:27:34 |
|         7 |             8 | 2011-10-08 00:04:34 |
|         8 |             3 | 2014-10-02 05:34:09 |
|        12 |            12 | 1993-08-16 03:26:05 |
|         2 |             4 | 2001-09-05 04:01:41 |


Table: User_Searches
|   user_id |   search_seq | search_datetime     | search_string   |
|----------:|-------------:|:--------------------|:----------------|
|        13 |        50636 | 2014-04-28 20:21:54 | optio           |
|         1 |          203 | 1981-11-21 22:02:12 | assumenda       |
|        11 |         5054 | 1972-04-13 22:48:13 | consequatur     |
|         4 |       923800 | 2007-09-11 14:19:26 | laudantium      |
|         5 |     82475512 | 1981-01-01 16:48:00 | laboriosam      |
|        13 |     24321735 | 1971-04-24 20:18:31 | repellat        |
|        15 |        85717 | 1994-11-07 23:31:00 | maiores         |
|         2 |        45340 | 1989-12-21 19:39:20 | facilis         |
|         4 |        56003 | 2004-04-08 09:29:30 | inventore       |
|         2 |    778216600 | 2015-10-18 18:21:09 | nesciunt        |


Question: What is the first name of the user who owns the greatest number of properties?

db_id: real_estate_rentals
tables: name: Ref_Age_Categories
data: Ref_Age_Categories.csv
name: Ref_Property_Types
data: Ref_Property_Types.csv
name: Ref_Room_Types
data: Ref_Room_Types.csv
name: Ref_User_Categories
data: Ref_User_Categories.csv
name: Addresses
data: Addresses.csv
name: Features
data: Features.csv
name: Users
data: Users.csv
name: Properties
data: Properties.csv
name: Property_Features
data: Property_Features.csv
name: Property_Photos
data: Property_Photos.csv
name: Rooms
data: Rooms.csv
name: User_Property_History
data: User_Property_History.csv
name: User_Searches
data: User_Searches.csv
label: SELECT T1.first_name FROM Users AS T1 JOIN Properties AS T2 ON T2.owner_user_id  =  T1.User_id GROUP BY T1.User_id ORDER BY count(*) DESC LIMIT 1;
sqlite_path: $MMTU_HOME/data_sqlite/spider/spider_data/test_database/real_estate_rentals/real_estate_rentals.sqlite