Question: Show all calendar dates and day Numbers.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_calendar : calendar_date (time) , day_number (number) , calendar_date (number)


Question: What are all the calendar dates and day Numbers?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_calendar : calendar_date (time) , day_number (number) , calendar_date (number)


Question: Show the number of document types.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_document_types : document_type_code (number)


Question: How many document types are there?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_document_types : document_type_code (number)


Question: List all document type codes and document type names.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_code (number) | all_documents : document_type_code (text) , document_id (number)


Question: What are all the document type codes and document type names?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_code (number) | all_documents : document_type_code (text) , document_id (number)


Question: What is the name and description for document type code RV?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_document_types : document_type_name (text) , document_type_description (text) , document_type_code (text) , document_type_code (number) | all_documents : document_type_code (text) , document_id (number)


Question: Give me the name and description of the document type code RV.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_document_types : document_type_name (text) , document_type_description (text) , document_type_code (text) , document_type_code (number) | all_documents : document_type_code (text) , document_id (number)


Question: What is the document type code for document type "Paper"?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_code (number) | all_documents : document_type_code (text) , document_id (number)


Question: Find the code of the document type "Paper".

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_code (number) | all_documents : document_type_code (text) , document_id (number)


Question: Show the number of documents with document type code CV or BK.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_document_types : document_type_code (text) , document_type_code (number) | all_documents : document_type_code (text) , document_id (number)


Question: How many documents have document type code CV or BK?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_document_types : document_type_code (text) , document_type_code (number) | all_documents : document_type_code (text) , document_id (number)


Question: What is the date when the document "Marry CV" was stored?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

all_documents : date_stored (time) , document_name (text) , document_id (number)


Question: When was the document named "Marry CV" stored? Give me the date.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

all_documents : date_stored (time) , document_name (text) , document_id (number)


Question: What is the day Number and date of all the documents?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_calendar : day_number (number) , calendar_date (time) , calendar_date (number) | all_documents : date_stored (time) , document_id (number)


Question: Return the day Number and stored date for all the documents.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_calendar : day_number (number) , calendar_date (time) , calendar_date (number) | all_documents : date_stored (time) , document_id (number)


Question: What is the document type name for the document with name "How to read a book"?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_document_types : document_type_name (text) , document_type_code (text) , document_type_code (number) | all_documents : document_type_code (text) , document_name (text) , document_id (number)


Question: Find the document type name of the document named "How to read a book".

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_document_types : document_type_name (text) , document_type_code (text) , document_type_code (number) | all_documents : document_type_code (text) , document_name (text) , document_id (number)


Question: Show the number of locations.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)


Question: How many locations are listed in the database?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)


