sentence1 stringlengths 223 9.31k | labels stringclasses 6
values | metadata stringlengths 207 261 |
|---|---|---|
Question: What are the names of the counties of public safety, ordered by population descending?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Resi... | none | {"database_id": "county_public_safety", "id": "f0345764a406b2bbe929813f71596fa2947d3a75d945886f52bb20221c3759fd", "query_sha256": "6ae1e20b21e42a84381f4a6d9df840a671dcbb35f70b9b7af6c347af631f3055", "split_group_id": "county_public_safety"} |
Question: List the distinct police forces of counties whose location is not on east side.
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_p... | none | {"database_id": "county_public_safety", "id": "57ad51ead71d538d99e415346c0ca94bffe5ad1aae1f6a337bdf557a129ec677", "query_sha256": "6f45f81343e80c8d4c07a9e2ef0a34b866887972d6ed1685e9bafb9a7868e6d1", "split_group_id": "county_public_safety"} |
Question: What are the different police forces of counties that are not located in the East?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Resident... | none | {"database_id": "county_public_safety", "id": "2f813a811ee4a8b33fd98cc68ca333c562ab8cbfb3e022007b2fe7501a597b45", "query_sha256": "6f45f81343e80c8d4c07a9e2ef0a34b866887972d6ed1685e9bafb9a7868e6d1", "split_group_id": "county_public_safety"} |
Question: Show the crime rates of counties in ascending order of number of police officers.
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents... | none | {"database_id": "county_public_safety", "id": "08361cd052469f18aac17a3209a78d65ff97c3466f7a495c16271621fc9f5a9f", "query_sha256": "a20b0fb4e4a2d4da292a35b08fd7c2b8108ab96d6b592ded728d16a204143cbb", "split_group_id": "county_public_safety"} |
Question: What are the crime rates of counties sorted by number of offices ascending?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per_o... | none | {"database_id": "county_public_safety", "id": "23a883cf96d755a2dd77e9aa60d785e2c3a6333ccb4d4e751f4b3f3d22abf791", "query_sha256": "a20b0fb4e4a2d4da292a35b08fd7c2b8108ab96d6b592ded728d16a204143cbb", "split_group_id": "county_public_safety"} |
Question: What are the names of cities in ascending alphabetical order?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per_officer (number... | none | {"database_id": "county_public_safety", "id": "cb764f4c6afbc0a1d7dd0ff2d931e608fccf0d62aa7ce631fec54620258559e0", "query_sha256": "84cf4285387d905cfbdfce969dd2fbe6c66ea55d13e69b347b294261d10b4624", "split_group_id": "county_public_safety"} |
Question: Return the names of cities, ordered alphabetically.
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per_officer (number)
county_p... | none | {"database_id": "county_public_safety", "id": "fa2ebec6d964fc1455f7c993efac40a9b28515242f9affa3807520c82fac2e46", "query_sha256": "84cf4285387d905cfbdfce969dd2fbe6c66ea55d13e69b347b294261d10b4624", "split_group_id": "county_public_safety"} |
Question: What are the percentage of hispanics in cities with the black percentage higher than 10?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Re... | none | {"database_id": "county_public_safety", "id": "2e743948a00b3569e7241096ac690bc78952efd717717e4492abcd82f9ed34cb", "query_sha256": "00c2a3e11bfccacca66fd479c9f91ff9282d98ecad9d5d48a5e5491f0a3067aa", "split_group_id": "county_public_safety"} |
Question: Return the hispanic percentage for cities in which the black percentage is greater than 10.
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety... | none | {"database_id": "county_public_safety", "id": "c20714d96827cbfe1a88f26aa4352eb4fb65cf7337502147635882e2b9104bcb", "query_sha256": "00c2a3e11bfccacca66fd479c9f91ff9282d98ecad9d5d48a5e5491f0a3067aa", "split_group_id": "county_public_safety"} |
Question: List the name of the county with the largest population.
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per_officer (number)
cou... | none | {"database_id": "county_public_safety", "id": "8a428227bed00c69761fd782385cbe7d93c3d1f70812512b789ff8f0799badc3", "query_sha256": "796e1662e8856669d4d8977ede2ea6cc899b658d932cc499f6f63d8c06d1d073", "split_group_id": "county_public_safety"} |
Question: What is the name of the county with the greatest population?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per_officer (number)... | none | {"database_id": "county_public_safety", "id": "1a925c798ad45536570ff0a491a2e078b8d74147996d42f4f9945e3d25ea94c4", "query_sha256": "796e1662e8856669d4d8977ede2ea6cc899b658d932cc499f6f63d8c06d1d073", "split_group_id": "county_public_safety"} |
Question: List the names of the city with the top 5 white percentages.
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per_officer (number)... | none | {"database_id": "county_public_safety", "id": "10106fab018974a800c9ad2defd213a82f8b287e05500be6e904b093e750a27a", "query_sha256": "48fab4c54ac76785acfc6d3c0c674311d1c8c016783e4073af8a2471e55ac395", "split_group_id": "county_public_safety"} |
Question: What are the names of the five cities with the greatest proportion of white people?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residen... | none | {"database_id": "county_public_safety", "id": "3b9419d44ea45501f698ac0a96ccfba0fb354ccd204fa89de55f5eedf85df4c5", "query_sha256": "48fab4c54ac76785acfc6d3c0c674311d1c8c016783e4073af8a2471e55ac395", "split_group_id": "county_public_safety"} |
Question: Show the name of cities in the county that has the largest number of police officers.
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Resid... | none | {"database_id": "county_public_safety", "id": "27d8a4e93b78bad9810eb60fc32682d15971add3fbc6959983b7292c9a4c572a", "query_sha256": "4a6f1f8e42f133c3adbc3e32890b8f1a6ece2f1c53b1a2a6d7b06d7e60244565", "split_group_id": "county_public_safety"} |
Question: What are the names of cities that are in the county with the most police officers?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Resident... | none | {"database_id": "county_public_safety", "id": "e5a77b4a93e741461483e8f36e16e9fa7f217f6c78a13cf06a2213cf48f7abf9", "query_sha256": "4a6f1f8e42f133c3adbc3e32890b8f1a6ece2f1c53b1a2a6d7b06d7e60244565", "split_group_id": "county_public_safety"} |
Question: Show the number of cities in counties that have a population more than 20000.
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per... | count | {"database_id": "county_public_safety", "id": "4ff9a9549728e43f9c6158fd2d604059a13743e7eac5966f4dfddcdd1f72f19b", "query_sha256": "40d308f5389735e46935e359a9d75e51b81cf5084e79387aa0b974e4bfad1b0b", "split_group_id": "county_public_safety"} |
Question: How many cities are in counties that have populations of over 20000?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per_officer ... | count | {"database_id": "county_public_safety", "id": "7b3b344ff169772e3734f194d8298121d1c6ce401a81482d8765322efa37a141", "query_sha256": "40d308f5389735e46935e359a9d75e51b81cf5084e79387aa0b974e4bfad1b0b", "split_group_id": "county_public_safety"} |
Question: Show the crime rate of counties with a city having white percentage more than 90.
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents... | none | {"database_id": "county_public_safety", "id": "e5f3e3e4aa5328ceeb3c30b5728d45b9fe5dfbe6b393c6ca2d33f05cbdd2cf9f", "query_sha256": "9ca8f31e02db7451470cec9fb6039b2cde0a1de8455b863110c64813eb294369", "split_group_id": "county_public_safety"} |
Question: What are the crime rates of counties that contain cities that have white percentages of over 90?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_s... | none | {"database_id": "county_public_safety", "id": "5dc4504205be40d47b9f2f70cff84f028dbc2cb4e79b6cd269e1b8d1ec4049fd", "query_sha256": "9ca8f31e02db7451470cec9fb6039b2cde0a1de8455b863110c64813eb294369", "split_group_id": "county_public_safety"} |
Question: What is the location shared by most counties?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per_officer (number)
county_public_... | none | {"database_id": "county_public_safety", "id": "289e22e6b263f9138ff0b785dd10462f007c5b8c078c8189b42fb2e9922ea6a8", "query_sha256": "562accb87b54e3b5ed9f891342c39f8f3191279009824fdd3168051cabab3a99", "split_group_id": "county_public_safety"} |
Question: Which location has the most corresponding counties?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per_officer (number)
county_p... | none | {"database_id": "county_public_safety", "id": "8463f2d9ba97d451a4b9cec67e12b6e6d58af7b3b454a6a2eaedba0387bb879c", "query_sha256": "562accb87b54e3b5ed9f891342c39f8f3191279009824fdd3168051cabab3a99", "split_group_id": "county_public_safety"} |
Question: List the names of counties that do not have any cities.
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per_officer (number)
coun... | none | {"database_id": "county_public_safety", "id": "247a8f39fbf41499ed8f8072b428ac2f25c8136f193f7d4a49d297c9dc1b44b8", "query_sha256": "e47b4d141ae68836a4a3ef1476027717adb0408ebb20b2e52b3e6c99368978d8", "split_group_id": "county_public_safety"} |
Question: What are the names of counties that do not contain any cities?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per_officer (numbe... | none | {"database_id": "county_public_safety", "id": "fc92f87e090581991e0bd8a4a50146014351f6d1c9bade8c447be5c84b8d33f2", "query_sha256": "e47b4d141ae68836a4a3ef1476027717adb0408ebb20b2e52b3e6c99368978d8", "split_group_id": "county_public_safety"} |
Question: Show the names of cities in counties that have a crime rate less than 100.
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per_of... | none | {"database_id": "county_public_safety", "id": "48410d614bc1f7972124d9a99b658aa712664b6e7503a2f9fb7b43a5840a425e", "query_sha256": "7dbd9b665d5e8033d99de4240e4cd61efd41f0c3c85846646b6811093f18f18e", "split_group_id": "county_public_safety"} |
Question: What are the names of cities that are in counties that have a crime rate below 100?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residen... | none | {"database_id": "county_public_safety", "id": "95068c0585c434b45bd93efe905d2ee6979012163bdf59b3ab4bdd8231177067", "query_sha256": "7dbd9b665d5e8033d99de4240e4cd61efd41f0c3c85846646b6811093f18f18e", "split_group_id": "county_public_safety"} |
Question: Show the case burden of counties in descending order of population.
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per_officer (... | none | {"database_id": "county_public_safety", "id": "70ccfef02c7f54ff469c6fb93df62b64d3cc349d867e9773bd5c5125f3f91705", "query_sha256": "8a23dd2be938ff8e50f6d081cec6709a8b72026cb01c09d68d3080bd4d35c107", "split_group_id": "county_public_safety"} |
Question: What are the case burdens of counties, ordered descending by population?
Database columns:
all rows (*) (text)
county_public_safety.County_ID (number)
county_public_safety.Name (text)
county_public_safety.Population (number)
county_public_safety.Police_officers (number)
county_public_safety.Residents_per_offi... | none | {"database_id": "county_public_safety", "id": "f45433b2be01d51ae7f9a8dfd1bde128d781fc1ffb0eb1a8d0a0edc3eb2bca17", "query_sha256": "8a23dd2be938ff8e50f6d081cec6709a8b72026cb01c09d68d3080bd4d35c107", "split_group_id": "county_public_safety"} |
Question: Find the names of all modern rooms with a base price below $160 and two beds.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations... | none | {"database_id": "inn_1", "id": "21cd64760f26ad643d145108ae74d3584f2201f48c9c81addb9b808a2e5011c4", "query_sha256": "60f12a50c957f72dbe514c52495a798914ce95feba193fe0d3ea1946147a4318", "split_group_id": "inn_1"} |
Question: What are the names of modern rooms that have a base price lower than $160 and two beds.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Re... | none | {"database_id": "inn_1", "id": "6ad809890253b54c17190c69d79b7dba7c5be4e321b4f864916036c2c154b322", "query_sha256": "60f12a50c957f72dbe514c52495a798914ce95feba193fe0d3ea1946147a4318", "split_group_id": "inn_1"} |
Question: Find the most popular room in the hotel. The most popular room is the room that had seen the largest number of reservations.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor... | none | {"database_id": "inn_1", "id": "8e057d3f9aa19ccb6abc99ea5fb1b9c25c325c5bb2968eb61b6ee14bdf6337a7", "query_sha256": "5baa160e60046161afc1d3c1d08b8ad36adbf0968beae891d129906bc1a7d68d", "split_group_id": "inn_1"} |
Question: Which room has the largest number of reservations?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservations.C... | none | {"database_id": "inn_1", "id": "1b3676d12ce49826a97cf5fbef84c406db648b4af11cdd91fca2b3e48b933ca6", "query_sha256": "5baa160e60046161afc1d3c1d08b8ad36adbf0968beae891d129906bc1a7d68d", "split_group_id": "inn_1"} |
Question: How many kids stay in the rooms reserved by ROY SWEAZY?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservati... | none | {"database_id": "inn_1", "id": "47446824d3d5cdc0e23496aa7629231636d5c29cf28930ef78f328714fbb3ad4", "query_sha256": "d3e0319cb18530e6a065ed3e92623cabadee1a4e6a14c70d106d24e6ddca2d48", "split_group_id": "inn_1"} |
Question: Find the number of kids staying in the rooms reserved by a person called ROY SWEAZ.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reserv... | none | {"database_id": "inn_1", "id": "4796b311943f315a40baafc0c764c6bce00927848fe174662dfba06de3cd3290", "query_sha256": "d3e0319cb18530e6a065ed3e92623cabadee1a4e6a14c70d106d24e6ddca2d48", "split_group_id": "inn_1"} |
Question: How many times does ROY SWEAZY has reserved a room.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservations.... | count | {"database_id": "inn_1", "id": "2e063512b74a2535351571c1b4083440b3b9ff5dc95a8c02125be1c9f082df8e", "query_sha256": "91bd6a5ecf27a1acd0eeb240bc26d6ee890fe34bced6dc0ede2a24ab65241ac9", "split_group_id": "inn_1"} |
Question: Find the number of times ROY SWEAZY has reserved a room.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservat... | count | {"database_id": "inn_1", "id": "0096a4fca68352cbce10812872b575b3cea0e28419b8c5bb329b8d577ff4dec7", "query_sha256": "91bd6a5ecf27a1acd0eeb240bc26d6ee890fe34bced6dc0ede2a24ab65241ac9", "split_group_id": "inn_1"} |
Question: How many adults stay in the room CONRAD SELBIG checked in on Oct 23, 2010?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Ro... | none | {"database_id": "inn_1", "id": "69e7aa794d1ed28aa1af268b0cf81f9f03e17625c499a6c68ceef49cb36059f1", "query_sha256": "741d723127b8e0af1d0c25f9dbb3daa7989e75ff90c7fc22acf560ac68c17f4a", "split_group_id": "inn_1"} |
Question: Find the number of adults for the room reserved and checked in by CONRAD SELBIG on Oct 23, 2010.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (n... | none | {"database_id": "inn_1", "id": "18feb3222f96b2825beb496239dbaa4fadc96a72c7e8d296f2b97bdb88156bfe", "query_sha256": "741d723127b8e0af1d0c25f9dbb3daa7989e75ff90c7fc22acf560ac68c17f4a", "split_group_id": "inn_1"} |
Question: How many kids stay in the room DAMIEN TRACHSEL checked in on Sep 21, 2010?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Ro... | none | {"database_id": "inn_1", "id": "3cf0bf6ad4ce34f58d70daf01bae2ee18369430fd750b6e93fc34d2fb7ce5ad5", "query_sha256": "402420807568a46ab5f5865d50f4577439934ded1c3ce915d9c6f0285385b754", "split_group_id": "inn_1"} |
Question: Return the number of kids for the room reserved and checked in by DAMIEN TRACHSEL on Sep 21, 2010.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code... | none | {"database_id": "inn_1", "id": "4c61ba0d317f9eaef5f23f3199f53301321fd4c172dcfa0a4b43acfe171716db", "query_sha256": "402420807568a46ab5f5865d50f4577439934ded1c3ce915d9c6f0285385b754", "split_group_id": "inn_1"} |
Question: How many king beds are there?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservations.CheckIn (text)
Reserva... | sum | {"database_id": "inn_1", "id": "6b523272c89c8cc666a8a0761eeefb3064f7713ab24ba6c132c74bb6747e2dd2", "query_sha256": "e9bb7351b24b0784487e017e7a19a8ccc4939eb01cf091e357aa5d49b9cabf19", "split_group_id": "inn_1"} |
Question: Find the total number of king beds available.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservations.CheckI... | sum | {"database_id": "inn_1", "id": "72ecfc9b564b93352a183db9ee9d414a8c35f2d23b214d4b9110cfbbba320454", "query_sha256": "e9bb7351b24b0784487e017e7a19a8ccc4939eb01cf091e357aa5d49b9cabf19", "split_group_id": "inn_1"} |
Question: What is the decor of room Recluse and defiance?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservations.Chec... | none | {"database_id": "inn_1", "id": "8c684e85a0e224f7c6284dc0e2af28b9f217e674b9d00efa9bcb7ad7b8b01b5e", "query_sha256": "7667fac6b73b11c3a36f2a8d672541f103ccdbdc23bcd61065f210a905e7d80f", "split_group_id": "inn_1"} |
Question: Return the decor of the room named "Recluse and defiance".
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reserv... | none | {"database_id": "inn_1", "id": "3539cdd4fbc27a340bb148a7d2c8db1f52173ae63725869992fa052a25076a6d", "query_sha256": "7667fac6b73b11c3a36f2a8d672541f103ccdbdc23bcd61065f210a905e7d80f", "split_group_id": "inn_1"} |
Question: What is the total number of people who could stay in the modern rooms in this inn?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reserva... | sum | {"database_id": "inn_1", "id": "bcde459b7927c71ca48d65507c1bf0f6d26edcebfd7fd2d8d570f91162bc6645", "query_sha256": "45929720257e20b26a4874eff7a1815a23322b78de0a5a7b0f8c0475b4baecb5", "split_group_id": "inn_1"} |
Question: How many people in total can stay in the modern rooms of this inn?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text... | sum | {"database_id": "inn_1", "id": "3f73196fb63caf8602d4955375ddfb820c1bc0a57b78b25c983e8f8c5193df31", "query_sha256": "45929720257e20b26a4874eff7a1815a23322b78de0a5a7b0f8c0475b4baecb5", "split_group_id": "inn_1"} |
Question: What kind of decor has the least number of reservations?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservat... | none | {"database_id": "inn_1", "id": "cc83adeb8b7a6d2bf459c7a5a5c8a9d30d8d53c7c304e903017d59cb788f34ae", "query_sha256": "9c9f96e70a71054b3d272d4459887c421d1a51f8b4593c985b1c157ac5100b62", "split_group_id": "inn_1"} |
Question: What is the least popular kind of decor?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservations.CheckIn (te... | none | {"database_id": "inn_1", "id": "c323fbc9c943236816a4bcc530dc04168acb8bb9fac887b36b26780e69b588e7", "query_sha256": "9c9f96e70a71054b3d272d4459887c421d1a51f8b4593c985b1c157ac5100b62", "split_group_id": "inn_1"} |
Question: List how many times the number of people in the room reached the maximum occupancy of the room. The number of people include adults and kids.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (nu... | count | {"database_id": "inn_1", "id": "ef8b2dcc6a5e23b7f6006c77b42e79fef1014284d9c563465b7c9356de465994", "query_sha256": "b797ab9ef89b3e4eb4888fe214ec38d95f2b09155344625e812fcd62edcf9b2e", "split_group_id": "inn_1"} |
Question: How many times the number of adults and kids staying in a room reached the maximum capacity of the room?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations... | count | {"database_id": "inn_1", "id": "242d51373a1601f5ab832a84897248cfdd844025556c871920e56166102b2362", "query_sha256": "b797ab9ef89b3e4eb4888fe214ec38d95f2b09155344625e812fcd62edcf9b2e", "split_group_id": "inn_1"} |
Question: How many rooms are there?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservations.CheckIn (text)
Reservation... | count | {"database_id": "inn_1", "id": "5e261d330b31729097a35e3688db228219f9c680f87e876e2f000b2c9d1f418e", "query_sha256": "26cf096c7b8211010858ef3cc2aabd13d6a08c91a0fa68b9dde5114bde94d137", "split_group_id": "inn_1"} |
Question: What is the total number of rooms available in this inn?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservat... | count | {"database_id": "inn_1", "id": "3ec3302c321efab15d8b91b9ec4504b571ccb318f6741aa17a96d1024bb5e2ba", "query_sha256": "26cf096c7b8211010858ef3cc2aabd13d6a08c91a0fa68b9dde5114bde94d137", "split_group_id": "inn_1"} |
Question: Find the number of rooms with a king bed.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservations.CheckIn (t... | count | {"database_id": "inn_1", "id": "7529b97bc2a75c6320d15a1ad3276578e45c4203b6f7ca4fba722599188081a6", "query_sha256": "ee9519f708d156a36153754b468bde3c83f51c89d3b8092c2c3dcf8d85fd1579", "split_group_id": "inn_1"} |
Question: How many rooms have a king bed?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservations.CheckIn (text)
Reser... | count | {"database_id": "inn_1", "id": "0738589a296f91656e998fc7eb8ae56f8134a7492cbe26203f4760dba413024f", "query_sha256": "ee9519f708d156a36153754b468bde3c83f51c89d3b8092c2c3dcf8d85fd1579", "split_group_id": "inn_1"} |
Question: Find the name of the room with the maximum occupancy.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservation... | none | {"database_id": "inn_1", "id": "7af42eb87e8bce1121a5aaf12c8418777a061cfd0eadb69506deab2f46b63f30", "query_sha256": "59c7305de5015110b96b9dfecf290418f7a4156f580fb51e2d7cc9cbff7affae", "split_group_id": "inn_1"} |
Question: What is the name of the room that can accommodate the most people?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text... | none | {"database_id": "inn_1", "id": "6d32111c2d14ce7b434949a80e6bb60ee0e54f9a0b04b771e2342a83b7fe5f0d", "query_sha256": "59c7305de5015110b96b9dfecf290418f7a4156f580fb51e2d7cc9cbff7affae", "split_group_id": "inn_1"} |
Question: List the name of all rooms sorted by their prices.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservations.C... | none | {"database_id": "inn_1", "id": "4186b293e857a918cdd4e788fab0c21203adc1d96b6188f6e1e76fde6f50160f", "query_sha256": "0be3d5455d1da62c8069d115cd78e4a35537cc1f02ced7b0105109cf62da211e", "split_group_id": "inn_1"} |
Question: Sort all the rooms according to the price. Just report the room names.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (... | none | {"database_id": "inn_1", "id": "9bf55f2b7cac74d2b5368870393c96c78f1793980d42b6d719f3a40274252d2b", "query_sha256": "0be3d5455d1da62c8069d115cd78e4a35537cc1f02ced7b0105109cf62da211e", "split_group_id": "inn_1"} |
Question: List the name of rooms with king or queen bed.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservations.Check... | none | {"database_id": "inn_1", "id": "d5d309feb47ff7f85fafc7ce4a60716f6d316a00083222717aea4f2f448b8d84", "query_sha256": "67306eaaef4a061fe3af0cfc65ec272e11f14afe9ffa45faddd37c4c697751a4", "split_group_id": "inn_1"} |
Question: What are the names of rooms that have either king or queen bed?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
R... | none | {"database_id": "inn_1", "id": "e0549f17f5439a17cc35e96544b76112cc1cbf9f239028d077dbd0747548943a", "query_sha256": "67306eaaef4a061fe3af0cfc65ec272e11f14afe9ffa45faddd37c4c697751a4", "split_group_id": "inn_1"} |
Question: How many different types of beds are there?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservations.CheckIn ... | count | {"database_id": "inn_1", "id": "40cbd395130bc2e3058632b2f6d5c226ecc45ad0843c02cadb966b521bc130ab", "query_sha256": "3d82d59da0ba2cf4609c968dedf56716b4ae9cb330cc293e85c663980152a6a7", "split_group_id": "inn_1"} |
Question: Find the number of distinct bed types available in this inn.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Rese... | count | {"database_id": "inn_1", "id": "f7fba7714c02aa3e63246cabc89119a4fecb5a9cff9adba6d13bd4f6445233f7", "query_sha256": "3d82d59da0ba2cf4609c968dedf56716b4ae9cb330cc293e85c663980152a6a7", "split_group_id": "inn_1"} |
Question: Find the name of rooms whose price is higher than the average price.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (te... | none | {"database_id": "inn_1", "id": "5222c21b82440a499d64a3d255f8584b70bbd679787f0a4a2a30b533f31aa784", "query_sha256": "8f942fea49c22e7bca01268b528fd252d8f3db4af21f877e6360fe8f914729a5", "split_group_id": "inn_1"} |
Question: What are the name of rooms that cost more than the average.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reser... | none | {"database_id": "inn_1", "id": "f13e6dbc65d92e13fb8c0fe1f744f69508515a8f5d126019e8bce1beb6507699", "query_sha256": "8f942fea49c22e7bca01268b528fd252d8f3db4af21f877e6360fe8f914729a5", "split_group_id": "inn_1"} |
Question: Find the number of rooms that do not have any reservation.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reserv... | count | {"database_id": "inn_1", "id": "01bb0ce5e912a8309a5c11448fd1e326ed257d98abac8b7a9c1eaafbb79a29d5", "query_sha256": "5f2026fb6525bc51ee0df2e54aa4ac0005ead5a8a6afa4d4686380bdc28ca761", "split_group_id": "inn_1"} |
Question: How many rooms have not had any reservation yet?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Reservations.Che... | count | {"database_id": "inn_1", "id": "f9aff2783c86e378e93fc8a65cf53137ed535f0972ed49e6201f7c00ee72f52c", "query_sha256": "5f2026fb6525bc51ee0df2e54aa4ac0005ead5a8a6afa4d4686380bdc28ca761", "split_group_id": "inn_1"} |
Question: Find the names of rooms that have been reserved for more than 60 times.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room ... | none | {"database_id": "inn_1", "id": "1539d3362493ebd5f23fecdda65686d37e11d47d083570586630bf837d814ddb", "query_sha256": "ff749993cc1a1ab62d5d5f81718349702d653a55f85dfd9af4179e3d4cc3d124", "split_group_id": "inn_1"} |
Question: What are the names of rooms whose reservation frequency exceeds 60 times?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Roo... | none | {"database_id": "inn_1", "id": "27e216e4b308fa405b0cb538be88ba7249c9cd60af131ebe87a19b8d18f9b247", "query_sha256": "ff749993cc1a1ab62d5d5f81718349702d653a55f85dfd9af4179e3d4cc3d124", "split_group_id": "inn_1"} |
Question: Find the name of rooms whose base price is between 120 and 150.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
R... | none | {"database_id": "inn_1", "id": "c878d94b5abb7db220d43704ec737fc2c0f530832813b57e416544abcbab0e03", "query_sha256": "e386ed4d0ac79202d6352ca661dc3a7baecea7049eb0001a87fe0a4453614451", "split_group_id": "inn_1"} |
Question: Which rooms cost between 120 and 150? Give me the room names.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservations.Room (text)
Res... | none | {"database_id": "inn_1", "id": "235602ca802646f755da1f290278d3d0a190c4b7840da0d7a5544335a1f3ceeb", "query_sha256": "e386ed4d0ac79202d6352ca661dc3a7baecea7049eb0001a87fe0a4453614451", "split_group_id": "inn_1"} |
Question: Find the name of rooms booked by some customers whose first name contains ROY.
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reservation... | none | {"database_id": "inn_1", "id": "21b2526593273b05759e6096b5b4e0b40941593b282672de005cb3b631b9fddd", "query_sha256": "5379d85f04e6e99f14746df78fffa7b9e4fe9b760234b4fa9c5ddf0ed7a0666f", "split_group_id": "inn_1"} |
Question: What are the name of rooms booked by customers whose first name has "ROY" in part?
Database columns:
all rows (*) (text)
Rooms.RoomId (text)
Rooms.roomName (text)
Rooms.beds (number)
Rooms.bedType (text)
Rooms.maxOccupancy (number)
Rooms.basePrice (number)
Rooms.decor (text)
Reservations.Code (number)
Reserva... | none | {"database_id": "inn_1", "id": "0740d987c9e6b74a8d45c9b9f0f229e1ec2ef14db087ac0975af769cd72c1985", "query_sha256": "5379d85f04e6e99f14746df78fffa7b9e4fe9b760234b4fa9c5ddf0ed7a0666f", "split_group_id": "inn_1"} |
Question: what are the details of the cmi masters that have the cross reference code 'Tax'?
Database columns:
all rows (*) (text)
Customer_Master_Index.master_customer_id (number)
Customer_Master_Index.cmi_details (text)
CMI_Cross_References.cmi_cross_ref_id (number)
CMI_Cross_References.master_customer_id (number)
CMI... | none | {"database_id": "local_govt_mdm", "id": "d23c1a821ffeb850934e7327ba4978a6037b92679e46c4442957dad28af54777", "query_sha256": "b84ddd654d1c8161f4133f6df864457e752947f15b8b0f860654cb72f039451f", "split_group_id": "local_govt_mdm"} |
Question: What are the renting arrears tax ids related to the customer master index whose detail is not 'Schmidt, Kertzmann and Lubowitz'?
Database columns:
all rows (*) (text)
Customer_Master_Index.master_customer_id (number)
Customer_Master_Index.cmi_details (text)
CMI_Cross_References.cmi_cross_ref_id (number)
CMI_C... | none | {"database_id": "local_govt_mdm", "id": "2ba9959ec80562a9082126acd3daaed3494dce6f397c5e5b1a412374a212da25", "query_sha256": "a70fb8ce3790bd75d02dadc6bf22ea352b614a3b059ddbfca2c761048bb4ec20", "split_group_id": "local_govt_mdm"} |
Question: What are the register ids of electoral registries that have the cross reference source system code 'Electoral' or 'Tax'?
Database columns:
all rows (*) (text)
Customer_Master_Index.master_customer_id (number)
Customer_Master_Index.cmi_details (text)
CMI_Cross_References.cmi_cross_ref_id (number)
CMI_Cross_Ref... | none | {"database_id": "local_govt_mdm", "id": "c17a1ddfbbb1916b524569c471d438e4fef1e075cd25213538cf32212f7ddef6", "query_sha256": "f5be08c9a60a33a80a24aa3ed1d2bc6b0f03a044ea0429e92442e20a59de02b0", "split_group_id": "local_govt_mdm"} |
Question: How many different source system code for the cmi cross references are there?
Database columns:
all rows (*) (text)
Customer_Master_Index.master_customer_id (number)
Customer_Master_Index.cmi_details (text)
CMI_Cross_References.cmi_cross_ref_id (number)
CMI_Cross_References.master_customer_id (number)
CMI_Cro... | count | {"database_id": "local_govt_mdm", "id": "039cb729481337aa6f070fd786322303be59a09bbcc4dcc828b669e32e51c0c2", "query_sha256": "867e61c46dfd83a5149effc0d30d012237e66f737dff509f30894569c6b10492", "split_group_id": "local_govt_mdm"} |
Question: List all information about customer master index, and sort them by details in descending order.
Database columns:
all rows (*) (text)
Customer_Master_Index.master_customer_id (number)
Customer_Master_Index.cmi_details (text)
CMI_Cross_References.cmi_cross_ref_id (number)
CMI_Cross_References.master_customer_i... | none | {"database_id": "local_govt_mdm", "id": "c664cc8a0163dcfdcc6b405ba137cd3dbbd9ea502bc076f6d0b2300cc281678d", "query_sha256": "81317933db8c5e77c9018b108bfb3ad595061317f9cc569be059ed61a868c7a9", "split_group_id": "local_govt_mdm"} |
Question: How many council taxes are collected for renting arrears ?
Database columns:
all rows (*) (text)
Customer_Master_Index.master_customer_id (number)
Customer_Master_Index.cmi_details (text)
CMI_Cross_References.cmi_cross_ref_id (number)
CMI_Cross_References.master_customer_id (number)
CMI_Cross_References.sourc... | count | {"database_id": "local_govt_mdm", "id": "e107eda767220e24e7009b7dd1fbbb0d60c4f3ac38cf95cdbb396c0a3b5aec9f", "query_sha256": "ae3f6c83290b54616f1eb4ccfb959107d252e28bf8c67141a7d0a9bf55ffc13a", "split_group_id": "local_govt_mdm"} |
Question: What are the distinct cross reference source system codes which are related to the master customer details 'Gottlieb, Becker and Wyman'?
Database columns:
all rows (*) (text)
Customer_Master_Index.master_customer_id (number)
Customer_Master_Index.cmi_details (text)
CMI_Cross_References.cmi_cross_ref_id (numbe... | none | {"database_id": "local_govt_mdm", "id": "a352e3fcdddbfee1d047df934869d59cebd9e7fd6046b62bc2b22c493645b0ca", "query_sha256": "49bd31d83d2000e310e086c65ae9013d158ccf2453ad5e9cd4d817f7adffad77", "split_group_id": "local_govt_mdm"} |
Question: Which distinct source system code includes the substring 'en'?
Database columns:
all rows (*) (text)
Customer_Master_Index.master_customer_id (number)
Customer_Master_Index.cmi_details (text)
CMI_Cross_References.cmi_cross_ref_id (number)
CMI_Cross_References.master_customer_id (number)
CMI_Cross_References.s... | none | {"database_id": "local_govt_mdm", "id": "00f4455bbc28f19f7343c95d910539566e468e358501ccc0aa3910ea159af338", "query_sha256": "0c8469255d46d690663e25460df90b95231c3aa85c2c81da36eeded5931eb96a", "split_group_id": "local_govt_mdm"} |
Question: How many parties are there?
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
host.Nationality (text)
host.Age (text)
party_host.Party... | count | {"database_id": "party_host", "id": "5db4bc5ac27eeb958791b9fe6c91b83a9875ea613f9c324d81dcacfdee7a9dcc", "query_sha256": "5b80b66c1514d73a627e96e6856bfcb80d2c54ec92b5cf07f08221a855b9df9d", "split_group_id": "party_host"} |
Question: Count the number of parties.
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
host.Nationality (text)
host.Age (text)
party_host.Part... | count | {"database_id": "party_host", "id": "c0944c5a099c8c8d0a426c65187051560810bf5c38b77e1404f31f7c0375b67b", "query_sha256": "5b80b66c1514d73a627e96e6856bfcb80d2c54ec92b5cf07f08221a855b9df9d", "split_group_id": "party_host"} |
Question: List the themes of parties in ascending order of number of hosts.
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
host.Nationality (... | none | {"database_id": "party_host", "id": "7d694d0fa652de4cb228f0cebd17bee14b0a57256cfe8f6a4ff83921efc29d47", "query_sha256": "93365449110e0cfe4368db683fcc79f0dadd7fcb363b991827fbb870b6c9e6ae", "split_group_id": "party_host"} |
Question: What are the themes of parties ordered by the number of hosts in ascending manner?
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
h... | none | {"database_id": "party_host", "id": "c789e121d2da7d4a9d7dd6a2b3eaf43b14131180c0bfbf397b0215d3afd538a8", "query_sha256": "93365449110e0cfe4368db683fcc79f0dadd7fcb363b991827fbb870b6c9e6ae", "split_group_id": "party_host"} |
Question: What is the average number of hosts for parties?
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
host.Nationality (text)
host.Age (t... | average | {"database_id": "party_host", "id": "34f381b73901454ed9ee7e4ecc4c5f27d86674058a3076c9ccc11bc08acd7027", "query_sha256": "9ff60a201ae78835a2ad20955ea17891d5b815649078a4f2105db27b1b95eec6", "split_group_id": "party_host"} |
Question: Compute the average number of hosts for parties.
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
host.Nationality (text)
host.Age (t... | average | {"database_id": "party_host", "id": "8a9ac8d81f420e1a84d17b03bde2b7f8ceaba1c4fe2cf76826f40fd7989eebb1", "query_sha256": "9ff60a201ae78835a2ad20955ea17891d5b815649078a4f2105db27b1b95eec6", "split_group_id": "party_host"} |
Question: What is the location of the party with the most hosts?
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
host.Nationality (text)
host.... | none | {"database_id": "party_host", "id": "18ed16cccf6ecda9b4d946eb8a5b40c8f0f5ed8370b187c15b59cb5f44546256", "query_sha256": "16ac883479573996e6f6c64654815a75a532abdd171403c261894cb500c310a5", "split_group_id": "party_host"} |
Question: Which party had the most hosts? Give me the party location.
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
host.Nationality (text)
... | none | {"database_id": "party_host", "id": "2471bf5137ecc36d0a5e233c26cb244dbcbe0302b3ad1d99aa74ab3c2f913e59", "query_sha256": "16ac883479573996e6f6c64654815a75a532abdd171403c261894cb500c310a5", "split_group_id": "party_host"} |
Question: Show the most common nationality of hosts.
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
host.Nationality (text)
host.Age (text)
p... | none | {"database_id": "party_host", "id": "5b93b220815aaa0931f598be31a8e01d5f786f98c780ff20b5aa702030fd45f7", "query_sha256": "7508543411471926b637209b97c077a5197c296d143a21e49b282b4e5c69919d", "split_group_id": "party_host"} |
Question: Which nationality has the most hosts?
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
host.Nationality (text)
host.Age (text)
party_... | none | {"database_id": "party_host", "id": "f1bccc008a633157c8bea50924fcd43e133c81d28614b9787576ef19b2bb73c2", "query_sha256": "7508543411471926b637209b97c077a5197c296d143a21e49b282b4e5c69919d", "split_group_id": "party_host"} |
Question: Show the locations of parties with hosts older than 50.
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
host.Nationality (text)
host... | none | {"database_id": "party_host", "id": "10ac7a6713281e8feafcd5af00339708c74ab15d3f02b68620181c7dbc80a4e7", "query_sha256": "1b081c395a35c327d9da76e7321b1ed8e14a08e0545efdbf026981b8e40b7a50", "split_group_id": "party_host"} |
Question: Which parties have hosts of age above 50? Give me the party locations.
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
host.National... | none | {"database_id": "party_host", "id": "70b448f8cd065f65735dc7e72365cb0c188cf76f3bb0b7e056f989d24d577336", "query_sha256": "1b081c395a35c327d9da76e7321b1ed8e14a08e0545efdbf026981b8e40b7a50", "split_group_id": "party_host"} |
Question: Show the host names for parties with number of hosts greater than 20.
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
host.Nationali... | none | {"database_id": "party_host", "id": "45e883c2eafd8872caa0953a833fffe60249f68e20322ad4c120823542809e15", "query_sha256": "9bb64f849942e8ad37fda4318b0b849beb11240053b1afb7314e2ade3367c393", "split_group_id": "party_host"} |
Question: Which parties have more than 20 hosts? Give me the host names for these parties.
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
hos... | none | {"database_id": "party_host", "id": "6650aeef908774fc8c4644071e3a85c75cb1a1916eb39cedc2da8510dd53de55", "query_sha256": "9bb64f849942e8ad37fda4318b0b849beb11240053b1afb7314e2ade3367c393", "split_group_id": "party_host"} |
Question: List the names of hosts who did not serve as a host of any party in our record.
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
host... | none | {"database_id": "party_host", "id": "304770ba3b1698d222906bdcbc009dff62bcb43054285764a03f6c1f1d80c757", "query_sha256": "bc10a4c850968bbf2e5520f2b7a71eeace0327d4230f7c112d598d6e410a66bb", "split_group_id": "party_host"} |
Question: What are the names of hosts who did not host any party in our record?
Database columns:
all rows (*) (text)
party.Party_ID (number)
party.Party_Theme (text)
party.Location (text)
party.First_year (text)
party.Last_year (text)
party.Number_of_hosts (number)
host.Host_ID (number)
host.Name (text)
host.Nationali... | none | {"database_id": "party_host", "id": "4b1febe050ed6cafd61b22ffd0efd4b8f4659bd61ed3ef22a7255cfe785831fa", "query_sha256": "bc10a4c850968bbf2e5520f2b7a71eeace0327d4230f7c112d598d6e410a66bb", "split_group_id": "party_host"} |
Question: How many regions do we have?
Database columns:
all rows (*) (text)
storm.Storm_ID (number)
storm.Name (text)
storm.Dates_active (text)
storm.Max_speed (number)
storm.Damage_millions_USD (number)
storm.Number_Deaths (number)
region.Region_id (number)
region.Region_code (text)
region.Region_name (text)
affected... | count | {"database_id": "storm_record", "id": "c8b9cf44f101f43855b76d5adf50bd63ddc2e3069336f909304063262f127eac", "query_sha256": "e9b20e4f29843592df918cb8c0b3bcb83b51f5922a1f814db901d7c024d0e0b8", "split_group_id": "storm_record"} |
Question: Count the number of regions.
Database columns:
all rows (*) (text)
storm.Storm_ID (number)
storm.Name (text)
storm.Dates_active (text)
storm.Max_speed (number)
storm.Damage_millions_USD (number)
storm.Number_Deaths (number)
region.Region_id (number)
region.Region_code (text)
region.Region_name (text)
affected... | count | {"database_id": "storm_record", "id": "28956209ddd6ba58ba0e39c3b14a16de71165f247cac15c87543bd5842b60a02", "query_sha256": "e9b20e4f29843592df918cb8c0b3bcb83b51f5922a1f814db901d7c024d0e0b8", "split_group_id": "storm_record"} |
Question: List all region names in alphabetical order.
Database columns:
all rows (*) (text)
storm.Storm_ID (number)
storm.Name (text)
storm.Dates_active (text)
storm.Max_speed (number)
storm.Damage_millions_USD (number)
storm.Number_Deaths (number)
region.Region_id (number)
region.Region_code (text)
region.Region_name... | none | {"database_id": "storm_record", "id": "c57a1e7032c3147f2a8e1d85c456ff536383c597fda3a15648c0a6df46013442", "query_sha256": "c9e065bd6ec0bc879b1b936b466f437b0cbc08dc129b36472717b85986def251", "split_group_id": "storm_record"} |
Question: What are the names of the regions in alphabetical order?
Database columns:
all rows (*) (text)
storm.Storm_ID (number)
storm.Name (text)
storm.Dates_active (text)
storm.Max_speed (number)
storm.Damage_millions_USD (number)
storm.Number_Deaths (number)
region.Region_id (number)
region.Region_code (text)
region... | none | {"database_id": "storm_record", "id": "7e694aceba7985f2b476ab762ccc778c9ee4e0540f6c0f72bbbb3b5dfcb1ed95", "query_sha256": "c9e065bd6ec0bc879b1b936b466f437b0cbc08dc129b36472717b85986def251", "split_group_id": "storm_record"} |
Question: Show names for all regions except for Denmark.
Database columns:
all rows (*) (text)
storm.Storm_ID (number)
storm.Name (text)
storm.Dates_active (text)
storm.Max_speed (number)
storm.Damage_millions_USD (number)
storm.Number_Deaths (number)
region.Region_id (number)
region.Region_code (text)
region.Region_na... | none | {"database_id": "storm_record", "id": "75e5b2b3839d92ca4051de5df3f05c41b1febd91aca5df47859caaa1eb47c01f", "query_sha256": "c8722b71f44aa5551d4f6d6e69b8cf0e1ab0680f2b3c0bfb05f4a69d9e024ce3", "split_group_id": "storm_record"} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.