db_id
stringclasses 140
values | question
stringlengths 16
224
| schema
stringclasses 140
values | summarized-schema
stringlengths 18
304
| shrink-score
float64 0
1
|
---|---|---|---|---|
document_management | What is the structure of the document with the least number of accesses? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | document_structures : document_structure_description (text) , document_structure_code (text) | documents : document_structure_code (text) , document_code (text) | 0.870968 |
document_management | Return the structure description of the document that has been accessed the fewest number of times. | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | document_structures : document_structure_description (text) , document_structure_code (text) | documents : document_structure_code (text) , document_code (text) | 0.870968 |
document_management | What is the type of the document named "David CV"? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_type_code (text) , document_name (text) | 0.935484 |
document_management | Return the type code of the document named "David CV". | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_type_code (text) , document_name (text) | 0.935484 |
document_management | Find the list of documents that are both in the most three popular type and have the most three popular structure. | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_name (text) , document_type_code (text) , document_structure_code (text) , document_code (text) | 0.870968 |
document_management | What are the names of documents that have both one of the three most common types and one of three most common structures? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_name (text) , document_type_code (text) , document_structure_code (text) , document_code (text) | 0.870968 |
document_management | What document types do have more than 10000 total access number. | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_type_code (text) , access_count (number) | 0.935484 |
document_management | Return the codes of the document types that do not have a total access count of over 10000. | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_type_code (text) , access_count (number) | 0.935484 |
document_management | What are all the section titles of the document named "David CV"? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | document_sections : section_title (text) , document_code (text) | documents : document_code (text) , document_name (text) | 0.870968 |
document_management | Give the section titles of the document with the name "David CV". | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | document_sections : section_title (text) , document_code (text) | documents : document_code (text) , document_name (text) | 0.870968 |
document_management | Find all the name of documents without any sections. | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_name (text) , document_code (text) | document_sections : document_code (text) | 0.903226 |
document_management | What are the names of documents that do not have any sections? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_name (text) , document_code (text) | document_sections : document_code (text) | 0.903226 |
document_management | List all the username and passwords of users with the most popular role. | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | users : user_name (text) , password (text) , role_code (text) , user_id (number) | 0.870968 |
document_management | What are the usernames and passwords of users that have the most common role? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | users : user_name (text) , password (text) , role_code (text) , user_id (number) | 0.870968 |
document_management | Find the average access counts of documents with functional area "Acknowledgement". | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : access_count (number) , document_code (text) | document_functional_areas : document_code (text) , functional_area_code (text) | functional_areas : functional_area_code (text) , functional_area_description (text) | 0.806452 |
document_management | What are the average access counts of documents that have the functional area description "Acknowledgement"? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : access_count (number) , document_code (text) | document_functional_areas : document_code (text) , functional_area_code (text) | functional_areas : functional_area_code (text) , functional_area_description (text) | 0.806452 |
document_management | Find names of the document without any images. | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_name (text) , document_code (text) | document_sections : document_code (text) , section_id (number) | document_sections_images : section_id (number) | 0.83871 |
document_management | What are the names of documents that do not have any images? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_name (text) , document_code (text) | document_sections : document_code (text) , section_id (number) | document_sections_images : section_id (number) | 0.83871 |
document_management | What is the name of the document with the most number of sections? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_name (text) , document_code (text) | document_sections : document_code (text) , section_id (number) | 0.870968 |
document_management | Return the name of the document that has the most sections. | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_name (text) , document_code (text) | document_sections : document_code (text) , section_id (number) | 0.870968 |
document_management | List all the document names which contains "CV". | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_name (text) | 0.967742 |
document_management | What are the names of documents that contain the substring "CV"? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_name (text) | 0.967742 |
document_management | How many users are logged in? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | users : user_login (text) , user_id (number) | 0.935484 |
document_management | Count the number of users that are logged in. | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | users : user_login (text) , user_id (number) | 0.935484 |
document_management | Find the description of the most popular role among the users that have logged in. | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | roles : role_description (text) , role_code (text) | users : role_code (text) , user_login (text) , user_id (number) | 0.83871 |
document_management | What is the description of the most popular role among users that have logged in? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | roles : role_description (text) , role_code (text) | users : role_code (text) , user_login (text) , user_id (number) | 0.83871 |
document_management | Find the average access count of documents with the least popular structure. | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : access_count (number) , document_structure_code (text) , document_code (text) | 0.903226 |
document_management | What is the average access count of documents that have the least common structure? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : access_count (number) , document_structure_code (text) , document_code (text) | 0.903226 |
document_management | List all the image name and URLs in the order of their names. | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | images : image_name (text) , image_url (text) | 0.935484 |
document_management | What are the names and urls of images, sorted alphabetically? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | images : image_name (text) , image_url (text) | 0.935484 |
document_management | Find the number of users in each role. | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | users : role_code (text) , user_id (number) | 0.935484 |
document_management | What are the different role codes for users, and how many users have each? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | users : role_code (text) , user_id (number) | 0.935484 |
document_management | What document types have more than 2 corresponding documents? | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_type_code (text) , document_code (text) | 0.935484 |
document_management | Give the codes of document types that have more than 2 corresponding documents. | roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number) | documents : document_type_code (text) , document_code (text) | 0.935484 |
company_office | How many companies are there? | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : id (number) | 0.941176 |
company_office | Count the number of companies. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : id (number) | 0.941176 |
company_office | List the names of companies in descending order of market value. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : name (text) , market_value_billion (text) | 0.882353 |
company_office | Sort the company names in descending order of the company's market value. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : name (text) , market_value_billion (text) | 0.882353 |
company_office | What are the names of companies whose headquarters are not "USA"? | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : name (text) , headquarters (text) | 0.882353 |
company_office | Find the names of the companies whose headquarters are not located in "USA". | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : name (text) , headquarters (text) | 0.882353 |
company_office | What are the name and assets of each company, sorted in ascending order of company name? | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : name (text) , assets_billion (number) | 0.882353 |
company_office | List the name and assets of each company in ascending order of company name. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : name (text) , assets_billion (number) | 0.882353 |
company_office | What are the average profits of companies? | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : profits_billion (number) | 0.941176 |
company_office | Compute the average profits companies make. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : profits_billion (number) | 0.941176 |
company_office | What are the maximum and minimum sales of the companies whose industries are not "Banking". | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : sales_billion (number) , industry (text) | 0.882353 |
company_office | Find the maximum and minimum sales of the companies that are not in the "Banking" industry. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : sales_billion (number) , industry (text) | 0.882353 |
company_office | How many different industries are the companies in? | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : industry (text) | 0.941176 |
company_office | Count the number of distinct company industries. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : industry (text) | 0.941176 |
company_office | List the names of buildings in descending order of building height. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | buildings : name (text) , height (number) | 0.882353 |
company_office | What are the names of buildings sorted in descending order of building height? | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | buildings : name (text) , height (number) | 0.882353 |
company_office | Find the stories of the building with the largest height. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | buildings : stories (number) , height (number) | 0.882353 |
company_office | What is the stories of highest building? | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | buildings : stories (number) , height (number) | 0.882353 |
company_office | List the name of a building along with the name of a company whose office is in the building. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | buildings : name (text) , id (number) | companies : name (text) , id (number) | office_locations : building_id (number) , company_id (number) | 0.647059 |
company_office | For each company, return the company name and the name of the building its office is located in. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | buildings : name (text) , id (number) | companies : name (text) , id (number) | office_locations : building_id (number) , company_id (number) | 0.647059 |
company_office | Show the names of the buildings that have more than one company offices. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | buildings : name (text) , id (number) | companies : name (text) , id (number) | office_locations : building_id (number) , company_id (number) | 0.647059 |
company_office | Which buildings have more than one company offices? Give me the building names. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | buildings : name (text) , id (number) | companies : name (text) , id (number) | office_locations : building_id (number) , company_id (number) | 0.647059 |
company_office | Show the name of the building that has the most company offices. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | buildings : name (text) , id (number) | companies : name (text) , id (number) | office_locations : building_id (number) , company_id (number) | 0.647059 |
company_office | Which building has the largest number of company offices? Give me the building name. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | buildings : name (text) , id (number) | companies : name (text) , id (number) | office_locations : building_id (number) , company_id (number) | 0.647059 |
company_office | Please show the names of the buildings whose status is "on-hold", in ascending order of stories. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | buildings : name (text) , status (text) , stories (number) | 0.823529 |
company_office | Find the names of the buildings in "on-hold" status, and sort them in ascending order of building stories. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | buildings : name (text) , status (text) , stories (number) | 0.823529 |
company_office | Please show each industry and the corresponding number of companies in that industry. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : industry (text) , id (number) | 0.882353 |
company_office | Whah are the name of each industry and the number of companies in that industry? | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : industry (text) , id (number) | 0.882353 |
company_office | Please show the industries of companies in descending order of the number of companies. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : industry (text) , id (number) | 0.882353 |
company_office | Sort all the industries in descending order of the count of companies in each industry | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : industry (text) , id (number) | 0.882353 |
company_office | List the industry shared by the most companies. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : industry (text) , id (number) | 0.882353 |
company_office | Which industry has the most companies? | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : industry (text) , id (number) | 0.882353 |
company_office | List the names of buildings that have no company office. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | buildings : name (text) , id (number) | office_locations : building_id (number) | 0.823529 |
company_office | Which buildings do not have any company office? Give me the building names. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | buildings : name (text) , id (number) | office_locations : building_id (number) | 0.823529 |
company_office | Show the industries shared by companies whose headquarters are "USA" and companies whose headquarters are "China". | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : industry (text) , headquarters (text) | 0.882353 |
company_office | Which industries have both companies with headquarter in "USA" and companies with headquarter in "China"? | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : industry (text) , headquarters (text) | 0.882353 |
company_office | Find the number of companies whose industry is "Banking" or "Conglomerate", | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : industry (text) , id (number) | 0.882353 |
company_office | How many companies are in either "Banking" industry or "Conglomerate" industry? | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : industry (text) , id (number) | 0.882353 |
company_office | Show the headquarters shared by more than two companies. | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : headquarters (text) , id (number) | 0.882353 |
company_office | Which headquarter locations are used by more than 2 companies? | buildings : id (number) , name (text) , city (text) , height (number) , stories (number) , status (text) | companies : id (number) , name (text) , headquarters (text) , industry (text) , sales_billion (number) , profits_billion (number) , assets_billion (number) , market_value_billion (text) | office_locations : building_id (number) , company_id (number) , move_in_year (number) | companies : headquarters (text) , id (number) | 0.882353 |
solvency_ii | How many products are there? | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_id (number) | 0.96875 |
solvency_ii | List the name of products in ascending order of price. | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_name (text) , product_price (number) | 0.9375 |
solvency_ii | What are the names and type codes of products? | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_name (text) , product_type_code (text) | 0.9375 |
solvency_ii | Show the prices of the products named "Dining" or "Trading Policy". | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_price (number) , product_name (text) | 0.9375 |
solvency_ii | What is the average price for products? | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_price (number) | 0.96875 |
solvency_ii | What is the name of the product with the highest price? | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_name (text) , product_price (number) | 0.9375 |
solvency_ii | Show different type codes of products and the number of products with each type code. | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_type_code (text) , product_id (number) | 0.9375 |
solvency_ii | Show the most common type code across products. | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_type_code (text) , product_id (number) | 0.9375 |
solvency_ii | Show the product type codes that have at least two products. | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_type_code (text) , product_id (number) | 0.9375 |
solvency_ii | Show the product type codes that have both products with price higher than 4500 and products with price lower than 3000. | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_type_code (text) , product_price (number) | 0.9375 |
solvency_ii | Show the names of products and the number of events they are in. | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_name (text) , product_id (number) | products_in_events : product_id (number) , product_in_event_id (number) | 0.875 |
solvency_ii | Show the names of products and the number of events they are in, sorted by the number of events in descending order. | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_name (text) , product_id (number) | products_in_events : product_id (number) , product_in_event_id (number) | 0.875 |
solvency_ii | Show the names of products that are in at least two events. | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_name (text) , product_id (number) | products_in_events : product_id (number) , product_in_event_id (number) | 0.875 |
solvency_ii | Show the names of products that are in at least two events in ascending alphabetical order of product name. | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_name (text) , product_id (number) | products_in_events : product_id (number) , product_in_event_id (number) | 0.875 |
solvency_ii | List the names of products that are not in any event. | addresses : address_id (number) , address_details (text) | locations : location_id (number) , other_details (text) | products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | parties : party_id (number) , party_details (text) | assets : asset_id (number) , other_details (text) | channels : channel_id (number) , other_details (text) | finances : finance_id (number) , other_details (text) | events : event_id (number) , address_id (number) , channel_id (number) , event_type_code (text) , finance_id (number) , location_id (number) | products_in_events : product_in_event_id (number) , event_id (number) , product_id (number) | parties_in_events : party_id (number) , event_id (number) , role_code (text) | agreements : document_id (number) , event_id (number) | assets_in_events : asset_id (number) , event_id (number) | products : product_name (text) , product_id (number) | products_in_events : product_id (number) | 0.90625 |
entertainment_awards | How many artworks are there? | festival_detail : festival_id (number) , festival_name (text) , chair_name (text) , location (text) , year (number) , num_of_audience (number) | artwork : artwork_id (number) , type (text) , name (text) | nomination : artwork_id (number) , festival_id (number) , result (text) | artwork : artwork_id (number) | 0.916667 |
entertainment_awards | List the name of artworks in ascending alphabetical order. | festival_detail : festival_id (number) , festival_name (text) , chair_name (text) , location (text) , year (number) , num_of_audience (number) | artwork : artwork_id (number) , type (text) , name (text) | nomination : artwork_id (number) , festival_id (number) , result (text) | artwork : name (text) | 0.916667 |
entertainment_awards | List the name of artworks whose type is not "Program Talent Show". | festival_detail : festival_id (number) , festival_name (text) , chair_name (text) , location (text) , year (number) , num_of_audience (number) | artwork : artwork_id (number) , type (text) , name (text) | nomination : artwork_id (number) , festival_id (number) , result (text) | artwork : name (text) , type (text) | 0.833333 |
entertainment_awards | What are the names and locations of festivals? | festival_detail : festival_id (number) , festival_name (text) , chair_name (text) , location (text) , year (number) , num_of_audience (number) | artwork : artwork_id (number) , type (text) , name (text) | nomination : artwork_id (number) , festival_id (number) , result (text) | festival_detail : festival_name (text) , location (text) | 0.833333 |
entertainment_awards | What are the names of the chairs of festivals, sorted in ascending order of the year held? | festival_detail : festival_id (number) , festival_name (text) , chair_name (text) , location (text) , year (number) , num_of_audience (number) | artwork : artwork_id (number) , type (text) , name (text) | nomination : artwork_id (number) , festival_id (number) , result (text) | festival_detail : chair_name (text) , year (number) | 0.833333 |
entertainment_awards | What is the location of the festival with the largest number of audience? | festival_detail : festival_id (number) , festival_name (text) , chair_name (text) , location (text) , year (number) , num_of_audience (number) | artwork : artwork_id (number) , type (text) , name (text) | nomination : artwork_id (number) , festival_id (number) , result (text) | festival_detail : location (text) , num_of_audience (number) | 0.833333 |
entertainment_awards | What are the names of festivals held in year 2007? | festival_detail : festival_id (number) , festival_name (text) , chair_name (text) , location (text) , year (number) , num_of_audience (number) | artwork : artwork_id (number) , type (text) , name (text) | nomination : artwork_id (number) , festival_id (number) , result (text) | festival_detail : festival_name (text) , year (number) | 0.833333 |
entertainment_awards | What is the average number of audience for festivals? | festival_detail : festival_id (number) , festival_name (text) , chair_name (text) , location (text) , year (number) , num_of_audience (number) | artwork : artwork_id (number) , type (text) , name (text) | nomination : artwork_id (number) , festival_id (number) , result (text) | festival_detail : num_of_audience (number) | 0.916667 |
entertainment_awards | Show the names of the three most recent festivals. | festival_detail : festival_id (number) , festival_name (text) , chair_name (text) , location (text) , year (number) , num_of_audience (number) | artwork : artwork_id (number) , type (text) , name (text) | nomination : artwork_id (number) , festival_id (number) , result (text) | festival_detail : festival_name (text) , year (number) | 0.833333 |
entertainment_awards | For each nomination, show the name of the artwork and name of the festival where it is nominated. | festival_detail : festival_id (number) , festival_name (text) , chair_name (text) , location (text) , year (number) , num_of_audience (number) | artwork : artwork_id (number) , type (text) , name (text) | nomination : artwork_id (number) , festival_id (number) , result (text) | artwork : name (text) , artwork_id (number) | festival_detail : festival_name (text) , festival_id (number) | nomination : artwork_id (number) , festival_id (number) | 0.5 |
entertainment_awards | Show distinct types of artworks that are nominated in festivals in 2007. | festival_detail : festival_id (number) , festival_name (text) , chair_name (text) , location (text) , year (number) , num_of_audience (number) | artwork : artwork_id (number) , type (text) , name (text) | nomination : artwork_id (number) , festival_id (number) , result (text) | artwork : type (text) , artwork_id (number) | nomination : artwork_id (number) , festival_id (number) | festival_detail : festival_id (number) , year (number) | 0.5 |
Subsets and Splits