Question: List all location codes and location names.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_code (text) , location_name (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: What are all the location codes and location names?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_code (text) , location_name (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: What are the name and description for location code x?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_name (text) , location_description (text) , location_code (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: Give me the name and description of the location with code x.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_name (text) , location_description (text) , location_code (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: What is the location code for the country "Canada"?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_code (text) , location_name (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: Show the location code of the country "Canada".

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_code (text) , location_name (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: How many roles are there?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)


Question: Count the total number of roles listed.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)


Question: List all role codes, role names, and role descriptions.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_code (text) , role_name (text) , role_description (text) , role_code (number) | employees : role_code (text) , employee_id (number)


Question: What are all the role codes, role names, and role descriptions?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_code (text) , role_name (text) , role_description (text) , role_code (number) | employees : role_code (text) , employee_id (number)


Question: What are the name and description for role code "MG"?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_name (text) , role_description (text) , role_code (text) , role_code (number) | employees : role_code (text) , employee_id (number)


Question: Find the name and description of the role with code "MG".

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_name (text) , role_description (text) , role_code (text) , role_code (number) | employees : role_code (text) , employee_id (number)


Question: Show the description for role name "Proof Reader".

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_description (text) , role_name (text) , role_code (number)


Question: What is the description of the role named "Proof Reader"?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_description (text) , role_name (text) , role_code (number)


Question: How many employees do we have?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)


Question: Find the number of employees we have.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)


Question: Show the name, role code, and date of birth for the employee with name 'Armani'.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

employees : employee_name (text) , role_code (text) , date_of_birth (time) , employee_id (number) | roles : role_code (text) , role_code (number)


Question: What are the name, role code, and date of birth of the employee named 'Armani'?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

employees : employee_name (text) , role_code (text) , date_of_birth (time) , employee_id (number) | roles : role_code (text) , role_code (number)


Question: What is the id for the employee called Ebba?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

employees : employee_id (number) , employee_name (text) , employee_id (number)


Question: Show the id of the employee named Ebba.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

employees : employee_id (number) , employee_name (text) , employee_id (number)


Question: Show the names of all the employees with role "HR".

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

employees : employee_name (text) , role_code (text) , employee_id (number) | roles : role_code (text) , role_code (number)


Question: Which employees have the role with code "HR"? Find their names.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

employees : employee_name (text) , role_code (text) , employee_id (number) | roles : role_code (text) , role_code (number)


Question: Show all role codes and the number of employees in each role.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_code (text) , role_code (number) | employees : role_code (text) , employee_id (number)


Question: What is the code of each role and the number of employees in each role?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_code (text) , role_code (number) | employees : role_code (text) , employee_id (number)


Question: What is the role code with the largest number of employees?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_code (text) , role_code (number) | employees : role_code (text) , employee_id (number)


Question: Find the code of the role that have the most employees.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_code (text) , role_code (number) | employees : role_code (text) , employee_id (number)


Question: Show all role codes with at least 3 employees.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_code (text) , role_code (number) | employees : role_code (text) , employee_id (number)


Question: What are the roles with three or more employees? Give me the role codes.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_code (text) , role_code (number) | employees : role_code (text) , employee_id (number)


Question: Show the role code with the least employees.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_code (text) , role_code (number) | employees : role_code (text) , employee_id (number)


Question: What is the role with the smallest number of employees? Find the role codes.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_code (text) , role_code (number) | employees : role_code (text) , employee_id (number)


Question: What is the role name and role description for employee called Ebba?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_name (text) , role_description (text) , role_code (text) , role_code (number) | employees : role_code (text) , employee_name (text) , employee_id (number)


Question: Show the name and description of the role played by the employee named Ebba.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

roles : role_name (text) , role_description (text) , role_code (text) , role_code (number) | employees : role_code (text) , employee_name (text) , employee_id (number)


Question: Show the names of employees with role name Editor.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

employees : employee_name (text) , role_code (text) , employee_id (number) | roles : role_code (text) , role_name (text) , role_code (number)


Question: Find the names of all the employees whose the role name is "Editor".

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

employees : employee_name (text) , role_code (text) , employee_id (number) | roles : role_code (text) , role_name (text) , role_code (number)


Question: Show the employee ids for all employees with role name "Human Resource" or "Manager".

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

employees : employee_id (number) , role_code (text) , employee_id (number) | roles : role_code (text) , role_name (text) , role_code (number)


Question: What are the employee ids of the employees whose role name is "Human Resource" or "Manager"?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

employees : employee_id (number) , role_code (text) , employee_id (number) | roles : role_code (text) , role_name (text) , role_code (number)


Question: What are the different location codes for documents?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_code (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: Give me all the distinct location codes for documents.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_code (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: Show the location name for document "Robin CV".

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_name (text) , location_code (text) , location_code (number) | all_documents : document_id (number) , document_name (text) , document_id (number) | document_locations : document_id (number) , location_code (text) , document_id (number) | documents_to_be_destroyed : document_id (number) , document_id (number)


Question: What is the location name of the document "Robin CV"?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_name (text) , location_code (text) , location_code (number) | all_documents : document_id (number) , document_name (text) , document_id (number) | document_locations : document_id (number) , location_code (text) , document_id (number) | documents_to_be_destroyed : document_id (number) , document_id (number)


Question: Show the location code, the starting date and ending data in that location for all the documents.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_code (text) , location_code (number) | document_locations : location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) , document_id (number)


Question: What are each document's location code, and starting date and ending data in that location?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_code (text) , location_code (number) | document_locations : location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) , document_id (number)


Question: What is "the date in location from" and "the date in location to" for the document with name "Robin CV"?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

document_locations : date_in_location_from (time) , date_in_locaton_to (time) , document_id (number) , document_id (number) | all_documents : document_id (number) , document_name (text) , document_id (number) | documents_to_be_destroyed : document_id (number) , document_id (number)


Question: Find the starting date and ending data in location for the document named "Robin CV".

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

document_locations : date_in_location_from (time) , date_in_locaton_to (time) , document_id (number) , document_id (number) | all_documents : document_id (number) , document_name (text) , document_id (number) | documents_to_be_destroyed : document_id (number) , document_id (number)


Question: Show the location codes and the number of documents in each location.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_code (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: What is the code of each location and the number of documents in that location?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_code (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: What is the location code with the most documents?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_code (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: Find the code of the location with the largest number of documents.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_code (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: Show the location codes with at least 3 documents.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_code (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: What are the codes of the locations with at least three documents?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_code (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: Show the location name and code with the least documents.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_name (text) , location_code (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: What are the name and code of the location with the smallest number of documents?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

ref_locations : location_name (text) , location_code (text) , location_code (number) | document_locations : location_code (text) , document_id (number)


Question: What are the names of the employees who authorised the destruction and the employees who destroyed the corresponding documents?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

employees : employee_name (text) , employee_id (number) , employee_id (number) | documents_to_be_destroyed : destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , document_id (number)


Question: List the names of the employees who authorized the destruction of documents and the employees who destroyed the corresponding documents.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

employees : employee_name (text) , employee_id (number) , employee_id (number) | documents_to_be_destroyed : destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , document_id (number)


Question: Show the id of each employee and the number of document destruction authorised by that employee.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

documents_to_be_destroyed : destruction_authorised_by_employee_id (number) , document_id (number)


Question: What are the id of each employee and the number of document destruction authorised by that employee?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

documents_to_be_destroyed : destruction_authorised_by_employee_id (number) , document_id (number)


Question: Show the employee ids and the number of documents destroyed by each employee.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

documents_to_be_destroyed : destroyed_by_employee_id (number) , document_id (number)


Question: What are the id of each employee and the number of document destroyed by that employee?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

documents_to_be_destroyed : destroyed_by_employee_id (number) , document_id (number)


Question: Show the ids of the employees who don't authorize destruction for any document.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

employees : employee_id (number) , employee_id (number) | documents_to_be_destroyed : destruction_authorised_by_employee_id (number) , document_id (number)


Question: Which employees do not authorize destruction for any document? Give me their employee ids.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

employees : employee_id (number) , employee_id (number) | documents_to_be_destroyed : destruction_authorised_by_employee_id (number) , document_id (number)


Question: Show the ids of all employees who have authorized destruction.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

documents_to_be_destroyed : destruction_authorised_by_employee_id (number) , document_id (number)


Question: What are the ids of all the employees who authorize document destruction?

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

documents_to_be_destroyed : destruction_authorised_by_employee_id (number) , document_id (number)


Question: Show the ids of all employees who have destroyed a document.

ref_document_types : document_type_code (text) , document_type_name (text) , document_type_description (text) | ref_calendar : calendar_date (time) , day_number (number) | ref_locations : location_code (text) , location_name (text) , location_description (text) | roles : role_code (text) , role_name (text) , role_description (text) | all_documents : document_id (number) , date_stored (time) , document_type_code (text) , document_name (text) , document_description (text) , other_details (text) | employees : employee_id (number) , role_code (text) , employee_name (text) , gender_mfu (text) , date_of_birth (time) , other_details (text) | document_locations : document_id (number) , location_code (text) , date_in_location_from (time) , date_in_locaton_to (time) | documents_to_be_destroyed : document_id (number) , destruction_authorised_by_employee_id (number) , destroyed_by_employee_id (number) , planned_destruction_date (time) , actual_destruction_date (time) , other_details (text)

documents_to_be_destroyed : destroyed_by_employee_id (number) , document_id (number)