sentence1
stringlengths
223
9.31k
labels
stringclasses
6 values
metadata
stringlengths
207
261
Question: How many services are there? Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (text) Services.service_id (number) Services.service_type_c...
count
{"database_id": "e_government", "id": "2718527c66ecda20da801652911e5252dfde7b0a50c24387e0e00845fa2d23e2", "query_sha256": "040dda1e2f4bf7456c2c12523f6ae1039e10e82b2c628db1b4966fb02f770ec3", "split_group_id": "e_government"}
Question: Count the number of services. Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (text) Services.service_id (number) Services.service_type_...
count
{"database_id": "e_government", "id": "63c64bb3997601be87105da236cf1c36d34cdcfbfeca7baf0c93914ed774ac7d", "query_sha256": "040dda1e2f4bf7456c2c12523f6ae1039e10e82b2c628db1b4966fb02f770ec3", "split_group_id": "e_government"}
Question: How many cities are there in state "Colorado"? Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (text) Services.service_id (number) Servi...
count
{"database_id": "e_government", "id": "66e66e1481ba41e7435f5512cf3f410eb41f58e6bb68e541710ffc755ce2a2fc", "query_sha256": "4e18cf8bd00dfa55ca190493f9a8f50f4fc3a0368850e703adb6d80432f39fb6", "split_group_id": "e_government"}
Question: Count the number of cities in the state of Colorado. Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (text) Services.service_id (number)...
count
{"database_id": "e_government", "id": "ff7c68a0e7eb9609ef91e63eb93ab173a0b1ae078e3dc0e04da96def99376c0e", "query_sha256": "4e18cf8bd00dfa55ca190493f9a8f50f4fc3a0368850e703adb6d80432f39fb6", "split_group_id": "e_government"}
Question: Find the payment method code used by more than 3 parties. Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (text) Services.service_id (nu...
none
{"database_id": "e_government", "id": "c4f8d232877ed1b674918875131efad90e56dbb638b8c007bc1a85b949f89f6c", "query_sha256": "ee3bb75b49323662041a78cd9ac73e976e0cb547ba3a8b579829ad81d867fda1", "split_group_id": "e_government"}
Question: What are the payment method codes that have been used by more than 3 parties? Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (text) Ser...
none
{"database_id": "e_government", "id": "7a3af13c04fdc0a3472dc8bfef4169f44c4561ce5b5727ead76e93af631e8474", "query_sha256": "ee3bb75b49323662041a78cd9ac73e976e0cb547ba3a8b579829ad81d867fda1", "split_group_id": "e_government"}
Question: Find the name of organizations whose names contain "Party". Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (text) Services.service_id (...
none
{"database_id": "e_government", "id": "f75daf0a1b689bd51a79ce2c4643b7a33553d8e4edff9f10c132796ceb6fa9c4", "query_sha256": "91b64cab78922644e6d04b8e30d10676d40cdc5fc086ad9a1e07c2a47a37ee61", "split_group_id": "e_government"}
Question: What are the names of organizations that contain the word "Party"? Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (text) Services.servi...
none
{"database_id": "e_government", "id": "cd1b2317279b59035d74ea4137f8c0413ef3f4d42cfe3b2fa8e6a4ad3b37e2d9", "query_sha256": "91b64cab78922644e6d04b8e30d10676d40cdc5fc086ad9a1e07c2a47a37ee61", "split_group_id": "e_government"}
Question: How many distinct payment methods are used by parties? Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (text) Services.service_id (numbe...
count
{"database_id": "e_government", "id": "80f85353fa6178668d11205613df635b899077277e2edaf197b7c15951b42d1f", "query_sha256": "1569f9f49e4042c9c9836e872d87a06784023c08df1c647d767a4df24d0afbd7", "split_group_id": "e_government"}
Question: Count the number of different payment method codes used by parties. Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (text) Services.serv...
count
{"database_id": "e_government", "id": "58bef04b8d6f3babaf46b9ca1f865f8d871e2e12fc1db209a425704cc6a39421", "query_sha256": "1569f9f49e4042c9c9836e872d87a06784023c08df1c647d767a4df24d0afbd7", "split_group_id": "e_government"}
Question: Which is the email of the party that has used the services the most number of times? Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (te...
none
{"database_id": "e_government", "id": "04db639c83e8aa9709e8c304d833ce85345e9e40a3888b91159d04069f6d3d6f", "query_sha256": "f6380dffe3d7e989621dc58d2863ed711fa747fab637c877c4ce6d2e3f36119e", "split_group_id": "e_government"}
Question: Return the party email that has used party services the greatest number of times. Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (text)...
none
{"database_id": "e_government", "id": "992f28f90380380366313c754c62e87e10d18fd7a16d6923e0df5232ee81521d", "query_sha256": "f6380dffe3d7e989621dc58d2863ed711fa747fab637c877c4ce6d2e3f36119e", "split_group_id": "e_government"}
Question: Which state can address "6862 Kaitlyn Knolls" possibly be in? Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (text) Services.service_id...
none
{"database_id": "e_government", "id": "8576198c8cc149ebdbad63c60ab1b2dcc34d1e8eee0a706091a63560aa4d870a", "query_sha256": "217fbd5827a367fb16199ea078d20250000748cd4dc712b49e493f251582693f", "split_group_id": "e_government"}
Question: Give the state corresponding to the line number building "6862 Kaitlyn Knolls". Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (text) S...
none
{"database_id": "e_government", "id": "707dfa15b8e4d57b891bde953cd13daf267205a8d4b87f294d3d24968416fe4f", "query_sha256": "217fbd5827a367fb16199ea078d20250000748cd4dc712b49e493f251582693f", "split_group_id": "e_government"}
Question: What is the name of organization that has the greatest number of contact individuals? Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (t...
none
{"database_id": "e_government", "id": "46266fb4559cdd2bc38afe6da20306844d039fcf39044ccfe02b216183b408b2", "query_sha256": "36754c744cebe79427d5b2c9d8ab1085cb72badfe751635986938809910fda91", "split_group_id": "e_government"}
Question: Return the name of the organization which has the most contact individuals. Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.country (text) Servi...
none
{"database_id": "e_government", "id": "1c067dceea7b5a7bde41c6d0de9f4afdc37f42265c60b65f3ec805d586f2e6fe", "query_sha256": "36754c744cebe79427d5b2c9d8ab1085cb72badfe751635986938809910fda91", "split_group_id": "e_government"}
Question: Find the last name of the individuals that have been contact individuals of an organization. Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.cou...
none
{"database_id": "e_government", "id": "6a5c387f508ce01c697df4fe30b5a09639b4801ed75b5f886ba95dae3a697437", "query_sha256": "3fada092858595642358a9f4995169a1c7048cd57f270c41076357e66cbaa998", "split_group_id": "e_government"}
Question: What are the last names of individuals who have been contact individuals for an organization? Database columns: all rows (*) (text) Addresses.address_id (number) Addresses.line_1_number_building (text) Addresses.town_city (text) Addresses.zip_postcode (text) Addresses.state_province_county (text) Addresses.co...
none
{"database_id": "e_government", "id": "31aecb0dde15380167e2bc6c5f85f2274306776117065d8062527ec1305abee4", "query_sha256": "3fada092858595642358a9f4995169a1c7048cd57f270c41076357e66cbaa998", "split_group_id": "e_government"}
Question: How many drivers are there? Database columns: all rows (*) (text) driver.Driver_ID (number) driver.Name (text) driver.Party (text) driver.Home_city (text) driver.Age (number) school.School_ID (number) school.Grade (text) school.School (text) school.Location (text) school.Type (text) school_bus.School_ID (numb...
count
{"database_id": "school_bus", "id": "d4e061aa4c03babb645aa645592ccd83c5cba2db664928aaed2b2c57525589f3", "query_sha256": "fe979d440b63b15f73281a8932272b192da40a062c34a6c87351cb72ac8a7792", "split_group_id": "school_bus"}
Question: Show the name of drivers in descending order of age. Database columns: all rows (*) (text) driver.Driver_ID (number) driver.Name (text) driver.Party (text) driver.Home_city (text) driver.Age (number) school.School_ID (number) school.Grade (text) school.School (text) school.Location (text) school.Type (text) s...
none
{"database_id": "school_bus", "id": "5893c7fd4fd7167f33c809ca69fb6c84d3ffb801be93ec879a3ff24b1fe2c728", "query_sha256": "78eb04cc17703350a23aeb84293cb0802b8a5238987397c023de6c3915280085", "split_group_id": "school_bus"}
Question: Show all different home cities. Database columns: all rows (*) (text) driver.Driver_ID (number) driver.Name (text) driver.Party (text) driver.Home_city (text) driver.Age (number) school.School_ID (number) school.Grade (text) school.School (text) school.Location (text) school.Type (text) school_bus.School_ID (...
none
{"database_id": "school_bus", "id": "0202382a4874865da34e54da68c5282df3b7e0337ad5fa4a8d0e1e21d4bc0090", "query_sha256": "bd096bc2a7c2c3d24a0ddbca608f02404a6b29afaa01b3fbf53256d6c0acac74", "split_group_id": "school_bus"}
Question: Show the home city with the most number of drivers. Database columns: all rows (*) (text) driver.Driver_ID (number) driver.Name (text) driver.Party (text) driver.Home_city (text) driver.Age (number) school.School_ID (number) school.Grade (text) school.School (text) school.Location (text) school.Type (text) sc...
none
{"database_id": "school_bus", "id": "42183b56f9e05c8a850355a40b3f6441c24a9c836190cf86c0151ace954cebce", "query_sha256": "878f6662622355ecc6f92cfe0d4e4c1b9ecb74ae801d79464abcf38daf57ad6d", "split_group_id": "school_bus"}
Question: Show the party with drivers from Hartford and drivers older than 40. Database columns: all rows (*) (text) driver.Driver_ID (number) driver.Name (text) driver.Party (text) driver.Home_city (text) driver.Age (number) school.School_ID (number) school.Grade (text) school.School (text) school.Location (text) scho...
none
{"database_id": "school_bus", "id": "e3902f5b160475fddd2dfbebeb77979cc8afdb8a74f764c2ba25eb78ede8a326", "query_sha256": "c47ae3a243783014a71c72b491dfd23d579311a10b39e0572c1c4d6134890782", "split_group_id": "school_bus"}
Question: Show home city where at least two drivers older than 40 are from. Database columns: all rows (*) (text) driver.Driver_ID (number) driver.Name (text) driver.Party (text) driver.Home_city (text) driver.Age (number) school.School_ID (number) school.Grade (text) school.School (text) school.Location (text) school....
none
{"database_id": "school_bus", "id": "05cc44a51b8e89f331967d1a019d8bf3261ce6d0fe31667c6b75cd3ae37744a3", "query_sha256": "b24b8be87f59fe7f1f188924eeb20594aa0284e8b15747180f5f6b4904559025", "split_group_id": "school_bus"}
Question: Show the names of the drivers without a school bus. Database columns: all rows (*) (text) driver.Driver_ID (number) driver.Name (text) driver.Party (text) driver.Home_city (text) driver.Age (number) school.School_ID (number) school.Grade (text) school.School (text) school.Location (text) school.Type (text) sc...
none
{"database_id": "school_bus", "id": "2a09b5f0794d6f11e710343d8531a388995c799e5d1e2754f73cf7df8b18bc98", "query_sha256": "3e513106b182841bfa6357bf074f45edfd1ad84a8d6351437b7830ed9545ce1f", "split_group_id": "school_bus"}
Question: Show the types of schools that have two schools. Database columns: all rows (*) (text) driver.Driver_ID (number) driver.Name (text) driver.Party (text) driver.Home_city (text) driver.Age (number) school.School_ID (number) school.Grade (text) school.School (text) school.Location (text) school.Type (text) schoo...
none
{"database_id": "school_bus", "id": "34982283330acb3573fbad1ad1bd438025a24ee81e0525e315a8b7df8f174b72", "query_sha256": "b1ed6728ed2ef91323e4d230794555c54f52eb5c85974e8954c0c4305f6c7554", "split_group_id": "school_bus"}
Question: How many drivers are from Hartford city or younger than 40? Database columns: all rows (*) (text) driver.Driver_ID (number) driver.Name (text) driver.Party (text) driver.Home_city (text) driver.Age (number) school.School_ID (number) school.Grade (text) school.School (text) school.Location (text) school.Type (...
count
{"database_id": "school_bus", "id": "17d89c34ba93e682fc02f2699174e8fc94f00e732812aefd5206bb184faa258d", "query_sha256": "9c6863ef4797597e36ee7bd2ce15d268aef20ba312e941dfca49057953f3c64f", "split_group_id": "school_bus"}
Question: List names for drivers from Hartford city and younger than 40. Database columns: all rows (*) (text) driver.Driver_ID (number) driver.Name (text) driver.Party (text) driver.Home_city (text) driver.Age (number) school.School_ID (number) school.Grade (text) school.School (text) school.Location (text) school.Typ...
none
{"database_id": "school_bus", "id": "01df518408abb32a104146911dbc53d0fe9e4f67781731ea8e05b5343705d67e", "query_sha256": "b757cd0f27539ee35b490236d7d96dc8af9b3f2c77c8b1fd25f0387a044f1ae4", "split_group_id": "school_bus"}
Question: find the name of driver who is driving the school bus with the longest working history. Database columns: all rows (*) (text) driver.Driver_ID (number) driver.Name (text) driver.Party (text) driver.Home_city (text) driver.Age (number) school.School_ID (number) school.Grade (text) school.School (text) school.L...
none
{"database_id": "school_bus", "id": "72e87713d85a70c6d1e0bcbc027641ad848a970f5fff758c66c0c34ae38e1396", "query_sha256": "a619aa1d7f33c81c6ea6d0fb13526e099ab723cd7fb5866dd7f70221e2663a3d", "split_group_id": "school_bus"}
Question: How many flights have a velocity larger than 200? Database columns: all rows (*) (text) airport.id (number) airport.City (text) airport.Country (text) airport.IATA (text) airport.ICAO (text) airport.name (text) operate_company.id (number) operate_company.name (text) operate_company.Type (text) operate_company...
count
{"database_id": "flight_company", "id": "e5c97ca10391495cb0fe02278aeff14aaac1cd03d6f3db88ec18e2109f315433", "query_sha256": "3e65ebf47190a0c0a51cda7b3e6c8ed3714d2ee87ff9248f9987af4a39bae2e2", "split_group_id": "flight_company"}
Question: What is maximum group equity shareholding of the companies? Database columns: all rows (*) (text) airport.id (number) airport.City (text) airport.Country (text) airport.IATA (text) airport.ICAO (text) airport.name (text) operate_company.id (number) operate_company.name (text) operate_company.Type (text) opera...
maximum
{"database_id": "flight_company", "id": "301c3655bb0e256a77e3433f11acfb66808de462ab5ecf67d596207372e2a1a3", "query_sha256": "71f2d09c3d6ba7bb0370974664da026a0e99a4e4515b7ecba28dc569e0b92ed2", "split_group_id": "flight_company"}
Question: What is the velocity of the pilot named 'Thompson'? Database columns: all rows (*) (text) airport.id (number) airport.City (text) airport.Country (text) airport.IATA (text) airport.ICAO (text) airport.name (text) operate_company.id (number) operate_company.name (text) operate_company.Type (text) operate_compa...
average
{"database_id": "flight_company", "id": "c2537ab4a571c7b497b88bc738fa3dd222cdecf93339918e48aaa587e6934cb9", "query_sha256": "1ca4072b948b1963c8d419e69f6b9a1d9954d685ef51a575a4927cecadd8916a", "split_group_id": "flight_company"}
Question: What are the names of the airports which are not in the country 'Iceland'? Database columns: all rows (*) (text) airport.id (number) airport.City (text) airport.Country (text) airport.IATA (text) airport.ICAO (text) airport.name (text) operate_company.id (number) operate_company.name (text) operate_company.Ty...
none
{"database_id": "flight_company", "id": "36d987e8a1d7f1925aa952edcf5165600f7c96a6dae3ae1a52939a6a90ebc682", "query_sha256": "8d9c671997ea0e9f5b3521c6484df81f583e914da1c4cf828bfabee490dc3c3c", "split_group_id": "flight_company"}
Question: What are the distinct types of the companies that have operated any flights with velocity less than 200? Database columns: all rows (*) (text) airport.id (number) airport.City (text) airport.Country (text) airport.IATA (text) airport.ICAO (text) airport.name (text) operate_company.id (number) operate_company....
none
{"database_id": "flight_company", "id": "79c2cd6c9d1091f095f372e57943132c98beaae78c2eedc225263f74c1019e3b", "query_sha256": "9866a5f391521cf1d860dc7089d2a397e02fe935299bb790b55623d250e5e75f", "split_group_id": "flight_company"}
Question: What are the different pilot names who had piloted a flight in the country 'United States' or in the airport named 'Billund Airport'? Database columns: all rows (*) (text) airport.id (number) airport.City (text) airport.Country (text) airport.IATA (text) airport.ICAO (text) airport.name (text) operate_company...
none
{"database_id": "flight_company", "id": "2b1816ca38870ae73e569eb86911b0eefa6aec7ea385d7999cce10dbeeb9a4cb", "query_sha256": "3ce6b53b77d9c51cfd53d26c5163c1f60f59d53e9774fdc3e6647927289a51fc", "split_group_id": "flight_company"}
Question: How many airports haven't the pilot 'Thompson' driven an aircraft? Database columns: all rows (*) (text) airport.id (number) airport.City (text) airport.Country (text) airport.IATA (text) airport.ICAO (text) airport.name (text) operate_company.id (number) operate_company.name (text) operate_company.Type (text...
count
{"database_id": "flight_company", "id": "8d2aa120552dd374ad29d35e03fcaf994a1cbe04d4e69926b3ec07369959df16", "query_sha256": "da9d7c94a1dacb008d05b4bfb2193561e08e3a5fba87114c9c43263de4b32323", "split_group_id": "flight_company"}
Question: Which of the airport names contains the word 'international'? Database columns: all rows (*) (text) airport.id (number) airport.City (text) airport.Country (text) airport.IATA (text) airport.ICAO (text) airport.name (text) operate_company.id (number) operate_company.name (text) operate_company.Type (text) ope...
none
{"database_id": "flight_company", "id": "7f633e124b1d5e6b5d77f77f5a97c1083c187b8914352dd43c7d457a6ab16b7f", "query_sha256": "e7481e0274627b5c44c0cba5d052525ab802ac0b20473fbb0a3149feb75cec1f", "split_group_id": "flight_company"}
Question: which countries have more than 2 airports? Database columns: all rows (*) (text) airport.id (number) airport.City (text) airport.Country (text) airport.IATA (text) airport.ICAO (text) airport.name (text) operate_company.id (number) operate_company.name (text) operate_company.Type (text) operate_company.Princi...
none
{"database_id": "flight_company", "id": "92e8f13ea87bf549bb02799b6f1f892a2d1a1b6c6b125fca61abc4beb847c0ea", "query_sha256": "11ada1ebe57b6f32103a96c4658565626181bd97c71594cede40e0826fc33e0c", "split_group_id": "flight_company"}
Question: which pilot is in charge of the most number of flights? Database columns: all rows (*) (text) airport.id (number) airport.City (text) airport.Country (text) airport.IATA (text) airport.ICAO (text) airport.name (text) operate_company.id (number) operate_company.name (text) operate_company.Type (text) operate_c...
none
{"database_id": "flight_company", "id": "f7c8d343798eba49413325000984d79478c923370c4f01d766580cb07b3d853f", "query_sha256": "197ffc0cc2bbecdb824520ce2273aa0dff690b69f2c3fe92832e3cb09de08c18", "split_group_id": "flight_company"}
Question: How many accounts do we have? Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Description (text) Projects.Pr...
count
{"database_id": "cre_Docs_and_Epenses", "id": "3cd84225941f446152a358a82000df626b4d7ddee2fc7b06a0b5baf015074d3d", "query_sha256": "736cc8b5e12549fc074d2a5a75d65c37edcedac4866ecfff18e9127bbf2b9214", "split_group_id": "cre_Docs_and_Epenses"}
Question: Count the number of accounts. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Description (text) Projects.Pr...
count
{"database_id": "cre_Docs_and_Epenses", "id": "e325c5cde664f74ad8694bde7a80935c276c2daff8370909daa455533460c6b3", "query_sha256": "736cc8b5e12549fc074d2a5a75d65c37edcedac4866ecfff18e9127bbf2b9214", "split_group_id": "cre_Docs_and_Epenses"}
Question: How many statements do we have? Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Description (text) Projects....
count
{"database_id": "cre_Docs_and_Epenses", "id": "850a179b0821c4850a1f27c8125818fcd391d3ee4fc907dcdbaf6a26d1fb13eb", "query_sha256": "75c440d3d95d4130599e0a2f44160fdd69cc1dc235f9202818e3c3150856c993", "split_group_id": "cre_Docs_and_Epenses"}
Question: Count the number of statements. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Description (text) Projects....
count
{"database_id": "cre_Docs_and_Epenses", "id": "56059c084d314af91996bd80bf5fa7913128c9d6a3023752140682b512b00044", "query_sha256": "75c440d3d95d4130599e0a2f44160fdd69cc1dc235f9202818e3c3150856c993", "split_group_id": "cre_Docs_and_Epenses"}
Question: Show the number of documents. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Description (text) Projects.Pr...
count
{"database_id": "cre_Docs_and_Epenses", "id": "ba85e1e929b8a93f79b9794e0ab46e6deaee9a7b3640a7a20db15cd4d0c8d739", "query_sha256": "62caadddaf81dc111205ed60e001a96e40a57d50f5376c9c1997ae250664999e", "split_group_id": "cre_Docs_and_Epenses"}
Question: Count the number of documents. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Description (text) Projects.P...
count
{"database_id": "cre_Docs_and_Epenses", "id": "de4a4b9b6d1afb3ca4b3121b0378be89ed7701f60b263e80503616ea4f851d06", "query_sha256": "62caadddaf81dc111205ed60e001a96e40a57d50f5376c9c1997ae250664999e", "split_group_id": "cre_Docs_and_Epenses"}
Question: What is the id of the project with least number of documents? Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Typ...
none
{"database_id": "cre_Docs_and_Epenses", "id": "829e0326b8ad7614438f571eae8a8e2d058d9cb4328a0e3ab8ee200fbd2025be", "query_sha256": "c482745674fc781401182bcb32129259f97ccf4cd4ab66acb1aebe7ac3281e2c", "split_group_id": "cre_Docs_and_Epenses"}
Question: Return the id of the project that has the fewest corresponding documents. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Code...
none
{"database_id": "cre_Docs_and_Epenses", "id": "3fa6ed7d21cb91a3e6cb8d5b6523318cffeb9f943aeee11062e712e60efeb428", "query_sha256": "c482745674fc781401182bcb32129259f97ccf4cd4ab66acb1aebe7ac3281e2c", "split_group_id": "cre_Docs_and_Epenses"}
Question: Show the ids for projects with at least 2 documents. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Descrip...
none
{"database_id": "cre_Docs_and_Epenses", "id": "d101aa7e7e9f722b9728a709058b223984d5dbe9bcbd7a98f8be0d0a26864fa3", "query_sha256": "cf8c3d316817945968492288fa73efd122f50684d103d63b5d4cdf5b3cc6987f", "split_group_id": "cre_Docs_and_Epenses"}
Question: What are project ids of projects that have 2 or more corresponding documents? Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_...
none
{"database_id": "cre_Docs_and_Epenses", "id": "7241038f69a1491fc72ece377d329a32f28c39908c0502e9c189772f17e4323e", "query_sha256": "cf8c3d316817945968492288fa73efd122f50684d103d63b5d4cdf5b3cc6987f", "split_group_id": "cre_Docs_and_Epenses"}
Question: What is the document type code with most number of documents? Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Typ...
none
{"database_id": "cre_Docs_and_Epenses", "id": "ae32a65e1d1b5a396d6d80c479485de9249f60034224a0d0faab50d2738b98e3", "query_sha256": "4746dcb24c88427e3bd594e4640f9e27015bab8741eaa1c464e5a6353206c352", "split_group_id": "cre_Docs_and_Epenses"}
Question: Return the code of the document type that is most common. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_De...
none
{"database_id": "cre_Docs_and_Epenses", "id": "2327f8b7f41e3abce92fda7c500f927740dc1a6782c163a2c81ea7d2c7b88a34", "query_sha256": "4746dcb24c88427e3bd594e4640f9e27015bab8741eaa1c464e5a6353206c352", "split_group_id": "cre_Docs_and_Epenses"}
Question: Show the document type code with fewer than 3 documents. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Des...
none
{"database_id": "cre_Docs_and_Epenses", "id": "d23eaededffc66704ddad5b90711857a11afce8c9a6038b1bb2258adc83668dc", "query_sha256": "9ec244689d2420b89976d78e7bc3a49e5671207fc6d26025508c42fd9aee0768", "split_group_id": "cre_Docs_and_Epenses"}
Question: What are the codes corresponding to document types for which there are less than 3 documents? Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (t...
none
{"database_id": "cre_Docs_and_Epenses", "id": "c6d223faa1d9f51d04a4a897c02d26b0feaf3cdc561a2b8cb7b4ccb3f931a6d1", "query_sha256": "9ec244689d2420b89976d78e7bc3a49e5671207fc6d26025508c42fd9aee0768", "split_group_id": "cre_Docs_and_Epenses"}
Question: What is the document type description for document type named Film? Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budg...
none
{"database_id": "cre_Docs_and_Epenses", "id": "7c6466ffac40890550da229cb06c6ff84770ec39fd90fd47f4e276487703c12a", "query_sha256": "0c15c546fdfa73196d451d773e51ba80f9a65f5d8579bfd3423726124a389942", "split_group_id": "cre_Docs_and_Epenses"}
Question: Return the description of the document type name 'Film'. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Des...
none
{"database_id": "cre_Docs_and_Epenses", "id": "af3cce2a56240c6a4eb2e41cef47b8738bc375591e7c0b48a2091f7bca943f91", "query_sha256": "0c15c546fdfa73196d451d773e51ba80f9a65f5d8579bfd3423726124a389942", "split_group_id": "cre_Docs_and_Epenses"}
Question: Show the number of projects. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Description (text) Projects.Pro...
count
{"database_id": "cre_Docs_and_Epenses", "id": "ac31b15bb202ff39d7218413bf307a243fc919f1378fc8d404758e7671ada845", "query_sha256": "f7eeee191f8bc77ac048b55d9215cd7f1559035967a48d7c5ca42777a5e85039", "split_group_id": "cre_Docs_and_Epenses"}
Question: How many projects are there? Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Description (text) Projects.Pro...
count
{"database_id": "cre_Docs_and_Epenses", "id": "350c74bd5407c562a4407cffea31cefb9c6062bd508768eb7303c5fdaf422779", "query_sha256": "f7eeee191f8bc77ac048b55d9215cd7f1559035967a48d7c5ca42777a5e85039", "split_group_id": "cre_Docs_and_Epenses"}
Question: What is the project detail for the project with document "King Book"? Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Bu...
none
{"database_id": "cre_Docs_and_Epenses", "id": "29311d9d3ae58cdc8731f4bb50b836f8c003e3fa8e1acb40ce974edd51b27b96", "query_sha256": "dac2a485b9d71eaf9cb1610c58df5a13d1c5535964d85cd3e0a32f21b737db2b", "split_group_id": "cre_Docs_and_Epenses"}
Question: Give the details of the project with the document name 'King Book'. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budg...
none
{"database_id": "cre_Docs_and_Epenses", "id": "066b8d48ceb7f653935d83896778fa19894b7bb07e7cb2471e77c3967c396d00", "query_sha256": "dac2a485b9d71eaf9cb1610c58df5a13d1c5535964d85cd3e0a32f21b737db2b", "split_group_id": "cre_Docs_and_Epenses"}
Question: How many budget types do we have? Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Description (text) Project...
count
{"database_id": "cre_Docs_and_Epenses", "id": "dc010b19eadb20ecd3dd5cbcfe7a6dfdb79493f1ba69f7b66daa1f0356aa6ff6", "query_sha256": "10bac641a168415628ca6776102eda6909cd4f246c1b5b61b1eee2d22e89f5c7", "split_group_id": "cre_Docs_and_Epenses"}
Question: Count the number of budget codes. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Description (text) Project...
count
{"database_id": "cre_Docs_and_Epenses", "id": "2ee1caefcabf11b47a29816cccabb480bb8ca99a3207765071f01822b699e848", "query_sha256": "10bac641a168415628ca6776102eda6909cd4f246c1b5b61b1eee2d22e89f5c7", "split_group_id": "cre_Docs_and_Epenses"}
Question: What is the description for the budget type with code ORG? Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_D...
none
{"database_id": "cre_Docs_and_Epenses", "id": "026b8af8c0db118ff268690fc2b097de7119d528efa790f12de36193a575d9f6", "query_sha256": "31337b40a72b32049d9eb88c858fb502ff86a7754959746ede93d086cd8383c7", "split_group_id": "cre_Docs_and_Epenses"}
Question: Return the description of the budget type that has the code ORG. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_...
none
{"database_id": "cre_Docs_and_Epenses", "id": "1ffc8996e2ec41ecdeebf1c3d78d6f8325d4a5ca5ee637488d00ef4136f357ac", "query_sha256": "31337b40a72b32049d9eb88c858fb502ff86a7754959746ede93d086cd8383c7", "split_group_id": "cre_Docs_and_Epenses"}
Question: How many documents have expenses? Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Description (text) Project...
count
{"database_id": "cre_Docs_and_Epenses", "id": "968db55a10d0522b23e29f064971b727675a8ad9cf08a93da2aa4397e1abf84c", "query_sha256": "6373f1820fb8ef34c813eff6acd387643e5ec0b9f8a134cad6ae8ee5490bdfc6", "split_group_id": "cre_Docs_and_Epenses"}
Question: Count the number of documents with expenses. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Description (te...
count
{"database_id": "cre_Docs_and_Epenses", "id": "1bcb32292171198784181c1cd77ee89bee0bffb3dc4f2051bd7b38e6e305e3d2", "query_sha256": "6373f1820fb8ef34c813eff6acd387643e5ec0b9f8a134cad6ae8ee5490bdfc6", "split_group_id": "cre_Docs_and_Epenses"}
Question: What are the document ids for the budget type code 'SF'? Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Des...
none
{"database_id": "cre_Docs_and_Epenses", "id": "b9f7f0903631dfd7cdfe176599da74776dfa595c9e821128823ea2f4411b4be0", "query_sha256": "8c4bd579e740ba7af34111a856f76e2df67fdaf03a4959851fd49d005872dae8", "split_group_id": "cre_Docs_and_Epenses"}
Question: Give the ids of documents with expenses that have the budget code 'SF'. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes....
none
{"database_id": "cre_Docs_and_Epenses", "id": "09d47dbfa5d2006eb8079c9f3dfcbece1d8c63f23c5b365a849b5322c460118a", "query_sha256": "8c4bd579e740ba7af34111a856f76e2df67fdaf03a4959851fd49d005872dae8", "split_group_id": "cre_Docs_and_Epenses"}
Question: Show ids for all documents with budget types described as 'Government'. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes....
none
{"database_id": "cre_Docs_and_Epenses", "id": "c1ce6c55f231f3d3ba7e15f5852e1ac5063619b861ac963cb031d1ada02ea1f4", "query_sha256": "76583bd25083b2ebdf645b3f819a273b8c8e619eacbe2306e6a376dc7f2f123d", "split_group_id": "cre_Docs_and_Epenses"}
Question: Give the ids for documents that have the budget description 'Government'. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Code...
none
{"database_id": "cre_Docs_and_Epenses", "id": "5b76a98414937f92de2e7490083f2c0549b6e72596d67b39f717e7a1f4470164", "query_sha256": "76583bd25083b2ebdf645b3f819a273b8c8e619eacbe2306e6a376dc7f2f123d", "split_group_id": "cre_Docs_and_Epenses"}
Question: What is the budget type code with most number of documents. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_...
none
{"database_id": "cre_Docs_and_Epenses", "id": "c65fe421b68bc6a5c36810a5ae94b6eba0cc2783e92686b0cbc163145e317b20", "query_sha256": "39ca0e1de386645c2998f0aef48a11ab92b4761fc0ce5111edb90f936da4c31c", "split_group_id": "cre_Docs_and_Epenses"}
Question: Give the budget type code that is most common among documents with expenses. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_C...
none
{"database_id": "cre_Docs_and_Epenses", "id": "9f6dd110b7efdbf8d8e7b4da75d5294a9c98a5179810489cf8fd867709cf16df", "query_sha256": "39ca0e1de386645c2998f0aef48a11ab92b4761fc0ce5111edb90f936da4c31c", "split_group_id": "cre_Docs_and_Epenses"}
Question: What are the ids of documents with letter 's' in the name with any expense budgets. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_B...
none
{"database_id": "cre_Docs_and_Epenses", "id": "23be5dbeec7b4229cfc565800eb5662927c06977fc7826723731dd2278e9c73c", "query_sha256": "4589d86d14d2739374ca03a09d8d156d6fd7c2bd9dfcc9cdca1034a9e4648972", "split_group_id": "cre_Docs_and_Epenses"}
Question: Give the ids of documents that have expenses and contain the letter s in their names. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref...
none
{"database_id": "cre_Docs_and_Epenses", "id": "c9eef0a527a64554a7939b99ab44436f6d65ddfc8e0ade8aa90c08701d353a87", "query_sha256": "4589d86d14d2739374ca03a09d8d156d6fd7c2bd9dfcc9cdca1034a9e4648972", "split_group_id": "cre_Docs_and_Epenses"}
Question: How many documents do not have any expense? Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Description (tex...
count
{"database_id": "cre_Docs_and_Epenses", "id": "d2125910bb54bbdb7fdbee9a52fb88b63ee00fcf595c32c22d1a8ef876bc0623", "query_sha256": "aa1a4391f2eec55db221147e255731297302e2d392ff6f6625c80d286f7e23ad", "split_group_id": "cre_Docs_and_Epenses"}
Question: Count the number of documents that do not have expenses. Database columns: all rows (*) (text) Ref_Document_Types.Document_Type_Code (text) Ref_Document_Types.Document_Type_Name (text) Ref_Document_Types.Document_Type_Description (text) Ref_Budget_Codes.Budget_Type_Code (text) Ref_Budget_Codes.Budget_Type_Des...
count
{"database_id": "cre_Docs_and_Epenses", "id": "535eae029780fcfac30084ae1ef6c6d469e1244d38b0beec2856c6e4cad90efe", "query_sha256": "aa1a4391f2eec55db221147e255731297302e2d392ff6f6625c80d286f7e23ad", "split_group_id": "cre_Docs_and_Epenses"}
Question: Find the total number of scientists. Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
count
{"database_id": "scientist_1", "id": "b2ea7eaea39ef0730be5f20c8a6387cd2ada24587a5480b7100c79cc8aefba2b", "query_sha256": "3100e03a9420da4ca0562b8f610a01739fd7cc3ae89bb8aef0f33e98991d47e3", "split_group_id": "scientist_1"}
Question: How many scientists are there? Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
count
{"database_id": "scientist_1", "id": "6dc9db91436743fefecd2d5f7797f91770fa86b157821477953a2b6d7d757ea7", "query_sha256": "3100e03a9420da4ca0562b8f610a01739fd7cc3ae89bb8aef0f33e98991d47e3", "split_group_id": "scientist_1"}
Question: Find the total hours of all projects. Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
sum
{"database_id": "scientist_1", "id": "524b3ed3d32f8bf3d32a9fbff9607144f2b8821ba106784649cd37db76181847", "query_sha256": "e12127405668637963a5489d5b805d923874c1f481950668d797c42ab7cfd446", "split_group_id": "scientist_1"}
Question: What is the total number of hours for all projects? Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
sum
{"database_id": "scientist_1", "id": "9c14a8e164bf26cd1f225ae602bc610b16085cad4b0d0bc766a5fe04ebead128", "query_sha256": "e12127405668637963a5489d5b805d923874c1f481950668d797c42ab7cfd446", "split_group_id": "scientist_1"}
Question: How many different scientists are assigned to any project? Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
count
{"database_id": "scientist_1", "id": "609b1f03f8c16e48cb781798d9fe5cab841e8a2f3dd2d481cd1d35cc73ced6ad", "query_sha256": "5d5538e51a74a1a6c65ce7e80de837ad9c6cddb853ca5d140e29a74fba9934c4", "split_group_id": "scientist_1"}
Question: Count the number of different scientists assigned to any project. Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
count
{"database_id": "scientist_1", "id": "a610ff22aed51e10bbcf258129b1c6192ffe53aab8c978d18d055ed8c24e884f", "query_sha256": "5d5538e51a74a1a6c65ce7e80de837ad9c6cddb853ca5d140e29a74fba9934c4", "split_group_id": "scientist_1"}
Question: Find the number of distinct projects. Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
count
{"database_id": "scientist_1", "id": "526865b38c18abec0fab0c21de9119791de5ad8ee7046e332559dcce0c83e7d7", "query_sha256": "e3b8c793540fa8e798dadd4840e63e3dbbcb4cdb50cb68d6d0c1f79adc3b66c2", "split_group_id": "scientist_1"}
Question: How many different projects are there? Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
count
{"database_id": "scientist_1", "id": "cddc338712fb7e9699bdb9af5765eb6e3b314fbebd0ae1adf1b22272616a7fd0", "query_sha256": "e3b8c793540fa8e798dadd4840e63e3dbbcb4cdb50cb68d6d0c1f79adc3b66c2", "split_group_id": "scientist_1"}
Question: Find the average hours of all projects. Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
average
{"database_id": "scientist_1", "id": "599860c70f8753b804c481889086870a291278ddfb794c67955ac8bf4514584a", "query_sha256": "8b1044a832a7d5547e9a6d05408c6d0639bdc983c3ab4e1665a87b5bbfe9a26a", "split_group_id": "scientist_1"}
Question: What is the average hours across all projects? Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
average
{"database_id": "scientist_1", "id": "ff8aeda7f2cd9ce6e01bf3ae9d9ab20b7ed4fb1b61e70759876feaa3957aad6c", "query_sha256": "8b1044a832a7d5547e9a6d05408c6d0639bdc983c3ab4e1665a87b5bbfe9a26a", "split_group_id": "scientist_1"}
Question: Find the name of project that continues for the longest time. Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
none
{"database_id": "scientist_1", "id": "a2b622db9653f215079968751f508fb407065f6cbc044bb96842c2111ae671b0", "query_sha256": "6ab4fbe597b93c8972a96fb3946b46a3c999edcd3e6fecaa0b5f16214ac242b1", "split_group_id": "scientist_1"}
Question: What is the name of the project with the most hours? Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
none
{"database_id": "scientist_1", "id": "70523b06583bf0349818c872b17aeec9d0539389891ec86a0f9ae519504cb21e", "query_sha256": "6ab4fbe597b93c8972a96fb3946b46a3c999edcd3e6fecaa0b5f16214ac242b1", "split_group_id": "scientist_1"}
Question: List the name of all projects that are operated longer than the average working hours of all projects. Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
none
{"database_id": "scientist_1", "id": "392ae08fd6c903b7eb30f5365bd6d2de9b59429577a07f7d53370a0b4954cce6", "query_sha256": "af1c3b2b101af67821097e514b9f70cd3b1169ce8dec1aa34f43fbae121736ff", "split_group_id": "scientist_1"}
Question: What are the names of projects that have taken longer than the average number of hours for all projects? Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text...
none
{"database_id": "scientist_1", "id": "8d781e13c89fb35bfdb98020fd786154688cac1dbcdb336de065407db82c9727", "query_sha256": "af1c3b2b101af67821097e514b9f70cd3b1169ce8dec1aa34f43fbae121736ff", "split_group_id": "scientist_1"}
Question: Find the name of the project for which a scientist whose name contains ‘Smith’ is assigned to. Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
none
{"database_id": "scientist_1", "id": "b2d266c1a57d6e334d2830f91d06d25962c1f24e803a78c6698b4a3e99d6554f", "query_sha256": "829bec29fb77df3349758b978b2dbf30183c29ab17f3420259cd5ad2c1aeb43b", "split_group_id": "scientist_1"}
Question: What is the name of the project that has a scientist assigned to it whose name contains 'Smith'? Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
none
{"database_id": "scientist_1", "id": "1d04f9f89a0c33bb78b7b49c9ec0de7354d921ac7dfabea038afe5f28ade9201", "query_sha256": "829bec29fb77df3349758b978b2dbf30183c29ab17f3420259cd5ad2c1aeb43b", "split_group_id": "scientist_1"}
Question: Find the total hours of the projects that scientists named Michael Rogers or Carol Smith are assigned to. Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (tex...
sum
{"database_id": "scientist_1", "id": "0214425893c10bbfaece09449686d7ddbddee9d4140d923362f4c13a4baf0c97", "query_sha256": "5d08dee5de1f727f9c6079e9d0525b6ede59802cef2e10b3a86dbbba7187e735", "split_group_id": "scientist_1"}
Question: What is the sum of hours for projects that scientists with the name Michael Rogers or Carol Smith are assigned to? Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Pro...
sum
{"database_id": "scientist_1", "id": "917cf62435fde189ea1610ceedbec541ed9514709714c291ce725b523fadbeea", "query_sha256": "5d08dee5de1f727f9c6079e9d0525b6ede59802cef2e10b3a86dbbba7187e735", "split_group_id": "scientist_1"}
Question: Find the name of projects that require between 100 and 300 hours of work. Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
none
{"database_id": "scientist_1", "id": "7572e552412d2d19af479c338389e9741e2093a33e6900b02615c0ef5f8e4738", "query_sha256": "c669c8d01730b734a63b5b65b8b2f505cc2c3ff8294a36ab36099c025f4526a7", "split_group_id": "scientist_1"}
Question: What are the names of projects that require between 100 and 300 hours? Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
none
{"database_id": "scientist_1", "id": "d12379ff653ee4ffa3b59c646e85d9d2fe9bf59b5435c66b8728e174e1c2b16b", "query_sha256": "c669c8d01730b734a63b5b65b8b2f505cc2c3ff8294a36ab36099c025f4526a7", "split_group_id": "scientist_1"}
Question: List the names of all scientists sorted in alphabetical order. Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
none
{"database_id": "scientist_1", "id": "6951c7055ca2e08b67c65f61baa95d95f260844fbf45f746059dbb56bd7b14a3", "query_sha256": "050e7f2869048024147514177fb7e7b34088ec583cf5ca069119f450ffbedf4b", "split_group_id": "scientist_1"}
Question: What are the names of all the scientists in alphabetical order? Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
none
{"database_id": "scientist_1", "id": "a850b262bc696115b437f228570cb90a53d5b47e340efbbfad2409a794fc6526", "query_sha256": "050e7f2869048024147514177fb7e7b34088ec583cf5ca069119f450ffbedf4b", "split_group_id": "scientist_1"}
Question: Find the name of scientists who are assigned to some project. Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
none
{"database_id": "scientist_1", "id": "0acb5d3d97da8609590d9018931d8785f5b86b6540c834d9195634bf698574d5", "query_sha256": "27ededad231bf62ecde240570f677028d0d2a8937ac35de57a42ad0de0d3ceed", "split_group_id": "scientist_1"}
Question: What are the names of scientists who are assigned to any project? Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
none
{"database_id": "scientist_1", "id": "b9e7b74ef1ed4bc15c4cab9c701ccf8ddec73bd8f64422cafdfc787d9184c12b", "query_sha256": "27ededad231bf62ecde240570f677028d0d2a8937ac35de57a42ad0de0d3ceed", "split_group_id": "scientist_1"}
Question: Select the project names which are not assigned yet. Database columns: all rows (*) (text) Scientists.SSN (number) Scientists.Name (text) Projects.Code (text) Projects.Name (text) Projects.Hours (number) AssignedTo.Scientist (number) AssignedTo.Project (text)
none
{"database_id": "scientist_1", "id": "c0ea8c681bff4689aa45898a3ee06328aaba11578aa855a858bbc1de8f7d3317", "query_sha256": "caf29f32e60150ba1188f30f040e6b0ab0416d2c32f63b824415ed3cb4f423df", "split_group_id": "scientist_1"}